diff --git a/src/app/pages/common-home/common-home.page.html b/src/app/pages/common-home/common-home.page.html index 0801e5d..b339c38 100644 --- a/src/app/pages/common-home/common-home.page.html +++ b/src/app/pages/common-home/common-home.page.html @@ -148,7 +148,7 @@
- +
@@ -156,7 +156,7 @@ -
+
@@ -338,7 +338,7 @@
- +
@@ -346,7 +346,7 @@
-
+
diff --git a/www/index.html b/www/index.html index ba41a2e..6c3d3c6 100644 --- a/www/index.html +++ b/www/index.html @@ -22,6 +22,6 @@ - + diff --git a/www/main.02ee5739dcdc5cb9.js b/www/main.02ee5739dcdc5cb9.js new file mode 100644 index 0000000..d2d1c35 --- /dev/null +++ b/www/main.02ee5739dcdc5cb9.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1590],{19248:(pe,h,o)=>{"use strict";o.d(h,{c:()=>d,r:()=>p});const d=(P,x)=>{P.componentOnReady?P.componentOnReady().then(N=>x(N)):p(()=>x(P))},p=P=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(P):"function"==typeof requestAnimationFrame?requestAnimationFrame(P):setTimeout(P)},51896:(pe,h,o)=>{"use strict";o.d(h,{L:()=>n,a:()=>i,b:()=>d,c:()=>a,d:()=>l,g:()=>P});const n="ionViewWillEnter",i="ionViewDidEnter",d="ionViewWillLeave",a="ionViewDidLeave",l="ionViewWillUnload",P=x=>x.classList.contains("ion-page")?x:x.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||x},30388:(pe,h,o)=>{"use strict";o.d(h,{c:()=>y});var n=o(14829),i=o(46384);let d;const l=b=>b.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),e=b=>(void 0===d&&(d=void 0===b.style.animationName&&void 0!==b.style.webkitAnimationName?"-webkit-":""),d),u=(b,E,M)=>{const A=E.startsWith("animation")?e(b):"";b.style.setProperty(A+E,M)},c=(b,E)=>{const M=E.startsWith("animation")?e(b):"";b.style.removeProperty(M+E)},p=[],f=(b=[],E)=>{if(void 0!==E){const M=Array.isArray(E)?E:[E];return[...b,...M]}return b},y=b=>{let E,M,A,I,F,j,O,re,J,Y,$,ye,Oe,T=[],P=[],x=[],N=!1,H={},G=[],te=[],ue={},se=0,K=!1,Z=!1,le=!0,ee=!1,we=!0,ve=!1;const _e=b,Pe=[],Ze=[],ot=[],tt=[],mt=[],Qe=[],Ct=[],Xe=[],nt=[],Pt=[],tn=[],hn="function"==typeof AnimationEffect||void 0!==n.w&&"function"==typeof n.w.AnimationEffect,wn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&hn,_n=()=>tn,Te=(Ae,fe)=>{const De=fe.findIndex(rt=>rt.c===Ae);De>-1&&fe.splice(De,1)},je=(Ae,fe)=>((fe?.oneTimeCallback?Ze:Pe).push({c:Ae,o:fe}),Oe),He=()=>{if(wn)tn.forEach(Ae=>{Ae.cancel()}),tn.length=0;else{const Ae=tt.slice();(0,i.r)(()=>{Ae.forEach(fe=>{c(fe,"animation-name"),c(fe,"animation-duration"),c(fe,"animation-timing-function"),c(fe,"animation-iteration-count"),c(fe,"animation-delay"),c(fe,"animation-play-state"),c(fe,"animation-fill-mode"),c(fe,"animation-direction")})})}},vt=()=>{Qe.forEach(Ae=>{Ae?.parentNode&&Ae.parentNode.removeChild(Ae)}),Qe.length=0},nn=()=>void 0!==F?F:O?O.getFill():"both",bn=()=>void 0!==J?J:void 0!==j?j:O?O.getDirection():"normal",Tn=()=>K?"linear":void 0!==A?A:O?O.getEasing():"linear",rn=()=>Z?0:void 0!==Y?Y:void 0!==M?M:O?O.getDuration():0,nr=()=>void 0!==I?I:O?O.getIterations():1,kr=()=>void 0!==$?$:void 0!==E?E:O?O.getDelay():0,jn=()=>{0!==se&&(se--,0===se&&((()=>{Tr(),nt.forEach(_t=>_t()),Pt.forEach(_t=>_t());const Ae=le?1:0,fe=G,De=te,rt=ue;tt.forEach(_t=>{const Tt=_t.classList;fe.forEach(Bt=>Tt.add(Bt)),De.forEach(Bt=>Tt.remove(Bt));for(const Bt in rt)rt.hasOwnProperty(Bt)&&u(_t,Bt,rt[Bt])}),Y=void 0,J=void 0,$=void 0,Pe.forEach(_t=>_t.c(Ae,Oe)),Ze.forEach(_t=>_t.c(Ae,Oe)),Ze.length=0,we=!0,le&&(ee=!0),le=!0})(),O&&O.animationFinish()))},Qn=(Ae=!0)=>{vt();const fe=(b=>(b.forEach(E=>{for(const M in E)if(E.hasOwnProperty(M)){const A=E[M];if("easing"===M)E["animation-timing-function"]=A,delete E[M];else{const I=l(M);I!==M&&(E[I]=A,delete E[M])}}}),b))(T);tt.forEach(De=>{if(fe.length>0){const rt=((b=[])=>b.map(E=>{const M=E.offset,A=[];for(const I in E)E.hasOwnProperty(I)&&"offset"!==I&&A.push(`${I}: ${E[I]};`);return`${100*M}% { ${A.join(" ")} }`}).join(" "))(fe);ye=void 0!==b?b:(b=>{let E=p.indexOf(b);return E<0&&(E=p.push(b)-1),`ion-animation-${E}`})(rt);const _t=((b,E,M)=>{var A;const I=(b=>{const E=void 0!==b.getRootNode?b.getRootNode():b;return E.head||E})(M),F=e(M),j=I.querySelector("#"+b);if(j)return j;const T=(null!==(A=M.ownerDocument)&&void 0!==A?A:document).createElement("style");return T.id=b,T.textContent=`@${F}keyframes ${b} { ${E} } @${F}keyframes ${b}-alt { ${E} }`,I.appendChild(T),T})(ye,rt,De);Qe.push(_t),u(De,"animation-duration",`${rn()}ms`),u(De,"animation-timing-function",Tn()),u(De,"animation-delay",`${kr()}ms`),u(De,"animation-fill-mode",nn()),u(De,"animation-direction",bn());const Tt=nr()===1/0?"infinite":nr().toString();u(De,"animation-iteration-count",Tt),u(De,"animation-play-state","paused"),Ae&&u(De,"animation-name",`${_t.id}-alt`),(0,i.r)(()=>{u(De,"animation-name",_t.id||null)})}})},ui=(Ae=!0)=>{(()=>{Ct.forEach(rt=>rt()),Xe.forEach(rt=>rt());const Ae=P,fe=x,De=H;tt.forEach(rt=>{const _t=rt.classList;Ae.forEach(Tt=>_t.add(Tt)),fe.forEach(Tt=>_t.remove(Tt));for(const Tt in De)De.hasOwnProperty(Tt)&&u(rt,Tt,De[Tt])})})(),T.length>0&&(wn?(tt.forEach(Ae=>{const fe=Ae.animate(T,{id:_e,delay:kr(),duration:rn(),easing:Tn(),iterations:nr(),fill:nn(),direction:bn()});fe.pause(),tn.push(fe)}),tn.length>0&&(tn[0].onfinish=()=>{jn()})):Qn(Ae)),N=!0},Pr=Ae=>{if(Ae=Math.min(Math.max(Ae,0),.9999),wn)tn.forEach(fe=>{fe.currentTime=fe.effect.getComputedTiming().delay+rn()*Ae,fe.pause()});else{const fe=`-${rn()*Ae}ms`;tt.forEach(De=>{T.length>0&&(u(De,"animation-delay",fe),u(De,"animation-play-state","paused"))})}},ct=Ae=>{tn.forEach(fe=>{fe.effect.updateTiming({delay:kr(),duration:rn(),easing:Tn(),iterations:nr(),fill:nn(),direction:bn()})}),void 0!==Ae&&Pr(Ae)},Rt=(Ae=!0,fe)=>{(0,i.r)(()=>{tt.forEach(De=>{u(De,"animation-name",ye||null),u(De,"animation-duration",`${rn()}ms`),u(De,"animation-timing-function",Tn()),u(De,"animation-delay",void 0!==fe?`-${fe*rn()}ms`:`${kr()}ms`),u(De,"animation-fill-mode",nn()||null),u(De,"animation-direction",bn()||null);const rt=nr()===1/0?"infinite":nr().toString();u(De,"animation-iteration-count",rt),Ae&&u(De,"animation-name",`${ye}-alt`),(0,i.r)(()=>{u(De,"animation-name",ye||null)})})})},kt=(Ae=!1,fe=!0,De)=>(Ae&&mt.forEach(rt=>{rt.update(Ae,fe,De)}),wn?ct(De):Rt(fe,De),Oe),En=()=>{N&&(wn?tn.forEach(Ae=>{Ae.pause()}):tt.forEach(Ae=>{u(Ae,"animation-play-state","paused")}),ve=!0)},Yn=()=>{re=void 0,jn()},Tr=()=>{re&&clearTimeout(re)},un=Ae=>new Promise(fe=>{Ae?.sync&&(Z=!0,je(()=>Z=!1,{oneTimeCallback:!0})),N||ui(),ee&&(wn?(Pr(0),ct()):Rt(),ee=!1),we&&(se=mt.length+1,we=!1);const De=()=>{Te(rt,Ze),fe()},rt=()=>{Te(De,ot),fe()};je(rt,{oneTimeCallback:!0}),((Ae,fe)=>{ot.push({c:Ae,o:{oneTimeCallback:!0}})})(De),mt.forEach(_t=>{_t.play()}),wn?(tn.forEach(Ae=>{Ae.play()}),(0===T.length||0===tt.length)&&jn()):(()=>{if(Tr(),(0,i.r)(()=>{tt.forEach(Ae=>{T.length>0&&u(Ae,"animation-play-state","running")})}),0===T.length||0===tt.length)jn();else{const Ae=kr()||0,fe=rn()||0,De=nr()||1;isFinite(De)&&(re=setTimeout(Yn,Ae+fe*De+100)),((b,E)=>{let M;const A={passive:!0},F=j=>{b===j.target&&(M&&M(),Tr(),(0,i.r)(()=>{tt.forEach(Ae=>{c(Ae,"animation-duration"),c(Ae,"animation-delay"),c(Ae,"animation-play-state")}),(0,i.r)(jn)}))};b&&(b.addEventListener("webkitAnimationEnd",F,A),b.addEventListener("animationend",F,A),M=()=>{b.removeEventListener("webkitAnimationEnd",F,A),b.removeEventListener("animationend",F,A)})})(tt[0])}})(),ve=!1}),z=(Ae,fe)=>{const De=T[0];return void 0===De||void 0!==De.offset&&0!==De.offset?T=[{offset:0,[Ae]:fe},...T]:De[Ae]=fe,Oe};return Oe={parentAnimation:O,elements:tt,childAnimations:mt,id:_e,animationFinish:jn,from:z,to:(Ae,fe)=>{const De=T[T.length-1];return void 0===De||void 0!==De.offset&&1!==De.offset?T=[...T,{offset:1,[Ae]:fe}]:De[Ae]=fe,Oe},fromTo:(Ae,fe,De)=>z(Ae,fe).to(Ae,De),parent:Ae=>(O=Ae,Oe),play:un,pause:()=>(mt.forEach(Ae=>{Ae.pause()}),En(),Oe),stop:()=>{mt.forEach(Ae=>{Ae.stop()}),N&&(He(),N=!1),K=!1,Z=!1,we=!0,J=void 0,Y=void 0,$=void 0,se=0,ee=!1,le=!0,ve=!1,ot.forEach(Ae=>Ae.c(0,Oe)),ot.length=0},destroy:Ae=>(mt.forEach(fe=>{fe.destroy(Ae)}),(Ae=>{He(),Ae&&vt()})(Ae),tt.length=0,mt.length=0,T.length=0,Pe.length=0,Ze.length=0,N=!1,we=!0,Oe),keyframes:Ae=>{const fe=T!==Ae;return T=Ae,fe&&(Ae=>{wn?_n().forEach(fe=>{const De=fe.effect;if(De.setKeyframes)De.setKeyframes(Ae);else{const rt=new KeyframeEffect(De.target,Ae,De.getTiming());fe.effect=rt}}):Qn()})(T),Oe},addAnimation:Ae=>{if(null!=Ae)if(Array.isArray(Ae))for(const fe of Ae)fe.parent(Oe),mt.push(fe);else Ae.parent(Oe),mt.push(Ae);return Oe},addElement:Ae=>{if(null!=Ae)if(1===Ae.nodeType)tt.push(Ae);else if(Ae.length>=0)for(let fe=0;fe(F=Ae,kt(!0),Oe),direction:Ae=>(j=Ae,kt(!0),Oe),iterations:Ae=>(I=Ae,kt(!0),Oe),duration:Ae=>(!wn&&0===Ae&&(Ae=1),M=Ae,kt(!0),Oe),easing:Ae=>(A=Ae,kt(!0),Oe),delay:Ae=>(E=Ae,kt(!0),Oe),getWebAnimations:_n,getKeyframes:()=>T,getFill:nn,getDirection:bn,getDelay:kr,getIterations:nr,getEasing:Tn,getDuration:rn,afterAddRead:Ae=>(nt.push(Ae),Oe),afterAddWrite:Ae=>(Pt.push(Ae),Oe),afterClearStyles:(Ae=[])=>{for(const fe of Ae)ue[fe]="";return Oe},afterStyles:(Ae={})=>(ue=Ae,Oe),afterRemoveClass:Ae=>(te=f(te,Ae),Oe),afterAddClass:Ae=>(G=f(G,Ae),Oe),beforeAddRead:Ae=>(Ct.push(Ae),Oe),beforeAddWrite:Ae=>(Xe.push(Ae),Oe),beforeClearStyles:(Ae=[])=>{for(const fe of Ae)H[fe]="";return Oe},beforeStyles:(Ae={})=>(H=Ae,Oe),beforeRemoveClass:Ae=>(x=f(x,Ae),Oe),beforeAddClass:Ae=>(P=f(P,Ae),Oe),onFinish:je,isRunning:()=>0!==se&&!ve,progressStart:(Ae=!1,fe)=>(mt.forEach(De=>{De.progressStart(Ae,fe)}),En(),K=Ae,N||ui(),kt(!1,!0,fe),Oe),progressStep:Ae=>(mt.forEach(fe=>{fe.progressStep(Ae)}),Pr(Ae),Oe),progressEnd:(Ae,fe,De)=>(K=!1,mt.forEach(rt=>{rt.progressEnd(Ae,fe,De)}),void 0!==De&&(Y=De),ee=!1,le=!0,0===Ae?(J="reverse"===bn()?"normal":"reverse","reverse"===J&&(le=!1),wn?(kt(),Pr(1-fe)):($=(1-fe)*rn()*-1,kt(!1,!1))):1===Ae&&(wn?(kt(),Pr(fe)):($=fe*rn()*-1,kt(!1,!1))),void 0!==Ae&&!O&&un(),Oe)}}},59637:(pe,h,o)=>{"use strict";o.d(h,{E:()=>v,I:()=>u,a:()=>n,s:()=>c});const n=p=>{try{if(p instanceof u)return p.value;if(!a()||"string"!=typeof p||""===p)return p;if(p.includes("onload="))return"";const S=document.createDocumentFragment(),C=document.createElement("div");S.appendChild(C),C.innerHTML=p,e.forEach(b=>{const E=S.querySelectorAll(b);for(let M=E.length-1;M>=0;M--){const A=E[M];A.parentNode?A.parentNode.removeChild(A):S.removeChild(A);const I=d(A);for(let F=0;F{if(p.nodeType&&1!==p.nodeType)return;if(typeof NamedNodeMap<"u"&&!(p.attributes instanceof NamedNodeMap))return void p.remove();for(let C=p.attributes.length-1;C>=0;C--){const _=p.attributes.item(C),f=_.name;if(!l.includes(f.toLowerCase())){p.removeAttribute(f);continue}const y=_.value,b=p[f];(null!=y&&y.toLowerCase().includes("javascript:")||null!=b&&b.toLowerCase().includes("javascript:"))&&p.removeAttribute(f)}const S=d(p);for(let C=0;Cnull!=p.children?p.children:p.childNodes,a=()=>{var p;const S=window,C=null===(p=S?.Ionic)||void 0===p?void 0:p.config;return!C||(C.get?C.get("sanitizerEnabled",!0):!0===C.sanitizerEnabled||void 0===C.sanitizerEnabled)},l=["class","id","href","src","name","slot"],e=["script","style","iframe","meta","link","object","embed"];class u{constructor(S){this.value=S}}const c=p=>{const S=window,C=S.Ionic;if(!C||!C.config||"Object"===C.config.constructor.name)return S.Ionic=S.Ionic||{},S.Ionic.config=Object.assign(Object.assign({},S.Ionic.config),p),S.Ionic.config},v=!1},86944:(pe,h,o)=>{"use strict";o.d(h,{g:()=>n});const n=(e,u,c,g,v)=>d(e[1],u[1],c[1],g[1],v).map(p=>i(e[0],u[0],c[0],g[0],p)),i=(e,u,c,g,v)=>v*(3*u*Math.pow(v-1,2)+v*(-3*c*v+3*c+g*v))-e*Math.pow(v-1,3),d=(e,u,c,g,v)=>l((g-=v)-3*(c-=v)+3*(u-=v)-(e-=v),3*c-6*u+3*e,3*u-3*e,e).filter(S=>S>=0&&S<=1),l=(e,u,c,g)=>{if(0===e)return((e,u,c)=>{const g=u*u-4*e*c;return g<0?[]:[(-u+Math.sqrt(g))/(2*e),(-u-Math.sqrt(g))/(2*e)]})(u,c,g);const v=(3*(c/=e)-(u/=e)*u)/3,p=(2*u*u*u-9*u*c+27*(g/=e))/27;if(0===v)return[Math.pow(-p,1/3)];if(0===p)return[Math.sqrt(-v),-Math.sqrt(-v)];const S=Math.pow(p/2,2)+Math.pow(v/3,3);if(0===S)return[Math.pow(p/2,.5)-u/3];if(S>0)return[Math.pow(-p/2+Math.sqrt(S),1/3)-Math.pow(p/2+Math.sqrt(S),1/3)-u/3];const C=Math.sqrt(Math.pow(-v/3,3)),_=Math.acos(-p/(2*Math.sqrt(Math.pow(-v/3,3)))),f=2*Math.pow(C,1/3);return[f*Math.cos(_/3)-u/3,f*Math.cos((_+2*Math.PI)/3)-u/3,f*Math.cos((_+4*Math.PI)/3)-u/3]}},10495:(pe,h,o)=>{"use strict";o.d(h,{C:()=>l,a:()=>d,d:()=>a});var n=o(1528),i=o(46384);const d=function(){var e=(0,n.c)(function*(u,c,g,v,p,S){var C;if(u)return u.attachViewToDom(c,g,p,v);if(!(S||"string"==typeof g||g instanceof HTMLElement))throw new Error("framework delegate is missing");const _="string"==typeof g?null===(C=c.ownerDocument)||void 0===C?void 0:C.createElement(g):g;return v&&v.forEach(f=>_.classList.add(f)),p&&Object.assign(_,p),c.appendChild(_),yield new Promise(f=>(0,i.c)(_,f)),_});return function(c,g,v,p,S,C){return e.apply(this,arguments)}}(),a=(e,u)=>{if(u){if(e)return e.removeViewFromDom(u.parentElement,u);u.remove()}return Promise.resolve()},l=()=>{let e,u;return{attachViewToDom:function(){var v=(0,n.c)(function*(p,S,C={},_=[]){var f,y;let b;if(e=p,S){const M="string"==typeof S?null===(f=e.ownerDocument)||void 0===f?void 0:f.createElement(S):S;_.forEach(A=>M.classList.add(A)),Object.assign(M,C),e.appendChild(M),b=M,yield new Promise(A=>(0,i.c)(M,A))}else if(e.children.length>0&&("ION-MODAL"===e.tagName||"ION-POPOVER"===e.tagName)&&!(b=e.children[0]).classList.contains("ion-delegate-host")){const A=null===(y=e.ownerDocument)||void 0===y?void 0:y.createElement("div");A.classList.add("ion-delegate-host"),_.forEach(I=>A.classList.add(I)),A.append(...e.children),e.appendChild(A),b=A}const E=document.querySelector("ion-app")||document.body;return u=document.createComment("ionic teleport"),e.parentNode.insertBefore(u,e),E.appendChild(e),b??e});return function(S,C){return v.apply(this,arguments)}}(),removeViewFromDom:()=>(e&&u&&(u.parentNode.insertBefore(e,u),u.remove()),Promise.resolve())}}},66560:(pe,h,o)=>{"use strict";o.d(h,{G:()=>l});class i{constructor(u,c,g,v,p){this.id=c,this.name=g,this.disableScroll=p,this.priority=1e6*v+c,this.ctrl=u}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const u=this.ctrl.capture(this.name,this.id,this.priority);return u&&this.disableScroll&&this.ctrl.disableScroll(this.id),u}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class d{constructor(u,c,g,v){this.id=c,this.disable=g,this.disableScroll=v,this.ctrl=u}block(){if(this.ctrl){if(this.disable)for(const u of this.disable)this.ctrl.disableGesture(u,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const u of this.disable)this.ctrl.enableGesture(u,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const a="backdrop-no-scroll",l=new class n{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(u){var c;return new i(this,this.newID(),u.name,null!==(c=u.priority)&&void 0!==c?c:0,!!u.disableScroll)}createBlocker(u={}){return new d(this,this.newID(),u.disable,!!u.disableScroll)}start(u,c,g){return this.canStart(u)?(this.requestedStart.set(c,g),!0):(this.requestedStart.delete(c),!1)}capture(u,c,g){if(!this.start(u,c,g))return!1;const v=this.requestedStart;let p=-1e4;if(v.forEach(S=>{p=Math.max(p,S)}),p===g){this.capturedId=c,v.clear();const S=new CustomEvent("ionGestureCaptured",{detail:{gestureName:u}});return document.dispatchEvent(S),!0}return v.delete(c),!1}release(u){this.requestedStart.delete(u),this.capturedId===u&&(this.capturedId=void 0)}disableGesture(u,c){let g=this.disabledGestures.get(u);void 0===g&&(g=new Set,this.disabledGestures.set(u,g)),g.add(c)}enableGesture(u,c){const g=this.disabledGestures.get(u);void 0!==g&&g.delete(c)}disableScroll(u){this.disabledScroll.add(u),1===this.disabledScroll.size&&document.body.classList.add(a)}enableScroll(u){this.disabledScroll.delete(u),0===this.disabledScroll.size&&document.body.classList.remove(a)}canStart(u){return!(void 0!==this.capturedId||this.isDisabled(u))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(u){const c=this.disabledGestures.get(u);return!!(c&&c.size>0)}newID(){return this.gestureId++,this.gestureId}}},72784:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{MENU_BACK_BUTTON_PRIORITY:()=>g,OVERLAY_BACK_BUTTON_PRIORITY:()=>c,blockHardwareBackButton:()=>e,shoudUseCloseWatcher:()=>l,startHardwareBackButton:()=>u});var n=o(1528),i=o(14829),d=o(88523);o(62992);const l=()=>d.c.get("experimentalCloseWatcher",!1)&&void 0!==i.w&&"CloseWatcher"in i.w,e=()=>{document.addEventListener("backbutton",()=>{})},u=()=>{const v=document;let p=!1;const S=()=>{if(p)return;let C=0,_=[];const f=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(E,M){_.push({priority:E,handler:M,id:C++})}}});v.dispatchEvent(f);const y=function(){var E=(0,n.c)(function*(M){try{if(M?.handler){const A=M.handler(b);null!=A&&(yield A)}}catch(A){console.error(A)}});return function(A){return E.apply(this,arguments)}}(),b=()=>{if(_.length>0){let E={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};_.forEach(M=>{M.priority>=E.priority&&(E=M)}),p=!0,_=_.filter(M=>M.id!==E.id),y(E).then(()=>p=!1)}};b()};if(l()){let C;const _=()=>{C?.destroy(),C=new i.w.CloseWatcher,C.onclose=()=>{S(),_()}};_()}else v.addEventListener("backbutton",S)},c=100,g=99},46384:(pe,h,o)=>{"use strict";o.d(h,{a:()=>c,b:()=>g,c:()=>d,d:()=>y,e:()=>f,f:()=>_,g:()=>v,h:()=>C,i:()=>u,j:()=>F,k:()=>l,l:()=>b,m:()=>a,n:()=>S,o:()=>E,p:()=>I,q:()=>j,r:()=>p,s:()=>T,t:()=>n,u:()=>M,v:()=>A});const n=(P,x=0)=>new Promise(N=>{i(P,x,N)}),i=(P,x=0,N)=>{let O,H;const G={passive:!0},ue=()=>{O&&O()},se=K=>{(void 0===K||P===K.target)&&(ue(),N(K))};return P&&(P.addEventListener("webkitTransitionEnd",se,G),P.addEventListener("transitionend",se,G),H=setTimeout(se,x+500),O=()=>{void 0!==H&&(clearTimeout(H),H=void 0),P.removeEventListener("webkitTransitionEnd",se,G),P.removeEventListener("transitionend",se,G)}),ue},d=(P,x)=>{P.componentOnReady?P.componentOnReady().then(N=>x(N)):p(()=>x(P))},a=P=>void 0!==P.componentOnReady,l=(P,x=[])=>{const N={};return x.forEach(O=>{P.hasAttribute(O)&&(null!==P.getAttribute(O)&&(N[O]=P.getAttribute(O)),P.removeAttribute(O))}),N},e=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],u=(P,x)=>{let N=e;return x&&x.length>0&&(N=N.filter(O=>!x.includes(O))),l(P,N)},c=(P,x,N,O)=>{var H;if(typeof window<"u"){const G=window,te=null===(H=G?.Ionic)||void 0===H?void 0:H.config;if(te){const ue=te.get("_ael");if(ue)return ue(P,x,N,O);if(te._ael)return te._ael(P,x,N,O)}}return P.addEventListener(x,N,O)},g=(P,x,N,O)=>{var H;if(typeof window<"u"){const G=window,te=null===(H=G?.Ionic)||void 0===H?void 0:H.config;if(te){const ue=te.get("_rel");if(ue)return ue(P,x,N,O);if(te._rel)return te._rel(P,x,N,O)}}return P.removeEventListener(x,N,O)},v=(P,x=P)=>P.shadowRoot||x,p=P=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(P):"function"==typeof requestAnimationFrame?requestAnimationFrame(P):setTimeout(P),S=P=>!!P.shadowRoot&&!!P.attachShadow,C=P=>{const x=P.closest("ion-item");return x?x.querySelector("ion-label"):null},_=P=>{if(P.focus(),P.classList.contains("ion-focusable")){const x=P.closest("ion-app");x&&x.setFocus([P])}},f=(P,x)=>{let N;const O=P.getAttribute("aria-labelledby"),H=P.id;let G=null!==O&&""!==O.trim()?O:x+"-lbl",te=null!==O&&""!==O.trim()?document.getElementById(O):C(P);return te?(null===O&&(te.id=G),N=te.textContent,te.setAttribute("aria-hidden","true")):""!==H.trim()&&(te=document.querySelector(`label[for="${H}"]`),te&&(""!==te.id?G=te.id:te.id=G=`${H}-lbl`,N=te.textContent)),{label:te,labelId:G,labelText:N}},y=(P,x,N,O,H)=>{if(P||S(x)){let G=x.querySelector("input.aux-input");G||(G=x.ownerDocument.createElement("input"),G.type="hidden",G.classList.add("aux-input"),x.appendChild(G)),G.disabled=H,G.name=N,G.value=O||""}},b=(P,x,N)=>Math.max(P,Math.min(x,N)),E=(P,x)=>{if(!P){const N="ASSERT: "+x;throw console.error(N),new Error(N)}},M=P=>P.timeStamp||Date.now(),A=P=>{if(P){const x=P.changedTouches;if(x&&x.length>0){const N=x[0];return{x:N.clientX,y:N.clientY}}if(void 0!==P.pageX)return{x:P.pageX,y:P.pageY}}return{x:0,y:0}},I=P=>{const x="rtl"===document.dir;switch(P){case"start":return x;case"end":return!x;default:throw new Error(`"${P}" is not a valid value for [side]. Use "start" or "end" instead.`)}},F=(P,x)=>{const N=P._original||P;return{_original:P,emit:j(N.emit.bind(N),x)}},j=(P,x=0)=>{let N;return(...O)=>{clearTimeout(N),N=setTimeout(P,x,...O)}},T=(P,x)=>{if(P??(P={}),x??(x={}),P===x)return!0;const N=Object.keys(P);if(N.length!==Object.keys(x).length)return!1;for(const O of N)if(!(O in x)||P[O]!==x[O])return!1;return!0}},62528:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{GESTURE_CONTROLLER:()=>n.G,createGesture:()=>g});var n=o(66560);const i=(C,_,f,y)=>{const b=d(C)?{capture:!!y.capture,passive:!!y.passive}:!!y.capture;let E,M;return C.__zone_symbol__addEventListener?(E="__zone_symbol__addEventListener",M="__zone_symbol__removeEventListener"):(E="addEventListener",M="removeEventListener"),C[E](_,f,b),()=>{C[M](_,f,b)}},d=C=>{if(void 0===a)try{const _=Object.defineProperty({},"passive",{get:()=>{a=!0}});C.addEventListener("optsTest",()=>{},_)}catch{a=!1}return!!a};let a;const u=C=>C instanceof Document?C:C.ownerDocument,g=C=>{let _=!1,f=!1,y=!0,b=!1;const E=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},C),M=E.canStart,A=E.onWillStart,I=E.onStart,F=E.onEnd,j=E.notCaptured,T=E.onMove,P=E.threshold,x=E.passive,N=E.blurOnStart,O={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},H=((C,_,f)=>{const y=f*(Math.PI/180),b="x"===C,E=Math.cos(y),M=_*_;let A=0,I=0,F=!1,j=0;return{start(T,P){A=T,I=P,j=0,F=!0},detect(T,P){if(!F)return!1;const x=T-A,N=P-I,O=x*x+N*N;if(OE?1:G<-E?-1:0,F=!1,!0},isGesture:()=>0!==j,getDirection:()=>j}})(E.direction,E.threshold,E.maxAngle),G=n.G.createGesture({name:C.gestureName,priority:C.gesturePriority,disableScroll:C.disableScroll}),se=()=>{_&&(b=!1,T&&T(O))},K=()=>!!G.capture()&&(_=!0,y=!1,O.startX=O.currentX,O.startY=O.currentY,O.startTime=O.currentTime,A?A(O).then(re):re(),!0),re=()=>{N&&(()=>{if(typeof document<"u"){const ee=document.activeElement;ee?.blur&&ee.blur()}})(),I&&I(O),y=!0},J=()=>{_=!1,f=!1,b=!1,y=!0,G.release()},Y=ee=>{const we=_,ye=y;if(J(),ye){if(v(O,ee),we)return void(F&&F(O));j&&j(O)}},$=((C,_,f,y,b)=>{let E,M,A,I,F,j,T,P=0;const x=Z=>{P=Date.now()+2e3,_(Z)&&(!M&&f&&(M=i(C,"touchmove",f,b)),A||(A=i(Z.target,"touchend",O,b)),I||(I=i(Z.target,"touchcancel",O,b)))},N=Z=>{P>Date.now()||_(Z)&&(!j&&f&&(j=i(u(C),"mousemove",f,b)),T||(T=i(u(C),"mouseup",H,b)))},O=Z=>{G(),y&&y(Z)},H=Z=>{te(),y&&y(Z)},G=()=>{M&&M(),A&&A(),I&&I(),M=A=I=void 0},te=()=>{j&&j(),T&&T(),j=T=void 0},ue=()=>{G(),te()},se=(Z=!0)=>{Z?(E||(E=i(C,"touchstart",x,b)),F||(F=i(C,"mousedown",N,b))):(E&&E(),F&&F(),E=F=void 0,ue())};return{enable:se,stop:ue,destroy:()=>{se(!1),y=f=_=void 0}}})(E.el,ee=>{const we=S(ee);return!(f||!y||(p(ee,O),O.startX=O.currentX,O.startY=O.currentY,O.startTime=O.currentTime=we,O.velocityX=O.velocityY=O.deltaX=O.deltaY=0,O.event=ee,M&&!1===M(O))||(G.release(),!G.start()))&&(f=!0,0===P?K():(H.start(O.startX,O.startY),!0))},ee=>{_?!b&&y&&(b=!0,v(O,ee),requestAnimationFrame(se)):(v(O,ee),H.detect(O.currentX,O.currentY)&&(!H.isGesture()||!K())&&le())},Y,{capture:!1,passive:x}),le=()=>{J(),$.stop(),j&&j(O)};return{enable(ee=!0){ee||(_&&Y(void 0),J()),$.enable(ee)},destroy(){G.destroy(),$.destroy()}}},v=(C,_)=>{if(!_)return;const f=C.currentX,y=C.currentY,b=C.currentTime;p(_,C);const E=C.currentX,M=C.currentY,I=(C.currentTime=S(_))-b;if(I>0&&I<100){const j=(M-y)/I;C.velocityX=(E-f)/I*.7+.3*C.velocityX,C.velocityY=.7*j+.3*C.velocityY}C.deltaX=E-C.startX,C.deltaY=M-C.startY,C.event=_},p=(C,_)=>{let f=0,y=0;if(C){const b=C.changedTouches;if(b&&b.length>0){const E=b[0];f=E.clientX,y=E.clientY}else void 0!==C.pageX&&(f=C.pageX,y=C.pageY)}_.currentX=f,_.currentY=y},S=C=>C.timeStamp||Date.now()},76256:(pe,h,o)=>{"use strict";o.d(h,{b:()=>e,c:()=>u,d:()=>c,e:()=>P,g:()=>O,l:()=>j,s:()=>x,t:()=>p,w:()=>T});var n=o(1528),i=o(62992),d=o(46384);const e="ionViewWillLeave",u="ionViewDidLeave",c="ionViewWillUnload",p=H=>new Promise((G,te)=>{(0,i.w)(()=>{S(H),C(H).then(ue=>{ue.animation&&ue.animation.destroy(),_(H),G(ue)},ue=>{_(H),te(ue)})})}),S=H=>{const G=H.enteringEl,te=H.leavingEl;N(G,te,H.direction),H.showGoBack?G.classList.add("can-go-back"):G.classList.remove("can-go-back"),x(G,!1),G.style.setProperty("pointer-events","none"),te&&(x(te,!1),te.style.setProperty("pointer-events","none"))},C=function(){var H=(0,n.c)(function*(G){const te=yield f(G);return te&&i.B.isBrowser?y(te,G):b(G)});return function(te){return H.apply(this,arguments)}}(),_=H=>{const G=H.enteringEl,te=H.leavingEl;G.classList.remove("ion-page-invisible"),G.style.removeProperty("pointer-events"),void 0!==te&&(te.classList.remove("ion-page-invisible"),te.style.removeProperty("pointer-events"))},f=function(){var H=(0,n.c)(function*(G){return G.leavingEl&&G.animated&&0!==G.duration?G.animationBuilder?G.animationBuilder:"ios"===G.mode?(yield Promise.resolve().then(o.bind(o,68512))).iosTransitionAnimation:(yield Promise.resolve().then(o.bind(o,96556))).mdTransitionAnimation:void 0});return function(te){return H.apply(this,arguments)}}(),y=function(){var H=(0,n.c)(function*(G,te){yield E(te,!0);const ue=G(te.baseEl,te);I(te.enteringEl,te.leavingEl);const se=yield A(ue,te);return te.progressCallback&&te.progressCallback(void 0),se&&F(te.enteringEl,te.leavingEl),{hasCompleted:se,animation:ue}});return function(te,ue){return H.apply(this,arguments)}}(),b=function(){var H=(0,n.c)(function*(G){const te=G.enteringEl,ue=G.leavingEl;return yield E(G,!1),I(te,ue),F(te,ue),{hasCompleted:!0}});return function(te){return H.apply(this,arguments)}}(),E=function(){var H=(0,n.c)(function*(G,te){(void 0!==G.deepWait?G.deepWait:te)&&(yield Promise.all([P(G.enteringEl),P(G.leavingEl)])),yield M(G.viewIsReady,G.enteringEl)});return function(te,ue){return H.apply(this,arguments)}}(),M=function(){var H=(0,n.c)(function*(G,te){G&&(yield G(te))});return function(te,ue){return H.apply(this,arguments)}}(),A=(H,G)=>{const te=G.progressCallback,ue=new Promise(se=>{H.onFinish(K=>se(1===K))});return te?(H.progressStart(!0),te(H)):H.play(),ue},I=(H,G)=>{j(G,e),j(H,"ionViewWillEnter")},F=(H,G)=>{j(H,"ionViewDidEnter"),j(G,u)},j=(H,G)=>{if(H){const te=new CustomEvent(G,{bubbles:!1,cancelable:!1});H.dispatchEvent(te)}},T=()=>new Promise(H=>(0,d.r)(()=>(0,d.r)(()=>H()))),P=function(){var H=(0,n.c)(function*(G){const te=G;if(te){if(null!=te.componentOnReady){if(null!=(yield te.componentOnReady()))return}else if(null!=te.__registerHost)return void(yield new Promise(se=>(0,d.r)(se)));yield Promise.all(Array.from(te.children).map(P))}});return function(te){return H.apply(this,arguments)}}(),x=(H,G)=>{G?(H.setAttribute("aria-hidden","true"),H.classList.add("ion-page-hidden")):(H.hidden=!1,H.removeAttribute("aria-hidden"),H.classList.remove("ion-page-hidden"))},N=(H,G,te)=>{void 0!==H&&(H.style.zIndex="back"===te?"99":"101"),void 0!==G&&(G.style.zIndex="100")},O=H=>H.classList.contains("ion-page")?H:H.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||H},62992:(pe,h,o)=>{"use strict";o.d(h,{B:()=>S,H:()=>K,a:()=>Zn,b:()=>Sr,c:()=>ye,d:()=>Pe,e:()=>Fe,f:()=>_e,g:()=>Oe,h:()=>ue,i:()=>nn,j:()=>C,r:()=>Qn,w:()=>Ae});var n=o(1528);let a,l,e,u=!1,c=!1,g=!1,v=!1,p=!1;const S={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},C=fe=>{const De=new URL(fe,En.$resourcesUrl$);return De.origin!==dn.location.origin?De.href:De.pathname},A="s-id",I="sty-id",F="c-id",T="slot-fb{display:contents}slot-fb[hidden]{display:none}",P="http://www.w3.org/1999/xlink",x={},G=fe=>"object"==(fe=typeof fe)||"function"===fe;function te(fe){var De,rt,_t;return null!==(_t=null===(rt=null===(De=fe.head)||void 0===De?void 0:De.querySelector('meta[name="csp-nonce"]'))||void 0===rt?void 0:rt.getAttribute("content"))&&void 0!==_t?_t:void 0}const ue=(fe,De,...rt)=>{let _t=null,Tt=null,Bt=null,Jt=!1,mn=!1;const vn=[],Cn=Gt=>{for(let Nn=0;NnGt[Nn]).join(" "))}}if("function"==typeof fe)return fe(null===De?{}:De,vn,re);const fn=se(fe,null);return fn.$attrs$=De,vn.length>0&&(fn.$children$=vn),fn.$key$=Tt,fn.$name$=Bt,fn},se=(fe,De)=>({$flags$:0,$tag$:fe,$text$:De,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),K={},re={forEach:(fe,De)=>fe.map(J).forEach(De),map:(fe,De)=>fe.map(J).map(De).map(Y)},J=fe=>({vattrs:fe.$attrs$,vchildren:fe.$children$,vkey:fe.$key$,vname:fe.$name$,vtag:fe.$tag$,vtext:fe.$text$}),Y=fe=>{if("function"==typeof fe.vtag){const rt=Object.assign({},fe.vattrs);return fe.vkey&&(rt.key=fe.vkey),fe.vname&&(rt.name=fe.vname),ue(fe.vtag,rt,...fe.vchildren||[])}const De=se(fe.vtag,fe.vtext);return De.$attrs$=fe.vattrs,De.$children$=fe.vchildren,De.$key$=fe.vkey,De.$name$=fe.vname,De},le=(fe,De,rt,_t,Tt,Bt,Jt)=>{let mn,vn,Cn,fn;if(1===Bt.nodeType){for(mn=Bt.getAttribute(F),mn&&(vn=mn.split("."),(vn[0]===Jt||"0"===vn[0])&&(Cn={$flags$:0,$hostId$:vn[0],$nodeId$:vn[1],$depth$:vn[2],$index$:vn[3],$tag$:Bt.tagName.toLowerCase(),$elm$:Bt,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},De.push(Cn),Bt.removeAttribute(F),fe.$children$||(fe.$children$=[]),fe.$children$[Cn.$index$]=Cn,fe=Cn,_t&&"0"===Cn.$depth$&&(_t[Cn.$index$]=Cn.$elm$))),fn=Bt.childNodes.length-1;fn>=0;fn--)le(fe,De,rt,_t,Tt,Bt.childNodes[fn],Jt);if(Bt.shadowRoot)for(fn=Bt.shadowRoot.childNodes.length-1;fn>=0;fn--)le(fe,De,rt,_t,Tt,Bt.shadowRoot.childNodes[fn],Jt)}else if(8===Bt.nodeType)vn=Bt.nodeValue.split("."),(vn[1]===Jt||"0"===vn[1])&&(mn=vn[0],Cn={$flags$:0,$hostId$:vn[1],$nodeId$:vn[2],$depth$:vn[3],$index$:vn[4],$elm$:Bt,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===mn?(Cn.$elm$=Bt.nextSibling,Cn.$elm$&&3===Cn.$elm$.nodeType&&(Cn.$text$=Cn.$elm$.textContent,De.push(Cn),Bt.remove(),fe.$children$||(fe.$children$=[]),fe.$children$[Cn.$index$]=Cn,_t&&"0"===Cn.$depth$&&(_t[Cn.$index$]=Cn.$elm$))):Cn.$hostId$===Jt&&("s"===mn?(Cn.$tag$="slot",Bt["s-sn"]=vn[5]?Cn.$name$=vn[5]:"",Bt["s-sr"]=!0,_t&&(Cn.$elm$=Mn.createElement(Cn.$tag$),Cn.$name$&&Cn.$elm$.setAttribute("name",Cn.$name$),Bt.parentNode.insertBefore(Cn.$elm$,Bt),Bt.remove(),"0"===Cn.$depth$&&(_t[Cn.$index$]=Cn.$elm$)),rt.push(Cn),fe.$children$||(fe.$children$=[]),fe.$children$[Cn.$index$]=Cn):"r"===mn&&(_t?Bt.remove():(Tt["s-cr"]=Bt,Bt["s-cn"]=!0))));else if(fe&&"style"===fe.$tag$){const Gt=se(null,Bt.textContent);Gt.$elm$=Bt,Gt.$index$="0",fe.$children$=[Gt]}},ee=(fe,De)=>{if(1===fe.nodeType){let rt=0;for(;rton.push(fe),Oe=fe=>jn(fe).$modeName$,_e=fe=>jn(fe).$hostElement$,Pe=(fe,De,rt)=>{const _t=_e(fe);return{emit:Tt=>Ze(_t,De,{bubbles:!!(4&rt),composed:!!(2&rt),cancelable:!!(1&rt),detail:Tt})}},Ze=(fe,De,rt)=>{const _t=En.ce(De,rt);return fe.dispatchEvent(_t),_t},ot=new WeakMap,tt=(fe,De,rt)=>{let _t=kt.get(fe);zn&&rt?(_t=_t||new CSSStyleSheet,"string"==typeof _t?_t=De:_t.replaceSync(De)):_t=De,kt.set(fe,_t)},mt=(fe,De,rt)=>{var _t;const Tt=Ct(De,rt),Bt=kt.get(Tt);if(fe=11===fe.nodeType?fe:Mn,Bt)if("string"==typeof Bt){let mn,Jt=ot.get(fe=fe.head||fe);if(Jt||ot.set(fe,Jt=new Set),!Jt.has(Tt)){if(fe.host&&(mn=fe.querySelector(`[${I}="${Tt}"]`)))mn.innerHTML=Bt;else{mn=Mn.createElement("style"),mn.innerHTML=Bt;const vn=null!==(_t=En.$nonce$)&&void 0!==_t?_t:te(Mn);null!=vn&&mn.setAttribute("nonce",vn),fe.insertBefore(mn,fe.querySelector("link"))}4&De.$flags$&&(mn.innerHTML+=T),Jt&&Jt.add(Tt)}}else fe.adoptedStyleSheets.includes(Bt)||(fe.adoptedStyleSheets=[...fe.adoptedStyleSheets,Bt]);return Tt},Ct=(fe,De)=>"sc-"+(De&&32&fe.$flags$?fe.$tagName$+"-"+De:fe.$tagName$),Xe=fe=>fe.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),nt=(fe,De,rt,_t,Tt,Bt)=>{if(rt!==_t){let Jt=ui(fe,De),mn=De.toLowerCase();if("class"===De){const vn=fe.classList,Cn=tn(rt),fn=tn(_t);vn.remove(...Cn.filter(Gt=>Gt&&!fn.includes(Gt))),vn.add(...fn.filter(Gt=>Gt&&!Cn.includes(Gt)))}else if("style"===De){for(const vn in rt)(!_t||null==_t[vn])&&(vn.includes("-")?fe.style.removeProperty(vn):fe.style[vn]="");for(const vn in _t)(!rt||_t[vn]!==rt[vn])&&(vn.includes("-")?fe.style.setProperty(vn,_t[vn]):fe.style[vn]=_t[vn])}else if("key"!==De)if("ref"===De)_t&&_t(fe);else if(Jt||"o"!==De[0]||"n"!==De[1]){const vn=G(_t);if((Jt||vn&&null!==_t)&&!Tt)try{if(fe.tagName.includes("-"))fe[De]=_t;else{const fn=_t??"";"list"===De?Jt=!1:(null==rt||fe[De]!=fn)&&(fe[De]=fn)}}catch{}let Cn=!1;mn!==(mn=mn.replace(/^xlink\:?/,""))&&(De=mn,Cn=!0),null==_t||!1===_t?(!1!==_t||""===fe.getAttribute(De))&&(Cn?fe.removeAttributeNS(P,De):fe.removeAttribute(De)):(!Jt||4&Bt||Tt)&&!vn&&(_t=!0===_t?"":_t,Cn?fe.setAttributeNS(P,De,_t):fe.setAttribute(De,_t))}else if(De="-"===De[2]?De.slice(3):ui(dn,mn)?mn.slice(2):mn[2]+De.slice(3),rt||_t){const vn=De.endsWith(hn);De=De.replace(wn,""),rt&&En.rel(fe,De,rt,vn),_t&&En.ael(fe,De,_t,vn)}}},Pt=/\s/,tn=fe=>fe?fe.split(Pt):[],hn="Capture",wn=new RegExp(hn+"$"),An=(fe,De,rt,_t)=>{const Tt=11===De.$elm$.nodeType&&De.$elm$.host?De.$elm$.host:De.$elm$,Bt=fe&&fe.$attrs$||x,Jt=De.$attrs$||x;for(_t in Bt)_t in Jt||nt(Tt,_t,Bt[_t],void 0,rt,De.$flags$);for(_t in Jt)nt(Tt,_t,Bt[_t],Jt[_t],rt,De.$flags$)},_n=(fe,De,rt,_t)=>{const Tt=De.$children$[rt];let Jt,mn,vn,Bt=0;if(u||(g=!0,"slot"===Tt.$tag$&&(a&&_t.classList.add(a+"-s"),Tt.$flags$|=Tt.$children$?2:1)),null!==Tt.$text$)Jt=Tt.$elm$=Mn.createTextNode(Tt.$text$);else if(1&Tt.$flags$)Jt=Tt.$elm$=Mn.createTextNode("");else{if(v||(v="svg"===Tt.$tag$),Jt=Tt.$elm$=Mn.createElementNS(v?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&Tt.$flags$?"slot-fb":Tt.$tag$),v&&"foreignObject"===Tt.$tag$&&(v=!1),An(null,Tt,v),(fe=>null!=fe)(a)&&Jt["s-si"]!==a&&Jt.classList.add(Jt["s-si"]=a),Tt.$children$)for(Bt=0;Bt{En.$flags$|=1;const rt=fe.childNodes;for(let _t=rt.length-1;_t>=0;_t--){const Tt=rt[_t];Tt["s-hn"]!==e&&Tt["s-ol"]&&(je(Tt).insertBefore(Tt,$e(Tt)),Tt["s-ol"].remove(),Tt["s-ol"]=void 0,Tt["s-sh"]=void 0,g=!0),De&&qt(Tt,De)}En.$flags$&=-2},ht=(fe,De,rt,_t,Tt,Bt)=>{let mn,Jt=fe["s-cr"]&&fe["s-cr"].parentNode||fe;for(Jt.shadowRoot&&Jt.tagName===e&&(Jt=Jt.shadowRoot);Tt<=Bt;++Tt)_t[Tt]&&(mn=_n(null,rt,Tt,fe),mn&&(_t[Tt].$elm$=mn,Jt.insertBefore(mn,$e(De))))},Ue=(fe,De,rt)=>{for(let _t=De;_t<=rt;++_t){const Tt=fe[_t];if(Tt){const Bt=Tt.$elm$;st(Tt),Bt&&(c=!0,Bt["s-ol"]?Bt["s-ol"].remove():qt(Bt,!0),Bt.remove())}}},Te=(fe,De,rt=!1)=>fe.$tag$===De.$tag$&&("slot"===fe.$tag$?fe.$name$===De.$name$:!!rt||fe.$key$===De.$key$),$e=fe=>fe&&fe["s-ol"]||fe,je=fe=>(fe["s-ol"]?fe["s-ol"]:fe).parentNode,gt=(fe,De,rt=!1)=>{const _t=De.$elm$=fe.$elm$,Tt=fe.$children$,Bt=De.$children$,Jt=De.$tag$,mn=De.$text$;let vn;null===mn?(v="svg"===Jt||"foreignObject"!==Jt&&v,"slot"===Jt&&!u||An(fe,De,v),null!==Tt&&null!==Bt?((fe,De,rt,_t,Tt=!1)=>{let Nr,Lr,Bt=0,Jt=0,mn=0,vn=0,Cn=De.length-1,fn=De[0],Gt=De[Cn],Nn=_t.length-1,lr=_t[0],cr=_t[Nn];for(;Bt<=Cn&&Jt<=Nn;)if(null==fn)fn=De[++Bt];else if(null==Gt)Gt=De[--Cn];else if(null==lr)lr=_t[++Jt];else if(null==cr)cr=_t[--Nn];else if(Te(fn,lr,Tt))gt(fn,lr,Tt),fn=De[++Bt],lr=_t[++Jt];else if(Te(Gt,cr,Tt))gt(Gt,cr,Tt),Gt=De[--Cn],cr=_t[--Nn];else if(Te(fn,cr,Tt))("slot"===fn.$tag$||"slot"===cr.$tag$)&&qt(fn.$elm$.parentNode,!1),gt(fn,cr,Tt),fe.insertBefore(fn.$elm$,Gt.$elm$.nextSibling),fn=De[++Bt],cr=_t[--Nn];else if(Te(Gt,lr,Tt))("slot"===fn.$tag$||"slot"===cr.$tag$)&&qt(Gt.$elm$.parentNode,!1),gt(Gt,lr,Tt),fe.insertBefore(Gt.$elm$,fn.$elm$),Gt=De[--Cn],lr=_t[++Jt];else{for(mn=-1,vn=Bt;vn<=Cn;++vn)if(De[vn]&&null!==De[vn].$key$&&De[vn].$key$===lr.$key$){mn=vn;break}mn>=0?(Lr=De[mn],Lr.$tag$!==lr.$tag$?Nr=_n(De&&De[Jt],rt,mn,fe):(gt(Lr,lr,Tt),De[mn]=void 0,Nr=Lr.$elm$),lr=_t[++Jt]):(Nr=_n(De&&De[Jt],rt,Jt,fe),lr=_t[++Jt]),Nr&&je(fn.$elm$).insertBefore(Nr,$e(fn.$elm$))}Bt>Cn?ht(fe,null==_t[Nn+1]?null:_t[Nn+1].$elm$,rt,_t,Jt,Nn):Jt>Nn&&Ue(De,Bt,Cn)})(_t,Tt,De,Bt,rt):null!==Bt?(null!==fe.$text$&&(_t.textContent=""),ht(_t,null,De,Bt,0,Bt.length-1)):null!==Tt&&Ue(Tt,0,Tt.length-1),v&&"svg"===Jt&&(v=!1)):(vn=_t["s-cr"])?vn.parentNode.textContent=mn:fe.$text$!==mn&&(_t.data=mn)},He=fe=>{const De=fe.childNodes;for(const rt of De)if(1===rt.nodeType){if(rt["s-sr"]){const _t=rt["s-sn"];rt.hidden=!1;for(const Tt of De)if(Tt!==rt)if(Tt["s-hn"]!==rt["s-hn"]||""!==_t){if(1===Tt.nodeType&&(_t===Tt.getAttribute("slot")||_t===Tt["s-sn"])){rt.hidden=!0;break}}else if(1===Tt.nodeType||3===Tt.nodeType&&""!==Tt.textContent.trim()){rt.hidden=!0;break}}He(rt)}},vt=[],ut=fe=>{let De,rt,_t;for(const Tt of fe.childNodes){if(Tt["s-sr"]&&(De=Tt["s-cr"])&&De.parentNode){rt=De.parentNode.childNodes;const Bt=Tt["s-sn"];for(_t=rt.length-1;_t>=0;_t--)if(De=rt[_t],!De["s-cn"]&&!De["s-nr"]&&De["s-hn"]!==Tt["s-hn"])if(wt(De,Bt)){let Jt=vt.find(mn=>mn.$nodeToRelocate$===De);c=!0,De["s-sn"]=De["s-sn"]||Bt,Jt?(Jt.$nodeToRelocate$["s-sh"]=Tt["s-hn"],Jt.$slotRefNode$=Tt):(De["s-sh"]=Tt["s-hn"],vt.push({$slotRefNode$:Tt,$nodeToRelocate$:De})),De["s-sr"]&&vt.map(mn=>{wt(mn.$nodeToRelocate$,De["s-sn"])&&(Jt=vt.find(vn=>vn.$nodeToRelocate$===De),Jt&&!mn.$slotRefNode$&&(mn.$slotRefNode$=Jt.$slotRefNode$))})}else vt.some(Jt=>Jt.$nodeToRelocate$===De)||vt.push({$nodeToRelocate$:De})}1===Tt.nodeType&&ut(Tt)}},wt=(fe,De)=>1===fe.nodeType?null===fe.getAttribute("slot")&&""===De||fe.getAttribute("slot")===De:fe["s-sn"]===De||""===De,st=fe=>{fe.$attrs$&&fe.$attrs$.ref&&fe.$attrs$.ref(null),fe.$children$&&fe.$children$.map(st)},pt=(fe,De)=>{De&&!fe.$onRenderResolve$&&De["s-p"]&&De["s-p"].push(new Promise(rt=>fe.$onRenderResolve$=rt))},It=(fe,De)=>{if(fe.$flags$|=16,!(4&fe.$flags$))return pt(fe,fe.$ancestorComponent$),Ae(()=>Yt(fe,De));fe.$flags$|=512},Yt=(fe,De)=>{const _t=fe.$lazyInstance$;let Tt;return De&&(fe.$flags$|=256,fe.$queuedListeners$&&(fe.$queuedListeners$.map(([Bt,Jt])=>Tn(_t,Bt,Jt)),fe.$queuedListeners$=void 0),Tt=Tn(_t,"componentWillLoad")),Tt=Xt(Tt,()=>Tn(_t,"componentWillRender")),Xt(Tt,()=>$t(fe,_t,De))},Xt=(fe,De)=>At(fe)?fe.then(De):De(),At=fe=>fe instanceof Promise||fe&&fe.then&&"function"==typeof fe.then,$t=function(){var fe=(0,n.c)(function*(De,rt,_t){var Tt;const Bt=De.$hostElement$,mn=Bt["s-rc"];_t&&(fe=>{const De=fe.$cmpMeta$,rt=fe.$hostElement$,_t=De.$flags$,Bt=mt(rt.shadowRoot?rt.shadowRoot:rt.getRootNode(),De,fe.$modeName$);10&_t&&(rt["s-sc"]=Bt,rt.classList.add(Bt+"-h"),2&_t&&rt.classList.add(Bt+"-s"))})(De);St(De,rt,Bt,_t),mn&&(mn.map(Cn=>Cn()),Bt["s-rc"]=void 0);{const Cn=null!==(Tt=Bt["s-p"])&&void 0!==Tt?Tt:[],fn=()=>xt(De);0===Cn.length?fn():(Promise.all(Cn).then(fn),De.$flags$|=4,Cn.length=0)}});return function(rt,_t,Tt){return fe.apply(this,arguments)}}(),St=(fe,De,rt,_t)=>{try{De=De.render&&De.render(),fe.$flags$&=-17,fe.$flags$|=2,((fe,De,rt=!1)=>{var _t,Tt,Bt,Jt;const mn=fe.$hostElement$,vn=fe.$cmpMeta$,Cn=fe.$vnode$||se(null,null),fn=(fe=>fe&&fe.$tag$===K)(De)?De:ue(null,null,De);if(e=mn.tagName,vn.$attrsToReflect$&&(fn.$attrs$=fn.$attrs$||{},vn.$attrsToReflect$.map(([Gt,Nn])=>fn.$attrs$[Nn]=mn[Gt])),rt&&fn.$attrs$)for(const Gt of Object.keys(fn.$attrs$))mn.hasAttribute(Gt)&&!["key","ref","style","class"].includes(Gt)&&(fn.$attrs$[Gt]=mn[Gt]);if(fn.$tag$=null,fn.$flags$|=4,fe.$vnode$=fn,fn.$elm$=Cn.$elm$=mn.shadowRoot||mn,a=mn["s-sc"],u=0!=(1&vn.$flags$),l=mn["s-cr"],c=!1,gt(Cn,fn,rt),En.$flags$|=1,g){ut(fn.$elm$);for(const Gt of vt){const Nn=Gt.$nodeToRelocate$;if(!Nn["s-ol"]){const lr=Mn.createTextNode("");lr["s-nr"]=Nn,Nn.parentNode.insertBefore(Nn["s-ol"]=lr,Nn)}}for(const Gt of vt){const Nn=Gt.$nodeToRelocate$,lr=Gt.$slotRefNode$;if(lr){const cr=lr.parentNode;let Nr=lr.nextSibling;{let Lr=null===(_t=Nn["s-ol"])||void 0===_t?void 0:_t.previousSibling;for(;Lr;){let dt=null!==(Tt=Lr["s-nr"])&&void 0!==Tt?Tt:null;if(dt&&dt["s-sn"]===Nn["s-sn"]&&cr===dt.parentNode&&(dt=dt.nextSibling,!dt||!dt["s-nr"])){Nr=dt;break}Lr=Lr.previousSibling}}(!Nr&&cr!==Nn.parentNode||Nn.nextSibling!==Nr)&&Nn!==Nr&&(!Nn["s-hn"]&&Nn["s-ol"]&&(Nn["s-hn"]=Nn["s-ol"].parentNode.nodeName),cr.insertBefore(Nn,Nr),1===Nn.nodeType&&(Nn.hidden=null!==(Bt=Nn["s-ih"])&&void 0!==Bt&&Bt))}else 1===Nn.nodeType&&(rt&&(Nn["s-ih"]=null!==(Jt=Nn.hidden)&&void 0!==Jt&&Jt),Nn.hidden=!0)}}c&&He(fn.$elm$),En.$flags$&=-2,vt.length=0,l=void 0})(fe,De,_t)}catch(Tt){Pr(Tt,fe.$hostElement$)}return null},xt=fe=>{const rt=fe.$hostElement$,Tt=fe.$lazyInstance$,Bt=fe.$ancestorComponent$;Tn(Tt,"componentDidRender"),64&fe.$flags$?Tn(Tt,"componentDidUpdate"):(fe.$flags$|=64,rn(rt),Tn(Tt,"componentDidLoad"),fe.$onReadyResolve$(rt),Bt||bn()),fe.$onInstanceResolve$(rt),fe.$onRenderResolve$&&(fe.$onRenderResolve$(),fe.$onRenderResolve$=void 0),512&fe.$flags$&&ae(()=>It(fe,!1)),fe.$flags$&=-517},nn=fe=>{{const De=jn(fe),rt=De.$hostElement$.isConnected;return rt&&2==(18&De.$flags$)&&It(De,!1),rt}},bn=fe=>{rn(Mn.documentElement),ae(()=>Ze(dn,"appload",{detail:{namespace:"ionic"}}))},Tn=(fe,De,rt)=>{if(fe&&fe[De])try{return fe[De](rt)}catch(_t){Pr(_t)}},rn=fe=>fe.classList.add("hydrated"),Br=(fe,De,rt)=>{var _t;const Tt=fe.prototype;if(De.$members$){fe.watchers&&(De.$watchers$=fe.watchers);const Bt=Object.entries(De.$members$);if(Bt.map(([Jt,[mn]])=>{31&mn||2&rt&&32&mn?Object.defineProperty(Tt,Jt,{get(){return((fe,De)=>jn(this).$instanceValues$.get(De))(0,Jt)},set(vn){((fe,De,rt,_t)=>{const Tt=jn(fe),Bt=Tt.$hostElement$,Jt=Tt.$instanceValues$.get(De),mn=Tt.$flags$,vn=Tt.$lazyInstance$;rt=((fe,De)=>null==fe||G(fe)?fe:4&De?"false"!==fe&&(""===fe||!!fe):2&De?parseFloat(fe):1&De?String(fe):fe)(rt,_t.$members$[De][0]);const Cn=Number.isNaN(Jt)&&Number.isNaN(rt);if((!(8&mn)||void 0===Jt)&&rt!==Jt&&!Cn&&(Tt.$instanceValues$.set(De,rt),vn)){if(_t.$watchers$&&128&mn){const Gt=_t.$watchers$[De];Gt&&Gt.map(Nn=>{try{vn[Nn](rt,Jt,De)}catch(lr){Pr(lr,Bt)}})}2==(18&mn)&&It(Tt,!1)}})(this,Jt,vn,De)},configurable:!0,enumerable:!0}):1&rt&&64&mn&&Object.defineProperty(Tt,Jt,{value(...vn){var Cn;const fn=jn(this);return null===(Cn=fn?.$onInstancePromise$)||void 0===Cn?void 0:Cn.then(()=>{var Gt;return null===(Gt=fn.$lazyInstance$)||void 0===Gt?void 0:Gt[Jt](...vn)})}})}),1&rt){const Jt=new Map;Tt.attributeChangedCallback=function(mn,vn,Cn){En.jmp(()=>{var fn;const Gt=Jt.get(mn);if(this.hasOwnProperty(Gt))Cn=this[Gt],delete this[Gt];else{if(Tt.hasOwnProperty(Gt)&&"number"==typeof this[Gt]&&this[Gt]==Cn)return;if(null==Gt){const Nn=jn(this),lr=Nn?.$flags$;if(lr&&!(8&lr)&&128&lr&&Cn!==vn){const cr=Nn.$lazyInstance$,Nr=null===(fn=De.$watchers$)||void 0===fn?void 0:fn[mn];Nr?.forEach(Lr=>{null!=cr[Lr]&&cr[Lr].call(cr,Cn,vn,mn)})}return}}this[Gt]=(null!==Cn||"boolean"!=typeof this[Gt])&&Cn})},fe.observedAttributes=Array.from(new Set([...Object.keys(null!==(_t=De.$watchers$)&&void 0!==_t?_t:{}),...Bt.filter(([mn,vn])=>15&vn[0]).map(([mn,vn])=>{var Cn;const fn=vn[1]||mn;return Jt.set(fn,mn),512&vn[0]&&(null===(Cn=De.$attrsToReflect$)||void 0===Cn||Cn.push([mn,fn])),fn})]))}}return fe},sr=function(){var fe=(0,n.c)(function*(De,rt,_t,Tt){let Bt;if(!(32&rt.$flags$)){rt.$flags$|=32;{if(Bt=Rt(_t),Bt.then){const Cn=()=>{};Bt=yield Bt,Cn()}Bt.isProxied||(_t.$watchers$=Bt.watchers,Br(Bt,_t,2),Bt.isProxied=!0);const vn=()=>{};rt.$flags$|=8;try{new Bt(rt)}catch(Cn){Pr(Cn)}rt.$flags$&=-9,rt.$flags$|=128,vn(),Er(rt.$lazyInstance$)}if(Bt.style){let vn=Bt.style;"string"!=typeof vn&&(vn=vn[rt.$modeName$=(fe=>on.map(De=>De(fe)).find(De=>!!De))(De)]);const Cn=Ct(_t,rt.$modeName$);if(!kt.has(Cn)){const fn=()=>{};tt(Cn,vn,!!(1&_t.$flags$)),fn()}}}const Jt=rt.$ancestorComponent$,mn=()=>It(rt,!0);Jt&&Jt["s-rc"]?Jt["s-rc"].push(mn):mn()});return function(rt,_t,Tt,Bt){return fe.apply(this,arguments)}}(),Er=fe=>{Tn(fe,"connectedCallback")},qn=fe=>{const De=fe["s-cr"]=Mn.createComment("");De["s-cn"]=!0,fe.insertBefore(De,fe.firstChild)},Rn=fe=>{Tn(fe,"disconnectedCallback")},oi=function(){var fe=(0,n.c)(function*(De){if(!(1&En.$flags$)){const rt=jn(De);rt.$rmListeners$&&(rt.$rmListeners$.map(_t=>_t()),rt.$rmListeners$=void 0),rt?.$lazyInstance$?Rn(rt.$lazyInstance$):rt?.$onReadyPromise$&&rt.$onReadyPromise$.then(()=>Rn(rt.$lazyInstance$))}});return function(rt){return fe.apply(this,arguments)}}(),Sr=(fe,De={})=>{var rt;const Tt=[],Bt=De.exclude||[],Jt=dn.customElements,mn=Mn.head,vn=mn.querySelector("meta[charset]"),Cn=Mn.createElement("style"),fn=[],Gt=Mn.querySelectorAll(`[${I}]`);let Nn,lr=!0,cr=0;for(Object.assign(En,De),En.$resourcesUrl$=new URL(De.resourcesUrl||"./",Mn.baseURI).href,En.$flags$|=2;cr{Lr[1].map(dt=>{var lo;const vi={$flags$:dt[0],$tagName$:dt[1],$members$:dt[2],$listeners$:dt[3]};4&vi.$flags$&&(Nr=!0),vi.$members$=dt[2],vi.$listeners$=dt[3],vi.$attrsToReflect$=[],vi.$watchers$=null!==(lo=dt[4])&&void 0!==lo?lo:{};const _r=vi.$tagName$,In=class extends HTMLElement{constructor(Gn){super(Gn),or(Gn=this,vi),1&vi.$flags$&&Gn.attachShadow({mode:"open",delegatesFocus:!!(16&vi.$flags$)})}connectedCallback(){Nn&&(clearTimeout(Nn),Nn=null),lr?fn.push(this):En.jmp(()=>(fe=>{if(!(1&En.$flags$)){const De=jn(fe),rt=De.$cmpMeta$,_t=()=>{};if(1&De.$flags$)pr(fe,De,rt.$listeners$),De?.$lazyInstance$?Er(De.$lazyInstance$):De?.$onReadyPromise$&&De.$onReadyPromise$.then(()=>Er(De.$lazyInstance$));else{let Tt;if(De.$flags$|=1,Tt=fe.getAttribute(A),Tt){if(1&rt.$flags$){const Bt=mt(fe.shadowRoot,rt,fe.getAttribute("s-mode"));fe.classList.remove(Bt+"-h",Bt+"-s")}((fe,De,rt,_t)=>{const Bt=fe.shadowRoot,Jt=[],vn=Bt?[]:null,Cn=_t.$vnode$=se(De,null);En.$orgLocNodes$||ee(Mn.body,En.$orgLocNodes$=new Map),fe[A]=rt,fe.removeAttribute(A),le(Cn,Jt,[],vn,fe,fe,rt),Jt.map(fn=>{const Gt=fn.$hostId$+"."+fn.$nodeId$,Nn=En.$orgLocNodes$.get(Gt),lr=fn.$elm$;Nn&&Yn&&""===Nn["s-en"]&&Nn.parentNode.insertBefore(lr,Nn.nextSibling),Bt||(lr["s-hn"]=De,Nn&&(lr["s-ol"]=Nn,lr["s-ol"]["s-nr"]=lr)),En.$orgLocNodes$.delete(Gt)}),Bt&&vn.map(fn=>{fn&&Bt.appendChild(fn)})})(fe,rt.$tagName$,Tt,De)}Tt||12&rt.$flags$&&qn(fe);{let Bt=fe;for(;Bt=Bt.parentNode||Bt.host;)if(1===Bt.nodeType&&Bt.hasAttribute("s-id")&&Bt["s-p"]||Bt["s-p"]){pt(De,De.$ancestorComponent$=Bt);break}}rt.$members$&&Object.entries(rt.$members$).map(([Bt,[Jt]])=>{if(31&Jt&&fe.hasOwnProperty(Bt)){const mn=fe[Bt];delete fe[Bt],fe[Bt]=mn}}),sr(fe,De,rt)}_t()}})(this))}disconnectedCallback(){En.jmp(()=>oi(this))}componentOnReady(){return jn(this).$onReadyPromise$}};vi.$lazyBundleId$=Lr[0],!Bt.includes(_r)&&!Jt.get(_r)&&(Tt.push(_r),Jt.define(_r,Br(In,vi,1)))})}),Tt.length>0&&(Nr&&(Cn.innerHTML+=T),Cn.innerHTML+=Tt+"{visibility:hidden}.hydrated{visibility:inherit}",Cn.innerHTML.length)){Cn.setAttribute("data-styles","");const Lr=null!==(rt=En.$nonce$)&&void 0!==rt?rt:te(Mn);null!=Lr&&Cn.setAttribute("nonce",Lr),mn.insertBefore(Cn,vn?vn.nextSibling:mn.firstChild)}lr=!1,fn.length?fn.map(Lr=>Lr.connectedCallback()):En.jmp(()=>Nn=setTimeout(bn,30))},pr=(fe,De,rt,_t)=>{rt&&rt.map(([Tt,Bt,Jt])=>{const mn=er(fe,Tt),vn=Jn(De,Jt),Cn=Or(Tt);En.ael(mn,Bt,vn,Cn),(De.$rmListeners$=De.$rmListeners$||[]).push(()=>En.rel(mn,Bt,vn,Cn))})},Jn=(fe,De)=>rt=>{try{256&fe.$flags$?fe.$lazyInstance$[De](rt):(fe.$queuedListeners$=fe.$queuedListeners$||[]).push([De,rt])}catch(_t){Pr(_t)}},er=(fe,De)=>4&De?Mn:8&De?dn:16&De?Mn.body:fe,Or=fe=>Tr?{passive:0!=(1&fe),capture:0!=(2&fe)}:0!=(2&fe),en=new WeakMap,jn=fe=>en.get(fe),Qn=(fe,De)=>en.set(De.$lazyInstance$=fe,De),or=(fe,De)=>{const rt={$flags$:0,$hostElement$:fe,$cmpMeta$:De,$instanceValues$:new Map};return rt.$onInstancePromise$=new Promise(_t=>rt.$onInstanceResolve$=_t),rt.$onReadyPromise$=new Promise(_t=>rt.$onReadyResolve$=_t),fe["s-p"]=[],fe["s-rc"]=[],pr(fe,rt,De.$listeners$),en.set(fe,rt)},ui=(fe,De)=>De in fe,Pr=(fe,De)=>(0,console.error)(fe,De),ct=new Map,Rt=(fe,De,rt)=>{const _t=fe.$tagName$.replace(/-/g,"_"),Tt=fe.$lazyBundleId$,Bt=ct.get(Tt);return Bt?Bt[_t]:o(21480)(`./${Tt}.entry.js`).then(Jt=>(ct.set(Tt,Jt),Jt[_t]),Pr)},kt=new Map,on=[],dn=typeof window<"u"?window:{},Mn=dn.document||{head:{}},En={$flags$:0,$resourcesUrl$:"",jmp:fe=>fe(),raf:fe=>requestAnimationFrame(fe),ael:(fe,De,rt,_t)=>fe.addEventListener(De,rt,_t),rel:(fe,De,rt,_t)=>fe.removeEventListener(De,rt,_t),ce:(fe,De)=>new CustomEvent(fe,De)},Zn=fe=>{Object.assign(En,fe)},Yn=!0,Tr=(()=>{let fe=!1;try{Mn.addEventListener("e",null,Object.defineProperty({},"passive",{get(){fe=!0}}))}catch{}return fe})(),zn=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),ur=[],Mi=[],un=(fe,De)=>rt=>{fe.push(rt),p||(p=!0,De&&4&En.$flags$?ae(z):En.raf(z))},U=fe=>{for(let De=0;De{U(ur),U(Mi),(p=ur.length>0)&&En.raf(z)},ae=fe=>Promise.resolve(void 0).then(fe),Fe=un(ur,!1),Ae=un(Mi,!0)},52032:(pe,h,o)=>{"use strict";o.d(h,{a:()=>i,b:()=>d,p:()=>n});const n=(a,...l)=>console.warn(`[Ionic Warning]: ${a}`,...l),i=(a,...l)=>console.error(`[Ionic Error]: ${a}`,...l),d=(a,...l)=>console.error(`<${a.tagName.toLowerCase()}> must be used inside ${l.join(" or ")}.`)},14829:(pe,h,o)=>{"use strict";o.d(h,{d:()=>i,w:()=>n});const n=typeof window<"u"?window:void 0,i=typeof document<"u"?document:void 0},43452:(pe,h,o)=>{"use strict";o.d(h,{m:()=>C});var n=o(1528),i=o(14829),d=o(72784),a=o(52032),l=o(46384),e=o(88523),u=o(30388);const c=_=>(0,u.c)().duration(_?400:300),g=_=>{let f,y;const b=_.width+8,E=(0,u.c)(),M=(0,u.c)();_.isEndSide?(f=b+"px",y="0px"):(f=-b+"px",y="0px"),E.addElement(_.menuInnerEl).fromTo("transform",`translateX(${f})`,`translateX(${y})`);const I="ios"===(0,e.b)(_),F=I?.2:.25;return M.addElement(_.backdropEl).fromTo("opacity",.01,F),c(I).addAnimation([E,M])},v=_=>{let f,y;const b=(0,e.b)(_),E=_.width;_.isEndSide?(f=-E+"px",y=E+"px"):(f=E+"px",y=-E+"px");const M=(0,u.c)().addElement(_.menuInnerEl).fromTo("transform",`translateX(${y})`,"translateX(0px)"),A=(0,u.c)().addElement(_.contentEl).fromTo("transform","translateX(0px)",`translateX(${f})`),I=(0,u.c)().addElement(_.backdropEl).fromTo("opacity",.01,.32);return c("ios"===b).addAnimation([M,A,I])},p=_=>{const f=(0,e.b)(_),y=_.width*(_.isEndSide?-1:1)+"px",b=(0,u.c)().addElement(_.contentEl).fromTo("transform","translateX(0px)",`translateX(${y})`);return c("ios"===f).addAnimation(b)},C=(()=>{const _=new Map,f=[],y=function(){var J=(0,n.c)(function*(Y){const $=yield j(Y,!0);return!!$&&$.open()});return function($){return J.apply(this,arguments)}}(),b=function(){var J=(0,n.c)(function*(Y){const $=yield void 0!==Y?j(Y,!0):T();return void 0!==$&&$.close()});return function($){return J.apply(this,arguments)}}(),E=function(){var J=(0,n.c)(function*(Y){const $=yield j(Y,!0);return!!$&&$.toggle()});return function($){return J.apply(this,arguments)}}(),M=function(){var J=(0,n.c)(function*(Y,$){const le=yield j($);return le&&(le.disabled=!Y),le});return function($,le){return J.apply(this,arguments)}}(),A=function(){var J=(0,n.c)(function*(Y,$){const le=yield j($);return le&&(le.swipeGesture=Y),le});return function($,le){return J.apply(this,arguments)}}(),I=function(){var J=(0,n.c)(function*(Y){if(null!=Y){const $=yield j(Y);return void 0!==$&&$.isOpen()}return void 0!==(yield T())});return function($){return J.apply(this,arguments)}}(),F=function(){var J=(0,n.c)(function*(Y){const $=yield j(Y);return!!$&&!$.disabled});return function($){return J.apply(this,arguments)}}(),j=function(){var J=(0,n.c)(function*(Y,$=!1){if(yield re(),"start"===Y||"end"===Y){const ee=f.filter(ye=>ye.side===Y&&!ye.disabled);if(ee.length>=1)return ee.length>1&&$&&(0,a.p)(`menuController queried for a menu on the "${Y}" side, but ${ee.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,ee.map(ye=>ye.el)),ee[0].el;const we=f.filter(ye=>ye.side===Y);if(we.length>=1)return we.length>1&&$&&(0,a.p)(`menuController queried for a menu on the "${Y}" side, but ${we.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,we.map(ye=>ye.el)),we[0].el}else if(null!=Y)return Z(ee=>ee.menuId===Y);return Z(ee=>!ee.disabled)||(f.length>0?f[0].el:void 0)});return function($){return J.apply(this,arguments)}}(),T=function(){var J=(0,n.c)(function*(){return yield re(),ue()});return function(){return J.apply(this,arguments)}}(),P=function(){var J=(0,n.c)(function*(){return yield re(),se()});return function(){return J.apply(this,arguments)}}(),x=function(){var J=(0,n.c)(function*(){return yield re(),K()});return function(){return J.apply(this,arguments)}}(),N=(J,Y)=>{_.set(J,Y)},G=function(){var J=(0,n.c)(function*(Y,$,le){if(K())return!1;if($){const ee=yield T();ee&&Y.el!==ee&&(yield ee.setOpen(!1,!1))}return Y._setOpen($,le)});return function($,le,ee){return J.apply(this,arguments)}}(),ue=()=>Z(J=>J._isOpen),se=()=>f.map(J=>J.el),K=()=>f.some(J=>J.isAnimating),Z=J=>{const Y=f.find(J);if(void 0!==Y)return Y.el},re=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(J=>new Promise(Y=>(0,l.c)(J,Y))));return N("reveal",p),N("push",v),N("overlay",g),null==i.d||i.d.addEventListener("ionBackButton",J=>{const Y=ue();Y&&J.detail.register(d.MENU_BACK_BUTTON_PRIORITY,()=>Y.close())}),{registerAnimation:N,get:j,getMenus:P,getOpen:T,isEnabled:F,swipeGesture:A,isAnimating:x,isOpen:I,enable:M,toggle:E,close:b,open:y,_getOpenSync:ue,_createAnimation:(J,Y)=>{const $=_.get(J);if(!$)throw new Error("animation not registered");return $(Y)},_register:J=>{f.indexOf(J)<0&&f.push(J)},_unregister:J=>{const Y=f.indexOf(J);Y>-1&&f.splice(Y,1)},_setOpen:G}})()},88523:(pe,h,o)=>{"use strict";o.d(h,{a:()=>p,b:()=>se,c:()=>d,g:()=>v,i:()=>K});var n=o(62992);class i{constructor(){this.m=new Map}reset(re){this.m=new Map(Object.entries(re))}get(re,J){const Y=this.m.get(re);return void 0!==Y?Y:J}getBoolean(re,J=!1){const Y=this.m.get(re);return void 0===Y?J:"string"==typeof Y?"true"===Y:!!Y}getNumber(re,J){const Y=parseFloat(this.m.get(re));return isNaN(Y)?void 0!==J?J:NaN:Y}set(re,J){this.m.set(re,J)}}const d=new i,c="ionic:",g="ionic-persist-config",v=Z=>S(Z),p=(Z,re)=>("string"==typeof Z&&(re=Z,Z=void 0),v(Z).includes(re)),S=(Z=window)=>{if(typeof Z>"u")return[];Z.Ionic=Z.Ionic||{};let re=Z.Ionic.platforms;return null==re&&(re=Z.Ionic.platforms=C(Z),re.forEach(J=>Z.document.documentElement.classList.add(`plt-${J}`))),re},C=Z=>{const re=d.get("platform");return Object.keys(te).filter(J=>{const Y=re?.[J];return"function"==typeof Y?Y(Z):te[J](Z)})},f=Z=>!!(H(Z,/iPad/i)||H(Z,/Macintosh/i)&&F(Z)),E=Z=>H(Z,/android|sink/i),F=Z=>G(Z,"(any-pointer:coarse)"),T=Z=>P(Z)||x(Z),P=Z=>!!(Z.cordova||Z.phonegap||Z.PhoneGap),x=Z=>{const re=Z.Capacitor;return!!re?.isNative},H=(Z,re)=>re.test(Z.navigator.userAgent),G=(Z,re)=>{var J;return null===(J=Z.matchMedia)||void 0===J?void 0:J.call(Z,re).matches},te={ipad:f,iphone:Z=>H(Z,/iPhone/i),ios:Z=>H(Z,/iPhone|iPod/i)||f(Z),android:E,phablet:Z=>{const re=Z.innerWidth,J=Z.innerHeight,Y=Math.min(re,J),$=Math.max(re,J);return Y>390&&Y<520&&$>620&&$<800},tablet:Z=>{const re=Z.innerWidth,J=Z.innerHeight,Y=Math.min(re,J),$=Math.max(re,J);return f(Z)||(Z=>E(Z)&&!H(Z,/mobile/i))(Z)||Y>460&&Y<820&&$>780&&$<1400},cordova:P,capacitor:x,electron:Z=>H(Z,/electron/i),pwa:Z=>{var re;return!!(null!==(re=Z.matchMedia)&&void 0!==re&&re.call(Z,"(display-mode: standalone)").matches||Z.navigator.standalone)},mobile:F,mobileweb:Z=>F(Z)&&!T(Z),desktop:Z=>!F(Z),hybrid:T};let ue;const se=Z=>Z&&(0,n.g)(Z)||ue,K=(Z={})=>{if(typeof window>"u")return;const re=window.document,J=window,Y=J.Ionic=J.Ionic||{},$={};Z._ael&&($.ael=Z._ael),Z._rel&&($.rel=Z._rel),Z._ce&&($.ce=Z._ce),(0,n.a)($);const le=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(Z=>{try{const re=Z.sessionStorage.getItem(g);return null!==re?JSON.parse(re):{}}catch{return{}}})(J)),{persistConfig:!1}),Y.config),(Z=>{const re={};return Z.location.search.slice(1).split("&").map(J=>J.split("=")).map(([J,Y])=>[decodeURIComponent(J),decodeURIComponent(Y)]).filter(([J])=>((Z,re)=>Z.substr(0,re.length)===re)(J,c)).map(([J,Y])=>[J.slice(6),Y]).forEach(([J,Y])=>{re[J]=Y}),re})(J)),Z);d.reset(le),d.getBoolean("persistConfig")&&((Z,re)=>{try{Z.sessionStorage.setItem(g,JSON.stringify(re))}catch{return}})(J,le),S(J),Y.config=d,Y.mode=ue=d.get("mode",re.documentElement.getAttribute("mode")||(p(J,"ios")?"ios":"md")),d.set("mode",ue),re.documentElement.setAttribute("mode",ue),re.documentElement.classList.add(ue),d.getBoolean("_testing")&&d.set("animated",!1);const ee=ye=>{var Oe;return null===(Oe=ye.tagName)||void 0===Oe?void 0:Oe.startsWith("ION-")},we=ye=>["ios","md"].includes(ye);(0,n.c)(ye=>{for(;ye;){const Oe=ye.mode||ye.getAttribute("mode");if(Oe){if(we(Oe))return Oe;ee(ye)&&console.warn('Invalid ionic mode: "'+Oe+'", expected: "ios" or "md"')}ye=ye.parentElement}return ue})}},68512:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{iosTransitionAnimation:()=>C,shadow:()=>u});var n=o(30388),i=o(76256);o(14829),o(62992);const e=f=>document.querySelector(`${f}.ion-cloned-element`),u=f=>f.shadowRoot||f,c=f=>{const y="ION-TABS"===f.tagName?f:f.querySelector("ion-tabs"),b="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=y){const E=y.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=E?E.querySelector(b):null}return f.querySelector(b)},g=(f,y)=>{const b="ION-TABS"===f.tagName?f:f.querySelector("ion-tabs");let E=[];if(null!=b){const M=b.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=M&&(E=M.querySelectorAll("ion-buttons"))}else E=f.querySelectorAll("ion-buttons");for(const M of E){const A=M.closest("ion-header"),I=A&&!A.classList.contains("header-collapse-condense-inactive"),F=M.querySelector("ion-back-button"),j=M.classList.contains("buttons-collapse");if(null!==F&&("start"===M.slot||""===M.slot)&&(j&&I&&y||!j))return F}return null},p=(f,y,b,E,M,A,I,F,j)=>{var T,P;const x=y?`calc(100% - ${M.right+4}px)`:M.left-4+"px",N=y?"right":"left",O=y?"left":"right",H=y?"right":"left",G=(null===(T=A.textContent)||void 0===T?void 0:T.trim())===(null===(P=F.textContent)||void 0===P?void 0:P.trim()),ue=(j.height-_)/I.height,se=G?`scale(${j.width/I.width}, ${ue})`:`scale(${ue})`,K="scale(1)",re=u(E).querySelector("ion-icon").getBoundingClientRect(),J=y?re.width/2-(re.right-M.right)+"px":M.left-re.width/2+"px",Y=y?`-${window.innerWidth-M.right}px`:`${M.left}px`,$=`${j.top}px`,le=`${M.top}px`,ye=b?[{offset:0,transform:`translate3d(${Y}, ${le}, 0)`},{offset:1,transform:`translate3d(${J}, ${$}, 0)`}]:[{offset:0,transform:`translate3d(${J}, ${$}, 0)`},{offset:1,transform:`translate3d(${Y}, ${le}, 0)`}],_e=b?[{offset:0,opacity:1,transform:K},{offset:1,opacity:0,transform:se}]:[{offset:0,opacity:0,transform:se},{offset:1,opacity:1,transform:K}],ot=b?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],tt=(0,n.c)(),mt=(0,n.c)(),Qe=(0,n.c)(),Ct=e("ion-back-button"),Xe=u(Ct).querySelector(".button-text"),nt=u(Ct).querySelector("ion-icon");Ct.text=E.text,Ct.mode=E.mode,Ct.icon=E.icon,Ct.color=E.color,Ct.disabled=E.disabled,Ct.style.setProperty("display","block"),Ct.style.setProperty("position","fixed"),mt.addElement(nt),tt.addElement(Xe),Qe.addElement(Ct),Qe.beforeStyles({position:"absolute",top:"0px",[H]:"0px"}).keyframes(ye),tt.beforeStyles({"transform-origin":`${N} top`}).beforeAddWrite(()=>{E.style.setProperty("display","none"),Ct.style.setProperty(N,x)}).afterAddWrite(()=>{E.style.setProperty("display",""),Ct.style.setProperty("display","none"),Ct.style.removeProperty(N)}).keyframes(_e),mt.beforeStyles({"transform-origin":`${O} center`}).keyframes(ot),f.addAnimation([tt,mt,Qe])},S=(f,y,b,E,M,A,I,F)=>{var j,T;const P=y?"right":"left",x=y?`calc(100% - ${M.right}px)`:`${M.left}px`,O=`${M.top}px`,G=y?`-${window.innerWidth-F.right-8}px`:F.x-8+"px",ue=F.y-2+"px",se=(null===(j=I.textContent)||void 0===j?void 0:j.trim())===(null===(T=E.textContent)||void 0===T?void 0:T.trim()),Z=F.height/(A.height-_),re="scale(1)",J=se?`scale(${F.width/A.width}, ${Z})`:`scale(${Z})`,le=b?[{offset:0,opacity:0,transform:`translate3d(${G}, ${ue}, 0) ${J}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${O}, 0) ${re}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${O}, 0) ${re}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${G}, ${ue}, 0) ${J}`}],ee=e("ion-title"),we=(0,n.c)();ee.innerText=E.innerText,ee.size=E.size,ee.color=E.color,we.addElement(ee),we.beforeStyles({"transform-origin":`${P} top`,height:`${M.height}px`,display:"",position:"relative",[P]:x}).beforeAddWrite(()=>{E.style.setProperty("opacity","0")}).afterAddWrite(()=>{E.style.setProperty("opacity",""),ee.style.setProperty("display","none")}).keyframes(le),f.addAnimation(we)},C=(f,y)=>{var b;try{const E="cubic-bezier(0.32,0.72,0,1)",M="opacity",A="transform",I="0%",j="rtl"===f.ownerDocument.dir,T=j?"-99.5%":"99.5%",P=j?"33%":"-33%",x=y.enteringEl,N=y.leavingEl,O="back"===y.direction,H=x.querySelector(":scope > ion-content"),G=x.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),te=x.querySelectorAll(":scope > ion-header > ion-toolbar"),ue=(0,n.c)(),se=(0,n.c)();if(ue.addElement(x).duration((null!==(b=y.duration)&&void 0!==b?b:0)||540).easing(y.easing||E).fill("both").beforeRemoveClass("ion-page-invisible"),N&&null!=f){const J=(0,n.c)();J.addElement(f),ue.addAnimation(J)}if(H||0!==te.length||0!==G.length?(se.addElement(H),se.addElement(G)):se.addElement(x.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ue.addAnimation(se),O?se.beforeClearStyles([M]).fromTo("transform",`translateX(${P})`,`translateX(${I})`).fromTo(M,.8,1):se.beforeClearStyles([M]).fromTo("transform",`translateX(${T})`,`translateX(${I})`),H){const J=u(H).querySelector(".transition-effect");if(J){const Y=J.querySelector(".transition-cover"),$=J.querySelector(".transition-shadow"),le=(0,n.c)(),ee=(0,n.c)(),we=(0,n.c)();le.addElement(J).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ee.addElement(Y).beforeClearStyles([M]).fromTo(M,0,.1),we.addElement($).beforeClearStyles([M]).fromTo(M,.03,.7),le.addAnimation([ee,we]),se.addAnimation([le])}}const K=x.querySelector("ion-header.header-collapse-condense"),{forward:Z,backward:re}=((f,y,b,E,M)=>{const A=g(E,b),I=c(M),F=c(E),j=g(M,b),T=null!==A&&null!==I&&!b,P=null!==F&&null!==j&&b;if(T){const x=I.getBoundingClientRect(),N=A.getBoundingClientRect(),O=u(A).querySelector(".button-text"),H=O.getBoundingClientRect(),te=u(I).querySelector(".toolbar-title").getBoundingClientRect();S(f,y,b,I,x,te,O,H),p(f,y,b,A,N,O,H,I,te)}else if(P){const x=F.getBoundingClientRect(),N=j.getBoundingClientRect(),O=u(j).querySelector(".button-text"),H=O.getBoundingClientRect(),te=u(F).querySelector(".toolbar-title").getBoundingClientRect();S(f,y,b,F,x,te,O,H),p(f,y,b,j,N,O,H,F,te)}return{forward:T,backward:P}})(ue,j,O,x,N);if(te.forEach(J=>{const Y=(0,n.c)();Y.addElement(J),ue.addAnimation(Y);const $=(0,n.c)();$.addElement(J.querySelector("ion-title"));const le=(0,n.c)(),ee=Array.from(J.querySelectorAll("ion-buttons,[menuToggle]")),we=J.closest("ion-header"),ye=we?.classList.contains("header-collapse-condense-inactive");let Oe;Oe=ee.filter(O?ot=>{const tt=ot.classList.contains("buttons-collapse");return tt&&!ye||!tt}:ot=>!ot.classList.contains("buttons-collapse")),le.addElement(Oe);const ve=(0,n.c)();ve.addElement(J.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const _e=(0,n.c)();_e.addElement(u(J).querySelector(".toolbar-background"));const Pe=(0,n.c)(),Ze=J.querySelector("ion-back-button");if(Ze&&Pe.addElement(Ze),Y.addAnimation([$,le,ve,_e,Pe]),le.fromTo(M,.01,1),ve.fromTo(M,.01,1),O)ye||$.fromTo("transform",`translateX(${P})`,`translateX(${I})`).fromTo(M,.01,1),ve.fromTo("transform",`translateX(${P})`,`translateX(${I})`),Pe.fromTo(M,.01,1);else if(K||$.fromTo("transform",`translateX(${T})`,`translateX(${I})`).fromTo(M,.01,1),ve.fromTo("transform",`translateX(${T})`,`translateX(${I})`),_e.beforeClearStyles([M,"transform"]),we?.translucent?_e.fromTo("transform",j?"translateX(-100%)":"translateX(100%)","translateX(0px)"):_e.fromTo(M,.01,"var(--opacity)"),Z||Pe.fromTo(M,.01,1),Ze&&!Z){const tt=(0,n.c)();tt.addElement(u(Ze).querySelector(".button-text")).fromTo("transform",j?"translateX(-100px)":"translateX(100px)","translateX(0px)"),Y.addAnimation(tt)}}),N){const J=(0,n.c)(),Y=N.querySelector(":scope > ion-content"),$=N.querySelectorAll(":scope > ion-header > ion-toolbar"),le=N.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(Y||0!==$.length||0!==le.length?(J.addElement(Y),J.addElement(le)):J.addElement(N.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ue.addAnimation(J),O){J.beforeClearStyles([M]).fromTo("transform",`translateX(${I})`,j?"translateX(-100%)":"translateX(100%)");const ee=(0,i.g)(N);ue.afterAddWrite(()=>{"normal"===ue.getDirection()&&ee.style.setProperty("display","none")})}else J.fromTo("transform",`translateX(${I})`,`translateX(${P})`).fromTo(M,1,.8);if(Y){const ee=u(Y).querySelector(".transition-effect");if(ee){const we=ee.querySelector(".transition-cover"),ye=ee.querySelector(".transition-shadow"),Oe=(0,n.c)(),ve=(0,n.c)(),_e=(0,n.c)();Oe.addElement(ee).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ve.addElement(we).beforeClearStyles([M]).fromTo(M,.1,0),_e.addElement(ye).beforeClearStyles([M]).fromTo(M,.7,.03),Oe.addAnimation([ve,_e]),J.addAnimation([Oe])}}$.forEach(ee=>{const we=(0,n.c)();we.addElement(ee);const ye=(0,n.c)();ye.addElement(ee.querySelector("ion-title"));const Oe=(0,n.c)(),ve=ee.querySelectorAll("ion-buttons,[menuToggle]"),_e=ee.closest("ion-header"),Pe=_e?.classList.contains("header-collapse-condense-inactive"),Ze=Array.from(ve).filter(Xe=>{const nt=Xe.classList.contains("buttons-collapse");return nt&&!Pe||!nt});Oe.addElement(Ze);const ot=(0,n.c)(),tt=ee.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");tt.length>0&&ot.addElement(tt);const mt=(0,n.c)();mt.addElement(u(ee).querySelector(".toolbar-background"));const Qe=(0,n.c)(),Ct=ee.querySelector("ion-back-button");if(Ct&&Qe.addElement(Ct),we.addAnimation([ye,Oe,ot,Qe,mt]),ue.addAnimation(we),Qe.fromTo(M,.99,0),Oe.fromTo(M,.99,0),ot.fromTo(M,.99,0),O){if(Pe||ye.fromTo("transform",`translateX(${I})`,j?"translateX(-100%)":"translateX(100%)").fromTo(M,.99,0),ot.fromTo("transform",`translateX(${I})`,j?"translateX(-100%)":"translateX(100%)"),mt.beforeClearStyles([M,"transform"]),_e?.translucent?mt.fromTo("transform","translateX(0px)",j?"translateX(-100%)":"translateX(100%)"):mt.fromTo(M,"var(--opacity)",0),Ct&&!re){const nt=(0,n.c)();nt.addElement(u(Ct).querySelector(".button-text")).fromTo("transform",`translateX(${I})`,`translateX(${(j?-124:124)+"px"})`),we.addAnimation(nt)}}else Pe||ye.fromTo("transform",`translateX(${I})`,`translateX(${P})`).fromTo(M,.99,0).afterClearStyles([A,M]),ot.fromTo("transform",`translateX(${I})`,`translateX(${P})`).afterClearStyles([A,M]),Qe.afterClearStyles([M]),ye.afterClearStyles([M]),Oe.afterClearStyles([M])})}return ue}catch(E){throw E}},_=10},96556:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{mdTransitionAnimation:()=>l});var n=o(30388),i=o(76256);o(14829),o(62992);const l=(e,u)=>{var c,g,v;const p="40px",C="back"===u.direction,f=u.leavingEl,y=(0,i.g)(u.enteringEl),b=y.querySelector("ion-toolbar"),E=(0,n.c)();if(E.addElement(y).fill("both").beforeRemoveClass("ion-page-invisible"),C?E.duration((null!==(c=u.duration)&&void 0!==c?c:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):E.duration((null!==(g=u.duration)&&void 0!==g?g:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${p})`,"translateY(0px)").fromTo("opacity",.01,1),b){const M=(0,n.c)();M.addElement(b),E.addAnimation(M)}if(f&&C){E.duration((null!==(v=u.duration)&&void 0!==v?v:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const M=(0,n.c)();M.addElement((0,i.g)(f)).onFinish(A=>{1===A&&M.elements.length>0&&M.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${p})`).fromTo("opacity",1,0),E.addAnimation(M)}return E}},63816:(pe,h,o)=>{"use strict";o.d(h,{B:()=>Oe,G:()=>ve,O:()=>_e,a:()=>S,b:()=>C,c:()=>b,d:()=>Pe,e:()=>Ze,f:()=>K,g:()=>re,h:()=>$,i:()=>ee,j:()=>M,k:()=>A,l:()=>_,m:()=>f,n:()=>T,o:()=>ue,p:()=>y,s:()=>ye,t:()=>E});var n=o(1528),i=o(14829),d=o(72784),a=o(88523),l=o(10495),e=o(46384),u=o(52032);let c=0,g=0;const v=new WeakMap,p=ot=>({create:tt=>I(ot,tt),dismiss:(tt,mt,Qe)=>H(document,tt,mt,ot,Qe),getTop:()=>(0,n.c)(function*(){return ue(document,ot)})()}),S=p("ion-alert"),C=p("ion-action-sheet"),_=p("ion-loading"),f=p("ion-modal"),y=p("ion-picker"),b=p("ion-popover"),E=p("ion-toast"),M=ot=>{typeof document<"u"&&O(document);const tt=c++;ot.overlayIndex=tt},A=ot=>(ot.hasAttribute("id")||(ot.id="ion-overlay-"+ ++g),ot.id),I=(ot,tt)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(ot).then(()=>{const mt=document.createElement(ot);return mt.classList.add("overlay-hidden"),Object.assign(mt,Object.assign(Object.assign({},tt),{hasController:!0})),J(document).appendChild(mt),new Promise(Qe=>(0,e.c)(mt,Qe))}):Promise.resolve(),F='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',T=(ot,tt)=>{const mt=ot.querySelector(F);x(mt,tt)},P=(ot,tt)=>{const mt=Array.from(ot.querySelectorAll(F));x(mt.length>0?mt[mt.length-1]:null,tt)},x=(ot,tt)=>{let mt=ot;const Qe=ot?.shadowRoot;Qe&&(mt=Qe.querySelector(F)||ot),mt?(0,e.f)(mt):tt.focus()},O=ot=>{0===c&&(c=1,ot.addEventListener("focus",tt=>{((ot,tt)=>{const mt=ue(tt,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),Qe=ot.target;mt&&Qe&&!mt.classList.contains("ion-disable-focus-trap")&&(mt.shadowRoot?(()=>{if(mt.contains(Qe))mt.lastFocus=Qe;else if("ION-TOAST"===Qe.tagName)x(mt.lastFocus,mt);else{const nt=mt.lastFocus;T(mt,mt),nt===tt.activeElement&&P(mt,mt),mt.lastFocus=tt.activeElement}})():(()=>{if(mt===Qe)mt.lastFocus=void 0;else if("ION-TOAST"===Qe.tagName)x(mt.lastFocus,mt);else{const nt=(0,e.g)(mt);if(!nt.contains(Qe))return;const Pt=nt.querySelector(".ion-overlay-wrapper");if(!Pt)return;if(Pt.contains(Qe)||Qe===nt.querySelector("ion-backdrop"))mt.lastFocus=Qe;else{const tn=mt.lastFocus;T(Pt,mt),tn===tt.activeElement&&P(Pt,mt),mt.lastFocus=tt.activeElement}}})())})(tt,ot)},!0),ot.addEventListener("ionBackButton",tt=>{const mt=ue(ot);mt?.backdropDismiss&&tt.detail.register(d.OVERLAY_BACK_BUTTON_PRIORITY,()=>{mt.dismiss(void 0,Oe)})}),(0,d.shoudUseCloseWatcher)()||ot.addEventListener("keydown",tt=>{if("Escape"===tt.key){const mt=ue(ot);mt?.backdropDismiss&&mt.dismiss(void 0,Oe)}}))},H=(ot,tt,mt,Qe,Ct)=>{const Xe=ue(ot,Qe,Ct);return Xe?Xe.dismiss(tt,mt):Promise.reject("overlay does not exist")},te=(ot,tt)=>((ot,tt)=>(void 0===tt&&(tt="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(ot.querySelectorAll(tt)).filter(mt=>mt.overlayIndex>0)))(ot,tt).filter(mt=>!(ot=>ot.classList.contains("overlay-hidden"))(mt)),ue=(ot,tt,mt)=>{const Qe=te(ot,tt);return void 0===mt?Qe[Qe.length-1]:Qe.find(Ct=>Ct.id===mt)},se=(ot=!1)=>{const mt=J(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");mt&&(ot?mt.setAttribute("aria-hidden","true"):mt.removeAttribute("aria-hidden"))},K=function(){var ot=(0,n.c)(function*(tt,mt,Qe,Ct,Xe){var nt,Pt;if(tt.presented)return;se(!0),void 0!==i.d&&te(i.d).forEach(_n=>_n.setAttribute("aria-hidden","true")),tt.presented=!0,tt.willPresent.emit(),null===(nt=tt.willPresentShorthand)||void 0===nt||nt.emit();const tn=(0,a.b)(tt),hn=tt.enterAnimation?tt.enterAnimation:a.c.get(mt,"ios"===tn?Qe:Ct);(yield Y(tt,hn,tt.el,Xe))&&(tt.didPresent.emit(),null===(Pt=tt.didPresentShorthand)||void 0===Pt||Pt.emit()),"ION-TOAST"!==tt.el.tagName&&Z(tt.el),tt.keyboardClose&&(null===document.activeElement||!tt.el.contains(document.activeElement))&&tt.el.focus(),tt.el.removeAttribute("aria-hidden")});return function(mt,Qe,Ct,Xe,nt){return ot.apply(this,arguments)}}(),Z=function(){var ot=(0,n.c)(function*(tt){let mt=document.activeElement;if(!mt)return;const Qe=mt?.shadowRoot;Qe&&(mt=Qe.querySelector(F)||mt),yield tt.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&mt.focus()});return function(mt){return ot.apply(this,arguments)}}(),re=function(){var ot=(0,n.c)(function*(tt,mt,Qe,Ct,Xe,nt,Pt){var tn,hn,wn;if(!tt.presented)return!1;void 0!==i.d&&1===te(i.d).length&&se(!1),tt.presented=!1;try{tt.el.style.setProperty("pointer-events","none"),tt.willDismiss.emit({data:mt,role:Qe}),null===(tn=tt.willDismissShorthand)||void 0===tn||tn.emit({data:mt,role:Qe});const An=(0,a.b)(tt),_n=tt.leaveAnimation?tt.leaveAnimation:a.c.get(Ct,"ios"===An?Xe:nt);Qe!==ve&&(yield Y(tt,_n,tt.el,Pt)),tt.didDismiss.emit({data:mt,role:Qe}),null===(hn=tt.didDismissShorthand)||void 0===hn||hn.emit({data:mt,role:Qe}),(v.get(tt)||[]).forEach(ht=>ht.destroy()),v.delete(tt),tt.el.classList.add("overlay-hidden"),tt.el.style.removeProperty("pointer-events"),void 0!==tt.el.lastFocus&&(tt.el.lastFocus=void 0)}catch(An){console.error(An)}return tt.el.remove(),void 0!==i.d&&(null===(wn=ue(i.d))||void 0===wn||wn.removeAttribute("aria-hidden")),!0});return function(mt,Qe,Ct,Xe,nt,Pt,tn){return ot.apply(this,arguments)}}(),J=ot=>ot.querySelector("ion-app")||ot.body,Y=function(){var ot=(0,n.c)(function*(tt,mt,Qe,Ct){Qe.classList.remove("overlay-hidden");const nt=mt(tt.el,Ct);(!tt.animated||!a.c.getBoolean("animated",!0))&&nt.duration(0),tt.keyboardClose&&nt.beforeAddWrite(()=>{const tn=Qe.ownerDocument.activeElement;tn?.matches("input,ion-input, ion-textarea")&&tn.blur()});const Pt=v.get(tt)||[];return v.set(tt,[...Pt,nt]),yield nt.play(),!0});return function(mt,Qe,Ct,Xe){return ot.apply(this,arguments)}}(),$=(ot,tt)=>{let mt;const Qe=new Promise(Ct=>mt=Ct);return le(ot,tt,Ct=>{mt(Ct.detail)}),Qe},le=(ot,tt,mt)=>{const Qe=Ct=>{(0,e.b)(ot,tt,Qe),mt(Ct)};(0,e.a)(ot,tt,Qe)},ee=ot=>"cancel"===ot||ot===Oe,we=ot=>ot(),ye=(ot,tt)=>{if("function"==typeof ot)return a.c.get("_zoneGate",we)(()=>{try{return ot(tt)}catch(Qe){throw Qe}})},Oe="backdrop",ve="gesture",_e=39,Pe=ot=>{let mt,tt=!1;const Qe=(0,l.C)(),Ct=(Pt=!1)=>{if(mt&&!Pt)return{delegate:mt,inline:tt};const{el:tn,hasController:hn,delegate:wn}=ot;return tt=null!==tn.parentNode&&!hn,mt=tt?wn||Qe:wn,{inline:tt,delegate:mt}};return{attachViewToDom:function(){var Pt=(0,n.c)(function*(tn){const{delegate:hn}=Ct(!0);if(hn)return yield hn.attachViewToDom(ot.el,tn);const{hasController:wn}=ot;if(wn&&void 0!==tn)throw new Error("framework delegate is missing");return null});return function(hn){return Pt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:Pt}=Ct();Pt&&void 0!==ot.el&&Pt.removeViewFromDom(ot.el.parentElement,ot.el)}}},Ze=()=>{let ot;const tt=()=>{ot&&(ot(),ot=void 0)};return{addClickListener:(Qe,Ct)=>{tt();const Xe=void 0!==Ct?document.getElementById(Ct):null;Xe?ot=((Pt,tn)=>{const hn=()=>{tn.present()};return Pt.addEventListener("click",hn),()=>{Pt.removeEventListener("click",hn)}})(Xe,Qe):(0,u.p)(`A trigger element with the ID "${Ct}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,Qe)},removeClickListener:tt}}},45256:(pe,h,o)=>{"use strict";o.d(h,{c:()=>d,g:()=>l,h:()=>i,o:()=>u});var n=o(1528);const i=(c,g)=>null!==g.closest(c),d=(c,g)=>"string"==typeof c&&c.length>0?Object.assign({"ion-color":!0,[`ion-color-${c}`]:!0},g):g,l=c=>{const g={};return(c=>void 0!==c?(Array.isArray(c)?c:c.split(" ")).filter(v=>null!=v).map(v=>v.trim()).filter(v=>""!==v):[])(c).forEach(v=>g[v]=!0),g},e=/^[a-z][a-z0-9+\-.]*:/,u=function(){var c=(0,n.c)(function*(g,v,p,S){if(null!=g&&"#"!==g[0]&&!e.test(g)){const C=document.querySelector("ion-router");if(C)return v?.preventDefault(),C.push(g,p,S)}return!1});return function(v,p,S,C){return c.apply(this,arguments)}}()},57140:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{AuthenticationHandler:()=>P,AuthenticationHandlerOptions:()=>F,BatchRequestContent:()=>d,BatchResponseContent:()=>a,ChaosHandler:()=>$,ChaosHandlerOptions:()=>re,ChaosStrategy:()=>Z,Client:()=>ht,CustomAuthenticationProvider:()=>nt,FeatureUsageFlag:()=>j,FileUpload:()=>Ze,GraphClientError:()=>c,GraphError:()=>Pt,GraphRequest:()=>hn,HTTPMessageHandler:()=>x,LargeFileUploadTask:()=>Pe,MiddlewareFactory:()=>K,OneDriveLargeFileUploadTask:()=>Qe,PageIterator:()=>Xe,Range:()=>ve,RedirectHandler:()=>G,RedirectHandlerOptions:()=>H,ResponseType:()=>le,RetryHandler:()=>O,RetryHandlerOptions:()=>N,StreamUpload:()=>Ct,TelemetryHandler:()=>ue,TelemetryHandlerOptions:()=>T,UploadResult:()=>_e,getValidRangeSize:()=>mt});var n=o(81316),i=function(Ue){return Ue.GET="GET",Ue.PATCH="PATCH",Ue.POST="POST",Ue.PUT="PUT",Ue.DELETE="DELETE",Ue}(i||{});let d=(()=>{class Ue{static validateDependencies(Te){if(0===Te.size){const He=new Error("Empty requests map, Please provide at least one request.");throw He.name="Empty Requests Error",He}return(He=>{const vt=He.entries();let ut=vt.next();for(;!ut.done;){const wt=ut.value[1];if(void 0!==wt.dependsOn&&wt.dependsOn.length>0)return!1;ut=vt.next()}return!0})(Te)||(He=>{const vt=He.entries();let ut=vt.next();const wt=ut.value[1];if(void 0!==wt.dependsOn&&wt.dependsOn.length>0)return!1;let st=ut;for(ut=vt.next();!ut.done;){const zt=ut.value[1];if(void 0===zt.dependsOn||1!==zt.dependsOn.length||zt.dependsOn[0]!==st.value[1].id)return!1;st=ut,ut=vt.next()}return!0})(Te)||(He=>{const vt=He.entries();let ut=vt.next();const wt=ut.value[1];let st;if(void 0===wt.dependsOn||0===wt.dependsOn.length)st=wt.id;else{if(1!==wt.dependsOn.length)return!1;{const zt=wt.dependsOn[0];if(zt===wt.id||!He.has(zt))return!1;st=zt}}for(ut=vt.next();!ut.done;){const zt=ut.value[1];if((void 0===zt.dependsOn||0===zt.dependsOn.length)&&st!==zt.id||void 0!==zt.dependsOn&&0!==zt.dependsOn.length&&(1===zt.dependsOn.length&&(zt.id===st||zt.dependsOn[0]!==st)||zt.dependsOn.length>1))return!1;ut=vt.next()}return!0})(Te)}static getRequestData(Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){const $e={url:""},je=new RegExp("^https?://");$e.url=je.test(Te.url)?"/"+Te.url.split(/.*?\/\/.*?\//)[1]:Te.url,$e.method=Te.method;const gt={};return Te.headers.forEach((He,vt)=>{gt[vt]=He}),Object.keys(gt).length&&($e.headers=gt),(Te.method===i.PATCH||Te.method===i.POST||Te.method===i.PUT)&&($e.body=yield Ue.getRequestBody(Te)),$e})}static getRequestBody(Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){let je,$e=!1;try{je=yield Te.clone().json(),$e=!0}catch{}if(!$e)try{if(typeof Blob<"u"){const gt=yield Te.blob(),He=new FileReader;je=yield new Promise(vt=>{He.addEventListener("load",()=>{const ut=He.result,st=new RegExp("^s*data:(.+?/.+?(;.+?=.+?)*)?(;base64)?,(.*)s*$").exec(ut);vt(st[4])},!1),He.readAsDataURL(gt)})}else typeof Buffer<"u"&&(je=(yield Te.buffer()).toString("base64"));$e=!0}catch{}return je})}constructor(Te){if(this.requests=new Map,typeof Te<"u"){const $e=Ue.requestLimit;if(Te.length>$e){const je=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${$e}`);throw je.name="Limit Exceeded Error",je}for(const je of Te)this.addRequest(je)}}addRequest(Te){const $e=Ue.requestLimit;if(""===Te.id){const je=new Error("Id for a request is empty, Please provide an unique id");throw je.name="Empty Id For Request",je}if(this.requests.size===$e){const je=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${$e}`);throw je.name="Limit Exceeded Error",je}if(this.requests.has(Te.id)){const je=new Error(`Adding request with duplicate id ${Te.id}, Make the id of the requests unique`);throw je.name="Duplicate RequestId Error",je}return this.requests.set(Te.id,Te),Te.id}removeRequest(Te){const $e=this.requests.delete(Te),je=this.requests.entries();let gt=je.next();for(;!gt.done;){const He=gt.value[1].dependsOn;if(typeof He<"u"){const vt=He.indexOf(Te);-1!==vt&&He.splice(vt,1),0===He.length&&delete gt.value[1].dependsOn}gt=je.next()}return $e}getContent(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Te=[],$e={requests:Te},je=this.requests.entries();let gt=je.next();if(gt.done){const He=new Error("No requests added yet, Please add at least one request.");throw He.name="Empty Payload",He}if(!Ue.validateDependencies(this.requests)){const He=new Error("Invalid dependency found, Dependency should be:\n1. Parallel - no individual request states a dependency in the dependsOn property.\n2. Serial - all individual requests depend on the previous individual request.\n3. Same - all individual requests that state a dependency in the dependsOn property, state the same dependency.");throw He.name="Invalid Dependency",He}for(;!gt.done;){const He=gt.value[1],vt=yield Ue.getRequestData(He.request);if(void 0!==vt.body&&(void 0===vt.headers||void 0===vt.headers["content-type"])){const ut=new Error(`Content-type header is not mentioned for request #${He.id}, For request having body, Content-type header should be mentioned`);throw ut.name="Invalid Content-type header",ut}vt.id=He.id,void 0!==He.dependsOn&&He.dependsOn.length>0&&(vt.dependsOn=He.dependsOn),Te.push(vt),gt=je.next()}return $e.requests=Te,$e})}addDependency(Te,$e){if(!this.requests.has(Te)){const je=new Error(`Dependent ${Te} does not exists, Please check the id`);throw je.name="Invalid Dependent",je}if(typeof $e<"u"&&!this.requests.has($e)){const je=new Error(`Dependency ${$e} does not exists, Please check the id`);throw je.name="Invalid Dependency",je}if(typeof $e<"u"){const je=this.requests.get(Te);if(void 0===je.dependsOn&&(je.dependsOn=[]),-1!==je.dependsOn.indexOf($e)){const gt=new Error(`Dependency ${$e} is already added for the request ${Te}`);throw gt.name="Duplicate Dependency",gt}je.dependsOn.push($e)}else{const je=this.requests.entries();let gt,He=je.next();for(;!He.done&&He.value[1].id!==Te;)gt=He,He=je.next();if(!(typeof gt<"u")){const vt=new Error(`Can't add dependency ${$e}, There is only a dependent request in the batch`);throw vt.name="Invalid Dependency Addition",vt}{const vt=gt.value[0];if(void 0===He.value[1].dependsOn&&(He.value[1].dependsOn=[]),-1!==He.value[1].dependsOn.indexOf(vt)){const ut=new Error(`Dependency ${vt} is already added for the request ${Te}`);throw ut.name="Duplicate Dependency",ut}He.value[1].dependsOn.push(vt)}}}removeDependency(Te,$e){const je=this.requests.get(Te);if(typeof je>"u"||void 0===je.dependsOn||0===je.dependsOn.length)return!1;if(typeof $e<"u"){const gt=je.dependsOn.indexOf($e);return-1!==gt&&(je.dependsOn.splice(gt,1),!0)}return delete je.dependsOn,!0}}return Ue.requestLimit=20,Ue})();class a{constructor(Ee){this.responses=new Map,this.update(Ee)}createResponseObject(Ee){const Te=Ee.body,$e={};if($e.status=Ee.status,void 0!==Ee.statusText&&($e.statusText=Ee.statusText),$e.headers=Ee.headers,void 0!==$e.headers&&void 0!==$e.headers["Content-Type"]&&"application/json"===$e.headers["Content-Type"].split(";")[0]){const je=JSON.stringify(Te);return new Response(je,$e)}return new Response(Te,$e)}update(Ee){this.nextLink=Ee["@odata.nextLink"];const Te=Ee.responses;for(let $e=0,je=Te.length;$e{const Ee=Ue&&Ue.constructor&&Ue.constructor.name;if("Buffer"===Ee||"Blob"===Ee||"File"===Ee||"FormData"===Ee||"string"==typeof Ue)return Ue;if("ArrayBuffer"===Ee)Ue=Buffer.from(Ue);else if("Int8Array"===Ee||"Int16Array"===Ee||"Int32Array"===Ee||"Uint8Array"===Ee||"Uint16Array"===Ee||"Uint32Array"===Ee||"Uint8ClampedArray"===Ee||"Float32Array"===Ee||"Float64Array"===Ee||"DataView"===Ee)Ue=Buffer.from(Ue.buffer);else try{Ue=JSON.stringify(Ue)}catch{throw new Error("Unable to stringify the content")}return Ue},S=Ue=>_(Ue),C=(Ue,Ee)=>(Ee.forEach(Te=>f(Te)),_(Ue,Ee)),_=(Ue,Ee=u)=>{if(-1!==(Ue=Ue.toLowerCase()).indexOf("https://")){const Te=(Ue=Ue.replace("https://","")).indexOf(":"),$e=Ue.indexOf("/");let je="";if(-1!==$e)return-1!==Te&&Te<$e?(je=Ue.substring(0,Te),Ee.has(je)):(je=Ue.substring(0,$e),Ee.has(je))}return!1},f=Ue=>{if(-1!==Ue.indexOf("/"))throw new c("Please add only hosts or hostnames to the CustomHosts config. If the url is `http://example.com:3000/`, host is `example:3000`")};class y{constructor(Ee=[]){this.middlewareOptions=new Map;for(const Te of Ee)this.middlewareOptions.set(Te.constructor,Te)}getMiddlewareOptions(Ee){return this.middlewareOptions.get(Ee)}setMiddlewareOptions(Ee,Te){this.middlewareOptions.set(Ee,Te)}}const b=()=>{let Ue="";for(let Ee=0;Ee<32;Ee++)(8===Ee||12===Ee||16===Ee||20===Ee)&&(Ue+="-"),Ue+=Math.floor(16*Math.random()).toString(16);return Ue},E=(Ue,Ee,Te)=>{let $e=null;if(typeof Request<"u"&&Ue instanceof Request)$e=Ue.headers.get(Te);else if(typeof Ee<"u"&&void 0!==Ee.headers)if(typeof Headers<"u"&&Ee.headers instanceof Headers)$e=Ee.headers.get(Te);else if(Ee.headers instanceof Array){const je=Ee.headers;for(let gt=0,He=je.length;gt{if(typeof Request<"u"&&Ue instanceof Request)Ue.headers.set(Te,$e);else if(typeof Ee<"u")if(void 0===Ee.headers)Ee.headers=new Headers({[Te]:$e});else if(typeof Headers<"u"&&Ee.headers instanceof Headers)Ee.headers.set(Te,$e);else if(Ee.headers instanceof Array){let je=0;const gt=Ee.headers.length;for(;je{typeof Request<"u"&&Ue instanceof Request?Ue.headers.append(Te,$e):typeof Ee<"u"&&(void 0===Ee.headers?Ee.headers=new Headers({[Te]:$e}):typeof Headers<"u"&&Ee.headers instanceof Headers?Ee.headers.append(Te,$e):Ee.headers instanceof Array?Ee.headers.push([Te,$e]):void 0===Ee.headers?Ee.headers={[Te]:$e}:void 0===Ee.headers[Te]?Ee.headers[Te]=$e:Ee.headers[Te]+=`, ${$e}`)};class F{constructor(Ee,Te){this.authenticationProvider=Ee,this.authenticationProviderOptions=Te}}var j=function(Ue){return Ue[Ue.NONE=0]="NONE",Ue[Ue.REDIRECT_HANDLER_ENABLED=1]="REDIRECT_HANDLER_ENABLED",Ue[Ue.RETRY_HANDLER_ENABLED=2]="RETRY_HANDLER_ENABLED",Ue[Ue.AUTHENTICATION_HANDLER_ENABLED=4]="AUTHENTICATION_HANDLER_ENABLED",Ue}(j||{});class T{constructor(){this.featureUsage=j.NONE}static updateFeatureUsageFlag(Ee,Te){let $e;Ee.middlewareControl instanceof y?$e=Ee.middlewareControl.getMiddlewareOptions(T):Ee.middlewareControl=new y,typeof $e>"u"&&($e=new T,Ee.middlewareControl.setMiddlewareOptions(T,$e)),$e.setFeatureUsage(Te)}setFeatureUsage(Ee){this.featureUsage=this.featureUsage|Ee}getFeatureUsage(){return this.featureUsage.toString(16)}}let P=(()=>{class Ue{constructor(Te){this.authenticationProvider=Te}execute(Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){const $e="string"==typeof Te.request?Te.request:Te.request.url;if(S($e)||Te.customHosts&&C($e,Te.customHosts)){let je,gt,He;Te.middlewareControl instanceof y&&(je=Te.middlewareControl.getMiddlewareOptions(F)),je&&(gt=je.authenticationProvider,He=je.authenticationProviderOptions),gt||(gt=this.authenticationProvider);const ut=`Bearer ${yield gt.getAccessToken(He)}`;A(Te.request,Te.options,Ue.AUTHORIZATION_HEADER,ut),T.updateFeatureUsageFlag(Te,j.AUTHENTICATION_HANDLER_ENABLED)}else Te.options.headers&&delete Te.options.headers[Ue.AUTHORIZATION_HEADER];return yield this.nextMiddleware.execute(Te)})}setNext(Te){this.nextMiddleware=Te}}return Ue.AUTHORIZATION_HEADER="Authorization",Ue})();class x{execute(Ee){return(0,n.__awaiter)(this,void 0,void 0,function*(){Ee.response=yield fetch(Ee.request,Ee.options)})}}let N=(()=>{class Ue{constructor(Te=Ue.DEFAULT_DELAY,$e=Ue.DEFAULT_MAX_RETRIES,je=Ue.defaultShouldRetry){if(Te>Ue.MAX_DELAY&&$e>Ue.MAX_MAX_RETRIES){const gt=new Error(`Delay and MaxRetries should not be more than ${Ue.MAX_DELAY} and ${Ue.MAX_MAX_RETRIES}`);throw gt.name="MaxLimitExceeded",gt}if(Te>Ue.MAX_DELAY){const gt=new Error(`Delay should not be more than ${Ue.MAX_DELAY}`);throw gt.name="MaxLimitExceeded",gt}if($e>Ue.MAX_MAX_RETRIES){const gt=new Error(`MaxRetries should not be more than ${Ue.MAX_MAX_RETRIES}`);throw gt.name="MaxLimitExceeded",gt}if(Te<0&&$e<0){const gt=new Error("Delay and MaxRetries should not be negative");throw gt.name="MinExpectationNotMet",gt}if(Te<0){const gt=new Error("Delay should not be negative");throw gt.name="MinExpectationNotMet",gt}if($e<0){const gt=new Error("MaxRetries should not be negative");throw gt.name="MinExpectationNotMet",gt}this.delay=Math.min(Te,Ue.MAX_DELAY),this.maxRetries=Math.min($e,Ue.MAX_MAX_RETRIES),this.shouldRetry=je}getMaxDelay(){return Ue.MAX_DELAY}}return Ue.DEFAULT_DELAY=3,Ue.DEFAULT_MAX_RETRIES=3,Ue.MAX_DELAY=180,Ue.MAX_MAX_RETRIES=10,Ue.defaultShouldRetry=()=>!0,Ue})(),O=(()=>{class Ue{constructor(Te=new N){this.options=Te}isRetry(Te){return-1!==Ue.RETRY_STATUS_CODES.indexOf(Te.status)}isBuffered(Te,$e){const je="string"==typeof Te?$e.method:Te.method;return!((je===i.PUT||je===i.PATCH||je===i.POST)&&"application/octet-stream"===E(Te,$e,"Content-Type"))}getDelay(Te,$e,je){const gt=()=>Number(Math.random().toFixed(3)),He=void 0!==Te.headers?Te.headers.get(Ue.RETRY_AFTER_HEADER):null;let vt;return vt=null!==He?Number.isNaN(Number(He))?Math.round((new Date(He).getTime()-Date.now())/1e3):Number(He):$e>=2?this.getExponentialBackOffTime($e)+je+gt():je+gt(),Math.min(vt,this.options.getMaxDelay()+gt())}getExponentialBackOffTime(Te){return Math.round(.5*(Math.pow(2,Te)-1))}sleep(Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){const $e=1e3*Te;return new Promise(je=>setTimeout(je,$e))})}getOptions(Te){let $e;return Te.middlewareControl instanceof y&&($e=Te.middlewareControl.getMiddlewareOptions(this.options.constructor)),typeof $e>"u"&&($e=Object.assign(new N,this.options)),$e}executeWithRetry(Te,$e,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(yield this.nextMiddleware.execute(Te),$e{class Ue{constructor(Te=Ue.DEFAULT_MAX_REDIRECTS,$e=Ue.defaultShouldRedirect){if(Te>Ue.MAX_MAX_REDIRECTS){const je=new Error(`MaxRedirects should not be more than ${Ue.MAX_MAX_REDIRECTS}`);throw je.name="MaxLimitExceeded",je}if(Te<0){const je=new Error("MaxRedirects should not be negative");throw je.name="MinExpectationNotMet",je}this.maxRedirects=Te,this.shouldRedirect=$e}}return Ue.DEFAULT_MAX_REDIRECTS=5,Ue.MAX_MAX_REDIRECTS=20,Ue.defaultShouldRedirect=()=>!0,Ue})(),G=(()=>{class Ue{constructor(Te=new H){this.options=Te}isRedirect(Te){return-1!==Ue.REDIRECT_STATUS_CODES.indexOf(Te.status)}hasLocationHeader(Te){return Te.headers.has(Ue.LOCATION_HEADER)}getLocationHeader(Te){return Te.headers.get(Ue.LOCATION_HEADER)}isRelativeURL(Te){return-1===Te.indexOf("://")}shouldDropAuthorizationHeader(Te,$e){const je=/^[A-Za-z].+?:\/\/.+?(?=\/|$)/,gt=je.exec(Te);let He,vt;null!==gt&&(He=gt[0]);const ut=je.exec($e);return null!==ut&&(vt=ut[0]),typeof He<"u"&&typeof vt<"u"&&He!==vt}updateRequestUrl(Te,$e){return(0,n.__awaiter)(this,void 0,void 0,function*(){$e.request="string"==typeof $e.request?Te:yield((Ue,Ee)=>(0,n.__awaiter)(void 0,void 0,void 0,function*(){const Te=Ee.headers.get("Content-Type")?yield Ee.blob():yield Promise.resolve(void 0),{method:$e,headers:je,referrer:gt,referrerPolicy:He,mode:vt,credentials:ut,cache:wt,redirect:st,integrity:zt,keepalive:pt,signal:It}=Ee;return new Request(Ue,{method:$e,headers:je,body:Te,referrer:gt,referrerPolicy:He,mode:vt,credentials:ut,cache:wt,redirect:st,integrity:zt,keepalive:pt,signal:It})}))(Te,$e.request)})}getOptions(Te){let $e;return Te.middlewareControl instanceof y&&($e=Te.middlewareControl.getMiddlewareOptions(H)),typeof $e>"u"&&($e=Object.assign(new H,this.options)),$e}executeWithRedirect(Te,$e,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){yield this.nextMiddleware.execute(Te);const gt=Te.response;if($e{class Ue{execute(Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){const $e="string"==typeof Te.request?Te.request:Te.request.url;if(S($e)||Te.customHosts&&C($e,Te.customHosts)){let je=E(Te.request,Te.options,Ue.CLIENT_REQUEST_ID_HEADER);je||(je=b(),M(Te.request,Te.options,Ue.CLIENT_REQUEST_ID_HEADER,je));let He,gt=`${Ue.PRODUCT_NAME}/3.0.7`;if(Te.middlewareControl instanceof y&&(He=Te.middlewareControl.getMiddlewareOptions(T)),He){const vt=He.getFeatureUsage();gt+=` (${Ue.FEATURE_USAGE_STRING}=${vt})`}A(Te.request,Te.options,Ue.SDK_VERSION_HEADER,gt)}else delete Te.options.headers[Ue.CLIENT_REQUEST_ID_HEADER],delete Te.options.headers[Ue.SDK_VERSION_HEADER];return yield this.nextMiddleware.execute(Te)})}setNext(Te){this.nextMiddleware=Te}}return Ue.CLIENT_REQUEST_ID_HEADER="client-request-id",Ue.SDK_VERSION_HEADER="SdkVersion",Ue.PRODUCT_NAME="graph-js",Ue.FEATURE_USAGE_STRING="featureUsage",Ue})();class K{static getDefaultMiddlewareChain(Ee){const Te=[],$e=new P(Ee),je=new O(new N),gt=new ue,He=new x;if(Te.push($e),Te.push(je),"object"==typeof process){const vt=new G(new H);Te.push(vt)}return Te.push(gt),Te.push(He),Te}}var Z=function(Ue){return Ue[Ue.MANUAL=0]="MANUAL",Ue[Ue.RANDOM=1]="RANDOM",Ue}(Z||{});class re{constructor(Ee=Z.RANDOM,Te="Some error Happened",$e,je,gt,He){if(this.chaosStrategy=Ee,this.statusCode=$e,this.statusMessage=Te,this.chaosPercentage=void 0!==je?je:10,this.responseBody=gt,this.headers=He,this.chaosPercentage>100)throw new Error("Error Pecentage can not be more than 100")}}const J={GET:[429,500,502,503,504],POST:[429,500,502,503,504,507],PUT:[429,500,502,503,504,507],PATCH:[429,500,502,503,504],DELETE:[429,500,502,503,504,507]},Y={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"};class ${constructor(Ee=new re,Te){this.options=Ee,this.manualMap=Te}createResponseHeaders(Ee,Te,$e){const je=Ee.headers?new Headers(Ee.headers):new Headers;return je.append("Cache-Control","no-store"),je.append("request-id",Te),je.append("client-request-id",Te),je.append("x-ms-ags-diagnostic",""),je.append("Date",$e),je.append("Strict-Transport-Security",""),429===Ee.statusCode&&je.append("retry-after","3"),je}createResponseBody(Ee,Te,$e){if(Ee.responseBody)return Ee.responseBody;let je;return je=Ee.statusCode>=400?{error:{code:Y[Ee.statusCode],message:Ee.statusMessage,innerError:{"request-id":Te,date:$e}}}:{},je}createResponse(Ee,Te){const $e=Te.request,je=b(),gt=new Date,He=this.createResponseHeaders(Ee,je,gt.toString()),vt=this.createResponseBody(Ee,je,gt.toString()),ut={url:$e,status:Ee.statusCode,statusText:Ee.statusMessage,headers:He};Te.response=new Response("string"==typeof vt?vt:JSON.stringify(vt),ut)}sendRequest(Ee,Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){this.setStatusCode(Ee,Te.request,Te.options.method),Ee.chaosStrategy===Z.MANUAL&&!this.nextMiddleware||Math.floor(100*Math.random()){new RegExp(He+"$").test(je)&&void 0!==this.manualMap.get(He).get($e)&&(Ee.statusCode=this.manualMap.get(He).get($e))})}}else Ee.statusCode=this.getRandomStatusCode($e)}getOptions(Ee){let Te;return Ee.middlewareControl instanceof y&&(Te=Ee.middlewareControl.getMiddlewareOptions(re)),typeof Te>"u"&&(Te=Object.assign(new re,this.options)),Te}execute(Ee){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Te=this.getOptions(Ee);return yield this.sendRequest(Te,Ee)})}setNext(Ee){this.nextMiddleware=Ee}}var le=function(Ue){return Ue.ARRAYBUFFER="arraybuffer",Ue.BLOB="blob",Ue.DOCUMENT="document",Ue.JSON="json",Ue.RAW="raw",Ue.STREAM="stream",Ue.TEXT="text",Ue}(le||{}),ee=function(Ue){return Ue.TEXT_HTML="text/html",Ue.TEXT_XML="text/xml",Ue.APPLICATION_XML="application/xml",Ue.APPLICATION_XHTML="application/xhtml+xml",Ue}(ee||{}),we=function(Ue){return Ue.TEXT_PLAIN="text/plain",Ue.APPLICATION_JSON="application/json",Ue}(we||{}),ye=function(Ue){return Ue.DOCUMENT="^(text\\/(html|xml))|(application\\/(xml|xhtml\\+xml))$",Ue.IMAGE="^image\\/.+",Ue}(ye||{});class Oe{static parseDocumentResponse(Ee,Te){return typeof DOMParser<"u"?new Promise(($e,je)=>{Ee.text().then(gt=>{try{const vt=(new DOMParser).parseFromString(gt,Te);$e(vt)}catch(He){je(He)}})}):Promise.resolve(Ee.body)}static convertResponse(Ee,Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(204===Ee.status)return Promise.resolve();let $e;const je=Ee.headers.get("Content-type");switch(Te){case le.ARRAYBUFFER:$e=yield Ee.arrayBuffer();break;case le.BLOB:$e=yield Ee.blob();break;case le.DOCUMENT:$e=yield Oe.parseDocumentResponse(Ee,ee.TEXT_XML);break;case le.JSON:$e=yield Ee.json();break;case le.STREAM:$e=yield Promise.resolve(Ee.body);break;case le.TEXT:$e=yield Ee.text();break;default:if(null!==je){const gt=je.split(";")[0];$e=new RegExp(ye.DOCUMENT).test(gt)?yield Oe.parseDocumentResponse(Ee,gt):new RegExp(ye.IMAGE).test(gt)?Ee.blob():gt===we.TEXT_PLAIN?yield Ee.text():gt===we.APPLICATION_JSON?yield Ee.json():Promise.resolve(Ee.body)}else $e=Promise.resolve(Ee.body)}return $e})}static getResponse(Ee,Te,$e){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(Te===le.RAW)return Promise.resolve(Ee);{const je=yield Oe.convertResponse(Ee,Te);if(!Ee.ok)throw je;if("function"!=typeof $e)return je;$e(null,je)}})}}class ve{constructor(Ee=-1,Te=-1){this.minValue=Ee,this.maxValue=Te}}class _e{get location(){return this._location}set location(Ee){this._location=Ee}get responseBody(){return this._responseBody}set responseBody(Ee){this._responseBody=Ee}constructor(Ee,Te){this._location=Te,this._responseBody=Ee}static CreateUploadResult(Ee,Te){return new _e(Ee,Te.get("location"))}}class Pe{static createUploadSession(Ee,Te,$e,je={}){return(0,n.__awaiter)(this,void 0,void 0,function*(){const gt=yield Ee.api(Te).headers(je).post($e);return{url:gt.uploadUrl,expiry:new Date(gt.expirationDateTime),isCancelled:!1}})}constructor(Ee,Te,$e,je={}){if(this.DEFAULT_FILE_SIZE=5242880,this.client=Ee,!Te.sliceFile)throw new c("Please pass the FileUpload object, StreamUpload object or any custom implementation of the FileObject interface");this.file=Te,this.file=Te,je.rangeSize||(je.rangeSize=this.DEFAULT_FILE_SIZE),this.options=je,this.uploadSession=$e,this.nextRange=new ve(0,this.options.rangeSize-1)}parseRange(Ee){const Te=Ee[0];if(typeof Te>"u"||""===Te)return new ve;const $e=Te.split("-"),je=parseInt($e[0],10);let gt=parseInt($e[1],10);return Number.isNaN(gt)&&(gt=this.file.size-1),new ve(je,gt)}updateTaskStatus(Ee){this.uploadSession.expiry=new Date(Ee.expirationDateTime),this.nextRange=this.parseRange(Ee.nextExpectedRanges)}getNextRange(){if(-1===this.nextRange.minValue)return this.nextRange;const Ee=this.nextRange.minValue;let Te=Ee+this.options.rangeSize-1;return Te>=this.file.size&&(Te=this.file.size-1),new ve(Ee,Te)}sliceFile(Ee){if(console.warn("The LargeFileUploadTask.sliceFile() function has been deprecated and moved into the FileObject interface."),this.file.content instanceof ArrayBuffer||this.file.content instanceof Blob||this.file.content instanceof Uint8Array)return this.file.content.slice(Ee.minValue,Ee.maxValue+1);throw new c("The LargeFileUploadTask.sliceFile() function expects only Blob, ArrayBuffer or Uint8Array file content. Please note that the sliceFile() function is deprecated.")}upload(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ee=this.options&&this.options.uploadEventHandlers;for(;!this.uploadSession.isCancelled;){const Te=this.getNextRange();if(-1===Te.maxValue){const vt=new Error("Task with which you are trying to upload is already completed, Please check for your uploaded file");throw vt.name="Invalid Session",vt}const $e=yield this.file.sliceFile(Te),je=yield this.uploadSliceGetRawResponse($e,Te,this.file.size);if(!je)throw new c("Something went wrong! Large file upload slice response is null.");const gt=yield Oe.getResponse(je);if(201===je.status||200===je.status&>.id)return this.reportProgress(Ee,Te),_e.CreateUploadResult(gt,je.headers);this.updateTaskStatus({expirationDateTime:gt.expirationDateTime||gt.ExpirationDateTime,nextExpectedRanges:gt.NextExpectedRanges||gt.nextExpectedRanges}),this.reportProgress(Ee,Te)}})}reportProgress(Ee,Te){Ee&&Ee.progress&&Ee.progress(Te,Ee.extraCallbackParam)}uploadSlice(Ee,Te,$e){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(Te.maxValue-Te.minValue+1),"Content-Range":`bytes ${Te.minValue}-${Te.maxValue}/${$e}`,"Content-Type":"application/octet-stream"}).put(Ee)})}uploadSliceGetRawResponse(Ee,Te,$e){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(Te.maxValue-Te.minValue+1),"Content-Range":`bytes ${Te.minValue}-${Te.maxValue}/${$e}`,"Content-Type":"application/octet-stream"}).responseType(le.RAW).put(Ee)})}cancel(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ee=yield this.client.api(this.uploadSession.url).responseType(le.RAW).delete();return 204===Ee.status&&(this.uploadSession.isCancelled=!0),Ee})}getStatus(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ee=yield this.client.api(this.uploadSession.url).get();return this.updateTaskStatus(Ee),Ee})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.getStatus(),yield this.upload()})}getUploadSession(){return this.uploadSession}}class Ze{constructor(Ee,Te,$e){if(this.content=Ee,this.name=Te,this.size=$e,!Ee||!Te||!$e)throw new c("Please provide the upload content, name of the file and size of the file")}sliceFile(Ee){return this.content.slice(Ee.minValue,Ee.maxValue+1)}}const mt=(Ue=5242880)=>(Ue>62914560&&(Ue=62914560),(Ue=>(Ue>327680&&(Ue=320*Math.floor(Ue/327680)*1024),Ue))(Ue));let Qe=(()=>{class Ue extends Pe{static constructCreateSessionUrl(Te,$e=Ue.DEFAULT_UPLOAD_PATH){return Te=Te.trim(),""===($e=$e.trim())&&($e="/"),"/"!==$e[0]&&($e=`/${$e}`),"/"!==$e[$e.length-1]&&($e=`${$e}/`),`/me/drive/root:${$e.split("/").map(je=>encodeURIComponent(je)).join("/")}${encodeURIComponent(Te)}:/createUploadSession`}static getFileInfo(Te,$e){let je,gt;return typeof Blob<"u"&&Te instanceof Blob?(je=new File([Te],$e),gt=je.size):typeof File<"u"&&Te instanceof File?(je=Te,gt=je.size):typeof Uint8Array<"u"&&Te instanceof Uint8Array&&(gt=Te.byteLength,je=Te.buffer.slice(Te.byteOffset,Te.byteOffset+Te.byteLength)),{content:je,size:gt}}static create(Te,$e,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!Te||!$e||!je)throw new c("Please provide the Graph client instance, file object and OneDriveLargeFileUploadOptions value");const gt=je.fileName,He=Ue.getFileInfo($e,gt),vt=new Ze(He.content,gt,He.size);return this.createTaskWithFileObject(Te,vt,je)})}static createTaskWithFileObject(Te,$e,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!Te||!$e||!je)throw new c("Please provide the Graph client instance, FileObject interface implementation and OneDriveLargeFileUploadOptions value");const gt=je.uploadSessionURL?je.uploadSessionURL:Ue.constructCreateSessionUrl(je.fileName,je.path),He={fileName:je.fileName,fileDescription:je.fileDescription,conflictBehavior:je.conflictBehavior},vt=yield Ue.createUploadSession(Te,gt,He),ut=mt(je.rangeSize);return new Ue(Te,$e,vt,{rangeSize:ut,uploadEventHandlers:je.uploadEventHandlers})})}static createUploadSession(Te,$e,je){const gt=Object.create(null,{createUploadSession:{get:()=>super.createUploadSession}});return(0,n.__awaiter)(this,void 0,void 0,function*(){return gt.createUploadSession.call(this,Te,$e,{item:{"@microsoft.graph.conflictBehavior":je?.conflictBehavior||"rename",name:je?.fileName,description:je?.fileDescription}})})}constructor(Te,$e,je,gt){super(Te,$e,je,gt)}commit(Te,$e="rename"){return(0,n.__awaiter)(this,void 0,void 0,function*(){const je={name:this.file.name,"@microsoft.graph.conflictBehavior":$e,"@microsoft.graph.sourceUrl":this.uploadSession.url};return yield this.client.api(Te).put(je)})}}return Ue.DEFAULT_UPLOAD_PATH="/",Ue})();class Ct{constructor(Ee,Te,$e){if(this.content=Ee,this.name=Te,this.size=$e,!Ee||!Te||!$e)throw new c("Please provide the Readable Stream content, name of the file and size of the file")}sliceFile(Ee){return(0,n.__awaiter)(this,void 0,void 0,function*(){let Te=Ee.maxValue-Ee.minValue+1;const $e=[];if(this.previousSlice){if(Ee.minValue=Te?this.content.read(Te):yield this.readNBytesFromStream(Te));const je=Buffer.concat($e);return this.previousSlice={fileSlice:je,range:Ee},je})}readNBytesFromStream(Ee){return new Promise((Te,$e)=>{const je=[];let gt=Ee,He=0;this.content.on("end",()=>{if(gt>0)return $e(new c("Stream ended before reading required range size"))}),this.content.on("readable",()=>{let vt;for(;He0&&(gt=Ee-He);return He===Ee?Te(Buffer.concat(je)):this.content&&this.content.readable?void 0:$e(new c("Error encountered while reading the stream during the upload"))})})}}class Xe{constructor(Ee,Te,$e,je){this.client=Ee,this.collection=Te.value,this.nextLink=Te["@odata.nextLink"],this.deltaLink=Te["@odata.deltaLink"],this.callback=$e,this.cursor=0,this.complete=!1,this.requestOptions=je}iterationHelper(){if(void 0===this.collection)return!1;let Ee=!0;for(;Ee&&this.cursor=this.collection.length&&(this.complete=!0)})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return this.iterate()})}isComplete(){return this.complete}}class nt{constructor(Ee){this.provider=Ee}getAccessToken(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return new Promise((Ee,Te)=>{this.provider(($e,je)=>(0,n.__awaiter)(this,void 0,void 0,function*(){if(je)Ee(je);else{$e||($e=new c("Access token is undefined or empty.\t\t\t\t\t\tPlease provide a valid token.\t\t\t\t\t\tFor more help - https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/dev/docs/CustomAuthenticationProvider.md"));const gt=yield c.setGraphClientError($e);Te(gt)}}))})})}}class Pt extends Error{constructor(Ee=-1,Te,$e){super(Te||$e&&$e.message),Object.setPrototypeOf(this,Pt.prototype),this.statusCode=Ee,this.code=null,this.requestId=null,this.date=new Date,this.body=null,this.stack=$e?$e.stack:this.stack}}class tn{static constructError(Ee,Te,$e){const je=new Pt(Te,"",Ee);return void 0!==Ee.name&&(je.code=Ee.name),je.body=Ee.toString(),je.date=new Date,je.headers=$e?.headers,je}static constructErrorFromResponse(Ee,Te,$e){const je=Ee.error,gt=new Pt(Te,je.message);return gt.code=je.code,void 0!==je.innerError&&(gt.requestId=je.innerError["request-id"],gt.date=new Date(je.innerError.date)),gt.body=JSON.stringify(je),gt.headers=$e?.headers,gt}static getError(Ee=null,Te=-1,$e,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){let gt;if(Ee&&Ee.error?gt=tn.constructErrorFromResponse(Ee,Te,je):Ee instanceof Error?gt=tn.constructError(Ee,Te,je):(gt=new Pt(Te),gt.body=Ee),"function"!=typeof $e)return gt;$e(gt,null)})}}class hn{constructor(Ee,Te,$e){this.parsePath=je=>{if(-1!==je.indexOf("https://")){const He=(je=je.replace("https://","")).indexOf("/");-1!==He&&(this.urlComponents.host="https://"+je.substring(0,He),je=je.substring(He+1,je.length));const vt=je.indexOf("/");-1!==vt&&(this.urlComponents.version=je.substring(0,vt),je=je.substring(vt+1,je.length))}"/"===je.charAt(0)&&(je=je.substr(1));const gt=je.indexOf("?");if(-1===gt)this.urlComponents.path=je;else{this.urlComponents.path=je.substr(0,gt);const He=je.substring(gt+1,je.length).split("&");for(const vt of He)this.parseQueryParameter(vt)}},this.httpClient=Ee,this.config=Te,this.urlComponents={host:this.config.baseUrl,version:this.config.defaultVersion,oDataQueryParams:{},otherURLQueryParams:{},otherURLQueryOptions:[]},this._headers={},this._options={},this._middlewareOptions=[],this.parsePath($e)}addCsvQueryParameter(Ee,Te,$e){this.urlComponents.oDataQueryParams[Ee]=this.urlComponents.oDataQueryParams[Ee]?this.urlComponents.oDataQueryParams[Ee]+",":"";let je=[];$e.length>1&&"string"==typeof Te?je=Array.prototype.slice.call($e):"string"==typeof Te?je.push(Te):je=je.concat(Te),this.urlComponents.oDataQueryParams[Ee]+=je.join(",")}buildFullUrl(){const Ee=(Ue=>{const Ee=gt=>gt.replace(/\/+$/,""),Te=gt=>gt.replace(/^\/+/,"");return Array.prototype.slice.call([this.urlComponents.host,this.urlComponents.version,this.urlComponents.path]).reduce((gt,He)=>[Ee(gt),Te(He)].join("/"))})()+this.createQueryString();return this.config.debugLogging&&console.log(Ee),Ee}createQueryString(){const Ee=this.urlComponents,Te=[];if(0!==Object.keys(Ee.oDataQueryParams).length)for(const $e in Ee.oDataQueryParams)Object.prototype.hasOwnProperty.call(Ee.oDataQueryParams,$e)&&Te.push($e+"="+Ee.oDataQueryParams[$e]);if(0!==Object.keys(Ee.otherURLQueryParams).length)for(const $e in Ee.otherURLQueryParams)Object.prototype.hasOwnProperty.call(Ee.otherURLQueryParams,$e)&&Te.push($e+"="+Ee.otherURLQueryParams[$e]);if(0!==Ee.otherURLQueryOptions.length)for(const $e of Ee.otherURLQueryOptions)Te.push($e);return Te.length>0?"?"+Te.join("&"):""}parseQueryParameter(Ee){if("string"==typeof Ee)if("?"===Ee.charAt(0)&&(Ee=Ee.substring(1)),-1!==Ee.indexOf("&")){const Te=Ee.split("&");for(const $e of Te)this.parseQueryParamenterString($e)}else this.parseQueryParamenterString(Ee);else if(Ee.constructor===Object)for(const Te in Ee)Object.prototype.hasOwnProperty.call(Ee,Te)&&this.setURLComponentsQueryParamater(Te,Ee[Te]);return this}parseQueryParamenterString(Ee){if(this.isValidQueryKeyValuePair(Ee)){const Te=Ee.indexOf("="),$e=Ee.substring(0,Te),je=Ee.substring(Te+1);this.setURLComponentsQueryParamater($e,je)}else this.urlComponents.otherURLQueryOptions.push(Ee)}setURLComponentsQueryParamater(Ee,Te){if(-1!==g.indexOf(Ee)){const $e=this.urlComponents.oDataQueryParams[Ee];this.urlComponents.oDataQueryParams[Ee]=!$e||"$expand"!==Ee&&"$select"!==Ee&&"$orderby"!==Ee?Te:$e+","+Te}else this.urlComponents.otherURLQueryParams[Ee]=Te}isValidQueryKeyValuePair(Ee){const Te=Ee.indexOf("=");return!(-1===Te||-1!==Ee.indexOf("(")&&Ee.indexOf("(")1?this.parseMiddleWareArray(Ee):this.middleware=Ee[0]}parseMiddleWareArray(Ee){Ee.forEach((Te,$e)=>{$e{if(typeof Promise>"u"&&typeof fetch>"u"){const Ue=new Error("Library cannot function without Promise and fetch. So, please provide polyfill for them.");throw Ue.name="PolyFillNotAvailable",Ue}if(typeof Promise>"u"){const Ue=new Error("Library cannot function without Promise. So, please provide polyfill for it.");throw Ue.name="PolyFillNotAvailable",Ue}if(typeof fetch>"u"){const Ue=new Error("Library cannot function without fetch. So, please provide polyfill for it.");throw Ue.name="PolyFillNotAvailable",Ue}})();for(const $e in Ee)Object.prototype.hasOwnProperty.call(Ee,$e)&&(this.config[$e]=Ee[$e]);let Te;if(void 0!==Ee.authProvider&&void 0!==Ee.middleware){const $e=new Error;throw $e.name="AmbiguityInInitialization",$e.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain not both",$e}if(void 0!==Ee.authProvider)Te=_n.createWithAuthenticationProvider(Ee.authProvider);else{if(void 0===Ee.middleware){const $e=new Error;throw $e.name="InvalidMiddlewareChain",$e.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain",$e}Te=new wn(...[].concat(Ee.middleware))}this.httpClient=Te}api(Ee){return new hn(this.httpClient,this.config,Ee)}}},80484:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AppRoutingModule=void 0;const n=o(81316),i=o(56568),d=n.__importStar(o(54496)),l=(n.__importStar(o(56568)),[{path:"TestPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(79112))).then(u=>u.CommonTestseitePageModule)},{path:"HomePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(27735))).then(u=>u.CommonHomePageModule)},{path:"DebugPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(37724))).then(u=>u.CommonDebugPageModule)},{path:"EinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(66068))).then(u=>u.CommonEinstellungenPageModule)},{path:"UrlaubPlanungPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(74484))).then(u=>u.CommonUrlaubsplanungPageModule)},{path:"UrlaubUebersichtPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(19204))).then(u=>u.CommonUrlaubsuebersichtPageModule)},{path:"UrlaubFreigabenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(5884))).then(u=>u.CommonUrlaubFreigabenPageModule)},{path:"UrlaubEinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(53964))).then(u=>u.CommonUrlaubEinstellungenPageModule)},{path:"FiStandortelistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(96012))).then(u=>u.FiStandortelistePageModule)},{path:"FiMitarbeiterlistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(99988))).then(u=>u.FIMitarbeiterlistePageModule)},{path:"",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(27735))).then(u=>u.CommonHomePageModule)},{path:"PDFViewerPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(64316))).then(u=>u.CommonPdfViewerPageModule)}]);h.AppRoutingModule=(()=>{class u{static \u0275fac=function(v){return new(v||u)};static \u0275mod=d.\u0275\u0275defineNgModule({type:u});static \u0275inj=d.\u0275\u0275defineInjector({imports:[i.RouterModule.forRoot(l,{preloadingStrategy:i.PreloadAllModules}),i.RouterModule]})}return u})()},86108:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.AppComponent=void 0;const i=o(81316),d=o(80103),a=o(21112),l=i.__importStar(o(17964)),e=i.__importStar(o(54496)),u=i.__importStar(o(10716)),c=i.__importStar(o(7992)),g=i.__importStar(o(59460)),v=i.__importStar(o(97092)),p=i.__importStar(o(9028)),S=i.__importStar(o(14652)),C=i.__importStar(o(19668)),_=i.__importStar(o(29743)),f=i.__importStar(o(22848)),y=i.__importStar(o(15024)),b=i.__importStar(o(58864)),E=i.__importStar(o(9544)),M=i.__importStar(o(8608)),A=i.__importStar(o(34388));h.AppComponent=(()=>{class F{platform;Pool;Menuservice;AuthService;changeDetector;MSALService;Basics;Tools;Const;authService;msalBroadcastService;MitarbeiterDB;MitarbeitersettingsDB;StandortDB;UrlaubDB;GraphService;Debug;AuthSubscription;isIframe;Destroying=new d.Subject;Zoomfaktor;Settingssubscription;constructor(T,P,x,N,O,H,G,te,ue,se,K,Z,re,J,Y,$,le){this.platform=T,this.Pool=P,this.Menuservice=x,this.AuthService=N,this.changeDetector=O,this.MSALService=H,this.Basics=G,this.Tools=te,this.Const=ue,this.authService=se,this.msalBroadcastService=K,this.MitarbeiterDB=Z,this.MitarbeitersettingsDB=re,this.StandortDB=J,this.UrlaubDB=Y,this.GraphService=$,this.Debug=le;try{this.AuthSubscription=null,this.isIframe=!1,this.Zoomfaktor=100,this.Settingssubscription=null}catch(ee){this.Debug.ShowErrorMessage(ee.message,"App Component","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Destroying.next(void 0),this.Destroying.complete(),this.StandortDB.FinishService(),this.MitarbeiterDB.FinishService()}catch(T){this.Debug.ShowErrorMessage(T.message,"App Component","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Settingssubscription=this.Pool.MitarbeitersettingsChanged.subscribe(()=>{this.Zoomfaktor=this.Pool.Mitarbeitersettings.Zoomfaktor}),this.AuthService.SecurityEnabled?(this.isIframe=window!==window.parent&&!window.opener,this.authService.initialize().subscribe(()=>{this.msalBroadcastService.inProgress$.pipe((0,d.filter)(T=>(this.Debug.ShowMessage("Interaction Status: "+T,"App Component","StartApp",this.Debug.Typen.Component),T===a.InteractionStatus.None)),(0,d.takeUntil)(this.Destroying)).subscribe(T=>{this.Debug.ShowMessage("Interaction Status: "+T,"App Component","StartApp",this.Debug.Typen.Component),this.AuthService.SetShowLoginStatus()}),this.AuthService.LoginSuccessEvent.subscribe(()=>{this.Debug.ShowMessage("LoginSuccessEvent -> Start App","App Component","StartApp",this.Debug.Typen.Component),this.StartApp()}),this.StartApp()})):this.StartApp()}catch(T){this.Debug.ShowErrorMessage(T.message,"App Component","OnInit",this.Debug.Typen.Component)}}StartApp(){var T=this;return n(function*(){try{let P,x;if(T.Debug.ShowMessage("Start App","App Component","StartApp",T.Debug.Typen.Component),yield T.platform.ready(),yield T.AuthService.SetActiveUser(),T.Basics.Contentbreite=T.platform.width(),T.Basics.Contenthoehe=T.platform.height(),null!==T.AuthService.ActiveUser){T.AuthService.SetShowLoginStatus(),T.Debug.ShowMessage("Benutzer ist angemeldet: "+T.AuthService.ActiveUser.username,"App Component","StartApp",T.Debug.Typen.Component),T.Pool.ShowProgress=!0,T.Pool.MaxProgressValue=15,T.Pool.CurrentProgressValue=0;try{!0===T.AuthService.SecurityEnabled&&(T.Pool.ProgressMessage="Lade eigene Daten",yield T.GraphService.GetOwnUserinfo(),T.Pool.CurrentProgressValue++),!0===T.AuthService.SecurityEnabled&&(T.Pool.ProgressMessage="Lade eigens Bild",yield T.GraphService.GetOwnUserimage(),T.Pool.CurrentProgressValue++),T.Pool.ProgressMessage="Lade eigene Outlookkategorien",T.Pool.Outlookkatekorien=yield T.GraphService.GetOwnOutlookCategories(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Outlookkategorien",yield T.GraphService.GetOwnOutlookCategories(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Change Log",yield T.Pool.ReadChangelogliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Standortliste",yield T.Pool.ReadStandorteliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade aktuelle Mitarbeiterliste",yield T.Pool.ReadMitarbeiterliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Aktuallisiere Mitarbeiterliste";let N=yield T.GraphService.GetAllUsers();T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Bundesl\xe4nder",yield T.UrlaubDB.ReadRegionen("DE"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Ferien Deutschland",yield T.UrlaubDB.ReadFerien("DE"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Ferien Bulgarien",yield T.UrlaubDB.ReadFerien("BG"),T.Pool.CurrentProgressValue++;for(let O of N)P=l.find(T.Pool.Mitarbeiterliste,H=>H.UserID===O.id),l.isUndefined(P)&&(console.log("Mitarbeiter wurde nicht gefunden:"),console.log(O),-1===O.mail.toLowerCase().indexOf("admin")&&(P=T.MitarbeiterDB.ConvertGraphuserToMitarbeiter(O),console.log("Neuer Mitrabeiter:"),console.log(P),yield T.MitarbeiterDB.AddMitarbeiter(P)))}catch{}!1===T.MitarbeiterDB.CheckMitarbeiterExists(T.GraphService.Graphuser.mail)?(T.Debug.ShowMessage("Mitarbeiter neu eingetragen.","App Component","StartApp",T.Debug.Typen.Component),P=T.MitarbeiterDB.ConvertGraphuserToMitarbeiter(T.GraphService.Graphuser),P=yield T.MitarbeiterDB.AddMitarbeiter(P)):(T.Debug.ShowMessage("Mitarbeiter ist bereits eingetragen.","App Component","StartApp",T.Debug.Typen.Component),P=l.find(T.Pool.Mitarbeiterliste,{UserID:T.GraphService.Graphuser.id})),T.Pool.Mitarbeiterdaten=T.Pool.InitMitarbeiter(P),T.Pool.CheckMitarbeiterdaten(),T.UrlaubDB.SetMitarbeiter(T.Pool.Mitarbeiterdaten),T.Pool.ProgressMessage="Lade Feiertage Deutschland",yield T.UrlaubDB.ReadFeiertage("DE"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Feiertage Bulgarien",yield T.UrlaubDB.ReadFeiertage("BG"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Einstellungen",yield T.Pool.ReadSettingsliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Syncronisiere Gesamtprojektliste",T.Pool.Mitarbeitersettings=T.Pool.InitMitarbeitersettings(),T.Pool.ProgressMessage="Aktualisiere Mitarbeitereinstellungen",yield T.MitarbeitersettingsDB.SaveMitarbeitersettings(),T.Pool.CurrentProgressValue++,T.Zoomfaktor=T.Pool.Mitarbeitersettings.Zoomfaktor,T.Pool.MitarbeitersettingsChanged.emit(),null===T.Pool.Mitarbeiterdaten.SettingsID&&(T.Pool.Mitarbeiterdaten.SettingsID=T.Pool.Mitarbeitersettings._id,yield T.MitarbeiterDB.UpdateMitarbeiter(T.Pool.Mitarbeiterdaten)),T.MitarbeiterDB.InitService(),T.StandortDB.InitService(),T.Pool.ShowProgress=!1,x=!0===T.Pool.Mitarbeiterdaten.Planeradministrator?T.Const.Pages.HomePage:T.Const.Pages.UrlaubPlanungPage,T.Pool.ProjektdatenLoaded=!0,T.SetProjekteMenuebereich(x),T.Tools.SetRootPage(x).then(()=>{T.Pool.LoadingAllDataFinished.emit()})}else T.AuthService.SetShowLoginStatus(),T.Debug.ShowMessage("Benutzer ist nicht angemeldet","App Component","StartApp",T.Debug.Typen.Component)}catch(P){T.Debug.ShowErrorMessage(P.message,"App Component","StartApp",T.Debug.Typen.Component)}})()}SetProjekteMenuebereich(T){try{switch(T){case this.Const.Pages.HomePage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Home,this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste;break;case this.Const.Pages.EmaillistePage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Email;break;case this.Const.Pages.UrlaubPlanungPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Planung;break;case this.Const.Pages.UrlaubUebersichtPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Uebersicht;break;case this.Const.Pages.UrlaubFreigabenPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Freigaben;break;case this.Const.Pages.UrlaubEinstellungenPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Einstellungen;break;default:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte}switch(T){case this.Const.Pages.PjAufgabenlistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste;break;case this.Const.Pages.PjProtokolleListePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Protokolle;break;case this.Const.Pages.PjBaustelleLoplistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.LOPListe;break;case this.Const.Pages.PjBaustelleTagebuchlistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Bautagebuch;break;case this.Const.Pages.PjFestlegungslistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Festlegungen;break;case this.Const.Pages.PjPlanungsmatrixPage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Planungsmatrix;break;case this.Const.Pages.PjSimontabellelistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Simontabelle;break;case this.Const.Pages.PjNotizenListePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Notizen}}catch(P){this.Debug.ShowErrorMessage(P,"App Component","function",this.Debug.Typen.Component)}}ngAfterContentChecked(){this.changeDetector.detectChanges()}static \u0275fac=function(P){return new(P||F)(e.\u0275\u0275directiveInject(u.Platform),e.\u0275\u0275directiveInject(c.DatabasePoolService),e.\u0275\u0275directiveInject(g.MenueService),e.\u0275\u0275directiveInject(v.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(p.MsalService),e.\u0275\u0275directiveInject(S.BasicsProvider),e.\u0275\u0275directiveInject(C.ToolsProvider),e.\u0275\u0275directiveInject(_.ConstProvider),e.\u0275\u0275directiveInject(p.MsalService),e.\u0275\u0275directiveInject(p.MsalBroadcastService),e.\u0275\u0275directiveInject(f.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(y.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(b.DatabaseStandorteService),e.\u0275\u0275directiveInject(E.DatabaseUrlaubService),e.\u0275\u0275directiveInject(M.Graphservice),e.\u0275\u0275directiveInject(A.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:F,selectors:[["app-root"]],decls:3,vars:2,consts:[["Outlet",""]],template:function(P,x){1&P&&(e.\u0275\u0275elementStart(0,"ion-app"),e.\u0275\u0275element(1,"ion-router-outlet",null,0),e.\u0275\u0275elementEnd()),2&P&&(e.\u0275\u0275advance(),e.\u0275\u0275styleProp("zoom",x.Zoomfaktor,"%"))},dependencies:[u.IonApp,u.IonRouterOutlet],styles:['ngx-material-timepicker-content{--body-background-color: #7b6a58;--primary-font-family: "Roboto",sans-serif;--button-color: none !important;--dial-active-color: #fff;--dial-inactive-color: rgba(255, 255, 255, .5);--dial-background-color: #354547 !important;--dial-editable-active-color: #c7d304 !important;--dial-editable-background-color: #fff;--clock-face-time-active-color: #fff;--clock-face-time-inactive-color: #6c6c6c;--clock-face-inner-time-inactive-color: #929292;--clock-face-time-disabled-color: #c5c5c5;--clock-face-background-color: #354547;--clock-hand-color: #c7d304 !important}']})}return F})()},5204:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AppModule=h.MSALInstanceFactory=void 0;const n=o(81316),i=o(14476),d=o(10716),a=o(86108),l=o(80484),e=o(19668),u=o(34388),c=o(29743),g=o(14652),v=o(33940),p=o(59460),S=o(21052),C=o(44556),_=o(97048),f=o(9028),y=o(21112),b=o(36716),E=o(2300),M=o(57848),A=n.__importStar(o(54496)),F=(n.__importStar(o(10716)),!1===b.environment.production?"http://localhost:4200":"https://polite-cliff-084832d03.4.azurestaticapps.net"),T=!1===b.environment.production?"http://localhost:80":"bae-urlaubsplaner-docker.azurewebsites.net",H=window.navigator.userAgent.indexOf("MSIE ")>-1||window.navigator.userAgent.indexOf("Trident/")>-1,G=(Z,re)=>{console.log(re)};h.MSALInstanceFactory=()=>new y.PublicClientApplication({auth:{clientId:"e85e5489-e9fd-4d10-b6aa-37be3ce084b6",authority:"https://login.microsoftonline.com/8870822d-b5ee-4a63-b4ea-7147f0ee753d",redirectUri:F},cache:{cacheLocation:y.BrowserCacheLocation.LocalStorage,storeAuthStateInCookie:H},system:{loggerOptions:{loggerCallback:G,logLevel:y.LogLevel.Error,piiLoggingEnabled:!1}}});const ue=()=>{const Z=new Map;return Z.set("https://graph.microsoft.com/v1.0/me",["user.read"]),Z.set(T,["api://0caad6ac-8087-46ce-99ca-690c083121a8/database_access"]),{interactionType:y.InteractionType.Redirect,protectedResourceMap:Z}},se=()=>({interactionType:y.InteractionType.Redirect,authRequest:{scopes:["User.Read","offline_access","openid","profile","email"]}});h.AppModule=(()=>{class Z{static \u0275fac=function(Y){return new(Y||Z)};static \u0275mod=A.\u0275\u0275defineNgModule({type:Z,bootstrap:[a.AppComponent,f.MsalRedirectComponent]});static \u0275inj=A.\u0275\u0275defineInjector({providers:[{provide:_.HTTP_INTERCEPTORS,useClass:f.MsalInterceptor,multi:!0},{provide:f.MSAL_INSTANCE,useFactory:h.MSALInstanceFactory},{provide:f.MSAL_GUARD_CONFIG,useFactory:se},{provide:f.MSAL_INTERCEPTOR_CONFIG,useFactory:ue},f.MsalService,f.MsalGuard,f.MsalBroadcastService,e.ToolsProvider,u.DebugProvider,c.ConstProvider,g.BasicsProvider,p.MenueService,v.LoadingAnimationService,S.DisplayService],imports:[i.BrowserModule,d.IonicModule.forRoot({innerHTMLTemplatesEnabled:!0}),l.AppRoutingModule,C.BrowserAnimationsModule,_.HttpClientModule,f.MsalModule,E.EditorModule,M.FontAwesomeModule]})}return Z})()},64168:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiChangelogEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),a=n.__importDefault(o(35908)),l=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(21052)),c=n.__importStar(o(29743)),g=n.__importStar(o(19668)),v=n.__importStar(o(51708)),p=n.__importStar(o(91368)),S=n.__importStar(o(10716)),C=n.__importStar(o(38056)),_=n.__importStar(o(90212)),f=n.__importStar(o(25856)),y=n.__importStar(o(29856));function b(A,I){if(1&A){const F=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",16),l.\u0275\u0275listener("CheckChanged",function(T){l.\u0275\u0275restoreView(F);const P=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(P.CanDeleteCheckedChanged(T))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(6,"td",17),l.\u0275\u0275elementStart(7,"td")(8,"ion-button",18),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(F);const T=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(T.DeleteButtonClicked())}),l.\u0275\u0275element(9,"ion-icon",19),l.\u0275\u0275elementStart(10,"ion-text"),l.\u0275\u0275text(11,"Eintrag l\xf6schen"),l.\u0275\u0275elementEnd()()()()()()()}if(2&A){const F=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(5),l.\u0275\u0275property("Checked",F.CanDelete),l.\u0275\u0275advance(3),l.\u0275\u0275property("disabled",!F.CanDelete)}}function E(A,I){if(1&A){const F=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"input-clone",12),l.\u0275\u0275twoWayListener("ValueChange",function(T){l.\u0275\u0275restoreView(F);const P=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(P.DB.CurrentChangelog.Version,T)||(P.DB.CurrentChangelog.Version=T),l.\u0275\u0275resetView(T)}),l.\u0275\u0275listener("TextChanged",function(T){l.\u0275\u0275restoreView(F);const P=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(P.TextChanged(T))}),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(4,"ion-row")(5,"ion-col")(6,"input-clone",13),l.\u0275\u0275twoWayListener("ValueChange",function(T){l.\u0275\u0275restoreView(F);const P=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(P.DB.CurrentChangelog.Beschreibung,T)||(P.DB.CurrentChangelog.Beschreibung=T),l.\u0275\u0275resetView(T)}),l.\u0275\u0275listener("TextChanged",function(T){l.\u0275\u0275restoreView(F);const P=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(P.TextChanged(T))}),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(7,"ion-row")(8,"ion-col"),l.\u0275\u0275element(9,"input-clone",14),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(10,"ion-col"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(11,"ion-row")(12,"ion-col",15),l.\u0275\u0275element(13,"br")(14,"br"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(15,b,12,2,"ion-row",6),l.\u0275\u0275elementEnd()}if(2&A){const F=l.\u0275\u0275nextContext();l.\u0275\u0275advance(3),l.\u0275\u0275twoWayProperty("Value",F.DB.CurrentChangelog.Version),l.\u0275\u0275property("Required",!1)("MaxLength",100),l.\u0275\u0275advance(3),l.\u0275\u0275twoWayProperty("Value",F.DB.CurrentChangelog.Beschreibung),l.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",200),l.\u0275\u0275advance(3),l.\u0275\u0275property("Value",F.GetDatum())("Enabled",!1),l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",null!==F.DB.CurrentChangelog._id)}}h.FiChangelogEditorComponent=(()=>{class A{Debug;Displayservice;Const;Tools;DB;Valid;CanDelete;JoiShema;ValidChange=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;DeleteClickedEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(F,j,T,P,x){this.Debug=F,this.Displayservice=j,this.Const=T,this.Tools=P,this.DB=x;try{this.Valid=!0,this.Valid=!0,this.Titel="Change Log bearbeiten",this.Iconname="location-outline",this.Dialogbreite=400,this.Dialoghoehe=300,this.PositionY=100,this.ZIndex=2e3,this.CanDelete=!1}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Changelogeditor)}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Beschreibung:d.string().required().max(100)}).options({stripUnknown:!0})}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Changelogeditor,this.ZIndex)}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","OnInit",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentChangelog).error,this.ValidChange.emit(this.Valid)}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(F){try{this.ValidateInput()}catch(j){this.Debug.ShowErrorMessage(j.message,"Changelog Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteChangelog().then(()=>{this.DeleteClickedEvent.emit()}).catch(F=>{this.Tools.ShowHinweisDialog(F.error.message)})}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentChangelog._id?this.DB.AddChangelog().then(F=>{this.OkClickedEvent.emit()}).catch(F=>{this.Tools.ShowHinweisDialog(F.error)}):this.DB.UpdateChangelog().then(()=>{this.OkClickedEvent.emit()}).catch(F=>{this.Tools.ShowHinweisDialog(F.error.message)})}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(F){F.preventDefault(),F.stopPropagation()}CanDeleteCheckedChanged(F){try{this.CanDelete=F.status}catch(j){this.Debug.ShowErrorMessage(j.message,"Changelog Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetDatum(){try{return(0,a.default)(this.DB.CurrentChangelog.Zeitstempel).format("DD.MM.YYYY")}catch(F){this.Debug.ShowErrorMessage(F,"Changelog Editor","GetDatum",this.Debug.Typen.Component)}}static \u0275fac=function(j){return new(j||A)(l.\u0275\u0275directiveInject(e.DebugProvider),l.\u0275\u0275directiveInject(u.DisplayService),l.\u0275\u0275directiveInject(c.ConstProvider),l.\u0275\u0275directiveInject(g.ToolsProvider),l.\u0275\u0275directiveInject(v.DatabaseChangelogService))};static \u0275cmp=l.\u0275\u0275defineComponent({type:A,selectors:[["fi-changelog-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{ValidChange:"ValidChange",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",DeleteClickedEvent:"DeleteClickedEvent"},decls:25,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["Titel","Version",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Beschreibung",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Datum",3,"Value","Enabled"],["size","12"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(j,T){1&j&&(l.\u0275\u0275elementStart(0,"div",0)(1,"div",1),l.\u0275\u0275listener("click",function(x){return T.ContentClicked(x)}),l.\u0275\u0275elementStart(2,"div",2),l.\u0275\u0275listener("click",function(x){return T.ContentClicked(x)}),l.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),l.\u0275\u0275element(8,"ion-icon",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(9,"td"),l.\u0275\u0275text(10),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),l.\u0275\u0275template(13,E,16,10,"ion-grid",6),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),l.\u0275\u0275listener("click",function(){return T.CancelButtonClicked()}),l.\u0275\u0275element(20,"ion-icon",9),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(21,"td",10),l.\u0275\u0275elementStart(22,"td")(23,"div",8),l.\u0275\u0275listener("click",function(){return!0===T.Valid?T.OkButtonClicked():null}),l.\u0275\u0275element(24,"ion-icon",11),l.\u0275\u0275elementEnd()()()()()()()()()),2&j&&(l.\u0275\u0275styleProp("z-index",T.ZIndex),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("background",T.Displayservice.ShowOpacity(T.Displayservice.Dialognamen.Changelogeditor)?"rgba(0, 0, 0, 0.5)":"none"),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("width",T.Dialogbreite,"px")("height",T.Dialoghoehe,"px")("top",T.PositionY,"px"),l.\u0275\u0275advance(6),l.\u0275\u0275property("name",T.Iconname),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color","white"),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate(T.Titel),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",T.DB.CurrentChangelog),l.\u0275\u0275advance(11),l.\u0275\u0275property("color",!0===T.Valid?"weiss":"grau"))},dependencies:[p.NgIf,S.IonButton,S.IonCol,S.IonContent,S.IonFooter,S.IonGrid,S.IonHeader,S.IonIcon,S.IonRow,S.IonText,C.InputCloneComponent,_.PageHeaderComponent,f.CheckboxClonComponent,y.PageFooterComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%)}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #354547;border-right:3px solid #354547;width:100%;height:100%;display:flex;flex-direction:row}"]})}return A})()},12095:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiChangelogEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(33780),l=o(61540),e=o(6512),u=o(70216),c=o(7388),g=o(90520),v=n.__importStar(o(54496));h.FiChangelogEditorModule=(()=>{class S{static \u0275fac=function(f){return new(f||S)};static \u0275mod=v.\u0275\u0275defineNgModule({type:S});static \u0275inj=v.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,l.InputCloneKeeperModule,e.AbstandElementFixedModule,u.PageHeaderModule,c.CheckboxClonModule,g.PageFooterModule]})}return S})()},80887:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterAuswahlComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),a=n.__importStar(o(54496)),l=n.__importStar(o(14652)),e=n.__importStar(o(34388)),u=n.__importStar(o(19668)),c=n.__importStar(o(58864)),g=n.__importStar(o(29743)),v=n.__importStar(o(21052)),p=n.__importStar(o(7992)),S=n.__importStar(o(91368)),C=n.__importStar(o(10716)),_=n.__importStar(o(25856)),f=n.__importStar(o(1215)),y=n.__importStar(o(90212)),b=n.__importStar(o(29856)),E=["SmallAlphabet"];function M(N,O){if(1&N&&(a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",24)(2,"ion-text",31)(3,"b"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()()()),2&N){const H=a.\u0275\u0275nextContext().index,G=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(G.Mitarbeiterbuchstabenliste[H])}}function A(N,O){if(1&N&&(a.\u0275\u0275elementStart(0,"td"),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&N){const H=a.\u0275\u0275nextContext(2).$implicit;a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate3(" ",H.Name," ",H.Vorname," / ",H.Kuerzel," ")}}function I(N,O){if(1&N&&(a.\u0275\u0275elementStart(0,"td")(1,"span"),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"span",34),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(5,"span"),a.\u0275\u0275text(6),a.\u0275\u0275elementEnd(),a.\u0275\u0275text(7),a.\u0275\u0275elementEnd()),2&N){const H=a.\u0275\u0275nextContext(2).$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(H.Text_A),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(H.Text_B),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(H.Text_C),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate1(" / ",H.Kuerzel," ")}}function F(N,O){if(1&N){const H=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"table",32)(1,"tr")(2,"td")(3,"checkbox-clon",33),a.\u0275\u0275listener("CheckChanged",function(te){a.\u0275\u0275restoreView(H);const ue=a.\u0275\u0275nextContext(3);return a.\u0275\u0275resetView(ue.CheckedChanged(te))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(4,A,2,3,"td",11)(5,I,8,4,"td",11),a.\u0275\u0275elementEnd()()}if(2&N){const H=a.\u0275\u0275nextContext(),G=H.index,te=H.$implicit;a.\u0275\u0275advance(3),a.\u0275\u0275property("Index",G)("Checked",te.Selected),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!te.Filtered),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",te.Filtered)}}function j(N,O){if(1&N){const H=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-item",22),a.\u0275\u0275listener("click",function(){const ue=a.\u0275\u0275restoreView(H).$implicit,se=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(se.MitrabeiterButtonClicked(ue))}),a.\u0275\u0275elementStart(1,"ion-grid",23),a.\u0275\u0275template(2,M,5,1,"ion-row",11),a.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",24)(5,"div",25)(6,"table",16)(7,"tr")(8,"td"),a.\u0275\u0275template(9,F,6,4,"table",26),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"table",27)(13,"tr"),a.\u0275\u0275element(14,"td",28),a.\u0275\u0275elementStart(15,"td",29),a.\u0275\u0275text(16,"Stadort:"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(17,"td"),a.\u0275\u0275text(18),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(19,"td",30),a.\u0275\u0275elementEnd()()()()()()()()()()}if(2&N){const H=O.$implicit,G=O.index,te=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",""!==te.Mitarbeiterbuchstabenliste[G]),a.\u0275\u0275advance(7),a.\u0275\u0275property("ngIf",null!==H),a.\u0275\u0275advance(9),a.\u0275\u0275textInterpolate(te.DBStandort.GetStandort(H.StandortID))}}function T(N,O){if(1&N&&(a.\u0275\u0275elementStart(0,"ion-list"),a.\u0275\u0275template(1,j,20,3,"ion-item",21),a.\u0275\u0275elementEnd()),2&N){const H=a.\u0275\u0275nextContext();a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",H.Anzeigeliste)}}function P(N,O){1&N&&(a.\u0275\u0275elementStart(0,"div",35),a.\u0275\u0275text(1," keine Eintr\xe4ge unter diesem Filter vorhanden "),a.\u0275\u0275elementEnd())}h.FiMitarbeiterAuswahlComponent=(()=>{class N{Basics;Debug;Tools;DBStandort;Const;Displayservice;Pool;Alphabetcomponent;Titel;Iconname;AuswahlIDliste;Multiselect;Dialogbreite;ZIndex;OnlyProjektmitarbeiter;OkClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;StandortfilterClickedEvent=new i.EventEmitter;Anzeigeliste;Mitarbeiterbuchstabenliste;Standardalphabet;Mitarbeiteralphabet;Mitarbeiteralphabetauswahl;Alphapetbreite;Lastletter;Mitarbeiterfiltertext;Mitarbeiterliste;FilterSubscription;PositionY;AuswahlIDListeSicherung;constructor(H,G,te,ue,se,K,Z){this.Basics=H,this.Debug=G,this.Tools=te,this.DBStandort=ue,this.Const=se,this.Displayservice=K,this.Pool=Z;try{this.AuswahlIDliste=[],this.Mitarbeiterbuchstabenliste=[],this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiteralphabet=this.Standardalphabet,this.Alphapetbreite=44,this.Mitarbeiterfiltertext="",this.Multiselect=!1,this.Titel=this.Const.NONE,this.Iconname="people-outline",this.Dialogbreite=400,this.PositionY=100,this.ZIndex=3e3,this.Mitarbeiterliste=[],this.FilterSubscription=null,this.OnlyProjektmitarbeiter=!0}catch(re){this.Debug.ShowErrorMessage(re.message,"Mitarbeiter Auswahl","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl),this.FilterSubscription.unsubscribe()}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","OnDestroy",this.Debug.Typen.Component)}}InitTitel(){}ngOnInit(){try{this.AuswahlIDListeSicherung=d.cloneDeep(this.AuswahlIDliste),this.Alphabetcomponent&&this.Alphabetcomponent.InitScreen(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl,this.ZIndex),this.FilterSubscription=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","function",this.Debug.Typen.Component)}}PrepareDaten(){try{let H,G,te,ue,se,K,Z,re,J,Y,$,le;if(null!==this.Pool.Mitarbeiterliste){if(this.Lastletter="",this.Mitarbeiterliste=[],this.OnlyProjektmitarbeiter||(this.Mitarbeiterliste=d.cloneDeep(this.Pool.Mitarbeiterliste)),H=d.cloneDeep(this.Mitarbeiterliste),H=d.filter(H,ee=>!1===ee.Archiviert),H.sort((ee,we)=>ee.Namewe.Name?1:0),null!==this.DBStandort.CurrentStandortfilter){G=d.cloneDeep(H),H=[];for(let ee of G)ee.StandortID===this.DBStandort.CurrentStandortfilter._id&&H.push(ee)}if(H.length>6){this.Mitarbeiteralphabet=["Alle"];for(let ee of H)te=ee.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(te)&&this.Mitarbeiteralphabet.push(te)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){G=d.cloneDeep(H),H=[];for(let ee of G)te=ee.Name.substring(0,1).toUpperCase(),te="\xc4"===te?"A":te,te="\xd6"===te?"O":te,te="\xdc"===te?"U":te,this.Mitarbeiteralphabetauswahl===te&&H.push(ee)}if(""!==this.Mitarbeiterfiltertext){G=d.cloneDeep(H),H=[];for(let ee of G)Y=this.Mitarbeiterfiltertext.toLowerCase(),$=ee.Name.toLowerCase(),J=$.indexOf(Y),-1!==J&&(ue=ee.Name.length,re=Y.length,se=ee.Name.substr(0,J),K=ee.Name.substr(J,re),re=ue-re-J,Z=ee.Name.substr(ue-re,re),ee.Filtered=!0,ee.Text_A=se,ee.Text_B=K,ee.Text_C=Z,H.push(ee))}this.Mitarbeiterbuchstabenliste=[];for(let ee of H)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(ee));for(le of H)le.Selected=!1;for(let ee of this.AuswahlIDliste)le=d.find(H,{_id:ee}),d.isUndefined(le)||(le.Selected=!0);this.Anzeigeliste=d.cloneDeep(H)}}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","PrepareDaten",this.Debug.Typen.Component)}}GetMitarbeiterAlphabetbuchstabe(H){try{let G=H.Name.substring(0,1).toUpperCase();return G!==this.Lastletter?(this.Lastletter=G,G):""}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiter Auswahl","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Component)}}MitrabeiterButtonClicked(H){}AlphabetClicked(H){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=H,this.PrepareDaten()}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiter Auswahl","AlphabetClicked",this.Debug.Typen.Component)}}CheckedChanged(H){try{let G;if(!1===this.Multiselect){for(G of this.Mitarbeiterliste)G.Selected=!1;for(G of this.Anzeigeliste)G.Selected=!1}G=d.find(this.Mitarbeiterliste,{_id:this.Anzeigeliste[H.index]._id}),d.isUndefined(G)||(G.Selected=H.status,!0===H.status?this.AuswahlIDliste.push(G._id):this.AuswahlIDliste=d.filter(this.AuswahlIDliste,te=>te!==G._id)),this.Anzeigeliste[H.index].Selected=H.status}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiter Auswahl","CheckedChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit();try{this.AuswahlIDliste=d.cloneDeep(this.AuswahlIDListeSicherung)}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","CancelButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){this.OkClickedEvent.emit(this.AuswahlIDliste)}ContentClicked(H){H.preventDefault(),H.stopPropagation()}StandortfilterButtonClicked(){try{this.StandortfilterClickedEvent.emit()}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","StandortfilterButtonClicked",this.Debug.Typen.Component)}}GetStandortfiller(){try{return null===this.DBStandort.CurrentStandortfilter?"kein Standortfilter":this.DBStandort.CurrentStandortfilter.Kuerzel+" / "+this.DBStandort.CurrentStandortfilter.Standort}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","GetStandortfiller",this.Debug.Typen.Component)}}static \u0275fac=function(G){return new(G||N)(a.\u0275\u0275directiveInject(l.BasicsProvider),a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(u.ToolsProvider),a.\u0275\u0275directiveInject(c.DatabaseStandorteService),a.\u0275\u0275directiveInject(g.ConstProvider),a.\u0275\u0275directiveInject(v.DisplayService),a.\u0275\u0275directiveInject(p.DatabasePoolService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:N,selectors:[["fi-mitarbeiter-auswahl"]],viewQuery:function(G,te){if(1&G&&a.\u0275\u0275viewQuery(E,7),2&G){let ue;a.\u0275\u0275queryRefresh(ue=a.\u0275\u0275loadQuery())&&(te.Alphabetcomponent=ue.first)}},inputs:{Titel:"Titel",Iconname:"Iconname",AuswahlIDliste:"AuswahlIDliste",Multiselect:"Multiselect",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",OnlyProjektmitarbeiter:"OnlyProjektmitarbeiter"},outputs:{OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent",StandortfilterClickedEvent:"StandortfilterClickedEvent"},decls:36,vars:20,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],[2,"width","4px"],["color","weiss",3,"name"],["colspan","3"],["size","small","color","grau",3,"click"],["name","funnel-outline"],[1,"innerkeeperclass"],[1,"innerkeeperlisteclass"],[4,"ngIf"],["class","emptymessageclass",4,"ngIf"],[1,"innerkeeperalphabetclass"],[3,"Buchstabenliste","Breite","Auswahl","AlphabetClicked"],["SmallAlphabet",""],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["color","weiss","name","checkmark-outline",2,"font-size","28px"],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[1,"kontaktclass"],["cellspacing","0","cellpadding","0",4,"ngIf"],[1,"infotable",2,"white-space","nowrap"],[2,"width","28px"],[1,"ergonametextclass"],[2,"width","20px"],["color","orange"],["cellspacing","0","cellpadding","0"],[3,"Index","Checked","CheckChanged"],[2,"color","green"],[1,"emptymessageclass"]],template:function(G,te){1&G&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(se){return te.ContentClicked(se)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(se){return te.ContentClicked(se)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr"),a.\u0275\u0275element(7,"td",4),a.\u0275\u0275elementStart(8,"td"),a.\u0275\u0275element(9,"ion-icon",5),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(10,"td"),a.\u0275\u0275text(11),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(12,"tr")(13,"td",6)(14,"ion-button",7),a.\u0275\u0275listener("click",function(){return te.StandortfilterButtonClicked()}),a.\u0275\u0275element(15,"ion-icon",8),a.\u0275\u0275text(16),a.\u0275\u0275elementEnd()()()()()(),a.\u0275\u0275elementStart(17,"ion-content")(18,"div",9)(19,"div",10),a.\u0275\u0275template(20,T,2,1,"ion-list",11)(21,P,2,0,"div",12),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(22,"div",13)(23,"alphabet-relative",14,15),a.\u0275\u0275listener("AlphabetClicked",function(se){return te.AlphabetClicked(se)}),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(25,"ion-footer")(26,"page-footer")(27,"table",16)(28,"tr")(29,"td")(30,"div",17),a.\u0275\u0275listener("click",function(){return te.CancelButtonClicked()}),a.\u0275\u0275element(31,"ion-icon",18),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(32,"td",19),a.\u0275\u0275elementStart(33,"td")(34,"div",17),a.\u0275\u0275listener("click",function(){return te.OkButtonClicked()}),a.\u0275\u0275element(35,"ion-icon",20),a.\u0275\u0275elementEnd()()()()()()()()()),2&G&&(a.\u0275\u0275styleProp("z-index",te.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",te.Displayservice.ShowOpacity(te.Displayservice.Dialognamen.Mitarbeiterauswahl)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",te.Dialogbreite,"px")("bottom",te.PositionY,"px")("top",te.PositionY,"px"),a.\u0275\u0275advance(7),a.\u0275\u0275property("name",te.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(te.Titel),a.\u0275\u0275advance(5),a.\u0275\u0275textInterpolate1(" ",te.GetStandortfiller()," "),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngIf",te.Mitarbeiterliste&&te.Anzeigeliste.length>0),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",te.Mitarbeiterliste&&0===te.Anzeigeliste.length),a.\u0275\u0275advance(2),a.\u0275\u0275property("Buchstabenliste",te.Mitarbeiteralphabet)("Breite",te.Alphapetbreite)("Auswahl",te.Mitarbeiteralphabetauswahl))},dependencies:[S.NgForOf,S.NgIf,C.IonButton,C.IonCol,C.IonContent,C.IonFooter,C.IonGrid,C.IonHeader,C.IonIcon,C.IonItem,C.IonList,C.IonRow,C.IonText,_.CheckboxClonComponent,f.AlphabetRelativeComponent,y.PageHeaderComponent,b.PageFooterComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}.emptymessageclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding-top:100px}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.innerkeeperclass[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:row;border-left:3px solid #354547}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#7b6a58;border-radius:4px}.innerkeeperlisteclass[_ngcontent-%COMP%]{width:100%;height:100%;overflow:auto}.innerkeeperalphabetclass[_ngcontent-%COMP%]{width:44px;height:100%;overflow:auto}"]})}return N})()},26668:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterAuswahlModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(33780),l=o(61540),e=o(6512),u=o(7388),c=o(87143),g=o(72160),v=o(70216),p=o(90520),S=n.__importStar(o(54496));h.FiMitarbeiterAuswahlModule=(()=>{class _{static \u0275fac=function(b){return new(b||_)};static \u0275mod=S.\u0275\u0275defineNgModule({type:_});static \u0275inj=S.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,l.InputCloneKeeperModule,e.AbstandElementFixedModule,u.CheckboxClonModule,c.AlphabetModule,g.AlphabetRelativeModule,v.PageHeaderModule,p.PageFooterModule]})}return _})()},82384:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),a=n.__importStar(o(54496)),l=n.__importStar(o(34388)),e=n.__importStar(o(19668)),u=n.__importStar(o(7992)),c=n.__importStar(o(29743)),g=n.__importStar(o(14652)),v=n.__importStar(o(21052)),p=n.__importStar(o(58864)),S=n.__importStar(o(22848)),C=n.__importStar(o(91368)),_=n.__importStar(o(10716)),f=n.__importStar(o(38056)),y=n.__importStar(o(25856)),b=n.__importStar(o(90212)),E=n.__importStar(o(29856)),M=n.__importStar(o(13228));function A(x,N){if(1&x){const O=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",26),a.\u0275\u0275listener("CheckChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(te.PlaneradministratorCheckboxChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Administrator"),a.\u0275\u0275elementEnd()()()()()}if(2&x){const O=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Enabled",!0===O.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",O.DB.CurrentMitarbeiter.Planeradministrator)}}function I(x,N){if(1&x){const O=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",26),a.\u0275\u0275listener("CheckChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(te.UrlaubsfreigabenCheckboxChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Urlaub Freigaben"),a.\u0275\u0275elementEnd()()()()()}if(2&x){const O=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Enabled",!0===O.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",O.DB.CurrentMitarbeiter.Urlaubsfreigaben)}}function F(x,N){if(1&x){const O=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",26),a.\u0275\u0275listener("CheckChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(te.HomeofficefreigabenCheckboxChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Homeoffice Freigaben"),a.\u0275\u0275elementEnd()()()()()}if(2&x){const O=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Enabled",!0===O.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",O.DB.CurrentMitarbeiter.Homeofficefreigaben)}}function j(x,N){if(1&x){const O=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",28),a.\u0275\u0275listener("CheckChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(te.ArchivierenCheckboxChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Eintrag archivieren"),a.\u0275\u0275elementEnd()()()()()}if(2&x){const O=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Checked",O.DB.CurrentMitarbeiter.Archiviert)}}function T(x,N){if(1&x){const O=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",12)(4,"b"),a.\u0275\u0275text(5,"Mitarbeiter"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",13)(8,"button-value",14),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(O);const G=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(G.AnredeClickedEvent.emit())}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(9,"ion-row")(10,"ion-col",15)(11,"input-clone",16),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Vorname,G)||(te.DB.CurrentMitarbeiter.Vorname=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(12,"ion-col",15)(13,"input-clone",17),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Name,G)||(te.DB.CurrentMitarbeiter.Name=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",15)(16,"input-clone",18),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Kuerzel,G)||(te.DB.CurrentMitarbeiter.Kuerzel=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(17,"ion-col",15)(18,"input-clone",19),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Jobtitel,G)||(te.DB.CurrentMitarbeiter.Jobtitel=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(19,"ion-row")(20,"ion-col",15)(21,"input-clone",20),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(O);const G=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(G.StandortClicked())})("TextChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(22,"ion-col",15)(23,"input-clone",21),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(O);const G=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(G.FachbereichClicked())}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col",15)(26,"input-clone",22),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Email,G)||(te.DB.CurrentMitarbeiter.Email=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"ion-text",12)(30,"b"),a.\u0275\u0275text(31,"Kontakt"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col",15)(34,"input-clone",23),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Telefon,G)||(te.DB.CurrentMitarbeiter.Telefon=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(35,"ion-col",15)(36,"input-clone",24),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Mobil,G)||(te.DB.CurrentMitarbeiter.Mobil=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(37,"ion-row"),a.\u0275\u0275element(38,"ion-col",25),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(39,"ion-row")(40,"ion-col")(41,"ion-text",12)(42,"b"),a.\u0275\u0275text(43,"Urlaub"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(44,"ion-row")(45,"ion-col",13)(46,"button-value",14),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(O);const G=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(G.UrlaubClickedEvent.emit())}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(47,A,9,2,"ion-row",6)(48,I,9,2,"ion-row",6)(49,F,9,2,"ion-row",6),a.\u0275\u0275elementStart(50,"ion-row"),a.\u0275\u0275element(51,"ion-col",25),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(52,"ion-row")(53,"ion-col")(54,"ion-text",12)(55,"b"),a.\u0275\u0275text(56,"Sonstiges"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275template(57,j,9,1,"ion-row",6),a.\u0275\u0275elementEnd()}if(2&x){const O=a.\u0275\u0275nextContext();a.\u0275\u0275advance(8),a.\u0275\u0275property("Buttontext","Anrede")("Wert_A",O.GetAnrede()),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Vorname),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275advance(),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Name),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Kuerzel),a.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),a.\u0275\u0275advance(),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Jobtitel),a.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",100),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275property("Enabled",!1)("Clickable",!0)("DisabledColor",""!==O.DB.CurrentMitarbeiter.StandortID?O.Basics.Farben.Burnicklgrau:O.Basics.Farben.Orange)("Value",O.StandortDB.GetStandort(O.DB.CurrentMitarbeiter.StandortID)),a.\u0275\u0275advance(),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275property("Enabled",!1)("Clickable",!0)("Value",O.DB.CurrentMitarbeiter.Fachbereich)("DisabledColor","gray"),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275property("Inputtype","email")("Required",!0)("MinHeight",30),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Email),a.\u0275\u0275property("Enabled",O.EmailinputEnabled),a.\u0275\u0275advance(7),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Telefon),a.\u0275\u0275advance(),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Mobil),a.\u0275\u0275advance(10),a.\u0275\u0275property("Buttontext","Urlaubstage")("Wert_A",O.DB.CurrentMitarbeiter.Urlaub+" Tage"),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==O.DB.CurrentMitarbeiter._id&&null!==O.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==O.DB.CurrentMitarbeiter._id&&null!==O.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==O.DB.CurrentMitarbeiter._id&&null!==O.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(8),a.\u0275\u0275property("ngIf",null!==O.DB.CurrentMitarbeiter._id)}}h.FiMitarbeiterEditorComponent=(()=>{class x{Debug;Tools;Pool;Const;Basics;Displayservice;StandortDB;DB;Valid;ValidChanged=new i.EventEmitter;StandortClickedEvent=new i.EventEmitter;AnredeClickedEvent=new i.EventEmitter;UrlaubClickedEvent=new i.EventEmitter;FachbereichClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;ErrorEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;ZIndex;SkipOkButtonAction;EmailinputEnabled;DeleteEnabled;Teamsliste;JoiShema;ErrorMessage;PositionY;constructor(O,H,G,te,ue,se,K,Z){this.Debug=O,this.Tools=H,this.Pool=G,this.Const=te,this.Basics=ue,this.Displayservice=se,this.StandortDB=K,this.DB=Z;try{this.Valid=!0,this.DeleteEnabled=!1,this.Titel=this.Const.NONE,this.Iconname="help-circle-outline",this.Dialogbreite=400,this.PositionY=100,this.ZIndex=2e3,this.SkipOkButtonAction=!1,this.EmailinputEnabled=!0,this.Teamsliste=[],this.ErrorMessage=null}catch(re){this.Debug.ShowErrorMessage(re.message,"Mitarbeiter Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeitereditor)}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","OnDestroy",this.Debug.Typen.Component)}}ResetEditor(){try{this.DeleteEnabled=!1}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","ResetEditor",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeitereditor,this.ZIndex)}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","OnInit",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Name:d.string().required().max(100),Vorname:d.string().required().max(100),Kuerzel:d.string().required().min(3).max(10),Jobtitel:d.string().required().min(3).max(100),Email:d.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","SetupValidation",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentMitarbeiter).error,""===this.DB.CurrentMitarbeiter.StandortID&&(this.Valid=!1),this.ValidChanged.emit(this.Valid)}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(O){try{this.ValidateInput()}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","AfterViewInit",this.Debug.Typen.Component)}}StandortClicked(){try{this.StandortClickedEvent.emit()}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","StandortClicked",this.Debug.Typen.Component)}}FachbereichClicked(){try{this.FachbereichClickedEvent.emit()}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","FachbereichClicked",this.Debug.Typen.Component)}}LoeschenCheckboxChanged(O){try{this.DeleteEnabled=O.status}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Editor","LoeschenCheckboxChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.ResetEditor(),this.CancelClickedEvent.emit()}OkButtonClicked(){this.SkipOkButtonAction?this.OkClickedEvent.emit():null===this.DB.CurrentMitarbeiter._id?this.DB.AddMitarbeiter(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(O=>{this.Debug.ShowErrorMessage(O,"Mitarbeiter Editor","OkButtonClicked / AddMitarbeiter",this.Debug.Typen.Component)}):this.DB.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(O=>{this.Debug.ShowErrorMessage(O,"Mitarbeiter Editor","OkButtonClicked / UpdateMitarbeiter",this.Debug.Typen.Component)})}ContentClicked(O){O.preventDefault(),O.stopPropagation()}ArchivierenCheckboxChanged(O){try{this.DB.CurrentMitarbeiter.Archiviert=O.status}catch(H){this.Debug.ShowErrorMessage(H,"Mitarbeiter Editor","ArchivierenCheckboxChanged",this.Debug.Typen.Component)}}HomeofficefreigabenCheckboxChanged(O){try{this.DB.CurrentMitarbeiter.Homeofficefreigaben=O.status}catch(H){this.Debug.ShowErrorMessage(H,"Mitarbeiter Editor","HomeofficefreigabenCheckboxChanged",this.Debug.Typen.Component)}}PlaneradministratorCheckboxChanged(O){try{this.DB.CurrentMitarbeiter.Planeradministrator=O.status}catch(H){this.Debug.ShowErrorMessage(H,"Mitarbeiter Editor","PlaneradministratorCheckboxChanged",this.Debug.Typen.Component)}}UrlaubsfreigabenCheckboxChanged(O){try{this.DB.CurrentMitarbeiter.Urlaubsfreigaben=O.status}catch(H){this.Debug.ShowErrorMessage(H,"Mitarbeiter Editor","UrlaubsfreigabenCheckboxChanged",this.Debug.Typen.Component)}}GetAnrede(){try{return null!==this.DB.CurrentMitarbeiter?this.DB.CurrentMitarbeiter.Anrede===this.Const.NONE?"unbekannt":this.DB.CurrentMitarbeiter.Anrede:"null"}catch(O){this.Debug.ShowErrorMessage(O,"Mitarbeiter Editor","function",this.Debug.Typen.Component)}}static \u0275fac=function(H){return new(H||x)(a.\u0275\u0275directiveInject(l.DebugProvider),a.\u0275\u0275directiveInject(e.ToolsProvider),a.\u0275\u0275directiveInject(u.DatabasePoolService),a.\u0275\u0275directiveInject(c.ConstProvider),a.\u0275\u0275directiveInject(g.BasicsProvider),a.\u0275\u0275directiveInject(v.DisplayService),a.\u0275\u0275directiveInject(p.DatabaseStandorteService),a.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:x,selectors:[["fi-mitarbeiter-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",SkipOkButtonAction:"SkipOkButtonAction",EmailinputEnabled:"EmailinputEnabled"},outputs:{ValidChanged:"ValidChanged",StandortClickedEvent:"StandortClickedEvent",AnredeClickedEvent:"AnredeClickedEvent",UrlaubClickedEvent:"UrlaubClickedEvent",FachbereichClickedEvent:"FachbereichClickedEvent",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",ErrorEvent:"ErrorEvent"},decls:25,vars:18,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["color","baeblau"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],[3,"size"],["Titel","Vorname",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Name",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Mitarbeiterk\xfcrzel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Jobtitel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Standort",3,"Enabled","Clickable","DisabledColor","Value","click","TextChanged"],["Titel","Fachbereich",3,"Enabled","Clickable","Value","DisabledColor","click"],["Titel","Email",3,"Inputtype","Required","MinHeight","Value","Enabled","ValueChange","TextChanged"],["Titel","Telefon",3,"Value","ValueChange"],["Titel","Mobil",3,"Value","ValueChange"],["size","12"],[3,"Enabled","Checked","CheckChanged"],[2,"width","6px"],[3,"Checked","CheckChanged"]],template:function(H,G){1&H&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(ue){return G.ContentClicked(ue)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(ue){return G.ContentClicked(ue)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),a.\u0275\u0275element(8,"ion-icon",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"td"),a.\u0275\u0275text(10),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),a.\u0275\u0275template(13,T,58,46,"ion-grid",6),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),a.\u0275\u0275listener("click",function(){return G.CancelButtonClicked()}),a.\u0275\u0275element(20,"ion-icon",9),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(21,"td",10),a.\u0275\u0275elementStart(22,"td")(23,"div",8),a.\u0275\u0275listener("click",function(){return!0===G.Valid?G.OkButtonClicked():null}),a.\u0275\u0275element(24,"ion-icon",11),a.\u0275\u0275elementEnd()()()()()()()()()),2&H&&(a.\u0275\u0275styleProp("z-index",G.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",G.Displayservice.ShowOpacity(G.Displayservice.Dialognamen.Mitarbeitereditor)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",G.Dialogbreite,"px")("top",G.PositionY,"px")("bottom",G.PositionY,"px")("top",G.PositionY,"px"),a.\u0275\u0275advance(6),a.\u0275\u0275property("name",G.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(G.Titel),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",G.DB.CurrentMitarbeiter),a.\u0275\u0275advance(11),a.\u0275\u0275property("color",!0===G.Valid?"weiss":"grau"))},dependencies:[C.NgIf,_.IonCol,_.IonContent,_.IonFooter,_.IonGrid,_.IonHeader,_.IonIcon,_.IonRow,_.IonText,f.InputCloneComponent,y.CheckboxClonComponent,b.PageHeaderComponent,E.PageFooterComponent,M.ButtonValueComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #307ac1;border-right:3px solid #307ac1;width:100%;height:100%;display:flex;flex-direction:row}"]})}return x})()},27328:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(33780),l=o(61540),e=o(6512),u=o(7388),c=o(70216),g=o(90520),v=o(72284),p=n.__importStar(o(54496));h.FiMitarbeiterEditorModule=(()=>{class C{static \u0275fac=function(y){return new(y||C)};static \u0275mod=p.\u0275\u0275defineNgModule({type:C});static \u0275inj=p.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,l.InputCloneKeeperModule,e.AbstandElementFixedModule,u.CheckboxClonModule,c.PageHeaderModule,g.PageFooterModule,v.ButtonValueModule]})}return C})()},41656:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),a=n.__importStar(o(17964)),l=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(21052)),c=n.__importStar(o(29743)),g=n.__importStar(o(19668)),v=n.__importStar(o(7992)),p=n.__importStar(o(9544)),S=n.__importStar(o(58864)),C=n.__importStar(o(91368)),_=n.__importStar(o(10716)),f=n.__importStar(o(38056)),y=n.__importStar(o(90212)),b=n.__importStar(o(25856)),E=n.__importStar(o(29856)),M=n.__importStar(o(13228));function A(P,x){if(1&P){const N=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-col",17)(1,"button-value",18),l.\u0275\u0275listener("ButtonClicked",function(){l.\u0275\u0275restoreView(N);const H=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(H.BundeslandClickedEvent.emit())}),l.\u0275\u0275elementEnd()()}if(2&P){const N=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275property("Buttontext","Bundesland")("Wert_A",N.GetBundesland())}}function I(P,x){if(1&P){const N=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",17)(2,"button-value",18),l.\u0275\u0275listener("ButtonClicked",function(){l.\u0275\u0275restoreView(N);const H=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(H.KonfessionClickedEvent.emit())}),l.\u0275\u0275elementEnd()()()}if(2&P){const N=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(2),l.\u0275\u0275property("Buttontext","Konfession")("Wert_A",N.GetKonfession())}}function F(P,x){if(1&P){const N=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",23),l.\u0275\u0275listener("CheckChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(G.CanDeleteCheckedChanged(H))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(6,"td",24),l.\u0275\u0275elementStart(7,"td")(8,"ion-button",25),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(N);const H=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(H.DeleteButtonClicked())}),l.\u0275\u0275element(9,"ion-icon",26),l.\u0275\u0275elementStart(10,"ion-text"),l.\u0275\u0275text(11,"Eintrag l\xf6schen"),l.\u0275\u0275elementEnd()()()()()()()}if(2&P){const N=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(5),l.\u0275\u0275property("Checked",N.CanDelete),l.\u0275\u0275advance(3),l.\u0275\u0275property("disabled",!N.CanDelete)}}function j(P,x){if(1&P){const N=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"input-clone",12),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Standort,H)||(G.DB.CurrentStandort.Standort=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"ion-col")(5,"input-clone",13),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Kuerzel,H)||(G.DB.CurrentStandort.Kuerzel=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"input-clone",14),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Strasse,H)||(G.DB.CurrentStandort.Strasse=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(9,"ion-col"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(10,"ion-row")(11,"ion-col")(12,"input-clone",15),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.PLZ,H)||(G.DB.CurrentStandort.PLZ=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(13,"ion-col")(14,"input-clone",16),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Ort,H)||(G.DB.CurrentStandort.Ort=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col",17)(17,"button-value",18),l.\u0275\u0275listener("ButtonClicked",function(){l.\u0275\u0275restoreView(N);const H=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(H.LandClickedEvent.emit())}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(18,A,2,2,"ion-col",19),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(19,I,3,2,"ion-row",6),l.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",20),l.\u0275\u0275element(22,"br")(23,"br"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col")(26,"input-clone",21),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Telefon,H)||(G.DB.CurrentStandort.Telefon=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(27,"ion-col")(28,"input-clone",22),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Email,H)||(G.DB.CurrentStandort.Email=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275template(29,F,12,2,"ion-row",6),l.\u0275\u0275elementEnd()}if(2&P){const N=l.\u0275\u0275nextContext();l.\u0275\u0275advance(3),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Standort),l.\u0275\u0275property("Required",!0)("MaxLength",100),l.\u0275\u0275advance(2),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Kuerzel),l.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),l.\u0275\u0275advance(3),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Strasse),l.\u0275\u0275property("Required",!0)("MaxLength",100),l.\u0275\u0275advance(4),l.\u0275\u0275property("Required",!0)("MinLength",4)("MaxLength",5),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.PLZ),l.\u0275\u0275advance(2),l.\u0275\u0275property("Required",!0)("MaxLength",100),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Ort),l.\u0275\u0275advance(3),l.\u0275\u0275property("Buttontext","Land")("Wert_A",N.GetLand()),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf","DE"===N.DB.CurrentStandort.Land),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf","DE"===N.DB.CurrentStandort.Land),l.\u0275\u0275advance(7),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Telefon),l.\u0275\u0275advance(2),l.\u0275\u0275property("MaxLength",255)("Required",!0),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Email),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null!==N.DB.CurrentStandort._id)}}h.FiStandortEditorComponent=(()=>{class P{Debug;Displayservice;Const;Tools;Pool;DBUrlaub;DB;Valid;CanDelete;JoiShema;ValidChange=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;DeleteClickedEvent=new i.EventEmitter;LandClickedEvent=new i.EventEmitter;BundeslandClickedEvent=new i.EventEmitter;KonfessionClickedEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(N,O,H,G,te,ue,se){this.Debug=N,this.Displayservice=O,this.Const=H,this.Tools=G,this.Pool=te,this.DBUrlaub=ue,this.DB=se;try{this.Valid=!0,this.Valid=!0,this.Titel=this.Const.NONE,this.Iconname="location-outline",this.Dialogbreite=400,this.Dialoghoehe=300,this.PositionY=100,this.ZIndex=2e3,this.CanDelete=!1}catch(K){this.Debug.ShowErrorMessage(K.message,"Standort Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Standorteditor)}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Standort:d.string().required().max(100),Kuerzel:d.string().required().min(3).max(10),Strasse:d.string().required().max(100),Ort:d.string().required().max(100),PLZ:d.string().required().min(4).max(5),Email:d.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Standorteditor,this.ZIndex)}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","OnInit",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentStandort).error,(null===this.Pool.Mitarbeiterdaten||!1===this.Pool.Mitarbeiterdaten.Planeradministrator)&&(this.Valid=!1),this.ValidChange.emit(this.Valid)}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(N){try{this.ValidateInput()}catch(O){this.Debug.ShowErrorMessage(O.message,"Standort Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteStandort().then(()=>{this.DeleteClickedEvent.emit()}).catch(N=>{this.Tools.ShowHinweisDialog(N.error.message)})}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentStandort._id?this.DB.AddStandort().then(N=>{this.OkClickedEvent.emit()}).catch(N=>{this.Tools.ShowHinweisDialog(N.error)}):this.DB.UpdateStandort().then(()=>{this.OkClickedEvent.emit()}).catch(N=>{this.Tools.ShowHinweisDialog(N.error.message)})}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(N){N.preventDefault(),N.stopPropagation()}CanDeleteCheckedChanged(N){try{this.CanDelete=N.status}catch(O){this.Debug.ShowErrorMessage(O.message,"Standort Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetLand(){try{if(null===this.DB.CurrentStandort)return"Unbekannt";switch(this.DB.CurrentStandort.Land){case"DE":return"Deutschland";case"BG":return"Bulgarien"}}catch(N){this.Debug.ShowErrorMessage(N,"Standort Editor","GetLand",this.Debug.Typen.Component)}}GetBundesland(){try{let N;return null!==this.DB.CurrentStandort?(N=a.find(this.DBUrlaub.Regionenliste,{isoCode:this.DB.CurrentStandort.Bundesland}),a.isUndefined(N)?"Unbekannt":N.Name):"Unbekannt"}catch(N){this.Debug.ShowErrorMessage(N,"Standort Editor","funGetBundeslandction",this.Debug.Typen.Component)}}GetKonfession(){try{if(null===this.DB.CurrentStandort)return"Unbekannt";switch(this.DB.CurrentStandort.Konfession){case"RK":return"Katholisch";case"EV":return"Evangelisch"}}catch(N){this.Debug.ShowErrorMessage(N,"Standort Editor","GetKonfession",this.Debug.Typen.Component)}}static \u0275fac=function(O){return new(O||P)(l.\u0275\u0275directiveInject(e.DebugProvider),l.\u0275\u0275directiveInject(u.DisplayService),l.\u0275\u0275directiveInject(c.ConstProvider),l.\u0275\u0275directiveInject(g.ToolsProvider),l.\u0275\u0275directiveInject(v.DatabasePoolService),l.\u0275\u0275directiveInject(p.DatabaseUrlaubService),l.\u0275\u0275directiveInject(S.DatabaseStandorteService))};static \u0275cmp=l.\u0275\u0275defineComponent({type:P,selectors:[["fi-standort-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{ValidChange:"ValidChange",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",DeleteClickedEvent:"DeleteClickedEvent",LandClickedEvent:"LandClickedEvent",BundeslandClickedEvent:"BundeslandClickedEvent",KonfessionClickedEvent:"KonfessionClickedEvent"},decls:25,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["Titel","Standortname",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","K\xfcrzel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Stra\xdfe",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","PLZ",3,"Required","MinLength","MaxLength","Value","ValueChange","TextChanged"],["Titel","Ort",3,"Required","MaxLength","Value","ValueChange","TextChanged"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],["size","6",4,"ngIf"],["size","12"],["Titel","Telefon","Inputtype","text",3,"Value","ValueChange","TextChanged"],["Titel","Email","Inputtype","email",3,"MaxLength","Required","Value","ValueChange","TextChanged"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(O,H){1&O&&(l.\u0275\u0275elementStart(0,"div",0)(1,"div",1),l.\u0275\u0275listener("click",function(te){return H.ContentClicked(te)}),l.\u0275\u0275elementStart(2,"div",2),l.\u0275\u0275listener("click",function(te){return H.ContentClicked(te)}),l.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),l.\u0275\u0275element(8,"ion-icon",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(9,"td"),l.\u0275\u0275text(10),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),l.\u0275\u0275template(13,j,30,26,"ion-grid",6),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),l.\u0275\u0275listener("click",function(){return H.CancelButtonClicked()}),l.\u0275\u0275element(20,"ion-icon",9),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(21,"td",10),l.\u0275\u0275elementStart(22,"td")(23,"div",8),l.\u0275\u0275listener("click",function(){return!0===H.Valid?H.OkButtonClicked():null}),l.\u0275\u0275element(24,"ion-icon",11),l.\u0275\u0275elementEnd()()()()()()()()()),2&O&&(l.\u0275\u0275styleProp("z-index",H.ZIndex),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("background",H.Displayservice.ShowOpacity(H.Displayservice.Dialognamen.Standorteditor)?"rgba(0, 0, 0, 0.5)":"none"),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("width",H.Dialogbreite,"px")("height",H.Dialoghoehe,"px")("top",H.PositionY,"px"),l.\u0275\u0275advance(6),l.\u0275\u0275property("name",H.Iconname),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color","white"),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate(H.Titel),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",H.DB.CurrentStandort),l.\u0275\u0275advance(11),l.\u0275\u0275property("color",!0===H.Valid?"weiss":"grau"))},dependencies:[C.NgIf,_.IonButton,_.IonCol,_.IonContent,_.IonFooter,_.IonGrid,_.IonHeader,_.IonIcon,_.IonRow,_.IonText,f.InputCloneComponent,y.PageHeaderComponent,b.CheckboxClonComponent,E.PageFooterComponent,M.ButtonValueComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%)}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #2190df;border-right:3px solid #2190df;width:100%;height:100%;display:flex;flex-direction:row}"]})}return P})()},79664:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(33780),l=o(61540),e=o(6512),u=o(70216),c=o(7388),g=o(90520),v=o(72284),p=n.__importStar(o(54496));h.FiStandortEditorModule=(()=>{class C{static \u0275fac=function(y){return new(y||C)};static \u0275mod=p.\u0275\u0275defineNgModule({type:C});static \u0275inj=p.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,l.InputCloneKeeperModule,e.AbstandElementFixedModule,u.PageHeaderModule,c.CheckboxClonModule,g.PageFooterModule,v.ButtonValueModule]})}return C})()},73088:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AbstandElementFixedComponent=void 0;const i=o(81316).__importStar(o(54496));h.AbstandElementFixedComponent=(()=>{class a{constructor(){}ngOnInit(){}static \u0275fac=function(u){return new(u||a)};static \u0275cmp=i.\u0275\u0275defineComponent({type:a,selectors:[["abstand-element-fixed"]],decls:1,vars:0,consts:[[2,"height","400px","width","100%"]],template:function(u,c){1&u&&i.\u0275\u0275element(0,"div",0)}})}return a})()},6512:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AbstandElementFixedModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.AbstandElementFixedModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},72160:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetRelativeModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.AlphabetRelativeModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},1215:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetRelativeComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(34388)),l=n.__importStar(o(14652)),e=n.__importStar(o(29743)),u=n.__importStar(o(19668)),c=n.__importStar(o(91368)),g=n.__importStar(o(10716)),v=["ImageKeeperDiv"];function p(C,_){if(1&C){const f=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",2),d.\u0275\u0275listener("click",function(){const E=d.\u0275\u0275restoreView(f).$implicit,M=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(M.AlphabetClickedHandler(E))}),d.\u0275\u0275elementStart(1,"ion-badge",3),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&C){const f=_.$implicit,y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color",y.Basics.Farben.BAEBlau)("border-color",f===y.Auswahl?y.Basics.Farben.BAEBlau:y.Basics.Farben.BAEHellgrau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",f," ")}}h.AlphabetRelativeComponent=(()=>{class C{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];AlphabetClicked=new i.EventEmitter;ZusatzbuttonClicked=new i.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(f,y,b,E){this.Debug=f,this.Basics=y,this.Const=b,this.Tools=E;try{this.Auswahl="",this.Breite=0,this.Buchstabenliste=["Alle","A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Filterliste=[]}catch(M){this.Debug.ShowErrorMessage(M.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{this.Style={width:this.Breite+"px",top:"0px",bottom:"0px",background:this.Basics.Farben.BAEHellgrau,display:"flex","flex-direction":"column","justify-content":"center"}}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","InitScreen",this.Debug.Typen.Component)}}ngOnInit(){try{this.InitScreen()}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","ngOnInit",this.Debug.Typen.Component)}}AlphabetClickedHandler(f){try{this.AlphabetClicked.emit(f),this.Auswahl=f}catch(y){this.Debug.ShowErrorMessage(y.message,"Alphabet","AlphabetClickedHandler",this.Debug.Typen.Component)}}SetFilterliste(){try{this.Filterliste=this.Buchstabenliste}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","SetFilterliste",this.Debug.Typen.Component)}}ngOnChanges(f){try{let y;y=f.Buchstabenliste,typeof y<"u"&&this.SetFilterliste(),y=f.Breite,typeof y<"u"&&this.InitScreen()}catch(y){this.Debug.ShowErrorMessage(y.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||C)(d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(l.BasicsProvider),d.\u0275\u0275directiveInject(e.ConstProvider),d.\u0275\u0275directiveInject(u.ToolsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:C,selectors:[["alphabet-relative"]],viewQuery:function(y,b){if(1&y&&d.\u0275\u0275viewQuery(v,7),2&y){let E;d.\u0275\u0275queryRefresh(E=d.\u0275\u0275loadQuery())&&(b.ImageKeeperDiv=E.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[1,"alphabetclass",3,"ngStyle"],["class","alphabetitem",3,"click",4,"ngFor","ngForOf"],[1,"alphabetitem",3,"click"],[2,"background","none","border","2px solid"]],template:function(y,b){1&y&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,p,3,5,"div",1),d.\u0275\u0275elementEnd()),2&y&&(d.\u0275\u0275property("ngStyle",b.Style),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",b.Filterliste))},dependencies:[c.NgForOf,c.NgStyle,g.IonBadge],styles:[".alphabetclass[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center}.alphabetitem[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-grow:1;color:#fff;font-size:80%;cursor:pointer}"]})}return C})()},87143:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.AlphabetModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},99031:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(34388)),l=n.__importStar(o(14652)),e=n.__importStar(o(29743)),u=n.__importStar(o(19668)),c=n.__importStar(o(91368)),g=n.__importStar(o(10716)),v=["ImageKeeperDiv"];function p(C,_){if(1&C){const f=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",2),d.\u0275\u0275listener("click",function(){const E=d.\u0275\u0275restoreView(f).$implicit,M=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(M.AlphabetClickedHandler(E))}),d.\u0275\u0275elementStart(1,"ion-badge",3),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&C){const f=_.$implicit,y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color","#2190df")("border-color",f===y.Auswahl?"#2190df":y.Basics.Farben.BAEHellgrau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",f," ")}}h.AlphabetComponent=(()=>{class C{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];PageHeader=null;PageFooter=null;AlphabetClicked=new i.EventEmitter;ZusatzbuttonClicked=new i.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(f,y,b,E){this.Debug=f,this.Basics=y,this.Const=b,this.Tools=E;try{this.Auswahl="",this.Breite=0,this.Buchstabenliste=["Alle","A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Filterliste=[]}catch(M){this.Debug.ShowErrorMessage(M.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{let f=0,y=0;typeof this.PageHeader<"u"&&null!==this.PageHeader&&(f=this.PageHeader.PageHeaderDiv.nativeElement.clientHeight),typeof this.PageFooter<"u"&&null!==this.PageFooter&&(y=this.PageFooter.PageFooterFrameDiv.nativeElement.clientHeight),this.Style={width:this.Breite+"px",top:f+"px",bottom:y+"px",background:this.Basics.Farben.BAEHellgrau}}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","InitScreen",this.Debug.Typen.Component)}}ngOnInit(){try{this.InitScreen()}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","ngOnInit",this.Debug.Typen.Component)}}AlphabetClickedHandler(f){try{this.AlphabetClicked.emit(f),this.Auswahl=f}catch(y){this.Debug.ShowErrorMessage(y.message,"Alphabet","AlphabetClickedHandler",this.Debug.Typen.Component)}}SetFilterliste(){try{this.Filterliste=this.Buchstabenliste}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","SetFilterliste",this.Debug.Typen.Component)}}ngOnChanges(f){try{let y;y=f.Buchstabenliste,typeof y<"u"&&this.SetFilterliste()}catch(y){this.Debug.ShowErrorMessage(y.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||C)(d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(l.BasicsProvider),d.\u0275\u0275directiveInject(e.ConstProvider),d.\u0275\u0275directiveInject(u.ToolsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:C,selectors:[["alphabet"]],viewQuery:function(y,b){if(1&y&&d.\u0275\u0275viewQuery(v,7),2&y){let E;d.\u0275\u0275queryRefresh(E=d.\u0275\u0275loadQuery())&&(b.ImageKeeperDiv=E.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste",PageHeader:"PageHeader",PageFooter:"PageFooter"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[1,"alphabetclass",3,"ngStyle"],["class","alphabetitem",3,"click",4,"ngFor","ngForOf"],[1,"alphabetitem",3,"click"],[2,"background","none","border","2px solid"]],template:function(y,b){1&y&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,p,3,5,"div",1),d.\u0275\u0275elementEnd()),2&y&&(d.\u0275\u0275property("ngStyle",b.Style),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",b.Filterliste))},dependencies:[c.NgForOf,c.NgStyle,g.IonBadge],styles:[".alphabetclass[_ngcontent-%COMP%]{position:absolute;background:#fff;right:0;width:12vw;display:flex;flex-direction:column;justify-content:center}.alphabetitem[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-grow:1;color:#fff;font-size:80%;cursor:pointer}"]})}return C})()},10272:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AuswahlDialogModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(44716),l=o(70216),e=o(90520),u=o(84104),c=n.__importStar(o(54496));h.AuswahlDialogModule=(()=>{class v{static \u0275fac=function(C){return new(C||v)};static \u0275mod=c.\u0275\u0275defineNgModule({type:v});static \u0275inj=c.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule,a.FormsModule,l.PageHeaderModule,e.PageFooterModule,u.SafePipeModule]})}return v})()},56584:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AuswahlDialogComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),a=n.__importStar(o(54496)),l=n.__importStar(o(19668)),e=n.__importStar(o(14652)),u=n.__importStar(o(34388)),c=n.__importStar(o(21052)),g=n.__importStar(o(29743)),v=n.__importStar(o(10716)),p=n.__importStar(o(91368)),S=n.__importStar(o(90212)),C=n.__importStar(o(29856)),_=n.__importStar(o(66144)),f=["MySelection"];function y(E,M){if(1&E&&(a.\u0275\u0275elementStart(0,"tr")(1,"td"),a.\u0275\u0275element(2,"ion-radio",15),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(3,"td",16),a.\u0275\u0275pipe(4,"safe"),a.\u0275\u0275element(5,"td",17),a.\u0275\u0275pipe(6,"safe"),a.\u0275\u0275elementEnd()),2&E){const A=M.$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275property("value",A.Index),a.\u0275\u0275advance(),a.\u0275\u0275property("innerHTML",a.\u0275\u0275pipeBind2(4,3,A.FirstColumn,"html"),a.\u0275\u0275sanitizeHtml),a.\u0275\u0275advance(2),a.\u0275\u0275property("innerHTML",a.\u0275\u0275pipeBind2(6,6,A.SecoundColumn,"html"),a.\u0275\u0275sanitizeHtml)}}h.AuswahlDialogComponent=(()=>{class E{Tools;Basics;Debug;Displayservice;Const;MySelection;Titel="Testtitel";Auswahlliste;Auswahlindex;Iconname;Dialogbreite;PositionY;ZIndex;IndexChanged=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;constructor(A,I,F,j,T){this.Tools=A,this.Basics=I,this.Debug=F,this.Displayservice=j,this.Const=T;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.ZIndex=4e3}catch(P){this.Debug.ShowErrorMessage(P.message,"Auswahl Dialog","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Auswahldialog)}catch(A){this.Debug.ShowErrorMessage(A.message,"Auswahl Dialog","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Auswahldialog,this.ZIndex)}catch(A){this.Debug.ShowErrorMessage(A.message,"Auswahl Dialog","OnInit",this.Debug.Typen.Component)}}Setup(A,I,F){try{this.Titel=A,this.Auswahlliste=I,this.Auswahlindex=F}catch(j){this.Debug.ShowErrorMessage(j.message,"Auswahl Dialog","Setup",this.Debug.Typen.Page)}}Open(A,I){try{typeof A<"u"&&!0===A&&(this.Auswahlindex=typeof I<"u"?I:-1),this.MySelection.open()}catch(F){this.Debug.ShowErrorMessage(F.message,"Auswahl Dialog","Open",this.Debug.Typen.Component)}}ngOnChanges(A){}IndexChangedHandler(A){try{let I;I=""===A.detail.value||isNaN(A.detail.value)?-1:A.detail.value,this.Auswahlindex=I}catch(I){this.Debug.ShowErrorMessage(I.message,"Auswahl Dialog","IndexChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}OkButtonClicked(){d.isUndefined(this.Auswahlliste[this.Auswahlindex])?this.OkClickedEvent.emit(null):this.OkClickedEvent.emit(this.Auswahlliste[this.Auswahlindex].Data)}ContentClicked(A){A.preventDefault(),A.stopPropagation()}static \u0275fac=function(I){return new(I||E)(a.\u0275\u0275directiveInject(l.ToolsProvider),a.\u0275\u0275directiveInject(e.BasicsProvider),a.\u0275\u0275directiveInject(u.DebugProvider),a.\u0275\u0275directiveInject(c.DisplayService),a.\u0275\u0275directiveInject(g.ConstProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:E,selectors:[["auswahl-dialog"]],viewQuery:function(I,F){if(1&I&&a.\u0275\u0275viewQuery(f,7),2&I){let j;a.\u0275\u0275queryRefresh(j=a.\u0275\u0275loadQuery())&&(F.MySelection=j.first)}},inputs:{Titel:"Titel",Auswahlliste:"Auswahlliste",Auswahlindex:"Auswahlindex",Iconname:"Iconname",Dialogbreite:"Dialogbreite",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{IndexChanged:"IndexChanged",OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent"},features:[a.\u0275\u0275NgOnChangesFeature],decls:31,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"innerkeeperclass"],[3,"value","ionChange"],[1,"paddingtable"],["colspan","3",2,"height","6px"],[4,"ngFor","ngForOf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","32px"],[2,"width","100%"],["color","weiss","name","save-outline",2,"font-size","28px"],["mode","md",3,"value"],[2,"font-weight","bold",3,"innerHTML"],[3,"innerHTML"]],template:function(I,F){1&I&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(T){return F.ContentClicked(T)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(T){return F.ContentClicked(T)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),a.\u0275\u0275element(8,"ion-icon",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"td"),a.\u0275\u0275text(10),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(11,"ion-content")(12,"div",5)(13,"ion-radio-group",6),a.\u0275\u0275listener("ionChange",function(T){return F.IndexChangedHandler(T)}),a.\u0275\u0275elementStart(14,"table",7)(15,"tr"),a.\u0275\u0275element(16,"td",8),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(17,y,7,9,"tr",9),a.\u0275\u0275elementStart(18,"tr"),a.\u0275\u0275element(19,"td",8),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(20,"ion-footer")(21,"page-footer")(22,"table",10)(23,"tr")(24,"td")(25,"div",11),a.\u0275\u0275listener("click",function(){return F.CancelButtonClicked()}),a.\u0275\u0275element(26,"ion-icon",12),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(27,"td",13),a.\u0275\u0275elementStart(28,"td")(29,"div",11),a.\u0275\u0275listener("click",function(){return F.OkButtonClicked()}),a.\u0275\u0275element(30,"ion-icon",14),a.\u0275\u0275elementEnd()()()()()()()()()),2&I&&(a.\u0275\u0275styleProp("z-index",F.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",!0===F.Displayservice.ShowOpacity(F.Displayservice.Dialognamen.Auswahldialog)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",F.Dialogbreite,"px")("bottom",F.PositionY,"px")("top",F.PositionY,"px"),a.\u0275\u0275advance(6),a.\u0275\u0275property("name",F.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(F.Titel),a.\u0275\u0275advance(3),a.\u0275\u0275property("value",F.Auswahlindex),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngForOf",F.Auswahlliste))},dependencies:[v.IonContent,v.IonFooter,v.IonHeader,v.IonIcon,v.IonRadio,v.IonRadioGroup,v.RadioValueAccessor,v.SelectValueAccessor,p.NgForOf,S.PageHeaderComponent,C.PageFooterComponent,_.SafePipe],styles:[".keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.innerkeeperclass[_ngcontent-%COMP%]{overflow:auto;width:100%;height:100%;display:flex;flex-direction:row;border-left:3px solid #2190df;border-right:3px solid #2190df}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#7b6a58;border-radius:4px}"]})}return E})()},22844:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueDateModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.ButtonValueDateModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule]})}return e})()},76732:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueDateComponent=void 0;const n=o(81316),i=o(54496),d=n.__importDefault(o(35908)),a=n.__importStar(o(54496)),l=n.__importStar(o(14652)),e=n.__importStar(o(34388)),u=n.__importStar(o(19668)),c=n.__importStar(o(29743)),g=n.__importStar(o(10716)),v=n.__importStar(o(91368)),p=["DatePicker"];function S(f,y){if(1&f&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"td",11),a.\u0275\u0275text(2,"\u2022"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"td"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd()),2&f){const b=a.\u0275\u0275nextContext();a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate1("KW",b.Datum.isoWeek(),"")}}function C(f,y){if(1&f){const b=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-content",12)(1,"ion-datetime",13,14),a.\u0275\u0275listener("ionChange",function(M){a.\u0275\u0275restoreView(b);const A=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(A.DateChangedHandler(M))}),a.\u0275\u0275elementEnd()()}if(2&f){const b=a.\u0275\u0275nextContext();a.\u0275\u0275advance(),a.\u0275\u0275property("min",b.Minimumstring)("max",b.Maximumstring)("value",b.Datum.format("YYYY-MM-DD"))}}h.ButtonValueDateComponent=(()=>{class f{Basics;Debug;Tools;Const;Buttontext;Minimum;Maximum;Datum;Buttoncolor;InnerBackgroundcolor;Enabled;ElementID;Buttonsize;ShowKW;ValueBreite;TimeChanged=new i.EventEmitter;DiabledButtonClicked=new i.EventEmitter;DatePicker;Minimumstring;Maximumstring;constructor(b,E,M,A){this.Basics=b,this.Debug=E,this.Tools=M,this.Const=A;try{let I=1,F=7,T=(0,d.default)().year(),P=12,x=0;this.ValueBreite=260,this.Minimum=(0,d.default)().set({year:2e3,month:0,date:1}).locale("de"),this.Maximum=(0,d.default)().set({year:T,month:11,date:31}).locale("de"),this.Minimumstring="2000-01-01",this.Maximumstring=T.toString()+"-12-31",this.Buttontext="Datum",this.Datum=(0,d.default)(I+"."+F+"."+T+" "+P+":"+x,"DD.MM.YYYY HH:mm").locale("de"),this.Enabled=!0,this.Buttoncolor=this.Basics.Farben.Burnicklbraun,this.ElementID="open-modal-date",this.Buttonsize="normal",this.ShowKW=!1,this.InnerBackgroundcolor=this.Basics.Farben.Burnicklgrau}catch(I){this.Debug.ShowErrorMessage(I.message,"Button Value Date","Constructor",this.Debug.Typen.Component)}}ngOnInit(){}ngOnChanges(b){try{let E=b.Minimum,M=b.Maximum;typeof E<"u"&&(this.Minimum=E.currentValue,this.Minimumstring=this.Minimum.format("YYYY-MM-DD")),typeof M<"u"&&(this.Maximum=M.currentValue,this.Maximumstring=this.Maximum.format("YYYY-MM-DD"))}catch(E){this.Debug.ShowErrorMessage(E.message,"Button Value Date","ngOnChanges",this.Debug.Typen.Component)}}FetigButtonClicked(){try{this.DatePicker.confirm(!0)}catch(b){this.Debug.ShowErrorMessage(b.message,"Button Value Date","FetigButtonClicked",this.Debug.Typen.Component)}}DateChangedHandler(b){try{let I=b.detail.value.split("T")[0].split("-"),F=parseInt(I[2]),j=parseInt(I[1]),T=parseInt(I[0]),P=this.Datum.hours(),x=this.Datum.minutes();this.Datum=(0,d.default)(F+"."+j+"."+T+" "+P+":"+x,"DD.MM.YYYY HH:mm").locale("de"),this.TimeChanged.emit(this.Datum)}catch(E){this.Debug.ShowErrorMessage(E.message,"Button Value Date","DateChangedHandler",this.Debug.Typen.Component)}}static \u0275fac=function(E){return new(E||f)(a.\u0275\u0275directiveInject(l.BasicsProvider),a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(u.ToolsProvider),a.\u0275\u0275directiveInject(c.ConstProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:f,selectors:[["button-value-date"]],viewQuery:function(E,M){if(1&E&&a.\u0275\u0275viewQuery(p,5),2&E){let A;a.\u0275\u0275queryRefresh(A=a.\u0275\u0275loadQuery())&&(M.DatePicker=A.first)}},inputs:{Buttontext:"Buttontext",Minimum:"Minimum",Maximum:"Maximum",Datum:"Datum",Buttoncolor:"Buttoncolor",InnerBackgroundcolor:"InnerBackgroundcolor",Enabled:"Enabled",ElementID:"ElementID",Buttonsize:"Buttonsize",ShowKW:"ShowKW",ValueBreite:"ValueBreite"},outputs:{TimeChanged:"TimeChanged",DiabledButtonClicked:"DiabledButtonClicked"},features:[a.\u0275\u0275NgOnChangesFeature],decls:17,vars:11,consts:[["tappable","",1,"buttonclass",3,"id"],[2,"height","100%","width","60%"],[1,"buttontextclass"],["cellspacing","0","cellpadding","0",1,"paddingtable"],["height","100%","valign","middle"],["color","weiss"],[1,"outerinfokeeperclass"],[1,"infokeeperclass"],[2,"color","white"],[4,"ngIf"],[3,"trigger"],[2,"width","16px","text-align","center","font-size","26px"],["force-overscroll","false"],["locale","de-DE","showDefaultButtons","true","doneText","Fertig","cancelText","Abbrechen","presentation","date","color","burnicklgruen",2,"background","#307ac1","color","white",3,"min","max","value","ionChange"],["DatePicker",""]],template:function(E,M){1&E&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2)(3,"table",3)(4,"tr")(5,"td",4)(6,"ion-text",5),a.\u0275\u0275text(7),a.\u0275\u0275elementEnd()()()()()(),a.\u0275\u0275elementStart(8,"div",6)(9,"div",7)(10,"table")(11,"tr")(12,"td",8),a.\u0275\u0275text(13),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(14,S,5,1,"ng-container",9),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(15,"ion-modal",10),a.\u0275\u0275template(16,C,3,3,"ng-template"),a.\u0275\u0275elementEnd()),2&E&&(a.\u0275\u0275styleProp("background",M.Enabled?M.Buttoncolor:M.Basics.Farben.ButtongrauDisabled),a.\u0275\u0275property("id",M.ElementID),a.\u0275\u0275advance(7),a.\u0275\u0275textInterpolate(M.Buttontext),a.\u0275\u0275advance(2),a.\u0275\u0275styleProp("width",M.ValueBreite,"px")("background",M.InnerBackgroundcolor),a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(null!==M.Datum?M.Datum.format("DD.MM.YYYY"):"------"),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",M.ShowKW),a.\u0275\u0275advance(),a.\u0275\u0275property("trigger",!0===M.Enabled?M.ElementID:null))},dependencies:[g.IonContent,g.IonDatetime,g.IonText,g.IonModal,g.SelectValueAccessor,v.NgIf],styles:[".buttonclass[_ngcontent-%COMP%]{justify-content:center;align-items:center;width:100%;height:44px;border-radius:4px;padding:2px;display:flex}.buttontextclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;min-height:44px;width:100%;height:100%}.outerinfokeeperclass[_ngcontent-%COMP%]{height:100%;width:60%;padding:2px;display:flex;justify-content:center;align-items:center}.infokeeperclass[_ngcontent-%COMP%]{color:#fff;height:34px;padding:2px;display:flex;justify-content:center;align-items:center;border-radius:4px}ion-datetime[_ngcontent-%COMP%]{height:auto;width:auto;max-width:350px;--background: #354547}ion-modal[_ngcontent-%COMP%]{--width: 290px;--height: 382px;--border-radius: 8px}ion-modal[_ngcontent-%COMP%] ion-datetime[_ngcontent-%COMP%]{height:382px}"]})}return f})()},72284:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.ButtonValueModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},13228:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(14652)),l=n.__importStar(o(34388)),e=n.__importStar(o(19668)),u=n.__importStar(o(29743)),c=n.__importStar(o(91368)),g=n.__importStar(o(10716));function v(C,_){if(1&C&&(d.\u0275\u0275elementStart(0,"table",10)(1,"tr"),d.\u0275\u0275element(2,"td",11),d.\u0275\u0275elementEnd()()),2&C){const f=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",f.Wert_A_String,d.\u0275\u0275sanitizeHtml)}}function p(C,_){if(1&C&&(d.\u0275\u0275elementStart(0,"table",12)(1,"tr"),d.\u0275\u0275element(2,"td",11),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(3,"tr"),d.\u0275\u0275element(4,"td",13),d.\u0275\u0275elementEnd()()),2&C){const f=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",f.Wert_A_String,d.\u0275\u0275sanitizeHtml),d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",f.Wert_B,d.\u0275\u0275sanitizeHtml)}}h.ButtonValueComponent=(()=>{class C{Basics;Debug;Tools;Const;Buttoncolor;Buttontext;Wert_A;Wert_B;Iconfile;Iconcolor;Enabled;SmallWidth;BigHeight;ShowMargin;Width;ProContent=!1;ProMessage="";Buttonvaluecolor="";Rechtebreite;Linkebreite;ButtonClicked=new i.EventEmitter;DisabledButtonClicked=new i.EventEmitter;RGB;Wert_A_String;constructor(f,y,b,E){this.Basics=f,this.Debug=y,this.Tools=b,this.Const=E;try{this.Width=0,this.ShowMargin=!0,this.BigHeight=!1,this.SmallWidth=!1,this.Buttontext="",this.Wert_A="",this.Wert_B="",this.Iconcolor="red",this.Iconfile="",this.Buttoncolor=this.Basics.Farben.Burnicklbraun,this.Enabled=!0,this.Buttonvaluecolor=this.Basics.Farben.Burnicklgrau,this.Linkebreite=40,this.Rechtebreite=60}catch(M){this.Debug.ShowErrorMessage(M.message,"Button Value","Constructor",this.Debug.Typen.Component)}}ngOnInit(){}ngOnChanges(f){try{let y=f.Buttoncolor,b=f.Wert_A;typeof y<"u"&&(y.firstChange||(this.RGB=this.Tools.HexToRGB(y.currentValue))),typeof b<"u"&&typeof b.currentValue<"u"&&"string"==typeof b.currentValue&&(this.Wert_A_String=b.currentValue)}catch(y){this.Debug.ShowErrorMessage(y.message,"Button Value","ngOnChanges",this.Debug.Typen.Component)}}ButtonClickedHandler(){try{!0===this.Enabled?this.ButtonClicked.emit():this.DisabledButtonClicked.emit()}catch(f){this.Debug.ShowErrorMessage(f.message,"Button Value","ButtonClickedHandler",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||C)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(l.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(u.ConstProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:C,selectors:[["button-value"]],inputs:{Buttoncolor:"Buttoncolor",Buttontext:"Buttontext",Wert_A:"Wert_A",Wert_B:"Wert_B",Iconfile:"Iconfile",Iconcolor:"Iconcolor",Enabled:"Enabled",SmallWidth:"SmallWidth",BigHeight:"BigHeight",ShowMargin:"ShowMargin",Width:"Width",ProContent:"ProContent",ProMessage:"ProMessage",Buttonvaluecolor:"Buttonvaluecolor",Rechtebreite:"Rechtebreite",Linkebreite:"Linkebreite"},outputs:{ButtonClicked:"ButtonClicked",DisabledButtonClicked:"DisabledButtonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:12,vars:11,consts:[["tappable","",1,"buttonclass",3,"click"],[2,"height","100%"],[1,"buttontextclass"],["cellspacing","0","cellpadding","0",1,"paddingtable"],["height","100%","valign","middle"],["color","weiss"],[1,"outerinfokeeperclass"],[1,"infokeeperclass"],["cellpadding","0","cellspacing","0",4,"ngIf"],["width","100%",4,"ngIf"],["cellpadding","0","cellspacing","0"],["align","center",3,"innerHTML"],["width","100%"],["align","center",1,"ergotextclass",3,"innerHTML"]],template:function(y,b){1&y&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("click",function(){return b.ButtonClickedHandler()}),d.\u0275\u0275elementStart(1,"div",1)(2,"div",2)(3,"table",3)(4,"tr")(5,"td",4)(6,"ion-text",5),d.\u0275\u0275text(7),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(8,"div",6)(9,"div",7),d.\u0275\u0275template(10,v,3,1,"table",8)(11,p,5,2,"table",9),d.\u0275\u0275elementEnd()()()),2&y&&(d.\u0275\u0275styleProp("background",b.Enabled?b.Buttoncolor:b.Basics.Farben.ButtongrauDisabled),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("width",b.Linkebreite,"%"),d.\u0275\u0275advance(6),d.\u0275\u0275textInterpolate(b.Buttontext),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("width",b.Rechtebreite,"%"),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("background",b.Buttonvaluecolor),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",""===b.Wert_B),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",""!==b.Wert_B))},dependencies:[c.NgIf,g.IonText],styles:[".buttonclass[_ngcontent-%COMP%]{position:relative;width:100%;height:44px;border-radius:4px;padding:2px;display:flex}.buttontextclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;min-height:8px;width:100%;height:100%}.outerinfokeeperclass[_ngcontent-%COMP%]{height:100%;padding:2px;display:flex;justify-content:center;align-items:center}.infokeeperclass[_ngcontent-%COMP%]{color:#fff;height:34px;width:100%;padding:2px;display:flex;justify-content:center;align-items:center;border-radius:4px}"]})}return C})()},25856:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CheckboxClonComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(14652)),l=n.__importStar(o(19668)),e=n.__importStar(o(34388));h.CheckboxClonComponent=(()=>{class c{Basics;Tools;Debug;Checked=!1;Enabled=!0;CanUnselect=!0;Index=-1;Background="white";Value=null;CheckChanged=new i.EventEmitter;ImgSource;constructor(v,p,S){this.Basics=v,this.Tools=p,this.Debug=S;try{this.ImgSource=this.Basics.Svgpath+"hacken.svg"}catch(C){this.Debug.ShowErrorMessage(C.message,"Checkbox","constructor",this.Debug.Typen.Component)}}ngOnInit(){try{!1===this.Enabled&&(this.Background="#B2BABB")}catch(v){this.Debug.ShowErrorMessage(v,"Checkbox","ngOnInit",this.Debug.Typen.Component)}}DivClickedHnadler(v){try{v.stopPropagation(),v.preventDefault(),(this.Enabled&&!0===this.CanUnselect||this.Enabled&&!1===this.CanUnselect&&!1===this.Checked)&&this.CheckChanged.emit({status:!this.Checked,index:this.Index,event:v,value:this.Value})}catch(p){this.Debug.ShowErrorMessage(p.message,"Checkbox","DivClickedHnadler",this.Debug.Typen.Component)}}static \u0275fac=function(p){return new(p||c)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(l.ToolsProvider),d.\u0275\u0275directiveInject(e.DebugProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:c,selectors:[["checkbox-clon"]],inputs:{Checked:"Checked",Enabled:"Enabled",CanUnselect:"CanUnselect",Index:"Index",Background:"Background",Value:"Value"},outputs:{CheckChanged:"CheckChanged"},decls:2,vars:4,consts:[[1,"keeperdivclass",3,"click"],[2,"width","18px","height","18px",3,"hidden","src"]],template:function(p,S){1&p&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("click",function(_){return S.DivClickedHnadler(_)}),d.\u0275\u0275element(1,"img",1),d.\u0275\u0275elementEnd()),2&p&&(d.\u0275\u0275styleProp("background",S.Background),d.\u0275\u0275advance(),d.\u0275\u0275property("hidden",!S.Checked)("src",S.ImgSource,d.\u0275\u0275sanitizeUrl))},styles:[".keeperdivclass[_ngcontent-%COMP%]{padding:2px;position:relative;width:24px;height:24px;border:2px solid gray;border-radius:4px;display:flex;justify-content:center;align-items:center}"]})}return c})()},7388:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CheckboxClonModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.CheckboxClonModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},61540:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.InputCloneKeeperModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.InputCloneKeeperModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},38056:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.InputCloneComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),a=n.__importStar(o(54496)),l=n.__importStar(o(34388)),e=n.__importStar(o(14652)),u=n.__importStar(o(19668)),c=n.__importStar(o(91368)),g=n.__importStar(o(10716));function v(I,F){1&I&&a.\u0275\u0275element(0,"td")}function p(I,F){if(1&I&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",4),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"td",5),a.\u0275\u0275element(4,"ion-icon",6),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(5,v,1,0,"td",3),a.\u0275\u0275elementEnd()),2&I){const j=a.\u0275\u0275nextContext();a.\u0275\u0275styleProp("color",j.Titelcolor),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(j.Titel),a.\u0275\u0275advance(),a.\u0275\u0275property("hidden",!1===j.Clickable),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",null!==j.Einheit)}}function S(I,F){if(1&I){const j=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-input",10),a.\u0275\u0275listener("ionInput",function(P){a.\u0275\u0275restoreView(j);const x=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(x.TextChangedHandler(P))}),a.\u0275\u0275elementEnd()}if(2&I){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275styleProp("font-size",j.Textsize,"px"),a.\u0275\u0275property("inputmode",j.Inputtype)("label",j.Titel)("debounce",j.Debouncetime)("value",j.Value)("color",j.Textcolor)}}function C(I,F){if(1&I&&(a.\u0275\u0275elementStart(0,"ion-label"),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&I){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(j.Value)}}function _(I,F){if(1&I&&(a.\u0275\u0275elementStart(0,"td",11),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&I){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(j.Einheit)}}function f(I,F){if(1&I&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",7),a.\u0275\u0275template(2,S,1,7,"ion-input",8)(3,C,2,1,"ion-label",3),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(4,_,2,1,"td",9),a.\u0275\u0275elementEnd()),2&I){const j=a.\u0275\u0275nextContext();a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",!0===j.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!1===j.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==j.Einheit)}}function y(I,F){if(1&I){const j=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-textarea",15),a.\u0275\u0275listener("ionChange",function(P){a.\u0275\u0275restoreView(j);const x=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(x.TextChangedHandler(P))}),a.\u0275\u0275elementEnd()}if(2&I){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275property("label",j.Titel)("debounce",j.Debouncetime)("value",j.Value)("rows",j.Lines)}}function b(I,F){if(1&I&&a.\u0275\u0275element(0,"div",16),2&I){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275styleProp("height",18*j.Lines,"px"),a.\u0275\u0275property("innerHTML",j.Tools.FormatLinebreaks(j.Value),a.\u0275\u0275sanitizeHtml)}}function E(I,F){1&I&&a.\u0275\u0275element(0,"td")}function M(I,F){if(1&I&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",12),a.\u0275\u0275template(2,y,1,4,"ion-textarea",13)(3,b,1,3,"div",14),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(4,E,1,0,"td",3),a.\u0275\u0275elementEnd()),2&I){const j=a.\u0275\u0275nextContext();a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",!0===j.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!1===j.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==j.Einheit)}}h.InputCloneComponent=(()=>{class I{Debug;Basics;Tools;Titel;Titelcolor;Value;Debouncetime;ValueChange=new i.EventEmitter;MinLength;MaxLength;Enabled;Clickable;MinHeight;Inputtype;Required;Lines;DisabledColor;OkBorderColor;ParseToFloat;Textcolor;Textsize;Einheit;TextChanged=new i.EventEmitter;RequiredBorder;DisabledBorder;Valid;JoiShema;OkBorder;constructor(j,T,P){this.Debug=j,this.Basics=T,this.Tools=P;try{let x=1;this.OkBorderColor=this.Basics.Farben.Burnicklgrau,this.DisabledColor=this.Basics.Farben.Blau,this.OkBorder=x+"px solid "+this.OkBorderColor,this.RequiredBorder=x+"px solid "+this.Basics.Farben.Orange,this.DisabledBorder=x+"px solid "+this.DisabledColor,this.Valid=!0,this.MinLength=0,this.MaxLength=0,this.Enabled=!0,this.Titel="",this.Value="",this.MinHeight=30,this.Inputtype="text",this.Lines=1,this.Debouncetime=0,this.Clickable=!1,this.Required=!1,this.Titelcolor="black",this.ParseToFloat=!1,this.Textsize=14,this.Einheit=null,this.Textcolor=this.Basics.Ionicfarben.Schwarz}catch(x){this.Debug.ShowErrorMessage(x.message,"Input Clone","constructor",this.Debug.Typen.Component)}}ngAfterViewInit(){}ngOnInit(){try{let T;"text"===this.Inputtype||"email"===this.Inputtype?(T=d.string(),"email"===this.Inputtype&&(T=T.email({tlds:{allow:!1}}))):T=d.number(),this.MinLength>0&&(T=T.min(this.MinLength)),this.MaxLength>0&&(T=T.max(this.MaxLength)),T=!0===this.Required?T.required():T.allow(""),this.JoiShema=d.object({Text:T}).options({stripUnknown:!0}),this.Valid=this.CheckValid(this.Value)}catch(j){this.Debug.ShowErrorMessage(j.message,"Input Clone","ngOnInit",this.Debug.Typen.Component)}}CheckValid(j){try{let T,P;return this.JoiShema?(T=this.JoiShema.validate({Text:j}),T.error?(P=!1,this.Debug.ShowErrorMessage(T.error.message,"Input Clone","CheckValid",this.Debug.Typen.Component)):P=!0):P=!1,P}catch(T){this.Debug.ShowErrorMessage(T.message,"Input Clone","CheckValid",this.Debug.Typen.Component)}}TextChangedHandler(j){try{let T="text"===this.Inputtype||"email"===this.Inputtype?j.detail.value:this.ParseToFloat?parseFloat(j.detail.value):parseInt(j.detail.value);!0===this.Enabled&&(typeof T>"u"&&(T=""),this.Valid=this.CheckValid(T),this.ValueChange.emit(T),this.TextChanged.emit({Titel:this.Titel,Text:T,Valid:this.Valid})),j.stopPropagation(),j.preventDefault()}catch(T){this.Debug.ShowErrorMessage(T.message,"Input Clone","TextChangedHandler",this.Debug.Typen.Component)}}ngOnChanges(j){try{let T=1,P=j.Value;typeof P<"u"&&(this.Valid=this.CheckValid(P.currentValue),this.TextChanged.emit({Titel:this.Titel,Text:P.currentValue,Valid:this.Valid})),this.DisabledBorder=T+"px solid "+this.DisabledColor,this.OkBorder=T+"px solid "+this.OkBorderColor}catch(T){this.Debug.ShowErrorMessage(T.message,"Input Clone","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(T){return new(T||I)(a.\u0275\u0275directiveInject(l.DebugProvider),a.\u0275\u0275directiveInject(e.BasicsProvider),a.\u0275\u0275directiveInject(u.ToolsProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:I,selectors:[["input-clone"]],inputs:{Titel:"Titel",Titelcolor:"Titelcolor",Value:"Value",Debouncetime:"Debouncetime",MinLength:"MinLength",MaxLength:"MaxLength",Enabled:"Enabled",Clickable:"Clickable",MinHeight:"MinHeight",Inputtype:"Inputtype",Required:"Required",Lines:"Lines",DisabledColor:"DisabledColor",OkBorderColor:"OkBorderColor",ParseToFloat:"ParseToFloat",Textcolor:"Textcolor",Textsize:"Textsize",Einheit:"Einheit"},outputs:{ValueChange:"ValueChange",TextChanged:"TextChanged"},features:[a.\u0275\u0275NgOnChangesFeature],decls:5,vars:9,consts:[[1,"framedivclass"],["width","100%"],[3,"color",4,"ngIf"],[4,"ngIf"],[1,"uppercellclass"],[2,"text-align","right",3,"hidden"],["color","burnicklgruen","name","list-outline",2,"font-size","20px"],["colspan","2",1,"lowercellclass",2,"width","auto"],["class","inputclass","labelPlacement","stacked","autocomplete","off",3,"font-size","inputmode","label","debounce","value","color","ionInput",4,"ngIf"],["style","width: 20px; text-align: center;",4,"ngIf"],["labelPlacement","stacked","autocomplete","off",1,"inputclass",3,"inputmode","label","debounce","value","color","ionInput"],[2,"width","20px","text-align","center"],["colspan","2",1,"lowercellclass"],["labelPlacement","stacked",3,"label","debounce","value","rows","ionChange",4,"ngIf"],[3,"height","innerHTML",4,"ngIf"],["labelPlacement","stacked",3,"label","debounce","value","rows","ionChange"],[3,"innerHTML"]],template:function(T,P){1&T&&(a.\u0275\u0275elementStart(0,"div",0)(1,"table",1),a.\u0275\u0275template(2,p,6,5,"tr",2)(3,f,5,3,"tr",3)(4,M,5,3,"tr",3),a.\u0275\u0275elementEnd()()),2&T&&(a.\u0275\u0275styleProp("cursor",!0===P.Clickable?"pointer":"default")("min-height",P.MinHeight,"px")("border",!0===P.Enabled?!0===P.Valid?P.OkBorder:P.RequiredBorder:P.DisabledBorder),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",null!==P.Titel&&""!==P.Titel&&!1===P.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",1===P.Lines),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",1!==P.Lines))},dependencies:[c.NgIf,g.IonIcon,g.IonInput,g.IonLabel,g.IonTextarea,g.TextValueAccessor],styles:[".framedivclass[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:flex-start;align-items:flex-start}.inputclass[_ngcontent-%COMP%]{border:1px solid blue;border:none;--padding-bottom: 0px;--padding-end: 0px;--padding-start: 0px;--padding-top: 0px;--color: black}ion-label[_ngcontent-%COMP%]{color:#000}ion-textarea[_ngcontent-%COMP%]{margin-top:0;border:none;--padding-bottom: 100px;--padding-end: 0px;--padding-start: 0px;--padding-top: 0px;--color: black}.uppercellclass[_ngcontent-%COMP%]{font-size:80%;padding:4px 4px 2px}.lowercellclass[_ngcontent-%COMP%]{padding:0 4px 4px}"]})}return I})()},33780:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.InputCloneModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.InputCloneModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},90520:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageFooterModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.PageFooterModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule]})}return e})()},29856:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageFooterComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(29743)),l=n.__importStar(o(34388)),e=n.__importStar(o(14652)),u=["PageFooterFrameDiv"],c=["*"];h.PageFooterComponent=(()=>{class v{Const;Debug;Basics;PageFooterFrameDiv;MaxFooterhoehe;constructor(S,C,_){this.Const=S,this.Debug=C,this.Basics=_}ngOnInit(){}InitMaximalhoehe(){try{return this.MaxFooterhoehe=this.PageFooterFrameDiv.nativeElement.clientHeight,this.MaxFooterhoehe}catch(S){this.Debug.ShowErrorMessage(S.message,"Page Footer","InitMaximalhoehe",this.Debug.Typen.Component)}}static \u0275fac=function(C){return new(C||v)(d.\u0275\u0275directiveInject(a.ConstProvider),d.\u0275\u0275directiveInject(l.DebugProvider),d.\u0275\u0275directiveInject(e.BasicsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:v,selectors:[["page-footer"]],viewQuery:function(C,_){if(1&C&&d.\u0275\u0275viewQuery(u,7,i.ElementRef),2&C){let f;d.\u0275\u0275queryRefresh(f=d.\u0275\u0275loadQuery())&&(_.PageFooterFrameDiv=f.first)}},ngContentSelectors:c,decls:3,vars:0,consts:[[1,"keeperclass"],["PageFooterFrameDiv",""]],template:function(C,_){1&C&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275projection(2),d.\u0275\u0275elementEnd())},styles:[".keeperclass[_ngcontent-%COMP%]{background:#307ac1;color:#fff;width:100%;min-height:40px;height:100%;display:flex;align-items:center;justify-content:flex-end}"]})}return v})()},89300:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderCenterModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.PageHeaderCenterModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},63792:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderMenuComponent=void 0;const i=o(81316),d=o(54496),a=i.__importDefault(o(35908)),l=o(36716),e=i.__importStar(o(54496)),u=i.__importStar(o(34388)),c=i.__importStar(o(14652)),g=i.__importStar(o(29743)),v=i.__importStar(o(22848)),p=i.__importStar(o(15024)),S=i.__importStar(o(48044)),C=i.__importStar(o(58864)),_=i.__importStar(o(79052)),f=i.__importStar(o(9544)),y=i.__importStar(o(8608)),b=i.__importStar(o(97092)),E=i.__importStar(o(7992)),M=i.__importStar(o(59460)),A=i.__importStar(o(91368)),I=i.__importStar(o(10716)),F=i.__importStar(o(25856)),j=i.__importStar(o(76732)),T=["Suchleiste"],P=["Suchleiste2"],x=["ion-searchbar"];function N(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td")(2,"div",6),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.HomeMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.HomeMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.MainMenueButtonClicked(Pt.Menuservice.MainMenuebereiche.Home))}),e.\u0275\u0275elementStart(3,"table",7)(4,"tr")(5,"td"),e.\u0275\u0275element(6,"ion-icon",8),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(7,"td",9),e.\u0275\u0275element(8,"div"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275property("color",Xe.HomeMouseOver?Xe.Basics.Ionicfarben.Schwarz:Xe.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(2),e.\u0275\u0275classMap(Xe.Menuservice.MainMenuebereich===Xe.Menuservice.MainMenuebereiche.Projekte?"trennerbigdivclass":"trennerdivclass")}}function O(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"td")(1,"ion-badge",22),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&Qe){const Xe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate((Xe.DBUrlaub.Urlaubsanfragenanzahl+Xe.DBUrlaub.Homeofficeanfragenanzahl).toString())}}function H(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",15),e.\u0275\u0275elementStart(2,"td")(3,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Pt.UrlaubMenueButtonClicked(Pt.Menuservice.UrlaubMenuebereiche.Freigaben))}),e.\u0275\u0275elementStart(4,"table",7)(5,"tr")(6,"td"),e.\u0275\u0275element(7,"ion-icon",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9,"Anfragen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(10,O,3,1,"td",0),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(7),e.\u0275\u0275property("color",Xe.GetUrlaubMenueIconcolor(Xe.Menuservice.UrlaubMenuebereiche.Freigaben)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Xe.GetUrlaubMenueFontcolor(Xe.Menuservice.UrlaubMenuebereiche.Freigaben)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",Xe.DBUrlaub.Urlaubsanfragenanzahl>0||Xe.DBUrlaub.Homeofficeanfragenanzahl>0)}}function G(Qe,Ct){1&Qe&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",23),e.\u0275\u0275elementEnd())}function te(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",24)(1,"ion-button",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Pt.UrlaubMitarbeiterClicked.emit())}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(null!==Xe.DBUrlaub.CurrentMitarbeiter?Xe.DBUrlaub.CurrentMitarbeiter.Vorname+" "+Xe.DBUrlaub.CurrentMitarbeiter.Name:"unbekannt")}}function ue(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"table")(2,"tr")(3,"td")(4,"div",6),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.LogoutMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.LogoutMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.LogoutButtonClicked())}),e.\u0275\u0275elementStart(5,"table",7)(6,"tr")(7,"td"),e.\u0275\u0275element(8,"ion-icon",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Abmelden"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(11,"td",3),e.\u0275\u0275elementStart(12,"td",9),e.\u0275\u0275element(13,"div",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td")(15,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.UrlaubMenueButtonClicked(Pt.Menuservice.UrlaubMenuebereiche.Planung))}),e.\u0275\u0275elementStart(16,"table",7)(17,"tr")(18,"td"),e.\u0275\u0275element(19,"ion-icon",13),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"td",14),e.\u0275\u0275text(21,"Planung"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(22,"td",15),e.\u0275\u0275elementStart(23,"td")(24,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.UrlaubMenueButtonClicked(Pt.Menuservice.UrlaubMenuebereiche.Uebersicht))}),e.\u0275\u0275elementStart(25,"table",7)(26,"tr")(27,"td"),e.\u0275\u0275element(28,"ion-icon",16),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"\xdcbersicht"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(31,H,11,4,"ng-container",0),e.\u0275\u0275element(32,"td",15),e.\u0275\u0275elementStart(33,"td")(34,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.UrlaubMenueButtonClicked(Pt.Menuservice.UrlaubMenuebereiche.Einstellungen))}),e.\u0275\u0275elementStart(35,"table",7)(36,"tr")(37,"td"),e.\u0275\u0275element(38,"ion-icon",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275text(40,"Einstellungen"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(41,G,2,0,"td",0),e.\u0275\u0275element(42,"td",18),e.\u0275\u0275template(43,te,3,1,"td",19),e.\u0275\u0275element(44,"td",20),e.\u0275\u0275elementEnd()()()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("cursor",Xe.LogoutMouseOver?"pointer":"default"),e.\u0275\u0275advance(4),e.\u0275\u0275property("color",Xe.LogoutMouseOver?Xe.Basics.Ionicfarben.Schwarz:Xe.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Xe.LogoutMouseOver?"#000000":"white"),e.\u0275\u0275advance(10),e.\u0275\u0275property("color",Xe.GetUrlaubMenueIconcolor(Xe.Menuservice.UrlaubMenuebereiche.Planung)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Xe.GetUrlaubMenueFontcolor(Xe.Menuservice.UrlaubMenuebereiche.Planung)),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",Xe.GetUrlaubMenueIconcolor(Xe.Menuservice.UrlaubMenuebereiche.Uebersicht)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Xe.GetUrlaubMenueFontcolor(Xe.Menuservice.UrlaubMenuebereiche.Uebersicht)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!0===Xe.DBUrlaub.CurrentMitarbeiter.Homeofficefreigaben||!0===Xe.DBUrlaub.CurrentMitarbeiter.Urlaubsfreigaben||Xe.DBUrlaub.Vertretungsanfragenanzahl>0),e.\u0275\u0275advance(7),e.\u0275\u0275property("color",Xe.GetUrlaubMenueIconcolor(Xe.Menuservice.UrlaubMenuebereiche.Einstellungen)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Xe.GetUrlaubMenueFontcolor(Xe.Menuservice.UrlaubMenuebereiche.Einstellungen)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===Xe.DBUrlaub.CorrectSetup),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Xe.Pool.Mitarbeiterdaten&&!0===Xe.Pool.Mitarbeiterdaten.Planeradministrator)}}function se(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",6),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.BackMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.BackMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.BackButtonClicked())}),e.\u0275\u0275elementStart(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Zur\xfcck"),e.\u0275\u0275elementEnd()()()()()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("cursor",Xe.BackMouseOver?"pointer":"default"),e.\u0275\u0275advance(4),e.\u0275\u0275property("color",Xe.BackMouseOver?Xe.Basics.Ionicfarben.BAEBlau:Xe.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Xe.BackMouseOver?"#000000":"white")}}function K(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"td",27),e.\u0275\u0275element(1,"div"),e.\u0275\u0275elementEnd()),2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275classMap(Xe.Menuservice.MainMenuebereich===Xe.Menuservice.MainMenuebereiche.Projekte?"trennerbigdivclass":"trennerdivclass")}}function Z(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"td")(1,"div",28)(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Standorte"),e.\u0275\u0275elementEnd()()()()()),2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Xe.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function re(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"td")(1,"div",28)(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Mitarbeiter"),e.\u0275\u0275elementEnd()()()()()),2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Xe.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function J(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"td")(1,"div",28)(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",31),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Projekte"),e.\u0275\u0275elementEnd()()()()()),2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Xe.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function Y(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.FirmaMenueButtonClicked(Pt.Menuservice.FirmaMenuebereiche.Favoriten))}),e.\u0275\u0275elementStart(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",32),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Favoriten"),e.\u0275\u0275elementEnd()()()()()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Xe.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function $(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td")(2,"table",33)(3,"tr")(4,"td",34)(5,"button-value-date",35),e.\u0275\u0275listener("TimeChanged",function(Pt){e.\u0275\u0275restoreView(Xe);const tn=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(tn.EmailDatumChangedHandler(Pt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"checkbox-clon",36),e.\u0275\u0275listener("CheckChanged",function(Pt){e.\u0275\u0275restoreView(Xe);const tn=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(tn.ShowUngelesenCheckChanged(Pt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9," Nur ungelesene Emails anzeigen "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td")(11,"checkbox-clon",36),e.\u0275\u0275listener("CheckChanged",function(Pt){e.\u0275\u0275restoreView(Xe);const tn=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(tn.ProjektsortierungChangedHandler(Pt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td"),e.\u0275\u0275text(13," Sortieren nach Projekten "),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("Buttontext","Ab dem ")("ElementID","terminspanneende")("Datum",Xe.GetMailDatum()),e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Xe.DBEmail.ShowUngelesenOnly),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",Xe.DBEmail.Projektsortierung)}}function le(Qe,Ct){1&Qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",15),e.\u0275\u0275elementStart(2,"td"),e.\u0275\u0275element(3,"ion-searchbar",37,38),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function ee(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",15),e.\u0275\u0275elementStart(2,"td")(3,"div",39),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.StandortButtonClicked())}),e.\u0275\u0275elementStart(4,"table",7)(5,"tr")(6,"td"),e.\u0275\u0275element(7,"ion-icon",40),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",41),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate(Xe.DBStandort.GetStandortfiller())}}function we(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),e.\u0275\u0275element(3,"img",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"td",3),e.\u0275\u0275elementEnd()()),2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(3),e.\u0275\u0275property("src",Xe.GraphService.UserimageSRC,e.\u0275\u0275sanitizeUrl)}}function ye(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"div",44),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",null!==Xe.Pool.Mitarbeiterdaten?Xe.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function Oe(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,we,5,1,"table",0)(2,ye,2,1,"div",42),e.\u0275\u0275elementContainerEnd()),2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Xe.GraphService.UserimageSRC),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null===Xe.GraphService.UserimageSRC)}}function ve(Qe,Ct){if(1&Qe&&e.\u0275\u0275element(0,"td",51),2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Xe.Timelinebreite,"px")}}function _e(Qe,Ct){if(1&Qe&&e.\u0275\u0275element(0,"td",51),2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Xe.Timelinebreite,"px")}}function Pe(Qe,Ct){if(1&Qe&&e.\u0275\u0275element(0,"td",51),2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Xe.Timelinebreite,"px")}}function Ze(Qe,Ct){if(1&Qe&&e.\u0275\u0275element(0,"td",51),2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Xe.Timelinebreite,"px")}}function ot(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td",45),e.\u0275\u0275element(3,"div",46),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"tr")(5,"td",47)(6,"table")(7,"tr")(8,"td")(9,"div",48),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(11,ve,1,2,"td",49),e.\u0275\u0275element(12,"td",50),e.\u0275\u0275elementStart(13,"td")(14,"div",48),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,_e,1,2,"td",49),e.\u0275\u0275element(17,"td",50),e.\u0275\u0275elementStart(18,"td")(19,"div",48),e.\u0275\u0275text(20),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(21,Pe,1,2,"td",49),e.\u0275\u0275element(22,"td",50),e.\u0275\u0275elementStart(23,"td")(24,"div",48),e.\u0275\u0275text(25),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(26,Ze,1,2,"td",49),e.\u0275\u0275element(27,"td",50),e.\u0275\u0275elementStart(28,"td")(29,"div",48),e.\u0275\u0275text(30),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementContainerEnd()),2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("width",Xe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Xe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate3("Montag ",Xe.Timelineindex," ",Xe.GetDatumtext("Montag")," ",Xe.DBMitarbeiter.GetMeinewocheStunden("Montag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Xe.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Xe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Xe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Dienstag ",Xe.GetDatumtext("Dienstag")," ",Xe.DBMitarbeiter.GetMeinewocheStunden("Dienstag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",1===Xe.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Xe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Xe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Mittwoch ",Xe.GetDatumtext("Mittwoch")," ",Xe.DBMitarbeiter.GetMeinewocheStunden("Mittwoch"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",2===Xe.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Xe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Xe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Donnerstag ",Xe.GetDatumtext("Donnerstag")," ",Xe.DBMitarbeiter.GetMeinewocheStunden("Donnerstag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",3===Xe.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Xe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Xe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Freitag ",Xe.GetDatumtext("Freitag")," ",Xe.DBMitarbeiter.GetMeinewocheStunden("Freitag"),"")}}function tt(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",1)(2,"tr")(3,"td",2)(4,"table")(5,"tr"),e.\u0275\u0275element(6,"td",3),e.\u0275\u0275template(7,N,9,3,"ng-container",0)(8,ue,45,17,"td",0)(9,se,8,5,"td",0)(10,K,2,2,"td",4)(11,Z,8,3,"td",0)(12,re,8,3,"td",0)(13,J,8,3,"td",0)(14,Y,8,3,"td",0)(15,$,14,5,"ng-container",0)(16,le,5,0,"ng-container",0)(17,ee,10,1,"ng-container",0),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(18,"td",5),e.\u0275\u0275template(19,Oe,3,2,"ng-container",0),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(20,ot,31,35,"ng-container",0),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&Qe){const Xe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf",null!==Xe.Pool.Mitarbeiterdaten&&Xe.Pool.Mitarbeiterdaten.Planeradministrator),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.Menuservice.MainMenuebereich===Xe.Menuservice.MainMenuebereiche.Urlaubsplanung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.Menuservice.MainMenuebereich===Xe.Menuservice.MainMenuebereiche.Email),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.Menuservice.MainMenuebereich!==Xe.Menuservice.MainMenuebereiche.Urlaubsplanung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Xe.ShowStandorttitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Xe.ShowMitarbeitertitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Xe.ShowProjektetitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Xe.ShowFavoritentitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.Menuservice.MainMenuebereich===Xe.Menuservice.MainMenuebereiche.Email),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.ShowSuchleiste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.ShowSandortfilter),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===Xe.AuthService.ShowLogin),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.Menuservice.MainMenuebereich===Xe.Menuservice.MainMenuebereiche.Projekte&&Xe.Menuservice.ProjekteMenuebereich===Xe.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&Xe.Menuservice.Aufgabenlisteansicht===Xe.Menuservice.Aufgabenlisteansichten.Meine_Woche)}}h.PageHeaderMenuComponent=(()=>{class Qe{Debug;Basics;Const;DBMitarbeiter;DBMitarbeitersettings;Auswahlservice;DBStandort;DBEmail;DBUrlaub;GraphService;AuthService;Pool;Menuservice;Suchleiste;Suchleiste2;Sucheiste3;ShowSandortfilter;ShowSuchleiste;Filterorigin;ShowStandorttitle;ShowMitarbeitertitle;ShowProjektetitle;ShowFavoritentitle;SendFestlegungenEnabled;Timelineindex;SucheChanged=new d.EventEmitter;StandortfilterClicked=new d.EventEmitter;ZeitspanneFilterClicked=new d.EventEmitter;LeistungsphaseFilterClicked=new d.EventEmitter;FilterChanged=new d.EventEmitter;ShowProjektauswahlEvent=new d.EventEmitter;ShowProjektfilesEvent=new d.EventEmitter;LOPListeZeitspanneEvent=new d.EventEmitter;ShowOpenFestlegungOnlyEvent=new d.EventEmitter;SendFestlegungenClicked=new d.EventEmitter;ShowUngelesenOnlyChanged=new d.EventEmitter;ProjektsortierungChanged=new d.EventEmitter;EmailDatumChanged=new d.EventEmitter;PlanungsmatrixLeistungsphaseClicked=new d.EventEmitter;ShowLOPListeInfoeintraegeChanged=new d.EventEmitter;ExpandFestlegungeEvent=new d.EventEmitter;UrlaubMitarbeiterClicked=new d.EventEmitter;SuchleisteInputSubscription;Suchleiste2InputSubscription;SuchleisteClearSubscription;Suchleiste2ClearSubscription;FavoritenSubscription;Inputtimer;Projektauswahlbreite;Wochentaghoehe;Tagbreite;HomeMouseOver;EmailMouseOver;FilesMouseOver;ShowOpenFestlegungOnly;BackMouseOver;Timelinebreite;LogoutMouseOver;constructor(Xe,nt,Pt,tn,hn,wn,An,_n,qt,ht,Ue,Ee,Te){this.Debug=Xe,this.Basics=nt,this.Const=Pt,this.DBMitarbeiter=tn,this.DBMitarbeitersettings=hn,this.Auswahlservice=wn,this.DBStandort=An,this.DBEmail=_n,this.DBUrlaub=qt,this.GraphService=ht,this.AuthService=Ue,this.Pool=Ee,this.Menuservice=Te;try{this.ShowSuchleiste=!1,this.SuchleisteClearSubscription=null,this.Suchleiste2ClearSubscription=null,this.SuchleisteInputSubscription=null,this.Suchleiste2InputSubscription=null,this.FavoritenSubscription=null,this.Inputtimer=null,this.ShowSandortfilter=!1,this.Projektauswahlbreite=200,this.Filterorigin=this.Const.NONE,this.Wochentaghoehe=30,this.Tagbreite=0,this.Timelinebreite=40,this.HomeMouseOver=!1,this.EmailMouseOver=!1,this.ShowStandorttitle=!1,this.ShowMitarbeitertitle=!1,this.ShowProjektetitle=!1,this.ShowFavoritentitle=!1,this.FilesMouseOver=!1,this.ShowOpenFestlegungOnly=!1,this.SendFestlegungenEnabled=!1,this.BackMouseOver=!1,this.LogoutMouseOver=!1,this.Timelineindex=0}catch($e){this.Debug.ShowErrorMessage($e.message,"Page Header Menu","consturctor",this.Debug.Typen.Component)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Page Header Menu","LogoutButtonClicked",this.Debug.Typen.Component)}}ngOnDestroy(){}BackButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte,this.Menuservice.SetCurrentPage()}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","BackButtonClicked",this.Debug.Typen.Component)}}ngOnInit(){try{this.Projektauswahlbreite=this.Basics.Contentbreite-630}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Page Header Menu","OnInit",this.Debug.Typen.Component)}}ProjektsortierungChangedHandler(Xe){try{this.DBEmail.Projektsortierung=Xe.status}catch(nt){this.Debug.ShowErrorMessage(nt,"Page Header Menu","ProjektsortierungChangedHandler",this.Debug.Typen.Component)}}ShowUngelesenCheckChanged(Xe){try{this.DBEmail.ShowUngelesenOnly=Xe.status,this.ShowUngelesenOnlyChanged.emit()}catch(nt){this.Debug.ShowErrorMessage(nt,"Page Header Menu","ShowUngelesenCheckChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){var Xe=this;return n(function*(){try{Xe.Tagbreite=(Xe.Basics.Contentbreite-4-Xe.Timelinebreite)/5}catch(nt){Xe.Debug.ShowErrorMessage(nt.message,"Page Header Menu","ngAfterViewInit",Xe.Debug.Typen.Component)}})()}MainMenueButtonClicked(Xe){try{this.Menuservice.MainMenuebereich=Xe,this.Menuservice.SetCurrentPage()}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","MainMenueButtonClicked",this.Debug.Typen.Component)}}FirmaMenueButtonClicked(Xe){try{this.Menuservice.FirmaMenuebereich=Xe,this.Menuservice.SetCurrentPage()}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","FirmaMenueButtonClicked",this.Debug.Typen.Component)}}ProjekteMenueButtonClicked(Xe){try{this.Menuservice.ProjekteMenuebereich=Xe,this.Menuservice.ProjekteMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}UrlaubMenueButtonClicked(Xe){try{this.Menuservice.UrlaubMenuebereich=Xe,this.Menuservice.UrlaubMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}GetProjekteMenueIconcolor(Xe){try{return Xe===this.Menuservice.ProjekteMenuebereich?"schwarz":"weiss"}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetProjekteMenueFontcolor(Xe){try{return Xe===this.Menuservice.ProjekteMenuebereich?"#000000":"white"}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueIconcolor(Xe){try{return Xe===this.Menuservice.UrlaubMenuebereich?"schwarz":"weiss"}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","GetUrlaubMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueFontcolor(Xe){try{return Xe===this.Menuservice.UrlaubMenuebereich?"#000000":"white"}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","GetUrlaubMenueFontcolor",this.Debug.Typen.Component)}}StandortButtonClicked(){try{this.StandortfilterClicked.emit()}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Page Header Menu","StandortButtonClicked",this.Debug.Typen.Component)}}ZeitspaneClickedHandler(Xe){try{this.ZeitspanneFilterClicked.emit(Xe)}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","ZeitspaneClickedHandler",this.Debug.Typen.Component)}}LeistungsphaseClickedHandler(){try{this.LeistungsphaseFilterClicked.emit()}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Page Header Menu","LeistungsphaseClickedHandler",this.Debug.Typen.Component)}}StatusFilterShowFaelligOnlyChanged(Xe){}GetZeitfilterButtontext(){try{if(this.Filterorigin!==this.Auswahlservice.Auswahloriginvarianten.Aufgabenliste_Zeitfilter)return"Zeitfilter";switch(this.Pool.Mitarbeitersettings.AufgabenTerminfiltervariante){case this.Const.Faelligkeitsterminfiltervarianten.Seit_dem_Zeitpunkt:return"Seit dem Zeitpunkt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return"Bis zum Zeitpunkt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return"Zeitspanne";case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:return"Monat";case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Woche";default:return"Zeitfilter"}}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Page Header Menu","GetZeitfilterButtontext",this.Debug.Typen.Component)}}GetZeitfilterButtonwert(){try{let Xe,nt,Pt="";if(null!==this.Pool.Mitarbeitersettings){if(this.Filterorigin!==this.Auswahlservice.Auswahloriginvarianten.Aufgabenliste_Zeitfilter)return"Zeitfilter";switch(this.Pool.Mitarbeitersettings.AufgabenTerminfiltervariante){case this.Const.Faelligkeitsterminfiltervarianten.Seit_dem_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(Xe=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),Xe.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(nt=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),nt.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(Xe=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),Pt+=Xe.format("DD.MM.YYYY")):Pt+="Unbekannt",Pt+=" - ",null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(nt=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),Pt+=nt.format("DD.MM.YYYY")):Pt+="Unbekannt",Pt;case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Unbekannt";default:return"kein Filter"}}}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Page Header Menu","GetZeitfilterButtonwert",this.Debug.Typen.Component)}}MeintagClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Mein_Tag}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","MeintagClicked",this.Debug.Typen.Component)}}MeineWocheClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Meine_Woche}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","MeineWocheClicked",this.Debug.Typen.Component)}}MeilensteineClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Meilensteine}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","MeilensteineClicked",this.Debug.Typen.Component)}}ProjektClicked(){try{this.Menuservice.Aufgabenlisteansicht!==this.Menuservice.Aufgabenlisteansichten.Projekt?this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt:this.ShowProjektauswahlEvent.emit()}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","ProjektClicked",this.Debug.Typen.Component)}}ProjektfilesClicked(){try{this.GraphService.FilebrowserModus=this.GraphService.FilebrowserModusvarianten.Current_Projekt,this.ShowProjektfilesEvent.emit()}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","ProjektfilesClicked",this.Debug.Typen.Component)}}ShowOpenFestlegungOnlyChanged(Xe){try{this.ShowOpenFestlegungOnly=Xe.status,this.ShowOpenFestlegungOnlyEvent.emit(Xe.status)}catch(nt){this.Debug.ShowErrorMessage(nt,"Page Header Menu","ShowOpenFestlegungOnlyChanged",this.Debug.Typen.Component)}}GetMailDatum(){try{return this.DBEmail.Emaildatum}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","GetMailDatum",this.Debug.Typen.Component)}}EmailDatumChangedHandler(Xe){try{this.DBEmail.Emaildatum=Xe.clone(),this.EmailDatumChanged.emit()}catch(nt){this.Debug.ShowErrorMessage(nt,"Page Header Menu","EmailDatumChangedHandler",this.Debug.Typen.Component)}}GetDatumtext(Xe){try{let Pt=(0,a.default)().locale("de").clone().startOf("isoWeek");switch(Xe){case"Montag":return Pt.format("DD.MM.");case"Dienstag":return Pt.clone().add(1,"day").format("DD.MM.");case"Mittwoch":return Pt.clone().add(2,"day").format("DD.MM.");case"Donnerstag":return Pt.clone().add(3,"day").format("DD.MM.");case"Freitag":return Pt.clone().add(4,"day").format("DD.MM.")}return""}catch(nt){this.Debug.ShowErrorMessage(nt,"Page Header Menu","GetDatumtext",this.Debug.Typen.Component)}}environment=l.environment;static \u0275fac=function(nt){return new(nt||Qe)(e.\u0275\u0275directiveInject(u.DebugProvider),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.ConstProvider),e.\u0275\u0275directiveInject(v.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(p.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(S.AuswahlDialogService),e.\u0275\u0275directiveInject(C.DatabaseStandorteService),e.\u0275\u0275directiveInject(_.DatabaseOutlookemailService),e.\u0275\u0275directiveInject(f.DatabaseUrlaubService),e.\u0275\u0275directiveInject(y.Graphservice),e.\u0275\u0275directiveInject(b.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(E.DatabasePoolService),e.\u0275\u0275directiveInject(M.MenueService))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Qe,selectors:[["page-header-menu"]],viewQuery:function(nt,Pt){if(1&nt&&(e.\u0275\u0275viewQuery(T,5),e.\u0275\u0275viewQuery(P,5),e.\u0275\u0275viewQuery(x,5)),2&nt){let tn;e.\u0275\u0275queryRefresh(tn=e.\u0275\u0275loadQuery())&&(Pt.Suchleiste=tn.first),e.\u0275\u0275queryRefresh(tn=e.\u0275\u0275loadQuery())&&(Pt.Suchleiste2=tn.first),e.\u0275\u0275queryRefresh(tn=e.\u0275\u0275loadQuery())&&(Pt.Sucheiste3=tn)}},inputs:{ShowSandortfilter:"ShowSandortfilter",ShowSuchleiste:"ShowSuchleiste",Filterorigin:"Filterorigin",ShowStandorttitle:"ShowStandorttitle",ShowMitarbeitertitle:"ShowMitarbeitertitle",ShowProjektetitle:"ShowProjektetitle",ShowFavoritentitle:"ShowFavoritentitle",SendFestlegungenEnabled:"SendFestlegungenEnabled",Timelineindex:"Timelineindex"},outputs:{SucheChanged:"SucheChanged",StandortfilterClicked:"StandortfilterClicked",ZeitspanneFilterClicked:"ZeitspanneFilterClicked",LeistungsphaseFilterClicked:"LeistungsphaseFilterClicked",FilterChanged:"FilterChanged",ShowProjektauswahlEvent:"ShowProjektauswahlEvent",ShowProjektfilesEvent:"ShowProjektfilesEvent",LOPListeZeitspanneEvent:"LOPListeZeitspanneEvent",ShowOpenFestlegungOnlyEvent:"ShowOpenFestlegungOnlyEvent",SendFestlegungenClicked:"SendFestlegungenClicked",ShowUngelesenOnlyChanged:"ShowUngelesenOnlyChanged",ProjektsortierungChanged:"ProjektsortierungChanged",EmailDatumChanged:"EmailDatumChanged",PlanungsmatrixLeistungsphaseClicked:"PlanungsmatrixLeistungsphaseClicked",ShowLOPListeInfoeintraegeChanged:"ShowLOPListeInfoeintraegeChanged",ExpandFestlegungeEvent:"ExpandFestlegungeEvent",UrlaubMitarbeiterClicked:"UrlaubMitarbeiterClicked"},decls:1,vars:1,consts:[[4,"ngIf"],[2,"width","100%"],[2,"width","auto"],[2,"width","10px"],["align","center","style","width: 12px",4,"ngIf"],[2,"width","50px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","home-outline",3,"color"],["align","center",1,"trennertdclass"],["name","log-out-outline",3,"color"],[1,"trennerdivclass"],[1,"menubuttonclass",3,"click"],["name","create-outline",3,"color"],[2,"white-space","nowrap"],[2,"width","20px"],["name","calendar-outline",3,"color"],["name","settings-outline",3,"color"],[2,"width","60px"],["style","font-size: 90%; color: white;",4,"ngIf"],[2,"width","120px"],["name","thumbs-up-outline",3,"color"],["color","rot"],["src","assets/svgs/alert.svg",2,"width","24px"],[2,"font-size","90%","color","white"],["size","small","color","grau",3,"click"],["name","arrow-back-circle-outline",3,"color"],["align","center",2,"width","12px"],[1,"menubuttonclass"],["name","location-outline",3,"color"],["name","people-outline",3,"color"],["name","business-outline",3,"color"],["name","bookmarks-outline",3,"color"],[1,"paddingtable"],[2,"width","300px"],[3,"Buttontext","ElementID","Datum","TimeChanged"],[3,"Checked","CheckChanged"],["placeholder","Suche"],["Suchleiste",""],[1,"menufilterbuttonclass",3,"click"],["name","funnel-outline","color","weiss"],[2,"color","white"],["class","userkuerzelsmall",4,"ngIf"],[1,"userimagesmall",3,"src"],[1,"userkuerzelsmall"],["colspan","2",2,"padding-left","8px","padding-right","8px"],[2,"width","100%","height","1px","background","white"],["colspan","2"],[1,"wocheheaderdivclass"],["style","background: #354547;",3,"width",4,"ngIf"],[2,"width","1px","background","white"],[2,"background","#354547"]],template:function(nt,Pt){1&nt&&e.\u0275\u0275template(0,tt,21,13,"ng-container",0),2&nt&&e.\u0275\u0275property("ngIf",null!==Pt.AuthService.ActiveUser)},dependencies:[A.NgIf,I.IonBadge,I.IonButton,I.IonIcon,I.IonSearchbar,I.TextValueAccessor,F.CheckboxClonComponent,j.ButtonValueDateComponent],styles:[".menubuttonclass[_ngcontent-%COMP%]{cursor:pointer}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#454545;border-radius:4px}.planungheaderdiv[_ngcontent-%COMP%]{border-radius:6px;width:40px;height:40px;background:#454545;color:#fff;font-size:90%;display:flex;justify-content:center;align-items:center}.trennertdclass[_ngcontent-%COMP%]{width:30px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.trennerbigdivclass[_ngcontent-%COMP%]{width:1px;min-height:64px;height:100%;background:silver}ion-searchbar[_ngcontent-%COMP%]{width:300px;height:50px;--border-radius: none;--box-shadow: none;--background: black}.iconboxclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:6px;width:40px;height:40px;background:#444}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}.buttonclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:140px;min-height:34px;height:100%;padding:2px;border:1px solid white;border-radius:6px;cursor:pointer}.buttonsmallclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:50px;min-height:34px;height:100%;border:1px solid white;border-radius:6px;cursor:pointer}.statusvaianteclass[_ngcontent-%COMP%]{padding:6px;border-radius:3px;width:auto;white-space:nowrap;color:#fff;font-size:80%}.wocheheaderdivclass[_ngcontent-%COMP%]{background:#354547;color:#fff;display:flex;justify-content:center;align-items:center}.userimagesmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-top:4px;border-radius:50%;object-fit:cover}.userkuerzelsmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-right:4px;border-radius:50%;display:flex;justify-content:center;align-items:center;background:#454545;color:#fff;font-weight:700}"]})}return Qe})()},6168:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderMenuModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(72284),l=o(7388),e=o(22844),u=n.__importStar(o(54496));h.PageHeaderMenuModule=(()=>{class g{static \u0275fac=function(S){return new(S||g)};static \u0275mod=u.\u0275\u0275defineNgModule({type:g});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.ButtonValueModule,l.CheckboxClonModule,e.ButtonValueDateModule]})}return g})()},70216:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.PageHeaderModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},90212:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(34388)),l=n.__importStar(o(14652)),e=n.__importStar(o(7992)),u=n.__importStar(o(29743)),c=n.__importStar(o(91368)),g=n.__importStar(o(10716)),v=["PageHeaderDiv"];function p(_,f){if(1&_&&(d.\u0275\u0275elementStart(0,"div",3)(1,"table",4)(2,"tr")(3,"td")(4,"div",5),d.\u0275\u0275text(5),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementStart(6,"tr")(7,"td")(8,"div",6)(9,"table",7)(10,"tr")(11,"td",8),d.\u0275\u0275text(12),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(13,"tr")(14,"td"),d.\u0275\u0275element(15,"ion-progress-bar",9),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(16,"tr")(17,"td"),d.\u0275\u0275element(18,"div",10),d.\u0275\u0275elementEnd()()()()),2&_){const y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate1(" ",y.ProgressMessage," "),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate1(" ",y.Pool.ProgressMessage," "),d.\u0275\u0275advance(3),d.\u0275\u0275property("value",y.Pool.CurrentProgressValue/y.Pool.MaxProgressValue)}}const S=["*"];h.PageHeaderComponent=(()=>{class _{Debug;Basics;Pool;Const;PageHeaderDiv;ProgressMessage;constructor(y,b,E,M){this.Debug=y,this.Basics=b,this.Pool=E,this.Const=M;try{this.ProgressMessage="Stammdaten werden geladen werden geladen"}catch(A){this.Debug.ShowErrorMessage(A.message,"Page Header","Construktor",this.Debug.Typen.Component)}}ngOnInit(){}static \u0275fac=function(b){return new(b||_)(d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(l.BasicsProvider),d.\u0275\u0275directiveInject(e.DatabasePoolService),d.\u0275\u0275directiveInject(u.ConstProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:_,selectors:[["page-header"]],viewQuery:function(b,E){if(1&b&&d.\u0275\u0275viewQuery(v,7,i.ElementRef),2&b){let M;d.\u0275\u0275queryRefresh(M=d.\u0275\u0275loadQuery())&&(E.PageHeaderDiv=M.first)}},inputs:{ProgressMessage:"ProgressMessage"},ngContentSelectors:S,decls:4,vars:1,consts:[[1,"keeperdivclass"],["PageHeaderDiv",""],["class","loadingdivclass",4,"ngIf"],[1,"loadingdivclass"],["width","100%"],[1,"headerdivclass"],[1,"contentdivclass"],["width","100%",1,"paddingtable"],[2,"text-align","center","color","black"],[3,"value"],[2,"background","#354547","width","100%","height","20px"]],template:function(b,E){1&b&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275projection(2),d.\u0275\u0275template(3,p,19,3,"div",2),d.\u0275\u0275elementEnd()),2&b&&(d.\u0275\u0275advance(3),d.\u0275\u0275property("ngIf",E.Pool.ShowProgress))},dependencies:[c.NgIf,g.IonProgressBar],styles:["ion-progress-bar[_ngcontent-%COMP%]{--background: #444444;--progress-background: #307ac1}.keeperdivclass[_ngcontent-%COMP%]{width:100%;background:#307ac1;min-height:52px}.loadingdivclass[_ngcontent-%COMP%]{position:absolute;width:400px;height:300px;z-index:10000;top:200px;left:50%;transform:translate(-50%)}.headerdivclass[_ngcontent-%COMP%]{background:#307ac1;width:100%;height:30px;padding:4px;color:#fff;display:flex;justify-content:flex-start;align-items:center}.contentdivclass[_ngcontent-%COMP%]{border-left:3px solid #307ac1;border-right:3px solid #307ac1;background:#fff;width:100%;height:120px;padding:6px;display:flex;justify-content:center;align-items:center}"]})}return _})()},54588:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageModalKeepermodule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(70216),l=n.__importStar(o(54496));h.PageModalKeepermodule=(()=>{class u{static \u0275fac=function(v){return new(v||u)};static \u0275mod=l.\u0275\u0275defineNgModule({type:u});static \u0275inj=l.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.PageHeaderModule]})}return u})()},6232:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.UrlausplanungKalenderModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(44716),l=o(90520),e=o(89300),u=n.__importStar(o(54496));h.UrlausplanungKalenderModule=(()=>{class g{static \u0275fac=function(S){return new(S||g)};static \u0275mod=u.\u0275\u0275defineNgModule({type:g});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.ReactiveFormsModule,a.FormsModule,l.PageFooterModule,e.PageHeaderCenterModule]})}return g})()},77440:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PjProjektpunktDateKWPickerComponent=void 0;const n=o(81316),i=o(54496),d=n.__importDefault(o(35908));o(94091);const a=n.__importStar(o(17964)),l=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(14652)),c=n.__importStar(o(7992)),g=n.__importStar(o(21052)),v=n.__importStar(o(9544)),p=n.__importStar(o(19668)),S=n.__importStar(o(29743)),C=n.__importStar(o(91368)),_=n.__importStar(o(10716));function f(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",10)}function y(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",10)}function b(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",10)}function E(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",10)}function M(ve,_e){1&ve&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"div",10),l.\u0275\u0275elementContainerEnd())}function A(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",14)}function I(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",14)}function F(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",14)}function j(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",14)}function T(ve,_e){1&ve&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"div",14),l.\u0275\u0275elementContainerEnd())}function P(ve,_e){if(1&ve&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"div",5)(2,"div",12),l.\u0275\u0275text(3),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(4,A,1,0,"div",13)(5,I,1,0,"div",13)(6,F,1,0,"div",13)(7,j,1,0,"div",13)(8,T,2,0,"ng-container",7),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()),2&ve){const Pe=l.\u0275\u0275nextContext().$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(Pe.Tagnummer),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFerientage_DE),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFerientage_BG),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFeiertage_DE),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFeiertage_BG),l.\u0275\u0275advance(),l.\u0275\u0275property("ngForOf",Ze.KalendertageExternliste)}}function x(ve,_e){1&ve&&(l.\u0275\u0275elementStart(0,"tr")(1,"td",17),l.\u0275\u0275text(2,"H"),l.\u0275\u0275elementEnd()())}function N(ve,_e){1&ve&&l.\u0275\u0275element(0,"ion-icon",22)}function O(ve,_e){if(1&ve){const Pe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",20),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(3).$implicit,tt=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(tt.FerientagMouseOverEvent(ot,"DE"))})("mouseleave",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(6);return l.\u0275\u0275resetView(ot.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),l.\u0275\u0275template(1,N,1,0,"ion-icon",21),l.\u0275\u0275elementEnd()}if(2&ve){const Pe=l.\u0275\u0275nextContext(3).$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275styleProp("background",Pe.IsFerientag_DE?Ze.DB.Ferienfarbe_DE:Pe.Background),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Pe.IsFerientag_DE)}}function H(ve,_e){1&ve&&l.\u0275\u0275element(0,"ion-icon",24)}function G(ve,_e){if(1&ve){const Pe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",20),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(3).$implicit,tt=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(tt.FerientagMouseOverEvent(ot,"BG"))})("mouseleave",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(6);return l.\u0275\u0275resetView(ot.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),l.\u0275\u0275template(1,H,1,0,"ion-icon",23),l.\u0275\u0275elementEnd()}if(2&ve){const Pe=l.\u0275\u0275nextContext(3).$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275styleProp("background",Pe.IsFerientag_BG?Ze.DB.Ferienfarbe_BG:Pe.Background),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Pe.IsFerientag_BG)}}function te(ve,_e){1&ve&&l.\u0275\u0275element(0,"ion-icon",27)}function ue(ve,_e){if(1&ve){const Pe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",25),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(3).$implicit,tt=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(tt.FeietragMouseOverEvent(ot,"DE"))})("mouseleave",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(6);return l.\u0275\u0275resetView(ot.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),l.\u0275\u0275template(1,te,1,0,"ion-icon",26),l.\u0275\u0275elementEnd()}if(2&ve){const Pe=l.\u0275\u0275nextContext(3).$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275styleProp("background",Pe.IsFeiertag_DE?Ze.DB.Feiertagefarbe_DE:Pe.Background),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Pe.IsFeiertag_DE)}}function se(ve,_e){1&ve&&l.\u0275\u0275element(0,"ion-icon",29)}function K(ve,_e){if(1&ve){const Pe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",25),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(3).$implicit,tt=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(tt.FeietragMouseOverEvent(ot,"BG"))})("mouseleave",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(6);return l.\u0275\u0275resetView(ot.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),l.\u0275\u0275template(1,se,1,0,"ion-icon",28),l.\u0275\u0275elementEnd()}if(2&ve){const Pe=l.\u0275\u0275nextContext(3).$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275styleProp("background",Pe.IsFeiertag_BG?Ze.DB.Feiertagefarbe_BG:Pe.Background),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Pe.IsFeiertag_BG)}}function Z(ve,_e){if(1&ve&&(l.\u0275\u0275elementStart(0,"div",32),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&ve){const Pe=l.\u0275\u0275nextContext().$implicit,Ze=l.\u0275\u0275nextContext(3).index,ot=l.\u0275\u0275nextContext().index;l.\u0275\u0275styleProp("background",Pe[ot][Ze].Background),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate(Pe[ot][Ze].Kuerzel)}}function re(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",33)}function J(ve,_e){if(1&ve&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,Z,2,3,"div",30)(2,re,1,0,"div",31),l.\u0275\u0275elementContainerEnd()),2&ve){const Pe=_e.$implicit,Ze=l.\u0275\u0275nextContext(3).index,ot=l.\u0275\u0275nextContext().index;l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Pe[ot][Ze].IsUrlaub),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!Pe[ot][Ze].IsUrlaub)}}function Y(ve,_e){if(1&ve){const Pe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"div",15),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(2),tt=ot.$implicit,mt=ot.index,Qe=l.\u0275\u0275nextContext().index,Ct=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(Ct.TagClicked(tt,Qe,mt))}),l.\u0275\u0275elementStart(2,"div",16)(3,"table")(4,"tr")(5,"td",17),l.\u0275\u0275text(6),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(7,x,3,0,"tr",11),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(8,O,2,3,"div",18)(9,G,2,3,"div",18)(10,ue,2,3,"div",19)(11,K,2,3,"div",19)(12,J,3,2,"ng-container",7),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()}if(2&ve){const Pe=l.\u0275\u0275nextContext(2).$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(2),l.\u0275\u0275styleProp("background",Ze.GetTagBackground(Pe))("color",Pe.Color),l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate(Pe.Tagnummer),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Pe.IsHomeoffice&&Ze.Pool.Mitarbeitersettings.ShowHomeoffice),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFerientage_DE),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFerientage_BG),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFeiertage_DE),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFeiertage_BG),l.\u0275\u0275advance(),l.\u0275\u0275property("ngForOf",Ze.KalendertageExternliste)}}function $(ve,_e){if(1&ve&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275text(1),l.\u0275\u0275elementContainerEnd()),2&ve){const Pe=l.\u0275\u0275nextContext(2).$implicit;l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate1(" ",Pe.Tagnummer," ")}}function le(ve,_e){if(1&ve&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,Y,13,11,"ng-container",11)(2,$,2,1,"ng-container",11),l.\u0275\u0275elementContainerEnd()),2&ve){const Pe=l.\u0275\u0275nextContext().$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!0===Pe.Hauptmonat&&null!==Ze.Pool.Mitarbeitersettings),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!1===Pe.Hauptmonat)}}function ee(ve,_e){if(1&ve&&(l.\u0275\u0275elementStart(0,"td"),l.\u0275\u0275template(1,P,9,6,"ng-container",11)(2,le,3,2,"ng-container",11),l.\u0275\u0275elementEnd()),2&ve){const Ze=_e.index;l.\u0275\u0275styleProp("color",!0===_e.$implicit.Hauptmonat?"black":"darkgray"),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze>=5),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze<5)}}function we(ve,_e){if(1&ve&&(l.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",5)(3,"div",6),l.\u0275\u0275text(4),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(5,f,1,0,"div",8)(6,y,1,0,"div",8)(7,b,1,0,"div",8)(8,E,1,0,"div",8)(9,M,2,0,"ng-container",7),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(10,ee,3,4,"td",9),l.\u0275\u0275elementEnd()),2&ve){const Pe=_e.$implicit,Ze=_e.index,ot=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate(Pe[Ze].Kalenderwoche),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",ot.DB.ShowFerientage_DE),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",ot.DB.ShowFerientage_BG),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",ot.DB.ShowFeiertage_DE),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",ot.DB.ShowFeiertage_BG),l.\u0275\u0275advance(),l.\u0275\u0275property("ngForOf",ot.KalendertageExternliste),l.\u0275\u0275advance(),l.\u0275\u0275property("ngForOf",Pe)}}function ye(ve,_e){if(1&ve&&(l.\u0275\u0275elementStart(0,"div",1)(1,"table",2)(2,"tr")(3,"td",3),l.\u0275\u0275text(4),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(5,"tr")(6,"td",4)(7,"div",5)(8,"div",6),l.\u0275\u0275text(9,"KW"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(10,"td",4)(11,"div",5)(12,"div",6),l.\u0275\u0275text(13,"Mo"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(14,"td",4)(15,"div",5)(16,"div",6),l.\u0275\u0275text(17,"Di"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(18,"td",4)(19,"div",5)(20,"div",6),l.\u0275\u0275text(21,"Mi"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(22,"td",4)(23,"div",5)(24,"div",6),l.\u0275\u0275text(25,"Do"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(26,"td",4)(27,"div",5)(28,"div",6),l.\u0275\u0275text(29,"Fr"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(30,"td",4)(31,"div",5)(32,"div",6),l.\u0275\u0275text(33,"Sa"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(34,"td",4)(35,"div",5)(36,"div",6),l.\u0275\u0275text(37,"So"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275template(38,we,11,7,"tr",7),l.\u0275\u0275elementEnd()()),2&ve){const Pe=l.\u0275\u0275nextContext();l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate1(" ",Pe.GetMonatname()," "),l.\u0275\u0275advance(34),l.\u0275\u0275property("ngForOf",Pe.Kalendertageliste)}}h.PjProjektpunktDateKWPickerComponent=(()=>{class ve{Debug;Basics;Pool;Displayservice;DB;Tools;Const;ShowProtokollpunkte;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;Monatindex;Jahr;AddUrlaubRunning;AddHomeofficerunning;ShowYear;FeiertagCrossedEvent=new i.EventEmitter;FerientagCrossedEvent=new i.EventEmitter;AddUrlaubFinished=new i.EventEmitter;AddHomeofficeEvent=new i.EventEmitter;Kalendertageliste;KalendertageExternliste;DataSubscription;MonateSubscription;Monatname;ExterneUrlaubSubscription;UrlaubStatusSubscription;HomeofficeStatusSubscription;ExterneHomeofficeSubscription;constructor(Pe,Ze,ot,tt,mt,Qe,Ct){this.Debug=Pe,this.Basics=Ze,this.Pool=ot,this.Displayservice=tt,this.DB=mt,this.Tools=Qe,this.Const=Ct;try{this.Dialogbreite=300,this.Dialoghoehe=400,this.Jahr=2023,this.ShowProtokollpunkte=!0,this.Kalendertageliste=[],this.KalendertageExternliste=[],this.Monatname="none",this.AddUrlaubRunning=!1,this.AddHomeofficerunning=!1,this.Monatindex=0,this.ShowYear=!1,this.Monatname=this.DB.Monateliste[this.Monatindex],this.DataSubscription=null,this.MonateSubscription=null,this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription=null,this.HomeofficeStatusSubscription=null,this.ExterneHomeofficeSubscription=null}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Urlaubsplanung Kalender","Construktor",this.Debug.Typen.Component)}}ngOnChanges(Pe){try{a.isUndefined(Pe.Monatindex)||this.PrepareData()}catch(Ze){this.Debug.ShowErrorMessage(Ze,"Urlaubsplanung Kalender","ngOnChanges",this.Debug.Typen.Component)}}PrepareData(){try{let Pe,Ze,ot,tt,mt,Ct,Xe,nt,Pt,tn,hn,Qe=this.Monatindex+1;this.Monatname=this.DB.Monateliste[this.Monatindex],Qe=Qe<10?"0"+Qe.toString():Qe.toString(),Pe=(0,d.default)(this.Jahr.toString()+"-"+Qe,"YYYY-MM").daysInMonth(),Ze=Pe;let wn=(0,d.default)().set({date:1,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de"),An=(0,d.default)().set({date:Pe,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de");ot=wn.isoWeekday(),tt=ot-1,Ze+=tt,Xe=wn.clone().subtract(tt,"day"),Pt=Xe.clone(),ot=An.isoWeekday(),tt=7-ot,Ze+=tt,mt=Ze/7,hn=Pt.clone(),this.Kalendertageliste=[];for(let _n=0;_n{this.PrepareData()}),this.MonateSubscription=this.DB.PlanungsmonateChanged.subscribe(()=>{this.PrepareData()}),this.ExterneUrlaubSubscription=this.DB.ExterneUrlaubeChanged.subscribe(()=>{this.PrepareData()}),this.ExterneHomeofficeSubscription=this.DB.ExterneHomeofficeChanged.subscribe(()=>{this.PrepareData()}),this.UrlaubStatusSubscription=this.DB.UrlaubStatusChanged.subscribe(()=>{this.PrepareData()}),this.HomeofficeStatusSubscription=this.DB.HomeofficeStatusChanged.subscribe(()=>{this.PrepareData()})}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Urlaubsplanung Kalender","ngOnInit",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.ProjektpunktDateKwPicker),this.DataSubscription.unsubscribe(),this.DataSubscription=null,this.MonateSubscription.unsubscribe(),this.MonateSubscription=null,this.ExterneUrlaubSubscription.unsubscribe(),this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription.unsubscribe(),this.UrlaubStatusSubscription=null,this.HomeofficeStatusSubscription.unsubscribe(),this.HomeofficeStatusSubscription=null,this.ExterneHomeofficeSubscription.unsubscribe(),this.ExterneHomeofficeSubscription=null}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Urlaubsplanung Kalender","ngOnDestroy",this.Debug.Typen.Component)}}FeietragMouseOverEvent(Pe,Ze){try{let ot="",tt=(0,d.default)(Pe.Tagstempel).locale("DE"===Ze?"de":"en");(Pe.IsFeiertag_DE||Pe.IsFeiertag_BG)&&("DE"===Ze&&Pe.IsFeiertag_DE?(ot=Pe.Feiertagname_DE+" / "+tt.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:ot,Laendercode:Ze})):"BG"===Ze&&Pe.IsFeiertag_BG&&(ot=Pe.Feiertagname_BG+" / "+tt.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:ot,Laendercode:Ze})))}catch(ot){this.Debug.ShowErrorMessage(ot,"Urlaubsplanung Kalender","FeietragMouseOverEvent",this.Debug.Typen.Component)}}FerientagMouseOverEvent(Pe,Ze){try{this.FerientagCrossedEvent.emit({Name:"DE"===Ze?Pe.Ferienname_DE:Pe.Ferienname_BG,Laendercode:Ze})}catch(ot){this.Debug.ShowErrorMessage(ot,"Urlaubsplanung Kalender","FerientagMouseOverEvent",this.Debug.Typen.Component)}}TagClicked(Pe,Ze,ot){try{let tt,mt,Qe,nt,Ct=0,Xe="DE"===this.DB.Laendercode?Pe.IsFeiertag_DE:Pe.IsFeiertag_BG,Pt=Pe.IsUrlaub,tn=Pe.IsHomeoffice;if(this.AddUrlaubRunning)if(!1===Xe&&!1===tn&&!1===Pt)if(null===this.DB.CurrentUrlaubzeitspanne)this.DB.CurrentUrlaubzeitspanne=this.DB.GetEmptyUrlaubszeitspanne(),this.DB.CurrentUrlaubzeitspanne.Startstempel=Pe.Tagstempel,this.DB.CurrentUrlaubzeitspanne.Startstring=Pe.Datumstring,Pe.Background=this.DB.Urlaubsfaben.Geplant,Pe.IsUrlaub=!0,Pe.Color="white";else if(mt=(0,d.default)(this.DB.CurrentUrlaubzeitspanne.Startstempel),tt=(0,d.default)(Pe.Tagstempel),!0===tt.isSameOrAfter(mt,"day")&&tt.isSame(mt,"week")){this.DB.CurrentUrlaubzeitspanne.Endestempel=Pe.Tagstempel,this.DB.CurrentUrlaubzeitspanne.Endestring=Pe.Datumstring;for(let hn=ot;hn>=0;hn--)Qe=this.Kalendertageliste[Ze][hn],Xe="DE"===this.DB.Laendercode?Qe.IsFeiertag_DE:Qe.IsFeiertag_BG,!1===Xe&&(Qe.Background=this.DB.Urlaubsfaben.Geplant,Qe.IsUrlaub=!0,Qe.Color="white",Ct++);this.DB.CurrentUrlaubzeitspanne.Tageanzahl=Ct,nt=this.DB.CountResturlaub(),nt-Ct>=0?this.AddUrlaubFinished.emit(!0):(this.Tools.ShowHinweisDialog("Du hast nur noch "+nt+" Tage Resturlaub."),this.DB.CurrentUrlaubzeitspanne=null,window.setTimeout(()=>{for(let hn=ot;hn>=0;hn--)Qe=this.Kalendertageliste[Ze][hn],Xe="DE"===this.DB.Laendercode?Qe.IsFeiertag_DE:Qe.IsFeiertag_BG,!1===Xe&&(Qe.Background="none",Qe.IsUrlaub=!1,Qe.Color="black");this.AddUrlaubFinished.emit(!1)},3e3))}else this.Tools.ShowHinweisDialog("Bitte Tag in der gleichen Woche w\xe4hlen.");else this.Tools.ShowHinweisDialog(Xe?"Dieser Tag ist ein Feiertag.":tn?"Dieser Tag ist ein Homeofficetag.":"Dieser Tag ist bereits ein Urlaubstag.");this.AddHomeofficerunning&&(!1===Xe&&!1===Pt&&!1===tn?(this.DB.CurrentHomeofficezeitspanne=this.DB.GetEmptyHomeofficezeitspanne(),this.DB.CurrentHomeofficezeitspanne.Startstempel=Pe.Tagstempel,this.DB.CurrentHomeofficezeitspanne.Endestempel=Pe.Tagstempel,this.DB.CurrentHomeofficezeitspanne.Startstring=Pe.Datumstring,this.DB.CurrentHomeofficezeitspanne.Endestring=Pe.Datumstring,this.DB.CurrentHomeofficezeitspanne.Tageanzahl=1,Qe=this.Kalendertageliste[Ze][ot],Qe.Background=this.DB.Homeofficefarben.Geplant,Qe.IsHomeoffice=!0,Qe.Color="white"):this.Tools.ShowHinweisDialog(Xe?"Dieser Tag ist ein Feiertag.":Pt?"Dieser Tag ist ein Urlaubstag.":"Dieser Tag ist bereits ein Homeofficetag."),this.AddHomeofficeEvent.emit(!0))}catch(tt){this.Debug.ShowErrorMessage(tt,"Urlaubsplanung Kalender","TagClicked",this.Debug.Typen.Component)}}GetMonatname(){try{let Pe=this.Monatname;return this.ShowYear&&(Pe+=" "+this.Jahr),Pe}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Kalender","GetMonatname",this.Debug.Typen.Component)}}GetTagBackground(Pe){try{return!0===Pe.IsUrlaub||!0===Pe.IsHomeoffice?Pe.Background:"none"}catch(Ze){this.Debug.ShowErrorMessage(Ze,"Urlaubsplanung Kalender","GetTagBackground",this.Debug.Typen.Component)}}static \u0275fac=function(Ze){return new(Ze||ve)(l.\u0275\u0275directiveInject(e.DebugProvider),l.\u0275\u0275directiveInject(u.BasicsProvider),l.\u0275\u0275directiveInject(c.DatabasePoolService),l.\u0275\u0275directiveInject(g.DisplayService),l.\u0275\u0275directiveInject(v.DatabaseUrlaubService),l.\u0275\u0275directiveInject(p.ToolsProvider),l.\u0275\u0275directiveInject(S.ConstProvider))};static \u0275cmp=l.\u0275\u0275defineComponent({type:ve,selectors:[["urlaubsplanung-kalender"]],inputs:{ShowProtokollpunkte:"ShowProtokollpunkte",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex",Monatindex:"Monatindex",Jahr:"Jahr",AddUrlaubRunning:"AddUrlaubRunning",AddHomeofficerunning:"AddHomeofficerunning",ShowYear:"ShowYear"},outputs:{FeiertagCrossedEvent:"FeiertagCrossedEvent",FerientagCrossedEvent:"FerientagCrossedEvent",AddUrlaubFinished:"AddUrlaubFinished",AddHomeofficeEvent:"AddHomeofficeEvent"},features:[l.\u0275\u0275NgOnChangesFeature],decls:1,vars:1,consts:[["class","frameclass",4,"ngIf"],[1,"frameclass"],["width","100%",1,"paddingsmalltable"],["colspan","8",2,"font-size","120%","font-weight","bold","color","black","text-align","center"],[2,"width","12%"],[1,"tagrahmenclass"],[1,"taginfodivclass"],[4,"ngFor","ngForOf"],["class","taginfospacedivclass",4,"ngIf"],[3,"color",4,"ngFor","ngForOf"],[1,"taginfospacedivclass"],[4,"ngIf"],[1,"wochenendedivclass"],["class","wochenendespacedivclass",4,"ngIf"],[1,"wochenendespacedivclass"],[1,"tagrahmenclass",3,"click"],[1,"tagdivclass"],[2,"text-align","center"],["class","feriendivclass",3,"background","mouseenter","mouseleave",4,"ngIf"],["class","feiertagdivclass",3,"background","mouseenter","mouseleave",4,"ngIf"],[1,"feriendivclass",3,"mouseenter","mouseleave"],["name","school-outline","color","weiss","style","font-size: 18px",4,"ngIf"],["name","school-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","gelb","style","font-size: 18px",4,"ngIf"],["name","school-outline","color","gelb",2,"font-size","18px"],[1,"feiertagdivclass",3,"mouseenter","mouseleave"],["name","flag-outline","color","weiss","style","font-size: 18px",4,"ngIf"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","flag-outline","color","gelb","style","font-size: 18px",4,"ngIf"],["name","flag-outline","color","gelb",2,"font-size","18px"],["class","tagexterndivclass",3,"background",4,"ngIf"],["class","tagexternemptydivclass",4,"ngIf"],[1,"tagexterndivclass"],[1,"tagexternemptydivclass"]],template:function(Ze,ot){1&Ze&&l.\u0275\u0275template(0,ye,39,2,"div",0),2&Ze&&l.\u0275\u0275property("ngIf",null!==ot.Pool.Mitarbeitersettings)},dependencies:[C.NgForOf,C.NgIf,_.IonIcon],styles:[".frameclass[_ngcontent-%COMP%]{border:1px solid #307ac1;background:#fff;color:#fff;padding:4px;width:100%;height:100%}.tagrahmenclass[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;border:1px solid #444444}.feiertagdivclass[_ngcontent-%COMP%], .feriendivclass[_ngcontent-%COMP%]{width:100%;height:20px;cursor:pointer;display:flex;justify-content:center;align-items:center}.taginfodivclass[_ngcontent-%COMP%]{font-weight:700;width:100%;display:flex;justify-content:center;align-items:center;height:inherit;height:36px;color:#307ac1}.taginfospacedivclass[_ngcontent-%COMP%]{height:20px;width:100%}.wochenendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:100%;display:flex;justify-content:center;align-items:center;height:36px;background:#34495e}.wochenendespacedivclass[_ngcontent-%COMP%]{background:#34495e;height:20px;width:100%}.tagdivclass[_ngcontent-%COMP%]{cursor:pointer;font-weight:700;color:#000;width:100%;height:36px;display:flex;justify-content:center;align-items:center}.tagexterndivclass[_ngcontent-%COMP%]{border-top:1px solid red;cursor:pointer;color:#fff;font-size:80%;width:100%;height:20px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.tagexternemptydivclass[_ngcontent-%COMP%]{border-top:1px solid;cursor:pointer;color:#fff;font-size:80%;width:100%;height:20px;display:flex;box-sizing:border-box;justify-content:center;align-items:center}.buttoninfoclass[_ngcontent-%COMP%]{width:100%;height:10px;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%}.kwdivclass[_ngcontent-%COMP%]{border-radius:50px;height:38px;background:none;color:#000;display:flex;justify-content:center;align-items:center;cursor:pointer}"]})}return ve})()},44180:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Fachbereiche=void 0,h.Fachbereiche=class o{_Elektrotechnik={Bezeichnung:"Elektrotechnik",Kuerzel:"ELT",Key:"ELT"};_BMA={Bezeichnung:"Brandmeldeanlage",Kuerzel:"BMA",Key:"BMA"};_EMA={Bezeichnung:"Einbruchmeldeanlage",Kuerzel:"EMA",Key:"EMA"};_GMA={Bezeichnung:"Gefahrenmeldeanlage",Kuerzel:"GMA",Key:"GMA"};_Aufzug={Bezeichnung:"F\xf6rderanlagen",Kuerzel:"Aufzug",Key:"Aufzug"};_Unbekannt={Bezeichnung:"Unbekannt",Kuerzel:"Unbekannt",Key:"Unbekannt"};_HLS={Bezeichnung:"Heizung, L\xfcftung, Sanit\xe4r",Kuerzel:"HLS",Key:"HLS"};_HLSE={Bezeichnung:"Heizung, L\xfcftung, Sanit\xe4r, Elektro",Kuerzel:"HLSE",Key:"HLSE"};_H={Bezeichnung:"Heizung",Kuerzel:"H",Key:"H"};_L={Bezeichnung:"L\xfcftung",Kuerzel:"L",Key:"L"};_S={Bezeichnung:"Sanit\xe4r",Kuerzel:"S",Key:"S"};_K={Bezeichnung:"Klimatisierung",Kuerzel:"K",Key:"K"};_MSR={Bezeichnung:"Messen, Steuern, Regeln",Kuerzel:"MSR",Key:"MSR"};_Geschaeftsfuehrung={Bezeichnung:"Gesch\xe4ftsfuehrung",Kuerzel:"GF",Key:"GF"};_Assistenz={Bezeichnung:"Assistenz",Kuerzel:"AS",Key:"AS"};_Prokurist={Bezeichnung:"Prokurist",Kuerzel:"PRO",Key:"PRO"};_Planer={Bezeichnung:"Planer",Kuerzel:"PLAN",Key:"Planer"};_Teamleitung={Bezeichnung:"Teamleitung",Kuerzel:"TL",Key:"TL"};_Projektleitung={Bezeichnung:"Projektleitung",Kuerzel:"PL",Key:"PL"};_Studentin={Bezeichnung:"Student/in",Kuerzel:"STUDI",Key:"STUDI"};_Auszubildende={Bezeichnung:"Auszubildende/r",Kuerzel:"AZUBI",Key:"AZUBI"};_Objektueberwachung={Bezeichnung:"_Objekt\xfcberwachung",Kuerzel:"O\xdc",Key:"OUE"};_Buchhaltung={Bezeichnung:"Buchhaltung",Kuerzel:"BH",Key:"BH"};_Marketing={Bezeichnung:"Marketing",Kuerzel:"MA",Key:"MA"};_Praktikantin={Bezeichnung:"Praktikant/in",Kuerzel:"PA",Key:"PA"};_IT={Bezeichnung:"IT - Abteilung",Kuerzel:"IT",Key:"IT"};_Controlling={Bezeichnung:"Controlling",Kuerzel:"CO",Key:"CO"};_Techniker={Bezeichnung:"Techniker/in",Kuerzel:"TECH",Key:"TECH"};_Niederlassungsleitung={Bezeichnung:"Niederlassungsleitung",Kuerzel:"NL",Key:"NL"};_Architektin={Bezeichnung:"Architekt/in",Kuerzel:"AR",Key:"AR"};_Kauffrau={Bezeichnung:"Kauffrau/mann",Kuerzel:"KF",Key:"KF"};_HR={Bezeichnung:"Human Resources",Kuerzel:"HR",Key:"HR"};_Test={Bezeichnung:"Test",Kuerzel:"TEST",Key:"TEST"};Gewerkeliste;constructor(){this.Gewerkeliste=[],this.Gewerkeliste.push(this.GetFachbereichbyKey("ELT")),this.Gewerkeliste.push(this.GetFachbereichbyKey("Unbekannt")),this.Gewerkeliste.push(this.GetFachbereichbyKey("HLS")),this.Gewerkeliste.push(this.GetFachbereichbyKey("HLSE")),this.Gewerkeliste.push(this.GetFachbereichbyKey("H")),this.Gewerkeliste.push(this.GetFachbereichbyKey("L")),this.Gewerkeliste.push(this.GetFachbereichbyKey("S")),this.Gewerkeliste.push(this.GetFachbereichbyKey("K")),this.Gewerkeliste.push(this.GetFachbereichbyKey("MSR")),this.Gewerkeliste.push(this.GetFachbereichbyKey("GF")),this.Gewerkeliste.push(this.GetFachbereichbyKey("AS")),this.Gewerkeliste.push(this.GetFachbereichbyKey("PRO")),this.Gewerkeliste.push(this.GetFachbereichbyKey("Planer")),this.Gewerkeliste.push(this.GetFachbereichbyKey("TL")),this.Gewerkeliste.push(this.GetFachbereichbyKey("PL")),this.Gewerkeliste.push(this.GetFachbereichbyKey("STUDI")),this.Gewerkeliste.push(this.GetFachbereichbyKey("AZUBI")),this.Gewerkeliste.push(this.GetFachbereichbyKey("OUE")),this.Gewerkeliste.push(this.GetFachbereichbyKey("BH")),this.Gewerkeliste.push(this.GetFachbereichbyKey("MA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("PA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("IT")),this.Gewerkeliste.push(this.GetFachbereichbyKey("CO")),this.Gewerkeliste.push(this.GetFachbereichbyKey("TECH")),this.Gewerkeliste.push(this.GetFachbereichbyKey("NL")),this.Gewerkeliste.push(this.GetFachbereichbyKey("AR")),this.Gewerkeliste.push(this.GetFachbereichbyKey("KF")),this.Gewerkeliste.push(this.GetFachbereichbyKey("HR")),this.Gewerkeliste.push(this.GetFachbereichbyKey("BMA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("EMA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("GMA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("Aufzug"));for(let i of this.Gewerkeliste)i.Visible=!0;this.Gewerkeliste.sort((i,d)=>i.Bezeichnungd.Bezeichnung?1:0)}get Elektrotechnik(){return this._Elektrotechnik}get BMA(){return this._BMA}get EMA(){return this._EMA}get GMA(){return this._GMA}get Aufzug(){return this._Aufzug}get Unbekannt(){return this._Unbekannt}get HLS(){return this._HLS}get HLSE(){return this._HLSE}get H(){return this._H}get L(){return this._L}get S(){return this._S}get K(){return this._K}get MSR(){return this._MSR}get Geschaeftsfuehrung(){return this._Geschaeftsfuehrung}get Assistenz(){return this._Assistenz}get Prokurist(){return this._Prokurist}get Planer(){return this._Planer}get Teamleitung(){return this._Teamleitung}get Projektleitung(){return this._Projektleitung}get Studentin(){return this._Studentin}get Auszubildende(){return this._Auszubildende}get Objektueberwachung(){return this._Objektueberwachung}get Buchhaltung(){return this._Buchhaltung}get Marketing(){return this._Marketing}get Praktikantin(){return this._Praktikantin}get IT(){return this._IT}get Controlling(){return this._Controlling}get Niederlassungsleitung(){return this._Niederlassungsleitung}get Architektin(){return this._Architektin}get Kauffrau(){return this._Kauffrau}get HR(){return this._HR}get Techniker(){return this._Techniker}GetFachbereichbyKey(i){switch(i){case"ELT":return this._Elektrotechnik;case"Unbekannt":default:return this._Unbekannt;case"HLS":return this._HLS;case"HLSE":return this._HLSE;case"H":return this._H;case"L":return this._L;case"S":return this._S;case"K":return this._K;case"MSR":return this._MSR;case"GF":return this._Geschaeftsfuehrung;case"AS":return this._Assistenz;case"PRO":return this._Prokurist;case"Planer":return this._Planer;case"TL":return this._Teamleitung;case"PL":return this._Projektleitung;case"STUDI":return this._Studentin;case"AZUBI":return this._Auszubildende;case"OUE":return this._Objektueberwachung;case"BH":return this._Buchhaltung;case"MA":return this._Marketing;case"PA":return this._Praktikantin;case"IT":return this._IT;case"CO":return this._Controlling;case"TECH":return this._Techniker;case"NL":return this._Niederlassungsleitung;case"AR":return this._Architektin;case"KF":return this._Kauffrau;case"HR":return this._HR;case"BMA":return this._BMA;case"EMA":return this._EMA;case"GMA":return this._GMA;case"Aufzug":return this._Aufzug}}}},37724:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonDebugPageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),l=o(10716),e=o(66788),u=o(70216),c=o(6512),g=o(90520),v=o(6168),p=o(15756),S=o(7388),C=n.__importStar(o(54496)),f=(n.__importStar(o(56568)),[{path:"",component:e.CommonDebugPage}]);h.CommonDebugPageModule=(()=>{class b{static \u0275fac=function(A){return new(A||b)};static \u0275mod=C.\u0275\u0275defineNgModule({type:b});static \u0275inj=C.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,l.IonicModule,a.RouterModule.forChild(f),u.PageHeaderModule,c.AbstandElementFixedModule,d.ReactiveFormsModule,g.PageFooterModule,v.PageHeaderMenuModule,p.PrettyjsonModule,S.CheckboxClonModule]})}return b})()},66788:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonDebugPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),a=n.__importStar(o(34388)),l=n.__importStar(o(19668)),e=n.__importStar(o(29743)),u=n.__importStar(o(44716)),c=n.__importStar(o(97048)),g=n.__importStar(o(7992)),v=n.__importStar(o(97092)),p=n.__importStar(o(91368)),S=n.__importStar(o(10716)),C=n.__importStar(o(90212)),_=n.__importStar(o(73088)),f=n.__importStar(o(29856)),y=n.__importStar(o(63792)),b=n.__importStar(o(25856));function E(A,I){if(1&A&&(i.\u0275\u0275elementStart(0,"tr")(1,"td"),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"td"),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"td"),i.\u0275\u0275text(6),i.\u0275\u0275elementEnd()()),2&A){const F=I.$implicit;i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(F.Message),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",F.Color),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate(F.Message),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(F.Function)}}h.CommonDebugPage=(()=>{class A{Basics;Debug;Tools;Const;fb;http;Pool;AuthService;Title;constructor(F,j,T,P,x,N,O,H){this.Basics=F,this.Debug=j,this.Tools=T,this.Const=P,this.fb=x,this.http=N,this.Pool=O,this.AuthService=H}ngOnInit(){}ionViewDidEnter(){try{this.Title="Debug"}catch(F){this.Debug.ShowErrorMessage(F.message,"Debug","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnDestroy(){}ClearMessagesButtonCLcicked(){try{this.Debug.Debugmessageliste=[]}catch(F){this.Debug.ShowErrorMessage(F.message,"Debug","ClearMessagesButtonCLcicked",this.Debug.Typen.Page)}}ChangeShowHomeScreenInfos(F){try{this.Basics.ShowHomeScreenInfos=F.status}catch(j){this.Debug.ShowErrorMessage(j,"Debug","ChangeShowHomeScreenInfos",this.Debug.Typen.Page)}}DebugNoExternalEmailChanged(F){try{this.Basics.DebugNoExternalEmail=F.status}catch(j){this.Debug.ShowErrorMessage(j,"Debug","DebugNoExternalEmailChanged",this.Debug.Typen.Page)}}TestButtonChlicked(){}static \u0275fac=function(j){return new(j||A)(i.\u0275\u0275directiveInject(d.BasicsProvider),i.\u0275\u0275directiveInject(a.DebugProvider),i.\u0275\u0275directiveInject(l.ToolsProvider),i.\u0275\u0275directiveInject(e.ConstProvider),i.\u0275\u0275directiveInject(u.FormBuilder),i.\u0275\u0275directiveInject(c.HttpClient),i.\u0275\u0275directiveInject(g.DatabasePoolService),i.\u0275\u0275directiveInject(v.DatabaseAuthenticationService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:A,selectors:[["common-debug-page"]],decls:47,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[3,"click"],[1,"docinnertable"],[2,"font-weight","bold"],[4,"ngFor","ngForOf"],["PageFooter",""]],template:function(j,T){1&j&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu",2),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"ion-grid")(6,"ion-row")(7,"ion-col")(8,"table",3)(9,"tr")(10,"td")(11,"checkbox-clon",4),i.\u0275\u0275listener("CheckChanged",function(x){return T.ChangeShowHomeScreenInfos(x)}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(12,"td"),i.\u0275\u0275text(13," Zeige Homescreen Zusatzinformationen "),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col")(16,"table",3)(17,"tr")(18,"td")(19,"checkbox-clon",4),i.\u0275\u0275listener("CheckChanged",function(x){return T.DebugNoExternalEmailChanged(x)}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(20,"td"),i.\u0275\u0275text(21," Keine Emails nach au\xdfen senden -> nur an p.hornburger@gmail.com "),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(22,"ion-row")(23,"ion-col")(24,"table")(25,"tr")(26,"td")(27,"ion-button",5),i.\u0275\u0275listener("click",function(){return T.TestButtonChlicked()}),i.\u0275\u0275text(28,"Test"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(29,"td")(30,"ion-button",5),i.\u0275\u0275listener("click",function(){return T.ClearMessagesButtonCLcicked()}),i.\u0275\u0275text(31,"Clear Messages"),i.\u0275\u0275elementEnd()()()()()()(),i.\u0275\u0275elementStart(32,"table",6)(33,"tr")(34,"td",7),i.\u0275\u0275text(35,"Skpript"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(36,"td",7),i.\u0275\u0275text(37,"Message"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(38,"td",7),i.\u0275\u0275text(39,"Funktion"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(40,E,7,5,"tr",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(41,"br")(42,"br")(43,"abstand-element-fixed"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(44,"ion-footer"),i.\u0275\u0275element(45,"page-footer",null,9),i.\u0275\u0275elementEnd()),2&j&&(i.\u0275\u0275advance(3),i.\u0275\u0275property("ShowSuchleiste",!1),i.\u0275\u0275advance(8),i.\u0275\u0275property("Checked",T.Basics.ShowHomeScreenInfos),i.\u0275\u0275advance(8),i.\u0275\u0275property("Checked",T.Basics.DebugNoExternalEmail),i.\u0275\u0275advance(21),i.\u0275\u0275property("ngForOf",T.Debug.Debugmessageliste))},dependencies:[p.NgForOf,S.IonButton,S.IonCol,S.IonContent,S.IonFooter,S.IonGrid,S.IonHeader,S.IonRow,C.PageHeaderComponent,_.AbstandElementFixedComponent,f.PageFooterComponent,y.PageHeaderMenuComponent,b.CheckboxClonComponent],styles:[".menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return A})()},66068:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonEinstellungenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),l=o(42764),e=o(70216),u=o(56568),c=o(6168),g=o(90520),v=o(7388),p=o(72284),S=o(10272),C=o(2300),_=o(84104),f=n.__importStar(o(54496)),b=(n.__importStar(o(56568)),[{path:"",component:l.CommonEinstellungenPage}]);h.CommonEinstellungenPageModule=(()=>{class M{static \u0275fac=function(F){return new(F||M)};static \u0275mod=f.\u0275\u0275defineNgModule({type:M});static \u0275inj=f.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(b),c.PageHeaderMenuModule,g.PageFooterModule,v.CheckboxClonModule,p.ButtonValueModule,S.AuswahlDialogModule,C.EditorComponent,_.SafePipeModule]})}return M})()},42764:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonEinstellungenPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(15024)),a=n.__importStar(o(7992)),l=n.__importStar(o(29743)),e=n.__importStar(o(14652)),u=n.__importStar(o(34388)),c=n.__importStar(o(91368)),g=n.__importStar(o(10716)),v=n.__importStar(o(90212)),p=n.__importStar(o(63792)),S=n.__importStar(o(29856)),C=n.__importStar(o(25856)),_=n.__importStar(o(13228)),f=n.__importStar(o(56584)),y=n.__importStar(o(66144));function b(F,j){if(1&F&&(i.\u0275\u0275elementStart(0,"td")(1,"span"),i.\u0275\u0275text(2,"Testgr\xf6\xdfentest"),i.\u0275\u0275elementEnd()()),2&F){const T=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275styleProp("font-size",T.Pool.Mitarbeitersettings.Textsize,"px")}}function E(F,j){if(1&F){const T=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"table",10)(1,"tr")(2,"td",11)(3,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(T);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.FavoritenanzahlClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(4,"td",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"tr")(6,"td",11)(7,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(T);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.MeilensteineNachlaufClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(8,"td",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"tr")(10,"td",11)(11,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(T);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.ZoomfaktorClicked())}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(12,"tr")(13,"td",11)(14,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(T);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.TextsizeClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(15,"td",14),i.\u0275\u0275template(16,b,3,2,"td",5),i.\u0275\u0275elementEnd()()}if(2&F){const T=i.\u0275\u0275nextContext();i.\u0275\u0275advance(3),i.\u0275\u0275property("Buttontext","Anzahl der Favoriten pro Zeile")("Wert_A",T.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten.toString())("Buttoncolor",T.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(4),i.\u0275\u0275property("Buttontext","Meilensteine anzeigen nach Erledigung")("Wert_A",T.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf.toString()+" Kalenderwochen")("Buttoncolor",T.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(4),i.\u0275\u0275property("Buttontext","Zoomfaktor")("Wert_A",T.Pool.Mitarbeitersettings.Zoomfaktor.toString())("Buttoncolor",T.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(3),i.\u0275\u0275property("Buttontext","Textgr\xf6\xdfe")("Wert_A",T.Pool.Mitarbeitersettings.Textsize.toString()+" Pixel")("Buttoncolor",T.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",null!==T.Pool.Mitarbeitersettings)}}function M(F,j){if(1&F){const T=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"table",10)(4,"tr")(5,"td")(6,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Nummer"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(7,"td"),i.\u0275\u0275text(8,"Nummer"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Startdatum"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(12,"td"),i.\u0275\u0275text(13,"Startdatum"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(14,"tr")(15,"td")(16,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Aufgabe"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(17,"td"),i.\u0275\u0275text(18,"Aufgabe"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(19,"tr")(20,"td")(21,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Bemerkungen"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(22,"td"),i.\u0275\u0275text(23,"Bemerkungen"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(24,"tr")(25,"td")(26,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Fortschritt"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(27,"td"),i.\u0275\u0275text(28,"Fortschritt"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(29,"tr")(30,"td")(31,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Zeitansatz"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(32,"td"),i.\u0275\u0275text(33,"Zeitansatz"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(34,"tr")(35,"td")(36,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Termin"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(37,"td"),i.\u0275\u0275text(38,"Termin"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(39,"tr")(40,"td")(41,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Tage"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(42,"td"),i.\u0275\u0275text(43,"Tage"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(44,"tr")(45,"td")(46,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Zustaendig"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(47,"td"),i.\u0275\u0275text(48,"Zust\xe4ndig"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(49,"tr")(50,"td")(51,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Status"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(52,"td"),i.\u0275\u0275text(53,"Status"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(54,"tr")(55,"td")(56,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Meintag"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(57,"td"),i.\u0275\u0275text(58,"Meintag"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(59,"tr")(60,"td")(61,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Meine Woche"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(62,"td"),i.\u0275\u0275text(63,"Meine Woche"),i.\u0275\u0275elementEnd()()()()()()}if(2&F){const T=i.\u0275\u0275nextContext();i.\u0275\u0275advance(6),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowNummer),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowStartdatum),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowAufgabe),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowBemerkung),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowFortschritt),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowZeitansatz),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowTermin),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowTage),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowZustaendig),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowStatus),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowMeintag),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowMeinewoche)}}function A(F,j){if(1&F){const T=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"auswahl-dialog",16),i.\u0275\u0275listener("OkClickedEvent",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.AuswahlOkButtonClicked(x))})("CancelClickedEvent",function(){i.\u0275\u0275restoreView(T);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.ShowAuswahl=!1)}),i.\u0275\u0275elementEnd()}if(2&F){const T=i.\u0275\u0275nextContext();i.\u0275\u0275property("Auswahlliste",T.Auswahlliste)("Auswahlindex",T.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",T.Auswahltitel)("Iconname","apps-outline")}}h.CommonEinstellungenPage=(()=>{class F{MitarbeitersettingsDB;Pool;Const;Basics;Debug;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahldialogorigin;Editorconfig;Signatur;Mitarbeitersubscription;constructor(T,P,x,N,O){this.MitarbeitersettingsDB=T,this.Pool=P,this.Const=x,this.Basics=N,this.Debug=O;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.ShowAuswahl=!1,this.Signatur=this.Const.NONE,this.Auswahldialogorigin=this.Const.NONE,this.Mitarbeitersubscription=null,this.Editorconfig={menubar:!1,statusbar:!1,language:"de",browser_spellcheck:!0,height:800,auto_focus:!0,content_style:"body { color: black; margin: 0; line-height: 0.9; }, ",base_url:"assets/tinymce",suffix:".min",toolbar:[{name:"styles",items:["forecolor","backcolor"]},{name:"formatting",items:["bold","italic","underline","strikethrough"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]}]}}catch(H){this.Debug.ShowErrorMessage(H.message,"Einstellungen","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.Mitarbeitersubscription.unsubscribe(),this.Mitarbeitersubscription=null}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Mitarbeitersubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","OnInit",this.Debug.Typen.Page)}}ListesettingCheckChanged(T,P){try{switch(P){case"Nummer":this.Pool.Mitarbeitersettings.AufgabenShowNummer=T.status;break;case"Startdatum":this.Pool.Mitarbeitersettings.AufgabenShowStartdatum=T.status;break;case"Aufgabe":this.Pool.Mitarbeitersettings.AufgabenShowAufgabe=T.status;break;case"Bemerkungen":this.Pool.Mitarbeitersettings.AufgabenShowBemerkung=T.status;break;case"Fortschritt":this.Pool.Mitarbeitersettings.AufgabenShowFortschritt=T.status;break;case"Tage":this.Pool.Mitarbeitersettings.AufgabenShowTage=T.status;break;case"Zeitansatz":this.Pool.Mitarbeitersettings.AufgabenShowZeitansatz=T.status;break;case"Termin":this.Pool.Mitarbeitersettings.AufgabenShowTermin=T.status;break;case"Zustaendig":this.Pool.Mitarbeitersettings.AufgabenShowZustaendig=T.status;break;case"Status":this.Pool.Mitarbeitersettings.AufgabenShowStatus=T.status;break;case"Meintag":this.Pool.Mitarbeitersettings.AufgabenShowMeintag=T.status;break;case"Meine Woche":this.Pool.Mitarbeitersettings.AufgabenShowMeinewoche=T.status}this.MitarbeitersettingsDB.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{}).catch(x=>{this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Settings","ListesettingCheckChanged",this.Debug.Typen.Page)})}catch(x){this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Settings","ListesettingCheckChanged",this.Debug.Typen.Page)}}SignaturTextChangedHandler(T){}FavoritenanzahlClicked(){try{this.Auswahldialogorigin="Favoritenanzahl",this.ShowAuswahl=!0,this.Auswahltitel="Favoritenanzahl festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"4",SecoundColumn:"",Data:4}),this.Auswahlliste.push({Index:1,FirstColumn:"5",SecoundColumn:"",Data:5}),this.Auswahlliste.push({Index:2,FirstColumn:"6",SecoundColumn:"",Data:6}),this.Auswahlliste.push({Index:3,FirstColumn:"7",SecoundColumn:"",Data:7}),this.Auswahlliste.push({Index:4,FirstColumn:"8",SecoundColumn:"",Data:8}),this.Auswahlliste.push({Index:5,FirstColumn:"9",SecoundColumn:"",Data:9}),this.Auswahlliste.push({Index:6,FirstColumn:"10",SecoundColumn:"",Data:10}),this.Auswahlliste.push({Index:7,FirstColumn:"11",SecoundColumn:"",Data:11}),this.Auswahlliste.push({Index:8,FirstColumn:"12",SecoundColumn:"",Data:12}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T.message,"Mitarbeiter Settings","FavoritenanzahlClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(T){try{switch(this.Auswahldialogorigin){case"Favoritenanzahl":this.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten=T;break;case"MeielnsteineNachlauf":this.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf=T;break;case"Zoomfaktor":this.Pool.Mitarbeitersettings.Zoomfaktor=T;break;case"Textgroesse":this.Pool.Mitarbeitersettings.Textsize=T}this.MitarbeitersettingsDB.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{switch(this.Auswahldialogorigin){case"Favoritenanzahl":case"MeielnsteineNachlauf":break;case"Zoomfaktor":this.Pool.MitarbeitersettingsChanged.emit()}}).catch(P=>{this.Debug.ShowErrorMessage(P.message,"Einstellungen","MaxFavoritenanzahlChanged",this.Debug.Typen.Page)}),this.ShowAuswahl=!1}catch(P){this.Debug.ShowErrorMessage(P.message,"Einstellungen","AuswahlOkButtonClicked",this.Debug.Typen.Page)}}MeilensteineNachlaufClicked(){try{this.Auswahldialogorigin="MeielnsteineNachlauf",this.ShowAuswahl=!0,this.Auswahltitel="Mailensteine Nachlauf festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"1 Kalderwoche",SecoundColumn:"",Data:1}),this.Auswahlliste.push({Index:1,FirstColumn:"2 Kalenderwochen",SecoundColumn:"",Data:2}),this.Auswahlliste.push({Index:2,FirstColumn:"3 Kalenderwochen",SecoundColumn:"",Data:3}),this.Auswahlliste.push({Index:3,FirstColumn:"4 Kalenderwochen",SecoundColumn:"",Data:4}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T.message,"Einstellungen","MeilensteineNachlaufClicked",this.Debug.Typen.Page)}}ZoomfaktorClicked(){try{this.Auswahldialogorigin="Zoomfaktor",this.ShowAuswahl=!0,this.Auswahltitel="Zoomfaktor festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"120",SecoundColumn:"",Data:120}),this.Auswahlliste.push({Index:1,FirstColumn:"110",SecoundColumn:"",Data:110}),this.Auswahlliste.push({Index:2,FirstColumn:"100",SecoundColumn:"",Data:100}),this.Auswahlliste.push({Index:3,FirstColumn:"90",SecoundColumn:"",Data:90}),this.Auswahlliste.push({Index:4,FirstColumn:"80",SecoundColumn:"",Data:80}),this.Auswahlliste.push({Index:5,FirstColumn:"70",SecoundColumn:"",Data:70}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.Zoomfaktor),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","ZoomfaktorClicked",this.Debug.Typen.Page)}}TextsizeClicked(){this.Auswahldialogorigin="Textgroesse",this.ShowAuswahl=!0,this.Auswahltitel="Textgr\xf6\xdfe",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"10",SecoundColumn:"",Data:10}),this.Auswahlliste.push({Index:1,FirstColumn:"12",SecoundColumn:"",Data:12}),this.Auswahlliste.push({Index:2,FirstColumn:"14",SecoundColumn:"",Data:14}),this.Auswahlliste.push({Index:3,FirstColumn:"16",SecoundColumn:"",Data:16}),this.Auswahlliste.push({Index:4,FirstColumn:"18",SecoundColumn:"",Data:18}),this.Auswahlliste.push({Index:5,FirstColumn:"20",SecoundColumn:"",Data:20}),this.Auswahlliste.push({Index:6,FirstColumn:"22",SecoundColumn:"",Data:22}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.Textsize),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","ZoomfaktorClicked",this.Debug.Typen.Page)}replaceAll(T,P,x){return T.split(P).join(x)}PrepareData(){try{this.Signatur=this.Pool.GetFilledSignatur(this.Pool.Mitarbeiterdaten,!0)}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","PrepareData",this.Debug.Typen.Page)}}static \u0275fac=function(P){return new(P||F)(i.\u0275\u0275directiveInject(d.DatabaseMitarbeitersettingsService),i.\u0275\u0275directiveInject(a.DatabasePoolService),i.\u0275\u0275directiveInject(l.ConstProvider),i.\u0275\u0275directiveInject(e.BasicsProvider),i.\u0275\u0275directiveInject(u.DebugProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:F,selectors:[["common-einstellungen-page"]],decls:17,vars:7,consts:[[1,"ion-no-border"],["PageHeader",""],[2,"width","100%"],["valign","top",2,"width","auto"],["class","paddingtable",4,"ngIf"],[4,"ngIf"],[2,"width","800px","padding","6px"],[2,"width","800px","height","800px","border","1px solid gray","padding","4px","border-radius","4px",3,"innerHTML"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[1,"paddingtable"],[2,"width","460px"],[3,"Buttontext","Wert_A","Buttoncolor","ButtonClicked"],["colspan","2"],[2,"width","10px"],[3,"Checked","CheckChanged"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(P,x){1&P&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"table",2)(6,"tr")(7,"td",3),i.\u0275\u0275template(8,E,17,13,"table",4)(9,M,64,12,"ion-grid",5),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(10,"td",6),i.\u0275\u0275element(11,"div",7),i.\u0275\u0275pipe(12,"safe"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(13,"ion-footer"),i.\u0275\u0275element(14,"page-footer",null,8),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(16,A,1,6,"auswahl-dialog",9)),2&P&&(i.\u0275\u0275advance(8),i.\u0275\u0275property("ngIf",null!==x.Pool.Mitarbeitersettings),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null!==x.Pool.Mitarbeitersettings),i.\u0275\u0275advance(2),i.\u0275\u0275property("innerHTML",i.\u0275\u0275pipeBind2(12,4,x.Signatur,"html"),i.\u0275\u0275sanitizeHtml),i.\u0275\u0275advance(5),i.\u0275\u0275property("ngIf",x.ShowAuswahl))},dependencies:[c.NgIf,g.IonCol,g.IonContent,g.IonFooter,g.IonGrid,g.IonHeader,g.IonRow,v.PageHeaderComponent,p.PageHeaderMenuComponent,S.PageFooterComponent,C.CheckboxClonComponent,_.ButtonValueComponent,f.AuswahlDialogComponent,y.SafePipe],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]})}return F})()},27735:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonHomePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),l=o(10716),e=o(45884),u=o(70216),c=o(6512),g=o(90520),v=o(12095),p=n.__importStar(o(54496)),C=(n.__importStar(o(56568)),[{path:"",component:e.CommonHomePage}]);h.CommonHomePageModule=(()=>{class f{static \u0275fac=function(E){return new(E||f)};static \u0275mod=p.\u0275\u0275defineNgModule({type:f});static \u0275inj=p.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,l.IonicModule,a.RouterModule.forChild(C),u.PageHeaderModule,c.AbstandElementFixedModule,d.ReactiveFormsModule,g.PageFooterModule,v.FiChangelogEditorModule]})}return f})()},45884:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonHomePage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),l=o(80103),e=o(21112),u=o(36716),c=i.__importStar(o(54496)),g=i.__importStar(o(14652)),v=i.__importStar(o(34388)),p=i.__importStar(o(19668)),S=i.__importStar(o(29743)),C=i.__importStar(o(7992)),_=i.__importStar(o(9028)),f=i.__importStar(o(8608)),y=i.__importStar(o(51708)),b=i.__importStar(o(97092)),E=i.__importStar(o(15024)),M=i.__importStar(o(59460)),A=i.__importStar(o(91368)),I=i.__importStar(o(10716)),F=i.__importStar(o(90212)),j=i.__importStar(o(29856)),T=i.__importStar(o(64168));function P($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"td",12),c.\u0275\u0275element(2,"div",13),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(3,"td",7),c.\u0275\u0275elementStart(4,"td")(5,"div",8),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.DebugMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.DebugMouseOver=!1)})("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.DebugButtonClicked())}),c.\u0275\u0275elementStart(6,"table",9)(7,"tr")(8,"td"),c.\u0275\u0275element(9,"ion-icon",14),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"td"),c.\u0275\u0275text(11,"Debug"),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275element(12,"td",7),c.\u0275\u0275elementStart(13,"td")(14,"div",8),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.EinstellungenMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.EinstellungenMouseOver=!1)})("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.EinstellungenButtonClicked())}),c.\u0275\u0275elementStart(15,"table",9)(16,"tr")(17,"td"),c.\u0275\u0275element(18,"ion-icon",15),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(19,"td"),c.\u0275\u0275text(20,"Einstellungen"),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275elementContainerEnd()}if(2&$){const ee=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(5),c.\u0275\u0275styleProp("cursor",ee.DebugMouseOver?"pointer":"default"),c.\u0275\u0275advance(4),c.\u0275\u0275property("color",ee.DebugMouseOver?ee.Basics.Ionicfarben.Schwarz:ee.Basics.Ionicfarben.Weiss),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color",ee.DebugMouseOver?"#000000":"white"),c.\u0275\u0275advance(4),c.\u0275\u0275styleProp("cursor",ee.EinstellungenMouseOver?"pointer":"default"),c.\u0275\u0275advance(4),c.\u0275\u0275property("color",ee.EinstellungenMouseOver?ee.Basics.Ionicfarben.Schwarz:ee.Basics.Ionicfarben.Weiss),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color",ee.EinstellungenMouseOver?"#000000":"white")}}function x($,le){if(1&$&&(c.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),c.\u0275\u0275element(3,"img",17),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(4,"td",7),c.\u0275\u0275elementEnd()()),2&$){const ee=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(3),c.\u0275\u0275property("src",ee.GraphService.UserimageSRC,c.\u0275\u0275sanitizeUrl)}}function N($,le){if(1&$&&(c.\u0275\u0275elementStart(0,"div",18),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&$){const ee=c.\u0275\u0275nextContext(3);c.\u0275\u0275styleProp("background",ee.Basics.Farben.Grau),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",null!==ee.Pool.Mitarbeiterdaten?ee.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function O($,le){if(1&$&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,x,5,1,"table",2)(2,N,2,3,"div",16),c.\u0275\u0275elementContainerEnd()),2&$){const ee=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",null!==ee.GraphService.UserimageSRC),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",null===ee.GraphService.UserimageSRC)}}function H($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"table",5)(2,"tr")(3,"td",6)(4,"table")(5,"tr"),c.\u0275\u0275element(6,"td",7),c.\u0275\u0275elementStart(7,"td")(8,"div",8),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.LogoutMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.LogoutMouseOver=!1)})("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.LogoutButtonClicked())}),c.\u0275\u0275elementStart(9,"table",9)(10,"tr")(11,"td"),c.\u0275\u0275element(12,"ion-icon",10),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(13,"td"),c.\u0275\u0275text(14,"Abmelden"),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275element(15,"td",7),c.\u0275\u0275template(16,P,21,10,"ng-container",2),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(17,"td",11),c.\u0275\u0275template(18,O,3,2,"ng-container",2),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementContainerEnd()}if(2&$){const ee=c.\u0275\u0275nextContext();c.\u0275\u0275advance(8),c.\u0275\u0275styleProp("cursor",ee.LogoutMouseOver?"pointer":"default"),c.\u0275\u0275advance(4),c.\u0275\u0275property("color",ee.LogoutMouseOver?ee.Basics.Ionicfarben.Schwarz:ee.Basics.Ionicfarben.Weiss),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color",ee.LogoutMouseOver?"#000000":"white"),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",!1===ee.environment.production),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",!1===ee.AuthService.ShowLogin)}}function G($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",42),c.\u0275\u0275listener("click",function(){const Oe=c.\u0275\u0275restoreView(ee).$implicit,ve=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ve.ChangelogClicked(Oe))}),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(4,"td")(5,"div",42),c.\u0275\u0275listener("click",function(){const Oe=c.\u0275\u0275restoreView(ee).$implicit,ve=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ve.ChangelogClicked(Oe))}),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(7,"td")(8,"div",42),c.\u0275\u0275listener("click",function(){const Oe=c.\u0275\u0275restoreView(ee).$implicit,ve=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ve.ChangelogClicked(Oe))}),c.\u0275\u0275text(9),c.\u0275\u0275elementEnd()()()}if(2&$){const ee=le.$implicit,we=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(we.GetDatum(ee.Zeitstempel)),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(ee.Version),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(ee.Beschreibung)}}function te($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",34)(1,"table",35)(2,"tr")(3,"td",36),c.\u0275\u0275text(4,"Change Log"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(5,"tr",37)(6,"td"),c.\u0275\u0275text(7,"Datum"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(8,"td"),c.\u0275\u0275text(9,"Version"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"td"),c.\u0275\u0275text(11,"Beschreibung"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(12,G,10,3,"tr",38),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(13,"ion-button",39),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.AddChangelogClicked())}),c.\u0275\u0275element(14,"ion-icon",40),c.\u0275\u0275elementStart(15,"ion-text",41),c.\u0275\u0275text(16,"Neuer Eintrag"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(17,"table",35)(18,"tr")(19,"td")(20,"b"),c.\u0275\u0275text(21,"Build:"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(22,"td"),c.\u0275\u0275text(23),c.\u0275\u0275elementEnd()()()()}if(2&$){const ee=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(3),c.\u0275\u0275styleProp("color",ee.Basics.Farben.BAEBlau),c.\u0275\u0275advance(9),c.\u0275\u0275property("ngForOf",ee.Pool.Changlogliste),c.\u0275\u0275advance(),c.\u0275\u0275property("color","grau"),c.\u0275\u0275advance(10),c.\u0275\u0275textInterpolate(ee.Basics.AppBuild)}}function ue($,le){1&$&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"div",52),c.\u0275\u0275element(2,"img",53),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}function se($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td")(3,"div",43),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ye.StandorteButtonClicked())})("mouseenter",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ye.StandortMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ye.StandortMouseOver=!1)}),c.\u0275\u0275elementStart(4,"table")(5,"tr")(6,"td",24),c.\u0275\u0275element(7,"ion-icon",44),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(8,"tr")(9,"td",31)(10,"table")(11,"tr")(12,"td",45),c.\u0275\u0275text(13),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(14,"td",46),c.\u0275\u0275elementStart(15,"td")(16,"ion-text",47),c.\u0275\u0275text(17,"Standorte"),c.\u0275\u0275elementEnd()()()()()()()()(),c.\u0275\u0275elementStart(18,"td"),c.\u0275\u0275element(19,"div",48),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(20,"td")(21,"div",43),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ye.MitarbeiterButtonClicked())})("mouseenter",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ye.MitarbeiterMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ye.MitarbeiterMouseOver=!1)}),c.\u0275\u0275elementStart(22,"table")(23,"tr")(24,"td",24)(25,"div",49)(26,"div",50),c.\u0275\u0275element(27,"ion-icon",51),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(28,ue,3,0,"ng-container",2),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(29,"tr")(30,"td",31)(31,"table")(32,"tr")(33,"td",45),c.\u0275\u0275text(34),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(35,"td",46),c.\u0275\u0275elementStart(36,"td",31)(37,"ion-text",47),c.\u0275\u0275text(38,"Mitarbeiter"),c.\u0275\u0275elementEnd()()()()()()()()()()()}if(2&$){const ee=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(7),c.\u0275\u0275property("color",ee.StandortMouseOver?ee.Basics.Ionicfarben.BAEBlau:ee.Basics.Ionicfarben.BurnicklGrau),c.\u0275\u0275advance(5),c.\u0275\u0275styleProp("color",ee.Basics.Farben.BAEBlau),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",ee.Pool.Standorteliste.length," "),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.Grau),c.\u0275\u0275advance(3),c.\u0275\u0275styleProp("background",ee.Basics.Farben.Grau),c.\u0275\u0275advance(8),c.\u0275\u0275property("color",ee.MitarbeiterMouseOver?ee.Basics.Ionicfarben.BAEBlau:ee.Basics.Ionicfarben.BurnicklGrau),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",null!==ee.Pool.Mitarbeiterdaten&&!1===ee.CheckAllMitarbeiterdaten()),c.\u0275\u0275advance(5),c.\u0275\u0275styleProp("color",ee.Basics.Farben.BAEBlau),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",ee.CountMitarbeiter()," "),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.Grau)}}function K($,le){if(1&$&&(c.\u0275\u0275elementStart(0,"table",5)(1,"tr")(2,"td",24),c.\u0275\u0275template(3,se,39,13,"table",2),c.\u0275\u0275elementEnd()()()),2&$){const ee=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",null!==ee.Pool.Mitarbeiterdaten&&!0===ee.Pool.Mitarbeiterdaten.Planeradministrator)}}function Z($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,te,24,5,"div",19),c.\u0275\u0275elementStart(2,"div",20)(3,"div",21)(4,"ion-grid")(5,"ion-row")(6,"ion-col",22),c.\u0275\u0275element(7,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(8,"ion-row")(9,"ion-col")(10,"table",5)(11,"tr")(12,"td",24),c.\u0275\u0275element(13,"img",25),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",22),c.\u0275\u0275element(16,"div",26),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(17,"ion-row")(18,"ion-col")(19,"div",27),c.\u0275\u0275template(20,K,4,1,"table",28),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(21,"ion-row")(22,"ion-col",22),c.\u0275\u0275element(23,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col",22),c.\u0275\u0275element(26,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"table",5)(30,"tr")(31,"td",24)(32,"table")(33,"tr")(34,"td")(35,"div",29),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.PlanerButtonClicked())}),c.\u0275\u0275elementStart(36,"table",5)(37,"tr")(38,"td",24),c.\u0275\u0275element(39,"ion-icon",30),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(40,"tr")(41,"td",31)(42,"ion-text",32),c.\u0275\u0275text(43,"Urlaub - Homeoffice - Planer"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(44,"tr")(45,"td",33),c.\u0275\u0275text(46),c.\u0275\u0275elementEnd()()()()()()()()()()()()()()(),c.\u0275\u0275elementContainerEnd()}if(2&$){const ee=c.\u0275\u0275nextContext();c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",ee.Basics.ShowHomeScreenInfos),c.\u0275\u0275advance(19),c.\u0275\u0275property("ngIf",!1===ee.Pool.ShowProgress),c.\u0275\u0275advance(19),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.BAEBlau),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.Grau),c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate2(" Version: ",ee.Basics.AppVersionName," / ",ee.Basics.AppVersionDatum," ")}}function re($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"div",54)(2,"ion-grid")(3,"ion-row")(4,"ion-col",22),c.\u0275\u0275element(5,"div",55),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"table",5)(9,"tr")(10,"td",24),c.\u0275\u0275element(11,"img",25),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275elementStart(12,"ion-row")(13,"ion-col"),c.\u0275\u0275element(14,"div",26),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col",22)(17,"table",5)(18,"tr")(19,"td",24)(20,"div",56)(21,"table",5)(22,"tr")(23,"td",24),c.\u0275\u0275element(24,"ion-icon",30),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(25,"tr")(26,"td",31)(27,"ion-text",32),c.\u0275\u0275text(28,"Urlaub - Homeoffice - Planer"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(29,"tr")(30,"td",33),c.\u0275\u0275text(31),c.\u0275\u0275elementEnd()()()()()()()()(),c.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col")(34,"table",5)(35,"tr")(36,"td",57)(37,"ion-button",58),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.LoginButtonClicked())}),c.\u0275\u0275text(38,"Login"),c.\u0275\u0275elementEnd()()()()()()()(),c.\u0275\u0275elementContainerEnd()}if(2&$){const ee=c.\u0275\u0275nextContext();c.\u0275\u0275advance(24),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.BAEBlau),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.Grau),c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate2(" Version: ",ee.Basics.AppVersionName," / ",ee.Basics.AppVersionDatum," "),c.\u0275\u0275advance(6),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.BAEBlau)}}function J($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"fi-changelog-editor",59),c.\u0275\u0275listener("OkClickedEvent",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.ShowChangelogEditor=!1)})("CancelClickedEvent",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.ShowChangelogEditor=!1)})("DeleteClickedEvent",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.ShowChangelogEditor=!1)}),c.\u0275\u0275elementEnd()}}h.CommonHomePage=(()=>{class ${Basics;Debug;Tools;Const;Pool;authService;msalBroadcastService;GraphService;DBChangelog;AuthService;DBMitarbeitersettings;Menuservice;Title;StandortMouseOver;MitarbeiterMouseOver;ProjekteMouseOver;FavoritenMouseOver;LogoutMouseOver;DebugMouseOver;EinstellungenMouseOver;PlayMouseOver;BackgroundimageURL;Backgroundinterval;ShowChangelogEditor;ChangelogSubscription;ProgressMessage;ReloadMouseOver;UrlaubMouseOver;constructor(ee,we,ye,Oe,ve,_e,Pe,Ze,ot,tt,mt,Qe){this.Basics=ee,this.Debug=we,this.Tools=ye,this.Const=Oe,this.Pool=ve,this.authService=_e,this.msalBroadcastService=Pe,this.GraphService=Ze,this.DBChangelog=ot,this.AuthService=tt,this.DBMitarbeitersettings=mt,this.Menuservice=Qe;try{this.StandortMouseOver=!1,this.MitarbeiterMouseOver=!1,this.ProjekteMouseOver=!1,this.FavoritenMouseOver=!1,this.LogoutMouseOver=!1,this.DebugMouseOver=!1,this.EinstellungenMouseOver=!1,this.PlayMouseOver=!1,this.BackgroundimageURL="../../../assets/background/"+d.random(1,36,!1).toString()+".jpg",this.Backgroundinterval=null,this.ShowChangelogEditor=!1,this.ChangelogSubscription=null,this.ProgressMessage="",this.ReloadMouseOver=!1,this.UrlaubMouseOver=!1}catch(Ct){this.Debug.ShowErrorMessage(Ct.message,"Home","constructor",this.Debug.Typen.Page)}}ngOnInit(){try{this.ChangelogSubscription=this.Pool.ChangeloglisteChanged.subscribe(()=>{this.PrepareDaten()}),this.msalBroadcastService.msalSubject$.pipe((0,l.filter)(ee=>ee.eventType===e.EventType.LOGIN_SUCCESS)).subscribe(ee=>{const we=ee.payload;this.authService.instance.setActiveAccount(we.account),this.AuthService.ActiveUser=we.account,this.AuthService.SetShowLoginStatus(),this.AuthService.LoginSuccessEvent.emit()})}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","OnInit",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Home}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){try{this.Backgroundinterval=null}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","ionViewDidLeave",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ChangelogSubscription.unsubscribe()}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","OnDestroy",this.Debug.Typen.Page)}}FavoritChangedHandler(ee){}DebugButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.DebugPage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","DebugButtonClicked",this.Debug.Typen.Page)}}EinstellungenButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.EinstellungenPage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","EinstellungenButtonClicked",this.Debug.Typen.Page)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","LogoutButtonClicked",this.Debug.Typen.Page)}}LoginButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Login()}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","LoginButtonClicked",this.Debug.Typen.Page)}}StandorteButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.FiStandortelistePage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","StandorteButtonClicked",this.Debug.Typen.Page)}}MitarbeiterButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.FiMitarbeiterlistePage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","MitarbeiterButtonClicked",this.Debug.Typen.Page)}}PlanerButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Tools.SetRootPage(this.Const.Pages.UrlaubPlanungPage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","PlanerButtonClicked",this.Debug.Typen.Page)}}ProjekteButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.PjListePage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","ProjekteButtonClicked",this.Debug.Typen.Page)}}FavoritenButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.PjFavoritenlistePage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","FavoritenButtonClicked",this.Debug.Typen.Page)}}PlayButtonClicked(){return n(function*(){})()}GetFavoritenlistehoehe(){try{let ee=0;return null!==this.Pool.Mitarbeiterdaten&&(ee=0===this.Pool.Mitarbeiterdaten.Favoritenliste.length?2:this.Pool.Mitarbeiterdaten.Favoritenliste.length),0===ee&&(ee=1),50*ee}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","GetFavoritenlistehoehe",this.Debug.Typen.Page)}}AddChangelogClicked(){try{this.DBChangelog.CurrentChangelog=this.DBChangelog.GetEmptyChangelog(),this.ShowChangelogEditor=!0}catch(ee){this.Debug.ShowErrorMessage(ee,"Home","AddChangelogClicked",this.Debug.Typen.Page)}}GetDatum(ee){try{return(0,a.default)(ee).format("DD.MM.YYYY")}catch(we){this.Debug.ShowErrorMessage(we,"Home","GetDatum",this.Debug.Typen.Page)}}ChangelogClicked(ee){try{this.DBChangelog.CurrentChangelog=d.cloneDeep(ee),this.ShowChangelogEditor=!0}catch(we){this.Debug.ShowErrorMessage(we,"Home","ChangelogClicked",this.Debug.Typen.Page)}}PrepareDaten(){try{let ee;this.Pool.Changlogliste.length>0?(ee=this.Pool.Changlogliste[0],this.Basics.AppVersionName=ee.Version,this.Basics.AppVersionDatum=(0,a.default)(ee.Zeitstempel).format("DD.MM.YYYY")):(this.Basics.AppVersionName="none",this.Basics.AppVersionDatum="none")}catch(ee){this.Debug.ShowErrorMessage(ee,"Home","PrepareDaten",this.Debug.Typen.Page)}}CountMitarbeiter(){try{return d.filter(this.Pool.Mitarbeiterliste,ee=>!ee.Archiviert).length.toString()}catch(ee){this.Debug.ShowErrorMessage(ee,"Home","CountMitarbeiter",this.Debug.Typen.Page)}}CountProjekte(){try{return 0}catch(ee){this.Debug.ShowErrorMessage(ee,"Home","CountProjekte",this.Debug.Typen.Page)}}RelaodButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.PlayButtonClicked()}catch(ee){this.Debug.ShowErrorMessage(ee,"Home","RelaodButtonClicked",this.Debug.Typen.Page)}}environment=u.environment;CheckAllMitarbeiterdaten(){try{let ee=!0;for(let we of this.Pool.Mitarbeiterliste)!1===we.Archiviert&&(""===we.Kuerzel||""===we.StandortID)&&(ee=!1);return ee}catch(ee){this.Debug.ShowErrorMessage(ee,"Home","CheckAllMitarbeiterdaten",this.Debug.Typen.Page)}}static \u0275fac=function(we){return new(we||$)(c.\u0275\u0275directiveInject(g.BasicsProvider),c.\u0275\u0275directiveInject(v.DebugProvider),c.\u0275\u0275directiveInject(p.ToolsProvider),c.\u0275\u0275directiveInject(S.ConstProvider),c.\u0275\u0275directiveInject(C.DatabasePoolService),c.\u0275\u0275directiveInject(_.MsalService),c.\u0275\u0275directiveInject(_.MsalBroadcastService),c.\u0275\u0275directiveInject(f.Graphservice),c.\u0275\u0275directiveInject(y.DatabaseChangelogService),c.\u0275\u0275directiveInject(b.DatabaseAuthenticationService),c.\u0275\u0275directiveInject(E.DatabaseMitarbeitersettingsService),c.\u0275\u0275directiveInject(M.MenueService))};static \u0275cmp=c.\u0275\u0275defineComponent({type:$,selectors:[["common-home-page"]],decls:11,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[4,"ngIf"],["PageFooter",""],[3,"OkClickedEvent","CancelClickedEvent","DeleteClickedEvent",4,"ngIf"],[2,"width","100%"],[2,"width","50%"],[2,"width","10px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","log-out-outline",3,"color"],["align","right","valign","middle",2,"width","50%"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],["name","bug-outline",3,"color"],["name","settings-outline",3,"color"],["class","userkuerzelsmall",3,"background",4,"ngIf"],[1,"userimagesmall",3,"src"],[1,"userkuerzelsmall"],["class","changelogdiv",4,"ngIf"],[2,"width","100%","height","100%","background","#F2F4F4"],[2,"position","absolute","width","100%","height","100%","z-index","2"],["size","12"],[2,"height","20px"],["align","center"],["src","assets/images/group_logo.png",2,"height","100px"],[2,"height","40px"],[2,"height","140px","width","100%","background","none"],["style","width: 100%;",4,"ngIf"],[1,"buttonbigclass",3,"click"],["name","sunny-outline",2,"font-size","120px",3,"color"],[2,"text-align","center"],[2,"font-size","26px",3,"color"],[2,"text-align","center","font-size","90%","color","gray"],[1,"changelogdiv"],[1,"paddingtable",2,"font-size","80%"],["colspan","3",2,"font-size","140%","font-weight","bold"],[2,"font-weight","bold","color","#454545"],[4,"ngFor","ngForOf"],["size","small",3,"color","click"],["name","add-circle-outline","color","weiss","slot","start",2,"font-size","90%"],["color","weiss",2,"font-size","80%"],[2,"width","100%","cursor","pointer",3,"click"],[1,"buttonclass",3,"click","mouseenter","mouseleave"],["name","location-outline",2,"font-size","80px",3,"color"],[2,"font-size","22px","font-weight","bold"],[2,"width","4px"],[2,"font-size","22px",3,"color"],[1,"trennerdiv"],[2,"height","90px","width","100px","background","none","position","relative"],[1,"projektbuttoniconclass"],["name","people-outline",2,"font-size","80px",3,"color"],[1,"projektbuttoniconerrorclass"],["src","/assets/svgs/alert.svg",2,"height","44px"],[2,"width","100%","height","100%","background","#F2F4F4","z-index","10"],[2,"height","30px"],[1,"buttonbigclass",2,"z-index","100"],[2,"text-align","center","vertical-align","center","height","100px"],[3,"color","click"],[3,"OkClickedEvent","CancelClickedEvent","DeleteClickedEvent"]],template:function(we,ye){1&we&&(c.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),c.\u0275\u0275template(3,H,19,7,"ng-container",2),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(4,"ion-content"),c.\u0275\u0275template(5,Z,47,6,"ng-container",2)(6,re,39,5,"ng-container",2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(7,"ion-footer"),c.\u0275\u0275element(8,"page-footer",null,3),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(10,J,1,0,"fi-changelog-editor",4)),2&we&&(c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",!1===ye.AuthService.ShowLogin),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",!1===ye.AuthService.ShowLogin),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",!0===ye.AuthService.ShowLogin),c.\u0275\u0275advance(4),c.\u0275\u0275property("ngIf",ye.ShowChangelogEditor))},dependencies:[A.NgForOf,A.NgIf,I.IonButton,I.IonCol,I.IonContent,I.IonFooter,I.IonGrid,I.IonHeader,I.IonIcon,I.IonRow,I.IonText,F.PageHeaderComponent,j.PageFooterComponent,T.FiChangelogEditorComponent],styles:[".projektbuttoniconclass[_ngcontent-%COMP%]{height:90px;width:100px;z-index:100;position:absolute;display:flex;justify-content:center;align-items:center}.projektbuttoniconerrorclass[_ngcontent-%COMP%]{height:90px;width:100px;z-index:200;position:absolute;display:flex;justify-content:center;align-items:center}.trennerdiv[_ngcontent-%COMP%]{width:100px;height:10px;border-radius:4px;margin:6px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.buttonclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:160px;height:140px;cursor:pointer;background:#fff}.changelogdiv[_ngcontent-%COMP%]{border:2px solid gray;border-radius:10px;width:360px;height:300px;position:absolute;padding:8px;left:20px;bottom:20px;background:#fff;z-index:1000;overflow:auto}.outputdiv[_ngcontent-%COMP%]{border:2px solid gray;border-radius:10px;width:500px;height:600px;position:absolute;padding:8px;left:20px;top:560px;background:#fff;z-index:1000;overflow:auto}.userimagesmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-top:4px;border-radius:50%;object-fit:cover}.userimage[_ngcontent-%COMP%]{display:inline-block;width:60px;height:60px;border-radius:50%;object-fit:cover}.userkuerzelsmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-right:4px;border-radius:50%;display:flex;justify-content:center;align-items:center;color:#fff;font-weight:700}.buttonbigclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:360px;height:220px;cursor:pointer;background:#fff}.buttonsmallclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:80px;height:80px;cursor:pointer;background:#fff}.favlistedivclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:400px;cursor:pointer;background:#fff;overflow:auto}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return $})()},64316:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonPdfViewerPageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),l=o(10716),e=o(95896),u=o(70216),c=o(84104),g=o(76688),v=o(90520),p=n.__importStar(o(54496)),C=(n.__importStar(o(56568)),[{path:"",component:e.CommonPdfviewPage}]);h.CommonPdfViewerPageModule=(()=>{class f{static \u0275fac=function(E){return new(E||f)};static \u0275mod=p.\u0275\u0275defineNgModule({type:f});static \u0275inj=p.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,l.IonicModule,u.PageHeaderModule,a.RouterModule.forChild(C),c.SafePipeModule,g.PdfViewerModule,v.PageFooterModule]})}return f})()},95896:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonPdfviewPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),a=n.__importStar(o(34388)),l=n.__importStar(o(29743)),e=n.__importStar(o(19668)),u=n.__importStar(o(34396)),c=n.__importStar(o(8608)),g=n.__importStar(o(33940)),v=n.__importStar(o(91368)),p=n.__importStar(o(10716)),S=n.__importStar(o(90212)),C=n.__importStar(o(76688)),_=n.__importStar(o(29856));function f(b,E){if(1&b&&i.\u0275\u0275element(0,"pdf-viewer",12),2&b){const M=i.\u0275\u0275nextContext();i.\u0275\u0275property("src",M.GraphService.CurrentPDFDownload.url)("render-text",!0)("original-size",!0)}}h.CommonPdfviewPage=(()=>{class b{Basics;Debug;Const;Tools;Fehlerservice;GraphService;LoadingAnimation;Titel="Zoomtest";BackMouseOver;constructor(M,A,I,F,j,T,P){this.Basics=M,this.Debug=A,this.Const=I,this.Tools=F,this.Fehlerservice=j,this.GraphService=T,this.LoadingAnimation=P;try{this.BackMouseOver=!1}catch(x){this.Debug.ShowErrorMessage(x.message,"Common PDF Viewer","Constructor",this.Debug.Typen.Page)}}BackButtonClicked(){try{this.Tools.PopPage()}catch(M){this.Debug.ShowErrorMessage(M.message,"Common PDF Viewer","BackButtonClicked",this.Debug.Typen.Component)}}static \u0275fac=function(A){return new(A||b)(i.\u0275\u0275directiveInject(d.BasicsProvider),i.\u0275\u0275directiveInject(a.DebugProvider),i.\u0275\u0275directiveInject(l.ConstProvider),i.\u0275\u0275directiveInject(e.ToolsProvider),i.\u0275\u0275directiveInject(u.ErrorService),i.\u0275\u0275directiveInject(c.Graphservice),i.\u0275\u0275directiveInject(g.LoadingAnimationService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:b,selectors:[["common-pdfview-page"]],decls:27,vars:7,consts:[[1,"ion-no-border"],[2,"width","100%"],[2,"width","50%"],[2,"width","10px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","caret-back-circle-outline",3,"color"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],[2,"font-size","100%","color","white"],["style","width: 100%; height: 100%",3,"src","render-text","original-size",4,"ngIf"],["PageFooter",""],[2,"width","100%","height","100%",3,"src","render-text","original-size"]],template:function(A,I){1&A&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header")(2,"table",1)(3,"tr")(4,"td",2)(5,"table")(6,"tr"),i.\u0275\u0275element(7,"td",3),i.\u0275\u0275elementStart(8,"td")(9,"div",4),i.\u0275\u0275listener("mouseenter",function(){return I.BackMouseOver=!0})("mouseleave",function(){return I.BackMouseOver=!1})("click",function(){return I.BackButtonClicked()}),i.\u0275\u0275elementStart(10,"table",5)(11,"tr")(12,"td"),i.\u0275\u0275element(13,"ion-icon",6),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"td"),i.\u0275\u0275text(15,"Zur\xfcck"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275element(16,"td",3),i.\u0275\u0275elementStart(17,"td",7),i.\u0275\u0275element(18,"div",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(19,"td",3),i.\u0275\u0275elementStart(20,"td",9),i.\u0275\u0275text(21),i.\u0275\u0275elementEnd()()()()()()()(),i.\u0275\u0275elementStart(22,"ion-content"),i.\u0275\u0275template(23,f,1,3,"pdf-viewer",10),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(24,"ion-footer"),i.\u0275\u0275element(25,"page-footer",null,11),i.\u0275\u0275elementEnd()),2&A&&(i.\u0275\u0275advance(9),i.\u0275\u0275styleProp("cursor",I.BackMouseOver?"pointer":"default"),i.\u0275\u0275advance(4),i.\u0275\u0275property("color",I.BackMouseOver?I.Basics.Ionicfarben.Schwarz:I.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",I.BackMouseOver?"black":"white"),i.\u0275\u0275advance(7),i.\u0275\u0275textInterpolate(null!==I.GraphService.CurrentPDFDownload?I.GraphService.CurrentPDFDownload.name:""),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",null!==I.GraphService.CurrentPDFDownload))},dependencies:[v.NgIf,p.IonContent,p.IonFooter,p.IonHeader,p.IonIcon,S.PageHeaderComponent,C.PdfViewerComponent,_.PageFooterComponent],styles:[".trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return b})()},79112:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonTestseitePageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),l=o(5944),e=o(70216),u=o(56568),c=o(6168),g=o(90520),v=n.__importStar(o(54496)),S=(n.__importStar(o(56568)),[{path:"",component:l.CommonTestseitePage}]);h.CommonTestseitePageModule=(()=>{class _{static \u0275fac=function(b){return new(b||_)};static \u0275mod=v.\u0275\u0275defineNgModule({type:_});static \u0275inj=v.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(S),c.PageHeaderMenuModule,g.PageFooterModule]})}return _})()},5944:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonTestseitePage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(59460)),a=n.__importStar(o(34388)),l=n.__importStar(o(10716)),e=n.__importStar(o(90212)),u=n.__importStar(o(63792)),c=n.__importStar(o(29856));h.CommonTestseitePage=(()=>{class v{Menuservice;Debug;constructor(S,C){this.Menuservice=S,this.Debug=C}ngOnInit(){}static \u0275fac=function(C){return new(C||v)(i.\u0275\u0275directiveInject(d.MenueService),i.\u0275\u0275directiveInject(a.DebugProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:v,selectors:[["common-testseite-page"]],decls:24,vars:3,consts:[[1,"ion-no-border"],["PageHeader",""],[1,"paddingtable"],["PageFooter",""]],template:function(C,_){1&C&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"table",2)(6,"tr")(7,"td"),i.\u0275\u0275text(8,"Mainmenu Bereich: "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"td"),i.\u0275\u0275text(10),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(11,"tr")(12,"td"),i.\u0275\u0275text(13,"Firmamenu Bereich:"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"td"),i.\u0275\u0275text(15),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(16,"tr")(17,"td"),i.\u0275\u0275text(18,"Projektmenu Bereich:"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(19,"td"),i.\u0275\u0275text(20),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(21,"ion-footer"),i.\u0275\u0275element(22,"page-footer",null,3),i.\u0275\u0275elementEnd()),2&C&&(i.\u0275\u0275advance(10),i.\u0275\u0275textInterpolate(_.Menuservice.MainMenuebereich),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(_.Menuservice.FirmaMenuebereich),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(_.Menuservice.ProjekteMenuebereich))},dependencies:[l.IonContent,l.IonFooter,l.IonHeader,e.PageHeaderComponent,u.PageHeaderMenuComponent,c.PageFooterComponent],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]})}return v})()},53964:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubEinstellungenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),l=o(79444),e=o(70216),u=o(56568),c=o(6168),g=o(90520),v=o(6232),p=o(72284),S=o(10272),C=o(7388),_=o(27328),f=o(26668),y=n.__importStar(o(54496)),E=(n.__importStar(o(56568)),[{path:"",component:l.CommonUrlaubEinstellungenPage}]);h.CommonUrlaubEinstellungenPageModule=(()=>{class A{static \u0275fac=function(j){return new(j||A)};static \u0275mod=y.\u0275\u0275defineNgModule({type:A});static \u0275inj=y.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(E),c.PageHeaderMenuModule,g.PageFooterModule,v.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,C.CheckboxClonModule,_.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return A})()},79444:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubEinstellungenPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),l=o(17964),e=i.__importStar(o(54496)),u=i.__importStar(o(14652)),c=i.__importStar(o(7992)),g=i.__importStar(o(9544)),v=i.__importStar(o(22848)),p=i.__importStar(o(29743)),S=i.__importStar(o(58864)),C=i.__importStar(o(15024)),_=i.__importStar(o(48044)),f=i.__importStar(o(34388)),y=i.__importStar(o(91368)),b=i.__importStar(o(10716)),E=i.__importStar(o(90212)),M=i.__importStar(o(63792)),A=i.__importStar(o(29856)),I=i.__importStar(o(13228)),F=i.__importStar(o(56584)),j=i.__importStar(o(25856)),T=i.__importStar(o(80887)),P=["PageHeader"],x=["PageFooter"];function N(ee,we){if(1&ee&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",11),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&ee){const ye=we.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.Vorname+" "+ye.Name)}}function O(ee,we){if(1&ee&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,N,3,1,"tr",15),e.\u0275\u0275elementContainerEnd()),2&ee){const ye=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ye.Projektbeteiligteliste)}}function H(ee,we){1&ee&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td"),e.\u0275\u0275element(3,"img",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"td"),e.\u0275\u0275text(5," Bitte w\xe4hle hier alle Personen aus mit denen du regelm\xe4\xdfig zusammenarbeitest,"),e.\u0275\u0275element(6,"br"),e.\u0275\u0275text(7,"oder Personen die eventuell deine Urlaubsvertretung \xfcbernehmen k\xf6nnen. "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function G(ee,we){1&ee&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"img",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4," Bitte zust\xe4ndige Person f\xfcr die Urlaubsfreigaben festlegen. "),e.\u0275\u0275elementEnd()())}function te(ee,we){if(1&ee&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"ion-radio",20),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()),2&ee){const ye=we.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("value",ye._id),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.Vorname+" "+ye.Name)}}function ue(ee,we){1&ee&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"img",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4," Bitte zust\xe4ndige Person f\xfcr die Homeofficefreigaben festlegen. "),e.\u0275\u0275elementEnd()())}function se(ee,we){if(1&ee&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"ion-radio",20),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()),2&ee){const ye=we.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("value",ye._id),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.Vorname+" "+ye.Name)}}function K(ee,we){if(1&ee){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",21),e.\u0275\u0275listener("CheckChanged",function(ve){const Pe=e.\u0275\u0275restoreView(ye).$implicit,Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.FerienBlockedChanged(ve,Pe.Anfangstempel))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()}if(2&ee){const ye=we.$implicit,Oe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Oe.CheckFerienBlocker(ye.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Oe.GetDatum(ye.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Oe.GetDatum(ye.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.Name)}}function Z(ee,we){if(1&ee){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",21),e.\u0275\u0275listener("CheckChanged",function(ve){const Pe=e.\u0275\u0275restoreView(ye).$implicit,Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.FeiertagBlockedChanged(ve,Pe.Anfangstempel))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()}if(2&ee){const ye=we.$implicit,Oe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Oe.CheckFeiertagBlocker(ye.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Oe.GetDatum(ye.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Oe.GetDatum(ye.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.Name)}}function re(ee,we){if(1&ee){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col",8)(3,"ion-text",9)(4,"b"),e.\u0275\u0275text(5,"Projekt beteiligte Mitarbeiter/innen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",8)(8,"table",10),e.\u0275\u0275template(9,O,2,1,"ng-container",3)(10,H,8,0,"ng-container",3),e.\u0275\u0275elementStart(11,"tr")(12,"td",11)(13,"ion-button",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.MitarbeiterAuswahlClicked())}),e.\u0275\u0275text(14,"Mitarbeiter/innen ausw\xe4hlen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col")(17,"ion-text",9)(18,"b"),e.\u0275\u0275text(19,"Urlaubsfreigaben"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",13)(22,"ion-radio-group",14),e.\u0275\u0275listener("ionChange",function(ve){e.\u0275\u0275restoreView(ye);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.UrlaubsfreigeberChanged(ve))}),e.\u0275\u0275elementStart(23,"table",10),e.\u0275\u0275template(24,G,5,0,"tr",3)(25,te,5,2,"tr",15),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(26,"ion-row")(27,"ion-col")(28,"ion-text",9)(29,"b"),e.\u0275\u0275text(30,"Homeofficefreigaben"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(31,"ion-row")(32,"ion-col",13)(33,"ion-radio-group",14),e.\u0275\u0275listener("ionChange",function(ve){e.\u0275\u0275restoreView(ye);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.HomeofficefreigeberChanged(ve))}),e.\u0275\u0275elementStart(34,"table",10),e.\u0275\u0275template(35,ue,5,0,"tr",3)(36,se,5,2,"tr",15),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(37,"ion-row")(38,"ion-col")(39,"ion-text",9)(40,"b"),e.\u0275\u0275text(41,"Urlaubstage"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(42,"ion-row")(43,"ion-col",13)(44,"button-value",16),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.UrlaubClickedEvent())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(45,"ion-row")(46,"ion-col",13)(47,"button-value",16),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.ResturlaubClickedEvent())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(48,"ion-row")(49,"ion-col",17)(50,"ion-text",9)(51,"b"),e.\u0275\u0275text(52,"Schulferien"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(53,"ion-col",17)(54,"ion-text",9)(55,"b"),e.\u0275\u0275text(56,"Feiertage"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(57,"ion-row")(58,"ion-col",17)(59,"table",10)(60,"tr",18),e.\u0275\u0275element(61,"td"),e.\u0275\u0275elementStart(62,"td"),e.\u0275\u0275text(63,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(64,"td"),e.\u0275\u0275text(65,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(66,"td"),e.\u0275\u0275text(67,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(68,K,9,4,"tr",15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(69,"ion-col",17)(70,"table",10)(71,"tr",18),e.\u0275\u0275element(72,"td"),e.\u0275\u0275elementStart(73,"td"),e.\u0275\u0275text(74,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(75,"td"),e.\u0275\u0275text(76,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(77,"td"),e.\u0275\u0275text(78,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(79,Z,9,4,"tr",15),e.\u0275\u0275elementEnd()()()()}if(2&ee){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",ye.Projektbeteiligteliste.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===ye.Projektbeteiligteliste.length),e.\u0275\u0275advance(12),e.\u0275\u0275property("value",ye.DB.CurrentUrlaub.UrlaubsfreigeberID),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null===ye.DB.CurrentUrlaub.UrlaubsfreigeberID),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ye.Urlaubsfreigeberliste),e.\u0275\u0275advance(8),e.\u0275\u0275property("value",ye.DB.CurrentUrlaub.HomeofficefreigeberID),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null===ye.DB.CurrentUrlaub.HomeofficefreigeberID),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ye.Homeofficefreigeberliste),e.\u0275\u0275advance(8),e.\u0275\u0275property("Buttontext","Urlaubsanspruch "+ye.DB.Jahr.toString())("Wert_A",ye.DB.CurrentMitarbeiter.Urlaub.toString()+" Tage"),e.\u0275\u0275advance(3),e.\u0275\u0275property("Buttontext","Resturlaub "+(ye.DB.Jahr-1).toString())("Wert_A",ye.GetResturlaub()),e.\u0275\u0275advance(21),e.\u0275\u0275property("ngForOf",ye.Ferienliste),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngForOf",ye.Feiertageliste)}}function J(ee,we){if(1&ee){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",22),e.\u0275\u0275listener("OkClickedEvent",function(ve){e.\u0275\u0275restoreView(ye);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.AuswahlOkButtonClicked(ve))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&ee){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",ye.Auswahlliste)("Auswahlindex",ye.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",ye.Auswahltitel)("Iconname","")}}function Y(ee,we){if(1&ee){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",23),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(ve){e.\u0275\u0275restoreView(ye);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.MitarbeiterauswahlOkButtonClicked(ve))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&ee){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",ye.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",ye.MitarbeiterMultiselect)("AuswahlIDliste",ye.AuswahlIDliste)("OnlyProjektmitarbeiter",!1)}}function $(ee,we){if(1&ee){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",24),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(ve){e.\u0275\u0275restoreView(ye);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.MitarbeiterauswahlOkButtonClicked(ve))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&ee){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",ye.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",ye.MitarbeiterMultiselect)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",ye.AuswahlIDliste)}}h.CommonUrlaubEinstellungenPage=(()=>{class ee{Basics;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;Projektbeteiligteliste;Urlaubsfreigeberliste;Homeofficefreigeberliste;MitarbeiterMultiselect;Ferienliste;Feiertageliste;DataSubscription;constructor(ye,Oe,ve,_e,Pe,Ze,ot,tt,mt){this.Basics=ye,this.Pool=Oe,this.DB=ve,this.DBMitarbeiter=_e,this.Const=Pe,this.DBStandort=Ze,this.DBMitarbeiterstettings=ot,this.Auswahlservice=tt,this.Debug=mt;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Auswahldialogorigin=this.Const.NONE,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.MitarbeiterMultiselect=!0,this.Ferienliste=[],this.Feiertageliste=[],this.Projektbeteiligteliste=[],this.Urlaubsfreigeberliste=[],this.Homeofficefreigeberliste=[]}catch(Qe){this.Debug.ShowErrorMessage(Qe.message,"Urlaub Einstellungen Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){try{let ye;this.DB.Init(),this.DB.CheckSetup(),this.DB.CountAnfragenanzahlen(),this.Projektbeteiligteliste=[];for(let Oe of this.DB.CurrentUrlaub.Projektbeteiligteliste)ye=this.DBMitarbeiter.GetMitarbeiterByID(Oe.MitarbeiterID),null!==ye&&this.Projektbeteiligteliste.push(ye);this.Projektbeteiligteliste.sort((Oe,ve)=>Oe.Nameve.Name?1:0),this.Urlaubsfreigeberliste=[];for(let Oe of this.Pool.Mitarbeiterliste)!0===Oe.Urlaubsfreigaben&&this.Urlaubsfreigeberliste.push(Oe);this.Urlaubsfreigeberliste.sort((Oe,ve)=>Oe.Nameve.Name?1:0),this.Homeofficefreigeberliste=[];for(let Oe of this.Pool.Mitarbeiterliste)!0===Oe.Homeofficefreigaben&&this.Homeofficefreigeberliste.push(Oe);this.Homeofficefreigeberliste.sort((Oe,ve)=>Oe.Nameve.Name?1:0),this.Ferienliste=[],d.isUndefined(this.DB.Ferienliste[this.DB.Laendercode])||(this.Ferienliste=d.cloneDeep(this.DB.Ferienliste[this.DB.Laendercode])),this.Feiertageliste=[],d.isUndefined(this.DB.Feiertageliste[this.DB.Laendercode])||(this.Feiertageliste=d.cloneDeep(this.DB.Feiertageliste[this.DB.Laendercode]))}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","PrepareData",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(ye){try{let Oe,ve,_e;switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl:this.DB.CurrentUrlaub.Projektbeteiligteliste=d.filter(this.DB.CurrentUrlaub.Projektbeteiligteliste,Pe=>-1!==ye.indexOf(Pe.MitarbeiterID));for(let Pe of ye)ve=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:Pe}),d.isUndefined(ve)&&this.DB.CurrentUrlaub.Projektbeteiligteliste.push({MitarbeiterID:Pe,Display:!1});Oe=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(Oe)||(Oe.Projektbeteiligteliste=this.DB.CurrentUrlaub.Projektbeteiligteliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()}));break;case this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln:_e=d.find(this.Pool.Mitarbeiterliste,{_id:ye[0]}),this.DB.CurrentMitarbeiter=_e,this.PrepareData()}this.ShowMitarbeiterauswahl=!1}catch(Oe){this.Debug.ShowErrorMessage(Oe.message,"Urlaub Einstellungen Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter;let ye=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:ye,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),ye++;for(let Oe of this.Pool.Standorteliste)this.Auswahlliste.push({Index:ye,FirstColumn:Oe.Kuerzel,SecoundColumn:Oe.Standort,Data:Oe}),ye++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Urlaub Einstellungen Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(ye){var Oe=this;return n(function*(){try{let ve;switch(Oe.Auswahldialogorigin){case"Resturlaub":Oe.DB.CurrentUrlaub.Resturlaub=ye,ve=d.find(Oe.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:Oe.DB.CurrentUrlaub.Jahr}),d.isUndefined(ve)||(ve.Resturlaub=ye,Oe.DBMitarbeiter.UpdateMitarbeiterUrlaub(Oe.DB.CurrentMitarbeiter));break;case"Urlaub":Oe.DB.CurrentMitarbeiter.Urlaub=ye,Oe.DBMitarbeiter.UpdateMitarbeiterUrlaub(Oe.DB.CurrentMitarbeiter);break;case Oe.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter:Oe.DBStandort.CurrentStandortfilter=(0,l.cloneDeep)(ye),Oe.Pool.Mitarbeitersettings.StandortFilter=null!==ye?ye._id:Oe.Const.NONE,Oe.DBMitarbeiterstettings.UpdateMitarbeitersettings(Oe.Pool.Mitarbeitersettings,null).then(()=>{Oe.PrepareData(),Oe.DBStandort.StandortfilterChanged.emit()})}Oe.ShowAuswahl=!1,Oe.PrepareData()}catch(ve){Oe.Debug.ShowErrorMessage(ve.message,"Urlaub Einstellungen Page","AuswahlOkButtonClicked",Oe.Debug.Typen.Page)}})()}MitarbeiterAuswahlClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl,this.MitarbeiterauswahlTitel="Mitarbeiter/innen ausw\xe4hlen",this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[],this.MitarbeiterMultiselect=!0;for(let ye of this.DB.CurrentUrlaub.Projektbeteiligteliste)this.AuswahlIDliste.push(ye.MitarbeiterID)}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ResturlaubClickedEvent(){try{this.MitarbeiterMultiselect=!1,this.Auswahldialogorigin="Resturlaub",this.Auswahlhoehe=600,this.Auswahltitel="Resturlaub festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"0,5",SecoundColumn:"Tage",Data:.5}),this.Auswahlliste.push({Index:1,FirstColumn:"1,0",SecoundColumn:"Tag",Data:1}),this.Auswahlliste.push({Index:2,FirstColumn:"1,5",SecoundColumn:"Tage",Data:1.5}),this.Auswahlliste.push({Index:3,FirstColumn:"2,0",SecoundColumn:"Tage",Data:2}),this.Auswahlliste.push({Index:4,FirstColumn:"2,5",SecoundColumn:"Tage",Data:2.5}),this.Auswahlliste.push({Index:5,FirstColumn:"3,0",SecoundColumn:"Tage",Data:3}),this.Auswahlliste.push({Index:6,FirstColumn:"3,5",SecoundColumn:"Tage",Data:3.5}),this.Auswahlliste.push({Index:7,FirstColumn:"4,0",SecoundColumn:"Tage",Data:4}),this.Auswahlliste.push({Index:8,FirstColumn:"4,5",SecoundColumn:"Tage",Data:4.5}),this.Auswahlliste.push({Index:9,FirstColumn:"5,0",SecoundColumn:"Tage",Data:5}),this.Auswahlliste.push({Index:10,FirstColumn:"5,5",SecoundColumn:"Tage",Data:5.5}),this.Auswahlliste.push({Index:11,FirstColumn:"6,0",SecoundColumn:"Tage",Data:6}),this.Auswahlliste.push({Index:12,FirstColumn:"6,5",SecoundColumn:"Tage",Data:6.5}),this.Auswahlliste.push({Index:13,FirstColumn:"7,0",SecoundColumn:"Tage",Data:7}),this.Auswahlliste.push({Index:14,FirstColumn:"7,5",SecoundColumn:"Tage",Data:7.5}),this.Auswahlliste.push({Index:15,FirstColumn:"8,0",SecoundColumn:"Tage",Data:8}),this.Auswahlliste.push({Index:16,FirstColumn:"8,5",SecoundColumn:"Tage",Data:8.5}),this.Auswahlliste.push({Index:17,FirstColumn:"9,0",SecoundColumn:"Tage",Data:9}),this.Auswahlliste.push({Index:18,FirstColumn:"9,5",SecoundColumn:"Tage",Data:9.5}),this.Auswahlliste.push({Index:19,FirstColumn:"10,0",SecoundColumn:"Tage",Data:10}),this.Auswahlindex=d.findIndex(this.Auswahlliste,ye=>ye.Data===this.DB.CurrentUrlaub.Resturlaub),this.ShowAuswahl=!0}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","ResturlaubClickedEvent",this.Debug.Typen.Page)}}GetResturlaub(){try{let ye=this.DB.CurrentUrlaub.Resturlaub.toString();return ye+=1===this.DB.CurrentUrlaub.Resturlaub?" Tag":" Tage",ye}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","GetResturlaub",this.Debug.Typen.Page)}}GetDatum(ye){try{return(0,a.default)(ye).format("DD.MM.YYYY")}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaub Einstellungen Page","GetDatum",this.Debug.Typen.Page)}}UrlaubClickedEvent(){try{this.Auswahldialogorigin="Urlaub",this.Auswahlhoehe=600,this.Auswahltitel="Urlaubsanspruch festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"10",SecoundColumn:"Tage",Data:10}),this.Auswahlliste.push({Index:1,FirstColumn:"11",SecoundColumn:"Tage",Data:11}),this.Auswahlliste.push({Index:2,FirstColumn:"12",SecoundColumn:"Tage",Data:12}),this.Auswahlliste.push({Index:3,FirstColumn:"13",SecoundColumn:"Tage",Data:13}),this.Auswahlliste.push({Index:4,FirstColumn:"14",SecoundColumn:"Tage",Data:14}),this.Auswahlliste.push({Index:5,FirstColumn:"15",SecoundColumn:"Tage",Data:15}),this.Auswahlliste.push({Index:6,FirstColumn:"16",SecoundColumn:"Tage",Data:16}),this.Auswahlliste.push({Index:7,FirstColumn:"17",SecoundColumn:"Tage",Data:17}),this.Auswahlliste.push({Index:8,FirstColumn:"18",SecoundColumn:"Tage",Data:18}),this.Auswahlliste.push({Index:9,FirstColumn:"19",SecoundColumn:"Tage",Data:19}),this.Auswahlliste.push({Index:10,FirstColumn:"20",SecoundColumn:"Tage",Data:20}),this.Auswahlliste.push({Index:11,FirstColumn:"21",SecoundColumn:"Tage",Data:21}),this.Auswahlliste.push({Index:12,FirstColumn:"22",SecoundColumn:"Tage",Data:22}),this.Auswahlliste.push({Index:13,FirstColumn:"23",SecoundColumn:"Tage",Data:23}),this.Auswahlliste.push({Index:14,FirstColumn:"24",SecoundColumn:"Tage",Data:24}),this.Auswahlliste.push({Index:15,FirstColumn:"25",SecoundColumn:"Tage",Data:25}),this.Auswahlliste.push({Index:16,FirstColumn:"26",SecoundColumn:"Tage",Data:26}),this.Auswahlliste.push({Index:17,FirstColumn:"27",SecoundColumn:"Tage",Data:27}),this.Auswahlliste.push({Index:18,FirstColumn:"28",SecoundColumn:"Tage",Data:28}),this.Auswahlliste.push({Index:19,FirstColumn:"29",SecoundColumn:"Tage",Data:29}),this.Auswahlliste.push({Index:20,FirstColumn:"30",SecoundColumn:"Tage",Data:30}),this.Auswahlliste.push({Index:21,FirstColumn:"31",SecoundColumn:"Tage",Data:31}),this.Auswahlliste.push({Index:22,FirstColumn:"32",SecoundColumn:"Tage",Data:32}),this.Auswahlliste.push({Index:23,FirstColumn:"33",SecoundColumn:"Tage",Data:33}),this.Auswahlliste.push({Index:24,FirstColumn:"34",SecoundColumn:"Tage",Data:34}),this.Auswahlliste.push({Index:25,FirstColumn:"35",SecoundColumn:"Tage",Data:35}),this.Auswahlliste.push({Index:26,FirstColumn:"36",SecoundColumn:"Tage",Data:36}),this.Auswahlindex=d.findIndex(this.Auswahlliste,ye=>ye.Data===this.DB.CurrentMitarbeiter.Urlaub),this.ShowAuswahl=!0}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","ResturlaubClickedEvent",this.Debug.Typen.Page)}}CheckFerienBlocker(ye){try{return-1===this.DB.CurrentUrlaub.Ferienblockerliste.indexOf(ye)}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaub Einstellungen Page","CheckFerienBlocker",this.Debug.Typen.Page)}}FerienBlockedChanged(ye,Oe){try{let ve;!1===ye.status?this.DB.CurrentUrlaub.Ferienblockerliste.push(Oe):this.DB.CurrentUrlaub.Ferienblockerliste=d.filter(this.DB.CurrentUrlaub.Ferienblockerliste,_e=>_e!==Oe),ve=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(ve)||(ve.Ferienblockerliste=this.DB.CurrentUrlaub.Ferienblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}CheckFeiertagBlocker(ye){try{return-1===this.DB.CurrentUrlaub.Feiertageblockerliste.indexOf(ye)}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaub Einstellungen Page","CheckFeiertagBlocker",this.Debug.Typen.Page)}}FeiertagBlockedChanged(ye,Oe){try{let ve;!1===ye.status?this.DB.CurrentUrlaub.Feiertageblockerliste.push(Oe):this.DB.CurrentUrlaub.Feiertageblockerliste=d.filter(this.DB.CurrentUrlaub.Feiertageblockerliste,_e=>_e!==Oe),ve=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(ve)||(ve.Feiertageblockerliste=this.DB.CurrentUrlaub.Feiertageblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetFreigeberName(ye){try{let Oe=this.DBMitarbeiter.GetMitarbeiterByID(ye);return null!==Oe?Oe.Vorname+" "+Oe.Name:"unbekannt"}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaub Einstellungen Page","GetFreigeberName",this.Debug.Typen.Page)}}UrlaubsfreigeberChanged(ye){try{let Oe;Oe=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(Oe)||(Oe.UrlaubsfreigeberID=ye.detail.value,this.DB.CurrentUrlaub=Oe,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()}))}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaub Einstellungen Page","UrlaubsfreigeberChanged",this.Debug.Typen.Page)}}HomeofficefreigeberChanged(ye){try{let Oe,ve;Oe=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(Oe)||(Oe.HomeofficefreigeberID=ye.detail.value,this.DB.CurrentUrlaub=Oe,ve=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr}),this.DB.CurrentMitarbeiter.Urlaubsliste[ve]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()}))}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaub Einstellungen Page","HomeofficefreigeberChanged",this.Debug.Typen.Page)}}static \u0275fac=function(Oe){return new(Oe||ee)(e.\u0275\u0275directiveInject(u.BasicsProvider),e.\u0275\u0275directiveInject(c.DatabasePoolService),e.\u0275\u0275directiveInject(g.DatabaseUrlaubService),e.\u0275\u0275directiveInject(v.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(S.DatabaseStandorteService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(_.AuswahlDialogService),e.\u0275\u0275directiveInject(f.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:ee,selectors:[["common-urlaub-einstellungen-page"]],viewQuery:function(Oe,ve){if(1&Oe&&(e.\u0275\u0275viewQuery(P,5),e.\u0275\u0275viewQuery(x,5)),2&Oe){let _e;e.\u0275\u0275queryRefresh(_e=e.\u0275\u0275loadQuery())&&(ve.PageHeader=_e.first),e.\u0275\u0275queryRefresh(_e=e.\u0275\u0275loadQuery())&&(ve.PageFooter=_e.first)}},decls:12,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[4,"ngIf"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","AuswahlIDliste","OnlyProjektmitarbeiter","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["size","12"],["color","baeblau",2,"font-size","120%"],[1,"paddingtable"],["colspan","2"],["size","small","color","grau",3,"click"],["size","6"],[3,"value","ionChange"],[4,"ngFor","ngForOf"],[3,"Buttontext","Wert_A","ButtonClicked"],["size","3"],[2,"font-weight","bold"],["src","assets/svgs/alert.svg",2,"width","24px"],[3,"value"],[3,"Checked","CheckChanged"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","AuswahlIDliste","OnlyProjektmitarbeiter","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(Oe,ve){1&Oe&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return ve.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content"),e.\u0275\u0275template(5,re,80,14,"ion-grid",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"ion-footer"),e.\u0275\u0275element(7,"page-footer",null,4),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,J,1,7,"auswahl-dialog",5)(10,Y,1,6,"fi-mitarbeiter-auswahl",6)(11,$,1,6,"fi-mitarbeiter-auswahl",7)),2&Oe&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",null!==ve.DB.CurrentUrlaub),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",ve.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ve.ShowMitarbeiterauswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ve.ShowMitarbeiterauswahl))},dependencies:[y.NgForOf,y.NgIf,b.IonButton,b.IonCol,b.IonContent,b.IonFooter,b.IonGrid,b.IonHeader,b.IonRadio,b.IonRadioGroup,b.IonRow,b.IonText,b.RadioValueAccessor,b.SelectValueAccessor,E.PageHeaderComponent,M.PageHeaderMenuComponent,A.PageFooterComponent,I.ButtonValueComponent,F.AuswahlDialogComponent,j.CheckboxClonComponent,T.FiMitarbeiterAuswahlComponent],styles:[".legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return ee})()},5884:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubFreigabenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),l=o(76052),e=o(70216),u=o(56568),c=o(6168),g=o(90520),v=o(6232),p=o(72284),S=o(10272),C=o(7388),_=o(27328),f=o(26668),y=o(6512),b=n.__importStar(o(54496)),M=(n.__importStar(o(56568)),[{path:"",component:l.CommonUrlaubFreigabenPage}]);h.CommonUrlaubFreigabenPageModule=(()=>{class I{static \u0275fac=function(T){return new(T||I)};static \u0275mod=b.\u0275\u0275defineNgModule({type:I});static \u0275inj=b.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(M),c.PageHeaderMenuModule,g.PageFooterModule,v.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,C.CheckboxClonModule,_.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule,y.AbstandElementFixedModule]})}return I})()},76052:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubFreigabenPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),l=o(17964),e=i.__importStar(o(54496)),u=i.__importStar(o(59460)),c=i.__importStar(o(14652)),g=i.__importStar(o(15024)),v=i.__importStar(o(7992)),p=i.__importStar(o(9544)),S=i.__importStar(o(22848)),C=i.__importStar(o(29743)),_=i.__importStar(o(58864)),f=i.__importStar(o(48044)),y=i.__importStar(o(34388)),b=i.__importStar(o(91368)),E=i.__importStar(o(10716)),M=i.__importStar(o(90212)),A=i.__importStar(o(63792)),I=i.__importStar(o(29856)),F=i.__importStar(o(77440)),j=i.__importStar(o(56584)),T=i.__importStar(o(25856)),P=i.__importStar(o(80887)),x=["PageHeader"],N=["PageFooter"];function O(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",8),e.\u0275\u0275listener("click",function(){const Xt=e.\u0275\u0275restoreView(pt).index,At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.MonatButtonClicked(Xt))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&st){const pt=zt.$implicit,It=zt.index,Yt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Yt.GetMonatButtonColor(It)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(pt)}}function H(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext(2).$implicit,At=e.\u0275\u0275nextContext(4).$implicit,$t=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView($t.VerteretungStatusChangedHandler(Yt,Xt,At._id))}),e.\u0275\u0275elementStart(2,"table",42)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",44),e.\u0275\u0275text(7,"Vertretung annehmen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275element(9,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",45),e.\u0275\u0275text(11,"Vertretung ablehnen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&st){const pt=e.\u0275\u0275nextContext(2).$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("value",pt.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",It.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",It.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function G(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"td",44),e.\u0275\u0275text(1," Vertretung angenommen"),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&st){const pt=e.\u0275\u0275nextContext(3).$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" vor ",It.DB.GetVertretungsanwortAge(pt).toFixed(2)," Minuten ")}}function te(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"td",45),e.\u0275\u0275text(1," Vertretung abgelehnt"),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&st){const pt=e.\u0275\u0275nextContext(3).$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" vor ",It.DB.GetVertretungsanwortAge(pt).toFixed(2)," Minuten ")}}function ue(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",42)(2,"tr"),e.\u0275\u0275template(3,G,4,1,"td",46)(4,te,4,1,"td",47),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&st){const pt=e.\u0275\u0275nextContext(2).$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",pt.Status===It.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Status===It.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function se(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td",6),e.\u0275\u0275element(8,"div",37),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"td",38),e.\u0275\u0275elementStart(10,"td")(11,"ion-button",39),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext().$implicit,Xt=e.\u0275\u0275nextContext(4).$implicit,At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.UrlaubSuchen(Yt,Xt))}),e.\u0275\u0275element(12,"ion-icon",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(13,"td"),e.\u0275\u0275template(14,H,12,3,"ng-container",19)(15,ue,5,2,"ng-container",19),e.\u0275\u0275elementEnd()()}if(2&st){const pt=e.\u0275\u0275nextContext().$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(It.GetDatumlangtext(pt.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(It.GetDatumlangtext(pt.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(pt.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",It.DB.GetUrlaubStatuscolor(pt.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",pt.Vertretungmeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",!1===pt.VertreterantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===pt.VertreterantwortSended)}}function K(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,se,16,8,"tr",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===It.DB.CheckVertretungsanwortAge(pt)&&pt.VertreterID===It.DB.CurrentMitarbeiter._id&&(pt.Status===It.DB.Urlaubstatusvarianten.Vertreteranfrage||pt.Status===It.DB.Urlaubstatusvarianten.Vertreterfreigabe||pt.Status===It.DB.Urlaubstatusvarianten.Vertreterablehnung))}}function Z(st,zt){1&st&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",48),e.\u0275\u0275text(2," Bitte Person f\xfcr Urlaubsfreigaben festlegen "),e.\u0275\u0275elementEnd()())}function re(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,K,2,1,"ng-container",10),e.\u0275\u0275elementStart(2,"tr")(3,"td",34)(4,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext().$implicit,Xt=e.\u0275\u0275nextContext(2).$implicit,At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.SendVertretungUpdate(Xt,Yt))}),e.\u0275\u0275text(5,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(6,Z,3,0,"tr",19),e.\u0275\u0275elementContainerEnd()}if(2&st){const pt=e.\u0275\u0275nextContext().$implicit,It=e.\u0275\u0275nextContext(2).$implicit,Yt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",pt.Urlaubzeitspannen),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===Yt.CheckVertretungUpdateButtonEnabled(It,pt)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null===pt.UrlaubsfreigeberID)}}function J(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,re,7,3,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Jahr===It.DB.Jahr)}}function Y(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",32),e.\u0275\u0275text(12,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"td",33),e.\u0275\u0275text(16,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(17,"td"),e.\u0275\u0275elementStart(18,"td",31),e.\u0275\u0275text(19,"Anfrage beantworten"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(20,J,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(21,"tr"),e.\u0275\u0275element(22,"td"),e.\u0275\u0275elementEnd()()()()),2&st){const pt=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(20),e.\u0275\u0275property("ngForOf",pt.Urlaubsliste)}}function $(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,Y,23,1,"ion-row",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",pt.Vorname+" "+pt.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==It.DB.Vertretungsanfragenanzahl||0!==It.DB.Vertretungsantwortenanzahl)}}function le(st,zt){1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Vertretungsanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd())}function ee(st,zt){1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col"),e.\u0275\u0275element(3,"div",50),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function we(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext(2).$implicit,At=e.\u0275\u0275nextContext(4).$implicit,$t=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView($t.FreigabeStatusChangedHandler(Yt,Xt,At._id))}),e.\u0275\u0275elementStart(2,"table",42)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",44),e.\u0275\u0275text(7,"Urlaub genehmigen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275element(9,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",45),e.\u0275\u0275text(11,"Urlaub ablehnen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&st){const pt=e.\u0275\u0275nextContext(2).$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("value",pt.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",It.DB.Urlaubstatusvarianten.Genehmigt),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",It.DB.Urlaubstatusvarianten.Abgelehnt)}}function ye(st,zt){1&st&&(e.\u0275\u0275elementStart(0,"td",44),e.\u0275\u0275text(1,"Urlaub genehmigt"),e.\u0275\u0275elementEnd())}function Oe(st,zt){1&st&&(e.\u0275\u0275elementStart(0,"td",45),e.\u0275\u0275text(1,"Urlaub abgelehnt"),e.\u0275\u0275elementEnd())}function ve(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",42)(2,"tr"),e.\u0275\u0275template(3,ye,2,0,"td",46)(4,Oe,2,0,"td",47),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&st){const pt=e.\u0275\u0275nextContext(2).$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",pt.Status===It.DB.Urlaubstatusvarianten.Genehmigt),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Status===It.DB.Urlaubstatusvarianten.Abgelehnt)}}function _e(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",6),e.\u0275\u0275element(10,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(11,"td",38),e.\u0275\u0275elementStart(12,"td")(13,"ion-button",52),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext().$implicit,Xt=e.\u0275\u0275nextContext(4).$implicit,At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.UrlaubSuchen(Yt,Xt))}),e.\u0275\u0275element(14,"ion-icon",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275template(16,we,12,3,"ng-container",19)(17,ve,5,2,"ng-container",19),e.\u0275\u0275elementEnd()()}if(2&st){const pt=e.\u0275\u0275nextContext().$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(It.GetDatumlangtext(pt.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(It.GetDatumlangtext(pt.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(pt.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(It.GetVertetungName(pt)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",It.DB.GetUrlaubStatuscolor(pt.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",pt.Freigabemeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",pt.Status===It.DB.Urlaubstatusvarianten.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===pt.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===pt.FreigabeantwortSended)}}function Pe(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,_e,18,10,"tr",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===It.DB.CheckUrlaubFreigabeanwortAge(pt)&&!0===pt.VertreterantwortSended&&(pt.Status===It.DB.Urlaubstatusvarianten.Vertreterfreigabe||pt.Status===It.DB.Urlaubstatusvarianten.Genehmigt||pt.Status===It.DB.Urlaubstatusvarianten.Abgelehnt))}}function Ze(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Pe,2,1,"ng-container",10),e.\u0275\u0275elementStart(2,"tr")(3,"td",34)(4,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext().$implicit,Xt=e.\u0275\u0275nextContext(2).$implicit,At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.SendFreigabeUpdate(Xt,Yt))}),e.\u0275\u0275text(5,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&st){const pt=e.\u0275\u0275nextContext().$implicit,It=e.\u0275\u0275nextContext(2).$implicit,Yt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",pt.Urlaubzeitspannen),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===Yt.CheckFreigabeUpdateButtonEnabled(It,pt))}}function ot(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Ze,6,2,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Jahr===It.DB.Jahr&&pt.UrlaubsfreigeberID===It.DB.CurrentMitarbeiter._id)}}function tt(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",32),e.\u0275\u0275text(12,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Vertretung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"td",31),e.\u0275\u0275text(16,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"td",33),e.\u0275\u0275text(18,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(19,"td"),e.\u0275\u0275elementStart(20,"td",31),e.\u0275\u0275text(21,"Anfrage beantworten"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(22,ot,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()()()()()),2&st){const pt=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(22),e.\u0275\u0275property("ngForOf",pt.Urlaubsliste)}}function mt(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,tt,23,1,"ion-row",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",pt.Vorname+" "+pt.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",It.DB.Freigabenanfragenanzahl>0||It.DB.Freigabenantwortenanzahl>0)}}function Qe(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275element(1,"td")(2,"td"),e.\u0275\u0275elementStart(3,"td",6)(4,"ion-button",53),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext(2).$implicit,Xt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Xt.HomeofficeGenehmigeAll(Yt))}),e.\u0275\u0275element(5,"ion-icon",54),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td",6)(7,"ion-button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext(2).$implicit,Xt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Xt.HomeofficeAblehnenAll(Yt))}),e.\u0275\u0275element(8,"ion-icon",56),e.\u0275\u0275elementEnd()()()}}function Ct(st,zt){if(1&st&&e.\u0275\u0275element(0,"ion-radio",43),2&st){const pt=e.\u0275\u0275nextContext(8);e.\u0275\u0275property("value",pt.DB.Homeofficestatusvarianten.Genehmigt)}}function Xe(st,zt){1&st&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275element(1,"div",62),e.\u0275\u0275elementEnd())}function nt(st,zt){if(1&st&&e.\u0275\u0275element(0,"ion-radio",43),2&st){const pt=e.\u0275\u0275nextContext(8);e.\u0275\u0275property("value",pt.DB.Homeofficestatusvarianten.Abgelehnt)}}function Pt(st,zt){1&st&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275element(1,"div",63),e.\u0275\u0275elementEnd())}function tn(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"td",6),e.\u0275\u0275element(5,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",57)(7,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext().$implicit,At=e.\u0275\u0275nextContext(2).$implicit,$t=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView($t.HomeofficeStatusChanged(Yt,Xt,At))}),e.\u0275\u0275elementStart(8,"table",58)(9,"tr",59)(10,"td",60),e.\u0275\u0275template(11,Ct,1,1,"ion-radio",61)(12,Xe,2,0,"span",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",60),e.\u0275\u0275template(14,nt,1,1,"ion-radio",61)(15,Pt,2,0,"span",19),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&st){const pt=e.\u0275\u0275nextContext().$implicit,It=e.\u0275\u0275nextContext(6);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(pt.Startstring),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",It.DB.GetHomeofficeStatuscolor(pt.Status)),e.\u0275\u0275advance(2),e.\u0275\u0275property("value",pt.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",!1===pt.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===pt.FreigabeantwortSended&&pt.Status===It.DB.Homeofficestatusvarianten.Genehmigt),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===pt.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===pt.FreigabeantwortSended&&pt.Status===It.DB.Homeofficestatusvarianten.Abgelehnt)}}function hn(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,tn,16,8,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(6);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===It.DB.CheckHomeofficeFreigabeanwortAge(pt)&&(pt.Status===It.DB.Homeofficestatusvarianten.Freigabeanfrage||pt.Status===It.DB.Homeofficestatusvarianten.Genehmigt||pt.Status===It.DB.Homeofficestatusvarianten.Abgelehnt))}}function wn(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",64)(2,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext(2).$implicit,Xt=e.\u0275\u0275nextContext(2).$implicit,At=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(At.SendHomeofficeUpdate(Yt,Xt))}),e.\u0275\u0275text(3,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()()}if(2&st){const pt=e.\u0275\u0275nextContext(2).$implicit,It=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",!1===It.CheckHomeofficeUpdateButtonEnabled(pt))}}function An(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Qe,9,0,"tr",19)(2,hn,2,1,"ng-container",10)(3,wn,4,1,"tr",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=e.\u0275\u0275nextContext().$implicit,It=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",It.CheckHasAnfragen(pt)),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",pt.Homeofficezeitspannen),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===It.CheckHasAnfragen(pt))}}function _n(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,An,4,3,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Jahr===It.DB.Jahr&&pt.HomeofficefreigeberID===It.DB.CurrentMitarbeiter._id)}}function qt(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Datum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",31),e.\u0275\u0275text(12,"Genehmigt"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(15,_n,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()()()()()),2&st){const pt=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(15),e.\u0275\u0275property("ngForOf",pt.Urlaubsliste)}}function ht(st,zt){1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Freigabeanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd())}function Ue(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,qt,16,1,"ion-row",19)(8,ht,7,0,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",pt.Vorname+" "+pt.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",It.DB.Homeofficeanfragenanzahl>0||It.DB.Homeofficantwortenanzahl>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===It.DB.Homeofficeanfragenanzahl&&0===It.DB.Homeofficantwortenanzahl)}}function Ee(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Freigabeanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(7,"ion-row")(8,"ion-col")(9,"table",17)(10,"tr")(11,"td",6)(12,"ion-text",18),e.\u0275\u0275text(13,"Homeofficefreigaben"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(14,Ue,9,3,"ng-container",10),e.\u0275\u0275elementContainerEnd()),2&st){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(14),e.\u0275\u0275property("ngForOf",pt.DB.Homeofficefreigabenliste)}}function Te(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Xt.AnsichtFeiertageCheckChanged(Yt,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",51),e.\u0275\u0275element(6,"ion-icon",68),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Xt.AnsichtFerientageCheckChanged(Yt,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",51),e.\u0275\u0275element(14,"ion-icon",69),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&st){const pt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",pt.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",pt.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Ferien_DE)}}function $e(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",70),e.\u0275\u0275listener("CheckChanged",function(Yt){const Xt=e.\u0275\u0275restoreView(pt),At=Xt.$implicit,$t=Xt.index,St=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(St.DisplayExternCheckChanged(Yt,At,$t))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",71),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",It.DB.CheckDisplayExternenUrlaub(pt.MitarbeiterIDExtern))("Enabled",pt.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(pt.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",pt.NameExtern," ",pt.Text,"")}}function je(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",13),e.\u0275\u0275template(1,Te,17,6,"ng-container",19),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Xt.AnsichtFeiertageCheckChanged(Yt,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",51),e.\u0275\u0275element(8,"ion-icon",66),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Xt.AnsichtFerientageCheckChanged(Yt,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",51),e.\u0275\u0275element(16,"ion-icon",67),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,$e,8,5,"tr",10),e.\u0275\u0275elementEnd()}if(2&st){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===pt.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",pt.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",pt.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",pt.DB.UrlaublisteExtern)}}function gt(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",72),e.\u0275\u0275elementEnd()),2&st){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",pt.Flagsource,e.\u0275\u0275sanitizeUrl)}}function He(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"td",73),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&st){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(pt.Message)}}function vt(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",74),e.\u0275\u0275listener("OkClickedEvent",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Xt.AuswahlOkButtonClicked(Yt))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Yt.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&st){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",pt.Auswahlliste)("Auswahlindex",pt.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",pt.Auswahltitel)("Iconname","")}}function ut(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",75),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Yt.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Xt.MitarbeiterauswahlOkButtonClicked(Yt))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Yt.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&st){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",pt.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",pt.AuswahlIDliste)}}h.CommonUrlaubFreigabenPage=(()=>{class st{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;MitarbeiterMultiselect;Message;Flagsource;LegendeVisible;Legendehoehe;Legendebreite;constructor(pt,It,Yt,Xt,At,$t,St,xt,nn,bn,Tn){this.Menuservice=pt,this.Basics=It,this.DBMitarbeitersettings=Yt,this.Pool=Xt,this.DB=At,this.DBMitarbeiter=$t,this.Const=St,this.DBStandort=xt,this.DBMitarbeiterstettings=nn,this.Auswahlservice=bn,this.Debug=Tn;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Auswahldialogorigin=this.Const.NONE,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.MitarbeiterMultiselect=!0,this.Message="",this.Flagsource="",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0}catch(rn){this.Debug.ShowErrorMessage(rn.message,"Urlaub Freigaben Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{let pt;for(let It of this.DB.Homeofficefreigabenliste){pt=d.find(It.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr});for(let Yt of pt.Homeofficezeitspannen)!1===Yt.FreigabeantwortSended&&(Yt.Status=this.DB.Homeofficestatusvarianten.Freigabeanfrage);It._id===this.DB.CurrentMitarbeiter._id&&pt.Jahr===this.DB.CurrentUrlaub.Jahr&&(this.DB.CurrentUrlaub=pt),this.DB.CountAnfragenanzahlen()}}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){var pt=this;return n(function*(){try{pt.DB.Init(),pt.DB.CheckSetup(),pt.DB.SetPlanungsmonate(),pt.DB.CountAnfragenanzahlen()}catch(It){pt.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","PrepareData",pt.Debug.Typen.Page)}})()}GetDatumlangtext(pt){try{return(0,a.default)(pt).locale("de").format("DD. MMMM YYYY")}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(pt){try{let It;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(It=d.find(this.Pool.Mitarbeiterliste,{_id:pt[0]}),this.DB.CurrentMitarbeiter=It,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(It){this.Debug.ShowErrorMessage(It.message,"Urlaub Freigaben Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter;let pt=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:pt,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),pt++;for(let It of this.Pool.Standorteliste)this.Auswahlliste.push({Index:pt,FirstColumn:It.Kuerzel,SecoundColumn:It.Standort,Data:It}),pt++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(pt){this.Debug.ShowErrorMessage(pt.message,"Urlaub Freigaben Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(pt){var It=this;return n(function*(){try{It.Auswahldialogorigin===It.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter&&(It.DBStandort.CurrentStandortfilter=(0,l.cloneDeep)(pt),It.Pool.Mitarbeitersettings.StandortFilter=null!==pt?pt._id:It.Const.NONE,It.DBMitarbeitersettings.UpdateMitarbeitersettings(It.Pool.Mitarbeitersettings,null).then(()=>{It.ShowAuswahl=!1,It.DBStandort.StandortfilterChanged.emit()})),It.ShowAuswahl=!1,It.PrepareData()}catch(Yt){It.Debug.ShowErrorMessage(Yt.message,"Urlaub Freigaben Page","AuswahlOkButtonClicked",It.Debug.Typen.Page)}})()}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetDatum(pt){try{return(0,a.default)(pt).format("DD.MM.YYYY")}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","GetDatum",this.Debug.Typen.Page)}}VerteretungStatusChangedHandler(pt,It,Yt){try{It.Status=pt.detail.value}catch(Xt){this.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","VerteretungStatusChangedHandler",this.Debug.Typen.Page)}}FreigabeStatusChangedHandler(pt,It,Yt){try{It.Status=pt.detail.value}catch(Xt){this.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","FreigabeStatusChangedHandler",this.Debug.Typen.Page)}}CheckVertretungUpdateButtonEnabled(pt,It){try{let Yt=!1;for(let Xt of It.Urlaubzeitspannen)d.isUndefined(Xt.VertreterantwortSended)&&(Xt.VertreterantwortSended=!1),null!==It.UrlaubsfreigeberID&&!1===Xt.VertreterantwortSended&&Xt.VertreterID===this.DB.CurrentMitarbeiter._id&&(Xt.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung||Xt.Status===this.DB.Urlaubstatusvarianten.Vertreterfreigabe)&&(Yt=!0);return Yt}catch(Yt){this.Debug.ShowErrorMessage(Yt,"Urlaub Freigaben Page","CheckVertretungUpdateButtonEnabled",this.Debug.Typen.Page)}}UrlaubSuchen(pt,It){try{let Yt=(0,a.default)(pt.Startstempel);this.DB.CurrentMonatindex=Yt.month(),this.DB.SetPlanungsmonate()}catch(Yt){this.Debug.ShowErrorMessage(Yt,"Urlaub Freigaben Page","UrlaubSuchen",this.Debug.Typen.Page)}}CheckFreigabeUpdateButtonEnabled(pt,It){try{let Yt=!1;for(let Xt of It.Urlaubzeitspannen)d.isUndefined(Xt.FreigabeantwortSended)&&(Xt.FreigabeantwortSended=!1),null!==It.UrlaubsfreigeberID&&!1===Xt.FreigabeantwortSended&&(Xt.Status===this.DB.Urlaubstatusvarianten.Genehmigt||Xt.Status===this.DB.Urlaubstatusvarianten.Abgelehnt)&&(Yt=!0);return Yt}catch(Yt){this.Debug.ShowErrorMessage(Yt,"Urlaub Freigaben Page","CheckFreigabeUpdateButtonEnabled",this.Debug.Typen.Page)}}SendVertretungUpdate(pt,It){var Yt=this;return n(function*(){try{yield Yt.DB.UpdateVertreterantworten(pt,It),yield Yt.PrepareData(),Yt.DB.ExterneUrlaubeChanged.emit()}catch(Xt){Yt.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","SendVertretungUpdate",Yt.Debug.Typen.Page)}})()}FerientagCrossedEventHandler(pt){try{this.Message=pt.Name,""!==pt.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===pt.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(pt,It,Yt){try{let Xt=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:It.MitarbeiterIDExtern});d.isUndefined(Xt)||(Xt.Display=pt.status);let At=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[At]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Xt){this.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}DisplayMeinenUrlaubCheckChanged(pt){try{this.Pool.Mitarbeitersettings.UrlaubShowMeinenUrlaub=pt.status,this.DBMitarbeiterstettings.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","DisplayMeinenUrlaubCheckChanged",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}FeiertagCrossedEventHandler(pt){try{this.Message=pt.Name,""!==pt.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===pt.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}MonatButtonClicked(pt){try{this.DB.CurrentMonatindex=pt,this.DB.SetPlanungsmonate()}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","MonatButtonClicked",this.Debug.Typen.Page)}}GetMonatButtonColor(pt){try{if(this.DB.CurrentMonatindex===pt)return"orange"}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","GetMonatButtonColor",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(pt,It){try{switch(It){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=pt.status,this.DB.ShowFerientage_DE=pt.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=pt.status,this.DB.ShowFerientage_BG=pt.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Yt){this.Debug.ShowErrorMessage(Yt,"Urlaub Freigaben Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(pt,It){try{switch(It){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=pt.status,this.DB.ShowFeiertage_DE=pt.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=pt.status,this.DB.ShowFeiertage_BG=pt.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Yt){this.Debug.ShowErrorMessage(Yt,"Urlaub Freigaben Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetVertetungName(pt){try{let It;return It=this.DBMitarbeiter.GetMitarbeiterByID(pt.VertreterID),d.isUndefined(It)?"unbekannt":It.Vorname+" "+It.Name}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","GetVertetungName",this.Debug.Typen.Page)}}SendFreigabeUpdate(pt,It){var Yt=this;return n(function*(){try{yield Yt.DB.UpdateFreigabenantworten(pt,It),yield Yt.PrepareData(),Yt.DB.ExterneUrlaubeChanged.emit()}catch(Xt){Yt.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","SendFreigabeUpdate",Yt.Debug.Typen.Page)}})()}HomeofficeStatusChanged(pt,It,Yt){try{It.Status=pt.detail.value}catch(Xt){this.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","HomeofficeStatusChanged",this.Debug.Typen.Page)}}HomeofficeGenehmigeAll(pt){try{for(let It of pt.Homeofficezeitspannen)!1===It.FreigabeantwortSended&&(It.Status=this.DB.Homeofficestatusvarianten.Genehmigt)}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","HomeofficeGenehmigeAll",this.Debug.Typen.Page)}}HomeofficeAblehnenAll(pt){try{for(let It of pt.Homeofficezeitspannen)!1===It.FreigabeantwortSended&&(It.Status=this.DB.Homeofficestatusvarianten.Abgelehnt)}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","HomeofficeAblehnenAll",this.Debug.Typen.Page)}}SendHomeofficeUpdate(pt,It){var Yt=this;return n(function*(){try{yield Yt.DB.SendHomeofficeFreigabeantworten(It,pt),yield Yt.PrepareData(),Yt.DB.ExterneHomeofficeChanged.emit()}catch(Xt){Yt.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","SendHomeofficeUpdate",Yt.Debug.Typen.Page)}})()}CheckHomeofficeUpdateButtonEnabled(pt){try{let It=!1;for(let Yt of pt.Homeofficezeitspannen)!1===Yt.FreigabeantwortSended&&(Yt.Status===this.DB.Homeofficestatusvarianten.Abgelehnt||Yt.Status===this.DB.Homeofficestatusvarianten.Genehmigt)&&(It=!0);return It}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","CheckHomeofficeUpdateButtonEnabled",this.Debug.Typen.Page)}}CheckHasAnfragen(pt){try{let It=!1;for(let Yt of pt.Homeofficezeitspannen)!1===Yt.FreigabeantwortSended&&(It=!0);return It}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","CheckHasAnfragen",this.Debug.Typen.Page)}}static \u0275fac=function(It){return new(It||st)(e.\u0275\u0275directiveInject(u.MenueService),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(p.DatabaseUrlaubService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(C.ConstProvider),e.\u0275\u0275directiveInject(_.DatabaseStandorteService),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(y.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:st,selectors:[["common-urlaub-freigaben-page"]],viewQuery:function(It,Yt){if(1&It&&(e.\u0275\u0275viewQuery(x,5),e.\u0275\u0275viewQuery(N,5)),2&It){let Xt;e.\u0275\u0275queryRefresh(Xt=e.\u0275\u0275loadQuery())&&(Yt.PageHeader=Xt.first),e.\u0275\u0275queryRefresh(Xt=e.\u0275\u0275loadQuery())&&(Yt.PageFooter=Xt.first)}},decls:70,vars:30,consts:[["xmlns","http://www.w3.org/1999/html",1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],["colspan","2",2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],["align","center","valign","top"],[1,"paddingtable"],["valign","top",2,"width","500px"],[3,"Jahr","Monatindex","AddUrlaubRunning","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","FeiertagCrossedEvent","FerientagCrossedEvent"],["width","100%"],["color","baeblau",2,"font-size","120%","font-weight","bold"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[1,"docinnertable"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],["colspan","7","align","center"],["size","small",3,"disabled","click"],[2,"text-align","center"],[1,"legendedivclass",2,"color","black"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],[3,"value","ionChange"],[1,"nobordertable"],[3,"value"],[2,"color","green"],[2,"color","red"],["style","color: green",4,"ngIf"],["style","color: red",4,"ngIf"],["colspan","6",2,"color","red"],[2,"text-align","center","height","30px"],[2,"height","20px"],[1,"legendedivclass"],["size","small","color","grau",3,"disabled","click"],["color","gruen","size","small",3,"click"],["name","checkmark-outline"],["color","rot","size","small",3,"click"],["name","close-outline"],["colspan","2"],[1,"nobordertable",2,"width","100%"],[2,"height","32px"],["align","center",2,"width","50%"],[3,"value",4,"ngIf"],[2,"border-radius","50%","width","12px","height","12px","background","green"],[2,"border-radius","50%","width","12px","height","12px","background","red"],["colspan","4","align","center"],[3,"Checked","CheckChanged"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(It,Yt){1&It&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Yt.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return Yt.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,O,3,3,"td",10),e.\u0275\u0275elementStart(17,"td")(18,"div",8),e.\u0275\u0275listener("click",function(){return Yt.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",11),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr")(21,"td",12)(22,"table",13)(23,"tr")(24,"td",14)(25,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("FeiertagCrossedEvent",function(At){return Yt.FeiertagCrossedEventHandler(At)})("FerientagCrossedEvent",function(At){return Yt.FerientagCrossedEventHandler(At)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(26,"td",14)(27,"urlaubsplanung-kalender",16),e.\u0275\u0275listener("FeiertagCrossedEvent",function(At){return Yt.FeiertagCrossedEventHandler(At)})("FerientagCrossedEvent",function(At){return Yt.FerientagCrossedEventHandler(At)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(28,"td",14)(29,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("FeiertagCrossedEvent",function(At){return Yt.FeiertagCrossedEventHandler(At)})("FerientagCrossedEvent",function(At){return Yt.FerientagCrossedEventHandler(At)}),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(30,"ion-grid")(31,"ion-row")(32,"ion-col")(33,"table",17)(34,"tr")(35,"td",6)(36,"ion-text",18),e.\u0275\u0275text(37,"Vertretungsanfragen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(38,$,8,2,"ng-container",10)(39,le,7,0,"ng-container",19)(40,ee,4,0,"ng-container",19),e.\u0275\u0275elementStart(41,"ion-row")(42,"ion-col")(43,"table",17)(44,"tr")(45,"td",6)(46,"ion-text",18),e.\u0275\u0275text(47,"Urlaubsfreigaben"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(48,mt,8,2,"ng-container",10)(49,Ee,15,1,"ng-container",19),e.\u0275\u0275elementStart(50,"div",20)(51,"table")(52,"tr")(53,"td")(54,"div",21),e.\u0275\u0275listener("click",function(){return Yt.LegendeVisible=!Yt.LegendeVisible}),e.\u0275\u0275element(55,"ion-icon",22),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(56,"td",23),e.\u0275\u0275template(57,je,56,20,"table",24),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(58,"ion-footer")(59,"page-footer",null,25)(61,"table",4)(62,"tr")(63,"td",26)(64,"table",13)(65,"tr"),e.\u0275\u0275template(66,gt,2,1,"td",19)(67,He,2,1,"td",27),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(68,vt,1,7,"auswahl-dialog",28)(69,ut,1,6,"fi-mitarbeiter-auswahl",29)),2&It&&(e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",Yt.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",Yt.DB.Jahr)("Monatindex",Yt.DB.FirstMonatIndex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Yt.DB.Jahr)("ShowYear",!0)("Monatindex",Yt.DB.CurrentMonatindex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Yt.DB.Jahr)("Monatindex",Yt.DB.LastMonatIndex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",Yt.DB.Vertretrungliste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Yt.DB.Vertretungsanfragenanzahl&&0===Yt.DB.Vertretungsantwortenanzahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==Yt.DB.Vertretungsanfragenanzahl||0!==Yt.DB.Vertretungsantwortenanzahl),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngForOf",Yt.DB.Urlaubfreigabenliste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Yt.DB.Freigabenanfragenanzahl&&0===Yt.DB.Freigabenantwortenanzahl),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Yt.Legendehoehe,"px")("width",Yt.Legendebreite,"px")("right",Yt.LegendeVisible?0:-(Yt.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",Yt.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Yt.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Yt.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==Yt.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==Yt.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Yt.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Yt.ShowMitarbeiterauswahl))},dependencies:[b.NgForOf,b.NgIf,E.IonButton,E.IonCol,E.IonContent,E.IonFooter,E.IonGrid,E.IonHeader,E.IonIcon,E.IonRadio,E.IonRadioGroup,E.IonRow,E.IonText,E.RadioValueAccessor,E.SelectValueAccessor,M.PageHeaderComponent,A.PageHeaderMenuComponent,I.PageFooterComponent,F.PjProjektpunktDateKWPickerComponent,j.AuswahlDialogComponent,T.CheckboxClonComponent,P.FiMitarbeiterAuswahlComponent],styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:auto}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return st})()},74484:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubsplanungPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),l=o(75908),e=o(70216),u=o(56568),c=o(6168),g=o(90520),v=o(6232),p=o(72284),S=o(10272),C=o(7388),_=o(27328),f=o(26668),y=n.__importStar(o(54496)),E=(n.__importStar(o(56568)),[{path:"",component:l.CommonUrlaubPlanungPage}]);h.CommonUrlaubsplanungPageModule=(()=>{class A{static \u0275fac=function(j){return new(j||A)};static \u0275mod=y.\u0275\u0275defineNgModule({type:A});static \u0275inj=y.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(E),c.PageHeaderMenuModule,g.PageFooterModule,v.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,C.CheckboxClonModule,_.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return A})()},75908:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubPlanungPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),l=o(17964),e=i.__importStar(o(54496)),u=i.__importStar(o(59460)),c=i.__importStar(o(14652)),g=i.__importStar(o(15024)),v=i.__importStar(o(7992)),p=i.__importStar(o(9544)),S=i.__importStar(o(22848)),C=i.__importStar(o(29743)),_=i.__importStar(o(58864)),f=i.__importStar(o(48044)),y=i.__importStar(o(19668)),b=i.__importStar(o(34388)),E=i.__importStar(o(91368)),M=i.__importStar(o(10716)),A=i.__importStar(o(90212)),I=i.__importStar(o(63792)),F=i.__importStar(o(29856)),j=i.__importStar(o(77440)),T=i.__importStar(o(56584)),P=i.__importStar(o(25856)),x=i.__importStar(o(80887)),N=["PageHeader"],O=["PageFooter"];function H(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",8),e.\u0275\u0275listener("click",function(){const wt=e.\u0275\u0275restoreView(He).index,st=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(st.MonatButtonClicked(wt))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&je){const He=gt.$implicit,vt=gt.index,ut=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ut.GetMonatButtonColor(vt)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(He)}}function G(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td",6)(5,"ion-button",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ut.AddUrlaub())}),e.\u0275\u0275text(6,"Urlaub eintragen"),e.\u0275\u0275elementEnd()()()()()()}if(2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",He.DB.CountResturlaub()<=0)}}function te(je,gt){if(1&je&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td",31),e.\u0275\u0275text(2,"bis zum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td")(4,"div",30),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&je){const He=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null!==He.DB.CurrentUrlaubzeitspanne&&null!==He.DB.CurrentUrlaubzeitspanne.Endestempel?He.DB.CurrentUrlaubzeitspanne.Endestempel:"Bitte Endedatum im Kalender oben anklicken"," ")}}function ue(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",32),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(ut.CancelDatumClicked())}),e.\u0275\u0275element(2,"ion-icon",33),e.\u0275\u0275elementEnd()()}}function se(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td")(5,"div",30),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(7,te,6,1,"ng-container",17)(8,ue,3,0,"td",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"tr"),e.\u0275\u0275elementEnd()()()),2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",null!==He.DB.CurrentUrlaubzeitspanne&&null!==He.DB.CurrentUrlaubzeitspanne.Startstempel?He.DB.CurrentUrlaubzeitspanne.Startstring:"Bitte Startdatum im Kalender oben anklicken"," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==He.DB.CurrentUrlaubzeitspanne&&null!==He.DB.CurrentUrlaubzeitspanne.Startstempel),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===He.AddUrlaubRunning)}}function K(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",34)(3,"tr")(4,"td",35),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()),2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("Momentan ist noch kein Urlaub eingetragen. Du hast ",He.DB.CountResturlaub()," Urlaubstage.")}}function Z(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",47),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext().$implicit,wt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(wt.StellvertreterFestlegenClicked(ut))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&je){const He=e.\u0275\u0275nextContext().$implicit,vt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(null!==He.VertreterID?vt.GetStellvertretername(He):"Festlegen")}}function re(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&je){const He=e.\u0275\u0275nextContext().$implicit,vt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(null!==He.VertreterID?vt.GetStellvertretername(He):"Festlegen")}}function J(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",35),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275template(8,Z,2,1,"ion-button",44)(9,re,2,1,"span",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",6)(11,"div",45),e.\u0275\u0275listener("click",function(){const wt=e.\u0275\u0275restoreView(He).$implicit,st=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(st.StatusClickedHandler(wt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(12,"td",46),e.\u0275\u0275elementStart(13,"td")(14,"ion-button",47),e.\u0275\u0275listener("click",function(){const wt=e.\u0275\u0275restoreView(He).$implicit,st=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(st.UrlaubSuchen(wt))}),e.\u0275\u0275element(15,"ion-icon",48),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"ion-button",49),e.\u0275\u0275listener("click",function(){const wt=e.\u0275\u0275restoreView(He).$implicit,st=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(st.UrlaubLoeschen(wt))}),e.\u0275\u0275element(18,"ion-icon",50),e.\u0275\u0275elementEnd()()()}if(2&je){const He=gt.$implicit,vt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(vt.GetDatum(He.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(vt.GetDatum(He.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(He.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",He.Status===vt.DB.Urlaubstatusvarianten.Geplant||He.Status===vt.DB.Urlaubstatusvarianten.Vertreterablehnung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.Status!==vt.DB.Urlaubstatusvarianten.Geplant&&He.Status!==vt.DB.Urlaubstatusvarianten.Vertreterablehnung),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("cursor",!0===vt.Pool.Mitarbeiterdaten.Urlaubsfreigaben?"pointer":"default")("background",vt.DB.GetUrlaubStatuscolor(He.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",He.Planungmeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",!1===vt.CheckLoschenEnabled(He))}}function Y(je,gt){if(1&je&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,J,19,11,"tr",10),e.\u0275\u0275elementContainerEnd()),2&je){const He=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",He.DB.CurrentUrlaub.Urlaubzeitspannen)}}function $(je,gt){1&je&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr"),e.\u0275\u0275element(2,"td",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function le(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",36)(3,"tr")(4,"td",37),e.\u0275\u0275text(5,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",37),e.\u0275\u0275text(7,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",38),e.\u0275\u0275text(9,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",37),e.\u0275\u0275text(11,"Stellvertreter"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"td",37),e.\u0275\u0275text(13,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td",39),e.\u0275\u0275text(15,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(16,"td",40)(17,"td",40),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(18,Y,2,1,"ng-container",17)(19,$,3,0,"ng-container",17),e.\u0275\u0275elementStart(20,"tr")(21,"td",41),e.\u0275\u0275text(22,"Resturlaub"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td",35),e.\u0275\u0275text(24),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(25,"td",42),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"tr")(27,"td",43)(28,"ion-button",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ut.DB.UpdateVertreteranfragen())}),e.\u0275\u0275text(29,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()()()()()}if(2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(18),e.\u0275\u0275property("ngIf",He.DB.CurrentUrlaub.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===He.DB.CurrentUrlaub.Urlaubzeitspannen.length),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(He.DB.CountResturlaub()),e.\u0275\u0275advance(4),e.\u0275\u0275property("disabled",!1===He.CheckUrlaubUpdatesAvailable())}}function ee(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td",6)(5,"ion-button",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ut.AddHomeofficeStart())}),e.\u0275\u0275text(6,"Homeoffice eintragen"),e.\u0275\u0275elementEnd()()()()()()}if(2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",He.DB.CountHomeoffice()<=0)}}function we(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"table",7)(3,"tr")(4,"td",6)(5,"div",52),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ut.SaveHomeofficeEventHandler())}),e.\u0275\u0275elementStart(6,"table")(7,"tr")(8,"td",53)(9,"b"),e.\u0275\u0275text(10,"Fertig"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"td"),e.\u0275\u0275element(12,"ion-icon",54),e.\u0275\u0275elementEnd()()()()()()()()()}}function ye(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",34)(3,"tr")(4,"td",35),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()),2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("Momentan ist noch kein Homeoffice eingetragen. Du hast ",He.DB.CountHomeoffice()," Homeofficetage.")}}function Oe(je,gt){1&je&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1,"|"),e.\u0275\u0275elementEnd())}function ve(je,gt){if(1&je&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"span"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,Oe,2,0,"span",17),e.\u0275\u0275elementContainerEnd()),2&je){const He=gt.$implicit,vt=gt.index,ut=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",He.Startstring," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",vt0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.DB.CountHomeAbgelehnt()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.DB.CountHomeFreigbeanfragen()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.DB.CountHomeGeplant()>0),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",He.DB.CountHomeoffice()," Tage"),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===He.CheckHomeofficeUpdatesAvailable())}}function wn(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",21)(2,"table",4)(3,"tr")(4,"td",28)(5,"table"),e.\u0275\u0275template(6,G,7,1,"tr",17)(7,se,10,3,"tr",17)(8,K,6,1,"tr",17)(9,le,30,4,"tr",17),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"td",28)(11,"table"),e.\u0275\u0275template(12,ee,7,1,"tr",17)(13,we,13,0,"tr",17)(14,ye,6,1,"tr",17)(15,hn,22,6,"tr",17),e.\u0275\u0275elementEnd()()()()()()),2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===He.AddUrlaubRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddHomeofficeRunning&&!1===He.AddUrlaubRunning&&0===He.DB.CurrentUrlaub.Urlaubzeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning&&He.DB.CurrentUrlaub.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===He.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddHomeofficeRunning&&!1===He.AddUrlaubRunning&&0===He.DB.CurrentUrlaub.Homeofficezeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning&&He.DB.CurrentUrlaub.Homeofficezeitspannen.length>0)}}function An(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",60),e.\u0275\u0275listener("CheckChanged",function(ut){e.\u0275\u0275restoreView(He);const wt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(wt.AnsichtFeiertageCheckChanged(ut,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",58),e.\u0275\u0275element(6,"ion-icon",63),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",60),e.\u0275\u0275listener("CheckChanged",function(ut){e.\u0275\u0275restoreView(He);const wt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(wt.AnsichtFerientageCheckChanged(ut,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",58),e.\u0275\u0275element(14,"ion-icon",64),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",He.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",He.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Ferien_DE)}}function _n(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(ut){const wt=e.\u0275\u0275restoreView(He),st=wt.$implicit,zt=wt.index,pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(pt.DisplayExternCheckChanged(ut,st,zt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",66),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&je){const He=gt.$implicit,vt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",vt.DB.CheckDisplayExternenUrlaub(He.MitarbeiterIDExtern))("Enabled",He.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(He.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",He.NameExtern," ",He.Text,"")}}function qt(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",13),e.\u0275\u0275template(1,An,17,6,"ng-container",17),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",60),e.\u0275\u0275listener("CheckChanged",function(ut){e.\u0275\u0275restoreView(He);const wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.AnsichtFeiertageCheckChanged(ut,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",58),e.\u0275\u0275element(8,"ion-icon",61),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",60),e.\u0275\u0275listener("CheckChanged",function(ut){e.\u0275\u0275restoreView(He);const wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.AnsichtFerientageCheckChanged(ut,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",58),e.\u0275\u0275element(16,"ion-icon",62),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",58),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",58),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",58),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",58),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",58),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",58),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(55,"tr"),e.\u0275\u0275element(56,"td"),e.\u0275\u0275elementStart(57,"td")(58,"div",58),e.\u0275\u0275text(59,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(60,"td"),e.\u0275\u0275text(61,"geplantes Homeoffice"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(62,"tr"),e.\u0275\u0275elementStart(63,"tr"),e.\u0275\u0275element(64,"td"),e.\u0275\u0275elementStart(65,"td")(66,"div",58),e.\u0275\u0275text(67,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(68,"td"),e.\u0275\u0275text(69,"Homeoffice Freigabe angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(70,"tr"),e.\u0275\u0275element(71,"td"),e.\u0275\u0275elementStart(72,"td")(73,"div",58),e.\u0275\u0275text(74,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(75,"td"),e.\u0275\u0275text(76,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"tr"),e.\u0275\u0275element(78,"td"),e.\u0275\u0275elementStart(79,"td")(80,"div",58),e.\u0275\u0275text(81,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(82,"td"),e.\u0275\u0275text(83,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(84,_n,8,5,"tr",10),e.\u0275\u0275elementEnd()}if(2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===He.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",He.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",He.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Geplant),e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Freigabeanfrage),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Genehmigt),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Abgelehnt),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",He.DB.UrlaublisteExtern)}}function ht(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",67),e.\u0275\u0275elementEnd()),2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",He.Flagsource,e.\u0275\u0275sanitizeUrl)}}function Ue(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"td",68),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(He.Message)}}function Ee(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",69),e.\u0275\u0275listener("OkClickedEvent",function(ut){e.\u0275\u0275restoreView(He);const wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.AuswahlOkButtonClicked(ut))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ut.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",He.Auswahlliste)("Auswahlindex",He.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",He.Auswahltitel)("Iconname","")}}function Te(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",70),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ut.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(ut){e.\u0275\u0275restoreView(He);const wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.MitarbeiterauswahlOkButtonClicked(ut))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ut.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",He.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",He.AuswahlIDliste)}}h.CommonUrlaubPlanungPage=(()=>{class je{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;Auswahlservice;Tools;Debug;PageHeader;PageFooter;Monateliste_Uebersicht;Monateliste_Mounseover;Auswahlliste;BundeslandAuswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Message;ShowMitarbeitereditor;AddUrlaubRunning;AddHomeofficeRunning;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;constructor(He,vt,ut,wt,st,zt,pt,It,Yt,Xt,At){this.Menuservice=He,this.Basics=vt,this.DBMitarbeitersettings=ut,this.Pool=wt,this.DB=st,this.DBMitarbeiter=zt,this.Const=pt,this.DBStandort=It,this.Auswahlservice=Yt,this.Tools=Xt,this.Debug=At;try{this.Monateliste_Uebersicht=[],this.Monateliste_Uebersicht.push(["Januar","Februar","M\xe4rz","April","Mai","Juni"]),this.Monateliste_Uebersicht.push(["Juli","August","September","Oktober","November","Dezember"]),this.Monateliste_Mounseover=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Message="",this.ShowMitarbeitereditor=!1,this.Auswahldialogorigin=this.Const.NONE,this.AddUrlaubRunning=!1,this.AddHomeofficeRunning=!1,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource=""}catch($t){this.Debug.ShowErrorMessage($t.message,"Urlaubsplanung Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","OnInit",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(He){var vt=this;return n(function*(){try{let ut,wt;switch((0,a.default)().locale("de"),vt.Auswahldialogorigin){case vt.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:vt.DB.Bundeslandkuerzel=He;let zt=vt.DB.Bundeslandkuerzel.substring(0,2);vt.DB.ReadFeiertage(zt).then(()=>{vt.ShowAuswahl=!1,vt.PrepareData()});break;case vt.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern:null!==He&&He!==vt.DB.CurrentUrlaubzeitspanne.Status&&(ut=d.find(vt.DB.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:vt.DB.CurrentUrlaubzeitspanne.ZeitspannenID}),ut.Status=He,ut.Status===vt.DB.Urlaubstatusvarianten.Geplant&&(ut.VertreteranfrageSended=!1,ut.VertreterantwortSended=!1,ut.FreigabeanfrageSended=!1,ut.FreigabeantwortSended=!1,ut.FreigabeantwortOfficeSended=!1,ut.Vertretunganfragezeitstempel=null,ut.Vertretungantwortzeitstempel=null,ut.Vertretungantwortzeitstempel=null,ut.Freigabeantwortzeitstempel=null,ut.FreigabeantwortOfficezeitstempel=null),wt=d.findIndex(vt.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:vt.DB.Jahr}),vt.DB.CurrentMitarbeiter.Urlaubsliste[wt]=vt.DB.CurrentUrlaub,yield vt.DBMitarbeiter.UpdateMitarbeiterUrlaub(vt.DB.CurrentMitarbeiter).then(()=>{vt.ShowAuswahl=!1}));break;case vt.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter:vt.DBStandort.CurrentStandortfilter=(0,l.cloneDeep)(He),vt.Pool.Mitarbeitersettings.StandortFilter=null!==He?He._id:vt.Const.NONE,vt.DBMitarbeitersettings.UpdateMitarbeitersettings(vt.Pool.Mitarbeitersettings,null).then(()=>{vt.ShowAuswahl=!1,vt.DBStandort.StandortfilterChanged.emit()});break;case vt.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen:ut=d.find(vt.DB.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:vt.DB.CurrentUrlaubzeitspanne.ZeitspannenID}),vt.DB.CurrentUrlaubzeitspanne.VertreterID=He,ut.VertreterID=He,ut.Status=vt.DB.Urlaubstatusvarianten.Geplant,ut.FreigabeantwortSended=!1,ut.FreigabeanfrageSended=!1,ut.VertreterantwortSended=!1,wt=d.findIndex(vt.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:vt.DB.Jahr}),vt.DB.CurrentMitarbeiter.Urlaubsliste[wt]=vt.DB.CurrentUrlaub,yield vt.DBMitarbeiter.UpdateMitarbeiterUrlaub(vt.DB.CurrentMitarbeiter).then(()=>{vt.ShowAuswahl=!1})}}catch(ut){vt.Debug.ShowErrorMessage(ut.message,"Urlaubsplanung Page","AuswahlOkButtonClicked",vt.Debug.Typen.Page)}})()}BundeslandClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland,this.Auswahltitel="Bundesland",this.Auswahlhoehe=600,this.Auswahlliste=this.BundeslandAuswahlliste,this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.Bundeslandkuerzel}),this.ShowAuswahl=!0}catch(He){this.Debug.ShowErrorMessage(He.message,"Urlaubsplanung Page","FortschrittClickedHandler",this.Debug.Typen.Page)}}PrepareData(){var He=this;return n(function*(){try{let vt=0;He.DB.Init(),He.DB.CheckSetup(),He.DB.SetPlanungsmonate(),He.DB.CountAnfragenanzahlen(),He.BundeslandAuswahlliste=[];for(let ut of He.DB.Regionenliste)He.BundeslandAuswahlliste.push({Index:vt,FirstColumn:ut.Name,SecoundColumn:ut.isoCode,Data:ut.isoCode}),vt++;He.DB.Bundesland=d.find(He.BundeslandAuswahlliste,{Data:He.DB.Bundeslandkuerzel}).FirstColumn}catch(vt){He.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","PrepareData",He.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(He){try{this.Message=He.Name,""!==He.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===He.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(He){try{this.Message=He.Name,""!==He.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===He.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(He){return(0,a.default)(He).format("DD.MM.YYYY")}AnsichtFerientageCheckChanged(He,vt){try{switch(vt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=He.status,this.DB.ShowFerientage_DE=He.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=He.status,this.DB.ShowFerientage_BG=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(ut){this.Debug.ShowErrorMessage(ut,"Urlaubsplanung Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(He,vt){try{switch(vt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=He.status,this.DB.ShowFeiertage_DE=He.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=He.status,this.DB.ShowFeiertage_BG=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(ut){this.Debug.ShowErrorMessage(ut,"Urlaubsplanung Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetMonatButtonColor(He){try{if(this.DB.CurrentMonatindex===He)return"orange"}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","GetMonatButtonColor",this.Debug.Typen.Page)}}MonatButtonClicked(He){try{this.DB.CurrentMonatindex=He,this.DB.SetPlanungsmonate()}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","MonatButtonClicked",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}AddUrlaub(){try{this.DB.CurrentUrlaubzeitspanne=null,this.AddUrlaubRunning=!0}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddUrlaub",this.Debug.Typen.Page)}}AddHomeofficeStart(){try{this.DB.CurrentHomeofficezeitspanne=null,this.AddHomeofficeRunning=!0}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddHomeofficeStart",this.Debug.Typen.Page)}}AddUrlaubFinishedHandler(){try{if(this.AddUrlaubRunning=!1,null!==this.DB.CurrentUrlaubzeitspanne){this.DB.CurrentUrlaub.Urlaubzeitspannen.push(this.DB.CurrentUrlaubzeitspanne);let He=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[He]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddUrlaubFinishedHandler",this.Debug.Typen.Page)}}UrlaubLoeschen(He){try{let vt=d.filter(this.DB.CurrentUrlaub.Urlaubzeitspannen,wt=>wt.ZeitspannenID!==He.ZeitspannenID);this.DB.CurrentUrlaub=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr}),this.DB.CurrentUrlaub.Urlaubzeitspannen=vt;let ut=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[ut]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.PlanungsmonateChanged.emit()})}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","UrlaubLoeschen",this.Debug.Typen.Page)}}AnsichtCheckChanged(He,vt){try{switch(vt){case this.DB.Urlaubstatusvarianten.Geplant:this.Pool.Mitarbeitersettings.UrlaubShowBeantragt=He.status;break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:this.Pool.Mitarbeitersettings.UrlaubShowVertreterfreigabe=He.status;break;case this.DB.Urlaubstatusvarianten.Genehmigt:this.Pool.Mitarbeitersettings.UrlaubShowGenehmigt=He.status;break;case this.DB.Urlaubstatusvarianten.Abgelehnt:this.Pool.Mitarbeitersettings.UrlaubShowAbgelehnt=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(ut){this.Debug.ShowErrorMessage(ut,"Urlaubsplanung Page","AnsichtCheckChanged",this.Debug.Typen.Page)}}UrlaubSuchen(He){try{let vt=(0,a.default)(He.Startstempel);this.DB.CurrentMonatindex=vt.month(),this.DB.SetPlanungsmonate()}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","UrlaubSuchen",this.Debug.Typen.Page)}}GetDatumlangtext(He){try{return(0,a.default)(He).locale("de").format("DD. MMMM YYYY")}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(He){try{let vt;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(vt=d.find(this.Pool.Mitarbeiterliste,{_id:He[0]}),this.DB.CurrentMitarbeiter=vt,this.PrepareData(),this.DB.PlanungsmonateChanged.emit()),this.ShowMitarbeiterauswahl=!1}catch(vt){this.Debug.ShowErrorMessage(vt.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter;let He=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:He,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),He++;for(let vt of this.Pool.Standorteliste)this.Auswahlliste.push({Index:He,FirstColumn:vt.Kuerzel,SecoundColumn:vt.Standort,Data:vt}),He++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(He){this.Debug.ShowErrorMessage(He.message,"Urlaubsplanung Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}StellvertreterFestlegenClicked(He){try{let vt,ut;this.DB.CurrentUrlaubzeitspanne=He,ut=0,this.Auswahlliste=[];for(let wt of this.DB.CurrentUrlaub.Projektbeteiligteliste)vt=d.find(this.Pool.Mitarbeiterliste,{_id:wt.MitarbeiterID}),d.isUndefined(vt)||(this.Auswahlliste.push({Index:ut,FirstColumn:vt.Vorname+" "+vt.Name,SecoundColumn:"",Data:vt._id}),ut++);this.Auswahltitel="Stellvertreter/in festlegen",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen,this.ShowAuswahl=!0,this.Auswahlindex=d.findIndex(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:He.VertreterID})}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","StellvertreterFestlegenClicked",this.Debug.Typen.Page)}}GetStellvertretername(He){try{let vt=d.find(this.Pool.Mitarbeiterliste,{_id:He.VertreterID});return d.isUndefined(vt)?"unbekannt":vt.Vorname+" "+vt.Name}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","GetStellvertretername",this.Debug.Typen.Page)}}DisplayExternCheckChanged(He,vt,ut){try{let wt=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:vt.MitarbeiterIDExtern});d.isUndefined(wt)||(wt.Display=He.status);let st=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[st]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(wt){this.Debug.ShowErrorMessage(wt,"Urlaubsplanung Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}CheckUrlaubUpdatesAvailable(){try{let He=!1;if(null!==this.DB.CurrentUrlaub)for(let vt of this.DB.CurrentUrlaub.Urlaubzeitspannen)vt.Status===this.DB.Urlaubstatusvarianten.Geplant&&null!==vt.VertreterID&&(He=!0);return He}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","CheckUrlaubUpdatesAvailable",this.Debug.Typen.Page)}}CheckHomeofficeUpdatesAvailable(){try{let He=!1;if(null!==this.DB.CurrentUrlaub)for(let vt of this.DB.CurrentUrlaub.Homeofficezeitspannen)vt.Status===this.DB.Urlaubstatusvarianten.Geplant&&null!==this.DB.CurrentUrlaub.HomeofficefreigeberID&&(He=!0);return He}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","CheckHomeofficeUpdatesAvailable",this.Debug.Typen.Page)}}CheckLoschenEnabled(He){try{return null!==this.Pool.Mitarbeiterdaten&&!0===this.Pool.Mitarbeiterdaten.Urlaubsfreigaben||He.Status===this.DB.Urlaubstatusvarianten.Geplant||He.Status===this.DB.Urlaubstatusvarianten.Abgelehnt||He.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","CheckLoschenEnabled",this.Debug.Typen.Page)}}CancelDatumClicked(){try{this.AddUrlaubRunning=!1,this.DB.CurrentUrlaubzeitspanne=null}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","CancelDatumClicked",this.Debug.Typen.Page)}}StatusClickedHandler(He){try{let vt=0;this.Auswahltitel="Status \xe4ndern",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern,this.DB.CurrentUrlaubzeitspanne=He,this.Auswahlliste=[],this.Auswahlliste.push({Index:vt++,FirstColumn:this.DB.Urlaubstatusvarianten.Geplant,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Geplant}),this.Auswahlliste.push({Index:vt++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreteranfrage,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreteranfrage}),this.Auswahlliste.push({Index:vt++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterablehnung,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterablehnung}),this.Auswahlliste.push({Index:vt++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterfreigabe,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterfreigabe}),this.Auswahlliste.push({Index:vt++,FirstColumn:this.DB.Urlaubstatusvarianten.Abgelehnt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Abgelehnt}),this.Auswahlliste.push({Index:vt++,FirstColumn:this.DB.Urlaubstatusvarianten.Genehmigt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Genehmigt}),this.ShowAuswahl=!0,this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:He.Status})}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","StatusClickedHandler",this.Debug.Typen.Page)}}AddHomeoffice(){try{if(null!==this.DB.CurrentHomeofficezeitspanne){this.DB.CurrentUrlaub.Homeofficezeitspannen.push(this.DB.CurrentHomeofficezeitspanne);let He=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[He]=this.DB.CurrentUrlaub}}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddHomeofficeFinished",this.Debug.Typen.Page)}}SaveHomeofficeEventHandler(){try{this.AddHomeofficeRunning=!1,this.DB.CurrentHomeofficezeitspanne=null,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","SaveHomeofficeEventHandler",this.Debug.Typen.Page)}}GetHomeofficezeitspannenByStataus(He){try{return d.filter(this.DB.CurrentUrlaub.Homeofficezeitspannen,{Status:He})}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","GetHomeofficezeitspannenByStataus",this.Debug.Typen.Page)}}static \u0275fac=function(vt){return new(vt||je)(e.\u0275\u0275directiveInject(u.MenueService),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(p.DatabaseUrlaubService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(C.ConstProvider),e.\u0275\u0275directiveInject(_.DatabaseStandorteService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(y.ToolsProvider),e.\u0275\u0275directiveInject(b.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:je,selectors:[["common-urlaub-planung-page"]],viewQuery:function(vt,ut){if(1&vt&&(e.\u0275\u0275viewQuery(N,5),e.\u0275\u0275viewQuery(O,5)),2&vt){let wt;e.\u0275\u0275queryRefresh(wt=e.\u0275\u0275loadQuery())&&(ut.PageHeader=wt.first),e.\u0275\u0275queryRefresh(wt=e.\u0275\u0275loadQuery())&&(ut.PageFooter=wt.first)}},decls:51,vars:29,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],[2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],["align","center","valign","top"],[1,"paddingtable"],["valign","top",2,"width","500px"],[3,"Jahr","Monatindex","AddUrlaubRunning","AddHomeofficerunning","AddUrlaubFinished","AddHomeofficeEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","AddHomeofficerunning","AddUrlaubFinished","AddHomeofficeEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["valign","top","align","center",2,"width","50%","padding","4px"],["size","small",3,"disabled","click"],[1,"datumdivclass"],[2,"width","100px","text-align","center"],[1,"datumcanceldivclass",3,"click"],["name","close-outline","color","weiss",2,"font-size","36px"],[1,"docinnertable",2,"width","520px"],[2,"text-align","center"],[1,"docinnertable"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],[2,"width","30px"],["colspan","2",2,"text-align","right","font-weight","bold"],["colspan","5"],["align","center","colspan","8"],["size","small","color","grau",3,"click",4,"ngIf"],[1,"legendedivclass",3,"click"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],["size","small","color","rot",3,"disabled","click"],["name","trash","slot","icon-only",2,"font-size","16px"],["colspan","8"],[1,"datumokdivclass",3,"click"],[2,"color","white","font-size","120%"],["name","checkmark-outline","color","weiss",2,"font-size","36px"],[2,"font-weight","bold","text-align","left","width","500px"],[2,"font-weight","bold","text-align","center","width","50px"],["colspan","3",2,"text-align","left"],[1,"legendedivclass"],["size","small","color","rot",3,"click"],[3,"Checked","CheckChanged"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(vt,ut){1&vt&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return ut.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return ut.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,H,3,3,"td",10),e.\u0275\u0275elementStart(17,"td")(18,"div",8),e.\u0275\u0275listener("click",function(){return ut.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",11),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr")(21,"td",12)(22,"table",13)(23,"tr")(24,"td",14)(25,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("AddUrlaubFinished",function(){return ut.AddUrlaubFinishedHandler()})("AddHomeofficeEvent",function(){return ut.AddHomeoffice()})("FeiertagCrossedEvent",function(st){return ut.FeiertagCrossedEventHandler(st)})("FerientagCrossedEvent",function(st){return ut.FerientagCrossedEventHandler(st)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(26,"td",14)(27,"urlaubsplanung-kalender",16),e.\u0275\u0275listener("AddUrlaubFinished",function(){return ut.AddUrlaubFinishedHandler()})("AddHomeofficeEvent",function(){return ut.AddHomeoffice()})("FeiertagCrossedEvent",function(st){return ut.FeiertagCrossedEventHandler(st)})("FerientagCrossedEvent",function(st){return ut.FerientagCrossedEventHandler(st)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(28,"td",14)(29,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("AddUrlaubFinished",function(){return ut.AddUrlaubFinishedHandler()})("AddHomeofficeEvent",function(){return ut.AddHomeoffice()})("FeiertagCrossedEvent",function(st){return ut.FeiertagCrossedEventHandler(st)})("FerientagCrossedEvent",function(st){return ut.FerientagCrossedEventHandler(st)}),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(30,wn,16,8,"tr",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(31,"div",18)(32,"table")(33,"tr")(34,"td")(35,"div",19),e.\u0275\u0275listener("click",function(){return ut.LegendeVisible=!ut.LegendeVisible}),e.\u0275\u0275element(36,"ion-icon",20),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"td",21),e.\u0275\u0275template(38,qt,85,28,"table",22),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(39,"ion-footer")(40,"page-footer",null,23)(42,"table",4)(43,"tr")(44,"td",24)(45,"table",13)(46,"tr"),e.\u0275\u0275template(47,ht,2,1,"td",17)(48,Ue,2,1,"td",25),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(49,Ee,1,7,"auswahl-dialog",26)(50,Te,1,6,"fi-mitarbeiter-auswahl",27)),2&vt&&(e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",ut.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",ut.DB.Jahr)("Monatindex",ut.DB.FirstMonatIndex)("AddUrlaubRunning",ut.AddUrlaubRunning)("AddHomeofficerunning",ut.AddHomeofficeRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",ut.DB.Jahr)("ShowYear",!0)("Monatindex",ut.DB.CurrentMonatindex)("AddUrlaubRunning",ut.AddUrlaubRunning)("AddHomeofficerunning",ut.AddHomeofficeRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",ut.DB.Jahr)("Monatindex",ut.DB.LastMonatIndex)("AddUrlaubRunning",ut.AddUrlaubRunning)("AddHomeofficerunning",ut.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==ut.DB.CurrentUrlaub),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",ut.Legendehoehe,"px")("width",ut.Legendebreite,"px")("right",ut.LegendeVisible?0:-(ut.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",ut.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",ut.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==ut.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==ut.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==ut.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ut.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ut.ShowMitarbeiterauswahl))},dependencies:[E.NgForOf,E.NgIf,M.IonButton,M.IonContent,M.IonFooter,M.IonHeader,M.IonIcon,A.PageHeaderComponent,I.PageHeaderMenuComponent,F.PageFooterComponent,j.PjProjektpunktDateKWPickerComponent,T.AuswahlDialogComponent,P.CheckboxClonComponent,x.FiMitarbeiterAuswahlComponent],styles:[".datumdivclass[_ngcontent-%COMP%]{width:200px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:#307ac1;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;padding:4px}.datumcanceldivclass[_ngcontent-%COMP%]{width:60px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:red;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;cursor:pointer;padding:4px}.datumokdivclass[_ngcontent-%COMP%]{width:120px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:green;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;cursor:pointer;padding:4px}.contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:auto}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;font-size:90%;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return je})()},19204:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubsuebersichtPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),l=o(62364),e=o(70216),u=o(56568),c=o(6168),g=o(90520),v=o(6232),p=o(72284),S=o(10272),C=o(7388),_=o(27328),f=o(26668),y=n.__importStar(o(54496)),E=(n.__importStar(o(56568)),[{path:"",component:l.CommonUrlaubUebersichtPage}]);h.CommonUrlaubsuebersichtPageModule=(()=>{class A{static \u0275fac=function(j){return new(j||A)};static \u0275mod=y.\u0275\u0275defineNgModule({type:A});static \u0275inj=y.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(E),c.PageHeaderMenuModule,g.PageFooterModule,v.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,C.CheckboxClonModule,_.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return A})()},62364:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubUebersichtPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),l=o(17964),e=i.__importStar(o(54496)),u=i.__importStar(o(59460)),c=i.__importStar(o(14652)),g=i.__importStar(o(7992)),v=i.__importStar(o(9544)),p=i.__importStar(o(29743)),S=i.__importStar(o(22848)),C=i.__importStar(o(15024)),_=i.__importStar(o(58864)),f=i.__importStar(o(48044)),y=i.__importStar(o(34388)),b=i.__importStar(o(91368)),E=i.__importStar(o(10716)),M=i.__importStar(o(90212)),A=i.__importStar(o(63792)),I=i.__importStar(o(29856)),F=i.__importStar(o(77440)),j=i.__importStar(o(56584)),T=i.__importStar(o(25856)),P=i.__importStar(o(80887)),x=["PageHeader"],N=["PageFooter"];function O(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Ze.FeiertagCrossedEventHandler(Pe))})("FerientagCrossedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Ze.FerientagCrossedEventHandler(Pe))}),e.\u0275\u0275elementEnd()()}if(2&ye){const ve=Oe.index,_e=e.\u0275\u0275nextContext().index,Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",Pe.DB.Jahr)("Monatindex",6*_e+ve)}}function H(ye,Oe){if(1&ye&&(e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275element(1,"td",23),e.\u0275\u0275template(2,O,2,2,"td",24),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275elementEnd()),2&ye){const ve=Oe.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",ve)}}function G(ye,Oe){if(1&ye&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21),e.\u0275\u0275template(2,H,4,1,"tr",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",ve.Monateliste_Gesamtjahr)}}function te(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.FeiertagCrossedEventHandler(Pe))})("FerientagCrossedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.FerientagCrossedEventHandler(Pe))}),e.\u0275\u0275elementEnd()()}if(2&ye){const ve=Oe.index,_e=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",_e.DB.Jahr)("Monatindex",ve)}}function ue(ye,Oe){if(1&ye&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,te,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",ve.Monateliste_HalbjahrEins)}}function se(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.FeiertagCrossedEventHandler(Pe))})("FerientagCrossedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.FerientagCrossedEventHandler(Pe))}),e.\u0275\u0275elementEnd()()}if(2&ye){const ve=Oe.index,_e=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",_e.DB.Jahr)("Monatindex",ve+6)}}function K(ye,Oe){if(1&ye&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,se,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",ve.Monateliste_HalbjahrZwei)}}function Z(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.AnsichtFeiertageCheckChanged(Pe,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",28),e.\u0275\u0275element(6,"ion-icon",31),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.AnsichtFerientageCheckChanged(Pe,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",28),e.\u0275\u0275element(14,"ion-icon",32),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&ye){const ve=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",ve.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",ve.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Ferien_DE)}}function re(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",33),e.\u0275\u0275listener("CheckChanged",function(Pe){const Ze=e.\u0275\u0275restoreView(ve),ot=Ze.$implicit,tt=Ze.index,mt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(mt.DisplayExternCheckChanged(Pe,ot,tt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",34),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&ye){const ve=Oe.$implicit,_e=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",_e.DB.CheckDisplayExternenUrlaub(ve.MitarbeiterIDExtern))("Enabled",ve.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(ve.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",ve.NameExtern," ",ve.Text,"")}}function J(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",17),e.\u0275\u0275template(1,Z,17,6,"ng-container",9),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ze.AnsichtFeiertageCheckChanged(Pe,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",28),e.\u0275\u0275element(8,"ion-icon",29),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ze.AnsichtFerientageCheckChanged(Pe,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",28),e.\u0275\u0275element(16,"ion-icon",30),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,re,8,5,"tr",22),e.\u0275\u0275elementEnd()}if(2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===ve.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",ve.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",ve.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",ve.DB.UrlaublisteExtern)}}function Y(ye,Oe){if(1&ye&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",35),e.\u0275\u0275elementEnd()),2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",ve.Flagsource,e.\u0275\u0275sanitizeUrl)}}function $(ye,Oe){if(1&ye&&(e.\u0275\u0275elementStart(0,"td",36),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(ve.Message)}}function le(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",37),e.\u0275\u0275listener("OkClickedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ze.AuswahlOkButtonClicked(Pe))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ve);const Pe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pe.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",ve.Auswahlliste)("Auswahlindex",ve.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",ve.Auswahltitel)("Iconname","")}}function ee(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",38),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ve);const Pe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pe.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ze.MitarbeiterauswahlOkButtonClicked(Pe))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(ve);const Pe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pe.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",ve.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",ve.AuswahlIDliste)}}h.CommonUrlaubUebersichtPage=(()=>{class ye{Menuservice;Basics;Pool;DB;Const;DBMitarbeiter;DBMitarbeitersettings;DBStandort;Auswahlservice;Debug;PageHeader;PageFooter;Ansichtenvarinaten={Gesamtjahr:"Gesamtjahr",HalbjahrEins:"HalbjahrEins",HalbjahrZwei:"HalbjahrZwei"};Monateliste_Gesamtjahr;Auswahlliste;BundeslandAuswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Ansichtvariante;Message;ShowMitarbeitereditor;AddUrlaubRunning;Auswahldialogorigin;DataSubscription;AuswahlIDliste;MitarbeiterauswahlTitel;ShowMitarbeiterauswahl;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;Monateliste_HalbjahrEins;Monateliste_HalbjahrZwei;constructor(ve,_e,Pe,Ze,ot,tt,mt,Qe,Ct,Xe){this.Menuservice=ve,this.Basics=_e,this.Pool=Pe,this.DB=Ze,this.Const=ot,this.DBMitarbeiter=tt,this.DBMitarbeitersettings=mt,this.DBStandort=Qe,this.Auswahlservice=Ct,this.Debug=Xe;try{this.Monateliste_Gesamtjahr=[],this.Monateliste_Gesamtjahr.push(["Januar","Februar","M\xe4rz","April","Mai","Juni"]),this.Monateliste_Gesamtjahr.push(["Juli","August","September","Oktober","November","Dezember"]),this.Monateliste_HalbjahrEins=["Januar","Februar","M\xe4rz","April","Mai","Juni"],this.Monateliste_HalbjahrZwei=["Juli","August","September","Oktober","November","Dezember"],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Message="",this.ShowMitarbeitereditor=!1,this.Auswahldialogorigin=this.Const.NONE,this.AddUrlaubRunning=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.ShowMitarbeiterauswahl=!1,this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource="",this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Urlaubsuebersicht Page","constructor",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaubsuebersicht Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaubsuebersicht Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Ansichtvariante=(0,a.default)().locale("de").month()+1<=6?this.Ansichtenvarinaten.HalbjahrEins:this.Ansichtenvarinaten.HalbjahrZwei,this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaubsuebersicht Page","OnInit",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(ve){try{let _e;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(_e=d.find(this.Pool.Mitarbeiterliste,{_id:ve[0]}),this.DB.CurrentMitarbeiter=_e,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(ve){var _e=this;return n(function*(){try{switch(_e.Auswahldialogorigin){case _e.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:_e.DB.Bundeslandkuerzel=ve;let Pe=_e.DB.Bundeslandkuerzel.substring(0,2);_e.DB.ReadFeiertage(Pe);break;case _e.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter:_e.DBStandort.CurrentStandortfilter=(0,l.cloneDeep)(ve),_e.Pool.Mitarbeitersettings.StandortFilter=null!==ve?ve._id:_e.Const.NONE,_e.DBMitarbeitersettings.UpdateMitarbeitersettings(_e.Pool.Mitarbeitersettings,null).then(()=>{_e.ShowAuswahl=!1,_e.DBStandort.StandortfilterChanged.emit()})}_e.ShowAuswahl=!1,_e.PrepareData()}catch(Pe){_e.Debug.ShowErrorMessage(Pe.message,"Urlaubsuebersicht Page","AuswahlOkButtonClicked",_e.Debug.Typen.Page)}})()}PrepareData(){var ve=this;return n(function*(){try{let _e=0;ve.DB.Init(),ve.DB.CheckSetup(),ve.DB.SetPlanungsmonate(),ve.DB.CountAnfragenanzahlen(),ve.BundeslandAuswahlliste=[];for(let Pe of ve.DB.Regionenliste)ve.BundeslandAuswahlliste.push({Index:_e,FirstColumn:Pe.Name,SecoundColumn:Pe.isoCode,Data:Pe.isoCode}),_e++;ve.DB.Bundesland=d.find(ve.BundeslandAuswahlliste,{Data:ve.DB.Bundeslandkuerzel}).FirstColumn}catch(_e){ve.Debug.ShowErrorMessage(_e,"Urlaubsuebersicht Page","PrepareData",ve.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(ve){try{this.Message=ve.Name,""!==ve.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===ve.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(_e){this.Debug.ShowErrorMessage(_e,"Urlaubsuebersicht Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(ve){try{this.Message=ve.Name,""!==ve.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===ve.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(_e){this.Debug.ShowErrorMessage(_e,"Urlaubsuebersicht Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(ve){return(0,a.default)(ve).format("DD.MM.YYYY")}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter;let ve=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:ve,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),ve++;for(let _e of this.Pool.Standorteliste)this.Auswahlliste.push({Index:ve,FirstColumn:_e.Kuerzel,SecoundColumn:_e.Standort,Data:_e}),ve++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(ve){this.Debug.ShowErrorMessage(ve.message,"Urlaubsuebersicht Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(ve,_e,Pe){try{let Ze=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:_e.MitarbeiterIDExtern});d.isUndefined(Ze)||(Ze.Display=ve.status);let ot=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[ot]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Ze){this.Debug.ShowErrorMessage(Ze,"Urlaubsuebersicht Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(ve,_e){try{switch(_e){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=ve.status,this.DB.ShowFeiertage_DE=ve.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=ve.status,this.DB.ShowFeiertage_BG=ve.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsuebersicht Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(ve,_e){try{switch(_e){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=ve.status,this.DB.ShowFerientage_DE=ve.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=ve.status,this.DB.ShowFerientage_BG=ve.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsuebersicht Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}JahrButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaubsuebersicht Page","JahrButtonClicked",this.Debug.Typen.Page)}}HalbjahrEinsButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrEins}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaubsuebersicht Page","HalbjahrEinsButtonClicked",this.Debug.Typen.Page)}}HalbjahrZweiButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrZwei}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaubsuebersicht Page","HalbjahrZweiButtonClicked",this.Debug.Typen.Page)}}static \u0275fac=function(_e){return new(_e||ye)(e.\u0275\u0275directiveInject(u.MenueService),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabasePoolService),e.\u0275\u0275directiveInject(v.DatabaseUrlaubService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(_.DatabaseStandorteService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(y.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:ye,selectors:[["common-urlaub-uebersicht-page"]],viewQuery:function(_e,Pe){if(1&_e&&(e.\u0275\u0275viewQuery(x,5),e.\u0275\u0275viewQuery(N,5)),2&_e){let Ze;e.\u0275\u0275queryRefresh(Ze=e.\u0275\u0275loadQuery())&&(Pe.PageHeader=Ze.first),e.\u0275\u0275queryRefresh(Ze=e.\u0275\u0275loadQuery())&&(Pe.PageFooter=Ze.first)}},decls:45,vars:26,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],[2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],[1,"paddingtable"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[1,"paddingsmalltable",2,"width","100%"],[4,"ngFor","ngForOf"],[2,"width","20px"],["style","width: 16%; height: inherit","valign","top",4,"ngFor","ngForOf"],["valign","top",2,"width","16%","height","inherit"],[3,"Jahr","Monatindex","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Checked","CheckChanged"],[1,"legendedivclass"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(_e,Pe){1&_e&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Pe.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return Pe.JahrButtonClicked()}),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"div",8),e.\u0275\u0275listener("click",function(){return Pe.HalbjahrEinsButtonClicked()}),e.\u0275\u0275text(18),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(19,"td")(20,"div",8),e.\u0275\u0275listener("click",function(){return Pe.HalbjahrZweiButtonClicked()}),e.\u0275\u0275text(21),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(22,G,3,1,"ng-container",9)(23,ue,6,1,"ng-container",9)(24,K,6,1,"ng-container",9),e.\u0275\u0275elementStart(25,"div",10)(26,"table")(27,"tr")(28,"td")(29,"div",11),e.\u0275\u0275listener("click",function(){return Pe.LegendeVisible=!Pe.LegendeVisible}),e.\u0275\u0275element(30,"ion-icon",12),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"td",13),e.\u0275\u0275template(32,J,56,20,"table",14),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(33,"ion-footer")(34,"page-footer",null,15)(36,"table",4)(37,"tr")(38,"td",16)(39,"table",17)(40,"tr"),e.\u0275\u0275template(41,Y,2,1,"td",9)(42,$,2,1,"td",18),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(43,le,1,7,"auswahl-dialog",19)(44,ee,1,6,"fi-mitarbeiter-auswahl",20)),2&_e&&(e.\u0275\u0275advance(14),e.\u0275\u0275styleProp("color",Pe.Ansichtvariante===Pe.Ansichtenvarinaten.Gesamtjahr?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("Gesamtjahr ",Pe.DB.Jahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",Pe.Ansichtvariante===Pe.Ansichtenvarinaten.HalbjahrEins?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("1. Halbjahr ",Pe.DB.Jahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",Pe.Ansichtvariante===Pe.Ansichtenvarinaten.HalbjahrZwei?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("2. Halbjahr ",Pe.DB.Jahr,""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.Ansichtvariante===Pe.Ansichtenvarinaten.Gesamtjahr),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.Ansichtvariante===Pe.Ansichtenvarinaten.HalbjahrEins),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.Ansichtvariante===Pe.Ansichtenvarinaten.HalbjahrZwei),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Pe.Legendehoehe,"px")("width",Pe.Legendebreite,"px")("right",Pe.LegendeVisible?0:-(Pe.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",Pe.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Pe.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Pe.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==Pe.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==Pe.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.ShowMitarbeiterauswahl))},dependencies:[b.NgForOf,b.NgIf,E.IonContent,E.IonFooter,E.IonHeader,E.IonIcon,M.PageHeaderComponent,A.PageHeaderMenuComponent,I.PageFooterComponent,F.PjProjektpunktDateKWPickerComponent,j.AuswahlDialogComponent,T.CheckboxClonComponent,P.FiMitarbeiterAuswahlComponent],styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:visible}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:200px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return ye})()},99988:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FIMitarbeiterlistePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),l=o(10716),e=o(54780),u=o(70216),c=o(6512),g=o(87143),v=o(90520),p=o(6168),S=o(27328),C=o(10272),_=o(7388),f=n.__importStar(o(54496)),b=(n.__importStar(o(56568)),[{path:"",component:e.FiMitarbeiterlistePage}]);h.FIMitarbeiterlistePageModule=(()=>{class M{static \u0275fac=function(F){return new(F||M)};static \u0275mod=f.\u0275\u0275defineNgModule({type:M});static \u0275inj=f.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,d.ReactiveFormsModule,l.IonicModule,a.RouterModule.forChild(b),u.PageHeaderModule,v.PageFooterModule,c.AbstandElementFixedModule,g.AlphabetModule,p.PageHeaderMenuModule,S.FiMitarbeiterEditorModule,C.AuswahlDialogModule,_.CheckboxClonModule]})}return M})()},54780:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterlistePage=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=n.__importStar(o(54496)),a=n.__importStar(o(14652)),l=n.__importStar(o(34388)),e=n.__importStar(o(19668)),u=n.__importStar(o(29743)),c=n.__importStar(o(22848)),g=n.__importStar(o(58864)),v=n.__importStar(o(48044)),p=n.__importStar(o(7992)),S=n.__importStar(o(91368)),C=n.__importStar(o(10716)),_=n.__importStar(o(90212)),f=n.__importStar(o(29856)),y=n.__importStar(o(99031)),b=n.__importStar(o(63792)),E=n.__importStar(o(82384)),M=n.__importStar(o(56584)),A=n.__importStar(o(25856)),I=["Alphabet"],F=["PageHeader"],j=["PageFooter"];function T(re,J){if(1&re&&(d.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",20)(2,"ion-text",31)(3,"b"),d.\u0275\u0275text(4),d.\u0275\u0275elementEnd()()()()),2&re){const Y=d.\u0275\u0275nextContext().index,$=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(4),d.\u0275\u0275textInterpolate($.Mitarbeiterbuchstabenliste[Y])}}function P(re,J){1&re&&(d.\u0275\u0275elementStart(0,"td"),d.\u0275\u0275element(1,"img",34),d.\u0275\u0275elementEnd())}function x(re,J){if(1&re&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275element(2,"div",33),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,P,2,0,"td",8),d.\u0275\u0275elementStart(4,"td"),d.\u0275\u0275text(5),d.\u0275\u0275elementEnd()()),2&re){const Y=d.\u0275\u0275nextContext(2).$implicit,$=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275styleProp("background",Y.Archiviert?"red":"green"),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",Y.Email===$.Pool.Mitarbeiterdaten.Email&&""===Y.Kuerzel||""===Y.StandortID),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate3(" ",Y.Name," ",Y.Vorname," / ",Y.Kuerzel," ")}}function N(re,J){1&re&&(d.\u0275\u0275elementStart(0,"td"),d.\u0275\u0275element(1,"img",34),d.\u0275\u0275elementEnd())}function O(re,J){if(1&re&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275element(2,"div",33),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,N,2,0,"td",8),d.\u0275\u0275elementStart(4,"td")(5,"span"),d.\u0275\u0275text(6),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(7,"span",35),d.\u0275\u0275text(8),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(9,"span"),d.\u0275\u0275text(10),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(11),d.\u0275\u0275elementEnd()()),2&re){const Y=d.\u0275\u0275nextContext(2).$implicit,$=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275styleProp("background",Y.Archiviert?"red":"green"),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",Y.Email===$.Pool.Mitarbeiterdaten.Email&&""===Y.Kuerzel||""===Y.StandortID),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(Y.Text_A),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(Y.Text_B),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(Y.Text_C),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" / ",Y.Kuerzel," ")}}function H(re,J){if(1&re&&(d.\u0275\u0275elementStart(0,"table",32),d.\u0275\u0275template(1,x,6,6,"tr",8)(2,O,12,7,"tr",8),d.\u0275\u0275elementEnd()),2&re){const Y=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",!Y.Filtered),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",Y.Filtered)}}function G(re,J){if(1&re){const Y=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"ion-item",18),d.\u0275\u0275listener("click",function(){const ee=d.\u0275\u0275restoreView(Y).$implicit,we=d.\u0275\u0275nextContext(2);return d.\u0275\u0275resetView(we.MitrabeiterButtonClicked(ee))}),d.\u0275\u0275elementStart(1,"ion-grid",19),d.\u0275\u0275template(2,T,5,1,"ion-row",8),d.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",20)(5,"div",21)(6,"table",22)(7,"tr")(8,"td"),d.\u0275\u0275template(9,H,3,2,"table",23),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"table",24)(13,"tr"),d.\u0275\u0275element(14,"td",25),d.\u0275\u0275elementStart(15,"td",26),d.\u0275\u0275text(16,"Stadort:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(17,"td",27),d.\u0275\u0275text(18),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(19,"td",28),d.\u0275\u0275elementStart(20,"td",29),d.\u0275\u0275text(21,"Email:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(22,"td",30),d.\u0275\u0275text(23),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(24,"td",28),d.\u0275\u0275elementStart(25,"td",26),d.\u0275\u0275text(26,"Fachbereich:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(27,"td",27),d.\u0275\u0275text(28),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(29,"td",28),d.\u0275\u0275elementEnd()()()()()()()()()()}if(2&re){const Y=J.$implicit,$=J.index,le=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275property("ngIf",""!==le.Mitarbeiterbuchstabenliste[$]),d.\u0275\u0275advance(7),d.\u0275\u0275property("ngIf",null!==Y&&null!==le.Pool.Mitarbeiterdaten),d.\u0275\u0275advance(9),d.\u0275\u0275textInterpolate(le.DBStandort.GetStandort(Y.StandortID)),d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate(Y.Email),d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate(Y.Fachbereich)}}function te(re,J){if(1&re&&(d.\u0275\u0275elementStart(0,"ion-list"),d.\u0275\u0275template(1,G,30,5,"ion-item",17),d.\u0275\u0275elementEnd()),2&re){const Y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",Y.Mitarbeiterliste)}}function ue(re,J){1&re&&(d.\u0275\u0275elementStart(0,"table",36)(1,"tr")(2,"td",37),d.\u0275\u0275text(3," keine Mitarbeiter vorhanden "),d.\u0275\u0275elementEnd()()())}function se(re,J){if(1&re){const Y=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"fi-mitarbeiter-editor",38),d.\u0275\u0275listener("StandortClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.StandortClickedHandler())})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.ShowEditor=!1)})("OkClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.ShowEditor=!1)})("AnredeClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.AnredeClickedEventHandler())})("UrlaubClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.UrlaubClickedEventHandler())})("FachbereichClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.FachbereichClickedHandler())}),d.\u0275\u0275elementEnd()}if(2&re){const Y=d.\u0275\u0275nextContext();d.\u0275\u0275property("Dialogbreite",600)("Titel",Y.GetDialogTitel())}}function K(re,J){if(1&re){const Y=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"auswahl-dialog",39),d.\u0275\u0275listener("OkClickedEvent",function(le){d.\u0275\u0275restoreView(Y);const ee=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ee.AuswahlOkButtonClicked(le))})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.ShowAuswahl=!1)}),d.\u0275\u0275elementEnd()}if(2&re){const Y=d.\u0275\u0275nextContext();d.\u0275\u0275property("Auswahlliste",Y.Auswahlliste)("Auswahlindex",Y.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",Y.Auswahltitel)("Iconname",Y.GetDialogTitelicon())}}h.FiMitarbeiterlistePage=(()=>{class re{Basics;Debug;Tools;Const;DB;DBStandort;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;ListeSubscription;Mitarbeiterliste;Mitarbeiteralphabet;Alphapetbreite;Mitarbeiteralphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Mitarbeiterbuchstabenliste;Standardalphabet;Zusatzbuttonliste;Mitarbeiterfiltertext;Inputtimer;Listenbreite;ShowEditor;EditorValid;ShowAuswahl;Auswahldialogorigin;StandortfilterSubsciption;ShowMeOnly;ShowArchivierte;ShowAktuelle;constructor(Y,$,le,ee,we,ye,Oe,ve){this.Basics=Y,this.Debug=$,this.Tools=le,this.Const=ee,this.DB=we,this.DBStandort=ye,this.Auswahlservice=Oe,this.Pool=ve;try{this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Mitarbeiteralphabet=[],this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterliste=[],this.Alphapetbreite=44,this.Zusatzbuttonliste=[],this.HideAuswahl=!0,this.Mitarbeiteralphabet=this.Standardalphabet,this.Mitarbeiterbuchstabenliste=[],this.Mitarbeiterfiltertext="",this.Listenbreite=0,this.ShowEditor=!1,this.EditorValid=!1,this.ShowAuswahl=!1,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Const.NONE,this.ListeSubscription=null,this.StandortfilterSubsciption=null,this.ShowMeOnly=!1,this.ShowArchivierte=!1,this.ShowAktuelle=!0}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Mitarbeiterliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{null!==this.ListeSubscription&&(this.ListeSubscription.unsubscribe(),this.ListeSubscription=null),null!==this.StandortfilterSubsciption&&(this.StandortfilterSubsciption.unsubscribe(),this.StandortfilterSubsciption=null)}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.MitarbeiterlisteChanged.subscribe(()=>{this.PrepareDaten()}),this.StandortfilterSubsciption=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","OnInit",this.Debug.Typen.Page)}}ResetSucheButtonClicked(){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl="Alle",this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","ResetSucheButtonClicked",this.Debug.Typen.Page)}}ionViewDidEnter(){try{let Y=typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40;this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Listenbreite=this.Basics.Contentbreite-Y-4,this.Alphabetcomponent.InitScreen()}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}MitrabeiterButtonClicked(Y){try{this.DB.CurrentMitarbeiter=i.cloneDeep(Y),this.ShowEditor=!0}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddMitarbeiterButtonClicked(){try{this.DB.CurrentMitarbeiter=this.DB.GetEmptyMitarbeiter(),this.ShowEditor=!0}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","AddMitarbeiterButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(Y){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=Y,this.PrepareDaten()}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","AlphabetClicked",this.Debug.Typen.Page)}}GetMitarbeiterAlphabetbuchstabe(Y){try{let $=Y.Name.substring(0,1).toUpperCase();return $!==this.Lastletter?(this.Lastletter=$,$):""}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let Y,$,le,ee,we,ye,Oe,ve,_e,Pe,Ze,ot;if(null!==this.Pool.Mitarbeiterliste){if(ee=i.cloneDeep(this.Pool.Mitarbeiterliste),this.Lastletter="",ee.sort((tt,mt)=>tt.Name>mt.Name?-1:tt.Namett.Archiviert):this.ShowAktuelle?Y=i.filter(Y,tt=>!tt.Archiviert):!1===this.ShowArchivierte&&!1===this.ShowAktuelle&&(Y=[])),null!==this.DBStandort.CurrentStandortfilter&&(Y=i.filter(Y,tt=>tt.StandortID===this.DBStandort.CurrentStandortfilter._id)),Y.sort((tt,mt)=>tt.Namemt.Name?1:0),Y.length>6){this.Mitarbeiteralphabet=["Alle"];for(let tt of Y)le=tt.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(le)&&this.Mitarbeiteralphabet.push(le)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){$=i.cloneDeep(Y),Y=[];for(let tt of $)le=tt.Name.substring(0,1).toUpperCase(),le="\xc4"===le?"A":le,le="\xd6"===le?"O":le,le="\xdc"===le?"U":le,this.Mitarbeiteralphabetauswahl===le&&Y.push(tt)}if(""!==this.Mitarbeiterfiltertext){$=i.cloneDeep(Y),Y=[];for(let tt of $)Ze=this.Mitarbeiterfiltertext.toLowerCase(),ot=tt.Name.toLowerCase(),Pe=ot.indexOf(Ze),-1!==Pe&&(we=tt.Name.length,_e=Ze.length,ye=tt.Name.substr(0,Pe),Oe=tt.Name.substr(Pe,_e),_e=we-_e-Pe,ve=tt.Name.substr(we-_e,_e),tt.Filtered=!0,tt.Text_A=ye,tt.Text_B=Oe,tt.Text_C=ve,Y.push(tt))}this.Mitarbeiterbuchstabenliste=[];for(let tt of Y)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(tt));this.Mitarbeiterliste=i.cloneDeep(Y)}}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(Y){try{this.EditorValid=Y}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","EditorValidChanged",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentMitarbeiter?null===this.DB.CurrentMitarbeiter._id?"Neuen Mitarbeiter anlegen":"Mitarbeiter bearbeiten":"Unbekannt"}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","GetDialogTitel",this.Debug.Typen.Page)}}StandortClickedHandler(){try{let Y=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort;for(let $ of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Y,FirstColumn:$.Kuerzel,SecoundColumn:$.Ort,Data:$}),Y++;this.Auswahlindex=i.findIndex(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID})}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Y){try{switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede:this.DB.CurrentMitarbeiter.Anrede=Y;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub:this.DB.CurrentMitarbeiter.Urlaub=Y;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort:this.DB.CurrentMitarbeiter.StandortID=Y._id;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Fachbereich:this.DB.CurrentMitarbeiter.Fachbereich=Y;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter:this.DBStandort.CurrentStandortfilter=Y,this.Pool.Mitarbeitersettings.StandortFilter=null!==Y?Y._id:this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()}).catch($=>{this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}),this.PrepareDaten()}this.ShowAuswahl=!1}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}}FachbereichClickedHandler(){try{this.ShowAuswahl=!0,this.Auswahltitel="Fachbereich festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Fachbereich,this.Auswahlliste.push({Index:0,FirstColumn:this.Pool.Fachbereich.Unbekannt.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.Unbekannt.Kuerzel,Data:this.Pool.Fachbereich.Unbekannt.Key}),this.Auswahlliste.push({Index:1,FirstColumn:this.Pool.Fachbereich.Elektrotechnik.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.Elektrotechnik.Kuerzel,Data:this.Pool.Fachbereich.Elektrotechnik.Key}),this.Auswahlliste.push({Index:2,FirstColumn:this.Pool.Fachbereich.HLS.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.HLS.Kuerzel,Data:this.Pool.Fachbereich.HLS.Key}),this.Auswahlliste.push({Index:3,FirstColumn:this.Pool.Fachbereich.HLSE.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.HLSE.Kuerzel,Data:this.Pool.Fachbereich.HLSE.Key}),this.Auswahlliste.push({Index:4,FirstColumn:this.Pool.Fachbereich.H.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.H.Kuerzel,Data:this.Pool.Fachbereich.H.Key}),this.Auswahlliste.push({Index:5,FirstColumn:this.Pool.Fachbereich.L.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.L.Kuerzel,Data:this.Pool.Fachbereich.L.Key}),this.Auswahlliste.push({Index:6,FirstColumn:this.Pool.Fachbereich.S.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.S.Kuerzel,Data:this.Pool.Fachbereich.S.Key}),this.Auswahlliste.push({Index:7,FirstColumn:this.Pool.Fachbereich.K.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.K.Kuerzel,Data:this.Pool.Fachbereich.K.Key}),this.Auswahlliste.push({Index:8,FirstColumn:this.Pool.Fachbereich.MSR.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.MSR.Kuerzel,Data:this.Pool.Fachbereich.MSR.Key}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Fachbereich}),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}GetDialogTitelicon(){try{if(!this.DB.CurrentMitarbeiter&&!this.Pool.Mitarbeiterdaten)return"help-outline";switch(this.Auswahltitel){case"Standort festlegen":case"Standortfilter festlegen":return"location-outline";case"Fachbereich festlegen":return"hammer-outline";default:return"help-outline"}}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","GetDialogTitelicon",this.Debug.Typen.Page)}}SucheChanged(Y){try{this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterfiltertext=Y,this.PrepareDaten()}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","SucheChanged",this.Debug.Typen.Page)}}StandortFilterClickedHandler(){try{let Y=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter,this.ShowAuswahl=!0,this.Auswahltitel="Standortfilter festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Y,FirstColumn:"----",SecoundColumn:"kein Filter",Data:null}),Y++;for(let $ of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Y,FirstColumn:$.Kuerzel,SecoundColumn:$.Ort,Data:$}),Y++;null===this.DBStandort.CurrentStandortfilter?this.Auswahlindex=0:(this.Auswahlindex=i.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}),this.Auswahlindex++)}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","StandortFilterClickedHandler",this.Debug.Typen.Page)}}ShowMeCheckedChanged(Y){try{this.ShowMeOnly=Y.status,!0===this.ShowMeOnly&&(this.DBStandort.CurrentStandortfilter=null,this.Pool.Mitarbeitersettings.StandortFilter=this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()})),this.PrepareDaten()}catch($){this.Debug.ShowErrorMessage($,"Mitarbeiterliste","ShowMeCheckedChanged",this.Debug.Typen.Page)}}ShowArchivierteChanged(Y){try{this.ShowArchivierte=Y.status,this.PrepareDaten()}catch($){this.Debug.ShowErrorMessage($,"Mitarbeiterliste","ShowArchivierteChanged",this.Debug.Typen.Page)}}AnredeClickedEventHandler(){try{this.ShowAuswahl=!0,this.Auswahltitel="Anrede festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede,this.Auswahlliste.push({Index:0,FirstColumn:"Unbekannt",SecoundColumn:"",Data:this.Const.NONE}),this.Auswahlliste.push({Index:1,FirstColumn:"Frau",SecoundColumn:"",Data:"Frau"}),this.Auswahlliste.push({Index:2,FirstColumn:"Herr",SecoundColumn:"",Data:"Herr"}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(Y){this.Debug.ShowErrorMessage(Y,"Mitarbeiterliste","AnredeClickedEventHandler",this.Debug.Typen.Page)}}UrlaubClickedEventHandler(){this.ShowAuswahl=!0,this.Auswahltitel="Urlaubstage festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub,this.Auswahlliste.push({Index:0,FirstColumn:"20",SecoundColumn:"",Data:20}),this.Auswahlliste.push({Index:1,FirstColumn:"21",SecoundColumn:"",Data:21}),this.Auswahlliste.push({Index:2,FirstColumn:"22",SecoundColumn:"",Data:22}),this.Auswahlliste.push({Index:3,FirstColumn:"23",SecoundColumn:"",Data:23}),this.Auswahlliste.push({Index:4,FirstColumn:"24",SecoundColumn:"",Data:24}),this.Auswahlliste.push({Index:5,FirstColumn:"25",SecoundColumn:"",Data:25}),this.Auswahlliste.push({Index:6,FirstColumn:"26",SecoundColumn:"",Data:26}),this.Auswahlliste.push({Index:7,FirstColumn:"27",SecoundColumn:"",Data:27}),this.Auswahlliste.push({Index:8,FirstColumn:"28",SecoundColumn:"",Data:28}),this.Auswahlliste.push({Index:9,FirstColumn:"29",SecoundColumn:"",Data:29}),this.Auswahlliste.push({Index:10,FirstColumn:"30",SecoundColumn:"",Data:30}),this.Auswahlliste.push({Index:11,FirstColumn:"31",SecoundColumn:"",Data:31}),this.Auswahlliste.push({Index:12,FirstColumn:"32",SecoundColumn:"",Data:32}),this.Auswahlliste.push({Index:13,FirstColumn:"33",SecoundColumn:"",Data:33}),this.Auswahlliste.push({Index:14,FirstColumn:"34",SecoundColumn:"",Data:34}),this.Auswahlliste.push({Index:15,FirstColumn:"35",SecoundColumn:"",Data:35}),this.Auswahlliste.push({Index:16,FirstColumn:"36",SecoundColumn:"",Data:36}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(Y){this.Debug.ShowErrorMessage(Y,"Mitarbeiterliste","UrlaubClickedEventHandler",this.Debug.Typen.Page)}ShowAktuelleChanged(Y){try{this.ShowAktuelle=Y.status,this.PrepareDaten()}catch($){this.Debug.ShowErrorMessage($,"Mitarbeiterliste","ShowAktuelleChanged",this.Debug.Typen.Page)}}static \u0275fac=function($){return new($||re)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(l.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(u.ConstProvider),d.\u0275\u0275directiveInject(c.DatabaseMitarbeiterService),d.\u0275\u0275directiveInject(g.DatabaseStandorteService),d.\u0275\u0275directiveInject(v.AuswahlDialogService),d.\u0275\u0275directiveInject(p.DatabasePoolService))};static \u0275cmp=d.\u0275\u0275defineComponent({type:re,selectors:[["fi-mitarbeiterliste-page"]],viewQuery:function($,le){if(1&$&&(d.\u0275\u0275viewQuery(I,5),d.\u0275\u0275viewQuery(F,5),d.\u0275\u0275viewQuery(j,5)),2&$){let ee;d.\u0275\u0275queryRefresh(ee=d.\u0275\u0275loadQuery())&&(le.Alphabetcomponent=ee.first),d.\u0275\u0275queryRefresh(ee=d.\u0275\u0275loadQuery())&&(le.PageHeader=ee.first),d.\u0275\u0275queryRefresh(ee=d.\u0275\u0275loadQuery())&&(le.PageFooter=ee.first)}},decls:34,vars:16,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowSandortfilter","ShowMitarbeitertitle","SucheChanged","StandortfilterClicked"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[2,"color","white"],[2,"width","6px"],["no-shadow","","no-border",""],[4,"ngIf"],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[2,"width","100%"],[2,"width","50%"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","AnredeClickedEvent","UrlaubClickedEvent","FachbereichClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Breite","Buchstabenliste","Auswahl","AlphabetClicked"],["Alphabet",""],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[1,"kontaktclass"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0",4,"ngIf"],[1,"infotable",2,"white-space","nowrap"],[2,"width","24px"],[1,"ergonametextclass",2,"width","80px"],[2,"width","100px"],[2,"width","20px"],[1,"ergonametextclass",2,"width","60px"],[2,"width","200px"],["color","orange"],["cellspacing","0","cellpadding","0"],[2,"height","20px","width","20px","border-radius","4px"],["src","/assets/svgs/alert.svg",2,"height","26px"],[2,"color","green"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","AnredeClickedEvent","UrlaubClickedEvent","FachbereichClickedEvent"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function($,le){if(1&$&&(d.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),d.\u0275\u0275listener("SucheChanged",function(we){return le.SucheChanged(we)})("StandortfilterClicked",function(){return le.StandortFilterClickedHandler()}),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"table",3)(5,"tr")(6,"td")(7,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(we){return le.ShowMeCheckedChanged(we)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(8,"td",5),d.\u0275\u0275text(9,"Nur meinen Eintrag anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(10,"td",6),d.\u0275\u0275elementStart(11,"td")(12,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(we){return le.ShowAktuelleChanged(we)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(13,"td",5),d.\u0275\u0275text(14,"Aktuelle Eintr\xe4ge anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(15,"td",6),d.\u0275\u0275elementStart(16,"td")(17,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(we){return le.ShowArchivierteChanged(we)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(18,"td",5),d.\u0275\u0275text(19,"Archivierte Eintr\xe4ge anzeigen"),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275elementStart(20,"ion-content",7),d.\u0275\u0275template(21,te,2,1,"ion-list",8)(22,ue,4,0,"table",9),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(23,"ion-footer")(24,"page-footer",null,10)(26,"table",11)(27,"tr")(28,"td",12),d.\u0275\u0275text(29),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275template(30,se,1,2,"fi-mitarbeiter-editor",13)(31,K,1,6,"auswahl-dialog",14),d.\u0275\u0275elementStart(32,"alphabet",15,16),d.\u0275\u0275listener("AlphabetClicked",function(we){return le.AlphabetClicked(we)}),d.\u0275\u0275elementEnd()),2&$){const ee=d.\u0275\u0275reference(2),we=d.\u0275\u0275reference(25);d.\u0275\u0275advance(3),d.\u0275\u0275property("ShowSuchleiste",!0)("ShowSandortfilter",!0)("ShowMitarbeitertitle",!0),d.\u0275\u0275advance(4),d.\u0275\u0275property("Checked",le.ShowMeOnly),d.\u0275\u0275advance(5),d.\u0275\u0275property("Checked",le.ShowAktuelle),d.\u0275\u0275advance(5),d.\u0275\u0275property("Checked",le.ShowArchivierte),d.\u0275\u0275advance(4),d.\u0275\u0275property("ngIf",le.Mitarbeiterliste&&le.Mitarbeiterliste.length>0),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",0===le.Mitarbeiterliste.length),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate1(" ",le.Mitarbeiterliste.length," Eintr\xe4ge "),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",le.ShowEditor),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",le.ShowAuswahl),d.\u0275\u0275advance(),d.\u0275\u0275property("PageHeader",ee)("PageFooter",we)("Breite",le.Alphapetbreite)("Buchstabenliste",le.Mitarbeiteralphabet)("Auswahl",le.Mitarbeiteralphabetauswahl)}},dependencies:[S.NgForOf,S.NgIf,C.IonCol,C.IonContent,C.IonFooter,C.IonGrid,C.IonHeader,C.IonItem,C.IonList,C.IonRow,C.IonText,_.PageHeaderComponent,f.PageFooterComponent,y.AlphabetComponent,b.PageHeaderMenuComponent,E.FiMitarbeiterEditorComponent,M.AuswahlDialogComponent,A.CheckboxClonComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return re})()},96012:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortelistePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),l=o(10716),e=o(90756),u=o(6512),c=o(87143),g=o(79664),v=o(70216),p=o(90520),S=o(6168),C=o(54588),_=o(10272),f=n.__importStar(o(54496)),b=(n.__importStar(o(56568)),[{path:"",component:e.FiStandortelistePage}]);h.FiStandortelistePageModule=(()=>{class M{static \u0275fac=function(F){return new(F||M)};static \u0275mod=f.\u0275\u0275defineNgModule({type:M});static \u0275inj=f.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,d.ReactiveFormsModule,l.IonicModule,a.RouterModule.forChild(b),u.AbstandElementFixedModule,c.AlphabetModule,g.FiStandortEditorModule,v.PageHeaderModule,p.PageFooterModule,S.PageHeaderMenuModule,C.PageModalKeepermodule,_.AuswahlDialogModule]})}return M})()},90756:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortelistePage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importStar(o(54496)),l=i.__importStar(o(14652)),e=i.__importStar(o(34388)),u=i.__importStar(o(19668)),c=i.__importStar(o(29743)),g=i.__importStar(o(58864)),v=i.__importStar(o(9544)),p=i.__importStar(o(48044)),S=i.__importStar(o(7992)),C=i.__importStar(o(91368)),_=i.__importStar(o(10716)),f=i.__importStar(o(99031)),y=i.__importStar(o(41656)),b=i.__importStar(o(90212)),E=i.__importStar(o(29856)),M=i.__importStar(o(63792)),A=i.__importStar(o(56584)),I=["Alphabet"],F=["PageHeader"],j=["PageFooter"];function T(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",22)(2,"ion-text",23)(3,"b"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()()()),2&se){const Z=a.\u0275\u0275nextContext().index,re=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(re.Standortebuchstabenliste[Z])}}function P(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"tr")(1,"td"),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd()()),2&se){const Z=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate1(" ",Z.Ort," ")}}function x(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"span"),a.\u0275\u0275text(3),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(4,"span",24),a.\u0275\u0275text(5),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(6,"span"),a.\u0275\u0275text(7),a.\u0275\u0275elementEnd()()()),2&se){const Z=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(3),a.\u0275\u0275textInterpolate(Z.Text_A),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(Z.Text_B),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(Z.Text_C)}}function N(se,K){if(1&se){const Z=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-item",13),a.\u0275\u0275listener("click",function(){const Y=a.\u0275\u0275restoreView(Z).$implicit,$=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView($.StandortButtonClicked(Y))}),a.\u0275\u0275elementStart(1,"ion-grid",14),a.\u0275\u0275template(2,T,5,1,"ion-row",3),a.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",15)(5,"div",16)(6,"table",17)(7,"tr")(8,"td")(9,"table",18),a.\u0275\u0275template(10,P,3,1,"tr",3)(11,x,8,3,"tr",3),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(12,"tr")(13,"td")(14,"table",19)(15,"tr")(16,"td",20),a.\u0275\u0275text(17,"K\xfcrzel:"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(18,"td"),a.\u0275\u0275text(19),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(20,"td",21),a.\u0275\u0275elementStart(21,"td",20),a.\u0275\u0275text(22,"Email:"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(23,"td"),a.\u0275\u0275text(24),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(25,"td",21),a.\u0275\u0275elementEnd()()()()()()()()()()}if(2&se){const Z=K.$implicit,re=K.index,J=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",""!==J.Standortebuchstabenliste[re]),a.\u0275\u0275advance(8),a.\u0275\u0275property("ngIf",!Z.Filtered),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",Z.Filtered),a.\u0275\u0275advance(8),a.\u0275\u0275textInterpolate(Z.Kuerzel),a.\u0275\u0275advance(5),a.\u0275\u0275textInterpolate(Z.Email)}}function O(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"ion-list"),a.\u0275\u0275template(1,N,26,5,"ion-item",12),a.\u0275\u0275elementEnd()),2&se){const Z=a.\u0275\u0275nextContext();a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",Z.Standorteliste)}}function H(se,K){1&se&&(a.\u0275\u0275elementStart(0,"table",25)(1,"tr")(2,"td",26),a.\u0275\u0275text(3," kein Standorte vorhanden "),a.\u0275\u0275elementEnd()()())}function G(se,K){if(1&se){const Z=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"fi-standort-editor",27),a.\u0275\u0275listener("CancelClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.ShowEditor=!1)})("OkClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.ShowEditor=!1)})("DeleteClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.ShowEditor=!1)})("LandClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.LandClickedEventHandler())})("BundeslandClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.BundeslandClickedEventHandler())})("KonfessionClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.KonfessionClickedEventHandler())}),a.\u0275\u0275elementEnd()}if(2&se){const Z=a.\u0275\u0275nextContext();a.\u0275\u0275property("Dialogbreite",600)("Dialoghoehe",500)("PositionY",100)("Titel",Z.GetDialogTitel())}}function te(se,K){if(1&se){const Z=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"auswahl-dialog",28),a.\u0275\u0275listener("OkClickedEvent",function(J){a.\u0275\u0275restoreView(Z);const Y=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(Y.AuswahlOkButtonClicked(J))})("CancelClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.ShowAuswahl=!1)}),a.\u0275\u0275elementEnd()}if(2&se){const Z=a.\u0275\u0275nextContext();a.\u0275\u0275property("Auswahlliste",Z.Auswahlliste)("Auswahlindex",Z.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Z.Auswahltitel)("Iconname","")}}h.FiStandortelistePage=(()=>{class se{Basics;Debug;Tools;Const;DB;DBUrlaub;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;Standorteliste;Standortealphabet;Alphapetbreite;Standortealphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Standortebuchstabenliste;Standardalphabet;Zusatzbuttonliste;Standortefiltertext;Standortefilter;Inputtimer;Listenbreite;ShowEditor;EditorValid;ListeSubscription;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;constructor(Z,re,J,Y,$,le,ee,we){this.Basics=Z,this.Debug=re,this.Tools=J,this.Const=Y,this.DB=$,this.DBUrlaub=le,this.Auswahlservice=ee,this.Pool=we;try{this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Standortealphabet=[],this.Standortealphabetauswahl="Alle",this.Standorteliste=[],this.Zusatzbuttonliste=[],this.HideAuswahl=!0,this.Inputtimer=null,this.Alphapetbreite=44,this.Standortefilter="",this.Standortealphabet=this.Standardalphabet,this.Standortebuchstabenliste=[],this.Listenbreite=0,this.ShowEditor=!1,this.EditorValid=!1,this.ListeSubscription=null,this.Auswahlliste=[],this.Auswahlindex=0,this.Auswahltitel="",this.Auswahldialogorigin=""}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Standorteliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ListeSubscription.unsubscribe(),this.ListeSubscription=null}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.StandortelisteChanged.subscribe(()=>{this.PrepareDaten()})}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","OnInit",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Listenbreite=this.Basics.Contentbreite-(typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40)-4,this.PrepareDaten(),this.Alphabetcomponent.InitScreen()}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}StandortButtonClicked(Z){try{this.DB.CurrentStandort=d.cloneDeep(Z),this.ShowEditor=!0}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddStandorteButtonClicked(){try{this.DB.CurrentStandort=this.DB.GetEmptyStandort(),this.ShowEditor=!0}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","AddStandorteButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(Z){try{this.Standortefiltertext="",this.Standortefilter="",this.Standortealphabetauswahl=Z,this.PrepareDaten()}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","AlphabetClicked",this.Debug.Typen.Page)}}GetStandorteAlphabetbuchstabe(Z){try{let re=Z.Ort.substring(0,1).toUpperCase();return re!==this.Lastletter?(this.Lastletter=re,re):""}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","GetStandorteAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let Z,re,J,Y,$,le,ee,we,ye,Oe,ve,_e;if(null!==this.Pool.Standorteliste){if(Y=d.cloneDeep(this.Pool.Standorteliste),this.Lastletter="",Z=d.cloneDeep(Y),Z.sort((Pe,Ze)=>Pe.OrtZe.Ort?1:0),null!==this.DB.CurrentStandortfilter){re=d.cloneDeep(Z),Z=[];for(let Pe of re)Z.push(Pe)}if(Z.length>6){this.Standortealphabet=["Alle"];for(let Pe of Z)J=Pe.Ort.substring(0,1).toUpperCase(),-1===this.Standortealphabet.indexOf(J)&&this.Standortealphabet.push(J)}else this.Standortealphabet=this.Standardalphabet;if("Alle"!==this.Standortealphabetauswahl){re=d.cloneDeep(Z),Z=[];for(let Pe of re)J=Pe.Ort.substring(0,1).toUpperCase(),this.Standortealphabetauswahl===J&&Z.push(Pe)}if(""!==this.Standortefilter){re=d.cloneDeep(Z),Z=[];for(let Pe of re)ve=this.Standortefilter.toLowerCase(),_e=Pe.Ort.toLowerCase(),Oe=_e.indexOf(ve),-1!==Oe&&($=Pe.Ort.length,ye=ve.length,le=Pe.Ort.substr(0,Oe),ee=Pe.Ort.substr(Oe,ye),ye=$-ye-Oe,we=Pe.Ort.substr($-ye,ye),Pe.Filtered=!0,Pe.Text_A=le,Pe.Text_B=ee,Pe.Text_C=we,Z.push(Pe))}this.Standortebuchstabenliste=[];for(let Pe of Z)this.Standortebuchstabenliste.push(this.GetStandorteAlphabetbuchstabe(Pe));this.Standorteliste=d.cloneDeep(Z)}}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(Z){try{this.EditorValid=Z}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","EditorValidChanged",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentStandort?null===this.DB.CurrentStandort._id?"Neuen Standort anlegen":"Standort bearbeiten":"Unbekannt"}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","GetDialogTitel",this.Debug.Typen.Page)}}SucheChangedHandler(Z){try{this.Standortefiltertext=Z,this.Standortefilter=this.Standortefiltertext,this.PrepareDaten()}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","SucheChangedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Z){var re=this;return n(function*(){try{switch(re.Auswahldialogorigin){case re.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land:re.DB.CurrentStandort.Land=Z;break;case re.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland:re.DB.CurrentStandort.Bundesland=Z;break;case re.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession:re.DB.CurrentStandort.Konfession=Z}re.ShowAuswahl=!1}catch(J){re.Debug.ShowErrorMessage(J.message,"Standorteliste","AuswahlOkButtonClicked",re.Debug.Typen.Page)}})()}LandClickedEventHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land,this.Auswahltitel="Land ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"Deutschland",SecoundColumn:"DE",Data:"DE"}),this.Auswahlliste.push({Index:1,FirstColumn:"Bulgarien",SecoundColumn:"BG",Data:"BG"}),this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Land})}catch(Z){this.Debug.ShowErrorMessage(Z,"Standorteliste","LandClickedEventHandler",this.Debug.Typen.Page)}}BundeslandClickedEventHandler(){try{let Z=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland,this.Auswahltitel="Bundesland ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[];for(let re of this.DBUrlaub.Regionenliste)this.Auswahlliste.push({Index:Z,FirstColumn:re.Name,SecoundColumn:re.isoCode,Data:re.isoCode}),Z++;this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Bundesland})}catch(Z){this.Debug.ShowErrorMessage(Z,"Standorteliste","BundeslandClickedEventHandler",this.Debug.Typen.Page)}}KonfessionClickedEventHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession,this.Auswahltitel="Konfession ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"Katholisch",SecoundColumn:"RK",Data:"RK"}),this.Auswahlliste.push({Index:1,FirstColumn:"Evangelisch",SecoundColumn:"EV",Data:"EV"}),this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Konfession})}catch(Z){this.Debug.ShowErrorMessage(Z,"Standorteliste","KonfessionClickedEventHandler",this.Debug.Typen.Page)}}static \u0275fac=function(re){return new(re||se)(a.\u0275\u0275directiveInject(l.BasicsProvider),a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(u.ToolsProvider),a.\u0275\u0275directiveInject(c.ConstProvider),a.\u0275\u0275directiveInject(g.DatabaseStandorteService),a.\u0275\u0275directiveInject(v.DatabaseUrlaubService),a.\u0275\u0275directiveInject(p.AuswahlDialogService),a.\u0275\u0275directiveInject(S.DatabasePoolService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:se,selectors:[["fi-standorteliste-page"]],viewQuery:function(re,J){if(1&re&&(a.\u0275\u0275viewQuery(I,5),a.\u0275\u0275viewQuery(F,5),a.\u0275\u0275viewQuery(j,5)),2&re){let Y;a.\u0275\u0275queryRefresh(Y=a.\u0275\u0275loadQuery())&&(J.Alphabetcomponent=Y.first),a.\u0275\u0275queryRefresh(Y=a.\u0275\u0275loadQuery())&&(J.PageHeader=Y.first),a.\u0275\u0275queryRefresh(Y=a.\u0275\u0275loadQuery())&&(J.PageFooter=Y.first)}},decls:16,vars:11,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowStandorttitle","SucheChanged"],[4,"ngIf"],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[1,"rootbuttonclass",3,"click"],["color","weiss","name","add-circle-outline",2,"font-size","28px"],["Iconname","location-outline",3,"Dialogbreite","Dialoghoehe","PositionY","Titel","CancelClickedEvent","OkClickedEvent","DeleteClickedEvent","LandClickedEvent","BundeslandClickedEvent","KonfessionClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Buchstabenliste","Breite","Auswahl","AlphabetClicked"],["Alphabet",""],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["sizeXs","11","sizeSm","11","sizeMd","6","sizeLg","6","sizeXl","6"],[1,"kontaktclass"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0"],[1,"infotable",2,"white-space","nowrap"],[1,"ergonametextclass"],[2,"width","20px"],["size","12"],["color","orange"],[2,"color","green"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","location-outline",3,"Dialogbreite","Dialoghoehe","PositionY","Titel","CancelClickedEvent","OkClickedEvent","DeleteClickedEvent","LandClickedEvent","BundeslandClickedEvent","KonfessionClickedEvent"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(re,J){if(1&re&&(a.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),a.\u0275\u0275listener("SucheChanged",function($){return J.SucheChangedHandler($)}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(4,"ion-content"),a.\u0275\u0275template(5,O,2,1,"ion-list",3)(6,H,4,0,"table",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(7,"ion-footer")(8,"page-footer",null,5)(10,"div",6),a.\u0275\u0275listener("click",function(){return J.AddStandorteButtonClicked()}),a.\u0275\u0275element(11,"ion-icon",7),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(12,G,1,4,"fi-standort-editor",8)(13,te,1,7,"auswahl-dialog",9),a.\u0275\u0275elementStart(14,"alphabet",10,11),a.\u0275\u0275listener("AlphabetClicked",function($){return J.AlphabetClicked($)}),a.\u0275\u0275elementEnd()),2&re){const Y=a.\u0275\u0275reference(2),$=a.\u0275\u0275reference(9);a.\u0275\u0275advance(3),a.\u0275\u0275property("ShowSuchleiste",!0)("ShowStandorttitle",!0),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",J.Standorteliste&&J.Standorteliste.length>0),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",0===J.Standorteliste.length),a.\u0275\u0275advance(6),a.\u0275\u0275property("ngIf",J.ShowEditor),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",J.ShowAuswahl),a.\u0275\u0275advance(),a.\u0275\u0275property("PageHeader",Y)("PageFooter",$)("Buchstabenliste",J.Standortealphabet)("Breite",J.Alphapetbreite)("Auswahl",J.Standortealphabetauswahl)}},dependencies:[C.NgForOf,C.NgIf,_.IonCol,_.IonContent,_.IonFooter,_.IonGrid,_.IonHeader,_.IonIcon,_.IonItem,_.IonList,_.IonRow,_.IonText,f.AlphabetComponent,y.FiStandortEditorComponent,b.PageHeaderComponent,E.PageFooterComponent,M.PageHeaderMenuComponent,A.AuswahlDialogComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return se})()},15756:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PrettyjsonModule=void 0;const i=o(81316).__importStar(o(54496));h.PrettyjsonModule=(()=>{class a{static \u0275fac=function(u){return new(u||a)};static \u0275mod=i.\u0275\u0275defineNgModule({type:a});static \u0275inj=i.\u0275\u0275defineInjector({})}return a})()},84104:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.SafePipeModule=void 0;const i=o(81316).__importStar(o(54496));h.SafePipeModule=(()=>{class a{static \u0275fac=function(u){return new(u||a)};static \u0275mod=i.\u0275\u0275defineNgModule({type:a});static \u0275inj=i.\u0275\u0275defineInjector({})}return a})()},66144:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.SafePipe=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14476));h.SafePipe=(()=>{class l{sanitizer;constructor(u){this.sanitizer=u}transform(u,c){switch(c){case"html":return this.sanitizer.bypassSecurityTrustHtml(u);case"style":return this.sanitizer.bypassSecurityTrustStyle(u);case"script":return this.sanitizer.bypassSecurityTrustScript(u);case"url":return this.sanitizer.bypassSecurityTrustUrl(u);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(u);default:throw new Error(`Invalid safe type specified: ${c}`)}}static \u0275fac=function(c){return new(c||l)(i.\u0275\u0275directiveInject(d.DomSanitizer,16))};static \u0275pipe=i.\u0275\u0275definePipe({name:"safe",type:l,pure:!0})}return l})()},48044:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AuswahlDialogService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388));h.AuswahlDialogService=(()=>{class l{Debug;Auswahloriginvarianten={Standorteeditor_Land:"Standorteeditor_Land",Standorteeditor_Bundesland:"Standorteeditor_Bundesland",Standorteeditor_Konfession:"Standorteeditor_Konfession",Projekteliste_Standortfiler:"Projekteliste_Standortfiler",Projekteliste_Editor_Leistungsphase:"Projekteliste_Editor_Leistungsphase",Projekte_Editor_Standort:"Projekte_Editor_Standortfilter",Projekte_Editor_Mitarbeiterauswahl_Projektleiter:"Projekte_Editor_Mitarbeiterauswahl_Projektleiter",Projekte_Editor_Mitarbeiterauswahl_Stellvertreter:"Projekte_Editor_Mitarbeiterauswahl_Stellvertreter",Projekte_Editor_Mitarbeiterauswahl:"Projekte_Editor_Mitarbeiterauswahl",Projekte_Editor_Mitarbeiterauswahl_Standortfilter:"Projekte_Editor_Mitarbeiterauswahl_Standortfilter",Projekte_Editor_Projektstatus:"Projekte_Editor_Projektstatus",Projekte_Editor_Firmeneditor_Fachbereich:"Projekte_Editor_Firmeneditor_Fachbereich",Projekte_Editor_Beteiligteneditor_Fachfirma:"Projekte_Editor_Beteiligteneditor_Fachfirma",Favoriten_Editor_Projekteauswahl_Standortfilter:"Favoriten_Editor_Projekteauswahl_Standortfilter",Mitarbeiter_Editor_Standort:"Mitarbeiter_Editor_Standort",Mitarbeiter_Editor_Fachbereich:"Mitarbeiter_Editor_Fachbereich",Mitarbeiter_Editor_Anrede:"Mitarbeiter_Editor_Anrede",Mitarbeiter_Editor_Urlaub:"Mitarbeiter_Editor_Urlaub",Mitarbeiter_Liste_Standortfilter:"Mitarbeiter_Liste_Standortfilter",Aufgabenliste_ZustaendigExtern:"Aufgabenliste_ZustaendigExtern",Aufgabenliste_ZustaendigIntern:"Aufgabenliste_ZustaendigIntern",Aufgabenliste_Fortschritt:"Aufgabenliste_Fortschritt",Aufgabenliste_Zeitfilter:"Aufgabenliste_Zeitfilter",Aufgabenliste_Filter_Zeitspanne:"Aufgabenliste_Filter_Zeitspanne",Aufgabenliste_Editor_Fachbereich:"Aufgabenliste_Editor_Fachbereich",Aufgabenliste_Editor_Status:"Aufgabenliste_Editor_Status",Aufgabenliste_Editor_Standortfilter:"Aufgabenliste_Editor_Standortfilter",Aufgabenliste_Editor_ZustaendigExtern:"Aufgabenliste_Editor_ZustaendigExtern",Aufgabenliste_Editor_ZustaendigIntern:"Aufgabenliste_Editor_ZustaendigIntern",Aufgabenliste_Editor_Leistungsphase:"Aufgabenliste_Editor_Kostengruppe",Aufgabenliste_Editor_Kostengruppe:"Aufgabenliste_Editor_Leistungsphase",Aufgabenliste_Editor_Verfasser:"Aufgabenliste_Editor_Verfasser",Aufgabenliste_Editor_AnmerkungenVerfasser:"Aufgabenliste_Editor_AnmerkungenVerfasser",Aufgabenliste_Meintageintrag_Status:"Aufgabenliste_Meintageintrag_Status",Aufgabenliste_Meintageintrag_Termin:"Aufgabenliste_Meintageintrag_Termin",Festlegungsliste_Editor_Leistungsphase:"Festlegungsliste_Editor_Leistungsphase",Festlegungsliste_Leistungsphasefilter:"Festlegungsliste_Leistungsphasefilter",Festlegungliste_Emaileditor_Standortfilter:"Festlegungliste_Emaileditor_Standortfilter",Festlegungliste_Editor_Status:"Festlegungliste_Editor_Status",Festlegungliste_Editor_Fachbereich:"Festlegungliste_Editor_Fachbereich",Festlegungliste_Editor_Kostengruppe:"Festlegungliste_Editor_Kostengruppe",Festlegungliste_Editor_ZustaendigExtern:"Festlegungliste_Editor_ZustaendigExtern",Festlegungliste_Editor_ZustaendigIntern:"Festlegungliste_Editor_ZustaendigIntern",Festlegungliste_Emaileditor_Intern_Empfaenger:"Festlegungliste_Emaileditor_Intern_Empfaenger",Festlegungliste_Emaileditor_Intern_CcEmpfaenger:"Festlegungliste_Emaileditor_Intern_CcEmpfaenger",Festlegungliste_Emaileditor_Extern_Empfaenger:"Festlegungliste_Emaileditor_Extern_Empfaenger",Festlegungliste_Emaileditor_Extern_CcEmpfaenger:"Festlegungliste_Emaileditor_Extern_CcEmpfaenger",Bautagebuchliste_Emaileditor_Intern_Empfaenger:"Bautagebuchliste_Emaileditor_Intern_Empfaenger",Bautagebuchliste_Emaileditor_Intern_CcEmpfaenger:"Bautagebuchliste_Emaileditor_Intern_CcEmpfaenger",Bautagebuchliste_Emaileditor_Extern_Empfaenger:"Bautagebuchliste_Emaileditor_Extern_Empfaenger",Bautagebuchliste_Emaileditor_Extern_CcEmpfaenger:"Bautagebuchliste_Emaileditor_Extern_CcEmpfaenger",Bautagebuchliste_Bautagebucheditor:"Bautagebuchliste_Bautagebucheditor",Protokollliste_Editor_Leistungsphase:"Protokollliste_Editor_Leistungsphase",Protokollliste_Editor_Kostengruppe:"Protokollliste_Editor_Kostengruppe",Protokollliste_Protokolleditor_Teamteilnehmer:"Protokollliste_Protokolleditor_Teamteilnehmer",Protokollliste_Projektpunkteditor_Teamteilnehmer:"Protokollliste_Projektpunkteditor_Teamteilnehmer",Protokollliste_Protokolleditor_Beteilgtenteilnehmer:"Protokollliste_Protokolleditor_Beteilgtenteilnehmer",Protokollliste_Projektpunkteditor_Beteilgtenteilnehmer:"Protokollliste_Projektpunkteditor_Beteilgtenteilnehmer",Urlaubsplanung_Mitarbeiter_Wechseln:"Urlaubsplanung_Mitarbeiter_Wechseln",Urlaubsplanung_Vertreter_Festlegen:"Urlaubsplanung_Vertreter_Festlegen",Urlaubsplanung_Status_Aendern:"Urlaubsplanung_Status_Aendern",UrlaubEinstellungen_Projektbeteiligte_Auswahl:"UrlaubEinstellungen_Projektbeteiligte_Auswahl",UrlaubEinstellungen_Freigeber_Auswahl:"UrlaubEinstellungen_Freigeber_Auswahl",UrlaubEinstellungen_Standort_Filter:"UrlaubEinstellungen_Standort_Filter",UrlaubPlanung_Standort_Filter:"UrlaubPlanung_Standort_Filter",UrlaubUebersicht_Standort_Filter:"UrlaubUebersicht_Standort_Filter",UrlaubAnfargen_Standort_Filter:"UrlaubAnfargen_Standort_Filter",Protokollliste_Emaileditor_Extern_Empfaenger:"Protokollliste_Emaileditor_Extern_Empfaenger",Protokollliste_Emaileditor_Extern_CcEmpfaenger:"Protokollliste_Emaileditor_Extern_CcEmpfaenger",Protokollliste_Emaileditor_Intern_Empfaenger:"Protokollliste_Emaileditor_Intern_Empfaenger",Protokollliste_Emaileditor_Intern_CcEmpfaenger:"Protokollliste_Emaileditor_Intern_CcEmpfaenger",LOPliste_Emaileditor_Extern_Empfaenger:"LOPliste_Emaileditor_Extern_Empfaenger",LOPliste_Emaileditor_Extern_CcEmpfaenger:"LOPliste_Emaileditor_Extern_CcEmpfaenger",LOPliste_Emaileditor_Intern_Empfaenger:"LOPliste_Emaileditor_Intern_Empfaenger",LOPliste_Emaileditor_Intern_CcEmpfaenger:"LOPliste_Emaileditor_Intern_CcEmpfaenger",Protokollliste_Editor_Standortfilter:"Protokollliste_Editor_Standortfilter",Protokollliste_Projektpunkteditor_Status:"Protokollliste_Projektpunkteditor_Status",Protokollliste_Projektpunkteditor_Fachbereich:"Protokollliste_Projektpunkteditor_Fachbereich",Simontabelle_Editor_Emailempfaenger:"Simontabelle_Editor_Emailempfaenger",Emailliste_Projektpunkteditor_Fachbereich:"Emailliste_Projektpunkteditor_Fachbereich",Emailliste_Editor_ZustaendigIntern:"Emailliste_Editor_ZustaendigIntern",Emailliste_Editor_ZustaendigExtern:"Emailliste_Editor_ZustaendigExtern",Emailliste_Beteiligteneditor_Projektauswahl:"Emailliste_Beteiligteneditor_Projektauswahl",Protokollliste_Filter_Leistungsphase:"Protokollliste_Filter_Leistungsphase",Protokollliste_Filter_Zeitspanne:"Protokollliste_Filter_Zeitspanne",LOPListe_LOPListeeditor_InternTeilnehmer:"LOPListe_LOPListeeditor_InternTeilnehmer",LOPListe_LOPListeeditor_ExternTeilnehmer:"LOPListe_LOPListeeditor_ExternTeilnehmer",LOPListe:"LOPListe",LOPListe_Thumnailsize:"LOPListe_Thumnailsize",LOPListe_Eintrageditor_ZustaendigExtern:"LOPListe_Eintrageditor_ZustaendigExtern",LOPListe_Eintrageditor_ZustaendigIntern:"LOPListe_Eintrageditor_ZustaendigIntern",LOPListe_Eintrageditor_Standortfilter:"LOPListe_Eintrageditor_Standortfilter",LOPListe_Eintrageditor_Fachbereich:"LOPListe_Eintrageditor_Fachbereich",LOPListe_Eintrageditor_Status:"LOPListe_Eintrageditor_Status",LOPListe_Eintrageditor_Prioritaet:"LOPListe_Eintrageditor_Prioritaet",LOPListe_Eintrageditor_AnmerkungVerfasser:"LOPListe_Eintrageditor_AnmerkungVerfasser",LOPListe_Eintrageditor_Verfasser:"LOPListe_Eintrageditor_Verfasser",LOPListe_Emaileditor_Intern_Empfaenger:"LOPListe_Emaileditor_Intern_Empfaenger",LOPListe_Emaileditor_Intern_CcEmpfaenger:"LOPListe_Emaileditor_Intern_CcEmpfaenger",LOPListe_Emaileditor_Extern_Empfaenger:"LOPListe_Emaileditor_Extern_Empfaenger",LOPListe_Emaileditor_Extern_CcEmpfaenger:"LOPListe_Emaileditor_Extern_CcEmpfaenger",Urlaubsliste_Bundesland:"Urlaubsliste_Bundesland"};constructor(u){this.Debug=u}static \u0275fac=function(c){return new(c||l)(i.\u0275\u0275inject(d.DebugProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},14652:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.BasicsProvider=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(10716)),a=n.__importStar(o(29743));h.BasicsProvider=(()=>{class e{platform;Const;Headerhoehe=0;Footerhoehe=0;Contenthoehe=0;Contentbreite=0;InnerContenthoehe=0;Waittime=300;Svgpath="assets/svgs/";AppBuild="07.03.2024 22:30";ShowHomeScreenInfos=!0;DebugNoExternalEmail=!0;AppVersionName="1.0";AppVersionDatum="07.03.2024";WebAppUrl="https://polite-cliff-084832d03.4.azurestaticapps.net/";Farben={BAEBlau:"#307ac1",BAEHellgrau:"#dfe5eb",Gruen:"#006400",Burnicklgruen:"#c7d304",Grau:"#454545",Buttoncolor:"#444444",Blau:"#00008B",Orange:"#FF8C00",Bordercolor:"#3880ff",Burnicklbraun:"#7b6a58",Burnicklgrau:"#354547",ButtongrauDisabled:"#444444"};Ionicfarben={BurnicklGruen:"burnicklgruen",BAEBlau:"baeblau",BurnicklGrau:"burnicklgrau",BurnicklBraun:"burnicklbraun",Gruen:"gruen",Orange:"orange",Grau:"grau",Silber:"silber",Schwarz:"schwarz",Weiss:"weiss",Rot:"rot",Blau:"blau",Dunkelblau:"dunkelblau",Braun:"braun",Teal:"teal",Gelb:"gelb"};ShowFehlerbericht=!0;constructor(c,g){this.platform=c,this.Const=g}MeassureInnercontent(c,g){try{this.Headerhoehe=typeof c<"u"&&null!==c?c.PageHeaderDiv.nativeElement.clientHeight:56,this.Footerhoehe=typeof g<"u"&&null!==g?g.PageFooterFrameDiv.nativeElement.clientHeight:55,this.InnerContenthoehe=this.Contenthoehe-this.Headerhoehe-this.Footerhoehe,console.log("Basics MeassureScreen -> Screenbreite: "+this.platform.width()+" / Screenhoehe: "+this.platform.height()),console.log("Basics MeassureScreen -> Headerhoehe: "+this.Headerhoehe+" / Footerhoehe: "+this.Footerhoehe),console.log("Basics MeassureScreen -> InnerContenthoehe: "+this.InnerContenthoehe)}catch(v){window.console.log(v+" / Basics / MeassureInnercontent ")}}static \u0275fac=function(g){return new(g||e)(i.\u0275\u0275inject(d.Platform),i.\u0275\u0275inject(a.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},29743:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ConstProvider=void 0;const i=o(81316).__importStar(o(54496)),e={ok:"ok",no:"no",cancel:"cancel",delete:"delete",wahla:"wahla",wahlb:"wahlb"},E={HomePage:"HomePage",RegistrierungPage:"RegistrierungPage",EinstellungenPage:"EinstellungenPage",StartseitePage:"StartseitePage",IntroPage:"IntroPage",ShortcutsEditorPage:"ShortcutsEditorPage",EmailzentralePage:"EmailzentralePage",PasswortVergessenPage:"PasswortVergessenPage",TestPage:"TestPage",ErrorPage:"ErrorPage",DebugPage:"DebugPage",PDFViewerPage:"PDFViewerPage",EmaillistePage:"EmaillistePage",UrlaubPlanungPage:"UrlaubPlanungPage",UrlaubEinstellungenPage:"UrlaubEinstellungenPage",UrlaubUebersichtPage:"UrlaubUebersichtPage",UrlaubFreigabenPage:"UrlaubFreigabenPage",FiMitarbeiterlistePage:"FiMitarbeiterlistePage",FiMitarbeiterauswahlPage:"FiMitarbeiterauswahlPage",FiMitarbeiterSettingsPage:"FiMitarbeiterSettingsPage",FiStandortelistePage:"FiStandortelistePage",PjListePage:"PjListePage",PjGebaeudestrukturBearbeitenPage:"PjGebaeudestrukturBearbeitenPage",PjGebaeudestrukturBauteilBearbeitenPage:"PjGebaeudestrukturBauteilBearbeitenPage",PjGebaeudestrukturGeschossBearbeitenPage:"PjGebaeudestrukturGeschossBearbeitenPage",PjGebaeudestrukturRaumBearbeitenPage:"PjGebaeudestrukturRaumBearbeitenPage",PjGebaeudestrukturRaumMarkierenPage:"PjGebaeudestrukturRaumMarkierenPage",PjFavoritenlistePage:"PjFavoritenlistePage",PJProjektbeteiligtelistePage:"PJProjektbeteiligtelistePage",PjEmailzentralePage:"PjEmailzentralePage",PjProtokollSendeberichtPage:"PjProtokollSendeberichtPage",PjFestlegungkategorieeditorPage:"PjFestlegungkategorieeditorPage",PjNotizenListePage:"PjNotizenListePage",PjAufgabenlistePage:"PjAufgabenlistePage",PjProtokolleListePage:"PjProtokolleListePage",PjFilebrowserPage:"PjFilebrowserPage",PjBaustelleLoplistePage:"PjBaustelleLoplistePage",PjBaustelleTagebuchlistePage:"PjBaustelleTagebuchlistePage",PjFestlegungslistePage:"PjFestlegungslistePage",PjPlanungsmatrixPage:"PjPlanungsmatrixPage",PjSimontabellelistePage:"PjSimontabellelistePage"},N={Person:"Person",Firma:"Firma"},O={Unbekannt:{Typnummer:0,Name:"Unbekannt",Color:"#ff6600"},Elektroinstallateur:{Typnummer:1,Name:"Elektroinstallateur",Color:"#ff6600"},Heizungsinstallateur:{Typnummer:2,Name:"Heizungsinstallateur",Color:"#ff6600"},Lueftungsinstallateur:{Typnummer:3,Name:"L\xfcftungsinstallateur",Color:"#ff6600"},Sanitaerinstallateur:{Typnummer:4,Name:"Sanit\xe4rinstallateur",Color:"#ff6600"},Rohbaufirma:{Typnummer:5,Name:"Rohbaufirma",Color:"#ff6600"},Tiefbaufirma:{Typnummer:6,Name:"Tiefbaufirma",Color:"#ff6600"},Blitschutzbauer:{Typnummer:7,Name:"Blitschutzbauer",Color:"#ff6600"},Dachdecker:{Typnummer:8,Name:"Dachdecker",Color:"#ff6600"},Zimmerei:{Typnummer:9,Name:"Zimmerei",Color:"#ff6600"},Schreiner:{Typnummer:10,Name:"Schreiner",Color:"#ff6600"},Medientechnik:{Typnummer:11,Name:"Medientechnik",Color:"#ff6600"},Fussbodenlegen:{Typnummer:12,Name:"Fu\xdfbodenlegen",Color:"#ff6600"},Estrichleger:{Typnummer:13,Name:"Estrichleger",Color:"#ff6600"},Fliesenleger:{Typnummer:14,Name:"Fliesenleger",Color:"#ff6600"},Foerderanlagenbauer:{Typnummer:15,Name:"F\xf6rderanlagenbauer",Color:"#ff6600"}},H={Anlagengruppe_1:{Nummer:1,Name:"Abwasser-, Wasser-, Gasanlagen"},Anlagengruppe_2:{Nummer:2,Name:"W\xe4rmeversorgungsanlagen"},Anlagengruppe_3:{Nummer:3,Name:"Luftechnische Anlagen"},Anlagengruppe_4:{Nummer:4,Name:"Starkstromanlage"},Anlagengruppe_5:{Nummer:5,Name:"Fernmelde- und informationstechnische Anlagen"},Anlagengruppe_6:{Nummer:6,Name:"F\xf6rderanlagen"},Anlagengruppe_7:{Nummer:7,Name:"Nutzerspezifische und verfahrenstechnische Anlagen"},Anlagengruppe_8:{Nummer:8,Name:"Geb\xe4ude- und Anlagenautomation"}},G={UNBEKANNT:"unbekannt",LPH1:"LPH1",LPH2:"LPH2",LPH3:"LPH3",LPH4:"LPH4",LPH5:"LPH5",LPH6:"LPH6",LPH7:"LPH7",LPH8:"LPH8"},te={Unbekannt:{Typnummer:0,Name:"Unbekannt",Kurzname:"Unbekannt",Color:"#ff6600"},Architekt:{Typnummer:1,Name:"Architekt",Kurzname:"Archtiekt",Color:"#ff6600"},Elektroplaner:{Typnummer:2,Name:"ELT Planungsb\xfcro",Kurzname:"ELT Planungsb\xfcro",Color:"#3771c8"},HLSplaner:{Typnummer:3,Name:"HLS Planungsb\xfcro",Kurzname:"HLS Planungsb\xfcro",Color:"#3771c8"},Fachplaner:{Typnummer:4,Name:"Fachplaner",Kurzname:"Fachplaner",Color:"#3771c8"},Tragwerksplaner:{Typnummer:5,Name:"Tragwerksplaner",Kurzname:"Tragwerksplaner",Color:"#3771c8"},Aussenanlagenarchitekt:{Typnummer:6,Name:"Au\xdfenanlagenarchitekt",Kurzname:"Au\xdfenanlagenarchitekt",Color:"#3771c8"},Bauherr:{Typnummer:7,Name:"Bauherr",Kurzname:"Bauherr",Color:"#008000"},Nutzer:{Typnummer:8,Name:"Nutzer",Kurzname:"Nutzer",Color:"#008000"},Pruefsachverstaendiger:{Typnummer:9,Name:"Pr\xfcfsachverst\xe4ndiger",Kurzname:"Pr\xfcfsachverst\xe4ndiger",Color:"#008000"},Projektsteurer:{Typnummer:10,Name:"Projektsteurer",Kurzname:"Projektsteurer",Color:"#008000"},Ausfuehrungsfirma:{Typnummer:11,Name:"Ausf\xfchrende Firma",Kurzname:"Ausf\xfchrende Firma",Color:"#008000"},Objektueberwacher:{Typnummer:12,Name:"Objekt\xfcberwacher",Kurzname:"O\xdc",Color:"#008000"},ITAbteilung:{Typnummer:13,Name:"IT - Abteilung",Kurzname:"IT",Color:"#008000"},Ausfuehrungsfirma_HLS:{Typnummer:14,Name:"Ausf\xfchrende Firma HLS",Kurzname:"HLS",Color:"#008000"},Ausfuehrungsfirma_ELT:{Typnummer:15,Name:"Elektroinstallation",Kurzname:"ELZ",Color:"#008000"},Ausfuehrungsfirma_BMA:{Typnummer:16,Name:"BMA Installation",Kurzname:"BMA",Color:"#008000"},Ausfuehrungsfirma_Blitzschutz:{Typnummer:17,Name:"Blitzschutzbauer",Kurzname:"Blitzschutzbaur",Color:"#008000"},Ausfuehrungsfirma_H:{Typnummer:18,Name:"Heizungsfirma",Kurzname:"Heizungsfirma",Color:"#008000"},Ausfuehrungsfirma_L:{Typnummer:19,Name:"L\xfcftungsinstallation",Kurzname:"L\xfcftung",Color:"#008000"},Ausfuehrungsfirma_S:{Typnummer:20,Name:"Sanit\xe4rinstallation",Kurzname:"Sanit\xe4r",Color:"#008000"},Ausfuehrungsfirma_Rohbau:{Typnummer:21,Name:"Rohbaufirma",Kurzname:"Rohbaufirma",Color:"#008000"},Ausfuehrungsfirma_Tiefbau:{Typnummer:22,Name:"Tiefbaufirma",Kurzname:"Tiefbaufirma",Color:"#008000"},Ausfuehrungsfirma_GALA:{Typnummer:23,Name:"GALA Baufirma",Kurzname:"GALA Baufirma",Color:"#008000"},Ausfuehrungsfirma_Aufzug:{Typnummer:24,Name:"Aufzugsfirma",Kurzname:"Aufzugsfirma",Color:"#008000"}},Z={Script:"Script",Sql:"Sql",Transaction:"Transaction",Firebase:"Firebase"},ee={Bearbeitung:"Bearbeitung",Abgeschlossen:"Abgeschlossen",Ruht:"Ruht"},we={Faellig:"Faellig",Ueberfaellig:"Uberfaellig",Nicht_faellig:"nicht faellig"},ye={Alle:"Alle",Heute:"Heute",Morgen:"Morgen",Zweitage:"2 Tage",Woche:"Woche",Naechstewoche:"N\xe4chste Woche",Zweiwochen:"2 Wochen",Vierwochen:"4 Wochen",Monat:"Monat",Gestern:"Gestern",Vorgestern:"Vorgestern",ZweitageVorher:"Letzten 2 Tage",WocheVorher:"Letzte Woche",ZweiwochenVorher:"Letzten 2 Wochen",MonatVorher:"Letzter Monat"},_e={Herr:"Herr",Frau:"Frau",Unbekannt:"Unbekannt"},Pe={Minuten:"Minuten",Stunden:"Stunden",Tage:"Tage"},Ze={Niedrig:{Statusnummer:0,Name:"Niedrig",Displayname:"Niedrig",Color:"#008000"},Mittel:{Statusnummer:1,Name:"Mittel",Displayname:"Mittel",Color:"orange"},Hoch:{Statusnummer:2,Name:"Hoch",Displayname:"Hoch",Color:"red"}},ot={Offen:{Statusnummer:0,Name:"Offen",Displayname:"Offen",Color:"#008080",LOPColor:"red"},Protokollpunkt:{Statusnummer:0,Name:"Protokollpunkt",Displayname:"Info",Color:"#34495E",LOPColor:"#307ac1"},Geschlossen:{Statusnummer:1,Name:"Geschlossen",Displayname:"Geschlossen",Color:"#008000",LOPColor:"#008000"},Bearbeitung:{Statusnummer:2,Name:"Bearbeitung",Displayname:"Bearbeitung",Color:"#616A6B",LOPColor:"#616A6B"},Ruecklauf:{Statusnummer:3,Name:"Ruecklauf",Displayname:"R\xfccklauf",Color:"#0020C2",LOPColor:"#0020C2"},Festlegung:{Statusnummer:4,Name:"Festlegung",Displayname:"Festlegung",Color:"#FF9333"}},mt={Nur_diese_Woche:"Nur diese Woche",Nur_diesen_Monat:"Nur diesen Monat",Seit_dem_Zeitpunkt:"Seit dem Zeitpunkt",Bis_zum_Zeitpunkt:"Bis zum Zeitpunkt",Zeitspanne:"Zeitspanne"},Qe={TermineAbsteigend:"TermineAbsteigend",TermineAufsteigend:"TermineAufsteigend"};h.ConstProvider=(()=>{class Xe{NONE="none";Pages=E;Fehlermeldungtypen=Z;Dialogmessages=e;Projektpunktstatustypen=ot;Zeitfilter=ye;Projektstatusvarianten=ee;Faelligkeitsstatus=we;Beteiligtentypen=te;Fachfirmentypen=O;Beteiligteneintragtypen=N;Anredevariante=_e;Zeitansatzeinheitvarianten=Pe;Faelligkeitsterminfiltervarianten=mt;AufgabenSortiermodusvarianten=Qe;Projektpunktprioritaetstypen=Ze;Leistungsphasenvarianten=G;Anlagengruppen=H;constructor(){}static \u0275fac=function(tn){return new(tn||Xe)};static \u0275prov=i.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})()},97092:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseAuthenticationService=void 0;const i=o(81316),d=o(54496),a=o(9028),l=o(21112),e=o(80103),u=i.__importStar(o(17964)),c=i.__importStar(o(54496)),g=i.__importStar(o(34388)),v=i.__importStar(o(9028)),p=i.__importStar(o(29743)),S=i.__importStar(o(97048)),C=i.__importStar(o(56568)),_=i.__importStar(o(14476));h.DatabaseAuthenticationService=(()=>{class A{msalGuardConfig;Debug;authService;Const;http;router;domSanitizer;MSALService;LoginSuccessEvent=new d.EventEmitter;ActiveUser;SecurityEnabled;DevelopmentUser;ShowLogin;constructor(F,j,T,P,x,N,O,H){this.msalGuardConfig=F,this.Debug=j,this.authService=T,this.Const=P,this.http=x,this.router=N,this.domSanitizer=O,this.MSALService=H;try{this.SecurityEnabled=!0,this.ActiveUser=null,this.ShowLogin=!1,this.DevelopmentUser={environment:"",homeAccountId:"",localAccountId:"",tenantId:"",username:"peter.hornburger@b-a-e.eu",name:"Peter Hornburger"}}catch(G){this.Debug.ShowErrorMessage(G.message,"Database Authentication","constructor",this.Debug.Typen.Service)}}UnsetActiveUser(){try{this.Debug.ShowMessage("Unset Active User","Database Authentication","UnsetActiveUser",this.Debug.Typen.Service),this.ActiveUser=null,this.ShowLogin=!0}catch(F){this.Debug.ShowErrorMessage(F,"Database Authentication","UnsetActiveUser",this.Debug.Typen.Service)}}SetActiveUser(){var F=this;return n(function*(){try{let j,T;return F.Debug.ShowMessage("Set Active User started","Database Authentication","SetActiveUser",F.Debug.Typen.Service),new Promise(P=>{if(F.SecurityEnabled){if(j=F.MSALService.instance.getActiveAccount(),T=F.MSALService.instance.getAllAccounts(),!u.isUndefined(T)&&null!==T&&T.length>0)for(j of T)console.log(j.username);console.log(null!==j?j.username:"Account ist null"),null===j&&(F.Debug.ShowMessage("Active Account ist null","Database Authentication","SetActiveUser",F.Debug.Typen.Service),!u.isUndefined(T)&&null!==T&&T.length>0?(F.Debug.ShowMessage("Accountliste vorhanden","Database Authentication","SetActiveUser",F.Debug.Typen.Service),j=T[0]):F.Debug.ShowMessage("keine Accountlist vorhanden","Database Authentication","SetActiveUser",F.Debug.Typen.Service)),null!==j?(F.ActiveUser=j,P(!0)):(F.UnsetActiveUser(),P(!0))}else F.ActiveUser=F.DevelopmentUser,P(!0)})}catch(j){F.Debug.ShowErrorMessage(j,"Database Authentication","SetActiveUser",F.Debug.Typen.Service)}})()}SetShowLoginStatus(){try{let F="nothing",j=this.MSALService.instance.getAllAccounts();this.Debug.ShowMessage(F,"SetShowLoginStatus gestartet","SetShowLogin",this.Debug.Typen.Service),0===j.length?(this.ShowLogin=!0,console.log("Accountliste ist leer. LOGIN anzeigen.")):this.ShowLogin=!1,!1===this.SecurityEnabled&&(this.ShowLogin=!1),F=!0===this.ShowLogin?"Anmeldung anzeigen":"Hauptmenu anzeigen",this.Debug.ShowMessage(F,"Database Authentication","SetShowLogin",this.Debug.Typen.Service)}catch(F){this.Debug.ShowErrorMessage(F,"Database Authentication","SetShowLoginStatus",this.Debug.Typen.Service)}}RequestToken(F){var j=this;return n(function*(){try{const T={scopes:[F],account:j.ActiveUser};return new Promise((P,x)=>{j.authService.acquireTokenSilent(T).pipe((0,e.catchError)(N=>(N&&"login_required"===N.errorCode&&j.Login(),(0,e.of)(null!=N)))).subscribe(N=>{P(N.accessToken?N.accessToken:null)})})}catch(T){j.Debug.ShowErrorMessage(T,"Database Authentication","RequestToken",j.Debug.Typen.Service)}})()}Login(){try{this.SecurityEnabled&&(this.msalGuardConfig.interactionType===l.InteractionType.Popup?this.msalGuardConfig.authRequest?this.authService.loginPopup({...this.msalGuardConfig.authRequest}).subscribe(F=>{this.authService.instance.setActiveAccount(F.account)}):this.authService.loginPopup().subscribe(F=>{this.authService.instance.setActiveAccount(F.account)}):this.msalGuardConfig.authRequest?this.authService.loginRedirect({...this.msalGuardConfig.authRequest}):this.authService.loginRedirect())}catch(F){this.Debug.ShowErrorMessage(F,"Database Authentication","Login",this.Debug.Typen.Service)}}Logout(){try{this.msalGuardConfig.interactionType===l.InteractionType.Popup?this.authService.logoutPopup({postLogoutRedirectUri:"/",mainWindowRedirectUri:"/"}):this.authService.logoutRedirect({postLogoutRedirectUri:"/"}),this.ActiveUser=null}catch(F){this.Debug.ShowErrorMessage(F.message,"Database Authentication","Logout",this.Debug.Typen.Service)}}canLoad(F){try{return!0===this.CheckSecurity()?(this.Debug.ShowMessage("Database Authentication -> can load: "+F.path,"Security","canLoad",this.Debug.Typen.Service),!0):(this.Debug.ShowMessage("Database Authentication -> can not load: "+F.path,"Security","canLoad",this.Debug.Typen.Service),this.router.navigate([this.Const.Pages.HomePage]),!1)}catch(j){this.Debug.ShowErrorMessage(j.message,"Database Authentication","canLoad",this.Debug.Typen.Service)}}CheckSecurity(){try{return!0}catch(F){this.Debug.ShowErrorMessage(F.message,"Database Authentication","CheckSecurity",this.Debug.Typen.Service)}}static \u0275fac=function(j){return new(j||A)(c.\u0275\u0275inject(a.MSAL_GUARD_CONFIG),c.\u0275\u0275inject(g.DebugProvider),c.\u0275\u0275inject(v.MsalService),c.\u0275\u0275inject(p.ConstProvider),c.\u0275\u0275inject(S.HttpClient),c.\u0275\u0275inject(C.Router),c.\u0275\u0275inject(_.DomSanitizer),c.\u0275\u0275inject(v.MsalService))};static \u0275prov=c.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},51708:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseChangelogService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(97048),a=n.__importDefault(o(35908)),l=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(7992)),c=n.__importStar(o(29743)),g=n.__importStar(o(97048));h.DatabaseChangelogService=(()=>{class p{Debug;Pool;Const;http;ServerUrl;CurrentChangelog;constructor(C,_,f,y){this.Debug=C,this.Pool=_,this.Const=f,this.http=y;try{this.ServerUrl=this.Pool.CockpitdockerURL+"/changelog",this.CurrentChangelog=null}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Chnagelog","constructor",this.Debug.Typen.Service)}}GetChangelog(C){try{let _;return _=i.find(this.Pool.Changlogliste,{_id:C}),i.isUndefined(_)?"unbekannt":_.Beschreibung}catch(_){this.Debug.ShowErrorMessage(_.message,"Mitarbeiter Editor","GetChangelog",this.Debug.Typen.Component)}}GetEmptyChangelog(){try{return{_id:null,Beschreibung:"",Version:"",Zeitstempel:(0,a.default)().valueOf(),Deleted:!1}}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Chnagelog","GetEmptyChangelog",this.Debug.Typen.Service)}}AddChangelog(){try{let C,_;return new Promise((f,y)=>{C=this.http.post(this.ServerUrl,this.CurrentChangelog),C.subscribe({next:b=>{_=b.Changelog},complete:()=>{this.UpdateChangelogliste(_),this.Pool.ChangeloglisteChanged.emit(),f(!0)},error:b=>{y(b)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Chnagelog","AddChangelog",this.Debug.Typen.Service)}}UpdateChangelogliste(C){try{let _;_=i.findIndex(this.Pool.Changlogliste,{_id:this.CurrentChangelog._id}),-1!==_?(this.Pool.Changlogliste[_]=C,this.Debug.ShowMessage("Changelogliste updated: "+C.Version,"Database Changelog","UpdateChangelogliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Chnagelog nicht gefunden -> neues Changlog hinzuf\xfcgen","Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service),this.Pool.Changlogliste.unshift(C)),this.Pool.Changlogliste=i.filter(this.Pool.Changlogliste,f=>!1===f.Deleted)}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service)}}UpdateChangelog(){try{let C;return(new d.HttpParams).set("id",this.CurrentChangelog._id),new Promise((f,y)=>{C=this.http.put(this.ServerUrl,this.CurrentChangelog),C.subscribe({next:b=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),f(!0)},error:b=>{y(b)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Chnagelog","UpdateChangelog",this.Debug.Typen.Service)}}DeleteChangelog(){try{let C;return this.CurrentChangelog.Deleted=!0,new Promise((_,f)=>{C=this.http.put(this.ServerUrl,this.CurrentChangelog),C.subscribe({next:y=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),_(!0)},error:y=>{f(y)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Chnagelog","DeleteChangelog",this.Debug.Typen.Service)}}static \u0275fac=function(_){return new(_||p)(l.\u0275\u0275inject(e.DebugProvider),l.\u0275\u0275inject(u.DatabasePoolService),l.\u0275\u0275inject(c.ConstProvider),l.\u0275\u0275inject(g.HttpClient))};static \u0275prov=l.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},79052:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseOutlookemailService=void 0;const n=o(81316),i=o(97048),d=n.__importDefault(o(35908)),a=n.__importStar(o(54496)),l=n.__importStar(o(34388)),e=n.__importStar(o(29743)),u=n.__importStar(o(7992)),c=n.__importStar(o(97048));h.DatabaseOutlookemailService=(()=>{class v{Debug;Const;Pool;http;CurrentEmail;ServerUrl;ShowUngelesenOnly;Projektsortierung;Emaildatum;Heute;constructor(S,C,_,f){this.Debug=S,this.Const=C,this.Pool=_,this.http=f;try{this.CurrentEmail=null,this.ServerUrl=this.Pool.CockpitdockerURL+"/email",this.ShowUngelesenOnly=!0,this.Projektsortierung=!0,this.Heute=(0,d.default)(),this.Emaildatum=this.Heute.clone().subtract(10,"days")}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Outlookemail","constructor",this.Debug.Typen.Service)}}GetEmail(S){try{let C,_=new i.HttpParams({fromObject:{EmailID:S}}),f=new i.HttpHeaders({"content-type":"application/json"});return new Promise((y,b)=>{this.http.get(this.Pool.CockpitdockerURL+"/email",{headers:f,params:_}).subscribe({next:M=>{C=M},complete:()=>{y(C)},error:M=>{b(M)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Outlookemail","GetEmail",this.Debug.Typen.Service)}}AddEmail(){try{let S,C;return new Promise((_,f)=>{S=this.http.post(this.ServerUrl,this.CurrentEmail),S.subscribe({next:y=>{C=y.data},complete:()=>{_(C)},error:y=>{f(y)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Outlookemail","AddEmail",this.Debug.Typen.Service)}}UpdateEmail(){try{let S,C;return new Promise((_,f)=>{delete this.CurrentEmail.__v,S=this.http.put(this.ServerUrl,this.CurrentEmail),S.subscribe({next:y=>{C=y.Email},complete:()=>{null!==C?_(C):f(new Error("Email auf Server nicht gefunden."))},error:y=>{f(y)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Outlookemail","UpdateEmail",this.Debug.Typen.Service)}}DeleteEmail(){try{let S;return this.CurrentEmail.Deleted=!0,new Promise((C,_)=>{S=this.http.put(this.ServerUrl,this.CurrentEmail),S.subscribe({next:f=>{},complete:()=>{C(!0)},error:f=>{_(f)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Outlookemail","DeleteStandort",this.Debug.Typen.Service)}}static \u0275fac=function(C){return new(C||v)(a.\u0275\u0275inject(l.DebugProvider),a.\u0275\u0275inject(e.ConstProvider),a.\u0275\u0275inject(u.DatabasePoolService),a.\u0275\u0275inject(c.HttpClient))};static \u0275prov=a.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},22848:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseMitarbeiterService=void 0;const n=o(81316),i=n.__importDefault(o(35908)),d=n.__importStar(o(17964)),a=o(97048),l=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(97048)),c=n.__importStar(o(29743)),g=n.__importStar(o(7992));h.DatabaseMitarbeiterService=(()=>{class p{Debug;http;Const;Pool;CurrentMitarbeiter;CurrentMeinewoche;ServerMitarbeiterUrl;constructor(C,_,f,y){this.Debug=C,this.http=_,this.Const=f,this.Pool=y;try{this.ServerMitarbeiterUrl=this.Pool.CockpitdockerURL+"/mitarbeiter",this.CurrentMeinewoche=this.GetEmptyMeinewocheeintrag()}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Mitarbeiter","constructor",this.Debug.Typen.Service)}}ConvertGraphuserToMitarbeiter(C){try{let _,f,y;if(_=this.GetEmptyMitarbeiter(),null===C.surname&&(C.surname=""),null===C.givenName&&(C.givenName=""),null===C.jobTitle&&(C.jobTitle=""),null===C.officeLocation&&(C.officeLocation=""),null===C.mobilePhone&&(C.mobilePhone=""),f=d.isUndefined(C.jobTitle)?"":C.jobTitle,y=d.isUndefined(C.mobilePhone)?"":C.mobilePhone,_.UserID=C.id,_.Email=C.mail,_.Vorname=d.isUndefined(C.givenName)?"":C.givenName,_.Name=d.isUndefined(C.surname)?"":C.surname,_.Mobil=null===y?"":y,_.Jobtitel=null===f?"":f,!1===d.isUndefined(C.businessPhones)&&C.businessPhones.length>0&&(_.Telefon=C.businessPhones[0]),!1===d.isUndefined(C.officeLocation)&&null!==C.officeLocation){_.Location=null!==C.officeLocation?C.officeLocation:"";for(let M of this.Pool.Standorteliste)-1!==C.officeLocation.indexOf(M.Ort)&&(_.StandortID=M._id)}if(""===_.StandortID){let M=d.find(this.Pool.Standorteliste,{Ort:"Bamberg"});d.isUndefined(M)||(_.StandortID=M._id)}let b=null!==C.surname?C.surname.substring(0,2).toUpperCase():"",E=null!==C.givenName?C.givenName.substring(0,1).toUpperCase():"";return _.Kuerzel=b+""+E,_}catch(_){this.Debug.ShowErrorMessage(_,"Graph","ConvertGraphuserToMitarbeiter",this.Debug.Typen.Service)}}GetMeinewocheStunden(C){try{let _=0,f=0;for(let y of this.Pool.Mitarbeiterdaten.Meinewocheliste)switch(C){case"Montag":y.Montagseinsatz&&(_+=y.Montagsstunden,f+=y.Montagsminuten);break;case"Dienstag":y.Dienstagseinsatz&&(_+=y.Dienstagsstunden,f+=y.Dienstagsminuten);break;case"Mittwoch":y.Mittwochseinsatz&&(_+=y.Mittwochsstunden,f+=y.Mittwochsminuten);break;case"Donnerstag":y.Donnerstagseinsatz&&(_+=y.Donnerstagsstunden,f+=y.Donnerstagsminuten);break;case"Freitag":y.Freitagseinsatz&&(_+=y.Freitagsstunden,f+=y.Freitagsminuten)}return f+=60*_,0===f?"":"["+(f/60).toFixed(2)+" Std]"}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","GetMeinewocheStunden",this.Debug.Typen.Service)}}GetEmptyMeinewocheeintrag(){try{return{ProjektID:"",Projektkey:"",ProjektpunktID:"",Kalenderwoche:(0,i.default)().isoWeek(),Montagsstunden:0,Dienstagsstunden:0,Mittwochsstunden:0,Donnerstagsstunden:0,Freitagsstunden:0,Samstagsstunden:0,Montagsminuten:30,Dienstagsminuten:30,Mittwochsminuten:30,Donnerstagsminuten:30,Freitagsminuten:30,Samstagsminuten:30,Dienstagseinsatz:!1,Donnerstagseinsatz:!1,Freitagseinsatz:!1,Mittwochseinsatz:!1,Montagseinsatz:!1,Samstagseinsatz:!1}}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Mitarbeiter","GetEmptyMeinewoche",this.Debug.Typen.Service)}}GetEmptyMitarbeiter(){try{let C=(0,i.default)();return{_id:null,UserID:null,Anrede:this.Const.NONE,Urlaub:30,Location:"",Jobtitel:"",Vorname:"",Name:"",Kuerzel:"",Fachbereich:"Unbekannt",StandortID:"",Email:"",Mobil:"",SettingsID:null,Telefon:"",Zeitstring:C.format("HH:mm DD.MM.YYYY"),Zeitstempel:C.valueOf(),Deleted:!1,Planeradministrator:!1,Homeofficefreigaben:!1,Urlaubsfreigaben:!1,Favoritenliste:[],Meintagliste:[],Meinewocheliste:[],Archiviert:!1,Urlaubsliste:[]}}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Mitarbeiter","GetEmptyMitarbeiter",this.Debug.Typen.Service)}}GetMitarbeitername(C){try{let _=d.find(this.Pool.Mitarbeiterliste,{_id:C});return d.isUndefined(_)?"Unbekannt":_.Vorname+" "+_.Name}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","GetMitarbeitername",this.Debug.Typen.Service)}}InitService(){}FinishService(){}UpdateMitarbeiter(C){try{let _,y,f=new a.HttpParams;delete C.__v,f.set("id",C._id);for(let b of C.Urlaubsliste)b.Urlaubzeitspannen.sort((E,M)=>E.StartstempelM.Startstempel?1:0);return new Promise((b,E)=>{_=this.http.put(this.ServerMitarbeiterUrl,C),_.subscribe({next:M=>{y=M.Mitarbeiter},complete:()=>{null!==y?(this.CurrentMitarbeiter=y,this.Pool.Mitarbeiterdaten=y,this.Pool.MitarbeiterdatenChanged.emit(),this.UpdateMitarbeiterliste(this.CurrentMitarbeiter),this.Pool.MitarbeiterlisteChanged.emit()):E(new Error("Mitarbeiter auf Server nicht gefunden.")),b(!0)},error:M=>{E(M)}})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Page)}}UpdateMitarbeiterUrlaub(C){try{let _,y,f=new a.HttpParams;delete C.__v,f.set("id",C._id);for(let b of C.Urlaubsliste)b.Urlaubzeitspannen.sort((E,M)=>E.StartstempelM.Startstempel?1:0);return new Promise((b,E)=>{_=this.http.put(this.ServerMitarbeiterUrl,C),_.subscribe({next:M=>{y=M.Mitarbeiter},complete:()=>{null!==y?(this.UpdateMitarbeiterliste(y),this.Pool.MitarbeiterlisteChanged.emit(),b(!0)):E(new Error("Mitarbeiter auf Server nicht gefunden."))},error:M=>{E(M)}})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","UpdateMitarbeiterUrlaub",this.Debug.Typen.Page)}}UpdateMitarbeiterliste(C){try{let _;_=d.findIndex(this.Pool.Mitarbeiterliste,{_id:C._id}),-1!==_?(this.Pool.Mitarbeiterliste[_]=C,this.Debug.ShowMessage("Mitarbeiterliste updated: "+C.Name,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeiter nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Service),this.Pool.Mitarbeiterliste.push(C)),this.Pool.Mitarbeiterliste=d.filter(this.Pool.Mitarbeiterliste,f=>!1===f.Deleted)}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}AddMitarbeiter(C){try{let _,f;return new Promise((y,b)=>{console.log("POST new Mitarbeiter:"),console.log(C),_=this.http.post(this.ServerMitarbeiterUrl,C),_.subscribe({next:E=>{f=E.Mitarbeiter},complete:()=>{this.UpdateMitarbeiterliste(f),this.Pool.MitarbeiterlisteChanged.emit(),y(f)},error:E=>{b(E)}})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","AddMitarbeiter",this.Debug.Typen.Service)}}CheckMitarbeiterExists(C){try{return-1!==d.findIndex(this.Pool.Mitarbeiterliste,{Email:C})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","CheckMitarbeiterExists",this.Debug.Typen.Service)}}GetMitarbeiterByEmail(C){try{let _=d.find(this.Pool.Mitarbeiterliste,{Email:C});return d.isUndefined(_)?null:_}catch(_){this.Debug.ShowErrorMessage(_,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByID(C){try{let _=d.find(this.Pool.Mitarbeiterliste,{_id:C});return d.isUndefined(_)?null:_}catch(_){this.Debug.ShowErrorMessage(_,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByGraph(C){try{let _,y,f=new a.HttpParams({fromObject:{email:C}});return new Promise((b,E)=>{_=this.http.get(this.ServerMitarbeiterUrl,{params:f}),_.subscribe({next:M=>{y=M},complete:()=>{b(y)},error:M=>{E(M)}})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Standorte","SaveMitarbeiter",this.Debug.Typen.Service)}}DeleteMitarbeiter(C){try{return C.Deleted=!0,this.UpdateMitarbeiter(C)}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Standorte","DeleteMitarbeiter",this.Debug.Typen.Service)}}static \u0275fac=function(_){return new(_||p)(l.\u0275\u0275inject(e.DebugProvider),l.\u0275\u0275inject(u.HttpClient),l.\u0275\u0275inject(c.ConstProvider),l.\u0275\u0275inject(g.DatabasePoolService))};static \u0275prov=l.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},15024:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseMitarbeitersettingsService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(97048),a=n.__importStar(o(54496)),l=n.__importStar(o(34388)),e=n.__importStar(o(97048)),u=n.__importStar(o(7992));h.DatabaseMitarbeitersettingsService=(()=>{class g{Debug;http;Pool;ServerSettingsUrl;constructor(p,S,C){this.Debug=p,this.http=S,this.Pool=C;try{this.ServerSettingsUrl=this.Pool.CockpitdockerURL+"/settings/"}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeitersettings","constructor",this.Debug.Typen.Service)}}InitService(){}FinishService(){}SaveMitarbeitersettings(){let p;return new Promise((S,C)=>{null===this.Pool.Mitarbeitersettings._id?(p=this.http.post(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),p.subscribe({next:_=>{this.Pool.Mitarbeitersettings=_.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),S(this.Pool.Mitarbeitersettings)},error:_=>{C(_)}})):(delete this.Pool.Mitarbeitersettings.__v,p=this.http.put(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),p.subscribe({next:_=>{this.Pool.Mitarbeitersettings=_.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),S(this.Pool.Mitarbeitersettings)},error:_=>{C(_)}}))})}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Standorte","SaveMitarbeitersettings",this.Debug.Typen.Service)}UpdateMitarbeitersettings(p,S){try{let C,f;return(new d.HttpParams).set("id",p._id),null!==S&&null!==S.ProjektID&&(f=i.findIndex(p.Aufgabenansicht,{ProjektID:S.ProjektID}),-1===f&&p.Aufgabenansicht.push(S)),delete p.__v,new Promise((y,b)=>{C=this.http.put(this.ServerSettingsUrl,p),C.subscribe({next:E=>{this.Pool.Mitarbeitersettings=E.Settings},complete:()=>{this.Pool.MitarbeitersettingsChanged.emit(),this.UpdateMitarbeitersettingsliste(p),y(!0)},error:E=>{b(E)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Mitarbeitersettings","UpdateMitarbeiter",this.Debug.Typen.Page)}}UpdateMitarbeitersettingsliste(p){try{let S;S=i.findIndex(this.Pool.Mitarbeitersettingsliste,{_id:p._id}),-1!==S?(this.Pool.Mitarbeitersettingsliste[S]=p,this.Debug.ShowMessage("Mitarbeitersettingsliste updated: "+p.MitarbeiterID,"Database Mitarbeitersettings","UpdateMitarbeitersettingsliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeitersetting nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeitersettings","UpdateMitarbeitersettingsliste",this.Debug.Typen.Service),this.Pool.Mitarbeitersettingsliste.push(p)),this.Pool.Mitarbeitersettingsliste=i.filter(this.Pool.Mitarbeitersettingsliste,C=>!1===C.Deleted),this.Pool.MitarbeitersettingslisteChanged.emit()}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeitersettings","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}AddMitarbeitersetting(p){try{let S,C;return new Promise((_,f)=>{S=this.http.post(this.ServerSettingsUrl,p),S.subscribe({next:y=>{p=y.Setting},complete:()=>{this.UpdateMitarbeitersettingsliste(p),this.Pool.MitarbeitersettingslisteChanged.emit(),_(C)},error:y=>{f(y)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeitersettings","AddMitarbeiter",this.Debug.Typen.Page)}}static \u0275fac=function(S){return new(S||g)(a.\u0275\u0275inject(l.DebugProvider),a.\u0275\u0275inject(e.HttpClient),a.\u0275\u0275inject(u.DatabasePoolService))};static \u0275prov=a.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()},7992:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabasePoolService=void 0;const n=o(81316),i=o(54496),d=o(97048),a=o(16213),l=n.__importStar(o(17964)),e=o(36716),u=o(44180),c=n.__importStar(o(54496)),g=n.__importStar(o(34388)),v=n.__importStar(o(29743)),p=n.__importStar(o(14652)),S=n.__importStar(o(97048));h.DatabasePoolService=(()=>{class _{Debug;Const;Basics;Http;Standorteliste;Mitarbeiterliste;Projektpunkteliste;DeletedProjektpunkteliste;Protokollliste;Bautagebuchliste;LOPListe;Notizenkapitelliste;Mitarbeitersettingsliste;CockpitserverURL;CockpitdockerURL;Mitarbeiterdaten;Mitarbeiterstandort;Mitarbeitersettings;CurrentAufgabenansichten;ShowProgress;MaxProgressValue;CurrentProgressValue;ProgressMessage;Changlogliste;MitarbeiterdatenHasError;Emailcontent;Outlookkatekorien;Fachbereich;Festlegungskategorienliste;ProjektdatenLoaded;Emailcontentvarinaten;Simontabellenliste;StandortelisteChanged=new i.EventEmitter;MitarbeiterlisteChanged=new i.EventEmitter;MitarbeiterdatenChanged=new i.EventEmitter;MitarbeitersettingslisteChanged=new i.EventEmitter;MitarbeitersettingsChanged=new i.EventEmitter;LoadingAllDataFinished=new i.EventEmitter;ProjektpunktelisteChanged=new i.EventEmitter;ProjektpunktStatusChanged=new i.EventEmitter;ProjektpunktKostengruppeChanged=new i.EventEmitter;ProtokolllisteChanged=new i.EventEmitter;ProtokollprojektpunktChanged=new i.EventEmitter;LOPListeprojektpunktChanged=new i.EventEmitter;ProjektpunktChanged=new i.EventEmitter;ChangeloglisteChanged=new i.EventEmitter;BautagebuchlisteChanged=new i.EventEmitter;EmailempfaengerChanged=new i.EventEmitter;LOPListeChanged=new i.EventEmitter;MitarbeiterAuswahlChanged=new i.EventEmitter;BeteiligteAuswahlChanged=new i.EventEmitter;CurrentBeteiligtenChanged=new i.EventEmitter;NotizenkapitellisteChanged=new i.EventEmitter;CurrentLOPGewerkelisteChanged=new i.EventEmitter;FestlegungskategorienlisteChanged=new i.EventEmitter;CurrentFestlegungskategorieChanged=new i.EventEmitter;SimontabelleChanged=new i.EventEmitter;SimontabellenlisteChanged=new i.EventEmitter;Signatur;constructor(y,b,E,M){this.Debug=y,this.Const=b,this.Basics=E,this.Http=M;try{this.Emailcontentvarinaten={NONE:this.Const.NONE,Protokoll:"Protokoll",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",LOPListe:"LOPListe",Aufgabenliste:"Aufgabenliste",Simontabelle:"Simontabelle"},this.Mitarbeiterdaten=null,this.MitarbeiterdatenHasError=!0,this.Mitarbeitersettings=null,this.Mitarbeiterstandort=null,this.ShowProgress=!1,this.Mitarbeitersettingsliste=[],this.MaxProgressValue=0,this.CurrentProgressValue=0,this.Standorteliste=[],this.Mitarbeiterliste=[],this.Projektpunkteliste=[],this.Projektpunkteliste=[],this.Protokollliste=[],this.Changlogliste=[],this.Bautagebuchliste=[],this.LOPListe=[],this.Notizenkapitelliste=[],this.Outlookkatekorien=[],this.Simontabellenliste=[],this.CockpitserverURL=!0===e.environment.production?"https://bae-urlaubsplaner-server.azurewebsites.net":"http://localhost:8080",this.CockpitdockerURL=!0===e.environment.production?"https://bae-urlaubsplaner-docker.azurewebsites.net":"http://localhost:80",this.Emailcontent=this.Emailcontentvarinaten.NONE,this.Fachbereich=new u.Fachbereiche,this.CurrentAufgabenansichten=null,this.Festlegungskategorienliste=[],this.DeletedProjektpunkteliste=[],this.ProjektdatenLoaded=!1,this.Signatur='\n Beste Gr\xfc\xdfe,

\n [Name]
\n [Jobtitel]

\n
\n \n BAE-GmbH
\n Ein Unternehmen der BAE GROUP\n
\n \n \n \n \n \n \n \n
[Strasse]
[Ort]
Telefon:[Telefon]
Mobil:[Mobil]
Email:[Email]
Web:www.bae-group.eu
\n

\n \n BAE GmbH, Sitz: Coburg, Amtsgericht Coburg, HRB 6357.
\n Gesch\xe4ftsf\xfchrer J\xfcrgen Kerscher, Michael H\xf6lzle
\n Standorte BAE GROUP: Frankfurt, Berlin, M\xfcnchen, Coburg, Bamberg, Deggendorf, Sofia, Varna
\n
\n
\n \n \n \n \n \n \n \n
\n Der Inhalt dieser E-Mail ist ausschlie\xdflich f\xfcr den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen\n Vertreter sein sollten, so beachten Sie, dass jede Form der Kenntnis- und Vorteilsnahme, Ver\xf6ffentlichung, Vervielf\xe4ltigung oder Weitergabe des\n Inhalts dieser Mail unzul\xe4ssig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. Aussagen gegen\xfcber\n dem Adressaten unterliegen den Regelungen des zugrundeliegenden Angebotes bzw. Auftrags, insbesondere den Allgemeinen Auftragsbedingungen und der\n individuellen Haftungsvereinbarung. Der Inhalt der E-Mail ist nur rechtsverbindlich, wenn er unsererseits durch einen Brief entsprechend best\xe4tigt wird.\n Die Versendung von E-Mails an uns hat keine fristwahrende Wirkung. Wir m\xf6chten Sie au\xdferdem darauf hinweisen, dass die Kommunikation per E-Mail \xfcber das\n Internet unsicher ist, da f\xfcr unberechtigte Dritte grunds\xe4tzlich die M\xf6glichkeit der Kenntnisnahme und Manipulation besteht.\n
\n The information contained in this email is intended exclusively for the addressee. Access to this email by anyone else is unauthorized. If you are not\n the intended recipient or his representative, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it,\n is prohibited. Please notify the sender immediately. All statements directed via this email to our clients are subject to the conditions of the submitted\n offer respectively order, in particular to the General Terms and Conditions and to the individual liability agreement between the parties. The content of\n this email is not legally binding unless confirmed by letter. The sending of emails to us will not constitute compliance with any time limits or deadlines.\n Please note that communication via email over the internet is insecure because third parties generally have the possibility to access and manipulate emails.\n
\n \n \n \n \n \n
PThink about Nature before you print!
\n '}catch(A){this.Debug.ShowErrorMessage(A.message,"Database Pool","constructor",this.Debug.Typen.Service)}}GetFilledSignatur(y,b){try{let P,x,E=this.Signatur,M=y.Telefon,A=y.Mobil,I=y.Email,F=y.Vorname+" "+y.Name,j=y.Jobtitel,T=l.find(this.Standorteliste,{_id:y.StandortID});return l.isUndefined(T)||(P=T.Strasse,x=T.PLZ+" "+T.Ort,E=E.replace("[Strasse]",P),E=E.replace("[Ort]",x)),E=E.replace("[Name]",F),E=E.replace("[Jobtitel]",j),E=E.replace("[Telefon]",M),E=E.replace("[Mobil]",A),E=E.split("[Email]").join(I),E=E.split("[Image]").join(this.Basics.WebAppUrl+"/assets/images/group_logo.png"),E}catch(E){this.Debug.ShowErrorMessage(E,"Database Pool","GetFilledSignatur",this.Debug.Typen.Service)}}GetAufgabenansichten(y){try{let b;return null!==this.Mitarbeitersettings&&(b=l.find(this.Mitarbeitersettings.Aufgabenansicht,{ProjektID:y})),l.isUndefined(b)&&(b={ProjektID:y,AufgabenShowAusfuehrung:!0,AufgabenShowBearbeitung:!0,AufgabenShowBilder:!0,AufgabenShowGeschlossen:!1,AufgabenShowMeilensteinOnly:!1,AufgabenShowOffen:!0,AufgabenShowPlanung:!0,AufgabenShowRuecklauf:!0,AufgabenShowMeilensteine:!0,AufgabenShowPlanungsmatrix:!1}),b}catch(b){this.Debug.ShowErrorMessage(b,"Database Pool","GetAufgabenansichten",this.Debug.Typen.Service)}}ReadMitarbeiterliste(){try{this.Mitarbeiterliste=[];let y=new d.HttpHeaders({"content-type":"application/json"});return new Promise((b,E)=>{this.Http.get(this.CockpitdockerURL+"/mitarbeiter",{headers:y}).subscribe({next:A=>{this.Mitarbeiterliste=A},complete:()=>{for(let A of this.Mitarbeiterliste)A=this.InitMitarbeiter(A);this.MitarbeiterlisteChanged.emit(),b(!0)},error:A=>{console.log(A.message),console.log("Mitarbeiterliste lesen war fehlerhaft."),E(A)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","ReadMitarbeiterliste",this.Debug.Typen.Service)}}ReadChangelogliste(){try{this.Changlogliste=[];let y=new d.HttpHeaders({"content-type":"application/json"});return new Promise((b,E)=>{this.Http.get(this.CockpitdockerURL+"/changelog",{headers:y}).subscribe({next:A=>{this.Changlogliste=A},complete:()=>{this.Changlogliste.sort((A,I)=>A.Zeitstempel>I.Zeitstempel?-1:A.Zeitstempel{E(A)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","ReadChangelogliste",this.Debug.Typen.Service)}}ReadStandorteliste(){try{this.Standorteliste=[];let y=new d.HttpHeaders({"content-type":"application/json"});return new Promise((b,E)=>{this.Http.get(this.CockpitdockerURL+"/standorte",{headers:y}).subscribe({next:A=>{this.Standorteliste=A},complete:()=>{for(let A of this.Standorteliste)l.isUndefined(A.Konfession)&&(A.Konfession="RK"),l.isUndefined(A.Bundesland)&&(A.Bundesland="DE-BY"),l.isUndefined(A.Land)&&(A.Land="DE");this.StandortelisteChanged.emit(),b(!0)},error:A=>{E(A)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}ReadSettingsliste(){try{this.Mitarbeitersettingsliste=[];let y=new d.HttpHeaders({"content-type":"application/json"});return new Promise((b,E)=>{this.Http.get(this.CockpitdockerURL+"/settings",{headers:y}).subscribe({next:A=>{this.Mitarbeitersettingsliste=A},complete:()=>{this.MitarbeitersettingslisteChanged.emit(),b(!0)},error:A=>{E(A)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}InitMitarbeiter(y){try{l.isUndefined(y.SettingsID)&&(y.SettingsID=null),l.isUndefined(y.Archiviert)&&(y.Archiviert=!1),l.isUndefined(y.Meintagliste)&&(y.Meintagliste=[]),l.isUndefined(y.Meinewocheliste)&&(y.Meinewocheliste=[]),l.isUndefined(y.Anrede)&&(y.Anrede=this.Const.NONE),l.isUndefined(y.Urlaub)&&(y.Urlaub=30),l.isUndefined(y.Urlaubsliste)&&(y.Urlaubsliste=[]),l.isUndefined(y.Urlaubsfreigaben)&&(y.Urlaubsfreigaben=!1),l.isUndefined(y.Planeradministrator)&&(y.Planeradministrator=!1),l.isUndefined(y.Urlaubsfreigaben)&&(y.Urlaubsfreigaben=!1),l.isUndefined(y.Homeofficefreigaben)&&(y.Homeofficefreigaben=!1);for(let b of y.Meinewocheliste)l.isUndefined(b.Kalenderwoche)&&(b.Kalenderwoche=0);return y.Urlaubsliste.sort((b,E)=>b.JahrE.Jahr?1:0),y}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Pool","InitMitarbeiter",this.Debug.Typen.Service)}}CheckMitarbeiterdaten(){try{return this.MitarbeiterdatenHasError=null===this.Mitarbeiterdaten,this.MitarbeiterdatenHasError}catch(y){this.Debug.ShowErrorMessage(y,"Database Pool","CheckMItarbeiterdaten",this.Debug.Typen.Service)}}GetNewUniqueID(){try{return(0,a.v4)()}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","GetNewUniqueID",this.Debug.Typen.Service)}}GetNewMitarbeitersettings(){try{return{_id:null,MitarbeiterID:null,FavoritenID:null,ProjektID:null,Favoritprojektindex:null,Zoomfaktor:100,Textsize:14,StandortFilter:null,LeistungsphaseFilter:this.Const.Leistungsphasenvarianten.UNBEKANNT,Aufgabenansicht:[],Deleted:!1,HeadermenueMaxFavoriten:6,AufgabenSortiermodus:this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend,AufgabenMeilensteineNachlauf:2,AufgabenShowMeilensteine:!0,AufgabenShowNummer:!1,AufgabenShowStartdatum:!1,AufgabenShowAufgabe:!0,AufgabenShowBemerkung:!0,AufgabenShowTage:!0,AufgabenShowTermin:!0,AufgabenShowStatus:!0,AufgabenShowFortschritt:!1,AufgabenShowZustaendig:!0,AufgabenShowMeintag:!0,AufgabenShowZeitansatz:!1,AufgabenShowMeinewoche:!0,UrlaubShowBeantragt:!0,UrlaubShowVertreterfreigabe:!0,UrlaubShowGenehmigt:!0,UrlaubShowAbgelehnt:!0,UrlaubShowFerien_DE:!0,UrlaubShowFeiertage_DE:!0,UrlaubShowFerien_BG:!0,UrlaubShowFeiertage_BG:!0,UrlaubShowMeinenUrlaub:!0,ShowHomeoffice:!0,OberkostengruppeFilter:null,HauptkostengruppeFilter:null,UnterkostengruppeFilter:null,AufgabenTerminfiltervariante:null,AufgabenTerminfilterStartwert:null,AufgabenTerminfilterEndewert:null,LOPListeGeschlossenZeitfilter:14}}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","GetNewMitarbeitersettings",this.Debug.Typen.Service)}}InitMitarbeitersettings(){try{let y;return null===this.Mitarbeiterdaten.SettingsID?this.GetNewMitarbeitersettings():(y=l.find(this.Mitarbeitersettingsliste,{_id:this.Mitarbeiterdaten.SettingsID}),l.isUndefined(y)?this.GetNewMitarbeitersettings():(l.isUndefined(y.Favoritprojektindex)&&(y.Favoritprojektindex=3e3),l.isUndefined(y.HeadermenueMaxFavoriten)&&(y.HeadermenueMaxFavoriten=6),l.isUndefined(y.Zoomfaktor)&&(y.Zoomfaktor=100),l.isUndefined(y.Textsize)&&(y.Textsize=14),l.isUndefined(y.Deleted)&&(y.Deleted=!1),l.isUndefined(y.AufgabenShowNummer)&&(y.AufgabenShowNummer=!0),l.isUndefined(y.AufgabenShowStartdatum)&&(y.AufgabenShowStartdatum=!0),l.isUndefined(y.AufgabenShowAufgabe)&&(y.AufgabenShowAufgabe=!0),l.isUndefined(y.AufgabenShowBemerkung)&&(y.AufgabenShowBemerkung=!0),l.isUndefined(y.AufgabenShowTage)&&(y.AufgabenShowTage=!0),l.isUndefined(y.AufgabenShowTermin)&&(y.AufgabenShowTermin=!0),l.isUndefined(y.AufgabenShowStatus)&&(y.AufgabenShowStatus=!0),l.isUndefined(y.AufgabenShowFortschritt)&&(y.AufgabenShowFortschritt=!0),l.isUndefined(y.AufgabenShowZustaendig)&&(y.AufgabenShowZustaendig=!0),l.isUndefined(y.AufgabenShowMeintag)&&(y.AufgabenShowMeintag=!0),l.isUndefined(y.AufgabenShowZeitansatz)&&(y.AufgabenShowZeitansatz=!0),l.isUndefined(y.AufgabenShowMeinewoche)&&(y.AufgabenShowMeinewoche=!0),l.isUndefined(y.Aufgabenansicht)&&(y.Aufgabenansicht=[]),l.isUndefined(y.AufgabenTerminfiltervariante)&&(y.AufgabenTerminfiltervariante=null),l.isUndefined(y.AufgabenTerminfilterStartwert)&&(y.AufgabenTerminfilterStartwert=null),l.isUndefined(y.AufgabenTerminfilterEndewert)&&(y.AufgabenTerminfilterEndewert=null),l.isUndefined(y.AufgabenSortiermodus)&&(y.AufgabenSortiermodus=this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend),l.isUndefined(y.AufgabenMeilensteineNachlauf)&&(y.AufgabenMeilensteineNachlauf=2),l.isUndefined(y.LOPListeGeschlossenZeitfilter)&&(y.LOPListeGeschlossenZeitfilter=14),l.isUndefined(y.LeistungsphaseFilter)&&(y.LeistungsphaseFilter=this.Const.Leistungsphasenvarianten.UNBEKANNT),l.isUndefined(y.OberkostengruppeFilter)&&(y.OberkostengruppeFilter=null),l.isUndefined(y.UnterkostengruppeFilter)&&(y.UnterkostengruppeFilter=null),l.isUndefined(y.HauptkostengruppeFilter)&&(y.HauptkostengruppeFilter=null),l.isUndefined(y.UrlaubShowBeantragt)&&(y.UrlaubShowBeantragt=!0),l.isUndefined(y.UrlaubShowVertreterfreigabe)&&(y.UrlaubShowVertreterfreigabe=!0),l.isUndefined(y.UrlaubShowGenehmigt)&&(y.UrlaubShowGenehmigt=!0),l.isUndefined(y.UrlaubShowAbgelehnt)&&(y.UrlaubShowAbgelehnt=!0),l.isUndefined(y.UrlaubShowFerien_DE)&&(y.UrlaubShowFerien_DE=!0),l.isUndefined(y.UrlaubShowFerien_BG)&&(y.UrlaubShowFerien_BG=!0),l.isUndefined(y.UrlaubShowFeiertage_DE)&&(y.UrlaubShowFeiertage_DE=!0),l.isUndefined(y.UrlaubShowFeiertage_BG)&&(y.UrlaubShowFeiertage_BG=!0),l.isUndefined(y.UrlaubShowMeinenUrlaub)&&(y.UrlaubShowMeinenUrlaub=!0),l.isUndefined(y.ShowHomeoffice)&&(y.ShowHomeoffice=!0),this.CurrentAufgabenansichten=this.GetAufgabenansichten(null),y))}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","InitMitarbeitersettings",this.Debug.Typen.Service)}}static \u0275fac=function(b){return new(b||_)(c.\u0275\u0275inject(g.DebugProvider),c.\u0275\u0275inject(v.ConstProvider),c.\u0275\u0275inject(p.BasicsProvider),c.\u0275\u0275inject(S.HttpClient))};static \u0275prov=c.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},58864:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseStandorteService=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),a=o(97048),l=n.__importDefault(o(35908)),e=o(16213),u=n.__importStar(o(54496)),c=n.__importStar(o(34388)),g=n.__importStar(o(7992)),v=n.__importStar(o(29743)),p=n.__importStar(o(97048));h.DatabaseStandorteService=(()=>{class C{Debug;Pool;Const;http;CurrentStandort;CurrentStandortfilter;StandortfilterChanged=new i.EventEmitter;ServerUrl;constructor(f,y,b,E){this.Debug=f,this.Pool=y,this.Const=b,this.http=E;try{this.CurrentStandort=null,this.CurrentStandortfilter=null,this.ServerUrl=this.Pool.CockpitdockerURL+"/standorte"}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Standorte","constructor",this.Debug.Typen.Service)}}InitService(){try{let f;null!==this.Pool.Mitarbeiterdaten&&this.Pool.Mitarbeitersettings.StandortFilter!==this.Const.NONE?(f=d.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeitersettings.StandortFilter}),f&&(this.CurrentStandortfilter=d.cloneDeep(f))):this.CurrentStandortfilter=null,null!==this.Pool.Mitarbeiterdaten?(f=d.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeiterdaten.StandortID}),!1===d.isUndefined(f)&&(this.Pool.Mitarbeiterstandort=f)):this.Pool.Mitarbeiterstandort=null,this.StandortfilterChanged.emit()}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","InitService",this.Debug.Typen.Service)}}FinishService(){}GetStandort(f){try{let y;return y=d.find(this.Pool.Standorteliste,{_id:f}),d.isUndefined(y)?"unbekannt":y.Kuerzel+" - "+y.Ort}catch(y){this.Debug.ShowErrorMessage(y.message,"Mitarbeiter Editor","GetStandort",this.Debug.Typen.Component)}}GetEmptyStandort(){try{let f=(0,l.default)();return{_id:null,Standort:"",Kuerzel:"",Strasse:"",PLZ:"",Ort:"",Telefon:"",Email:"",Deleted:!1,Bundesland:"DE-BY",Konfession:"RK",Land:"DE",Zeitstempel:f.valueOf(),Zeitpunkt:f.format("DD.MM.YYYY")}}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","GetEmptyStandort",this.Debug.Typen.Service)}}GetUniqueStandortID(){try{let f=this.CurrentStandort.Kuerzel;return f=f.replace(/ /g,"_"),f=f.replace(/-/g,"_"),f=f.replace(/./g,"_"),f+"_"+(0,e.v4)()}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","GetUniqueStandortID",this.Debug.Typen.Service)}}AddStandort(){try{let f,y;return new Promise((b,E)=>{f=this.http.post(this.ServerUrl,this.CurrentStandort),f.subscribe({next:M=>{y=M.data},complete:()=>{this.UpdateStandortliste(y),this.Pool.StandortelisteChanged.emit(),b(!0)},error:M=>{E(M)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","AddStandort",this.Debug.Typen.Service)}}UpdateStandortliste(f){try{let y;y=d.findIndex(this.Pool.Standorteliste,{_id:this.CurrentStandort._id}),-1!==y?(this.Pool.Standorteliste[y]=f,this.Debug.ShowMessage("Standortliste updated: "+f.Standort,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Standort nicht gefunden -> neuen Standort hinzuf\xfcgen","Database Standorte","UpdateStandortliste",this.Debug.Typen.Service),this.Pool.Standorteliste.push(f)),this.Pool.Standorteliste=d.filter(this.Pool.Standorteliste,b=>!1===b.Deleted)}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)}}UpdateStandort(){try{let f;return(new a.HttpParams).set("id",this.CurrentStandort._id),new Promise((b,E)=>{f=this.http.put(this.ServerUrl,this.CurrentStandort),f.subscribe({next:M=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),b(!0)},error:M=>{E(M)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","UpdateStandort",this.Debug.Typen.Service)}}DeleteStandort(){try{let f;return this.CurrentStandort.Deleted=!0,new Promise((y,b)=>{f=this.http.put(this.ServerUrl,this.CurrentStandort),f.subscribe({next:E=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),y(!0)},error:E=>{b(E)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","DeleteStandort",this.Debug.Typen.Service)}}GetStandortfiller(){try{return null===this.CurrentStandortfilter?"kein Standortfilter":this.CurrentStandortfilter.Kuerzel+" / "+this.CurrentStandortfilter.Ort}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","GetStandortfiller",this.Debug.Typen.Service)}}static \u0275fac=function(y){return new(y||C)(u.\u0275\u0275inject(c.DebugProvider),u.\u0275\u0275inject(g.DatabasePoolService),u.\u0275\u0275inject(v.ConstProvider),u.\u0275\u0275inject(p.HttpClient))};static \u0275prov=u.\u0275\u0275defineInjectable({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},9544:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseUrlaubService=void 0;const i=o(81316),d=o(54496),a=i.__importStar(o(17964)),l=i.__importDefault(o(35908)),e=i.__importStar(o(54496)),u=i.__importStar(o(34388)),c=i.__importStar(o(7992)),g=i.__importStar(o(29743)),v=i.__importStar(o(8608)),p=i.__importStar(o(22848)),S=i.__importStar(o(14652)),C=i.__importStar(o(97048));h.DatabaseUrlaubService=(()=>{class f{Debug;Pool;Const;Graph;DBMitarbeiter;Basics;http;PlanungsmonateChanged=new d.EventEmitter;ExterneUrlaubeChanged=new d.EventEmitter;ExterneHomeofficeChanged=new d.EventEmitter;UrlaubStatusChanged=new d.EventEmitter;HomeofficeStatusChanged=new d.EventEmitter;Bundeslandkuerzel;Bundesland;Regionenliste;Jahr;Feiertageliste;Ferienliste;CurrentUrlaub;UrlaublisteExtern;CurrentMonatindex;LastMonatIndex;FirstMonatIndex;Laendercode;ShowFeiertage_DE;ShowFeiertage_BG;ShowFerientage_DE;ShowFerientage_BG;Ferienfarbe_DE;Ferienfarbe_BG;Feiertagefarbe_DE;Feiertagefarbe_BG;CurrentUrlaubzeitspanne;CurrentHomeofficezeitspanne;Monateliste;ServerReadfeiertageUrl;ServerReadRegionenUrl;ServerReadFerienUrl;Vertretrungliste;Urlaubfreigabenliste;Homeofficefreigabenliste;Vertretungsanfragenanzahl;Vertretungsantwortenanzahl;Freigabenanfragenanzahl;Freigabenantwortenanzahl;Urlaubsanfragenanzahl;Homeofficeanfragenanzahl;Homeofficantwortenanzahl;Antwortenanzahl;CorrectSetup;Officeemailadress;CurrentMitarbeiter;Urlaubstatusvarianten={Geplant:"Geplant",Vertreterablehnung:"Vertreterablehnung",Vertreteranfrage:"Vertreteranfrage",Vertreterfreigabe:"Vertreterfreigabe",Abgelehnt:"Abgelehnt",Genehmigt:"Genehmigt",Feiertag:"Feiertag",Ferientag:"Ferientag"};Homeofficestatusvarianten={Geplant:"Geplant",Freigabeanfrage:"Freigabeanfrage",Abgelehnt:"Abgelehnt",Genehmigt:"Genehmigt",Feiertag:"Feiertag",Ferientag:"Ferientag"};Urlaubsfaben={Geplant:"#307ac1",Vertreterfreigabe:"orange",Vertreteranfrage:"#04B4AE",Vertreterablehnung:"#8A0886",Abgelehnt:"red",Genehmigt:"green",Ferien_DE:"#999999",Ferien_BG:"#999999",Feiertage_DE:"#454545",Feiertage_BG:"#454545",Wochenende:"#34495E"};Homeofficefarben={Geplant:"#307ac1",Freigabeanfrage:"#04B4AE",Abgelehnt:"red",Genehmigt:"green"};constructor(b,E,M,A,I,F,j){this.Debug=b,this.Pool=E,this.Const=M,this.Graph=A,this.DBMitarbeiter=I,this.Basics=F,this.http=j;try{this.ServerReadfeiertageUrl=this.Pool.CockpitdockerURL+"/readfeiertage",this.ServerReadFerienUrl=this.Pool.CockpitdockerURL+"/readferien",this.ServerReadRegionenUrl=this.Pool.CockpitdockerURL+"/readregionen",this.CurrentUrlaub=null,this.Jahr=(0,l.default)().year(),this.Bundeslandkuerzel="DE-BY",this.Bundesland="",this.Feiertageliste=[],this.Ferienliste=[],this.Urlaubfreigabenliste=[],this.Homeofficefreigabenliste=[],this.CurrentMonatindex=(0,l.default)().month(),this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1,this.CurrentUrlaubzeitspanne=null,this.CurrentUrlaubzeitspanne=null,this.Laendercode="DE",this.ShowFeiertage_DE=!1,this.ShowFeiertage_BG=!1,this.ShowFerientage_DE=!1,this.ShowFerientage_BG=!1,this.Ferienfarbe_DE=this.Const.NONE,this.Feiertagefarbe_DE=this.Const.NONE,this.UrlaublisteExtern=[],this.Vertretrungliste=[],this.Urlaubsanfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Homeofficeanfragenanzahl=0,this.Homeofficantwortenanzahl=0,this.CurrentMitarbeiter=null,this.CorrectSetup=!1,this.Officeemailadress="office@b-a-e.eu",this.Monateliste=["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]}catch(T){this.Debug.ShowErrorMessage(T.message,"Database Urlaub","constructor",this.Debug.Typen.Service)}}SetMitarbeiter(b){try{this.CurrentMitarbeiter=a.cloneDeep(b)}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","SetMitarbeiter",this.Debug.Typen.Service)}}CheckSetup(){try{this.CorrectSetup=null!==this.CurrentUrlaub&&null!==this.CurrentMitarbeiter&&null!==this.CurrentUrlaub.UrlaubsfreigeberID&&null!==this.CurrentUrlaub.HomeofficefreigeberID&&this.CurrentUrlaub.Projektbeteiligteliste.length>0}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CheckSetup",this.Debug.Typen.Service)}}GetFreigabenliste(){try{let b,E,M;if(this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Urlaubfreigabenliste=[],this.Homeofficefreigabenliste=[],null!==this.CurrentMitarbeiter)for(let A of this.Pool.Mitarbeiterliste){if(A._id!==this.CurrentMitarbeiter._id&&(b=a.find(A.Urlaubsliste,I=>I.Jahr===this.Jahr&&I.UrlaubsfreigeberID===this.CurrentMitarbeiter._id),!a.isUndefined(b))){E=!1,M=!1;for(let I of b.Urlaubzeitspannen)I=this.InitZeitspanne(I),!0===this.CheckUrlaubFreigabeanwortAge(I)&&(I.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||I.Status===this.Urlaubstatusvarianten.Abgelehnt||I.Status===this.Urlaubstatusvarianten.Genehmigt)&&a.isUndefined(a.find(this.Urlaubfreigabenliste,{_id:A._id}))&&(this.Urlaubfreigabenliste.push(A),I.Status===this.Urlaubstatusvarianten.Vertreterfreigabe?E=!0:M=!0);!0===E&&(this.Urlaubsanfragenanzahl++,this.Freigabenanfragenanzahl++),!0===M&&(this.Antwortenanzahl++,this.Freigabenantwortenanzahl++)}if(b=a.find(A.Urlaubsliste,I=>I.Jahr===this.Jahr&&I.HomeofficefreigeberID===this.CurrentMitarbeiter._id),!a.isUndefined(b))for(let I of b.Homeofficezeitspannen)E=!1,M=!1,!0===this.CheckHomeofficeFreigabeanwortAge(I)&&(I.Status===this.Homeofficestatusvarianten.Freigabeanfrage||I.Status===this.Homeofficestatusvarianten.Abgelehnt||I.Status===this.Homeofficestatusvarianten.Genehmigt)&&a.isUndefined(a.find(this.Homeofficefreigabenliste,{_id:A._id}))&&(this.Homeofficefreigabenliste.push(A),I.Status===this.Homeofficestatusvarianten.Freigabeanfrage?E=!0:M=!0),!0===E&&this.Homeofficeanfragenanzahl++,!0===M&&this.Homeofficantwortenanzahl++}}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","GetFreigabenliste",this.Debug.Typen.Service)}}ResetRequest(b,E){var M=this;return n(function*(){try{if(null!==E){for(let I of E.Urlaubzeitspannen)I.Status=M.Urlaubstatusvarianten.Geplant,I.VertreterantwortSended=!1,I.Vertretungmeldung="",I.Planungmeldung="",I.Vertretungantwortzeitstempel=null;let A=a.findIndex(b.Urlaubsliste,{Jahr:M.Jahr});b.Urlaubsliste[A]=E,yield M.DBMitarbeiter.UpdateMitarbeiterUrlaub(b)}}catch(A){M.Debug.ShowErrorMessage(A,"Database Urlaub","ResetRequest",M.Debug.Typen.Service)}})()}CheckVertretungsanwortAge(b){try{let M,A,E=(0,l.default)().locale("de");return b.VertreterID!==this.CurrentMitarbeiter._id||!0!==b.VertreterantwortSended||b.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&b.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||null!==b.Vertretungantwortzeitstempel&&(M=(0,l.default)(b.Vertretungantwortzeitstempel).locale("de"),A=l.default.duration(E.diff(M)).asMinutes(),A<=180)}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckVertretungsanwortAge",this.Debug.Typen.Service)}}CheckUrlaubFreigabeanwortAge(b){try{let M,A,E=(0,l.default)().locale("de");return!0!==b.FreigabeantwortSended||b.Status!==this.Urlaubstatusvarianten.Genehmigt&&b.Status!==this.Urlaubstatusvarianten.Abgelehnt||null!==b.Freigabeantwortzeitstempel&&(M=(0,l.default)(b.Freigabeantwortzeitstempel).locale("de"),A=l.default.duration(E.diff(M)).asMinutes(),A<=180)}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckUrlaubFreigabeanwortAge",this.Debug.Typen.Service)}}CheckHomeofficeFreigabeanwortAge(b){try{let M,A,E=(0,l.default)().locale("de");return!0!==b.FreigabeantwortSended||b.Status!==this.Homeofficestatusvarianten.Genehmigt&&b.Status!==this.Homeofficestatusvarianten.Abgelehnt||null!==b.Freigabeantwortzeitstempel&&(M=(0,l.default)(b.Freigabeantwortzeitstempel).locale("de"),A=l.default.duration(E.diff(M)).asMinutes(),A<=180)}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckHomeofficeFreigabeanwortAge",this.Debug.Typen.Service)}}GetVertretungsanwortAge(b){try{let M,A,E=(0,l.default)().locale("de");return b.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&b.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||!0!==b.VertreterantwortSended||null===b.Vertretungantwortzeitstempel?0:(M=(0,l.default)(b.Vertretungantwortzeitstempel).locale("de"),A=l.default.duration(E.diff(M)).asMinutes(),A)}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetVertretungsanwortAge",this.Debug.Typen.Service)}}GetVertretungenliste(){try{let b,E,M,A;if(this.Vertretrungliste=[],this.Vertretungsantwortenanzahl=0,this.Vertretungsanfragenanzahl=0,null!==this.CurrentMitarbeiter)for(let I of this.Pool.Mitarbeiterliste)if(I._id!==this.CurrentMitarbeiter._id&&(b=a.find(I.Urlaubsliste,{Jahr:this.Jahr}),!a.isUndefined(b))){M=!1,A=!1;for(let F of b.Urlaubzeitspannen)F=this.InitZeitspanne(F),F.VertreterID===this.CurrentMitarbeiter._id&&!0===this.CheckVertretungsanwortAge(F)&&(F.Status===this.Urlaubstatusvarianten.Vertreteranfrage||F.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||F.Status===this.Urlaubstatusvarianten.Vertreterablehnung)&&(F.Status===this.Urlaubstatusvarianten.Vertreteranfrage?M=!0:A=!0,E=a.find(this.Vertretrungliste,{_id:I._id}),a.isUndefined(E)&&this.Vertretrungliste.push(I));!0===M&&(this.Vertretungsanfragenanzahl++,this.Urlaubsanfragenanzahl++),!0===A&&(this.Vertretungsantwortenanzahl++,this.Antwortenanzahl++)}}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","GetVertretungenliste",this.Debug.Typen.Service)}}GetUrlaubStatuscolor(b){try{let E="none";switch(b){case this.Urlaubstatusvarianten.Geplant:E=this.Urlaubsfaben.Geplant;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:E=this.Urlaubsfaben.Vertreterfreigabe;break;case this.Urlaubstatusvarianten.Vertreterablehnung:E=this.Urlaubsfaben.Vertreterablehnung;break;case this.Urlaubstatusvarianten.Vertreteranfrage:E=this.Urlaubsfaben.Vertreteranfrage;break;case this.Urlaubstatusvarianten.Genehmigt:E=this.Urlaubsfaben.Genehmigt;break;case this.Urlaubstatusvarianten.Abgelehnt:E=this.Urlaubsfaben.Abgelehnt;break;default:E="#00FFFF"}return E}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetUrlaubStatuscolor",this.Debug.Typen.Page)}}GetHomeofficeStatuscolor(b){try{let E="none";switch(b){case this.Homeofficestatusvarianten.Geplant:E=this.Homeofficefarben.Geplant;break;case this.Homeofficestatusvarianten.Freigabeanfrage:E=this.Homeofficefarben.Freigabeanfrage;break;case this.Homeofficestatusvarianten.Genehmigt:E=this.Homeofficefarben.Genehmigt;break;case this.Homeofficestatusvarianten.Abgelehnt:E=this.Homeofficefarben.Abgelehnt;break;default:E="#00FFFF"}return E}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetHomeofficeStatuscolor",this.Debug.Typen.Page)}}UpdateVertreteranfragen(){var b=this;return n(function*(){try{let M,T,E=1,A=(0,l.default)(),I=[],F=[],j=[];for(let x of b.CurrentUrlaub.Urlaubzeitspannen)x.Status===b.Urlaubstatusvarianten.Geplant&&null!==x.VertreterID&&-1===a.indexOf(I,x.VertreterID)&&(E++,I.push(x.VertreterID));for(let x of I)if(F=[],M=a.find(b.Pool.Mitarbeiterliste,{_id:x}),!a.isUndefined(M)){for(let N of b.CurrentUrlaub.Urlaubzeitspannen)N.Status===b.Urlaubstatusvarianten.Geplant&&N.VertreterID===x&&(F.push(N),N.Status=b.Urlaubstatusvarianten.Vertreteranfrage,N.Planungmeldung=A.format("DD.MM.YYYY")+" Vertretungsanfrage wurde an "+M.Vorname+" "+M.Name+" gesendet.");F=yield b.SendVertreteranfragen(b.CurrentMitarbeiter,M,F),j=j.concat(F)}for(let x of j)T=a.findIndex(b.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:x.ZeitspannenID}),b.CurrentUrlaub.Urlaubzeitspannen[T]=x;let P=a.findIndex(b.CurrentMitarbeiter.Urlaubsliste,{Jahr:b.Jahr});b.CurrentMitarbeiter.Urlaubsliste[P]=b.CurrentUrlaub,yield b.DBMitarbeiter.UpdateMitarbeiterUrlaub(b.CurrentMitarbeiter),b.UrlaubStatusChanged.emit()}catch(E){b.Debug.ShowErrorMessage(E,"Database Urlaub","UpdateVertreteranfragen",b.Debug.Typen.Service)}})()}UpdateHomeofficefreigabeanfragen(){var b=this;return n(function*(){try{let E,I,M=[],A=[];E=a.find(b.Pool.Mitarbeiterliste,{_id:b.CurrentUrlaub.UrlaubsfreigeberID}),M=[];for(let j of b.CurrentUrlaub.Homeofficezeitspannen)j.Status===b.Homeofficestatusvarianten.Geplant?(j.Status=b.Homeofficestatusvarianten.Freigabeanfrage,A.push(j)):M.push(j);A=yield b.SendHomeofficefreigabeanfrage(b.CurrentMitarbeiter,E,A),M=M.concat(A);for(let j of M)I=a.findIndex(b.CurrentUrlaub.Homeofficezeitspannen,{ZeitspannenID:j.ZeitspannenID}),b.CurrentUrlaub.Homeofficezeitspannen[I]=j;let F=a.findIndex(b.CurrentMitarbeiter.Urlaubsliste,{Jahr:b.Jahr});b.CurrentMitarbeiter.Urlaubsliste[F]=b.CurrentUrlaub,yield b.DBMitarbeiter.UpdateMitarbeiterUrlaub(b.CurrentMitarbeiter),b.HomeofficeStatusChanged.emit()}catch(E){b.Debug.ShowErrorMessage(E,"Database Urlaub","UpdateHomeofficefreigabeanfragen",b.Debug.Typen.Service)}})()}UpdateVertreterantworten(b,E){var M=this;return n(function*(){try{let F,j,A=1,I=(0,l.default)().locale("de");for(let P of E.Urlaubzeitspannen)P.Status===M.Urlaubstatusvarianten.Vertreterablehnung&&!1===P.VertreterantwortSended&&(A+=1),P.Status===M.Urlaubstatusvarianten.Vertreterfreigabe&&!1===P.VertreterantwortSended&&(A+=2);F=a.find(M.Pool.Mitarbeiterliste,{_id:E.UrlaubsfreigeberID}),j=M.CurrentMitarbeiter;for(let P of E.Urlaubzeitspannen)P.Status!==M.Urlaubstatusvarianten.Vertreteranfrage&&!1===P.VertreterantwortSended&&(P.Status===M.Urlaubstatusvarianten.Vertreterfreigabe&&(P.Vertretungmeldung=I.format("DD.MM.YYYY")+" Vertretungszusage wurde an "+b.Vorname+" "+b.Name+" gesendet.",P.Vertretungmeldung+="
"+I.format("DD.MM.YYYY")+" Urlaubsfreigabe Anfrage wurde an "+F.Vorname+" "+F.Name+" gesendet.",P.Planungmeldung=I.format("DD.MM.YYYY")+" "+j.Vorname+" "+j.Name+" hat der Urlausvertretung zugestimmt.",P.Planungmeldung+="
"+I.format("DD.MM.YYYY")+" Genehmigungsanfrage wurde an "+F.Vorname+" "+F.Name+" gesendet."),P.Status===M.Urlaubstatusvarianten.Vertreterablehnung&&(P.Planungmeldung=I.format("DD.MM.YYYY")+" "+j.Vorname+" "+j.Name+" hat die Vertretung abgelehnt",P.Vertretungmeldung=I.format("DD.MM.YYYY")+" Vertretungsabsage wurde an "+b.Vorname+" "+b.Name+" gesendet."));E=yield M.SendVertreterzusage(b,j,F,E),E=yield M.SendVertreterabsage(b,j,F,E),E=yield M.SendFreigabeanfrage(b,F,E);let T=a.findIndex(b.Urlaubsliste,{Jahr:M.Jahr});b.Urlaubsliste[T]=E,yield M.DBMitarbeiter.UpdateMitarbeiterUrlaub(b)}catch(A){M.Debug.ShowErrorMessage(A,"Database Urlaub","UpdateVertreterantworten",M.Debug.Typen.Service)}})()}SendVertreteranfragen(b,E,M){try{let I,A="Urlaubsvertretungsanfrage von "+b.Vorname+" "+b.Name,F=[],j=!1,T=(0,l.default)().locale("de");return new Promise((P,x)=>{I="Hallo "+E.Vorname+",

bitte pr\xfcfen, ob du f\xfcr folgende Zeitr\xe4ume:

",I+='',I+="",I+='';for(let N of M)N.Status===this.Urlaubstatusvarianten.Vertreteranfrage&&N.VertreterID===E._id&&!1===N.VertreteranfrageSended&&(j=!0,N.Vertretunganfragezeitstempel=T.valueOf(),N.VertreteranfrageSended=!0,I+="",I+='",I+='",I+="");I+="
VonBis
'+N.Startstring+"'+N.Endestring+"
",I+="
Die Urlaubsvertretung f\xfcr mich \xfcbernehmen kannst.

",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(b,!0),F.push({emailAddress:{address:E.Email,name:E.Vorname+" "+E.Name}}),j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Vertretungsanfrage wurde an "+E.Vorname+" "+E.Name+" gesendet."),P(M)}).catch(N=>{x(N)}):(console.log("Es wurde keine Vertretungsanfrage gesendet."),P(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendVertreteranfragen",this.Debug.Typen.Service)}}SendHomeofficefreigabeanfrage(b,E,M){try{let I,A="Homeofficefreigabeanfrage von "+b.Vorname+" "+b.Name,F=[],j=!1;return new Promise((T,P)=>{I="Hallo "+E.Vorname+",

bitte folgende Homeofficetage freigeben:

",I+='',I+="",I+='",I+="",I+="
';for(let x of M)x.Status===this.Homeofficestatusvarianten.Freigabeanfrage&&!1===x.FreigabeanfrageSended&&(j=!0,x.FreigabeanfrageSended=!0,I+="",I+=x.Startstring+", ",I+="");I+="
",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(b,!0),F.push({emailAddress:{address:E.Email,name:E.Vorname+" "+E.Name}}),j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Homeofficefreigabeanfrage wurde an "+E.Vorname+" "+E.Name+" gesendet."),T(M)}).catch(x=>{P(x)}):(console.log("Es wurden keine Homeofficefreigabeanfragen gesendet."),T(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendHomeofficefreigabeanfrage",this.Debug.Typen.Service)}}SendVertreterzusage(b,E,M,A){try{let F,I="Vertretungszusage von "+E.Vorname+" "+E.Name,j=[],T=!1,P=(0,l.default)().locale("de");return new Promise((x,N)=>{F="Hallo "+b.Vorname+",

nachfolgende Urlaubsvertretungen kann ich gerne wahrnehmen:

",F+='',F+="",F+='',F+="";for(let O of A.Urlaubzeitspannen)O.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&O.VertreterID===E._id&&!1===O.VertreterantwortSended&&(T=!0,O.VertreterantwortSended=!0,O.Vertretungantwortzeitstempel=P.valueOf(),F+="",F+='",F+='",F+='',F+="");F+="
VonBisVertretung
'+O.Startstring+"'+O.Endestring+"Zusage
",F+="

",F+="Deine Urlaubsanfrage wurde zur Freigabe an "+M.Vorname+" "+M.Name+" weitergeleitet.",F+="

",F+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',F+="

"+this.Pool.GetFilledSignatur(E,!0),j.push({emailAddress:{address:b.Email,name:b.Vorname+" "+b.Name}}),!0===T?this.Graph.SendMail(j,I,F).then(()=>{console.log("Vertretungszusage wurde an "+b.Vorname+" "+b.Name+" gesendet."),x(A)}).catch(O=>{N(O)}):(console.log("Es wurde keine Vertretungszusage gesendet."),x(A))})}catch(I){this.Debug.ShowErrorMessage(I,"Database Urlaub","SendVertreterzusage",this.Debug.Typen.Service)}}SendHomeofficeFreigabeantworten(b,E){var M=this;return n(function*(){try{let A=a.find(M.Pool.Mitarbeiterliste,{_id:E.HomeofficefreigeberID});E=yield M.SendMitarbeiterHomeofficeFreigabeablehnung(b,A,E),E=yield M.SendMitarbeiterHomeofficeFreigabezusage(b,A,E);let I=a.findIndex(b.Urlaubsliste,{Jahr:M.Jahr});b.Urlaubsliste[I]=E,b._id===M.CurrentMitarbeiter._id&&(M.CurrentMitarbeiter=b),yield M.DBMitarbeiter.UpdateMitarbeiterUrlaub(b)}catch(A){M.Debug.ShowErrorMessage(A,"Database Urlaub","SendHomeofficeFreigabeantworten",M.Debug.Typen.Service)}})()}UpdateFreigabenantworten(b,E){var M=this;return n(function*(){try{let F,j,A=1,I=(0,l.default)().locale("de");for(let P of E.Urlaubzeitspannen)P.Status===M.Urlaubstatusvarianten.Genehmigt&&!1===P.FreigabeantwortSended&&(A+=1),P.Status===M.Urlaubstatusvarianten.Abgelehnt&&!1===P.FreigabeantwortSended&&(A+=2);for(let P of E.Urlaubzeitspannen)(P.Status===M.Urlaubstatusvarianten.Genehmigt||P.Status===M.Urlaubstatusvarianten.Abgelehnt)&&(F=a.find(M.Pool.Mitarbeiterliste,{_id:E.UrlaubsfreigeberID}),j=a.find(M.Pool.Mitarbeiterliste,{_id:P.VertreterID}),P.Status===M.Urlaubstatusvarianten.Genehmigt&&(P.Planungmeldung=I.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+F.Vorname+" "+F.Name+" genehmigt.",P.Freigabemeldung=I.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an "+b.Vorname+" "+b.Name+" gesendet.",P.Freigabemeldung+="
"+I.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an das Office gesendet."),P.Status===M.Urlaubstatusvarianten.Abgelehnt&&(P.Planungmeldung=I.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+F.Vorname+" "+F.Name+" abgelehnt.",P.Freigabemeldung=I.format("DD.MM.YYYY")+" Urlaubsablehnung wurde an "+b.Vorname+" "+b.Name+" gesendet."));E=yield M.SendMitarbeiterFreigabeablehnung(b,F,E),E=yield M.SendMitarbeiterFreigabezusage(b,F,E),E=yield M.SendOfficeFreigabezusage(b,F,E);let T=a.findIndex(b.Urlaubsliste,{Jahr:M.Jahr});b.Urlaubsliste[T]=E,M.CurrentUrlaub=E,yield M.DBMitarbeiter.UpdateMitarbeiterUrlaub(b)}catch(A){M.Debug.ShowErrorMessage(A,"Database Urlaub","UpdateFreigabenantworten",M.Debug.Typen.Service)}})()}SendVertreterabsage(b,E,M,A){try{let F,I="Vertretungsabsage von "+E.Vorname+" "+E.Name,j=[],T=!1,P=(0,l.default)().locale("de");return new Promise((x,N)=>{F="Hallo "+b.Vorname+",

nachfolgende Urlaubsvertretungen kann ich nicht wahrnehmen:

",F+='',F+="",F+='',F+="";for(let O of A.Urlaubzeitspannen)O.Status===this.Urlaubstatusvarianten.Vertreterablehnung&&O.VertreterID===E._id&&!1===O.VertreterantwortSended&&(T=!0,O.VertreterantwortSended=!0,O.Vertretungantwortzeitstempel=P.valueOf(),F+="",F+='",F+='",F+='',F+="");F+="
VonBisVertretung
'+O.Startstring+"'+O.Endestring+"Abgelehnt
",F+="

",F+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',F+="

"+this.Pool.GetFilledSignatur(E,!0),j.push({emailAddress:{address:b.Email,name:b.Vorname+" "+b.Name}}),!0===T?this.Graph.SendMail(j,I,F).then(()=>{console.log("Vertretungsabsage wurde an "+b.Vorname+" "+b.Name+" gesendet."),x(A)}).catch(O=>{N(O)}):(console.log("Es wurde keine Vertretungsabsage gesendet."),x(A))})}catch(I){this.Debug.ShowErrorMessage(I,"Database Urlaub","SendVertreterabsage",this.Debug.Typen.Service)}}SendFreigabeanfrage(b,E,M){try{let I,T,A="Anfrage Urlaubsfreigabe von "+b.Vorname+" "+b.Name,F=[],j=!1,P=(0,l.default)().locale("de");return new Promise((x,N)=>{I="Hallo "+E.Vorname+"

es liegen neue Anfragen zur Urlaufsfreigabe von ",I+=b.Vorname+" "+b.Name+" vor:

",I+='',I+="",I+='',I+="";for(let O of M.Urlaubzeitspannen)O.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&!1===O.FreigabeanfrageSended&&(j=!0,T=a.find(this.Pool.Mitarbeiterliste,{_id:O.VertreterID}),O.FreigabeanfrageSended=!0,O.Freigabeantwortzeitstempel=P.valueOf(),I+="",I+='",I+='",I+="",I+="");I+="
VonBisVertretung
'+O.Startstring+"'+O.Endestring+"",a.isUndefined(T)||(I+=T.Vorname+" "+T.Name),I+="
",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(b,!0),F.push({emailAddress:{address:E.Email,name:E.Vorname+" "+E.Name}}),!0===j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Freigabe Anfrage wurde versendet."),x(M)}).catch(O=>{N(O)}):(console.log("Es wurde keine Freigabe Anfrage versendet."),x(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendFreigabeanfrage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabezusage(b,E,M){try{let I,P,A="Urlaubsfreigabe",F=[],j=!1,T=(0,l.default)().locale("de");return new Promise((x,N)=>{I="Hallo "+b.Vorname+",

anbei meine Urlaubsfreigabe f\xfcr folgende Zeitr\xe4ume:

",I+='',I+="",I+='',I+='',I+="",I+="",I+="";for(let O of M.Urlaubzeitspannen)O.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===O.FreigabeantwortSended&&(O.FreigabeantwortSended=!0,O.Freigabeantwortzeitstempel=T.valueOf(),P=this.DBMitarbeiter.GetMitarbeiterByID(O.VertreterID),j=!0,I+="",I+='",I+='",a.isUndefined(P)?I+='':I+="",I+='',I+="");I+="
VonBisVertretungStatus
'+O.Startstring+"'+O.Endestring+"unbekannt"+P.Vorname+" "+P.Name+"Freigabe
",I+="

",I+='Deine Urlaubsfreigabe wurde zur Eintragung in "untermStrich" dem B\xfcro mitgeteilt.',I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(E,!0),F.push({emailAddress:{address:b.Email,name:b.Vorname+" "+b.Name}}),!0===j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Urlaubsfreigabe wurde an "+b.Vorname+" "+b.Name+" gesendet."),x(M)}).catch(O=>{N(O)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),x(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterFreigabezusage",this.Debug.Typen.Service)}}SendOfficeFreigabezusage(b,E,M){try{let I,P,A="Urlaubsfreigabe",F=[],j=!1,T=(0,l.default)().locale("de");return new Promise((x,N)=>{I="Hallo Office,

anbei eine Urlaubsfreigabe f\xfcr "+b.Vorname+" "+b.Name+" mit folgenden Zeitr\xe4umen:

",I+='',I+="",I+='',I+='',I+="",I+="",I+="";for(let O of M.Urlaubzeitspannen)O.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===O.FreigabeantwortOfficeSended&&(O.FreigabeantwortOfficeSended=!0,O.Freigabeantwortzeitstempel=T.valueOf(),P=this.DBMitarbeiter.GetMitarbeiterByID(O.VertreterID),j=!0,I+="",I+='",I+='",a.isUndefined(P)?I+='':I+="",I+='',I+="");I+="
VonBisVertretungStatus
'+O.Startstring+"'+O.Endestring+"unbekannt"+P.Vorname+" "+P.Name+"Freigabe
",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(E,!0),F.push({emailAddress:{address:this.Officeemailadress,name:"Office"}}),!0===j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Urlaubsfreigabe wurde an "+b.Vorname+" "+b.Name+" gesendet."),x(M)}).catch(O=>{N(O)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),x(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendOfficeFreigabezusage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabeablehnung(b,E,M){try{let I,P,A="Ablehnung deiner Urlaubsanfrage",F=[],j=!1,T=(0,l.default)().locale("de");return new Promise((x,N)=>{I="Hallo "+b.Vorname+" "+b.Name+",

leider muss ich deine Urlaubsanfrage f\xfcr nachfolgende Zeitr\xe4ume ablehnen:

",I+='',I+="",I+='',I+='',I+="",I+="",I+="";for(let O of M.Urlaubzeitspannen)O.Status===this.Urlaubstatusvarianten.Abgelehnt&&!1===O.FreigabeantwortSended&&(O.FreigabeantwortSended=!0,O.Freigabeantwortzeitstempel=T.valueOf(),P=this.DBMitarbeiter.GetMitarbeiterByID(O.VertreterID),j=!0,I+="",I+='",I+='",a.isUndefined(P)?I+='':I+="",I+='',I+="");I+="
VonBisVertretungStatus
'+O.Startstring+"'+O.Endestring+"unbekannt"+P.Vorname+" "+P.Name+"Abgelehnt
",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(E,!0),F.push({emailAddress:{address:E.Email,name:E.Vorname+" "+E.Name}}),!0===j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Urlaubsablehung wurde an "+b.Vorname+" "+b.Name+" gesendet."),x(M)}).catch(O=>{N(O)}):(console.log("Es wurde keine Urlaubsablehnung gesendet."),x(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterFreigabeablehnung",this.Debug.Typen.Service)}}SendMitarbeiterHomeofficeFreigabeablehnung(b,E,M){try{let I,A="Ablehnung deiner Homeofficeabfrage",F=[],j=!1,T=(0,l.default)().locale("de");return new Promise((P,x)=>{I="Hallo "+b.Vorname+" "+b.Name+",

leider muss ich deine Homeofficeanfrage f\xfcr nachfolgende Tage ablehnen:

",I+='',I+="",I+='',I+='',I+="";for(let N of M.Homeofficezeitspannen)N.Status===this.Homeofficestatusvarianten.Abgelehnt&&!1===N.FreigabeantwortSended&&(N.FreigabeantwortSended=!0,N.Freigabeantwortzeitstempel=T.valueOf(),j=!0,I+="",I+='",I+='',I+="");I+="
DatumStatus
'+N.Startstring+"Abgelehnt
",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(E,!0),F.push({emailAddress:{address:E.Email,name:E.Vorname+" "+E.Name}}),!0===j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Homeofficeablehnung wurde an "+b.Vorname+" "+b.Name+" gesendet."),P(M)}).catch(N=>{x(N)}):(console.log("Es wurde keine Homeofficeablehnung gesendet."),P(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterHomeofficeFreigabeablehnung",this.Debug.Typen.Service)}}SendMitarbeiterHomeofficeFreigabezusage(b,E,M){try{let I,A="Genehmigung deiner Homeofficeanfrage",F=[],j=!1,T=(0,l.default)().locale("de");return new Promise((P,x)=>{I="Hallo "+b.Vorname+" "+b.Name+",

leider muss ich deine Homeofficeanfrage f\xfcr nachfolgende Tage ablehnen:

",I+='',I+="",I+='',I+='',I+="";for(let N of M.Homeofficezeitspannen)N.Status===this.Homeofficestatusvarianten.Genehmigt&&!1===N.FreigabeantwortSended&&(N.FreigabeantwortSended=!0,N.Freigabeantwortzeitstempel=T.valueOf(),j=!0,I+="",I+='",I+='',I+="");I+="
DatumStatus
'+N.Startstring+"Genehmigt
",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(E,!0),F.push({emailAddress:{address:E.Email,name:E.Vorname+" "+E.Name}}),!0===j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Homeofficegenehmigung wurde an "+b.Vorname+" "+b.Name+" gesendet."),P(M)}).catch(N=>{x(N)}):(console.log("Es wurde keine Homeofficegenehmigung gesendet."),P(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterHomeofficeFreigabezusage",this.Debug.Typen.Service)}}ReadRegionen(b){try{return new Promise((E,M)=>{this.http.put(this.ServerReadRegionenUrl,{Landcode:b}).subscribe({next:F=>{this.Regionenliste=F.Regionenliste},complete:()=>{this.Regionenliste=a.filter(this.Regionenliste,F=>""!==F.isoCode);for(let F of this.Regionenliste)F.Name=F.name[0].text;E(!0)},error:F=>{this.Regionenliste=[],console.log("Read Regionen ist fehlgeschlagen."),E(!0)}})})}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","ReadRegionen",this.Debug.Typen.Service)}}ReadFeiertage(b){try{let E,M=a.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID});a.isUndefined(M)&&(M=null);let A={Standort:M,Jahr:this.Jahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:b};return new Promise((I,F)=>{this.Feiertageliste[b]=[],E=this.http.put(this.ServerReadfeiertageUrl,A),E.subscribe({next:j=>{this.Feiertageliste[b]=j.Feiertageliste},complete:()=>{I(!0)},error:j=>{this.Feiertageliste[b]=[],console.log("Read Feiertage ist fehlgeschlagen."),I(!0)}})})}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","ReadFeiertage",this.Debug.Typen.Service)}}ReadFerien(b){try{let E,M={Jahr:this.Jahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:b};return this.Ferienliste[b]=[],new Promise((A,I)=>{E=this.http.put(this.ServerReadFerienUrl,M),E.subscribe({next:F=>{this.Ferienliste[b]=F.Ferienliste},complete:()=>{A(!0)},error:F=>{this.Ferienliste[b]=[],console.log("Read Ferien ist fehlgeschlagen."),A(!0)}})})}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","ReadFerien",this.Debug.Typen.Service)}}CountAnfragenanzahlen(){try{this.Urlaubsanfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Homeofficantwortenanzahl=0,this.Homeofficeanfragenanzahl=0,null!==this.CurrentMitarbeiter&&(this.GetVertretungenliste(),this.GetFreigabenliste())}catch(b){return this.Debug.ShowErrorMessage(b,"Database Urlaub","CountAnfragenanzahlen",this.Debug.Typen.Service),0}}Init(){try{let b,E,M,A,I;this.Urlaubsanfragenanzahl=0,this.Homeofficeanfragenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,null!==this.CurrentMitarbeiter&&(b=a.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID}),this.Laendercode=a.isUndefined(b)?"DE":b.Land),this.ShowFerientage_DE=this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE,this.ShowFeiertage_DE=this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE,this.Ferienfarbe_DE=this.Urlaubsfaben.Ferien_DE,this.Feiertagefarbe_DE=this.Urlaubsfaben.Feiertage_DE,this.ShowFerientage_BG=this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG,this.ShowFeiertage_BG=this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG,this.Ferienfarbe_BG=this.Urlaubsfaben.Ferien_BG,this.Feiertagefarbe_BG=this.Urlaubsfaben.Feiertage_BG,null!==this.CurrentMitarbeiter&&(this.CurrentUrlaub=a.find(this.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.Jahr}),a.isUndefined(this.CurrentUrlaub)?(this.CurrentUrlaub=this.GetEmptyUrlaub(this.Jahr),this.CurrentUrlaubzeitspanne=null,this.CurrentMitarbeiter.Urlaubsliste.push(this.CurrentUrlaub)):this.CurrentUrlaubzeitspanne=null,a.isUndefined(this.CurrentUrlaub.Projektbeteiligteliste)&&(this.CurrentUrlaub.Projektbeteiligteliste=[]),a.isUndefined(this.CurrentUrlaub.Ferienblockerliste)&&(this.CurrentUrlaub.Ferienblockerliste=[]),a.isUndefined(this.CurrentUrlaub.Feiertageblockerliste)&&(this.CurrentUrlaub.Feiertageblockerliste=[]),a.isUndefined(this.CurrentUrlaub.UrlaubsfreigeberID)&&(this.CurrentUrlaub.UrlaubsfreigeberID=null),a.isUndefined(this.CurrentUrlaub.HomeofficefreigeberID)&&(this.CurrentUrlaub.HomeofficefreigeberID=null));for(let F of this.CurrentUrlaub.Urlaubzeitspannen)F=this.InitZeitspanne(F);for(E of(this.UrlaublisteExtern=[],this.Pool.Mitarbeiterliste))M=a.find(E.Urlaubsliste,{Jahr:this.Jahr}),a.isUndefined(M)||M.UrlaubsfreigeberID===this.CurrentMitarbeiter._id&&-1===a.findIndex(this.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:E._id})&&this.CurrentUrlaub.Projektbeteiligteliste.push({MitarbeiterID:E._id,Display:!0});for(let F of this.CurrentUrlaub.Projektbeteiligteliste)if(E=a.find(this.Pool.Mitarbeiterliste,{_id:F.MitarbeiterID}),!a.isUndefined(E)){M=a.find(E.Urlaubsliste,{Jahr:this.Jahr}),a.isUndefined(M)?(M=this.GetEmptyUrlaub(this.Jahr),M.MitarbeiterIDExtern=E._id,M.NameExtern=E.Vorname+" "+E.Name,M.NameKuerzel=E.Kuerzel):(M=a.cloneDeep(M),M.MitarbeiterIDExtern=E._id,M.NameExtern=E.Vorname+" "+E.Name,M.NameKuerzel=E.Kuerzel,M.Urlaubzeitspannen=a.filter(M.Urlaubzeitspannen,j=>j.Status!==this.Urlaubstatusvarianten.Abgelehnt)),A=0,A+=E.Urlaub,A+=M.Resturlaub,I=0;for(let j of M.Urlaubzeitspannen)j.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(I+=j.Tageanzahl);M.Text=null!==this.CurrentMitarbeiter&&!0===this.CurrentMitarbeiter.Urlaubsfreigaben?"["+I+" von "+A+"]":"["+I+"]",this.UrlaublisteExtern.push(M)}}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","Init",this.Debug.Typen.Service)}}InitZeitspanne(b){try{return(a.isUndefined(b.VertreterID)||""===b.VertreterID)&&(b.VertreterID=null),a.isUndefined(b.Planungmeldung)&&(b.Planungmeldung=""),a.isUndefined(b.Vertretungmeldung)&&(b.Vertretungmeldung=""),a.isUndefined(b.Freigabemeldung)&&(b.Freigabemeldung=""),a.isUndefined(b.VertreteranfrageSended)&&(b.VertreteranfrageSended=!1),a.isUndefined(b.VertreterantwortSended)&&(b.VertreterantwortSended=!1),a.isUndefined(b.FreigabeanfrageSended)&&(b.FreigabeanfrageSended=!1),a.isUndefined(b.FreigabeantwortSended)&&(b.FreigabeantwortSended=!1),a.isUndefined(b.FreigabeantwortOfficeSended)&&(b.FreigabeantwortOfficeSended=!1),a.isUndefined(b.Vertretunganfragezeitstempel)&&(b.Vertretunganfragezeitstempel=null),a.isUndefined(b.Vertretungantwortzeitstempel)&&(b.Vertretungantwortzeitstempel=null),a.isUndefined(b.Freigabeantwortzeitstempel)&&(b.Freigabeantwortzeitstempel=null),a.isUndefined(b.FreigabeantwortOfficezeitstempel)&&(b.FreigabeantwortOfficezeitstempel=null),"Beantragt"===b.Status&&(b.Status=this.Urlaubstatusvarianten.Geplant),b}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","InitZeitspanne",this.Debug.Typen.Service)}}SetPlanungsmonate(){try{0===this.CurrentMonatindex?(this.FirstMonatIndex=0,this.CurrentMonatindex=1,this.LastMonatIndex=2):11===this.CurrentMonatindex?(this.FirstMonatIndex=9,this.CurrentMonatindex=10,this.LastMonatIndex=11):(this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1)}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","SetPlanungsmonate",this.Debug.Typen.Service)}}GetEmptyUrlaub(b){try{let E={Jahr:b,Resturlaub:0,Urlaubzeitspannen:[],Homeofficezeitspannen:[],UrlaubsfreigeberID:null,HomeofficefreigeberID:null,Projektbeteiligteliste:[],Ferienblockerliste:[],Feiertageblockerliste:[]};return null!==this.CurrentMitarbeiter&&!a.isUndefined(this.CurrentMitarbeiter.Urlaubsliste[0])&&(E.Projektbeteiligteliste=this.CurrentMitarbeiter.Urlaubsliste[0].Projektbeteiligteliste,E.Ferienblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Ferienblockerliste,E.Feiertageblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Feiertageblockerliste),E}catch(E){this.Debug.ShowErrorMessage(E.message,"Database Urlaub","GetEmptyUrlaub",this.Debug.Typen.Service)}}CheckIsFerientag(b,E){try{let A,I,M=(0,l.default)(b.Tagstempel),F=!1;if(!a.isUndefined(this.Ferienliste[E]))for(let j of this.Ferienliste[E])if(A=(0,l.default)(j.Anfangstempel),I=(0,l.default)(j.Endestempel),M.isSameOrAfter(A,"day")&&M.isSameOrBefore(I,"day")){F=!0;break}return F}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckIsFerientag",this.Debug.Typen.Service)}}GetFeriennamen(b,E){try{let M=E+": Unbekannt";for(let A of b.name)A.language===E&&(M=A.text);return M}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetFeriennamen",this.Debug.Typen.Service)}}GetFeiertagnamen(b,E){try{let M=E+": Unbekannt";for(let A of b.name)A.language===E&&(M=A.text);return M}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetFeiertagnamen",this.Debug.Typen.Service)}}GetFerientag(b,E){try{let A,I,F,j,M=(0,l.default)(b.Tagstempel);if(!a.isUndefined(this.Ferienliste[E]))for(j of this.Ferienliste[E])if(A=(0,l.default)(j.Anfangstempel),I=(0,l.default)(j.Endestempel),M.isSameOrAfter(A,"day")&&M.isSameOrBefore(I,"day"))return F={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:j.Anfangstempel,Ferienname_DE:this.GetFeriennamen(j,"DE"),Ferienname_BG:this.GetFeriennamen(j,"EN")},F;return null}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetFerientag",this.Debug.Typen.Service)}}CheckIsFeiertag(b,E){try{let A,M=(0,l.default)(b.Tagstempel),I=!1;if(!a.isUndefined(this.Feiertageliste[E]))for(let F of this.Feiertageliste[E])if(A=(0,l.default)(F.Anfangstempel),A.isSame(M,"day")&&-1===a.findIndex(this.CurrentUrlaub.Feiertageblockerliste,b.Tagstempel)){I=!0;break}return I}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckIsFeiertag",this.Debug.Typen.Service)}}GetFeiertag(b,E){try{let A,I,F,M=(0,l.default)(b.Tagstempel);if(!a.isUndefined(this.Feiertageliste[E]))for(F of this.Feiertageliste[E])if(A=(0,l.default)(F.Anfangstempel),A.isSame(M,"day"))return I={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:F.Anfangstempel,Feiertagname_DE:this.GetFeiertagnamen(F,"DE"),Feiertagname_BG:this.GetFeiertagnamen(F,"EN")},I;return null}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetFeiertag",this.Debug.Typen.Service)}}GetEmptyUrlaubszeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",VertreterID:null,Status:this.Urlaubstatusvarianten.Geplant,Planungmeldung:"",Vertretungmeldung:"",Freigabemeldung:"",Tageanzahl:0,VertreteranfrageSended:!1,VertreterantwortSended:!1,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,FreigabeantwortOfficeSended:!1,Vertretunganfragezeitstempel:null,Vertretungantwortzeitstempel:null,Freigabeantwortzeitstempel:null,FreigabeantwortOfficezeitstempel:null}}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Urlaub","GetEmptyZeitspanne",this.Debug.Typen.Service)}}GetEmptyHomeofficezeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",Status:this.Homeofficestatusvarianten.Geplant,Planungmeldung:"",Vertretungmeldung:"",Freigabemeldung:"",Tageanzahl:0,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,Freigabeantwortzeitstempel:null}}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Urlaub","GetEmptyHomeofficezeitspanne",this.Debug.Typen.Service)}}CountResturlaub(){try{let b=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten){b+=this.Pool.Mitarbeiterdaten.Urlaub,b+=this.CurrentUrlaub.Resturlaub;for(let E of this.CurrentUrlaub.Urlaubzeitspannen)E.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(b-=E.Tageanzahl);return b}return 0}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CountResturlaub",this.Debug.Typen.Service)}}CountHomeoffice(){try{let b=210;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten){for(let E of this.CurrentUrlaub.Homeofficezeitspannen)E.Status!==this.Homeofficestatusvarianten.Abgelehnt&&(b-=E.Tageanzahl);return b}return 0}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CountHomeoffice",this.Debug.Typen.Service)}}CountHomeGeplant(){try{let b=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let E of this.CurrentUrlaub.Homeofficezeitspannen)E.Status===this.Homeofficestatusvarianten.Geplant&&b++;return b}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CountHomeGeplant",this.Debug.Typen.Service)}}CountHomeFreigbeanfragen(){try{let b=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let E of this.CurrentUrlaub.Homeofficezeitspannen)E.Status===this.Homeofficestatusvarianten.Freigabeanfrage&&b++;return b}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CountHomeFreigbeanfragen",this.Debug.Typen.Service)}}CountHomeGenehmigt(){try{let b=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let E of this.CurrentUrlaub.Homeofficezeitspannen)E.Status===this.Homeofficestatusvarianten.Genehmigt&&b++;return b}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CountHomeGenehmigt",this.Debug.Typen.Service)}}CountHomeAbgelehnt(){try{let b=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let E of this.CurrentUrlaub.Homeofficezeitspannen)E.Status===this.Homeofficestatusvarianten.Abgelehnt&&b++;return b}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CountHomeAbgelehnt",this.Debug.Typen.Service)}}CheckDisplayExternenUrlaub(b){try{let E,M,A;return null!==this.CurrentUrlaub&&(E=a.find(this.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:b}),!a.isUndefined(E)&&(M=a.find(this.Pool.Mitarbeiterliste,{_id:E.MitarbeiterID}),A=a.find(M.Urlaubsliste,{Jahr:this.CurrentUrlaub.Jahr}),!a.isUndefined(A)&&E.Display&&A.Urlaubzeitspannen.length>0))}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckDisplayExternenUrlaub",this.Debug.Typen.Service)}}HomeofficeAbgelehntLoeschen(){var b=this;return n(function*(){try{null!==b.CurrentUrlaub&&null!==b.Pool.Mitarbeiterdaten&&(b.CurrentUrlaub.Homeofficezeitspannen=a.filter(b.CurrentUrlaub.Homeofficezeitspannen,M=>M.Status!==b.Homeofficestatusvarianten.Abgelehnt));let E=a.findIndex(b.CurrentMitarbeiter.Urlaubsliste,{Jahr:b.Jahr});b.CurrentMitarbeiter.Urlaubsliste[E]=b.CurrentUrlaub,yield b.DBMitarbeiter.UpdateMitarbeiterUrlaub(b.CurrentMitarbeiter),b.ExterneHomeofficeChanged.emit()}catch(E){b.Debug.ShowErrorMessage(E,"Database Urlaub","HomeofficeAbgelehntLoeschen",b.Debug.Typen.Service)}})()}HomeofficeGeplantLoeschen(){var b=this;return n(function*(){try{null!==b.CurrentUrlaub&&null!==b.Pool.Mitarbeiterdaten&&(b.CurrentUrlaub.Homeofficezeitspannen=a.filter(b.CurrentUrlaub.Homeofficezeitspannen,M=>M.Status!==b.Homeofficestatusvarianten.Geplant));let E=a.findIndex(b.CurrentMitarbeiter.Urlaubsliste,{Jahr:b.Jahr});b.CurrentMitarbeiter.Urlaubsliste[E]=b.CurrentUrlaub,yield b.DBMitarbeiter.UpdateMitarbeiterUrlaub(b.CurrentMitarbeiter),b.ExterneHomeofficeChanged.emit()}catch(E){b.Debug.ShowErrorMessage(E,"Database Urlaub","HomeofficeGeplantLoeschen",b.Debug.Typen.Service)}})()}static \u0275fac=function(E){return new(E||f)(e.\u0275\u0275inject(u.DebugProvider),e.\u0275\u0275inject(c.DatabasePoolService),e.\u0275\u0275inject(g.ConstProvider),e.\u0275\u0275inject(v.Graphservice),e.\u0275\u0275inject(p.DatabaseMitarbeiterService),e.\u0275\u0275inject(S.BasicsProvider),e.\u0275\u0275inject(C.HttpClient))};static \u0275prov=e.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},34388:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DebugProvider=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),a=n.__importStar(o(10716)),l=n.__importStar(o(34396)),e=n.__importStar(o(29743));h.DebugProvider=(()=>{class c{Basics;nav;Fehlerservice;Const;Typen={Page:"Page",Component:"Component",Provider:"Provider",Directive:"Directive",Service:"Service"};Debugmessageliste;constructor(v,p,S,C){this.Basics=v,this.nav=p,this.Fehlerservice=S,this.Const=C;try{this.Debugmessageliste=[]}catch{}}ShowErrorMessage(v,p,S,C){try{console.log("File: "+p+" | Function: "+S+" | Message: "+v),this.Debugmessageliste.push({Skript:p,Message:v,Function:S,Color:"red"})}catch{}}ShowMessage(v,p,S,C){try{console.log("File: "+p+" | Function: "+S+" | Message: "+v),this.Debugmessageliste.push({Skript:p,Message:v,Function:S,Color:"blue"})}catch{}}static \u0275fac=function(p){return new(p||c)(i.\u0275\u0275inject(d.BasicsProvider),i.\u0275\u0275inject(a.NavController),i.\u0275\u0275inject(l.ErrorService),i.\u0275\u0275inject(e.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},21052:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DisplayService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(17964),a=n.__importStar(o(54496)),l=n.__importStar(o(34388));h.DisplayService=(()=>{class u{Debug;Dialognamen={Auswahldialog:"Auswahldialog",Mitarbeiterauswahl:"Mitarbeiterauswahl",Projekteditor:"Projekteditor",Beteiligteneditor:"Beteiligteneditor",Firmeneditor:"Firmeneditor",Mitarbeitereditor:"Mitarbeitereditor",Standorteditor:"Standorteditor",Changelogeditor:"Changelogeditor",Favoriteneditor:"Favoriteneditor",Favoritenauswahl:"Favoritenauswahl",Projekteauswahl:"Projekteauswahl",Bauteileditor:"Bauteileditor",Geschosseditor:"Geschosseditor",Raumeditor:"Raumeditor",AufgabeProjektauswahl:"AufgabeProjektauswahl",Projektpunteditor:"Projektpunteditor",Beteiligteauswahl:"Beteiligteauswahl",Firmenauswahl:"Firmenauswahl",Protokolleditor:"Protokolleditor",Kostengruppenauswahl:"Kostengruppenauswahl",Raumauswahl:"Raumauswahl",Protokolllistefilter:"Protokolllistefilter",Aufgabenlistefilter:"Aufgabenlistefilter",Meinewocheeditor:"Meinewocheeditor",ProjektpunktStatusDatePicker:"ProjektpunktStatusDatePicker",ProjektpunktDateKwPicker:"ProjektpunktDateKwPicker",Verzeichnisauswahl:"Verzeichnisauswahl",Bilderauswahl:"Bilderauswahl",Outlookkontakteauswahl:"Outlookkontakteauswahl",ProjektSendeEmail:"ProjektSendeEmail",Bautagebucheditor:"Bautagebucheditor",Bautagebucheintrageditor:"Bautagebucheintrageditor",LOPListeEditor:"LOPListeEditor",LOPListeEintragEditor:"LOPListeEintragEditor",Planungsmatrixeintrageditor:"Planungsmatrixeintrageditor",Notizenkapiteleditor:"Notizenkapiteleditor",Festlegungkategorieneditor:"Festlegungkategorieneditor",Simontabelleeditor:"Simontabelleeditor",Simontabellelesitungeditor:"Simontabellelesitungeditor",RechnungEditor:"RechnungEditor"};Dialogliste;constructor(g){this.Debug=g;try{this.Dialogliste=[]}catch(v){this.Debug.ShowErrorMessage(v.message,"Display","constructor",this.Debug.Typen.Service)}}ResetDialogliste(){try{this.Dialogliste=[]}catch(g){this.Debug.ShowErrorMessage(g.message,"Display","ResetDialogliste",this.Debug.Typen.Service)}}AddDialog(g,v){try{let p=i.find(this.Dialogliste,{Dialogname:g});i.isUndefined(p)?this.Dialogliste.push({Dialogname:g,ZIndex:v}):this.Debug.ShowErrorMessage(new Error("Add Dialog Fehler: "+g),"Dialog","AddDialog",this.Debug.Typen.Service),(0,d.forEach)(this.Dialogliste,S=>{console.log(S)})}catch(p){this.Debug.ShowErrorMessage(p.message,"Dialog","AddDialog",this.Debug.Typen.Service)}}RemoveDialog(g){try{this.Dialogliste=i.filter(this.Dialogliste,v=>v.Dialogname!==g),0===this.Dialogliste.length&&this.Debug.ShowMessage("Dialogliste ist leer.","Dialog","RemoveDialog",this.Debug.Typen.Service)}catch(v){this.Debug.ShowErrorMessage(v.message,"Dialog","RemoveDialog",this.Debug.Typen.Service)}}ShowOpacity(g){try{let S,v=0,p=0;return(0,d.forEach)(this.Dialogliste,C=>{C.ZIndex>v&&(v=C.ZIndex),C.Dialogname===g&&(p=C.ZIndex,S=C.Dialogname)}),p>=v}catch(v){this.Debug.ShowErrorMessage(v.message,"Dialog","ShowOpacity",this.Debug.Typen.Service)}}static \u0275fac=function(v){return new(v||u)(a.\u0275\u0275inject(l.DebugProvider))};static \u0275prov=a.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},34396:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ErrorService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(29743));h.ErrorService=(()=>{class l{Const;Fehlermeldung;CanGoBack;constructor(u){this.Const=u;try{this.Fehlermeldung=[],this.CanGoBack=!0}catch{}}static \u0275fac=function(c){return new(c||l)(i.\u0275\u0275inject(d.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},8608:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.Graphservice=void 0;const i=o(81316),d=o(54496),a=o(9028),l=o(57140),e=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),c=i.__importStar(o(54496)),g=i.__importStar(o(34388)),v=i.__importStar(o(9028)),p=i.__importStar(o(29743)),S=i.__importStar(o(97048)),C=i.__importStar(o(97092)),_=i.__importStar(o(19668)),f=i.__importStar(o(79052)),y=i.__importStar(o(7992)),b=i.__importStar(o(14652)),E=i.__importStar(o(14476));h.Graphservice=(()=>{class A{msalGuardConfig;Debug;authService;Const;http;AuthService;Tools;DBEmail;Http;Pool;Basics;domSanitizer;ImageZoomOut=new d.EventEmitter;Graphuser;Teamsliste;UserimageSRC;TeamsRootfilelist;TeamsCurrentfilelist;TeamsSubdirectorylist;CurrentTeamsID;Outlookkontakteliste;CurrentPDFDownload;KalenderKW;Outlookpresetcolors;BAESiteID;FilebrowserModus;FilebrowserModusvarianten={Alle_Projekte:"Alle_Projekte",Current_Projekt:"Current_Projekt"};constructor(F,j,T,P,x,N,O,H,G,te,ue,se){this.msalGuardConfig=F,this.Debug=j,this.authService=T,this.Const=P,this.http=x,this.AuthService=N,this.Tools=O,this.DBEmail=H,this.Http=G,this.Pool=te,this.Basics=ue,this.domSanitizer=se;try{this.Graphuser=null,this.UserimageSRC=null,this.Teamsliste=[],this.TeamsRootfilelist=[],this.TeamsCurrentfilelist=[],this.TeamsSubdirectorylist=[],this.CurrentTeamsID="ea457111-b3f1-4c73-a8ae-cb1cbaf6d244",this.CurrentPDFDownload=null,this.Outlookkontakteliste=[],this.FilebrowserModus=this.FilebrowserModusvarianten.Alle_Projekte,this.KalenderKW=(0,u.default)().locale("de").isoWeek(),this.Outlookpresetcolors=[{Name:"none",Value:"none",Fontcolor:"white"},{Name:"Preset0",Value:"#dc626d",Fontcolor:"black"},{Name:"Preset1",Value:"#e8825d",Fontcolor:"black"},{Name:"Preset2",Value:"#ffcd8f",Fontcolor:"black"},{Name:"Preset3",Value:"#5f5f58",Fontcolor:"white"},{Name:"Preset4",Value:"#52ce90",Fontcolor:"black"},{Name:"Preset5",Value:"#57d2da",Fontcolor:"white"},{Name:"Preset6",Value:"#5c5f53",Fontcolor:"white"},{Name:"Preset7",Value:"#5ca9e5",Fontcolor:"white"},{Name:"Preset8",Value:"#53525a",Fontcolor:"white"},{Name:"Preset9",Value:"#ee5fb7",Fontcolor:"black"},{Name:"Preset10",Value:"#c5ced1",Fontcolor:"white"},{Name:"Preset11",Value:"#5d6567",Fontcolor:"white"},{Name:"Preset12",Value:"#c3c5bb",Fontcolor:"white"},{Name:"Preset13",Value:"#9fadb1",Fontcolor:"white"},{Name:"Preset14",Value:"#8f8f8f",Fontcolor:"white"},{Name:"Preset15",Value:"#ac4e5e",Fontcolor:"black"},{Name:"Preset16",Value:"#df8e64",Fontcolor:"white"},{Name:"Preset17",Value:"#bc8f6f",Fontcolor:"white"},{Name:"Preset18",Value:"#dac257",Fontcolor:"black"},{Name:"Preset19",Value:"#4ca64c",Fontcolor:"white"},{Name:"Preset20",Value:"#4bb4b7",Fontcolor:"white"},{Name:"Preset21",Value:"#85b44c",Fontcolor:"white"},{Name:"Preset22",Value:"#4179a3",Fontcolor:"white"},{Name:"Preset23",Value:"#8f6fbc",Fontcolor:"white"},{Name:"Preset24",Value:"#c34e98",Fontcolor:"black"},{Name:"PresetFeiertag",Value:"#b0d6f2",Fontcolor:"black"}],this.BAESiteID="baeeu.sharepoint.com,1b93d6ea-3f8b-4416-9ff1-a50aaba6f8ca,134790cc-e062-4882-ae5e-18813809cc87"}catch(K){this.Debug.ShowErrorMessage(K.message,"Graph","constructor",this.Debug.Typen.Service)}}GetOwnOutlookcontacts(F){var j=this;return n(function*(){try{let P,x,O,T=[],N=0,H=yield j.AuthService.RequestToken("Contacts.ReadWrite");if(null!==H){const G=l.Client.init({authProvider:te=>{te(null,H)}});if(P=yield G.api("/me/contacts").count().get(),e.isUndefined(P["@odata.count"])||(N=P["@odata.count"]),!e.isUndefined(P.value)&&(T.push(P.value),!e.isUndefined(P["@odata.nextLink"]))){do{x=P["@odata.nextLink"],P=yield G.api(x).get(),e.isUndefined(P.value)||T.push(P.value)}while(!e.isUndefined(P["@odata.nextLink"]));e.isUndefined(P.value)||T.push(P.value)}j.Outlookkontakteliste=[];for(let te of T)for(O of te)null!==O.givenName&&"lars"===O.givenName.toLowerCase()||null!==O.surname&&O.surname.toLowerCase(),null!==O.title&&""!==O.title&&null!==O.displayName&&(O.displayName=O.displayName.replace(O.title+" ","")),e.isUndefined(O.businessAddress)&&(O.businessAddress={street:"",city:"",state:"",postalCode:"",countryOrRegion:""}),(e.isUndefined(O.businessAddress.street)||null===O.businessAddress.street)&&(O.businessAddress.street=""),(e.isUndefined(O.businessAddress.city)||null===O.businessAddress.city)&&(O.businessAddress.city=""),(e.isUndefined(O.businessAddress.postalCode)||null===O.businessAddress.postalCode)&&(O.businessAddress.postalCode=""),(e.isUndefined(O.businessAddress.state)||null===O.businessAddress.state)&&(O.businessAddress.state=""),(e.isUndefined(O.businessAddress.countryOrRegion)||null===O.businessAddress.countryOrRegion)&&(O.businessAddress.countryOrRegion=""),(e.isUndefined(O.title)||null===O.title)&&(O.title=""),(e.isUndefined(O.displayName)||null===O.displayName)&&(O.displayName=""),(e.isUndefined(O.surname)||null===O.surname)&&(O.surname=""),(e.isUndefined(O.givenName)||null===O.givenName)&&(O.givenName=""),(e.isUndefined(O.companyName)||null===O.companyName)&&(O.companyName=""),""===O.surname&&""!==O.givenName&&(O.surname=O.givenName,O.givenName=""),""===O.surname&&""===O.givenName&&""===O.displayName?(O.IsCompany=!0,O.surname=O.companyName,O.companyName=""):O.IsCompany=!1,F?O.emailAddresses.length>0&&j.Outlookkontakteliste.push(O):j.Outlookkontakteliste.push(O);return Promise.resolve(!0)}return Promise.reject(!1)}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnOutlookcontacts",j.Debug.Typen.Service)}})()}OutlookcontactToBeteiligte(F){try{let j,T;return T=F.IsCompany?this.Const.Beteiligteneintragtypen.Firma:this.Const.Beteiligteneintragtypen.Person,j={Anrede:F.title,BeteiligtenID:F.id,FirmaID:null,Email:F.emailAddresses.length>0?F.emailAddresses[0].address:"",Possition:F.profession,Mobil:F.mobilePhone,Name:F.surname,Vorname:F.givenName,Ort:F.businessAddress.city,PLZ:F.businessAddress.postalCode,Strasse:"",Telefon:F.businessPhones.length>0?F.businessPhones[0]:"",Verfasser:{Vorname:this.Pool.Mitarbeiterdaten.Vorname,Name:this.Pool.Mitarbeiterdaten.Name,Email:this.Pool.Mitarbeiterdaten.Email}},j}catch(j){this.Debug.ShowErrorMessage(j,"Graph","OutlookcontactToBeteiligte",this.Debug.Typen.Service)}}GetOwnCalendar(){var F=this;return n(function*(){try{let T,x,N,O,ue,se,K,Z,J,Y,j=yield F.AuthService.RequestToken("user.read"),P=[],H=(0,u.default)().isoWeek(F.KalenderKW).locale("de"),G=H.clone().startOf("week"),te=H.clone().endOf("week");console.log(G.format("DD.MM.YYYY")),console.log(te.format("DD.MM.YYYY"));const $=l.Client.init({authProvider:le=>{le(null,j)}});try{T=yield $.api("/me/calendarview").header("Prefer","UTC").query({startDateTime:G.format("YYYY-MM-DD"),endDateTime:te.format("YYYY-MM-DD")}).count().get()}catch{}if(e.isUndefined(T["@odata.count"])||(N=T["@odata.count"]),!e.isUndefined(T.value)&&(P.push(T.value),!e.isUndefined(T["@odata.nextLink"]))){do{x=T["@odata.nextLink"],T=yield $.api(x).get(),e.isUndefined(T.value)||P.push(T.value)}while(!e.isUndefined(T["@odata.nextLink"]));e.isUndefined(T.value)||P.push(T.value)}O=[];for(let le of P)for(Z of le)se=Z.start.dateTime.split("T"),ue=se[0].split("-"),K=se[1].split("."),K=K[0].split(":"),J=u.default.utc({year:parseInt(ue[0]),month:parseInt(ue[1])-1,day:parseInt(ue[2]),hour:parseInt(K[0]),minute:parseInt(K[1]),second:parseInt(K[2])}),Z.start.Zeitstempel=J.locale("de").valueOf(),se=Z.end.dateTime.split("T"),ue=se[0].split("-"),K=se[1].split("."),K=K[0].split(":"),Y=u.default.utc({year:parseInt(ue[0]),month:parseInt(ue[1])-1,day:parseInt(ue[2]),hour:parseInt(K[0]),minute:parseInt(K[1]),second:parseInt(K[2])}),Z.end.Zeitstempel=Y.locale("de").valueOf(),O.push(Z);return O}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnCalendar",F.Debug.Typen.Service)}})()}GetOwnUserinfo(){var F=this;return n(function*(){try{let j=yield F.AuthService.RequestToken("user.read");const T=l.Client.init({authProvider:P=>{P(null,j)}});return new Promise((P,x)=>{null!==j?T.api("/me").select("*").get().then(N=>{F.Graphuser=N,P(!0)}).catch(N=>{"InvalidAuthenticationToken"===N.code&&(F.AuthService.UnsetActiveUser(),F.Tools.SetRootPage(F.Const.Pages.HomePage)),x(N)}):x(!1)})}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnUserinfo",F.Debug.Typen.Service)}})()}GetOwnEmail(F){var j=this;return n(function*(){try{let P,x,N,T=yield j.AuthService.RequestToken("user.read");const O=l.Client.init({authProvider:H=>{H(null,T)}});return new Promise((H,G)=>{null!==T?O.api("/me/messages/"+F+"?$expand=attachments").get().then(te=>{P=te,P.subject=P.subject.replace("\u{1f3e2}",""),x=P.receivedDateTime.replace("T"," "),x=x.replace("Z",""),N=(0,u.default)(x),P.Zeitstempel=N.valueOf(),P.Zeitstring=N.format("DD.MM.YYYY HH:mm"),H(P)}).catch(te=>{"InvalidAuthenticationToken"===te.code&&(j.AuthService.UnsetActiveUser(),j.Tools.SetRootPage(j.Const.Pages.HomePage)),G(null)}):G(null)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnEmail",j.Debug.Typen.Service)}})()}GetOwnEmailAttachemntlist(F){var j=this;return n(function*(){try{let T=yield j.AuthService.RequestToken("user.read");const P=l.Client.init({authProvider:x=>{x(null,T)}});return new Promise((x,N)=>{null!==T?P.api("/me/messages/"+F+"/attachments").get().then(O=>{x(e.isUndefined(O.value)?[]:O.value)}).catch(O=>{"InvalidAuthenticationToken"===O.code&&(j.AuthService.UnsetActiveUser(),j.Tools.SetRootPage(j.Const.Pages.HomePage)),N(O)}):N(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnEmailAttachemntlist",j.Debug.Typen.Service)}})()}GetOwnEmailfolders(){var F=this;return n(function*(){try{let T,j=yield F.AuthService.RequestToken("user.read"),P=[];const x=l.Client.init({authProvider:N=>{N(null,j)}});try{if(T=yield x.api("/me/mailFolders").get(),!e.isUndefined(T.value))for(let N of T.value)P.push(N),console.log(N.id);return P}catch(N){return N}}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnEmailfolders",F.Debug.Typen.Service)}})()}GetOwnOutlookCategories(){var F=this;return n(function*(){try{let T,j=yield F.AuthService.RequestToken("MailboxSettings.Read"),P=[];const x=l.Client.init({authProvider:N=>{N(null,j)}});try{if(T=yield x.api("/me/outlook/masterCategories").get(),!e.isUndefined(T.value))for(let N of T.value)P.push(N),console.log(N.id);return P.push({displayName:"Feiertag",id:"feiertrag",color:"PresetFeiertag"}),P.sort((N,O)=>N.displayNameO.displayName?1:0),P}catch(N){return N}}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnOutlookCategories",F.Debug.Typen.Service)}})()}GetOwnEmailliste(F){var j=this;return n(function*(){try{let T,x,N,G,te,P=[],O=[],H=yield j.AuthService.RequestToken("user.read");const ue=l.Client.init({authProvider:se=>{se(null,H)}});try{te=j.DBEmail.Emaildatum.format("YYYY-MM-DD"),T=yield ue.api("/me/mailFolders/"+F+"/messages?$filter=receivedDateTime ge "+te+"T01:00:00Z").select("id, subject, isRead, sentDateTime, receivedDateTime, from, sender, toRecipients, ccRecipients, hasAttachments").count().get()}catch(se){return se}if(e.isUndefined(T["@odata.count"])||(N=T["@odata.count"]),!e.isUndefined(T.value)&&(P.push(T.value),!e.isUndefined(T["@odata.nextLink"]))){do{x=T["@odata.nextLink"],T=yield ue.api(x).get(),e.isUndefined(T.value)||P.push(T.value)}while(!e.isUndefined(T["@odata.nextLink"]));e.isUndefined(T.value)||P.push(T.value)}for(let se of P)for(let K of se)te=K.receivedDateTime.replace("T"," "),te=te.replace("Z",""),G=(0,u.default)(te),e.isUndefined(K.from)||e.isUndefined(e.find(O,{id:K.id}))&&(K.Zeitstempel=G.valueOf(),K.Zeitstring=G.format("DD.MM.YYYY HH:mm"),K.subject=K.subject.replace("\u{1f3e2}",""),K.subject.indexOf("anythingbutnothing"),O.push(K));return O=e.filter(O,se=>e.isUndefined(se["@odata.type"])),O}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnEmailliste",j.Debug.Typen.Service)}})()}GetOtherUserinfo(F){var j=this;return n(function*(){try{let T,P=yield j.AuthService.RequestToken("user.read.all");const x=l.Client.init({authProvider:N=>{N(null,P)}});return new Promise((N,O)=>{null!==P?x.api("/users/"+F).select("*").get().then(H=>{T=H,N(T)}).catch(H=>{O(H)}):O(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnUserinfo",j.Debug.Typen.Service)}})()}GetOtherTeamsinfo(F){var j=this;return n(function*(){try{let T,P=yield j.AuthService.RequestToken("team.readbasic.all");const x=l.Client.init({authProvider:N=>{N(null,P)}});return new Promise((N,O)=>{null!==P?x.api("/teams/"+F).get().then(H=>{T=H,N(T)}).catch(H=>{O(H)}):O(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnUserinfo",j.Debug.Typen.Service)}})()}ReadDrives(){var F=this;return n(function*(){try{let j,P="b!XZkHnfB1aUS9CAl7ACx42jN1tORayIZBnpNxgMZWN2yIJmx4iz54T59g6GswaFyl",x=yield F.AuthService.RequestToken("Files.ReadWrite.All");const N=l.Client.init({authProvider:O=>{O(null,x)}});if(null===x)return Promise.reject(!1);j=yield N.api("/drives/"+P+"/items/root/children").get(),j.value.forEach(O=>{console.log(O.name)})}catch(j){F.Debug.ShowErrorMessage(j,"Graph","ReadDrives",F.Debug.Typen.Service)}})()}GetSiteRootfilelist(F){var j=this;return n(function*(){try{let P,T=yield j.AuthService.RequestToken("user.read"),x=[],N=[];j.TeamsRootfilelist=[],j.TeamsCurrentfilelist=[],j.TeamsSubdirectorylist=[];const O=l.Client.init({authProvider:H=>{H(null,T)}});return new Promise((H,G)=>{null!==T?O.api("/sites/"+j.BAESiteID+"/drive/items/root/children").get().then(te=>{for(P of(j.TeamsRootfilelist=[],j.TeamsCurrentfilelist=[],j.TeamsSubdirectorylist=[],te.value))e.isUndefined(P.file)?(P.isfolder=!0,N.push(P)):(P.isfolder=!1,x.push(P));N.sort((ue,se)=>ue.namese.name?1:0),x.sort((ue,se)=>ue.namese.name?1:0),!1===F?j.TeamsRootfilelist=N:(j.TeamsRootfilelist=N,j.TeamsRootfilelist=j.TeamsRootfilelist.concat(x)),j.TeamsCurrentfilelist=j.TeamsRootfilelist,H(!0)}).catch(te=>{G(te)}):G(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetSiteRootfilelist",j.Debug.Typen.Service)}})()}GetSiteThumbnailContent(F,j){var T=this;return n(function*(){try{let P=yield T.AuthService.RequestToken("user.read");const x=l.Client.init({authProvider:se=>{se(null,P)}});let N="/sites/"+T.BAESiteID+"/drive/items/"+F.id+"/thumbnails/0/"+j+"/content",H=yield(yield x.api(N).get()).arrayBuffer(),G="",te=new Uint8Array(H),ue=te.byteLength;for(let se=0;se{N(null,T)}});return new Promise((N,O)=>{null!==T?x.api("/sites/"+j.BAESiteID+"/drive/items/"+F.id+"/thumbnails").get().then(H=>{e.isUndefined(H.value)||e.isUndefined(H.value[0])?N(null):(P={id:F.id,weburl:F.webUrl,filename:F.name,size:F.size,mediumurl:H.value[0].medium.url,largeurl:H.value[0].large.url,smallurl:H.value[0].small.url,content:"",height:{small:H.value[0].small.height,medium:H.value[0].medium.height,large:H.value[0].medium.large},width:{small:H.value[0].small.width,medium:H.value[0].medium.width,large:H.value[0].large.width}},N(P))}).catch(H=>{N(null)}):O(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetSiteThumbnail",j.Debug.Typen.Service)}})()}RemoveTeamsSubdirectory(F){try{let j=e.cloneDeep(this.TeamsSubdirectorylist);this.TeamsSubdirectorylist=[];for(let T of j){if(T.id===F.id)break;this.TeamsSubdirectorylist.push(F)}}catch(j){this.Debug.ShowErrorMessage(j,"Graph","RemoveTeamsSubdirectory",this.Debug.Typen.Service)}}RemoveSiteSubdirectory(F){try{let T,j=e.cloneDeep(this.TeamsSubdirectorylist);this.TeamsSubdirectorylist=[];for(let P of j)if(T=e.find(this.TeamsSubdirectorylist,x=>x.id===P.id),e.isUndefined(T)&&this.TeamsSubdirectorylist.push(P),P.id===F.id)break}catch(j){this.Debug.ShowErrorMessage(j,"Graph","RemoveSiteSubdirectory",this.Debug.Typen.Service)}}GetEmptyTeamsfile(){try{return{cTag:"",createdBy:{user:{displayName:"",email:"",id:""}},createdDateTime:"",eTag:"",fileSystemInfo:{createdDateTime:"",lastModifiedDateTime:""},id:"",lastModifiedBy:{},lastModifiedDateTime:"",name:"",parentReference:{driveId:"",driveType:"",id:"",path:""},shared:{scope:""},size:0,webUrl:""}}catch(F){this.Debug.ShowErrorMessage(F,"Graph","GetEmptyTeamsfile",this.Debug.Typen.Service)}}GetSiteSubdirictoryfilelist(F,j){var T=this;return n(function*(){try{let x,P=yield T.AuthService.RequestToken("user.read"),N=[],O=[];T.TeamsRootfilelist=[],T.TeamsCurrentfilelist=[];const H=l.Client.init({authProvider:G=>{G(null,P)}});return new Promise((G,te)=>{null!==P?H.api("/sites/"+T.BAESiteID+"/drive/items/"+F.id+"/children").get().then(ue=>{for(x of ue.value)e.isUndefined(x.file)?(x.isfolder=!0,O.push(x)):(x.isfolder=!1,N.push(x));O.sort((se,K)=>se.nameK.name?1:0),N.sort((se,K)=>se.nameK.name?1:0),!1===j?T.TeamsRootfilelist=O:(T.TeamsRootfilelist=O,T.TeamsRootfilelist=T.TeamsRootfilelist.concat(N)),T.TeamsCurrentfilelist=T.TeamsRootfilelist,e.isUndefined(e.find(T.TeamsSubdirectorylist,se=>se.id===F.id))&&T.TeamsSubdirectorylist.push(F),G(!0)}).catch(ue=>{te(ue)}):te(!1)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetSiteSubdirictoryfilelist",T.Debug.Typen.Service)}})()}DownloadPDFTeamsFile(F,j){var T=this;return n(function*(){try{let P=yield T.AuthService.RequestToken("user.read"),x={name:j.name,id:"",context:"",url:""};const N=l.Client.init({authProvider:O=>{O(null,P)}});return new Promise((O,H)=>{null!==P?N.api("/groups/"+F+"/drive/items/"+j.id+"?select=id,@microsoft.graph.downloadUrl").get().then(G=>{x.id=G.id,x.url=G["@microsoft.graph.downloadUrl"],x.context=G["@odata.context"],T.CurrentPDFDownload=x,O(x)}).catch(G=>{H(G)}):H(null)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","DownloadPDFTeamsFile",T.Debug.Typen.Service)}})()}DownloadPDFSiteFile(F){var j=this;return n(function*(){try{let T=yield j.AuthService.RequestToken("user.read"),P={name:F.name,id:"",context:"",url:""};const x=l.Client.init({authProvider:N=>{N(null,T)}});return new Promise((N,O)=>{null!==T?x.api("/sites/"+j.BAESiteID+"/drive/items/"+F.id+"?select=id,@microsoft.graph.downloadUrl").get().then(H=>{P.id=H.id,P.url=H["@microsoft.graph.downloadUrl"],P.context=H["@odata.context"],j.CurrentPDFDownload=P,N(P)}).catch(H=>{O(H)}):O(null)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","DownloadPDFSiteFile",j.Debug.Typen.Service)}})()}DownloadPDFSiteFileViaLink(F){var j=this;return n(function*(){try{let T=yield j.AuthService.RequestToken("user.read"),P=document.createElement("a"),x={name:"",id:"",context:"",url:""};const N=l.Client.init({authProvider:O=>{O(null,T)}});return new Promise((O,H)=>{null!==T?N.api("/sites/"+j.BAESiteID+"/drive/items/"+F+"?select=id,@microsoft.graph.downloadUrl").get().then(G=>{x.id=G.id,x.url=G["@microsoft.graph.downloadUrl"],x.context=G["@odata.context"],j.CurrentPDFDownload=x,document.body.appendChild(P),P.href=x.url,P.click(),P.remove(),O(x)}).catch(G=>{H(G)}):H(null)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","DownloadPDFSiteFileViaLink",j.Debug.Typen.Service)}})()}TestGraph(){var F=this;return n(function*(){try{let j=yield F.AuthService.RequestToken("user.read"),T="632cc6c8-51d5-4219-8092-ed10a792e715";const P=l.Client.init({authProvider:x=>{x(null,j)}});return new Promise((x,N)=>{null!==j?P.api("/groups/"+T+"/drive/root:/General/11 Jour Fixe").version("beta").get().then(O=>{x(!0)}).catch(O=>{N(O)}):N(!1)})}catch(j){F.Debug.ShowErrorMessage(j,"Graph","TestGraph",F.Debug.Typen.Service)}})()}TeamsCheckFileExists(F,j,T){var P=this;return n(function*(){try{let O,x=yield P.AuthService.RequestToken("user.read"),N=!1;const H=l.Client.init({authProvider:G=>{G(null,x)}});return j=j.replace("ROOT:",""),new Promise((G,te)=>{null!==x?H.api("/groups/"+F+"/drive/items/"+j+"/children").get().then(ue=>{for(O of ue.value)e.isUndefined(O.folder)&&O.name===T&&(N=!0);G(N)}).catch(ue=>{te(ue)}):te(!1)})}catch(x){P.Debug.ShowErrorMessage(x,"Graph","TeamsCheckFileExists",P.Debug.Typen.Service)}})()}SiteCheckFileExists(F,j){var T=this;return n(function*(){try{let N,P=yield T.AuthService.RequestToken("user.read"),x=!1;const O=l.Client.init({authProvider:H=>{H(null,P)}});return F=F.replace("ROOT:",""),new Promise((H,G)=>{null!==P?O.api("/sites/"+T.BAESiteID+"/drive/items/"+F+"/children").get().then(te=>{for(N of te.value)e.isUndefined(N.folder)&&N.name===j&&(x=!0);H(x)}).catch(te=>{H(null)}):G(!1)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","SiteCheckFileExists",T.Debug.Typen.Service)}})()}GetTeamsSubDirectory(F,j){var T=this;return n(function*(){try{let P=yield T.AuthService.RequestToken("user.read");const x=l.Client.init({authProvider:N=>{N(null,P)}});return new Promise((N,O)=>{null!==P?x.api("/groups/"+F+"/drive/items/"+j).get().then(H=>{N(H)}).catch(H=>{N(null)}):O(null)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetTeamsSubDirectory",T.Debug.Typen.Service)}})()}GetSiteSubDirectory(F){var j=this;return n(function*(){try{let T=yield j.AuthService.RequestToken("user.read");const P=l.Client.init({authProvider:x=>{x(null,T)}});return new Promise((x,N)=>{null!==T?P.api("/sites/"+j.BAESiteID+"/drive/items/"+F).get().then(O=>{x(O)}).catch(O=>{x(null)}):N(null)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetSiteSubDirectory",j.Debug.Typen.Service)}})()}GetAllUsers(){var F=this;return n(function*(){try{let P,x,j=[],T=[],N=0,O=yield F.AuthService.RequestToken("User.ReadBasic.All");const H=l.Client.init({authProvider:G=>{G(null,O)}});if(P=yield H.api("/users").count().get(),e.isUndefined(P["@odata.count"])||(N=P["@odata.count"]),!e.isUndefined(P.value)&&(T.push(P.value),!e.isUndefined(P["@odata.nextLink"]))){do{x=P["@odata.nextLink"],P=yield H.api(x).get(),e.isUndefined(P.value)||T.push(P.value)}while(!e.isUndefined(P["@odata.nextLink"]));e.isUndefined(P.value)||T.push(P.value)}for(let G of T)for(let te of G)j.push(te);return j=e.filter(j,G=>null!==G.mail&&null!==G.givenName&&null!==G.surname),Promise.resolve(j)}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetAllUsers",F.Debug.Typen.Service)}})()}GetTeamsMitglieder(F){var j=this;return n(function*(){try{let T=[],P=yield j.AuthService.RequestToken("user.read");const N=l.Client.init({authProvider:O=>{O(null,P)}});return new Promise((O,H)=>{null!==P?N.api("/teams/"+F+"/members").get().then(G=>{if(!e.isUndefined(G.value)){T=G.value;for(let te of T)te.UserImageSRC=null}T=e.filter(T,te=>"microsoft@burnicklgroup.onmicrosoft.com"!==te.email),O(T)}).catch(G=>{H(G)}):H(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetTeamsMitglieder",j.Debug.Typen.Service)}})()}SendMail(F,j,T){var P=this;return n(function*(){try{let x,N=yield P.AuthService.RequestToken("Mail.Send");const O=l.Client.init({authProvider:H=>{H(null,N)}});if(!0===P.Basics.DebugNoExternalEmail)for(let H of F)H.emailAddress.address="p.hornburger@gmail.com";if(null!==N){const H={message:{subject:j,body:{contentType:"html",content:T},toRecipients:F},saveToSentItems:"true"};return x=yield O.api("/me/sendMail").post(H),Promise.resolve(x)}return Promise.reject(!1)}catch(x){P.Debug.ShowErrorMessage(x,"Graph","SendMail",P.Debug.Typen.Service)}})()}GetOwnUserimage(){var F=this;return n(function*(){try{let j=yield F.AuthService.RequestToken("user.read");const T=l.Client.init({authProvider:x=>{x(null,j)}}),P={"Content-Type":"image/jpeg"};return new Promise((x,N)=>{null!==j?T.api("/me/photo/$value").headers(P).responseType(l.ResponseType.BLOB).get().then(O=>{F.UserimageSRC=F.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(O)),x(!0)}).catch(O=>{404===O.statusCode&&(F.UserimageSRC=null,x(!0)),N(O)}):N(!1)})}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnUserinfo",F.Debug.Typen.Service)}})()}GetOtherUserimage(F){var j=this;return n(function*(){try{let P,T=yield j.AuthService.RequestToken("user.read");const x=l.Client.init({authProvider:O=>{O(null,T)}}),N={"Content-Type":"image/jpeg"};return new Promise((O,H)=>{null!==T?x.api("/users/"+F+"/photo/$value").headers(N).responseType(l.ResponseType.BLOB).get().then(G=>{P=j.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(G)),O(P)}).catch(G=>{404===G.statusCode&&(P=null,O(P)),H(G)}):H(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnUserinfo",j.Debug.Typen.Service)}})()}static \u0275fac=function(j){return new(j||A)(c.\u0275\u0275inject(a.MSAL_GUARD_CONFIG),c.\u0275\u0275inject(g.DebugProvider),c.\u0275\u0275inject(v.MsalService),c.\u0275\u0275inject(p.ConstProvider),c.\u0275\u0275inject(S.HttpClient),c.\u0275\u0275inject(C.DatabaseAuthenticationService),c.\u0275\u0275inject(_.ToolsProvider),c.\u0275\u0275inject(f.DatabaseOutlookemailService),c.\u0275\u0275inject(S.HttpClient),c.\u0275\u0275inject(y.DatabasePoolService),c.\u0275\u0275inject(b.BasicsProvider),c.\u0275\u0275inject(E.DomSanitizer))};static \u0275prov=c.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},33940:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.LoadingAnimationService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388)),a=n.__importStar(o(10716)),l=n.__importStar(o(14652));h.LoadingAnimationService=(()=>{class u{Debug;Loader;Basics;AjaxTime;constructor(g,v,p){this.Debug=g,this.Loader=v,this.Basics=p;try{this.AjaxTime=null}catch(S){this.Debug.ShowErrorMessage(S.message,"file","constructor",this.Debug.Typen.Service)}}ShowLoadingAnimation(g,v){try{let S={spinner:"lines",message:'\n \n \n \n \n \n \n \n
'+g+'

'+v+"
",cssClass:"loadingclass",showBackdrop:!0,enableBackdropDismiss:!1,translucent:!1,dismissOnPageChange:!1};return new Promise((C,_)=>{this.AjaxTime=(new Date).getTime(),this.Loader.create(S).then(f=>{f.present(),C(!0)}).catch(f=>{_(f)})})}catch(p){this.Debug.ShowErrorMessage(p.message,"Loading Message Provider","ShowLoadingAnimation",this.Debug.Typen.Service)}}HideLoadingAnimation(g){try{let p,v=this.Basics.Waittime;return p=null!==this.AjaxTime?(new Date).getTime()-this.AjaxTime:v+1,new Promise(S=>{if(!g)return this.Loader.dismiss().then(()=>{S(!0)}).catch(C=>{S(!0)});v>p?v-=p:v=0,setTimeout(()=>{this.Loader.dismiss().then(()=>{S(!0)}).catch(C=>{S(!0)})},v)})}catch(v){this.Debug.ShowErrorMessage(v.message,"Loading Message Provider","HideLoadingAnimation",this.Debug.Typen.Service)}}static \u0275fac=function(v){return new(v||u)(i.\u0275\u0275inject(d.DebugProvider),i.\u0275\u0275inject(a.LoadingController),i.\u0275\u0275inject(l.BasicsProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac})}return u})()},59460:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.MenueService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388)),a=n.__importStar(o(19668)),l=n.__importStar(o(29743));h.MenueService=(()=>{class u{Debug;Tools;Const;MainMenuebereich;MainMenuebereiche={Home:"Home",Email:"Email",Debug:"Debug",Logout:"Logout",Einstellungen:"Einstellungen",Projekte:"Projekte",Urlaubsplanung:"Urlaubsplanung"};UrlaubMenuebereich;UrlaubMenuebereiche={Planung:"Planung",Uebersicht:"Uebersicht",Einstellungen:"Einstellungen",Freigaben:"Freigaben"};ProjekteMenuebereich;ProjekteMenuebereiche={Aufgabenliste:"Aufgabenliste",Protokolle:"Protokolle",LOPListe:"LOP Liste",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",Planungsmatrix:"Planungsmatrix",Simontabelle:"Simontabelle",Fileliste:"Fileliste",Notizen:"Notizen"};Aufgabenlisteansicht;Aufgabenlisteansichten={Mein_Tag:"Mein Tag",Meine_Woche:"Meine Woche",Meilensteine:"Meilensteine",Projekt:"Projekt",Alle:"Alle"};FirmaMenuebereich;FirmaMenuebereiche={Standorte:"Standorte",Mitarbeiter:"Mitarbeiter",Projekte:"Projekte",Favoriten:"Favoriten",Play:"Play"};FilelisteAufrufer;FilelisteAufrufervarianten={Aufgabenliste:"Aufgabenliste",Protokollliste:"Protokollliste",LOPListe:"LOP Liste",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",Simontabelle:"Simontabelle",ImageZoom:"ImageZoom"};constructor(g,v,p){this.Debug=g,this.Tools=v,this.Const=p;try{this.MainMenuebereich=this.MainMenuebereiche.Projekte,this.FirmaMenuebereich=this.FirmaMenuebereiche.Projekte,this.ProjekteMenuebereich=this.ProjekteMenuebereiche.Aufgabenliste,this.UrlaubMenuebereich=this.UrlaubMenuebereiche.Planung,this.Aufgabenlisteansicht=this.Aufgabenlisteansichten.Projekt,this.FilelisteAufrufer=this.FilelisteAufrufervarianten.Aufgabenliste}catch(S){this.Debug.ShowErrorMessage(S.message,"Menue","constructor",this.Debug.Typen.Service)}}SetCurrentPage(){try{switch(this.MainMenuebereich){case this.MainMenuebereiche.Home:this.Tools.SetRootPage(this.Const.Pages.HomePage);break;case this.MainMenuebereiche.Email:this.Tools.SetRootPage(this.Const.Pages.EmaillistePage);break;case this.MainMenuebereiche.Urlaubsplanung:switch(this.UrlaubMenuebereich){case this.UrlaubMenuebereiche.Planung:this.Tools.SetRootPage(this.Const.Pages.UrlaubPlanungPage);break;case this.UrlaubMenuebereiche.Uebersicht:this.Tools.SetRootPage(this.Const.Pages.UrlaubUebersichtPage);break;case this.UrlaubMenuebereiche.Freigaben:this.Tools.SetRootPage(this.Const.Pages.UrlaubFreigabenPage);break;case this.UrlaubMenuebereiche.Einstellungen:this.Tools.SetRootPage(this.Const.Pages.UrlaubEinstellungenPage)}break;case this.MainMenuebereiche.Projekte:switch(this.ProjekteMenuebereich){case this.ProjekteMenuebereiche.Notizen:this.Tools.SetRootPage(this.Const.Pages.PjNotizenListePage);break;case this.ProjekteMenuebereiche.Aufgabenliste:switch(this.Aufgabenlisteansicht){case this.Aufgabenlisteansichten.Alle:case this.Aufgabenlisteansichten.Mein_Tag:case this.Aufgabenlisteansichten.Meine_Woche:case this.Aufgabenlisteansichten.Meilensteine:case this.Aufgabenlisteansichten.Projekt:this.Tools.SetRootPage(this.Const.Pages.PjAufgabenlistePage)}break;case this.ProjekteMenuebereiche.Fileliste:this.Tools.PushPage(this.Const.Pages.PjFilebrowserPage);break;case this.ProjekteMenuebereiche.Protokolle:this.Tools.SetRootPage(this.Const.Pages.PjProtokolleListePage);break;case this.ProjekteMenuebereiche.LOPListe:this.Tools.SetRootPage(this.Const.Pages.PjBaustelleLoplistePage);break;case this.ProjekteMenuebereiche.Bautagebuch:this.Tools.SetRootPage(this.Const.Pages.PjBaustelleTagebuchlistePage);break;case this.ProjekteMenuebereiche.Festlegungen:this.Tools.SetRootPage(this.Const.Pages.PjFestlegungslistePage);break;case this.ProjekteMenuebereiche.Planungsmatrix:this.Tools.SetRootPage(this.Const.Pages.PjPlanungsmatrixPage);break;case this.ProjekteMenuebereiche.Simontabelle:this.Tools.SetRootPage(this.Const.Pages.PjSimontabellelistePage)}}}catch(g){this.Debug.ShowErrorMessage(g.message,"Menue","SetCurrentPage",this.Debug.Typen.Service)}}static \u0275fac=function(v){return new(v||u)(i.\u0275\u0275inject(d.DebugProvider),i.\u0275\u0275inject(a.ToolsProvider),i.\u0275\u0275inject(l.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},77200:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Navparameter=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(29743));h.Navparameter=(()=>{class l{Const;NavListe;CanGoBack;Debugstatus;constructor(u){this.Const=u;try{this.NavListe=[],this.CanGoBack=!1,this.Debugstatus=!0}catch(c){console.log(c,"Nav Parameter -> constructor:"+c)}}RemovePage(){try{let u=null;return this.NavListe.length>1?(this.NavListe.splice(this.NavListe.length-1,1),u=this.NavListe[this.NavListe.length-1],this.CanGoBack=this.NavListe.length>1):this.CanGoBack=!1,this.Debugstatus&&(console.log("Navparamter -> Removed Page"),this.PrintNavliste()),u}catch(u){console.log(u,"Nav Parameter -> RemovePage:"+u)}}AddPage(u){try{this.CanGoBack=!0,this.NavListe[this.NavListe.length-1]!==u?(this.NavListe.push(u),this.Debugstatus&&(console.log("Navparamter -> AddPage: "+u),this.PrintNavliste())):console.log("Add Page Failed: "+u)}catch(c){console.log(c,"Nav Parameter -> AddPage: "+c)}}PrintNavliste(){try{let u;console.log("**************************"),console.log("Navliste: ");for(let c=0;c "+u):console.log(u);console.log("**************************")}catch(u){console.log(u,"Nav Parameter -> PrintNavliste: "+u)}}SetRootpage(u){try{this.CanGoBack=!1,this.NavListe=[],this.NavListe.push(u),this.Debugstatus&&(console.log("Navparamter -> SetRootpage: "+u),this.PrintNavliste())}catch(c){console.log(c,"Nav Parameter -> SetRootpage: "+c)}}static \u0275fac=function(c){return new(c||l)(i.\u0275\u0275inject(d.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},19668:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ToolsProvider=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=n.__importDefault(o(35908)),a=n.__importDefault(o(35908)),l=n.__importStar(o(54496)),e=n.__importStar(o(14652)),u=n.__importStar(o(34388)),c=n.__importStar(o(29743)),g=n.__importStar(o(77200)),v=n.__importStar(o(10716));h.ToolsProvider=(()=>{class S{Basics;Debug;Const;NavParameter;nav;platform;alertCtrl;UID_Counter;IsRunningOnDeviceFirstTime;ShowMessage;DialogMessage;IsRunningOnDeviceValue;constructor(_,f,y,b,E,M,A){this.Basics=_,this.Debug=f,this.Const=y,this.NavParameter=b,this.nav=E,this.platform=M,this.alertCtrl=A;try{this.UID_Counter=0,this.IsRunningOnDeviceFirstTime=!0,this.ShowMessage=!1,this.DialogMessage="",this.IsRunningOnDeviceValue=!1}catch(I){this.Debug.ShowErrorMessage(I.message,"Tools","Constructor",this.Debug.Typen.Service)}}IsNumeric(_){try{return!isNaN(parseFloat(_))&&isFinite(_)}catch(f){this.Debug.ShowErrorMessage(f,"Tools","IsNumeric",this.Debug.Typen.Service)}}GetButtonvalueSize(){try{return this.platform.width()<=600?12:6}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GetButtonvalueSize",this.Debug.Typen.Service)}}GetDatumFromZeitstempel(_){try{return(0,a.default)(_).format("DD.MM.YY")}catch(f){this.Debug.ShowErrorMessage(f,"Tools","GetDatumFromZeitstempel",this.Debug.Typen.Service)}}GetZeitFromZeitstempel(_){try{return(0,a.default)(_).format("HH:mm")}catch(f){this.Debug.ShowErrorMessage(f,"Tools","GetZeitFromZeitstempel",this.Debug.Typen.Service)}}GenerateFilename(_,f,y){try{let b=_,E=""!==y?"_"+y:"";return b=b.replace(/ /g,"_"),b=b.replace(/\xe4/g,"ae"),b=b.replace(/\xc4/g,"AE"),b=b.replace(/\xf6/g,"oe"),b=b.replace(/\xd6/g,"OE"),b=b.replace(/\xfc/g,"ue"),b=b.replace(/\xdc/g,"UE"),b=b.replace(/\xdf/g,"ss"),b=b.replace(/[^a-zA-Z0-9 ]/g,"_"),b+E+"."+f}catch(b){this.Debug.ShowErrorMessage(b.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}GenerateProjektkey(_,f){try{let y=_;return y=y.replace(/ /g,"_"),y=y.replace(/\xe4/g,"ae"),y=y.replace(/\xc4/g,"AE"),y=y.replace(/\xf6/g,"oe"),y=y.replace(/\xd6/g,"OE"),y=y.replace(/\xfc/g,"ue"),y=y.replace(/\xdc/g,"UE"),y=y.replace(/\xdf/g,"ss"),y=y.replace(/[^a-zA-Z0-9 ]/g,"_"),y}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}DeepCompareObjectarrays(_,f){try{let b,E,M,A,I,y=!1;if(_.length>=f.length)for(A of _){if(b=f.findIndex(F=>A[E]===F[E]),-1===b){y=!0;break}M=Object.keys(_[b]),I=f[b];for(let F of M)if(A[F]!==I[F]){y=!0;break}if(!0===y)break}else for(I of f){if(b=_.findIndex(F=>I[E]===F[E]),-1===b){y=!0;break}M=Object.keys(_[b]),A=_[b];for(let F of M)if(I[F]!==A[F]){y=!0;break}if(!0===y)break}return y}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","DeepCompareObjectarrays",this.Debug.Typen.Service)}}JSONCompareObjectarrays(_,f){try{return JSON.stringify(_)!==JSON.stringify(f)}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","JSONCompareObjectarrays",this.Debug.Typen.Service)}}CompareObjectarrays(_,f,y){try{let E,b=!1;if(_.length>=f.length){for(let M of _)if(E=f.findIndex(A=>M[y]===A[y]),-1===E){b=!0;break}}else for(let M of f)if(E=_.findIndex(A=>M[y]===A[y]),-1===E){b=!0;break}return b}catch(b){this.Debug.ShowErrorMessage(b.message,"Tools","CompareObjectarrays",this.Debug.Typen.Service)}}ShowEntscheidungDialog(_,f){try{return new Promise(y=>{this.alertCtrl.create({header:_,message:f,cssClass:"alertdialogclass",buttons:[{text:"Nein",cssClass:"infonoclass",handler:()=>{y(this.Const.Dialogmessages.no)}},{text:"Ja",cssClass:"infookclass",handler:()=>{y(this.Const.Dialogmessages.ok)}}]}).then(b=>{b.present()}).catch(b=>{console.log(b)})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","ShowEntscheidungDialog",this.Debug.Typen.Service)}}ShowAuswahlDialog(_,f,y,b){try{return new Promise(E=>{this.alertCtrl.create({header:_,cssClass:"alertdialogclass",message:f,inputs:[{name:"wahla",type:"radio",label:y,value:this.Const.Dialogmessages.wahla,checked:!0},{name:"wahlb",type:"radio",label:b,value:this.Const.Dialogmessages.wahlb}],buttons:[{text:"Abbrechen",role:"cancel",cssClass:"infonotwoclass",handler:()=>{E(null)}},{text:"Fertig",cssClass:"infookclass",handler:M=>{i.isUndefined(M)?E(null):E(M)}}]}).then(M=>{M.present()}).catch(M=>{console.log(M)})})}catch(E){this.Debug.ShowErrorMessage(E.message,"Tools","ShowAuswahlDialog",this.Debug.Typen.Service)}}RemoveNullFromObject(_){try{let f;for(const y of Object.keys(_))f=_[y],null===f&&(f="",_[y]=f);return _}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","RemoveNullFromObject",this.Debug.Typen.Service)}}FormatCurrency(_,f=2,y=",",b="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const E=_<0?"-":"";let M=parseInt(_=Math.abs(Number(_)||0).toFixed(f)).toString(),A=M.length>3?M.length%3:0;return E+(A?M.substr(0,A)+b:"")+M.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+b)+(f?y+Math.abs(_-M).toFixed(f).slice(2):"")+" \u20ac"}catch(E){this.Debug.ShowErrorMessage(E,"Tools","FormatCurrency",this.Debug.Typen.Service)}}FormatNumber(_,f=2,y=",",b="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const E=_<0?"-":"";let M=parseInt(_=Math.abs(Number(_)||0).toFixed(f)).toString(),A=M.length>3?M.length%3:0;return E+(A?M.substr(0,A)+b:"")+M.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+b)+(f?y+Math.abs(_-M).toFixed(f).slice(2):"")}catch(E){this.Debug.ShowErrorMessage(E,"Tools","FormatNumber",this.Debug.Typen.Service)}}FormatMoney(_,f=2,y=",",b="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const E=_<0?"-":"";let M=parseInt(_=Math.abs(Number(_)||0).toFixed(f)).toString(),A=M.length>3?M.length%3:0;return E+(A?M.substr(0,A)+b:"")+M.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+b)+(f?y+Math.abs(_-M).toFixed(f).slice(2):"")}catch(E){this.Debug.ShowErrorMessage(E,"Tools","FormatMoney",this.Debug.Typen.Service)}}FormatValue(_,f,y){try{let b;return null!==_?(_>=1e6?(_/=1e6,b=0===y?(_=Math.round(_)).toString()+" M":_.toFixed(y)+" M"):_>=1e3?(_/=1e3,b=0===y?(_=Math.round(_)).toString()+" k":_.toFixed(y)+" k"):_>0&&_<1?_<1e-9?(_*=1e9,0===y?_=Math.round(_):b=_.toFixed(y),b=_.toString()+" p"):_<1e-6?(_*=1e6,b=0===y?Math.round(_).toString():_.toFixed(y),b+=" n"):_<.001?(_*=1e3,b=0===y?Math.round(_).toString():_.toFixed(y),b+=" µ"):_<1&&(_*=1e3,b=0===y?Math.round(_).toString():_.toFixed(y),b+=" m"):(b=0===y?Math.round(_).toString():_.toFixed(y),""!==f&&(b=b+" "+f)),b=b.replace(".",","),""!==f&&(b=b+" "+f),b):"0"}catch(b){this.Debug.ShowErrorMessage(b.message,"Tools","FormatValue",this.Debug.Typen.Service)}}GetUniqueID(_){try{return this.UID_Counter++,"uid_"+_.replace(/-/g,"_")+"_"+this.UID_Counter.toString()}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetUniqueID",this.Debug.Typen.Service)}}HexToRGB(_){try{let f,y=100,b=50,E=50;return typeof _<"u"&&(_=_.replace("#",""),f=parseInt(_,16),y=f>>16&255,b=f>>8&255,E=255&f),y+","+b+","+E}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","HexToRGB",this.Debug.Typen.Component)}}SetRootPage(_){try{return new Promise(f=>{this.nav.navigateRoot(_,{animated:!1}).then(()=>{this.NavParameter.SetRootpage(_),f(!0)}).catch(y=>{console.log(y)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PushPage(_){try{return new Promise(f=>{this.nav.navigateForward(_,{animated:!0}).then(()=>{this.NavParameter.AddPage(_),f(!0)}).catch(y=>{console.log(y)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PopPage(){try{let _;return new Promise(f=>{_=this.NavParameter.RemovePage(),null!==_?this.nav.navigateBack(_,{animated:!1}).then(()=>{f(!0)}).catch(y=>{console.log(y)}):f(!0)})}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}GetBogenmass(_){try{return _/180*Math.PI}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetBogenmass",this.Debug.Typen.Service)}}GetGradmass(_){try{return 180*_/Math.PI}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetGradmass",this.Debug.Typen.Service)}}IstGerade(_){try{return _%2==0}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","IstGerade",this.Debug.Typen.Service)}}IstUngerade(_){try{return _%2!=0}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","IstUngerade",this.Debug.Typen.Service)}}RundenDezimal(_,f){try{let y=Math.pow(10,f||0);return Math.round(_*y)/y}catch(y){this.Debug.ShowErrorMessage(y.message,"file","function",this.Debug.Typen.Page)}}Runden(_,f){try{let y=Math.pow(10,f);return(Math.round(_*y)/y).toFixed(f)}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","Runden",this.Debug.Typen.Service)}}GetZeitstempelwert(){try{return(0,d.default)().valueOf()}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetZeitpunkttext(){try{return(0,d.default)().format("DD.MM.YYYY HH:mm:ss")}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetTimebasedID(_,f,y){try{return(0,d.default)(_+"."+f+"."+y+" 12:0","DD.MM.YYYY HH:mm").locale("de").valueOf().toString()}catch(b){this.Debug.ShowErrorMessage(b.message,"Tools","GetTimebasedID",this.Debug.Typen.Service)}}FormatLinebreaks(_){try{return typeof _<"u"?_.replace(/(?:\r\n|\r|\n)/g,"
"):""}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","FormatLinebreaks",this.Debug.Typen.Service)}}ReplaceSonderzeichen(_){try{return(_=(_=(_=(_=(_=(_=(_=(_=_.replace(/ /g,"_")).replace(/\xe4/g,"ae")).replace(/\xc4/g,"Ae")).replace(/\xf6/g,"oe")).replace(/\xd6/g,"Oe")).replace(/\xfc/g,"ue")).replace(/\xdc/g,"Ue")).replace(/\xdf/g,"ss")).replace(/[&\/\\#,+()$~%.'\xa7=^!`\xb4;":.,*-?<>{}]/g,"")}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","ReplaceSonderzeichen",this.Debug.Typen.Service)}}RundenAsText(_,f){try{let b,y=Math.pow(10,f);return b=Math.round(_*y)/y,b.toString().replace(".",",")}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","Runden",this.Debug.Typen.Service)}}CheckArray(_){try{return!!this.CheckObject(_,!1)&&_ instanceof Array}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","CheckArray",this.Debug.Typen.Service)}}CheckObject(_,f){try{return typeof _<"u"&&null!==_&&(!1===f||typeof _[f.toString()]<"u")}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","CheckObject",this.Debug.Typen.Service)}}ShowHinweisDialog(_){try{return new Promise(f=>{this.alertCtrl.create({header:"Hinweis",message:_,cssClass:"alertdialogclass",buttons:[{text:"Ok",cssClass:"infookclass",handler:()=>{f(!0)}}]}).then(y=>{y.present()}).catch(y=>{console.log(y)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","ShowHinweisDialog",this.Debug.Typen.Service)}}CheckEmail(_){try{return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(_)}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","CheckEmail",this.Debug.Typen.Service)}}static \u0275fac=function(f){return new(f||S)(l.\u0275\u0275inject(e.BasicsProvider),l.\u0275\u0275inject(u.DebugProvider),l.\u0275\u0275inject(c.ConstProvider),l.\u0275\u0275inject(g.Navparameter),l.\u0275\u0275inject(v.NavController),l.\u0275\u0275inject(v.Platform),l.\u0275\u0275inject(v.AlertController))};static \u0275prov=l.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},36716:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.environment=void 0,h.environment={production:!0}},27460:(pe,h,o)=>{"use strict";const d=o(81316).__importStar(o(14476)),a=o(54496),l=o(5204);o(36716).environment.production&&(0,a.enableProdMode)(),d.platformBrowser().bootstrapModule(l.AppModule).catch(u=>console.log(u))},78776:(pe,h,o)=>{var i,d,n=o(1196).default;self,pe.exports=(i={7629:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(9474),v=e(1687),p=e(8652),S=e(8160),C=e(3292),_=e(6354),f=e(8901),y=e(9708),b=e(6914),E=e(2294),M=e(6133),A=e(1152),I=e(8863),F=e(2036),j={Base:class{constructor(T){this.type=T,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new E.Ids,this._preferences=null,this._refs=new M.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return u("function"==typeof y.describe,"Manifest functionality disabled"),y.describe(this)}allow(...T){return S.verifyFlat(T,"allow"),this._values(T,"_valids")}alter(T){u(T&&"object"==typeof T&&!Array.isArray(T),"Invalid targets argument"),u(!this._inRuleset(),"Cannot set alterations inside a ruleset");const P=this.clone();P.$_terms.alterations=P.$_terms.alterations||[];for(const x in T){const N=T[x];u("function"==typeof N,"Alteration adjuster for",x,"must be a function"),P.$_terms.alterations.push({target:x,adjuster:N})}return P.$_temp.ruleset=!1,P}artifact(T){return u(void 0!==T,"Artifact cannot be undefined"),u(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",T)}cast(T){return u(!1===T||"string"==typeof T,"Invalid to value"),u(!1===T||this._definition.cast[T],"Type",this.type,"does not support casting to",T),this.$_setFlag("cast",!1===T?void 0:T)}default(T,P){return this._default("default",T,P)}description(T){return u(T&&"string"==typeof T,"Description must be a non-empty string"),this.$_setFlag("description",T)}empty(T){const P=this.clone();return void 0!==T&&(T=P.$_compile(T,{override:!1})),P.$_setFlag("empty",T,{clone:!1})}error(T){return u(T,"Missing error"),u(T instanceof Error||"function"==typeof T,"Must provide a valid Error object or a function"),this.$_setFlag("error",T)}example(T,P={}){return u(void 0!==T,"Missing example"),S.assertOptions(P,["override"]),this._inner("examples",T,{single:!0,override:P.override})}external(T,P){return"object"==typeof T&&(u(!P,"Cannot combine options with description"),P=T.description,T=T.method),u("function"==typeof T,"Method must be a function"),u(void 0===P||P&&"string"==typeof P,"Description must be a non-empty string"),this._inner("externals",{method:T,description:P},{single:!0})}failover(T,P){return this._default("failover",T,P)}forbidden(){return this.presence("forbidden")}id(T){return T?(u("string"==typeof T,"id must be a non-empty string"),u(/^[^\.]+$/.test(T),"id cannot contain period character"),this.$_setFlag("id",T)):this.$_setFlag("id",void 0)}invalid(...T){return this._values(T,"_invalids")}label(T){return u(T&&"string"==typeof T,"Label name must be a non-empty string"),this.$_setFlag("label",T)}meta(T){return u(void 0!==T,"Meta cannot be undefined"),this._inner("metas",T,{single:!0})}note(...T){u(T.length,"Missing notes");for(const P of T)u(P&&"string"==typeof P,"Notes must be non-empty strings");return this._inner("notes",T)}only(T=!0){return u("boolean"==typeof T,"Invalid mode:",T),this.$_setFlag("only",T)}optional(){return this.presence("optional")}prefs(T){u(T,"Missing preferences"),u(void 0===T.context,"Cannot override context"),u(void 0===T.externals,"Cannot override externals"),u(void 0===T.warnings,"Cannot override warnings"),u(void 0===T.debug,"Cannot override debug"),S.checkPreferences(T);const P=this.clone();return P._preferences=S.preferences(P._preferences,T),P}presence(T){return u(["optional","required","forbidden"].includes(T),"Unknown presence mode",T),this.$_setFlag("presence",T)}raw(T=!0){return this.$_setFlag("result",T?"raw":void 0)}result(T){return u(["raw","strip"].includes(T),"Unknown result mode",T),this.$_setFlag("result",T)}required(){return this.presence("required")}strict(T){const P=this.clone();return P._preferences=S.preferences(P._preferences,{convert:void 0!==T&&!T}),P}strip(T=!0){return this.$_setFlag("result",T?"strip":void 0)}tag(...T){u(T.length,"Missing tags");for(const P of T)u(P&&"string"==typeof P,"Tags must be non-empty strings");return this._inner("tags",T)}unit(T){return u(T&&"string"==typeof T,"Unit name must be a non-empty string"),this.$_setFlag("unit",T)}valid(...T){S.verifyFlat(T,"valid");const P=this.allow(...T);return P.$_setFlag("only",!!P._valids,{clone:!1}),P}when(T,P){const x=this.clone();x.$_terms.whens||(x.$_terms.whens=[]);const N=C.when(x,T,P);if(!["any","link"].includes(x.type)){const O=N.is?[N]:N.switch;for(const H of O)u(!H.then||"any"===H.then.type||H.then.type===x.type,"Cannot combine",x.type,"with",H.then&&H.then.type),u(!H.otherwise||"any"===H.otherwise.type||H.otherwise.type===x.type,"Cannot combine",x.type,"with",H.otherwise&&H.otherwise.type)}return x.$_terms.whens.push(N),x.$_mutateRebuild()}cache(T){u(!this._inRuleset(),"Cannot set caching inside a ruleset"),u(!this._cache,"Cannot override schema cache"),u(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const P=this.clone();return P._cache=T||p.provider.provision(),P.$_temp.ruleset=!1,P}clone(){const T=Object.create(Object.getPrototypeOf(this));return this._assign(T)}concat(T){u(S.isSchema(T),"Invalid schema object"),u("any"===this.type||"any"===T.type||T.type===this.type,"Cannot merge type",this.type,"with another type:",T.type),u(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),u(!T._inRuleset(),"Cannot concatenate a schema with open ruleset");let P=this.clone();if("any"===this.type&&"any"!==T.type){const x=T.clone();for(const N of Object.keys(P))"type"!==N&&(x[N]=P[N]);P=x}P._ids.concat(T._ids),P._refs.register(T,M.toSibling),P._preferences=P._preferences?S.preferences(P._preferences,T._preferences):T._preferences,P._valids=F.merge(P._valids,T._valids,T._invalids),P._invalids=F.merge(P._invalids,T._invalids,T._valids);for(const x of T._singleRules.keys())P._singleRules.has(x)&&(P._rules=P._rules.filter(N=>N.keep||N.name!==x),P._singleRules.delete(x));for(const x of T._rules)T._definition.rules[x.method].multi||P._singleRules.set(x.name,x),P._rules.push(x);if(P._flags.empty&&T._flags.empty){P._flags.empty=P._flags.empty.concat(T._flags.empty);const x=Object.assign({},T._flags);delete x.empty,v(P._flags,x)}else if(T._flags.empty){P._flags.empty=T._flags.empty;const x=Object.assign({},T._flags);delete x.empty,v(P._flags,x)}else v(P._flags,T._flags);for(const x in T.$_terms){const N=T.$_terms[x];N?P.$_terms[x]=P.$_terms[x]?P.$_terms[x].concat(N):N.slice():P.$_terms[x]||(P.$_terms[x]=N)}return this.$_root._tracer&&this.$_root._tracer._combine(P,[this,T]),P.$_mutateRebuild()}extend(T){return u(!T.base,"Cannot extend type with another base"),f.type(this,T)}extract(T){return T=Array.isArray(T)?T:T.split("."),this._ids.reach(T)}fork(T,P){u(!this._inRuleset(),"Cannot fork inside a ruleset");let x=this;for(let N of[].concat(T))N=Array.isArray(N)?N:N.split("."),x=x._ids.fork(N,P,x);return x.$_temp.ruleset=!1,x}rule(T){const P=this._definition;S.assertOptions(T,Object.keys(P.modifiers)),u(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const x=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;u(x>=0&&xx.tailor(T),ref:!1}),P.$_temp.ruleset=!1,P.$_mutateRebuild()}tracer(){return A.location?A.location(this):this}validate(T,P){return I.entry(T,this,P)}validateAsync(T,P){return I.entryAsync(T,this,P)}$_addRule(T){"string"==typeof T&&(T={name:T}),u(T&&"object"==typeof T,"Invalid options"),u(T.name&&"string"==typeof T.name,"Invalid rule name");for(const H in T)u("_"!==H[0],"Cannot set private rule properties");const P=Object.assign({},T);P._resolve=[],P.method=P.method||P.name;const x=this._definition.rules[P.method],N=P.args;u(x,"Unknown rule",P.method);const O=this.clone();if(N){u(1===Object.keys(N).length||Object.keys(N).length===this._definition.rules[P.name].args.length,"Invalid rule definition for",this.type,P.name);for(const H in N){let G=N[H];if(x.argsByName){const te=x.argsByName.get(H);if(te.ref&&S.isResolvable(G))P._resolve.push(H),O.$_mutateRegister(G);else if(te.normalize&&(G=te.normalize(G),N[H]=G),te.assert){const ue=S.validateArg(G,H,te);u(!ue,ue,"or reference")}}void 0!==G?N[H]=G:delete N[H]}}return x.multi||(O._ruleRemove(P.name,{clone:!1}),O._singleRules.set(P.name,P)),!1===O.$_temp.ruleset&&(O.$_temp.ruleset=null),x.priority?O._rules.unshift(P):O._rules.push(P),O}$_compile(T,P){return C.schema(this.$_root,T,P)}$_createError(T,P,x,N,O,H={}){const G=!1!==H.flags?this._flags:{},te=H.messages?b.merge(this._definition.messages,H.messages):this._definition.messages;return new _.Report(T,P,x,G,te,N,O)}$_getFlag(T){return this._flags[T]}$_getRule(T){return this._singleRules.get(T)}$_mapLabels(T){return T=Array.isArray(T)?T:T.split("."),this._ids.labels(T)}$_match(T,P,x,N){(x=Object.assign({},x)).abortEarly=!0,x._externals=!1,P.snapshot();const O=!I.validate(T,this,P,x,N).errors;return P.restore(),O}$_modify(T){return S.assertOptions(T,["each","once","ref","schema"]),E.schema(this,T)||this}$_mutateRebuild(){return u(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(T,{source:P,name:x,key:O})=>{const H=this._definition[P][x]&&this._definition[P][x].register;!1!==H&&this.$_mutateRegister(T,{family:H,key:O})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(T,{family:P,key:x}={}){this._refs.register(T,P),this._ids.register(T,{key:x})}$_property(T){return this._definition.properties[T]}$_reach(T){return this._ids.reach(T)}$_rootReferences(){return this._refs.roots()}$_setFlag(T,P,x={}){if(u("_"===T[0]||!this._inRuleset(),"Cannot set flag inside a ruleset"),g(P,(this._definition.flags[T]||{}).default)&&(P=void 0),g(P,this._flags[T]))return this;const O=!1!==x.clone?this.clone():this;return void 0!==P?(O._flags[T]=P,O.$_mutateRegister(P)):delete O._flags[T],"_"!==T[0]&&(O.$_temp.ruleset=!1),O}$_parent(T,...P){return this[T][S.symbols.parent].call(this,...P)}$_validate(T,P,x){return I.validate(T,this,P,x)}_assign(T){T.type=this.type,T.$_root=this.$_root,T.$_temp=Object.assign({},this.$_temp),T.$_temp.whens={},T._ids=this._ids.clone(),T._preferences=this._preferences,T._valids=this._valids&&this._valids.clone(),T._invalids=this._invalids&&this._invalids.clone(),T._rules=this._rules.slice(),T._singleRules=c(this._singleRules,{shallow:!0}),T._refs=this._refs.clone(),T._flags=Object.assign({},this._flags),T._cache=null,T.$_terms={};for(const P in this.$_terms)T.$_terms[P]=this.$_terms[P]?this.$_terms[P].slice():null;T.$_super={};for(const P in this.$_super)T.$_super[P]=this._super[P].bind(T);return T}_bare(){const T=this.clone();T._reset();const P=T._definition.terms;for(const x in P)T.$_terms[x]=P[x].init;return T.$_mutateRebuild()}_default(T,P,x={}){return S.assertOptions(x,"literal"),u(void 0!==P,"Missing",T,"value"),u("function"==typeof P||!x.literal,"Only function value supports literal option"),"function"==typeof P&&x.literal&&(P={[S.symbols.literal]:!0,literal:P}),this.$_setFlag(T,P)}_generate(T,P,x){if(!this.$_terms.whens)return{schema:this};const N=[],O=[];for(let te=0;teZ)break}const H=O.join(", ");if(P.mainstay.tracer.debug(P,"rule","when",H),!H)return{schema:this};if(!P.mainstay.tracer.active&&this.$_temp.whens[H])return{schema:this.$_temp.whens[H],id:H};let G=this;this._definition.generate&&(G=this._definition.generate(this,T,P,x));for(const te of N)G=G.concat(te);return this.$_root._tracer&&this.$_root._tracer._combine(G,[this,...N]),this.$_temp.whens[H]=G,{schema:G,id:H}}_inner(T,P,x={}){u(!this._inRuleset(),`Cannot set ${T} inside a ruleset`);const N=this.clone();return N.$_terms[T]&&!x.override||(N.$_terms[T]=[]),x.single?N.$_terms[T].push(P):N.$_terms[T].push(...P),N.$_temp.ruleset=!1,N}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(T,P={}){if(!this._singleRules.has(T))return this;const x=!1!==P.clone?this.clone():this;x._singleRules.delete(T);const N=[];for(let O=0;O{"use strict";const u=e(375),c=e(8571),g=e(8160),v={max:1e3,supported:new Set(["undefined","boolean","number","string"])};l.provider={provision:p=>new v.Cache(p)},v.Cache=class{constructor(p={}){g.assertOptions(p,["max"]),u(void 0===p.max||p.max&&p.max>0&&isFinite(p.max),"Invalid max cache size"),this._max=p.max||v.max,this._map=new Map,this._list=new v.List}get length(){return this._map.size}set(p,S){if(null!==p&&!v.supported.has(typeof p))return;let C=this._map.get(p);if(C)return C.value=S,void this._list.first(C);C=this._list.unshift({key:p,value:S}),this._map.set(p,C),this._compact()}get(p){const S=this._map.get(p);if(S)return this._list.first(S),c(S.value)}_compact(){if(this._map.size>this._max){const p=this._list.pop();this._map.delete(p.key)}}},v.List=class{constructor(){this.tail=null,this.head=null}unshift(p){return p.next=null,p.prev=this.head,this.head&&(this.head.next=p),this.head=p,this.tail||(this.tail=p),p}first(p){p!==this.head&&(this._remove(p),this.unshift(p))}pop(){return this._remove(this.tail)}_remove(p){const{next:S,prev:C}=p;return S.prev=C,C&&(C.next=S),p===this.tail&&(this.tail=S),p.prev=null,p.next=null,p}}},8160:(a,l,e)=>{"use strict";const u=e(375),c=e(7916),g=e(5934);let v,p;const S={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};l.version=g.version,l.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},l.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),errors:Symbol("errors"),literal:Symbol("literal"),override:Symbol("override"),parent:Symbol("parent"),prefs:Symbol("prefs"),ref:Symbol("ref"),template:Symbol("template"),values:Symbol("values")},l.assertOptions=function(C,_,f="Options"){u(C&&"object"==typeof C&&!Array.isArray(C),"Options must be of type object");const y=Object.keys(C).filter(b=>!_.includes(b));u(0===y.length,`${f} contain unknown keys: ${y}`)},l.checkPreferences=function(C){p=p||e(3378);const _=p.preferences.validate(C);if(_.error)throw new c([_.error.details[0].message])},l.compare=function(C,_,f){switch(f){case"=":return C===_;case">":return C>_;case"<":return C<_;case">=":return C>=_;case"<=":return C<=_}},l.default=function(C,_){return void 0===C?_:C},l.isIsoDate=function(C){return S.isoDate.test(C)},l.isNumber=function(C){return"number"==typeof C&&!isNaN(C)},l.isResolvable=function(C){return!!C&&(C[l.symbols.ref]||C[l.symbols.template])},l.isSchema=function(C,_={}){const f=C&&C[l.symbols.any];return!!f&&(u(_.legacy||f.version===l.version,"Cannot mix different versions of joi schemas"),!0)},l.isValues=function(C){return C[l.symbols.values]},l.limit=function(C){return Number.isSafeInteger(C)&&C>=0},l.preferences=function(C,_){v=v||e(6914),C=C||{},_=_||{};const f=Object.assign({},C,_);return _.errors&&C.errors&&(f.errors=Object.assign({},C.errors,_.errors),f.errors.wrap=Object.assign({},C.errors.wrap,_.errors.wrap)),_.messages&&(f.messages=v.compile(_.messages,C.messages)),delete f[l.symbols.prefs],f},l.tryWithPath=function(C,_,f={}){try{return C()}catch(y){throw y.path=void 0!==y.path?_+"."+y.path:_,f.append&&(y.message=`${y.message} (${y.path})`),y}},l.validateArg=function(C,_,{assert:f,message:y}){if(l.isSchema(f)){const b=f.validate(C);return b.error?b.error.message:void 0}if(!f(C))return _?`${_} ${y}`:y},l.verifyFlat=function(C,_){for(const f of C)u(!Array.isArray(f),"Method no longer accepts array arguments:",_)}},3292:(a,l,e)=>{"use strict";const u=e(375),c=e(8160),g=e(6133),v={};l.schema=function(p,S,C={}){c.assertOptions(C,["appendPath","override"]);try{return v.schema(p,S,C)}catch(_){throw C.appendPath&&void 0!==_.path&&(_.message=`${_.message} (${_.path})`),_}},v.schema=function(p,S,C){u(void 0!==S,"Invalid undefined schema"),Array.isArray(S)&&(u(S.length,"Invalid empty array schema"),1===S.length&&(S=S[0]));const _=(f,...y)=>!1!==C.override?f.valid(p.override,...y):f.valid(...y);if(v.simple(S))return _(p,S);if("function"==typeof S)return p.custom(S);if(u("object"==typeof S,"Invalid schema content:",typeof S),c.isResolvable(S))return _(p,S);if(c.isSchema(S))return S;if(Array.isArray(S)){for(const f of S)if(!v.simple(f))return p.alternatives().try(...S);return _(p,...S)}return S instanceof RegExp?p.string().regex(S):S instanceof Date?_(p.date(),S):(u(Object.getPrototypeOf(S)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),p.object().keys(S))},l.ref=function(p,S){return g.isRef(p)?p:g.create(p,S)},l.compile=function(p,S,C={}){c.assertOptions(C,["legacy"]);const _=S&&S[c.symbols.any];if(_)return u(C.legacy||_.version===c.version,"Cannot mix different versions of joi schemas:",_.version,c.version),S;if("object"!=typeof S||!C.legacy)return l.schema(p,S,{appendPath:!0});const f=v.walk(S);return f?f.compile(f.root,S):l.schema(p,S,{appendPath:!0})},v.walk=function(p){if("object"!=typeof p)return null;if(Array.isArray(p)){for(const C of p){const _=v.walk(C);if(_)return _}return null}const S=p[c.symbols.any];if(S)return{root:p[S.root],compile:S.compile};u(Object.getPrototypeOf(p)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const C in p){const _=v.walk(p[C]);if(_)return _}return null},v.simple=function(p){return null===p||["boolean","string","number"].includes(typeof p)},l.when=function(p,S,C){if(void 0===C&&(u(S&&"object"==typeof S,"Missing options"),C=S,S=g.create(".")),Array.isArray(C)&&(C={switch:C}),c.assertOptions(C,["is","not","then","otherwise","switch","break"]),c.isSchema(S))return u(void 0===C.is,'"is" can not be used with a schema condition'),u(void 0===C.not,'"not" can not be used with a schema condition'),u(void 0===C.switch,'"switch" can not be used with a schema condition'),v.condition(p,{is:S,then:C.then,otherwise:C.otherwise,break:C.break});if(u(g.isRef(S)||"string"==typeof S,"Invalid condition:",S),u(void 0===C.not||void 0===C.is,'Cannot combine "is" with "not"'),void 0===C.switch){let f=C;void 0!==C.not&&(f={is:C.not,then:C.otherwise,otherwise:C.then,break:C.break});let y=void 0!==f.is?p.$_compile(f.is):p.$_root.invalid(null,!1,0,"").required();return u(void 0!==f.then||void 0!==f.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),u(void 0===f.break||void 0===f.then||void 0===f.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===C.is||g.isRef(C.is)||c.isSchema(C.is)||(y=y.required()),v.condition(p,{ref:l.ref(S),is:y,then:f.then,otherwise:f.otherwise,break:f.break})}u(Array.isArray(C.switch),'"switch" must be an array'),u(void 0===C.is,'Cannot combine "switch" with "is"'),u(void 0===C.not,'Cannot combine "switch" with "not"'),u(void 0===C.then,'Cannot combine "switch" with "then"');const _={ref:l.ref(S),switch:[],break:C.break};for(let f=0;f{"use strict";const u=e(5688),c=e(8160),g=e(3328);l.Report=class{constructor(v,p,S,C,_,f,y){if(this.code=v,this.flags=C,this.messages=_,this.path=f.path,this.prefs=y,this.state=f,this.value=p,this.message=null,this.template=null,this.local=S||{},this.local.label=l.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const b=this.path[this.path.length-1];"object"!=typeof b&&(this.local.key=b)}}_setTemplate(v){if(this.template=v,!this.flags.label&&0===this.path.length){const p=this._template(this.template,"root");p&&(this.local.label=p)}}toString(){if(this.message)return this.message;const v=this.code;if(!this.prefs.errors.render)return this.code;const p=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===p?`Error code "${v}" is not defined, your custom type is missing the correct messages definition`:(this.message=p.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(v,p){return l.template(this.value,v,p||this.code,this.state,this.prefs)}},l.path=function(v){let p="";for(const S of v)"object"!=typeof S&&("string"==typeof S?(p&&(p+="."),p+=S):p+=`[${S}]`);return p},l.template=function(v,p,S,C,_){if(!p)return;if(g.isTemplate(p))return"root"!==S?p:null;let f=_.errors.language;if(c.isResolvable(f)&&(f=f.resolve(v,C,_)),f&&p[f]){if(void 0!==p[f][S])return p[f][S];if(void 0!==p[f]["*"])return p[f]["*"]}return p[S]?p[S]:p["*"]},l.label=function(v,p,S,C){if(v.label)return v.label;if(!S.errors.label)return"";let _=p.path;return"key"===S.errors.label&&p.path.length>1&&(_=p.path.slice(-1)),l.path(_)||l.template(null,S.messages,"root",p,S)||C&&l.template(null,C,"root",p,S)||"value"},l.process=function(v,p,S){if(!v)return null;const{override:C,message:_,details:f}=l.details(v);if(C)return C;if(S.errors.stack)return new l.ValidationError(_,f,p);const y=Error.stackTraceLimit;Error.stackTraceLimit=0;const b=new l.ValidationError(_,f,p);return Error.stackTraceLimit=y,b},l.details=function(v,p={}){let S=[];const C=[];for(const _ of v){if(_ instanceof Error){if(!1!==p.override)return{override:_};const y=_.toString();S.push(y),C.push({message:y,type:"override",context:{error:_}});continue}const f=_.toString();S.push(f),C.push({message:f,path:_.path.filter(y=>"object"!=typeof y),type:_.code,context:_.local})}return S.length>1&&(S=[...new Set(S)]),{message:S.join(". "),details:C}},l.ValidationError=class extends Error{constructor(v,p,S){super(v),this._original=S,this.details=p}static isError(v){return v instanceof l.ValidationError}},l.ValidationError.prototype.isJoi=!0,l.ValidationError.prototype.name="ValidationError",l.ValidationError.prototype.annotate=u.error},8901:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(8160),v=e(6914),p={};l.type=function(S,C){const _=Object.getPrototypeOf(S),f=c(_),y=S._assign(Object.create(f)),b=Object.assign({},C);delete b.base,f._definition=b;const E=_._definition||{};b.messages=v.merge(E.messages,b.messages),b.properties=Object.assign({},E.properties,b.properties),y.type=b.type,b.flags=Object.assign({},E.flags,b.flags);const M=Object.assign({},E.terms);if(b.terms)for(const j in b.terms){const T=b.terms[j];u(void 0===y.$_terms[j],"Invalid term override for",b.type,j),y.$_terms[j]=T.init,M[j]=T}b.terms=M,b.args||(b.args=E.args),b.prepare=p.prepare(b.prepare,E.prepare),b.coerce&&("function"==typeof b.coerce&&(b.coerce={method:b.coerce}),b.coerce.from&&!Array.isArray(b.coerce.from)&&(b.coerce={method:b.coerce.method,from:[].concat(b.coerce.from)})),b.coerce=p.coerce(b.coerce,E.coerce),b.validate=p.validate(b.validate,E.validate);const A=Object.assign({},E.rules);if(b.rules)for(const j in b.rules){const T=b.rules[j];u("object"==typeof T,"Invalid rule definition for",b.type,j);let P=T.method;if(void 0===P&&(P=function(){return this.$_addRule(j)}),P&&(u(!f[j],"Rule conflict in",b.type,j),f[j]=P),u(!A[j],"Rule conflict in",b.type,j),A[j]=T,T.alias){const x=[].concat(T.alias);for(const N of x)f[N]=T.method}T.args&&(T.argsByName=new Map,T.args=T.args.map(x=>("string"==typeof x&&(x={name:x}),u(!T.argsByName.has(x.name),"Duplicated argument name",x.name),g.isSchema(x.assert)&&(x.assert=x.assert.strict().label(x.name)),T.argsByName.set(x.name,x),x)))}b.rules=A;const I=Object.assign({},E.modifiers);if(b.modifiers)for(const j in b.modifiers){u(!f[j],"Rule conflict in",b.type,j);const T=b.modifiers[j];u("function"==typeof T,"Invalid modifier definition for",b.type,j),f[j]=function(x){return this.rule({[j]:x})},I[j]=T}if(b.modifiers=I,b.overrides){f._super=_,y.$_super={};for(const j in b.overrides)u(_[j],"Cannot override missing",j),b.overrides[j][g.symbols.parent]=_[j],y.$_super[j]=_[j].bind(y);Object.assign(f,b.overrides)}b.cast=Object.assign({},E.cast,b.cast);const F=Object.assign({},E.manifest,b.manifest);return F.build=p.build(b.manifest&&b.manifest.build,E.manifest&&E.manifest.build),b.manifest=F,b.rebuild=p.rebuild(b.rebuild,E.rebuild),y},p.build=function(S,C){return S&&C?function(_,f){return C(S(_,f),f)}:S||C},p.coerce=function(S,C){return S&&C?{from:S.from&&C.from?[...new Set([...S.from,...C.from])]:null,method(_,f){let y;if((!C.from||C.from.includes(typeof _))&&(y=C.method(_,f),y)){if(y.errors||void 0===y.value)return y;_=y.value}if(!S.from||S.from.includes(typeof _)){const b=S.method(_,f);if(b)return b}return y}}:S||C},p.prepare=function(S,C){return S&&C?function(_,f){const y=S(_,f);if(y){if(y.errors||void 0===y.value)return y;_=y.value}return C(_,f)||y}:S||C},p.rebuild=function(S,C){return S&&C?function(_){C(_),S(_)}:S||C},p.validate=function(S,C){return S&&C?function(_,f){const y=C(_,f);if(y){if(y.errors&&(!Array.isArray(y.errors)||y.errors.length))return y;_=y.value}return S(_,f)||y}:S||C}},5107:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(8652),v=e(8160),p=e(3292),S=e(6354),C=e(8901),_=e(9708),f=e(6133),y=e(3328),b=e(1152);let E;const M={types:{alternatives:e(4946),any:e(8068),array:e(546),boolean:e(4937),date:e(7500),function:e(390),link:e(8785),number:e(3832),object:e(8966),string:e(7417),symbol:e(8826)},aliases:{alt:"alternatives",bool:"boolean",func:"function"},root:function(){const A={_types:new Set(Object.keys(M.types))};for(const I of A._types)A[I]=function(...F){return u(!F.length||["alternatives","link","object"].includes(I),"The",I,"type does not allow arguments"),M.generate(this,M.types[I],F)};for(const I of["allow","custom","disallow","equal","exist","forbidden","invalid","not","only","optional","options","prefs","preferences","required","strip","valid","when"])A[I]=function(...F){return this.any()[I](...F)};Object.assign(A,M.methods);for(const I in M.aliases)A[I]=A[M.aliases[I]];return A.x=A.expression,b.setup&&b.setup(A),A}};M.methods={ValidationError:S.ValidationError,version:v.version,cache:g.provider,assert(A,I,...F){M.assert(A,I,!0,F)},attempt:(A,I,...F)=>M.assert(A,I,!1,F),build(A){return u("function"==typeof _.build,"Manifest functionality disabled"),_.build(this,A)},checkPreferences(A){v.checkPreferences(A)},compile(A,I){return p.compile(this,A,I)},defaults(A){u("function"==typeof A,"modifier must be a function");const I=Object.assign({},this);for(const F of I._types){const j=A(I[F]());u(v.isSchema(j),"modifier must return a valid schema object"),I[F]=function(...T){return M.generate(this,j,T)}}return I},expression:(...A)=>new y(...A),extend(...A){v.verifyFlat(A,"extend"),E=E||e(3378),u(A.length,"You need to provide at least one extension"),this.assert(A,E.extensions);const I=Object.assign({},this);I._types=new Set(I._types);for(let F of A){"function"==typeof F&&(F=F(I)),this.assert(F,E.extension);const j=M.expandExtension(F,I);for(const T of j){u(void 0===I[T.type]||I._types.has(T.type),"Cannot override name",T.type);const P=T.base||this.any(),x=C.type(P,T);I._types.add(T.type),I[T.type]=function(...N){return M.generate(this,x,N)}}}return I},isError:S.ValidationError.isError,isExpression:y.isTemplate,isRef:f.isRef,isSchema:v.isSchema,in:(...A)=>f.in(...A),override:v.symbols.override,ref:(...A)=>f.create(...A),types(){const A={};for(const I of this._types)A[I]=this[I]();for(const I in M.aliases)A[I]=this[I]();return A}},M.assert=function(A,I,F,j){const T=j[0]instanceof Error||"string"==typeof j[0]?j[0]:null,x=I.validate(A,v.preferences({errors:{stack:!0}},(null!==T?j[1]:j[0])||{}));let N=x.error;if(!N)return x.value;if(T instanceof Error)throw T;const O=F&&"function"==typeof N.annotate?N.annotate():N.message;throw N instanceof S.ValidationError==0&&(N=c(N)),N.message=T?`${T} ${O}`:O,N},M.generate=function(A,I,F){return u(A,"Must be invoked on a Joi instance."),I.$_root=A,I._definition.args&&F.length?I._definition.args(I,...F):I},M.expandExtension=function(A,I){if("string"==typeof A.type)return[A];const F=[];for(const j of I._types)if(A.type.test(j)){const T=Object.assign({},A);T.type=j,T.base=I[j](),F.push(T)}return F},a.exports=M.root()},6914:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(3328);l.compile=function(v,p){if("string"==typeof v)return u(!p,"Cannot set single message string"),new g(v);if(g.isTemplate(v))return u(!p,"Cannot set single message template"),v;u("object"==typeof v&&!Array.isArray(v),"Invalid message options"),p=p?c(p):{};for(let S in v){const C=v[S];if("root"===S||g.isTemplate(C)){p[S]=C;continue}if("string"==typeof C){p[S]=new g(C);continue}u("object"==typeof C&&!Array.isArray(C),"Invalid message for",S);const _=S;for(S in p[_]=p[_]||{},C){const f=C[S];"root"===S||g.isTemplate(f)?p[_][S]=f:(u("string"==typeof f,"Invalid message for",S,"in",_),p[_][S]=new g(f))}}return p},l.decompile=function(v){const p={};for(let S in v){const C=v[S];if("root"===S){p.root=C;continue}if(g.isTemplate(C)){p[S]=C.describe({compact:!0});continue}const _=S;for(S in p[_]={},C){const f=C[S];"root"!==S?p[_][S]=f.describe({compact:!0}):p[_].root=f}}return p},l.merge=function(v,p){if(!v)return l.compile(p);if(!p)return v;if("string"==typeof p)return new g(p);if(g.isTemplate(p))return p;const S=c(v);for(let C in p){const _=p[C];if("root"===C||g.isTemplate(_)){S[C]=_;continue}if("string"==typeof _){S[C]=new g(_);continue}u("object"==typeof _&&!Array.isArray(_),"Invalid message for",C);const f=C;for(C in S[f]=S[f]||{},_){const y=_[C];"root"===C||g.isTemplate(y)?S[f][C]=y:(u("string"==typeof y,"Invalid message for",C,"in",f),S[f][C]=new g(y))}}return S}},2294:(a,l,e)=>{"use strict";const u=e(375),c=e(8160),g=e(6133),v={};l.Ids=v.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){const p=new v.Ids;return p._byId=new Map(this._byId),p._byKey=new Map(this._byKey),p._schemaChain=this._schemaChain,p}concat(p){p._schemaChain&&(this._schemaChain=!0);for(const[S,C]of p._byId.entries())u(!this._byKey.has(S),"Schema id conflicts with existing key:",S),this._byId.set(S,C);for(const[S,C]of p._byKey.entries())u(!this._byId.has(S),"Schema key conflicts with existing id:",S),this._byKey.set(S,C)}fork(p,S,C){const _=this._collect(p);_.push({schema:C});const f=_.shift();let y={id:f.id,schema:S(f.schema)};u(c.isSchema(y.schema),"adjuster function failed to return a joi schema type");for(const b of _)y={id:b.id,schema:v.fork(b.schema,y.id,y.schema)};return y.schema}labels(p,S=[]){const C=p[0],_=this._get(C);if(!_)return[...S,...p].join(".");const f=p.slice(1);return S=[...S,_.schema._flags.label||C],f.length?_.schema._ids.labels(f,S):S.join(".")}reach(p,S=[]){const C=p[0],_=this._get(C);u(_,"Schema does not contain path",[...S,...p].join("."));const f=p.slice(1);return f.length?_.schema._ids.reach(f,[...S,C]):_.schema}register(p,{key:S}={}){if(!p||!c.isSchema(p))return;(p.$_property("schemaChain")||p._ids._schemaChain)&&(this._schemaChain=!0);const C=p._flags.id;if(C){const _=this._byId.get(C);u(!_||_.schema===p,"Cannot add different schemas with the same id:",C),u(!this._byKey.has(C),"Schema id conflicts with existing key:",C),this._byId.set(C,{schema:p,id:C})}S&&(u(!this._byKey.has(S),"Schema already contains key:",S),u(!this._byId.has(S),"Schema key conflicts with existing id:",S),this._byKey.set(S,{schema:p,id:S}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(p,S=[],C=[]){const _=p[0],f=this._get(_);u(f,"Schema does not contain path",[...S,...p].join(".")),C=[f,...C];const y=p.slice(1);return y.length?f.schema._ids._collect(y,[...S,_],C):C}_get(p){return this._byId.get(p)||this._byKey.get(p)}},v.fork=function(p,S,C){const _=l.schema(p,{each:(f,{key:y})=>{if(S===(f._flags.id||y))return C},ref:!1});return _?_.$_mutateRebuild():p},l.schema=function(p,S){let C;for(const _ in p._flags){if("_"===_[0])continue;const f=v.scan(p._flags[_],{source:"flags",name:_},S);void 0!==f&&(C=C||p.clone(),C._flags[_]=f)}for(let _=0;_{"use strict";const u=e(375),c=e(8571),g=e(9621),v=e(8160);let p;const S={symbol:Symbol("ref"),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:".",type:"value"}};l.create=function(C,_={}){u("string"==typeof C,"Invalid reference key:",C),v.assertOptions(_,["adjust","ancestor","in","iterables","map","prefix","render","separator"]),u(!_.prefix||"object"==typeof _.prefix,"options.prefix must be of type object");const f=Object.assign({},S.defaults,_);delete f.prefix;const y=f.separator,b=S.context(C,y,_.prefix);if(f.type=b.type,C=b.key,"value"===f.type)if(b.root&&(u(!y||C[0]!==y,"Cannot specify relative path with root prefix"),f.ancestor="root",C||(C=null)),y&&y===C)C=null,f.ancestor=0;else if(void 0!==f.ancestor)u(!y||!C||C[0]!==y,"Cannot combine prefix with ancestor option");else{const[E,M]=S.ancestor(C,y);M&&""===(C=C.slice(M))&&(C=null),f.ancestor=E}return f.path=y?null===C?[]:C.split(y):[C],new S.Ref(f)},l.in=function(C,_={}){return l.create(C,{..._,in:!0})},l.isRef=function(C){return!!C&&!!C[v.symbols.ref]},S.Ref=class{constructor(C){u("object"==typeof C,"Invalid reference construction"),v.assertOptions(C,["adjust","ancestor","in","iterables","map","path","render","separator","type","depth","key","root","display"]),u([!1,void 0].includes(C.separator)||"string"==typeof C.separator&&1===C.separator.length,"Invalid separator"),u(!C.adjust||"function"==typeof C.adjust,"options.adjust must be a function"),u(!C.map||Array.isArray(C.map),"options.map must be an array"),u(!C.map||!C.adjust,"Cannot set both map and adjust options"),Object.assign(this,S.defaults,C),u("value"===this.type||void 0===this.ancestor,"Non-value references cannot reference ancestors"),Array.isArray(this.map)&&(this.map=new Map(this.map)),this.depth=this.path.length,this.key=this.path.length?this.path.join(this.separator):null,this.root=this.path[0],this.updateDisplay()}resolve(C,_,f,y,b={}){return u(!this.in||b.in,"Invalid in() reference usage"),"global"===this.type?this._resolve(f.context,_,b):"local"===this.type?this._resolve(y,_,b):this.ancestor?"root"===this.ancestor?this._resolve(_.ancestors[_.ancestors.length-1],_,b):(u(this.ancestor<=_.ancestors.length,"Invalid reference exceeds the schema root:",this.display),this._resolve(_.ancestors[this.ancestor-1],_,b)):this._resolve(C,_,b)}_resolve(C,_,f){let y;if("value"===this.type&&_.mainstay.shadow&&!1!==f.shadow&&(y=_.mainstay.shadow.get(this.absolute(_))),void 0===y&&(y=g(C,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(y=this.adjust(y)),this.map){const b=this.map.get(y);void 0!==b&&(y=b)}return _.mainstay&&_.mainstay.tracer.resolve(_,this,y),y}toString(){return this.display}absolute(C){return[...C.path.slice(0,-this.ancestor),...this.path]}clone(){return new S.Ref(this)}describe(){const C={path:this.path};"value"!==this.type&&(C.type=this.type),"."!==this.separator&&(C.separator=this.separator),"value"===this.type&&1!==this.ancestor&&(C.ancestor=this.ancestor),this.map&&(C.map=[...this.map]);for(const _ of["adjust","iterables","render"])null!=this[_]&&(C[_]=this[_]);return!1!==this.in&&(C.in=!0),{ref:C}}updateDisplay(){const C=null!==this.key?this.key:"";if("value"!==this.type)return void(this.display=`ref:${this.type}:${C}`);if(!this.separator)return void(this.display=`ref:${C}`);if(!this.ancestor)return void(this.display=`ref:${this.separator}${C}`);if("root"===this.ancestor)return void(this.display=`ref:root:${C}`);if(1===this.ancestor)return void(this.display=`ref:${C||".."}`);const _=new Array(this.ancestor+1).fill(this.separator).join("");this.display=`ref:${_}${C||""}`}},S.Ref.prototype[v.symbols.ref]=!0,l.build=function(C){return"value"===(C=Object.assign({},S.defaults,C)).type&&void 0===C.ancestor&&(C.ancestor=1),new S.Ref(C)},S.context=function(C,_,f={}){if(C=C.trim(),f){const y=void 0===f.global?"$":f.global;if(y!==_&&C.startsWith(y))return{key:C.slice(y.length),type:"global"};const b=void 0===f.local?"#":f.local;if(b!==_&&C.startsWith(b))return{key:C.slice(b.length),type:"local"};const E=void 0===f.root?"/":f.root;if(E!==_&&C.startsWith(E))return{key:C.slice(E.length),type:"value",root:!0}}return{key:C,type:"value"}},S.ancestor=function(C,_){if(!_)return[1,0];if(C[0]!==_)return[1,0];if(C[1]!==_)return[0,1];let f=2;for(;C[f]===_;)++f;return[f-1,f]},l.toSibling=0,l.toParent=1,l.Manager=class{constructor(){this.refs=[]}register(C,_){if(C)if(_=void 0===_?l.toParent:_,Array.isArray(C))for(const f of C)this.register(f,_);else if(v.isSchema(C))for(const f of C._refs.refs)f.ancestor-_>=0&&this.refs.push({ancestor:f.ancestor-_,root:f.root});else l.isRef(C)&&"value"===C.type&&C.ancestor-_>=0&&this.refs.push({ancestor:C.ancestor-_,root:C.root}),p=p||e(3328),p.isTemplate(C)&&this.register(C.refs(),_)}get length(){return this.refs.length}clone(){const C=new l.Manager;return C.refs=c(this.refs),C}reset(){this.refs=[]}roots(){return this.refs.filter(C=>!C.ancestor).map(C=>C.root)}}},3378:(a,l,e)=>{"use strict";const u=e(5107),c={};c.wrap=u.string().min(1).max(2).allow(!1),l.preferences=u.object({allowUnknown:u.boolean(),abortEarly:u.boolean(),artifacts:u.boolean(),cache:u.boolean(),context:u.object(),convert:u.boolean(),dateFormat:u.valid("date","iso","string","time","utc"),debug:u.boolean(),errors:{escapeHtml:u.boolean(),label:u.valid("path","key",!1),language:[u.string(),u.object().ref()],render:u.boolean(),stack:u.boolean(),wrap:{label:c.wrap,array:c.wrap,string:c.wrap}},externals:u.boolean(),messages:u.object(),noDefaults:u.boolean(),nonEnumerables:u.boolean(),presence:u.valid("required","optional","forbidden"),skipFunctions:u.boolean(),stripUnknown:u.object({arrays:u.boolean(),objects:u.boolean()}).or("arrays","objects").allow(!0,!1),warnings:u.boolean()}).strict(),c.nameRx=/^[a-zA-Z0-9]\w*$/,c.rule=u.object({alias:u.array().items(u.string().pattern(c.nameRx)).single(),args:u.array().items(u.string(),u.object({name:u.string().pattern(c.nameRx).required(),ref:u.boolean(),assert:u.alternatives([u.function(),u.object().schema()]).conditional("ref",{is:!0,then:u.required()}),normalize:u.function(),message:u.string().when("assert",{is:u.function(),then:u.required()})})),convert:u.boolean(),manifest:u.boolean(),method:u.function().allow(!1),multi:u.boolean(),validate:u.function()}),l.extension=u.object({type:u.alternatives([u.string(),u.object().regex()]).required(),args:u.function(),cast:u.object().pattern(c.nameRx,u.object({from:u.function().maxArity(1).required(),to:u.function().minArity(1).maxArity(2).required()})),base:u.object().schema().when("type",{is:u.object().regex(),then:u.forbidden()}),coerce:[u.function().maxArity(3),u.object({method:u.function().maxArity(3).required(),from:u.array().items(u.string()).single()})],flags:u.object().pattern(c.nameRx,u.object({setter:u.string(),default:u.any()})),manifest:{build:u.function().arity(2)},messages:[u.object(),u.string()],modifiers:u.object().pattern(c.nameRx,u.function().minArity(1).maxArity(2)),overrides:u.object().pattern(c.nameRx,u.function()),prepare:u.function().maxArity(3),rebuild:u.function().arity(1),rules:u.object().pattern(c.nameRx,c.rule),terms:u.object().pattern(c.nameRx,u.object({init:u.array().allow(null).required(),manifest:u.object().pattern(/.+/,[u.valid("schema","single"),u.object({mapped:u.object({from:u.string().required(),to:u.string().required()}).required()})])})),validate:u.function().maxArity(3)}).strict(),l.extensions=u.array().items(u.object(),u.function().arity(1)).strict(),c.desc={buffer:u.object({buffer:u.string()}),func:u.object({function:u.function().required(),options:{literal:!0}}),override:u.object({override:!0}),ref:u.object({ref:u.object({type:u.valid("value","global","local"),path:u.array().required(),separator:u.string().length(1).allow(!1),ancestor:u.number().min(0).integer().allow("root"),map:u.array().items(u.array().length(2)).min(1),adjust:u.function(),iterables:u.boolean(),in:u.boolean(),render:u.boolean()}).required()}),regex:u.object({regex:u.string().min(3)}),special:u.object({special:u.valid("deep").required()}),template:u.object({template:u.string().required(),options:u.object()}),value:u.object({value:u.alternatives([u.object(),u.array()]).required()})},c.desc.entity=u.alternatives([u.array().items(u.link("...")),u.boolean(),u.function(),u.number(),u.string(),c.desc.buffer,c.desc.func,c.desc.ref,c.desc.regex,c.desc.special,c.desc.template,c.desc.value,u.link("/")]),c.desc.values=u.array().items(null,u.boolean(),u.function(),u.number().allow(1/0,-1/0),u.string().allow(""),u.symbol(),c.desc.buffer,c.desc.func,c.desc.override,c.desc.ref,c.desc.regex,c.desc.template,c.desc.value),c.desc.messages=u.object().pattern(/.+/,[u.string(),c.desc.template,u.object().pattern(/.+/,[u.string(),c.desc.template])]),l.description=u.object({type:u.string().required(),flags:u.object({cast:u.string(),default:u.any(),description:u.string(),empty:u.link("/"),failover:c.desc.entity,id:u.string(),label:u.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:u.boolean(),unit:u.string()}).unknown(),preferences:{allowUnknown:u.boolean(),abortEarly:u.boolean(),artifacts:u.boolean(),cache:u.boolean(),convert:u.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:u.boolean(),label:["path","key"],language:[u.string(),c.desc.ref],wrap:{label:c.wrap,array:c.wrap}},externals:u.boolean(),messages:c.desc.messages,noDefaults:u.boolean(),nonEnumerables:u.boolean(),presence:["required","optional","forbidden"],skipFunctions:u.boolean(),stripUnknown:u.object({arrays:u.boolean(),objects:u.boolean()}).or("arrays","objects").allow(!0,!1),warnings:u.boolean()},allow:c.desc.values,invalid:c.desc.values,rules:u.array().min(1).items({name:u.string().required(),args:u.object().min(1),keep:u.boolean(),message:[u.string(),c.desc.messages],warn:u.boolean()}),keys:u.object().pattern(/.*/,u.link("/")),link:c.desc.ref}).pattern(/^[a-z]\w*$/,u.any())},493:(a,l,e)=>{"use strict";const u=e(8571),c=e(9621),g=e(8160),v={value:Symbol("value")};a.exports=v.State=class{constructor(p,S,C){this.path=p,this.ancestors=S,this.mainstay=C.mainstay,this.schemas=C.schemas,this.debug=null}localize(p,S=null,C=null){const _=new v.State(p,S,this);return C&&_.schemas&&(_.schemas=[v.schemas(C),..._.schemas]),_}nest(p,S){const C=new v.State(this.path,this.ancestors,this);return C.schemas=C.schemas&&[v.schemas(p),...C.schemas],C.debug=S,C}shadow(p,S){this.mainstay.shadow=this.mainstay.shadow||new v.Shadow,this.mainstay.shadow.set(this.path,p,S)}snapshot(){this.mainstay.shadow&&(this._snapshot=u(this.mainstay.shadow.node(this.path))),this.mainstay.snapshot()}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.restore()}commit(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.commit()}},v.schemas=function(p){return g.isSchema(p)?{schema:p}:p},v.Shadow=class{constructor(){this._values=null}set(p,S,C){if(!p.length||"strip"===C&&"number"==typeof p[p.length-1])return;this._values=this._values||new Map;let _=this._values;for(let f=0;f{"use strict";const u=e(375),c=e(8571),g=e(5277),v=e(1447),p=e(8160),S=e(6354),C=e(6133),_={symbol:Symbol("template"),opens:new Array(1e3).join("\0"),closes:new Array(1e3).join("\x01"),dateFormat:{date:Date.prototype.toDateString,iso:Date.prototype.toISOString,string:Date.prototype.toString,time:Date.prototype.toTimeString,utc:Date.prototype.toUTCString}};a.exports=_.Template=class{constructor(f,y){if(u("string"==typeof f,"Template source must be a string"),u(!f.includes("\0")&&!f.includes("\x01"),"Template source cannot contain reserved control characters"),this.source=f,this.rendered=f,this._template=null,y){const{functions:b,...E}=y;this._settings=Object.keys(E).length?c(E):void 0,this._functions=b,this._functions&&(u(Object.keys(this._functions).every(M=>"string"==typeof M),"Functions keys must be strings"),u(Object.values(this._functions).every(M=>"function"==typeof M),"Functions values must be functions"))}else this._settings=void 0,this._functions=void 0;this._parse()}_parse(){if(!this.source.includes("{"))return;const f=_.encode(this.source),y=_.split(f);let b=!1;const E=[],M=y.shift();M&&E.push(M);for(const A of y){const I="{"!==A[0],F=I?"}":"}}",j=A.indexOf(F);if(-1===j||"{"===A[1]){E.push(`{${_.decode(A)}`);continue}let T=A.slice(I?0:1,j);const P=":"===T[0];P&&(T=T.slice(1));const x=this._ref(_.decode(T),{raw:I,wrapped:P});E.push(x),"string"!=typeof x&&(b=!0);const N=A.slice(j+F.length);N&&E.push(_.decode(N))}b?this._template=E:this.rendered=E.join("")}static date(f,y){return _.dateFormat[y.dateFormat].call(f)}describe(f={}){if(!this._settings&&f.compact)return this.source;const y={template:this.source};return this._settings&&(y.options=this._settings),this._functions&&(y.functions=this._functions),y}static build(f){return new _.Template(f.template,f.options||f.functions?{...f.options,functions:f.functions}:void 0)}isDynamic(){return!!this._template}static isTemplate(f){return!!f&&!!f[p.symbols.template]}refs(){if(!this._template)return;const f=[];for(const y of this._template)"string"!=typeof y&&f.push(...y.refs);return f}resolve(f,y,b,E){return this._template&&1===this._template.length?this._part(this._template[0],f,y,b,E,{}):this.render(f,y,b,E)}_part(f,...y){return f.ref?f.ref.resolve(...y):f.formula.evaluate(y)}render(f,y,b,E,M={}){if(!this.isDynamic())return this.rendered;const A=[];for(const I of this._template)if("string"==typeof I)A.push(I);else{const F=this._part(I,f,y,b,E,M),j=_.stringify(F,f,y,b,E,M);if(void 0!==j){const T=I.raw||!1===(M.errors&&M.errors.escapeHtml)?j:g(j);A.push(_.wrap(T,I.wrapped&&b.errors.wrap.label))}}return A.join("")}_ref(f,{raw:y,wrapped:b}){const E=[],M=I=>{const F=C.create(I,this._settings);return E.push(F),j=>{const T=F.resolve(...j);return void 0!==T?T:null}};try{const I=this._functions?{..._.functions,...this._functions}:_.functions;var A=new v.Parser(f,{reference:M,functions:I,constants:_.constants})}catch(I){throw I.message=`Invalid template variable "${f}" fails due to: ${I.message}`,I}if(A.single){if("reference"===A.single.type){const I=E[0];return{ref:I,raw:y,refs:E,wrapped:b||"local"===I.type&&"label"===I.key}}return _.stringify(A.single.value)}return{formula:A,raw:y,refs:E}}toString(){return this.source}},_.Template.prototype[p.symbols.template]=!0,_.Template.prototype.isImmutable=!0,_.encode=function(f){return f.replace(/\\(\{+)/g,(y,b)=>_.opens.slice(0,b.length)).replace(/\\(\}+)/g,(y,b)=>_.closes.slice(0,b.length))},_.decode=function(f){return f.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},_.split=function(f){const y=[];let b="";for(let E=0;E ${N.toString()}`);f=P}if(!Array.isArray(f))return f.toString();const T=[];for(const P of f)T.push(_.stringify(P,y,b,E,M,{arrayItems:!0,...A}));return _.wrap(T.join(", "),!j&&F.array)},_.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},_.functions={if:(f,y,b)=>f?y:b,length:f=>"string"==typeof f?f.length:f&&"object"==typeof f?Array.isArray(f)?f.length:Object.keys(f).length:null,msg(f){const[y,b,E,M,A]=this,I=A.messages;if(!I)return"";const F=S.template(y,I[0],f,b,E)||S.template(y,I[1],f,b,E);return F?F.render(y,b,E,M,A):""},number:f=>"number"==typeof f?f:"string"==typeof f?parseFloat(f):"boolean"==typeof f?f?1:0:f instanceof Date?f.getTime():null}},4946:(a,l,e)=>{"use strict";const u=e(375),c=e(1687),g=e(8068),v=e(8160),p=e(3292),S=e(6354),C=e(6133),_={};a.exports=g.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:C.toSibling}},args:(f,...y)=>1===y.length&&Array.isArray(y[0])?f.try(...y[0]):f.try(...y),validate(f,y){const{schema:b,error:E,state:M,prefs:A}=y;if(b._flags.match){const F=[],j=[];for(let P=0;PS.details(P,{override:!1}))})};if("one"===b._flags.match)return 1===F.length?{value:F[0]}:{errors:E("alternatives.one")};if(F.length!==b.$_terms.matches.length)return{errors:E("alternatives.all",{details:j.map(P=>S.details(P,{override:!1}))})};const T=P=>P.$_terms.matches.some(x=>"object"===x.schema.type||"alternatives"===x.schema.type&&T(x.schema));return T(b)?{value:F.reduce((P,x)=>c(P,x,{mergeArrays:!1}))}:{value:F[F.length-1]}}const I=[];for(let F=0;F"is"!==b.path[0]&&"string"!=typeof y._flags.label?y.label(f):void 0,ref:!1})}},rebuild(f){f.$_modify({each:y=>{v.isSchema(y)&&"array"===y.type&&f.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(f,y){if(y.matches)for(const b of y.matches){const{schema:E,ref:M,is:A,not:I,then:F,otherwise:j}=b;f=E?f.try(E):M?f.conditional(M,{is:A,then:F,not:I,otherwise:j,switch:b.switch}):f.conditional(A,{then:F,otherwise:j})}return f}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),_.errors=function(f,{error:y,state:b}){if(!f.length)return{errors:y("alternatives.any")};if(1===f.length)return{errors:f[0].reports};const E=new Set,M=[];for(const{reports:A,schema:I}of f){if(A.length>1)return _.unmatched(f,y);const F=A[0];if(F instanceof S.Report==0)return _.unmatched(f,y);if(F.state.path.length!==b.path.length){M.push({type:I.type,report:F});continue}if("any.only"===F.code){for(const P of F.local.valids)E.add(P);continue}const[j,T]=F.code.split(".");"base"===T?E.add(j):M.push({type:I.type,report:F})}return M.length?1===M.length?{errors:M[0].report}:_.unmatched(f,y):{errors:y("alternatives.types",{types:[...E]})}},_.unmatched=function(f,y){const b=[];for(const E of f)b.push(...E.reports);return{errors:y("alternatives.match",S.details(b,{override:!1}))}}},8068:(a,l,e)=>{"use strict";const u=e(375),c=e(7629),g=e(8160),v=e(6914);a.exports=c.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(p,S){return u("function"==typeof p,"Method must be a function"),u(void 0===S||S&&"string"==typeof S,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:p,description:S}})},validate(p,S,{method:C}){try{return C(p,S)}catch(_){return S.error("any.custom",{error:_})}},args:["method","description"],multi:!0},messages:{method(p){return this.prefs({messages:p})}},shared:{method(p){u(g.isSchema(p)&&p._flags.id,"Schema must be a schema with an id");const S=this.clone();return S.$_terms.shared=S.$_terms.shared||[],S.$_terms.shared.push(p),S.$_mutateRegister(p),S}},warning:{method(p,S){return u(p&&"string"==typeof p,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:p,local:S},warn:!0})},validate:(p,S,{code:C,local:_})=>S.error(C,_),args:["code","local"],multi:!0}},modifiers:{keep(p,S=!0){p.keep=S},message(p,S){p.message=v.compile(S)},warn(p,S=!0){p.warn=S}},manifest:{build(p,S){for(const C in S){const _=S[C];if(["examples","externals","metas","notes","tags"].includes(C))for(const f of _)p=p[C.slice(0,-1)](f);else if("alterations"!==C)if("whens"!==C){if("shared"===C)for(const f of _)p=p.shared(f)}else for(const f of _){const{ref:y,is:b,not:E,then:M,otherwise:A,concat:I}=f;p=I?p.concat(I):y?p.when(y,{is:b,not:E,then:M,otherwise:A,switch:f.switch,break:f.break}):p.when(b,{then:M,otherwise:A,break:f.break})}else{const f={};for(const{target:y,adjuster:b}of _)f[y]=b;p=p.alter(f)}}return p}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":"{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}","any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},546:(a,l,e)=>{"use strict";const u=e(375),c=e(9474),g=e(9621),v=e(8068),p=e(8160),S=e(3292),C={};a.exports=v.extend({type:"array",flags:{single:{default:!1},sparse:{default:!1}},terms:{items:{init:[],manifest:"schema"},ordered:{init:[],manifest:"schema"},_exclusions:{init:[]},_inclusions:{init:[]},_requireds:{init:[]}},coerce:{from:"object",method(_,{schema:f,state:y,prefs:b}){if(!Array.isArray(_))return;const E=f.$_getRule("sort");return E?C.sort(f,_,E.args.options,y,b):void 0}},validate(_,{schema:f,error:y}){if(!Array.isArray(_)){if(f._flags.single){const b=[_];return b[p.symbols.arraySingle]=!0,{value:b}}return{errors:y("array.base")}}if(f.$_getRule("items")||f.$_terms.externals)return{value:_.slice()}},rules:{has:{method(_){_=this.$_compile(_,{appendPath:!0});const f=this.$_addRule({name:"has",args:{schema:_}});return f.$_mutateRegister(_),f},validate(_,{state:f,prefs:y,error:b},{schema:E}){const M=[_,...f.ancestors];for(let I=0;I<_.length;++I){const F=f.localize([...f.path,I],M,E);if(E.$_match(_[I],F,y))return _}const A=E._flags.label;return A?b("array.hasKnown",{patternLabel:A}):b("array.hasUnknown",null)},multi:!0},items:{method(..._){p.verifyFlat(_,"items");const f=this.$_addRule("items");for(let y=0;y<_.length;++y){const b=p.tryWithPath(()=>this.$_compile(_[y]),y,{append:!0});f.$_terms.items.push(b)}return f.$_mutateRebuild()},validate(_,{schema:f,error:y,state:b,prefs:E,errorsArray:M}){const A=f.$_terms._requireds.slice(),I=f.$_terms.ordered.slice(),F=[...f.$_terms._inclusions,...A],j=!_[p.symbols.arraySingle];delete _[p.symbols.arraySingle];const T=M();let P=_.length;for(let x=0;x="})}},ordered:{method(..._){p.verifyFlat(_,"ordered");const f=this.$_addRule("items");for(let y=0;y<_.length;++y){const b=p.tryWithPath(()=>this.$_compile(_[y]),y,{append:!0});C.validateSingle(b,f),f.$_mutateRegister(b),f.$_terms.ordered.push(b)}return f.$_mutateRebuild()}},single:{method(_){const f=void 0===_||!!_;return u(!f||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",f)}},sort:{method(_={}){p.assertOptions(_,["by","order"]);const f={order:_.order||"ascending"};return _.by&&(f.by=S.ref(_.by,{ancestor:0}),u(!f.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:f}})},validate(_,{error:f,state:y,prefs:b,schema:E},{options:M}){const{value:A,errors:I}=C.sort(E,_,M,y,b);if(I)return I;for(let F=0;F<_.length;++F)if(_[F]!==A[F])return f("array.sort",{order:M.order,by:M.by?M.by.key:"value"});return _},convert:!0},sparse:{method(_){const f=void 0===_||!!_;return this._flags.sparse===f?this:(f?this.clone():this.$_addRule("items")).$_setFlag("sparse",f,{clone:!1})}},unique:{method(_,f={}){u(!_||"function"==typeof _||"string"==typeof _,"comparator must be a function or a string"),p.assertOptions(f,["ignoreUndefined","separator"]);const y={name:"unique",args:{options:f,comparator:_}};if(_)if("string"==typeof _){const b=p.default(f.separator,".");y.path=b?_.split(b):[_]}else y.comparator=_;return this.$_addRule(y)},validate(_,{state:f,error:y},{comparator:E,options:M},{comparator:A,path:I}){const F={string:Object.create(null),number:Object.create(null),undefined:Object.create(null),boolean:Object.create(null),object:new Map,function:new Map,custom:new Map},j=A||c,T=M.ignoreUndefined;for(let P=0;P<_.length;++P){const x=I?g(_[P],I):_[P],N=A?F.custom:F[typeof x];if(u(N,"Failed to find unique map container for type",typeof x),N instanceof Map){const O=N.entries();let H;for(;!(H=O.next()).done;)if(j(H.value[0],x)){const G=f.localize([...f.path,P],[_,...f.ancestors]),te={pos:P,value:_[P],dupePos:H.value[1],dupeValue:_[H.value[1]]};return I&&(te.path=E),y("array.unique",te,G)}N.set(x,P)}else{if((!T||void 0!==x)&&void 0!==N[x]){const O={pos:P,value:_[P],dupePos:N[x],dupeValue:_[N[x]]};return I&&(O.path=E),y("array.unique",O,f.localize([...f.path,P],[_,...f.ancestors]))}N[x]=P}}return _},args:["comparator","options"],multi:!0}},cast:{set:{from:Array.isArray,to:(_,f)=>new Set(_)}},rebuild(_){_.$_terms._inclusions=[],_.$_terms._exclusions=[],_.$_terms._requireds=[];for(const f of _.$_terms.items)C.validateSingle(f,_),"required"===f._flags.presence?_.$_terms._requireds.push(f):"forbidden"===f._flags.presence?_.$_terms._exclusions.push(f):_.$_terms._inclusions.push(f);for(const f of _.$_terms.ordered)C.validateSingle(f,_)},manifest:{build:(_,f)=>(f.items&&(_=_.items(...f.items)),f.ordered&&(_=_.ordered(...f.ordered)),_)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":"{{#label}} does not contain at least one required match for type {:#patternLabel}","array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),C.fillMissedErrors=function(_,f,y,b,E,M){const A=[];let I=0;for(const F of y){const j=F._flags.label;j?A.push(j):++I}f.push(A.length?I?_.$_createError("array.includesRequiredBoth",b,{knownMisses:A,unknownMisses:I},E,M):_.$_createError("array.includesRequiredKnowns",b,{knownMisses:A},E,M):_.$_createError("array.includesRequiredUnknowns",b,{unknownMisses:I},E,M))},C.fillOrderedErrors=function(_,f,y,b,E,M){const A=[];for(const I of y)"required"===I._flags.presence&&A.push(I);A.length&&C.fillMissedErrors(_,f,A,b,E,M)},C.fillDefault=function(_,f,y,b){const E=[];let M=!0;for(let A=_.length-1;A>=0;--A){const I=_[A],F=[f,...y.ancestors],j=I.$_validate(void 0,y.localize(y.path,F,I),b).value;if(M){if(void 0===j)continue;M=!1}E.unshift(j)}E.length&&f.push(...E)},C.fastSplice=function(_,f){let y=f;for(;y<_.length;)_[y++]=_[y];--_.length},C.validateSingle=function(_,f){("array"===_.type||_._flags._arrayItems)&&(u(!f._flags.single,"Cannot specify array item with single rule enabled"),f.$_setFlag("_arrayItems",!0,{clone:!1}))},C.sort=function(_,f,y,b,E){const M="ascending"===y.order?1:-1,A=-1*M,I=M,F=(j,T)=>{let P=C.compare(j,T,A,I);if(null!==P||(y.by&&(j=y.by.resolve(j,b,E),T=y.by.resolve(T,b,E)),P=C.compare(j,T,A,I),null!==P))return P;const x=typeof j;if(x!==typeof T)throw _.$_createError("array.sort.mismatching",f,null,b,E);if("number"!==x&&"string"!==x)throw _.$_createError("array.sort.unsupported",f,{type:x},b,E);return"number"===x?(j-T)*M:j{"use strict";const u=e(375),c=e(8068),g=e(8160),v=e(2036),p={isBool:function(S){return"boolean"==typeof S}};a.exports=c.extend({type:"boolean",flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:"values"},truthy:{init:null,manifest:"values"}},coerce(S,{schema:C}){if("boolean"!=typeof S){if("string"==typeof S){const _=C._flags.sensitive?S:S.toLowerCase();S="true"===_||"false"!==_&&S}return"boolean"!=typeof S&&(S=C.$_terms.truthy&&C.$_terms.truthy.has(S,null,null,!C._flags.sensitive)||(!C.$_terms.falsy||!C.$_terms.falsy.has(S,null,null,!C._flags.sensitive))&&S),{value:S}}},validate(S,{error:C}){if("boolean"!=typeof S)return{value:S,errors:C("boolean.base")}},rules:{truthy:{method(...S){g.verifyFlat(S,"truthy");const C=this.clone();C.$_terms.truthy=C.$_terms.truthy||new v;for(let _=0;_S?1:0},string:{from:p.isBool,to:(S,C)=>S?"true":"false"}},manifest:{build:(S,C)=>(C.truthy&&(S=S.truthy(...C.truthy)),C.falsy&&(S=S.falsy(...C.falsy)),S)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},7500:(a,l,e)=>{"use strict";const u=e(375),c=e(8068),g=e(8160),v=e(3328),p={isDate:function(S){return S instanceof Date}};a.exports=c.extend({type:"date",coerce:{from:["number","string"],method:(S,{schema:C})=>({value:p.parse(S,C._flags.format)||S})},validate(S,{schema:C,error:_,prefs:f}){if(S instanceof Date&&!isNaN(S.getTime()))return;const y=C._flags.format;return f.convert&&y&&"string"==typeof S?{value:S,errors:_("date.format",{format:y})}:{value:S,errors:_("date.base")}},rules:{compare:{method:!1,validate(S,C,{date:_},{name:f,operator:y,args:b}){const E="now"===_?Date.now():_.getTime();return g.compare(S.getTime(),E,y)?S:C.error("date."+f,{limit:b.date,value:S})},args:[{name:"date",ref:!0,normalize:S=>"now"===S?S:p.parse(S),assert:S=>null!==S,message:"must have a valid date format"}]},format:{method(S){return u(["iso","javascript","unix"].includes(S),"Unknown date format",S),this.$_setFlag("format",S)}},greater:{method(S){return this.$_addRule({name:"greater",method:"compare",args:{date:S},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(S){return this.$_addRule({name:"less",method:"compare",args:{date:S},operator:"<"})}},max:{method(S){return this.$_addRule({name:"max",method:"compare",args:{date:S},operator:"<="})}},min:{method(S){return this.$_addRule({name:"min",method:"compare",args:{date:S},operator:">="})}},timestamp:{method(S="javascript"){return u(["javascript","unix"].includes(S),'"type" must be one of "javascript, unix"'),this.format(S)}}},cast:{number:{from:p.isDate,to:(S,C)=>S.getTime()},string:{from:p.isDate,to:(S,{prefs:C})=>v.date(S,C)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":"{{#label}} must be greater than {{:#limit}}","date.less":"{{#label}} must be less than {{:#limit}}","date.max":"{{#label}} must be less than or equal to {{:#limit}}","date.min":"{{#label}} must be greater than or equal to {{:#limit}}","date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),p.parse=function(S,C){if(S instanceof Date)return S;if("string"!=typeof S&&(isNaN(S)||!isFinite(S))||/^\s*$/.test(S))return null;if("iso"===C)return g.isIsoDate(S)?p.date(S.toString()):null;const _=S;if("string"==typeof S&&/^[+-]?\d+(\.\d+)?$/.test(S)&&(S=parseFloat(S)),C){if("javascript"===C)return p.date(1*S);if("unix"===C)return p.date(1e3*S);if("string"==typeof _)return null}return p.date(S)},p.date=function(S){const C=new Date(S);return isNaN(C.getTime())?null:C}},390:(a,l,e)=>{"use strict";const u=e(375),c=e(7824);a.exports=c.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(g){return u(Number.isSafeInteger(g)&&g>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:g}})},validate:(g,v,{n:p})=>g.length===p?g:v.error("function.arity",{n:p})},class:{method(){return this.$_addRule("class")},validate:(g,v)=>/^\s*class\s/.test(g.toString())?g:v.error("function.class",{value:g})},minArity:{method(g){return u(Number.isSafeInteger(g)&&g>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:g}})},validate:(g,v,{n:p})=>g.length>=p?g:v.error("function.minArity",{n:p})},maxArity:{method(g){return u(Number.isSafeInteger(g)&&g>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:g}})},validate:(g,v,{n:p})=>g.length<=p?g:v.error("function.maxArity",{n:p})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},7824:(a,l,e)=>{"use strict";const u=e(978),c=e(375),g=e(8571),v=e(3652),p=e(8068),S=e(8160),C=e(3292),_=e(6354),f=e(6133),y=e(3328),b={renameDefaults:{alias:!1,multiple:!1,override:!1}};a.exports=p.extend({type:"_keys",properties:{typeof:"object"},flags:{unknown:{default:!1}},terms:{dependencies:{init:null},keys:{init:null,manifest:{mapped:{from:"schema",to:"key"}}},patterns:{init:null},renames:{init:null}},args:(E,M)=>E.keys(M),validate(E,{schema:M,error:A,state:I,prefs:F}){if(!E||typeof E!==M.$_property("typeof")||Array.isArray(E))return{value:E,errors:A("object.base",{type:M.$_property("typeof")})};if(!(M.$_terms.renames||M.$_terms.dependencies||M.$_terms.keys||M.$_terms.patterns||M.$_terms.externals))return;E=b.clone(E,F);const j=[];if(M.$_terms.renames&&!b.rename(M,E,I,F,j))return{value:E,errors:j};if(!M.$_terms.keys&&!M.$_terms.patterns&&!M.$_terms.dependencies)return{value:E,errors:j};const T=new Set(Object.keys(E));if(M.$_terms.keys){const P=[E,...I.ancestors];for(const x of M.$_terms.keys){const N=x.key,O=E[N];T.delete(N);const H=I.localize([...I.path,N],P,x),G=x.schema.$_validate(O,H,F);if(G.errors){if(F.abortEarly)return{value:E,errors:G.errors};void 0!==G.value&&(E[N]=G.value),j.push(...G.errors)}else"strip"===x.schema._flags.result||void 0===G.value&&void 0!==O?delete E[N]:void 0!==G.value&&(E[N]=G.value)}}if(T.size||M._flags._hasPatternMatch){const P=b.unknown(M,E,T,j,I,F);if(P)return P}if(M.$_terms.dependencies)for(const P of M.$_terms.dependencies){if(null!==P.key&&!1===b.isPresent(P.options)(P.key.resolve(E,I,F,null,{shadow:!1})))continue;const x=b.dependencies[P.rel](M,P,E,I,F);if(x){const N=M.$_createError(x.code,E,x.context,I,F);if(F.abortEarly)return{value:E,errors:N};j.push(N)}}return{value:E,errors:j}},rules:{and:{method(...E){return S.verifyFlat(E,"and"),b.dependency(this,"and",null,E)}},append:{method(E){return null==E||0===Object.keys(E).length?this:this.keys(E)}},assert:{method(E,M,A){y.isTemplate(E)||(E=C.ref(E)),c(void 0===A||"string"==typeof A,"Message must be a string"),M=this.$_compile(M,{appendPath:!0});const I=this.$_addRule({name:"assert",args:{subject:E,schema:M,message:A}});return I.$_mutateRegister(E),I.$_mutateRegister(M),I},validate(E,{error:M,prefs:A,state:I},{subject:F,schema:j,message:T}){const P=F.resolve(E,I,A),x=f.isRef(F)?F.absolute(I):[];return j.$_match(P,I.localize(x,[E,...I.ancestors],j),A)?E:M("object.assert",{subject:F,message:T})},args:["subject","schema","message"],multi:!0},instance:{method(E,M){return c("function"==typeof E,"constructor must be a function"),this.$_addRule({name:"instance",args:{constructor:E,name:M=M||E.name}})},validate:(E,M,{constructor:A,name:I})=>E instanceof A?E:M.error("object.instance",{type:I,value:E}),args:["constructor","name"]},keys:{method(E){c(void 0===E||"object"==typeof E,"Object schema must be a valid object"),c(!S.isSchema(E),"Object schema cannot be a joi schema");const M=this.clone();if(E)if(Object.keys(E).length){M.$_terms.keys=M.$_terms.keys?M.$_terms.keys.filter(A=>!E.hasOwnProperty(A.key)):new b.Keys;for(const A in E)S.tryWithPath(()=>M.$_terms.keys.push({key:A,schema:this.$_compile(E[A])}),A)}else M.$_terms.keys=new b.Keys;else M.$_terms.keys=null;return M.$_mutateRebuild()}},length:{method(E){return this.$_addRule({name:"length",args:{limit:E},operator:"="})},validate:(E,M,{limit:A},{name:I,operator:F,args:j})=>S.compare(Object.keys(E).length,A,F)?E:M.error("object."+I,{limit:j.limit,value:E}),args:[{name:"limit",ref:!0,assert:S.limit,message:"must be a positive integer"}]},max:{method(E){return this.$_addRule({name:"max",method:"length",args:{limit:E},operator:"<="})}},min:{method(E){return this.$_addRule({name:"min",method:"length",args:{limit:E},operator:">="})}},nand:{method(...E){return S.verifyFlat(E,"nand"),b.dependency(this,"nand",null,E)}},or:{method(...E){return S.verifyFlat(E,"or"),b.dependency(this,"or",null,E)}},oxor:{method(...E){return b.dependency(this,"oxor",null,E)}},pattern:{method(E,M,A={}){const I=E instanceof RegExp;I||(E=this.$_compile(E,{appendPath:!0})),c(void 0!==M,"Invalid rule"),S.assertOptions(A,["fallthrough","matches"]),I&&c(!E.flags.includes("g")&&!E.flags.includes("y"),"pattern should not use global or sticky mode"),M=this.$_compile(M,{appendPath:!0});const F=this.clone();F.$_terms.patterns=F.$_terms.patterns||[];const j={[I?"regex":"schema"]:E,rule:M};return A.matches&&(j.matches=this.$_compile(A.matches),"array"!==j.matches.type&&(j.matches=j.matches.$_root.array().items(j.matches)),F.$_mutateRegister(j.matches),F.$_setFlag("_hasPatternMatch",!0,{clone:!1})),A.fallthrough&&(j.fallthrough=!0),F.$_terms.patterns.push(j),F.$_mutateRegister(M),F}},ref:{method(){return this.$_addRule("ref")},validate:(E,M)=>f.isRef(E)?E:M.error("object.refType",{value:E})},regex:{method(){return this.$_addRule("regex")},validate:(E,M)=>E instanceof RegExp?E:M.error("object.regex",{value:E})},rename:{method(E,M,A={}){c("string"==typeof E||E instanceof RegExp,"Rename missing the from argument"),c("string"==typeof M||M instanceof y,"Invalid rename to argument"),c(M!==E,"Cannot rename key to same name:",E),S.assertOptions(A,["alias","ignoreUndefined","override","multiple"]);const I=this.clone();I.$_terms.renames=I.$_terms.renames||[];for(const F of I.$_terms.renames)c(F.from!==E,"Cannot rename the same key multiple times");return M instanceof y&&I.$_mutateRegister(M),I.$_terms.renames.push({from:E,to:M,options:u(b.renameDefaults,A)}),I}},schema:{method(E="any"){return this.$_addRule({name:"schema",args:{type:E}})},validate:(E,M,{type:A})=>!S.isSchema(E)||"any"!==A&&E.type!==A?M.error("object.schema",{type:A}):E},unknown:{method(E){return this.$_setFlag("unknown",!1!==E)}},with:{method(E,M,A={}){return b.dependency(this,"with",E,M,A)}},without:{method(E,M,A={}){return b.dependency(this,"without",E,M,A)}},xor:{method(...E){return S.verifyFlat(E,"xor"),b.dependency(this,"xor",null,E)}}},overrides:{default(E,M){return void 0===E&&(E=S.symbols.deepDefault),this.$_parent("default",E,M)}},rebuild(E){if(E.$_terms.keys){const M=new v.Sorter;for(const A of E.$_terms.keys)S.tryWithPath(()=>M.add(A,{after:A.schema.$_rootReferences(),group:A.key}),A.key);E.$_terms.keys=new b.Keys(...M.nodes)}},manifest:{build(E,M){if(M.keys&&(E=E.keys(M.keys)),M.dependencies)for(const{rel:A,key:I=null,peers:F,options:j}of M.dependencies)E=b.dependency(E,A,I,F,j);if(M.patterns)for(const{regex:A,schema:I,rule:F,fallthrough:j,matches:T}of M.patterns)E=E.pattern(A||I,F,{fallthrough:j,matches:T});if(M.renames)for(const{from:A,to:I,options:F}of M.renames)E=E.rename(A,I,F);return E}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":"{{#label}} must be an instance of {{:#type}}","object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":"{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}","object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":"{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}","object.rename.override":"{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists","object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":"{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}","object.without":"{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}","object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),b.clone=function(E,M){if("object"==typeof E){if(M.nonEnumerables)return g(E,{shallow:!0});const I=Object.create(Object.getPrototypeOf(E));return Object.assign(I,E),I}const A=function(...I){return E.apply(this,I)};return A.prototype=g(E.prototype),Object.defineProperty(A,"name",{value:E.name,writable:!1}),Object.defineProperty(A,"length",{value:E.length,writable:!1}),Object.assign(A,E),A},b.dependency=function(E,M,A,I,F){c(null===A||"string"==typeof A,M,"key must be a strings"),F||(F=I.length>1&&"object"==typeof I[I.length-1]?I.pop():{}),S.assertOptions(F,["separator","isPresent"]),I=[].concat(I);const j=S.default(F.separator,"."),T=[];for(const x of I)c("string"==typeof x,M,"peers must be strings"),T.push(C.ref(x,{separator:j,ancestor:0,prefix:!1}));null!==A&&(A=C.ref(A,{separator:j,ancestor:0,prefix:!1}));const P=E.clone();return P.$_terms.dependencies=P.$_terms.dependencies||[],P.$_terms.dependencies.push(new b.Dependency(M,A,T,I,F)),P},b.dependencies={and(E,M,A,I,F){const j=[],T=[],P=M.peers.length,x=b.isPresent(M.options);for(const N of M.peers)!1===x(N.resolve(A,I,F,null,{shadow:!1}))?j.push(N.key):T.push(N.key);if(j.length!==P&&T.length!==P)return{code:"object.and",context:{present:T,presentWithLabels:b.keysToLabels(E,T),missing:j,missingWithLabels:b.keysToLabels(E,j)}}},nand(E,M,A,I,F){const j=[],T=b.isPresent(M.options);for(const N of M.peers)T(N.resolve(A,I,F,null,{shadow:!1}))&&j.push(N.key);if(j.length!==M.peers.length)return;const P=M.paths[0],x=M.paths.slice(1);return{code:"object.nand",context:{main:P,mainWithLabel:b.keysToLabels(E,P),peers:x,peersWithLabels:b.keysToLabels(E,x)}}},or(E,M,A,I,F){const j=b.isPresent(M.options);for(const T of M.peers)if(j(T.resolve(A,I,F,null,{shadow:!1})))return;return{code:"object.missing",context:{peers:M.paths,peersWithLabels:b.keysToLabels(E,M.paths)}}},oxor(E,M,A,I,F){const j=[],T=b.isPresent(M.options);for(const x of M.peers)T(x.resolve(A,I,F,null,{shadow:!1}))&&j.push(x.key);if(!j.length||1===j.length)return;const P={peers:M.paths,peersWithLabels:b.keysToLabels(E,M.paths)};return P.present=j,P.presentWithLabels=b.keysToLabels(E,j),{code:"object.oxor",context:P}},with(E,M,A,I,F){const j=b.isPresent(M.options);for(const T of M.peers)if(!1===j(T.resolve(A,I,F,null,{shadow:!1})))return{code:"object.with",context:{main:M.key.key,mainWithLabel:b.keysToLabels(E,M.key.key),peer:T.key,peerWithLabel:b.keysToLabels(E,T.key)}}},without(E,M,A,I,F){const j=b.isPresent(M.options);for(const T of M.peers)if(j(T.resolve(A,I,F,null,{shadow:!1})))return{code:"object.without",context:{main:M.key.key,mainWithLabel:b.keysToLabels(E,M.key.key),peer:T.key,peerWithLabel:b.keysToLabels(E,T.key)}}},xor(E,M,A,I,F){const j=[],T=b.isPresent(M.options);for(const x of M.peers)T(x.resolve(A,I,F,null,{shadow:!1}))&&j.push(x.key);if(1===j.length)return;const P={peers:M.paths,peersWithLabels:b.keysToLabels(E,M.paths)};return 0===j.length?{code:"object.missing",context:P}:(P.present=j,P.presentWithLabels=b.keysToLabels(E,j),{code:"object.xor",context:P})}},b.keysToLabels=function(E,M){return Array.isArray(M)?M.map(A=>E.$_mapLabels(A)):E.$_mapLabels(M)},b.isPresent=function(E){return"function"==typeof E.isPresent?E.isPresent:M=>void 0!==M},b.rename=function(E,M,A,I,F){const j={};for(const T of E.$_terms.renames){const P=[],x="string"!=typeof T.from;if(x)for(const N in M){if(void 0===M[N]&&T.options.ignoreUndefined||N===T.to)continue;const O=T.from.exec(N);O&&P.push({from:N,to:T.to,match:O})}else!Object.prototype.hasOwnProperty.call(M,T.from)||void 0===M[T.from]&&T.options.ignoreUndefined||P.push(T);for(const N of P){const O=N.from;let H=N.to;if(H instanceof y&&(H=H.render(M,A,I,N.match)),O!==H){if(!T.options.multiple&&j[H]&&(F.push(E.$_createError("object.rename.multiple",M,{from:O,to:H,pattern:x},A,I)),I.abortEarly)||Object.prototype.hasOwnProperty.call(M,H)&&!T.options.override&&!j[H]&&(F.push(E.$_createError("object.rename.override",M,{from:O,to:H,pattern:x},A,I)),I.abortEarly))return!1;void 0===M[O]?delete M[H]:M[H]=M[O],j[H]=!0,T.options.alias||delete M[O]}}}return!0},b.unknown=function(E,M,A,I,F,j){if(E.$_terms.patterns){let T=!1;const P=E.$_terms.patterns.map(N=>{if(N.matches)return T=!0,[]}),x=[M,...F.ancestors];for(const N of A){const O=M[N],H=[...F.path,N];for(let G=0;G{"use strict";const u=e(375),c=e(8068),g=e(8160),v=e(3292),p=e(6354),S={};a.exports=c.extend({type:"link",properties:{schemaChain:!0},terms:{link:{init:null,manifest:"single",register:!1}},args:(C,_)=>C.ref(_),validate(C,{schema:_,state:f,prefs:y}){u(_.$_terms.link,"Uninitialized link schema");const b=S.generate(_,C,f,y);return b.$_validate(C,f.nest(b,`link:${_.$_terms.link[0].ref.display}:${b.type}`),y)},generate:(C,_,f,y)=>S.generate(C,_,f,y),rules:{ref:{method(C){u(!this.$_terms.link,"Cannot reinitialize schema"),C=v.ref(C),u("value"===C.type||"local"===C.type,"Invalid reference type:",C.type),u("local"===C.type||"root"===C.ancestor||C.ancestor>0,"Link cannot reference itself");const _=this.clone();return _.$_terms.link=[{ref:C}],_}},relative:{method(C=!0){return this.$_setFlag("relative",C)}}},overrides:{concat(C){u(this.$_terms.link,"Uninitialized link schema"),u(g.isSchema(C),"Invalid schema object"),u("link"!==C.type,"Cannot merge type link with another link");const _=this.clone();return _.$_terms.whens||(_.$_terms.whens=[]),_.$_terms.whens.push({concat:C}),_.$_mutateRebuild()}},manifest:{build:(C,_)=>(u(_.link,"Invalid link description missing link"),C.ref(_.link))}}),S.generate=function(C,_,f,y){let b=f.mainstay.links.get(C);if(b)return b._generate(_,f,y).schema;const E=C.$_terms.link[0].ref,{perspective:M,path:A}=S.perspective(E,f);S.assert(M,"which is outside of schema boundaries",E,C,f,y);try{b=A.length?M.$_reach(A):M}catch{S.assert(!1,"to non-existing schema",E,C,f,y)}return S.assert("link"!==b.type,"which is another link",E,C,f,y),C._flags.relative||f.mainstay.links.set(C,b),b._generate(_,f,y).schema},S.perspective=function(C,_){if("local"===C.type){for(const{schema:f,key:y}of _.schemas){if((f._flags.id||y)===C.path[0])return{perspective:f,path:C.path.slice(1)};if(f.$_terms.shared)for(const b of f.$_terms.shared)if(b._flags.id===C.path[0])return{perspective:b,path:C.path.slice(1)}}return{perspective:null,path:null}}return"root"===C.ancestor?{perspective:_.schemas[_.schemas.length-1].schema,path:C.path}:{perspective:_.schemas[C.ancestor]&&_.schemas[C.ancestor].schema,path:C.path}},S.assert=function(C,_,f,y,b,E){C||u(!1,`"${p.label(y._flags,b,E)}" contains link reference "${f.display}" ${_}`)}},3832:(a,l,e)=>{"use strict";const u=e(375),c=e(8068),g=e(8160),v={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,exponentialPartRegex:/[eE][+-]?\d+$/,leadingSignAndZerosRegex:/^[+-]?(0*)?/,dotRegex:/\./,trailingZerosRegex:/0+$/,decimalPlaces(p){const S=p.toString(),C=S.indexOf("."),_=S.indexOf("e");return(C<0?0:(_<0?S.length:_)-C-1)+(_<0?0:Math.max(0,-parseInt(S.slice(_+1))))}};a.exports=c.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(p,{schema:S,error:C}){if(!p.match(v.numberRx))return;p=p.trim();const _={value:parseFloat(p)};if(0===_.value&&(_.value=0),!S._flags.unsafe)if(p.match(/e/i)){if(v.extractSignificantDigits(p)!==v.extractSignificantDigits(String(_.value)))return _.errors=C("number.unsafe"),_}else{const f=_.value.toString();if(f.match(/e/i))return _;if(f!==v.normalizeDecimal(p))return _.errors=C("number.unsafe"),_}return _}},validate(p,{schema:S,error:C,prefs:_}){if(p===1/0||p===-1/0)return{value:p,errors:C("number.infinity")};if(!g.isNumber(p))return{value:p,errors:C("number.base")};const f={value:p};if(_.convert){const y=S.$_getRule("precision");if(y){const b=Math.pow(10,y.args.limit);f.value=Math.round(f.value*b)/b}}return 0===f.value&&(f.value=0),!S._flags.unsafe&&(p>Number.MAX_SAFE_INTEGER||pg.compare(p,C,f)?p:S.error("number."+_,{limit:y.limit,value:p}),args:[{name:"limit",ref:!0,assert:g.isNumber,message:"must be a number"}]},greater:{method(p){return this.$_addRule({name:"greater",method:"compare",args:{limit:p},operator:">"})}},integer:{method(){return this.$_addRule("integer")},validate:(p,S)=>Math.trunc(p)-p==0?p:S.error("number.integer")},less:{method(p){return this.$_addRule({name:"less",method:"compare",args:{limit:p},operator:"<"})}},max:{method(p){return this.$_addRule({name:"max",method:"compare",args:{limit:p},operator:"<="})}},min:{method(p){return this.$_addRule({name:"min",method:"compare",args:{limit:p},operator:">="})}},multiple:{method(p){const S="number"==typeof p?v.decimalPlaces(p):null,C=Math.pow(10,S);return this.$_addRule({name:"multiple",args:{base:p,baseDecimalPlace:S,pfactor:C}})},validate:(p,S,{base:C,baseDecimalPlace:_,pfactor:f},y)=>v.decimalPlaces(p)>_?S.error("number.multiple",{multiple:y.args.base,value:p}):Math.round(f*p)%Math.round(f*C)==0?p:S.error("number.multiple",{multiple:y.args.base,value:p}),args:[{name:"base",ref:!0,assert:p=>"number"==typeof p&&isFinite(p)&&p>0,message:"must be a positive number"},"baseDecimalPlace","pfactor"],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(p,S)=>Number.isSafeInteger(p)&&p>=0&&p<=65535?p:S.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(p){return u(Number.isSafeInteger(p),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:p}})},validate(p,S,{limit:C}){const _=p.toString().match(v.precisionRx);return Math.max((_[1]?_[1].length:0)-(_[2]?parseInt(_[2],10):0),0)<=C?p:S.error("number.precision",{limit:C,value:p})},convert:!0},sign:{method(p){return u(["negative","positive"].includes(p),"Invalid sign",p),this.$_addRule({name:"sign",args:{sign:p}})},validate:(p,S,{sign:C})=>"negative"===C&&p<0||"positive"===C&&p>0?p:S.error(`number.${C}`)},unsafe:{method(p=!0){return u("boolean"==typeof p,"enabled must be a boolean"),this.$_setFlag("unsafe",p)}}},cast:{string:{from:p=>"number"==typeof p,to:(p,S)=>p.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be greater than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),v.extractSignificantDigits=function(p){return p.replace(v.exponentialPartRegex,"").replace(v.dotRegex,"").replace(v.trailingZerosRegex,"").replace(v.leadingSignAndZerosRegex,"")},v.normalizeDecimal=function(p){return(p=p.replace(/^\+/,"").replace(/\.0*$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([0-9])/,"$1$2")).includes(".")&&p.endsWith("0")&&(p=p.replace(/0+$/,"")),"-0"===p?"0":p}},8966:(a,l,e)=>{"use strict";const u=e(7824);a.exports=u.extend({type:"object",cast:{map:{from:c=>c&&"object"==typeof c,to:(c,g)=>new Map(Object.entries(c))}}})},7417:(a,l,e)=>{"use strict";const u=e(375),c=e(5380),g=e(1745),v=e(9959),p=e(6064),S=e(9926),C=e(5752),_=e(8068),f=e(8160),y={tlds:S instanceof Set&&{tlds:{allow:S,deny:null}},base64Regex:{true:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}==|[\w\-]{3}=)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/},false:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}(==)?|[\w\-]{3}=?)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}(==)?|[A-Za-z0-9+\/]{3}=?)?$/}},dataUriRegex:/^data:[\w+.-]+\/[\w+.-]+;((charset=[\w-]+|base64),)?(.*)$/,hexRegex:{withPrefix:/^0x[0-9a-f]+$/i,withOptionalPrefix:/^(?:0x)?[0-9a-f]+$/i,withoutPrefix:/^[0-9a-f]+$/i},ipRegex:v.regex({cidr:"forbidden"}).regex,isoDurationRegex:/^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$/,guidBrackets:{"{":"}","[":"]","(":")","":""},guidVersions:{uuidv1:"1",uuidv2:"2",uuidv3:"3",uuidv4:"4",uuidv5:"5",uuidv6:"6",uuidv7:"7",uuidv8:"8"},guidSeparators:new Set([void 0,!0,!1,"-",":"]),normalizationForms:["NFC","NFD","NFKC","NFKD"]};a.exports=_.extend({type:"string",flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:"string",method(b,{schema:E,state:M,prefs:A}){const I=E.$_getRule("normalize");I&&(b=b.normalize(I.args.form));const F=E.$_getRule("case");F&&(b="upper"===F.args.direction?b.toLocaleUpperCase():b.toLocaleLowerCase());const j=E.$_getRule("trim");if(j&&j.args.enabled&&(b=b.trim()),E.$_terms.replacements)for(const P of E.$_terms.replacements)b=b.replace(P.pattern,P.replacement);const T=E.$_getRule("hex");if(T&&T.args.options.byteAligned&&b.length%2!=0&&(b=`0${b}`),E.$_getRule("isoDate")){const P=y.isoDate(b);P&&(b=P)}if(E._flags.truncate){const P=E.$_getRule("max");if(P){let x=P.args.limit;if(f.isResolvable(x)&&(x=x.resolve(b,M,A),!f.limit(x)))return{value:b,errors:E.$_createError("any.ref",x,{ref:P.args.limit,arg:"limit",reason:"must be a positive integer"},M,A)};b=b.slice(0,x)}}return{value:b}}},validate(b,{schema:E,error:M}){if("string"!=typeof b)return{value:b,errors:M("string.base")};if(""===b){const A=E.$_getRule("min");return A&&0===A.args.limit?void 0:{value:b,errors:M("string.empty")}}},rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(b,E)=>/^[a-zA-Z0-9]+$/.test(b)?b:E.error("string.alphanum")},base64:{method(b={}){return f.assertOptions(b,["paddingRequired","urlSafe"]),b={urlSafe:!1,paddingRequired:!0,...b},u("boolean"==typeof b.paddingRequired,"paddingRequired must be boolean"),u("boolean"==typeof b.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:b}})},validate:(b,E,{options:M})=>y.base64Regex[M.paddingRequired][M.urlSafe].test(b)?b:E.error("string.base64")},case:{method(b){return u(["lower","upper"].includes(b),"Invalid case:",b),this.$_addRule({name:"case",args:{direction:b}})},validate:(b,E,{direction:M})=>"lower"===M&&b===b.toLocaleLowerCase()||"upper"===M&&b===b.toLocaleUpperCase()?b:E.error(`string.${M}case`),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(b,E){let M=b.length,A=0,I=1;for(;M--;){const F=b.charAt(M)*I;A+=F-9*(F>9),I^=3}return A>0&&A%10==0?b:E.error("string.creditCard")}},dataUri:{method(b={}){return f.assertOptions(b,["paddingRequired"]),b={paddingRequired:!0,...b},u("boolean"==typeof b.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:b}})},validate(b,E,{options:M}){const A=b.match(y.dataUriRegex);return!A||A[2]&&"base64"===A[2]&&!y.base64Regex[M.paddingRequired].false.test(A[3])?E.error("string.dataUri"):b}},domain:{method(b){b&&f.assertOptions(b,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const E=y.addressOptions(b);return this.$_addRule({name:"domain",args:{options:b},address:E})},validate:(b,E,M,{address:A})=>c.isValid(b,A)?b:E.error("string.domain")},email:{method(b={}){f.assertOptions(b,["allowFullyQualified","allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),u(void 0===b.multiple||"boolean"==typeof b.multiple,"multiple option must be an boolean");const E=y.addressOptions(b),M=new RegExp(`\\s*[${b.separator?p(b.separator):","}]\\s*`);return this.$_addRule({name:"email",args:{options:b},regex:M,address:E})},validate(b,E,{options:M},{regex:A,address:I}){const F=M.multiple?b.split(A):[b],j=[];for(const T of F)g.isValid(T,I)||j.push(T);return j.length?E.error("string.email",{value:b,invalids:j}):b}},guid:{alias:"uuid",method(b={}){f.assertOptions(b,["version","separator"]);let E="";if(b.version){const I=[].concat(b.version);u(I.length>=1,"version must have at least 1 valid version specified");const F=new Set;for(let j=0;j("optional"===M.prefix?y.hexRegex.withOptionalPrefix:!0===M.prefix?y.hexRegex.withPrefix:y.hexRegex.withoutPrefix).test(b)?M.byteAligned&&b.length%2!=0?E.error("string.hexAlign"):b:E.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(b,E)=>c.isValid(b,{minDomainSegments:1})||y.ipRegex.test(b)?b:E.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(b={}){f.assertOptions(b,["cidr","version"]);const{cidr:E,versions:M,regex:A}=v.regex(b);return this.$_addRule({name:"ip",args:{options:{cidr:E,version:b.version?M:void 0}},regex:A})},validate:(b,E,{options:M},{regex:A})=>A.test(b)?b:M.version?E.error("string.ipVersion",{value:b,cidr:M.cidr,version:M.version}):E.error("string.ip",{value:b,cidr:M.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(b,{error:E})=>y.isoDate(b)?b:E("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(b,E)=>y.isoDurationRegex.test(b)?b:E.error("string.isoDuration")},length:{method(b,E){return y.length(this,"length",b,"=",E)},validate:(b,E,{limit:M,encoding:A},{name:I,operator:F,args:j})=>f.compare(!A&&b.length,M,F)?b:E.error("string."+I,{limit:j.limit,value:b,encoding:A}),args:[{name:"limit",ref:!0,assert:f.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(b,E){return y.length(this,"max",b,"<=",E)},args:["limit","encoding"]},min:{method(b,E){return y.length(this,"min",b,">=",E)},args:["limit","encoding"]},normalize:{method(b="NFC"){return u(y.normalizationForms.includes(b),"normalization form must be one of "+y.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:b}})},validate:(b,{error:E},{form:M})=>b===b.normalize(M)?b:E("string.normalize",{value:b,form:M}),convert:!0},pattern:{alias:"regex",method(b,E={}){u(b instanceof RegExp,"regex must be a RegExp"),u(!b.flags.includes("g")&&!b.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof E&&(E={name:E}),f.assertOptions(E,["invert","name"]);const M=["string.pattern",E.invert?".invert":"",E.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:b,options:E},errorCode:M})},validate:(b,E,{regex:M,options:A},{errorCode:I})=>M.test(b)^A.invert?b:E.error(I,{name:A.name,regex:M,value:b}),args:["regex","options"],multi:!0},replace:{method(b,E){"string"==typeof b&&(b=new RegExp(p(b),"g")),u(b instanceof RegExp,"pattern must be a RegExp"),u("string"==typeof E,"replacement must be a String");const M=this.clone();return M.$_terms.replacements||(M.$_terms.replacements=[]),M.$_terms.replacements.push({pattern:b,replacement:E}),M}},token:{method(){return this.$_addRule("token")},validate:(b,E)=>/^\w+$/.test(b)?b:E.error("string.token")},trim:{method(b=!0){return u("boolean"==typeof b,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:b}})},validate:(b,E,{enabled:M})=>M&&b!==b.trim()?E.error("string.trim"):b,convert:!0},truncate:{method(b=!0){return u("boolean"==typeof b,"enabled must be a boolean"),this.$_setFlag("truncate",b)}},uppercase:{method(){return this.case("upper")}},uri:{method(b={}){f.assertOptions(b,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),b.domain&&f.assertOptions(b.domain,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:E,scheme:M}=C.regex(b),A=b.domain?y.addressOptions(b.domain):null;return this.$_addRule({name:"uri",args:{options:b},regex:E,domain:A,scheme:M})},validate(b,E,{options:M},{regex:A,domain:I,scheme:F}){if(["http:/","https:/"].includes(b))return E.error("string.uri");const j=A.exec(b);if(j){const T=j[1]||j[2];return!I||M.allowRelative&&!T||c.isValid(T,I)?b:E.error("string.domain",{value:T})}return M.relativeOnly?E.error("string.uriRelativeOnly"):M.scheme?E.error("string.uriCustomScheme",{scheme:F,value:b}):E.error("string.uri")}}},manifest:{build(b,E){if(E.replacements)for(const{pattern:M,replacement:A}of E.replacements)b=b.replace(M,A);return b}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":"{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}","string.pattern.name":"{{#label}} with value {:[.]} fails to match the {{#name}} pattern","string.pattern.invert.base":"{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}","string.pattern.invert.name":"{{#label}} with value {:[.]} matches the inverted {{#name}} pattern","string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),y.addressOptions=function(b){if(!b)return y.tlds||b;if(u(void 0===b.minDomainSegments||Number.isSafeInteger(b.minDomainSegments)&&b.minDomainSegments>0,"minDomainSegments must be a positive integer"),u(void 0===b.maxDomainSegments||Number.isSafeInteger(b.maxDomainSegments)&&b.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===b.tlds)return b;if(!0===b.tlds||void 0===b.tlds)return u(y.tlds,"Built-in TLD list disabled"),Object.assign({},b,y.tlds);u("object"==typeof b.tlds,"tlds must be true, false, or an object");const E=b.tlds.deny;if(E)return Array.isArray(E)&&(b=Object.assign({},b,{tlds:{deny:new Set(E)}})),u(b.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),u(!b.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),y.validateTlds(b.tlds.deny,"tlds.deny"),b;const M=b.tlds.allow;return M?!0===M?(u(y.tlds,"Built-in TLD list disabled"),Object.assign({},b,y.tlds)):(Array.isArray(M)&&(b=Object.assign({},b,{tlds:{allow:new Set(M)}})),u(b.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),y.validateTlds(b.tlds.allow,"tlds.allow"),b):b},y.validateTlds=function(b,E){for(const M of b)u(c.isValid(M,{minDomainSegments:1,maxDomainSegments:1}),`${E} must contain valid top level domain names`)},y.isoDate=function(b){if(!f.isIsoDate(b))return null;/.*T.*[+-]\d\d$/.test(b)&&(b+="00");const E=new Date(b);return isNaN(E.getTime())?null:E.toISOString()},y.length=function(b,E,M,A,I){return u(!I||!1,"Invalid encoding:",I),b.$_addRule({name:E,method:"length",args:{limit:M,encoding:I},operator:A})}},8826:(a,l,e)=>{"use strict";const u=e(375),c=e(8068),g={};g.Map=class extends Map{slice(){return new g.Map(this)}},a.exports=c.extend({type:"symbol",terms:{map:{init:new g.Map}},coerce:{method(v,{schema:p,error:S}){const C=p.$_terms.map.get(v);return C&&(v=C),p._flags.only&&"symbol"!=typeof v?{value:v,errors:S("symbol.map",{map:p.$_terms.map})}:{value:v}}},validate(v,{error:p}){if("symbol"!=typeof v)return{value:v,errors:p("symbol.base")}},rules:{map:{method(v){v&&!v[Symbol.iterator]&&"object"==typeof v&&(v=Object.entries(v)),u(v&&v[Symbol.iterator],"Iterable must be an iterable or object");const p=this.clone(),S=[];for(const C of v){u(C&&C[Symbol.iterator],"Entry must be an iterable");const[_,f]=C;u("object"!=typeof _&&"function"!=typeof _&&"symbol"!=typeof _,"Key must not be of type object, function, or Symbol"),u("symbol"==typeof f,"Value must be a Symbol"),p.$_terms.map.set(_,f),S.push(f)}return p.valid(...S)}}},manifest:{build:(v,p)=>(p.map&&(v=v.map(p.map)),v)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})},8863:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(738),v=e(9621),p=e(8160),S=e(6354),C=e(493),_={result:Symbol("result")};l.entry=function(f,y,b){let E=p.defaults;b&&(u(void 0===b.warnings,"Cannot override warnings preference in synchronous validation"),u(void 0===b.artifacts,"Cannot override artifacts preference in synchronous validation"),E=p.preferences(p.defaults,b));const M=_.entry(f,y,E);u(!M.mainstay.externals.length,"Schema with external rules must use validateAsync()");const A={value:M.value};return M.error&&(A.error=M.error),M.mainstay.warnings.length&&(A.warning=S.details(M.mainstay.warnings)),M.mainstay.debug&&(A.debug=M.mainstay.debug),M.mainstay.artifacts&&(A.artifacts=M.mainstay.artifacts),A},l.entryAsync=function(){var f=n(function*(y,b,E){let M=p.defaults;E&&(M=p.preferences(p.defaults,E));const A=_.entry(y,b,M),I=A.mainstay;if(A.error)throw I.debug&&(A.error.debug=I.debug),A.error;if(I.externals.length){let j=A.value;const T=[];for(const P of I.externals){const x=P.state.path,N="link"===P.schema.type?I.links.get(P.schema):null;let O,H,G=j;const te=x.length?[j]:[],ue=x.length?v(y,x):y;if(x.length){O=x[x.length-1];let se=j;for(const K of x.slice(0,-1))se=se[K],te.unshift(se);H=te[0],G=H[O]}try{const se=(Z,re)=>(N||P.schema).$_createError(Z,G,re,P.state,M),K=yield P.method(G,{schema:P.schema,linked:N,state:P.state,prefs:E,original:ue,error:se,errorsArray:_.errorsArray,warn:(Z,re)=>I.warnings.push((N||P.schema).$_createError(Z,G,re,P.state,M)),message:(Z,re)=>(N||P.schema).$_createError("external",G,re,P.state,M,{messages:Z})});if(void 0===K||K===G)continue;if(K instanceof S.Report){if(I.tracer.log(P.schema,P.state,"rule","external","error"),T.push(K),M.abortEarly)break;continue}if(Array.isArray(K)&&K[p.symbols.errors]){if(I.tracer.log(P.schema,P.state,"rule","external","error"),T.push(...K),M.abortEarly)break;continue}H?(I.tracer.value(P.state,"rule",G,K,"external"),H[O]=K):(I.tracer.value(P.state,"rule",j,K,"external"),j=K)}catch(se){throw M.errors.label&&(se.message+=` (${P.label})`),se}}if(A.value=j,T.length)throw A.error=S.process(T,y,M),I.debug&&(A.error.debug=I.debug),A.error}if(!M.warnings&&!M.debug&&!M.artifacts)return A.value;const F={value:A.value};return I.warnings.length&&(F.warning=S.details(I.warnings)),I.debug&&(F.debug=I.debug),I.artifacts&&(F.artifacts=I.artifacts),F});return function(y,b,E){return f.apply(this,arguments)}}(),_.Mainstay=class{constructor(f,y,b){this.externals=[],this.warnings=[],this.tracer=f,this.debug=y,this.links=b,this.shadow=null,this.artifacts=null,this._snapshots=[]}snapshot(){this._snapshots.push({externals:this.externals.slice(),warnings:this.warnings.slice()})}restore(){const f=this._snapshots.pop();this.externals=f.externals,this.warnings=f.warnings}commit(){this._snapshots.pop()}},_.entry=function(f,y,b){const{tracer:E,cleanup:M}=_.tracer(y,b),F=new _.Mainstay(E,b.debug?[]:null,y._ids._schemaChain?new Map:null),T=new C([],[],{mainstay:F,schemas:y._ids._schemaChain?[{schema:y}]:null}),P=l.validate(f,y,T,b);M&&y.$_root.untrace();const x=S.process(P.errors,f,b);return{value:P.value,error:x,mainstay:F}},_.tracer=function(f,y){return f.$_root._tracer?{tracer:f.$_root._tracer._register(f)}:y.debug?(u(f.$_root.trace,"Debug mode not supported"),{tracer:f.$_root.trace()._register(f),cleanup:!0}):{tracer:_.ignore}},l.validate=function(f,y,b,E,M={}){if(y.$_terms.whens&&(y=y._generate(f,b,E).schema),y._preferences&&(E=_.prefs(y,E)),y._cache&&E.cache){const x=y._cache.get(f);if(b.mainstay.tracer.debug(b,"validate","cached",!!x),x)return x}const A=(x,N,O)=>y.$_createError(x,f,N,O||b,E),I={original:f,prefs:E,schema:y,state:b,error:A,errorsArray:_.errorsArray,warn:(x,N,O)=>b.mainstay.warnings.push(A(x,N,O)),message:(x,N)=>y.$_createError("custom",f,N,b,E,{messages:x})};b.mainstay.tracer.entry(y,b);const F=y._definition;if(F.prepare&&void 0!==f&&E.convert){const x=F.prepare(f,I);if(x){if(b.mainstay.tracer.value(b,"prepare",f,x.value),x.errors)return _.finalize(x.value,[].concat(x.errors),I);f=x.value}}if(F.coerce&&void 0!==f&&E.convert&&(!F.coerce.from||F.coerce.from.includes(typeof f))){const x=F.coerce.method(f,I);if(x){if(b.mainstay.tracer.value(b,"coerced",f,x.value),x.errors)return _.finalize(x.value,[].concat(x.errors),I);f=x.value}}const j=y._flags.empty;j&&j.$_match(_.trim(f,y),b.nest(j),p.defaults)&&(b.mainstay.tracer.value(b,"empty",f,void 0),f=void 0);const T=M.presence||y._flags.presence||(y._flags._endedSwitch?null:E.presence);if(void 0===f){if("forbidden"===T)return _.finalize(f,null,I);if("required"===T)return _.finalize(f,[y.$_createError("any.required",f,null,b,E)],I);if("optional"===T){if(y._flags.default!==p.symbols.deepDefault)return _.finalize(f,null,I);b.mainstay.tracer.value(b,"default",f,{}),f={}}}else if("forbidden"===T)return _.finalize(f,[y.$_createError("any.unknown",f,null,b,E)],I);const P=[];if(y._valids){const x=y._valids.get(f,b,E,y._flags.insensitive);if(x)return E.convert&&(b.mainstay.tracer.value(b,"valids",f,x.value),f=x.value),b.mainstay.tracer.filter(y,b,"valid",x),_.finalize(f,null,I);if(y._flags.only){const N=y.$_createError("any.only",f,{valids:y._valids.values({display:!0})},b,E);if(E.abortEarly)return _.finalize(f,[N],I);P.push(N)}}if(y._invalids){const x=y._invalids.get(f,b,E,y._flags.insensitive);if(x){b.mainstay.tracer.filter(y,b,"invalid",x);const N=y.$_createError("any.invalid",f,{invalids:y._invalids.values({display:!0})},b,E);if(E.abortEarly)return _.finalize(f,[N],I);P.push(N)}}if(F.validate){const x=F.validate(f,I);if(x&&(b.mainstay.tracer.value(b,"base",f,x.value),f=x.value,x.errors)){if(!Array.isArray(x.errors))return P.push(x.errors),_.finalize(f,P,I);if(x.errors.length)return P.push(...x.errors),_.finalize(f,P,I)}}return y._rules.length?_.rules(f,P,I):_.finalize(f,P,I)},_.rules=function(f,y,b){const{schema:E,state:M,prefs:A}=b;for(const I of E._rules){const F=E._definition.rules[I.method];if(F.convert&&A.convert){M.mainstay.tracer.log(E,M,"rule",I.name,"full");continue}let j,T=I.args;if(I._resolve.length){T=Object.assign({},T);for(const x of I._resolve){const N=F.argsByName.get(x),O=T[x].resolve(f,M,A),H=N.normalize?N.normalize(O):O,G=p.validateArg(H,null,N);if(G){j=E.$_createError("any.ref",O,{arg:x,ref:T[x],reason:G},M,A);break}T[x]=H}}j=j||F.validate(f,b,T,I);const P=_.rule(j,I);if(P.errors){if(M.mainstay.tracer.log(E,M,"rule",I.name,"error"),I.warn){M.mainstay.warnings.push(...P.errors);continue}if(A.abortEarly)return _.finalize(f,P.errors,b);y.push(...P.errors)}else M.mainstay.tracer.log(E,M,"rule",I.name,"pass"),M.mainstay.tracer.value(M,"rule",f,P.value,I.name),f=P.value}return _.finalize(f,y,b)},_.rule=function(f,y){return f instanceof S.Report?(_.error(f,y),{errors:[f],value:null}):Array.isArray(f)&&f[p.symbols.errors]?(f.forEach(b=>_.error(b,y)),{errors:f,value:null}):{errors:null,value:f}},_.error=function(f,y){return y.message&&f._setTemplate(y.message),f},_.finalize=function(f,y,b){y=y||[];const{schema:E,state:M,prefs:A}=b;if(y.length){const F=_.default("failover",void 0,y,b);void 0!==F&&(M.mainstay.tracer.value(M,"failover",f,F),f=F,y=[])}if(y.length&&E._flags.error)if("function"==typeof E._flags.error){y=E._flags.error(y),Array.isArray(y)||(y=[y]);for(const F of y)u(F instanceof Error||F instanceof S.Report,"error() must return an Error object")}else y=[E._flags.error];if(void 0===f){const F=_.default("default",f,y,b);M.mainstay.tracer.value(M,"default",f,F),f=F}if(E._flags.cast&&void 0!==f){const F=E._definition.cast[E._flags.cast];if(F.from(f)){const j=F.to(f,b);M.mainstay.tracer.value(M,"cast",f,j,E._flags.cast),f=j}}if(E.$_terms.externals&&A.externals&&!1!==A._externals)for(const{method:F}of E.$_terms.externals)M.mainstay.externals.push({method:F,schema:E,state:M,label:S.label(E._flags,M,A)});const I={value:f,errors:y.length?y:null};return E._flags.result&&(I.value="strip"===E._flags.result?void 0:b.original,M.mainstay.tracer.value(M,E._flags.result,f,I.value),M.shadow(f,E._flags.result)),E._cache&&!1!==A.cache&&!E._refs.length&&E._cache.set(b.original,I),void 0===f||I.errors||void 0===E._flags.artifact||(M.mainstay.artifacts=M.mainstay.artifacts||new Map,M.mainstay.artifacts.has(E._flags.artifact)||M.mainstay.artifacts.set(E._flags.artifact,[]),M.mainstay.artifacts.get(E._flags.artifact).push(M.path)),I},_.prefs=function(f,y){const b=y===p.defaults;return b&&f._preferences[p.symbols.prefs]?f._preferences[p.symbols.prefs]:(y=p.preferences(y,f._preferences),b&&(f._preferences[p.symbols.prefs]=y),y)},_.default=function(f,y,b,E){const{schema:M,state:A,prefs:I}=E,F=M._flags[f];if(I.noDefaults||void 0===F)return y;if(A.mainstay.tracer.log(M,A,"rule",f,"full"),!F)return F;if("function"==typeof F){const j=F.length?[c(A.ancestors[0]),E]:[];try{return F(...j)}catch(T){return void b.push(M.$_createError(`any.${f}`,null,{error:T},A,I))}}return"object"!=typeof F?F:F[p.symbols.literal]?F.literal:p.isResolvable(F)?F.resolve(y,A,I):c(F)},_.trim=function(f,y){if("string"!=typeof f)return f;const b=y.$_getRule("trim");return b&&b.args.enabled?f.trim():f},_.ignore={active:!1,debug:g,entry:g,filter:g,log:g,resolve:g,value:g},_.errorsArray=function(){const f=[];return f[p.symbols.errors]=!0,f}},2036:(a,l,e)=>{"use strict";const u=e(375),c=e(9474),g=e(8160),v={};a.exports=v.Values=class{constructor(p,S){this._values=new Set(p),this._refs=new Set(S),this._lowercase=v.lowercases(p),this._override=!1}get length(){return this._values.size+this._refs.size}add(p,S){g.isResolvable(p)?this._refs.has(p)||(this._refs.add(p),S&&S.register(p)):this.has(p,null,null,!1)||(this._values.add(p),"string"==typeof p&&this._lowercase.set(p.toLowerCase(),p))}static merge(p,S,C){if(p=p||new v.Values,S){if(S._override)return S.clone();for(const _ of[...S._values,...S._refs])p.add(_)}if(C)for(const _ of[...C._values,...C._refs])p.remove(_);return p.length?p:null}remove(p){g.isResolvable(p)?this._refs.delete(p):(this._values.delete(p),"string"==typeof p&&this._lowercase.delete(p.toLowerCase()))}has(p,S,C,_){return!!this.get(p,S,C,_)}get(p,S,C,_){if(!this.length)return!1;if(this._values.has(p))return{value:p};if("string"==typeof p&&p&&_){const f=this._lowercase.get(p.toLowerCase());if(f)return{value:f}}if(!this._refs.size&&"object"!=typeof p)return!1;if("object"==typeof p)for(const f of this._values)if(c(f,p))return{value:f};if(S)for(const f of this._refs){const y=f.resolve(p,S,C,null,{in:!0});if(void 0===y)continue;const b=f.in&&"object"==typeof y?Array.isArray(y)?y:Object.keys(y):[y];for(const E of b)if(typeof E==typeof p)if(_&&p&&"string"==typeof p){if(E.toLowerCase()===p.toLowerCase())return{value:E,ref:f}}else if(c(E,p))return{value:E,ref:f}}return!1}override(){this._override=!0}values(p){if(p&&p.display){const S=[];for(const C of[...this._values,...this._refs])void 0!==C&&S.push(C);return S}return Array.from([...this._values,...this._refs])}clone(){const p=new v.Values(this._values,this._refs);return p._override=this._override,p}concat(p){u(!p._override,"Cannot concat override set of values");const S=new v.Values([...this._values,...p._values],[...this._refs,...p._refs]);return S._override=this._override,S}describe(){const p=[];this._override&&p.push({override:!0});for(const S of this._values.values())p.push(S&&"object"==typeof S?{value:S}:S);for(const S of this._refs.values())p.push(S.describe());return p}},v.Values.prototype[g.symbols.values]=!0,v.Values.prototype.slice=v.Values.prototype.clone,v.lowercases=function(p){const S=new Map;if(p)for(const C of p)"string"==typeof C&&S.set(C.toLowerCase(),C);return S}},978:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(1687),v=e(9621),p={};a.exports=function(S,C,_={}){if(u(S&&"object"==typeof S,"Invalid defaults value: must be an object"),u(!C||!0===C||"object"==typeof C,"Invalid source value: must be true, falsy or an object"),u("object"==typeof _,"Invalid options: must be an object"),!C)return null;if(_.shallow)return p.applyToDefaultsWithShallow(S,C,_);const f=c(S);return!0===C?f:g(f,C,{nullOverride:void 0!==_.nullOverride&&_.nullOverride,mergeArrays:!1})},p.applyToDefaultsWithShallow=function(S,C,_){const f=_.shallow;u(Array.isArray(f),"Invalid keys");const y=new Map,b=!0===C?null:new Set;for(let A of f){A=Array.isArray(A)?A:A.split(".");const I=v(S,A);I&&"object"==typeof I?y.set(I,b&&v(C,A)||I):b&&b.add(A)}const E=c(S,{},y);if(!b)return E;for(const A of b)p.reachCopy(E,C,A);return g(E,C,{nullOverride:void 0!==_.nullOverride&&_.nullOverride,mergeArrays:!1})},p.reachCopy=function(S,C,_){for(const b of _){if(!(b in C))return;const E=C[b];if("object"!=typeof E||null===E)return;C=E}const f=C;let y=S;for(let b=0;b<_.length-1;++b){const E=_[b];"object"!=typeof y[E]&&(y[E]={}),y=y[E]}y[_[_.length-1]]=f}},375:(a,l,e)=>{"use strict";const u=e(7916);a.exports=function(c,...g){if(!c)throw 1===g.length&&g[0]instanceof Error?g[0]:new u(g)}},8571:(a,l,e)=>{"use strict";const u=e(9621),c=e(4277),g=e(7043),v={needsProtoHack:new Set([c.set,c.map,c.weakSet,c.weakMap])};a.exports=v.clone=function(p,S={},C=null){if("object"!=typeof p||null===p)return p;let _=v.clone,f=C;if(S.shallow){if(!0!==S.shallow)return v.cloneWithShallow(p,S);_=M=>M}else if(f){const M=f.get(p);if(M)return M}else f=new Map;const y=c.getInternalProto(p);if(y===c.buffer)return!1;if(y===c.date)return new Date(p.getTime());if(y===c.regex)return new RegExp(p);const b=v.base(p,y,S);if(b===p)return p;if(f&&f.set(p,b),y===c.set)for(const M of p)b.add(_(M,S,f));else if(y===c.map)for(const[M,A]of p)b.set(M,_(A,S,f));const E=g.keys(p,S);for(const M of E){if("__proto__"===M)continue;if(y===c.array&&"length"===M){b.length=p.length;continue}const A=Object.getOwnPropertyDescriptor(p,M);A?A.get||A.set?Object.defineProperty(b,M,A):A.enumerable?b[M]=_(p[M],S,f):Object.defineProperty(b,M,{enumerable:!1,writable:!0,configurable:!0,value:_(p[M],S,f)}):Object.defineProperty(b,M,{enumerable:!0,writable:!0,configurable:!0,value:_(p[M],S,f)})}return b},v.cloneWithShallow=function(p,S){const C=S.shallow;(S=Object.assign({},S)).shallow=!1;const _=new Map;for(const f of C){const y=u(p,f);"object"!=typeof y&&"function"!=typeof y||_.set(y,y)}return v.clone(p,S,_)},v.base=function(p,S,C){if(!1===C.prototype)return v.needsProtoHack.has(S)?new S.constructor:S===c.array?[]:{};const _=Object.getPrototypeOf(p);if(_&&_.isImmutable)return p;if(S===c.array){const f=[];return _!==S&&Object.setPrototypeOf(f,_),f}if(v.needsProtoHack.has(S)){const f=new _.constructor;return _!==S&&Object.setPrototypeOf(f,_),f}return Object.create(_)}},9474:(a,l,e)=>{"use strict";const u=e(4277),c={mismatched:null};a.exports=function(g,v,p){return p=Object.assign({prototype:!0},p),!!c.isDeepEqual(g,v,p,[])},c.isDeepEqual=function(g,v,p,S){if(g===v)return 0!==g||1/g==1/v;const C=typeof g;if(C!==typeof v||null===g||null===v)return!1;if("function"===C){if(!p.deepFunction||g.toString()!==v.toString())return!1}else if("object"!==C)return g!=g&&v!=v;const _=c.getSharedType(g,v,!!p.prototype);switch(_){case u.buffer:return!1;case u.promise:return g===v;case u.regex:return g.toString()===v.toString();case c.mismatched:return!1}for(let f=S.length-1;f>=0;--f)if(S[f].isSame(g,v))return!0;S.push(new c.SeenEntry(g,v));try{return!!c.isDeepEqualObj(_,g,v,p,S)}finally{S.pop()}},c.getSharedType=function(g,v,p){if(p)return Object.getPrototypeOf(g)!==Object.getPrototypeOf(v)?c.mismatched:u.getInternalProto(g);const S=u.getInternalProto(g);return S!==u.getInternalProto(v)?c.mismatched:S},c.valueOf=function(g){const v=g.valueOf;if(void 0===v)return g;try{return v.call(g)}catch(p){return p}},c.hasOwnEnumerableProperty=function(g,v){return Object.prototype.propertyIsEnumerable.call(g,v)},c.isSetSimpleEqual=function(g,v){for(const p of Set.prototype.values.call(g))if(!Set.prototype.has.call(v,p))return!1;return!0},c.isDeepEqualObj=function(g,v,p,S,C){const{isDeepEqual:_,valueOf:f,hasOwnEnumerableProperty:y}=c,{keys:b,getOwnPropertySymbols:E}=Object;if(g===u.array){if(!S.part){if(v.length!==p.length)return!1;for(let j=0;j{"use strict";const u=e(8761);a.exports=class extends Error{constructor(c){super(c.filter(g=>""!==g).map(g=>"string"==typeof g?g:g instanceof Error?g.message:u(g)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,l.assert)}}},5277:a=>{"use strict";const l={};a.exports=function(e){if(!e)return"";let u="";for(let c=0;c=256?"&#"+e+";":`&#x${e.toString(16).padStart(2,"0")};`)},l.isSafe=function(e){return l.safeCharCodes.has(e)},l.namedHtml=new Map([[38,"&"],[60,"<"],[62,">"],[34,"""],[160," "],[162,"¢"],[163,"£"],[164,"¤"],[169,"©"],[174,"®"]]),l.safeCharCodes=function(){const e=new Set;for(let u=32;u<123;++u)(u>=97||u>=65&&u<=90||u>=48&&u<=57||32===u||46===u||44===u||45===u||58===u||95===u)&&e.add(u);return e}()},6064:a=>{"use strict";a.exports=function(l){return l.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}},738:a=>{"use strict";a.exports=function(){}},1687:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(7043),v={};a.exports=v.merge=function(p,S,C){if(u(p&&"object"==typeof p,"Invalid target value: must be an object"),u(null==S||"object"==typeof S,"Invalid source value: must be null, undefined, or an object"),!S)return p;if(C=Object.assign({nullOverride:!0,mergeArrays:!0},C),Array.isArray(S)){u(Array.isArray(p),"Cannot merge array onto an object"),C.mergeArrays||(p.length=0);for(let f=0;f{"use strict";const u=e(375),c={};a.exports=function(g,v,p){if(!1===v||null==v)return g;"string"==typeof(p=p||{})&&(p={separator:p});const S=Array.isArray(v);u(!S||!p.separator,"Separator option is not valid for array-based chain");const C=S?v:v.split(p.separator||".");let _=g;for(let f=0;f{"use strict";a.exports=function(...l){try{return JSON.stringify(...l)}catch(e){return"[Cannot display object: "+e.message+"]"}}},4277:(a,l)=>{"use strict";const e={};l=a.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},e.typeMap=new Map([["[object Error]",l.error],["[object Map]",l.map],["[object Promise]",l.promise],["[object Set]",l.set],["[object WeakMap]",l.weakMap],["[object WeakSet]",l.weakSet]]),l.getInternalProto=function(u){if(Array.isArray(u))return l.array;if(u instanceof Date)return l.date;if(u instanceof RegExp)return l.regex;if(u instanceof Error)return l.error;const c=Object.prototype.toString.call(u);return e.typeMap.get(c)||l.generic}},7043:(a,l)=>{"use strict";l.keys=function(e,u={}){return!1!==u.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},3652:(a,l,e)=>{"use strict";const u=e(375),c={};l.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(g,v){const p=[].concat((v=v||{}).before||[]),S=[].concat(v.after||[]),C=v.group||"?",_=v.sort||0;u(!p.includes(C),`Item cannot come before itself: ${C}`),u(!p.includes("?"),"Item cannot come before unassociated items"),u(!S.includes(C),`Item cannot come after itself: ${C}`),u(!S.includes("?"),"Item cannot come after unassociated items"),Array.isArray(g)||(g=[g]);for(const f of g)this._items.push({seq:this._items.length,sort:_,before:p,after:S,group:C,node:f});if(!v.manual){const f=this._sort();u(f,"item","?"!==C?`added into group ${C}`:"","created a dependencies error")}return this.nodes}merge(g){Array.isArray(g)||(g=[g]);for(const p of g)if(p)for(const S of p._items)this._items.push(Object.assign({},S));this._items.sort(c.mergeSort);for(let p=0;pg.sort===v.sort?0:g.sort{"use strict";const u=e(443),c=e(2178),g={minDomainSegments:2,nonAsciiRx:/[^\x00-\x7f]/,domainControlRx:/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,tldSegmentRx:/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,domainSegmentRx:/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL:u.URL||URL};l.analyze=function(v,p={}){if(!v)return c.code("DOMAIN_NON_EMPTY_STRING");if("string"!=typeof v)throw new Error("Invalid input: domain must be a string");if(v.length>256)return c.code("DOMAIN_TOO_LONG");if(g.nonAsciiRx.test(v)){if(!1===p.allowUnicode)return c.code("DOMAIN_INVALID_UNICODE_CHARS");v=v.normalize("NFC")}if(g.domainControlRx.test(v))return c.code("DOMAIN_INVALID_CHARS");v=g.punycode(v),p.allowFullyQualified&&"."===v[v.length-1]&&(v=v.slice(0,-1));const S=p.minDomainSegments||g.minDomainSegments,C=v.split(".");if(C.lengthp.maxDomainSegments)return c.code("DOMAIN_SEGMENTS_COUNT_MAX");const _=p.tlds;if(_){const f=C[C.length-1].toLowerCase();if(_.deny&&_.deny.has(f)||_.allow&&!_.allow.has(f))return c.code("DOMAIN_FORBIDDEN_TLDS")}for(let f=0;f63)return c.code("DOMAIN_LONG_SEGMENT");if(f{"use strict";const u=e(9848),c=e(5380),g=e(2178),v={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(u.TextEncoder||TextEncoder)};l.analyze=function(p,S){return v.email(p,S)},l.isValid=function(p,S){return!v.email(p,S)},v.email=function(p,S={}){if("string"!=typeof p)throw new Error("Invalid input: email must be a string");if(!p)return g.code("EMPTY_STRING");const C=!v.nonAsciiRx.test(p);if(!C){if(!1===S.allowUnicode)return g.code("FORBIDDEN_UNICODE");p=p.normalize("NFC")}const _=p.split("@");if(2!==_.length)return g.code(_.length>2?"MULTIPLE_AT_CHAR":"MISSING_AT_CHAR");const[f,y]=_;if(!f)return g.code("EMPTY_LOCAL");if(!S.ignoreLength){if(p.length>254)return g.code("ADDRESS_TOO_LONG");if(v.encoder.encode(f).length>64)return g.code("LOCAL_TOO_LONG")}return v.local(f,C)||c.analyze(y,S)},v.local=function(p,S){const C=p.split(".");for(const _ of C){if(!_.length)return g.code("EMPTY_LOCAL_SEGMENT");if(S){if(!v.atextRx.test(_))return g.code("INVALID_LOCAL_CHARS")}else for(const f of _){if(v.atextRx.test(f))continue;const y=v.binary(f);if(!v.atomRx.test(y))return g.code("INVALID_LOCAL_CHARS")}}},v.binary=function(p){return Array.from(v.encoder.encode(p)).map(S=>String.fromCharCode(S)).join("")},v.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,v.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"))},2178:(a,l)=>{"use strict";l.codes={EMPTY_STRING:"Address must be a non-empty string",FORBIDDEN_UNICODE:"Address contains forbidden Unicode characters",MULTIPLE_AT_CHAR:"Address cannot contain more than one @ character",MISSING_AT_CHAR:"Address must contain one @ character",EMPTY_LOCAL:"Address local part cannot be empty",ADDRESS_TOO_LONG:"Address too long",LOCAL_TOO_LONG:"Address local part too long",EMPTY_LOCAL_SEGMENT:"Address local part contains empty dot-separated segment",INVALID_LOCAL_CHARS:"Address local part contains invalid character",DOMAIN_NON_EMPTY_STRING:"Domain must be a non-empty string",DOMAIN_TOO_LONG:"Domain too long",DOMAIN_INVALID_UNICODE_CHARS:"Domain contains forbidden Unicode characters",DOMAIN_INVALID_CHARS:"Domain contains invalid character",DOMAIN_INVALID_TLDS_CHARS:"Domain contains invalid tld character",DOMAIN_SEGMENTS_COUNT:"Domain lacks the minimum required number of segments",DOMAIN_SEGMENTS_COUNT_MAX:"Domain contains too many segments",DOMAIN_FORBIDDEN_TLDS:"Domain uses forbidden TLD",DOMAIN_EMPTY_SEGMENT:"Domain contains empty dot-separated segment",DOMAIN_LONG_SEGMENT:"Domain contains dot-separated segment that is too long"},l.code=function(e){return{code:e,error:l.codes[e]}}},9959:(a,l,e)=>{"use strict";const u=e(375),c=e(5752);l.regex=function(g={}){u(void 0===g.cidr||"string"==typeof g.cidr,"options.cidr must be a string");const v=g.cidr?g.cidr.toLowerCase():"optional";u(["required","optional","forbidden"].includes(v),"options.cidr must be one of required, optional, forbidden"),u(void 0===g.version||"string"==typeof g.version||Array.isArray(g.version),"options.version must be a string or an array of string");let p=g.version||["ipv4","ipv6","ipvfuture"];Array.isArray(p)||(p=[p]),u(p.length>=1,"options.version must have at least 1 version specified");for(let _=0;_{if("forbidden"===v)return c.ip[_];const f=`\\/${"ipv4"===_?c.ip.v4Cidr:c.ip.v6Cidr}`;return"required"===v?`${c.ip[_]}${f}`:`${c.ip[_]}(?:${f})?`}).join("|")})`,C=new RegExp(`^${S}$`);return{cidr:v,versions:p,regex:C,raw:S}}},5752:(a,l,e)=>{"use strict";const u=e(375),c=e(6064),g={generate:function(){const v={},p="\\dA-Fa-f",S="["+p+"]",C="\\w-\\.~",_="!\\$&'\\(\\)\\*\\+,;=",f="%"+p,y=C+f+_+":@",b="["+y+"]",E="(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";v.ipv4address="(?:"+E+"\\.){3}"+E;const M=S+"{1,4}",A="(?:"+M+":"+M+"|"+v.ipv4address+")",I="(?:"+M+":){6}"+A,F="::(?:"+M+":){5}"+A,j="(?:"+M+")?::(?:"+M+":){4}"+A,T="(?:(?:"+M+":){0,1}"+M+")?::(?:"+M+":){3}"+A,P="(?:(?:"+M+":){0,2}"+M+")?::(?:"+M+":){2}"+A,x="(?:(?:"+M+":){0,3}"+M+")?::"+M+":"+A,N="(?:(?:"+M+":){0,4}"+M+")?::"+A,O="(?:(?:"+M+":){0,5}"+M+")?::"+M,H="(?:(?:"+M+":){0,6}"+M+")?::";v.ipv4Cidr="(?:\\d|[1-2]\\d|3[0-2])",v.ipv6Cidr="(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])",v.ipv6address="(?:"+I+"|"+F+"|"+j+"|"+T+"|"+P+"|"+x+"|"+N+"|"+O+"|"+H+")",v.ipvFuture="v"+S+"+\\.["+C+_+":]+",v.scheme="[a-zA-Z][a-zA-Z\\d+-\\.]*",v.schemeRegex=new RegExp(v.scheme);const G="["+C+f+_+":]*",ue="(?:\\[(?:"+v.ipv6address+"|"+v.ipvFuture+")\\]|"+v.ipv4address+"|["+C+f+_+"]{1,255})",se="(?:"+G+"@)?"+ue+"(?::\\d*)?",K="(?:"+G+"@)?("+ue+")(?::\\d*)?",Z=b+"*",re=b+"+",J="(?:\\/"+Z+")*",Y="\\/(?:"+re+J+")?",$=re+J,le="["+C+f+_+"@]+"+J;return v.hierPart="(?:(?:\\/\\/"+se+J+")|"+Y+"|"+$+"|(?:\\/\\/\\/"+Z+J+"))",v.hierPartCapture="(?:(?:\\/\\/"+K+J+")|"+Y+"|"+$+")",v.relativeRef="(?:(?:\\/\\/"+se+J+")|"+Y+"|"+le+"|)",v.relativeRefCapture="(?:(?:\\/\\/"+K+J+")|"+Y+"|"+le+"|)",v.query="["+y+"\\/\\?]*(?=#|$)",v.queryWithSquareBrackets="["+y+"\\[\\]\\/\\?]*(?=#|$)",v.fragment="["+y+"\\/\\?]*",v}};g.rfc3986=g.generate(),l.ip={v4Cidr:g.rfc3986.ipv4Cidr,v6Cidr:g.rfc3986.ipv6Cidr,ipv4:g.rfc3986.ipv4address,ipv6:g.rfc3986.ipv6address,ipvfuture:g.rfc3986.ipvFuture},g.createRegex=function(v){const p=g.rfc3986,S="(?:\\?"+(v.allowQuerySquareBrackets?p.queryWithSquareBrackets:p.query)+")?(?:#"+p.fragment+")?",C=v.domain?p.relativeRefCapture:p.relativeRef;if(v.relativeOnly)return g.wrap(C+S);let _="";if(v.scheme){u(v.scheme instanceof RegExp||"string"==typeof v.scheme||Array.isArray(v.scheme),"scheme must be a RegExp, String, or Array");const b=[].concat(v.scheme);u(b.length>=1,"scheme must have at least 1 scheme specified");const E=[];for(let M=0;M{"use strict";const e={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};l.Parser=class{constructor(u,c={}){if(!c[e.settings]&&c.constants)for(const g in c.constants){const v=c.constants[g];if(null!==v&&!["boolean","number","string"].includes(typeof v))throw new Error(`Formula constant ${g} contains invalid ${typeof v} value type`)}this.settings=c[e.settings]?c:Object.assign({[e.settings]:!0,constants:{},functions:{}},c),this.single=null,this._parts=null,this._parse(u)}_parse(u){let c=[],g="",v=0,p=!1;const S=_=>{if(v)throw new Error("Formula missing closing parenthesis");const f=c.length?c[c.length-1]:null;if(p||g||_){if(f&&"reference"===f.type&&")"===_)return f.type="function",f.value=this._subFormula(g,f.value),void(g="");if(")"===_){const y=new l.Parser(g,this.settings);c.push({type:"segment",value:y})}else if(p){if("]"===p)return c.push({type:"reference",value:g}),void(g="");c.push({type:"literal",value:g})}else if(e.operatorCharacters.includes(g))f&&"operator"===f.type&&e.operators.includes(f.value+g)?f.value+=g:c.push({type:"operator",value:g});else if(g.match(e.numberRx))c.push({type:"constant",value:parseFloat(g)});else if(void 0!==this.settings.constants[g])c.push({type:"constant",value:this.settings.constants[g]});else{if(!g.match(e.tokenRx))throw new Error(`Formula contains invalid token: ${g}`);c.push({type:"reference",value:g})}g=""}};for(const _ of u)p?_===p?(S(),p=!1):g+=_:v?"("===_?(g+=_,++v):")"===_?(--v,v?g+=_:S(_)):g+=_:_ in e.literals?p=e.literals[_]:"("===_?(S(),++v):e.operatorCharacters.includes(_)?(S(),g=_,S()):" "!==_?g+=_:S();S(),c=c.map((_,f)=>"operator"!==_.type||"-"!==_.value||f&&"operator"!==c[f-1].type?_:{type:"operator",value:"n"});let C=!1;for(const _ of c){if("operator"===_.type){if(e.operatorsPrefix.includes(_.value))continue;if(!C)throw new Error("Formula contains an operator in invalid position");if(!e.operators.includes(_.value))throw new Error(`Formula contains an unknown operator ${_.value}`)}else if(C)throw new Error("Formula missing expected operator");C=!C}if(!C)throw new Error("Formula contains invalid trailing operator");1===c.length&&["reference","literal","constant"].includes(c[0].type)&&(this.single={type:"reference"===c[0].type?"reference":"value",value:c[0].value}),this._parts=c.map(_=>{if("operator"===_.type)return e.operatorsPrefix.includes(_.value)?_:_.value;if("reference"!==_.type)return _.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(_.value))throw new Error(`Formula contains invalid reference ${_.value}`);return this.settings.reference?this.settings.reference(_.value):e.reference(_.value)})}_subFormula(u,c){const g=this.settings.functions[c];if("function"!=typeof g)throw new Error(`Formula contains unknown function ${c}`);let v=[];if(u){let p="",S=0,C=!1;const _=()=>{if(!p)throw new Error(`Formula contains function ${c} with invalid arguments ${u}`);v.push(p),p=""};for(let f=0;fnew l.Parser(p,this.settings)),function(p){const S=[];for(const C of v)S.push(C.evaluate(p));return g.call(p,...S)}}evaluate(u){const c=this._parts.slice();for(let g=c.length-2;g>=0;--g){const v=c[g];if(v&&"operator"===v.type){const p=c[g+1];c.splice(g+1,1);const S=e.evaluate(p,u);c[g]=e.single(v.value,S)}}return e.operatorsOrder.forEach(g=>{for(let v=1;v":return c>g;case">=":return c>=g;case"==":return c===g;case"!=":return c!==g;case"&&":return c&&g;case"||":return c||g}return null},e.exists=function(u){return null!=u}},9926:()=>{},5688:()=>{},9708:()=>{},1152:()=>{},443:()=>{},9848:()=>{},5934:a=>{"use strict";a.exports=JSON.parse('{"version":"17.12.2"}')}},d={},function a(l){var e=d[l];if(void 0!==e)return e.exports;var u=d[l]={exports:{}};return i[l](u,u.exports,a),u.exports}(5107))},94091:function(pe,h,o){var n,i,d,a,l;a=this,l=function(a){var l=!1,e=!1,u=!1,c=!1,g="escape years months weeks days hours minutes seconds milliseconds general".split(" "),v=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}];function p(ve,_e){return!(_e.length>ve.length)&&-1!==ve.indexOf(_e)}function S(ve){for(var _e="";ve;)_e+="0",ve-=1;return _e}function _(ve,_e){var Ze=ve+"+"+P(se(_e).sort(),function(ot){return ot+":"+_e[ot]}).join(",");return _.cache[Ze]||(_.cache[Ze]=Intl.NumberFormat(ve,_e)),_.cache[Ze]}function f(ve,_e,Pe){var Ze=_e.useToLocaleString,ot=_e.useGrouping,tt=ot&&_e.grouping.slice(),mt=_e.maximumSignificantDigits,Qe=_e.minimumIntegerDigits||1,Ct=_e.fractionDigits||0,Xe=_e.groupingSeparator,nt=_e.decimalSeparator;if(Ze&&Pe){var tn,Pt={minimumIntegerDigits:Qe,useGrouping:ot};return Ct&&(Pt.maximumFractionDigits=Ct,Pt.minimumFractionDigits=Ct),mt&&ve>0&&(Pt.maximumSignificantDigits=mt),u?(c||((tn=ue({},_e)).useGrouping=!1,tn.decimalSeparator=".",ve=parseFloat(f(ve,tn),10)),_(Pe,Pt).format(ve)):(e||((tn=ue({},_e)).useGrouping=!1,tn.decimalSeparator=".",ve=parseFloat(f(ve,tn),10)),ve.toLocaleString(Pe,Pt))}var wn,An,_n,qt=(mt?ve.toPrecision(mt+1):ve.toFixed(Ct+1)).split("e");_n=qt[1]||"";var ht=(wn=(qt=qt[0].split("."))[0]||"").length,Ue=(An=qt[1]||"").length,Ee=ht+Ue,Te=wn+An;(mt&&Ee===mt+1||!mt&&Ue===Ct+1)&&(Te=function C(ve){for(var _e=ve.split("").reverse(),Pe=0,Ze=!0;Ze&&Pe<_e.length;)Pe?"9"===_e[Pe]?_e[Pe]="0":(_e[Pe]=(parseInt(_e[Pe],10)+1).toString(),Ze=!1):(parseInt(_e[Pe],10)<5&&(Ze=!1),_e[Pe]="0"),Pe+=1;return Ze&&_e.push("1"),_e.reverse().join("")}(Te),Te.length===Ee+1&&(ht+=1),Ue&&(Te=Te.slice(0,-1)),wn=Te.slice(0,ht),An=Te.slice(ht)),mt&&(An=An.replace(/0*$/,""));var $e=parseInt(_n,10);$e>0?An.length<=$e?(wn+=An+=S($e-An.length),An=""):(wn+=An.slice(0,$e),An=An.slice($e)):$e<0&&(An=S(Math.abs($e)-wn.length)+wn+An,wn="0"),mt||((An=An.slice(0,Ct)).length_e.label.length?-1:ve.label.length<_e.label.length?1:0}_.cache={};var M={durationLabelsStandard:{S:"millisecond",SS:"milliseconds",s:"second",ss:"seconds",m:"minute",mm:"minutes",h:"hour",hh:"hours",d:"day",dd:"days",w:"week",ww:"weeks",M:"month",MM:"months",y:"year",yy:"years"},durationLabelsShort:{S:"msec",SS:"msecs",s:"sec",ss:"secs",m:"min",mm:"mins",h:"hr",hh:"hrs",d:"dy",dd:"dys",w:"wk",ww:"wks",M:"mo",MM:"mos",y:"yr",yy:"yrs"},durationTimeTemplates:{HMS:"h:mm:ss",HM:"h:mm",MS:"m:ss"},durationLabelTypes:[{type:"standard",string:"__"},{type:"short",string:"_"}],durationPluralKey:function E(ve,_e,Pe){return 1===_e&&null===Pe?ve:ve+ve}};function A(ve){return"[object Array]"===Object.prototype.toString.call(ve)}function I(ve){return"[object Object]"===Object.prototype.toString.call(ve)}function j(ve,_e){var ot,Pe=0,Ze=ve&&ve.length||0;for("function"!=typeof _e&&(ot=_e,_e=function(tt){return tt===ot});Pe0,He=gt?_e.precision:0,vt=He,ut=_e.minValue,wt=!1,st=_e.maxValue,zt=!1,pt=_e.useToLocaleString,It=_e.groupingSeparator,Yt=_e.decimalSeparator,Xt=_e.grouping;pt=pt&&(l||u);var At=_e.trim;A(At)&&(At=At.join(" ")),null===At&&(wn||st||gt)&&(At="all"),(null===At||!0===At||"left"===At||"right"===At)&&(At="large"),!1===At&&(At="");var $t=function(en){return en.test(At)},nn=/both/,Tn=/^all|[^sm]all/,nr=wn>0||K([/large/,nn,Tn],$t),kr=K([/small/,nn,Tn],$t),Br=K([/mid/,Tn],$t),sr=K([/final/,Tn],$t),Er=P(Pt.match(nt),function(en,jn){var Qn=Xe(en);return"*"===en.slice(0,1)&&(en=en.slice(1),"escape"!==Qn&&"general"!==Qn&&An.push(Qn)),{index:jn,length:en.length,text:"",token:"escape"===Qn?en.replace(Ct.escape,"$1"):en,type:"escape"===Qn||"general"===Qn?null:Qn}}),br={index:0,length:0,token:"",text:"",type:null},qn=[];ht&&Er.reverse(),T(Er,function(en){if(en.type)return(br.type||br.text)&&qn.push(br),void(br=en);ht?br.text=en.token+br.text:br.text+=en.token}),(br.type||br.text)&&qn.push(br),ht&&qn.reverse();var Rn=H(g,O(N(x(qn,"type"))));if(!Rn.length)return x(qn,"text").join("");Rn=P(Rn,function(en,jn){var ui,Qn=jn+1===Rn.length,or=!jn;ui="years"===en||"months"===en?mt.as(en):tt.as(en);var Pr=Math.floor(ui),ct=ui-Pr,Rt=j(qn,function(kt){return en===kt.type});return or&&st&&ui>st&&(zt=!0),Qn&&ut&&Math.abs(_e.duration.as(en))1&&(Te=!0),tt.subtract(Pr,en),mt.subtract(Pr,en),{rawValue:ui,wholeValue:Pr,decimalValue:Qn?ct:0,isSmallest:Qn,isLargest:or,type:en,tokenLength:Rt.length}});var oi=je?Math.floor:Math.round,Sr=function(en,jn){var Qn=Math.pow(10,jn);return oi(en*Qn)/Qn},pr=!1,Jn=!1,er=function(en,jn){var Qn={useGrouping:$e,groupingSeparator:It,decimalSeparator:Yt,grouping:Xt,useToLocaleString:pt};return gt&&(He<=0?(en.rawValue=0,en.wholeValue=0,en.decimalValue=0):(Qn.maximumSignificantDigits=He,en.significantDigits=He)),zt&&!Jn&&(en.isLargest?(en.wholeValue=st,en.decimalValue=0):(en.wholeValue=0,en.decimalValue=0)),wt&&!Jn&&(en.isSmallest?(en.wholeValue=ut,en.decimalValue=0):(en.wholeValue=0,en.decimalValue=0)),en.isSmallest||en.significantDigits&&en.significantDigits-en.wholeValue.toString().length<=0?Ee<0?en.value=Sr(en.wholeValue,Ee):0===Ee?en.value=oi(en.wholeValue+en.decimalValue):gt?(en.value=je?Sr(en.rawValue,He-en.wholeValue.toString().length):en.rawValue,en.wholeValue&&(He-=en.wholeValue.toString().length)):(Qn.fractionDigits=Ee,en.value=je?en.wholeValue+Sr(en.decimalValue,Ee):en.wholeValue+en.decimalValue):gt&&en.wholeValue?(en.value=Math.round(Sr(en.wholeValue,en.significantDigits-en.wholeValue.toString().length)),He-=en.wholeValue.toString().length):en.value=en.wholeValue,en.tokenLength>1&&(Te||pr)&&(Qn.minimumIntegerDigits=en.tokenLength,Jn&&Qn.maximumSignificantDigits0||""===At||j(An,en.type)||j(tn,en.type))&&(pr=!0),en.formattedValue=f(en.value,Qn,qt),Qn.useGrouping=!1,Qn.decimalSeparator=".",en.formattedValueEn=f(en.value,Qn,"en"),2===en.tokenLength&&"milliseconds"===en.type&&(en.formattedValueMS=f(en.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),en};if((Rn=N(Rn=P(Rn,er))).length>1){var Or=function(en){return j(Rn,function(jn){return jn.type===en})};T(v,function(en){var jn=Or(en.type);jn&&T(en.targets,function(Qn){var or=Or(Qn.type);or&&parseInt(jn.formattedValueEn,10)===Qn.value&&(jn.rawValue=0,jn.wholeValue=0,jn.decimalValue=0,or.rawValue+=1,or.wholeValue+=1,or.decimalValue=0,or.formattedValueEn=or.wholeValue.toString(),Jn=!0)})})}return Jn&&(pr=!1,He=vt,Rn=N(Rn=P(Rn,er))),!tn||zt&&!_e.trim?(nr&&(Rn=G(Rn,function(en){return!en.isSmallest&&!en.wholeValue&&!j(An,en.type)})),wn&&Rn.length&&(Rn=Rn.slice(0,wn)),kr&&Rn.length>1&&(Rn=function te(ve,_e){return G(ve.slice().reverse(),_e).reverse()}(Rn,function(en){return!en.wholeValue&&!j(An,en.type)&&!en.isLargest})),Br&&(Rn=N(Rn=P(Rn,function(en,jn){return jn>0&&jn ",zt=!1,wt=!1),ot&&(jn.value>0||""===At||j(An,jn.type)||j(tn,jn.type))&&(Qn+="-",ot=!1),Qn+="milliseconds"===en.type&&jn.formattedValueMS?jn.formattedValueMS:jn.formattedValue,ht||(Qn+=en.text),Qn})).join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function ee(){var ve=this.duration,_e=function(tt){return ve._data[tt]},Pe=j(this.types,_e),Ze=function F(ve,_e){for(var Pe=ve.length;Pe-=1;)if(_e(ve[Pe]))return ve[Pe]}(this.types,_e);switch(Pe){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(Pe===Ze)return"d __";case"weeks":return Pe===Ze?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(Pe===Ze)return"M __";case"years":return Pe===Ze?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function we(ve){if(!ve)throw"Moment Duration Format init cannot find moment instance.";ve.duration.format=$,ve.duration.fn.format=le,ve.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:ee,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},ve.updateLocale("en",M)}var ye=function(ve,_e,Pe){return ve.toLocaleString(_e,Pe)};l=function re(){try{(0).toLocaleString("i")}catch(_e){return"RangeError"===_e.name}return!1}()&&Y(ye),e=l&&J(ye);var Oe=function(ve,_e,Pe){if(typeof window<"u"&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(_e,Pe).format(ve)};return u=Y(Oe),c=u&&J(Oe),we(a),we},i=[o(35908)],void 0!==(d="function"==typeof(n=l)?n.apply(h,i):n)&&(pe.exports=d),a&&(a.momentDurationFormatSetup=a.moment?l(a.moment):l)},25140:function(pe,h,o){!function(n){"use strict";n.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(d){return/^nm$/i.test(d)},meridiem:function(d,a,l){return d<12?l?"vm":"VM":l?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(d){return d+(1===d||8===d||d>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},17096:function(pe,h,o){!function(n){"use strict";var i=function(u){return 0===u?0:1===u?1:2===u?2:u%100>=3&&u%100<=10?3:u%100>=11?4:5},d={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(u){return function(c,g,v,p){var S=i(c),C=d[u][i(c)];return 2===S&&(C=C[g?0:1]),C.replace(/%d/i,c)}},l=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar-dz",{months:l,monthsShort:l,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(u){return"\u0645"===u},meridiem:function(u,c,g){return u<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(o(35908))},32200:function(pe,h,o){!function(n){"use strict";n.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(o(35908))},97252:function(pe,h,o){!function(n){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},d=function(c){return 0===c?0:1===c?1:2===c?2:c%100>=3&&c%100<=10?3:c%100>=11?4:5},a={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},l=function(c){return function(g,v,p,S){var C=d(g),_=a[c][d(g)];return 2===C&&(_=_[v?0:1]),_.replace(/%d/i,g)}},e=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar-ly",{months:e,monthsShort:e,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,g,v){return c<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:l("s"),ss:l("s"),m:l("m"),mm:l("m"),h:l("h"),hh:l("h"),d:l("d"),dd:l("d"),M:l("M"),MM:l("M"),y:l("y"),yy:l("y")},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(g){return i[g]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},39568:function(pe,h,o){!function(n){"use strict";n.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(o(35908))},13068:function(pe,h,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(l){return"\u0645"===l},meridiem:function(l,e,u){return l<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(l){return l.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return d[e]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(e){return d[e]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(o(35908))},89052:function(pe,h,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(l){return"\u0645"===l},meridiem:function(l,e,u){return l<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(l){return l.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return d[e]}).replace(/\u060c/g,",")},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(o(35908))},93956:function(pe,h,o){!function(n){"use strict";n.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(o(35908))},17276:function(pe,h,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},a=function(g){return 0===g?0:1===g?1:2===g?2:g%100>=3&&g%100<=10?3:g%100>=11?4:5},l={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},e=function(g){return function(v,p,S,C){var _=a(v),f=l[g][a(v)];return 2===_&&(f=f[p?0:1]),f.replace(/%d/i,v)}},u=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar",{months:u,monthsShort:u,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(g){return"\u0645"===g},meridiem:function(g,v,p){return g<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:e("s"),ss:e("s"),m:e("m"),mm:e("m"),h:e("h"),hh:e("h"),d:e("d"),dd:e("d"),M:e("M"),MM:e("M"),y:e("y"),yy:e("y")},preparse:function(g){return g.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(v){return d[v]}).replace(/\u060c/g,",")},postformat:function(g){return g.replace(/\d/g,function(v){return i[v]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},88240:function(pe,h,o){!function(n){"use strict";var i={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};n.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(a){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(a)},meridiem:function(a,l,e){return a<4?"gec\u0259":a<12?"s\u0259h\u0259r":a<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(a){if(0===a)return a+"-\u0131nc\u0131";var l=a%10;return a+(i[l]||i[a%100-l]||i[a>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},77796:function(pe,h,o){!function(n){"use strict";function d(l,e,u){return"m"===u?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===u?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":l+" "+function i(l,e){var u=l.split("_");return e%10==1&&e%100!=11?u[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?u[1]:u[2]}({ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[u],+l)}n.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:d,mm:d,h:d,hh:d,d:"\u0434\u0437\u0435\u043d\u044c",dd:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(l){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(l)},meridiem:function(l,e,u){return l<4?"\u043d\u043e\u0447\u044b":l<12?"\u0440\u0430\u043d\u0456\u0446\u044b":l<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(l,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return l%10!=2&&l%10!=3||l%100==12||l%100==13?l+"-\u044b":l+"-\u0456";case"D":return l+"-\u0433\u0430";default:return l}},week:{dow:1,doy:7}})}(o(35908))},89880:function(pe,h,o){!function(n){"use strict";n.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var a=d%10,l=d%100;return 0===d?d+"-\u0435\u0432":0===l?d+"-\u0435\u043d":l>10&&l<20?d+"-\u0442\u0438":1===a?d+"-\u0432\u0438":2===a?d+"-\u0440\u0438":7===a||8===a?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(o(35908))},84328:function(pe,h,o){!function(n){"use strict";n.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(o(35908))},45104:function(pe,h,o){!function(n){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(l){return l.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u09b0\u09be\u09a4"===e?l<4?l:l+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?l:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?l>=3?l:l+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?l+12:void 0},meridiem:function(l,e,u){return l<4?"\u09b0\u09be\u09a4":l<6?"\u09ad\u09cb\u09b0":l<12?"\u09b8\u0995\u09be\u09b2":l<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":l<18?"\u09ac\u09bf\u0995\u09be\u09b2":l<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(o(35908))},60536:function(pe,h,o){!function(n){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(l){return l.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u09b0\u09be\u09a4"===e&&l>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&l<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?l+12:l},meridiem:function(l,e,u){return l<4?"\u09b0\u09be\u09a4":l<10?"\u09b8\u0995\u09be\u09b2":l<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":l<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(o(35908))},51108:function(pe,h,o){!function(n){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},d={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};n.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(l){return l.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&l>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&l<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?l+12:l},meridiem:function(l,e,u){return l<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":l<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":l<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":l<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(o(35908))},51296:function(pe,h,o){!function(n){"use strict";function i(f,y,b){return f+" "+function l(f,y){return 2===y?function e(f){var y={m:"v",b:"v",d:"z"};return void 0===y[f.charAt(0)]?f:y[f.charAt(0)]+f.substring(1)}(f):f}({mm:"munutenn",MM:"miz",dd:"devezh"}[b],f)}function a(f){return f>9?a(f%10):f}var u=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],c=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,C=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];n.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:C,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:C,monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:function d(f){switch(a(f)){case 1:case 3:case 4:case 5:case 9:return f+" bloaz";default:return f+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(f){return f+(1===f?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(f){return"g.m."===f},meridiem:function(f,y,b){return f<12?"a.m.":"g.m."}})}(o(35908))},2032:function(pe,h,o){!function(n){"use strict";function d(l,e,u){var c=l+" ";switch(u){case"ss":return c+(1===l?"sekunda":2===l||3===l||4===l?"sekunde":"sekundi");case"mm":return c+(1===l?"minuta":2===l||3===l||4===l?"minute":"minuta");case"h":return"jedan sat";case"hh":return c+(1===l?"sat":2===l||3===l||4===l?"sata":"sati");case"dd":return c+(1===l?"dan":"dana");case"MM":return c+(1===l?"mjesec":2===l||3===l||4===l?"mjeseca":"mjeseci");case"yy":return c+(1===l?"godina":2===l||3===l||4===l?"godine":"godina")}}n.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:d,m:function i(l,e,u,c){if("m"===u)return e?"jedna minuta":c?"jednu minutu":"jedne minute"},mm:d,h:d,hh:d,d:"dan",dd:d,M:"mjesec",MM:d,y:"godinu",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},20096:function(pe,h,o){!function(n){"use strict";n.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,a){var l=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===a||"W"===a)&&(l="a"),d+l},week:{dow:1,doy:4}})}(o(35908))},41152:function(pe,h,o){!function(n){"use strict";var i={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},d="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),a=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],l=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function e(g){return g>1&&g<5&&1!=~~(g/10)}function u(g,v,p,S){var C=g+" ";switch(p){case"s":return v||S?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return v||S?C+(e(g)?"sekundy":"sekund"):C+"sekundami";case"m":return v?"minuta":S?"minutu":"minutou";case"mm":return v||S?C+(e(g)?"minuty":"minut"):C+"minutami";case"h":return v?"hodina":S?"hodinu":"hodinou";case"hh":return v||S?C+(e(g)?"hodiny":"hodin"):C+"hodinami";case"d":return v||S?"den":"dnem";case"dd":return v||S?C+(e(g)?"dny":"dn\xed"):C+"dny";case"M":return v||S?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return v||S?C+(e(g)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):C+"m\u011bs\xedci";case"y":return v||S?"rok":"rokem";case"yy":return v||S?C+(e(g)?"roky":"let"):C+"lety"}}n.defineLocale("cs",{months:i,monthsShort:d,monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},69568:function(pe,h,o){!function(n){"use strict";n.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(d){return d+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(d)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(d)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(o(35908))},78875:function(pe,h,o){!function(n){"use strict";n.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(d){var l="";return d>20?l=40===d||50===d||60===d||80===d||100===d?"fed":"ain":d>0&&(l=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][d]),d+l},week:{dow:1,doy:4}})}(o(35908))},45424:function(pe,h,o){!function(n){"use strict";n.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},72604:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return l?c[e][0]:c[e][1]}n.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},79168:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return l?c[e][0]:c[e][1]}n.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},20992:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return l?c[e][0]:c[e][1]}n.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},67300:function(pe,h,o){!function(n){"use strict";var i=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],d=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];n.defineLocale("dv",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(l){return"\u0789\u078a"===l},meridiem:function(l,e,u){return l<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(l){return l.replace(/\u060c/g,",")},postformat:function(l){return l.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(o(35908))},84400:function(pe,h,o){!function(n){"use strict";n.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(a,l){return a?"string"==typeof l&&/D/.test(l.substring(0,l.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(a,l,e){return a>11?e?"\u03bc\u03bc":"\u039c\u039c":e?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(a){return"\u03bc"===(a+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(a,l){var e=this._calendarEl[a],u=l&&l.hours();return function i(a){return typeof Function<"u"&&a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}(e)&&(e=e.apply(l)),e.replace("{}",u%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(o(35908))},83536:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:0,doy:4}})}(o(35908))},39379:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})}(o(35908))},47032:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},71832:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},404:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})}(o(35908))},25716:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:0,doy:6}})}(o(35908))},15312:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},53320:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},96392:function(pe,h,o){!function(n){"use strict";n.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(d){return"p"===d.charAt(0).toLowerCase()},meridiem:function(d,a,l){return d>11?l?"p.t.m.":"P.T.M.":l?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(o(35908))},38540:function(pe,h,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],l=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(u,c){return u?/-MMM-/.test(c)?d[u.month()]:i[u.month()]:i},monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},93504:function(pe,h,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],l=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(u,c){return u?/-MMM-/.test(c)?d[u.month()]:i[u.month()]:i},monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(o(35908))},69224:function(pe,h,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],l=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(u,c){return u?/-MMM-/.test(c)?d[u.month()]:i[u.month()]:i},monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(o(35908))},41964:function(pe,h,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],l=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(u,c){return u?/-MMM-/.test(c)?d[u.month()]:i[u.month()]:i},monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(o(35908))},90596:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[a+"sekundi",a+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[a+" minuti",a+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[a+" tunni",a+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[a+" kuu",a+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[a+" aasta",a+" aastat"]};return l?c[e][2]?c[e][2]:c[e][1]:u?c[e][0]:c[e][1]}n.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},8060:function(pe,h,o){!function(n){"use strict";n.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},68184:function(pe,h,o){!function(n){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},d={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};n.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(l){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(l)},meridiem:function(l,e,u){return l<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(l){return l.replace(/[\u06f0-\u06f9]/g,function(e){return d[e]}).replace(/\u060c/g,",")},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(o(35908))},36736:function(pe,h,o){!function(n){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),d=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function a(u,c,g,v){var p="";switch(g){case"s":return v?"muutaman sekunnin":"muutama sekunti";case"ss":p=v?"sekunnin":"sekuntia";break;case"m":return v?"minuutin":"minuutti";case"mm":p=v?"minuutin":"minuuttia";break;case"h":return v?"tunnin":"tunti";case"hh":p=v?"tunnin":"tuntia";break;case"d":return v?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":p=v?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return v?"kuukauden":"kuukausi";case"MM":p=v?"kuukauden":"kuukautta";break;case"y":return v?"vuoden":"vuosi";case"yy":p=v?"vuoden":"vuotta"}return function l(u,c){return u<10?c?d[u]:i[u]:u}(u,v)+" "+p}n.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},49264:function(pe,h,o){!function(n){"use strict";n.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},48299:function(pe,h,o){!function(n){"use strict";n.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},84584:function(pe,h,o){!function(n){"use strict";n.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}}})}(o(35908))},8024:function(pe,h,o){!function(n){"use strict";n.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}},week:{dow:1,doy:4}})}(o(35908))},51964:function(pe,h,o){!function(n){"use strict";var a=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,l=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];n.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(u,c){switch(c){case"D":return u+(1===u?"er":"");default:case"M":case"Q":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(o(35908))},22672:function(pe,h,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),d="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");n.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(l,e){return l?/-MMM-/.test(e)?d[l.month()]:i[l.month()]:i},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(l){return l+(1===l||8===l||l>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},26476:function(pe,h,o){!function(n){"use strict";n.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(c){return c+(1===c?"d":c%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(35908))},35148:function(pe,h,o){!function(n){"use strict";n.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(c){return c+(1===c?"d":c%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(35908))},32176:function(pe,h,o){!function(n){"use strict";n.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(d){return 0===d.indexOf("un")?"n"+d:"en "+d},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},27260:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[a+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",a+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[a+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",a+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[a+" \u0935\u0930\u093e\u0902\u0928\u0940",a+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[a+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",a+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[a+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",a+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[a+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",a+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return u?c[e][0]:c[e][1]}n.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(a,l){return"D"===l?a+"\u0935\u0947\u0930":a},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(a,l){return 12===a&&(a=0),"\u0930\u093e\u0924\u0940"===l?a<4?a:a+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===l?a:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===l?a>12?a:a+12:"\u0938\u093e\u0902\u091c\u0947"===l?a+12:void 0},meridiem:function(a,l,e){return a<4?"\u0930\u093e\u0924\u0940":a<12?"\u0938\u0915\u093e\u0933\u0940\u0902":a<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":a<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(o(35908))},3772:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c={s:["thoddea sekondamni","thodde sekond"],ss:[a+" sekondamni",a+" sekond"],m:["eka mintan","ek minut"],mm:[a+" mintamni",a+" mintam"],h:["eka voran","ek vor"],hh:[a+" voramni",a+" voram"],d:["eka disan","ek dis"],dd:[a+" disamni",a+" dis"],M:["eka mhoinean","ek mhoino"],MM:[a+" mhoineamni",a+" mhoine"],y:["eka vorsan","ek voros"],yy:[a+" vorsamni",a+" vorsam"]};return u?c[e][0]:c[e][1]}n.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(a,l){return"D"===l?a+"er":a},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(a,l){return 12===a&&(a=0),"rati"===l?a<4?a:a+12:"sokallim"===l?a:"donparam"===l?a>12?a:a+12:"sanje"===l?a+12:void 0},meridiem:function(a,l,e){return a<4?"rati":a<12?"sokallim":a<16?"donparam":a<20?"sanje":"rati"}})}(o(35908))},39528:function(pe,h,o){!function(n){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},d={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};n.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(l){return l.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u0ab0\u0abe\u0aa4"===e?l<4?l:l+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?l:"\u0aac\u0aaa\u0acb\u0ab0"===e?l>=10?l:l+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?l+12:void 0},meridiem:function(l,e,u){return l<4?"\u0ab0\u0abe\u0aa4":l<10?"\u0ab8\u0ab5\u0abe\u0ab0":l<17?"\u0aac\u0aaa\u0acb\u0ab0":l<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(o(35908))},86832:function(pe,h,o){!function(n){"use strict";n.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(d){return 2===d?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":d+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(d){return 2===d?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":d+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(d){return 2===d?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":d+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(d){return 2===d?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":d%10==0&&10!==d?d+" \u05e9\u05e0\u05d4":d+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(d){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(d)},meridiem:function(d,a,l){return d<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":d<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":d<12?l?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":d<18?l?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(o(35908))},95592:function(pe,h,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},a=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];n.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:a,longMonthsParse:a,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(u){return u.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(c){return d[c]})},postformat:function(u){return u.replace(/\d/g,function(c){return i[c]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(u,c){return 12===u&&(u=0),"\u0930\u093e\u0924"===c?u<4?u:u+12:"\u0938\u0941\u092c\u0939"===c?u:"\u0926\u094b\u092a\u0939\u0930"===c?u>=10?u:u+12:"\u0936\u093e\u092e"===c?u+12:void 0},meridiem:function(u,c,g){return u<4?"\u0930\u093e\u0924":u<10?"\u0938\u0941\u092c\u0939":u<17?"\u0926\u094b\u092a\u0939\u0930":u<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(o(35908))},56208:function(pe,h,o){!function(n){"use strict";function i(a,l,e){var u=a+" ";switch(e){case"ss":return u+(1===a?"sekunda":2===a||3===a||4===a?"sekunde":"sekundi");case"m":return l?"jedna minuta":"jedne minute";case"mm":return u+(1===a?"minuta":2===a||3===a||4===a?"minute":"minuta");case"h":return l?"jedan sat":"jednog sata";case"hh":return u+(1===a?"sat":2===a||3===a||4===a?"sata":"sati");case"dd":return u+(1===a?"dan":"dana");case"MM":return u+(1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci");case"yy":return u+(1===a?"godina":2===a||3===a||4===a?"godine":"godina")}}n.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},33697:function(pe,h,o){!function(n){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function d(e,u,c,g){var v=e;switch(c){case"s":return g||u?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return v+(g||u)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(g||u?" perc":" perce");case"mm":return v+(g||u?" perc":" perce");case"h":return"egy"+(g||u?" \xf3ra":" \xf3r\xe1ja");case"hh":return v+(g||u?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(g||u?" nap":" napja");case"dd":return v+(g||u?" nap":" napja");case"M":return"egy"+(g||u?" h\xf3nap":" h\xf3napja");case"MM":return v+(g||u?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(g||u?" \xe9v":" \xe9ve");case"yy":return v+(g||u?" \xe9v":" \xe9ve")}return""}function a(e){return(e?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}n.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,u,c){return e<12?!0===c?"de":"DE":!0===c?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return a.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return a.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},2e4:function(pe,h,o){!function(n){"use strict";n.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(d){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(d)},meridiem:function(d){return d<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":d<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":d<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(d,a){switch(a){case"DDD":case"w":case"W":case"DDDo":return 1===d?d+"-\u056b\u0576":d+"-\u0580\u0564";default:return d}},week:{dow:1,doy:7}})}(o(35908))},57840:function(pe,h,o){!function(n){"use strict";n.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(d,a){return 12===d&&(d=0),"pagi"===a?d:"siang"===a?d>=11?d:d+12:"sore"===a||"malam"===a?d+12:void 0},meridiem:function(d,a,l){return d<11?"pagi":d<15?"siang":d<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(o(35908))},31496:function(pe,h,o){!function(n){"use strict";function i(l){return l%100==11||l%10!=1}function d(l,e,u,c){var g=l+" ";switch(u){case"s":return e||c?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(l)?g+(e||c?"sek\xfandur":"sek\xfandum"):g+"sek\xfanda";case"m":return e?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(l)?g+(e||c?"m\xedn\xfatur":"m\xedn\xfatum"):e?g+"m\xedn\xfata":g+"m\xedn\xfatu";case"hh":return i(l)?g+(e||c?"klukkustundir":"klukkustundum"):g+"klukkustund";case"d":return e?"dagur":c?"dag":"degi";case"dd":return i(l)?e?g+"dagar":g+(c?"daga":"d\xf6gum"):e?g+"dagur":g+(c?"dag":"degi");case"M":return e?"m\xe1nu\xf0ur":c?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(l)?e?g+"m\xe1nu\xf0ir":g+(c?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):e?g+"m\xe1nu\xf0ur":g+(c?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return e||c?"\xe1r":"\xe1ri";case"yy":return i(l)?g+(e||c?"\xe1r":"\xe1rum"):g+(e||c?"\xe1r":"\xe1ri")}}n.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:d,ss:d,m:d,mm:d,h:"klukkustund",hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},45736:function(pe,h,o){!function(n){"use strict";n.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(d){return(/^[0-9].+$/.test(d)?"tra":"in")+" "+d},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},6336:function(pe,h,o){!function(n){"use strict";n.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},58008:function(pe,h,o){!function(n){"use strict";n.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(d,a){return"\u5143"===a[1]?1:parseInt(a[1]||d,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(d){return"\u5348\u5f8c"===d},meridiem:function(d,a,l){return d<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(d){return d.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(d){return this.week()!==d.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(d,a){switch(a){case"y":return 1===d?"\u5143\u5e74":d+"\u5e74";case"d":case"D":case"DDD":return d+"\u65e5";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(o(35908))},30108:function(pe,h,o){!function(n){"use strict";n.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(d,a){return 12===d&&(d=0),"enjing"===a?d:"siyang"===a?d>=11?d:d+12:"sonten"===a||"ndalu"===a?d+12:void 0},meridiem:function(d,a,l){return d<11?"enjing":d<15?"siyang":d<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(o(35908))},61844:function(pe,h,o){!function(n){"use strict";n.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(d){return d.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(a,l,e){return"\u10d8"===e?l+"\u10e8\u10d8":l+e+"\u10e8\u10d8"})},past:function(d){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(d)?d.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(d)?d.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):d},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(d){return 0===d?d:1===d?d+"-\u10da\u10d8":d<20||d<=100&&d%20==0||d%100==0?"\u10db\u10d4-"+d:d+"-\u10d4"},week:{dow:1,doy:7}})}(o(35908))},78980:function(pe,h,o){!function(n){"use strict";var i={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};n.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(a){return a+(i[a]||i[a%10]||i[a>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},48544:function(pe,h,o){!function(n){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},d={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};n.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(l){return"\u179b\u17d2\u1784\u17b6\u1785"===l},meridiem:function(l,e,u){return l<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(l){return l.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},week:{dow:1,doy:4}})}(o(35908))},70096:function(pe,h,o){!function(n){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},d={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};n.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(l){return l.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?l<4?l:l+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?l:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?l>=10?l:l+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?l+12:void 0},meridiem:function(l,e,u){return l<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":l<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":l<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":l<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(l){return l+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(o(35908))},87420:function(pe,h,o){!function(n){"use strict";n.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\uc77c";case"M":return d+"\uc6d4";case"w":case"W":return d+"\uc8fc";default:return d}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(d){return"\uc624\ud6c4"===d},meridiem:function(d,a,l){return d<12?"\uc624\uc804":"\uc624\ud6c4"}})}(o(35908))},4740:function(pe,h,o){!function(n){"use strict";function i(l,e,u,c){var g={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[l+" san\xeeye",l+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[l+" deq\xeeqe",l+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[l+" saet",l+" saetan"],d:["rojek","rojek\xea"],dd:[l+" roj",l+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[l+" hefte",l+" hefteyan"],M:["mehek","mehek\xea"],MM:[l+" meh",l+" mehan"],y:["salek","salek\xea"],yy:[l+" sal",l+" salan"]};return e?g[u][0]:g[u][1]}n.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(l,e,u){return l<12?u?"bn":"BN":u?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,w:i,ww:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(l,e){var u=e.toLowerCase();return u.includes("w")||u.includes("m")?l+".":l+function d(l){var e=(l=""+l).substring(l.length-1),u=l.length>1?l.substring(l.length-2):"";return 12==u||13==u||"2"!=e&&"3"!=e&&"50"!=u&&"70"!=e&&"80"!=e?"\xea":"y\xea"}(l)},week:{dow:1,doy:4}})}(o(35908))},60200:function(pe,h,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},a=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];n.defineLocale("ku",{months:a,monthsShort:a,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,u,c){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(u){return d[u]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(u){return i[u]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},44976:function(pe,h,o){!function(n){"use strict";var i={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};n.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(a){return a+(i[a]||i[a%10]||i[a>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},4652:function(pe,h,o){!function(n){"use strict";function i(u,c,g,v){var p={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return c?p[g][0]:p[g][1]}function l(u){if(u=parseInt(u,10),isNaN(u))return!1;if(u<0)return!0;if(u<10)return 4<=u&&u<=7;if(u<100){var c=u%10;return l(0===c?u/10:c)}if(u<1e4){for(;u>=10;)u/=10;return l(u)}return l(u/=1e3)}n.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function d(u){return l(u.substr(0,u.indexOf(" ")))?"a "+u:"an "+u},past:function a(u){return l(u.substr(0,u.indexOf(" ")))?"viru "+u:"virun "+u},s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},53984:function(pe,h,o){!function(n){"use strict";n.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(d){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===d},meridiem:function(d,a,l){return d<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(d){return"\u0e97\u0eb5\u0ec8"+d}})}(o(35908))},8792:function(pe,h,o){!function(n){"use strict";var i={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function a(g,v,p,S){return v?e(p)[0]:S?e(p)[1]:e(p)[2]}function l(g){return g%10==0||g>10&&g<20}function e(g){return i[g].split("_")}function u(g,v,p,S){var C=g+" ";return 1===g?C+a(0,v,p[0],S):v?C+(l(g)?e(p)[1]:e(p)[0]):S?C+e(p)[1]:C+(l(g)?e(p)[1]:e(p)[2])}n.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function d(g,v,p,S){return v?"kelios sekund\u0117s":S?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:u,m:a,mm:u,h:a,hh:u,d:a,dd:u,M:a,MM:u,y:a,yy:u},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(g){return g+"-oji"},week:{dow:1,doy:4}})}(o(35908))},6296:function(pe,h,o){!function(n){"use strict";var i={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function d(c,g,v){return v?g%10==1&&g%100!=11?c[2]:c[3]:g%10==1&&g%100!=11?c[0]:c[1]}function a(c,g,v){return c+" "+d(i[v],c,g)}function l(c,g,v){return d(i[v],c,g)}n.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function e(c,g){return g?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:a,m:l,mm:a,h:l,hh:a,d:l,dd:a,M:l,MM:a,y:l,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},58256:function(pe,h,o){!function(n){"use strict";var i={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,l){return 1===a?l[0]:a>=2&&a<=4?l[1]:l[2]},translate:function(a,l,e){var u=i.words[e];return 1===e.length?l?u[0]:u[1]:a+" "+i.correctGrammaticalCase(a,u)}};n.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},29284:function(pe,h,o){!function(n){"use strict";n.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},33196:function(pe,h,o){!function(n){"use strict";n.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var a=d%10,l=d%100;return 0===d?d+"-\u0435\u0432":0===l?d+"-\u0435\u043d":l>10&&l<20?d+"-\u0442\u0438":1===a?d+"-\u0432\u0438":2===a?d+"-\u0440\u0438":7===a||8===a?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(o(35908))},45896:function(pe,h,o){!function(n){"use strict";n.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(d,a){return 12===d&&(d=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===a&&d>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===a||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===a?d+12:d},meridiem:function(d,a,l){return d<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":d<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":d<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":d<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(o(35908))},32460:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){switch(e){case"s":return l?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return a+(l?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return a+(l?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return a+(l?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return a+(l?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return a+(l?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return a+(l?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return a}}n.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(a){return"\u04ae\u0425"===a},meridiem:function(a,l,e){return a<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(a,l){switch(l){case"d":case"D":case"DDD":return a+" \u04e9\u0434\u04e9\u0440";default:return a}}})}(o(35908))},80132:function(pe,h,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function a(e,u,c,g){var v="";if(u)switch(c){case"s":v="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":v="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":v="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":v="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":v="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":v="%d \u0924\u093e\u0938";break;case"d":v="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":v="%d \u0926\u093f\u0935\u0938";break;case"M":v="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":v="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":v="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":v="%d \u0935\u0930\u094d\u0937\u0947"}else switch(c){case"s":v="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":v="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":v="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":v="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":v="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":v="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":v="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":v="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":v="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":v="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":v="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":v="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return v.replace(/%d/i,e)}n.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(u){return d[u]})},postformat:function(e){return e.replace(/\d/g,function(u){return i[u]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,u){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===u||"\u0938\u0915\u093e\u0933\u0940"===u?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===u||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===u||"\u0930\u093e\u0924\u094d\u0930\u0940"===u?e>=12?e:e+12:void 0},meridiem:function(e,u,c){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(o(35908))},88060:function(pe,h,o){!function(n){"use strict";n.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,a){return 12===d&&(d=0),"pagi"===a?d:"tengahari"===a?d>=11?d:d+12:"petang"===a||"malam"===a?d+12:void 0},meridiem:function(d,a,l){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(35908))},73136:function(pe,h,o){!function(n){"use strict";n.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,a){return 12===d&&(d=0),"pagi"===a?d:"tengahari"===a?d>=11?d:d+12:"petang"===a||"malam"===a?d+12:void 0},meridiem:function(d,a,l){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(35908))},46227:function(pe,h,o){!function(n){"use strict";n.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},88300:function(pe,h,o){!function(n){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},d={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};n.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(l){return l.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},week:{dow:1,doy:4}})}(o(35908))},14784:function(pe,h,o){!function(n){"use strict";n.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},75060:function(pe,h,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};n.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(l){return l.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u0930\u093e\u0924\u093f"===e?l<4?l:l+12:"\u092c\u093f\u0939\u093e\u0928"===e?l:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?l>=10?l:l+12:"\u0938\u093e\u0901\u091d"===e?l+12:void 0},meridiem:function(l,e,u){return l<3?"\u0930\u093e\u0924\u093f":l<12?"\u092c\u093f\u0939\u093e\u0928":l<16?"\u0926\u093f\u0909\u0901\u0938\u094b":l<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(o(35908))},94796:function(pe,h,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],l=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(u,c){return u?/-MMM-/.test(c)?d[u.month()]:i[u.month()]:i},monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},4971:function(pe,h,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],l=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(u,c){return u?/-MMM-/.test(c)?d[u.month()]:i[u.month()]:i},monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},18984:function(pe,h,o){!function(n){"use strict";n.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},59928:function(pe,h,o){!function(n){"use strict";n.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,a){var l=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===a||"W"===a)&&(l="a"),d+l},week:{dow:1,doy:4}})}(o(35908))},76440:function(pe,h,o){!function(n){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},d={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};n.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(l){return l.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u0a30\u0a3e\u0a24"===e?l<4?l:l+12:"\u0a38\u0a35\u0a47\u0a30"===e?l:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?l>=10?l:l+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?l+12:void 0},meridiem:function(l,e,u){return l<4?"\u0a30\u0a3e\u0a24":l<10?"\u0a38\u0a35\u0a47\u0a30":l<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":l<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(o(35908))},96768:function(pe,h,o){!function(n){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),d="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),a=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function l(c){return c%10<5&&c%10>1&&~~(c/10)%10!=1}function e(c,g,v){var p=c+" ";switch(v){case"ss":return p+(l(c)?"sekundy":"sekund");case"m":return g?"minuta":"minut\u0119";case"mm":return p+(l(c)?"minuty":"minut");case"h":return g?"godzina":"godzin\u0119";case"hh":return p+(l(c)?"godziny":"godzin");case"ww":return p+(l(c)?"tygodnie":"tygodni");case"MM":return p+(l(c)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return p+(l(c)?"lata":"lat")}}n.defineLocale("pl",{months:function(c,g){return c?/D MMMM/.test(g)?d[c.month()]:i[c.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:e,m:e,mm:e,h:e,hh:e,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:e,M:"miesi\u0105c",MM:e,y:"rok",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},51528:function(pe,h,o){!function(n){"use strict";n.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(o(35908))},18968:function(pe,h,o){!function(n){"use strict";n.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},5760:function(pe,h,o){!function(n){"use strict";function i(a,l,e){var c=" ";return(a%100>=20||a>=100&&a%100==0)&&(c=" de "),a+c+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[e]}n.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(o(35908))},19760:function(pe,h,o){!function(n){"use strict";function d(e,u,c){return"m"===c?u?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+function i(e,u){var c=e.split("_");return u%10==1&&u%100!=11?c[0]:u%10>=2&&u%10<=4&&(u%100<10||u%100>=20)?c[1]:c[2]}({ss:u?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:u?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[c],+e)}var a=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];n.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0447\u0430\u0441",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,u,c){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,u){switch(u){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(o(35908))},53804:function(pe,h,o){!function(n){"use strict";var i=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],d=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];n.defineLocale("sd",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(l){return"\u0634\u0627\u0645"===l},meridiem:function(l,e,u){return l<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(l){return l.replace(/\u060c/g,",")},postformat:function(l){return l.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(o(35908))},44100:function(pe,h,o){!function(n){"use strict";n.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},95301:function(pe,h,o){!function(n){"use strict";n.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(d){return d+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(d){return"\u0db4.\u0dc0."===d||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===d},meridiem:function(d,a,l){return d>11?l?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":l?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(o(35908))},79992:function(pe,h,o){!function(n){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),d="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function a(u){return u>1&&u<5}function l(u,c,g,v){var p=u+" ";switch(g){case"s":return c||v?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return c||v?p+(a(u)?"sekundy":"sek\xfand"):p+"sekundami";case"m":return c?"min\xfata":v?"min\xfatu":"min\xfatou";case"mm":return c||v?p+(a(u)?"min\xfaty":"min\xfat"):p+"min\xfatami";case"h":return c?"hodina":v?"hodinu":"hodinou";case"hh":return c||v?p+(a(u)?"hodiny":"hod\xedn"):p+"hodinami";case"d":return c||v?"de\u0148":"d\u0148om";case"dd":return c||v?p+(a(u)?"dni":"dn\xed"):p+"d\u0148ami";case"M":return c||v?"mesiac":"mesiacom";case"MM":return c||v?p+(a(u)?"mesiace":"mesiacov"):p+"mesiacmi";case"y":return c||v?"rok":"rokom";case"yy":return c||v?p+(a(u)?"roky":"rokov"):p+"rokmi"}}n.defineLocale("sk",{months:i,monthsShort:d,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},35208:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c=a+" ";switch(e){case"s":return l||u?"nekaj sekund":"nekaj sekundami";case"ss":return c+(1===a?l?"sekundo":"sekundi":2===a?l||u?"sekundi":"sekundah":a<5?l||u?"sekunde":"sekundah":"sekund");case"m":return l?"ena minuta":"eno minuto";case"mm":return c+(1===a?l?"minuta":"minuto":2===a?l||u?"minuti":"minutama":a<5?l||u?"minute":"minutami":l||u?"minut":"minutami");case"h":return l?"ena ura":"eno uro";case"hh":return c+(1===a?l?"ura":"uro":2===a?l||u?"uri":"urama":a<5?l||u?"ure":"urami":l||u?"ur":"urami");case"d":return l||u?"en dan":"enim dnem";case"dd":return c+(1===a?l||u?"dan":"dnem":2===a?l||u?"dni":"dnevoma":l||u?"dni":"dnevi");case"M":return l||u?"en mesec":"enim mesecem";case"MM":return c+(1===a?l||u?"mesec":"mesecem":2===a?l||u?"meseca":"mesecema":a<5?l||u?"mesece":"meseci":l||u?"mesecev":"meseci");case"y":return l||u?"eno leto":"enim letom";case"yy":return c+(1===a?l||u?"leto":"letom":2===a?l||u?"leti":"letoma":a<5?l||u?"leta":"leti":l||u?"let":"leti")}}n.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},27408:function(pe,h,o){!function(n){"use strict";n.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(d){return"M"===d.charAt(0)},meridiem:function(d,a,l){return d<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},1128:function(pe,h,o){!function(n){"use strict";var i={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(a,l){return a%10>=1&&a%10<=4&&(a%100<10||a%100>=20)?a%10==1?l[0]:l[1]:l[2]},translate:function(a,l,e,u){var g,c=i.words[e];return 1===e.length?"y"===e&&l?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":u||l?c[0]:c[1]:(g=i.correctGrammaticalCase(a,c),"yy"===e&&l&&"\u0433\u043e\u0434\u0438\u043d\u0443"===g?a+" \u0433\u043e\u0434\u0438\u043d\u0430":a+" "+g)}};n.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},10656:function(pe,h,o){!function(n){"use strict";var i={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(a,l){return a%10>=1&&a%10<=4&&(a%100<10||a%100>=20)?a%10==1?l[0]:l[1]:l[2]},translate:function(a,l,e,u){var g,c=i.words[e];return 1===e.length?"y"===e&&l?"jedna godina":u||l?c[0]:c[1]:(g=i.correctGrammaticalCase(a,c),"yy"===e&&l&&"godinu"===g?a+" godina":a+" "+g)}};n.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},10864:function(pe,h,o){!function(n){"use strict";n.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(d,a,l){return d<11?"ekuseni":d<15?"emini":d<19?"entsambama":"ebusuku"},meridiemHour:function(d,a){return 12===d&&(d=0),"ekuseni"===a?d:"emini"===a?d>=11?d:d+12:"entsambama"===a||"ebusuku"===a?0===d?0:d+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(o(35908))},16900:function(pe,h,o){!function(n){"use strict";n.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?":e":1===a||2===a?":a":":e")},week:{dow:1,doy:4}})}(o(35908))},81636:function(pe,h,o){!function(n){"use strict";n.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(o(35908))},24180:function(pe,h,o){!function(n){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},d={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};n.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(l){return l+"\u0bb5\u0ba4\u0bc1"},preparse:function(l){return l.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(l,e,u){return l<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":l<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":l<10?" \u0b95\u0bbe\u0bb2\u0bc8":l<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":l<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":l<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(l,e){return 12===l&&(l=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?l<2?l:l+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&l>=10?l:l+12},week:{dow:0,doy:6}})}(o(35908))},97008:function(pe,h,o){!function(n){"use strict";n.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===a?d<4?d:d+12:"\u0c09\u0c26\u0c2f\u0c02"===a?d:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===a?d>=10?d:d+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===a?d+12:void 0},meridiem:function(d,a,l){return d<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":d<10?"\u0c09\u0c26\u0c2f\u0c02":d<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":d<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(o(35908))},50744:function(pe,h,o){!function(n){"use strict";n.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},58084:function(pe,h,o){!function(n){"use strict";var i={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};n.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(a,l){return 12===a&&(a=0),"\u0448\u0430\u0431"===l?a<4?a:a+12:"\u0441\u0443\u0431\u04b3"===l?a:"\u0440\u04ef\u0437"===l?a>=11?a:a+12:"\u0431\u0435\u0433\u043e\u04b3"===l?a+12:void 0},meridiem:function(a,l,e){return a<4?"\u0448\u0430\u0431":a<11?"\u0441\u0443\u0431\u04b3":a<16?"\u0440\u04ef\u0437":a<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(a){return a+(i[a]||i[a%10]||i[a>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},81672:function(pe,h,o){!function(n){"use strict";n.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(d){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===d},meridiem:function(d,a,l){return d<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(o(35908))},57232:function(pe,h,o){!function(n){"use strict";var i={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};n.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(a,l){switch(l){case"d":case"D":case"Do":case"DD":return a;default:if(0===a)return a+"'unjy";var e=a%10;return a+(i[e]||i[a%100-e]||i[a>=100?100:null])}},week:{dow:1,doy:7}})}(o(35908))},89480:function(pe,h,o){!function(n){"use strict";n.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},58512:function(pe,h,o){!function(n){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function l(c,g,v,p){var S=function e(c){var g=Math.floor(c%1e3/100),v=Math.floor(c%100/10),p=c%10,S="";return g>0&&(S+=i[g]+"vatlh"),v>0&&(S+=(""!==S?" ":"")+i[v]+"maH"),p>0&&(S+=(""!==S?" ":"")+i[p]),""===S?"pagh":S}(c);switch(v){case"ss":return S+" lup";case"mm":return S+" tup";case"hh":return S+" rep";case"dd":return S+" jaj";case"MM":return S+" jar";case"yy":return S+" DIS"}}n.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function d(c){var g=c;return-1!==c.indexOf("jaj")?g.slice(0,-3)+"leS":-1!==c.indexOf("jar")?g.slice(0,-3)+"waQ":-1!==c.indexOf("DIS")?g.slice(0,-3)+"nem":g+" pIq"},past:function a(c){var g=c;return-1!==c.indexOf("jaj")?g.slice(0,-3)+"Hu\u2019":-1!==c.indexOf("jar")?g.slice(0,-3)+"wen":-1!==c.indexOf("DIS")?g.slice(0,-3)+"ben":g+" ret"},s:"puS lup",ss:l,m:"wa\u2019 tup",mm:l,h:"wa\u2019 rep",hh:l,d:"wa\u2019 jaj",dd:l,M:"wa\u2019 jar",MM:l,y:"wa\u2019 DIS",yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},56020:function(pe,h,o){!function(n){"use strict";var i={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};n.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(a,l,e){return a<12?e?"\xf6\xf6":"\xd6\xd6":e?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(a){return"\xf6s"===a||"\xd6S"===a},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(a,l){switch(l){case"d":case"D":case"Do":case"DD":return a;default:if(0===a)return a+"'\u0131nc\u0131";var e=a%10;return a+(i[e]||i[a%100-e]||i[a>=100?100:null])}},week:{dow:1,doy:7}})}(o(35908))},36240:function(pe,h,o){!function(n){"use strict";function d(a,l,e,u){var c={s:["viensas secunds","'iensas secunds"],ss:[a+" secunds",a+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[a+" m\xeduts",a+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[a+" \xfeoras",a+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas",a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen",a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars",a+" ars"]};return u||l?c[e][0]:c[e][1]}n.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(a){return"d'o"===a.toLowerCase()},meridiem:function(a,l,e){return a>11?e?"d'o":"D'O":e?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},53384:function(pe,h,o){!function(n){"use strict";n.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(o(35908))},33064:function(pe,h,o){!function(n){"use strict";n.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(o(35908))},45852:function(pe,h,o){!function(n){"use strict";n.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===a||"\u0633\u06d5\u06be\u06d5\u0631"===a||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===a?d:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===a||"\u0643\u06d5\u0686"===a?d+12:d>=11?d:d+12},meridiem:function(d,a,l){var e=100*d+a;return e<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":e<900?"\u0633\u06d5\u06be\u06d5\u0631":e<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":e<1230?"\u0686\u06c8\u0634":e<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return d+"-\u06be\u06d5\u067e\u062a\u06d5";default:return d}},preparse:function(d){return d.replace(/\u060c/g,",")},postformat:function(d){return d.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(o(35908))},12480:function(pe,h,o){!function(n){"use strict";function d(u,c,g){return"m"===g?c?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===g?c?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":u+" "+function i(u,c){var g=u.split("_");return c%10==1&&c%100!=11?g[0]:c%10>=2&&c%10<=4&&(c%100<10||c%100>=20)?g[1]:g[2]}({ss:c?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:c?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:c?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[g],+u)}function l(u){return function(){return u+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}n.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function a(u,c){var g={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===u?g.nominative.slice(1,7).concat(g.nominative.slice(0,1)):u?g[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(c)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(c)?"genitive":"nominative"][u.day()]:g.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:l("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:l("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:l("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:l("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return l("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return l("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:d,y:"\u0440\u0456\u043a",yy:d},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(u){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(u)},meridiem:function(u,c,g){return u<4?"\u043d\u043e\u0447\u0456":u<12?"\u0440\u0430\u043d\u043a\u0443":u<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(u,c){switch(c){case"M":case"d":case"DDD":case"w":case"W":return u+"-\u0439";case"D":return u+"-\u0433\u043e";default:return u}},week:{dow:1,doy:7}})}(o(35908))},63877:function(pe,h,o){!function(n){"use strict";var i=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],d=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];n.defineLocale("ur",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(l){return"\u0634\u0627\u0645"===l},meridiem:function(l,e,u){return l<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(l){return l.replace(/\u060c/g,",")},postformat:function(l){return l.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(o(35908))},20108:function(pe,h,o){!function(n){"use strict";n.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(o(35908))},91712:function(pe,h,o){!function(n){"use strict";n.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(o(35908))},9984:function(pe,h,o){!function(n){"use strict";n.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(d){return/^ch$/i.test(d)},meridiem:function(d,a,l){return d<12?l?"sa":"SA":l?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},45708:function(pe,h,o){!function(n){"use strict";n.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},78476:function(pe,h,o){!function(n){"use strict";n.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(o(35908))},3676:function(pe,h,o){!function(n){"use strict";n.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:d>=11?d:d+12},meridiem:function(d,a,l){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(d){return d.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(d){return this.week()!==d.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u5468";default:return d}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(o(35908))},49880:function(pe,h,o){!function(n){"use strict";n.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e2d\u5348"===a?d>=11?d:d+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:void 0},meridiem:function(d,a,l){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1200?"\u4e0a\u5348":1200===e?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},41968:function(pe,h,o){!function(n){"use strict";n.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e2d\u5348"===a?d>=11?d:d+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:void 0},meridiem:function(d,a,l){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},33632:function(pe,h,o){!function(n){"use strict";n.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e2d\u5348"===a?d>=11?d:d+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:void 0},meridiem:function(d,a,l){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},35908:function(pe,h,o){(pe=o.nmd(pe)).exports=function(){"use strict";var n,y;function i(){return n.apply(null,arguments)}function a(V){return V instanceof Array||"[object Array]"===Object.prototype.toString.call(V)}function l(V){return null!=V&&"[object Object]"===Object.prototype.toString.call(V)}function e(V,he){return Object.prototype.hasOwnProperty.call(V,he)}function u(V){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(V).length;var he;for(he in V)if(e(V,he))return!1;return!0}function c(V){return void 0===V}function g(V){return"number"==typeof V||"[object Number]"===Object.prototype.toString.call(V)}function v(V){return V instanceof Date||"[object Date]"===Object.prototype.toString.call(V)}function p(V,he){var ze,ke=[],lt=V.length;for(ze=0;ze>>0;for(ze=0;ze0)for(ke=0;ke=0?ke?"+":"":"-")+Math.pow(10,Math.max(0,he-ze.length)).toString().substr(1)+ze}var re=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,J=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},$={};function le(V,he,ke,ze){var lt=ze;"string"==typeof ze&&(lt=function(){return this[ze]()}),V&&($[V]=lt),he&&($[he[0]]=function(){return Z(lt.apply(this,arguments),he[1],he[2])}),ke&&($[ke]=function(){return this.localeData().ordinal(lt.apply(this,arguments),V)})}function ee(V){return V.match(/\[[\s\S]/)?V.replace(/^\[|\]$/g,""):V.replace(/\\/g,"")}function ye(V,he){return V.isValid()?(he=Oe(he,V.localeData()),Y[he]=Y[he]||function we(V){var ke,ze,he=V.match(re);for(ke=0,ze=he.length;ke=0&&J.test(V);)V=V.replace(J,ze),J.lastIndex=0,ke-=1;return V}var nt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Pt(V){return"string"==typeof V?nt[V]||nt[V.toLowerCase()]:void 0}function tn(V){var ke,ze,he={};for(ze in V)e(V,ze)&&(ke=Pt(ze))&&(he[ke]=V[ze]);return he}var hn={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var Xt,An=/\d/,_n=/\d\d/,qt=/\d{3}/,ht=/\d{4}/,Ue=/[+-]?\d{6}/,Ee=/\d\d?/,Te=/\d\d\d\d?/,$e=/\d\d\d\d\d\d?/,je=/\d{1,3}/,gt=/\d{1,4}/,He=/[+-]?\d{1,6}/,vt=/\d+/,ut=/[+-]?\d+/,wt=/Z|[+-]\d\d:?\d\d/gi,st=/Z|[+-]\d\d(?::?\d\d)?/gi,pt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,It=/^[1-9]\d?/,Yt=/^([1-9]\d|\d)/;function At(V,he,ke){Xt[V]=O(he)?he:function(ze,lt){return ze&&ke?ke:he}}function $t(V,he){return e(Xt,V)?Xt[V](he._strict,he._locale):new RegExp(function St(V){return xt(V.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(he,ke,ze,lt,Vt){return ke||ze||lt||Vt}))}(V))}function xt(V){return V.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function nn(V){return V<0?Math.ceil(V)||0:Math.floor(V)}function bn(V){var he=+V,ke=0;return 0!==he&&isFinite(he)&&(ke=nn(he)),ke}Xt={};var Tn={};function rn(V,he){var ke,lt,ze=he;for("string"==typeof V&&(V=[V]),g(he)&&(ze=function(Vt,Dn){Dn[he]=bn(Vt)}),lt=V.length,ke=0;ke68?1900:2e3)};var ct,Or=en("FullYear",!0);function en(V,he){return function(ke){return null!=ke?(Qn(this,V,ke),i.updateOffset(this,he),this):jn(this,V)}}function jn(V,he){if(!V.isValid())return NaN;var ke=V._d,ze=V._isUTC;switch(he){case"Milliseconds":return ze?ke.getUTCMilliseconds():ke.getMilliseconds();case"Seconds":return ze?ke.getUTCSeconds():ke.getSeconds();case"Minutes":return ze?ke.getUTCMinutes():ke.getMinutes();case"Hours":return ze?ke.getUTCHours():ke.getHours();case"Date":return ze?ke.getUTCDate():ke.getDate();case"Day":return ze?ke.getUTCDay():ke.getDay();case"Month":return ze?ke.getUTCMonth():ke.getMonth();case"FullYear":return ze?ke.getUTCFullYear():ke.getFullYear();default:return NaN}}function Qn(V,he,ke){var ze,lt,Vt,Dn,rr;if(V.isValid()&&!isNaN(ke)){switch(ze=V._d,lt=V._isUTC,he){case"Milliseconds":return void(lt?ze.setUTCMilliseconds(ke):ze.setMilliseconds(ke));case"Seconds":return void(lt?ze.setUTCSeconds(ke):ze.setSeconds(ke));case"Minutes":return void(lt?ze.setUTCMinutes(ke):ze.setMinutes(ke));case"Hours":return void(lt?ze.setUTCHours(ke):ze.setHours(ke));case"Date":return void(lt?ze.setUTCDate(ke):ze.setDate(ke));case"FullYear":break;default:return}Vt=ke,Dn=V.month(),rr=29!==(rr=V.date())||1!==Dn||Br(Vt)?rr:28,lt?ze.setUTCFullYear(Vt,Dn,rr):ze.setFullYear(Vt,Dn,rr)}}function Rt(V,he){if(isNaN(V)||isNaN(he))return NaN;var ke=function Pr(V,he){return(V%he+he)%he}(he,12);return V+=(he-ke)/12,1===ke?Br(V)?29:28:31-ke%7%2}ct=Array.prototype.indexOf?Array.prototype.indexOf:function(V){var he;for(he=0;he=0?(rr=new Date(V+400,he,ke,ze,lt,Vt,Dn),isFinite(rr.getFullYear())&&rr.setFullYear(V)):rr=new Date(V,he,ke,ze,lt,Vt,Dn),rr}function Fe(V){var he,ke;return V<100&&V>=0?((ke=Array.prototype.slice.call(arguments))[0]=V+400,he=new Date(Date.UTC.apply(null,ke)),isFinite(he.getUTCFullYear())&&he.setUTCFullYear(V)):he=new Date(Date.UTC.apply(null,arguments)),he}function Ae(V,he,ke){var ze=7+he-ke;return-(7+Fe(V,0,ze).getUTCDay()-he)%7+ze-1}function fe(V,he,ke,ze,lt){var Kr,fi,rr=1+7*(he-1)+(7+ke-ze)%7+Ae(V,ze,lt);return rr<=0?fi=er(Kr=V-1)+rr:rr>er(V)?(Kr=V+1,fi=rr-er(V)):(Kr=V,fi=rr),{year:Kr,dayOfYear:fi}}function De(V,he,ke){var Vt,Dn,ze=Ae(V.year(),he,ke),lt=Math.floor((V.dayOfYear()-ze-1)/7)+1;return lt<1?Vt=lt+rt(Dn=V.year()-1,he,ke):lt>rt(V.year(),he,ke)?(Vt=lt-rt(V.year(),he,ke),Dn=V.year()+1):(Dn=V.year(),Vt=lt),{week:Vt,year:Dn}}function rt(V,he,ke){var ze=Ae(V,he,ke),lt=Ae(V+1,he,ke);return(er(V)-ze+lt)/7}le("w",["ww",2],"wo","week"),le("W",["WW",2],"Wo","isoWeek"),At("w",Ee,It),At("ww",Ee,_n),At("W",Ee,It),At("WW",Ee,_n),nr(["w","ww","W","WW"],function(V,he,ke,ze){he[ze.substr(0,1)]=bn(V)});function Gt(V,he){return V.slice(he,7).concat(V.slice(0,he))}le("d",0,"do","day"),le("dd",0,0,function(V){return this.localeData().weekdaysMin(this,V)}),le("ddd",0,0,function(V){return this.localeData().weekdaysShort(this,V)}),le("dddd",0,0,function(V){return this.localeData().weekdays(this,V)}),le("e",0,0,"weekday"),le("E",0,0,"isoWeekday"),At("d",Ee),At("e",Ee),At("E",Ee),At("dd",function(V,he){return he.weekdaysMinRegex(V)}),At("ddd",function(V,he){return he.weekdaysShortRegex(V)}),At("dddd",function(V,he){return he.weekdaysRegex(V)}),nr(["dd","ddd","dddd"],function(V,he,ke,ze){var lt=ke._locale.weekdaysParse(V,ze,ke._strict);null!=lt?he.d=lt:f(ke).invalidWeekday=V}),nr(["d","e","E"],function(V,he,ke,ze){he[ze]=bn(V)});var Nn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),lr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),cr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nr=pt,Lr=pt,dt=pt;function In(V,he,ke){var ze,lt,Vt,Dn=V.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],ze=0;ze<7;++ze)Vt=C([2e3,1]).day(ze),this._minWeekdaysParse[ze]=this.weekdaysMin(Vt,"").toLocaleLowerCase(),this._shortWeekdaysParse[ze]=this.weekdaysShort(Vt,"").toLocaleLowerCase(),this._weekdaysParse[ze]=this.weekdays(Vt,"").toLocaleLowerCase();return ke?"dddd"===he?-1!==(lt=ct.call(this._weekdaysParse,Dn))?lt:null:"ddd"===he?-1!==(lt=ct.call(this._shortWeekdaysParse,Dn))?lt:null:-1!==(lt=ct.call(this._minWeekdaysParse,Dn))?lt:null:"dddd"===he?-1!==(lt=ct.call(this._weekdaysParse,Dn))||-1!==(lt=ct.call(this._shortWeekdaysParse,Dn))||-1!==(lt=ct.call(this._minWeekdaysParse,Dn))?lt:null:"ddd"===he?-1!==(lt=ct.call(this._shortWeekdaysParse,Dn))||-1!==(lt=ct.call(this._weekdaysParse,Dn))||-1!==(lt=ct.call(this._minWeekdaysParse,Dn))?lt:null:-1!==(lt=ct.call(this._minWeekdaysParse,Dn))||-1!==(lt=ct.call(this._weekdaysParse,Dn))||-1!==(lt=ct.call(this._shortWeekdaysParse,Dn))?lt:null}function Xr(){function V(us,Xs){return Xs.length-us.length}var Vt,Dn,rr,Kr,fi,he=[],ke=[],ze=[],lt=[];for(Vt=0;Vt<7;Vt++)Dn=C([2e3,1]).day(Vt),rr=xt(this.weekdaysMin(Dn,"")),Kr=xt(this.weekdaysShort(Dn,"")),fi=xt(this.weekdays(Dn,"")),he.push(rr),ke.push(Kr),ze.push(fi),lt.push(rr),lt.push(Kr),lt.push(fi);he.sort(V),ke.sort(V),ze.sort(V),lt.sort(V),this._weekdaysRegex=new RegExp("^("+lt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+ze.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+ke.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+he.join("|")+")","i")}function Vi(){return this.hours()%12||12}function Yi(V,he){le(V,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),he)})}function ko(V,he){return he._meridiemParse}le("H",["HH",2],0,"hour"),le("h",["hh",2],0,Vi),le("k",["kk",2],0,function hr(){return this.hours()||24}),le("hmm",0,0,function(){return""+Vi.apply(this)+Z(this.minutes(),2)}),le("hmmss",0,0,function(){return""+Vi.apply(this)+Z(this.minutes(),2)+Z(this.seconds(),2)}),le("Hmm",0,0,function(){return""+this.hours()+Z(this.minutes(),2)}),le("Hmmss",0,0,function(){return""+this.hours()+Z(this.minutes(),2)+Z(this.seconds(),2)}),Yi("a",!0),Yi("A",!1),At("a",ko),At("A",ko),At("H",Ee,Yt),At("h",Ee,It),At("k",Ee,It),At("HH",Ee,_n),At("hh",Ee,_n),At("kk",Ee,_n),At("hmm",Te),At("hmmss",$e),At("Hmm",Te),At("Hmmss",$e),rn(["H","HH"],qn),rn(["k","kk"],function(V,he,ke){var ze=bn(V);he[qn]=24===ze?0:ze}),rn(["a","A"],function(V,he,ke){ke._isPm=ke._locale.isPM(V),ke._meridiem=V}),rn(["h","hh"],function(V,he,ke){he[qn]=bn(V),f(ke).bigHour=!0}),rn("hmm",function(V,he,ke){var ze=V.length-2;he[qn]=bn(V.substr(0,ze)),he[Rn]=bn(V.substr(ze)),f(ke).bigHour=!0}),rn("hmmss",function(V,he,ke){var ze=V.length-4,lt=V.length-2;he[qn]=bn(V.substr(0,ze)),he[Rn]=bn(V.substr(ze,2)),he[oi]=bn(V.substr(lt)),f(ke).bigHour=!0}),rn("Hmm",function(V,he,ke){var ze=V.length-2;he[qn]=bn(V.substr(0,ze)),he[Rn]=bn(V.substr(ze))}),rn("Hmmss",function(V,he,ke){var ze=V.length-4,lt=V.length-2;he[qn]=bn(V.substr(0,ze)),he[Rn]=bn(V.substr(ze,2)),he[oi]=bn(V.substr(lt))});var zi=en("Hours",!0);var _i,ro={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:kt,monthsShort:on,week:{dow:0,doy:6},weekdays:Nn,weekdaysMin:cr,weekdaysShort:lr,meridiemParse:/[ap]\.?m?\.?/i},Rr={},mo={};function xi(V,he){var ke,ze=Math.min(V.length,he.length);for(ke=0;ke0;){if(lt=wi(Vt.slice(0,ke).join("-")))return lt;if(ze&&ze.length>=ke&&xi(Vt,ze)>=ke-1)break;ke--}he++}return _i}(V)}function Ni(V){var he,ke=V._a;return ke&&-2===f(V).overflow&&(he=ke[Er]<0||ke[Er]>11?Er:ke[br]<1||ke[br]>Rt(ke[sr],ke[Er])?br:ke[qn]<0||ke[qn]>24||24===ke[qn]&&(0!==ke[Rn]||0!==ke[oi]||0!==ke[Sr])?qn:ke[Rn]<0||ke[Rn]>59?Rn:ke[oi]<0||ke[oi]>59?oi:ke[Sr]<0||ke[Sr]>999?Sr:-1,f(V)._overflowDayOfYear&&(hebr)&&(he=br),f(V)._overflowWeeks&&-1===he&&(he=pr),f(V)._overflowWeekday&&-1===he&&(he=Jn),f(V).overflow=he),V}var Gr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Lo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Oi=/Z|[+-]\d\d(?::?\d\d)?/,Zi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Li=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Gi=/^\/?Date\((-?\d+)/i,$o=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Co={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ro(V){var he,ke,Vt,Dn,rr,Kr,ze=V._i,lt=Gr.exec(ze)||Lo.exec(ze),fi=Zi.length,us=Li.length;if(lt){for(f(V).iso=!0,he=0,ke=fi;he7)&&(Kr=!0)):(Vt=V._locale._week.dow,Dn=V._locale._week.doy,fi=De(Ot(),Vt,Dn),ke=So(he.gg,V._a[sr],fi.year),ze=So(he.w,fi.week),null!=he.d?((lt=he.d)<0||lt>6)&&(Kr=!0):null!=he.e?(lt=he.e+Vt,(he.e<0||he.e>6)&&(Kr=!0)):lt=Vt),ze<1||ze>rt(ke,Vt,Dn)?f(V)._overflowWeeks=!0:null!=Kr?f(V)._overflowWeekday=!0:(rr=fe(ke,ze,lt,Vt,Dn),V._a[sr]=rr.year,V._dayOfYear=rr.dayOfYear)}(V),null!=V._dayOfYear&&(Dn=So(V._a[sr],lt[sr]),(V._dayOfYear>er(Dn)||0===V._dayOfYear)&&(f(V)._overflowDayOfYear=!0),ke=Fe(Dn,0,V._dayOfYear),V._a[Er]=ke.getUTCMonth(),V._a[br]=ke.getUTCDate()),he=0;he<3&&null==V._a[he];++he)V._a[he]=ze[he]=lt[he];for(;he<7;he++)V._a[he]=ze[he]=null==V._a[he]?2===he?1:0:V._a[he];24===V._a[qn]&&0===V._a[Rn]&&0===V._a[oi]&&0===V._a[Sr]&&(V._nextDay=!0,V._a[qn]=0),V._d=(V._useUTC?Fe:ae).apply(null,ze),Vt=V._useUTC?V._d.getUTCDay():V._d.getDay(),null!=V._tzm&&V._d.setUTCMinutes(V._d.getUTCMinutes()-V._tzm),V._nextDay&&(V._a[qn]=24),V._w&&typeof V._w.d<"u"&&V._w.d!==Vt&&(f(V).weekdayMismatch=!0)}}function Do(V){if(V._f!==i.ISO_8601)if(V._f!==i.RFC_2822){V._a=[],f(V).empty=!0;var ke,ze,lt,Vt,Dn,fi,us,he=""+V._i,rr=he.length,Kr=0;for(us=(lt=Oe(V._f,V._locale).match(re)||[]).length,ke=0;ke0&&f(V).unusedInput.push(Dn),he=he.slice(he.indexOf(ze)+ze.length),Kr+=ze.length),$[Vt]?(ze?f(V).empty=!1:f(V).unusedTokens.push(Vt),kr(Vt,ze,V)):V._strict&&!ze&&f(V).unusedTokens.push(Vt);f(V).charsLeftOver=rr-Kr,he.length>0&&f(V).unusedInput.push(he),V._a[qn]<=12&&!0===f(V).bigHour&&V._a[qn]>0&&(f(V).bigHour=void 0),f(V).parsedDateParts=V._a.slice(0),f(V).meridiem=V._meridiem,V._a[qn]=function Ko(V,he,ke){var ze;return null==ke?he:null!=V.meridiemHour?V.meridiemHour(he,ke):(null!=V.isPM&&((ze=V.isPM(ke))&&he<12&&(he+=12),!ze&&12===he&&(he=0)),he)}(V._locale,V._a[qn],V._meridiem),null!==(fi=f(V).era)&&(V._a[sr]=V._locale.erasConvertYear(fi,V._a[sr])),co(V),Ni(V)}else Ki(V);else Ro(V)}function Ke(V){var he=V._i,ke=V._f;return V._locale=V._locale||zr(V._l),null===he||void 0===ke&&""===he?E({nullInput:!0}):("string"==typeof he&&(V._i=he=V._locale.preparse(he)),j(he)?new F(Ni(he)):(v(he)?V._d=he:a(ke)?function hs(V){var he,ke,ze,lt,Vt,Dn,rr=!1,Kr=V._f.length;if(0===Kr)return f(V).invalidFormat=!0,void(V._d=new Date(NaN));for(lt=0;ltthis?this:V:E()});function Wi(V,he){var ke,ze;if(1===he.length&&a(he[0])&&(he=he[0]),!he.length)return Ot();for(ke=he[0],ze=1;ze=0?new Date(V+400,he,ke)-Ri:new Date(V,he,ke).valueOf()}function gs(V,he,ke){return V<100&&V>=0?Date.UTC(V+400,he,ke)-Ri:Date.UTC(V,he,ke)}function aa(V,he){return he.erasAbbrRegex(V)}function zo(){var lt,Vt,Dn,rr,Kr,V=[],he=[],ke=[],ze=[],fi=this.eras();for(lt=0,Vt=fi.length;lt(Vt=rt(V,ze,lt))&&(he=Vt),Xl.call(this,V,he,ke,ze,lt))}function Xl(V,he,ke,ze,lt){var Vt=fe(V,he,ke,ze,lt),Dn=Fe(Vt.year,0,Vt.dayOfYear);return this.year(Dn.getUTCFullYear()),this.month(Dn.getUTCMonth()),this.date(Dn.getUTCDate()),this}le("N",0,0,"eraAbbr"),le("NN",0,0,"eraAbbr"),le("NNN",0,0,"eraAbbr"),le("NNNN",0,0,"eraName"),le("NNNNN",0,0,"eraNarrow"),le("y",["y",1],"yo","eraYear"),le("y",["yy",2],0,"eraYear"),le("y",["yyy",3],0,"eraYear"),le("y",["yyyy",4],0,"eraYear"),At("N",aa),At("NN",aa),At("NNN",aa),At("NNNN",function gu(V,he){return he.erasNameRegex(V)}),At("NNNNN",function Ql(V,he){return he.erasNarrowRegex(V)}),rn(["N","NN","NNN","NNNN","NNNNN"],function(V,he,ke,ze){var lt=ke._locale.erasParse(V,ze,ke._strict);lt?f(ke).era=lt:f(ke).invalidEra=V}),At("y",vt),At("yy",vt),At("yyy",vt),At("yyyy",vt),At("yo",function mu(V,he){return he._eraYearOrdinalRegex||vt}),rn(["y","yy","yyy","yyyy"],sr),rn(["yo"],function(V,he,ke,ze){var lt;ke._locale._eraYearOrdinalRegex&&(lt=V.match(ke._locale._eraYearOrdinalRegex)),he[sr]=ke._locale.eraYearOrdinalParse?ke._locale.eraYearOrdinalParse(V,lt):parseInt(V,10)}),le(0,["gg",2],0,function(){return this.weekYear()%100}),le(0,["GG",2],0,function(){return this.isoWeekYear()%100}),la("gggg","weekYear"),la("ggggg","weekYear"),la("GGGG","isoWeekYear"),la("GGGGG","isoWeekYear"),At("G",ut),At("g",ut),At("GG",Ee,_n),At("gg",Ee,_n),At("GGGG",gt,ht),At("gggg",gt,ht),At("GGGGG",He,Ue),At("ggggg",He,Ue),nr(["gggg","ggggg","GGGG","GGGGG"],function(V,he,ke,ze){he[ze.substr(0,2)]=bn(V)}),nr(["gg","GG"],function(V,he,ke,ze){he[ze]=i.parseTwoDigitYear(V)}),le("Q",0,"Qo","quarter"),At("Q",An),rn("Q",function(V,he){he[Er]=3*(bn(V)-1)}),le("D",["DD",2],"Do","date"),At("D",Ee,It),At("DD",Ee,_n),At("Do",function(V,he){return V?he._dayOfMonthOrdinalParse||he._ordinalParse:he._dayOfMonthOrdinalParseLenient}),rn(["D","DD"],br),rn("Do",function(V,he){he[br]=bn(V.match(Ee)[0])});var Ea=en("Date",!0);le("DDD",["DDDD",3],"DDDo","dayOfYear"),At("DDD",je),At("DDDD",qt),rn(["DDD","DDDD"],function(V,he,ke){ke._dayOfYear=bn(V)}),le("m",["mm",2],0,"minute"),At("m",Ee,Yt),At("mm",Ee,_n),rn(["m","mm"],Rn);var sl=en("Minutes",!1);le("s",["ss",2],0,"second"),At("s",Ee,Yt),At("ss",Ee,_n),rn(["s","ss"],oi);var No,ni,pu=en("Seconds",!1);for(le("S",0,0,function(){return~~(this.millisecond()/100)}),le(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),le(0,["SSS",3],0,"millisecond"),le(0,["SSSS",4],0,function(){return 10*this.millisecond()}),le(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),le(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),le(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),le(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),le(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),At("S",je,An),At("SS",je,_n),At("SSS",je,qt),No="SSSS";No.length<=9;No+="S")At(No,vt);function ql(V,he){he[Sr]=bn(1e3*("0."+V))}for(No="S";No.length<=9;No+="S")rn(No,ql);ni=en("Milliseconds",!1),le("z",0,0,"zoneAbbr"),le("zz",0,0,"zoneName");var Un=F.prototype;function oe(V){return V}Un.add=Ti,Un.calendar=function Be(V,he){1===arguments.length&&(arguments[0]?wr(arguments[0])?(V=arguments[0],he=void 0):function ei(V){var lt,he=l(V)&&!u(V),ke=!1,ze=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(lt=0;ltke.valueOf():ke.valueOf()9999?ye(ke,he?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?he?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ye(ke,"Z")):ye(ke,he?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Un.inspect=function Ce(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var ke,ze,V="moment",he="";return this.isLocal()||(V=0===this.utcOffset()?"moment.utc":"moment.parseZone",he="Z"),ke="["+V+'("]',ze=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(ke+ze+"-MM-DD[T]HH:mm:ss.SSS"+he+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Un[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Un.toJSON=function Gl(){return this.isValid()?this.toISOString():null},Un.toString=function X(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Un.unix=function hi(){return Math.floor(this.valueOf()/1e3)},Un.valueOf=function Yo(){return this._d.valueOf()-6e4*(this._offset||0)},Un.creationData=function Os(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Un.eraName=function Kl(){var V,he,ke,ze=this.localeData().eras();for(V=0,he=ze.length;Vthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Un.isLocal=function Wt(){return!!this.isValid()&&!this._isUTC},Un.isUtcOffset=function yn(){return!!this.isValid()&&this._isUTC},Un.isUtc=$n,Un.isUTC=$n,Un.zoneAbbr=function Us(){return this._isUTC?"UTC":""},Un.zoneName=function Ma(){return this._isUTC?"Coordinated Universal Time":""},Un.dates=P("dates accessor is deprecated. Use date instead.",Ea),Un.months=P("months accessor is deprecated. Use month instead",ur),Un.years=P("years accessor is deprecated. Use year instead",Or),Un.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function ne(V,he){return null!=V?("string"!=typeof V&&(V=-V),this.utcOffset(V,he),this):-this.utcOffset()}),Un.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Ht(){if(!c(this._isDSTShifted))return this._isDSTShifted;var he,V={};return I(V,this),(V=Ke(V))._a?(he=V._isUTC?C(V._a):Ot(V._a),this._isDSTShifted=this.isValid()&&function Di(V,he,ke){var Dn,ze=Math.min(V.length,he.length),lt=Math.abs(V.length-he.length),Vt=0;for(Dn=0;Dn0):this._isDSTShifted=!1,this._isDSTShifted});var be=te.prototype;function de(V,he,ke,ze){var lt=zr(),Vt=C().set(ze,he);return lt[ke](Vt,V)}function Se(V,he,ke){if(g(V)&&(he=V,V=void 0),V=V||"",null!=he)return de(V,he,ke,"month");var ze,lt=[];for(ze=0;ze<12;ze++)lt[ze]=de(V,ze,ke,"month");return lt}function We(V,he,ke,ze){"boolean"==typeof V?(g(he)&&(ke=he,he=void 0),he=he||""):(ke=he=V,V=!1,g(he)&&(ke=he,he=void 0),he=he||"");var Dn,lt=zr(),Vt=V?lt._week.dow:0,rr=[];if(null!=ke)return de(he,(ke+Vt)%7,ze,"day");for(Dn=0;Dn<7;Dn++)rr[Dn]=de(he,(Dn+Vt)%7,ze,"day");return rr}be.calendar=function K(V,he,ke){var ze=this._calendar[V]||this._calendar.sameElse;return O(ze)?ze.call(he,ke):ze},be.longDateFormat=function _e(V){var he=this._longDateFormat[V],ke=this._longDateFormat[V.toUpperCase()];return he||!ke?he:(this._longDateFormat[V]=ke.match(re).map(function(ze){return"MMMM"===ze||"MM"===ze||"DD"===ze||"dddd"===ze?ze.slice(1):ze}).join(""),this._longDateFormat[V])},be.invalidDate=function Ze(){return this._invalidDate},be.ordinal=function mt(V){return this._ordinal.replace("%d",V)},be.preparse=oe,be.postformat=oe,be.relativeTime=function Ct(V,he,ke,ze){var lt=this._relativeTime[ke];return O(lt)?lt(V,he,ke,ze):lt.replace(/%d/i,V)},be.pastFuture=function Xe(V,he){var ke=this._relativeTime[V>0?"future":"past"];return O(ke)?ke(he):ke.replace(/%s/i,he)},be.set=function H(V){var he,ke;for(ke in V)e(V,ke)&&(O(he=V[ke])?this[ke]=he:this["_"+ke]=he);this._config=V,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},be.eras=function fu(V,he){var ke,ze,lt,Vt=this._eras||zr("en")._eras;for(ke=0,ze=Vt.length;ke=0)return Vt[ze]},be.erasConvertYear=function as(V,he){var ke=V.since<=V.until?1:-1;return void 0===he?i(V.since).year():i(V.since).year()+(he-V.offset)*ke},be.erasAbbrRegex=function Sa(V){return e(this,"_erasAbbrRegex")||zo.call(this),V?this._erasAbbrRegex:this._erasRegex},be.erasNameRegex=function nl(V){return e(this,"_erasNameRegex")||zo.call(this),V?this._erasNameRegex:this._erasRegex},be.erasNarrowRegex=function sa(V){return e(this,"_erasNarrowRegex")||zo.call(this),V?this._erasNarrowRegex:this._erasRegex},be.months=function Zn(V,he){return V?a(this._months)?this._months[V.month()]:this._months[(this._months.isFormat||dn).test(he)?"format":"standalone"][V.month()]:a(this._months)?this._months:this._months.standalone},be.monthsShort=function Yn(V,he){return V?a(this._monthsShort)?this._monthsShort[V.month()]:this._monthsShort[dn.test(he)?"format":"standalone"][V.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},be.monthsParse=function Mr(V,he,ke){var ze,lt,Vt;if(this._monthsParseExact)return Tr.call(this,V,he,ke);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),ze=0;ze<12;ze++){if(lt=C([2e3,ze]),ke&&!this._longMonthsParse[ze]&&(this._longMonthsParse[ze]=new RegExp("^"+this.months(lt,"").replace(".","")+"$","i"),this._shortMonthsParse[ze]=new RegExp("^"+this.monthsShort(lt,"").replace(".","")+"$","i")),!ke&&!this._monthsParse[ze]&&(Vt="^"+this.months(lt,"")+"|^"+this.monthsShort(lt,""),this._monthsParse[ze]=new RegExp(Vt.replace(".",""),"i")),ke&&"MMMM"===he&&this._longMonthsParse[ze].test(V))return ze;if(ke&&"MMM"===he&&this._shortMonthsParse[ze].test(V))return ze;if(!ke&&this._monthsParse[ze].test(V))return ze}},be.monthsRegex=function U(V){return this._monthsParseExact?(e(this,"_monthsRegex")||z.call(this),V?this._monthsStrictRegex:this._monthsRegex):(e(this,"_monthsRegex")||(this._monthsRegex=En),this._monthsStrictRegex&&V?this._monthsStrictRegex:this._monthsRegex)},be.monthsShortRegex=function un(V){return this._monthsParseExact?(e(this,"_monthsRegex")||z.call(this),V?this._monthsShortStrictRegex:this._monthsShortRegex):(e(this,"_monthsShortRegex")||(this._monthsShortRegex=Mn),this._monthsShortStrictRegex&&V?this._monthsShortStrictRegex:this._monthsShortRegex)},be.week=function _t(V){return De(V,this._week.dow,this._week.doy).week},be.firstDayOfYear=function Jt(){return this._week.doy},be.firstDayOfWeek=function Bt(){return this._week.dow},be.weekdays=function lo(V,he){var ke=a(this._weekdays)?this._weekdays:this._weekdays[V&&!0!==V&&this._weekdays.isFormat.test(he)?"format":"standalone"];return!0===V?Gt(ke,this._week.dow):V?ke[V.day()]:ke},be.weekdaysMin=function _r(V){return!0===V?Gt(this._weekdaysMin,this._week.dow):V?this._weekdaysMin[V.day()]:this._weekdaysMin},be.weekdaysShort=function vi(V){return!0===V?Gt(this._weekdaysShort,this._week.dow):V?this._weekdaysShort[V.day()]:this._weekdaysShort},be.weekdaysParse=function Gn(V,he,ke){var ze,lt,Vt;if(this._weekdaysParseExact)return In.call(this,V,he,ke);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),ze=0;ze<7;ze++){if(lt=C([2e3,1]).day(ze),ke&&!this._fullWeekdaysParse[ze]&&(this._fullWeekdaysParse[ze]=new RegExp("^"+this.weekdays(lt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[ze]=new RegExp("^"+this.weekdaysShort(lt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[ze]=new RegExp("^"+this.weekdaysMin(lt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[ze]||(Vt="^"+this.weekdays(lt,"")+"|^"+this.weekdaysShort(lt,"")+"|^"+this.weekdaysMin(lt,""),this._weekdaysParse[ze]=new RegExp(Vt.replace(".",""),"i")),ke&&"dddd"===he&&this._fullWeekdaysParse[ze].test(V))return ze;if(ke&&"ddd"===he&&this._shortWeekdaysParse[ze].test(V))return ze;if(ke&&"dd"===he&&this._minWeekdaysParse[ze].test(V))return ze;if(!ke&&this._weekdaysParse[ze].test(V))return ze}},be.weekdaysRegex=function Fn(V){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Xr.call(this),V?this._weekdaysStrictRegex:this._weekdaysRegex):(e(this,"_weekdaysRegex")||(this._weekdaysRegex=Nr),this._weekdaysStrictRegex&&V?this._weekdaysStrictRegex:this._weekdaysRegex)},be.weekdaysShortRegex=function ti(V){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Xr.call(this),V?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(e(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Lr),this._weekdaysShortStrictRegex&&V?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},be.weekdaysMinRegex=function Zr(V){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Xr.call(this),V?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(e(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=dt),this._weekdaysMinStrictRegex&&V?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},be.isPM=function go(V){return"p"===(V+"").toLowerCase().charAt(0)},be.meridiem=function qi(V,he,ke){return V>11?ke?"pm":"PM":ke?"am":"AM"},yi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(V){var he=V%10;return V+(1===bn(V%100/10)?"th":1===he?"st":2===he?"nd":3===he?"rd":"th")}}),i.lang=P("moment.lang is deprecated. Use moment.locale instead.",yi),i.langData=P("moment.langData is deprecated. Use moment.localeData instead.",zr);var xr=Math.abs;function vo(V,he,ke,ze){var lt=fr(he,ke);return V._milliseconds+=ze*lt._milliseconds,V._days+=ze*lt._days,V._months+=ze*lt._months,V._bubble()}function ha(V){return V<0?Math.floor(V):Math.ceil(V)}function Dr(V){return 4800*V/146097}function Ha(V){return 146097*V/4800}function Is(V){return function(){return this.as(V)}}var tc=Is("ms"),vu=Is("s"),Ig=Is("m"),yu=Is("h"),Ay=Is("d"),Ty=Is("w"),Iy=Is("M"),ps=Is("Q"),nc=Is("y"),Vr=tc;function wa(V){return function(){return this.isValid()?this._data[V]:NaN}}var Bd=wa("milliseconds"),Py=wa("seconds"),Pg=wa("minutes"),bu=wa("hours"),ll=wa("days"),Ud=wa("months"),Wo=wa("years");var fa=Math.round,cl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ul(V,he,ke,ze,lt){return lt.relativeTime(he||1,!!ke,V,ze)}var Su=Math.abs;function Da(V){return(V>0)-(V<0)||+V}function Zs(){if(!this.isValid())return this.localeData().invalidDate();var ze,lt,Vt,Dn,Kr,fi,us,Xs,V=Su(this._milliseconds)/1e3,he=Su(this._days),ke=Su(this._months),rr=this.asSeconds();return rr?(ze=nn(V/60),lt=nn(ze/60),V%=60,ze%=60,Vt=nn(ke/12),ke%=12,Dn=V?V.toFixed(3).replace(/\.?0+$/,""):"",Kr=rr<0?"-":"",fi=Da(this._months)!==Da(rr)?"-":"",us=Da(this._days)!==Da(rr)?"-":"",Xs=Da(this._milliseconds)!==Da(rr)?"-":"",Kr+"P"+(Vt?fi+Vt+"Y":"")+(ke?fi+ke+"M":"")+(he?us+he+"D":"")+(lt||ze||V?"T":"")+(lt?Xs+lt+"H":"")+(ze?Xs+ze+"M":"")+(V?Xs+Dn+"S":"")):"P0D"}var Ci=Xo.prototype;return Ci.isValid=function is(){return this._isValid},Ci.abs=function di(){var V=this._data;return this._milliseconds=xr(this._milliseconds),this._days=xr(this._days),this._months=xr(this._months),V.milliseconds=xr(V.milliseconds),V.seconds=xr(V.seconds),V.minutes=xr(V.minutes),V.hours=xr(V.hours),V.months=xr(V.months),V.years=xr(V.years),this},Ci.add=function da(V,he){return vo(this,V,he,1)},Ci.subtract=function Hs(V,he){return vo(this,V,he,-1)},Ci.as=function _u(V){if(!this.isValid())return NaN;var he,ke,ze=this._milliseconds;if("month"===(V=Pt(V))||"quarter"===V||"year"===V)switch(he=this._days+ze/864e5,ke=this._months+Dr(he),V){case"month":return ke;case"quarter":return ke/3;case"year":return ke/12}else switch(he=this._days+Math.round(Ha(this._months)),V){case"week":return he/7+ze/6048e5;case"day":return he+ze/864e5;case"hour":return 24*he+ze/36e5;case"minute":return 1440*he+ze/6e4;case"second":return 86400*he+ze/1e3;case"millisecond":return Math.floor(864e5*he)+ze;default:throw new Error("Unknown unit "+V)}},Ci.asMilliseconds=tc,Ci.asSeconds=vu,Ci.asMinutes=Ig,Ci.asHours=yu,Ci.asDays=Ay,Ci.asWeeks=Ty,Ci.asMonths=Iy,Ci.asQuarters=ps,Ci.asYears=nc,Ci.valueOf=Vr,Ci._bubble=function to(){var lt,Vt,Dn,rr,Kr,V=this._milliseconds,he=this._days,ke=this._months,ze=this._data;return V>=0&&he>=0&&ke>=0||V<=0&&he<=0&&ke<=0||(V+=864e5*ha(Ha(ke)+he),he=0,ke=0),ze.milliseconds=V%1e3,lt=nn(V/1e3),ze.seconds=lt%60,Vt=nn(lt/60),ze.minutes=Vt%60,Dn=nn(Vt/60),ze.hours=Dn%24,he+=nn(Dn/24),ke+=Kr=nn(Dr(he)),he-=ha(Ha(Kr)),rr=nn(ke/12),ke%=12,ze.days=he,ze.months=ke,ze.years=rr,this},Ci.clone=function Bi(){return fr(this)},Ci.get=function al(V){return V=Pt(V),this.isValid()?this[V+"s"]():NaN},Ci.milliseconds=Bd,Ci.seconds=Py,Ci.minutes=Pg,Ci.hours=bu,Ci.days=ll,Ci.weeks=function Hd(){return nn(this.days()/7)},Ci.months=Ud,Ci.years=Wo,Ci.humanize=function xg(V,he){if(!this.isValid())return this.localeData().invalidDate();var lt,Vt,ke=!1,ze=cl;return"object"==typeof V&&(he=V,V=!1),"boolean"==typeof V&&(ke=V),"object"==typeof he&&(ze=Object.assign({},cl,he),null!=he.s&&null==he.ss&&(ze.ss=he.s-1)),Vt=function Cu(V,he,ke,ze){var lt=fr(V).abs(),Vt=fa(lt.as("s")),Dn=fa(lt.as("m")),rr=fa(lt.as("h")),Kr=fa(lt.as("d")),fi=fa(lt.as("M")),us=fa(lt.as("w")),Xs=fa(lt.as("y")),ga=Vt<=ke.ss&&["s",Vt]||Vt0,ga[4]=ze,ul.apply(null,ga)}(this,!ke,ze,lt=this.localeData()),ke&&(Vt=lt.pastFuture(+this,Vt)),lt.postformat(Vt)},Ci.toISOString=Zs,Ci.toString=Zs,Ci.toJSON=Zs,Ci.locale=gr,Ci.localeData=$r,Ci.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zs),Ci.lang=yr,le("X",0,0,"unix"),le("x",0,0,"valueOf"),At("x",ut),At("X",/[+-]?\d+(\.\d{1,3})?/),rn("X",function(V,he,ke){ke._d=new Date(1e3*parseFloat(V))}),rn("x",function(V,he,ke){ke._d=new Date(bn(V))}),i.version="2.30.1",function d(V){n=V}(Ot),i.fn=Un,i.min=function Eo(){return Wi("isBefore",[].slice.call(arguments,0))},i.max=function Ao(){return Wi("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=C,i.unix=function ec(V){return Ot(1e3*V)},i.months=function it(V,he){return Se(V,he,"months")},i.isDate=v,i.locale=yi,i.invalid=E,i.duration=fr,i.isMoment=j,i.weekdays=function gn(V,he,ke){return We(V,he,ke,"weekdays")},i.parseZone=function ms(){return Ot.apply(null,arguments).parseZone()},i.localeData=zr,i.isDuration=xo,i.monthsShort=function Lt(V,he){return Se(V,he,"monthsShort")},i.weekdaysMin=function Xn(V,he,ke){return We(V,he,ke,"weekdaysMin")},i.defineLocale=Mo,i.updateLocale=function po(V,he){if(null!=he){var ke,ze,lt=ro;null!=Rr[V]&&null!=Rr[V].parentLocale?Rr[V].set(G(Rr[V]._config,he)):(null!=(ze=wi(V))&&(lt=ze._config),he=G(lt,he),null==ze&&(he.abbr=V),(ke=new te(he)).parentLocale=Rr[V],Rr[V]=ke),yi(V)}else null!=Rr[V]&&(null!=Rr[V].parentLocale?(Rr[V]=Rr[V].parentLocale,V===yi()&&yi(V)):null!=Rr[V]&&delete Rr[V]);return Rr[V]},i.locales=function bo(){return ue(Rr)},i.weekdaysShort=function ln(V,he,ke){return We(V,he,ke,"weekdaysShort")},i.normalizeUnits=Pt,i.relativeTimeRounding=function rc(V){return void 0===V?fa:"function"==typeof V&&(fa=V,!0)},i.relativeTimeThreshold=function kg(V,he){return void 0!==cl[V]&&(void 0===he?cl[V]:(cl[V]=he,"s"===V&&(cl.ss=he-1),!0))},i.calendarFormat=function oo(V,he){var ke=V.diff(he,"days",!0);return ke<-6?"sameElse":ke<-1?"lastWeek":ke<0?"lastDay":ke<1?"sameDay":ke<2?"nextDay":ke<7?"nextWeek":"sameElse"},i.prototype=Un,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},35584:(module,__unused_webpack_exports,__webpack_require__)=>{var _asyncToGenerator=__webpack_require__(1196).default,o;globalThis,o=()=>(()=>{"use strict";var __webpack_modules__=[,(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.VerbosityLevel=h.Util=h.UnknownErrorException=h.UnexpectedResponseException=h.UNSUPPORTED_FEATURES=h.TextRenderingMode=h.StreamType=h.RenderingIntentFlag=h.PermissionFlag=h.PasswordResponses=h.PasswordException=h.PageActionEventType=h.OPS=h.MissingPDFException=h.LINE_FACTOR=h.LINE_DESCENT_FACTOR=h.InvalidPDFException=h.ImageKind=h.IDENTITY_MATRIX=h.FormatError=h.FontType=h.FeatureTest=h.FONT_IDENTITY_MATRIX=h.DocumentActionEventType=h.CMapCompressionType=h.BaseException=h.AnnotationType=h.AnnotationStateModelType=h.AnnotationReviewState=h.AnnotationReplyType=h.AnnotationMode=h.AnnotationMarkedState=h.AnnotationFlag=h.AnnotationFieldFlag=h.AnnotationEditorType=h.AnnotationEditorPrefix=h.AnnotationEditorParamsType=h.AnnotationBorderStyleType=h.AnnotationActionEventType=h.AbortException=void 0,h.arrayByteLength=mt,h.arraysToBytes=function Qe(ut){const wt=ut.length;if(1===wt&&ut[0]instanceof Uint8Array)return ut[0];let st=0;for(let It=0;Itwt}),ut.promise=new Promise(function(st,zt){ut.resolve=function(pt){wt=!0,st(pt)},ut.reject=function(pt){wt=!0,zt(pt)}}),ut},h.createValidAbsoluteUrl=function $(ut,wt=null,st=null){if(!ut)return null;try{if(st&&"string"==typeof ut){if(st.addDefaultProtocol&&ut.startsWith("www.")){const pt=ut.match(/\./g);pt&&pt.length>=2&&(ut=`http://${ut}`)}if(st.tryConvertEncoding)try{ut=Te(ut)}catch{}}const zt=wt?new URL(ut,wt):new URL(ut);if(function Y(ut){if(!ut)return!1;switch(ut.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(zt))return zt}catch{}return null},h.escapeString=function ht(ut){return ut.replace(/([()\\\n\r])/g,wt=>"\n"===wt?"\\n":"\r"===wt?"\\r":`\\${wt}`)},h.getModificationDate=function He(ut=new Date){return[ut.getUTCFullYear().toString(),(ut.getUTCMonth()+1).toString().padStart(2,"0"),ut.getUTCDate().toString().padStart(2,"0"),ut.getUTCHours().toString().padStart(2,"0"),ut.getUTCMinutes().toString().padStart(2,"0"),ut.getUTCSeconds().toString().padStart(2,"0")].join("")},h.getVerbosityLevel=function se(){return te},h.info=function K(ut){te>=x.INFOS&&console.log(`Info: ${ut}`)},h.isArrayBuffer=function je(ut){return"object"==typeof ut&&null!==ut&&void 0!==ut.byteLength},h.isArrayEqual=function gt(ut,wt){if(ut.length!==wt.length)return!1;for(let st=0,zt=ut.length;st>24&255,ut>>16&255,ut>>8&255,255&ut)},h.stringToBytes=tt,h.stringToPDFString=function qt(ut){if(ut[0]>="\xef"){let st;if("\xfe"===ut[0]&&"\xff"===ut[1]?st="utf-16be":"\xff"===ut[0]&&"\xfe"===ut[1]?st="utf-16le":"\xef"===ut[0]&&"\xbb"===ut[1]&&"\xbf"===ut[2]&&(st="utf-8"),st)try{const zt=new TextDecoder(st,{fatal:!0}),pt=tt(ut);return zt.decode(pt)}catch(zt){Z(`stringToPDFString: "${zt}".`)}}const wt=[];for(let st=0,zt=ut.length;st>8&255),String.fromCharCode(255&pt))}return wt.join("")},h.stringToUTF8String=Te,h.unreachable=re,h.utf8StringToString=function $e(ut){return unescape(encodeURIComponent(ut))},h.warn=Z,o(2),h.IDENTITY_MATRIX=[1,0,0,1,0,0],h.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],h.LINE_FACTOR=1.35,h.LINE_DESCENT_FACTOR=.35,h.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},h.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},h.AnnotationEditorPrefix="pdfjs_internal_editor_",h.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15},h.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13},h.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},h.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},h.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},h.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},h.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},h.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},h.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},h.AnnotationReplyType={GROUP:"Group",REPLY:"R"},h.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},h.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},h.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},h.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},h.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},h.PageActionEventType={O:"PageOpen",C:"PageClose"},h.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},h.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};const x={ERRORS:0,WARNINGS:1,INFOS:5};h.VerbosityLevel=x,h.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},h.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},h.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"},h.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let te=x.WARNINGS;function Z(ut){te>=x.WARNINGS&&console.log(`Warning: ${ut}`)}function re(ut){throw new Error(ut)}function le(ut,wt,st){return Object.defineProperty(ut,wt,{value:st,enumerable:!0,configurable:!0,writable:!1}),st}const ee=function(){function wt(st,zt){this.constructor===wt&&re("Cannot initialize BaseException."),this.message=st,this.name=zt}return wt.prototype=new Error,wt.constructor=wt,wt}();function tt(ut){"string"!=typeof ut&&re("Invalid argument for stringToBytes");const wt=ut.length,st=new Uint8Array(wt);for(let zt=0;ztut.toString(16).padStart(2,"0"));class An{static makeHexColor(wt,st,zt){return`#${wn[wt]}${wn[st]}${wn[zt]}`}static scaleMinMax(wt,st){let zt;wt[0]?(wt[0]<0&&(zt=st[0],st[0]=st[1],st[1]=zt),st[0]*=wt[0],st[1]*=wt[0],wt[3]<0&&(zt=st[2],st[2]=st[3],st[3]=zt),st[2]*=wt[3],st[3]*=wt[3]):(zt=st[0],st[0]=st[2],st[2]=zt,zt=st[1],st[1]=st[3],st[3]=zt,wt[1]<0&&(zt=st[2],st[2]=st[3],st[3]=zt),st[2]*=wt[1],st[3]*=wt[1],wt[2]<0&&(zt=st[0],st[0]=st[1],st[1]=zt),st[0]*=wt[2],st[1]*=wt[2]),st[0]+=wt[4],st[1]+=wt[4],st[2]+=wt[5],st[3]+=wt[5]}static transform(wt,st){return[wt[0]*st[0]+wt[2]*st[1],wt[1]*st[0]+wt[3]*st[1],wt[0]*st[2]+wt[2]*st[3],wt[1]*st[2]+wt[3]*st[3],wt[0]*st[4]+wt[2]*st[5]+wt[4],wt[1]*st[4]+wt[3]*st[5]+wt[5]]}static applyTransform(wt,st){return[wt[0]*st[0]+wt[1]*st[2]+st[4],wt[0]*st[1]+wt[1]*st[3]+st[5]]}static applyInverseTransform(wt,st){const zt=st[0]*st[3]-st[1]*st[2];return[(wt[0]*st[3]-wt[1]*st[2]+st[2]*st[5]-st[4]*st[3])/zt,(-wt[0]*st[1]+wt[1]*st[0]+st[4]*st[1]-st[5]*st[0])/zt]}static getAxialAlignedBoundingBox(wt,st){const zt=An.applyTransform(wt,st),pt=An.applyTransform(wt.slice(2,4),st),It=An.applyTransform([wt[0],wt[3]],st),Yt=An.applyTransform([wt[2],wt[1]],st);return[Math.min(zt[0],pt[0],It[0],Yt[0]),Math.min(zt[1],pt[1],It[1],Yt[1]),Math.max(zt[0],pt[0],It[0],Yt[0]),Math.max(zt[1],pt[1],It[1],Yt[1])]}static inverseTransform(wt){const st=wt[0]*wt[3]-wt[1]*wt[2];return[wt[3]/st,-wt[1]/st,-wt[2]/st,wt[0]/st,(wt[2]*wt[5]-wt[4]*wt[3])/st,(wt[4]*wt[1]-wt[5]*wt[0])/st]}static apply3dTransform(wt,st){return[wt[0]*st[0]+wt[1]*st[1]+wt[2]*st[2],wt[3]*st[0]+wt[4]*st[1]+wt[5]*st[2],wt[6]*st[0]+wt[7]*st[1]+wt[8]*st[2]]}static singularValueDecompose2dScale(wt){const st=[wt[0],wt[2],wt[1],wt[3]],zt=wt[0]*st[0]+wt[1]*st[2],Yt=wt[2]*st[1]+wt[3]*st[3],Xt=(zt+Yt)/2,At=Math.sqrt((zt+Yt)**2-4*(zt*Yt-(wt[2]*st[0]+wt[3]*st[2])*(wt[0]*st[1]+wt[1]*st[3])))/2,St=Xt-At||1;return[Math.sqrt(Xt+At||1),Math.sqrt(St)]}static normalizeRect(wt){const st=wt.slice(0);return wt[0]>wt[2]&&(st[0]=wt[2],st[2]=wt[0]),wt[1]>wt[3]&&(st[1]=wt[3],st[3]=wt[1]),st}static intersect(wt,st){const zt=Math.max(Math.min(wt[0],wt[2]),Math.min(st[0],st[2])),pt=Math.min(Math.max(wt[0],wt[2]),Math.max(st[0],st[2]));if(zt>pt)return null;const It=Math.max(Math.min(wt[1],wt[3]),Math.min(st[1],st[3])),Yt=Math.min(Math.max(wt[1],wt[3]),Math.max(st[1],st[3]));return It>Yt?null:[zt,It,pt,Yt]}static bezierBoundingBox(wt,st,zt,pt,It,Yt,Xt,At){const $t=[],St=[[],[]];let xt,nn,bn,Tn,rn,nr,kr,Br;for(let qn=0;qn<2;++qn)if(0===qn?(nn=6*wt-12*zt+6*It,xt=-3*wt+9*zt-9*It+3*Xt,bn=3*zt-3*wt):(nn=6*st-12*pt+6*Yt,xt=-3*st+9*pt-9*Yt+3*At,bn=3*pt-3*st),Math.abs(xt)<1e-12){if(Math.abs(nn)<1e-12)continue;Tn=-bn/nn,0{o(3)},(pe,h)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.isNodeJS=void 0;const o=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);h.isNodeJS=o},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorkerUtil=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _util=__w_pdfjs_require__(1),_annotation_storage=__w_pdfjs_require__(5),_display_utils=__w_pdfjs_require__(8),_font_loader=__w_pdfjs_require__(11),_canvas=__w_pdfjs_require__(12),_worker_options=__w_pdfjs_require__(15),_is_node=__w_pdfjs_require__(3),_message_handler=__w_pdfjs_require__(16),_metadata=__w_pdfjs_require__(17),_optional_content_config=__w_pdfjs_require__(18),_transport_stream=__w_pdfjs_require__(19),_xfa_text=__w_pdfjs_require__(20);const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100;let DefaultCanvasFactory=_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;let DefaultCMapReaderFactory=_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;let DefaultStandardFontDataFactory=_display_utils.DOMStandardFontDataFactory,createPDFNetworkStream;if(exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory,_is_node.isNodeJS){const{NodeCanvasFactory:pe,NodeCMapReaderFactory:h,NodeStandardFontDataFactory:o}=__w_pdfjs_require__(21);exports.DefaultCanvasFactory=DefaultCanvasFactory=pe,exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory=h,exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory=o}function setPDFNetworkStreamFactory(pe){createPDFNetworkStream=pe}function getDocument(pe){const h=new PDFDocumentLoadingTask;let o;if("string"==typeof pe||pe instanceof URL)o={url:pe};else if((0,_util.isArrayBuffer)(pe))o={data:pe};else if(pe instanceof PDFDataRangeTransport)o={range:pe};else{if("object"!=typeof pe)throw new Error("Invalid parameter in getDocument, need either string, URL, TypedArray, or parameter object.");if(!pe.url&&!pe.data&&!pe.range)throw new Error("Invalid parameter object: need either .data, .range or .url");o=pe}const n=Object.create(null);let i=null,d=null;for(const l in o){const e=o[l];switch(l){case"url":if(typeof window<"u")try{n[l]=new URL(e,window.location).href;continue}catch(u){(0,_util.warn)(`Cannot create valid URL: "${u}".`)}else if("string"==typeof e||e instanceof URL){n[l]=e.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":i=e;continue;case"worker":d=e;continue;case"data":if(_is_node.isNodeJS&&typeof Buffer<"u"&&e instanceof Buffer)n[l]=new Uint8Array(e);else{if(e instanceof Uint8Array)break;if("string"==typeof e)n[l]=(0,_util.stringToBytes)(e);else if("object"!=typeof e||null===e||isNaN(e.length)){if(!(0,_util.isArrayBuffer)(e))throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.");n[l]=new Uint8Array(e)}else n[l]=new Uint8Array(e)}continue}n[l]=e}if(n.CMapReaderFactory=n.CMapReaderFactory||DefaultCMapReaderFactory,n.StandardFontDataFactory=n.StandardFontDataFactory||DefaultStandardFontDataFactory,n.ignoreErrors=!0!==n.stopAtErrors,n.fontExtraProperties=!0===n.fontExtraProperties,n.pdfBug=!0===n.pdfBug,n.enableXfa=!0===n.enableXfa,(!Number.isInteger(n.rangeChunkSize)||n.rangeChunkSize<1)&&(n.rangeChunkSize=DEFAULT_RANGE_CHUNK_SIZE),("string"!=typeof n.docBaseUrl||(0,_display_utils.isDataScheme)(n.docBaseUrl))&&(n.docBaseUrl=null),(!Number.isInteger(n.maxImageSize)||n.maxImageSize<-1)&&(n.maxImageSize=-1),"string"!=typeof n.cMapUrl&&(n.cMapUrl=null),"string"!=typeof n.standardFontDataUrl&&(n.standardFontDataUrl=null),"boolean"!=typeof n.useWorkerFetch&&(n.useWorkerFetch=n.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&n.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),"boolean"!=typeof n.isEvalSupported&&(n.isEvalSupported=!0),"boolean"!=typeof n.disableFontFace&&(n.disableFontFace=_is_node.isNodeJS),"boolean"!=typeof n.useSystemFonts&&(n.useSystemFonts=!_is_node.isNodeJS&&!n.disableFontFace),("object"!=typeof n.ownerDocument||null===n.ownerDocument)&&(n.ownerDocument=globalThis.document),"boolean"!=typeof n.disableRange&&(n.disableRange=!1),"boolean"!=typeof n.disableStream&&(n.disableStream=!1),"boolean"!=typeof n.disableAutoFetch&&(n.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(n.verbosity),!d){const l={verbosity:n.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};d=l.port?PDFWorker.fromPort(l):new PDFWorker(l),h._worker=d}const a=h.docId;return d.promise.then(function(){if(h.destroyed)throw new Error("Loading aborted");const l=_fetchDocument(d,n,i,a),e=new Promise(function(u){let c;i?c=new _transport_stream.PDFDataTransportStream({length:n.length,initialData:n.initialData,progressiveDone:n.progressiveDone,contentDispositionFilename:n.contentDispositionFilename,disableRange:n.disableRange,disableStream:n.disableStream},i):n.data||(c=createPDFNetworkStream({url:n.url,length:n.length,httpHeaders:n.httpHeaders,withCredentials:n.withCredentials,rangeChunkSize:n.rangeChunkSize,disableRange:n.disableRange,disableStream:n.disableStream})),u(c)});return Promise.all([l,e]).then(function([u,c]){if(h.destroyed)throw new Error("Loading aborted");const g=new _message_handler.MessageHandler(a,u,d.port),v=new WorkerTransport(g,h,c,n);h._transport=v,g.send("Ready",null)})}).catch(h._capability.reject),h}function _fetchDocument(pe,h,o,n){return _fetchDocument2.apply(this,arguments)}function _fetchDocument2(){return(_fetchDocument2=_asyncToGenerator(function*(pe,h,o,n){if(pe.destroyed)throw new Error("Worker was destroyed");o&&(h.length=o.length,h.initialData=o.initialData,h.progressiveDone=o.progressiveDone,h.contentDispositionFilename=o.contentDispositionFilename);const i=yield pe.messageHandler.sendWithPromise("GetDocRequest",{docId:n,apiVersion:"2.16.105",source:{data:h.data,url:h.url,password:h.password,disableAutoFetch:h.disableAutoFetch,rangeChunkSize:h.rangeChunkSize,length:h.length},maxImageSize:h.maxImageSize,disableFontFace:h.disableFontFace,docBaseUrl:h.docBaseUrl,ignoreErrors:h.ignoreErrors,isEvalSupported:h.isEvalSupported,fontExtraProperties:h.fontExtraProperties,enableXfa:h.enableXfa,useSystemFonts:h.useSystemFonts,cMapUrl:h.useWorkerFetch?h.cMapUrl:null,standardFontDataUrl:h.useWorkerFetch?h.standardFontDataUrl:null});if(h.data&&(h.data=null),pe.destroyed)throw new Error("Worker was destroyed");return i})).apply(this,arguments)}class PDFDocumentLoadingTask{static#e=0;constructor(){this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+PDFDocumentLoadingTask.#e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}destroy(){var h=this;return _asyncToGenerator(function*(){h.destroyed=!0,yield h._transport?.destroy(),h._transport=null,h._worker&&(h._worker.destroy(),h._worker=null)})()}}exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;class PDFDataRangeTransport{constructor(h,o,n=!1,i=null){this.length=h,this.initialData=o,this.progressiveDone=n,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(h){this._rangeListeners.push(h)}addProgressListener(h){this._progressListeners.push(h)}addProgressiveReadListener(h){this._progressiveReadListeners.push(h)}addProgressiveDoneListener(h){this._progressiveDoneListeners.push(h)}onDataRange(h,o){for(const n of this._rangeListeners)n(h,o)}onDataProgress(h,o){this._readyCapability.promise.then(()=>{for(const n of this._progressListeners)n(h,o)})}onDataProgressiveRead(h){this._readyCapability.promise.then(()=>{for(const o of this._progressiveReadListeners)o(h)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const h of this._progressiveDoneListeners)h()})}transportReady(){this._readyCapability.resolve()}requestDataRange(h,o){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(h,o){var i,n=this;this._pdfInfo=h,this._transport=o,Object.defineProperty(this,"fingerprint",{get(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:(i=_asyncToGenerator(function*(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),n.stats||{streamTypes:{},fontTypes:{}}}),function(){return i.apply(this,arguments)})})}get annotationStorage(){return this._transport.annotationStorage}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get stats(){return this._transport.stats}get isPureXfa(){return!!this._transport._htmlForXfa}get allXfaHtml(){return this._transport._htmlForXfa}getPage(h){return this._transport.getPage(h)}getPageIndex(h){return this._transport.getPageIndex(h)}getDestinations(){return this._transport.getDestinations()}getDestination(h){return this._transport.getDestination(h)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(h=!1){return this._transport.startCleanup(h||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(h,o,n,i,d=!1){this._pageIndex=h,this._pageInfo=o,this._ownerDocument=i,this._transport=n,this._stats=d?new _display_utils.StatTimer:null,this._pdfBug=d,this.commonObjs=n.commonObjs,this.objs=new PDFObjects,this._bitmaps=new Set,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:h,rotation:o=this.rotate,offsetX:n=0,offsetY:i=0,dontFlip:d=!1}={}){return new _display_utils.PageViewport({viewBox:this.view,scale:h,rotation:o,offsetX:n,offsetY:i,dontFlip:d})}getAnnotations({intent:h="display"}={}){const o=this._transport.getRenderingIntent(h);let n=this._annotationPromises.get(o.cacheKey);return n||(n=this._transport.getAnnotations(this._pageIndex,o.renderingIntent),this._annotationPromises.set(o.cacheKey,n),n=n.then(i=>{for(const d of i)void 0!==d.titleObj&&Object.defineProperty(d,"title",{get:()=>((0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),d.titleObj.str)}),void 0!==d.contentsObj&&Object.defineProperty(d,"contents",{get:()=>((0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),d.contentsObj.str)});return i})),n}getJSActions(){return this._jsActionsPromise||=this._transport.getPageJSActions(this._pageIndex)}getXfa(){var h=this;return _asyncToGenerator(function*(){return h._transport._htmlForXfa?.children[h._pageIndex]||null})()}render({canvasContext:h,viewport:o,intent:n="display",annotationMode:i=_util.AnnotationMode.ENABLE,transform:d=null,imageLayer:a=null,canvasFactory:l=null,background:e=null,optionalContentConfigPromise:u=null,annotationCanvasMap:c=null,pageColors:g=null,printAnnotationStorage:v=null}){void 0!==arguments[0]?.renderInteractiveForms&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),!0===arguments[0].renderInteractiveForms&&i===_util.AnnotationMode.ENABLE&&(i=_util.AnnotationMode.ENABLE_FORMS)),void 0!==arguments[0]?.includeAnnotationStorage&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),!0===arguments[0].includeAnnotationStorage&&i===_util.AnnotationMode.ENABLE&&(i=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");const p=this._transport.getRenderingIntent(n,i,v);this.pendingCleanup=!1,u||(u=this._transport.getOptionalContentConfig());let S=this._intentStates.get(p.cacheKey);S||(S=Object.create(null),this._intentStates.set(p.cacheKey,S)),S.streamReaderCancelTimeout&&(clearTimeout(S.streamReaderCancelTimeout),S.streamReaderCancelTimeout=null);const C=l||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),_=!!(p.renderingIntent&_util.RenderingIntentFlag.PRINT);S.displayReadyCapability||(S.displayReadyCapability=(0,_util.createPromiseCapability)(),S.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(p));const f=E=>{S.renderTasks.delete(y),(this.cleanupAfterRender||_)&&(this.pendingCleanup=!0),this._tryCleanup(),E?(y.capability.reject(E),this._abortOperatorList({intentState:S,reason:E instanceof Error?E:new Error(E)})):y.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},y=new InternalRenderTask({callback:f,params:{canvasContext:h,viewport:o,transform:d,imageLayer:a,background:e},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:c,operatorList:S.operatorList,pageIndex:this._pageIndex,canvasFactory:C,useRequestAnimationFrame:!_,pdfBug:this._pdfBug,pageColors:g});(S.renderTasks||=new Set).add(y);const b=y.task;return Promise.all([S.displayReadyCapability.promise,u]).then(([E,M])=>{this.pendingCleanup?f():(this._stats&&this._stats.time("Rendering"),y.initializeGraphics({transparency:E,optionalContentConfig:M}),y.operatorListChanged())}).catch(f),b}getOperatorList({intent:h="display",annotationMode:o=_util.AnnotationMode.ENABLE,printAnnotationStorage:n=null}={}){const d=this._transport.getRenderingIntent(h,o,n,!0);let l,a=this._intentStates.get(d.cacheKey);return a||(a=Object.create(null),this._intentStates.set(d.cacheKey,a)),a.opListReadCapability||(l=Object.create(null),l.operatorListChanged=function i(){a.operatorList.lastChunk&&(a.opListReadCapability.resolve(a.operatorList),a.renderTasks.delete(l))},a.opListReadCapability=(0,_util.createPromiseCapability)(),(a.renderTasks||=new Set).add(l),a.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(d)),a.opListReadCapability.promise}streamTextContent({disableCombineTextItems:h=!1,includeMarkedContent:o=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,combineTextItems:!0!==h,includeMarkedContent:!0===o},{highWaterMark:100,size:i=>i.items.length})}getTextContent(h={}){if(this._transport._htmlForXfa)return this.getXfa().then(n=>_xfa_text.XfaText.textContent(n));const o=this.streamTextContent(h);return new Promise(function(n,i){const a=o.getReader(),l={items:[],styles:Object.create(null)};!function d(){a.read().then(function({value:e,done:u}){u?n(l):(Object.assign(l.styles,e.styles),l.items.push(...e.items),d())},i)}()})}getStructTree(){return this._structTreePromise||=this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const h=[];for(const o of this._intentStates.values())if(this._abortOperatorList({intentState:o,reason:new Error("Page was destroyed."),force:!0}),!o.opListReadCapability)for(const n of o.renderTasks)h.push(n.completed),n.cancel();this.objs.clear();for(const o of this._bitmaps)o.close();return this._bitmaps.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(h)}cleanup(h=!1){return this.pendingCleanup=!0,this._tryCleanup(h)}_tryCleanup(h=!1){if(!this.pendingCleanup)return!1;for(const{renderTasks:o,operatorList:n}of this._intentStates.values())if(o.size>0||!n.lastChunk)return!1;this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,h&&this._stats&&(this._stats=new _display_utils.StatTimer);for(const o of this._bitmaps)o.close();return this._bitmaps.clear(),this.pendingCleanup=!1,!0}_startRenderPage(h,o){const n=this._intentStates.get(o);n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(h))}_renderPageChunk(h,o){for(let n=0,i=h.length;n{d.read().then(({value:e,done:u})=>{u?a.streamReader=null:this._transport.destroyed||(this._renderPageChunk(e,a),l())},e=>{if(a.streamReader=null,!this._transport.destroyed){if(a.operatorList){a.operatorList.lastChunk=!0;for(const u of a.renderTasks)u.operatorListChanged();this._tryCleanup()}if(a.displayReadyCapability)a.displayReadyCapability.reject(e);else{if(!a.opListReadCapability)throw e;a.opListReadCapability.reject(e)}}})};l()}_abortOperatorList({intentState:h,reason:o,force:n=!1}){if(h.streamReader){if(!n){if(h.renderTasks.size>0)return;if(o instanceof _display_utils.RenderingCancelledException)return void(h.streamReaderCancelTimeout=setTimeout(()=>{this._abortOperatorList({intentState:h,reason:o,force:!0}),h.streamReaderCancelTimeout=null},RENDERING_CANCELLED_TIMEOUT))}if(h.streamReader.cancel(new _util.AbortException(o.message)).catch(()=>{}),h.streamReader=null,!this._transport.destroyed){for(const[i,d]of this._intentStates)if(d===h){this._intentStates.delete(i);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve()}postMessage(h,o){const n={data:structuredClone(h,o)};this._deferred.then(()=>{for(const i of this._listeners)i.call(this,n)})}addEventListener(h,o){this._listeners.push(o)}removeEventListener(h,o){const n=this._listeners.indexOf(o);this._listeners.splice(n,1)}terminate(){this._listeners.length=0}}exports.LoopbackPort=LoopbackPort;const PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};if(exports.PDFWorkerUtil=PDFWorkerUtil,_is_node.isNodeJS)PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if("object"==typeof document){const pe=document?.currentScript?.src;pe&&(PDFWorkerUtil.fallbackWorkerSrc=pe.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.isSameOrigin=function(pe,h){let o;try{if(o=new URL(pe),!o.origin||"null"===o.origin)return!1}catch{return!1}const n=new URL(h,o);return o.origin===n.origin},PDFWorkerUtil.createCDNWrapper=function(pe){return URL.createObjectURL(new Blob([`importScripts("${pe}");`]))};class PDFWorker{static#workerPorts=new WeakMap;constructor({name:pe=null,port:h=null,verbosity:o=(0,_util.getVerbosityLevel)()}={}){if(h&&PDFWorker.#workerPorts.has(h))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=pe,this.destroyed=!1,this.verbosity=o,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,h)return PDFWorker.#workerPorts.set(h,this),void this._initializeFromPort(h);this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(pe){this._port=pe,this._messageHandler=new _message_handler.MessageHandler("main","worker",pe),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()}_initialize(){if(!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let{workerSrc:pe}=PDFWorker;try{PDFWorkerUtil.isSameOrigin(window.location.href,pe)||(pe=PDFWorkerUtil.createCDNWrapper(new URL(pe,window.location).href));const h=new Worker(pe),o=new _message_handler.MessageHandler("main","worker",h),n=()=>{h.removeEventListener("error",i),o.destroy(),h.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},i=()=>{this._webWorker||n()};h.addEventListener("error",i),o.on("test",a=>{h.removeEventListener("error",i),this.destroyed?n():a?(this._messageHandler=o,this._port=h,this._webWorker=h,this._readyCapability.resolve(),o.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),o.destroy(),h.terminate())}),o.on("ready",a=>{if(h.removeEventListener("error",i),this.destroyed)n();else try{d()}catch{this._setupFakeWorker()}});const d=()=>{const a=new Uint8Array;o.send("test",a,[a.buffer])};return void d()}catch{(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then(pe=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const h=new LoopbackPort;this._port=h;const o="fake"+PDFWorkerUtil.fakeWorkerId++,n=new _message_handler.MessageHandler(o+"_worker",o,h);pe.setup(n,h);const i=new _message_handler.MessageHandler(o,o+"_worker",h);this._messageHandler=i,this._readyCapability.resolve(),i.send("configure",{verbosity:this.verbosity})}).catch(pe=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${pe.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),PDFWorker.#workerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(pe){if(!pe?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return this.#workerPorts.has(pe.port)?this.#workerPorts.get(pe.port):new PDFWorker(pe)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(null!==PDFWorkerUtil.fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){var _this4=this;const loader=function(){var _ref2=_asyncToGenerator(function*(){const mainWorkerMessageHandler=_this4._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS){const worker=eval("require")(_this4.workerSrc);return worker.WorkerMessageHandler}return yield(0,_display_utils.loadScript)(_this4.workerSrc),window.pdfjsWorker.WorkerMessageHandler});return function pe(){return _ref2.apply(this,arguments)}}();return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}exports.PDFWorker=PDFWorker,PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};class WorkerTransport{#e=null;#t=new Map;#n=new Map;#r=null;constructor(h,o,n,i){this.messageHandler=h,this.loadingTask=o,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:o.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this._params=i,i.useWorkerFetch||(this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.StandardFontDataFactory=new i.StandardFontDataFactory({baseUrl:i.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get stats(){return this.#e}getRenderingIntent(h,o=_util.AnnotationMode.ENABLE,n=null,i=!1){let d=_util.RenderingIntentFlag.DISPLAY,a=null;switch(h){case"any":d=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":d=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)(`getRenderingIntent - invalid intent: ${h}`)}switch(o){case _util.AnnotationMode.DISABLE:d+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:d+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:d+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,a=(d&_util.RenderingIntentFlag.PRINT&&n instanceof _annotation_storage.PrintAnnotationStorage?n:this.annotationStorage).serializable;break;default:(0,_util.warn)(`getRenderingIntent - invalid annotationMode: ${o}`)}return i&&(d+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:d,cacheKey:`${d}_${_annotation_storage.AnnotationStorage.getHash(a)}`,annotationStorageMap:a}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const h=[];for(const n of this.#t.values())h.push(n._destroy());this.#t.clear(),this.#n.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const o=this.messageHandler.sendWithPromise("Terminate",null);return h.push(o),Promise.all(h).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#r=null,this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:h,loadingTask:o}=this;h.on("GetReader",(n,i)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=d=>{this._lastProgress={loaded:d.loaded,total:d.total}},i.onPull=()=>{this._fullReader.read().then(function({value:d,done:a}){a?i.close():((0,_util.assert)((0,_util.isArrayBuffer)(d),"GetReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(d),1,[d]))}).catch(d=>{i.error(d)})},i.onCancel=d=>{this._fullReader.cancel(d),i.ready.catch(a=>{if(!this.destroyed)throw a})}}),h.on("ReaderHeadersReady",n=>{const i=(0,_util.createPromiseCapability)(),d=this._fullReader;return d.headersReady.then(()=>{(!d.isStreamingSupported||!d.isRangeSupported)&&(this._lastProgress&&o.onProgress?.(this._lastProgress),d.onProgress=a=>{o.onProgress?.({loaded:a.loaded,total:a.total})}),i.resolve({isStreamingSupported:d.isStreamingSupported,isRangeSupported:d.isRangeSupported,contentLength:d.contentLength})},i.reject),i.promise}),h.on("GetRangeReader",(n,i)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const d=this._networkStream.getRangeReader(n.begin,n.end);d?(i.onPull=()=>{d.read().then(function({value:a,done:l}){l?i.close():((0,_util.assert)((0,_util.isArrayBuffer)(a),"GetRangeReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(a),1,[a]))}).catch(a=>{i.error(a)})},i.onCancel=a=>{d.cancel(a),i.ready.catch(l=>{if(!this.destroyed)throw l})}):i.close()}),h.on("GetDoc",({pdfInfo:n})=>{this._numPages=n.numPages,this._htmlForXfa=n.htmlForXfa,delete n.htmlForXfa,o._capability.resolve(new PDFDocumentProxy(n,this))}),h.on("DocException",function(n){let i;switch(n.name){case"PasswordException":i=new _util.PasswordException(n.message,n.code);break;case"InvalidPDFException":i=new _util.InvalidPDFException(n.message);break;case"MissingPDFException":i=new _util.MissingPDFException(n.message);break;case"UnexpectedResponseException":i=new _util.UnexpectedResponseException(n.message,n.status);break;case"UnknownErrorException":i=new _util.UnknownErrorException(n.message,n.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}o._capability.reject(i)}),h.on("PasswordRequest",n=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),o.onPassword){const i=d=>{d instanceof Error?this._passwordCapability.reject(d):this._passwordCapability.resolve({password:d})};try{o.onPassword(i,n.code)}catch(d){this._passwordCapability.reject(d)}}else this._passwordCapability.reject(new _util.PasswordException(n.message,n.code));return this._passwordCapability.promise}),h.on("DataLoaded",n=>{o.onProgress?.({loaded:n.length,total:n.length}),this.downloadInfoCapability.resolve(n)}),h.on("StartRenderPage",n=>{this.destroyed||this.#t.get(n.pageIndex)._startRenderPage(n.transparency,n.cacheKey)}),h.on("commonobj",([n,i,d])=>{if(!this.destroyed&&!this.commonObjs.has(n))switch(i){case"Font":const a=this._params;if("error"in d){const u=d.error;(0,_util.warn)(`Error during font loading: ${u}`),this.commonObjs.resolve(n,u);break}let l=null;a.pdfBug&&globalThis.FontInspector?.enabled&&(l={registerFont(u,c){globalThis.FontInspector.fontAdded(u,c)}});const e=new _font_loader.FontFaceObject(d,{isEvalSupported:a.isEvalSupported,disableFontFace:a.disableFontFace,ignoreErrors:a.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:l});this.fontLoader.bind(e).catch(u=>h.sendWithPromise("FontFallback",{id:n})).finally(()=>{!a.fontExtraProperties&&e.data&&(e.data=null),this.commonObjs.resolve(n,e)});break;case"FontPath":case"Image":this.commonObjs.resolve(n,d);break;default:throw new Error(`Got unknown common object type ${i}`)}}),h.on("obj",([n,i,d,a])=>{if(this.destroyed)return;const l=this.#t.get(i);if(!l.objs.has(n))switch(d){case"Image":l.objs.resolve(n,a);const e=8e6;if(a){let u;if(a.bitmap){const{bitmap:c,width:g,height:v}=a;u=g*v*4,l._bitmaps.add(c)}else u=a.data?.length||0;u>e&&(l.cleanupAfterRender=!0)}break;case"Pattern":l.objs.resolve(n,a);break;default:throw new Error(`Got unknown object type ${d}`)}}),h.on("DocProgress",n=>{this.destroyed||o.onProgress?.({loaded:n.loaded,total:n.total})}),h.on("DocStats",n=>{this.destroyed||(this.#e=Object.freeze({streamTypes:Object.freeze(n.streamTypes),fontTypes:Object.freeze(n.fontTypes)}))}),h.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),h.on("FetchBuiltInCMap",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.CMapReaderFactory?this.CMapReaderFactory.fetch(n):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),h.on("FetchStandardFontData",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.StandardFontDataFactory?this.StandardFontDataFactory.fetch(n):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}_onUnsupportedFeature({featureId:h}){this.destroyed||this.loadingTask.onUnsupportedFeature?.(h)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(h){if(!Number.isInteger(h)||h<=0||h>this._numPages)return Promise.reject(new Error("Invalid page request."));const o=h-1,n=this.#n.get(o);if(n)return n;const i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:o}).then(d=>{if(this.destroyed)throw new Error("Transport destroyed");const a=new PDFPageProxy(o,d,this,this._params.ownerDocument,this._params.pdfBug);return this.#t.set(o,a),a});return this.#n.set(o,i),i}getPageIndex(h){return"object"!=typeof h||null===h||!Number.isInteger(h.num)||h.num<0||!Number.isInteger(h.gen)||h.gen<0?Promise.reject(new Error("Invalid pageIndex request.")):this.messageHandler.sendWithPromise("GetPageIndex",{num:h.num,gen:h.gen})}getAnnotations(h,o){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:h,intent:o})}saveDocument(){return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:this._fullReader?.filename??null}).finally(()=>{this.annotationStorage.resetModified()})}getFieldObjects(){return this._getFieldObjectsPromise||=this.messageHandler.sendWithPromise("GetFieldObjects",null)}hasJSActions(){return this._hasJSActionsPromise||=this.messageHandler.sendWithPromise("HasJSActions",null)}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(h){return"string"!=typeof h?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:h})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(h){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:h})}getStructTree(h){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:h})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then(h=>new _optional_content_config.OptionalContentConfig(h))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return this.#r||=this.messageHandler.sendWithPromise("GetMetadata",null).then(h=>({info:h[0],metadata:h[1]?new _metadata.Metadata(h[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}startCleanup(h=!1){var o=this;return _asyncToGenerator(function*(){if(yield o.messageHandler.sendWithPromise("Cleanup",null),!o.destroyed){for(const n of o.#t.values())if(!n.cleanup())throw new Error(`startCleanup: Page ${n.pageNumber} is currently rendering.`);o.commonObjs.clear(),h||o.fontLoader.clear(),o.#r=null,o._getFieldObjectsPromise=null,o._hasJSActionsPromise=null}})()}get loadingParams(){const h=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:h.disableAutoFetch,enableXfa:h.enableXfa})}}class PDFObjects{#e=Object.create(null);#t(h){return this.#e[h]||(this.#e[h]={capability:(0,_util.createPromiseCapability)(),data:null})}get(h,o=null){if(o){const i=this.#t(h);return i.capability.promise.then(()=>o(i.data)),null}const n=this.#e[h];if(!n?.capability.settled)throw new Error(`Requesting object that isn't resolved yet ${h}.`);return n.data}has(h){return this.#e[h]?.capability.settled||!1}resolve(h,o=null){const n=this.#t(h);n.data=o,n.capability.resolve()}clear(){this.#e=Object.create(null)}}class RenderTask{#e=null;constructor(h){this.#e=h,this.onContinue=null}get promise(){return this.#e.capability.promise}cancel(){this.#e.cancel()}get separateAnnots(){const{separateAnnots:h}=this.#e.operatorList;if(!h)return!1;const{annotationCanvasMap:o}=this.#e;return h.form||h.canvas&&o?.size>0}}exports.RenderTask=RenderTask;class InternalRenderTask{static#e=new WeakSet;constructor({callback:h,params:o,objs:n,commonObjs:i,annotationCanvasMap:d,operatorList:a,pageIndex:l,canvasFactory:e,useRequestAnimationFrame:u=!1,pdfBug:c=!1,pageColors:g=null}){this.callback=h,this.params=o,this.objs=n,this.commonObjs=i,this.annotationCanvasMap=d,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=l,this.canvasFactory=e,this._pdfBug=c,this.pageColors=g,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===u&&typeof window<"u",this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=o.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:h=!1,optionalContentConfig:o}){if(this.cancelled)return;if(this._canvas){if(InternalRenderTask.#e.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");InternalRenderTask.#e.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:n,viewport:i,transform:d,imageLayer:a,background:l}=this.params;this.gfx=new _canvas.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,a,o,this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:d,viewport:i,transparency:h,background:l}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(h=null){this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&InternalRenderTask.#e.delete(this._canvas),this.callback(h||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,"canvas"))}operatorListChanged(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),!this.running&&this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame(()=>{this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}_next(){var h=this;return _asyncToGenerator(function*(){h.cancelled||(h.operatorListIdx=h.gfx.executeOperatorList(h.operatorList,h.operatorListIdx,h._continueBound,h.stepper),h.operatorListIdx===h.operatorList.argsArray.length&&(h.running=!1,h.operatorList.lastChunk&&(h.gfx.endDrawing(),h._canvas&&InternalRenderTask.#e.delete(h._canvas),h.callback())))})()}}const version="2.16.105";exports.version=version;const build="172ccdbe5";exports.build=build},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PrintAnnotationStorage=h.AnnotationStorage=void 0;var n=o(1),i=o(6),d=o(10);class a{constructor(){this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(u,c){const g=this._storage.get(u);return void 0===g?c:Object.assign(c,g)}getRawValue(u){return this._storage.get(u)}remove(u){if(this._storage.delete(u),0===this._storage.size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(const c of this._storage.values())if(c instanceof i.AnnotationEditor)return;this.onAnnotationEditor(null)}}setValue(u,c){const g=this._storage.get(u);let v=!1;if(void 0!==g)for(const[p,S]of Object.entries(c))g[p]!==S&&(v=!0,g[p]=S);else v=!0,this._storage.set(u,c);v&&this.#e(),c instanceof i.AnnotationEditor&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(c.constructor._type)}has(u){return this._storage.has(u)}getAll(){return this._storage.size>0?(0,n.objectFromMap)(this._storage):null}get size(){return this._storage.size}#e(){this._modified||(this._modified=!0,"function"==typeof this.onSetModified&&this.onSetModified())}resetModified(){this._modified&&(this._modified=!1,"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new l(this)}get serializable(){if(0===this._storage.size)return null;const u=new Map;for(const[c,g]of this._storage){const v=g instanceof i.AnnotationEditor?g.serialize():g;v&&u.set(c,v)}return u}static getHash(u){if(!u)return"";const c=new d.MurmurHash3_64;for(const[g,v]of u)c.update(`${g}:${JSON.stringify(v)}`);return c.hexdigest()}}h.AnnotationStorage=a;class l extends a{#e=null;constructor(u){super(),this.#e=structuredClone(u.serializable)}get print(){(0,n.unreachable)("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#e}}h.PrintAnnotationStorage=l},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.AnnotationEditor=void 0;var n=o(7),i=o(1);class d{#e=this.focusin.bind(this);#t=this.focusout.bind(this);#n=!1;#r=!1;#o=!1;#c=d._zIndex++;static _colorManager=new n.ColorManager;static _zIndex=1;constructor(l){this.constructor===d&&(0,i.unreachable)("Cannot initialize AnnotationEditor."),this.parent=l.parent,this.id=l.id,this.width=this.height=null,this.pageIndex=l.parent.pageIndex,this.name=l.name,this.div=null;const[e,u]=this.parent.viewportBaseDimensions;this.x=l.x/e,this.y=l.y/u,this.rotation=this.parent.viewport.rotation,this.isAttachedToDOM=!1}static get _defaultLineColor(){return(0,i.shadow)(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#c}focusin(l){this.#n?this.#n=!1:this.parent.setSelected(this)}focusout(l){!this.isAttachedToDOM||l.relatedTarget?.closest(`#${this.id}`)||(l.preventDefault(),this.parent.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.parent.addToAnnotationStorage(this)}dragstart(l){const e=this.parent.div.getBoundingClientRect();this.startX=l.clientX-e.x,this.startY=l.clientY-e.y,l.dataTransfer.setData("text/plain",this.id),l.dataTransfer.effectAllowed="move"}setAt(l,e,u,c){const[g,v]=this.parent.viewportBaseDimensions;[u,c]=this.screenToPageTranslation(u,c),this.x=(l+u)/g,this.y=(e+c)/v,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}translate(l,e){const[u,c]=this.parent.viewportBaseDimensions;[l,e]=this.screenToPageTranslation(l,e),this.x+=l/u,this.y+=e/c,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}screenToPageTranslation(l,e){const{rotation:u}=this.parent.viewport;switch(u){case 90:return[e,-l];case 180:return[-l,-e];case 270:return[-e,l];default:return[l,e]}}setDims(l,e){const[u,c]=this.parent.viewportBaseDimensions;this.div.style.width=100*l/u+"%",this.div.style.height=100*e/c+"%"}getInitialTranslation(){return[0,0]}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.setAttribute("tabIndex",0),this.setInForeground(),this.div.addEventListener("focusin",this.#e),this.div.addEventListener("focusout",this.#t);const[l,e]=this.getInitialTranslation();return this.translate(l,e),(0,n.bindEvents)(this,this.div,["dragstart","pointerdown"]),this.div}pointerdown(l){const e=n.KeyboardManager.platform.isMac;0!==l.button||l.ctrlKey&&e?l.preventDefault():(l.ctrlKey&&!e||l.shiftKey||l.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this),this.#n=!0)}getRect(l,e){const[u,c]=this.parent.viewportBaseDimensions,[g,v]=this.parent.pageDimensions,p=g*l/u,S=v*e/c,C=this.x*g,_=this.y*v,f=this.width*g,y=this.height*v;switch(this.rotation){case 0:return[C+p,v-_-S-y,C+p+f,v-_-S];case 90:return[C+S,v-_+p,C+S+y,v-_+p+f];case 180:return[C-p-f,v-_+S,C-p,v-_+S+y];case 270:return[C-S-y,v-_-p-f,C-S,v-_-p];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(l,e){const[u,c,g,v]=l,p=g-u,S=v-c;switch(this.rotation){case 0:return[u,e-v,p,S];case 90:return[u,e-c,S,p];case 180:return[g,e-c,p,S];case 270:return[g,e-v,S,p];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){this.#o=!0}disableEditMode(){this.#o=!1}isInEditMode(){return this.#o}shouldGetKeyboardEvents(){return!1}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){this.div?.addEventListener("focusin",this.#e)}serialize(){(0,i.unreachable)("An editor must be serializable")}static deserialize(l,e){const u=new this.prototype.constructor({parent:e,id:e.getNextId()});u.rotation=l.rotation;const[c,g]=e.pageDimensions,[v,p,S,C]=u.getRectInCurrentCoords(l.rect,g);return u.x=v/c,u.y=p/g,u.width=S/c,u.height=C/g,u}remove(){this.div.removeEventListener("focusin",this.#e),this.div.removeEventListener("focusout",this.#t),this.isEmpty()||this.commit(),this.parent.remove(this)}select(){this.div?.classList.add("selectedEditor")}unselect(){this.div?.classList.remove("selectedEditor")}updateParams(l,e){}disableEditing(){}enableEditing(){}get propertiesToUpdate(){return{}}get contentDiv(){return this.div}get isEditing(){return this.#r}set isEditing(l){this.#r=l,l?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null)}}h.AnnotationEditor=d},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.KeyboardManager=h.CommandManager=h.ColorManager=h.AnnotationEditorUIManager=void 0,h.bindEvents=function d(p,S,C){for(const _ of C)S.addEventListener(_,p[_].bind(p))},h.opacityToHex=function a(p){return Math.round(Math.min(255,Math.max(1,255*p))).toString(16).padStart(2,"0")};var n=o(1),i=o(8);class l{#e=0;getId(){return`${n.AnnotationEditorPrefix}${this.#e++}`}}class e{#e=[];#t=!1;#n;#r=-1;constructor(S=128){this.#n=S}add({cmd:S,undo:C,mustExec:_,type:f=NaN,overwriteIfSameType:y=!1,keepUndo:b=!1}){if(_&&S(),this.#t)return;const E={cmd:S,undo:C,type:f};if(-1===this.#r)return this.#e.length>0&&(this.#e.length=0),this.#r=0,void this.#e.push(E);if(y&&this.#e[this.#r].type===f)return b&&(E.undo=this.#e[this.#r].undo),void(this.#e[this.#r]=E);const M=this.#r+1;M===this.#n?this.#e.splice(0,1):(this.#r=M,MC.serialize()):this.#e=[S.serialize()],this.#e=this.#e.filter(C=>!!C),0===this.#e.length&&(this.#e=null))}paste(){return this.#e}isEmpty(){return null===this.#e}destroy(){this.#e=null}}class g{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){const S=new Map([["CanvasText",null],["Canvas",null]]);return(0,i.getColorValues)(S),(0,n.shadow)(this,"_colors",S)}convert(S){const C=(0,i.getRGB)(S);if(!window.matchMedia("(forced-colors: active)").matches)return C;for(const[_,f]of this._colors)if(f.every((y,b)=>y===C[b]))return g._colorsMapping.get(_);return C}getHexCode(S){const C=this._colors.get(S);return C?n.Util.makeHexColor(...C):S}}h.ColorManager=g;class v{#e=null;#t=new Map;#n=new Map;#r=new c;#o=new e;#c=0;#a=null;#i=null;#h=new l;#u=!1;#l=n.AnnotationEditorType.NONE;#s=new Set;#g=this.keydown.bind(this);#f=this.onEditingAction.bind(this);#v=this.onPageChanging.bind(this);#p={isEditing:!1,isEmpty:!0,hasEmptyClipboard:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1};#_=null;static _keyboardManager=new u([[["ctrl+a","mac+meta+a"],v.prototype.selectAll],[["ctrl+c","mac+meta+c"],v.prototype.copy],[["ctrl+v","mac+meta+v"],v.prototype.paste],[["ctrl+x","mac+meta+x"],v.prototype.cut],[["ctrl+z","mac+meta+z"],v.prototype.undo],[["ctrl+y","ctrl+shift+Z","mac+meta+shift+Z"],v.prototype.redo],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete"],v.prototype.delete],[["Escape","mac+Escape"],v.prototype.unselectAll]]);constructor(S,C){this.#_=S,this.#i=C,this.#i._on("editingaction",this.#f),this.#i._on("pagechanging",this.#v)}destroy(){this.#b(),this.#i._off("editingaction",this.#f),this.#i._off("pagechanging",this.#v);for(const S of this.#n.values())S.destroy();this.#n.clear(),this.#t.clear(),this.#e=null,this.#s.clear(),this.#r.destroy(),this.#o.destroy()}onPageChanging({pageNumber:S}){this.#c=S-1}focusMainContainer(){this.#_.focus()}#S(){this.#_.addEventListener("keydown",this.#g)}#b(){this.#_.removeEventListener("keydown",this.#g)}keydown(S){this.getActive()?.shouldGetKeyboardEvents()||v._keyboardManager.exec(this,S)}onEditingAction(S){["undo","redo","cut","copy","paste","delete","selectAll"].includes(S.name)&&this[S.name]()}#d(S){Object.entries(S).some(([_,f])=>this.#p[_]!==f)&&this.#i.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#p,S)})}#E(S){this.#i.dispatch("annotationeditorparamschanged",{source:this,details:S})}setEditingState(S){S?(this.#S(),this.#d({isEditing:this.#l!==n.AnnotationEditorType.NONE,isEmpty:this.#y(),hasSomethingToUndo:this.#o.hasSomethingToUndo(),hasSomethingToRedo:this.#o.hasSomethingToRedo(),hasSelectedEditor:!1,hasEmptyClipboard:this.#r.isEmpty()})):(this.#b(),this.#d({isEditing:!1}))}registerEditorTypes(S){this.#a=S;for(const C of this.#a)this.#E(C.defaultPropertiesToUpdate)}getId(){return this.#h.getId()}addLayer(S){this.#n.set(S.pageIndex,S),this.#u?S.enable():S.disable()}removeLayer(S){this.#n.delete(S.pageIndex)}updateMode(S){if(this.#l=S,S===n.AnnotationEditorType.NONE)this.setEditingState(!1),this.#m();else{this.setEditingState(!0),this.#A();for(const C of this.#n.values())C.updateMode(S)}}updateToolbar(S){S!==this.#l&&this.#i.dispatch("switchannotationeditormode",{source:this,mode:S})}updateParams(S,C){for(const _ of this.#s)_.updateParams(S,C);for(const _ of this.#a)_.updateDefaultParams(S,C)}#A(){if(!this.#u){this.#u=!0;for(const S of this.#n.values())S.enable()}}#m(){if(this.unselectAll(),this.#u){this.#u=!1;for(const S of this.#n.values())S.disable()}}getEditors(S){const C=[];for(const _ of this.#t.values())_.pageIndex===S&&C.push(_);return C}getEditor(S){return this.#t.get(S)}addEditor(S){this.#t.set(S.id,S)}removeEditor(S){this.#t.delete(S.id),this.unselect(S)}#M(S){const C=this.#n.get(S.pageIndex);C?C.addOrRebuild(S):this.addEditor(S)}setActiveEditor(S){this.#e!==S&&(this.#e=S,S&&this.#E(S.propertiesToUpdate))}toggleSelected(S){if(this.#s.has(S))return this.#s.delete(S),S.unselect(),void this.#d({hasSelectedEditor:this.hasSelection});this.#s.add(S),S.select(),this.#E(S.propertiesToUpdate),this.#d({hasSelectedEditor:!0})}setSelected(S){for(const C of this.#s)C!==S&&C.unselect();this.#s.clear(),this.#s.add(S),S.select(),this.#E(S.propertiesToUpdate),this.#d({hasSelectedEditor:!0})}isSelected(S){return this.#s.has(S)}unselect(S){S.unselect(),this.#s.delete(S),this.#d({hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==this.#s.size}undo(){this.#o.undo(),this.#d({hasSomethingToUndo:this.#o.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#y()})}redo(){this.#o.redo(),this.#d({hasSomethingToUndo:!0,hasSomethingToRedo:this.#o.hasSomethingToRedo(),isEmpty:this.#y()})}addCommands(S){this.#o.add(S),this.#d({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#y()})}#y(){if(0===this.#t.size)return!0;if(1===this.#t.size)for(const S of this.#t.values())return S.isEmpty();return!1}delete(){if(this.#e&&this.#e.commitOrRemove(),!this.hasSelection)return;const S=[...this.#s];this.addCommands({cmd:()=>{for(const f of S)f.remove()},undo:()=>{for(const f of S)this.#M(f)},mustExec:!0})}copy(){if(this.#e&&this.#e.commitOrRemove(),this.hasSelection){const S=[];for(const C of this.#s)C.isEmpty()||S.push(C);if(0===S.length)return;this.#r.copy(S),this.#d({hasEmptyClipboard:!1})}}cut(){this.copy(),this.delete()}paste(){if(this.#r.isEmpty())return;this.unselectAll();const S=this.#n.get(this.#c),C=this.#r.paste().map(y=>S.deserialize(y));this.addCommands({cmd:()=>{for(const y of C)this.#M(y);this.#C(C)},undo:()=>{for(const y of C)y.remove()},mustExec:!0})}#C(S){this.#s.clear();for(const C of S)C.isEmpty()||(this.#s.add(C),C.select());this.#d({hasSelectedEditor:!0})}selectAll(){for(const S of this.#s)S.commit();this.#C(this.#t.values())}unselectAll(){if(this.#e)this.#e.commitOrRemove();else if(0!==this.#C.size){for(const S of this.#s)S.unselect();this.#s.clear(),this.#d({hasSelectedEditor:!1})}}isActive(S){return this.#e===S}getActive(){return this.#e}getMode(){return this.#l}}h.AnnotationEditorUIManager=v},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.StatTimer=h.RenderingCancelledException=h.PixelsPerInch=h.PageViewport=h.PDFDateString=h.DOMStandardFontDataFactory=h.DOMSVGFactory=h.DOMCanvasFactory=h.DOMCMapReaderFactory=h.AnnotationPrefix=void 0,h.deprecated=function I(H){console.log("Deprecated API usage: "+H)},h.getColorValues=function x(H){const G=document.createElement("span");G.style.visibility="hidden",document.body.append(G);for(const te of H.keys()){G.style.color=te;const ue=window.getComputedStyle(G).color;H.set(te,P(ue))}G.remove()},h.getCurrentTransform=function N(H){const{a:G,b:te,c:ue,d:se,e:K,f:Z}=H.getTransform();return[G,te,ue,se,K,Z]},h.getCurrentTransformInverse=function O(H){const{a:G,b:te,c:ue,d:se,e:K,f:Z}=H.getTransform().invertSelf();return[G,te,ue,se,K,Z]},h.getFilenameFromUrl=function y(H){const G=H.indexOf("#"),te=H.indexOf("?"),ue=Math.min(G>0?G:H.length,te>0?te:H.length);return H.substring(H.lastIndexOf("/",ue)+1,ue)},h.getPdfFilenameFromUrl=function b(H,G="document.pdf"){if("string"!=typeof H)return G;if(_(H))return(0,i.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),G;const ue=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,se=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(H);let K=ue.exec(se[1])||ue.exec(se[2])||ue.exec(se[3]);if(K&&(K=K[0],K.includes("%")))try{K=ue.exec(decodeURIComponent(K))[0]}catch{}return K||G},h.getRGB=P,h.getXfaPageViewport=function T(H,{scale:G=1,rotation:te=0}){const{width:ue,height:se}=H.attributes.style,K=[0,0,parseInt(ue),parseInt(se)];return new S({viewBox:K,scale:G,rotation:te})},h.isDataScheme=_,h.isPdfFile=function f(H){return"string"==typeof H&&/\.pdf$/i.test(H)},h.isValidFetchUrl=M,h.loadScript=function A(H,G=!1){return new Promise((te,ue)=>{const se=document.createElement("script");se.src=H,se.onload=function(K){G&&se.remove(),te(K)},se.onerror=function(){ue(new Error(`Cannot load script at: ${se.src}`))},(document.head||document.documentElement).append(se)})};var n=o(9),i=o(1);function u(H){return c.apply(this,arguments)}function c(){return(c=_asyncToGenerator(function*(H,G=!1){if(M(H,document.baseURI)){const te=yield fetch(H);if(!te.ok)throw new Error(te.statusText);return G?new Uint8Array(yield te.arrayBuffer()):(0,i.stringToBytes)(yield te.text())}return new Promise((te,ue)=>{const se=new XMLHttpRequest;se.open("GET",H,!0),G&&(se.responseType="arraybuffer"),se.onreadystatechange=()=>{if(se.readyState===XMLHttpRequest.DONE){if(200===se.status||0===se.status){let K;if(G&&se.response?K=new Uint8Array(se.response):!G&&se.responseText&&(K=(0,i.stringToBytes)(se.responseText)),K)return void te(K)}ue(new Error(se.statusText))}},se.send(null)})})).apply(this,arguments)}h.AnnotationPrefix="pdfjs_internal_id_",h.PixelsPerInch=class l{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF},h.DOMCanvasFactory=class e extends n.BaseCanvasFactory{constructor({ownerDocument:G=globalThis.document}={}){super(),this._document=G}_createCanvas(G,te){const ue=this._document.createElement("canvas");return ue.width=G,ue.height=te,ue}},h.DOMCMapReaderFactory=class g extends n.BaseCMapReaderFactory{_fetchData(G,te){return u(G,this.isCompressed).then(ue=>({cMapData:ue,compressionType:te}))}},h.DOMStandardFontDataFactory=class v extends n.BaseStandardFontDataFactory{_fetchData(G){return u(G,!0)}},h.DOMSVGFactory=class p extends n.BaseSVGFactory{_createSVG(G){return document.createElementNS("http://www.w3.org/2000/svg",G)}};class S{constructor({viewBox:G,scale:te,rotation:ue,offsetX:se=0,offsetY:K=0,dontFlip:Z=!1}){this.viewBox=G,this.scale=te,this.rotation=ue,this.offsetX=se,this.offsetY=K;const re=(G[2]+G[0])/2,J=(G[3]+G[1])/2;let Y,$,le,ee,we,ye,Oe,ve;switch((ue%=360)<0&&(ue+=360),ue){case 180:Y=-1,$=0,le=0,ee=1;break;case 90:Y=0,$=1,le=1,ee=0;break;case 270:Y=0,$=-1,le=-1,ee=0;break;case 0:Y=1,$=0,le=0,ee=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}Z&&(le=-le,ee=-ee),0===Y?(we=Math.abs(J-G[1])*te+se,ye=Math.abs(re-G[0])*te+K,Oe=Math.abs(G[3]-G[1])*te,ve=Math.abs(G[2]-G[0])*te):(we=Math.abs(re-G[0])*te+se,ye=Math.abs(J-G[1])*te+K,Oe=Math.abs(G[2]-G[0])*te,ve=Math.abs(G[3]-G[1])*te),this.transform=[Y*te,$*te,le*te,ee*te,we-Y*te*re-le*te*J,ye-$*te*re-ee*te*J],this.width=Oe,this.height=ve}clone({scale:G=this.scale,rotation:te=this.rotation,offsetX:ue=this.offsetX,offsetY:se=this.offsetY,dontFlip:K=!1}={}){return new S({viewBox:this.viewBox.slice(),scale:G,rotation:te,offsetX:ue,offsetY:se,dontFlip:K})}convertToViewportPoint(G,te){return i.Util.applyTransform([G,te],this.transform)}convertToViewportRectangle(G){const te=i.Util.applyTransform([G[0],G[1]],this.transform),ue=i.Util.applyTransform([G[2],G[3]],this.transform);return[te[0],te[1],ue[0],ue[1]]}convertToPdfPoint(G,te){return i.Util.applyInverseTransform([G,te],this.transform)}}function _(H){const G=H.length;let te=0;for(;te>16,(65280&G)>>8,255&G]}return H.startsWith("rgb(")?H.slice(4,-1).split(",").map(G=>parseInt(G)):H.startsWith("rgba(")?H.slice(5,-1).split(",").map(G=>parseInt(G)).slice(0,3):((0,i.warn)(`Not a valid color format: "${H}"`),[0,0,0])}h.PageViewport=S,h.RenderingCancelledException=class C extends i.BaseException{constructor(G,te){super(G,"RenderingCancelledException"),this.type=te}},h.StatTimer=class E{constructor(){this.started=Object.create(null),this.times=[]}time(G){G in this.started&&(0,i.warn)(`Timer is already running for ${G}`),this.started[G]=Date.now()}timeEnd(G){G in this.started||(0,i.warn)(`Timer has not been started for ${G}`),this.times.push({name:G,start:this.started[G],end:Date.now()}),delete this.started[G]}toString(){const G=[];let te=0;for(const ue of this.times){const se=ue.name;se.length>te&&(te=se.length)}for(const ue of this.times){const se=ue.end-ue.start;G.push(`${ue.name.padEnd(te)} ${se}ms\n`)}return G.join("")}},h.PDFDateString=class j{static toDateObject(G){if(!G||"string"!=typeof G)return null;F||(F=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const te=F.exec(G);if(!te)return null;const ue=parseInt(te[1],10);let se=parseInt(te[2],10);se=se>=1&&se<=12?se-1:0;let K=parseInt(te[3],10);K=K>=1&&K<=31?K:1;let Z=parseInt(te[4],10);Z=Z>=0&&Z<=23?Z:0;let re=parseInt(te[5],10);re=re>=0&&re<=59?re:0;let J=parseInt(te[6],10);J=J>=0&&J<=59?J:0;const Y=te[7]||"Z";let $=parseInt(te[8],10);$=$>=0&&$<=23?$:0;let le=parseInt(te[9],10)||0;return le=le>=0&&le<=59?le:0,"-"===Y?(Z+=$,re+=le):"+"===Y&&(Z-=$,re-=le),new Date(Date.UTC(ue,se,K,Z,re,J))}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.BaseStandardFontDataFactory=h.BaseSVGFactory=h.BaseCanvasFactory=h.BaseCMapReaderFactory=void 0;var n=o(1);class i{constructor(){this.constructor===i&&(0,n.unreachable)("Cannot initialize BaseCanvasFactory.")}create(u,c){if(u<=0||c<=0)throw new Error("Invalid canvas size");const g=this._createCanvas(u,c);return{canvas:g,context:g.getContext("2d")}}reset(u,c,g){if(!u.canvas)throw new Error("Canvas is not specified");if(c<=0||g<=0)throw new Error("Invalid canvas size");u.canvas.width=c,u.canvas.height=g}destroy(u){if(!u.canvas)throw new Error("Canvas is not specified");u.canvas.width=0,u.canvas.height=0,u.canvas=null,u.context=null}_createCanvas(u,c){(0,n.unreachable)("Abstract method `_createCanvas` called.")}}h.BaseCanvasFactory=i;class d{constructor({baseUrl:u=null,isCompressed:c=!1}){this.constructor===d&&(0,n.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=u,this.isCompressed=c}fetch({name:u}){var c=this;return _asyncToGenerator(function*(){if(!c.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!u)throw new Error("CMap name must be specified.");const g=c.baseUrl+u+(c.isCompressed?".bcmap":"");return c._fetchData(g,c.isCompressed?n.CMapCompressionType.BINARY:n.CMapCompressionType.NONE).catch(p=>{throw new Error(`Unable to load ${c.isCompressed?"binary ":""}CMap at: ${g}`)})})()}_fetchData(u,c){(0,n.unreachable)("Abstract method `_fetchData` called.")}}h.BaseCMapReaderFactory=d;class a{constructor({baseUrl:u=null}){this.constructor===a&&(0,n.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=u}fetch({filename:u}){var c=this;return _asyncToGenerator(function*(){if(!c.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!u)throw new Error("Font filename must be specified.");const g=`${c.baseUrl}${u}`;return c._fetchData(g).catch(v=>{throw new Error(`Unable to load font data at: ${g}`)})})()}_fetchData(u){(0,n.unreachable)("Abstract method `_fetchData` called.")}}h.BaseStandardFontDataFactory=a;class l{constructor(){this.constructor===l&&(0,n.unreachable)("Cannot initialize BaseSVGFactory.")}create(u,c,g=!1){if(u<=0||c<=0)throw new Error("Invalid SVG dimensions");const v=this._createSVG("svg:svg");return v.setAttribute("version","1.1"),g||(v.setAttribute("width",`${u}px`),v.setAttribute("height",`${c}px`)),v.setAttribute("preserveAspectRatio","none"),v.setAttribute("viewBox",`0 0 ${u} ${c}`),v}createElement(u){if("string"!=typeof u)throw new Error("Invalid SVG element type");return this._createSVG(u)}_createSVG(u){(0,n.unreachable)("Abstract method `_createSVG` called.")}}h.BaseSVGFactory=l},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.MurmurHash3_64=void 0;var n=o(1);const i=3285377520,d=4294901760,a=65535;h.MurmurHash3_64=class l{constructor(u){this.h1=u?4294967295&u:i,this.h2=u?4294967295&u:i}update(u){let c,g;if("string"==typeof u){c=new Uint8Array(2*u.length),g=0;for(let I=0,F=u.length;I>>8,c[g++]=255&j)}}else{if(!(0,n.isArrayBuffer)(u))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");c=u.slice(),g=c.byteLength}const v=g>>2,p=g-4*v,S=new Uint32Array(c.buffer,0,v);let C=0,_=0,f=this.h1,y=this.h2;const b=3432918353,E=461845907,M=b&a,A=E&a;for(let I=0;I>>17,C=C*E&d|C*A&a,f^=C,f=f<<13|f>>>19,f=5*f+3864292196):(_=S[I],_=_*b&d|_*M&a,_=_<<15|_>>>17,_=_*E&d|_*A&a,y^=_,y=y<<13|y>>>19,y=5*y+3864292196);switch(C=0,p){case 3:C^=c[4*v+2]<<16;case 2:C^=c[4*v+1]<<8;case 1:C^=c[4*v],C=C*b&d|C*M&a,C=C<<15|C>>>17,C=C*E&d|C*A&a,1&v?f^=C:y^=C}this.h1=f,this.h2=y}hexdigest(){let u=this.h1,c=this.h2;u^=c>>>1,u=3981806797*u&d|36045*u&a,c=4283543511*c&d|(2950163797*(c<<16|u>>>16)&d)>>>16,u^=c>>>1,u=444984403*u&d|60499*u&a,c=3301882366*c&d|(3120437893*(c<<16|u>>>16)&d)>>>16,u^=c>>>1;const g=(u>>>0).toString(16),v=(c>>>0).toString(16);return g.padStart(8,"0")+v.padStart(8,"0")}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.FontLoader=h.FontFaceObject=void 0;var n=o(1);class i{constructor({docId:e,onUnsupportedFeature:u,ownerDocument:c=globalThis.document,styleElement:g=null}){this.constructor===i&&(0,n.unreachable)("Cannot initialize BaseFontLoader."),this.docId=e,this._onUnsupportedFeature=u,this._document=c,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(e){this.nativeFontFaces.push(e),this._document.fonts.add(e)}insertRule(e){let u=this.styleElement;u||(u=this.styleElement=this._document.createElement("style"),u.id=`PDFJS_FONT_STYLE_TAG_${this.docId}`,this._document.documentElement.getElementsByTagName("head")[0].append(u));const c=u.sheet;c.insertRule(e,c.cssRules.length)}clear(){for(const e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}bind(e){var u=this;return _asyncToGenerator(function*(){if(e.attached||e.missingFile)return;if(e.attached=!0,u.isFontLoadingAPISupported){const g=e.createNativeFontFace();if(g){u.addNativeFontFace(g);try{yield g.loaded}catch(v){throw u._onUnsupportedFeature({featureId:n.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,n.warn)(`Failed to load font '${g.family}': '${v}'.`),e.disableFontFace=!0,v}}return}const c=e.createFontFaceRule();if(c){if(u.insertRule(c),u.isSyncFontLoadingSupported)return;yield new Promise(g=>{const v=u._queueLoadingCallback(g);u._prepareFontLoadEvent([c],[e],v)})}})()}_queueLoadingCallback(e){(0,n.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){return(0,n.shadow)(this,"isFontLoadingAPISupported",!!this._document?.fonts)}get isSyncFontLoadingSupported(){(0,n.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,n.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(e,u,c){(0,n.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let d;h.FontLoader=d,h.FontLoader=d=class extends i{constructor(e){super(e),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let e=!1;return(typeof navigator>"u"||/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent)?.[1]>=14)&&(e=!0),(0,n.shadow)(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){const c=this.loadingContext,g={id:"pdfjs-font-loading-"+c.nextRequestId++,done:!1,complete:function u(){for((0,n.assert)(!g.done,"completeRequest() cannot be called twice."),g.done=!0;c.requests.length>0&&c.requests[0].done;){const v=c.requests.shift();setTimeout(v.callback,0)}},callback:e};return c.requests.push(g),g}get _loadTestFont(){return(0,n.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(e,u,c){function g(N,O){return N.charCodeAt(O)<<24|N.charCodeAt(O+1)<<16|N.charCodeAt(O+2)<<8|255&N.charCodeAt(O+3)}function v(N,O,H,G){return N.substring(0,O)+G+N.substring(O+H)}let p,S;const C=this._document.createElement("canvas");C.width=1,C.height=1;const _=C.getContext("2d");let f=0;const b=`lt${Date.now()}${this.loadTestFontId++}`;let E=this._loadTestFont;E=v(E,976,b.length,b);const I=1482184792;let F=g(E,16);for(p=0,S=b.length-3;p30)return(0,n.warn)("Load test font never loaded."),void O();_.font="30px "+N,_.fillText(".",0,20),_.getImageData(0,0,1,1).data[3]>0?O():setTimeout(y.bind(null,N,O))}(b,()=>{x.remove(),c.complete()})}},h.FontFaceObject=class a{constructor(e,{isEvalSupported:u=!0,disableFontFace:c=!1,ignoreErrors:g=!1,onUnsupportedFeature:v,fontRegistry:p=null}){this.compiledGlyphs=Object.create(null);for(const S in e)this[S]=e[S];this.isEvalSupported=!1!==u,this.disableFontFace=!0===c,this.ignoreErrors=!0===g,this._onUnsupportedFeature=v,this.fontRegistry=p}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let e;if(this.cssFontInfo){const u={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(u.style=`oblique ${this.cssFontInfo.italicAngle}deg`),e=new FontFace(this.cssFontInfo.fontFamily,this.data,u)}else e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const e=(0,n.bytesToString)(this.data),u=`url(data:${this.mimetype};base64,${btoa(e)});`;let c;if(this.cssFontInfo){let g=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(g+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),c=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${g}src:${u}}`}else c=`@font-face {font-family:"${this.loadedName}";src:${u}}`;return this.fontRegistry&&this.fontRegistry.registerFont(this,u),c}getPathGenerator(e,u){if(void 0!==this.compiledGlyphs[u])return this.compiledGlyphs[u];let c;try{c=e.get(this.loadedName+"_path_"+u)}catch(g){if(!this.ignoreErrors)throw g;return this._onUnsupportedFeature({featureId:n.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,n.warn)(`getPathGenerator - ignoring character: "${g}".`),this.compiledGlyphs[u]=function(v,p){}}if(this.isEvalSupported&&n.FeatureTest.isEvalSupported){const g=[];for(const v of c){const p=void 0!==v.args?v.args.join(","):"";g.push("c.",v.cmd,"(",p,");\n")}return this.compiledGlyphs[u]=new Function("c","size",g.join(""))}return this.compiledGlyphs[u]=function(g,v){for(const p of c)"scale"===p.cmd&&(p.args=[v,-v]),g[p.cmd].apply(g,p.args)}}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.CanvasGraphics=void 0;var n=o(8),i=o(1),d=o(13),a=o(14),l=o(3);const c=4096,p=l.isNodeJS&&typeof Path2D>"u"?-1:1e3,S=16;class _{constructor(K){this.canvasFactory=K,this.cache=Object.create(null)}getCanvas(K,Z,re){let J;return void 0!==this.cache[K]?(J=this.cache[K],this.canvasFactory.reset(J,Z,re)):(J=this.canvasFactory.create(Z,re),this.cache[K]=J),J}delete(K){delete this.cache[K]}clear(){for(const K in this.cache)this.canvasFactory.destroy(this.cache[K]),delete this.cache[K]}}function f(se,K,Z,re,J,Y,$,le,ee,we){const[ye,Oe,ve,_e,Pe,Ze]=(0,n.getCurrentTransform)(se);if(0===Oe&&0===ve){const Qe=Math.round($*ye+Pe),Xe=Math.round(le*_e+Ze),Pt=Math.abs(Math.round(($+ee)*ye+Pe)-Qe)||1,hn=Math.abs(Math.round((le+we)*_e+Ze)-Xe)||1;return se.setTransform(Math.sign(ye),0,0,Math.sign(_e),Qe,Xe),se.drawImage(K,Z,re,J,Y,0,0,Pt,hn),se.setTransform(ye,Oe,ve,_e,Pe,Ze),[Pt,hn]}if(0===ye&&0===_e){const Qe=Math.round(le*ve+Pe),Xe=Math.round($*Oe+Ze),Pt=Math.abs(Math.round((le+we)*ve+Pe)-Qe)||1,hn=Math.abs(Math.round(($+ee)*Oe+Ze)-Xe)||1;return se.setTransform(0,Math.sign(Oe),Math.sign(ve),0,Qe,Xe),se.drawImage(K,Z,re,J,Y,0,0,hn,Pt),se.setTransform(ye,Oe,ve,_e,Pe,Ze),[hn,Pt]}return se.drawImage(K,Z,re,J,Y,$,le,ee,we),[Math.hypot(ye,Oe)*ee,Math.hypot(ve,_e)*we]}class b{constructor(K,Z){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=i.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=i.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,K,Z])}clone(){const K=Object.create(this);return K.clipBox=this.clipBox.slice(),K}setCurrentPoint(K,Z){this.x=K,this.y=Z}updatePathMinMax(K,Z,re){[Z,re]=i.Util.applyTransform([Z,re],K),this.minX=Math.min(this.minX,Z),this.minY=Math.min(this.minY,re),this.maxX=Math.max(this.maxX,Z),this.maxY=Math.max(this.maxY,re)}updateRectMinMax(K,Z){const re=i.Util.applyTransform(Z,K),J=i.Util.applyTransform(Z.slice(2),K);this.minX=Math.min(this.minX,re[0],J[0]),this.minY=Math.min(this.minY,re[1],J[1]),this.maxX=Math.max(this.maxX,re[0],J[0]),this.maxY=Math.max(this.maxY,re[1],J[1])}updateScalingPathMinMax(K,Z){i.Util.scaleMinMax(K,Z),this.minX=Math.min(this.minX,Z[0]),this.maxX=Math.max(this.maxX,Z[1]),this.minY=Math.min(this.minY,Z[2]),this.maxY=Math.max(this.maxY,Z[3])}updateCurvePathMinMax(K,Z,re,J,Y,$,le,ee,we,ye){const Oe=i.Util.bezierBoundingBox(Z,re,J,Y,$,le,ee,we);if(ye)return ye[0]=Math.min(ye[0],Oe[0],Oe[2]),ye[1]=Math.max(ye[1],Oe[0],Oe[2]),ye[2]=Math.min(ye[2],Oe[1],Oe[3]),void(ye[3]=Math.max(ye[3],Oe[1],Oe[3]));this.updateRectMinMax(K,Oe)}getPathBoundingBox(K=d.PathType.FILL,Z=null){const re=[this.minX,this.minY,this.maxX,this.maxY];if(K===d.PathType.STROKE){Z||(0,i.unreachable)("Stroke bounding box must include transform.");const J=i.Util.singularValueDecompose2dScale(Z),Y=J[0]*this.lineWidth/2,$=J[1]*this.lineWidth/2;re[0]-=Y,re[1]-=$,re[2]+=Y,re[3]+=$}return re}updateClipFromPath(){const K=i.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(K||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(K){this.clipBox=K,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(K=d.PathType.FILL,Z=null){return i.Util.intersect(this.clipBox,this.getPathBoundingBox(K,Z))}}function E(se,K,Z=null){if(typeof ImageData<"u"&&K instanceof ImageData)return void se.putImageData(K,0,0);const re=K.height,J=K.width,Y=re%S,$=(re-Y)/S,le=0===Y?$:$+1,ee=se.createImageData(J,S);let ye,we=0;const Oe=K.data,ve=ee.data;let _e,Pe,Ze,ot,tt,mt,Qe,Ct;if(Z)switch(Z.length){case 1:tt=Z[0],mt=Z[0],Qe=Z[0],Ct=Z[0];break;case 4:tt=Z[0],mt=Z[1],Qe=Z[2],Ct=Z[3]}if(K.kind===i.ImageKind.GRAYSCALE_1BPP){const Xe=Oe.byteLength,nt=new Uint32Array(ve.buffer,0,ve.byteLength>>2),Pt=nt.length,tn=J+7>>3;let hn=4294967295,wn=i.FeatureTest.isLittleEndian?4278190080:255;for(Ct&&255===Ct[0]&&0===Ct[255]&&([hn,wn]=[wn,hn]),_e=0;_etn?J:8*An-7,ht=-8&qt;let Ue=0,Ee=0;for(;_n>=1}for(;ye=$&&(Ze=Y,ot=J*Ze),ye=0,Pe=ot;Pe--;)ve[ye++]=Oe[we++],ve[ye++]=Oe[we++],ve[ye++]=Oe[we++],ve[ye++]=255;if(Xe)for(let nt=0;nt>8,se[Y-2]=se[Y-2]*$+Z*le>>8,se[Y-1]=se[Y-1]*$+re*le>>8}}}function j(se,K,Z){const re=se.length;for(let Y=3;Y>8]>>8:K[J]*Y>>16}}function N(se,K){const Z=i.Util.singularValueDecompose2dScale(se);Z[0]=Math.fround(Z[0]),Z[1]=Math.fround(Z[1]);const re=Math.fround((globalThis.devicePixelRatio||1)*n.PixelsPerInch.PDF_TO_CSS_UNITS);return void 0!==K?K:Z[0]<=re||Z[1]<=re}const O=["butt","round","square"],H=["miter","round","bevel"],G={},te={};class ue{constructor(K,Z,re,J,Y,$,le,ee){this.ctx=K,this.current=new b(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=Z,this.objs=re,this.canvasFactory=J,this.imageLayer=Y,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=[],this.optionalContentConfig=$,this.cachedCanvases=new _(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=le,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.backgroundColor=ee?.background||null,this.foregroundColor=ee?.foreground||null,this._cachedScaleForStroking=null,this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(K,Z=null){return"string"==typeof K?K.startsWith("g_")?this.commonObjs.get(K):this.objs.get(K):Z}beginDrawing({transform:K,viewport:Z,transparency:re=!1,background:J=null}){const Y=this.ctx.canvas.width,$=this.ctx.canvas.height,le=J||"#ffffff";if(this.ctx.save(),this.foregroundColor&&this.backgroundColor){this.ctx.fillStyle=this.foregroundColor;const ee=this.foregroundColor=this.ctx.fillStyle;this.ctx.fillStyle=this.backgroundColor;const we=this.backgroundColor=this.ctx.fillStyle;let ye=!0,Oe=le;if(this.ctx.fillStyle=le,Oe=this.ctx.fillStyle,ye="string"==typeof Oe&&/^#[0-9A-Fa-f]{6}$/.test(Oe),"#000000"===ee&&"#ffffff"===we||ee===we||!ye)this.foregroundColor=this.backgroundColor=null;else{const[ve,_e,Pe]=(0,n.getRGB)(Oe),Ze=tt=>(tt/=255)<=.03928?tt/12.92:((tt+.055)/1.055)**2.4,ot=Math.round(.2126*Ze(ve)+.7152*Ze(_e)+.0722*Ze(Pe));this.selectColor=(tt,mt,Qe)=>{const Ct=.2126*Ze(tt)+.7152*Ze(mt)+.0722*Ze(Qe);return Math.round(Ct)===ot?we:ee}}}if(this.ctx.fillStyle=this.backgroundColor||le,this.ctx.fillRect(0,0,Y,$),this.ctx.restore(),re){const ee=this.cachedCanvases.getCanvas("transparent",Y,$);this.compositeCtx=this.ctx,this.transparentCanvas=ee.canvas,this.ctx=ee.context,this.ctx.save(),this.ctx.transform(...(0,n.getCurrentTransform)(this.compositeCtx))}this.ctx.save(),I(this.ctx,this.foregroundColor),K&&(this.ctx.transform(...K),this.outputScaleX=K[0],this.outputScaleY=K[0]),this.ctx.transform(...Z.transform),this.viewportScale=Z.scale,this.baseTransform=(0,n.getCurrentTransform)(this.ctx),this.imageLayer&&((0,n.deprecated)("The `imageLayer` functionality will be removed in the future."),this.imageLayer.beginLayout())}executeOperatorList(K,Z,re,J){const Y=K.argsArray,$=K.fnArray;let le=Z||0;const ee=Y.length;if(ee===le)return le;const we=ee-le>10&&"function"==typeof re,ye=we?Date.now()+15:0;let Oe=0;const ve=this.commonObjs,_e=this.objs;let Pe;for(;;){if(void 0!==J&&le===J.nextBreakPoint)return J.breakIt(le,re),le;if(Pe=$[le],Pe!==i.OPS.dependency)this[Pe].apply(this,Y[le]);else for(const Ze of Y[le]){const ot=Ze.startsWith("g_")?ve:_e;if(!ot.has(Ze))return ot.get(Ze,re),le}if(le++,le===ee)return le;if(we&&++Oe>10){if(Date.now()>ye)return re(),le;Oe=0}}}#e(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){this.#e(),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const K of this._cachedBitmapsMap.values()){for(const Z of K.values())typeof HTMLCanvasElement<"u"&&Z instanceof HTMLCanvasElement&&(Z.width=Z.height=0);K.clear()}this._cachedBitmapsMap.clear(),this.imageLayer&&this.imageLayer.endLayout()}_scaleImage(K,Z){const re=K.width,J=K.height;let ye,Oe,Y=Math.max(Math.hypot(Z[0],Z[1]),1),$=Math.max(Math.hypot(Z[2],Z[3]),1),le=re,ee=J,we="prescale1";for(;Y>2&&le>1||$>2&&ee>1;){let ve=le,_e=ee;Y>2&&le>1&&(ve=Math.ceil(le/2),Y/=le/ve),$>2&&ee>1&&(_e=Math.ceil(ee/2),$/=ee/_e),ye=this.cachedCanvases.getCanvas(we,ve,_e),Oe=ye.context,Oe.clearRect(0,0,ve,_e),Oe.drawImage(K,0,0,le,ee,0,0,ve,_e),K=ye.canvas,le=ve,ee=_e,we="prescale1"===we?"prescale2":"prescale1"}return{img:K,paintWidth:le,paintHeight:ee}}_createMaskCanvas(K){const Z=this.ctx,{width:re,height:J}=K,Y=this.current.fillColor,$=this.current.patternFill,le=(0,n.getCurrentTransform)(Z);let ee,we,ye,Oe;if((K.bitmap||K.data)&&K.count>1){const Pt=K.bitmap||K.data.buffer,tn=le.slice(0,4);we=JSON.stringify($?tn:[tn,Y]),ee=this._cachedBitmapsMap.get(Pt),ee||(ee=new Map,this._cachedBitmapsMap.set(Pt,ee));const hn=ee.get(we);if(hn&&!$)return{canvas:hn,offsetX:Math.round(Math.min(le[0],le[2])+le[4]),offsetY:Math.round(Math.min(le[1],le[3])+le[5])};ye=hn}ye||(Oe=this.cachedCanvases.getCanvas("maskCanvas",re,J),M(Oe.context,K));let ve=i.Util.transform(le,[1/re,0,0,-1/J,0,0]);ve=i.Util.transform(ve,[1,0,0,1,0,-J]);const _e=i.Util.applyTransform([0,0],ve),Pe=i.Util.applyTransform([re,J],ve),Ze=i.Util.normalizeRect([_e[0],_e[1],Pe[0],Pe[1]]),ot=Math.round(Ze[2]-Ze[0])||1,tt=Math.round(Ze[3]-Ze[1])||1,mt=this.cachedCanvases.getCanvas("fillCanvas",ot,tt),Qe=mt.context,Ct=Math.min(_e[0],Pe[0]),Xe=Math.min(_e[1],Pe[1]);Qe.translate(-Ct,-Xe),Qe.transform(...ve),ye||(ye=this._scaleImage(Oe.canvas,(0,n.getCurrentTransformInverse)(Qe)),ye=ye.img,ee&&$&&ee.set(we,ye)),Qe.imageSmoothingEnabled=N((0,n.getCurrentTransform)(Qe),K.interpolate),f(Qe,ye,0,0,ye.width,ye.height,0,0,re,J),Qe.globalCompositeOperation="source-in";const nt=i.Util.transform((0,n.getCurrentTransformInverse)(Qe),[1,0,0,1,-Ct,-Xe]);return Qe.fillStyle=$?Y.getPattern(Z,this,nt,d.PathType.FILL):Y,Qe.fillRect(0,0,re,J),ee&&!$&&(this.cachedCanvases.delete("fillCanvas"),ee.set(we,mt.canvas)),{canvas:mt.canvas,offsetX:Math.round(Ct),offsetY:Math.round(Xe)}}setLineWidth(K){K!==this.current.lineWidth&&(this._cachedScaleForStroking=null),this.current.lineWidth=K,this.ctx.lineWidth=K}setLineCap(K){this.ctx.lineCap=O[K]}setLineJoin(K){this.ctx.lineJoin=H[K]}setMiterLimit(K){this.ctx.miterLimit=K}setDash(K,Z){const re=this.ctx;void 0!==re.setLineDash&&(re.setLineDash(K),re.lineDashOffset=Z)}setRenderingIntent(K){}setFlatness(K){}setGState(K){for(let Z=0,re=K.length;Z{se.save=se.__originalSave,se.restore=se.__originalRestore,se.rotate=se.__originalRotate,se.scale=se.__originalScale,se.translate=se.__originalTranslate,se.transform=se.__originalTransform,se.setTransform=se.__originalSetTransform,se.resetTransform=se.__originalResetTransform,se.clip=se.__originalClip,se.moveTo=se.__originalMoveTo,se.lineTo=se.__originalLineTo,se.bezierCurveTo=se.__originalBezierCurveTo,se.rect=se.__originalRect,se.closePath=se.__originalClosePath,se.beginPath=se.__originalBeginPath,delete se._removeMirroring},se.save=function(){K.save(),this.__originalSave()},se.restore=function(){K.restore(),this.__originalRestore()},se.translate=function(re,J){K.translate(re,J),this.__originalTranslate(re,J)},se.scale=function(re,J){K.scale(re,J),this.__originalScale(re,J)},se.transform=function(re,J,Y,$,le,ee){K.transform(re,J,Y,$,le,ee),this.__originalTransform(re,J,Y,$,le,ee)},se.setTransform=function(re,J,Y,$,le,ee){K.setTransform(re,J,Y,$,le,ee),this.__originalSetTransform(re,J,Y,$,le,ee)},se.resetTransform=function(){K.resetTransform(),this.__originalResetTransform()},se.rotate=function(re){K.rotate(re),this.__originalRotate(re)},se.clip=function(re){K.clip(re),this.__originalClip(re)},se.moveTo=function(Z,re){K.moveTo(Z,re),this.__originalMoveTo(Z,re)},se.lineTo=function(Z,re){K.lineTo(Z,re),this.__originalLineTo(Z,re)},se.bezierCurveTo=function(Z,re,J,Y,$,le){K.bezierCurveTo(Z,re,J,Y,$,le),this.__originalBezierCurveTo(Z,re,J,Y,$,le)},se.rect=function(Z,re,J,Y){K.rect(Z,re,J,Y),this.__originalRect(Z,re,J,Y)},se.closePath=function(){K.closePath(),this.__originalClosePath()},se.beginPath=function(){K.beginPath(),this.__originalBeginPath()}}(Y,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),A(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(K){this.current.activeSMask&&(K?(K[0]=Math.floor(K[0]),K[1]=Math.floor(K[1]),K[2]=Math.ceil(K[2]),K[3]=Math.ceil(K[3])):K=[0,0,this.ctx.canvas.width,this.ctx.canvas.height],function x(se,K,Z,re){const J=re[0],Y=re[1],$=re[2]-J,le=re[3]-Y;0===$||0===le||(function P(se,K,Z,re,J,Y,$,le,ee,we,ye){const Oe=!!Y,ve=Oe?Y[0]:0,_e=Oe?Y[1]:0,Pe=Oe?Y[2]:0;let Ze;Ze="Luminosity"===J?T:j;const tt=Math.min(re,Math.ceil(1048576/Z));for(let mt=0;mt100&&(we=100),this.current.fontSizeScale=Z/we,this.ctx.font=`${le} ${$} ${we}px ${ee}`}setTextRenderingMode(K){this.current.textRenderingMode=K}setTextRise(K){this.current.textRise=K}moveText(K,Z){this.current.x=this.current.lineX+=K,this.current.y=this.current.lineY+=Z}setLeadingMoveText(K,Z){this.setLeading(-Z),this.moveText(K,Z)}setTextMatrix(K,Z,re,J,Y,$){this.current.textMatrix=[K,Z,re,J,Y,$],this.current.textMatrixScale=Math.hypot(K,Z),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(K,Z,re,J){const Y=this.ctx,$=this.current,le=$.font,ee=$.textRenderingMode,we=$.fontSize/$.fontSizeScale,ye=ee&i.TextRenderingMode.FILL_STROKE_MASK,Oe=!!(ee&i.TextRenderingMode.ADD_TO_PATH_FLAG),ve=$.patternFill&&!le.missingFile;let _e;(le.disableFontFace||Oe||ve)&&(_e=le.getPathGenerator(this.commonObjs,K)),le.disableFontFace||ve?(Y.save(),Y.translate(Z,re),Y.beginPath(),_e(Y,we),J&&Y.setTransform(...J),(ye===i.TextRenderingMode.FILL||ye===i.TextRenderingMode.FILL_STROKE)&&Y.fill(),(ye===i.TextRenderingMode.STROKE||ye===i.TextRenderingMode.FILL_STROKE)&&Y.stroke(),Y.restore()):((ye===i.TextRenderingMode.FILL||ye===i.TextRenderingMode.FILL_STROKE)&&Y.fillText(K,Z,re),(ye===i.TextRenderingMode.STROKE||ye===i.TextRenderingMode.FILL_STROKE)&&Y.strokeText(K,Z,re)),Oe&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:(0,n.getCurrentTransform)(Y),x:Z,y:re,fontSize:we,addToPath:_e})}get isFontSubpixelAAEnabled(){const{context:K}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);K.scale(1.5,1),K.fillText("I",0,10);const Z=K.getImageData(0,0,10,10).data;let re=!1;for(let J=3;J0&&Z[J]<255){re=!0;break}return(0,i.shadow)(this,"isFontSubpixelAAEnabled",re)}showText(K){const Z=this.current,re=Z.font;if(re.isType3Font)return this.showType3Text(K);const J=Z.fontSize;if(0===J)return;const Y=this.ctx,$=Z.fontSizeScale,le=Z.charSpacing,ee=Z.wordSpacing,we=Z.fontDirection,ye=Z.textHScale*we,Oe=K.length,ve=re.vertical,_e=ve?1:-1,Pe=re.defaultVMetrics,Ze=J*Z.fontMatrix[0],ot=Z.textRenderingMode===i.TextRenderingMode.FILL&&!re.disableFontFace&&!Z.patternFill;let tt;if(Y.save(),Y.transform(...Z.textMatrix),Y.translate(Z.x,Z.y+Z.textRise),Y.scale(ye,we>0?-1:1),Z.patternFill){Y.save();const nt=Z.fillColor.getPattern(Y,this,(0,n.getCurrentTransformInverse)(Y),d.PathType.FILL);tt=(0,n.getCurrentTransform)(Y),Y.restore(),Y.fillStyle=nt}let mt=Z.lineWidth;const Qe=Z.textMatrixScale;if(0===Qe||0===mt){const nt=Z.textRenderingMode&i.TextRenderingMode.FILL_STROKE_MASK;(nt===i.TextRenderingMode.STROKE||nt===i.TextRenderingMode.FILL_STROKE)&&(mt=this.getSinglePixelWidth())}else mt/=Qe;1!==$&&(Y.scale($,$),mt/=$),Y.lineWidth=mt;let Xe,Ct=0;for(Xe=0;Xe0){const Ue=1e3*Y.measureText(hn).width/J*$;if(qtnew ue($,this.commonObjs,this.objs,this.canvasFactory)},J)}else Z=this._getPattern(K[1],K[2]);return Z}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(K,Z,re){const J=this.selectColor?.(K,Z,re)||i.Util.makeHexColor(K,Z,re);this.ctx.strokeStyle=J,this.current.strokeColor=J}setFillRGBColor(K,Z,re){const J=this.selectColor?.(K,Z,re)||i.Util.makeHexColor(K,Z,re);this.ctx.fillStyle=J,this.current.fillColor=J,this.current.patternFill=!1}_getPattern(K,Z=null){let re;return this.cachedPatterns.has(K)?re=this.cachedPatterns.get(K):(re=(0,d.getShadingPattern)(this.objs.get(K)),this.cachedPatterns.set(K,re)),Z&&(re.matrix=Z),re}shadingFill(K){if(!this.contentVisible)return;const Z=this.ctx;this.save();const re=this._getPattern(K);Z.fillStyle=re.getPattern(Z,this,(0,n.getCurrentTransformInverse)(Z),d.PathType.SHADING);const J=(0,n.getCurrentTransformInverse)(Z);if(J){const Y=Z.canvas,$=Y.width,le=Y.height,ee=i.Util.applyTransform([0,0],J),we=i.Util.applyTransform([0,le],J),ye=i.Util.applyTransform([$,0],J),Oe=i.Util.applyTransform([$,le],J),ve=Math.min(ee[0],we[0],ye[0],Oe[0]),_e=Math.min(ee[1],we[1],ye[1],Oe[1]),Pe=Math.max(ee[0],we[0],ye[0],Oe[0]),Ze=Math.max(ee[1],we[1],ye[1],Oe[1]);this.ctx.fillRect(ve,_e,Pe-ve,Ze-_e)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){(0,i.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,i.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(K,Z){this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(K)&&6===K.length&&this.transform(...K),this.baseTransform=(0,n.getCurrentTransform)(this.ctx),Z)&&(this.ctx.rect(Z[0],Z[1],Z[2]-Z[0],Z[3]-Z[1]),this.current.updateRectMinMax((0,n.getCurrentTransform)(this.ctx),Z),this.clip(),this.endPath())}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(K){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const Z=this.ctx;K.isolated||(0,i.info)("TODO: Support non-isolated groups."),K.knockout&&(0,i.warn)("Knockout groups not supported.");const re=(0,n.getCurrentTransform)(Z);if(K.matrix&&Z.transform(...K.matrix),!K.bbox)throw new Error("Bounding box is required.");let J=i.Util.getAxialAlignedBoundingBox(K.bbox,(0,n.getCurrentTransform)(Z));J=i.Util.intersect(J,[0,0,Z.canvas.width,Z.canvas.height])||[0,0,0,0];const $=Math.floor(J[0]),le=Math.floor(J[1]);let ee=Math.max(Math.ceil(J[2])-$,1),we=Math.max(Math.ceil(J[3])-le,1),ye=1,Oe=1;ee>c&&(ye=ee/c,ee=c),we>c&&(Oe=we/c,we=c),this.current.startNewPathAndClipBox([0,0,ee,we]);let ve="groupAt"+this.groupLevel;K.smask&&(ve+="_smask_"+this.smaskCounter++%2);const _e=this.cachedCanvases.getCanvas(ve,ee,we),Pe=_e.context;Pe.scale(1/ye,1/Oe),Pe.translate(-$,-le),Pe.transform(...re),K.smask?this.smaskStack.push({canvas:_e.canvas,context:Pe,offsetX:$,offsetY:le,scaleX:ye,scaleY:Oe,subtype:K.smask.subtype,backdrop:K.smask.backdrop,transferMap:K.smask.transferMap||null,startTransformInverse:null}):(Z.setTransform(1,0,0,1,0,0),Z.translate($,le),Z.scale(ye,Oe),Z.save()),A(Z,Pe),this.ctx=Pe,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(Z),this.groupLevel++}endGroup(K){if(!this.contentVisible)return;this.groupLevel--;const Z=this.ctx,re=this.groupStack.pop();if(this.ctx=re,this.ctx.imageSmoothingEnabled=!1,K.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const J=(0,n.getCurrentTransform)(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...J);const Y=i.Util.getAxialAlignedBoundingBox([0,0,Z.canvas.width,Z.canvas.height],J);this.ctx.drawImage(Z.canvas,0,0),this.ctx.restore(),this.compose(Y)}}beginAnnotation(K,Z,re,J,Y){if(this.#e(),I(this.ctx,this.foregroundColor),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),Array.isArray(Z)&&4===Z.length){const $=Z[2]-Z[0],le=Z[3]-Z[1];if(Y&&this.annotationCanvasMap){(re=re.slice())[4]-=Z[0],re[5]-=Z[1],(Z=Z.slice())[0]=Z[1]=0,Z[2]=$,Z[3]=le;const[ee,we]=i.Util.singularValueDecompose2dScale((0,n.getCurrentTransform)(this.ctx)),{viewportScale:ye}=this,Oe=Math.ceil($*this.outputScaleX*ye),ve=Math.ceil(le*this.outputScaleY*ye);this.annotationCanvas=this.canvasFactory.create(Oe,ve);const{canvas:_e,context:Pe}=this.annotationCanvas;this.annotationCanvasMap.set(K,_e),this.annotationCanvas.savedCtx=this.ctx,this.ctx=Pe,this.ctx.setTransform(ee,0,0,-we,0,le*we),I(this.ctx,this.foregroundColor)}else I(this.ctx,this.foregroundColor),this.ctx.rect(Z[0],Z[1],$,le),this.ctx.clip(),this.endPath()}this.current=new b(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...re),this.transform(...J)}endAnnotation(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(K){if(!this.contentVisible)return;const Z=K.count;(K=this.getObject(K.data,K)).count=Z;const re=this.ctx,J=this.processingType3;if(J&&(void 0===J.compiled&&(J.compiled=function y(se){const{width:K,height:Z}=se;if(K>p||Z>p)return null;const J=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),Y=K+1;let le,ee,we,$=new Uint8Array(Y*(Z+1));const ye=K+7&-8;let Oe=new Uint8Array(ye*Z),ve=0;for(const tt of se.data){let mt=128;for(;mt>0;)Oe[ve++]=tt&mt?0:255,mt>>=1}let _e=0;for(ve=0,0!==Oe[ve]&&($[0]=1,++_e),ee=1;ee>2)+(Oe[ve+1]?4:0)+(Oe[ve-ye+1]?8:0),J[tt]&&($[we+ee]=J[tt],++_e),ve++;if(Oe[ve-ye]!==Oe[ve]&&($[we+ee]=Oe[ve]?2:4,++_e),_e>1e3)return null}for(ve=ye*(Z-1),we=le*Y,0!==Oe[ve]&&($[we]=8,++_e),ee=1;ee1e3)return null;const Pe=new Int32Array([0,Y,-1,0,-Y,0,0,0,1]),Ze=new Path2D;for(le=0;_e&&le<=Z;le++){let tt=le*Y;const mt=tt+K;for(;tt>4,$[tt]&=Ct>>2|Ct<<2),Ze.lineTo(tt%Y,tt/Y|0),$[tt]||--_e}while(Qe!==tt);--le}return Oe=null,$=null,function(tt){tt.save(),tt.scale(1/K,-1/Z),tt.translate(0,-Z),tt.fill(Ze),tt.beginPath(),tt.restore()}}(K)),J.compiled))return void J.compiled(re);const Y=this._createMaskCanvas(K),$=Y.canvas;re.save(),re.setTransform(1,0,0,1,0,0),re.drawImage($,Y.offsetX,Y.offsetY),re.restore(),this.compose()}paintImageMaskXObjectRepeat(K,Z,re=0,J=0,Y,$){if(!this.contentVisible)return;K=this.getObject(K.data,K);const le=this.ctx;le.save();const ee=(0,n.getCurrentTransform)(le);le.transform(Z,re,J,Y,0,0);const we=this._createMaskCanvas(K);le.setTransform(1,0,0,1,0,0);for(let ye=0,Oe=$.length;yeee?le/ee:1,J=$>ee?$/ee:1}}this._cachedScaleForStroking=[re,J]}return this._cachedScaleForStroking}rescaleAndStroke(K){const{ctx:Z}=this,{lineWidth:re}=this.current,[J,Y]=this.getScaleForStroking();if(Z.lineWidth=re||1,1===J&&1===Y)return void Z.stroke();let $,le,ee;K&&($=(0,n.getCurrentTransform)(Z),le=Z.getLineDash().slice(),ee=Z.lineDashOffset),Z.scale(J,Y);const we=Math.max(J,Y);Z.setLineDash(Z.getLineDash().map(ye=>ye/we)),Z.lineDashOffset/=we,Z.stroke(),K&&(Z.setTransform(...$),Z.setLineDash(le),Z.lineDashOffset=ee)}isContentVisible(){for(let K=this.markedContentStack.length-1;K>=0;K--)if(!this.markedContentStack[K].visible)return!1;return!0}}h.CanvasGraphics=ue;for(const se in i.OPS)void 0!==ue.prototype[se]&&(ue.prototype[i.OPS[se]]=ue.prototype[se])},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.TilingPattern=h.PathType=void 0,h.getShadingPattern=function S(f){switch(f[0]){case"RadialAxial":return new u(f);case"Mesh":return new v(f);case"Dummy":return new p}throw new Error(`Unknown IR type: ${f[0]}`)};var n=o(1),i=o(8),d=o(3);const a={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function l(f,y){if(!y||d.isNodeJS)return;const b=y[2]-y[0],E=y[3]-y[1],M=new Path2D;M.rect(y[0],y[1],b,E),f.clip(M)}h.PathType=a;class e{constructor(){this.constructor===e&&(0,n.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,n.unreachable)("Abstract method `getPattern` called.")}}class u extends e{constructor(y){super(),this._type=y[1],this._bbox=y[2],this._colorStops=y[3],this._p0=y[4],this._p1=y[5],this._r0=y[6],this._r1=y[7],this.matrix=null}_createGradient(y){let b;"axial"===this._type?b=y.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(b=y.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const E of this._colorStops)b.addColorStop(E[0],E[1]);return b}getPattern(y,b,E,M){let A;if(M===a.STROKE||M===a.FILL){const I=b.current.getClippedPathBoundingBox(M,(0,i.getCurrentTransform)(y))||[0,0,0,0],F=Math.ceil(I[2]-I[0])||1,j=Math.ceil(I[3]-I[1])||1,T=b.cachedCanvases.getCanvas("pattern",F,j,!0),P=T.context;P.clearRect(0,0,P.canvas.width,P.canvas.height),P.beginPath(),P.rect(0,0,P.canvas.width,P.canvas.height),P.translate(-I[0],-I[1]),E=n.Util.transform(E,[1,0,0,1,I[0],I[1]]),P.transform(...b.baseTransform),this.matrix&&P.transform(...this.matrix),l(P,this._bbox),P.fillStyle=this._createGradient(P),P.fill(),A=y.createPattern(T.canvas,"no-repeat");const x=new DOMMatrix(E);try{A.setTransform(x)}catch(N){(0,n.warn)(`RadialAxialShadingPattern.getPattern: "${N?.message}".`)}}else l(y,this._bbox),A=this._createGradient(y);return A}}function c(f,y,b,E,M,A,I,F){const j=y.coords,T=y.colors,P=f.data,x=4*f.width;let N;j[b+1]>j[E+1]&&(N=b,b=E,E=N,N=A,A=I,I=N),j[E+1]>j[M+1]&&(N=E,E=M,M=N,N=I,I=F,F=N),j[b+1]>j[E+1]&&(N=b,b=E,E=N,N=A,A=I,I=N);const O=(j[b]+y.offsetX)*y.scaleX,H=(j[b+1]+y.offsetY)*y.scaleY,G=(j[E]+y.offsetX)*y.scaleX,te=(j[E+1]+y.offsetY)*y.scaleY,ue=(j[M]+y.offsetX)*y.scaleX,se=(j[M+1]+y.offsetY)*y.scaleY;if(H>=se)return;const K=T[A],Z=T[A+1],re=T[A+2],J=T[I],Y=T[I+1],$=T[I+2],le=T[F],ee=T[F+1],we=T[F+2],ye=Math.round(H),Oe=Math.round(se);let ve,_e,Pe,Ze,ot,tt,mt,Qe;for(let Ct=ye;Ct<=Oe;Ct++){if(Ctse?1:te===se?0:(te-Ct)/(te-se),ve=G-(G-ue)*hn,_e=J-(J-le)*hn,Pe=Y-(Y-ee)*hn,Ze=$-($-we)*hn}let Xe;Xe=Ctse?1:(H-Ct)/(H-se),ot=O-(O-ue)*Xe,tt=K-(K-le)*Xe,mt=Z-(Z-ee)*Xe,Qe=re-(re-we)*Xe;const nt=Math.round(Math.min(ve,ot)),Pt=Math.round(Math.max(ve,ot));let tn=x*Ct+4*nt;for(let hn=nt;hn<=Pt;hn++)Xe=(ve-hn)/(ve-ot),Xe<0?Xe=0:Xe>1&&(Xe=1),P[tn++]=_e-(_e-tt)*Xe|0,P[tn++]=Pe-(Pe-mt)*Xe|0,P[tn++]=Ze-(Ze-Qe)*Xe|0,P[tn++]=255}}function g(f,y,b){const E=y.coords,M=y.colors;let A,I;switch(y.type){case"lattice":const F=y.verticesPerRow,j=Math.floor(E.length/F)-1,T=F-1;for(A=0;A=M?A=M:E=A/y,{scale:E,size:A}}clipBbox(y,b,E,M,A){y.ctx.rect(b,E,M-b,A-E),y.current.updateRectMinMax((0,i.getCurrentTransform)(y.ctx),[b,E,M,A]),y.clip(),y.endPath()}setFillAndStrokeStyleToContext(y,b,E){const M=y.ctx,A=y.current;switch(b){case 1:const I=this.ctx;M.fillStyle=I.fillStyle,M.strokeStyle=I.strokeStyle,A.fillColor=I.fillStyle,A.strokeColor=I.strokeStyle;break;case 2:const F=n.Util.makeHexColor(E[0],E[1],E[2]);M.fillStyle=F,M.strokeStyle=F,A.fillColor=F,A.strokeColor=F;break;default:throw new n.FormatError(`Unsupported paint type: ${b}`)}}getPattern(y,b,E,M){let A=E;M!==a.SHADING&&(A=n.Util.transform(A,b.baseTransform),this.matrix&&(A=n.Util.transform(A,this.matrix)));const I=this.createPatternCanvas(b);let F=new DOMMatrix(A);F=F.translate(I.offsetX,I.offsetY),F=F.scale(1/I.scaleX,1/I.scaleY);const j=y.createPattern(I.canvas,"repeat");try{j.setTransform(F)}catch(T){(0,n.warn)(`TilingPattern.getPattern: "${T?.message}".`)}return j}}h.TilingPattern=_},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.applyMaskImageData=function i({src:d,srcPos:a=0,dest:l,destPos:e=0,width:u,height:c,inverseDecode:g=!1}){const v=n.FeatureTest.isLittleEndian?4278190080:255,[p,S]=g?[0,v]:[v,0],C=u>>3,_=7&u,f=d.length;l=new Uint32Array(l.buffer);for(let y=0;y{Object.defineProperty(h,"__esModule",{value:!0}),h.GlobalWorkerOptions=void 0;const o=Object.create(null);h.GlobalWorkerOptions=o,o.workerPort=void 0===o.workerPort?null:o.workerPort,o.workerSrc=void 0===o.workerSrc?"":o.workerSrc},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.MessageHandler=void 0;var n=o(1);function a(e){switch(e instanceof Error||"object"==typeof e&&null!==e||(0,n.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new n.AbortException(e.message);case"MissingPDFException":return new n.MissingPDFException(e.message);case"PasswordException":return new n.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new n.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new n.UnknownErrorException(e.message,e.details);default:return new n.UnknownErrorException(e.message,e.toString())}}h.MessageHandler=class l{constructor(u,c,g){this.sourceName=u,this.targetName=c,this.comObj=g,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=v=>{const p=v.data;if(p.targetName!==this.sourceName)return;if(p.stream)return void this._processStreamMessage(p);if(p.callback){const C=p.callbackId,_=this.callbackCapabilities[C];if(!_)throw new Error(`Cannot resolve callback ${C}`);if(delete this.callbackCapabilities[C],1===p.callback)_.resolve(p.data);else{if(2!==p.callback)throw new Error("Unexpected callback case");_.reject(a(p.reason))}return}const S=this.actionHandler[p.action];if(!S)throw new Error(`Unknown action from worker: ${p.action}`);if(p.callbackId){const C=this.sourceName,_=p.sourceName;new Promise(function(f){f(S(p.data))}).then(function(f){g.postMessage({sourceName:C,targetName:_,callback:1,callbackId:p.callbackId,data:f})},function(f){g.postMessage({sourceName:C,targetName:_,callback:2,callbackId:p.callbackId,reason:a(f)})})}else p.streamId?this._createStreamSink(p):S(p.data)},g.addEventListener("message",this._onComObjOnMessage)}on(u,c){const g=this.actionHandler;if(g[u])throw new Error(`There is already an actionName called "${u}"`);g[u]=c}send(u,c,g){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:u,data:c},g)}sendWithPromise(u,c,g){const v=this.callbackId++,p=(0,n.createPromiseCapability)();this.callbackCapabilities[v]=p;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:u,callbackId:v,data:c},g)}catch(S){p.reject(S)}return p.promise}sendWithStream(u,c,g,v){const p=this.streamId++,S=this.sourceName,C=this.targetName,_=this.comObj;return new ReadableStream({start:f=>{const y=(0,n.createPromiseCapability)();return this.streamControllers[p]={controller:f,startCall:y,pullCall:null,cancelCall:null,isClosed:!1},_.postMessage({sourceName:S,targetName:C,action:u,streamId:p,data:c,desiredSize:f.desiredSize},v),y.promise},pull:f=>{const y=(0,n.createPromiseCapability)();return this.streamControllers[p].pullCall=y,_.postMessage({sourceName:S,targetName:C,stream:6,streamId:p,desiredSize:f.desiredSize}),y.promise},cancel:f=>{(0,n.assert)(f instanceof Error,"cancel must have a valid reason");const y=(0,n.createPromiseCapability)();return this.streamControllers[p].cancelCall=y,this.streamControllers[p].isClosed=!0,_.postMessage({sourceName:S,targetName:C,stream:1,streamId:p,reason:a(f)}),y.promise}},g)}_createStreamSink(u){const c=u.streamId,g=this.sourceName,v=u.sourceName,p=this.comObj,S=this,C=this.actionHandler[u.action],_={enqueue(f,y=1,b){if(this.isCancelled)return;const E=this.desiredSize;this.desiredSize-=y,E>0&&this.desiredSize<=0&&(this.sinkCapability=(0,n.createPromiseCapability)(),this.ready=this.sinkCapability.promise),p.postMessage({sourceName:g,targetName:v,stream:4,streamId:c,chunk:f},b)},close(){this.isCancelled||(this.isCancelled=!0,p.postMessage({sourceName:g,targetName:v,stream:3,streamId:c}),delete S.streamSinks[c])},error(f){(0,n.assert)(f instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,p.postMessage({sourceName:g,targetName:v,stream:5,streamId:c,reason:a(f)}))},sinkCapability:(0,n.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:u.desiredSize,ready:null};_.sinkCapability.resolve(),_.ready=_.sinkCapability.promise,this.streamSinks[c]=_,new Promise(function(f){f(C(u.data,_))}).then(function(){p.postMessage({sourceName:g,targetName:v,stream:8,streamId:c,success:!0})},function(f){p.postMessage({sourceName:g,targetName:v,stream:8,streamId:c,reason:a(f)})})}_processStreamMessage(u){const c=u.streamId,g=this.sourceName,v=u.sourceName,p=this.comObj,S=this.streamControllers[c],C=this.streamSinks[c];switch(u.stream){case 8:u.success?S.startCall.resolve():S.startCall.reject(a(u.reason));break;case 7:u.success?S.pullCall.resolve():S.pullCall.reject(a(u.reason));break;case 6:if(!C){p.postMessage({sourceName:g,targetName:v,stream:7,streamId:c,success:!0});break}C.desiredSize<=0&&u.desiredSize>0&&C.sinkCapability.resolve(),C.desiredSize=u.desiredSize,new Promise(function(_){_(C.onPull&&C.onPull())}).then(function(){p.postMessage({sourceName:g,targetName:v,stream:7,streamId:c,success:!0})},function(_){p.postMessage({sourceName:g,targetName:v,stream:7,streamId:c,reason:a(_)})});break;case 4:if((0,n.assert)(S,"enqueue should have stream controller"),S.isClosed)break;S.controller.enqueue(u.chunk);break;case 3:if((0,n.assert)(S,"close should have stream controller"),S.isClosed)break;S.isClosed=!0,S.controller.close(),this._deleteStreamController(S,c);break;case 5:(0,n.assert)(S,"error should have stream controller"),S.controller.error(a(u.reason)),this._deleteStreamController(S,c);break;case 2:u.success?S.cancelCall.resolve():S.cancelCall.reject(a(u.reason)),this._deleteStreamController(S,c);break;case 1:if(!C)break;new Promise(function(_){_(C.onCancel&&C.onCancel(a(u.reason)))}).then(function(){p.postMessage({sourceName:g,targetName:v,stream:2,streamId:c,success:!0})},function(_){p.postMessage({sourceName:g,targetName:v,stream:2,streamId:c,reason:a(_)})}),C.sinkCapability.reject(a(u.reason)),C.isCancelled=!0,delete this.streamSinks[c];break;default:throw new Error("Unexpected stream case")}}_deleteStreamController(u,c){var g=this;return _asyncToGenerator(function*(){yield Promise.allSettled([u.startCall&&u.startCall.promise,u.pullCall&&u.pullCall.promise,u.cancelCall&&u.cancelCall.promise]),delete g.streamControllers[c]})()}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.Metadata=void 0;var n=o(1);h.Metadata=class i{#e;#t;constructor({parsedData:a,rawData:l}){this.#e=a,this.#t=l}getRaw(){return this.#t}get(a){return this.#e.get(a)??null}getAll(){return(0,n.objectFromMap)(this.#e)}has(a){return this.#e.has(a)}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.OptionalContentConfig=void 0;var n=o(1);const i=Symbol("INTERNAL");class d{#e=!0;constructor(e,u){this.name=e,this.intent=u}get visible(){return this.#e}_setVisible(e,u){e!==i&&(0,n.unreachable)("Internal method `_setVisible` called."),this.#e=u}}h.OptionalContentConfig=class a{#e=!0;#t=new Map;#n=null;#r=null;constructor(e){if(this.name=null,this.creator=null,null!==e){this.name=e.name,this.creator=e.creator,this.#r=e.order;for(const u of e.groups)this.#t.set(u.id,new d(u.name,u.intent));if("OFF"===e.baseState)for(const u of this.#t.values())u._setVisible(i,!1);for(const u of e.on)this.#t.get(u)._setVisible(i,!0);for(const u of e.off)this.#t.get(u)._setVisible(i,!1);this.#n=new Map;for(const[u,c]of this.#t)this.#n.set(u,c.visible)}}#o(e){const u=e.length;if(u<2)return!0;const c=e[0];for(let g=1;g0?(0,n.objectFromMap)(this.#t):null}getGroup(e){return this.#t.get(e)||null}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFDataTransportStream=void 0;var n=o(1),i=o(8);h.PDFDataTransportStream=class d{constructor(u,c){(0,n.assert)(c,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=u.progressiveDone||!1,this._contentDispositionFilename=u.contentDispositionFilename||null;const g=u.initialData;if(g?.length>0){const v=new Uint8Array(g).buffer;this._queuedChunks.push(v)}this._pdfDataRangeTransport=c,this._isStreamingSupported=!u.disableStream,this._isRangeSupported=!u.disableRange,this._contentLength=u.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((v,p)=>{this._onReceiveData({begin:v,chunk:p})}),this._pdfDataRangeTransport.addProgressListener((v,p)=>{this._onProgress({loaded:v,total:p})}),this._pdfDataRangeTransport.addProgressiveReadListener(v=>{this._onReceiveData({chunk:v})}),this._pdfDataRangeTransport.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),this._pdfDataRangeTransport.transportReady()}_onReceiveData(u){const c=new Uint8Array(u.chunk).buffer;if(void 0===u.begin)this._fullRequestReader?this._fullRequestReader._enqueue(c):this._queuedChunks.push(c);else{const g=this._rangeReaders.some(function(v){return v._begin===u.begin&&(v._enqueue(c),!0)});(0,n.assert)(g,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(u){if(void 0===u.total){const c=this._rangeReaders[0];c?.onProgress&&c.onProgress({loaded:u.loaded})}else{const c=this._fullRequestReader;c?.onProgress&&c.onProgress({loaded:u.loaded,total:u.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(u){const c=this._rangeReaders.indexOf(u);c>=0&&this._rangeReaders.splice(c,1)}getFullReader(){(0,n.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const u=this._queuedChunks;return this._queuedChunks=null,new a(this,u,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(u,c){if(c<=this._progressiveDataLength)return null;const g=new l(this,u,c);return this._pdfDataRangeTransport.requestDataRange(u,c),this._rangeReaders.push(g),g}cancelAllRequests(u){this._fullRequestReader&&this._fullRequestReader.cancel(u);for(const c of this._rangeReaders.slice(0))c.cancel(u);this._pdfDataRangeTransport.abort()}};class a{constructor(u,c,g=!1,v=null){this._stream=u,this._done=g||!1,this._filename=(0,i.isPdfFile)(v)?v:null,this._queuedChunks=c||[],this._loaded=0;for(const p of this._queuedChunks)this._loaded+=p.byteLength;this._requests=[],this._headersReady=Promise.resolve(),u._fullRequestReader=this,this.onProgress=null}_enqueue(u){this._done||(this._requests.length>0?this._requests.shift().resolve({value:u,done:!1}):this._queuedChunks.push(u),this._loaded+=u.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}read(){var u=this;return _asyncToGenerator(function*(){if(u._queuedChunks.length>0)return{value:u._queuedChunks.shift(),done:!1};if(u._done)return{value:void 0,done:!0};const c=(0,n.createPromiseCapability)();return u._requests.push(c),c.promise})()}cancel(u){this._done=!0;for(const c of this._requests)c.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class l{constructor(u,c,g){this._stream=u,this._begin=c,this._end=g,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(u){if(!this._done){if(0===this._requests.length)this._queuedChunk=u;else{this._requests.shift().resolve({value:u,done:!1});for(const g of this._requests)g.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}read(){var u=this;return _asyncToGenerator(function*(){if(u._queuedChunk){const g=u._queuedChunk;return u._queuedChunk=null,{value:g,done:!1}}if(u._done)return{value:void 0,done:!0};const c=(0,n.createPromiseCapability)();return u._requests.push(c),c.promise})()}cancel(u){this._done=!0;for(const c of this._requests)c.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(pe,h)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.XfaText=void 0;class o{static textContent(i){const d=[],a={items:d,styles:Object.create(null)};return function l(e){if(!e)return;let u=null;const c=e.name;if("#text"===c)u=e.value;else{if(!o.shouldBuildText(c))return;e?.attributes?.textContent?u=e.attributes.textContent:e.value&&(u=e.value)}if(null!==u&&d.push({str:u}),e.children)for(const g of e.children)l(g)}(i),a}static shouldBuildText(i){return!("textarea"===i||"input"===i||"option"===i||"select"===i)}}h.XfaText=o},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.NodeStandardFontDataFactory=h.NodeCanvasFactory=h.NodeCMapReaderFactory=void 0;var n=o(9);const i=function(e){return new Promise((u,c)=>{__webpack_require__(45344).readFile(e,(v,p)=>{!v&&p?u(new Uint8Array(p)):c(new Error(v))})})};h.NodeCanvasFactory=class d extends n.BaseCanvasFactory{_createCanvas(u,c){return __webpack_require__(22892).createCanvas(u,c)}},h.NodeCMapReaderFactory=class a extends n.BaseCMapReaderFactory{_fetchData(u,c){return i(u).then(g=>({cMapData:g,compressionType:c}))}},h.NodeStandardFontDataFactory=class l extends n.BaseStandardFontDataFactory{_fetchData(u){return i(u)}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.AnnotationEditorLayer=void 0;var n=o(7),i=o(1),d=o(23),a=o(24);h.AnnotationEditorLayer=(()=>{class e{#e;#t=!1;#n=this.pointerup.bind(this);#r=this.pointerdown.bind(this);#o=new Map;#c=!1;#a=!1;#i;static _initialized=!1;constructor(c){e._initialized||(e._initialized=!0,d.FreeTextEditor.initialize(c.l10n),a.InkEditor.initialize(c.l10n),c.uiManager.registerEditorTypes([d.FreeTextEditor,a.InkEditor])),this.#i=c.uiManager,this.annotationStorage=c.annotationStorage,this.pageIndex=c.pageIndex,this.div=c.div,this.#e=c.accessibilityManager,this.#i.addLayer(this)}updateToolbar(c){this.#i.updateToolbar(c)}updateMode(c=this.#i.getMode()){this.#s(),c===i.AnnotationEditorType.INK?(this.addInkEditorIfNeeded(!1),this.disableClick()):this.enableClick(),this.#i.unselectAll()}addInkEditorIfNeeded(c){if(c||this.#i.getMode()===i.AnnotationEditorType.INK){if(!c)for(const v of this.#o.values())if(v.isEmpty())return void v.setInBackground();this.#l({offsetX:0,offsetY:0}).setInBackground()}}setEditingState(c){this.#i.setEditingState(c)}addCommands(c){this.#i.addCommands(c)}enable(){this.div.style.pointerEvents="auto";for(const c of this.#o.values())c.enableEditing()}disable(){this.div.style.pointerEvents="none";for(const c of this.#o.values())c.disableEditing()}setActiveEditor(c){this.#i.getActive()!==c&&this.#i.setActiveEditor(c)}enableClick(){this.div.addEventListener("pointerdown",this.#r),this.div.addEventListener("pointerup",this.#n)}disableClick(){this.div.removeEventListener("pointerdown",this.#r),this.div.removeEventListener("pointerup",this.#n)}attach(c){this.#o.set(c.id,c)}detach(c){this.#o.delete(c.id),this.#e?.removePointerInTextLayer(c.contentDiv)}remove(c){this.#i.removeEditor(c),this.detach(c),this.annotationStorage.remove(c.id),c.div.style.display="none",setTimeout(()=>{c.div.style.display="",c.div.remove(),c.isAttachedToDOM=!1,document.activeElement===document.body&&this.#i.focusMainContainer()},0),this.#a||this.addInkEditorIfNeeded(!1)}#h(c){c.parent!==this&&(this.attach(c),c.pageIndex=this.pageIndex,c.parent?.detach(c),c.parent=this,c.div&&c.isAttachedToDOM&&(c.div.remove(),this.div.append(c.div)))}add(c){if(this.#h(c),this.#i.addEditor(c),this.attach(c),!c.isAttachedToDOM){const g=c.render();this.div.append(g),c.isAttachedToDOM=!0}this.moveEditorInDOM(c),c.onceAdded(),this.addToAnnotationStorage(c)}moveEditorInDOM(c){this.#e?.moveElementInDOM(this.div,c.div,c.contentDiv,!0)}addToAnnotationStorage(c){!c.isEmpty()&&!this.annotationStorage.has(c.id)&&this.annotationStorage.setValue(c.id,c)}addOrRebuild(c){c.needsToBeRebuilt()?c.rebuild():this.add(c)}addANewEditor(c){this.addCommands({cmd:()=>{this.addOrRebuild(c)},undo:()=>{c.remove()},mustExec:!0})}addUndoableEditor(c){this.addCommands({cmd:()=>{this.addOrRebuild(c)},undo:()=>{c.remove()},mustExec:!1})}getNextId(){return this.#i.getId()}#u(c){switch(this.#i.getMode()){case i.AnnotationEditorType.FREETEXT:return new d.FreeTextEditor(c);case i.AnnotationEditorType.INK:return new a.InkEditor(c)}return null}deserialize(c){switch(c.annotationType){case i.AnnotationEditorType.FREETEXT:return d.FreeTextEditor.deserialize(c,this);case i.AnnotationEditorType.INK:return a.InkEditor.deserialize(c,this)}return null}#l(c){const g=this.getNextId(),v=this.#u({parent:this,id:g,x:c.offsetX,y:c.offsetY});return v&&this.add(v),v}setSelected(c){this.#i.setSelected(c)}toggleSelected(c){this.#i.toggleSelected(c)}isSelected(c){return this.#i.isSelected(c)}unselect(c){this.#i.unselect(c)}pointerup(c){if(!(0!==c.button||c.ctrlKey&&n.KeyboardManager.platform.isMac)&&c.target===this.div&&this.#c){if(this.#c=!1,!this.#t)return void(this.#t=!0);this.#l(c)}}pointerdown(c){if(0!==c.button||c.ctrlKey&&n.KeyboardManager.platform.isMac||c.target!==this.div)return;this.#c=!0;const v=this.#i.getActive();this.#t=!v||v.isEmpty()}drop(c){const g=c.dataTransfer.getData("text/plain"),v=this.#i.getEditor(g);if(!v)return;c.preventDefault(),c.dataTransfer.dropEffect="move",this.#h(v);const p=this.div.getBoundingClientRect();v.translate(c.clientX-p.x-v.startX,c.clientY-p.y-v.startY),this.moveEditorInDOM(v),v.div.focus()}dragover(c){c.preventDefault()}destroy(){this.#i.getActive()?.parent===this&&this.#i.setActiveEditor(null);for(const c of this.#o.values())this.#e?.removePointerInTextLayer(c.contentDiv),c.isAttachedToDOM=!1,c.div.remove(),c.parent=null;this.div=null,this.#o.clear(),this.#i.removeLayer(this)}#s(){this.#a=!0;for(const c of this.#o.values())c.isEmpty()&&c.remove();this.#a=!1}render(c){this.viewport=c.viewport,(0,n.bindEvents)(this,this.div,["dragover","drop"]),this.setDimensions();for(const g of this.#i.getEditors(this.pageIndex))this.add(g);this.updateMode()}update(c){this.viewport=c.viewport,this.setDimensions(),this.updateMode()}get scaleFactor(){return this.viewport.scale}get pageDimensions(){const[c,g,v,p]=this.viewport.viewBox;return[v-c,p-g]}get viewportBaseDimensions(){const{width:c,height:g,rotation:v}=this.viewport;return v%180==0?[c,g]:[g,c]}setDimensions(){const{width:c,height:g,rotation:v}=this.viewport,p=v%180!=0,S=Math.floor(c)+"px",C=Math.floor(g)+"px";this.div.style.width=p?C:S,this.div.style.height=p?S:C,this.div.setAttribute("data-main-rotation",v)}}return e})()},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.FreeTextEditor=void 0;var n=o(1),i=o(7),d=o(6);class a extends d.AnnotationEditor{#e=this.editorDivBlur.bind(this);#t=this.editorDivFocus.bind(this);#n=this.editorDivKeydown.bind(this);#r;#o="";#c=!1;#a;static _freeTextDefaultContent="";static _l10nPromise;static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static _keyboardManager=new i.KeyboardManager([[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],a.prototype.commitOrRemove]]);static _type="freetext";constructor(e){super({...e,name:"freeTextEditor"}),this.#r=e.color||a._defaultColor||d.AnnotationEditor._defaultLineColor,this.#a=e.fontSize||a._defaultFontSize}static initialize(e){this._l10nPromise=new Map(["free_text_default_content","editor_free_text_aria_label"].map(c=>[c,e.get(c)]));const u=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(u.getPropertyValue("--freetext-padding"))}static updateDefaultParams(e,u){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:a._defaultFontSize=u;break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:a._defaultColor=u}}updateParams(e,u){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:this.#i(u);break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:this.#h(u)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,a._defaultFontSize],[n.AnnotationEditorParamsType.FREETEXT_COLOR,a._defaultColor||d.AnnotationEditor._defaultLineColor]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,this.#a],[n.AnnotationEditorParamsType.FREETEXT_COLOR,this.#r]]}#i(e){const u=g=>{this.editorDiv.style.fontSize=`calc(${g}px * var(--scale-factor))`,this.translate(0,-(g-this.#a)*this.parent.scaleFactor),this.#a=g,this.#l()},c=this.#a;this.parent.addCommands({cmd:()=>{u(e)},undo:()=>{u(c)},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#h(e){const u=this.#r;this.parent.addCommands({cmd:()=>{this.#r=e,this.editorDiv.style.color=e},undo:()=>{this.#r=u,this.editorDiv.style.color=u},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}getInitialTranslation(){return[-a._internalPadding*this.parent.scaleFactor,-(a._internalPadding+this.#a)*this.parent.scaleFactor]}rebuild(){super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this))}enableEditMode(){this.isInEditMode()||(this.parent.setEditingState(!1),this.parent.updateToolbar(n.AnnotationEditorType.FREETEXT),super.enableEditMode(),this.enableEditing(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this.div.draggable=!1,this.editorDiv.addEventListener("keydown",this.#n),this.editorDiv.addEventListener("focus",this.#t),this.editorDiv.addEventListener("blur",this.#e))}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.disableEditing(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.draggable=!0,this.editorDiv.removeEventListener("keydown",this.#n),this.editorDiv.removeEventListener("focus",this.#t),this.editorDiv.removeEventListener("blur",this.#e),this.div.focus(),this.isEditing=!1)}focusin(e){super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus()}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus())}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent.setEditingState(!0),super.remove()}#u(){const e=this.editorDiv.getElementsByTagName("div");if(0===e.length)return this.editorDiv.innerText;const u=[];for(let c=0,g=e.length;cthis.editorDiv?.setAttribute("aria-label",g)),a._l10nPromise.get("free_text_default_content").then(g=>this.editorDiv?.setAttribute("default-content",g)),this.editorDiv.contentEditable=!0;const{style:c}=this.editorDiv;if(c.fontSize=`calc(${this.#a}px * var(--scale-factor))`,c.color=this.#r,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),(0,i.bindEvents)(this,this.div,["dblclick","keydown"]),this.width){const[g,v]=this.parent.viewportBaseDimensions;this.setAt(e*g,u*v,this.width*g,this.height*v);for(const p of this.#o.split("\n")){const S=document.createElement("div");S.append(p?document.createTextNode(p):document.createElement("br")),this.editorDiv.append(S)}this.div.draggable=!0,this.editorDiv.contentEditable=!1}else this.div.draggable=!1,this.editorDiv.contentEditable=!0;return this.div}get contentDiv(){return this.editorDiv}static deserialize(e,u){const c=super.deserialize(e,u);return c.#a=e.fontSize,c.#r=n.Util.makeHexColor(...e.color),c.#o=e.value,c}serialize(){if(this.isEmpty())return null;const e=a._internalPadding*this.parent.scaleFactor,u=this.getRect(e,e),c=d.AnnotationEditor._colorManager.convert(getComputedStyle(this.editorDiv).color);return{annotationType:n.AnnotationEditorType.FREETEXT,color:c,fontSize:this.#a,value:this.#o,pageIndex:this.parent.pageIndex,rect:u,rotation:this.rotation}}}h.FreeTextEditor=a},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.InkEditor=void 0,Object.defineProperty(h,"fitCurve",{enumerable:!0,get:function(){return d.fitCurve}});var n=o(1),i=o(6),d=o(25),a=o(7);const l=16;h.InkEditor=(()=>{class u extends i.AnnotationEditor{#e=0;#t=0;#n=0;#r=this.canvasPointermove.bind(this);#o=this.canvasPointerleave.bind(this);#c=this.canvasPointerup.bind(this);#a=this.canvasPointerdown.bind(this);#i=!1;#h=!1;#u=null;#l=null;#s=0;#g=0;#f=null;static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=1;static _l10nPromise;static _type="ink";constructor(g){super({...g,name:"inkEditor"}),this.color=g.color||null,this.thickness=g.thickness||null,this.opacity=g.opacity||null,this.paths=[],this.bezierPath2D=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0}static initialize(g){this._l10nPromise=new Map(["editor_ink_canvas_aria_label","editor_ink_aria_label"].map(v=>[v,g.get(v)]))}static updateDefaultParams(g,v){switch(g){case n.AnnotationEditorParamsType.INK_THICKNESS:u._defaultThickness=v;break;case n.AnnotationEditorParamsType.INK_COLOR:u._defaultColor=v;break;case n.AnnotationEditorParamsType.INK_OPACITY:u._defaultOpacity=v/100}}updateParams(g,v){switch(g){case n.AnnotationEditorParamsType.INK_THICKNESS:this.#v(v);break;case n.AnnotationEditorParamsType.INK_COLOR:this.#p(v);break;case n.AnnotationEditorParamsType.INK_OPACITY:this.#_(v)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,u._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,u._defaultColor||i.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*u._defaultOpacity)]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,this.thickness||u._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,this.color||u._defaultColor||i.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*(this.opacity??u._defaultOpacity))]]}#v(g){const v=this.thickness;this.parent.addCommands({cmd:()=>{this.thickness=g,this.#D()},undo:()=>{this.thickness=v,this.#D()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}#p(g){const v=this.color;this.parent.addCommands({cmd:()=>{this.color=g,this.#m()},undo:()=>{this.color=v,this.#m()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}#_(g){g/=100;const v=this.opacity;this.parent.addCommands({cmd:()=>{this.opacity=g,this.#m()},undo:()=>{this.opacity=v,this.#m()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}rebuild(){super.rebuild(),null!==this.div&&(this.canvas||(this.#y(),this.#C()),this.isAttachedToDOM||(this.parent.add(this),this.#w()),this.#D())}remove(){null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,this.#l.disconnect(),this.#l=null,super.remove())}enableEditMode(){this.#i||null===this.canvas||(super.enableEditMode(),this.div.draggable=!1,this.canvas.addEventListener("pointerdown",this.#a),this.canvas.addEventListener("pointerup",this.#c))}disableEditMode(){!this.isInEditMode()||null===this.canvas||(super.disableEditMode(),this.div.draggable=!this.isEmpty(),this.div.classList.remove("editing"),this.canvas.removeEventListener("pointerdown",this.#a),this.canvas.removeEventListener("pointerup",this.#c))}onceAdded(){this.div.draggable=!this.isEmpty()}isEmpty(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}#S(){const{width:g,height:v,rotation:p}=this.parent.viewport;switch(p){case 90:return[0,g,g,v];case 180:return[g,v,g,v];case 270:return[v,0,g,v];default:return[0,0,g,v]}}#b(){this.ctx.lineWidth=this.thickness*this.parent.scaleFactor/this.scaleFactor,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.miterLimit=10,this.ctx.strokeStyle=`${this.color}${(0,a.opacityToHex)(this.opacity)}`}#d(g,v){this.isEditing=!0,this.#h||(this.#h=!0,this.#w(),this.thickness||=u._defaultThickness,this.color||=u._defaultColor||i.AnnotationEditor._defaultLineColor,this.opacity??=u._defaultOpacity),this.currentPath.push([g,v]),this.#u=null,this.#b(),this.ctx.beginPath(),this.ctx.moveTo(g,v),this.#f=()=>{this.#f&&(this.#u&&(this.isEmpty()?(this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)):this.#m(),this.ctx.lineTo(...this.#u),this.#u=null,this.ctx.stroke()),window.requestAnimationFrame(this.#f))},window.requestAnimationFrame(this.#f)}#E(g,v){const[p,S]=this.currentPath.at(-1);g===p&&v===S||(this.currentPath.push([g,v]),this.#u=[g,v])}#A(g,v){this.ctx.closePath(),this.#f=null,g=Math.min(Math.max(g,0),this.canvas.width),v=Math.min(Math.max(v,0),this.canvas.height);const[p,S]=this.currentPath.at(-1);let C;if((g!==p||v!==S)&&this.currentPath.push([g,v]),1!==this.currentPath.length)C=(0,d.fitCurve)(this.currentPath,30,null);else{const b=[g,v];C=[[b,b.slice(),b.slice(),b]]}const _=u.#k(C);this.currentPath.length=0,this.parent.addCommands({cmd:()=>{this.paths.push(C),this.bezierPath2D.push(_),this.rebuild()},undo:()=>{this.paths.pop(),this.bezierPath2D.pop(),0===this.paths.length?this.remove():(this.canvas||(this.#y(),this.#C()),this.#D())},mustExec:!0})}#m(){if(this.isEmpty())return void this.#T();this.#b();const{canvas:g,ctx:v}=this;v.setTransform(1,0,0,1,0,0),v.clearRect(0,0,g.width,g.height),this.#T();for(const p of this.bezierPath2D)v.stroke(p)}commit(){this.#i||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),this.#i=!0,this.div.classList.add("disabled"),this.#D(!0),this.parent.addInkEditorIfNeeded(!0),this.parent.moveEditorInDOM(this),this.div.focus())}focusin(g){super.focusin(g),this.enableEditMode()}canvasPointerdown(g){0!==g.button||!this.isInEditMode()||this.#i||(this.setInForeground(),"mouse"!==g.type&&this.div.focus(),g.stopPropagation(),this.canvas.addEventListener("pointerleave",this.#o),this.canvas.addEventListener("pointermove",this.#r),this.#d(g.offsetX,g.offsetY))}canvasPointermove(g){g.stopPropagation(),this.#E(g.offsetX,g.offsetY)}canvasPointerup(g){0===g.button&&this.isInEditMode()&&0!==this.currentPath.length&&(g.stopPropagation(),this.#M(g),this.setInBackground())}canvasPointerleave(g){this.#M(g),this.setInBackground()}#M(g){this.#A(g.offsetX,g.offsetY),this.canvas.removeEventListener("pointerleave",this.#o),this.canvas.removeEventListener("pointermove",this.#r),this.parent.addToAnnotationStorage(this)}#y(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",u._l10nPromise.get("editor_ink_canvas_aria_label").then(g=>this.canvas?.setAttribute("aria-label",g)),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}#C(){this.#l=new ResizeObserver(g=>{const v=g[0].contentRect;v.width&&v.height&&this.setDimensions(v.width,v.height)}),this.#l.observe(this.div)}render(){if(this.div)return this.div;let g,v;this.width&&(g=this.x,v=this.y),super.render(),u._l10nPromise.get("editor_ink_aria_label").then(f=>this.div?.setAttribute("aria-label",f));const[p,S,C,_]=this.#S();if(this.setAt(p,S,0,0),this.setDims(C,_),this.#y(),this.width){const[f,y]=this.parent.viewportBaseDimensions;this.setAt(g*f,v*y,this.width*f,this.height*y),this.#h=!0,this.#w(),this.setDims(this.width*f,this.height*y),this.#m(),this.#O(),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return this.#C(),this.div}#w(){if(!this.#h)return;const[g,v]=this.parent.viewportBaseDimensions;this.canvas.width=Math.ceil(this.width*g),this.canvas.height=Math.ceil(this.height*v),this.#T()}setDimensions(g,v){const p=Math.round(g),S=Math.round(v);if(this.#s===p&&this.#g===S)return;this.#s=p,this.#g=S,this.canvas.style.visibility="hidden",this.#e&&Math.abs(this.#e-g/v)>.01&&(v=Math.ceil(g/this.#e),this.setDims(g,v));const[C,_]=this.parent.viewportBaseDimensions;this.width=g/C,this.height=v/_,this.#i&&this.#P(g,v),this.#w(),this.#m(),this.canvas.style.visibility="visible"}#P(g,v){const p=this.#I(),S=(g-p)/this.#n,C=(v-p)/this.#t;this.scaleFactor=Math.min(S,C)}#T(){const g=this.#I()/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+g,this.translationY*this.scaleFactor+g)}static#k(g){const v=new Path2D;for(let p=0,S=g.length;p=1?(g.minHeight="16px",g.minWidth=`${Math.round(this.#e*l)}px`):(g.minWidth="16px",g.minHeight=`${Math.round(l/this.#e)}px`)}static deserialize(g,v){const p=super.deserialize(g,v);p.thickness=g.thickness,p.color=n.Util.makeHexColor(...g.color),p.opacity=g.opacity;const[S,C]=v.pageDimensions,_=p.width*S,f=p.height*C,y=v.scaleFactor,b=g.thickness/2;p.#e=_/f,p.#i=!0,p.#s=Math.round(_),p.#g=Math.round(f);for(const{bezier:M}of g.paths){const A=[];p.paths.push(A);let I=y*(M[0]-b),F=y*(f-M[1]-b);for(let T=2,P=M.length;T{Object.defineProperty(h,"__esModule",{value:!0}),h.fitCurve=void 0;const n=o(26);h.fitCurve=n},pe=>{function o(S,C,_,f,y){var E,M,A,I,F,j,T,P,x,N,O,H,G;if(2===S.length)return H=v.vectorLen(v.subtract(S[0],S[1]))/3,[E=[S[0],v.addArrays(S[0],v.mulItems(C,H)),v.addArrays(S[1],v.mulItems(_,H)),S[1]]];if(M=function l(S){var _,f,y,C=[];return S.forEach((b,E)=>{_=E?f+v.vectorLen(v.subtract(b,y)):0,C.push(_),f=_,y=b}),C=C.map(b=>b/f)}(S),[E,I,j]=n(S,M,M,C,_,y),0===I||I.9999&&te<1.0001)break}F=I,T=j}return O=[],(P=v.subtract(S[j-1],S[j+1])).every(te=>0===te)&&(P=v.subtract(S[j-1],S[j]),[P[0],P[1]]=[-P[1],P[0]]),x=v.normalize(P),N=v.mulItems(x,-1),(O=O.concat(o(S.slice(0,j+1),C,x,f,y))).concat(o(S.slice(j),N,_,f,y))}function n(S,C,_,f,y,b){var E,M,A;return E=function i(S,C,_,f){var y,b,E,M,A,I,T,P,x,N,O,H,G,te,ue,se=S[0],K=S[S.length-1];for(y=[se,null,null,K],b=v.zeros_Xx2x2(C.length),O=0,H=C.length;Oy&&(y=f,b=M);return[y,b]}(S,E,C),b&&b({bez:E,points:S,params:C,maxErr:M,maxPoint:A}),[E,M,A]}function d(S,C,_){return _.map((f,y)=>function a(S,C,_){var f=v.subtract(p.q(S,_),C),y=p.qprime(S,_),b=v.mulMatrix(f,y),E=v.sum(v.squareItems(y))+2*v.mulMatrix(f,p.qprimeprime(S,_));return 0===E?_:_-b/E}(S,C[y],f))}var u=function(S,C){for(var _,f=[0],y=S[0],b=0,E=1;E<=C;E++)_=p.q(S,E/C),b+=v.vectorLen(v.subtract(_,y)),f.push(b),y=_;return f.map(M=>M/b)};function c(S,C,_,f){if(C<0)return 0;if(C>1)return 1;for(var b,M,A,I=1;I<=f;I++)if(C<=_[I]){A=(C-(b=_[I-1]))/(_[I]-b)*(I/f-(M=(I-1)/f))+M;break}return A}function g(S,C){return v.normalize(v.subtract(S,C))}class v{static zeros_Xx2x2(C){for(var _=[];C--;)_.push([0,0]);return _}static mulItems(C,_){return C.map(f=>f*_)}static mulMatrix(C,_){return C.reduce((f,y,b)=>f+y*_[b],0)}static subtract(C,_){return C.map((f,y)=>f-_[y])}static addArrays(C,_){return C.map((f,y)=>f+_[y])}static addItems(C,_){return C.map(f=>f+_)}static sum(C){return C.reduce((_,f)=>_+f)}static dot(C,_){return v.mulMatrix(C,_)}static vectorLen(C){return Math.hypot(...C)}static divItems(C,_){return C.map(f=>f/_)}static squareItems(C){return C.map(_=>_*_)}static normalize(C){return this.divItems(C,this.vectorLen(C))}}class p{static q(C,_){var f=1-_,y=v.mulItems(C[0],f*f*f),b=v.mulItems(C[1],3*f*f*_),E=v.mulItems(C[2],3*f*_*_),M=v.mulItems(C[3],_*_*_);return v.addArrays(v.addArrays(y,b),v.addArrays(E,M))}static qprime(C,_){var f=1-_,y=v.mulItems(v.subtract(C[1],C[0]),3*f*f),b=v.mulItems(v.subtract(C[2],C[1]),6*f*_),E=v.mulItems(v.subtract(C[3],C[2]),3*_*_);return v.addArrays(v.addArrays(y,b),E)}static qprimeprime(C,_){return v.addArrays(v.mulItems(v.addArrays(v.subtract(C[2],v.mulItems(C[1],2)),C[0]),6*(1-_)),v.mulItems(v.addArrays(v.subtract(C[3],v.mulItems(C[2],2)),C[1]),6*_))}}pe.exports=function h(S,C,_){if(!Array.isArray(S))throw new TypeError("First argument should be an array");if(S.forEach(E=>{if(!Array.isArray(E)||E.some(M=>"number"!=typeof M)||E.length!==S[0].length)throw Error("Each point should be an array of numbers. Each point should have the same amount of numbers.")}),(S=S.filter((E,M)=>0===M||!E.every((A,I)=>A===S[M-1][I]))).length<2)return[];const f=S.length,y=g(S[1],S[0]),b=g(S[f-2],S[f-1]);return o(S,y,b,C,_)},pe.exports.fitCubic=o,pe.exports.createTangent=g},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.AnnotationLayer=void 0;var n=o(1),i=o(8),d=o(5),a=o(28),l=o(29);const e=1e3,c=new WeakSet;function g(J){return{width:J[2]-J[0],height:J[3]-J[1]}}class v{static create(Y){switch(Y.data.annotationType){case n.AnnotationType.LINK:return new S(Y);case n.AnnotationType.TEXT:return new C(Y);case n.AnnotationType.WIDGET:switch(Y.data.fieldType){case"Tx":return new f(Y);case"Btn":return Y.data.radioButton?new b(Y):Y.data.checkBox?new y(Y):new E(Y);case"Ch":return new M(Y)}return new _(Y);case n.AnnotationType.POPUP:return new A(Y);case n.AnnotationType.FREETEXT:return new F(Y);case n.AnnotationType.LINE:return new j(Y);case n.AnnotationType.SQUARE:return new T(Y);case n.AnnotationType.CIRCLE:return new P(Y);case n.AnnotationType.POLYLINE:return new x(Y);case n.AnnotationType.CARET:return new O(Y);case n.AnnotationType.INK:return new H(Y);case n.AnnotationType.POLYGON:return new N(Y);case n.AnnotationType.HIGHLIGHT:return new G(Y);case n.AnnotationType.UNDERLINE:return new te(Y);case n.AnnotationType.SQUIGGLY:return new ue(Y);case n.AnnotationType.STRIKEOUT:return new se(Y);case n.AnnotationType.STAMP:return new K(Y);case n.AnnotationType.FILEATTACHMENT:return new Z(Y);default:return new p(Y)}}}class p{constructor(Y,{isRenderable:$=!1,ignoreBorder:le=!1,createQuadrilaterals:ee=!1}={}){this.isRenderable=$,this.data=Y.data,this.layer=Y.layer,this.page=Y.page,this.viewport=Y.viewport,this.linkService=Y.linkService,this.downloadManager=Y.downloadManager,this.imageResourcesPath=Y.imageResourcesPath,this.renderForms=Y.renderForms,this.svgFactory=Y.svgFactory,this.annotationStorage=Y.annotationStorage,this.enableScripting=Y.enableScripting,this.hasJSActions=Y.hasJSActions,this._fieldObjects=Y.fieldObjects,this._mouseState=Y.mouseState,$&&(this.container=this._createContainer(le)),ee&&(this.quadrilaterals=this._createQuadrilaterals(le))}_createContainer(Y=!1){const $=this.data,le=this.page,ee=this.viewport,we=document.createElement("section"),{width:ye,height:Oe}=g($.rect),[ve,_e,Pe,Ze]=ee.viewBox,ot=Pe-ve,tt=Ze-_e;we.setAttribute("data-annotation-id",$.id);const mt=n.Util.normalizeRect([$.rect[0],le.view[3]-$.rect[1]+le.view[1],$.rect[2],le.view[3]-$.rect[3]+le.view[1]]);if(!Y&&$.borderStyle.width>0){we.style.borderWidth=`${$.borderStyle.width}px`;const Ct=$.borderStyle.horizontalCornerRadius,Xe=$.borderStyle.verticalCornerRadius;switch(Ct>0||Xe>0?we.style.borderRadius=`calc(${Ct}px * var(--scale-factor)) / calc(${Xe}px * var(--scale-factor))`:this instanceof b&&(we.style.borderRadius=`calc(${ye}px * var(--scale-factor)) / calc(${Oe}px * var(--scale-factor))`),$.borderStyle.style){case n.AnnotationBorderStyleType.SOLID:we.style.borderStyle="solid";break;case n.AnnotationBorderStyleType.DASHED:we.style.borderStyle="dashed";break;case n.AnnotationBorderStyleType.BEVELED:(0,n.warn)("Unimplemented border style: beveled");break;case n.AnnotationBorderStyleType.INSET:(0,n.warn)("Unimplemented border style: inset");break;case n.AnnotationBorderStyleType.UNDERLINE:we.style.borderBottomStyle="solid"}const nt=$.borderColor||null;nt?we.style.borderColor=n.Util.makeHexColor(0|nt[0],0|nt[1],0|nt[2]):we.style.borderWidth=0}we.style.left=100*(mt[0]-ve)/ot+"%",we.style.top=100*(mt[1]-_e)/tt+"%";const{rotation:Qe}=$;return $.hasOwnCanvas||0===Qe?(we.style.width=100*ye/ot+"%",we.style.height=100*Oe/tt+"%"):this.setRotation(Qe,we),we}setRotation(Y,$=this.container){const[le,ee,we,ye]=this.viewport.viewBox,Oe=we-le,ve=ye-ee,{width:_e,height:Pe}=g(this.data.rect);let Ze,ot;Y%180==0?(Ze=100*_e/Oe,ot=100*Pe/ve):(Ze=100*Pe/Oe,ot=100*_e/ve),$.style.width=`${Ze}%`,$.style.height=`${ot}%`,$.setAttribute("data-main-rotation",(360-Y)%360)}get _commonActions(){const Y=($,le,ee)=>{const we=ee.detail[$];ee.target.style[le]=a.ColorConverters[`${we[0]}_HTML`](we.slice(1))};return(0,n.shadow)(this,"_commonActions",{display:$=>{const le=$.detail.display%2==1;this.container.style.visibility=le?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:le,print:0===$.detail.display||3===$.detail.display})},print:$=>{this.annotationStorage.setValue(this.data.id,{print:$.detail.print})},hidden:$=>{this.container.style.visibility=$.detail.hidden?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:$.detail.hidden})},focus:$=>{setTimeout(()=>$.target.focus({preventScroll:!1}),0)},userName:$=>{$.target.title=$.detail.userName},readonly:$=>{$.detail.readonly?$.target.setAttribute("readonly",""):$.target.removeAttribute("readonly")},required:$=>{this._setRequired($.target,$.detail.required)},bgColor:$=>{Y("bgColor","backgroundColor",$)},fillColor:$=>{Y("fillColor","backgroundColor",$)},fgColor:$=>{Y("fgColor","color",$)},textColor:$=>{Y("textColor","color",$)},borderColor:$=>{Y("borderColor","borderColor",$)},strokeColor:$=>{Y("strokeColor","borderColor",$)},rotation:$=>{const le=$.detail.rotation;this.setRotation(le),this.annotationStorage.setValue(this.data.id,{rotation:le})}})}_dispatchEventFromSandbox(Y,$){const le=this._commonActions;for(const ee of Object.keys($.detail)){const we=Y[ee]||le[ee];we&&we($)}}_setDefaultPropertiesFromJS(Y){if(!this.enableScripting)return;const $=this.annotationStorage.getRawValue(this.data.id);if(!$)return;const le=this._commonActions;for(const[ee,we]of Object.entries($)){const ye=le[ee];ye&&(ye({detail:{[ee]:we},target:Y}),delete $[ee])}}_createQuadrilaterals(Y=!1){if(!this.data.quadPoints)return null;const $=[],le=this.data.rect;for(const ee of this.data.quadPoints)this.data.rect=[ee[2].x,ee[2].y,ee[1].x,ee[1].y],$.push(this._createContainer(Y));return this.data.rect=le,$}_createPopup(Y,$){let le=this.container;this.quadrilaterals&&(Y=Y||this.quadrilaterals,le=this.quadrilaterals[0]),Y||((Y=document.createElement("div")).className="popupTriggerArea",le.append(Y));const we=new I({container:le,trigger:Y,color:$.color,titleObj:$.titleObj,modificationDate:$.modificationDate,contentsObj:$.contentsObj,richText:$.richText,hideWrapper:!0}).render();we.style.left="100%",le.append(we)}_renderQuadrilaterals(Y){for(const $ of this.quadrilaterals)$.className=Y;return this.quadrilaterals}render(){(0,n.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(Y,$=null){const le=[];if(this._fieldObjects){const ee=this._fieldObjects[Y];if(ee)for(const{page:we,id:ye,exportValues:Oe}of ee){if(-1===we||ye===$)continue;const ve="string"==typeof Oe?Oe:null,_e=document.querySelector(`[data-element-id="${ye}"]`);!_e||c.has(_e)?le.push({id:ye,exportValue:ve,domElement:_e}):(0,n.warn)(`_getElementsByName - element not allowed: ${ye}`)}return le}for(const ee of document.getElementsByName(Y)){const{id:we,exportValue:ye}=ee;we!==$&&c.has(ee)&&le.push({id:we,exportValue:ye,domElement:ee})}return le}static get platform(){const Y=typeof navigator<"u"?navigator.platform:"";return(0,n.shadow)(this,"platform",{isWin:Y.includes("Win"),isMac:Y.includes("Mac")})}}class S extends p{constructor(Y,$=null){super(Y,{isRenderable:!0,ignoreBorder:!!$?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=Y.data.isTooltipOnly}render(){const{data:Y,linkService:$}=this,le=document.createElement("a");le.setAttribute("data-element-id",Y.id);let ee=!1;return Y.url?($.addLinkAttributes(le,Y.url,Y.newWindow),ee=!0):Y.action?(this._bindNamedAction(le,Y.action),ee=!0):Y.dest?(this._bindLink(le,Y.dest),ee=!0):(Y.actions&&(Y.actions.Action||Y.actions["Mouse Up"]||Y.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(le,Y),ee=!0),Y.resetForm?(this._bindResetFormAction(le,Y.resetForm),ee=!0):this.isTooltipOnly&&!ee&&(this._bindLink(le,""),ee=!0)),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((we,ye)=>{const Oe=0===ye?le:le.cloneNode();return we.append(Oe),we}):(this.container.className="linkAnnotation",ee&&this.container.append(le),this.container)}_bindLink(Y,$){Y.href=this.linkService.getDestinationHash($),Y.onclick=()=>($&&this.linkService.goToDestination($),!1),($||""===$)&&(Y.className="internalLink")}_bindNamedAction(Y,$){Y.href=this.linkService.getAnchorUrl(""),Y.onclick=()=>(this.linkService.executeNamedAction($),!1),Y.className="internalLink"}_bindJSAction(Y,$){Y.href=this.linkService.getAnchorUrl("");const le=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const ee of Object.keys($.actions)){const we=le.get(ee);we&&(Y[we]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:$.id,name:ee}}),!1))}Y.onclick||(Y.onclick=()=>!1),Y.className="internalLink"}_bindResetFormAction(Y,$){const le=Y.onclick;if(le||(Y.href=this.linkService.getAnchorUrl("")),Y.className="internalLink",!this._fieldObjects)return(0,n.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(le||(Y.onclick=()=>!1));Y.onclick=()=>{le&&le();const{fields:ee,refs:we,include:ye}=$,Oe=[];if(0!==ee.length||0!==we.length){const Pe=new Set(we);for(const Ze of ee){const ot=this._fieldObjects[Ze]||[];for(const{id:tt}of ot)Pe.add(tt)}for(const Ze of Object.values(this._fieldObjects))for(const ot of Ze)Pe.has(ot.id)===ye&&Oe.push(ot)}else for(const Pe of Object.values(this._fieldObjects))Oe.push(...Pe);const ve=this.annotationStorage,_e=[];for(const Pe of Oe){const{id:Ze}=Pe;switch(_e.push(Ze),Pe.type){case"text":case"combobox":case"listbox":ve.setValue(Ze,{value:Pe.defaultValue||""});break;case"checkbox":case"radiobutton":ve.setValue(Ze,{value:Pe.defaultValue===Pe.exportValues});break;default:continue}const ot=document.querySelector(`[data-element-id="${Ze}"]`);ot&&(c.has(ot)?ot.dispatchEvent(new Event("resetform")):(0,n.warn)(`_bindResetFormAction - element not allowed: ${Ze}`))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:_e,name:"ResetForm"}}),!1}}}class C extends p{constructor(Y){super(Y,{isRenderable:!!(Y.data.hasPopup||Y.data.titleObj?.str||Y.data.contentsObj?.str||Y.data.richText?.str)})}render(){this.container.className="textAnnotation";const Y=document.createElement("img");return Y.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",Y.alt="[{{type}} Annotation]",Y.dataset.l10nId="text_annotation_type",Y.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(Y,this.data),this.container.append(Y),this.container}}class _ extends p{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(Y){const{isWin:$,isMac:le}=p.platform;return $&&Y.ctrlKey||le&&Y.metaKey}_setEventListener(Y,$,le,ee){$.includes("mouse")?Y.addEventListener($,we=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:le,value:ee(we),shift:we.shiftKey,modifier:this._getKeyModifier(we)}})}):Y.addEventListener($,we=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:le,value:ee(we)}})})}_setEventListeners(Y,$,le){for(const[ee,we]of $)("Action"===we||this.data.actions?.[we])&&this._setEventListener(Y,ee,we,le)}_setBackgroundColor(Y){const $=this.data.backgroundColor||null;Y.style.backgroundColor=null===$?"transparent":n.Util.makeHexColor($[0],$[1],$[2])}_setTextStyle(Y){const{fontColor:le}=this.data.defaultAppearanceData,ee=this.data.defaultAppearanceData.fontSize||9,we=Y.style;let ye;if(this.data.multiLine){const Oe=Math.abs(this.data.rect[3]-this.data.rect[1]),ve=Math.round(Oe/(n.LINE_FACTOR*ee))||1;ye=Math.min(ee,Math.round(Oe/ve/n.LINE_FACTOR))}else{const Oe=Math.abs(this.data.rect[3]-this.data.rect[1]);ye=Math.min(ee,Math.round(Oe/n.LINE_FACTOR))}we.fontSize=`calc(${ye}px * var(--scale-factor))`,we.color=n.Util.makeHexColor(le[0],le[1],le[2]),null!==this.data.textAlignment&&(we.textAlign=["left","center","right"][this.data.textAlignment])}_setRequired(Y,$){$?Y.setAttribute("required",!0):Y.removeAttribute("required"),Y.setAttribute("aria-required",$)}}class f extends _{constructor(Y){super(Y,{isRenderable:Y.renderForms||!Y.data.hasAppearance&&!!Y.data.fieldValue})}setPropertyOnSiblings(Y,$,le,ee){const we=this.annotationStorage;for(const ye of this._getElementsByName(Y.name,Y.id))ye.domElement&&(ye.domElement[$]=le),we.setValue(ye.id,{[ee]:le})}render(){const Y=this.annotationStorage,$=this.data.id;this.container.className="textWidgetAnnotation";let le=null;if(this.renderForms){const ee=Y.getValue($,{value:this.data.fieldValue});let we=ee.formattedValue||ee.value||"";const ye=Y.getValue($,{charLimit:this.data.maxLen}).charLimit;ye&&we.length>ye&&(we=we.slice(0,ye));const Oe={userValue:we,formattedValue:null,valueOnFocus:""};this.data.multiLine?(le=document.createElement("textarea"),le.textContent=we,this.data.doNotScroll&&(le.style.overflowY="hidden")):(le=document.createElement("input"),le.type="text",le.setAttribute("value",we),this.data.doNotScroll&&(le.style.overflowX="hidden")),c.add(le),le.setAttribute("data-element-id",$),le.disabled=this.data.readOnly,le.name=this.data.fieldName,le.tabIndex=e,this._setRequired(le,this.data.required),ye&&(le.maxLength=ye),le.addEventListener("input",_e=>{Y.setValue($,{value:_e.target.value}),this.setPropertyOnSiblings(le,"value",_e.target.value,"value")}),le.addEventListener("resetform",_e=>{le.value=Oe.userValue=this.data.defaultFieldValue??"",Oe.formattedValue=null});let ve=_e=>{const{formattedValue:Pe}=Oe;null!=Pe&&(_e.target.value=Pe),_e.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){le.addEventListener("focus",Pe=>{Oe.userValue&&(Pe.target.value=Oe.userValue),Oe.valueOnFocus=Pe.target.value}),le.addEventListener("updatefromsandbox",Pe=>{this._dispatchEventFromSandbox({value(ot){Oe.userValue=ot.detail.value??"",Y.setValue($,{value:Oe.userValue.toString()}),ot.target.value=Oe.userValue},formattedValue(ot){const{formattedValue:tt}=ot.detail;Oe.formattedValue=tt,null!=tt&&ot.target!==document.activeElement&&(ot.target.value=tt),Y.setValue($,{formattedValue:tt})},selRange(ot){ot.target.setSelectionRange(...ot.detail.selRange)},charLimit:ot=>{const{charLimit:tt}=ot.detail,{target:mt}=ot;if(0===tt)return void mt.removeAttribute("maxLength");mt.setAttribute("maxLength",tt);let Qe=Oe.userValue;!Qe||Qe.length<=tt||(Qe=Qe.slice(0,tt),mt.value=Oe.userValue=Qe,Y.setValue($,{value:Qe}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:$,name:"Keystroke",value:Qe,willCommit:!0,commitKey:1,selStart:mt.selectionStart,selEnd:mt.selectionEnd}}))}},Pe)}),le.addEventListener("keydown",Pe=>{let Ze=-1;if("Escape"===Pe.key?Ze=0:"Enter"===Pe.key?Ze=2:"Tab"===Pe.key&&(Ze=3),-1===Ze)return;const{value:ot}=Pe.target;Oe.valueOnFocus!==ot&&(Oe.userValue=ot,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:$,name:"Keystroke",value:ot,willCommit:!0,commitKey:Ze,selStart:Pe.target.selectionStart,selEnd:Pe.target.selectionEnd}}))});const _e=ve;ve=null,le.addEventListener("blur",Pe=>{const{value:Ze}=Pe.target;Oe.userValue=Ze,this._mouseState.isDown&&Oe.valueOnFocus!==Ze&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:$,name:"Keystroke",value:Ze,willCommit:!0,commitKey:1,selStart:Pe.target.selectionStart,selEnd:Pe.target.selectionEnd}}),_e(Pe)}),this.data.actions?.Keystroke&&le.addEventListener("beforeinput",Pe=>{const{data:Ze,target:ot}=Pe,{value:tt,selectionStart:mt,selectionEnd:Qe}=ot;let Ct=mt,Xe=Qe;switch(Pe.inputType){case"deleteWordBackward":{const nt=tt.substring(0,mt).match(/\w*[^\w]*$/);nt&&(Ct-=nt[0].length);break}case"deleteWordForward":{const nt=tt.substring(mt).match(/^[^\w]*\w*/);nt&&(Xe+=nt[0].length);break}case"deleteContentBackward":mt===Qe&&(Ct-=1);break;case"deleteContentForward":mt===Qe&&(Xe+=1)}Pe.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:$,name:"Keystroke",value:tt,change:Ze||"",willCommit:!1,selStart:Ct,selEnd:Xe}})}),this._setEventListeners(le,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Pe=>Pe.target.value)}if(ve&&le.addEventListener("blur",ve),this.data.comb){const Pe=(this.data.rect[2]-this.data.rect[0])/ye;le.classList.add("comb"),le.style.letterSpacing=`calc(${Pe}px * var(--scale-factor) - 1ch)`}}else le=document.createElement("div"),le.textContent=this.data.fieldValue,le.style.verticalAlign="middle",le.style.display="table-cell";return this._setTextStyle(le),this._setBackgroundColor(le),this._setDefaultPropertiesFromJS(le),this.container.append(le),this.container}}class y extends _{constructor(Y){super(Y,{isRenderable:Y.renderForms})}render(){const Y=this.annotationStorage,$=this.data,le=$.id;let ee=Y.getValue(le,{value:$.exportValue===$.fieldValue}).value;"string"==typeof ee&&(ee="Off"!==ee,Y.setValue(le,{value:ee})),this.container.className="buttonWidgetAnnotation checkBox";const we=document.createElement("input");return c.add(we),we.setAttribute("data-element-id",le),we.disabled=$.readOnly,this._setRequired(we,this.data.required),we.type="checkbox",we.name=$.fieldName,ee&&we.setAttribute("checked",!0),we.setAttribute("exportValue",$.exportValue),we.tabIndex=e,we.addEventListener("change",ye=>{const{name:Oe,checked:ve}=ye.target;for(const _e of this._getElementsByName(Oe,le)){const Pe=ve&&_e.exportValue===$.exportValue;_e.domElement&&(_e.domElement.checked=Pe),Y.setValue(_e.id,{value:Pe})}Y.setValue(le,{value:ve})}),we.addEventListener("resetform",ye=>{ye.target.checked=($.defaultFieldValue||"Off")===$.exportValue}),this.enableScripting&&this.hasJSActions&&(we.addEventListener("updatefromsandbox",ye=>{this._dispatchEventFromSandbox({value(ve){ve.target.checked="Off"!==ve.detail.value,Y.setValue(le,{value:ve.target.checked})}},ye)}),this._setEventListeners(we,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],ye=>ye.target.checked)),this._setBackgroundColor(we),this._setDefaultPropertiesFromJS(we),this.container.append(we),this.container}}class b extends _{constructor(Y){super(Y,{isRenderable:Y.renderForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const Y=this.annotationStorage,$=this.data,le=$.id;let ee=Y.getValue(le,{value:$.fieldValue===$.buttonValue}).value;"string"==typeof ee&&(ee=ee!==$.buttonValue,Y.setValue(le,{value:ee}));const we=document.createElement("input");if(c.add(we),we.setAttribute("data-element-id",le),we.disabled=$.readOnly,this._setRequired(we,this.data.required),we.type="radio",we.name=$.fieldName,ee&&we.setAttribute("checked",!0),we.tabIndex=e,we.addEventListener("change",ye=>{const{name:Oe,checked:ve}=ye.target;for(const _e of this._getElementsByName(Oe,le))Y.setValue(_e.id,{value:!1});Y.setValue(le,{value:ve})}),we.addEventListener("resetform",ye=>{const Oe=$.defaultFieldValue;ye.target.checked=null!=Oe&&Oe===$.buttonValue}),this.enableScripting&&this.hasJSActions){const ye=$.buttonValue;we.addEventListener("updatefromsandbox",Oe=>{this._dispatchEventFromSandbox({value:_e=>{const Pe=ye===_e.detail.value;for(const Ze of this._getElementsByName(_e.target.name)){const ot=Pe&&Ze.id===le;Ze.domElement&&(Ze.domElement.checked=ot),Y.setValue(Ze.id,{value:ot})}}},Oe)}),this._setEventListeners(we,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Oe=>Oe.target.checked)}return this._setBackgroundColor(we),this._setDefaultPropertiesFromJS(we),this.container.append(we),this.container}}class E extends S{constructor(Y){super(Y,{ignoreBorder:Y.data.hasAppearance})}render(){const Y=super.render();Y.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(Y.title=this.data.alternativeText);const $=Y.lastChild;return this.enableScripting&&this.hasJSActions&&$&&(this._setDefaultPropertiesFromJS($),$.addEventListener("updatefromsandbox",le=>{this._dispatchEventFromSandbox({},le)})),Y}}class M extends _{constructor(Y){super(Y,{isRenderable:Y.renderForms})}render(){this.container.className="choiceWidgetAnnotation";const Y=this.annotationStorage,$=this.data.id,le=Y.getValue($,{value:this.data.fieldValue}),ee=document.createElement("select");c.add(ee),ee.setAttribute("data-element-id",$),ee.disabled=this.data.readOnly,this._setRequired(ee,this.data.required),ee.name=this.data.fieldName,ee.tabIndex=e;let we=this.data.combo&&this.data.options.length>0;this.data.combo||(ee.size=this.data.options.length,this.data.multiSelect&&(ee.multiple=!0)),ee.addEventListener("resetform",_e=>{const Pe=this.data.defaultFieldValue;for(const Ze of ee.options)Ze.selected=Ze.value===Pe});for(const _e of this.data.options){const Pe=document.createElement("option");Pe.textContent=_e.displayValue,Pe.value=_e.exportValue,le.value.includes(_e.exportValue)&&(Pe.setAttribute("selected",!0),we=!1),ee.append(Pe)}let ye=null;if(we){const _e=document.createElement("option");_e.value=" ",_e.setAttribute("hidden",!0),_e.setAttribute("selected",!0),ee.prepend(_e),ye=()=>{_e.remove(),ee.removeEventListener("input",ye),ye=null},ee.addEventListener("input",ye)}const Oe=(_e,Pe)=>{const Ze=Pe?"value":"textContent",ot=_e.target.options;return _e.target.multiple?Array.prototype.filter.call(ot,tt=>tt.selected).map(tt=>tt[Ze]):-1===ot.selectedIndex?null:ot[ot.selectedIndex][Ze]},ve=_e=>Array.prototype.map.call(_e.target.options,Ze=>({displayValue:Ze.textContent,exportValue:Ze.value}));return this.enableScripting&&this.hasJSActions?(ee.addEventListener("updatefromsandbox",_e=>{this._dispatchEventFromSandbox({value(Ze){ye?.();const ot=Ze.detail.value,tt=new Set(Array.isArray(ot)?ot:[ot]);for(const mt of ee.options)mt.selected=tt.has(mt.value);Y.setValue($,{value:Oe(Ze,!0)})},multipleSelection(Ze){ee.multiple=!0},remove(Ze){const ot=ee.options,tt=Ze.detail.remove;ot[tt].selected=!1,ee.remove(tt),ot.length>0&&-1===Array.prototype.findIndex.call(ot,Qe=>Qe.selected)&&(ot[0].selected=!0),Y.setValue($,{value:Oe(Ze,!0),items:ve(Ze)})},clear(Ze){for(;0!==ee.length;)ee.remove(0);Y.setValue($,{value:null,items:[]})},insert(Ze){const{index:ot,displayValue:tt,exportValue:mt}=Ze.detail.insert,Qe=ee.children[ot],Ct=document.createElement("option");Ct.textContent=tt,Ct.value=mt,Qe?Qe.before(Ct):ee.append(Ct),Y.setValue($,{value:Oe(Ze,!0),items:ve(Ze)})},items(Ze){const{items:ot}=Ze.detail;for(;0!==ee.length;)ee.remove(0);for(const tt of ot){const{displayValue:mt,exportValue:Qe}=tt,Ct=document.createElement("option");Ct.textContent=mt,Ct.value=Qe,ee.append(Ct)}ee.options.length>0&&(ee.options[0].selected=!0),Y.setValue($,{value:Oe(Ze,!0),items:ve(Ze)})},indices(Ze){const ot=new Set(Ze.detail.indices);for(const tt of Ze.target.options)tt.selected=ot.has(tt.index);Y.setValue($,{value:Oe(Ze,!0)})},editable(Ze){Ze.target.disabled=!Ze.detail.editable}},_e)}),ee.addEventListener("input",_e=>{const Pe=Oe(_e,!0),Ze=Oe(_e,!1);Y.setValue($,{value:Pe}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:$,name:"Keystroke",value:Ze,changeEx:Pe,willCommit:!0,commitKey:1,keyDown:!1}})}),this._setEventListeners(ee,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],_e=>_e.target.checked)):ee.addEventListener("input",function(_e){Y.setValue($,{value:Oe(_e,!0)})}),this.data.combo&&this._setTextStyle(ee),this._setBackgroundColor(ee),this._setDefaultPropertiesFromJS(ee),this.container.append(ee),this.container}}class A extends p{constructor(Y){super(Y,{isRenderable:!!(Y.data.titleObj?.str||Y.data.contentsObj?.str||Y.data.richText?.str)})}render(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;const le=this.layer.querySelectorAll(`[data-annotation-id="${this.data.parentId}"]`);if(0===le.length)return this.container;const ee=new I({container:this.container,trigger:Array.from(le),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),we=this.page,ye=n.Util.normalizeRect([this.data.parentRect[0],we.view[3]-this.data.parentRect[1]+we.view[1],this.data.parentRect[2],we.view[3]-this.data.parentRect[3]+we.view[1]]),Oe=ye[0]+this.data.parentRect[2]-this.data.parentRect[0],ve=ye[1],[_e,Pe,Ze,ot]=this.viewport.viewBox,mt=ot-Pe;return this.container.style.left=100*(Oe-_e)/(Ze-_e)+"%",this.container.style.top=100*(ve-Pe)/mt+"%",this.container.append(ee.render()),this.container}}class I{constructor(Y){this.container=Y.container,this.trigger=Y.trigger,this.color=Y.color,this.titleObj=Y.titleObj,this.modificationDate=Y.modificationDate,this.contentsObj=Y.contentsObj,this.richText=Y.richText,this.hideWrapper=Y.hideWrapper||!1,this.pinned=!1}render(){const $=document.createElement("div");$.className="popupWrapper",this.hideElement=this.hideWrapper?$:this.container,this.hideElement.hidden=!0;const le=document.createElement("div");le.className="popup";const ee=this.color;ee&&(le.style.backgroundColor=n.Util.makeHexColor(0|.7*(255-ee[0])+ee[0],0|.7*(255-ee[1])+ee[1],0|.7*(255-ee[2])+ee[2]));const we=document.createElement("h1");we.dir=this.titleObj.dir,we.textContent=this.titleObj.str,le.append(we);const ye=i.PDFDateString.toDateObject(this.modificationDate);if(ye){const Oe=document.createElement("span");Oe.className="popupDate",Oe.textContent="{{date}}, {{time}}",Oe.dataset.l10nId="annotation_date_string",Oe.dataset.l10nArgs=JSON.stringify({date:ye.toLocaleDateString(),time:ye.toLocaleTimeString()}),le.append(Oe)}if(!this.richText?.str||this.contentsObj?.str&&this.contentsObj.str!==this.richText.str){const Oe=this._formatContents(this.contentsObj);le.append(Oe)}else l.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:le}),le.lastChild.className="richText popupContent";Array.isArray(this.trigger)||(this.trigger=[this.trigger]);for(const Oe of this.trigger)Oe.addEventListener("click",this._toggle.bind(this)),Oe.addEventListener("mouseover",this._show.bind(this,!1)),Oe.addEventListener("mouseout",this._hide.bind(this,!1));return le.addEventListener("click",this._hide.bind(this,!0)),$.append(le),$}_formatContents({str:Y,dir:$}){const le=document.createElement("p");le.className="popupContent",le.dir=$;const ee=Y.split(/(?:\r\n?|\n)/);for(let we=0,ye=ee.length;we{function o(i){return Math.floor(255*Math.max(0,Math.min(1,i))).toString(16).padStart(2,"0")}Object.defineProperty(h,"__esModule",{value:!0}),h.ColorConverters=void 0,h.ColorConverters=class n{static CMYK_G([d,a,l,e]){return["G",1-Math.min(1,.3*d+.59*l+.11*a+e)]}static G_CMYK([d]){return["CMYK",0,0,0,1-d]}static G_RGB([d]){return["RGB",d,d,d]}static G_HTML([d]){const a=o(d);return`#${a}${a}${a}`}static RGB_G([d,a,l]){return["G",.3*d+.59*a+.11*l]}static RGB_HTML([d,a,l]){return`#${o(d)}${o(a)}${o(l)}`}static T_HTML(){return"#00000000"}static CMYK_RGB([d,a,l,e]){return["RGB",1-Math.min(1,d+e),1-Math.min(1,l+e),1-Math.min(1,a+e)]}static CMYK_HTML(d){const a=this.CMYK_RGB(d).slice(1);return this.RGB_HTML(a)}static RGB_CMYK([d,a,l]){const e=1-d,u=1-a,c=1-l;return["CMYK",e,u,c,Math.min(e,u,c)]}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.XfaLayer=void 0;var n=o(20);h.XfaLayer=class i{static setupStorage(a,l,e,u,c){const g=u.getValue(l,{value:null});switch(e.name){case"textarea":if(null!==g.value&&(a.textContent=g.value),"print"===c)break;a.addEventListener("input",v=>{u.setValue(l,{value:v.target.value})});break;case"input":if("radio"===e.attributes.type||"checkbox"===e.attributes.type){if(g.value===e.attributes.xfaOn?a.setAttribute("checked",!0):g.value===e.attributes.xfaOff&&a.removeAttribute("checked"),"print"===c)break;a.addEventListener("change",v=>{u.setValue(l,{value:v.target.getAttribute(v.target.checked?"xfaOn":"xfaOff")})})}else{if(null!==g.value&&a.setAttribute("value",g.value),"print"===c)break;a.addEventListener("input",v=>{u.setValue(l,{value:v.target.value})})}break;case"select":if(null!==g.value)for(const v of e.children)v.attributes.value===g.value&&(v.attributes.selected=!0);a.addEventListener("input",v=>{const p=v.target.options;u.setValue(l,{value:-1===p.selectedIndex?"":p[p.selectedIndex].value})})}}static setAttributes({html:a,element:l,storage:e=null,intent:u,linkService:c}){const{attributes:g}=l,v=a instanceof HTMLAnchorElement;"radio"===g.type&&(g.name=`${g.name}-${u}`);for(const[p,S]of Object.entries(g))if(null!=S)switch(p){case"class":S.length&&a.setAttribute(p,S.join(" "));break;case"dataId":break;case"id":a.setAttribute("data-element-id",S);break;case"style":Object.assign(a.style,S);break;case"textContent":a.textContent=S;break;default:(!v||"href"!==p&&"newWindow"!==p)&&a.setAttribute(p,S)}v&&c.addLinkAttributes(a,g.href,g.newWindow),e&&g.dataId&&this.setupStorage(a,g.dataId,l,e)}static render(a){const l=a.annotationStorage,e=a.linkService,u=a.xfaHtml,c=a.intent||"display",g=document.createElement(u.name);u.attributes&&this.setAttributes({html:g,element:u,intent:c,linkService:e});const v=[[u,-1,g]],p=a.div;if(p.append(g),a.viewport){const C=`matrix(${a.viewport.transform.join(",")})`;p.style.transform=C}"richText"!==c&&p.setAttribute("class","xfaLayer xfaFont");const S=[];for(;v.length>0;){const[C,_,f]=v.at(-1);if(_+1===C.children.length){v.pop();continue}const y=C.children[++v.at(-1)[1]];if(null===y)continue;const{name:b}=y;if("#text"===b){const M=document.createTextNode(y.value);S.push(M),f.append(M);continue}let E;if(E=y?.attributes?.xmlns?document.createElementNS(y.attributes.xmlns,b):document.createElement(b),f.append(E),y.attributes&&this.setAttributes({html:E,element:y,storage:l,intent:c,linkService:e}),y.children&&y.children.length>0)v.push([y,-1,E]);else if(y.value){const M=document.createTextNode(y.value);n.XfaText.shouldBuildText(b)&&S.push(M),E.append(M)}}for(const C of p.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))C.setAttribute("readOnly",!0);return{textDivs:S}}static update(a){const l=`matrix(${a.viewport.transform.join(",")})`;a.div.style.transform=l,a.div.hidden=!1}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.TextLayerRenderTask=void 0,h.renderTextLayer=function y(b){const E=new f({textContent:b.textContent,textContentStream:b.textContentStream,container:b.container,viewport:b.viewport,textDivs:b.textDivs,textContentItemsStr:b.textContentItemsStr,enhanceTextSelection:b.enhanceTextSelection});return E._render(b.timeout),E};var n=o(1),i=o(8);const a=30,e=new Map,u=/^\s+$/g;function g(b,E,M,A){const I=document.createElement("span"),F=b._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:""!==E.str,hasEOL:E.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1,fontSize:0}:{angle:0,canvasWidth:0,hasText:""!==E.str,hasEOL:E.hasEOL,fontSize:0};b._textDivs.push(I);const j=n.Util.transform(b._viewport.transform,E.transform);let T=Math.atan2(j[1],j[0]);const P=M[E.fontName];P.vertical&&(T+=Math.PI/2);const x=Math.hypot(j[2],j[3]),N=x*function c(b,E){const M=e.get(b);if(M)return M;E.save(),E.font=`30px ${b}`;const A=E.measureText("");let I=A.fontBoundingBoxAscent,F=Math.abs(A.fontBoundingBoxDescent);if(I){E.restore();const T=I/(I+F);return e.set(b,T),T}E.strokeStyle="red",E.clearRect(0,0,a,a),E.strokeText("g",0,0);let j=E.getImageData(0,0,a,a).data;F=0;for(let T=j.length-1-3;T>=0;T-=4)if(j[T]>0){F=Math.ceil(T/4/a);break}E.clearRect(0,0,a,a),E.strokeText("A",0,a),j=E.getImageData(0,0,a,a).data,I=0;for(let T=0,P=j.length;T0){I=a-Math.floor(T/4/a);break}if(E.restore(),I){const T=I/(I+F);return e.set(b,T),T}return e.set(b,.8),.8}(P.fontFamily,A);let O,H;0===T?(O=j[4],H=j[5]-N):(O=j[4]+N*Math.sin(T),H=j[5]-N*Math.cos(T)),I.style.left=`${O}px`,I.style.top=`${H}px`,I.style.fontSize=`${x}px`,I.style.fontFamily=P.fontFamily,F.fontSize=x,I.setAttribute("role","presentation"),I.textContent=E.str,I.dir=E.dir,b._fontInspectorEnabled&&(I.dataset.fontName=E.fontName),0!==T&&(F.angle=T*(180/Math.PI));let G=!1;if(E.str.length>1||b._enhanceTextSelection&&u.test(E.str))G=!0;else if(" "!==E.str&&E.transform[0]!==E.transform[3]){const te=Math.abs(E.transform[0]),ue=Math.abs(E.transform[3]);te!==ue&&Math.max(te,ue)/Math.min(te,ue)>1.5&&(G=!0)}if(G&&(F.canvasWidth=P.vertical?E.height*b._viewport.scale:E.width*b._viewport.scale),b._textDivProperties.set(I,F),b._textContentStream&&b._layoutText(I),b._enhanceTextSelection&&F.hasText){let te=1,ue=0;0!==T&&(te=Math.cos(T),ue=Math.sin(T));const se=(P.vertical?E.height:E.width)*b._viewport.scale,K=x;let Z,re;0!==T?(Z=[te,ue,-ue,te,O,H],re=n.Util.getAxialAlignedBoundingBox([0,0,se,K],Z)):re=[O,H,O+se,H+K],b._bounds.push({left:re[0],top:re[1],right:re[2],bottom:re[3],div:I,size:[se,K],m:Z})}}function v(b){if(b._canceled)return;const E=b._textDivs,M=b._capability,A=E.length;if(A>1e5)return b._renderingDone=!0,void M.resolve();if(!b._textContentStream)for(let I=0;I0&&(A=A?Math.min(F,A):F)}return A}function _(b,E){E.sort(function(I,F){return I.x1-F.x1||I.index-F.index});const A=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];for(const I of E){let F=0;for(;F=0&&A[j].start>=I.y2;)j--;let T,P,x,N,O=-1/0;for(x=F;x<=j;x++){let te;T=A[x],P=T.boundary,te=P.x2>I.x1?P.index>I.index?P.x1New:I.x1:void 0===P.x2New?(P.x2+I.x1)/2:P.x2New,te>O&&(O=te)}for(I.x1New=O,x=F;x<=j;x++)T=A[x],P=T.boundary,void 0===P.x2New?P.x2>I.x1?P.index>I.index&&(P.x2New=P.x2):P.x2New=O:P.x2New>O&&(P.x2New=Math.max(O,P.x2));const H=[];let G=null;for(x=F;x<=j;x++){T=A[x],P=T.boundary;const te=P.x2>I.x2?P:I;G===te?H.at(-1).end=T.end:(H.push({start:T.start,end:T.end,boundary:te}),G=te)}for(A[F].start=0&&A[N].start>=P.y1;N--)te=A[N].boundary===P;for(N=j+1;!te&&N{this._enhanceTextSelection||(this._textDivProperties=null),this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)}).catch(()=>{})}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new n.AbortException("TextLayer task cancelled.")).catch(()=>{}),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}_processItems(E,M){for(let A=0,I=E.length;A0){const T=this._devicePixelRatio*M.canvasWidth/j;this._enhanceTextSelection&&(M.scale=T),A=`scaleX(${T})`}}if(0!==M.angle&&(A=`rotate(${M.angle}deg) ${A}`),A.length>0&&(this._enhanceTextSelection&&(M.originalTransform=A),E.style.transform=A),M.hasText&&this._container.append(E),M.hasEOL){const I=document.createElement("br");I.setAttribute("role","presentation"),this._container.append(I)}}_render(E=0){const M=(0,n.createPromiseCapability)();let A=Object.create(null);const I=this._document.createElement("canvas");if(I.height=I.width=a,this._layoutTextCtx=I.getContext("2d",{alpha:!1}),this._textContent)this._processItems(this._textContent.items,this._textContent.styles),M.resolve();else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');{const F=()=>{this._reader.read().then(({value:j,done:T})=>{T?M.resolve():(Object.assign(A,j.styles),this._processItems(j.items,A),F())},M.reject)};this._reader=this._textContentStream.getReader(),F()}}M.promise.then(()=>{A=null,E?this._renderTimer=setTimeout(()=>{v(this),this._renderTimer=null},E):v(this)},this._capability.reject)}expandTextDivs(E=!1){if(!this._enhanceTextSelection||!this._renderingDone)return;null!==this._bounds&&(function S(b){const E=b._bounds,M=b._viewport,A=function C(b,E,M){const A=M.map(function(F,j){return{x1:F.left,y1:F.top,x2:F.right,y2:F.bottom,index:j,x1New:void 0,x2New:void 0}});_(b,A);const I=new Array(M.length);for(const F of A)I[F.index]={left:F.x1New,top:0,right:F.x2New,bottom:0};M.map(function(F,j){const T=I[j],P=A[j];P.x1=F.top,P.y1=b-T.right,P.x2=F.bottom,P.y2=b-T.left,P.index=j,P.x1New=void 0,P.x2New=void 0}),_(E,A);for(const F of A){const j=F.index;I[j].top=F.x1New,I[j].bottom=F.x2New}return I}(M.width,M.height,E);for(let I=0;I0?(A.push(`${T.paddingTop}px`),M.push(`translateY(${-T.paddingTop}px)`)):A.push(0),A.push(T.paddingRight>0?T.paddingRight/T.scale+"px":0),A.push(T.paddingBottom>0?`${T.paddingBottom}px`:0),T.paddingLeft>0?(A.push(T.paddingLeft/T.scale+"px"),M.push(`translateX(${-T.paddingLeft/T.scale}px)`)):A.push(0),j.style.padding=A.join(" "),M.length&&(j.style.transform=M.join(" "))):(j.style.padding=null,j.style.transform=T.originalTransform))}}}h.TextLayerRenderTask=f},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.SVGGraphics=void 0;var n=o(8),i=o(1),d=o(3);let a=class{constructor(){(0,i.unreachable)("Not implemented: SVGGraphics")}};h.SVGGraphics=a;{let C=function(M){let A=[];const I=[];for(const F of M)"save"!==F.fn?"restore"===F.fn?A=I.pop():A.push(F):(A.push({fnId:92,fn:"group",items:[]}),I.push(A),A=A.at(-1).items);return A},_=function(M){if(Number.isInteger(M))return M.toString();const A=M.toFixed(10);let I=A.length-1;if("0"!==A[I])return A;do{I--}while("0"===A[I]);return A.substring(0,"."===A[I]?I:I+1)},f=function(M){if(0===M[4]&&0===M[5]){if(0===M[1]&&0===M[2])return 1===M[0]&&1===M[3]?"":`scale(${_(M[0])} ${_(M[3])})`;if(M[0]===M[3]&&M[1]===-M[2]){const A=180*Math.acos(M[0])/Math.PI;return`rotate(${_(A)})`}}else if(1===M[0]&&0===M[1]&&0===M[2]&&1===M[3])return`translate(${_(M[4])} ${_(M[5])})`;return`matrix(${_(M[0])} ${_(M[1])} ${_(M[2])} ${_(M[3])} ${_(M[4])} ${_(M[5])})`};const l={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},e="http://www.w3.org/XML/1998/namespace",u="http://www.w3.org/1999/xlink",c=["butt","round","square"],g=["miter","round","bevel"],v=function(M,A="",I=!1){if(URL.createObjectURL&&typeof Blob<"u"&&!I)return URL.createObjectURL(new Blob([M],{type:A}));const F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let j=`data:${A};base64,`;for(let T=0,P=M.length;T>2]+F[(3&x)<<4|N>>4]+F[T+1>6:64]+F[T+2>1&2147483647:H>>1&2147483647;I[O]=H}function j(O,H,G,te){let ue=te;const se=H.length;G[ue]=se>>24&255,G[ue+1]=se>>16&255,G[ue+2]=se>>8&255,G[ue+3]=255&se,ue+=4,G[ue]=255&O.charCodeAt(0),G[ue+1]=255&O.charCodeAt(1),G[ue+2]=255&O.charCodeAt(2),G[ue+3]=255&O.charCodeAt(3),ue+=4,G.set(H,ue),ue+=H.length;const K=function F(O,H,G){let te=-1;for(let ue=H;ue>>8^I[255&(te^O[ue])];return-1^te}(G,te+4,ue);G[ue]=K>>24&255,G[ue+1]=K>>16&255,G[ue+2]=K>>8&255,G[ue+3]=255&K}function x(O){let H=O.length;const G=65535,te=Math.ceil(H/G),ue=new Uint8Array(2+H+5*te+4);let se=0;ue[se++]=120,ue[se++]=156;let K=0;for(;H>G;)ue[se++]=0,ue[se++]=255,ue[se++]=255,ue[se++]=0,ue[se++]=0,ue.set(O.subarray(K,K+G),se),se+=G,K+=G,H-=G;ue[se++]=1,ue[se++]=255&H,ue[se++]=H>>8&255,ue[se++]=255&~H,ue[se++]=(65535&~H)>>8&255,ue.set(O.subarray(K),se),se+=O.length-K;const Z=function T(O,H,G){let te=1,ue=0;for(let se=H;se>24&255,ue[se++]=Z>>16&255,ue[se++]=Z>>8&255,ue[se++]=255&Z,ue}return function(H,G,te){return function N(O,H,G,te){const ue=O.width,se=O.height;let K,Z,re;const J=O.data;switch(H){case i.ImageKind.GRAYSCALE_1BPP:Z=0,K=1,re=ue+7>>3;break;case i.ImageKind.RGB_24BPP:Z=2,K=8,re=3*ue;break;case i.ImageKind.RGBA_32BPP:Z=6,K=8,re=4*ue;break;default:throw new Error("invalid format")}const Y=new Uint8Array((1+re)*se);let $=0,le=0;for(let _e=0;_e>24&255,ue>>16&255,ue>>8&255,255&ue,se>>24&255,se>>16&255,se>>8&255,255&se,K,Z,0,0,0]),we=function P(O){if(!d.isNodeJS)return x(O);try{let H;H=parseInt(process.versions.node)>=8?O:Buffer.from(O);const G=__webpack_require__(8160).deflateSync(H,{level:9});return G instanceof Uint8Array?G:new Uint8Array(G)}catch(H){(0,i.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+H)}return x(O)}(Y),Oe=new Uint8Array(M.length+36+ee.length+we.length);let ve=0;return Oe.set(M,ve),ve+=M.length,j("IHDR",ee,Oe,ve),ve+=12+ee.length,j("IDATA",we,Oe,ve),ve+=12+we.length,j("IEND",new Uint8Array(0),Oe,ve),v(Oe,"image/png",G)}(H,void 0===H.kind?i.ImageKind.GRAYSCALE_1BPP:H.kind,G,te)}}();class S{constructor(){this.fontSizeScale=1,this.fontWeight=l.fontWeight,this.fontSize=0,this.textMatrix=i.IDENTITY_MATRIX,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=i.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=l.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(A,I){this.x=A,this.y=I}}let y=0,b=0,E=0;h.SVGGraphics=a=class{constructor(M,A,I=!1){(0,n.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."),this.svgFactory=new n.DOMSVGFactory,this.current=new S,this.transformMatrix=i.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=M,this.objs=A,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!I,this._operatorIdMapping=[];for(const F in i.OPS)this._operatorIdMapping[i.OPS[F]]=F}save(){this.transformStack.push(this.transformMatrix);const M=this.current;this.extraStack.push(M),this.current=M.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(M){this.save(),this.executeOpTree(M),this.restore()}loadDependencies(M){const A=M.fnArray,I=M.argsArray;for(let F=0,j=A.length;F{P.get(T,N)});this.current.dependencies.push(x)}return Promise.all(this.current.dependencies)}transform(M,A,I,F,j,T){this.transformMatrix=i.Util.transform(this.transformMatrix,[M,A,I,F,j,T]),this.tgrp=null}getSVG(M,A){this.viewport=A;const I=this._initialize(A);return this.loadDependencies(M).then(()=>(this.transformMatrix=i.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(M)),I))}convertOpList(M){const A=this._operatorIdMapping,I=M.argsArray,F=M.fnArray,j=[];for(let T=0,P=F.length;T0&&(this.current.lineWidth=M)}setLineCap(M){this.current.lineCap=c[M]}setLineJoin(M){this.current.lineJoin=g[M]}setMiterLimit(M){this.current.miterLimit=M}setStrokeAlpha(M){this.current.strokeAlpha=M}setStrokeRGBColor(M,A,I){this.current.strokeColor=i.Util.makeHexColor(M,A,I)}setFillAlpha(M){this.current.fillAlpha=M}setFillRGBColor(M,A,I){this.current.fillColor=i.Util.makeHexColor(M,A,I),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(M){this.current.strokeColor=this._makeColorN_Pattern(M)}setFillColorN(M){this.current.fillColor=this._makeColorN_Pattern(M)}shadingFill(M){const A=this.viewport.width,I=this.viewport.height,F=i.Util.inverseTransform(this.transformMatrix),j=i.Util.applyTransform([0,0],F),T=i.Util.applyTransform([0,I],F),P=i.Util.applyTransform([A,0],F),x=i.Util.applyTransform([A,I],F),N=Math.min(j[0],T[0],P[0],x[0]),O=Math.min(j[1],T[1],P[1],x[1]),H=Math.max(j[0],T[0],P[0],x[0]),G=Math.max(j[1],T[1],P[1],x[1]),te=this.svgFactory.createElement("svg:rect");te.setAttributeNS(null,"x",N),te.setAttributeNS(null,"y",O),te.setAttributeNS(null,"width",H-N),te.setAttributeNS(null,"height",G-O),te.setAttributeNS(null,"fill",this._makeShadingPattern(M)),this.current.fillAlpha<1&&te.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(te)}_makeColorN_Pattern(M){return"TilingPattern"===M[0]?this._makeTilingPattern(M):this._makeShadingPattern(M)}_makeTilingPattern(M){const A=M[1],I=M[2],F=M[3]||i.IDENTITY_MATRIX,[j,T,P,x]=M[4],N=M[5],O=M[6],H=M[7],G="shading"+E++,[te,ue,se,K]=i.Util.normalizeRect([...i.Util.applyTransform([j,T],F),...i.Util.applyTransform([P,x],F)]),[Z,re]=i.Util.singularValueDecompose2dScale(F),J=N*Z,Y=O*re,$=this.svgFactory.createElement("svg:pattern");$.setAttributeNS(null,"id",G),$.setAttributeNS(null,"patternUnits","userSpaceOnUse"),$.setAttributeNS(null,"width",J),$.setAttributeNS(null,"height",Y),$.setAttributeNS(null,"x",`${te}`),$.setAttributeNS(null,"y",`${ue}`);const le=this.svg,ee=this.transformMatrix,we=this.current.fillColor,ye=this.current.strokeColor,Oe=this.svgFactory.create(se-te,K-ue);if(this.svg=Oe,this.transformMatrix=F,2===H){const ve=i.Util.makeHexColor(...A);this.current.fillColor=ve,this.current.strokeColor=ve}return this.executeOpTree(this.convertOpList(I)),this.svg=le,this.transformMatrix=ee,this.current.fillColor=we,this.current.strokeColor=ye,$.append(Oe.childNodes[0]),this.defs.append($),`url(#${G})`}_makeShadingPattern(M){switch("string"==typeof M&&(M=this.objs.get(M)),M[0]){case"RadialAxial":const A="shading"+E++,I=M[3];let F;switch(M[1]){case"axial":const j=M[4],T=M[5];F=this.svgFactory.createElement("svg:linearGradient"),F.setAttributeNS(null,"id",A),F.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),F.setAttributeNS(null,"x1",j[0]),F.setAttributeNS(null,"y1",j[1]),F.setAttributeNS(null,"x2",T[0]),F.setAttributeNS(null,"y2",T[1]);break;case"radial":const P=M[4],x=M[5],N=M[6],O=M[7];F=this.svgFactory.createElement("svg:radialGradient"),F.setAttributeNS(null,"id",A),F.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),F.setAttributeNS(null,"cx",x[0]),F.setAttributeNS(null,"cy",x[1]),F.setAttributeNS(null,"r",O),F.setAttributeNS(null,"fx",P[0]),F.setAttributeNS(null,"fy",P[1]),F.setAttributeNS(null,"fr",N);break;default:throw new Error(`Unknown RadialAxial type: ${M[1]}`)}for(const j of I){const T=this.svgFactory.createElement("svg:stop");T.setAttributeNS(null,"offset",j[0]),T.setAttributeNS(null,"stop-color",j[1]),F.append(T)}return this.defs.append(F),`url(#${A})`;case"Mesh":return(0,i.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error(`Unknown IR type: ${M[0]}`)}}setDash(M,A){this.current.dashArray=M,this.current.dashPhase=A}constructPath(M,A){const I=this.current;let F=I.x,j=I.y,T=[],P=0;for(const x of M)switch(0|x){case i.OPS.rectangle:F=A[P++],j=A[P++];const H=F+A[P++],G=j+A[P++];T.push("M",_(F),_(j),"L",_(H),_(j),"L",_(H),_(G),"L",_(F),_(G),"Z");break;case i.OPS.moveTo:F=A[P++],j=A[P++],T.push("M",_(F),_(j));break;case i.OPS.lineTo:F=A[P++],j=A[P++],T.push("L",_(F),_(j));break;case i.OPS.curveTo:F=A[P+4],j=A[P+5],T.push("C",_(A[P]),_(A[P+1]),_(A[P+2]),_(A[P+3]),_(F),_(j)),P+=6;break;case i.OPS.curveTo2:T.push("C",_(F),_(j),_(A[P]),_(A[P+1]),_(A[P+2]),_(A[P+3])),F=A[P+2],j=A[P+3],P+=4;break;case i.OPS.curveTo3:F=A[P+2],j=A[P+3],T.push("C",_(A[P]),_(A[P+1]),_(F),_(j),_(F),_(j)),P+=4;break;case i.OPS.closePath:T.push("Z")}T=T.join(" "),I.path&&M.length>0&&M[0]!==i.OPS.rectangle&&M[0]!==i.OPS.moveTo?T=I.path.getAttributeNS(null,"d")+T:(I.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().append(I.path)),I.path.setAttributeNS(null,"d",T),I.path.setAttributeNS(null,"fill","none"),I.element=I.path,I.setCurrentPoint(F,j)}endPath(){const M=this.current;if(M.path=null,!this.pendingClip)return;if(!M.element)return void(this.pendingClip=null);const A="clippath"+y++,I=this.svgFactory.createElement("svg:clipPath");I.setAttributeNS(null,"id",A),I.setAttributeNS(null,"transform",f(this.transformMatrix));const F=M.element.cloneNode(!0);if(F.setAttributeNS(null,"clip-rule","evenodd"===this.pendingClip?"evenodd":"nonzero"),this.pendingClip=null,I.append(F),this.defs.append(I),M.activeClipUrl){M.clipGroup=null;for(const j of this.extraStack)j.clipGroup=null;I.setAttributeNS(null,"clip-path",M.activeClipUrl)}M.activeClipUrl=`url(#${A})`,this.tgrp=null}clip(M){this.pendingClip=M}closePath(){const M=this.current;if(M.path){const A=`${M.path.getAttributeNS(null,"d")}Z`;M.path.setAttributeNS(null,"d",A)}}setLeading(M){this.current.leading=-M}setTextRise(M){this.current.textRise=M}setTextRenderingMode(M){this.current.textRenderingMode=M}setHScale(M){this.current.textHScale=M/100}setRenderingIntent(M){}setFlatness(M){}setGState(M){for(const[A,I]of M)switch(A){case"LW":this.setLineWidth(I);break;case"LC":this.setLineCap(I);break;case"LJ":this.setLineJoin(I);break;case"ML":this.setMiterLimit(I);break;case"D":this.setDash(I[0],I[1]);break;case"RI":this.setRenderingIntent(I);break;case"FL":this.setFlatness(I);break;case"Font":this.setFont(I);break;case"CA":this.setStrokeAlpha(I);break;case"ca":this.setFillAlpha(I);break;default:(0,i.warn)(`Unimplemented graphic state operator ${A}`)}}fill(){const M=this.current;M.element&&(M.element.setAttributeNS(null,"fill",M.fillColor),M.element.setAttributeNS(null,"fill-opacity",M.fillAlpha),this.endPath())}stroke(){const M=this.current;M.element&&(this._setStrokeAttributes(M.element),M.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(M,A=1){const I=this.current;let F=I.dashArray;1!==A&&F.length>0&&(F=F.map(function(j){return A*j})),M.setAttributeNS(null,"stroke",I.strokeColor),M.setAttributeNS(null,"stroke-opacity",I.strokeAlpha),M.setAttributeNS(null,"stroke-miterlimit",_(I.miterLimit)),M.setAttributeNS(null,"stroke-linecap",I.lineCap),M.setAttributeNS(null,"stroke-linejoin",I.lineJoin),M.setAttributeNS(null,"stroke-width",_(A*I.lineWidth)+"px"),M.setAttributeNS(null,"stroke-dasharray",F.map(_).join(" ")),M.setAttributeNS(null,"stroke-dashoffset",_(A*I.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const M=this.svgFactory.createElement("svg:rect");M.setAttributeNS(null,"x","0"),M.setAttributeNS(null,"y","0"),M.setAttributeNS(null,"width","1px"),M.setAttributeNS(null,"height","1px"),M.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().append(M)}paintImageXObject(M){const A=M.startsWith("g_")?this.commonObjs.get(M):this.objs.get(M);A?this.paintInlineImageXObject(A):(0,i.warn)(`Dependent image with object ID ${M} is not ready yet`)}paintInlineImageXObject(M,A){const I=M.width,F=M.height,j=p(M,this.forceDataSchema,!!A),T=this.svgFactory.createElement("svg:rect");T.setAttributeNS(null,"x","0"),T.setAttributeNS(null,"y","0"),T.setAttributeNS(null,"width",_(I)),T.setAttributeNS(null,"height",_(F)),this.current.element=T,this.clip("nonzero");const P=this.svgFactory.createElement("svg:image");P.setAttributeNS(u,"xlink:href",j),P.setAttributeNS(null,"x","0"),P.setAttributeNS(null,"y",_(-F)),P.setAttributeNS(null,"width",_(I)+"px"),P.setAttributeNS(null,"height",_(F)+"px"),P.setAttributeNS(null,"transform",`scale(${_(1/I)} ${_(-1/F)})`),A?A.append(P):this._ensureTransformGroup().append(P)}paintImageMaskXObject(M){const A=this.current,I=M.width,F=M.height,j=A.fillColor;A.maskId="mask"+b++;const T=this.svgFactory.createElement("svg:mask");T.setAttributeNS(null,"id",A.maskId);const P=this.svgFactory.createElement("svg:rect");P.setAttributeNS(null,"x","0"),P.setAttributeNS(null,"y","0"),P.setAttributeNS(null,"width",_(I)),P.setAttributeNS(null,"height",_(F)),P.setAttributeNS(null,"fill",j),P.setAttributeNS(null,"mask",`url(#${A.maskId})`),this.defs.append(T),this._ensureTransformGroup().append(P),this.paintInlineImageXObject(M,T)}paintFormXObjectBegin(M,A){if(Array.isArray(M)&&6===M.length&&this.transform(M[0],M[1],M[2],M[3],M[4],M[5]),A){const I=A[2]-A[0],F=A[3]-A[1],j=this.svgFactory.createElement("svg:rect");j.setAttributeNS(null,"x",A[0]),j.setAttributeNS(null,"y",A[1]),j.setAttributeNS(null,"width",_(I)),j.setAttributeNS(null,"height",_(F)),this.current.element=j,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(M){const A=this.svgFactory.create(M.width,M.height),I=this.svgFactory.createElement("svg:defs");A.append(I),this.defs=I;const F=this.svgFactory.createElement("svg:g");return F.setAttributeNS(null,"transform",f(M.transform)),A.append(F),this.svg=F,A}_ensureClipGroup(){if(!this.current.clipGroup){const M=this.svgFactory.createElement("svg:g");M.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.append(M),this.current.clipGroup=M}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",f(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().append(this.tgrp):this.svg.append(this.tgrp)),this.tgrp}}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFNodeStream=void 0;var n=o(1),i=o(33);const d=__webpack_require__(45344),a=__webpack_require__(10440),l=__webpack_require__(22224),e=__webpack_require__(65724),u=/^file:\/\/\/[a-zA-Z]:\//;h.PDFNodeStream=class g{constructor(E){this.source=E,this.url=function c(b){const E=e.parse(b);return"file:"===E.protocol||E.host?E:/^[a-z]:[/\\]/i.test(b)?e.parse(`file:///${b}`):(E.host||(E.protocol="file:"),E)}(E.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&E.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new f(this):new C(this),this._fullRequestReader}getRangeReader(E,M){if(M<=this._progressiveDataLength)return null;const A=this.isFsUrl?new y(this,E,M):new _(this,E,M);return this._rangeRequestReaders.push(A),A}cancelAllRequests(E){this._fullRequestReader&&this._fullRequestReader.cancel(E);for(const M of this._rangeRequestReaders.slice(0))M.cancel(E)}};class v{constructor(E){this._url=E.url,this._done=!1,this._storedError=null,this.onProgress=null;const M=E.source;this._contentLength=M.length,this._loaded=0,this._filename=null,this._disableRange=M.disableRange||!1,this._rangeChunkSize=M.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!M.disableStream,this._isRangeSupported=!M.disableRange,this._readableStream=null,this._readCapability=(0,n.createPromiseCapability)(),this._headersCapability=(0,n.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var E=this;return _asyncToGenerator(function*(){if(yield E._readCapability.promise,E._done)return{value:void 0,done:!0};if(E._storedError)throw E._storedError;const M=E._readableStream.read();return null===M?(E._readCapability=(0,n.createPromiseCapability)(),E.read()):(E._loaded+=M.length,E.onProgress&&E.onProgress({loaded:E._loaded,total:E._contentLength}),{value:new Uint8Array(M).buffer,done:!1})})()}cancel(E){this._readableStream?this._readableStream.destroy(E):this._error(E)}_error(E){this._storedError=E,this._readCapability.resolve()}_setReadableStream(E){this._readableStream=E,E.on("readable",()=>{this._readCapability.resolve()}),E.on("end",()=>{E.destroy(),this._done=!0,this._readCapability.resolve()}),E.on("error",M=>{this._error(M)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new n.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class p{constructor(E){this._url=E.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,n.createPromiseCapability)(),this._isStreamingSupported=!E.source.disableStream}get isStreamingSupported(){return this._isStreamingSupported}read(){var E=this;return _asyncToGenerator(function*(){if(yield E._readCapability.promise,E._done)return{value:void 0,done:!0};if(E._storedError)throw E._storedError;const M=E._readableStream.read();return null===M?(E._readCapability=(0,n.createPromiseCapability)(),E.read()):(E._loaded+=M.length,E.onProgress&&E.onProgress({loaded:E._loaded}),{value:new Uint8Array(M).buffer,done:!1})})()}cancel(E){this._readableStream?this._readableStream.destroy(E):this._error(E)}_error(E){this._storedError=E,this._readCapability.resolve()}_setReadableStream(E){this._readableStream=E,E.on("readable",()=>{this._readCapability.resolve()}),E.on("end",()=>{E.destroy(),this._done=!0,this._readCapability.resolve()}),E.on("error",M=>{this._error(M)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function S(b,E){return{protocol:b.protocol,auth:b.auth,host:b.hostname,port:b.port,path:b.path,method:"GET",headers:E}}class C extends v{constructor(E){super(E);const M=A=>{if(404===A.statusCode){const T=new n.MissingPDFException(`Missing PDF "${this._url}".`);return this._storedError=T,void this._headersCapability.reject(T)}this._headersCapability.resolve(),this._setReadableStream(A);const I=T=>this._readableStream.headers[T.toLowerCase()],{allowRangeRequests:F,suggestedLength:j}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:I,isHttp:E.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=F,this._contentLength=j||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(I)};this._request=null,this._request="http:"===this._url.protocol?a.request(S(this._url,E.httpHeaders),M):l.request(S(this._url,E.httpHeaders),M),this._request.on("error",A=>{this._storedError=A,this._headersCapability.reject(A)}),this._request.end()}}class _ extends p{constructor(E,M,A){super(E),this._httpHeaders={};for(const F in E.httpHeaders){const j=E.httpHeaders[F];typeof j>"u"||(this._httpHeaders[F]=j)}this._httpHeaders.Range=`bytes=${M}-${A-1}`;const I=F=>{if(404!==F.statusCode)this._setReadableStream(F);else{const j=new n.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=j}};this._request=null,this._request="http:"===this._url.protocol?a.request(S(this._url,this._httpHeaders),I):l.request(S(this._url,this._httpHeaders),I),this._request.on("error",F=>{this._storedError=F}),this._request.end()}}class f extends v{constructor(E){super(E);let M=decodeURIComponent(this._url.path);u.test(this._url.href)&&(M=M.replace(/^\//,"")),d.lstat(M,(A,I)=>{if(A)return"ENOENT"===A.code&&(A=new n.MissingPDFException(`Missing PDF "${M}".`)),this._storedError=A,void this._headersCapability.reject(A);this._contentLength=I.size,this._setReadableStream(d.createReadStream(M)),this._headersCapability.resolve()})}}class y extends p{constructor(E,M,A){super(E);let I=decodeURIComponent(this._url.path);u.test(this._url.href)&&(I=I.replace(/^\//,"")),this._setReadableStream(d.createReadStream(I,{start:M,end:A-1}))}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.createResponseStatusError=function e(c,g){return 404===c||0===c&&g.startsWith("file:")?new n.MissingPDFException('Missing PDF "'+g+'".'):new n.UnexpectedResponseException(`Unexpected server response (${c}) while retrieving PDF "${g}".`,c)},h.extractFilenameFromHeader=function l(c){const g=c("Content-Disposition");if(g){let v=(0,i.getFilenameFromContentDispositionHeader)(g);if(v.includes("%"))try{v=decodeURIComponent(v)}catch{}if((0,d.isPdfFile)(v))return v}return null},h.validateRangeRequestCapabilities=function a({getResponseHeader:c,isHttp:g,rangeChunkSize:v,disableRange:p}){const S={allowRangeRequests:!1,suggestedLength:void 0},C=parseInt(c("Content-Length"),10);return!Number.isInteger(C)||(S.suggestedLength=C,C<=2*v)||p||!g||"bytes"!==c("Accept-Ranges")||"identity"!==(c("Content-Encoding")||"identity")||(S.allowRangeRequests=!0),S},h.validateResponseStatus=function u(c){return 200===c||206===c};var n=o(1),i=o(34),d=o(8)},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.getFilenameFromContentDispositionHeader=function i(d){let a=!0,l=e("filename\\*","i").exec(d);if(l){l=l[1];let C=v(l);return C=unescape(C),C=p(C),C=S(C),c(C)}if(l=function g(C){const _=[];let f;const y=e("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(f=y.exec(C));){let[,E,M,A]=f;if(E=parseInt(E,10),E in _){if(0===E)break}else _[E]=[M,A]}const b=[];for(let E=0;E<_.length&&E in _;++E){let[M,A]=_[E];A=v(A),M&&(A=unescape(A),0===E&&(A=p(A))),b.push(A)}return b.join("")}(d),l)return c(S(l));if(l=e("filename","i").exec(d),l){l=l[1];let C=v(l);return C=S(C),c(C)}function e(C,_){return new RegExp("(?:^|;)\\s*"+C+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',_)}function u(C,_){if(C){if(!/^[\x00-\xFF]+$/.test(_))return _;try{const f=new TextDecoder(C,{fatal:!0}),y=(0,n.stringToBytes)(_);_=f.decode(y),a=!1}catch{}}return _}function c(C){return a&&/[\x80-\xff]/.test(C)&&(C=u("utf-8",C),a&&(C=u("iso-8859-1",C))),C}function v(C){if(C.startsWith('"')){const _=C.slice(1).split('\\"');for(let f=0;f<_.length;++f){const y=_[f].indexOf('"');-1!==y&&(_[f]=_[f].slice(0,y),_.length=f+1),_[f]=_[f].replace(/\\(.)/g,"$1")}C=_.join('"')}return C}function p(C){const _=C.indexOf("'");return-1===_?C:u(C.slice(0,_),C.slice(_+1).replace(/^[^']*'/,""))}function S(C){return!C.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(C)?C:C.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(_,f,y,b){if("q"===y||"Q"===y)return u(f,b=(b=b.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,function(E,M){return String.fromCharCode(parseInt(M,16))}));try{b=atob(b)}catch{}return u(f,b)})}return""};var n=o(1)},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFNetworkStream=void 0;var n=o(1),i=o(33);class e{constructor(p,S={}){this.url=p,this.isHttp=/^https?:/i.test(p),this.httpHeaders=this.isHttp&&S.httpHeaders||Object.create(null),this.withCredentials=S.withCredentials||!1,this.getXhr=S.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(p,S,C){const _={begin:p,end:S};for(const f in C)_[f]=C[f];return this.request(_)}requestFull(p){return this.request(p)}request(p){const S=this.getXhr(),C=this.currXhrId++,_=this.pendingRequests[C]={xhr:S};S.open("GET",this.url),S.withCredentials=this.withCredentials;for(const f in this.httpHeaders){const y=this.httpHeaders[f];typeof y>"u"||S.setRequestHeader(f,y)}return this.isHttp&&"begin"in p&&"end"in p?(S.setRequestHeader("Range",`bytes=${p.begin}-${p.end-1}`),_.expectedStatus=206):_.expectedStatus=200,S.responseType="arraybuffer",p.onError&&(S.onerror=function(f){p.onError(S.status)}),S.onreadystatechange=this.onStateChange.bind(this,C),S.onprogress=this.onProgress.bind(this,C),_.onHeadersReceived=p.onHeadersReceived,_.onDone=p.onDone,_.onError=p.onError,_.onProgress=p.onProgress,S.send(null),C}onProgress(p,S){const C=this.pendingRequests[p];C&&C.onProgress?.(S)}onStateChange(p,S){const C=this.pendingRequests[p];if(!C)return;const _=C.xhr;if(_.readyState>=2&&C.onHeadersReceived&&(C.onHeadersReceived(),delete C.onHeadersReceived),4!==_.readyState||!(p in this.pendingRequests))return;if(delete this.pendingRequests[p],0===_.status&&this.isHttp)return void C.onError?.(_.status);const f=_.status||200;if((200!==f||206!==C.expectedStatus)&&f!==C.expectedStatus)return void C.onError?.(_.status);const b=function l(v){const p=v.response;return"string"!=typeof p?p:(0,n.stringToBytes)(p).buffer}(_);if(206===f){const E=_.getResponseHeader("Content-Range"),M=/bytes (\d+)-(\d+)\/(\d+)/.exec(E);C.onDone({begin:parseInt(M[1],10),chunk:b})}else b?C.onDone({begin:0,chunk:b}):C.onError?.(_.status)}getRequestXhr(p){return this.pendingRequests[p].xhr}isPendingRequest(p){return p in this.pendingRequests}abortRequest(p){const S=this.pendingRequests[p].xhr;delete this.pendingRequests[p],S.abort()}}h.PDFNetworkStream=class u{constructor(p){this._source=p,this._manager=new e(p.url,{httpHeaders:p.httpHeaders,withCredentials:p.withCredentials}),this._rangeChunkSize=p.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(p){const S=this._rangeRequestReaders.indexOf(p);S>=0&&this._rangeRequestReaders.splice(S,1)}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new c(this._manager,this._source),this._fullRequestReader}getRangeReader(p,S){const C=new g(this._manager,p,S);return C.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(C),C}cancelAllRequests(p){this._fullRequestReader?.cancel(p);for(const S of this._rangeRequestReaders.slice(0))S.cancel(p)}};class c{constructor(p,S){this._manager=p;const C={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=S.url,this._fullRequestId=p.requestFull(C),this._headersReceivedCapability=(0,n.createPromiseCapability)(),this._disableRange=S.disableRange||!1,this._contentLength=S.length,this._rangeChunkSize=S.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const p=this._fullRequestId,S=this._manager.getRequestXhr(p),C=y=>S.getResponseHeader(y),{allowRangeRequests:_,suggestedLength:f}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:C,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});_&&(this._isRangeSupported=!0),this._contentLength=f||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(C),this._isRangeSupported&&this._manager.abortRequest(p),this._headersReceivedCapability.resolve()}_onDone(p){if(p&&(this._requests.length>0?this._requests.shift().resolve({value:p.chunk,done:!1}):this._cachedChunks.push(p.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const S of this._requests)S.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(p){this._storedError=(0,i.createResponseStatusError)(p,this._url),this._headersReceivedCapability.reject(this._storedError);for(const S of this._requests)S.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(p){this.onProgress?.({loaded:p.loaded,total:p.lengthComputable?p.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}read(){var p=this;return _asyncToGenerator(function*(){if(p._storedError)throw p._storedError;if(p._cachedChunks.length>0)return{value:p._cachedChunks.shift(),done:!1};if(p._done)return{value:void 0,done:!0};const S=(0,n.createPromiseCapability)();return p._requests.push(S),S.promise})()}cancel(p){this._done=!0,this._headersReceivedCapability.reject(p);for(const S of this._requests)S.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class g{constructor(p,S,C){this._manager=p;const _={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=p.url,this._requestId=p.requestRange(S,C,_),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(p){const S=p.chunk;this._requests.length>0?this._requests.shift().resolve({value:S,done:!1}):this._queuedChunk=S,this._done=!0;for(const C of this._requests)C.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(p){this._storedError=(0,i.createResponseStatusError)(p,this._url);for(const S of this._requests)S.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(p){this.isStreamingSupported||this.onProgress?.({loaded:p.loaded})}get isStreamingSupported(){return!1}read(){var p=this;return _asyncToGenerator(function*(){if(p._storedError)throw p._storedError;if(null!==p._queuedChunk){const C=p._queuedChunk;return p._queuedChunk=null,{value:C,done:!1}}if(p._done)return{value:void 0,done:!0};const S=(0,n.createPromiseCapability)();return p._requests.push(S),S.promise})()}cancel(p){this._done=!0;for(const S of this._requests)S.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFFetchStream=void 0;var n=o(1),i=o(33);function d(c,g,v){return{method:"GET",headers:c,signal:v.signal,mode:"cors",credentials:g?"include":"same-origin",redirect:"follow"}}function a(c){const g=new Headers;for(const v in c){const p=c[v];typeof p>"u"||g.append(v,p)}return g}h.PDFFetchStream=class l{constructor(g){this.source=g,this.isHttp=/^https?:/i.test(g.url),this.httpHeaders=this.isHttp&&g.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new e(this),this._fullRequestReader}getRangeReader(g,v){if(v<=this._progressiveDataLength)return null;const p=new u(this,g,v);return this._rangeRequestReaders.push(p),p}cancelAllRequests(g){this._fullRequestReader&&this._fullRequestReader.cancel(g);for(const v of this._rangeRequestReaders.slice(0))v.cancel(g)}};class e{constructor(g){this._stream=g,this._reader=null,this._loaded=0,this._filename=null;const v=g.source;this._withCredentials=v.withCredentials||!1,this._contentLength=v.length,this._headersCapability=(0,n.createPromiseCapability)(),this._disableRange=v.disableRange||!1,this._rangeChunkSize=v.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!v.disableStream,this._isRangeSupported=!v.disableRange,this._headers=a(this._stream.httpHeaders);const p=v.url;fetch(p,d(this._headers,this._withCredentials,this._abortController)).then(S=>{if(!(0,i.validateResponseStatus)(S.status))throw(0,i.createResponseStatusError)(S.status,p);this._reader=S.body.getReader(),this._headersCapability.resolve();const C=y=>S.headers.get(y),{allowRangeRequests:_,suggestedLength:f}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:C,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=_,this._contentLength=f||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(C),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new n.AbortException("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var g=this;return _asyncToGenerator(function*(){yield g._headersCapability.promise;const{value:v,done:p}=yield g._reader.read();return p?{value:v,done:p}:(g._loaded+=v.byteLength,g.onProgress&&g.onProgress({loaded:g._loaded,total:g._contentLength}),{value:new Uint8Array(v).buffer,done:!1})})()}cancel(g){this._reader&&this._reader.cancel(g),this._abortController.abort()}}class u{constructor(g,v,p){this._stream=g,this._reader=null,this._loaded=0;const S=g.source;this._withCredentials=S.withCredentials||!1,this._readCapability=(0,n.createPromiseCapability)(),this._isStreamingSupported=!S.disableStream,this._abortController=new AbortController,this._headers=a(this._stream.httpHeaders),this._headers.append("Range",`bytes=${v}-${p-1}`);const C=S.url;fetch(C,d(this._headers,this._withCredentials,this._abortController)).then(_=>{if(!(0,i.validateResponseStatus)(_.status))throw(0,i.createResponseStatusError)(_.status,C);this._readCapability.resolve(),this._reader=_.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}read(){var g=this;return _asyncToGenerator(function*(){yield g._readCapability.promise;const{value:v,done:p}=yield g._reader.read();return p?{value:v,done:p}:(g._loaded+=v.byteLength,g.onProgress&&g.onProgress({loaded:g._loaded}),{value:new Uint8Array(v).buffer,done:!1})})()}cancel(g){this._reader&&this._reader.cancel(g),this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(pe){var h=__webpack_module_cache__[pe];if(void 0!==h)return h.exports;var o=__webpack_module_cache__[pe]={exports:{}};return __webpack_modules__[pe](o,o.exports,__w_pdfjs_require__),o.exports}var __nested_webpack_exports__={};return(()=>{var pe=__nested_webpack_exports__;Object.defineProperty(pe,"__esModule",{value:!0}),Object.defineProperty(pe,"AnnotationEditorLayer",{enumerable:!0,get:function(){return i.AnnotationEditorLayer}}),Object.defineProperty(pe,"AnnotationEditorParamsType",{enumerable:!0,get:function(){return h.AnnotationEditorParamsType}}),Object.defineProperty(pe,"AnnotationEditorType",{enumerable:!0,get:function(){return h.AnnotationEditorType}}),Object.defineProperty(pe,"AnnotationEditorUIManager",{enumerable:!0,get:function(){return d.AnnotationEditorUIManager}}),Object.defineProperty(pe,"AnnotationLayer",{enumerable:!0,get:function(){return a.AnnotationLayer}}),Object.defineProperty(pe,"AnnotationMode",{enumerable:!0,get:function(){return h.AnnotationMode}}),Object.defineProperty(pe,"CMapCompressionType",{enumerable:!0,get:function(){return h.CMapCompressionType}}),Object.defineProperty(pe,"GlobalWorkerOptions",{enumerable:!0,get:function(){return l.GlobalWorkerOptions}}),Object.defineProperty(pe,"InvalidPDFException",{enumerable:!0,get:function(){return h.InvalidPDFException}}),Object.defineProperty(pe,"LoopbackPort",{enumerable:!0,get:function(){return o.LoopbackPort}}),Object.defineProperty(pe,"MissingPDFException",{enumerable:!0,get:function(){return h.MissingPDFException}}),Object.defineProperty(pe,"OPS",{enumerable:!0,get:function(){return h.OPS}}),Object.defineProperty(pe,"PDFDataRangeTransport",{enumerable:!0,get:function(){return o.PDFDataRangeTransport}}),Object.defineProperty(pe,"PDFDateString",{enumerable:!0,get:function(){return n.PDFDateString}}),Object.defineProperty(pe,"PDFWorker",{enumerable:!0,get:function(){return o.PDFWorker}}),Object.defineProperty(pe,"PasswordResponses",{enumerable:!0,get:function(){return h.PasswordResponses}}),Object.defineProperty(pe,"PermissionFlag",{enumerable:!0,get:function(){return h.PermissionFlag}}),Object.defineProperty(pe,"PixelsPerInch",{enumerable:!0,get:function(){return n.PixelsPerInch}}),Object.defineProperty(pe,"RenderingCancelledException",{enumerable:!0,get:function(){return n.RenderingCancelledException}}),Object.defineProperty(pe,"SVGGraphics",{enumerable:!0,get:function(){return c.SVGGraphics}}),Object.defineProperty(pe,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return h.UNSUPPORTED_FEATURES}}),Object.defineProperty(pe,"UnexpectedResponseException",{enumerable:!0,get:function(){return h.UnexpectedResponseException}}),Object.defineProperty(pe,"Util",{enumerable:!0,get:function(){return h.Util}}),Object.defineProperty(pe,"VerbosityLevel",{enumerable:!0,get:function(){return h.VerbosityLevel}}),Object.defineProperty(pe,"XfaLayer",{enumerable:!0,get:function(){return g.XfaLayer}}),Object.defineProperty(pe,"build",{enumerable:!0,get:function(){return o.build}}),Object.defineProperty(pe,"createPromiseCapability",{enumerable:!0,get:function(){return h.createPromiseCapability}}),Object.defineProperty(pe,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return h.createValidAbsoluteUrl}}),Object.defineProperty(pe,"getDocument",{enumerable:!0,get:function(){return o.getDocument}}),Object.defineProperty(pe,"getFilenameFromUrl",{enumerable:!0,get:function(){return n.getFilenameFromUrl}}),Object.defineProperty(pe,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return n.getPdfFilenameFromUrl}}),Object.defineProperty(pe,"getXfaPageViewport",{enumerable:!0,get:function(){return n.getXfaPageViewport}}),Object.defineProperty(pe,"isPdfFile",{enumerable:!0,get:function(){return n.isPdfFile}}),Object.defineProperty(pe,"loadScript",{enumerable:!0,get:function(){return n.loadScript}}),Object.defineProperty(pe,"renderTextLayer",{enumerable:!0,get:function(){return u.renderTextLayer}}),Object.defineProperty(pe,"shadow",{enumerable:!0,get:function(){return h.shadow}}),Object.defineProperty(pe,"version",{enumerable:!0,get:function(){return o.version}});var h=__w_pdfjs_require__(1),o=__w_pdfjs_require__(4),n=__w_pdfjs_require__(8),i=__w_pdfjs_require__(22),d=__w_pdfjs_require__(7),a=__w_pdfjs_require__(27),l=__w_pdfjs_require__(15),e=__w_pdfjs_require__(3),u=__w_pdfjs_require__(30),c=__w_pdfjs_require__(31),g=__w_pdfjs_require__(29);if(e.isNodeJS){const{PDFNodeStream:S}=__w_pdfjs_require__(32);(0,o.setPDFNetworkStreamFactory)(C=>new S(C))}else{const{PDFNetworkStream:S}=__w_pdfjs_require__(35),{PDFFetchStream:C}=__w_pdfjs_require__(36);(0,o.setPDFNetworkStreamFactory)(_=>(0,n.isValidFetchUrl)(_.url)?new C(_):new S(_))}})(),__nested_webpack_exports__})(),module.exports=o()},6472:(pe,h,o)=>{var n=o(1196).default;globalThis,pe.exports=(()=>{"use strict";var i=[,(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.DefaultXfaLayerFactory=u.DefaultTextLayerFactory=u.DefaultStructTreeLayerFactory=u.DefaultAnnotationLayerFactory=u.DefaultAnnotationEditorLayerFactory=void 0;var g=c(2),v=c(5),p=c(4),S=c(6),C=c(8),_=c(9),f=c(10);u.DefaultAnnotationLayerFactory=class y{createAnnotationLayerBuilder({pageDiv:F,pdfPage:j,annotationStorage:T=null,imageResourcesPath:P="",renderForms:x=!0,l10n:N=p.NullL10n,enableScripting:O=!1,hasJSActionsPromise:H=null,mouseState:G=null,fieldObjectsPromise:te=null,annotationCanvasMap:ue=null,accessibilityManager:se=null}){return new v.AnnotationLayerBuilder({pageDiv:F,pdfPage:j,imageResourcesPath:P,renderForms:x,linkService:new S.SimpleLinkService,l10n:N,annotationStorage:T,enableScripting:O,hasJSActionsPromise:H,fieldObjectsPromise:te,mouseState:G,annotationCanvasMap:ue,accessibilityManager:se})}},u.DefaultAnnotationEditorLayerFactory=class b{createAnnotationEditorLayerBuilder({uiManager:F=null,pageDiv:j,pdfPage:T,accessibilityManager:P=null,l10n:x,annotationStorage:N=null}){return new g.AnnotationEditorLayerBuilder({uiManager:F,pageDiv:j,pdfPage:T,accessibilityManager:P,l10n:x,annotationStorage:N})}},u.DefaultStructTreeLayerFactory=class E{createStructTreeLayerBuilder({pdfPage:F}){return new C.StructTreeLayerBuilder({pdfPage:F})}},u.DefaultTextLayerFactory=class M{createTextLayerBuilder({textLayerDiv:F,pageIndex:j,viewport:T,enhanceTextSelection:P=!1,eventBus:x,highlighter:N,accessibilityManager:O=null}){return new _.TextLayerBuilder({textLayerDiv:F,pageIndex:j,viewport:T,enhanceTextSelection:P,eventBus:x,highlighter:N,accessibilityManager:O})}},u.DefaultXfaLayerFactory=class A{createXfaLayerBuilder({pageDiv:F,pdfPage:j,annotationStorage:T=null}){return new f.XfaLayerBuilder({pageDiv:F,pdfPage:j,annotationStorage:T,linkService:new S.SimpleLinkService})}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AnnotationEditorLayerBuilder=void 0;var g=c(3),v=c(4);u.AnnotationEditorLayerBuilder=class p{#e;constructor(C){this.pageDiv=C.pageDiv,this.pdfPage=C.pdfPage,this.annotationStorage=C.annotationStorage||null,this.accessibilityManager=C.accessibilityManager,this.l10n=C.l10n||v.NullL10n,this.annotationEditorLayer=null,this.div=null,this._cancelled=!1,this.#e=C.uiManager}render(C,_="display"){var f=this;return n(function*(){if("display"!==_||f._cancelled)return;const y=C.clone({dontFlip:!0});if(f.div)return f.annotationEditorLayer.update({viewport:y}),void f.show();f.div=document.createElement("div"),f.div.className="annotationEditorLayer",f.div.tabIndex=0,f.pageDiv.append(f.div),f.annotationEditorLayer=new g.AnnotationEditorLayer({uiManager:f.#e,div:f.div,annotationStorage:f.annotationStorage,accessibilityManager:f.accessibilityManager,pageIndex:f.pdfPage._pageIndex,l10n:f.l10n,viewport:y}),f.annotationEditorLayer.render({viewport:y,div:f.div,annotations:null,intent:_})})()}cancel(){this._cancelled=!0,this.destroy()}hide(){this.div&&(this.div.hidden=!0)}show(){this.div&&(this.div.hidden=!1)}destroy(){this.div&&(this.pageDiv=null,this.annotationEditorLayer.destroy(),this.div.remove())}}},e=>{let u;u=typeof window<"u"&&window["pdfjs-dist/build/pdf"]?window["pdfjs-dist/build/pdf"]:o(35584),e.exports=u},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.NullL10n=void 0,u.fixupLangCode=function p(_){return v[_?.toLowerCase()]||_},u.getL10nFallback=g;const c={of_pages:"of {{pagesCount}}",page_of_pages:"({{pageNumber}} of {{pagesCount}})",document_properties_kb:"{{size_kb}} KB ({{size_b}} bytes)",document_properties_mb:"{{size_mb}} MB ({{size_b}} bytes)",document_properties_date_string:"{{date}}, {{time}}",document_properties_page_size_unit_inches:"in",document_properties_page_size_unit_millimeters:"mm",document_properties_page_size_orientation_portrait:"portrait",document_properties_page_size_orientation_landscape:"landscape",document_properties_page_size_name_a3:"A3",document_properties_page_size_name_a4:"A4",document_properties_page_size_name_letter:"Letter",document_properties_page_size_name_legal:"Legal",document_properties_page_size_dimension_string:"{{width}} \xd7 {{height}} {{unit}} ({{orientation}})",document_properties_page_size_dimension_name_string:"{{width}} \xd7 {{height}} {{unit}} ({{name}}, {{orientation}})",document_properties_linearized_yes:"Yes",document_properties_linearized_no:"No",print_progress_percent:"{{progress}}%","toggle_sidebar.title":"Toggle Sidebar","toggle_sidebar_notification2.title":"Toggle Sidebar (document contains outline/attachments/layers)",additional_layers:"Additional Layers",page_landmark:"Page {{page}}",thumb_page_title:"Page {{page}}",thumb_page_canvas:"Thumbnail of Page {{page}}",find_reached_top:"Reached top of document, continued from bottom",find_reached_bottom:"Reached end of document, continued from top","find_match_count[one]":"{{current}} of {{total}} match","find_match_count[other]":"{{current}} of {{total}} matches","find_match_count_limit[one]":"More than {{limit}} match","find_match_count_limit[other]":"More than {{limit}} matches",find_not_found:"Phrase not found",error_version_info:"PDF.js v{{version}} (build: {{build}})",error_message:"Message: {{message}}",error_stack:"Stack: {{stack}}",error_file:"File: {{file}}",error_line:"Line: {{line}}",rendering_error:"An error occurred while rendering the page.",page_scale_width:"Page Width",page_scale_fit:"Page Fit",page_scale_auto:"Automatic Zoom",page_scale_actual:"Actual Size",page_scale_percent:"{{scale}}%",loading:"Loading\u2026",loading_error:"An error occurred while loading the PDF.",invalid_file_error:"Invalid or corrupted PDF file.",missing_file_error:"Missing PDF file.",unexpected_response_error:"Unexpected server response.",printing_not_supported:"Warning: Printing is not fully supported by this browser.",printing_not_ready:"Warning: The PDF is not fully loaded for printing.",web_fonts_disabled:"Web fonts are disabled: unable to use embedded PDF fonts.",free_text_default_content:"Enter text\u2026",editor_free_text_aria_label:"FreeText Editor",editor_ink_aria_label:"Ink Editor",editor_ink_canvas_aria_label:"User-created image"};function g(_,f){switch(_){case"find_match_count":_=`find_match_count[${1===f.total?"one":"other"}]`;break;case"find_match_count_limit":_=`find_match_count_limit[${1===f.limit?"one":"other"}]`}return c[_]||""}const v={en:"en-US",es:"es-ES",fy:"fy-NL",ga:"ga-IE",gu:"gu-IN",hi:"hi-IN",hy:"hy-AM",nb:"nb-NO",ne:"ne-NP",nn:"nn-NO",pa:"pa-IN",pt:"pt-PT",sv:"sv-SE",zh:"zh-CN"};u.NullL10n={getLanguage:()=>n(function*(){return"en-us"})(),getDirection:()=>n(function*(){return"ltr"})(),get:(_,f=null,y=g(_,f))=>n(function*(){return function S(_,f){return f?_.replace(/\{\{\s*(\w+)\s*\}\}/g,(y,b)=>b in f?f[b]:"{{"+b+"}}"):_}(y,f)})(),translate:_=>n(function*(){})()}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AnnotationLayerBuilder=void 0;var g=c(3),v=c(4);u.AnnotationLayerBuilder=class p{constructor({pageDiv:C,pdfPage:_,linkService:f,downloadManager:y,annotationStorage:b=null,imageResourcesPath:E="",renderForms:M=!0,l10n:A=v.NullL10n,enableScripting:I=!1,hasJSActionsPromise:F=null,fieldObjectsPromise:j=null,mouseState:T=null,annotationCanvasMap:P=null,accessibilityManager:x=null}){this.pageDiv=C,this.pdfPage=_,this.linkService=f,this.downloadManager=y,this.imageResourcesPath=E,this.renderForms=M,this.l10n=A,this.annotationStorage=b,this.enableScripting=I,this._hasJSActionsPromise=F,this._fieldObjectsPromise=j,this._mouseState=T,this._annotationCanvasMap=P,this._accessibilityManager=x,this.div=null,this._cancelled=!1}render(C,_="display"){var f=this;return n(function*(){const[y,b=!1,E=null]=yield Promise.all([f.pdfPage.getAnnotations({intent:_}),f._hasJSActionsPromise,f._fieldObjectsPromise]);if(f._cancelled||0===y.length)return;const M={viewport:C.clone({dontFlip:!0}),div:f.div,annotations:y,page:f.pdfPage,imageResourcesPath:f.imageResourcesPath,renderForms:f.renderForms,linkService:f.linkService,downloadManager:f.downloadManager,annotationStorage:f.annotationStorage,enableScripting:f.enableScripting,hasJSActions:b,fieldObjects:E,mouseState:f._mouseState,annotationCanvasMap:f._annotationCanvasMap,accessibilityManager:f._accessibilityManager};f.div?g.AnnotationLayer.update(M):(f.div=document.createElement("div"),f.div.className="annotationLayer",f.pageDiv.append(f.div),M.div=f.div,g.AnnotationLayer.render(M),f.l10n.translate(f.div))})()}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.SimpleLinkService=u.PDFLinkService=u.LinkTarget=void 0;var g=c(7);const p={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function S(f,{url:y,target:b,rel:E,enabled:M=!0}={}){if(!y||"string"!=typeof y)throw new Error('A valid "url" parameter must provided.');const A=(0,g.removeNullCharacters)(y);M?f.href=f.title=A:(f.href="",f.title=`Disabled: ${A}`,f.onclick=()=>!1);let I="";switch(b){case p.NONE:break;case p.SELF:I="_self";break;case p.BLANK:I="_blank";break;case p.PARENT:I="_parent";break;case p.TOP:I="_top"}f.target=I,f.rel="string"==typeof E?E:"noopener noreferrer nofollow"}u.LinkTarget=p;class C{#e=new Map;constructor({eventBus:y,externalLinkTarget:b=null,externalLinkRel:E=null,ignoreDestinationZoom:M=!1}={}){this.eventBus=y,this.externalLinkTarget=b,this.externalLinkRel=E,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=M,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null}setDocument(y,b=null){this.baseUrl=b,this.pdfDocument=y,this.#e.clear()}setViewer(y){this.pdfViewer=y}setHistory(y){this.pdfHistory=y}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return this.pdfViewer.currentPageNumber}set page(y){this.pdfViewer.currentPageNumber=y}get rotation(){return this.pdfViewer.pagesRotation}set rotation(y){this.pdfViewer.pagesRotation=y}#t(y,b=null,E){const M=E[0];let A;if("object"==typeof M&&null!==M){if(A=this._cachedPageNumber(M),!A)return void this.pdfDocument.getPageIndex(M).then(I=>{this.cachePageRef(I+1,M),this.#t(y,b,E)}).catch(()=>{console.error(`PDFLinkService.#goToDestinationHelper: "${M}" is not a valid page reference, for dest="${y}".`)})}else{if(!Number.isInteger(M))return void console.error(`PDFLinkService.#goToDestinationHelper: "${M}" is not a valid destination reference, for dest="${y}".`);A=M+1}!A||A<1||A>this.pagesCount?console.error(`PDFLinkService.#goToDestinationHelper: "${A}" is not a valid page number, for dest="${y}".`):(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.push({namedDest:b,explicitDest:E,pageNumber:A})),this.pdfViewer.scrollPageIntoView({pageNumber:A,destArray:E,ignoreDestinationZoom:this._ignoreDestinationZoom}))}goToDestination(y){var b=this;return n(function*(){if(!b.pdfDocument)return;let E,M;"string"==typeof y?(E=y,M=yield b.pdfDocument.getDestination(y)):(E=null,M=yield y),Array.isArray(M)?b.#t(y,E,M):console.error(`PDFLinkService.goToDestination: "${M}" is not a valid destination array, for dest="${y}".`)})()}goToPage(y){if(!this.pdfDocument)return;const b="string"==typeof y&&this.pdfViewer.pageLabelToPageNumber(y)||0|y;Number.isInteger(b)&&b>0&&b<=this.pagesCount?(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.pushPage(b)),this.pdfViewer.scrollPageIntoView({pageNumber:b})):console.error(`PDFLinkService.goToPage: "${y}" is not a valid page.`)}addLinkAttributes(y,b,E=!1){S(y,{url:b,target:E?p.BLANK:this.externalLinkTarget,rel:this.externalLinkRel,enabled:this.externalLinkEnabled})}getDestinationHash(y){if("string"==typeof y){if(y.length>0)return this.getAnchorUrl("#"+escape(y))}else if(Array.isArray(y)){const b=JSON.stringify(y);if(b.length>0)return this.getAnchorUrl("#"+escape(b))}return this.getAnchorUrl("")}getAnchorUrl(y){return(this.baseUrl||"")+y}setHash(y){if(!this.pdfDocument)return;let b,E;if(y.includes("=")){const M=(0,g.parseQueryString)(y);if(M.has("search")&&this.eventBus.dispatch("findfromurlhash",{source:this,query:M.get("search").replace(/"/g,""),phraseSearch:"true"===M.get("phrase")}),M.has("page")&&(b=0|M.get("page")||1),M.has("zoom")){const A=M.get("zoom").split(","),I=A[0],F=parseFloat(I);I.includes("Fit")?"Fit"===I||"FitB"===I?E=[null,{name:I}]:"FitH"===I||"FitBH"===I||"FitV"===I||"FitBV"===I?E=[null,{name:I},A.length>1?0|A[1]:null]:"FitR"===I?5!==A.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):E=[null,{name:I},0|A[1],0|A[2],0|A[3],0|A[4]]:console.error(`PDFLinkService.setHash: "${I}" is not a valid zoom value.`):E=[null,{name:"XYZ"},A.length>1?0|A[1]:null,A.length>2?0|A[2]:null,F?F/100:I]}E?this.pdfViewer.scrollPageIntoView({pageNumber:b||this.page,destArray:E,allowNegativeOffset:!0}):b&&(this.page=b),M.has("pagemode")&&this.eventBus.dispatch("pagemode",{source:this,mode:M.get("pagemode")}),M.has("nameddest")&&this.goToDestination(M.get("nameddest"))}else{E=unescape(y);try{E=JSON.parse(E),Array.isArray(E)||(E=E.toString())}catch{}if("string"==typeof E||C.#n(E))return void this.goToDestination(E);console.error(`PDFLinkService.setHash: "${unescape(y)}" is not a valid destination.`)}}executeNamedAction(y){switch(y){case"GoBack":this.pdfHistory?.back();break;case"GoForward":this.pdfHistory?.forward();break;case"NextPage":this.pdfViewer.nextPage();break;case"PrevPage":this.pdfViewer.previousPage();break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:y})}cachePageRef(y,b){b&&this.#e.set(0===b.gen?`${b.num}R`:`${b.num}R${b.gen}`,y)}_cachedPageNumber(y){return y&&this.#e.get(0===y.gen?`${y.num}R`:`${y.num}R${y.gen}`)||null}isPageVisible(y){return this.pdfViewer.isPageVisible(y)}isPageCached(y){return this.pdfViewer.isPageCached(y)}static#n(y){if(!Array.isArray(y))return!1;const b=y.length;if(b<2)return!1;const E=y[0];if(!("object"==typeof E&&Number.isInteger(E.num)&&Number.isInteger(E.gen)||Number.isInteger(E)&&E>=0))return!1;const M=y[1];if("object"!=typeof M||"string"!=typeof M.name)return!1;let A=!0;switch(M.name){case"XYZ":if(5!==b)return!1;break;case"Fit":case"FitB":return 2===b;case"FitH":case"FitBH":case"FitV":case"FitBV":if(3!==b)return!1;break;case"FitR":if(6!==b)return!1;A=!1;break;default:return!1}for(let I=2;I{Object.defineProperty(u,"__esModule",{value:!0}),u.animationStarted=u.VERTICAL_PADDING=u.UNKNOWN_SCALE=u.TextLayerMode=u.SpreadMode=u.SidebarView=u.ScrollMode=u.SCROLLBAR_PADDING=u.RenderingStates=u.RendererType=u.ProgressBar=u.PresentationModeState=u.OutputScale=u.MIN_SCALE=u.MAX_SCALE=u.MAX_AUTO_SCALE=u.DEFAULT_SCALE_VALUE=u.DEFAULT_SCALE_DELTA=u.DEFAULT_SCALE=u.AutoPrintRegExp=void 0,u.apiPageLayoutToViewerModes=function tt(Qe){let Ct=F.VERTICAL,Xe=j.NONE;switch(Qe){case"SinglePage":Ct=F.PAGE;break;case"OneColumn":break;case"TwoPageLeft":Ct=F.PAGE;case"TwoColumnLeft":Xe=j.ODD;break;case"TwoPageRight":Ct=F.PAGE;case"TwoColumnRight":Xe=j.EVEN}return{scrollMode:Ct,spreadMode:Xe}},u.apiPageModeToSidebarView=function mt(Qe){switch(Qe){case"UseNone":return M.NONE;case"UseThumbs":return M.THUMBS;case"UseOutlines":return M.OUTLINE;case"UseAttachments":return M.ATTACHMENTS;case"UseOC":return M.LAYERS}return M.NONE},u.approximateFraction=function se(Qe){if(Math.floor(Qe)===Qe)return[Qe,1];const Ct=1/Qe;if(Ct>8)return[1,8];if(Math.floor(Ct)===Ct)return[1,Ct];const nt=Qe>1?Ct:Qe;let An,Pt=0,tn=1,hn=1,wn=1;for(;;){const _n=Pt+hn,qt=tn+wn;if(qt>8)break;nt<=_n/qt?(hn=_n,wn=qt):(Pt=_n,tn=qt)}return An=nt-Pt/tnwn}:function _n(He){const vt=He.div;return vt.offsetTop+vt.clientTop+vt.clientHeight>tn});Te>0&&Te=hn&&($e=Yt);else if((nt?wt:st)>$e)break;if(Yt<=tn||st>=hn||It<=wn||wt>=An)continue;const Xt=Math.max(0,tn-st)+Math.max(0,Yt-hn),St=(zt-(Math.max(0,wn-wt)+Math.max(0,It-An)))/zt;ht.push({id:vt.id,x:wt,y:st,view:vt,percent:(pt-Xt)/pt*St*100|0,widthPercent:100*St|0}),Ue.add(vt.id)}const je=ht[0],gt=ht.at(-1);return Xe&&ht.sort(function(He,vt){const ut=He.percent-vt.percent;return Math.abs(ut)>.001?-ut:He.id-vt.id}),{first:je,last:gt,views:ht,ids:Ue}},u.isPortraitOrientation=function Oe(Qe){return Qe.width<=Qe.height},u.isValidRotation=function ee(Qe){return Number.isInteger(Qe)&&Qe%90==0},u.isValidScrollMode=function we(Qe){return Number.isInteger(Qe)&&Object.values(F).includes(Qe)&&Qe!==F.UNKNOWN},u.isValidSpreadMode=function ye(Qe){return Number.isInteger(Qe)&&Object.values(j).includes(Qe)&&Qe!==j.UNKNOWN},u.noContextMenuHandler=function Y(Qe){Qe.preventDefault()},u.normalizeWheelEventDelta=function le(Qe){let Ct=$(Qe);return 0===Qe.deltaMode?Ct/=900:1===Qe.deltaMode&&(Ct/=30),Ct},u.normalizeWheelEventDirection=$,u.parseQueryString=function O(Qe){const Ct=new Map;for(const[Xe,nt]of new URLSearchParams(Qe))Ct.set(Xe.toLowerCase(),nt);return Ct},u.removeNullCharacters=function te(Qe,Ct=!1){return"string"!=typeof Qe?(console.error("The argument must be a string."),Qe):(Ct&&(Qe=Qe.replace(G," ")),Qe.replace(H,""))},u.roundToDivide=function K(Qe,Ct){const Xe=Qe%Ct;return 0===Xe?Qe:Math.round(Qe-Xe+Ct)},u.scrollIntoView=function x(Qe,Ct,Xe=!1){let nt=Qe.offsetParent;if(!nt)return void console.error("offsetParent is not set -- cannot scroll");let Pt=Qe.offsetTop+Qe.clientTop,tn=Qe.offsetLeft+Qe.clientLeft;for(;nt.clientHeight===nt.scrollHeight&&nt.clientWidth===nt.scrollWidth||Xe&&(nt.classList.contains("markedContent")||"hidden"===getComputedStyle(nt).overflow);)if(Pt+=nt.offsetTop,tn+=nt.offsetLeft,nt=nt.offsetParent,!nt)return;Ct&&(void 0!==Ct.top&&(Pt+=Ct.top),void 0!==Ct.left&&(tn+=Ct.left,nt.scrollLeft=tn)),nt.scrollTop=Pt},u.watchScroll=function N(Qe,Ct){const Xe=function(tn){Pt||(Pt=window.requestAnimationFrame(function(){Pt=null;const wn=Qe.scrollLeft,An=nt.lastX;wn!==An&&(nt.right=wn>An),nt.lastX=wn;const _n=Qe.scrollTop,qt=nt.lastY;_n!==qt&&(nt.down=_n>qt),nt.lastY=_n,Ct(nt)}))},nt={right:!0,down:!0,lastX:Qe.scrollLeft,lastY:Qe.scrollTop,_eventHandler:Xe};let Pt=null;return Qe.addEventListener("scroll",Xe,!0),nt},u.DEFAULT_SCALE_VALUE="auto",u.DEFAULT_SCALE=1,u.DEFAULT_SCALE_DELTA=1.1,u.MIN_SCALE=.1,u.MAX_SCALE=10,u.UNKNOWN_SCALE=0,u.MAX_AUTO_SCALE=1.25,u.SCROLLBAR_PADDING=40,u.VERTICAL_PADDING=5,u.RenderingStates={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3},u.PresentationModeState={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3};const M={UNKNOWN:-1,NONE:0,THUMBS:1,OUTLINE:2,ATTACHMENTS:3,LAYERS:4};u.SidebarView=M,u.RendererType={CANVAS:"canvas",SVG:"svg"},u.TextLayerMode={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};const F={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2,PAGE:3};u.ScrollMode=F;const j={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};u.SpreadMode=j,u.AutoPrintRegExp=/\bprint\s*\(/,u.OutputScale=class P{constructor(){const Ct=window.devicePixelRatio||1;this.sx=Ct,this.sy=Ct}get scaled(){return 1!==this.sx||1!==this.sy}};const H=/\x00/g,G=/[\x01-\x1F]/g;function ue(Qe,Ct,Xe=0){let nt=Xe,Pt=Qe.length-1;if(Pt<0||!Ct(Qe[Pt]))return Qe.length;if(Ct(Qe[nt]))return nt;for(;nt>1;Ct(Qe[tn])?Pt=tn:nt=tn+1}return nt}function re(Qe,Ct,Xe){if(Qe<2)return Qe;let nt=Ct[Qe].div,Pt=nt.offsetTop+nt.clientTop;Pt>=Xe&&(nt=Ct[Qe-1].div,Pt=nt.offsetTop+nt.clientTop);for(let tn=Qe-2;tn>=0&&(nt=Ct[tn].div,!(nt.offsetTop+nt.clientTop+nt.clientHeight<=Pt));--tn)Qe=tn;return Qe}function $(Qe){let Ct=Math.hypot(Qe.deltaX,Qe.deltaY);const Xe=Math.atan2(Qe.deltaY,Qe.deltaX);return-.25*Math.PI1)throw new Error("ProgressBar no longer accepts any additional options, please use CSS rules to modify its appearance instead.");const Xe=document.getElementById(Ct);this.#e=Xe.classList}get percent(){return this.#t}set percent(Ct){this.#t=function Pe(Qe,Ct,Xe){return Math.min(Math.max(Qe,Ct),Xe)}(Ct,0,100),isNaN(Ct)?this.#e.add("indeterminate"):(this.#e.remove("indeterminate"),_e.setProperty("--progressBar-percent",`${this.#t}%`))}setWidth(Ct){if(!Ct)return;const nt=Ct.parentNode.offsetWidth-Ct.offsetWidth;nt>0&&_e.setProperty("--progressBar-end-offset",`${nt}px`)}hide(){this.#n&&(this.#n=!1,this.#e.add("hidden"))}show(){this.#n||(this.#n=!0,this.#e.remove("hidden"))}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.StructTreeLayerBuilder=void 0;const c={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},g=/^H(\d+)$/;u.StructTreeLayerBuilder=class v{constructor({pdfPage:S}){this.pdfPage=S}render(S){return this._walk(S)}_setAttributes(S,C){void 0!==S.alt&&C.setAttribute("aria-label",S.alt),void 0!==S.id&&C.setAttribute("aria-owns",S.id),void 0!==S.lang&&C.setAttribute("lang",S.lang)}_walk(S){if(!S)return null;const C=document.createElement("span");if("role"in S){const{role:_}=S,f=_.match(g);f?(C.setAttribute("role","heading"),C.setAttribute("aria-level",f[1])):c[_]&&C.setAttribute("role",c[_])}if(this._setAttributes(S,C),S.children)if(1===S.children.length&&"id"in S.children[0])this._setAttributes(S.children[0],C);else for(const _ of S.children)C.append(this._walk(_));return C}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.TextLayerBuilder=void 0;var g=c(3);u.TextLayerBuilder=class p{constructor({textLayerDiv:C,eventBus:_,pageIndex:f,viewport:y,highlighter:b=null,enhanceTextSelection:E=!1,accessibilityManager:M=null}){this.textLayerDiv=C,this.eventBus=_,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageNumber=f+1,this.viewport=y,this.textDivs=[],this.textLayerRenderTask=null,this.highlighter=b,this.enhanceTextSelection=E,this.accessibilityManager=M,this._bindMouse()}_finishRendering(){if(this.renderingDone=!0,!this.enhanceTextSelection){const C=document.createElement("div");C.className="endOfContent",this.textLayerDiv.append(C)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}render(C=0){if(!this.textContent&&!this.textContentStream||this.renderingDone)return;this.cancel(),this.textDivs.length=0,this.highlighter?.setTextMapping(this.textDivs,this.textContentItemsStr),this.accessibilityManager?.setTextMapping(this.textDivs);const _=document.createDocumentFragment();this.textLayerRenderTask=(0,g.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:_,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:C,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then(()=>{this.textLayerDiv.append(_),this._finishRendering(),this.highlighter?.enable(),this.accessibilityManager?.enable()},function(f){})}cancel(){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this.highlighter?.disable(),this.accessibilityManager?.disable()}setTextContentStream(C){this.cancel(),this.textContentStream=C}setTextContent(C){this.cancel(),this.textContent=C}_bindMouse(){const C=this.textLayerDiv;let _=null;C.addEventListener("mousedown",f=>{if(this.enhanceTextSelection&&this.textLayerRenderTask)return this.textLayerRenderTask.expandTextDivs(!0),void(_&&(clearTimeout(_),_=null));const y=C.querySelector(".endOfContent");if(!y)return;let b=f.target!==C;if(b=b&&"none"!==window.getComputedStyle(y).getPropertyValue("-moz-user-select"),b){const E=C.getBoundingClientRect(),M=Math.max(0,(f.pageY-E.top)/E.height);y.style.top=(100*M).toFixed(2)+"%"}y.classList.add("active")}),C.addEventListener("mouseup",()=>{if(this.enhanceTextSelection&&this.textLayerRenderTask)return void(_=setTimeout(()=>{this.textLayerRenderTask&&this.textLayerRenderTask.expandTextDivs(!1),_=null},300));const f=C.querySelector(".endOfContent");f&&(f.style.top="",f.classList.remove("active"))})}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.XfaLayerBuilder=void 0;var g=c(3);u.XfaLayerBuilder=class v{constructor({pageDiv:S,pdfPage:C,annotationStorage:_=null,linkService:f,xfaHtml:y=null}){this.pageDiv=S,this.pdfPage=C,this.annotationStorage=_,this.linkService=f,this.xfaHtml=y,this.div=null,this._cancelled=!1}render(S,C="display"){if("print"===C){const _={viewport:S.clone({dontFlip:!0}),div:this.div,xfaHtml:this.xfaHtml,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:C},f=document.createElement("div");this.pageDiv.append(f),_.div=f;const y=g.XfaLayer.render(_);return Promise.resolve(y)}return this.pdfPage.getXfa().then(_=>{if(this._cancelled||!_)return{textDivs:[]};const f={viewport:S.clone({dontFlip:!0}),div:this.div,xfaHtml:_,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:C};return this.div?g.XfaLayer.update(f):(this.div=document.createElement("div"),this.pageDiv.append(this.div),f.div=this.div,g.XfaLayer.render(f))}).catch(_=>{console.error(_)})}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFViewer=u.PDFSinglePageViewer=void 0;var g=c(7),v=c(12);u.PDFViewer=class p extends v.BaseViewer{},u.PDFSinglePageViewer=class S extends v.BaseViewer{_resetView(){super._resetView(),this._scrollMode=g.ScrollMode.PAGE,this._spreadMode=g.SpreadMode.NONE}set scrollMode(_){}_updateScrollMode(){}set spreadMode(_){}_updateSpreadMode(){}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PagesCountLimit=u.PDFPageViewBuffer=u.BaseViewer=void 0;var g=c(3),v=c(7),p=c(2),S=c(5),C=c(4),_=c(13),f=c(16),y=c(6),b=c(8),E=c(17),M=c(9),A=c(10);const F="enablePermissions",j={FORCE_SCROLL_MODE_PAGE:15e3,FORCE_LAZY_PAGE_INIT:7500,PAUSE_EAGER_PAGE_INIT:250};function T(N){return Object.values(g.AnnotationEditorType).includes(N)&&N!==g.AnnotationEditorType.DISABLE}u.PagesCountLimit=j;class P{#e=new Set;#t=0;constructor(O){this.#t=O}push(O){const H=this.#e;H.has(O)&&H.delete(O),H.add(O),H.size>this.#t&&this.#n()}resize(O,H=null){this.#t=O;const G=this.#e;if(H){const te=G.size;let ue=1;for(const se of G)if(H.has(se.id)&&(G.delete(se),G.add(se)),++ue>te)break}for(;G.size>this.#t;)this.#n()}has(O){return this.#e.has(O)}[Symbol.iterator](){return this.#e.keys()}#n(){const O=this.#e.keys().next().value;O?.destroy(),this.#e.delete(O)}}u.PDFPageViewBuffer=P;class x{#e=null;#t=g.AnnotationEditorType.DISABLE;#n=null;#r=g.AnnotationMode.ENABLE_FORMS;#o=!1;#c=0;#a=null;#i=null;constructor(O){if(this.constructor===x)throw new Error("Cannot initialize BaseViewer.");const H="2.16.105";if(g.version!==H)throw new Error(`The API version "${g.version}" does not match the Viewer version "${H}".`);if(this.container=O.container,this.viewer=O.viewer||O.container.firstElementChild,"DIV"!==this.container?.tagName.toUpperCase()||"DIV"!==this.viewer?.tagName.toUpperCase())throw new Error("Invalid `container` and/or `viewer` option.");if(this.container.offsetParent&&"absolute"!==getComputedStyle(this.container).position)throw new Error("The `container` must be absolutely positioned.");this.eventBus=O.eventBus,this.linkService=O.linkService||new y.SimpleLinkService,this.downloadManager=O.downloadManager||null,this.findController=O.findController||null,this._scriptingManager=O.scriptingManager||null,this.removePageBorders=O.removePageBorders||!1,this.textLayerMode=O.textLayerMode??v.TextLayerMode.ENABLE,this.#r=O.annotationMode??g.AnnotationMode.ENABLE_FORMS,this.#t=O.annotationEditorMode??g.AnnotationEditorType.DISABLE,this.imageResourcesPath=O.imageResourcesPath||"",this.enablePrintAutoRotate=O.enablePrintAutoRotate||!1,this.renderer=O.renderer||v.RendererType.CANVAS,this.useOnlyCssZoom=O.useOnlyCssZoom||!1,this.maxCanvasPixels=O.maxCanvasPixels,this.l10n=O.l10n||C.NullL10n,this.#o=O.enablePermissions||!1,this.pageColors=O.pageColors||null,this.pageColors&&!(CSS.supports("color",this.pageColors.background)&&CSS.supports("color",this.pageColors.foreground))&&((this.pageColors.background||this.pageColors.foreground)&&console.warn("BaseViewer: Ignoring `pageColors`-option, since the browser doesn't support the values used."),this.pageColors=null),this.defaultRenderingQueue=!O.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new f.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=O.renderingQueue,this.scroll=(0,v.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=v.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),this.updateContainerHeightCss()}get pagesCount(){return this._pages.length}getPageView(O){return this._pages[O]}get pageViewsReady(){return!!this._pagesCapability.settled&&this._pages.every(function(O){return O?.pdfPage})}get renderForms(){return this.#r===g.AnnotationMode.ENABLE_FORMS}get enableScripting(){return!!this._scriptingManager}get currentPageNumber(){return this._currentPageNumber}set currentPageNumber(O){if(!Number.isInteger(O))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(O,!0)||console.error(`currentPageNumber: "${O}" is not a valid page.`))}_setCurrentPageNumber(O,H=!1){if(this._currentPageNumber===O)return H&&this.#f(),!0;if(!(0=0&&(H=G+1)}this._setCurrentPageNumber(H,!0)||console.error(`currentPageLabel: "${O}" is not a valid page.`)}get currentScale(){return this._currentScale!==v.UNKNOWN_SCALE?this._currentScale:v.DEFAULT_SCALE}set currentScale(O){if(isNaN(O))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(O,!1)}get currentScaleValue(){return this._currentScaleValue}set currentScaleValue(O){this.pdfDocument&&this._setScale(O,!1)}get pagesRotation(){return this._pagesRotation}set pagesRotation(O){if(!(0,v.isValidRotation)(O))throw new Error("Invalid pages rotation angle.");if(!this.pdfDocument||((O%=360)<0&&(O+=360),this._pagesRotation===O))return;this._pagesRotation=O;const H=this._currentPageNumber,G={rotation:O};for(const te of this._pages)te.update(G);this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:O,pageNumber:H}),this.defaultRenderingQueue&&this.update()}get firstPagePromise(){return this.pdfDocument?this._firstPageCapability.promise:null}get onePageRendered(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}get pagesPromise(){return this.pdfDocument?this._pagesCapability.promise:null}#h(O){const H={annotationEditorMode:this.#t,annotationMode:this.#r,textLayerMode:this.textLayerMode};return O&&(O.includes(g.PermissionFlag.COPY)||this.viewer.classList.add(F),O.includes(g.PermissionFlag.MODIFY_CONTENTS)||(H.annotationEditorMode=g.AnnotationEditorType.DISABLE),!O.includes(g.PermissionFlag.MODIFY_ANNOTATIONS)&&!O.includes(g.PermissionFlag.FILL_INTERACTIVE_FORMS)&&this.#r===g.AnnotationMode.ENABLE_FORMS&&(H.annotationMode=g.AnnotationMode.ENABLE)),H}#u(){if("hidden"===document.visibilityState||!this.container.offsetParent||0===this._getVisiblePages().views.length)return Promise.resolve();const O=new Promise(H=>{this.#i=()=>{"hidden"===document.visibilityState&&(H(),document.removeEventListener("visibilitychange",this.#i),this.#i=null)},document.addEventListener("visibilitychange",this.#i)});return Promise.race([this._onePageRenderedCapability.promise,O])}setDocument(O){var H=this;if(this.pdfDocument&&(this.eventBus.dispatch("pagesdestroy",{source:this}),this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null),this._scriptingManager&&this._scriptingManager.setDocument(null),this.#n&&(this.#n.destroy(),this.#n=null)),this.pdfDocument=O,!O)return;const G=O.isPureXfa,te=O.numPages,ue=O.getPage(1),se=O.getOptionalContentConfig(),K=this.#o?O.getPermissions():Promise.resolve();if(te>j.FORCE_SCROLL_MODE_PAGE){console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document.");const Z=this._scrollMode=v.ScrollMode.PAGE;this.eventBus.dispatch("scrollmodechanged",{source:this,mode:Z})}this._pagesCapability.promise.then(()=>{this.eventBus.dispatch("pagesloaded",{source:this,pagesCount:te})},()=>{}),this._onBeforeDraw=Z=>{const re=this._pages[Z.pageNumber-1];re&&this.#e.push(re)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=Z=>{Z.cssTransform||this._onePageRenderedCapability.settled||(this._onePageRenderedCapability.resolve({timestamp:Z.timestamp}),this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null,this.#i&&(document.removeEventListener("visibilitychange",this.#i),this.#i=null))},this.eventBus._on("pagerendered",this._onAfterDraw),Promise.all([ue,K]).then(([Z,re])=>{if(O!==this.pdfDocument)return;this._firstPageCapability.resolve(Z),this._optionalContentConfigPromise=se;const{annotationEditorMode:J,annotationMode:Y,textLayerMode:$}=this.#h(re);if(J!==g.AnnotationEditorType.DISABLE){const Ze=J;G?console.warn("Warning: XFA-editing is not implemented."):T(Ze)?(this.#n=new g.AnnotationEditorUIManager(this.container,this.eventBus),Ze!==g.AnnotationEditorType.NONE&&this.#n.updateMode(Ze)):console.error(`Invalid AnnotationEditor mode: ${Ze}`)}const le=this._scrollMode===v.ScrollMode.PAGE?null:this.viewer,ee=this.currentScale,we=Z.getViewport({scale:ee*g.PixelsPerInch.PDF_TO_CSS_UNITS}),ye=$===v.TextLayerMode.DISABLE||G?null:this,Oe=Y!==g.AnnotationMode.DISABLE?this:null,ve=G?this:null,_e=this.#n?this:null;for(let Ze=1;Ze<=te;++Ze){const ot=new _.PDFPageView({container:le,eventBus:this.eventBus,id:Ze,scale:ee,defaultViewport:we.clone(),optionalContentConfigPromise:se,renderingQueue:this.renderingQueue,textLayerFactory:ye,textLayerMode:$,annotationLayerFactory:Oe,annotationMode:Y,xfaLayerFactory:ve,annotationEditorLayerFactory:_e,textHighlighterFactory:this,structTreeLayerFactory:this,imageResourcesPath:this.imageResourcesPath,renderer:this.renderer,useOnlyCssZoom:this.useOnlyCssZoom,maxCanvasPixels:this.maxCanvasPixels,pageColors:this.pageColors,l10n:this.l10n});this._pages.push(ot)}const Pe=this._pages[0];Pe&&(Pe.setPdfPage(Z),this.linkService.cachePageRef(1,Z.ref)),this._scrollMode===v.ScrollMode.PAGE?this.#l():this._spreadMode!==v.SpreadMode.NONE&&this._updateSpreadMode(),this.#u().then(n(function*(){if(H.findController&&H.findController.setDocument(O),H._scriptingManager&&H._scriptingManager.setDocument(O),H.#n&&H.eventBus.dispatch("annotationeditormodechanged",{source:H,mode:H.#t}),O.loadingParams.disableAutoFetch||te>j.FORCE_LAZY_PAGE_INIT)return void H._pagesCapability.resolve();let Ze=te-1;if(Ze<=0)H._pagesCapability.resolve();else for(let ot=2;ot<=te;++ot){const tt=O.getPage(ot).then(mt=>{const Qe=H._pages[ot-1];Qe.pdfPage||Qe.setPdfPage(mt),H.linkService.cachePageRef(ot,mt.ref),0==--Ze&&H._pagesCapability.resolve()},mt=>{console.error(`Unable to get page ${ot} to initialize viewer`,mt),0==--Ze&&H._pagesCapability.resolve()});ot%j.PAUSE_EAGER_PAGE_INIT==0&&(yield tt)}})),this.eventBus.dispatch("pagesinit",{source:this}),O.getMetadata().then(({info:Ze})=>{O===this.pdfDocument&&Ze.Language&&(this.viewer.lang=Ze.Language)}),this.defaultRenderingQueue&&this.update()}).catch(Z=>{console.error("Unable to initialize viewer",Z),this._pagesCapability.reject(Z)})}setPageLabels(O){if(this.pdfDocument){O?Array.isArray(O)&&this.pdfDocument.numPages===O.length?this._pageLabels=O:(this._pageLabels=null,console.error("setPageLabels: Invalid page labels.")):this._pageLabels=null;for(let H=0,G=this._pages.length;H=H.previousPageNumber,H.previousPageNumber=O}_scrollUpdate(){0!==this.pagesCount&&this.update()}#s(O,H=null){const{div:G,id:te}=O;if(this._scrollMode===v.ScrollMode.PAGE&&(this._setCurrentPageNumber(te),this.#l(),this.update()),!H&&!this.isInPresentationMode){const ue=G.offsetLeft+G.clientLeft,se=ue+G.clientWidth,{scrollLeft:K,clientWidth:Z}=this.container;(this._scrollMode===v.ScrollMode.HORIZONTAL||ueK+Z)&&(H={left:0,top:0})}(0,v.scrollIntoView)(G,H)}#g(O){return O===this._currentScale||Math.abs(O-this._currentScale)<1e-15}_setScaleUpdatePages(O,H,G=!1,te=!1){if(this._currentScaleValue=H.toString(),this.#g(O))return void(te&&this.eventBus.dispatch("scalechanging",{source:this,scale:O,presetValue:H}));v.docStyle.setProperty("--scale-factor",O*g.PixelsPerInch.PDF_TO_CSS_UNITS);const ue={scale:O};for(const se of this._pages)se.update(ue);if(this._currentScale=O,!G){let K,se=this._currentPageNumber;this._location&&!(this.isInPresentationMode||this.isChangingPresentationMode)&&(se=this._location.pageNumber,K=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:se,destArray:K,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:O,presetValue:te?H:void 0}),this.defaultRenderingQueue&&this.update(),this.updateContainerHeightCss()}get _pageWidthScaleFactor(){return this._spreadMode!==v.SpreadMode.NONE&&this._scrollMode!==v.ScrollMode.HORIZONTAL?2:1}_setScale(O,H=!1){let G=parseFloat(O);if(G>0)this._setScaleUpdatePages(G,O,H,!1);else{const te=this._pages[this._currentPageNumber-1];if(!te)return;let ue=v.SCROLLBAR_PADDING,se=v.VERTICAL_PADDING;this.isInPresentationMode?ue=se=4:this.removePageBorders?ue=se=0:this._scrollMode===v.ScrollMode.HORIZONTAL&&([ue,se]=[se,ue]);const K=(this.container.clientWidth-ue)/te.width*te.scale/this._pageWidthScaleFactor,Z=(this.container.clientHeight-se)/te.height*te.scale;switch(O){case"page-actual":G=1;break;case"page-width":G=K;break;case"page-height":G=Z;break;case"page-fit":G=Math.min(K,Z);break;case"auto":const re=(0,v.isPortraitOrientation)(te)?K:Math.min(Z,K);G=Math.min(v.MAX_AUTO_SCALE,re);break;default:return void console.error(`_setScale: "${O}" is an unknown zoom value.`)}this._setScaleUpdatePages(G,O,H,!0)}}#f(){const O=this._pages[this._currentPageNumber-1];this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0),this.#s(O)}pageLabelToPageNumber(O){if(!this._pageLabels)return null;const H=this._pageLabels.indexOf(O);return H<0?null:H+1}scrollPageIntoView({pageNumber:O,destArray:H=null,allowNegativeOffset:G=!1,ignoreDestinationZoom:te=!1}){if(!this.pdfDocument)return;const ue=Number.isInteger(O)&&this._pages[O-1];if(!ue)return void console.error(`scrollPageIntoView: "${O}" is not a valid pageNumber parameter.`);if(this.isInPresentationMode||!H)return void this._setCurrentPageNumber(O,!0);let J,Y,se=0,K=0,Z=0,re=0;const $=ue.rotation%180!=0,le=($?ue.height:ue.width)/ue.scale/g.PixelsPerInch.PDF_TO_CSS_UNITS,ee=($?ue.width:ue.height)/ue.scale/g.PixelsPerInch.PDF_TO_CSS_UNITS;let we=0;switch(H[1].name){case"XYZ":se=H[2],K=H[3],we=H[4],se=null!==se?se:0,K=null!==K?K:ee;break;case"Fit":case"FitB":we="page-fit";break;case"FitH":case"FitBH":K=H[2],we="page-width",null===K&&this._location?(se=this._location.left,K=this._location.top):("number"!=typeof K||K<0)&&(K=ee);break;case"FitV":case"FitBV":se=H[2],Z=le,re=ee,we="page-height";break;case"FitR":se=H[2],K=H[3],Z=H[4]-se,re=H[5]-K,J=(this.container.clientWidth-(this.removePageBorders?0:v.SCROLLBAR_PADDING))/Z/g.PixelsPerInch.PDF_TO_CSS_UNITS,Y=(this.container.clientHeight-(this.removePageBorders?0:v.VERTICAL_PADDING))/re/g.PixelsPerInch.PDF_TO_CSS_UNITS,we=Math.min(Math.abs(J),Math.abs(Y));break;default:return void console.error(`scrollPageIntoView: "${H[1].name}" is not a valid destination type.`)}if(te||(we&&we!==this._currentScale?this.currentScaleValue=we:this._currentScale===v.UNKNOWN_SCALE&&(this.currentScaleValue=v.DEFAULT_SCALE_VALUE)),"page-fit"===we&&!H[4])return void this.#s(ue);const ye=[ue.viewport.convertToViewportPoint(se,K),ue.viewport.convertToViewportPoint(se+Z,K+re)];let Oe=Math.min(ye[0][0],ye[1][0]),ve=Math.min(ye[0][1],ye[1][1]);G||(Oe=Math.max(Oe,0),ve=Math.max(ve,0)),this.#s(ue,{left:Oe,top:ve})}_updateLocation(O){const H=this._currentScale,G=this._currentScaleValue,te=parseFloat(G)===H?Math.round(1e4*H)/100:G,ue=O.id,K=this.container,Z=this._pages[ue-1].getPagePoint(K.scrollLeft-O.x,K.scrollTop-O.y),re=Math.round(Z[0]),J=Math.round(Z[1]);let Y=`#page=${ue}`;this.isInPresentationMode||(Y+=`&zoom=${te},${re},${J}`),this._location={pageNumber:ue,scale:te,top:J,left:re,rotation:this._pagesRotation,pdfOpenParams:Y}}update(){const O=this._getVisiblePages(),H=O.views,G=H.length;if(0===G)return;const te=Math.max(10,2*G+1);this.#e.resize(te,O.ids),this.renderingQueue.renderHighestPriority(O);const ue=this._spreadMode===v.SpreadMode.NONE&&(this._scrollMode===v.ScrollMode.PAGE||this._scrollMode===v.ScrollMode.VERTICAL),se=this._currentPageNumber;let K=!1;for(const Z of H){if(Z.percent<100)break;if(Z.id===se&&ue){K=!0;break}}this._setCurrentPageNumber(K?se:H[0].id),this._updateLocation(O.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}containsElement(O){return this.container.contains(O)}focus(){this.container.focus()}get _isContainerRtl(){return"rtl"===getComputedStyle(this.container).direction}get isInPresentationMode(){return this.presentationModeState===v.PresentationModeState.FULLSCREEN}get isChangingPresentationMode(){return this.presentationModeState===v.PresentationModeState.CHANGING}get isHorizontalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}get isVerticalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}_getVisiblePages(){const O=this._scrollMode===v.ScrollMode.PAGE?this.#a.pages:this._pages,H=this._scrollMode===v.ScrollMode.HORIZONTAL;return(0,v.getVisibleElements)({scrollEl:this.container,views:O,sortByVisibility:!0,horizontal:H,rtl:H&&this._isContainerRtl})}isPageVisible(O){return!!this.pdfDocument&&(Number.isInteger(O)&&O>0&&O<=this.pagesCount?this._getVisiblePages().ids.has(O):(console.error(`isPageVisible: "${O}" is not a valid page.`),!1))}isPageCached(O){return!!this.pdfDocument&&(Number.isInteger(O)&&O>0&&O<=this.pagesCount?this.#e.has(this._pages[O-1]):(console.error(`isPageCached: "${O}" is not a valid page.`),!1))}cleanup(){for(const O of this._pages)O.renderingState!==v.RenderingStates.FINISHED&&O.reset()}_cancelRendering(){for(const O of this._pages)O.cancelRendering()}#v(O){var H=this;return n(function*(){if(O.pdfPage)return O.pdfPage;try{const G=yield H.pdfDocument.getPage(O.id);return O.pdfPage||O.setPdfPage(G),H.linkService._cachedPageNumber?.(G.ref)||H.linkService.cachePageRef(O.id,G.ref),G}catch(G){return console.error("Unable to get page for page view",G),null}})()}#p(O){if(1===O.first?.id)return!0;if(O.last?.id===this.pagesCount)return!1;switch(this._scrollMode){case v.ScrollMode.PAGE:return this.#a.scrollDown;case v.ScrollMode.HORIZONTAL:return this.scroll.right}return this.scroll.down}#_(O){for(const H of O)this._pages[H-1]?.toggleLoadingIconSpinner(!0);for(const H of this.#e)O.has(H.id)||H.toggleLoadingIconSpinner(!1)}forceRendering(O){const H=O||this._getVisiblePages(),G=this.#p(H),ue=this.renderingQueue.getHighestPriority(H,this._pages,G,this._spreadMode!==v.SpreadMode.NONE&&this._scrollMode!==v.ScrollMode.HORIZONTAL);return this.#_(H.ids),!!ue&&(this.#v(ue).then(()=>{this.renderingQueue.renderView(ue)}),!0)}createTextLayerBuilder({textLayerDiv:O,pageIndex:H,viewport:G,enhanceTextSelection:te=!1,eventBus:ue,highlighter:se,accessibilityManager:K=null}){return new M.TextLayerBuilder({textLayerDiv:O,eventBus:ue,pageIndex:H,viewport:G,enhanceTextSelection:!this.isInPresentationMode&&te,highlighter:se,accessibilityManager:K})}createTextHighlighter({pageIndex:O,eventBus:H}){return new E.TextHighlighter({eventBus:H,pageIndex:O,findController:this.isInPresentationMode?null:this.findController})}createAnnotationLayerBuilder({pageDiv:O,pdfPage:H,annotationStorage:G=this.pdfDocument?.annotationStorage,imageResourcesPath:te="",renderForms:ue=!0,l10n:se=C.NullL10n,enableScripting:K=this.enableScripting,hasJSActionsPromise:Z=this.pdfDocument?.hasJSActions(),mouseState:re=this._scriptingManager?.mouseState,fieldObjectsPromise:J=this.pdfDocument?.getFieldObjects(),annotationCanvasMap:Y=null,accessibilityManager:$=null}){return new S.AnnotationLayerBuilder({pageDiv:O,pdfPage:H,annotationStorage:G,imageResourcesPath:te,renderForms:ue,linkService:this.linkService,downloadManager:this.downloadManager,l10n:se,enableScripting:K,hasJSActionsPromise:Z,mouseState:re,fieldObjectsPromise:J,annotationCanvasMap:Y,accessibilityManager:$})}createAnnotationEditorLayerBuilder({uiManager:O=this.#n,pageDiv:H,pdfPage:G,accessibilityManager:te=null,l10n:ue,annotationStorage:se=this.pdfDocument?.annotationStorage}){return new p.AnnotationEditorLayerBuilder({uiManager:O,pageDiv:H,pdfPage:G,annotationStorage:se,accessibilityManager:te,l10n:ue})}createXfaLayerBuilder({pageDiv:O,pdfPage:H,annotationStorage:G=this.pdfDocument?.annotationStorage}){return new A.XfaLayerBuilder({pageDiv:O,pdfPage:H,annotationStorage:G,linkService:this.linkService})}createStructTreeLayerBuilder({pdfPage:O}){return new b.StructTreeLayerBuilder({pdfPage:O})}get hasEqualPageSizes(){const O=this._pages[0];for(let H=1,G=this._pages.length;H{const H=O.pdfPage.getViewport({scale:1});return!this.enablePrintAutoRotate||(0,v.isPortraitOrientation)(H)?{width:H.width,height:H.height,rotation:H.rotation}:{width:H.height,height:H.width,rotation:(H.rotation-90)%360}})}get optionalContentConfigPromise(){return this.pdfDocument?this._optionalContentConfigPromise?this._optionalContentConfigPromise:(console.error("optionalContentConfigPromise: Not initialized yet."),this.pdfDocument.getOptionalContentConfig()):Promise.resolve(null)}set optionalContentConfigPromise(O){if(!(O instanceof Promise))throw new Error(`Invalid optionalContentConfigPromise: ${O}`);if(!this.pdfDocument||!this._optionalContentConfigPromise)return;this._optionalContentConfigPromise=O;const H={optionalContentConfigPromise:O};for(const G of this._pages)G.update(H);this.update(),this.eventBus.dispatch("optionalcontentconfigchanged",{source:this,promise:O})}get scrollMode(){return this._scrollMode}set scrollMode(O){if(this._scrollMode!==O){if(!(0,v.isValidScrollMode)(O))throw new Error(`Invalid scroll mode: ${O}`);this.pagesCount>j.FORCE_SCROLL_MODE_PAGE||(this._previousScrollMode=this._scrollMode,this._scrollMode=O,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:O}),this._updateScrollMode(this._currentPageNumber))}}_updateScrollMode(O=null){const H=this._scrollMode,G=this.viewer;G.classList.toggle("scrollHorizontal",H===v.ScrollMode.HORIZONTAL),G.classList.toggle("scrollWrapped",H===v.ScrollMode.WRAPPED),this.pdfDocument&&O&&(H===v.ScrollMode.PAGE?this.#l():this._previousScrollMode===v.ScrollMode.PAGE&&this._updateSpreadMode(),this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(O,!0),this.update())}get spreadMode(){return this._spreadMode}set spreadMode(O){if(this._spreadMode!==O){if(!(0,v.isValidSpreadMode)(O))throw new Error(`Invalid spread mode: ${O}`);this._spreadMode=O,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:O}),this._updateSpreadMode(this._currentPageNumber)}}_updateSpreadMode(O=null){if(!this.pdfDocument)return;const H=this.viewer,G=this._pages;if(this._scrollMode===v.ScrollMode.PAGE)this.#l();else if(H.textContent="",this._spreadMode===v.SpreadMode.NONE)for(const te of this._pages)H.append(te.div);else{const te=this._spreadMode-1;let ue=null;for(let se=0,K=G.length;se=re;Z--){const Y=ue[Z+1]-1;if(ue[Z]Y)return Y-O}if(H){const Z=ue[0];if(ZO)return Z-O+1}break}break}case v.ScrollMode.HORIZONTAL:break;case v.ScrollMode.PAGE:case v.ScrollMode.VERTICAL:{if(this._spreadMode===v.SpreadMode.NONE)break;const G=this._spreadMode-1;if(H&&O%2!==G)break;if(!H&&O%2===G)break;const{views:te}=this._getVisiblePages(),ue=H?O-1:O+1;for(const{id:se,percent:K,widthPercent:Z}of te)if(se===ue){if(K>0&&100===Z)return 2;break}break}}return 1}nextPage(){const O=this._currentPageNumber,H=this.pagesCount;if(O>=H)return!1;const G=this._getPageAdvance(O,!1)||1;return this.currentPageNumber=Math.min(O+G,H),!0}previousPage(){const O=this._currentPageNumber;if(O<=1)return!1;const H=this._getPageAdvance(O,!0)||1;return this.currentPageNumber=Math.max(O-H,1),!0}increaseScale(O=1){let H=this._currentScale;do{H=(H*v.DEFAULT_SCALE_DELTA).toFixed(2),H=Math.ceil(10*H)/10,H=Math.min(v.MAX_SCALE,H)}while(--O>0&&H0&&H>v.MIN_SCALE);this.currentScaleValue=H}updateContainerHeightCss(){const O=this.container.clientHeight;O!==this.#c&&(this.#c=O,v.docStyle.setProperty("--viewer-container-height",`${O}px`))}get annotationEditorMode(){return this.#n?this.#t:g.AnnotationEditorType.DISABLE}set annotationEditorMode(O){if(!this.#n)throw new Error("The AnnotationEditor is not enabled.");if(this.#t!==O){if(!T(O))throw new Error(`Invalid AnnotationEditor mode: ${O}`);this.pdfDocument&&(this.#t=O,this.eventBus.dispatch("annotationeditormodechanged",{source:this,mode:O}),this.#n.updateMode(O))}}set annotationEditorParams({type:O,value:H}){if(!this.#n)throw new Error("The AnnotationEditor is not enabled.");this.#n.updateParams(O,H)}refresh(){if(!this.pdfDocument)return;const O={};for(const H of this._pages)H.update(O);this.update()}}u.BaseViewer=x},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFPageView=void 0;var g=c(3),v=c(7),p=c(14),S=c(4),C=c(15);const _=p.compatibilityParams.maxCanvasPixels||16777216;u.PDFPageView=class f{#e=g.AnnotationMode.ENABLE_FORMS;#t={initialOptionalContent:!0,regularAnnotations:!0};constructor(b){const E=b.container,M=b.defaultViewport;this.id=b.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=b.scale||v.DEFAULT_SCALE,this.viewport=M,this.pdfPageRotate=M.rotation,this._optionalContentConfigPromise=b.optionalContentConfigPromise||null,this.hasRestrictedScaling=!1,this.textLayerMode=b.textLayerMode??v.TextLayerMode.ENABLE,this.#e=b.annotationMode??g.AnnotationMode.ENABLE_FORMS,this.imageResourcesPath=b.imageResourcesPath||"",this.useOnlyCssZoom=b.useOnlyCssZoom||!1,this.maxCanvasPixels=b.maxCanvasPixels||_,this.pageColors=b.pageColors||null,this.eventBus=b.eventBus,this.renderingQueue=b.renderingQueue,this.textLayerFactory=b.textLayerFactory,this.annotationLayerFactory=b.annotationLayerFactory,this.annotationEditorLayerFactory=b.annotationEditorLayerFactory,this.xfaLayerFactory=b.xfaLayerFactory,this.textHighlighter=b.textHighlighterFactory?.createTextHighlighter({pageIndex:this.id-1,eventBus:this.eventBus}),this.structTreeLayerFactory=b.structTreeLayerFactory,this.renderer=b.renderer||v.RendererType.CANVAS,this.l10n=b.l10n||S.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=v.RenderingStates.INITIAL,this.resume=null,this._renderError=null,this._isStandalone=!this.renderingQueue?.hasViewer(),this._annotationCanvasMap=null,this.annotationLayer=null,this.annotationEditorLayer=null,this.textLayer=null,this.zoomLayer=null,this.xfaLayer=null,this.structTreeLayer=null;const A=document.createElement("div");if(A.className="page",A.style.width=Math.floor(this.viewport.width)+"px",A.style.height=Math.floor(this.viewport.height)+"px",A.setAttribute("data-page-number",this.id),A.setAttribute("role","region"),this.l10n.get("page_landmark",{page:this.id}).then(I=>{A.setAttribute("aria-label",I)}),this.div=A,E?.append(A),this._isStandalone){const{optionalContentConfigPromise:I}=b;I&&I.then(F=>{I===this._optionalContentConfigPromise&&(this.#t.initialOptionalContent=F.hasInitialVisibility)})}}setPdfPage(b){this.pdfPage=b,this.pdfPageRotate=b.rotate,this.viewport=b.getViewport({scale:this.scale*g.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.reset()}destroy(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}_renderAnnotationLayer(){var b=this;return n(function*(){let E=null;try{yield b.annotationLayer.render(b.viewport,"display")}catch(M){console.error(`_renderAnnotationLayer: "${M}".`),E=M}finally{b.eventBus.dispatch("annotationlayerrendered",{source:b,pageNumber:b.id,error:E})}})()}_renderAnnotationEditorLayer(){var b=this;return n(function*(){let E=null;try{yield b.annotationEditorLayer.render(b.viewport,"display")}catch(M){console.error(`_renderAnnotationEditorLayer: "${M}".`),E=M}finally{b.eventBus.dispatch("annotationeditorlayerrendered",{source:b,pageNumber:b.id,error:E})}})()}_renderXfaLayer(){var b=this;return n(function*(){let E=null;try{const M=yield b.xfaLayer.render(b.viewport,"display");b.textHighlighter&&b._buildXfaTextContentItems(M.textDivs)}catch(M){console.error(`_renderXfaLayer: "${M}".`),E=M}finally{b.eventBus.dispatch("xfalayerrendered",{source:b,pageNumber:b.id,error:E})}})()}_buildXfaTextContentItems(b){var E=this;return n(function*(){const M=yield E.pdfPage.getTextContent(),A=[];for(const I of M.items)A.push(I.str);E.textHighlighter.setTextMapping(b,A),E.textHighlighter.enable()})()}_resetZoomLayer(b=!1){if(!this.zoomLayer)return;const E=this.zoomLayer.firstChild;this.paintedViewportMap.delete(E),E.width=0,E.height=0,b&&this.zoomLayer.remove(),this.zoomLayer=null}reset({keepZoomLayer:b=!1,keepAnnotationLayer:E=!1,keepAnnotationEditorLayer:M=!1,keepXfaLayer:A=!1}={}){this.cancelRendering({keepAnnotationLayer:E,keepAnnotationEditorLayer:M,keepXfaLayer:A}),this.renderingState=v.RenderingStates.INITIAL;const I=this.div;I.style.width=Math.floor(this.viewport.width)+"px",I.style.height=Math.floor(this.viewport.height)+"px";const F=I.childNodes,j=b&&this.zoomLayer||null,T=E&&this.annotationLayer?.div||null,P=M&&this.annotationEditorLayer?.div||null,x=A&&this.xfaLayer?.div||null;for(let N=F.length-1;N>=0;N--){const O=F[N];switch(O){case j:case T:case P:case x:continue}O.remove()}I.removeAttribute("data-loaded"),T&&this.annotationLayer.hide(),P?this.annotationEditorLayer.hide():this.annotationEditorLayer?.destroy(),x&&this.xfaLayer.hide(),j||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon notVisible",this._isStandalone&&this.toggleLoadingIconSpinner(!0),this.loadingIconDiv.setAttribute("role","img"),this.l10n.get("loading").then(N=>{this.loadingIconDiv?.setAttribute("aria-label",N)}),I.append(this.loadingIconDiv)}update({scale:b=0,rotation:E=null,optionalContentConfigPromise:M=null}){if(this.scale=b||this.scale,"number"==typeof E&&(this.rotation=E),M instanceof Promise&&(this._optionalContentConfigPromise=M,M.then(F=>{M===this._optionalContentConfigPromise&&(this.#t.initialOptionalContent=F.hasInitialVisibility)})),this.viewport=this.viewport.clone({scale:this.scale*g.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this._isStandalone&&v.docStyle.setProperty("--scale-factor",this.viewport.scale),this.svg)return this.cssTransform({target:this.svg,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});let I=!1;if(this.canvas&&this.maxCanvasPixels>0){const F=this.outputScale;(Math.floor(this.viewport.width)*F.sx|0)*(Math.floor(this.viewport.height)*F.sy|0)>this.maxCanvasPixels&&(I=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&I)return this.cssTransform({target:this.canvas,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});!this.zoomLayer&&!this.canvas.hidden&&(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform({target:this.zoomLayer.firstChild}),this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0})}cancelRendering({keepAnnotationLayer:b=!1,keepAnnotationEditorLayer:E=!1,keepXfaLayer:M=!1}={}){this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),this.annotationLayer&&(!b||!this.annotationLayer.div)&&(this.annotationLayer.cancel(),this.annotationLayer=null,this._annotationCanvasMap=null),this.annotationEditorLayer&&(!E||!this.annotationEditorLayer.div)&&(this.annotationEditorLayer.cancel(),this.annotationEditorLayer=null),this.xfaLayer&&(!M||!this.xfaLayer.div)&&(this.xfaLayer.cancel(),this.xfaLayer=null,this.textHighlighter?.disable()),this._onTextLayerRendered&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null)}cssTransform({target:b,redrawAnnotationLayer:E=!1,redrawAnnotationEditorLayer:M=!1,redrawXfaLayer:A=!1}){const I=this.viewport.width,F=this.viewport.height,j=this.div;b.style.width=b.parentNode.style.width=j.style.width=Math.floor(I)+"px",b.style.height=b.parentNode.style.height=j.style.height=Math.floor(F)+"px";const T=this.viewport.rotation-this.paintedViewportMap.get(b).rotation,P=Math.abs(T);let x=1,N=1;if((90===P||270===P)&&(x=F/I,N=I/F),b.style.transform=`rotate(${T}deg) scale(${x}, ${N})`,this.textLayer){const O=this.textLayer.viewport,G=Math.abs(this.viewport.rotation-O.rotation);let te=I/O.width;(90===G||270===G)&&(te=I/O.height);const ue=this.textLayer.textLayerDiv;let se,K;switch(G){case 0:se=K=0;break;case 90:se=0,K="-"+ue.style.height;break;case 180:se="-"+ue.style.width,K="-"+ue.style.height;break;case 270:se="-"+ue.style.width,K=0;break;default:console.error("Bad rotation value.")}ue.style.transform=`rotate(${G}deg) scale(${te}) translate(${se}, ${K})`,ue.style.transformOrigin="0% 0%"}E&&this.annotationLayer&&this._renderAnnotationLayer(),M&&this.annotationEditorLayer&&this._renderAnnotationEditorLayer(),A&&this.xfaLayer&&this._renderXfaLayer()}get width(){return this.viewport.width}get height(){return this.viewport.height}getPagePoint(b,E){return this.viewport.convertToPdfPoint(b,E)}toggleLoadingIconSpinner(b=!1){this.loadingIconDiv?.classList.toggle("notVisible",!b)}draw(){var b=this;this.renderingState!==v.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());const{div:E,pdfPage:M}=this;if(!M)return this.renderingState=v.RenderingStates.FINISHED,this.loadingIconDiv&&(this.loadingIconDiv.remove(),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=v.RenderingStates.RUNNING;const A=document.createElement("div");A.style.width=E.style.width,A.style.height=E.style.height,A.classList.add("canvasWrapper");const I=this.annotationLayer?.div||this.annotationEditorLayer?.div;I?I.before(A):E.append(A);let F=null;if(this.textLayerMode!==v.TextLayerMode.DISABLE&&this.textLayerFactory){this._accessibilityManager||=new C.TextAccessibilityManager;const N=document.createElement("div");N.className="textLayer",N.style.width=A.style.width,N.style.height=A.style.height,I?I.before(N):E.append(N),F=this.textLayerFactory.createTextLayerBuilder({textLayerDiv:N,pageIndex:this.id-1,viewport:this.viewport,enhanceTextSelection:this.textLayerMode===v.TextLayerMode.ENABLE_ENHANCE,eventBus:this.eventBus,highlighter:this.textHighlighter,accessibilityManager:this._accessibilityManager})}this.textLayer=F,this.#e!==g.AnnotationMode.DISABLE&&this.annotationLayerFactory&&(this._annotationCanvasMap||=new Map,this.annotationLayer||=this.annotationLayerFactory.createAnnotationLayerBuilder({pageDiv:E,pdfPage:M,imageResourcesPath:this.imageResourcesPath,renderForms:this.#e===g.AnnotationMode.ENABLE_FORMS,l10n:this.l10n,annotationCanvasMap:this._annotationCanvasMap,accessibilityManager:this._accessibilityManager})),this.xfaLayer?.div&&E.append(this.xfaLayer.div);let j=null;this.renderingQueue&&(j=N=>{if(!this.renderingQueue.isHighestPriority(this))return this.renderingState=v.RenderingStates.PAUSED,void(this.resume=()=>{this.renderingState=v.RenderingStates.RUNNING,N()});N()});const T=function(){var N=n(function*(O=null){if(P===b.paintTask&&(b.paintTask=null),O instanceof g.RenderingCancelledException)b._renderError=null;else if(b._renderError=O,b.renderingState=v.RenderingStates.FINISHED,b.loadingIconDiv&&(b.loadingIconDiv.remove(),delete b.loadingIconDiv),b._resetZoomLayer(!0),b.#t.regularAnnotations=!P.separateAnnots,b.eventBus.dispatch("pagerendered",{source:b,pageNumber:b.id,cssTransform:!1,timestamp:performance.now(),error:b._renderError}),O)throw O});return function(){return N.apply(this,arguments)}}(),P=this.renderer===v.RendererType.SVG?this.paintOnSvg(A):this.paintOnCanvas(A);P.onRenderContinue=j,this.paintTask=P;const x=P.promise.then(()=>T(null).then(()=>{if(F){const N=M.streamTextContent({includeMarkedContent:!0});F.setTextContentStream(N),F.render()}this.annotationLayer&&this._renderAnnotationLayer().then(()=>{this.annotationEditorLayerFactory&&(this.annotationEditorLayer||=this.annotationEditorLayerFactory.createAnnotationEditorLayerBuilder({pageDiv:E,pdfPage:M,l10n:this.l10n,accessibilityManager:this._accessibilityManager}),this._renderAnnotationEditorLayer())})}),function(N){return T(N)});return this.xfaLayerFactory&&(this.xfaLayer||=this.xfaLayerFactory.createXfaLayerBuilder({pageDiv:E,pdfPage:M}),this._renderXfaLayer()),this.structTreeLayerFactory&&this.textLayer&&this.canvas&&(this._onTextLayerRendered=N=>{N.pageNumber===this.id&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null,this.canvas&&this.pdfPage.getStructTree().then(O=>{if(!O||!this.canvas)return;const H=this.structTreeLayer.render(O);H.classList.add("structTree"),this.canvas.append(H)}))},this.eventBus._on("textlayerrendered",this._onTextLayerRendered),this.structTreeLayer=this.structTreeLayerFactory.createStructTreeLayerBuilder({pdfPage:M})),E.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),x}paintOnCanvas(b){const E=(0,g.createPromiseCapability)(),M={promise:E.promise,onRenderContinue(te){te()},cancel(){G.cancel()},get separateAnnots(){return G.separateAnnots}},A=this.viewport,I=document.createElement("canvas");I.setAttribute("role","presentation"),I.hidden=!0;let F=!0;const j=function(){F&&(I.hidden=!1,F=!1)};b.append(I),this.canvas=I;const T=I.getContext("2d",{alpha:!1}),P=this.outputScale=new v.OutputScale;if(this.useOnlyCssZoom){const te=A.clone({scale:g.PixelsPerInch.PDF_TO_CSS_UNITS});P.sx*=te.width/A.width,P.sy*=te.height/A.height}if(this.maxCanvasPixels>0){const ue=Math.sqrt(this.maxCanvasPixels/(A.width*A.height));P.sx>ue||P.sy>ue?(P.sx=ue,P.sy=ue,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}const x=(0,v.approximateFraction)(P.sx),N=(0,v.approximateFraction)(P.sy);I.width=(0,v.roundToDivide)(A.width*P.sx,x[0]),I.height=(0,v.roundToDivide)(A.height*P.sy,N[0]),I.style.width=(0,v.roundToDivide)(A.width,x[1])+"px",I.style.height=(0,v.roundToDivide)(A.height,N[1])+"px",this.paintedViewportMap.set(I,A);const H={canvasContext:T,transform:P.scaled?[P.sx,0,0,P.sy,0,0]:null,viewport:this.viewport,annotationMode:this.#e,optionalContentConfigPromise:this._optionalContentConfigPromise,annotationCanvasMap:this._annotationCanvasMap,pageColors:this.pageColors},G=this.pdfPage.render(H);return G.onContinue=function(te){j(),M.onRenderContinue?M.onRenderContinue(te):te()},G.promise.then(function(){j(),E.resolve()},function(te){j(),E.reject(te)}),M}paintOnSvg(b){let E=!1;const M=()=>{if(E)throw new g.RenderingCancelledException(`Rendering cancelled, page ${this.id}`,"svg")},A=this.pdfPage,I=this.viewport.clone({scale:g.PixelsPerInch.PDF_TO_CSS_UNITS});return{promise:A.getOperatorList({annotationMode:this.#e}).then(j=>(M(),new g.SVGGraphics(A.commonObjs,A.objs).getSVG(j,I).then(P=>{M(),this.svg=P,this.paintedViewportMap.set(P,I),P.style.width=b.style.width,P.style.height=b.style.height,this.renderingState=v.RenderingStates.FINISHED,b.append(P)}))),onRenderContinue(j){j()},cancel(){E=!0},get separateAnnots(){return!1}}}setPageLabel(b){this.pageLabel="string"==typeof b?b:null,null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}get thumbnailCanvas(){const{initialOptionalContent:b,regularAnnotations:E}=this.#t;return b&&E?this.canvas:null}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.compatibilityParams=u.OptionKind=u.AppOptions=void 0;const c=Object.create(null);u.compatibilityParams=c;{const C=navigator.userAgent||"",_=navigator.platform||"",f=navigator.maxTouchPoints||1,y=/Android/.test(C);(/\b(iPad|iPhone|iPod)(?=;)/.test(C)||"MacIntel"===_&&f>1||y)&&(c.maxCanvasPixels=5242880)}const g={VIEWER:2,API:4,WORKER:8,PREFERENCE:128};u.OptionKind=g;const v={annotationEditorMode:{value:-1,kind:g.VIEWER+g.PREFERENCE},annotationMode:{value:2,kind:g.VIEWER+g.PREFERENCE},cursorToolOnLoad:{value:0,kind:g.VIEWER+g.PREFERENCE},defaultZoomValue:{value:"",kind:g.VIEWER+g.PREFERENCE},disableHistory:{value:!1,kind:g.VIEWER},disablePageLabels:{value:!1,kind:g.VIEWER+g.PREFERENCE},enablePermissions:{value:!1,kind:g.VIEWER+g.PREFERENCE},enablePrintAutoRotate:{value:!0,kind:g.VIEWER+g.PREFERENCE},enableScripting:{value:!0,kind:g.VIEWER+g.PREFERENCE},externalLinkRel:{value:"noopener noreferrer nofollow",kind:g.VIEWER},externalLinkTarget:{value:0,kind:g.VIEWER+g.PREFERENCE},historyUpdateUrl:{value:!1,kind:g.VIEWER+g.PREFERENCE},ignoreDestinationZoom:{value:!1,kind:g.VIEWER+g.PREFERENCE},imageResourcesPath:{value:"./images/",kind:g.VIEWER},maxCanvasPixels:{value:16777216,kind:g.VIEWER},forcePageColors:{value:!1,kind:g.VIEWER+g.PREFERENCE},pageColorsBackground:{value:"Canvas",kind:g.VIEWER+g.PREFERENCE},pageColorsForeground:{value:"CanvasText",kind:g.VIEWER+g.PREFERENCE},pdfBugEnabled:{value:!1,kind:g.VIEWER+g.PREFERENCE},printResolution:{value:150,kind:g.VIEWER},sidebarViewOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},scrollModeOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},spreadModeOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},textLayerMode:{value:1,kind:g.VIEWER+g.PREFERENCE},useOnlyCssZoom:{value:!1,kind:g.VIEWER+g.PREFERENCE},viewerCssTheme:{value:0,kind:g.VIEWER+g.PREFERENCE},viewOnLoad:{value:0,kind:g.VIEWER+g.PREFERENCE},cMapPacked:{value:!0,kind:g.API},cMapUrl:{value:"../web/cmaps/",kind:g.API},disableAutoFetch:{value:!1,kind:g.API+g.PREFERENCE},disableFontFace:{value:!1,kind:g.API+g.PREFERENCE},disableRange:{value:!1,kind:g.API+g.PREFERENCE},disableStream:{value:!1,kind:g.API+g.PREFERENCE},docBaseUrl:{value:"",kind:g.API},enableXfa:{value:!0,kind:g.API+g.PREFERENCE},fontExtraProperties:{value:!1,kind:g.API},isEvalSupported:{value:!0,kind:g.API},maxImageSize:{value:-1,kind:g.API},pdfBug:{value:!1,kind:g.API},standardFontDataUrl:{value:"../web/standard_fonts/",kind:g.API},verbosity:{value:1,kind:g.API},workerPort:{value:null,kind:g.WORKER},workerSrc:{value:"../build/pdf.worker.js",kind:g.WORKER}};v.defaultUrl={value:"compressed.tracemonkey-pldi-09.pdf",kind:g.VIEWER},v.disablePreferences={value:!1,kind:g.VIEWER},v.locale={value:navigator.language||"en-US",kind:g.VIEWER},v.renderer={value:"canvas",kind:g.VIEWER+g.PREFERENCE},v.sandboxBundleSrc={value:"../build/pdf.sandbox.js",kind:g.VIEWER};const p=Object.create(null);u.AppOptions=class S{constructor(){throw new Error("Cannot initialize AppOptions.")}static get(_){const f=p[_];if(void 0!==f)return f;const y=v[_];return void 0!==y?c[_]??y.value:void 0}static getAll(_=null){const f=Object.create(null);for(const y in v){const b=v[y];if(_){if(!(_&b.kind))continue;if(_===g.PREFERENCE){const M=b.value,A=typeof M;if("boolean"===A||"string"===A||"number"===A&&Number.isInteger(M)){f[y]=M;continue}throw new Error(`Invalid type for preference: ${y}`)}}const E=p[y];f[y]=void 0!==E?E:c[y]??b.value}return f}static set(_,f){p[_]=f}static setAll(_){for(const f in _)p[f]=_[f]}static remove(_){delete p[_]}static _hasUserOptions(){return Object.keys(p).length>0}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.TextAccessibilityManager=void 0;var g=c(7);class v{#e=!1;#t=null;#n=new Map;#r=new Map;setTextMapping(S){this.#t=S}static#o(S,C){const _=S.getBoundingClientRect(),f=C.getBoundingClientRect();if(0===_.width&&0===_.height)return 1;if(0===f.width&&0===f.height)return-1;const E=_.y+_.height/2,I=f.y+f.height/2;return E<=f.y&&I>=_.y+_.height?-1:I<=_.y&&E>=f.y+f.height?1:_.x+_.width/2-(f.x+f.width/2)}enable(){if(this.#e)throw new Error("TextAccessibilityManager is already enabled.");if(!this.#t)throw new Error("Text divs and strings have not been set.");if(this.#e=!0,this.#t=this.#t.slice(),this.#t.sort(v.#o),this.#n.size>0){const S=this.#t;for(const[C,_]of this.#n)document.getElementById(C)?this.#c(C,S[_]):this.#n.delete(C)}for(const[S,C]of this.#r)this.addPointerInTextLayer(S,C);this.#r.clear()}disable(){this.#e&&(this.#r.clear(),this.#t=null,this.#e=!1)}removePointerInTextLayer(S){if(!this.#e)return void this.#r.delete(S);const C=this.#t;if(!C||0===C.length)return;const{id:_}=S,f=this.#n.get(_);if(void 0===f)return;const y=C[f];this.#n.delete(_);let b=y.getAttribute("aria-owns");b?.includes(_)&&(b=b.split(" ").filter(E=>E!==_).join(" "),b?y.setAttribute("aria-owns",b):(y.removeAttribute("aria-owns"),y.setAttribute("role","presentation")))}#c(S,C){const _=C.getAttribute("aria-owns");_?.includes(S)||C.setAttribute("aria-owns",_?`${_} ${S}`:S),C.removeAttribute("role")}addPointerInTextLayer(S,C){const{id:_}=S;if(!_)return;if(!this.#e)return void this.#r.set(S,C);C&&this.removePointerInTextLayer(S);const f=this.#t;if(!f||0===f.length)return;const y=(0,g.binarySearchFirstItem)(f,E=>v.#o(S,E)<0),b=Math.max(0,y-1);this.#c(_,f[b]),this.#n.set(_,b)}moveElementInDOM(S,C,_,f){if(this.addPointerInTextLayer(_,f),!S.hasChildNodes())return void S.append(C);const y=Array.from(S.childNodes).filter(M=>M!==C);if(0===y.length)return;const b=_||C,E=(0,g.binarySearchFirstItem)(y,M=>v.#o(b,M)<0);0===E?y[0].before(C):y[E-1].after(C)}}u.TextAccessibilityManager=v},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFRenderingQueue=void 0;var g=c(3),v=c(7);u.PDFRenderingQueue=class S{constructor(){this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}setViewer(_){this.pdfViewer=_}setThumbnailViewer(_){this.pdfThumbnailViewer=_}isHighestPriority(_){return this.highestPriorityPage===_.renderingId}hasViewer(){return!!this.pdfViewer}renderHighestPriority(_){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),!this.pdfViewer.forceRendering(_)&&(this.isThumbnailViewEnabled&&this.pdfThumbnailViewer?.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4)))}getHighestPriority(_,f,y,b=!1){const E=_.views,M=E.length;if(0===M)return null;for(let T=0;TM){const T=_.ids;for(let P=1,x=I-A;P{this.renderHighestPriority()}).catch(f=>{f instanceof g.RenderingCancelledException||console.error(`renderView: "${f}"`)})}return!0}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.TextHighlighter=void 0,u.TextHighlighter=class c{constructor({findController:v,eventBus:p,pageIndex:S}){this.findController=v,this.matches=[],this.eventBus=p,this.pageIdx=S,this._onUpdateTextLayerMatches=null,this.textDivs=null,this.textContentItemsStr=null,this.enabled=!1}setTextMapping(v,p){this.textDivs=v,this.textContentItemsStr=p}enable(){if(!this.textDivs||!this.textContentItemsStr)throw new Error("Text divs and strings have not been set.");if(this.enabled)throw new Error("TextHighlighter is already enabled.");this.enabled=!0,this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=v=>{(v.pageIndex===this.pageIdx||-1===v.pageIndex)&&this._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches)),this._updateMatches()}disable(){this.enabled&&(this.enabled=!1,this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null))}_convertMatches(v,p){if(!v)return[];const{textContentItemsStr:S}=this;let C=0,_=0;const f=S.length-1,y=[];for(let b=0,E=v.length;b=_+S[C].length;)_+=S[C].length,C++;C===S.length&&console.error("Could not find a matching mapping");const A={begin:{divIdx:C,offset:M-_}};for(M+=p[b];C!==f&&M>_+S[C].length;)_+=S[C].length,C++;A.end={divIdx:C,offset:M-_},y.push(A)}return y}_renderMatches(v){if(0===v.length)return;const{findController:p,pageIdx:S}=this,{textContentItemsStr:C,textDivs:_}=this,f=S===p.selected.pageIdx,y=p.selected.matchIdx;let E=null;function A(T,P){const x=T.divIdx;return _[x].textContent="",I(x,0,T.offset,P)}function I(T,P,x,N){let O=_[T];if(O.nodeType===Node.TEXT_NODE){const te=document.createElement("span");O.before(te),te.append(O),_[T]=te,O=te}const H=C[T].substring(P,x),G=document.createTextNode(H);if(N){const te=document.createElement("span");return te.className=`${N} appended`,te.append(G),O.append(te),N.includes("selected")?te.offsetLeft:0}return O.append(G),0}let F=y,j=F+1;if(p.state.highlightAll)F=0,j=v.length;else if(!f)return;for(let T=F;T{Object.defineProperty(u,"__esModule",{value:!0}),u.DownloadManager=void 0;var g=c(3);function v(S,C){const _=document.createElement("a");if(!_.click)throw new Error('DownloadManager: "a.click()" is not supported.');_.href=S,_.target="_parent","download"in _&&(_.download=C),(document.body||document.documentElement).append(_),_.click(),_.remove()}u.DownloadManager=class p{constructor(){this._openBlobUrls=new WeakMap}downloadUrl(C,_){(0,g.createValidAbsoluteUrl)(C,"http://example.com")?v(C+"#pdfjs.action=download",_):console.error(`downloadUrl - not a valid URL: ${C}`)}downloadData(C,_,f){v(URL.createObjectURL(new Blob([C],{type:f})),_)}openOrDownloadData(C,_,f){const y=(0,g.isPdfFile)(f),b=y?"application/pdf":"";if(y){let M,E=this._openBlobUrls.get(C);E||(E=URL.createObjectURL(new Blob([_],{type:b})),this._openBlobUrls.set(C,E)),M="?file="+encodeURIComponent(E+"#"+f);try{return window.open(M),!0}catch(A){console.error(`openOrDownloadData: ${A}`),URL.revokeObjectURL(E),this._openBlobUrls.delete(C)}}return this.downloadData(_,f,b),!1}download(C,_,f){v(URL.createObjectURL(C),f)}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.WaitOnType=u.EventBus=u.AutomationEventBus=void 0,u.waitOnEventOrTimeout=function g({target:S,name:C,delay:_=0}){return new Promise(function(f,y){if("object"!=typeof S||!C||"string"!=typeof C||!(Number.isInteger(_)&&_>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function b(I){S instanceof v?S._off(C,E):S.removeEventListener(C,E),A&&clearTimeout(A),f(I)}const E=b.bind(null,c.EVENT);S instanceof v?S._on(C,E):S.addEventListener(C,E);const M=b.bind(null,c.TIMEOUT),A=setTimeout(M,_)})};const c={EVENT:"event",TIMEOUT:"timeout"};u.WaitOnType=c;class v{constructor(){this._listeners=Object.create(null)}on(C,_,f=null){this._on(C,_,{external:!0,once:f?.once})}off(C,_,f=null){this._off(C,_,{external:!0,once:f?.once})}dispatch(C,_){const f=this._listeners[C];if(!f||0===f.length)return;let y;for(const{listener:b,external:E,once:M}of f.slice(0))M&&this._off(C,b),E?(y||=[]).push(b):b(_);if(y){for(const b of y)b(_);y=null}}_on(C,_,f=null){(this._listeners[C]||=[]).push({listener:_,external:!0===f?.external,once:!0===f?.once})}_off(C,_,f=null){const y=this._listeners[C];if(y)for(let b=0,E=y.length;b{Object.defineProperty(u,"__esModule",{value:!0}),u.GenericL10n=void 0,c(21);var g=c(4);const v=document.webL10n;u.GenericL10n=class p{constructor(C){this._lang=C,this._ready=new Promise((_,f)=>{v.setLanguage((0,g.fixupLangCode)(C),()=>{_(v)})})}getLanguage(){var C=this;return n(function*(){return(yield C._ready).getLanguage()})()}getDirection(){var C=this;return n(function*(){return(yield C._ready).getDirection()})()}get(C,_=null,f=(0,g.getL10nFallback)(C,_)){var y=this;return n(function*(){return(yield y._ready).get(C,_,f)})()}translate(C){var _=this;return n(function*(){return(yield _._ready).translate(C)})()}}},()=>{document.webL10n=function(e,u,c){var g={},v="",p="textContent",S="",C={},_="loading",f=!0;function A(te,ue,se){ue=ue||function(re){},se=se||function(){};var K=new XMLHttpRequest;K.open("GET",te,f),K.overrideMimeType&&K.overrideMimeType("text/plain; charset=utf-8"),K.onreadystatechange=function(){4==K.readyState&&(200==K.status||0===K.status?ue(K.responseText):se())},K.onerror=se,K.ontimeout=se;try{K.send(null)}catch{se()}}function F(te,ue){te&&(te=te.toLowerCase()),ue=ue||function(){},function j(){g={},v="",S=""}(),S=te;var se=function y(){return u.querySelectorAll('link[type="application/l10n"]')}(),K=se.length;if(0!==K){var Y,$=0;Y=function(){++$>=K&&(ue(),_="complete")};for(var ee=0;ee0?(ee=le.substring(0,ye),we=le.substring(ye+1)):(ee=le,we=p),g[ee]||(g[ee]={}),g[ee][we]=$[le]}se&&se()})},K)}(Oe,ve,_e,function(){console.warn(Oe+" not found."),console.warn('"'+ve+'" resource not found'),S="",_e()})}}}function P(te,ue,se){var K=g[te];if(!K){if(console.warn("#"+te+" is undefined."),!se)return null;K=se}var Z={};for(var re in K){var J=K[re];J=N(J=x(J,ue,te,re),ue,te),Z[re]=J}return Z}function x(te,ue,se,K){var re=/\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/.exec(te);if(!re||!re.length)return te;var $,J=re[1],Y=re[2];return ue&&Y in ue?$=ue[Y]:Y in g&&($=g[Y]),J in C&&(te=(0,C[J])(te,$,se,K)),te}function N(te,ue,se){return te.replace(/\{\{\s*(.+?)\s*\}\}/g,function(Z,re){return ue&&re in ue?ue[re]:re in g?g[re]:(console.log("argument {{"+re+"}} for #"+se+" is undefined."),Z)})}function O(te){var ue=function M(te){if(!te)return{};var ue=te.getAttribute("data-l10n-id"),se=te.getAttribute("data-l10n-args"),K={};if(se)try{K=JSON.parse(se)}catch{console.warn("could not parse arguments for #"+ue)}return{id:ue,args:K}}(te);if(ue.id){var se=P(ue.id,ue.args);if(!se)return void console.warn("#"+ue.id+" is undefined.");if(se[p]){if(0===function H(te){if(te.children)return te.children.length;if(typeof te.childElementCount<"u")return te.childElementCount;for(var ue=0,se=0;se0&&(Z=te.substring(K+1),te=te.substring(0,K)),se&&((re={})[Z]=se);var J=P(te,ue,re);return J&&Z in J?J[Z]:"{{"+te+"}}"},getData:function(){return g},getText:function(){return v},getLanguage:function(){return S},setLanguage:function(te,ue){F(te,function(){ue&&ue()})},getDirection:function(){var ue=S.split("-",1)[0];return["ar","he","fa","ps","ur"].indexOf(ue)>=0?"rtl":"ltr"},translate:function G(te){for(var ue=function E(te){return te?te.querySelectorAll("*[data-l10n-id]"):[]}(te=te||u.documentElement),se=ue.length,K=0;K{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFFindController=u.FindState=void 0;var g=c(7),v=c(3),p=c(23);const S={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};u.FindState=S;const y={"\u2010":"-","\u2018":"'","\u2019":"'","\u201a":"'","\u201b":"'","\u201c":'"',"\u201d":'"',"\u201e":'"',"\u201f":'"',"\xbc":"1/4","\xbd":"1/2","\xbe":"3/4"},b=new Set([12441,12442,2381,2509,2637,2765,2893,3021,3149,3277,3387,3388,3405,3530,3642,3770,3972,4153,4154,5908,5940,6098,6752,6980,7082,7083,7154,7155,11647,43014,43052,43204,43347,43456,43766,44013,3158,3953,3954,3962,3963,3964,3965,3968,3956]),E=[...b.values()].map(te=>String.fromCharCode(te)).join(""),M=new RegExp("\\p{M}+","gu"),A=new RegExp("([.*+?^${}()|[\\]\\\\])|(\\p{P})|(\\s+)|(\\p{M})|(\\p{L})","gu"),I=new RegExp("([^\\p{M}])\\p{M}*$","u"),F=new RegExp("^\\p{M}*([^\\p{M}])","u"),j=/[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g,T=new Map;let x=null,N=null;function O(te){const ue=[];let se,K;for(;null!==(se=j.exec(te));){let{index:Oe}=se;for(const ve of se[0]){let _e=T.get(ve);_e||(_e=ve.normalize("NFD").length,T.set(ve,_e)),ue.push([_e,Oe++])}}if(0===ue.length&&x)K=x;else if(ue.length>0&&N)K=N;else{const ve=`([${Object.keys(y).join("")}])|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|(\\n)`;K=0===ue.length?x=new RegExp(ve+"|(\\u0000)","gum"):N=new RegExp(ve+"|([\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f])","gum")}const Z=[];for(;null!==(se=M.exec(te));)Z.push([se[0].length,se.index]);let re=te.normalize("NFD");const J=[[0,0]];let Y=0,$=0,le=0,ee=0,we=0,ye=!1;return re=re.replace(K,(Oe,ve,_e,Pe,Ze,ot,tt)=>{if(tt-=ee,ve){const mt=y[Oe],Qe=mt.length;for(let Ct=1;CtY[0]>=K);te[re][0]>K&&--re;let J=(0,g.binarySearchFirstItem)(te,Y=>Y[0]>=Z,re);return te[J][0]>Z&&--J,[K+te[re][1],se+te[J][1]-te[re][1]]}u.PDFFindController=class G{constructor({linkService:ue,eventBus:se}){this._linkService=ue,this._eventBus=se,this.#t(),se._on("find",this.#e.bind(this)),se._on("findbarclose",this.#_.bind(this))}get highlightMatches(){return this._highlightMatches}get pageMatches(){return this._pageMatches}get pageMatchesLength(){return this._pageMatchesLength}get selected(){return this._selected}get state(){return this._state}setDocument(ue){this._pdfDocument&&this.#t(),ue&&(this._pdfDocument=ue,this._firstPageCapability.resolve())}#e(ue){if(!ue)return;const se=this._pdfDocument,{type:K}=ue;(null===this._state||this.#r(ue))&&(this._dirtyMatch=!0),this._state=ue,"highlightallchange"!==K&&this.#d(S.PENDING),this._firstPageCapability.promise.then(()=>{if(!this._pdfDocument||se&&this._pdfDocument!==se)return;this.#h();const Z=!this._highlightMatches,re=!!this._findTimeout;this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),K?this._dirtyMatch?this.#s():"again"===K?(this.#s(),Z&&this._state.highlightAll&&this.#l()):"highlightallchange"===K?(re?this.#s():this._highlightMatches=!0,this.#l()):this.#s():this._findTimeout=setTimeout(()=>{this.#s(),this._findTimeout=null},250)})}scrollMatchIntoView({element:ue=null,selectedLeft:se=0,pageIndex:K=-1,matchIndex:Z=-1}){this._scrollMatches&&ue&&-1!==Z&&Z===this._selected.matchIdx&&-1!==K&&K===this._selected.pageIdx&&(this._scrollMatches=!1,(0,g.scrollIntoView)(ue,{top:-50,left:se+-400},!0))}#t(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._hasDiacritics=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,v.createPromiseCapability)()}get#n(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,[this._normalizedQuery]=O(this._state.query)),this._normalizedQuery}#r(ue){if(ue.query!==this._state.query)return!0;switch(ue.type){case"again":const se=this._selected.pageIdx+1,K=this._linkService;return se>=1&&se<=K.pagesCount&&se!==K.page&&!K.isPageVisible(se);case"highlightallchange":return!1}return!0}#o(ue,se,K){let Z=ue.slice(0,se).match(I);if(Z){const re=ue.charCodeAt(se),J=Z[1].charCodeAt(0);if((0,p.getCharacterType)(re)===(0,p.getCharacterType)(J))return!1}if(Z=ue.slice(se+K).match(F),Z){const re=ue.charCodeAt(se+K-1),J=Z[1].charCodeAt(0);if((0,p.getCharacterType)(re)===(0,p.getCharacterType)(J))return!1}return!0}#c(ue,se,K,Z){const re=[],J=[],Y=this._pageDiffs[K];let $;for(;null!==($=ue.exec(Z));){if(se&&!this.#o(Z,$.index,$[0].length))continue;const[le,ee]=H(Y,$.index,$[0].length);ee&&(re.push(le),J.push(ee))}this._pageMatches[K]=re,this._pageMatchesLength[K]=J}#a(ue,se){const{matchDiacritics:K}=this._state;let Z=!1;return(ue=ue.replace(A,(J,Y,$,le,ee,we)=>Y?`[ ]*\\${Y}[ ]*`:$?`[ ]*${$}[ ]*`:le?"[ ]+":K?ee||we:ee?b.has(ee.charCodeAt(0))?ee:"":se?(Z=!0,`${we}\\p{M}*`):we)).endsWith("[ ]*")&&(ue=ue.slice(0,ue.length-4)),K&&se&&(Z=!0,ue=`${ue}(?=[${E}]|[^\\p{M}]|$)`),[Z,ue]}#i(ue){let se=this.#n;if(0===se.length)return;const{caseSensitive:K,entireWord:Z,phraseSearch:re}=this._state,J=this._pageContents[ue],Y=this._hasDiacritics[ue];let $=!1;if(re)[$,se]=this.#a(se,Y);else{const we=se.match(/\S+/g);we&&(se=we.sort().reverse().map(ye=>{const[Oe,ve]=this.#a(ye,Y);return $||=Oe,`(${ve})`}).join("|"))}se=new RegExp(se,`g${$?"u":""}${K?"":"i"}`),this.#c(se,Z,ue,J),this._state.highlightAll&&this.#u(ue),this._resumePageIdx===ue&&(this._resumePageIdx=null,this.#f());const ee=this._pageMatches[ue].length;ee>0&&(this._matchesCountTotal+=ee,this.#b())}#h(){if(this._extractTextPromises.length>0)return;let ue=Promise.resolve();for(let se=0,K=this._linkService.pagesCount;sethis._pdfDocument.getPage(se+1).then(re=>re.getTextContent()).then(re=>{const J=[];for(const Y of re.items)J.push(Y.str),Y.hasEOL&&J.push("\n");[this._pageContents[se],this._pageDiffs[se],this._hasDiacritics[se]]=O(J.join("")),Z.resolve()},re=>{console.error(`Unable to get text content for page ${se+1}`,re),this._pageContents[se]="",this._pageDiffs[se]=null,this._hasDiacritics[se]=!1,Z.resolve()}))}}#u(ue){this._scrollMatches&&this._selected.pageIdx===ue&&(this._linkService.page=ue+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:ue})}#l(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}#s(){const ue=this._state.findPrevious,se=this._linkService.page-1,K=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=se,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,this.#l();for(let re=0;re{this._pendingFindMatches.delete(re),this.#i(re)}))}if(""===this.#n)return void this.#d(S.FOUND);if(this._resumePageIdx)return;const Z=this._offset;if(this._pagesToSearch=K,null!==Z.matchIdx){if(!ue&&Z.matchIdx+10)return Z.matchIdx=ue?Z.matchIdx-1:Z.matchIdx+1,void this.#p(!0);this.#v(ue)}this.#f()}#g(ue){const se=this._offset,K=ue.length,Z=this._state.findPrevious;return K?(se.matchIdx=Z?K-1:0,this.#p(!0),!0):(this.#v(Z),!!(se.wrapped&&(se.matchIdx=null,this._pagesToSearch<0))&&(this.#p(!1),!0))}#f(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");let ue=null;do{const se=this._offset.pageIdx;if(ue=this._pageMatches[se],!ue){this._resumePageIdx=se;break}}while(!this.#g(ue))}#v(ue){const se=this._offset,K=this._linkService.pagesCount;se.pageIdx=ue?se.pageIdx-1:se.pageIdx+1,se.matchIdx=null,this._pagesToSearch--,(se.pageIdx>=K||se.pageIdx<0)&&(se.pageIdx=ue?K-1:0,se.wrapped=!0)}#p(ue=!1){let se=S.NOT_FOUND;const K=this._offset.wrapped;if(this._offset.wrapped=!1,ue){const Z=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,se=K?S.WRAPPED:S.FOUND,-1!==Z&&Z!==this._selected.pageIdx&&this.#u(Z)}this.#d(se,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this.#u(this._selected.pageIdx))}#_(ue){const se=this._pdfDocument;this._firstPageCapability.promise.then(()=>{!this._pdfDocument||se&&this._pdfDocument!==se||(this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),this._resumePageIdx&&(this._resumePageIdx=null,this._dirtyMatch=!0),this.#d(S.FOUND),this._highlightMatches=!1,this.#l())})}#S(){const{pageIdx:ue,matchIdx:se}=this._selected;let K=0,Z=this._matchesCountTotal;if(-1!==se){for(let re=0;reZ)&&(K=Z=0),{current:K,total:Z}}#b(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this.#S()})}#d(ue,se=!1){this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:ue,previous:se,matchesCount:this.#S(),rawQuery:this._state?.query??null})}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.CharacterType=void 0,u.getCharacterType=function M(A){return function g(A){return A<11904}(A)?function v(A){return 0==(65408&A)}(A)?function C(A){return 32===A||9===A||13===A||10===A}(A)?c.SPACE:function p(A){return A>=97&&A<=122||A>=65&&A<=90}(A)||function S(A){return A>=48&&A<=57}(A)||95===A?c.ALPHA_LETTER:c.PUNCT:function E(A){return 3584==(65408&A)}(A)?c.THAI_LETTER:160===A?c.SPACE:c.ALPHA_LETTER:function _(A){return A>=13312&&A<=40959||A>=63744&&A<=64255}(A)?c.HAN_LETTER:function f(A){return A>=12448&&A<=12543}(A)?c.KATAKANA_LETTER:function y(A){return A>=12352&&A<=12447}(A)?c.HIRAGANA_LETTER:function b(A){return A>=65376&&A<=65439}(A)?c.HALFWIDTH_KATAKANA_LETTER:c.ALPHA_LETTER};const c={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};u.CharacterType=c},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFHistory=void 0,u.isDestArraysEqual=b,u.isDestHashesEqual=y;var g=c(7),v=c(19);function _(){return document.location.hash}function y(E,M){return"string"==typeof E&&"string"==typeof M&&(E===M||(0,g.parseQueryString)(E).get("nameddest")===M)}function b(E,M){function A(I,F){if(typeof I!=typeof F||Array.isArray(I)||Array.isArray(F))return!1;if(null!==I&&"object"==typeof I&&null!==F){if(Object.keys(I).length!==Object.keys(F).length)return!1;for(const j in I)if(!A(I[j],F[j]))return!1;return!0}return I===F||Number.isNaN(I)&&Number.isNaN(F)}if(!Array.isArray(E)||!Array.isArray(M)||E.length!==M.length)return!1;for(let I=0,F=E.length;I{this._isPagesLoaded=!1,this.eventBus._on("pagesloaded",I=>{this._isPagesLoaded=!!I.pagesCount},{once:!0})})}initialize({fingerprint:M,resetHistory:A=!1,updateUrl:I=!1}){if(!M||"string"!=typeof M)return void console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.');this._initialized&&this.reset();const F=""!==this._fingerprint&&this._fingerprint!==M;this._fingerprint=M,this._updateUrl=!0===I,this._initialized=!0,this._bindEvents();const j=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=_(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(j,!0)||A){const{hash:P,page:x,rotation:N}=this._parseCurrentHash(!0);return!P||F||A?void this._pushOrReplaceState(null,!0):void this._pushOrReplaceState({hash:P,page:x,rotation:N},!0)}const T=j.destination;this._updateInternalState(T,j.uid,!0),void 0!==T.rotation&&(this._initialRotation=T.rotation),T.dest?(this._initialBookmark=JSON.stringify(T.dest),this._destination.page=null):T.hash?this._initialBookmark=T.hash:T.page&&(this._initialBookmark=`page=${T.page}`)}reset(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}push({namedDest:M=null,explicitDest:A,pageNumber:I}){if(!this._initialized)return;if(M&&"string"!=typeof M)return void console.error(`PDFHistory.push: "${M}" is not a valid namedDest parameter.`);if(!Array.isArray(A))return void console.error(`PDFHistory.push: "${A}" is not a valid explicitDest parameter.`);if(!this._isValidPage(I)&&(null!==I||this._destination))return void console.error(`PDFHistory.push: "${I}" is not a valid pageNumber parameter.`);const F=M||JSON.stringify(A);if(!F)return;let j=!1;if(this._destination&&(y(this._destination.hash,F)||b(this._destination.dest,A))){if(this._destination.page)return;j=!0}this._popStateInProgress&&!j||(this._pushOrReplaceState({dest:A,hash:F,page:I,rotation:this.linkService.rotation},j),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1})))}pushPage(M){if(this._initialized){if(!this._isValidPage(M))return void console.error(`PDFHistory.pushPage: "${M}" is not a valid page number.`);this._destination?.page!==M&&(this._popStateInProgress||(this._pushOrReplaceState({dest:null,hash:`page=${M}`,page:M,rotation:this.linkService.rotation}),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1}))))}}pushCurrentPosition(){!this._initialized||this._popStateInProgress||this._tryPushCurrentPosition()}back(){if(!this._initialized||this._popStateInProgress)return;const M=window.history.state;this._isValidState(M)&&M.uid>0&&window.history.back()}forward(){if(!this._initialized||this._popStateInProgress)return;const M=window.history.state;this._isValidState(M)&&M.uid0)}get initialBookmark(){return this._initialized?this._initialBookmark:null}get initialRotation(){return this._initialized?this._initialRotation:null}_pushOrReplaceState(M,A=!1){const I=A||!this._destination,F={fingerprint:this._fingerprint,uid:I?this._uid:this._uid+1,destination:M};let j;if(this._updateInternalState(M,F.uid),this._updateUrl&&M?.hash){const T=document.location.href.split("#")[0];T.startsWith("file://")||(j=`${T}#${M.hash}`)}I?window.history.replaceState(F,"",j):window.history.pushState(F,"",j)}_tryPushCurrentPosition(M=!1){if(!this._position)return;let A=this._position;if(M&&(A=Object.assign(Object.create(null),this._position),A.temporary=!0),!this._destination)return void this._pushOrReplaceState(A);if(this._destination.temporary)return void this._pushOrReplaceState(A,!0);if(this._destination.hash===A.hash||!this._destination.page&&this._numPositionUpdates<=50)return;let I=!1;if(this._destination.page>=A.first&&this._destination.page<=A.page){if(void 0!==this._destination.dest||!this._destination.first)return;I=!0}this._pushOrReplaceState(A,I)}_isValidPage(M){return Number.isInteger(M)&&M>0&&M<=this.linkService.pagesCount}_isValidState(M,A=!1){if(!M)return!1;if(M.fingerprint!==this._fingerprint){if(!A)return!1;{if("string"!=typeof M.fingerprint||M.fingerprint.length!==this._fingerprint.length)return!1;const[I]=performance.getEntriesByType("navigation");if("reload"!==I?.type)return!1}}return!(!Number.isInteger(M.uid)||M.uid<0||null===M.destination||"object"!=typeof M.destination)}_updateInternalState(M,A,I=!1){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),I&&M?.temporary&&delete M.temporary,this._destination=M,this._uid=A,this._maxUid=Math.max(this._maxUid,A),this._numPositionUpdates=0}_parseCurrentHash(M=!1){const A=unescape(_()).substring(1),I=(0,g.parseQueryString)(A),F=I.get("nameddest")||"";let j=0|I.get("page");return(!this._isValidPage(j)||M&&F.length>0)&&(j=null),{hash:A,page:j,rotation:this.linkService.rotation}}_updateViewarea({location:M}){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:M.pdfOpenParams.substring(1),page:this.linkService.page,first:M.pageNumber,rotation:M.rotation},!this._popStateInProgress&&(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout(()=>{this._popStateInProgress||this._tryPushCurrentPosition(!0),this._updateViewareaTimeout=null},1e3))}_popState({state:M}){const A=_(),I=this._currentHash!==A;if(this._currentHash=A,!M){this._uid++;const{hash:j,page:T,rotation:P}=this._parseCurrentHash();return void this._pushOrReplaceState({hash:j,page:T,rotation:P},!0)}if(!this._isValidState(M))return;this._popStateInProgress=!0,I&&(this._blockHashChange++,(0,v.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:1e3}).then(()=>{this._blockHashChange--}));const F=M.destination;this._updateInternalState(F,M.uid,!0),(0,g.isValidRotation)(F.rotation)&&(this.linkService.rotation=F.rotation),F.dest?this.linkService.goToDestination(F.dest):F.hash?this.linkService.setHash(F.hash):F.page&&(this.linkService.page=F.page),Promise.resolve().then(()=>{this._popStateInProgress=!1})}_pageHide(){(!this._destination||this._destination.temporary)&&this._tryPushCurrentPosition()}_bindEvents(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}_unbindEvents(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFScriptingManager=void 0;var g=c(7),v=c(3);u.PDFScriptingManager=class p{constructor({eventBus:C,sandboxBundleSrc:_=null,scriptingFactory:f=null,docPropertiesLookup:y=null}){this._pdfDocument=null,this._pdfViewer=null,this._closeCapability=null,this._destroyCapability=null,this._scripting=null,this._mouseState=Object.create(null),this._ready=!1,this._eventBus=C,this._sandboxBundleSrc=_,this._scriptingFactory=f,this._docPropertiesLookup=y,this._scriptingFactory||window.addEventListener("updatefromsandbox",b=>{this._eventBus.dispatch("updatefromsandbox",{source:window,detail:b.detail})})}setViewer(C){this._pdfViewer=C}setDocument(C){var _=this;return n(function*(){if(_._pdfDocument&&(yield _._destroyScripting()),_._pdfDocument=C,!C)return;const[f,y,b]=yield Promise.all([C.getFieldObjects(),C.getCalculationOrderIds(),C.getJSActions()]);if(f||b){if(C===_._pdfDocument){try{_._scripting=_._createScripting()}catch(E){return console.error(`PDFScriptingManager.setDocument: "${E?.message}".`),void(yield _._destroyScripting())}_._internalEvents.set("updatefromsandbox",E=>{E?.source===window&&_._updateFromSandbox(E.detail)}),_._internalEvents.set("dispatcheventinsandbox",E=>{_._scripting?.dispatchEventInSandbox(E.detail)}),_._internalEvents.set("pagechanging",({pageNumber:E,previous:M})=>{E!==M&&(_._dispatchPageClose(M),_._dispatchPageOpen(E))}),_._internalEvents.set("pagerendered",({pageNumber:E})=>{_._pageOpenPending.has(E)&&E===_._pdfViewer.currentPageNumber&&_._dispatchPageOpen(E)}),_._internalEvents.set("pagesdestroy",function(){var E=n(function*(M){yield _._dispatchPageClose(_._pdfViewer.currentPageNumber),yield _._scripting?.dispatchEventInSandbox({id:"doc",name:"WillClose"}),_._closeCapability?.resolve()});return function(M){return E.apply(this,arguments)}}()),_._domEvents.set("mousedown",E=>{_._mouseState.isDown=!0}),_._domEvents.set("mouseup",E=>{_._mouseState.isDown=!1});for(const[E,M]of _._internalEvents)_._eventBus._on(E,M);for(const[E,M]of _._domEvents)window.addEventListener(E,M,!0);try{const E=yield _._getDocProperties();if(C!==_._pdfDocument)return;yield _._scripting.createSandbox({objects:f,calculationOrder:y,appInfo:{platform:navigator.platform,language:navigator.language},docInfo:{...E,actions:b}}),_._eventBus.dispatch("sandboxcreated",{source:_})}catch(E){return console.error(`PDFScriptingManager.setDocument: "${E?.message}".`),void(yield _._destroyScripting())}yield _._scripting?.dispatchEventInSandbox({id:"doc",name:"Open"}),yield _._dispatchPageOpen(_._pdfViewer.currentPageNumber,!0),Promise.resolve().then(()=>{C===_._pdfDocument&&(_._ready=!0)})}}else yield _._destroyScripting()})()}dispatchWillSave(C){var _=this;return n(function*(){return _._scripting?.dispatchEventInSandbox({id:"doc",name:"WillSave"})})()}dispatchDidSave(C){var _=this;return n(function*(){return _._scripting?.dispatchEventInSandbox({id:"doc",name:"DidSave"})})()}dispatchWillPrint(C){var _=this;return n(function*(){return _._scripting?.dispatchEventInSandbox({id:"doc",name:"WillPrint"})})()}dispatchDidPrint(C){var _=this;return n(function*(){return _._scripting?.dispatchEventInSandbox({id:"doc",name:"DidPrint"})})()}get mouseState(){return this._mouseState}get destroyPromise(){return this._destroyCapability?.promise||null}get ready(){return this._ready}get _internalEvents(){return(0,v.shadow)(this,"_internalEvents",new Map)}get _domEvents(){return(0,v.shadow)(this,"_domEvents",new Map)}get _pageOpenPending(){return(0,v.shadow)(this,"_pageOpenPending",new Set)}get _visitedPages(){return(0,v.shadow)(this,"_visitedPages",new Map)}_updateFromSandbox(C){var _=this;return n(function*(){const f=_._pdfViewer.isInPresentationMode||_._pdfViewer.isChangingPresentationMode,{id:y,siblings:b,command:E,value:M}=C;if(!y){switch(E){case"clear":console.clear();break;case"error":console.error(M);break;case"layout":if(f)return;const I=(0,g.apiPageLayoutToViewerModes)(M);_._pdfViewer.spreadMode=I.spreadMode;break;case"page-num":_._pdfViewer.currentPageNumber=M+1;break;case"print":yield _._pdfViewer.pagesPromise,_._eventBus.dispatch("print",{source:_});break;case"println":console.log(M);break;case"zoom":if(f)return;_._pdfViewer.currentScaleValue=M;break;case"SaveAs":_._eventBus.dispatch("download",{source:_});break;case"FirstPage":_._pdfViewer.currentPageNumber=1;break;case"LastPage":_._pdfViewer.currentPageNumber=_._pdfViewer.pagesCount;break;case"NextPage":_._pdfViewer.nextPage();break;case"PrevPage":_._pdfViewer.previousPage();break;case"ZoomViewIn":if(f)return;_._pdfViewer.increaseScale();break;case"ZoomViewOut":if(f)return;_._pdfViewer.decreaseScale()}return}if(f&&C.focus)return;delete C.id,delete C.siblings;const A=b?[y,...b]:[y];for(const I of A){const F=document.querySelector(`[data-element-id="${I}"]`);F?F.dispatchEvent(new CustomEvent("updatefromsandbox",{detail:C})):_._pdfDocument?.annotationStorage.setValue(I,C)}})()}_dispatchPageOpen(C,_=!1){var f=this;return n(function*(){const y=f._pdfDocument,b=f._visitedPages;if(_&&(f._closeCapability=(0,v.createPromiseCapability)()),!f._closeCapability)return;const E=f._pdfViewer.getPageView(C-1);if(E?.renderingState!==g.RenderingStates.FINISHED)return void f._pageOpenPending.add(C);f._pageOpenPending.delete(C);const M=n(function*(){const A=yield b.has(C)?null:E.pdfPage?.getJSActions();y===f._pdfDocument&&(yield f._scripting?.dispatchEventInSandbox({id:"page",name:"PageOpen",pageNumber:C,actions:A}))})();b.set(C,M)})()}_dispatchPageClose(C){var _=this;return n(function*(){const f=_._pdfDocument,y=_._visitedPages;if(!_._closeCapability||_._pageOpenPending.has(C))return;const b=y.get(C);b&&(y.set(C,null),yield b,f===_._pdfDocument&&(yield _._scripting?.dispatchEventInSandbox({id:"page",name:"PageClose",pageNumber:C})))})()}_getDocProperties(){var C=this;return n(function*(){if(C._docPropertiesLookup)return C._docPropertiesLookup(C._pdfDocument);const{docPropertiesLookup:_}=c(26);return _(C._pdfDocument)})()}_createScripting(){if(this._destroyCapability=(0,v.createPromiseCapability)(),this._scripting)throw new Error("_createScripting: Scripting already exists.");if(this._scriptingFactory)return this._scriptingFactory.createScripting({sandboxBundleSrc:this._sandboxBundleSrc});const{GenericScripting:C}=c(26);return new C(this._sandboxBundleSrc)}_destroyScripting(){var C=this;return n(function*(){if(!C._scripting)return C._pdfDocument=null,void C._destroyCapability?.resolve();C._closeCapability&&(yield Promise.race([C._closeCapability.promise,new Promise(_=>{setTimeout(_,1e3)})]).catch(_=>{}),C._closeCapability=null),C._pdfDocument=null;try{yield C._scripting.destroySandbox()}catch{}for(const[_,f]of C._internalEvents)C._eventBus._off(_,f);C._internalEvents.clear();for(const[_,f]of C._domEvents)window.removeEventListener(_,f,!0);C._domEvents.clear(),C._pageOpenPending.clear(),C._visitedPages.clear(),C._scripting=null,delete C._mouseState.isDown,C._ready=!1,C._destroyCapability?.resolve()})()}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.GenericScripting=void 0,u.docPropertiesLookup=function v(C){return p.apply(this,arguments)};var g=c(3);function p(){return(p=n(function*(C){const f="".split("#")[0];let{info:y,metadata:b,contentDispositionFilename:E,contentLength:M}=yield C.getMetadata();if(!M){const{length:A}=yield C.getDownloadInfo();M=A}return{...y,baseURL:f,filesize:M,filename:E||(0,g.getPdfFilenameFromUrl)(""),metadata:b?.getRaw(),authors:b?.get("dc:creator"),numPages:C.numPages,URL:""}})).apply(this,arguments)}u.GenericScripting=class S{constructor(_){this._ready=(0,g.loadScript)(_,!0).then(()=>window.pdfjsSandbox.QuickJSSandbox())}createSandbox(_){var f=this;return n(function*(){(yield f._ready).create(_)})()}dispatchEventInSandbox(_){var f=this;return n(function*(){const y=yield f._ready;setTimeout(()=>y.dispatchEvent(_),0)})()}destroySandbox(){var _=this;return n(function*(){(yield _._ready).nukeSandbox()})()}}}],d={};function a(e){var u=d[e];if(void 0!==u)return u.exports;var c=d[e]={exports:{}};return i[e](c,c.exports,a),c.exports}var l={};return(()=>{var e=l;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return p.AnnotationLayerBuilder}}),Object.defineProperty(e,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return u.DefaultAnnotationLayerFactory}}),Object.defineProperty(e,"DefaultStructTreeLayerFactory",{enumerable:!0,get:function(){return u.DefaultStructTreeLayerFactory}}),Object.defineProperty(e,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return u.DefaultTextLayerFactory}}),Object.defineProperty(e,"DefaultXfaLayerFactory",{enumerable:!0,get:function(){return u.DefaultXfaLayerFactory}}),Object.defineProperty(e,"DownloadManager",{enumerable:!0,get:function(){return S.DownloadManager}}),Object.defineProperty(e,"EventBus",{enumerable:!0,get:function(){return C.EventBus}}),Object.defineProperty(e,"GenericL10n",{enumerable:!0,get:function(){return _.GenericL10n}}),Object.defineProperty(e,"LinkTarget",{enumerable:!0,get:function(){return c.LinkTarget}}),Object.defineProperty(e,"NullL10n",{enumerable:!0,get:function(){return f.NullL10n}}),Object.defineProperty(e,"PDFFindController",{enumerable:!0,get:function(){return y.PDFFindController}}),Object.defineProperty(e,"PDFHistory",{enumerable:!0,get:function(){return b.PDFHistory}}),Object.defineProperty(e,"PDFLinkService",{enumerable:!0,get:function(){return c.PDFLinkService}}),Object.defineProperty(e,"PDFPageView",{enumerable:!0,get:function(){return E.PDFPageView}}),Object.defineProperty(e,"PDFScriptingManager",{enumerable:!0,get:function(){return M.PDFScriptingManager}}),Object.defineProperty(e,"PDFSinglePageViewer",{enumerable:!0,get:function(){return v.PDFSinglePageViewer}}),Object.defineProperty(e,"PDFViewer",{enumerable:!0,get:function(){return v.PDFViewer}}),Object.defineProperty(e,"ProgressBar",{enumerable:!0,get:function(){return g.ProgressBar}}),Object.defineProperty(e,"RenderingStates",{enumerable:!0,get:function(){return g.RenderingStates}}),Object.defineProperty(e,"ScrollMode",{enumerable:!0,get:function(){return g.ScrollMode}}),Object.defineProperty(e,"SimpleLinkService",{enumerable:!0,get:function(){return c.SimpleLinkService}}),Object.defineProperty(e,"SpreadMode",{enumerable:!0,get:function(){return g.SpreadMode}}),Object.defineProperty(e,"StructTreeLayerBuilder",{enumerable:!0,get:function(){return A.StructTreeLayerBuilder}}),Object.defineProperty(e,"TextLayerBuilder",{enumerable:!0,get:function(){return I.TextLayerBuilder}}),Object.defineProperty(e,"XfaLayerBuilder",{enumerable:!0,get:function(){return F.XfaLayerBuilder}}),Object.defineProperty(e,"parseQueryString",{enumerable:!0,get:function(){return g.parseQueryString}});var u=a(1),c=a(6),g=a(7),v=a(11),p=a(5),S=a(18),C=a(19),_=a(20),f=a(4),y=a(22),b=a(24),E=a(13),M=a(25),A=a(8),I=a(9),F=a(10)})(),l})()},80103:function(pe,h,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(_i,xi,qr,ar){void 0===ar&&(ar=qr),Object.defineProperty(_i,ar,{enumerable:!0,get:function(){return xi[qr]}})}:function(_i,xi,qr,ar){void 0===ar&&(ar=qr),_i[ar]=xi[qr]}),i=this&&this.__exportStar||function(_i,xi){for(var qr in _i)"default"!==qr&&!Object.prototype.hasOwnProperty.call(xi,qr)&&n(xi,_i,qr)};Object.defineProperty(h,"__esModule",{value:!0}),h.interval=h.iif=h.generate=h.fromEventPattern=h.fromEvent=h.from=h.forkJoin=h.empty=h.defer=h.connectable=h.concat=h.combineLatest=h.bindNodeCallback=h.bindCallback=h.UnsubscriptionError=h.TimeoutError=h.SequenceError=h.ObjectUnsubscribedError=h.NotFoundError=h.EmptyError=h.ArgumentOutOfRangeError=h.firstValueFrom=h.lastValueFrom=h.isObservable=h.identity=h.noop=h.pipe=h.NotificationKind=h.Notification=h.Subscriber=h.Subscription=h.Scheduler=h.VirtualAction=h.VirtualTimeScheduler=h.animationFrameScheduler=h.animationFrame=h.queueScheduler=h.queue=h.asyncScheduler=h.async=h.asapScheduler=h.asap=h.AsyncSubject=h.ReplaySubject=h.BehaviorSubject=h.Subject=h.animationFrames=h.observable=h.ConnectableObservable=h.Observable=void 0,h.filter=h.expand=h.exhaustMap=h.exhaustAll=h.exhaust=h.every=h.endWith=h.elementAt=h.distinctUntilKeyChanged=h.distinctUntilChanged=h.distinct=h.dematerialize=h.delayWhen=h.delay=h.defaultIfEmpty=h.debounceTime=h.debounce=h.count=h.connect=h.concatWith=h.concatMapTo=h.concatMap=h.concatAll=h.combineLatestWith=h.combineLatestAll=h.combineAll=h.catchError=h.bufferWhen=h.bufferToggle=h.bufferTime=h.bufferCount=h.buffer=h.auditTime=h.audit=h.config=h.NEVER=h.EMPTY=h.scheduled=h.zip=h.using=h.timer=h.throwError=h.range=h.race=h.partition=h.pairs=h.onErrorResumeNext=h.of=h.never=h.merge=void 0,h.switchMap=h.switchAll=h.subscribeOn=h.startWith=h.skipWhile=h.skipUntil=h.skipLast=h.skip=h.single=h.shareReplay=h.share=h.sequenceEqual=h.scan=h.sampleTime=h.sample=h.refCount=h.retryWhen=h.retry=h.repeatWhen=h.repeat=h.reduce=h.raceWith=h.publishReplay=h.publishLast=h.publishBehavior=h.publish=h.pluck=h.pairwise=h.onErrorResumeNextWith=h.observeOn=h.multicast=h.min=h.mergeWith=h.mergeScan=h.mergeMapTo=h.mergeMap=h.flatMap=h.mergeAll=h.max=h.materialize=h.mapTo=h.map=h.last=h.isEmpty=h.ignoreElements=h.groupBy=h.first=h.findIndex=h.find=h.finalize=void 0,h.zipWith=h.zipAll=h.withLatestFrom=h.windowWhen=h.windowToggle=h.windowTime=h.windowCount=h.window=h.toArray=h.timestamp=h.timeoutWith=h.timeout=h.timeInterval=h.throwIfEmpty=h.throttleTime=h.throttle=h.tap=h.takeWhile=h.takeUntil=h.takeLast=h.take=h.switchScan=h.switchMapTo=void 0;var d=o(15448);Object.defineProperty(h,"Observable",{enumerable:!0,get:function(){return d.Observable}});var a=o(42416);Object.defineProperty(h,"ConnectableObservable",{enumerable:!0,get:function(){return a.ConnectableObservable}});var l=o(72064);Object.defineProperty(h,"observable",{enumerable:!0,get:function(){return l.observable}});var e=o(72444);Object.defineProperty(h,"animationFrames",{enumerable:!0,get:function(){return e.animationFrames}});var u=o(90120);Object.defineProperty(h,"Subject",{enumerable:!0,get:function(){return u.Subject}});var c=o(60488);Object.defineProperty(h,"BehaviorSubject",{enumerable:!0,get:function(){return c.BehaviorSubject}});var g=o(38640);Object.defineProperty(h,"ReplaySubject",{enumerable:!0,get:function(){return g.ReplaySubject}});var v=o(70408);Object.defineProperty(h,"AsyncSubject",{enumerable:!0,get:function(){return v.AsyncSubject}});var p=o(24860);Object.defineProperty(h,"asap",{enumerable:!0,get:function(){return p.asap}}),Object.defineProperty(h,"asapScheduler",{enumerable:!0,get:function(){return p.asapScheduler}});var S=o(69252);Object.defineProperty(h,"async",{enumerable:!0,get:function(){return S.async}}),Object.defineProperty(h,"asyncScheduler",{enumerable:!0,get:function(){return S.asyncScheduler}});var C=o(72056);Object.defineProperty(h,"queue",{enumerable:!0,get:function(){return C.queue}}),Object.defineProperty(h,"queueScheduler",{enumerable:!0,get:function(){return C.queueScheduler}});var _=o(70232);Object.defineProperty(h,"animationFrame",{enumerable:!0,get:function(){return _.animationFrame}}),Object.defineProperty(h,"animationFrameScheduler",{enumerable:!0,get:function(){return _.animationFrameScheduler}});var f=o(45992);Object.defineProperty(h,"VirtualTimeScheduler",{enumerable:!0,get:function(){return f.VirtualTimeScheduler}}),Object.defineProperty(h,"VirtualAction",{enumerable:!0,get:function(){return f.VirtualAction}});var y=o(25784);Object.defineProperty(h,"Scheduler",{enumerable:!0,get:function(){return y.Scheduler}});var b=o(40576);Object.defineProperty(h,"Subscription",{enumerable:!0,get:function(){return b.Subscription}});var E=o(41596);Object.defineProperty(h,"Subscriber",{enumerable:!0,get:function(){return E.Subscriber}});var M=o(12032);Object.defineProperty(h,"Notification",{enumerable:!0,get:function(){return M.Notification}}),Object.defineProperty(h,"NotificationKind",{enumerable:!0,get:function(){return M.NotificationKind}});var A=o(19512);Object.defineProperty(h,"pipe",{enumerable:!0,get:function(){return A.pipe}});var I=o(48320);Object.defineProperty(h,"noop",{enumerable:!0,get:function(){return I.noop}});var F=o(55184);Object.defineProperty(h,"identity",{enumerable:!0,get:function(){return F.identity}});var j=o(38104);Object.defineProperty(h,"isObservable",{enumerable:!0,get:function(){return j.isObservable}});var T=o(59452);Object.defineProperty(h,"lastValueFrom",{enumerable:!0,get:function(){return T.lastValueFrom}});var P=o(79632);Object.defineProperty(h,"firstValueFrom",{enumerable:!0,get:function(){return P.firstValueFrom}});var x=o(32929);Object.defineProperty(h,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return x.ArgumentOutOfRangeError}});var N=o(51544);Object.defineProperty(h,"EmptyError",{enumerable:!0,get:function(){return N.EmptyError}});var O=o(15496);Object.defineProperty(h,"NotFoundError",{enumerable:!0,get:function(){return O.NotFoundError}});var H=o(92304);Object.defineProperty(h,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return H.ObjectUnsubscribedError}});var G=o(71016);Object.defineProperty(h,"SequenceError",{enumerable:!0,get:function(){return G.SequenceError}});var te=o(20268);Object.defineProperty(h,"TimeoutError",{enumerable:!0,get:function(){return te.TimeoutError}});var ue=o(9560);Object.defineProperty(h,"UnsubscriptionError",{enumerable:!0,get:function(){return ue.UnsubscriptionError}});var se=o(1856);Object.defineProperty(h,"bindCallback",{enumerable:!0,get:function(){return se.bindCallback}});var K=o(78872);Object.defineProperty(h,"bindNodeCallback",{enumerable:!0,get:function(){return K.bindNodeCallback}});var Z=o(60128);Object.defineProperty(h,"combineLatest",{enumerable:!0,get:function(){return Z.combineLatest}});var re=o(24560);Object.defineProperty(h,"concat",{enumerable:!0,get:function(){return re.concat}});var J=o(7976);Object.defineProperty(h,"connectable",{enumerable:!0,get:function(){return J.connectable}});var Y=o(71896);Object.defineProperty(h,"defer",{enumerable:!0,get:function(){return Y.defer}});var $=o(31456);Object.defineProperty(h,"empty",{enumerable:!0,get:function(){return $.empty}});var le=o(93052);Object.defineProperty(h,"forkJoin",{enumerable:!0,get:function(){return le.forkJoin}});var ee=o(38485);Object.defineProperty(h,"from",{enumerable:!0,get:function(){return ee.from}});var we=o(85e3);Object.defineProperty(h,"fromEvent",{enumerable:!0,get:function(){return we.fromEvent}});var ye=o(46744);Object.defineProperty(h,"fromEventPattern",{enumerable:!0,get:function(){return ye.fromEventPattern}});var Oe=o(92560);Object.defineProperty(h,"generate",{enumerable:!0,get:function(){return Oe.generate}});var ve=o(46696);Object.defineProperty(h,"iif",{enumerable:!0,get:function(){return ve.iif}});var _e=o(2071);Object.defineProperty(h,"interval",{enumerable:!0,get:function(){return _e.interval}});var Pe=o(14152);Object.defineProperty(h,"merge",{enumerable:!0,get:function(){return Pe.merge}});var Ze=o(15672);Object.defineProperty(h,"never",{enumerable:!0,get:function(){return Ze.never}});var ot=o(41536);Object.defineProperty(h,"of",{enumerable:!0,get:function(){return ot.of}});var tt=o(9460);Object.defineProperty(h,"onErrorResumeNext",{enumerable:!0,get:function(){return tt.onErrorResumeNext}});var mt=o(15292);Object.defineProperty(h,"pairs",{enumerable:!0,get:function(){return mt.pairs}});var Qe=o(91792);Object.defineProperty(h,"partition",{enumerable:!0,get:function(){return Qe.partition}});var Ct=o(84048);Object.defineProperty(h,"race",{enumerable:!0,get:function(){return Ct.race}});var Xe=o(12384);Object.defineProperty(h,"range",{enumerable:!0,get:function(){return Xe.range}});var nt=o(3312);Object.defineProperty(h,"throwError",{enumerable:!0,get:function(){return nt.throwError}});var Pt=o(34168);Object.defineProperty(h,"timer",{enumerable:!0,get:function(){return Pt.timer}});var tn=o(28684);Object.defineProperty(h,"using",{enumerable:!0,get:function(){return tn.using}});var hn=o(59172);Object.defineProperty(h,"zip",{enumerable:!0,get:function(){return hn.zip}});var wn=o(44232);Object.defineProperty(h,"scheduled",{enumerable:!0,get:function(){return wn.scheduled}});var An=o(31456);Object.defineProperty(h,"EMPTY",{enumerable:!0,get:function(){return An.EMPTY}});var _n=o(15672);Object.defineProperty(h,"NEVER",{enumerable:!0,get:function(){return _n.NEVER}}),i(o(68828),h);var qt=o(90584);Object.defineProperty(h,"config",{enumerable:!0,get:function(){return qt.config}});var ht=o(18380);Object.defineProperty(h,"audit",{enumerable:!0,get:function(){return ht.audit}});var Ue=o(1393);Object.defineProperty(h,"auditTime",{enumerable:!0,get:function(){return Ue.auditTime}});var Ee=o(42744);Object.defineProperty(h,"buffer",{enumerable:!0,get:function(){return Ee.buffer}});var Te=o(57864);Object.defineProperty(h,"bufferCount",{enumerable:!0,get:function(){return Te.bufferCount}});var $e=o(42704);Object.defineProperty(h,"bufferTime",{enumerable:!0,get:function(){return $e.bufferTime}});var je=o(21964);Object.defineProperty(h,"bufferToggle",{enumerable:!0,get:function(){return je.bufferToggle}});var gt=o(16323);Object.defineProperty(h,"bufferWhen",{enumerable:!0,get:function(){return gt.bufferWhen}});var He=o(11708);Object.defineProperty(h,"catchError",{enumerable:!0,get:function(){return He.catchError}});var vt=o(25184);Object.defineProperty(h,"combineAll",{enumerable:!0,get:function(){return vt.combineAll}});var ut=o(86576);Object.defineProperty(h,"combineLatestAll",{enumerable:!0,get:function(){return ut.combineLatestAll}});var wt=o(71480);Object.defineProperty(h,"combineLatestWith",{enumerable:!0,get:function(){return wt.combineLatestWith}});var st=o(26608);Object.defineProperty(h,"concatAll",{enumerable:!0,get:function(){return st.concatAll}});var zt=o(68584);Object.defineProperty(h,"concatMap",{enumerable:!0,get:function(){return zt.concatMap}});var pt=o(38776);Object.defineProperty(h,"concatMapTo",{enumerable:!0,get:function(){return pt.concatMapTo}});var It=o(23332);Object.defineProperty(h,"concatWith",{enumerable:!0,get:function(){return It.concatWith}});var Yt=o(59056);Object.defineProperty(h,"connect",{enumerable:!0,get:function(){return Yt.connect}});var Xt=o(95572);Object.defineProperty(h,"count",{enumerable:!0,get:function(){return Xt.count}});var At=o(42568);Object.defineProperty(h,"debounce",{enumerable:!0,get:function(){return At.debounce}});var $t=o(86275);Object.defineProperty(h,"debounceTime",{enumerable:!0,get:function(){return $t.debounceTime}});var St=o(14707);Object.defineProperty(h,"defaultIfEmpty",{enumerable:!0,get:function(){return St.defaultIfEmpty}});var xt=o(99592);Object.defineProperty(h,"delay",{enumerable:!0,get:function(){return xt.delay}});var nn=o(59304);Object.defineProperty(h,"delayWhen",{enumerable:!0,get:function(){return nn.delayWhen}});var bn=o(84204);Object.defineProperty(h,"dematerialize",{enumerable:!0,get:function(){return bn.dematerialize}});var Tn=o(51256);Object.defineProperty(h,"distinct",{enumerable:!0,get:function(){return Tn.distinct}});var rn=o(21544);Object.defineProperty(h,"distinctUntilChanged",{enumerable:!0,get:function(){return rn.distinctUntilChanged}});var nr=o(61544);Object.defineProperty(h,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return nr.distinctUntilKeyChanged}});var kr=o(51808);Object.defineProperty(h,"elementAt",{enumerable:!0,get:function(){return kr.elementAt}});var Br=o(48568);Object.defineProperty(h,"endWith",{enumerable:!0,get:function(){return Br.endWith}});var sr=o(21592);Object.defineProperty(h,"every",{enumerable:!0,get:function(){return sr.every}});var Er=o(53704);Object.defineProperty(h,"exhaust",{enumerable:!0,get:function(){return Er.exhaust}});var br=o(34288);Object.defineProperty(h,"exhaustAll",{enumerable:!0,get:function(){return br.exhaustAll}});var qn=o(44632);Object.defineProperty(h,"exhaustMap",{enumerable:!0,get:function(){return qn.exhaustMap}});var Rn=o(84624);Object.defineProperty(h,"expand",{enumerable:!0,get:function(){return Rn.expand}});var oi=o(39840);Object.defineProperty(h,"filter",{enumerable:!0,get:function(){return oi.filter}});var Sr=o(99440);Object.defineProperty(h,"finalize",{enumerable:!0,get:function(){return Sr.finalize}});var pr=o(70939);Object.defineProperty(h,"find",{enumerable:!0,get:function(){return pr.find}});var Jn=o(69496);Object.defineProperty(h,"findIndex",{enumerable:!0,get:function(){return Jn.findIndex}});var er=o(11848);Object.defineProperty(h,"first",{enumerable:!0,get:function(){return er.first}});var Or=o(17909);Object.defineProperty(h,"groupBy",{enumerable:!0,get:function(){return Or.groupBy}});var pi=o(77392);Object.defineProperty(h,"ignoreElements",{enumerable:!0,get:function(){return pi.ignoreElements}});var en=o(73564);Object.defineProperty(h,"isEmpty",{enumerable:!0,get:function(){return en.isEmpty}});var jn=o(2696);Object.defineProperty(h,"last",{enumerable:!0,get:function(){return jn.last}});var Qn=o(784);Object.defineProperty(h,"map",{enumerable:!0,get:function(){return Qn.map}});var or=o(89224);Object.defineProperty(h,"mapTo",{enumerable:!0,get:function(){return or.mapTo}});var ui=o(6832);Object.defineProperty(h,"materialize",{enumerable:!0,get:function(){return ui.materialize}});var Pr=o(34808);Object.defineProperty(h,"max",{enumerable:!0,get:function(){return Pr.max}});var ct=o(50304);Object.defineProperty(h,"mergeAll",{enumerable:!0,get:function(){return ct.mergeAll}});var Rt=o(98924);Object.defineProperty(h,"flatMap",{enumerable:!0,get:function(){return Rt.flatMap}});var kt=o(33480);Object.defineProperty(h,"mergeMap",{enumerable:!0,get:function(){return kt.mergeMap}});var on=o(73232);Object.defineProperty(h,"mergeMapTo",{enumerable:!0,get:function(){return on.mergeMapTo}});var dn=o(3380);Object.defineProperty(h,"mergeScan",{enumerable:!0,get:function(){return dn.mergeScan}});var Mn=o(57308);Object.defineProperty(h,"mergeWith",{enumerable:!0,get:function(){return Mn.mergeWith}});var En=o(87832);Object.defineProperty(h,"min",{enumerable:!0,get:function(){return En.min}});var Zn=o(66752);Object.defineProperty(h,"multicast",{enumerable:!0,get:function(){return Zn.multicast}});var Yn=o(33752);Object.defineProperty(h,"observeOn",{enumerable:!0,get:function(){return Yn.observeOn}});var Tr=o(19184);Object.defineProperty(h,"onErrorResumeNextWith",{enumerable:!0,get:function(){return Tr.onErrorResumeNextWith}});var Mr=o(74612);Object.defineProperty(h,"pairwise",{enumerable:!0,get:function(){return Mr.pairwise}});var zn=o(64712);Object.defineProperty(h,"pluck",{enumerable:!0,get:function(){return zn.pluck}});var ur=o(70320);Object.defineProperty(h,"publish",{enumerable:!0,get:function(){return ur.publish}});var Mi=o(40360);Object.defineProperty(h,"publishBehavior",{enumerable:!0,get:function(){return Mi.publishBehavior}});var un=o(64960);Object.defineProperty(h,"publishLast",{enumerable:!0,get:function(){return un.publishLast}});var U=o(23944);Object.defineProperty(h,"publishReplay",{enumerable:!0,get:function(){return U.publishReplay}});var z=o(53424);Object.defineProperty(h,"raceWith",{enumerable:!0,get:function(){return z.raceWith}});var ae=o(39980);Object.defineProperty(h,"reduce",{enumerable:!0,get:function(){return ae.reduce}});var Fe=o(90532);Object.defineProperty(h,"repeat",{enumerable:!0,get:function(){return Fe.repeat}});var Ae=o(15696);Object.defineProperty(h,"repeatWhen",{enumerable:!0,get:function(){return Ae.repeatWhen}});var fe=o(584);Object.defineProperty(h,"retry",{enumerable:!0,get:function(){return fe.retry}});var De=o(46856);Object.defineProperty(h,"retryWhen",{enumerable:!0,get:function(){return De.retryWhen}});var rt=o(60300);Object.defineProperty(h,"refCount",{enumerable:!0,get:function(){return rt.refCount}});var _t=o(64968);Object.defineProperty(h,"sample",{enumerable:!0,get:function(){return _t.sample}});var Tt=o(97792);Object.defineProperty(h,"sampleTime",{enumerable:!0,get:function(){return Tt.sampleTime}});var Bt=o(17752);Object.defineProperty(h,"scan",{enumerable:!0,get:function(){return Bt.scan}});var Jt=o(43904);Object.defineProperty(h,"sequenceEqual",{enumerable:!0,get:function(){return Jt.sequenceEqual}});var mn=o(95912);Object.defineProperty(h,"share",{enumerable:!0,get:function(){return mn.share}});var vn=o(20468);Object.defineProperty(h,"shareReplay",{enumerable:!0,get:function(){return vn.shareReplay}});var Cn=o(43952);Object.defineProperty(h,"single",{enumerable:!0,get:function(){return Cn.single}});var fn=o(98196);Object.defineProperty(h,"skip",{enumerable:!0,get:function(){return fn.skip}});var Gt=o(47832);Object.defineProperty(h,"skipLast",{enumerable:!0,get:function(){return Gt.skipLast}});var Nn=o(36840);Object.defineProperty(h,"skipUntil",{enumerable:!0,get:function(){return Nn.skipUntil}});var lr=o(49856);Object.defineProperty(h,"skipWhile",{enumerable:!0,get:function(){return lr.skipWhile}});var cr=o(59612);Object.defineProperty(h,"startWith",{enumerable:!0,get:function(){return cr.startWith}});var Nr=o(67992);Object.defineProperty(h,"subscribeOn",{enumerable:!0,get:function(){return Nr.subscribeOn}});var Lr=o(63368);Object.defineProperty(h,"switchAll",{enumerable:!0,get:function(){return Lr.switchAll}});var dt=o(39876);Object.defineProperty(h,"switchMap",{enumerable:!0,get:function(){return dt.switchMap}});var lo=o(57168);Object.defineProperty(h,"switchMapTo",{enumerable:!0,get:function(){return lo.switchMapTo}});var vi=o(19980);Object.defineProperty(h,"switchScan",{enumerable:!0,get:function(){return vi.switchScan}});var _r=o(38120);Object.defineProperty(h,"take",{enumerable:!0,get:function(){return _r.take}});var In=o(32224);Object.defineProperty(h,"takeLast",{enumerable:!0,get:function(){return In.takeLast}});var Gn=o(91540);Object.defineProperty(h,"takeUntil",{enumerable:!0,get:function(){return Gn.takeUntil}});var si=o(35408);Object.defineProperty(h,"takeWhile",{enumerable:!0,get:function(){return si.takeWhile}});var Ir=o(46748);Object.defineProperty(h,"tap",{enumerable:!0,get:function(){return Ir.tap}});var ai=o(66720);Object.defineProperty(h,"throttle",{enumerable:!0,get:function(){return ai.throttle}});var Fn=o(44236);Object.defineProperty(h,"throttleTime",{enumerable:!0,get:function(){return Fn.throttleTime}});var ti=o(51056);Object.defineProperty(h,"throwIfEmpty",{enumerable:!0,get:function(){return ti.throwIfEmpty}});var Zr=o(39500);Object.defineProperty(h,"timeInterval",{enumerable:!0,get:function(){return Zr.timeInterval}});var Xr=o(20268);Object.defineProperty(h,"timeout",{enumerable:!0,get:function(){return Xr.timeout}});var Vi=o(88536);Object.defineProperty(h,"timeoutWith",{enumerable:!0,get:function(){return Vi.timeoutWith}});var hr=o(37248);Object.defineProperty(h,"timestamp",{enumerable:!0,get:function(){return hr.timestamp}});var Yi=o(29316);Object.defineProperty(h,"toArray",{enumerable:!0,get:function(){return Yi.toArray}});var ko=o(40560);Object.defineProperty(h,"window",{enumerable:!0,get:function(){return ko.window}});var go=o(79068);Object.defineProperty(h,"windowCount",{enumerable:!0,get:function(){return go.windowCount}});var Jr=o(11984);Object.defineProperty(h,"windowTime",{enumerable:!0,get:function(){return Jr.windowTime}});var zi=o(97776);Object.defineProperty(h,"windowToggle",{enumerable:!0,get:function(){return zi.windowToggle}});var qi=o(36872);Object.defineProperty(h,"windowWhen",{enumerable:!0,get:function(){return qi.windowWhen}});var ro=o(95780);Object.defineProperty(h,"withLatestFrom",{enumerable:!0,get:function(){return ro.withLatestFrom}});var Rr=o(71120);Object.defineProperty(h,"zipAll",{enumerable:!0,get:function(){return Rr.zipAll}});var mo=o(56824);Object.defineProperty(h,"zipWith",{enumerable:!0,get:function(){return mo.zipWith}})},70408:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsyncSubject=void 0;var d=function(a){function l(){var e=null!==a&&a.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return n(l,a),l.prototype._checkFinalizedStatuses=function(e){var u=this,g=u._hasValue,v=u._value,S=u.isStopped,C=u._isComplete;u.hasError?e.error(u.thrownError):(S||C)&&(g&&e.next(v),e.complete())},l.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},l.prototype.complete=function(){var e=this,u=e._hasValue,c=e._value;e._isComplete||(this._isComplete=!0,u&&a.prototype.next.call(this,c),a.prototype.complete.call(this))},l}(o(90120).Subject);h.AsyncSubject=d},60488:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.BehaviorSubject=void 0;var d=function(a){function l(e){var u=a.call(this)||this;return u._value=e,u}return n(l,a),Object.defineProperty(l.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),l.prototype._subscribe=function(e){var u=a.prototype._subscribe.call(this,e);return!u.closed&&e.next(this._value),u},l.prototype.getValue=function(){var e=this,g=e._value;if(e.hasError)throw e.thrownError;return this._throwIfClosed(),g},l.prototype.next=function(e){a.prototype.next.call(this,this._value=e)},l}(o(90120).Subject);h.BehaviorSubject=d},12032:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.observeNotification=h.Notification=h.NotificationKind=void 0;var c,n=o(31456),i=o(41536),d=o(3312),a=o(82360);(c=h.NotificationKind||(h.NotificationKind={})).NEXT="N",c.ERROR="E",c.COMPLETE="C";var e=function(){function c(g,v,p){this.kind=g,this.value=v,this.error=p,this.hasValue="N"===g}return c.prototype.observe=function(g){return u(this,g)},c.prototype.do=function(g,v,p){var S=this,C=S.kind,_=S.value,f=S.error;return"N"===C?g?.(_):"E"===C?v?.(f):p?.()},c.prototype.accept=function(g,v,p){var S;return a.isFunction(null===(S=g)||void 0===S?void 0:S.next)?this.observe(g):this.do(g,v,p)},c.prototype.toObservable=function(){var g=this,v=g.kind,S=g.error,C="N"===v?i.of(g.value):"E"===v?d.throwError(function(){return S}):"C"===v?n.EMPTY:0;if(!C)throw new TypeError("Unexpected notification kind "+v);return C},c.createNext=function(g){return new c("N",g)},c.createError=function(g){return new c("E",void 0,g)},c.createComplete=function(){return c.completeNotification},c.completeNotification=new c("C"),c}();function u(c,g){var v,p,S,_=c.kind,f=c.value,y=c.error;if("string"!=typeof _)throw new TypeError('Invalid notification, missing "kind"');"N"===_?null===(v=g.next)||void 0===v||v.call(g,f):"E"===_?null===(p=g.error)||void 0===p||p.call(g,y):null===(S=g.complete)||void 0===S||S.call(g)}h.Notification=e,h.observeNotification=u},62640:(pe,h)=>{"use strict";function i(d,a,l){return{kind:d,value:a,error:l}}Object.defineProperty(h,"__esModule",{value:!0}),h.createNotification=h.nextNotification=h.errorNotification=h.COMPLETE_NOTIFICATION=void 0,h.COMPLETE_NOTIFICATION=i("C",void 0,void 0),h.errorNotification=function o(d){return i("E",void 0,d)},h.nextNotification=function n(d){return i("N",d,void 0)},h.createNotification=i},15448:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Observable=void 0;var n=o(41596),i=o(40576),d=o(72064),a=o(19512),l=o(90584),e=o(82360),u=o(49664),c=function(){function S(C){C&&(this._subscribe=C)}return S.prototype.lift=function(C){var _=new S;return _.source=this,_.operator=C,_},S.prototype.subscribe=function(C,_,f){var y=this,b=function p(S){return S&&S instanceof n.Subscriber||function v(S){return S&&e.isFunction(S.next)&&e.isFunction(S.error)&&e.isFunction(S.complete)}(S)&&i.isSubscription(S)}(C)?C:new n.SafeSubscriber(C,_,f);return u.errorContext(function(){var M=y.operator,A=y.source;b.add(M?M.call(b,A):A?y._subscribe(b):y._trySubscribe(b))}),b},S.prototype._trySubscribe=function(C){try{return this._subscribe(C)}catch(_){C.error(_)}},S.prototype.forEach=function(C,_){var f=this;return new(_=g(_))(function(y,b){var E=new n.SafeSubscriber({next:function(M){try{C(M)}catch(A){b(A),E.unsubscribe()}},error:b,complete:y});f.subscribe(E)})},S.prototype._subscribe=function(C){var _;return null===(_=this.source)||void 0===_?void 0:_.subscribe(C)},S.prototype[d.observable]=function(){return this},S.prototype.pipe=function(){for(var C=[],_=0;_{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Scheduler=void 0;var n=o(8764),i=function(){function d(a,l){void 0===l&&(l=d.now),this.schedulerActionCtor=a,this.now=l}return d.prototype.schedule=function(a,l,e){return void 0===l&&(l=0),new this.schedulerActionCtor(this,a).schedule(e,l)},d.now=n.dateTimestampProvider.now,d}();h.Scheduler=i},90120:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var v=function(p,S){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,_){C.__proto__=_}||function(C,_){for(var f in _)Object.prototype.hasOwnProperty.call(_,f)&&(C[f]=_[f])})(p,S)};return function(p,S){if("function"!=typeof S&&null!==S)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");function C(){this.constructor=p}v(p,S),p.prototype=null===S?Object.create(S):(C.prototype=S.prototype,new C)}}(),i=this&&this.__values||function(v){var p="function"==typeof Symbol&&Symbol.iterator,S=p&&v[p],C=0;if(S)return S.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&C>=v.length&&(v=void 0),{value:v&&v[C++],done:!v}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.AnonymousSubject=h.Subject=void 0;var d=o(15448),a=o(40576),l=o(92304),e=o(39852),u=o(49664),c=function(v){function p(){var S=v.call(this)||this;return S.closed=!1,S.currentObservers=null,S.observers=[],S.isStopped=!1,S.hasError=!1,S.thrownError=null,S}return n(p,v),p.prototype.lift=function(S){var C=new g(this,this);return C.operator=S,C},p.prototype._throwIfClosed=function(){if(this.closed)throw new l.ObjectUnsubscribedError},p.prototype.next=function(S){var C=this;u.errorContext(function(){var _,f;if(C._throwIfClosed(),!C.isStopped){C.currentObservers||(C.currentObservers=Array.from(C.observers));try{for(var y=i(C.currentObservers),b=y.next();!b.done;b=y.next())b.value.next(S)}catch(M){_={error:M}}finally{try{b&&!b.done&&(f=y.return)&&f.call(y)}finally{if(_)throw _.error}}}})},p.prototype.error=function(S){var C=this;u.errorContext(function(){if(C._throwIfClosed(),!C.isStopped){C.hasError=C.isStopped=!0,C.thrownError=S;for(var _=C.observers;_.length;)_.shift().error(S)}})},p.prototype.complete=function(){var S=this;u.errorContext(function(){if(S._throwIfClosed(),!S.isStopped){S.isStopped=!0;for(var C=S.observers;C.length;)C.shift().complete()}})},p.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(p.prototype,"observed",{get:function(){var S;return(null===(S=this.observers)||void 0===S?void 0:S.length)>0},enumerable:!1,configurable:!0}),p.prototype._trySubscribe=function(S){return this._throwIfClosed(),v.prototype._trySubscribe.call(this,S)},p.prototype._subscribe=function(S){return this._throwIfClosed(),this._checkFinalizedStatuses(S),this._innerSubscribe(S)},p.prototype._innerSubscribe=function(S){var C=this,_=this,b=_.observers;return _.hasError||_.isStopped?a.EMPTY_SUBSCRIPTION:(this.currentObservers=null,b.push(S),new a.Subscription(function(){C.currentObservers=null,e.arrRemove(b,S)}))},p.prototype._checkFinalizedStatuses=function(S){var C=this,y=C.isStopped;C.hasError?S.error(C.thrownError):y&&S.complete()},p.prototype.asObservable=function(){var S=new d.Observable;return S.source=this,S},p.create=function(S,C){return new g(S,C)},p}(d.Observable);h.Subject=c;var g=function(v){function p(S,C){var _=v.call(this)||this;return _.destination=S,_.source=C,_}return n(p,v),p.prototype.next=function(S){var C,_;null===(_=null===(C=this.destination)||void 0===C?void 0:C.next)||void 0===_||_.call(C,S)},p.prototype.error=function(S){var C,_;null===(_=null===(C=this.destination)||void 0===C?void 0:C.error)||void 0===_||_.call(C,S)},p.prototype.complete=function(){var S,C;null===(C=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===C||C.call(S)},p.prototype._subscribe=function(S){var C,_;return null!==(_=null===(C=this.source)||void 0===C?void 0:C.subscribe(S))&&void 0!==_?_:a.EMPTY_SUBSCRIPTION},p}(c);h.AnonymousSubject=g},41596:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var E=function(M,A){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,F){I.__proto__=F}||function(I,F){for(var j in F)Object.prototype.hasOwnProperty.call(F,j)&&(I[j]=F[j])})(M,A)};return function(M,A){if("function"!=typeof A&&null!==A)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function I(){this.constructor=M}E(M,A),M.prototype=null===A?Object.create(A):(I.prototype=A.prototype,new I)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.EMPTY_OBSERVER=h.SafeSubscriber=h.Subscriber=void 0;var i=o(82360),d=o(40576),a=o(90584),l=o(50131),e=o(48320),u=o(62640),c=o(82480),g=o(49664),v=function(E){function M(A){var I=E.call(this)||this;return I.isStopped=!1,A?(I.destination=A,d.isSubscription(A)&&A.add(I)):I.destination=h.EMPTY_OBSERVER,I}return n(M,E),M.create=function(A,I,F){return new _(A,I,F)},M.prototype.next=function(A){this.isStopped?b(u.nextNotification(A),this):this._next(A)},M.prototype.error=function(A){this.isStopped?b(u.errorNotification(A),this):(this.isStopped=!0,this._error(A))},M.prototype.complete=function(){this.isStopped?b(u.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},M.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,E.prototype.unsubscribe.call(this),this.destination=null)},M.prototype._next=function(A){this.destination.next(A)},M.prototype._error=function(A){try{this.destination.error(A)}finally{this.unsubscribe()}},M.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},M}(d.Subscription);h.Subscriber=v;var p=Function.prototype.bind;function S(E,M){return p.call(E,M)}var C=function(){function E(M){this.partialObserver=M}return E.prototype.next=function(M){var A=this.partialObserver;if(A.next)try{A.next(M)}catch(I){f(I)}},E.prototype.error=function(M){var A=this.partialObserver;if(A.error)try{A.error(M)}catch(I){f(I)}else f(M)},E.prototype.complete=function(){var M=this.partialObserver;if(M.complete)try{M.complete()}catch(A){f(A)}},E}(),_=function(E){function M(A,I,F){var T,P,j=E.call(this)||this;return i.isFunction(A)||!A?T={next:A??void 0,error:I??void 0,complete:F??void 0}:j&&a.config.useDeprecatedNextContext?((P=Object.create(A)).unsubscribe=function(){return j.unsubscribe()},T={next:A.next&&S(A.next,P),error:A.error&&S(A.error,P),complete:A.complete&&S(A.complete,P)}):T=A,j.destination=new C(T),j}return n(M,E),M}(v);function f(E){a.config.useDeprecatedSynchronousErrorHandling?g.captureError(E):l.reportUnhandledError(E)}function b(E,M){var A=a.config.onStoppedNotification;A&&c.timeoutProvider.setTimeout(function(){return A(E,M)})}h.SafeSubscriber=_,h.EMPTY_OBSERVER={closed:!0,next:e.noop,error:function y(E){throw E},complete:e.noop}},40576:function(pe,h,o){"use strict";var n=this&&this.__values||function(v){var p="function"==typeof Symbol&&Symbol.iterator,S=p&&v[p],C=0;if(S)return S.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&C>=v.length&&(v=void 0),{value:v&&v[C++],done:!v}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(v,p){var S="function"==typeof Symbol&&v[Symbol.iterator];if(!S)return v;var _,y,C=S.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=C.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(S=C.return)&&S.call(C)}finally{if(y)throw y.error}}return f},d=this&&this.__spreadArray||function(v,p){for(var S=0,C=p.length,_=v.length;S{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.config=void 0,h.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},79632:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.firstValueFrom=void 0;var n=o(51544),i=o(41596);h.firstValueFrom=function d(a,l){var e="object"==typeof l;return new Promise(function(u,c){var g=new i.SafeSubscriber({next:function(v){u(v),g.unsubscribe()},error:c,complete:function(){e?u(l.defaultValue):c(new n.EmptyError)}});a.subscribe(g)})}},59452:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.lastValueFrom=void 0;var n=o(51544);h.lastValueFrom=function i(d,a){var l="object"==typeof a;return new Promise(function(e,u){var g,c=!1;d.subscribe({next:function(v){g=v,c=!0},error:u,complete:function(){c?e(g):l?e(a.defaultValue):u(new n.EmptyError)}})})}},42416:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var c=function(g,v){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,S){p.__proto__=S}||function(p,S){for(var C in S)Object.prototype.hasOwnProperty.call(S,C)&&(p[C]=S[C])})(g,v)};return function(g,v){if("function"!=typeof v&&null!==v)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function p(){this.constructor=g}c(g,v),g.prototype=null===v?Object.create(v):(p.prototype=v.prototype,new p)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.ConnectableObservable=void 0;var i=o(15448),d=o(40576),a=o(60300),l=o(35744),e=o(66080),u=function(c){function g(v,p){var S=c.call(this)||this;return S.source=v,S.subjectFactory=p,S._subject=null,S._refCount=0,S._connection=null,e.hasLift(v)&&(S.lift=v.lift),S}return n(g,c),g.prototype._subscribe=function(v){return this.getSubject().subscribe(v)},g.prototype.getSubject=function(){var v=this._subject;return(!v||v.isStopped)&&(this._subject=this.subjectFactory()),this._subject},g.prototype._teardown=function(){this._refCount=0;var v=this._connection;this._subject=this._connection=null,v?.unsubscribe()},g.prototype.connect=function(){var v=this,p=this._connection;if(!p){p=this._connection=new d.Subscription;var S=this.getSubject();p.add(this.source.subscribe(l.createOperatorSubscriber(S,void 0,function(){v._teardown(),S.complete()},function(C){v._teardown(),S.error(C)},function(){return v._teardown()}))),p.closed&&(this._connection=null,p=d.Subscription.EMPTY)}return p},g.prototype.refCount=function(){return a.refCount()(this)},g}(i.Observable);h.ConnectableObservable=u},1856:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.bindCallback=void 0;var n=o(98140);h.bindCallback=function i(d,a,l){return n.bindCallbackInternals(!1,d,a,l)}},98140:function(pe,h,o){"use strict";var n=this&&this.__read||function(v,p){var S="function"==typeof Symbol&&v[Symbol.iterator];if(!S)return v;var _,y,C=S.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=C.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(S=C.return)&&S.call(C)}finally{if(y)throw y.error}}return f},i=this&&this.__spreadArray||function(v,p){for(var S=0,C=p.length,_=v.length;S{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.bindNodeCallback=void 0;var n=o(98140);h.bindNodeCallback=function i(d,a,l){return n.bindCallbackInternals(!0,d,a,l)}},60128:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.combineLatestInit=h.combineLatest=void 0;var n=o(15448),i=o(75352),d=o(38485),a=o(55184),l=o(82664),e=o(69724),u=o(7788),c=o(35744),g=o(61760);function p(C,_,f){return void 0===f&&(f=a.identity),function(y){S(_,function(){for(var b=C.length,E=new Array(b),M=b,A=b,I=function(j){S(_,function(){var T=d.from(C[j],_),P=!1;T.subscribe(c.createOperatorSubscriber(y,function(x){E[j]=x,P||(P=!0,A--),A||y.next(f(E.slice()))},function(){--M||y.complete()}))},y)},F=0;F{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concat=void 0;var n=o(26608),i=o(69724),d=o(38485);h.concat=function a(){for(var l=[],e=0;e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.connectable=void 0;var n=o(90120),i=o(15448),d=o(71896),a={connector:function(){return new n.Subject},resetOnDisconnect:!0};h.connectable=function l(e,u){void 0===u&&(u=a);var c=null,g=u.connector,v=u.resetOnDisconnect,p=void 0===v||v,S=g(),C=new i.Observable(function(_){return S.subscribe(_)});return C.connect=function(){return(!c||c.closed)&&(c=d.defer(function(){return e}).subscribe(S),p&&c.add(function(){return S=g()})),c},C}},71896:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.defer=void 0;var n=o(15448),i=o(81280);h.defer=function d(a){return new n.Observable(function(l){i.innerFrom(a()).subscribe(l)})}},72444:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.animationFrames=void 0;var n=o(15448),i=o(68424),d=o(24352);function l(u){return new n.Observable(function(c){var g=u||i.performanceTimestampProvider,v=g.now(),p=0,S=function(){c.closed||(p=d.animationFrameProvider.requestAnimationFrame(function(C){p=0;var _=g.now();c.next({timestamp:u?_:C,elapsed:_-v}),S()}))};return S(),function(){p&&d.animationFrameProvider.cancelAnimationFrame(p)}})}h.animationFrames=function a(u){return u?l(u):e};var e=l()},31456:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.empty=h.EMPTY=void 0;var n=o(15448);h.EMPTY=new n.Observable(function(a){return a.complete()}),h.empty=function i(a){return a?function d(a){return new n.Observable(function(l){return a.schedule(function(){return l.complete()})})}(a):h.EMPTY}},93052:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.forkJoin=void 0;var n=o(15448),i=o(75352),d=o(81280),a=o(69724),l=o(35744),e=o(82664),u=o(7788);h.forkJoin=function c(){for(var g=[],v=0;v{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.from=void 0;var n=o(44232),i=o(81280);h.from=function d(a,l){return l?n.scheduled(a,l):i.innerFrom(a)}},85e3:function(pe,h,o){"use strict";var n=this&&this.__read||function(y,b){var E="function"==typeof Symbol&&y[Symbol.iterator];if(!E)return y;var A,F,M=E.call(y),I=[];try{for(;(void 0===b||b-- >0)&&!(A=M.next()).done;)I.push(A.value)}catch(j){F={error:j}}finally{try{A&&!A.done&&(E=M.return)&&E.call(M)}finally{if(F)throw F.error}}return I};Object.defineProperty(h,"__esModule",{value:!0}),h.fromEvent=void 0;var i=o(81280),d=o(15448),a=o(33480),l=o(18224),e=o(82360),u=o(82664),c=["addListener","removeListener"],g=["addEventListener","removeEventListener"],v=["on","off"];function S(y,b){return function(E){return function(M){return y[E](b,M)}}}h.fromEvent=function p(y,b,E,M){if(e.isFunction(E)&&(M=E,E=void 0),M)return p(y,b,E).pipe(u.mapOneOrManyArgs(M));var A=n(function f(y){return e.isFunction(y.addEventListener)&&e.isFunction(y.removeEventListener)}(y)?g.map(function(j){return function(T){return y[j](b,T,E)}}):function C(y){return e.isFunction(y.addListener)&&e.isFunction(y.removeListener)}(y)?c.map(S(y,b)):function _(y){return e.isFunction(y.on)&&e.isFunction(y.off)}(y)?v.map(S(y,b)):[],2),I=A[0],F=A[1];if(!I&&l.isArrayLike(y))return a.mergeMap(function(j){return p(j,b,E)})(i.innerFrom(y));if(!I)throw new TypeError("Invalid event target");return new d.Observable(function(j){var T=function(){for(var P=[],x=0;x{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.fromEventPattern=void 0;var n=o(15448),i=o(82360),d=o(82664);h.fromEventPattern=function a(l,e,u){return u?a(l,e).pipe(d.mapOneOrManyArgs(u)):new n.Observable(function(c){var g=function(){for(var p=[],S=0;S{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.fromSubscribable=void 0;var n=o(15448);h.fromSubscribable=function i(d){return new n.Observable(function(a){return d.subscribe(a)})}},92560:function(pe,h,o){"use strict";var n=this&&this.__generator||function(u,c){var v,p,S,C,g={label:0,sent:function(){if(1&S[0])throw S[1];return S[1]},trys:[],ops:[]};return C={next:_(0),throw:_(1),return:_(2)},"function"==typeof Symbol&&(C[Symbol.iterator]=function(){return this}),C;function _(y){return function(b){return function f(y){if(v)throw new TypeError("Generator is already executing.");for(;g;)try{if(v=1,p&&(S=2&y[0]?p.return:y[0]?p.throw||((S=p.return)&&S.call(p),0):p.next)&&!(S=S.call(p,y[1])).done)return S;switch(p=0,S&&(y=[2&y[0],S.value]),y[0]){case 0:case 1:S=y;break;case 4:return g.label++,{value:y[1],done:!1};case 5:g.label++,p=y[1],y=[0];continue;case 7:y=g.ops.pop(),g.trys.pop();continue;default:if(!(S=(S=g.trys).length>0&&S[S.length-1])&&(6===y[0]||2===y[0])){g=0;continue}if(3===y[0]&&(!S||y[1]>S[0]&&y[1]{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.iif=void 0;var n=o(71896);h.iif=function i(d,a,l){return n.defer(function(){return d()?a:l})}},81280:function(pe,h,o){"use strict";var n=this&&this.__awaiter||function(T,P,x,N){return new(x||(x=Promise))(function(H,G){function te(K){try{se(N.next(K))}catch(Z){G(Z)}}function ue(K){try{se(N.throw(K))}catch(Z){G(Z)}}function se(K){K.done?H(K.value):function O(H){return H instanceof x?H:new x(function(G){G(H)})}(K.value).then(te,ue)}se((N=N.apply(T,P||[])).next())})},i=this&&this.__generator||function(T,P){var N,O,H,G,x={label:0,sent:function(){if(1&H[0])throw H[1];return H[1]},trys:[],ops:[]};return G={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(G[Symbol.iterator]=function(){return this}),G;function te(se){return function(K){return function ue(se){if(N)throw new TypeError("Generator is already executing.");for(;x;)try{if(N=1,O&&(H=2&se[0]?O.return:se[0]?O.throw||((H=O.return)&&H.call(O),0):O.next)&&!(H=H.call(O,se[1])).done)return H;switch(O=0,H&&(se=[2&se[0],H.value]),se[0]){case 0:case 1:H=se;break;case 4:return x.label++,{value:se[1],done:!1};case 5:x.label++,O=se[1],se=[0];continue;case 7:se=x.ops.pop(),x.trys.pop();continue;default:if(!(H=(H=x.trys).length>0&&H[H.length-1])&&(6===se[0]||2===se[0])){x=0;continue}if(3===se[0]&&(!H||se[1]>H[0]&&se[1]=T.length&&(T=void 0),{value:T&&T[N++],done:!T}}};throw new TypeError(P?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.fromReadableStreamLike=h.fromAsyncIterable=h.fromIterable=h.fromPromise=h.fromArrayLike=h.fromInteropObservable=h.innerFrom=void 0;var l=o(18224),e=o(28296),u=o(15448),c=o(18440),g=o(37156),v=o(34088),p=o(30640),S=o(11416),C=o(82360),_=o(50131),f=o(72064);function b(T){return new u.Observable(function(P){var x=T[f.observable]();if(C.isFunction(x.subscribe))return x.subscribe(P);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function E(T){return new u.Observable(function(P){for(var x=0;x{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.interval=void 0;var n=o(69252),i=o(34168);h.interval=function d(a,l){return void 0===a&&(a=0),void 0===l&&(l=n.asyncScheduler),a<0&&(a=0),i.timer(a,a,l)}},14152:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.merge=void 0;var n=o(50304),i=o(81280),d=o(31456),a=o(69724),l=o(38485);h.merge=function e(){for(var u=[],c=0;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.never=h.NEVER=void 0;var n=o(15448),i=o(48320);h.NEVER=new n.Observable(i.noop),h.never=function d(){return h.NEVER}},41536:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.of=void 0;var n=o(69724),i=o(38485);h.of=function d(){for(var a=[],l=0;l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.onErrorResumeNext=void 0;var n=o(15448),i=o(50652),d=o(35744),a=o(48320),l=o(81280);h.onErrorResumeNext=function e(){for(var u=[],c=0;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pairs=void 0;var n=o(38485);h.pairs=function i(d,a){return n.from(Object.entries(d),a)}},91792:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.partition=void 0;var n=o(37700),i=o(39840),d=o(81280);h.partition=function a(l,e,u){return[i.filter(e,u)(d.innerFrom(l)),i.filter(n.not(e,u))(d.innerFrom(l))]}},84048:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.raceInit=h.race=void 0;var n=o(15448),i=o(81280),d=o(50652),a=o(35744);function e(u){return function(c){for(var g=[],v=function(S){g.push(i.innerFrom(u[S]).subscribe(a.createOperatorSubscriber(c,function(C){if(g){for(var _=0;_{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.range=void 0;var n=o(15448),i=o(31456);h.range=function d(a,l,e){if(null==l&&(l=a,a=0),l<=0)return i.EMPTY;var u=l+a;return new n.Observable(e?function(c){var g=a;return e.schedule(function(){g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throwError=void 0;var n=o(15448),i=o(82360);h.throwError=function d(a,l){var e=i.isFunction(a)?a:function(){return a},u=function(c){return c.error(e())};return new n.Observable(l?function(c){return l.schedule(u,0,c)}:u)}},34168:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timer=void 0;var n=o(15448),i=o(69252),d=o(76964),a=o(42384);h.timer=function l(e,u,c){void 0===e&&(e=0),void 0===c&&(c=i.async);var g=-1;return null!=u&&(d.isScheduler(u)?c=u:g=u),new n.Observable(function(v){var p=a.isValidDate(e)?+e-c.now():e;p<0&&(p=0);var S=0;return c.schedule(function(){v.closed||(v.next(S++),0<=g?this.schedule(void 0,g):v.complete())},p)})}},28684:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.using=void 0;var n=o(15448),i=o(81280),d=o(31456);h.using=function a(l,e){return new n.Observable(function(u){var c=l(),g=e(c);return(g?i.innerFrom(g):d.EMPTY).subscribe(u),function(){c&&c.unsubscribe()}})}},59172:function(pe,h,o){"use strict";var n=this&&this.__read||function(v,p){var S="function"==typeof Symbol&&v[Symbol.iterator];if(!S)return v;var _,y,C=S.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=C.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(S=C.return)&&S.call(C)}finally{if(y)throw y.error}}return f},i=this&&this.__spreadArray||function(v,p){for(var S=0,C=p.length,_=v.length;S{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.audit=void 0;var n=o(66080),i=o(81280),d=o(35744);h.audit=function a(l){return n.operate(function(e,u){var c=!1,g=null,v=null,p=!1,S=function(){if(v?.unsubscribe(),v=null,c){c=!1;var _=g;g=null,u.next(_)}p&&u.complete()},C=function(){v=null,p&&u.complete()};e.subscribe(d.createOperatorSubscriber(u,function(_){c=!0,g=_,v||i.innerFrom(l(_)).subscribe(v=d.createOperatorSubscriber(u,S,C))},function(){p=!0,(!c||!v||v.closed)&&u.complete()}))})}},1393:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.auditTime=void 0;var n=o(69252),i=o(18380),d=o(34168);h.auditTime=function a(l,e){return void 0===e&&(e=n.asyncScheduler),i.audit(function(){return d.timer(l,e)})}},42744:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.buffer=void 0;var n=o(66080),i=o(48320),d=o(35744),a=o(81280);h.buffer=function l(e){return n.operate(function(u,c){var g=[];return u.subscribe(d.createOperatorSubscriber(c,function(v){return g.push(v)},function(){c.next(g),c.complete()})),a.innerFrom(e).subscribe(d.createOperatorSubscriber(c,function(){var v=g;g=[],c.next(v)},i.noop)),function(){g=null}})}},57864:function(pe,h,o){"use strict";var n=this&&this.__values||function(e){var u="function"==typeof Symbol&&Symbol.iterator,c=u&&e[u],g=0;if(c)return c.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.bufferCount=void 0;var i=o(66080),d=o(35744),a=o(39852);h.bufferCount=function l(e,u){return void 0===u&&(u=null),u=u??e,i.operate(function(c,g){var v=[],p=0;c.subscribe(d.createOperatorSubscriber(g,function(S){var C,_,f,y,b=null;p++%u==0&&v.push([]);try{for(var E=n(v),M=E.next();!M.done;M=E.next())(A=M.value).push(S),e<=A.length&&(b=b??[]).push(A)}catch(j){C={error:j}}finally{try{M&&!M.done&&(_=E.return)&&_.call(E)}finally{if(C)throw C.error}}if(b)try{for(var I=n(b),F=I.next();!F.done;F=I.next()){var A;a.arrRemove(v,A=F.value),g.next(A)}}catch(j){f={error:j}}finally{try{F&&!F.done&&(y=I.return)&&y.call(I)}finally{if(f)throw f.error}}},function(){var S,C;try{for(var _=n(v),f=_.next();!f.done;f=_.next())g.next(f.value)}catch(b){S={error:b}}finally{try{f&&!f.done&&(C=_.return)&&C.call(_)}finally{if(S)throw S.error}}g.complete()},void 0,function(){v=null}))})}},42704:function(pe,h,o){"use strict";var n=this&&this.__values||function(v){var p="function"==typeof Symbol&&Symbol.iterator,S=p&&v[p],C=0;if(S)return S.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&C>=v.length&&(v=void 0),{value:v&&v[C++],done:!v}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.bufferTime=void 0;var i=o(40576),d=o(66080),a=o(35744),l=o(39852),e=o(69252),u=o(69724),c=o(61760);h.bufferTime=function g(v){for(var p,S,C=[],_=1;_=0?c.executeSchedule(M,f,j,y,!0):I=!0,j();var T=a.createOperatorSubscriber(M,function(P){var x,N,O=A.slice();try{for(var H=n(O),G=H.next();!G.done;G=H.next()){var te=G.value,ue=te.buffer;ue.push(P),b<=ue.length&&F(te)}}catch(se){x={error:se}}finally{try{G&&!G.done&&(N=H.return)&&N.call(H)}finally{if(x)throw x.error}}},function(){for(;A?.length;)M.next(A.shift().buffer);T?.unsubscribe(),M.complete(),M.unsubscribe()},void 0,function(){return A=null});E.subscribe(T)})}},21964:function(pe,h,o){"use strict";var n=this&&this.__values||function(g){var v="function"==typeof Symbol&&Symbol.iterator,p=v&&g[v],S=0;if(p)return p.call(g);if(g&&"number"==typeof g.length)return{next:function(){return g&&S>=g.length&&(g=void 0),{value:g&&g[S++],done:!g}}};throw new TypeError(v?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.bufferToggle=void 0;var i=o(40576),d=o(66080),a=o(81280),l=o(35744),e=o(48320),u=o(39852);h.bufferToggle=function c(g,v){return d.operate(function(p,S){var C=[];a.innerFrom(g).subscribe(l.createOperatorSubscriber(S,function(_){var f=[];C.push(f);var y=new i.Subscription;y.add(a.innerFrom(v(_)).subscribe(l.createOperatorSubscriber(S,function(){u.arrRemove(C,f),S.next(f),y.unsubscribe()},e.noop)))},e.noop)),p.subscribe(l.createOperatorSubscriber(S,function(_){var f,y;try{for(var b=n(C),E=b.next();!E.done;E=b.next())E.value.push(_)}catch(A){f={error:A}}finally{try{E&&!E.done&&(y=b.return)&&y.call(b)}finally{if(f)throw f.error}}},function(){for(;C.length>0;)S.next(C.shift());S.complete()}))})}},16323:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.bufferWhen=void 0;var n=o(66080),i=o(48320),d=o(35744),a=o(81280);h.bufferWhen=function l(e){return n.operate(function(u,c){var g=null,v=null,p=function(){v?.unsubscribe();var S=g;g=[],S&&c.next(S),a.innerFrom(e()).subscribe(v=d.createOperatorSubscriber(c,p,i.noop))};p(),u.subscribe(d.createOperatorSubscriber(c,function(S){return g?.push(S)},function(){g&&c.next(g),c.complete()},void 0,function(){return g=v=null}))})}},11708:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.catchError=void 0;var n=o(81280),i=o(35744),d=o(66080);h.catchError=function a(l){return d.operate(function(e,u){var v,c=null,g=!1;c=e.subscribe(i.createOperatorSubscriber(u,void 0,void 0,function(p){v=n.innerFrom(l(p,a(l)(e))),c?(c.unsubscribe(),c=null,v.subscribe(u)):g=!0})),g&&(c.unsubscribe(),c=null,v.subscribe(u))})}},25184:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.combineAll=void 0;var n=o(86576);h.combineAll=n.combineLatestAll},31384:function(pe,h,o){"use strict";var n=this&&this.__read||function(v,p){var S="function"==typeof Symbol&&v[Symbol.iterator];if(!S)return v;var _,y,C=S.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=C.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(S=C.return)&&S.call(C)}finally{if(y)throw y.error}}return f},i=this&&this.__spreadArray||function(v,p){for(var S=0,C=p.length,_=v.length;S{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.combineLatestAll=void 0;var n=o(60128),i=o(28400);h.combineLatestAll=function d(a){return i.joinAllInternals(n.combineLatest,a)}},71480:function(pe,h,o){"use strict";var n=this&&this.__read||function(l,e){var u="function"==typeof Symbol&&l[Symbol.iterator];if(!u)return l;var g,p,c=u.call(l),v=[];try{for(;(void 0===e||e-- >0)&&!(g=c.next()).done;)v.push(g.value)}catch(S){p={error:S}}finally{try{g&&!g.done&&(u=c.return)&&u.call(c)}finally{if(p)throw p.error}}return v},i=this&&this.__spreadArray||function(l,e){for(var u=0,c=e.length,g=l.length;u0)&&!(S=p.next()).done;)C.push(S.value)}catch(f){_={error:f}}finally{try{S&&!S.done&&(v=p.return)&&v.call(p)}finally{if(_)throw _.error}}return C},i=this&&this.__spreadArray||function(c,g){for(var v=0,p=g.length,S=c.length;v{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concatAll=void 0;var n=o(50304);h.concatAll=function i(){return n.mergeAll(1)}},68584:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concatMap=void 0;var n=o(33480),i=o(82360);h.concatMap=function d(a,l){return i.isFunction(l)?n.mergeMap(a,l,1):n.mergeMap(a,1)}},38776:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concatMapTo=void 0;var n=o(68584),i=o(82360);h.concatMapTo=function d(a,l){return i.isFunction(l)?n.concatMap(function(){return a},l):n.concatMap(function(){return a})}},23332:function(pe,h,o){"use strict";var n=this&&this.__read||function(l,e){var u="function"==typeof Symbol&&l[Symbol.iterator];if(!u)return l;var g,p,c=u.call(l),v=[];try{for(;(void 0===e||e-- >0)&&!(g=c.next()).done;)v.push(g.value)}catch(S){p={error:S}}finally{try{g&&!g.done&&(u=c.return)&&u.call(c)}finally{if(p)throw p.error}}return v},i=this&&this.__spreadArray||function(l,e){for(var u=0,c=e.length,g=l.length;u{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.connect=void 0;var n=o(90120),i=o(81280),d=o(66080),a=o(28544),l={connector:function(){return new n.Subject}};h.connect=function e(u,c){void 0===c&&(c=l);var g=c.connector;return d.operate(function(v,p){var S=g();i.innerFrom(u(a.fromSubscribable(S))).subscribe(p),p.add(v.subscribe(S))})}},95572:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.count=void 0;var n=o(39980);h.count=function i(d){return n.reduce(function(a,l,e){return!d||d(l,e)?a+1:a},0)}},42568:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.debounce=void 0;var n=o(66080),i=o(48320),d=o(35744),a=o(81280);h.debounce=function l(e){return n.operate(function(u,c){var g=!1,v=null,p=null,S=function(){if(p?.unsubscribe(),p=null,g){g=!1;var C=v;v=null,c.next(C)}};u.subscribe(d.createOperatorSubscriber(c,function(C){p?.unsubscribe(),g=!0,v=C,p=d.createOperatorSubscriber(c,S,i.noop),a.innerFrom(e(C)).subscribe(p)},function(){S(),c.complete()},void 0,function(){v=p=null}))})}},86275:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.debounceTime=void 0;var n=o(69252),i=o(66080),d=o(35744);h.debounceTime=function a(l,e){return void 0===e&&(e=n.asyncScheduler),i.operate(function(u,c){var g=null,v=null,p=null,S=function(){if(g){g.unsubscribe(),g=null;var _=v;v=null,c.next(_)}};function C(){var _=p+l,f=e.now();if(f<_)return g=this.schedule(void 0,_-f),void c.add(g);S()}u.subscribe(d.createOperatorSubscriber(c,function(_){v=_,p=e.now(),g||(g=e.schedule(C,l),c.add(g))},function(){S(),c.complete()},void 0,function(){v=g=null}))})}},14707:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.defaultIfEmpty=void 0;var n=o(66080),i=o(35744);h.defaultIfEmpty=function d(a){return n.operate(function(l,e){var u=!1;l.subscribe(i.createOperatorSubscriber(e,function(c){u=!0,e.next(c)},function(){u||e.next(a),e.complete()}))})}},99592:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.delay=void 0;var n=o(69252),i=o(59304),d=o(34168);h.delay=function a(l,e){void 0===e&&(e=n.asyncScheduler);var u=d.timer(l,e);return i.delayWhen(function(){return u})}},59304:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.delayWhen=void 0;var n=o(24560),i=o(38120),d=o(77392),a=o(89224),l=o(33480),e=o(81280);h.delayWhen=function u(c,g){return g?function(v){return n.concat(g.pipe(i.take(1),d.ignoreElements()),v.pipe(u(c)))}:l.mergeMap(function(v,p){return e.innerFrom(c(v,p)).pipe(i.take(1),a.mapTo(v))})}},84204:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.dematerialize=void 0;var n=o(12032),i=o(66080),d=o(35744);h.dematerialize=function a(){return i.operate(function(l,e){l.subscribe(d.createOperatorSubscriber(e,function(u){return n.observeNotification(u,e)}))})}},51256:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.distinct=void 0;var n=o(66080),i=o(35744),d=o(48320),a=o(81280);h.distinct=function l(e,u){return n.operate(function(c,g){var v=new Set;c.subscribe(i.createOperatorSubscriber(g,function(p){var S=e?e(p):p;v.has(S)||(v.add(S),g.next(p))})),u&&a.innerFrom(u).subscribe(i.createOperatorSubscriber(g,function(){return v.clear()},d.noop))})}},21544:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.distinctUntilChanged=void 0;var n=o(55184),i=o(66080),d=o(35744);function l(e,u){return e===u}h.distinctUntilChanged=function a(e,u){return void 0===u&&(u=n.identity),e=e??l,i.operate(function(c,g){var v,p=!0;c.subscribe(d.createOperatorSubscriber(g,function(S){var C=u(S);(p||!e(v,C))&&(p=!1,v=C,g.next(S))}))})}},61544:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.distinctUntilKeyChanged=void 0;var n=o(21544);h.distinctUntilKeyChanged=function i(d,a){return n.distinctUntilChanged(function(l,e){return a?a(l[d],e[d]):l[d]===e[d]})}},51808:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.elementAt=void 0;var n=o(32929),i=o(39840),d=o(51056),a=o(14707),l=o(38120);h.elementAt=function e(u,c){if(u<0)throw new n.ArgumentOutOfRangeError;var g=arguments.length>=2;return function(v){return v.pipe(i.filter(function(p,S){return S===u}),l.take(1),g?a.defaultIfEmpty(c):d.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},48568:function(pe,h,o){"use strict";var n=this&&this.__read||function(e,u){var c="function"==typeof Symbol&&e[Symbol.iterator];if(!c)return e;var v,S,g=c.call(e),p=[];try{for(;(void 0===u||u-- >0)&&!(v=g.next()).done;)p.push(v.value)}catch(C){S={error:C}}finally{try{v&&!v.done&&(c=g.return)&&c.call(g)}finally{if(S)throw S.error}}return p},i=this&&this.__spreadArray||function(e,u){for(var c=0,g=u.length,v=e.length;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.every=void 0;var n=o(66080),i=o(35744);h.every=function d(a,l){return n.operate(function(e,u){var c=0;e.subscribe(i.createOperatorSubscriber(u,function(g){a.call(l,g,c++,e)||(u.next(!1),u.complete())},function(){u.next(!0),u.complete()}))})}},53704:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.exhaust=void 0;var n=o(34288);h.exhaust=n.exhaustAll},34288:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.exhaustAll=void 0;var n=o(44632),i=o(55184);h.exhaustAll=function d(){return n.exhaustMap(i.identity)}},44632:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.exhaustMap=void 0;var n=o(784),i=o(81280),d=o(66080),a=o(35744);h.exhaustMap=function l(e,u){return u?function(c){return c.pipe(l(function(g,v){return i.innerFrom(e(g,v)).pipe(n.map(function(p,S){return u(g,p,v,S)}))}))}:d.operate(function(c,g){var v=0,p=null,S=!1;c.subscribe(a.createOperatorSubscriber(g,function(C){p||(p=a.createOperatorSubscriber(g,void 0,function(){p=null,S&&g.complete()}),i.innerFrom(e(C,v++)).subscribe(p))},function(){S=!0,!p&&g.complete()}))})}},84624:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.expand=void 0;var n=o(66080),i=o(46972);h.expand=function d(a,l,e){return void 0===l&&(l=1/0),l=(l||0)<1?1/0:l,n.operate(function(u,c){return i.mergeInternals(u,c,a,l,void 0,!0,e)})}},39840:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.filter=void 0;var n=o(66080),i=o(35744);h.filter=function d(a,l){return n.operate(function(e,u){var c=0;e.subscribe(i.createOperatorSubscriber(u,function(g){return a.call(l,g,c++)&&u.next(g)}))})}},99440:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.finalize=void 0;var n=o(66080);h.finalize=function i(d){return n.operate(function(a,l){try{a.subscribe(l)}finally{l.add(d)}})}},70939:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createFind=h.find=void 0;var n=o(66080),i=o(35744);function a(l,e,u){var c="index"===u;return function(g,v){var p=0;g.subscribe(i.createOperatorSubscriber(v,function(S){var C=p++;l.call(e,S,C,g)&&(v.next(c?C:S),v.complete())},function(){v.next(c?-1:void 0),v.complete()}))}}h.find=function d(l,e){return n.operate(a(l,e,"value"))},h.createFind=a},69496:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.findIndex=void 0;var n=o(66080),i=o(70939);h.findIndex=function d(a,l){return n.operate(i.createFind(a,l,"index"))}},11848:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.first=void 0;var n=o(51544),i=o(39840),d=o(38120),a=o(14707),l=o(51056),e=o(55184);h.first=function u(c,g){var v=arguments.length>=2;return function(p){return p.pipe(c?i.filter(function(S,C){return c(S,C,p)}):e.identity,d.take(1),v?a.defaultIfEmpty(g):l.throwIfEmpty(function(){return new n.EmptyError}))}}},98924:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.flatMap=void 0;var n=o(33480);h.flatMap=n.mergeMap},17909:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.groupBy=void 0;var n=o(15448),i=o(81280),d=o(90120),a=o(66080),l=o(35744);h.groupBy=function e(u,c,g,v){return a.operate(function(p,S){var C;c&&"function"!=typeof c?(g=c.duration,C=c.element,v=c.connector):C=c;var _=new Map,f=function(I){_.forEach(I),I(S)},y=function(I){return f(function(F){return F.error(I)})},b=0,E=!1,M=new l.OperatorSubscriber(S,function(I){try{var F=u(I),j=_.get(F);if(!j){_.set(F,j=v?v():new d.Subject);var T=function A(I,F){var j=new n.Observable(function(T){b++;var P=F.subscribe(T);return function(){P.unsubscribe(),0==--b&&E&&M.unsubscribe()}});return j.key=I,j}(F,j);if(S.next(T),g){var P=l.createOperatorSubscriber(j,function(){j.complete(),P?.unsubscribe()},void 0,void 0,function(){return _.delete(F)});M.add(i.innerFrom(g(T)).subscribe(P))}}j.next(C?C(I):I)}catch(x){y(x)}},function(){return f(function(I){return I.complete()})},y,function(){return _.clear()},function(){return E=!0,0===b});p.subscribe(M)})}},77392:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ignoreElements=void 0;var n=o(66080),i=o(35744),d=o(48320);h.ignoreElements=function a(){return n.operate(function(l,e){l.subscribe(i.createOperatorSubscriber(e,d.noop))})}},73564:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isEmpty=void 0;var n=o(66080),i=o(35744);h.isEmpty=function d(){return n.operate(function(a,l){a.subscribe(i.createOperatorSubscriber(l,function(){l.next(!1),l.complete()},function(){l.next(!0),l.complete()}))})}},28400:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.joinAllInternals=void 0;var n=o(55184),i=o(82664),d=o(19512),a=o(33480),l=o(29316);h.joinAllInternals=function e(u,c){return d.pipe(l.toArray(),a.mergeMap(function(g){return u(g)}),c?i.mapOneOrManyArgs(c):n.identity)}},2696:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.last=void 0;var n=o(51544),i=o(39840),d=o(32224),a=o(51056),l=o(14707),e=o(55184);h.last=function u(c,g){var v=arguments.length>=2;return function(p){return p.pipe(c?i.filter(function(S,C){return c(S,C,p)}):e.identity,d.takeLast(1),v?l.defaultIfEmpty(g):a.throwIfEmpty(function(){return new n.EmptyError}))}}},784:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.map=void 0;var n=o(66080),i=o(35744);h.map=function d(a,l){return n.operate(function(e,u){var c=0;e.subscribe(i.createOperatorSubscriber(u,function(g){u.next(a.call(l,g,c++))}))})}},89224:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mapTo=void 0;var n=o(784);h.mapTo=function i(d){return n.map(function(){return d})}},6832:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.materialize=void 0;var n=o(12032),i=o(66080),d=o(35744);h.materialize=function a(){return i.operate(function(l,e){l.subscribe(d.createOperatorSubscriber(e,function(u){e.next(n.Notification.createNext(u))},function(){e.next(n.Notification.createComplete()),e.complete()},function(u){e.next(n.Notification.createError(u)),e.complete()}))})}},34808:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.max=void 0;var n=o(39980),i=o(82360);h.max=function d(a){return n.reduce(i.isFunction(a)?function(l,e){return a(l,e)>0?l:e}:function(l,e){return l>e?l:e})}},38884:function(pe,h,o){"use strict";var n=this&&this.__read||function(g,v){var p="function"==typeof Symbol&&g[Symbol.iterator];if(!p)return g;var C,f,S=p.call(g),_=[];try{for(;(void 0===v||v-- >0)&&!(C=S.next()).done;)_.push(C.value)}catch(y){f={error:y}}finally{try{C&&!C.done&&(p=S.return)&&p.call(S)}finally{if(f)throw f.error}}return _},i=this&&this.__spreadArray||function(g,v){for(var p=0,S=v.length,C=g.length;p{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeAll=void 0;var n=o(33480),i=o(55184);h.mergeAll=function d(a){return void 0===a&&(a=1/0),n.mergeMap(i.identity,a)}},46972:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeInternals=void 0;var n=o(81280),i=o(61760),d=o(35744);h.mergeInternals=function a(l,e,u,c,g,v,p,S){var C=[],_=0,f=0,y=!1,b=function(){y&&!C.length&&!_&&e.complete()},E=function(A){return _{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeMap=void 0;var n=o(784),i=o(81280),d=o(66080),a=o(46972),l=o(82360);h.mergeMap=function e(u,c,g){return void 0===g&&(g=1/0),l.isFunction(c)?e(function(v,p){return n.map(function(S,C){return c(v,S,p,C)})(i.innerFrom(u(v,p)))},g):("number"==typeof c&&(g=c),d.operate(function(v,p){return a.mergeInternals(v,p,u,g)}))}},73232:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeMapTo=void 0;var n=o(33480),i=o(82360);h.mergeMapTo=function d(a,l,e){return void 0===e&&(e=1/0),i.isFunction(l)?n.mergeMap(function(){return a},l,e):("number"==typeof l&&(e=l),n.mergeMap(function(){return a},e))}},3380:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeScan=void 0;var n=o(66080),i=o(46972);h.mergeScan=function d(a,l,e){return void 0===e&&(e=1/0),n.operate(function(u,c){var g=l;return i.mergeInternals(u,c,function(v,p){return a(g,v,p)},e,function(v){g=v},!1,void 0,function(){return g=null})})}},57308:function(pe,h,o){"use strict";var n=this&&this.__read||function(l,e){var u="function"==typeof Symbol&&l[Symbol.iterator];if(!u)return l;var g,p,c=u.call(l),v=[];try{for(;(void 0===e||e-- >0)&&!(g=c.next()).done;)v.push(g.value)}catch(S){p={error:S}}finally{try{g&&!g.done&&(u=c.return)&&u.call(c)}finally{if(p)throw p.error}}return v},i=this&&this.__spreadArray||function(l,e){for(var u=0,c=e.length,g=l.length;u{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.min=void 0;var n=o(39980),i=o(82360);h.min=function d(a){return n.reduce(i.isFunction(a)?function(l,e){return a(l,e)<0?l:e}:function(l,e){return l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.multicast=void 0;var n=o(42416),i=o(82360),d=o(59056);h.multicast=function a(l,e){var u=i.isFunction(l)?l:function(){return l};return i.isFunction(e)?d.connect(e,{connector:u}):function(c){return new n.ConnectableObservable(c,u)}}},33752:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.observeOn=void 0;var n=o(61760),i=o(66080),d=o(35744);h.observeOn=function a(l,e){return void 0===e&&(e=0),i.operate(function(u,c){u.subscribe(d.createOperatorSubscriber(c,function(g){return n.executeSchedule(c,l,function(){return c.next(g)},e)},function(){return n.executeSchedule(c,l,function(){return c.complete()},e)},function(g){return n.executeSchedule(c,l,function(){return c.error(g)},e)}))})}},19184:function(pe,h,o){"use strict";var n=this&&this.__read||function(e,u){var c="function"==typeof Symbol&&e[Symbol.iterator];if(!c)return e;var v,S,g=c.call(e),p=[];try{for(;(void 0===u||u-- >0)&&!(v=g.next()).done;)p.push(v.value)}catch(C){S={error:C}}finally{try{v&&!v.done&&(c=g.return)&&c.call(g)}finally{if(S)throw S.error}}return p},i=this&&this.__spreadArray||function(e,u){for(var c=0,g=u.length,v=e.length;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pairwise=void 0;var n=o(66080),i=o(35744);h.pairwise=function d(){return n.operate(function(a,l){var e,u=!1;a.subscribe(i.createOperatorSubscriber(l,function(c){var g=e;e=c,u&&l.next([g,c]),u=!0}))})}},64712:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pluck=void 0;var n=o(784);h.pluck=function i(){for(var d=[],a=0;a{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publish=void 0;var n=o(90120),i=o(66752),d=o(59056);h.publish=function a(l){return l?function(e){return d.connect(l)(e)}:function(e){return i.multicast(new n.Subject)(e)}}},40360:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publishBehavior=void 0;var n=o(60488),i=o(42416);h.publishBehavior=function d(a){return function(l){var e=new n.BehaviorSubject(a);return new i.ConnectableObservable(l,function(){return e})}}},64960:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publishLast=void 0;var n=o(70408),i=o(42416);h.publishLast=function d(){return function(a){var l=new n.AsyncSubject;return new i.ConnectableObservable(a,function(){return l})}}},23944:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publishReplay=void 0;var n=o(38640),i=o(66752),d=o(82360);h.publishReplay=function a(l,e,u,c){u&&!d.isFunction(u)&&(c=u);var g=d.isFunction(u)?u:void 0;return function(v){return i.multicast(new n.ReplaySubject(l,e,c),g)(v)}}},53424:function(pe,h,o){"use strict";var n=this&&this.__read||function(u,c){var g="function"==typeof Symbol&&u[Symbol.iterator];if(!g)return u;var p,C,v=g.call(u),S=[];try{for(;(void 0===c||c-- >0)&&!(p=v.next()).done;)S.push(p.value)}catch(_){C={error:_}}finally{try{p&&!p.done&&(g=v.return)&&g.call(v)}finally{if(C)throw C.error}}return S},i=this&&this.__spreadArray||function(u,c){for(var g=0,v=c.length,p=u.length;g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.reduce=void 0;var n=o(56500),i=o(66080);h.reduce=function d(a,l){return i.operate(n.scanInternals(a,l,arguments.length>=2,!1,!0))}},60300:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.refCount=void 0;var n=o(66080),i=o(35744);h.refCount=function d(){return n.operate(function(a,l){var e=null;a._refCount++;var u=i.createOperatorSubscriber(l,void 0,void 0,void 0,function(){if(!a||a._refCount<=0||0<--a._refCount)e=null;else{var c=a._connection,g=e;e=null,c&&(!g||c===g)&&c.unsubscribe(),l.unsubscribe()}});a.subscribe(u),u.closed||(e=a.connect())})}},90532:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.repeat=void 0;var n=o(31456),i=o(66080),d=o(35744),a=o(81280),l=o(34168);h.repeat=function e(u){var c,v,g=1/0;return null!=u&&("object"==typeof u?(g=void 0===(c=u.count)?1/0:c,v=u.delay):g=u),g<=0?function(){return n.EMPTY}:i.operate(function(p,S){var _,C=0,f=function(){if(_?.unsubscribe(),_=null,null!=v){var b="number"==typeof v?l.timer(v):a.innerFrom(v(C)),E=d.createOperatorSubscriber(S,function(){E.unsubscribe(),y()});b.subscribe(E)}else y()},y=function(){var b=!1;_=p.subscribe(d.createOperatorSubscriber(S,void 0,function(){++C{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.repeatWhen=void 0;var n=o(81280),i=o(90120),d=o(66080),a=o(35744);h.repeatWhen=function l(e){return d.operate(function(u,c){var g,p,v=!1,S=!1,C=!1,_=function(){return C&&S&&(c.complete(),!0)},y=function(){C=!1,g=u.subscribe(a.createOperatorSubscriber(c,void 0,function(){C=!0,!_()&&(p||(p=new i.Subject,n.innerFrom(e(p)).subscribe(a.createOperatorSubscriber(c,function(){g?y():v=!0},function(){S=!0,_()}))),p).next()})),v&&(g.unsubscribe(),g=null,v=!1,y())};y()})}},584:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.retry=void 0;var n=o(66080),i=o(35744),d=o(55184),a=o(34168),l=o(81280);h.retry=function e(u){var c;void 0===u&&(u=1/0);var g=(c=u&&"object"==typeof u?u:{count:u}).count,v=void 0===g?1/0:g,p=c.delay,S=c.resetOnSuccess,C=void 0!==S&&S;return v<=0?d.identity:n.operate(function(_,f){var b,y=0,E=function(){var M=!1;b=_.subscribe(i.createOperatorSubscriber(f,function(A){C&&(y=0),f.next(A)},void 0,function(A){if(y++{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.retryWhen=void 0;var n=o(81280),i=o(90120),d=o(66080),a=o(35744);h.retryWhen=function l(e){return d.operate(function(u,c){var g,p,v=!1,S=function(){g=u.subscribe(a.createOperatorSubscriber(c,void 0,void 0,function(C){p||(p=new i.Subject,n.innerFrom(e(p)).subscribe(a.createOperatorSubscriber(c,function(){return g?S():v=!0}))),p&&p.next(C)})),v&&(g.unsubscribe(),g=null,v=!1,S())};S()})}},64968:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.sample=void 0;var n=o(81280),i=o(66080),d=o(48320),a=o(35744);h.sample=function l(e){return i.operate(function(u,c){var g=!1,v=null;u.subscribe(a.createOperatorSubscriber(c,function(p){g=!0,v=p})),n.innerFrom(e).subscribe(a.createOperatorSubscriber(c,function(){if(g){g=!1;var p=v;v=null,c.next(p)}},d.noop))})}},97792:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.sampleTime=void 0;var n=o(69252),i=o(64968),d=o(2071);h.sampleTime=function a(l,e){return void 0===e&&(e=n.asyncScheduler),i.sample(d.interval(l,e))}},17752:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scan=void 0;var n=o(66080),i=o(56500);h.scan=function d(a,l){return n.operate(i.scanInternals(a,l,arguments.length>=2,!0))}},56500:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scanInternals=void 0;var n=o(35744);h.scanInternals=function i(d,a,l,e,u){return function(c,g){var v=l,p=a,S=0;c.subscribe(n.createOperatorSubscriber(g,function(C){var _=S++;p=v?d(p,C,_):(v=!0,C),e&&g.next(p)},u&&function(){v&&g.next(p),g.complete()}))}}},43904:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.sequenceEqual=void 0;var n=o(66080),i=o(35744),d=o(81280);h.sequenceEqual=function a(e,u){return void 0===u&&(u=function(c,g){return c===g}),n.operate(function(c,g){var v={buffer:[],complete:!1},p={buffer:[],complete:!1},S=function(_){g.next(_),g.complete()},C=function(_,f){var y=i.createOperatorSubscriber(g,function(b){var E=f.buffer;0===E.length?f.complete?S(!1):_.buffer.push(b):!u(b,E.shift())&&S(!1)},function(){_.complete=!0,f.complete&&S(0===f.buffer.length),y?.unsubscribe()});return y};c.subscribe(C(v,p)),d.innerFrom(e).subscribe(C(p,v))})}},95912:function(pe,h,o){"use strict";var n=this&&this.__read||function(g,v){var p="function"==typeof Symbol&&g[Symbol.iterator];if(!p)return g;var C,f,S=p.call(g),_=[];try{for(;(void 0===v||v-- >0)&&!(C=S.next()).done;)_.push(C.value)}catch(y){f={error:y}}finally{try{C&&!C.done&&(p=S.return)&&p.call(S)}finally{if(f)throw f.error}}return _},i=this&&this.__spreadArray||function(g,v){for(var p=0,S=v.length,C=g.length;p0&&(M=new l.SafeSubscriber({next:function(te){return G.next(te)},error:function(te){T=!0,P(),A=c(x,C,te),G.error(te)},complete:function(){j=!0,P(),A=c(x,f),G.complete()}}),d.innerFrom(O).subscribe(M))})(E)}}},20468:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.shareReplay=void 0;var n=o(38640),i=o(95912);h.shareReplay=function d(a,l,e){var u,c,g,v,p=!1;return a&&"object"==typeof a?(v=void 0===(u=a.bufferSize)?1/0:u,l=void 0===(c=a.windowTime)?1/0:c,p=void 0!==(g=a.refCount)&&g,e=a.scheduler):v=a??1/0,i.share({connector:function(){return new n.ReplaySubject(v,l,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:p})}},43952:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.single=void 0;var n=o(51544),i=o(71016),d=o(15496),a=o(66080),l=o(35744);h.single=function e(u){return a.operate(function(c,g){var p,v=!1,S=!1,C=0;c.subscribe(l.createOperatorSubscriber(g,function(_){S=!0,(!u||u(_,C++,c))&&(v&&g.error(new i.SequenceError("Too many matching values")),v=!0,p=_)},function(){v?(g.next(p),g.complete()):g.error(S?new d.NotFoundError("No matching values"):new n.EmptyError)}))})}},98196:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skip=void 0;var n=o(39840);h.skip=function i(d){return n.filter(function(a,l){return d<=l})}},47832:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skipLast=void 0;var n=o(55184),i=o(66080),d=o(35744);h.skipLast=function a(l){return l<=0?n.identity:i.operate(function(e,u){var c=new Array(l),g=0;return e.subscribe(d.createOperatorSubscriber(u,function(v){var p=g++;if(p{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skipUntil=void 0;var n=o(66080),i=o(35744),d=o(81280),a=o(48320);h.skipUntil=function l(e){return n.operate(function(u,c){var g=!1,v=i.createOperatorSubscriber(c,function(){v?.unsubscribe(),g=!0},a.noop);d.innerFrom(e).subscribe(v),u.subscribe(i.createOperatorSubscriber(c,function(p){return g&&c.next(p)}))})}},49856:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skipWhile=void 0;var n=o(66080),i=o(35744);h.skipWhile=function d(a){return n.operate(function(l,e){var u=!1,c=0;l.subscribe(i.createOperatorSubscriber(e,function(g){return(u||(u=!a(g,c++)))&&e.next(g)}))})}},59612:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.startWith=void 0;var n=o(24560),i=o(69724),d=o(66080);h.startWith=function a(){for(var l=[],e=0;e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.subscribeOn=void 0;var n=o(66080);h.subscribeOn=function i(d,a){return void 0===a&&(a=0),n.operate(function(l,e){e.add(d.schedule(function(){return l.subscribe(e)},a))})}},63368:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchAll=void 0;var n=o(39876),i=o(55184);h.switchAll=function d(){return n.switchMap(i.identity)}},39876:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchMap=void 0;var n=o(81280),i=o(66080),d=o(35744);h.switchMap=function a(l,e){return i.operate(function(u,c){var g=null,v=0,p=!1,S=function(){return p&&!g&&c.complete()};u.subscribe(d.createOperatorSubscriber(c,function(C){g?.unsubscribe();var _=0,f=v++;n.innerFrom(l(C,f)).subscribe(g=d.createOperatorSubscriber(c,function(y){return c.next(e?e(C,y,f,_++):y)},function(){g=null,S()}))},function(){p=!0,S()}))})}},57168:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchMapTo=void 0;var n=o(39876),i=o(82360);h.switchMapTo=function d(a,l){return i.isFunction(l)?n.switchMap(function(){return a},l):n.switchMap(function(){return a})}},19980:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchScan=void 0;var n=o(39876),i=o(66080);h.switchScan=function d(a,l){return i.operate(function(e,u){var c=l;return n.switchMap(function(g,v){return a(c,g,v)},function(g,v){return c=v,v})(e).subscribe(u),function(){c=null}})}},38120:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.take=void 0;var n=o(31456),i=o(66080),d=o(35744);h.take=function a(l){return l<=0?function(){return n.EMPTY}:i.operate(function(e,u){var c=0;e.subscribe(d.createOperatorSubscriber(u,function(g){++c<=l&&(u.next(g),l<=c&&u.complete())}))})}},32224:function(pe,h,o){"use strict";var n=this&&this.__values||function(e){var u="function"==typeof Symbol&&Symbol.iterator,c=u&&e[u],g=0;if(c)return c.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.takeLast=void 0;var i=o(31456),d=o(66080),a=o(35744);h.takeLast=function l(e){return e<=0?function(){return i.EMPTY}:d.operate(function(u,c){var g=[];u.subscribe(a.createOperatorSubscriber(c,function(v){g.push(v),e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.takeUntil=void 0;var n=o(66080),i=o(35744),d=o(81280),a=o(48320);h.takeUntil=function l(e){return n.operate(function(u,c){d.innerFrom(e).subscribe(i.createOperatorSubscriber(c,function(){return c.complete()},a.noop)),!c.closed&&u.subscribe(c)})}},35408:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.takeWhile=void 0;var n=o(66080),i=o(35744);h.takeWhile=function d(a,l){return void 0===l&&(l=!1),n.operate(function(e,u){var c=0;e.subscribe(i.createOperatorSubscriber(u,function(g){var v=a(g,c++);(v||l)&&u.next(g),!v&&u.complete()}))})}},46748:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.tap=void 0;var n=o(82360),i=o(66080),d=o(35744),a=o(55184);h.tap=function l(e,u,c){var g=n.isFunction(e)||u||c?{next:e,error:u,complete:c}:e;return g?i.operate(function(v,p){var S;null===(S=g.subscribe)||void 0===S||S.call(g);var C=!0;v.subscribe(d.createOperatorSubscriber(p,function(_){var f;null===(f=g.next)||void 0===f||f.call(g,_),p.next(_)},function(){var _;C=!1,null===(_=g.complete)||void 0===_||_.call(g),p.complete()},function(_){var f;C=!1,null===(f=g.error)||void 0===f||f.call(g,_),p.error(_)},function(){var _,f;C&&(null===(_=g.unsubscribe)||void 0===_||_.call(g)),null===(f=g.finalize)||void 0===f||f.call(g)}))}):a.identity}},66720:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throttle=void 0;var n=o(66080),i=o(35744),d=o(81280);h.throttle=function a(l,e){return n.operate(function(u,c){var g=e??{},v=g.leading,p=void 0===v||v,S=g.trailing,C=void 0!==S&&S,_=!1,f=null,y=null,b=!1,E=function(){y?.unsubscribe(),y=null,C&&(I(),b&&c.complete())},M=function(){y=null,b&&c.complete()},A=function(F){return y=d.innerFrom(l(F)).subscribe(i.createOperatorSubscriber(c,E,M))},I=function(){if(_){_=!1;var F=f;f=null,c.next(F),!b&&A(F)}};u.subscribe(i.createOperatorSubscriber(c,function(F){_=!0,f=F,(!y||y.closed)&&(p?I():A(F))},function(){b=!0,(!(C&&_&&y)||y.closed)&&c.complete()}))})}},44236:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throttleTime=void 0;var n=o(69252),i=o(66720),d=o(34168);h.throttleTime=function a(l,e,u){void 0===e&&(e=n.asyncScheduler);var c=d.timer(l,e);return i.throttle(function(){return c},u)}},51056:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throwIfEmpty=void 0;var n=o(51544),i=o(66080),d=o(35744);function l(){return new n.EmptyError}h.throwIfEmpty=function a(e){return void 0===e&&(e=l),i.operate(function(u,c){var g=!1;u.subscribe(d.createOperatorSubscriber(c,function(v){g=!0,c.next(v)},function(){return g?c.complete():c.error(e())}))})}},39500:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.TimeInterval=h.timeInterval=void 0;var n=o(69252),i=o(66080),d=o(35744);h.timeInterval=function a(e){return void 0===e&&(e=n.asyncScheduler),i.operate(function(u,c){var g=e.now();u.subscribe(d.createOperatorSubscriber(c,function(v){var p=e.now(),S=p-g;g=p,c.next(new l(v,S))}))})};var l=function(){return function e(u,c){this.value=u,this.interval=c}}();h.TimeInterval=l},20268:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timeout=h.TimeoutError=void 0;var n=o(69252),i=o(42384),d=o(66080),a=o(81280),l=o(26624),e=o(35744),u=o(61760);function g(v){throw new h.TimeoutError(v)}h.TimeoutError=l.createErrorClass(function(v){return function(S){void 0===S&&(S=null),v(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=S}}),h.timeout=function c(v,p){var S=i.isValidDate(v)?{first:v}:"number"==typeof v?{each:v}:v,C=S.first,_=S.each,f=S.with,y=void 0===f?g:f,b=S.scheduler,E=void 0===b?p??n.asyncScheduler:b,M=S.meta,A=void 0===M?null:M;if(null==C&&null==_)throw new TypeError("No timeout provided.");return d.operate(function(I,F){var j,T,P=null,x=0,N=function(O){T=u.executeSchedule(F,E,function(){try{j.unsubscribe(),a.innerFrom(y({meta:A,lastValue:P,seen:x})).subscribe(F)}catch(H){F.error(H)}},O)};j=I.subscribe(e.createOperatorSubscriber(F,function(O){T?.unsubscribe(),x++,F.next(P=O),_>0&&N(_)},void 0,void 0,function(){T?.closed||T?.unsubscribe(),P=null})),!x&&N(null!=C?"number"==typeof C?C:+C-E.now():_)})}},88536:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timeoutWith=void 0;var n=o(69252),i=o(42384),d=o(20268);h.timeoutWith=function a(l,e,u){var c,g,v;if(u=u??n.async,i.isValidDate(l)?c=l:"number"==typeof l&&(g=l),!e)throw new TypeError("No observable provided to switch to");if(v=function(){return e},null==c&&null==g)throw new TypeError("No timeout provided.");return d.timeout({first:c,each:g,scheduler:u,with:v})}},37248:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timestamp=void 0;var n=o(8764),i=o(784);h.timestamp=function d(a){return void 0===a&&(a=n.dateTimestampProvider),i.map(function(l){return{value:l,timestamp:a.now()}})}},29316:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.toArray=void 0;var n=o(39980),i=o(66080),d=function(l,e){return l.push(e),l};h.toArray=function a(){return i.operate(function(l,e){n.reduce(d,[])(l).subscribe(e)})}},40560:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.window=void 0;var n=o(90120),i=o(66080),d=o(35744),a=o(48320),l=o(81280);h.window=function e(u){return i.operate(function(c,g){var v=new n.Subject;g.next(v.asObservable());var p=function(S){v.error(S),g.error(S)};return c.subscribe(d.createOperatorSubscriber(g,function(S){return v?.next(S)},function(){v.complete(),g.complete()},p)),l.innerFrom(u).subscribe(d.createOperatorSubscriber(g,function(){v.complete(),g.next(v=new n.Subject)},a.noop,p)),function(){v?.unsubscribe(),v=null}})}},79068:function(pe,h,o){"use strict";var n=this&&this.__values||function(e){var u="function"==typeof Symbol&&Symbol.iterator,c=u&&e[u],g=0;if(c)return c.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.windowCount=void 0;var i=o(90120),d=o(66080),a=o(35744);h.windowCount=function l(e,u){void 0===u&&(u=0);var c=u>0?u:e;return d.operate(function(g,v){var p=[new i.Subject],C=0;v.next(p[0].asObservable()),g.subscribe(a.createOperatorSubscriber(v,function(_){var f,y;try{for(var b=n(p),E=b.next();!E.done;E=b.next())E.value.next(_)}catch(F){f={error:F}}finally{try{E&&!E.done&&(y=b.return)&&y.call(b)}finally{if(f)throw f.error}}var A=C-e+1;if(A>=0&&A%c==0&&p.shift().complete(),++C%c==0){var I=new i.Subject;p.push(I),v.next(I.asObservable())}},function(){for(;p.length>0;)p.shift().complete();v.complete()},function(_){for(;p.length>0;)p.shift().error(_);v.error(_)},function(){p=null}))})}},11984:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.windowTime=void 0;var n=o(90120),i=o(69252),d=o(40576),a=o(66080),l=o(35744),e=o(39852),u=o(69724),c=o(61760);h.windowTime=function g(v){for(var p,S,C=[],_=1;_=0?c.executeSchedule(M,f,j,y,!0):I=!0,j();var T=function(x){return A.slice().forEach(x)},P=function(x){T(function(N){return x(N.window)}),x(M),M.unsubscribe()};return E.subscribe(l.createOperatorSubscriber(M,function(x){T(function(N){N.window.next(x),b<=++N.seen&&F(N)})},function(){return P(function(x){return x.complete()})},function(x){return P(function(N){return N.error(x)})})),function(){A=null}})}},97776:function(pe,h,o){"use strict";var n=this&&this.__values||function(v){var p="function"==typeof Symbol&&Symbol.iterator,S=p&&v[p],C=0;if(S)return S.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&C>=v.length&&(v=void 0),{value:v&&v[C++],done:!v}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.windowToggle=void 0;var i=o(90120),d=o(40576),a=o(66080),l=o(81280),e=o(35744),u=o(48320),c=o(39852);h.windowToggle=function g(v,p){return a.operate(function(S,C){var _=[],f=function(y){for(;0<_.length;)_.shift().error(y);C.error(y)};l.innerFrom(v).subscribe(e.createOperatorSubscriber(C,function(y){var b=new i.Subject;_.push(b);var A,E=new d.Subscription;try{A=l.innerFrom(p(y))}catch(I){return void f(I)}C.next(b.asObservable()),E.add(A.subscribe(e.createOperatorSubscriber(C,function(){c.arrRemove(_,b),b.complete(),E.unsubscribe()},u.noop,f)))},u.noop)),S.subscribe(e.createOperatorSubscriber(C,function(y){var b,E,M=_.slice();try{for(var A=n(M),I=A.next();!I.done;I=A.next())I.value.next(y)}catch(j){b={error:j}}finally{try{I&&!I.done&&(E=A.return)&&E.call(A)}finally{if(b)throw b.error}}},function(){for(;0<_.length;)_.shift().complete();C.complete()},f,function(){for(;0<_.length;)_.shift().unsubscribe()}))})}},36872:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.windowWhen=void 0;var n=o(90120),i=o(66080),d=o(35744),a=o(81280);h.windowWhen=function l(e){return i.operate(function(u,c){var g,v,p=function(C){g.error(C),c.error(C)},S=function(){var C;v?.unsubscribe(),g?.complete(),g=new n.Subject,c.next(g.asObservable());try{C=a.innerFrom(e())}catch(_){return void p(_)}C.subscribe(v=d.createOperatorSubscriber(c,S,S,p))};S(),u.subscribe(d.createOperatorSubscriber(c,function(C){return g.next(C)},function(){g.complete(),c.complete()},p,function(){v?.unsubscribe(),g=null}))})}},95780:function(pe,h,o){"use strict";var n=this&&this.__read||function(v,p){var S="function"==typeof Symbol&&v[Symbol.iterator];if(!S)return v;var _,y,C=S.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=C.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(S=C.return)&&S.call(C)}finally{if(y)throw y.error}}return f},i=this&&this.__spreadArray||function(v,p){for(var S=0,C=p.length,_=v.length;S0)&&!(v=g.next()).done;)p.push(v.value)}catch(C){S={error:C}}finally{try{v&&!v.done&&(c=g.return)&&c.call(g)}finally{if(S)throw S.error}}return p},i=this&&this.__spreadArray||function(e,u){for(var c=0,g=u.length,v=e.length;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.zipAll=void 0;var n=o(59172),i=o(28400);h.zipAll=function d(a){return i.joinAllInternals(n.zip,a)}},56824:function(pe,h,o){"use strict";var n=this&&this.__read||function(l,e){var u="function"==typeof Symbol&&l[Symbol.iterator];if(!u)return l;var g,p,c=u.call(l),v=[];try{for(;(void 0===e||e-- >0)&&!(g=c.next()).done;)v.push(g.value)}catch(S){p={error:S}}finally{try{g&&!g.done&&(u=c.return)&&u.call(c)}finally{if(p)throw p.error}}return v},i=this&&this.__spreadArray||function(l,e){for(var u=0,c=e.length,g=l.length;u{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleArray=void 0;var n=o(15448);h.scheduleArray=function i(d,a){return new n.Observable(function(l){var e=0;return a.schedule(function(){e===d.length?l.complete():(l.next(d[e++]),l.closed||this.schedule())})})}},37360:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleAsyncIterable=void 0;var n=o(15448),i=o(61760);h.scheduleAsyncIterable=function d(a,l){if(!a)throw new Error("Iterable cannot be null");return new n.Observable(function(e){i.executeSchedule(e,l,function(){var u=a[Symbol.asyncIterator]();i.executeSchedule(e,l,function(){u.next().then(function(c){c.done?e.complete():e.next(c.value)})},0,!0)})})}},66589:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleIterable=void 0;var n=o(15448),i=o(71040),d=o(82360),a=o(61760);h.scheduleIterable=function l(e,u){return new n.Observable(function(c){var g;return a.executeSchedule(c,u,function(){g=e[i.iterator](),a.executeSchedule(c,u,function(){var v,p,S;try{p=(v=g.next()).value,S=v.done}catch(C){return void c.error(C)}S?c.complete():c.next(p)},0,!0)}),function(){return d.isFunction(g?.return)&&g.return()}})}},90996:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleObservable=void 0;var n=o(81280),i=o(33752),d=o(67992);h.scheduleObservable=function a(l,e){return n.innerFrom(l).pipe(d.subscribeOn(e),i.observeOn(e))}},23219:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.schedulePromise=void 0;var n=o(81280),i=o(33752),d=o(67992);h.schedulePromise=function a(l,e){return n.innerFrom(l).pipe(d.subscribeOn(e),i.observeOn(e))}},95196:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleReadableStreamLike=void 0;var n=o(37360),i=o(11416);h.scheduleReadableStreamLike=function d(a,l){return n.scheduleAsyncIterable(i.readableStreamLikeToAsyncGenerator(a),l)}},44232:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduled=void 0;var n=o(90996),i=o(23219),d=o(24920),a=o(66589),l=o(37360),e=o(18440),u=o(28296),c=o(18224),g=o(30640),v=o(37156),p=o(34088),S=o(11416),C=o(95196);h.scheduled=function _(f,y){if(null!=f){if(e.isInteropObservable(f))return n.scheduleObservable(f,y);if(c.isArrayLike(f))return d.scheduleArray(f,y);if(u.isPromise(f))return i.schedulePromise(f,y);if(v.isAsyncIterable(f))return l.scheduleAsyncIterable(f,y);if(g.isIterable(f))return a.scheduleIterable(f,y);if(S.isReadableStreamLike(f))return C.scheduleReadableStreamLike(f,y)}throw p.createInvalidObservableTypeError(f)}},30576:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.Action=void 0;var d=function(a){function l(e,u){return a.call(this)||this}return n(l,a),l.prototype.schedule=function(e,u){return void 0===u&&(u=0),this},l}(o(40576).Subscription);h.Action=d},70079:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var l=function(e,u){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,g){c.__proto__=g}||function(c,g){for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(c[v]=g[v])})(e,u)};return function(e,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function c(){this.constructor=e}l(e,u),e.prototype=null===u?Object.create(u):(c.prototype=u.prototype,new c)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AnimationFrameAction=void 0;var i=o(6972),d=o(24352),a=function(l){function e(u,c){var g=l.call(this,u,c)||this;return g.scheduler=u,g.work=c,g}return n(e,l),e.prototype.requestAsyncId=function(u,c,g){return void 0===g&&(g=0),null!==g&&g>0?l.prototype.requestAsyncId.call(this,u,c,g):(u.actions.push(this),u._scheduled||(u._scheduled=d.animationFrameProvider.requestAnimationFrame(function(){return u.flush(void 0)})))},e.prototype.recycleAsyncId=function(u,c,g){var v;if(void 0===g&&(g=0),null!=g?g>0:this.delay>0)return l.prototype.recycleAsyncId.call(this,u,c,g);var p=u.actions;null!=c&&(null===(v=p[p.length-1])||void 0===v?void 0:v.id)!==c&&(d.animationFrameProvider.cancelAnimationFrame(c),u._scheduled=void 0)},e}(i.AsyncAction);h.AnimationFrameAction=a},41752:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AnimationFrameScheduler=void 0;var d=function(a){function l(){return null!==a&&a.apply(this,arguments)||this}return n(l,a),l.prototype.flush=function(e){this._active=!0;var u=this._scheduled;this._scheduled=void 0;var g,c=this.actions;e=e||c.shift();do{if(g=e.execute(e.state,e.delay))break}while((e=c[0])&&e.id===u&&c.shift());if(this._active=!1,g){for(;(e=c[0])&&e.id===u&&c.shift();)e.unsubscribe();throw g}},l}(o(16660).AsyncScheduler);h.AnimationFrameScheduler=d},48368:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var l=function(e,u){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,g){c.__proto__=g}||function(c,g){for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(c[v]=g[v])})(e,u)};return function(e,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function c(){this.constructor=e}l(e,u),e.prototype=null===u?Object.create(u):(c.prototype=u.prototype,new c)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsapAction=void 0;var i=o(6972),d=o(7832),a=function(l){function e(u,c){var g=l.call(this,u,c)||this;return g.scheduler=u,g.work=c,g}return n(e,l),e.prototype.requestAsyncId=function(u,c,g){return void 0===g&&(g=0),null!==g&&g>0?l.prototype.requestAsyncId.call(this,u,c,g):(u.actions.push(this),u._scheduled||(u._scheduled=d.immediateProvider.setImmediate(u.flush.bind(u,void 0))))},e.prototype.recycleAsyncId=function(u,c,g){var v;if(void 0===g&&(g=0),null!=g?g>0:this.delay>0)return l.prototype.recycleAsyncId.call(this,u,c,g);var p=u.actions;null!=c&&(null===(v=p[p.length-1])||void 0===v?void 0:v.id)!==c&&(d.immediateProvider.clearImmediate(c),u._scheduled===c&&(u._scheduled=void 0))},e}(i.AsyncAction);h.AsapAction=a},32400:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsapScheduler=void 0;var d=function(a){function l(){return null!==a&&a.apply(this,arguments)||this}return n(l,a),l.prototype.flush=function(e){this._active=!0;var u=this._scheduled;this._scheduled=void 0;var g,c=this.actions;e=e||c.shift();do{if(g=e.execute(e.state,e.delay))break}while((e=c[0])&&e.id===u&&c.shift());if(this._active=!1,g){for(;(e=c[0])&&e.id===u&&c.shift();)e.unsubscribe();throw g}},l}(o(16660).AsyncScheduler);h.AsapScheduler=d},6972:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var e=function(u,c){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var p in v)Object.prototype.hasOwnProperty.call(v,p)&&(g[p]=v[p])})(u,c)};return function(u,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function g(){this.constructor=u}e(u,c),u.prototype=null===c?Object.create(c):(g.prototype=c.prototype,new g)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsyncAction=void 0;var i=o(30576),d=o(61691),a=o(39852),l=function(e){function u(c,g){var v=e.call(this,c,g)||this;return v.scheduler=c,v.work=g,v.pending=!1,v}return n(u,e),u.prototype.schedule=function(c,g){var v;if(void 0===g&&(g=0),this.closed)return this;this.state=c;var p=this.id,S=this.scheduler;return null!=p&&(this.id=this.recycleAsyncId(S,p,g)),this.pending=!0,this.delay=g,this.id=null!==(v=this.id)&&void 0!==v?v:this.requestAsyncId(S,this.id,g),this},u.prototype.requestAsyncId=function(c,g,v){return void 0===v&&(v=0),d.intervalProvider.setInterval(c.flush.bind(c,this),v)},u.prototype.recycleAsyncId=function(c,g,v){if(void 0===v&&(v=0),null!=v&&this.delay===v&&!1===this.pending)return g;null!=g&&d.intervalProvider.clearInterval(g)},u.prototype.execute=function(c,g){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var v=this._execute(c,g);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},u.prototype._execute=function(c,g){var p,v=!1;try{this.work(c)}catch(S){v=!0,p=S||new Error("Scheduled action threw falsy error")}if(v)return this.unsubscribe(),p},u.prototype.unsubscribe=function(){if(!this.closed){var g=this.id,v=this.scheduler,p=v.actions;this.work=this.state=this.scheduler=null,this.pending=!1,a.arrRemove(p,this),null!=g&&(this.id=this.recycleAsyncId(v,g,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},u}(i.Action);h.AsyncAction=l},16660:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsyncScheduler=void 0;var i=o(25784),d=function(a){function l(e,u){void 0===u&&(u=i.Scheduler.now);var c=a.call(this,e,u)||this;return c.actions=[],c._active=!1,c}return n(l,a),l.prototype.flush=function(e){var u=this.actions;if(this._active)u.push(e);else{var c;this._active=!0;do{if(c=e.execute(e.state,e.delay))break}while(e=u.shift());if(this._active=!1,c){for(;e=u.shift();)e.unsubscribe();throw c}}},l}(i.Scheduler);h.AsyncScheduler=d},71688:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.QueueAction=void 0;var d=function(a){function l(e,u){var c=a.call(this,e,u)||this;return c.scheduler=e,c.work=u,c}return n(l,a),l.prototype.schedule=function(e,u){return void 0===u&&(u=0),u>0?a.prototype.schedule.call(this,e,u):(this.delay=u,this.state=e,this.scheduler.flush(this),this)},l.prototype.execute=function(e,u){return u>0||this.closed?a.prototype.execute.call(this,e,u):this._execute(e,u)},l.prototype.requestAsyncId=function(e,u,c){return void 0===c&&(c=0),null!=c&&c>0||null==c&&this.delay>0?a.prototype.requestAsyncId.call(this,e,u,c):(e.flush(this),0)},l}(o(6972).AsyncAction);h.QueueAction=d},36148:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.QueueScheduler=void 0;var d=function(a){function l(){return null!==a&&a.apply(this,arguments)||this}return n(l,a),l}(o(16660).AsyncScheduler);h.QueueScheduler=d},45992:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var u=function(c,g){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,p){v.__proto__=p}||function(v,p){for(var S in p)Object.prototype.hasOwnProperty.call(p,S)&&(v[S]=p[S])})(c,g)};return function(c,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=c}u(c,g),c.prototype=null===g?Object.create(g):(v.prototype=g.prototype,new v)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.VirtualAction=h.VirtualTimeScheduler=void 0;var i=o(6972),d=o(40576),l=function(u){function c(g,v){void 0===g&&(g=e),void 0===v&&(v=1/0);var p=u.call(this,g,function(){return p.frame})||this;return p.maxFrames=v,p.frame=0,p.index=-1,p}return n(c,u),c.prototype.flush=function(){for(var S,C,v=this.actions,p=this.maxFrames;(C=v[0])&&C.delay<=p&&(v.shift(),this.frame=C.delay,!(S=C.execute(C.state,C.delay))););if(S){for(;C=v.shift();)C.unsubscribe();throw S}},c.frameTimeFactor=10,c}(o(16660).AsyncScheduler);h.VirtualTimeScheduler=l;var e=function(u){function c(g,v,p){void 0===p&&(p=g.index+=1);var S=u.call(this,g,v)||this;return S.scheduler=g,S.work=v,S.index=p,S.active=!0,S.index=g.index=p,S}return n(c,u),c.prototype.schedule=function(g,v){if(void 0===v&&(v=0),Number.isFinite(v)){if(!this.id)return u.prototype.schedule.call(this,g,v);this.active=!1;var p=new c(this.scheduler,this.work);return this.add(p),p.schedule(g,v)}return d.Subscription.EMPTY},c.prototype.requestAsyncId=function(g,v,p){void 0===p&&(p=0),this.delay=g.frame+p;var S=g.actions;return S.push(this),S.sort(c.sortActions),1},c.prototype.recycleAsyncId=function(g,v,p){void 0===p&&(p=0)},c.prototype._execute=function(g,v){if(!0===this.active)return u.prototype._execute.call(this,g,v)},c.sortActions=function(g,v){return g.delay===v.delay?g.index===v.index?0:g.index>v.index?1:-1:g.delay>v.delay?1:-1},c}(i.AsyncAction);h.VirtualAction=e},70232:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.animationFrame=h.animationFrameScheduler=void 0;var n=o(70079),i=o(41752);h.animationFrameScheduler=new i.AnimationFrameScheduler(n.AnimationFrameAction),h.animationFrame=h.animationFrameScheduler},24352:function(pe,h,o){"use strict";var n=this&&this.__read||function(a,l){var e="function"==typeof Symbol&&a[Symbol.iterator];if(!e)return a;var c,v,u=e.call(a),g=[];try{for(;(void 0===l||l-- >0)&&!(c=u.next()).done;)g.push(c.value)}catch(p){v={error:p}}finally{try{c&&!c.done&&(e=u.return)&&e.call(u)}finally{if(v)throw v.error}}return g},i=this&&this.__spreadArray||function(a,l){for(var e=0,u=l.length,c=a.length;e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.asap=h.asapScheduler=void 0;var n=o(48368),i=o(32400);h.asapScheduler=new i.AsapScheduler(n.AsapAction),h.asap=h.asapScheduler},69252:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.async=h.asyncScheduler=void 0;var n=o(6972),i=o(16660);h.asyncScheduler=new i.AsyncScheduler(n.AsyncAction),h.async=h.asyncScheduler},8764:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.dateTimestampProvider=void 0,h.dateTimestampProvider={now:function(){return(h.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7832:function(pe,h,o){"use strict";var n=this&&this.__read||function(e,u){var c="function"==typeof Symbol&&e[Symbol.iterator];if(!c)return e;var v,S,g=c.call(e),p=[];try{for(;(void 0===u||u-- >0)&&!(v=g.next()).done;)p.push(v.value)}catch(C){S={error:C}}finally{try{v&&!v.done&&(c=g.return)&&c.call(g)}finally{if(S)throw S.error}}return p},i=this&&this.__spreadArray||function(e,u){for(var c=0,g=u.length,v=e.length;c0)&&!(e=l.next()).done;)u.push(e.value)}catch(g){c={error:g}}finally{try{e&&!e.done&&(a=l.return)&&a.call(l)}finally{if(c)throw c.error}}return u},n=this&&this.__spreadArray||function(i,d){for(var a=0,l=d.length,e=i.length;a{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.performanceTimestampProvider=void 0,h.performanceTimestampProvider={now:function(){return(h.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},72056:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.queue=h.queueScheduler=void 0;var n=o(71688),i=o(36148);h.queueScheduler=new i.QueueScheduler(n.QueueAction),h.queue=h.queueScheduler},82480:function(pe,h){"use strict";var o=this&&this.__read||function(i,d){var a="function"==typeof Symbol&&i[Symbol.iterator];if(!a)return i;var e,c,l=a.call(i),u=[];try{for(;(void 0===d||d-- >0)&&!(e=l.next()).done;)u.push(e.value)}catch(g){c={error:g}}finally{try{e&&!e.done&&(a=l.return)&&a.call(l)}finally{if(c)throw c.error}}return u},n=this&&this.__spreadArray||function(i,d){for(var a=0,l=d.length,e=i.length;a{"use strict";function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(h,"__esModule",{value:!0}),h.iterator=h.getSymbolIterator=void 0,h.getSymbolIterator=o,h.iterator=o()},72064:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.observable=void 0,h.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},68828:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0})},32929:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ArgumentOutOfRangeError=void 0;var n=o(26624);h.ArgumentOutOfRangeError=n.createErrorClass(function(i){return function(){i(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},51544:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.EmptyError=void 0;var n=o(26624);h.EmptyError=n.createErrorClass(function(i){return function(){i(this),this.name="EmptyError",this.message="no elements in sequence"}})},6420:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.TestTools=h.Immediate=void 0;var n,o=1,i={};function d(a){return a in i&&(delete i[a],!0)}h.Immediate={setImmediate:function(a){var l=o++;return i[l]=!0,n||(n=Promise.resolve()),n.then(function(){return d(l)&&a()}),l},clearImmediate:function(a){d(a)}},h.TestTools={pending:function(){return Object.keys(i).length}}},15496:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.NotFoundError=void 0;var n=o(26624);h.NotFoundError=n.createErrorClass(function(i){return function(a){i(this),this.name="NotFoundError",this.message=a}})},92304:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ObjectUnsubscribedError=void 0;var n=o(26624);h.ObjectUnsubscribedError=n.createErrorClass(function(i){return function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},71016:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.SequenceError=void 0;var n=o(26624);h.SequenceError=n.createErrorClass(function(i){return function(a){i(this),this.name="SequenceError",this.message=a}})},9560:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.UnsubscriptionError=void 0;var n=o(26624);h.UnsubscriptionError=n.createErrorClass(function(i){return function(a){i(this),this.message=a?a.length+" errors occurred during unsubscription:\n"+a.map(function(l,e){return e+1+") "+l.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=a}})},69724:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.popNumber=h.popScheduler=h.popResultSelector=void 0;var n=o(82360),i=o(76964);function d(u){return u[u.length-1]}h.popResultSelector=function a(u){return n.isFunction(d(u))?u.pop():void 0},h.popScheduler=function l(u){return i.isScheduler(d(u))?u.pop():void 0},h.popNumber=function e(u,c){return"number"==typeof d(u)?u.pop():c}},75352:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.argsArgArrayOrObject=void 0;var o=Array.isArray,n=Object.getPrototypeOf,i=Object.prototype,d=Object.keys;h.argsArgArrayOrObject=function a(e){if(1===e.length){var u=e[0];if(o(u))return{args:u,keys:null};if(function l(e){return e&&"object"==typeof e&&n(e)===i}(u)){var c=d(u);return{args:c.map(function(g){return u[g]}),keys:c}}}return{args:e,keys:null}}},50652:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.argsOrArgArray=void 0;var o=Array.isArray;h.argsOrArgArray=function n(i){return 1===i.length&&o(i[0])?i[0]:i}},39852:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.arrRemove=void 0,h.arrRemove=function o(n,i){if(n){var d=n.indexOf(i);0<=d&&n.splice(d,1)}}},26624:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createErrorClass=void 0,h.createErrorClass=function o(n){var d=n(function(a){Error.call(a),a.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}},7788:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createObject=void 0,h.createObject=function o(n,i){return n.reduce(function(d,a,l){return d[a]=i[l],d},{})}},49664:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.captureError=h.errorContext=void 0;var n=o(90584),i=null;h.errorContext=function d(l){if(n.config.useDeprecatedSynchronousErrorHandling){var e=!i;if(e&&(i={errorThrown:!1,error:null}),l(),e){var u=i;if(i=null,u.errorThrown)throw u.error}}else l()},h.captureError=function a(l){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=l)}},61760:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.executeSchedule=void 0,h.executeSchedule=function o(n,i,d,a,l){void 0===a&&(a=0),void 0===l&&(l=!1);var e=i.schedule(function(){d(),l?n.add(this.schedule(null,a)):this.unsubscribe()},a);if(n.add(e),!l)return e}},55184:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.identity=void 0,h.identity=function o(n){return n}},18224:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isArrayLike=void 0,h.isArrayLike=function(o){return o&&"number"==typeof o.length&&"function"!=typeof o}},37156:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isAsyncIterable=void 0;var n=o(82360);h.isAsyncIterable=function i(d){return Symbol.asyncIterator&&n.isFunction(d?.[Symbol.asyncIterator])}},42384:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isValidDate=void 0,h.isValidDate=function o(n){return n instanceof Date&&!isNaN(n)}},82360:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isFunction=void 0,h.isFunction=function o(n){return"function"==typeof n}},18440:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isInteropObservable=void 0;var n=o(72064),i=o(82360);h.isInteropObservable=function d(a){return i.isFunction(a[n.observable])}},30640:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isIterable=void 0;var n=o(71040),i=o(82360);h.isIterable=function d(a){return i.isFunction(a?.[n.iterator])}},38104:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isObservable=void 0;var n=o(15448),i=o(82360);h.isObservable=function d(a){return!!a&&(a instanceof n.Observable||i.isFunction(a.lift)&&i.isFunction(a.subscribe))}},28296:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isPromise=void 0;var n=o(82360);h.isPromise=function i(d){return n.isFunction(d?.then)}},11416:function(pe,h,o){"use strict";var n=this&&this.__generator||function(u,c){var v,p,S,C,g={label:0,sent:function(){if(1&S[0])throw S[1];return S[1]},trys:[],ops:[]};return C={next:_(0),throw:_(1),return:_(2)},"function"==typeof Symbol&&(C[Symbol.iterator]=function(){return this}),C;function _(y){return function(b){return function f(y){if(v)throw new TypeError("Generator is already executing.");for(;g;)try{if(v=1,p&&(S=2&y[0]?p.return:y[0]?p.throw||((S=p.return)&&S.call(p),0):p.next)&&!(S=S.call(p,y[1])).done)return S;switch(p=0,S&&(y=[2&y[0],S.value]),y[0]){case 0:case 1:S=y;break;case 4:return g.label++,{value:y[1],done:!1};case 5:g.label++,p=y[1],y=[0];continue;case 7:y=g.ops.pop(),g.trys.pop();continue;default:if(!(S=(S=g.trys).length>0&&S[S.length-1])&&(6===y[0]||2===y[0])){g=0;continue}if(3===y[0]&&(!S||y[1]>S[0]&&y[1]1||_(M,A)})})}function _(M,A){try{!function f(M){M.value instanceof i?Promise.resolve(M.value.v).then(y,b):E(S[0][2],M)}(v[M](A))}catch(I){E(S[0][3],I)}}function y(M){_("next",M)}function b(M){_("throw",M)}function E(M,A){M(A),S.shift(),S.length&&_(S[0][0],S[0][1])}};Object.defineProperty(h,"__esModule",{value:!0}),h.isReadableStreamLike=h.readableStreamLikeToAsyncGenerator=void 0;var a=o(82360);h.readableStreamLikeToAsyncGenerator=function l(u){return d(this,arguments,function(){var g,v,p;return n(this,function(C){switch(C.label){case 0:g=u.getReader(),C.label=1;case 1:C.trys.push([1,,9,10]),C.label=2;case 2:return[4,i(g.read())];case 3:return v=C.sent(),p=v.value,v.done?[4,i(void 0)]:[3,5];case 4:return[2,C.sent()];case 5:return[4,i(p)];case 6:return[4,C.sent()];case 7:return C.sent(),[3,2];case 8:return[3,10];case 9:return g.releaseLock(),[7];case 10:return[2]}})})},h.isReadableStreamLike=function e(u){return a.isFunction(u?.getReader)}},76964:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isScheduler=void 0;var n=o(82360);h.isScheduler=function i(d){return d&&n.isFunction(d.schedule)}},66080:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.operate=h.hasLift=void 0;var n=o(82360);function i(a){return n.isFunction(a?.lift)}h.hasLift=i,h.operate=function d(a){return function(l){if(i(l))return l.lift(function(e){try{return a(e,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},82664:function(pe,h,o){"use strict";var n=this&&this.__read||function(u,c){var g="function"==typeof Symbol&&u[Symbol.iterator];if(!g)return u;var p,C,v=g.call(u),S=[];try{for(;(void 0===c||c-- >0)&&!(p=v.next()).done;)S.push(p.value)}catch(_){C={error:_}}finally{try{p&&!p.done&&(g=v.return)&&g.call(v)}finally{if(C)throw C.error}}return S},i=this&&this.__spreadArray||function(u,c){for(var g=0,v=c.length,p=u.length;g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.noop=void 0,h.noop=function o(){}},37700:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.not=void 0,h.not=function o(n,i){return function(d,a){return!n.call(i,d,a)}}},19512:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pipeFromArray=h.pipe=void 0;var n=o(55184);function d(a){return 0===a.length?n.identity:1===a.length?a[0]:function(e){return a.reduce(function(u,c){return c(u)},e)}}h.pipe=function i(){for(var a=[],l=0;l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.reportUnhandledError=void 0;var n=o(90584),i=o(82480);h.reportUnhandledError=function d(a){i.timeoutProvider.setTimeout(function(){var l=n.config.onUnhandledError;if(!l)throw a;l(a)})}},34088:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createInvalidObservableTypeError=void 0,h.createInvalidObservableTypeError=function o(n){return new TypeError("You provided "+(null!==n&&"object"==typeof n?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},46700:(pe,h,o)=>{"use strict";o.d(h,{g:()=>i});var n=o(95657);class i extends n.E{constructor(a){super(),this._value=a}get value(){return this.getValue()}_subscribe(a){const l=super._subscribe(a);return!l.closed&&a.next(this._value),l}getValue(){const{hasError:a,thrownError:l,_value:e}=this;if(a)throw l;return this._throwIfClosed(),e}next(a){super.next(this._value=a)}}},53252:(pe,h,o)=>{"use strict";o.d(h,{_:()=>c});var n=o(41760),i=o(46928),d=o(90472),a=o(83928),l=o(74491),e=o(38880),u=o(92075);let c=(()=>{class S{constructor(_){_&&(this._subscribe=_)}lift(_){const f=new S;return f.source=this,f.operator=_,f}subscribe(_,f,y){const b=function p(S){return S&&S instanceof n.yR||function v(S){return S&&(0,e.m)(S.next)&&(0,e.m)(S.error)&&(0,e.m)(S.complete)}(S)&&(0,i.GI)(S)}(_)?_:new n.ot(_,f,y);return(0,u.c)(()=>{const{operator:E,source:M}=this;b.add(E?E.call(b,M):M?this._subscribe(b):this._trySubscribe(b))}),b}_trySubscribe(_){try{return this._subscribe(_)}catch(f){_.error(f)}}forEach(_,f){return new(f=g(f))((y,b)=>{const E=new n.ot({next:M=>{try{_(M)}catch(A){b(A),E.unsubscribe()}},error:b,complete:y});this.subscribe(E)})}_subscribe(_){var f;return null===(f=this.source)||void 0===f?void 0:f.subscribe(_)}[d.a](){return this}pipe(..._){return(0,a.Y)(_)(this)}toPromise(_){return new(_=g(_))((f,y)=>{let b;this.subscribe(E=>b=E,E=>y(E),()=>f(b))})}}return S.create=C=>new S(C),S})();function g(S){var C;return null!==(C=S??l.config.Promise)&&void 0!==C?C:Promise}},22540:(pe,h,o)=>{"use strict";o.d(h,{o:()=>d});var n=o(95657),i=o(35960);class d extends n.E{constructor(l=1/0,e=1/0,u=i.K){super(),this._bufferSize=l,this._windowTime=e,this._timestampProvider=u,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,e)}next(l){const{isStopped:e,_buffer:u,_infiniteTimeWindow:c,_timestampProvider:g,_windowTime:v}=this;e||(u.push(l),!c&&u.push(g.now()+v)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(l),{_infiniteTimeWindow:u,_buffer:c}=this,g=c.slice();for(let v=0;v{"use strict";o.d(h,{E:()=>u});var n=o(53252),i=o(46928);const a=(0,o(14912).w)(g=>function(){g(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=o(41248),e=o(92075);let u=(()=>{class g extends n._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(p){const S=new c(this,this);return S.operator=p,S}_throwIfClosed(){if(this.closed)throw new a}next(p){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const S of this.currentObservers)S.next(p)}})}error(p){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:S}=this;for(;S.length;)S.shift().error(p)}})}complete(){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:p}=this;for(;p.length;)p.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var p;return(null===(p=this.observers)||void 0===p?void 0:p.length)>0}_trySubscribe(p){return this._throwIfClosed(),super._trySubscribe(p)}_subscribe(p){return this._throwIfClosed(),this._checkFinalizedStatuses(p),this._innerSubscribe(p)}_innerSubscribe(p){const{hasError:S,isStopped:C,observers:_}=this;return S||C?i.au:(this.currentObservers=null,_.push(p),new i.wH(()=>{this.currentObservers=null,(0,l.k)(_,p)}))}_checkFinalizedStatuses(p){const{hasError:S,thrownError:C,isStopped:_}=this;S?p.error(C):_&&p.complete()}asObservable(){const p=new n._;return p.source=this,p}}return g.create=(v,p)=>new c(v,p),g})();class c extends u{constructor(v,p){super(),this.destination=v,this.source=p}next(v){var p,S;null===(S=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===S||S.call(p,v)}error(v){var p,S;null===(S=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===S||S.call(p,v)}complete(){var v,p;null===(p=null===(v=this.destination)||void 0===v?void 0:v.complete)||void 0===p||p.call(v)}_subscribe(v){var p,S;return null!==(S=null===(p=this.source)||void 0===p?void 0:p.subscribe(v))&&void 0!==S?S:i.au}}},41760:(pe,h,o)=>{"use strict";o.d(h,{ot:()=>y,yR:()=>S});var n=o(38880),i=o(46928),d=o(74491),a=o(31984),l=o(20308);const e=g("C",void 0,void 0);function g(I,F,j){return{kind:I,value:F,error:j}}var v=o(43376),p=o(92075);class S extends i.wH{constructor(F){super(),this.isStopped=!1,F?(this.destination=F,(0,i.GI)(F)&&F.add(this)):this.destination=A}static create(F,j,T){return new y(F,j,T)}next(F){this.isStopped?M(function c(I){return g("N",I,void 0)}(F),this):this._next(F)}error(F){this.isStopped?M(function u(I){return g("E",void 0,I)}(F),this):(this.isStopped=!0,this._error(F))}complete(){this.isStopped?M(e,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(F){this.destination.next(F)}_error(F){try{this.destination.error(F)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const C=Function.prototype.bind;function _(I,F){return C.call(I,F)}class f{constructor(F){this.partialObserver=F}next(F){const{partialObserver:j}=this;if(j.next)try{j.next(F)}catch(T){b(T)}}error(F){const{partialObserver:j}=this;if(j.error)try{j.error(F)}catch(T){b(T)}else b(F)}complete(){const{partialObserver:F}=this;if(F.complete)try{F.complete()}catch(j){b(j)}}}class y extends S{constructor(F,j,T){let P;if(super(),(0,n.m)(F)||!F)P={next:F??void 0,error:j??void 0,complete:T??void 0};else{let x;this&&d.config.useDeprecatedNextContext?(x=Object.create(F),x.unsubscribe=()=>this.unsubscribe(),P={next:F.next&&_(F.next,x),error:F.error&&_(F.error,x),complete:F.complete&&_(F.complete,x)}):P=F}this.destination=new f(P)}}function b(I){d.config.useDeprecatedSynchronousErrorHandling?(0,p.q)(I):(0,a.U)(I)}function M(I,F){const{onStoppedNotification:j}=d.config;j&&v.u.setTimeout(()=>j(I,F))}const A={closed:!0,next:l.K,error:function E(I){throw I},complete:l.K}},46928:(pe,h,o)=>{"use strict";o.d(h,{au:()=>e,wH:()=>l,GI:()=>u});var n=o(38880);const d=(0,o(14912).w)(g=>function(p){g(this),this.message=p?`${p.length} errors occurred during unsubscription:\n${p.map((S,C)=>`${C+1}) ${S.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=p});var a=o(41248);class l{constructor(v){this.initialTeardown=v,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let v;if(!this.closed){this.closed=!0;const{_parentage:p}=this;if(p)if(this._parentage=null,Array.isArray(p))for(const _ of p)_.remove(this);else p.remove(this);const{initialTeardown:S}=this;if((0,n.m)(S))try{S()}catch(_){v=_ instanceof d?_.errors:[_]}const{_finalizers:C}=this;if(C){this._finalizers=null;for(const _ of C)try{c(_)}catch(f){v=v??[],f instanceof d?v=[...v,...f.errors]:v.push(f)}}if(v)throw new d(v)}}add(v){var p;if(v&&v!==this)if(this.closed)c(v);else{if(v instanceof l){if(v.closed||v._hasParent(this))return;v._addParent(this)}(this._finalizers=null!==(p=this._finalizers)&&void 0!==p?p:[]).push(v)}}_hasParent(v){const{_parentage:p}=this;return p===v||Array.isArray(p)&&p.includes(v)}_addParent(v){const{_parentage:p}=this;this._parentage=Array.isArray(p)?(p.push(v),p):p?[p,v]:v}_removeParent(v){const{_parentage:p}=this;p===v?this._parentage=null:Array.isArray(p)&&(0,a.k)(p,v)}remove(v){const{_finalizers:p}=this;p&&(0,a.k)(p,v),v instanceof l&&v._removeParent(this)}}l.EMPTY=(()=>{const g=new l;return g.closed=!0,g})();const e=l.EMPTY;function u(g){return g instanceof l||g&&"closed"in g&&(0,n.m)(g.remove)&&(0,n.m)(g.add)&&(0,n.m)(g.unsubscribe)}function c(g){(0,n.m)(g)?g():g.unsubscribe()}},74491:(pe,h,o)=>{"use strict";o.d(h,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},56040:(pe,h,o)=>{"use strict";o.d(h,{E:()=>v});var n=o(53252),i=o(64300),d=o(74496),a=o(528),l=o(74187),e=o(59472),u=o(67904),c=o(87773),g=o(69399);function v(...C){const _=(0,e.e_)(C),f=(0,e.yu)(C),{args:y,keys:b}=(0,i.Q)(C);if(0===y.length)return(0,d.Q)([],_);const E=new n._(function p(C,_,f=a.Z){return y=>{S(_,()=>{const{length:b}=C,E=new Array(b);let M=b,A=b;for(let I=0;I{const F=(0,d.Q)(C[I],_);let j=!1;F.subscribe((0,c.e)(y,T=>{E[I]=T,j||(j=!0,A--),A||y.next(f(E.slice()))},()=>{--M||y.complete()}))},y)},y)}}(y,_,b?M=>(0,u.q)(b,M):a.Z));return f?E.pipe((0,l.j)(f)):E}function S(C,_,f){C?(0,g._)(f,C,_):_()}},41424:(pe,h,o)=>{"use strict";o.d(h,{Q:()=>d});var n=o(53252),i=o(50560);function d(a){return new n._(l=>{(0,i.Uv)(a()).subscribe(l)})}},28960:(pe,h,o)=>{"use strict";o.d(h,{k:()=>i});const i=new(o(53252)._)(l=>l.complete())},74496:(pe,h,o)=>{"use strict";o.d(h,{Q:()=>T});var n=o(50560),i=o(69399),d=o(95448),a=o(87773);function l(P,x=0){return(0,d.i)((N,O)=>{N.subscribe((0,a.e)(O,H=>(0,i._)(O,P,()=>O.next(H),x),()=>(0,i._)(O,P,()=>O.complete(),x),H=>(0,i._)(O,P,()=>O.error(H),x)))})}function e(P,x=0){return(0,d.i)((N,O)=>{O.add(P.schedule(()=>N.subscribe(O),x))})}var g=o(53252),p=o(23835),S=o(38880);function _(P,x){if(!P)throw new Error("Iterable cannot be null");return new g._(N=>{(0,i._)(N,x,()=>{const O=P[Symbol.asyncIterator]();(0,i._)(N,x,()=>{O.next().then(H=>{H.done?N.complete():N.next(H.value)})},0,!0)})})}var f=o(35099),y=o(55432),b=o(45428),E=o(61688),M=o(60376),A=o(58272),I=o(45832);function T(P,x){return x?function j(P,x){if(null!=P){if((0,f.O)(P))return function u(P,x){return(0,n.Uv)(P).pipe(e(x),l(x))}(P,x);if((0,b.G)(P))return function v(P,x){return new g._(N=>{let O=0;return x.schedule(function(){O===P.length?N.complete():(N.next(P[O++]),N.closed||this.schedule())})})}(P,x);if((0,y.u)(P))return function c(P,x){return(0,n.Uv)(P).pipe(e(x),l(x))}(P,x);if((0,M.E)(P))return _(P,x);if((0,E.i)(P))return function C(P,x){return new g._(N=>{let O;return(0,i._)(N,x,()=>{O=P[p.w](),(0,i._)(N,x,()=>{let H,G;try{({value:H,done:G}=O.next())}catch(te){return void N.error(te)}G?N.complete():N.next(H)},0,!0)}),()=>(0,S.m)(O?.return)&&O.return()})}(P,x);if((0,I.K)(P))return function F(P,x){return _((0,I._)(P),x)}(P,x)}throw(0,A.W)(P)}(P,x):(0,n.Uv)(P)}},70800:(pe,h,o)=>{"use strict";o.d(h,{w:()=>v});var n=o(50560),i=o(53252),d=o(7400),a=o(45428),l=o(38880),e=o(74187);const u=["addListener","removeListener"],c=["addEventListener","removeEventListener"],g=["on","off"];function v(f,y,b,E){if((0,l.m)(b)&&(E=b,b=void 0),E)return v(f,y,b).pipe((0,e.j)(E));const[M,A]=function _(f){return(0,l.m)(f.addEventListener)&&(0,l.m)(f.removeEventListener)}(f)?c.map(I=>F=>f[I](y,F,b)):function S(f){return(0,l.m)(f.addListener)&&(0,l.m)(f.removeListener)}(f)?u.map(p(f,y)):function C(f){return(0,l.m)(f.on)&&(0,l.m)(f.off)}(f)?g.map(p(f,y)):[];if(!M&&(0,a.G)(f))return(0,d.O)(I=>v(I,y,b))((0,n.Uv)(f));if(!M)throw new TypeError("Invalid event target");return new i._(I=>{const F=(...j)=>I.next(1A(F)})}function p(f,y){return b=>E=>f[b](y,E)}},50560:(pe,h,o)=>{"use strict";o.d(h,{Uv:()=>C});var n=o(81316),i=o(45428),d=o(55432),a=o(53252),l=o(35099),e=o(60376),u=o(58272),c=o(61688),g=o(45832),v=o(38880),p=o(31984),S=o(90472);function C(I){if(I instanceof a._)return I;if(null!=I){if((0,l.O)(I))return function _(I){return new a._(F=>{const j=I[S.a]();if((0,v.m)(j.subscribe))return j.subscribe(F);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(I);if((0,i.G)(I))return function f(I){return new a._(F=>{for(let j=0;j{I.then(j=>{F.closed||(F.next(j),F.complete())},j=>F.error(j)).then(null,p.U)})}(I);if((0,e.E)(I))return E(I);if((0,c.i)(I))return function b(I){return new a._(F=>{for(const j of I)if(F.next(j),F.closed)return;F.complete()})}(I);if((0,g.K)(I))return function M(I){return E((0,g._)(I))}(I)}throw(0,u.W)(I)}function E(I){return new a._(F=>{(function A(I,F){var j,T,P,x;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(j=(0,n.__asyncValues)(I);!(T=yield j.next()).done;)if(F.next(T.value),F.closed)return}catch(N){P={error:N}}finally{try{T&&!T.done&&(x=j.return)&&(yield x.call(j))}finally{if(P)throw P.error}}F.complete()})})(I,F).catch(j=>F.error(j))})}},82700:(pe,h,o)=>{"use strict";o.d(h,{of:()=>d});var n=o(59472),i=o(74496);function d(...a){const l=(0,n.e_)(a);return(0,i.Q)(a,l)}},87773:(pe,h,o)=>{"use strict";o.d(h,{e:()=>i});var n=o(41760);function i(a,l,e,u,c){return new d(a,l,e,u,c)}class d extends n.yR{constructor(l,e,u,c,g,v){super(l),this.onFinalize=g,this.shouldUnsubscribe=v,this._next=e?function(p){try{e(p)}catch(S){l.error(S)}}:super._next,this._error=c?function(p){try{c(p)}catch(S){l.error(S)}finally{this.unsubscribe()}}:super._error,this._complete=u?function(){try{u()}catch(p){l.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},39144:(pe,h,o)=>{"use strict";o.d(h,{a:()=>a});var n=o(50560),i=o(87773),d=o(95448);function a(l){return(0,d.i)((e,u)=>{let v,c=null,g=!1;c=e.subscribe((0,i.e)(u,void 0,void 0,p=>{v=(0,n.Uv)(l(p,a(l)(e))),c?(c.unsubscribe(),c=null,v.subscribe(u)):g=!0})),g&&(c.unsubscribe(),c=null,v.subscribe(u))})}},26020:(pe,h,o)=>{"use strict";o.d(h,{m:()=>d});var n=o(7400),i=o(38880);function d(a,l){return(0,i.m)(l)?(0,n.O)(a,l,1):(0,n.O)(a,1)}},22156:(pe,h,o)=>{"use strict";o.d(h,{G:()=>d});var n=o(95448),i=o(87773);function d(a){return(0,n.i)((l,e)=>{let u=!1;l.subscribe((0,i.e)(e,c=>{u=!0,e.next(c)},()=>{u||e.next(a),e.complete()}))})}},66684:(pe,h,o)=>{"use strict";o.d(h,{I:()=>d});var n=o(95448),i=o(87773);function d(a,l){return(0,n.i)((e,u)=>{let c=0;e.subscribe((0,i.e)(u,g=>a.call(l,g,c++)&&u.next(g)))})}},68824:(pe,h,o)=>{"use strict";o.d(h,{U:()=>i});var n=o(95448);function i(d){return(0,n.i)((a,l)=>{try{a.subscribe(l)}finally{l.add(d)}})}},75084:(pe,h,o)=>{"use strict";o.d(h,{K:()=>u});var n=o(37696),i=o(66684),d=o(3992),a=o(22156),l=o(98124),e=o(528);function u(c,g){const v=arguments.length>=2;return p=>p.pipe(c?(0,i.I)((S,C)=>c(S,C,p)):e.Z,(0,d.U)(1),v?(0,a.G)(g):(0,l._)(()=>new n.G))}},54704:(pe,h,o)=>{"use strict";o.d(h,{k:()=>d});var n=o(95448),i=o(87773);function d(a,l){return(0,n.i)((e,u)=>{let c=0;e.subscribe((0,i.e)(u,g=>{u.next(a.call(l,g,c++))}))})}},32700:(pe,h,o)=>{"use strict";o.d(h,{e:()=>i});var n=o(54704);function i(d){return(0,n.k)(()=>d)}},7400:(pe,h,o)=>{"use strict";o.d(h,{O:()=>c});var n=o(54704),i=o(50560),d=o(95448),a=o(69399),l=o(87773),u=o(38880);function c(g,v,p=1/0){return(0,u.m)(v)?c((S,C)=>(0,n.k)((_,f)=>v(S,_,C,f))((0,i.Uv)(g(S,C))),p):("number"==typeof v&&(p=v),(0,d.i)((S,C)=>function e(g,v,p,S,C,_,f,y){const b=[];let E=0,M=0,A=!1;const I=()=>{A&&!b.length&&!E&&v.complete()},F=T=>E{_&&v.next(T),E++;let P=!1;(0,i.Uv)(p(T,M++)).subscribe((0,l.e)(v,x=>{C?.(x),_?F(x):v.next(x)},()=>{P=!0},void 0,()=>{if(P)try{for(E--;b.length&&Ej(x)):j(x)}I()}catch(x){v.error(x)}}))};return g.subscribe((0,l.e)(v,F,()=>{A=!0,I()})),()=>{y?.()}}(S,C,g,p)))}},17368:(pe,h,o)=>{"use strict";o.d(h,{G:()=>a});var n=o(50560),i=o(95448),d=o(87773);function a(l,e){return(0,i.i)((u,c)=>{let g=null,v=0,p=!1;const S=()=>p&&!g&&c.complete();u.subscribe((0,d.e)(c,C=>{g?.unsubscribe();let _=0;const f=v++;(0,n.Uv)(l(C,f)).subscribe(g=(0,d.e)(c,y=>c.next(e?e(C,y,f,_++):y),()=>{g=null,S()}))},()=>{p=!0,S()}))})}},3992:(pe,h,o)=>{"use strict";o.d(h,{U:()=>a});var n=o(28960),i=o(95448),d=o(87773);function a(l){return l<=0?()=>n.k:(0,i.i)((e,u)=>{let c=0;e.subscribe((0,d.e)(u,g=>{++c<=l&&(u.next(g),l<=c&&u.complete())}))})}},53616:(pe,h,o)=>{"use strict";o.d(h,{a:()=>l});var n=o(95448),i=o(87773),d=o(50560),a=o(20308);function l(e){return(0,n.i)((u,c)=>{(0,d.Uv)(e).subscribe((0,i.e)(c,()=>c.complete(),a.K)),!c.closed&&u.subscribe(c)})}},19212:(pe,h,o)=>{"use strict";o.d(h,{y:()=>l});var n=o(38880),i=o(95448),d=o(87773),a=o(528);function l(e,u,c){const g=(0,n.m)(e)||u||c?{next:e,error:u,complete:c}:e;return g?(0,i.i)((v,p)=>{var S;null===(S=g.subscribe)||void 0===S||S.call(g);let C=!0;v.subscribe((0,d.e)(p,_=>{var f;null===(f=g.next)||void 0===f||f.call(g,_),p.next(_)},()=>{var _;C=!1,null===(_=g.complete)||void 0===_||_.call(g),p.complete()},_=>{var f;C=!1,null===(f=g.error)||void 0===f||f.call(g,_),p.error(_)},()=>{var _,f;C&&(null===(_=g.unsubscribe)||void 0===_||_.call(g)),null===(f=g.finalize)||void 0===f||f.call(g)}))}):a.Z}},98124:(pe,h,o)=>{"use strict";o.d(h,{_:()=>a});var n=o(37696),i=o(95448),d=o(87773);function a(e=l){return(0,i.i)((u,c)=>{let g=!1;u.subscribe((0,d.e)(c,v=>{g=!0,c.next(v)},()=>g?c.complete():c.error(e())))})}function l(){return new n.G}},35960:(pe,h,o)=>{"use strict";o.d(h,{K:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},43376:(pe,h,o)=>{"use strict";o.d(h,{u:()=>n});const n={setTimeout(i,d,...a){const{delegate:l}=n;return l?.setTimeout?l.setTimeout(i,d,...a):setTimeout(i,d,...a)},clearTimeout(i){const{delegate:d}=n;return(d?.clearTimeout||clearTimeout)(i)},delegate:void 0}},23835:(pe,h,o)=>{"use strict";o.d(h,{w:()=>i});const i=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},90472:(pe,h,o)=>{"use strict";o.d(h,{a:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},37696:(pe,h,o)=>{"use strict";o.d(h,{G:()=>i});const i=(0,o(14912).w)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"})},59472:(pe,h,o)=>{"use strict";o.d(h,{yu:()=>a,e_:()=>l});var n=o(38880);function d(u){return u[u.length-1]}function a(u){return(0,n.m)(d(u))?u.pop():void 0}function l(u){return function i(u){return u&&(0,n.m)(u.schedule)}(d(u))?u.pop():void 0}},64300:(pe,h,o)=>{"use strict";o.d(h,{Q:()=>l});const{isArray:n}=Array,{getPrototypeOf:i,prototype:d,keys:a}=Object;function l(u){if(1===u.length){const c=u[0];if(n(c))return{args:c,keys:null};if(function e(u){return u&&"object"==typeof u&&i(u)===d}(c)){const g=a(c);return{args:g.map(v=>c[v]),keys:g}}}return{args:u,keys:null}}},41248:(pe,h,o)=>{"use strict";function n(i,d){if(i){const a=i.indexOf(d);0<=a&&i.splice(a,1)}}o.d(h,{k:()=>n})},14912:(pe,h,o)=>{"use strict";function n(i){const a=i(l=>{Error.call(l),l.stack=(new Error).stack});return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}o.d(h,{w:()=>n})},67904:(pe,h,o)=>{"use strict";function n(i,d){return i.reduce((a,l,e)=>(a[l]=d[e],a),{})}o.d(h,{q:()=>n})},92075:(pe,h,o)=>{"use strict";o.d(h,{c:()=>d,q:()=>a});var n=o(74491);let i=null;function d(l){if(n.config.useDeprecatedSynchronousErrorHandling){const e=!i;if(e&&(i={errorThrown:!1,error:null}),l(),e){const{errorThrown:u,error:c}=i;if(i=null,u)throw c}}else l()}function a(l){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=l)}},69399:(pe,h,o)=>{"use strict";function n(i,d,a,l=0,e=!1){const u=d.schedule(function(){a(),e?i.add(this.schedule(null,l)):this.unsubscribe()},l);if(i.add(u),!e)return u}o.d(h,{_:()=>n})},528:(pe,h,o)=>{"use strict";function n(i){return i}o.d(h,{Z:()=>n})},45428:(pe,h,o)=>{"use strict";o.d(h,{G:()=>n});const n=i=>i&&"number"==typeof i.length&&"function"!=typeof i},60376:(pe,h,o)=>{"use strict";o.d(h,{E:()=>i});var n=o(38880);function i(d){return Symbol.asyncIterator&&(0,n.m)(d?.[Symbol.asyncIterator])}},38880:(pe,h,o)=>{"use strict";function n(i){return"function"==typeof i}o.d(h,{m:()=>n})},35099:(pe,h,o)=>{"use strict";o.d(h,{O:()=>d});var n=o(90472),i=o(38880);function d(a){return(0,i.m)(a[n.a])}},61688:(pe,h,o)=>{"use strict";o.d(h,{i:()=>d});var n=o(23835),i=o(38880);function d(a){return(0,i.m)(a?.[n.w])}},55432:(pe,h,o)=>{"use strict";o.d(h,{u:()=>i});var n=o(38880);function i(d){return(0,n.m)(d?.then)}},45832:(pe,h,o)=>{"use strict";o.d(h,{K:()=>a,_:()=>d});var n=o(81316),i=o(38880);function d(l){return(0,n.__asyncGenerator)(this,arguments,function*(){const u=l.getReader();try{for(;;){const{value:c,done:g}=yield(0,n.__await)(u.read());if(g)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(c)}}finally{u.releaseLock()}})}function a(l){return(0,i.m)(l?.getReader)}},95448:(pe,h,o)=>{"use strict";o.d(h,{e:()=>i,i:()=>d});var n=o(38880);function i(a){return(0,n.m)(a?.lift)}function d(a){return l=>{if(i(l))return l.lift(function(e){try{return a(e,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},74187:(pe,h,o)=>{"use strict";o.d(h,{j:()=>a});var n=o(54704);const{isArray:i}=Array;function a(l){return(0,n.k)(e=>function d(l,e){return i(e)?l(...e):l(e)}(l,e))}},20308:(pe,h,o)=>{"use strict";function n(){}o.d(h,{K:()=>n})},83928:(pe,h,o)=>{"use strict";o.d(h,{W:()=>i,Y:()=>d});var n=o(528);function i(...a){return d(a)}function d(a){return 0===a.length?n.Z:1===a.length?a[0]:function(e){return a.reduce((u,c)=>c(u),e)}}},31984:(pe,h,o)=>{"use strict";o.d(h,{U:()=>d});var n=o(74491),i=o(43376);function d(a){i.u.setTimeout(()=>{const{onUnhandledError:l}=n.config;if(!l)throw a;l(a)})}},58272:(pe,h,o)=>{"use strict";function n(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(h,{W:()=>n})},16213:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),Object.defineProperty(h,"NIL",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(h,"parse",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(h,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(h,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(h,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(h,"v4",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(h,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(h,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(h,"version",{enumerable:!0,get:function(){return e.default}});var n=v(o(14400)),i=v(o(86664)),d=v(o(35368)),a=v(o(52632)),l=v(o(936)),e=v(o(54424)),u=v(o(54e3)),c=v(o(6944)),g=v(o(92612));function v(p){return p&&p.__esModule?p:{default:p}}},75440:(pe,h)=>{"use strict";function i(C){return 14+(C+64>>>9<<4)+1}function l(C,_){const f=(65535&C)+(65535&_);return(C>>16)+(_>>16)+(f>>16)<<16|65535&f}function u(C,_,f,y,b,E){return l(function e(C,_){return C<<_|C>>>32-_}(l(l(_,C),l(y,E)),b),f)}function c(C,_,f,y,b,E,M){return u(_&f|~_&y,C,_,b,E,M)}function g(C,_,f,y,b,E,M){return u(_&y|f&~y,C,_,b,E,M)}function v(C,_,f,y,b,E,M){return u(_^f^y,C,_,b,E,M)}function p(C,_,f,y,b,E,M){return u(f^(_|~y),C,_,b,E,M)}Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=function o(C){if("string"==typeof C){const _=unescape(encodeURIComponent(C));C=new Uint8Array(_.length);for(let f=0;f<_.length;++f)C[f]=_.charCodeAt(f)}return function n(C){const _=[],f=32*C.length,y="0123456789abcdef";for(let b=0;b>5]>>>b%32&255,M=parseInt(y.charAt(E>>>4&15)+y.charAt(15&E),16);_.push(M)}return _}(function d(C,_){C[_>>5]|=128<<_%32,C[i(_)-1]=_;let f=1732584193,y=-271733879,b=-1732584194,E=271733878;for(let M=0;M>5]|=(255&C[y/8])<{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};h.default=n},936:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default="00000000-0000-0000-0000-000000000000"},92612:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function i(l){return l&&l.__esModule?l:{default:l}}(o(54e3));h.default=function d(l){if(!(0,n.default)(l))throw TypeError("Invalid UUID");let e;const u=new Uint8Array(16);return u[0]=(e=parseInt(l.slice(0,8),16))>>>24,u[1]=e>>>16&255,u[2]=e>>>8&255,u[3]=255&e,u[4]=(e=parseInt(l.slice(9,13),16))>>>8,u[5]=255&e,u[6]=(e=parseInt(l.slice(14,18),16))>>>8,u[7]=255&e,u[8]=(e=parseInt(l.slice(19,23),16))>>>8,u[9]=255&e,u[10]=(e=parseInt(l.slice(24,36),16))/1099511627776&255,u[11]=e/4294967296&255,u[12]=e>>>24&255,u[13]=e>>>16&255,u[14]=e>>>8&255,u[15]=255&e,u}},18280:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},98256:(pe,h)=>{"use strict";let o;Object.defineProperty(h,"__esModule",{value:!0}),h.default=function i(){if(!o&&(o=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(n)};const n=new Uint8Array(16)},18780:(pe,h)=>{"use strict";function o(a,l,e,u){switch(a){case 0:return l&e^~l&u;case 1:case 3:return l^e^u;case 2:return l&e^l&u^e&u}}function n(a,l){return a<>>32-l}Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=function i(a){const l=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof a){const v=unescape(encodeURIComponent(a));a=[];for(let p=0;p>>0;y=f,f=_,_=n(C,30)>>>0,C=S,S=M}e[0]=e[0]+S>>>0,e[1]=e[1]+C>>>0,e[2]=e[2]+_>>>0,e[3]=e[3]+f>>>0,e[4]=e[4]+y>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,255&e[0],e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,255&e[1],e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,255&e[2],e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,255&e[3],e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,255&e[4]]}},6944:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.unsafeStringify=a;var n=function i(u){return u&&u.__esModule?u:{default:u}}(o(54e3));const d=[];for(let u=0;u<256;++u)d.push((u+256).toString(16).slice(1));function a(u,c=0){return d[u[c+0]]+d[u[c+1]]+d[u[c+2]]+d[u[c+3]]+"-"+d[u[c+4]]+d[u[c+5]]+"-"+d[u[c+6]]+d[u[c+7]]+"-"+d[u[c+8]]+d[u[c+9]]+"-"+d[u[c+10]]+d[u[c+11]]+d[u[c+12]]+d[u[c+13]]+d[u[c+14]]+d[u[c+15]]}h.default=function l(u,c=0){const g=a(u,c);if(!(0,n.default)(g))throw TypeError("Stringified UUID is invalid");return g}},14400:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function d(v){return v&&v.__esModule?v:{default:v}}(o(98256)),i=o(6944);let a,l,e=0,u=0;h.default=function c(v,p,S){let C=p&&S||0;const _=p||new Array(16);let f=(v=v||{}).node||a,y=void 0!==v.clockseq?v.clockseq:l;if(null==f||null==y){const F=v.random||(v.rng||n.default)();null==f&&(f=a=[1|F[0],F[1],F[2],F[3],F[4],F[5]]),null==y&&(y=l=16383&(F[6]<<8|F[7]))}let b=void 0!==v.msecs?v.msecs:Date.now(),E=void 0!==v.nsecs?v.nsecs:u+1;const M=b-e+(E-u)/1e4;if(M<0&&void 0===v.clockseq&&(y=y+1&16383),(M<0||b>e)&&void 0===v.nsecs&&(E=0),E>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");e=b,u=E,l=y,b+=122192928e5;const A=(1e4*(268435455&b)+E)%4294967296;_[C++]=A>>>24&255,_[C++]=A>>>16&255,_[C++]=A>>>8&255,_[C++]=255&A;const I=b/4294967296*1e4&268435455;_[C++]=I>>>8&255,_[C++]=255&I,_[C++]=I>>>24&15|16,_[C++]=I>>>16&255,_[C++]=y>>>8|128,_[C++]=255&y;for(let F=0;F<6;++F)_[C+F]=f[F];return p||(0,i.unsafeStringify)(_)}},86664:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=d(o(65432)),i=d(o(75440));function d(e){return e&&e.__esModule?e:{default:e}}var l=(0,n.default)("v3",48,i.default);h.default=l},65432:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.URL=h.DNS=void 0,h.default=function u(c,g,v){function p(S,C,_,f){var y;if("string"==typeof S&&(S=function a(c){c=unescape(encodeURIComponent(c));const g=[];for(let v=0;v{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=a(o(24400)),i=a(o(98256)),d=o(6944);function a(u){return u&&u.__esModule?u:{default:u}}h.default=function l(u,c,g){if(n.default.randomUUID&&!c&&!u)return n.default.randomUUID();const v=(u=u||{}).random||(u.rng||i.default)();if(v[6]=15&v[6]|64,v[8]=63&v[8]|128,c){g=g||0;for(let p=0;p<16;++p)c[g+p]=v[p];return c}return(0,d.unsafeStringify)(v)}},52632:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=d(o(65432)),i=d(o(18780));function d(e){return e&&e.__esModule?e:{default:e}}var l=(0,n.default)("v5",80,i.default);h.default=l},54e3:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function i(l){return l&&l.__esModule?l:{default:l}}(o(18280));h.default=function d(l){return"string"==typeof l&&n.default.test(l)}},54424:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function i(l){return l&&l.__esModule?l:{default:l}}(o(54e3));h.default=function d(l){if(!(0,n.default)(l))throw TypeError("Invalid UUID");return parseInt(l.slice(14,15),16)}},21480:(pe,h,o)=>{var n={"./ion-accordion_2.entry.js":[28956,9312,8956],"./ion-action-sheet.entry.js":[6736,9312,6736],"./ion-alert.entry.js":[41644,9312,1644],"./ion-app_8.entry.js":[63936,9312,3936],"./ion-avatar_3.entry.js":[79428,9428],"./ion-back-button.entry.js":[66932,9312,6932],"./ion-backdrop.entry.js":[38019,8019],"./ion-breadcrumb_2.entry.js":[67752,9312,7752],"./ion-button_2.entry.js":[9580,9580],"./ion-card_5.entry.js":[71048,1048],"./ion-checkbox.entry.js":[43752,9312,3752],"./ion-chip.entry.js":[1492,1492],"./ion-col_3.entry.js":[49584,9584],"./ion-datetime-button.entry.js":[17864,1136,7864],"./ion-datetime_3.entry.js":[38048,1136,9312,8048],"./ion-fab_3.entry.js":[61812,9312,1812],"./ion-img.entry.js":[73296,3296],"./ion-infinite-scroll_2.entry.js":[11488,9312,1488],"./ion-input.entry.js":[93500,9312,3500],"./ion-item-option_3.entry.js":[42448,9312,2448],"./ion-item_8.entry.js":[8772,9312,8772],"./ion-loading.entry.js":[82948,9312,2948],"./ion-menu_3.entry.js":[47676,9312,7676],"./ion-modal.entry.js":[96824,9312,6824],"./ion-nav_2.entry.js":[2372,2372],"./ion-picker-column-internal.entry.js":[88232,9312,8232],"./ion-picker-internal.entry.js":[74656,4656],"./ion-popover.entry.js":[24168,9312,4168],"./ion-progress-bar.entry.js":[83264,3264],"./ion-radio_2.entry.js":[57176,9312,7176],"./ion-range.entry.js":[63180,9312,3180],"./ion-refresher_2.entry.js":[32e3,9312,2e3],"./ion-reorder_2.entry.js":[93604,9312,3604],"./ion-ripple-effect.entry.js":[43667,3667],"./ion-route_4.entry.js":[54284,4284],"./ion-searchbar.entry.js":[82580,9312,2580],"./ion-segment_2.entry.js":[47528,9312,7528],"./ion-select_3.entry.js":[44272,9312,4272],"./ion-spinner.entry.js":[71172,9312,1172],"./ion-split-pane.entry.js":[42624,2624],"./ion-tab-bar_2.entry.js":[31708,9312,1708],"./ion-tab_2.entry.js":[95956,5956],"./ion-text.entry.js":[55828,5828],"./ion-textarea.entry.js":[9440,9312,9440],"./ion-toast.entry.js":[39836,9312,9836],"./ion-toggle.entry.js":[42776,9312,2776]};function i(d){if(!o.o(n,d))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+d+"'");throw e.code="MODULE_NOT_FOUND",e});var a=n[d],l=a[0];return Promise.all(a.slice(1).map(o.e)).then(()=>o(l))}i.keys=()=>Object.keys(n),i.id=21480,pe.exports=i},92348:(pe,h,o)=>{var n={"./af":25140,"./af.js":25140,"./ar":17276,"./ar-dz":17096,"./ar-dz.js":17096,"./ar-kw":32200,"./ar-kw.js":32200,"./ar-ly":97252,"./ar-ly.js":97252,"./ar-ma":39568,"./ar-ma.js":39568,"./ar-ps":13068,"./ar-ps.js":13068,"./ar-sa":89052,"./ar-sa.js":89052,"./ar-tn":93956,"./ar-tn.js":93956,"./ar.js":17276,"./az":88240,"./az.js":88240,"./be":77796,"./be.js":77796,"./bg":89880,"./bg.js":89880,"./bm":84328,"./bm.js":84328,"./bn":60536,"./bn-bd":45104,"./bn-bd.js":45104,"./bn.js":60536,"./bo":51108,"./bo.js":51108,"./br":51296,"./br.js":51296,"./bs":2032,"./bs.js":2032,"./ca":20096,"./ca.js":20096,"./cs":41152,"./cs.js":41152,"./cv":69568,"./cv.js":69568,"./cy":78875,"./cy.js":78875,"./da":45424,"./da.js":45424,"./de":20992,"./de-at":72604,"./de-at.js":72604,"./de-ch":79168,"./de-ch.js":79168,"./de.js":20992,"./dv":67300,"./dv.js":67300,"./el":84400,"./el.js":84400,"./en-au":83536,"./en-au.js":83536,"./en-ca":39379,"./en-ca.js":39379,"./en-gb":47032,"./en-gb.js":47032,"./en-ie":71832,"./en-ie.js":71832,"./en-il":404,"./en-il.js":404,"./en-in":25716,"./en-in.js":25716,"./en-nz":15312,"./en-nz.js":15312,"./en-sg":53320,"./en-sg.js":53320,"./eo":96392,"./eo.js":96392,"./es":41964,"./es-do":38540,"./es-do.js":38540,"./es-mx":93504,"./es-mx.js":93504,"./es-us":69224,"./es-us.js":69224,"./es.js":41964,"./et":90596,"./et.js":90596,"./eu":8060,"./eu.js":8060,"./fa":68184,"./fa.js":68184,"./fi":36736,"./fi.js":36736,"./fil":49264,"./fil.js":49264,"./fo":48299,"./fo.js":48299,"./fr":51964,"./fr-ca":84584,"./fr-ca.js":84584,"./fr-ch":8024,"./fr-ch.js":8024,"./fr.js":51964,"./fy":22672,"./fy.js":22672,"./ga":26476,"./ga.js":26476,"./gd":35148,"./gd.js":35148,"./gl":32176,"./gl.js":32176,"./gom-deva":27260,"./gom-deva.js":27260,"./gom-latn":3772,"./gom-latn.js":3772,"./gu":39528,"./gu.js":39528,"./he":86832,"./he.js":86832,"./hi":95592,"./hi.js":95592,"./hr":56208,"./hr.js":56208,"./hu":33697,"./hu.js":33697,"./hy-am":2e4,"./hy-am.js":2e4,"./id":57840,"./id.js":57840,"./is":31496,"./is.js":31496,"./it":6336,"./it-ch":45736,"./it-ch.js":45736,"./it.js":6336,"./ja":58008,"./ja.js":58008,"./jv":30108,"./jv.js":30108,"./ka":61844,"./ka.js":61844,"./kk":78980,"./kk.js":78980,"./km":48544,"./km.js":48544,"./kn":70096,"./kn.js":70096,"./ko":87420,"./ko.js":87420,"./ku":60200,"./ku-kmr":4740,"./ku-kmr.js":4740,"./ku.js":60200,"./ky":44976,"./ky.js":44976,"./lb":4652,"./lb.js":4652,"./lo":53984,"./lo.js":53984,"./lt":8792,"./lt.js":8792,"./lv":6296,"./lv.js":6296,"./me":58256,"./me.js":58256,"./mi":29284,"./mi.js":29284,"./mk":33196,"./mk.js":33196,"./ml":45896,"./ml.js":45896,"./mn":32460,"./mn.js":32460,"./mr":80132,"./mr.js":80132,"./ms":73136,"./ms-my":88060,"./ms-my.js":88060,"./ms.js":73136,"./mt":46227,"./mt.js":46227,"./my":88300,"./my.js":88300,"./nb":14784,"./nb.js":14784,"./ne":75060,"./ne.js":75060,"./nl":4971,"./nl-be":94796,"./nl-be.js":94796,"./nl.js":4971,"./nn":18984,"./nn.js":18984,"./oc-lnc":59928,"./oc-lnc.js":59928,"./pa-in":76440,"./pa-in.js":76440,"./pl":96768,"./pl.js":96768,"./pt":18968,"./pt-br":51528,"./pt-br.js":51528,"./pt.js":18968,"./ro":5760,"./ro.js":5760,"./ru":19760,"./ru.js":19760,"./sd":53804,"./sd.js":53804,"./se":44100,"./se.js":44100,"./si":95301,"./si.js":95301,"./sk":79992,"./sk.js":79992,"./sl":35208,"./sl.js":35208,"./sq":27408,"./sq.js":27408,"./sr":10656,"./sr-cyrl":1128,"./sr-cyrl.js":1128,"./sr.js":10656,"./ss":10864,"./ss.js":10864,"./sv":16900,"./sv.js":16900,"./sw":81636,"./sw.js":81636,"./ta":24180,"./ta.js":24180,"./te":97008,"./te.js":97008,"./tet":50744,"./tet.js":50744,"./tg":58084,"./tg.js":58084,"./th":81672,"./th.js":81672,"./tk":57232,"./tk.js":57232,"./tl-ph":89480,"./tl-ph.js":89480,"./tlh":58512,"./tlh.js":58512,"./tr":56020,"./tr.js":56020,"./tzl":36240,"./tzl.js":36240,"./tzm":33064,"./tzm-latn":53384,"./tzm-latn.js":53384,"./tzm.js":33064,"./ug-cn":45852,"./ug-cn.js":45852,"./uk":12480,"./uk.js":12480,"./ur":63877,"./ur.js":63877,"./uz":91712,"./uz-latn":20108,"./uz-latn.js":20108,"./uz.js":91712,"./vi":9984,"./vi.js":9984,"./x-pseudo":45708,"./x-pseudo.js":45708,"./yo":78476,"./yo.js":78476,"./zh-cn":3676,"./zh-cn.js":3676,"./zh-hk":49880,"./zh-hk.js":49880,"./zh-mo":41968,"./zh-mo.js":41968,"./zh-tw":33632,"./zh-tw.js":33632};function i(a){var l=d(a);return o(l)}function d(a){if(!o.o(n,a)){var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}return n[a]}i.keys=function(){return Object.keys(n)},i.resolve=d,pe.exports=i,i.id=92348},22892:()=>{},45344:()=>{},10440:()=>{},22224:()=>{},65724:()=>{},8160:()=>{},1196:pe=>{function h(n,i,d,a,l,e,u){try{var c=n[e](u),g=c.value}catch(v){return void d(v)}c.done?i(g):Promise.resolve(g).then(a,l)}pe.exports=function o(n){return function(){var i=this,d=arguments;return new Promise(function(a,l){var e=n.apply(i,d);function u(g){h(e,a,l,u,c,"next",g)}function c(g){h(e,a,l,u,c,"throw",g)}u(void 0)})}},pe.exports.__esModule=!0,pe.exports.default=pe.exports},91368:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{APP_BASE_HREF:()=>f,AsyncPipe:()=>Gt,BrowserPlatformLocation:()=>v,CommonModule:()=>go,CurrencyPipe:()=>Xr,DATE_PIPE_DEFAULT_OPTIONS:()=>lo,DATE_PIPE_DEFAULT_TIMEZONE:()=>dt,DOCUMENT:()=>u,DatePipe:()=>vi,DecimalPipe:()=>ti,FormStyle:()=>x,FormatWidth:()=>O,HashLocationStrategy:()=>b,I18nPluralPipe:()=>In,I18nSelectPipe:()=>Gn,IMAGE_CONFIG:()=>n.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>Zi,JsonPipe:()=>si,KeyValuePipe:()=>ai,LOCATION_INITIALIZED:()=>g,Location:()=>E,LocationStrategy:()=>_,LowerCasePipe:()=>Nn,NgClass:()=>dn,NgComponentOutlet:()=>Mn,NgFor:()=>Yn,NgForOf:()=>Yn,NgForOfContext:()=>Zn,NgIf:()=>zn,NgIfContext:()=>ur,NgLocaleLocalization:()=>Pr,NgLocalization:()=>or,NgOptimizedImage:()=>yn,NgPlural:()=>De,NgPluralCase:()=>rt,NgStyle:()=>_t,NgSwitch:()=>z,NgSwitchCase:()=>ae,NgSwitchDefault:()=>Fe,NgTemplateOutlet:()=>Tt,NumberFormatStyle:()=>T,NumberSymbol:()=>H,PRECONNECT_CHECK_BLOCKLIST:()=>Zo,PathLocationStrategy:()=>y,PercentPipe:()=>Zr,PlatformLocation:()=>c,Plural:()=>P,SlicePipe:()=>Yi,TitleCasePipe:()=>cr,TranslationWidth:()=>N,UpperCasePipe:()=>Nr,VERSION:()=>qr,ViewportScroller:()=>ar,WeekDay:()=>G,XhrFactory:()=>Mo,formatCurrency:()=>pr,formatDate:()=>ht,formatNumber:()=>er,formatPercent:()=>Jn,getCurrencySymbol:()=>Xe,getLocaleCurrencyCode:()=>ve,getLocaleCurrencyName:()=>Oe,getLocaleCurrencySymbol:()=>ye,getLocaleDateFormat:()=>Y,getLocaleDateTimeFormat:()=>le,getLocaleDayNames:()=>se,getLocaleDayPeriods:()=>ue,getLocaleDirection:()=>mt,getLocaleEraNames:()=>Z,getLocaleExtraDayPeriodRules:()=>ot,getLocaleExtraDayPeriods:()=>tt,getLocaleFirstDayOfWeek:()=>re,getLocaleId:()=>te,getLocaleMonthNames:()=>K,getLocaleNumberFormat:()=>we,getLocaleNumberSymbol:()=>ee,getLocalePluralCase:()=>Pe,getLocaleTimeFormat:()=>$,getLocaleWeekEndRange:()=>J,getNumberOfCurrencyDigits:()=>Pt,isPlatformBrowser:()=>Rr,isPlatformServer:()=>mo,isPlatformWorkerApp:()=>_i,isPlatformWorkerUi:()=>xi,provideCloudflareLoader:()=>Co,provideCloudinaryLoader:()=>ns,provideImageKitLoader:()=>cs,provideImgixLoader:()=>hs,provideNetlifyLoader:()=>ft,registerLocaleData:()=>ct,\u0275DomAdapter:()=>l,\u0275NullViewportScroller:()=>yi,\u0275PLATFORM_BROWSER_ID:()=>Jr,\u0275PLATFORM_SERVER_ID:()=>zi,\u0275PLATFORM_WORKER_APP_ID:()=>qi,\u0275PLATFORM_WORKER_UI_ID:()=>ro,\u0275PlatformNavigation:()=>e,\u0275getDOM:()=>d,\u0275normalizeQueryParams:()=>C,\u0275parseCookieValue:()=>Rt,\u0275setRootDomAdapter:()=>a});var n=o(54496);let i=null;function d(){return i}function a(X){i??=X}class l{}let e=(()=>{class X{static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:()=>window.navigation,providedIn:"platform"})}return X})();const u=new n.InjectionToken("");let c=(()=>{class X{historyGo(Ce){throw new Error("")}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:()=>(0,n.inject)(v),providedIn:"platform"})}return X})();const g=new n.InjectionToken("");let v=(()=>{class X extends c{constructor(){super(),this._doc=(0,n.inject)(u),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return d().getBaseHref(this._doc)}onPopState(Ce){const Re=d().getGlobalEventTarget(this._doc,"window");return Re.addEventListener("popstate",Ce,!1),()=>Re.removeEventListener("popstate",Ce)}onHashChange(Ce){const Re=d().getGlobalEventTarget(this._doc,"window");return Re.addEventListener("hashchange",Ce,!1),()=>Re.removeEventListener("hashchange",Ce)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(Ce){this._location.pathname=Ce}pushState(Ce,Re,Mt){this._history.pushState(Ce,Re,Mt)}replaceState(Ce,Re,Mt){this._history.replaceState(Ce,Re,Mt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Ce=0){this._history.go(Ce)}getState(){return this._history.state}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:()=>new X,providedIn:"platform"})}return X})();function p(X,Ve){if(0==X.length)return Ve;if(0==Ve.length)return X;let Ce=0;return X.endsWith("/")&&Ce++,Ve.startsWith("/")&&Ce++,2==Ce?X+Ve.substring(1):1==Ce?X+Ve:X+"/"+Ve}function S(X){const Ve=X.match(/#|\?|$/),Ce=Ve&&Ve.index||X.length;return X.slice(0,Ce-("/"===X[Ce-1]?1:0))+X.slice(Ce)}function C(X){return X&&"?"!==X[0]?"?"+X:X}let _=(()=>{class X{historyGo(Ce){throw new Error("")}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:()=>(0,n.inject)(y),providedIn:"root"})}return X})();const f=new n.InjectionToken("");let y=(()=>{class X extends _{constructor(Ce,Re){super(),this._platformLocation=Ce,this._removeListenerFns=[],this._baseHref=Re??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(u).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ce){this._removeListenerFns.push(this._platformLocation.onPopState(Ce),this._platformLocation.onHashChange(Ce))}getBaseHref(){return this._baseHref}prepareExternalUrl(Ce){return p(this._baseHref,Ce)}path(Ce=!1){const Re=this._platformLocation.pathname+C(this._platformLocation.search),Mt=this._platformLocation.hash;return Mt&&Ce?`${Re}${Mt}`:Re}pushState(Ce,Re,Mt,Zt){const an=this.prepareExternalUrl(Mt+C(Zt));this._platformLocation.pushState(Ce,Re,an)}replaceState(Ce,Re,Mt,Zt){const an=this.prepareExternalUrl(Mt+C(Zt));this._platformLocation.replaceState(Ce,Re,an)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ce=0){this._platformLocation.historyGo?.(Ce)}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275inject(c),n.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})(),b=(()=>{class X extends _{constructor(Ce,Re){super(),this._platformLocation=Ce,this._baseHref="",this._removeListenerFns=[],null!=Re&&(this._baseHref=Re)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ce){this._removeListenerFns.push(this._platformLocation.onPopState(Ce),this._platformLocation.onHashChange(Ce))}getBaseHref(){return this._baseHref}path(Ce=!1){const Re=this._platformLocation.hash??"#";return Re.length>0?Re.substring(1):Re}prepareExternalUrl(Ce){const Re=p(this._baseHref,Ce);return Re.length>0?"#"+Re:Re}pushState(Ce,Re,Mt,Zt){let an=this.prepareExternalUrl(Mt+C(Zt));0==an.length&&(an=this._platformLocation.pathname),this._platformLocation.pushState(Ce,Re,an)}replaceState(Ce,Re,Mt,Zt){let an=this.prepareExternalUrl(Mt+C(Zt));0==an.length&&(an=this._platformLocation.pathname),this._platformLocation.replaceState(Ce,Re,an)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ce=0){this._platformLocation.historyGo?.(Ce)}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275inject(c),n.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac})}return X})(),E=(()=>{class X{constructor(Ce){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Ce;const Re=this._locationStrategy.getBaseHref();this._basePath=function F(X){if(new RegExp("^(https?:)?//").test(X)){const[,Ce]=X.split(/\/\/[^\/]+/);return Ce}return X}(S(I(Re))),this._locationStrategy.onPopState(Mt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Mt.state,type:Mt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Ce=!1){return this.normalize(this._locationStrategy.path(Ce))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Ce,Re=""){return this.path()==this.normalize(Ce+C(Re))}normalize(Ce){return X.stripTrailingSlash(function A(X,Ve){if(!X||!Ve.startsWith(X))return Ve;const Ce=Ve.substring(X.length);return""===Ce||["/",";","?","#"].includes(Ce[0])?Ce:Ve}(this._basePath,I(Ce)))}prepareExternalUrl(Ce){return Ce&&"/"!==Ce[0]&&(Ce="/"+Ce),this._locationStrategy.prepareExternalUrl(Ce)}go(Ce,Re="",Mt=null){this._locationStrategy.pushState(Mt,"",Ce,Re),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ce+C(Re)),Mt)}replaceState(Ce,Re="",Mt=null){this._locationStrategy.replaceState(Mt,"",Ce,Re),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ce+C(Re)),Mt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Ce=0){this._locationStrategy.historyGo?.(Ce)}onUrlChange(Ce){return this._urlChangeListeners.push(Ce),this._urlChangeSubscription??=this.subscribe(Re=>{this._notifyUrlChangeListeners(Re.url,Re.state)}),()=>{const Re=this._urlChangeListeners.indexOf(Ce);this._urlChangeListeners.splice(Re,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Ce="",Re){this._urlChangeListeners.forEach(Mt=>Mt(Ce,Re))}subscribe(Ce,Re,Mt){return this._subject.subscribe({next:Ce,error:Re,complete:Mt})}static#e=this.normalizeQueryParams=C;static#t=this.joinWithSlash=p;static#n=this.stripTrailingSlash=S;static#r=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275inject(_))};static#o=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:()=>function M(){return new E((0,n.\u0275\u0275inject)(_))}(),providedIn:"root"})}return X})();function I(X){return X.replace(/\/index.html$/,"")}const j={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var T=function(X){return X[X.Decimal=0]="Decimal",X[X.Percent=1]="Percent",X[X.Currency=2]="Currency",X[X.Scientific=3]="Scientific",X}(T||{}),P=function(X){return X[X.Zero=0]="Zero",X[X.One=1]="One",X[X.Two=2]="Two",X[X.Few=3]="Few",X[X.Many=4]="Many",X[X.Other=5]="Other",X}(P||{}),x=function(X){return X[X.Format=0]="Format",X[X.Standalone=1]="Standalone",X}(x||{}),N=function(X){return X[X.Narrow=0]="Narrow",X[X.Abbreviated=1]="Abbreviated",X[X.Wide=2]="Wide",X[X.Short=3]="Short",X}(N||{}),O=function(X){return X[X.Short=0]="Short",X[X.Medium=1]="Medium",X[X.Long=2]="Long",X[X.Full=3]="Full",X}(O||{}),H=function(X){return X[X.Decimal=0]="Decimal",X[X.Group=1]="Group",X[X.List=2]="List",X[X.PercentSign=3]="PercentSign",X[X.PlusSign=4]="PlusSign",X[X.MinusSign=5]="MinusSign",X[X.Exponential=6]="Exponential",X[X.SuperscriptingExponent=7]="SuperscriptingExponent",X[X.PerMille=8]="PerMille",X[X.Infinity=9]="Infinity",X[X.NaN=10]="NaN",X[X.TimeSeparator=11]="TimeSeparator",X[X.CurrencyDecimal=12]="CurrencyDecimal",X[X.CurrencyGroup=13]="CurrencyGroup",X}(H||{}),G=function(X){return X[X.Sunday=0]="Sunday",X[X.Monday=1]="Monday",X[X.Tuesday=2]="Tuesday",X[X.Wednesday=3]="Wednesday",X[X.Thursday=4]="Thursday",X[X.Friday=5]="Friday",X[X.Saturday=6]="Saturday",X}(G||{});function te(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.LocaleId]}function ue(X,Ve,Ce){const Re=(0,n.\u0275findLocaleData)(X),Zt=Qe([Re[n.\u0275LocaleDataIndex.DayPeriodsFormat],Re[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],Ve);return Qe(Zt,Ce)}function se(X,Ve,Ce){const Re=(0,n.\u0275findLocaleData)(X),Zt=Qe([Re[n.\u0275LocaleDataIndex.DaysFormat],Re[n.\u0275LocaleDataIndex.DaysStandalone]],Ve);return Qe(Zt,Ce)}function K(X,Ve,Ce){const Re=(0,n.\u0275findLocaleData)(X),Zt=Qe([Re[n.\u0275LocaleDataIndex.MonthsFormat],Re[n.\u0275LocaleDataIndex.MonthsStandalone]],Ve);return Qe(Zt,Ce)}function Z(X,Ve){return Qe((0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.Eras],Ve)}function re(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function J(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.WeekendRange]}function Y(X,Ve){return Qe((0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.DateFormat],Ve)}function $(X,Ve){return Qe((0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.TimeFormat],Ve)}function le(X,Ve){return Qe((0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.DateTimeFormat],Ve)}function ee(X,Ve){const Ce=(0,n.\u0275findLocaleData)(X),Re=Ce[n.\u0275LocaleDataIndex.NumberSymbols][Ve];if(typeof Re>"u"){if(Ve===H.CurrencyDecimal)return Ce[n.\u0275LocaleDataIndex.NumberSymbols][H.Decimal];if(Ve===H.CurrencyGroup)return Ce[n.\u0275LocaleDataIndex.NumberSymbols][H.Group]}return Re}function we(X,Ve){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.NumberFormats][Ve]}function ye(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function Oe(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.CurrencyName]||null}function ve(X){return(0,n.\u0275getLocaleCurrencyCode)(X)}const Pe=n.\u0275getLocalePluralCase;function Ze(X){if(!X[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${X[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ot(X){const Ve=(0,n.\u0275findLocaleData)(X);return Ze(Ve),(Ve[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Re=>"string"==typeof Re?Ct(Re):[Ct(Re[0]),Ct(Re[1])])}function tt(X,Ve,Ce){const Re=(0,n.\u0275findLocaleData)(X);Ze(Re);const Zt=Qe([Re[n.\u0275LocaleDataIndex.ExtraData][0],Re[n.\u0275LocaleDataIndex.ExtraData][1]],Ve)||[];return Qe(Zt,Ce)||[]}function mt(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.Directionality]}function Qe(X,Ve){for(let Ce=Ve;Ce>-1;Ce--)if(typeof X[Ce]<"u")return X[Ce];throw new Error("Locale data API: locale data undefined")}function Ct(X){const[Ve,Ce]=X.split(":");return{hours:+Ve,minutes:+Ce}}function Xe(X,Ve,Ce="en"){const Re=function _e(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.Currencies]}(Ce)[X]||j[X]||[],Mt=Re[1];return"narrow"===Ve&&"string"==typeof Mt?Mt:Re[0]||X}const nt=2;function Pt(X){let Ve;const Ce=j[X];return Ce&&(Ve=Ce[2]),"number"==typeof Ve?Ve:nt}const tn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,hn={},wn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var An=function(X){return X[X.Short=0]="Short",X[X.ShortGMT=1]="ShortGMT",X[X.Long=2]="Long",X[X.Extended=3]="Extended",X}(An||{}),_n=function(X){return X[X.FullYear=0]="FullYear",X[X.Month=1]="Month",X[X.Date=2]="Date",X[X.Hours=3]="Hours",X[X.Minutes=4]="Minutes",X[X.Seconds=5]="Seconds",X[X.FractionalSeconds=6]="FractionalSeconds",X[X.Day=7]="Day",X}(_n||{}),qt=function(X){return X[X.DayPeriods=0]="DayPeriods",X[X.Days=1]="Days",X[X.Months=2]="Months",X[X.Eras=3]="Eras",X}(qt||{});function ht(X,Ve,Ce,Re){let Mt=function bn(X){if(rn(X))return X;if("number"==typeof X&&!isNaN(X))return new Date(X);if("string"==typeof X){if(X=X.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(X)){const[Mt,Zt=1,an=1]=X.split("-").map(Pn=>+Pn);return Ue(Mt,Zt-1,an)}const Ce=parseFloat(X);if(!isNaN(X-Ce))return new Date(Ce);let Re;if(Re=X.match(tn))return function Tn(X){const Ve=new Date(0);let Ce=0,Re=0;const Mt=X[8]?Ve.setUTCFullYear:Ve.setFullYear,Zt=X[8]?Ve.setUTCHours:Ve.setHours;X[9]&&(Ce=Number(X[9]+X[10]),Re=Number(X[9]+X[11])),Mt.call(Ve,Number(X[1]),Number(X[2])-1,Number(X[3]));const an=Number(X[4]||0)-Ce,Pn=Number(X[5]||0)-Re,gr=Number(X[6]||0),yr=Math.floor(1e3*parseFloat("0."+(X[7]||0)));return Zt.call(Ve,an,Pn,gr,yr),Ve}(Re)}const Ve=new Date(X);if(!rn(Ve))throw new Error(`Unable to convert "${X}" into a date`);return Ve}(X);Ve=Ee(Ce,Ve)||Ve;let Pn,an=[];for(;Ve;){if(Pn=wn.exec(Ve),!Pn){an.push(Ve);break}{an=an.concat(Pn.slice(1));const $r=an.pop();if(!$r)break;Ve=$r}}let gr=Mt.getTimezoneOffset();Re&&(gr=St(Re,gr),Mt=function nn(X,Ve,Ce){const Re=Ce?-1:1,Mt=X.getTimezoneOffset();return function xt(X,Ve){return(X=new Date(X.getTime())).setMinutes(X.getMinutes()+Ve),X}(X,Re*(St(Ve,Mt)-Mt))}(Mt,Re,!0));let yr="";return an.forEach($r=>{const Cr=function $t(X){if(At[X])return At[X];let Ve;switch(X){case"G":case"GG":case"GGG":Ve=vt(qt.Eras,N.Abbreviated);break;case"GGGG":Ve=vt(qt.Eras,N.Wide);break;case"GGGGG":Ve=vt(qt.Eras,N.Narrow);break;case"y":Ve=gt(_n.FullYear,1,0,!1,!0);break;case"yy":Ve=gt(_n.FullYear,2,0,!0,!0);break;case"yyy":Ve=gt(_n.FullYear,3,0,!1,!0);break;case"yyyy":Ve=gt(_n.FullYear,4,0,!1,!0);break;case"Y":Ve=Xt(1);break;case"YY":Ve=Xt(2,!0);break;case"YYY":Ve=Xt(3);break;case"YYYY":Ve=Xt(4);break;case"M":case"L":Ve=gt(_n.Month,1,1);break;case"MM":case"LL":Ve=gt(_n.Month,2,1);break;case"MMM":Ve=vt(qt.Months,N.Abbreviated);break;case"MMMM":Ve=vt(qt.Months,N.Wide);break;case"MMMMM":Ve=vt(qt.Months,N.Narrow);break;case"LLL":Ve=vt(qt.Months,N.Abbreviated,x.Standalone);break;case"LLLL":Ve=vt(qt.Months,N.Wide,x.Standalone);break;case"LLLLL":Ve=vt(qt.Months,N.Narrow,x.Standalone);break;case"w":Ve=Yt(1);break;case"ww":Ve=Yt(2);break;case"W":Ve=Yt(1,!0);break;case"d":Ve=gt(_n.Date,1);break;case"dd":Ve=gt(_n.Date,2);break;case"c":case"cc":Ve=gt(_n.Day,1);break;case"ccc":Ve=vt(qt.Days,N.Abbreviated,x.Standalone);break;case"cccc":Ve=vt(qt.Days,N.Wide,x.Standalone);break;case"ccccc":Ve=vt(qt.Days,N.Narrow,x.Standalone);break;case"cccccc":Ve=vt(qt.Days,N.Short,x.Standalone);break;case"E":case"EE":case"EEE":Ve=vt(qt.Days,N.Abbreviated);break;case"EEEE":Ve=vt(qt.Days,N.Wide);break;case"EEEEE":Ve=vt(qt.Days,N.Narrow);break;case"EEEEEE":Ve=vt(qt.Days,N.Short);break;case"a":case"aa":case"aaa":Ve=vt(qt.DayPeriods,N.Abbreviated);break;case"aaaa":Ve=vt(qt.DayPeriods,N.Wide);break;case"aaaaa":Ve=vt(qt.DayPeriods,N.Narrow);break;case"b":case"bb":case"bbb":Ve=vt(qt.DayPeriods,N.Abbreviated,x.Standalone,!0);break;case"bbbb":Ve=vt(qt.DayPeriods,N.Wide,x.Standalone,!0);break;case"bbbbb":Ve=vt(qt.DayPeriods,N.Narrow,x.Standalone,!0);break;case"B":case"BB":case"BBB":Ve=vt(qt.DayPeriods,N.Abbreviated,x.Format,!0);break;case"BBBB":Ve=vt(qt.DayPeriods,N.Wide,x.Format,!0);break;case"BBBBB":Ve=vt(qt.DayPeriods,N.Narrow,x.Format,!0);break;case"h":Ve=gt(_n.Hours,1,-12);break;case"hh":Ve=gt(_n.Hours,2,-12);break;case"H":Ve=gt(_n.Hours,1);break;case"HH":Ve=gt(_n.Hours,2);break;case"m":Ve=gt(_n.Minutes,1);break;case"mm":Ve=gt(_n.Minutes,2);break;case"s":Ve=gt(_n.Seconds,1);break;case"ss":Ve=gt(_n.Seconds,2);break;case"S":Ve=gt(_n.FractionalSeconds,1);break;case"SS":Ve=gt(_n.FractionalSeconds,2);break;case"SSS":Ve=gt(_n.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ve=wt(An.Short);break;case"ZZZZZ":Ve=wt(An.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ve=wt(An.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ve=wt(An.Long);break;default:return null}return At[X]=Ve,Ve}($r);yr+=Cr?Cr(Mt,Ce,gr):"''"===$r?"'":$r.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),yr}function Ue(X,Ve,Ce){const Re=new Date(0);return Re.setFullYear(X,Ve,Ce),Re.setHours(0,0,0),Re}function Ee(X,Ve){const Ce=te(X);if(hn[Ce]??={},hn[Ce][Ve])return hn[Ce][Ve];let Re="";switch(Ve){case"shortDate":Re=Y(X,O.Short);break;case"mediumDate":Re=Y(X,O.Medium);break;case"longDate":Re=Y(X,O.Long);break;case"fullDate":Re=Y(X,O.Full);break;case"shortTime":Re=$(X,O.Short);break;case"mediumTime":Re=$(X,O.Medium);break;case"longTime":Re=$(X,O.Long);break;case"fullTime":Re=$(X,O.Full);break;case"short":const Mt=Ee(X,"shortTime"),Zt=Ee(X,"shortDate");Re=Te(le(X,O.Short),[Mt,Zt]);break;case"medium":const an=Ee(X,"mediumTime"),Pn=Ee(X,"mediumDate");Re=Te(le(X,O.Medium),[an,Pn]);break;case"long":const gr=Ee(X,"longTime"),yr=Ee(X,"longDate");Re=Te(le(X,O.Long),[gr,yr]);break;case"full":const $r=Ee(X,"fullTime"),Cr=Ee(X,"fullDate");Re=Te(le(X,O.Full),[$r,Cr])}return Re&&(hn[Ce][Ve]=Re),Re}function Te(X,Ve){return Ve&&(X=X.replace(/\{([^}]+)}/g,function(Ce,Re){return null!=Ve&&Re in Ve?Ve[Re]:Ce})),X}function $e(X,Ve,Ce="-",Re,Mt){let Zt="";(X<0||Mt&&X<=0)&&(Mt?X=1-X:(X=-X,Zt=Ce));let an=String(X);for(;an.length0||Pn>-Ce)&&(Pn+=Ce),X===_n.Hours)0===Pn&&-12===Ce&&(Pn=12);else if(X===_n.FractionalSeconds)return function je(X,Ve){return $e(X,3).substring(0,Ve)}(Pn,Ve);const gr=ee(an,H.MinusSign);return $e(Pn,Ve,gr,Re,Mt)}}function vt(X,Ve,Ce=x.Format,Re=!1){return function(Mt,Zt){return function ut(X,Ve,Ce,Re,Mt,Zt){switch(Ce){case qt.Months:return K(Ve,Mt,Re)[X.getMonth()];case qt.Days:return se(Ve,Mt,Re)[X.getDay()];case qt.DayPeriods:const an=X.getHours(),Pn=X.getMinutes();if(Zt){const yr=ot(Ve),$r=tt(Ve,Mt,Re),Cr=yr.findIndex(Qr=>{if(Array.isArray(Qr)){const[Hr,Ri]=Qr,eo=an>=Hr.hours&&Pn>=Hr.minutes,Vo=an0?Math.floor(Mt/60):Math.ceil(Mt/60);switch(X){case An.Short:return(Mt>=0?"+":"")+$e(an,2,Zt)+$e(Math.abs(Mt%60),2,Zt);case An.ShortGMT:return"GMT"+(Mt>=0?"+":"")+$e(an,1,Zt);case An.Long:return"GMT"+(Mt>=0?"+":"")+$e(an,2,Zt)+":"+$e(Math.abs(Mt%60),2,Zt);case An.Extended:return 0===Re?"Z":(Mt>=0?"+":"")+$e(an,2,Zt)+":"+$e(Math.abs(Mt%60),2,Zt);default:throw new Error(`Unknown zone width "${X}"`)}}}const st=0,zt=4;function It(X){const Ve=X.getDay(),Ce=0===Ve?-3:zt-Ve;return Ue(X.getFullYear(),X.getMonth(),X.getDate()+Ce)}function Yt(X,Ve=!1){return function(Ce,Re){let Mt;if(Ve){const Zt=new Date(Ce.getFullYear(),Ce.getMonth(),1).getDay()-1,an=Ce.getDate();Mt=1+Math.floor((an+Zt)/7)}else{const Zt=It(Ce),an=function pt(X){const Ve=Ue(X,st,1).getDay();return Ue(X,0,1+(Ve<=zt?zt:zt+7)-Ve)}(Zt.getFullYear()),Pn=Zt.getTime()-an.getTime();Mt=1+Math.round(Pn/6048e5)}return $e(Mt,X,ee(Re,H.MinusSign))}}function Xt(X,Ve=!1){return function(Ce,Re){return $e(It(Ce).getFullYear(),X,ee(Re,H.MinusSign),Ve)}}const At={};function St(X,Ve){X=X.replace(/:/g,"");const Ce=Date.parse("Jan 01, 1970 00:00:00 "+X)/6e4;return isNaN(Ce)?Ve:Ce}function rn(X){return X instanceof Date&&!isNaN(X.valueOf())}const nr=/^(\d+)?\.((\d+)(-(\d+))?)?$/,kr=22,Br=".",sr="0",Er=";",br=",",qn="#",Rn="\xa4",oi="%";function Sr(X,Ve,Ce,Re,Mt,Zt,an=!1){let Pn="",gr=!1;if(isFinite(X)){let yr=function en(X){let Re,Mt,Zt,an,Pn,Ve=Math.abs(X)+"",Ce=0;for((Mt=Ve.indexOf(Br))>-1&&(Ve=Ve.replace(Br,"")),(Zt=Ve.search(/e/i))>0?(Mt<0&&(Mt=Zt),Mt+=+Ve.slice(Zt+1),Ve=Ve.substring(0,Zt)):Mt<0&&(Mt=Ve.length),Zt=0;Ve.charAt(Zt)===sr;Zt++);if(Zt===(Pn=Ve.length))Re=[0],Mt=1;else{for(Pn--;Ve.charAt(Pn)===sr;)Pn--;for(Mt-=Zt,Re=[],an=0;Zt<=Pn;Zt++,an++)Re[an]=Number(Ve.charAt(Zt))}return Mt>kr&&(Re=Re.splice(0,kr-1),Ce=Mt-1,Mt=1),{digits:Re,exponent:Ce,integerLen:Mt}}(X);an&&(yr=function pi(X){if(0===X.digits[0])return X;const Ve=X.digits.length-X.integerLen;return X.exponent?X.exponent+=2:(0===Ve?X.digits.push(0,0):1===Ve&&X.digits.push(0),X.integerLen+=2),X}(yr));let $r=Ve.minInt,Cr=Ve.minFrac,Qr=Ve.maxFrac;if(Zt){const fo=Zt.match(nr);if(null===fo)throw new Error(`${Zt} is not a valid digit info`);const so=fo[1],Yo=fo[3],hi=fo[5];null!=so&&($r=Qn(so)),null!=Yo&&(Cr=Qn(Yo)),null!=hi?Qr=Qn(hi):null!=Yo&&Cr>Qr&&(Qr=Cr)}!function jn(X,Ve,Ce){if(Ve>Ce)throw new Error(`The minimum number of digits after fraction (${Ve}) is higher than the maximum (${Ce}).`);let Re=X.digits,Mt=Re.length-X.integerLen;const Zt=Math.min(Math.max(Ve,Mt),Ce);let an=Zt+X.integerLen,Pn=Re[an];if(an>0){Re.splice(Math.max(X.integerLen,an));for(let Cr=an;Cr=5)if(an-1<0){for(let Cr=0;Cr>an;Cr--)Re.unshift(0),X.integerLen++;Re.unshift(1),X.integerLen++}else Re[an-1]++;for(;Mt=yr?Ri.pop():gr=!1),Qr>=10?1:0},0);$r&&(Re.unshift($r),X.integerLen++)}(yr,Cr,Qr);let Hr=yr.digits,Ri=yr.integerLen;const eo=yr.exponent;let Vo=[];for(gr=Hr.every(fo=>!fo);Ri<$r;Ri++)Hr.unshift(0);for(;Ri<0;Ri++)Hr.unshift(0);Ri>0?Vo=Hr.splice(Ri,Hr.length):(Vo=Hr,Hr=[0]);const gs=[];for(Hr.length>=Ve.lgSize&&gs.unshift(Hr.splice(-Ve.lgSize,Hr.length).join(""));Hr.length>Ve.gSize;)gs.unshift(Hr.splice(-Ve.gSize,Hr.length).join(""));Hr.length&&gs.unshift(Hr.join("")),Pn=gs.join(ee(Ce,Re)),Vo.length&&(Pn+=ee(Ce,Mt)+Vo.join("")),eo&&(Pn+=ee(Ce,H.Exponential)+"+"+eo)}else Pn=ee(Ce,H.Infinity);return Pn=X<0&&!gr?Ve.negPre+Pn+Ve.negSuf:Ve.posPre+Pn+Ve.posSuf,Pn}function pr(X,Ve,Ce,Re,Mt){const an=Or(we(Ve,T.Currency),ee(Ve,H.MinusSign));return an.minFrac=Pt(Re),an.maxFrac=an.minFrac,Sr(X,an,Ve,H.CurrencyGroup,H.CurrencyDecimal,Mt).replace(Rn,Ce).replace(Rn,"").trim()}function Jn(X,Ve,Ce){return Sr(X,Or(we(Ve,T.Percent),ee(Ve,H.MinusSign)),Ve,H.Group,H.Decimal,Ce,!0).replace(new RegExp(oi,"g"),ee(Ve,H.PercentSign))}function er(X,Ve,Ce){return Sr(X,Or(we(Ve,T.Decimal),ee(Ve,H.MinusSign)),Ve,H.Group,H.Decimal,Ce)}function Or(X,Ve="-"){const Ce={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Re=X.split(Er),Mt=Re[0],Zt=Re[1],an=-1!==Mt.indexOf(Br)?Mt.split(Br):[Mt.substring(0,Mt.lastIndexOf(sr)+1),Mt.substring(Mt.lastIndexOf(sr)+1)],Pn=an[0],gr=an[1]||"";Ce.posPre=Pn.substring(0,Pn.indexOf(qn));for(let $r=0;$r{class X{static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:function(Re){let Mt=null;return Re?Mt=new Re:(Zt=n.\u0275\u0275inject(n.LOCALE_ID),Mt=new Pr(Zt)),Mt;var Zt},providedIn:"root"})}return X})();function ui(X,Ve,Ce,Re){let Mt=`=${X}`;if(Ve.indexOf(Mt)>-1||(Mt=Ce.getPluralCategory(X,Re),Ve.indexOf(Mt)>-1))return Mt;if(Ve.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${X}"`)}let Pr=(()=>{class X extends or{constructor(Ce){super(),this.locale=Ce}getPluralCategory(Ce,Re){switch(Pe(Re||this.locale)(Ce)){case P.Zero:return"zero";case P.One:return"one";case P.Two:return"two";case P.Few:return"few";case P.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275inject(n.LOCALE_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac})}return X})();function ct(X,Ve,Ce){return(0,n.\u0275registerLocaleData)(X,Ve,Ce)}function Rt(X,Ve){Ve=encodeURIComponent(Ve);for(const Ce of X.split(";")){const Re=Ce.indexOf("="),[Mt,Zt]=-1==Re?[Ce,""]:[Ce.slice(0,Re),Ce.slice(Re+1)];if(Mt.trim()===Ve)return decodeURIComponent(Zt)}return null}const kt=/\s+/,on=[];let dn=(()=>{class X{constructor(Ce,Re){this._ngEl=Ce,this._renderer=Re,this.initialClasses=on,this.stateMap=new Map}set klass(Ce){this.initialClasses=null!=Ce?Ce.trim().split(kt):on}set ngClass(Ce){this.rawClass="string"==typeof Ce?Ce.trim().split(kt):Ce}ngDoCheck(){for(const Re of this.initialClasses)this._updateState(Re,!0);const Ce=this.rawClass;if(Array.isArray(Ce)||Ce instanceof Set)for(const Re of Ce)this._updateState(Re,!0);else if(null!=Ce)for(const Re of Object.keys(Ce))this._updateState(Re,!!Ce[Re]);this._applyStateDiff()}_updateState(Ce,Re){const Mt=this.stateMap.get(Ce);void 0!==Mt?(Mt.enabled!==Re&&(Mt.changed=!0,Mt.enabled=Re),Mt.touched=!0):this.stateMap.set(Ce,{enabled:Re,changed:!0,touched:!0})}_applyStateDiff(){for(const Ce of this.stateMap){const Re=Ce[0],Mt=Ce[1];Mt.changed?(this._toggleClass(Re,Mt.enabled),Mt.changed=!1):Mt.touched||(Mt.enabled&&this._toggleClass(Re,!1),this.stateMap.delete(Re)),Mt.touched=!1}}_toggleClass(Ce,Re){(Ce=Ce.trim()).length>0&&Ce.split(kt).forEach(Mt=>{Re?this._renderer.addClass(this._ngEl.nativeElement,Mt):this._renderer.removeClass(this._ngEl.nativeElement,Mt)})}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngClass",""]],inputs:{klass:[n.\u0275\u0275InputFlags.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return X})(),Mn=(()=>{class X{constructor(Ce){this._viewContainerRef=Ce,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(Ce){return void 0!==Ce.ngComponentOutletNgModule||void 0!==Ce.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(Ce){return void 0!==Ce.ngComponentOutlet||void 0!==Ce.ngComponentOutletContent||void 0!==Ce.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(Ce)}ngOnChanges(Ce){if(this._needToReCreateComponentInstance(Ce)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const Re=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(Ce)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,En(Re)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(En(Re)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:Re,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const Ce of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(Ce,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(Ce){for(const[Re,Mt]of this._inputsUsed)Mt?(Ce.setInput(Re,this.ngComponentOutletInputs[Re]),this._inputsUsed.set(Re,!1)):(Ce.setInput(Re,void 0),this._inputsUsed.delete(Re))}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return X})();function En(X){return X.get(n.NgModuleRef).injector}class Zn{constructor(Ve,Ce,Re,Mt){this.$implicit=Ve,this.ngForOf=Ce,this.index=Re,this.count=Mt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Yn=(()=>{class X{set ngForOf(Ce){this._ngForOf=Ce,this._ngForOfDirty=!0}set ngForTrackBy(Ce){this._trackByFn=Ce}get ngForTrackBy(){return this._trackByFn}constructor(Ce,Re,Mt){this._viewContainer=Ce,this._template=Re,this._differs=Mt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Ce){Ce&&(this._template=Ce)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Ce=this._ngForOf;!this._differ&&Ce&&(this._differ=this._differs.find(Ce).create(this.ngForTrackBy))}if(this._differ){const Ce=this._differ.diff(this._ngForOf);Ce&&this._applyChanges(Ce)}}_applyChanges(Ce){const Re=this._viewContainer;Ce.forEachOperation((Mt,Zt,an)=>{if(null==Mt.previousIndex)Re.createEmbeddedView(this._template,new Zn(Mt.item,this._ngForOf,-1,-1),null===an?void 0:an);else if(null==an)Re.remove(null===Zt?void 0:Zt);else if(null!==Zt){const Pn=Re.get(Zt);Re.move(Pn,an),Tr(Pn,Mt)}});for(let Mt=0,Zt=Re.length;Mt{Tr(Re.get(Mt.currentIndex),Mt)})}static ngTemplateContextGuard(Ce,Re){return!0}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return X})();function Tr(X,Ve){X.context.$implicit=Ve.item}let zn=(()=>{class X{constructor(Ce,Re){this._viewContainer=Ce,this._context=new ur,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Re}set ngIf(Ce){this._context.$implicit=this._context.ngIf=Ce,this._updateView()}set ngIfThen(Ce){Mi("ngIfThen",Ce),this._thenTemplateRef=Ce,this._thenViewRef=null,this._updateView()}set ngIfElse(Ce){Mi("ngIfElse",Ce),this._elseTemplateRef=Ce,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Ce,Re){return!0}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return X})();class ur{constructor(){this.$implicit=null,this.ngIf=null}}function Mi(X,Ve){if(Ve&&!Ve.createEmbeddedView)throw new Error(`${X} must be a TemplateRef, but received '${(0,n.\u0275stringify)(Ve)}'.`)}class U{constructor(Ve,Ce){this._viewContainerRef=Ve,this._templateRef=Ce,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ve){Ve&&!this._created?this.create():!Ve&&this._created&&this.destroy()}}let z=(()=>{class X{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Ce){this._ngSwitch=Ce,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Ce){this._defaultViews.push(Ce)}_matchCase(Ce){const Re=Ce===this._ngSwitch;return this._lastCasesMatched||=Re,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Re}_updateDefaultCases(Ce){if(this._defaultViews.length>0&&Ce!==this._defaultUsed){this._defaultUsed=Ce;for(const Re of this._defaultViews)Re.enforceState(Ce)}}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return X})(),ae=(()=>{class X{constructor(Ce,Re,Mt){this.ngSwitch=Mt,Mt._addCase(),this._view=new U(Ce,Re)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(z,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return X})(),Fe=(()=>{class X{constructor(Ce,Re,Mt){Mt._addDefault(new U(Ce,Re))}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(z,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return X})(),De=(()=>{class X{constructor(Ce){this._localization=Ce,this._caseViews={}}set ngPlural(Ce){this._updateView(Ce)}addCase(Ce,Re){this._caseViews[Ce]=Re}_updateView(Ce){this._clearViews();const Mt=ui(Ce,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[Mt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Ce){Ce&&(this._activeView=Ce,this._activeView.create())}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(or))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return X})(),rt=(()=>{class X{constructor(Ce,Re,Mt,Zt){this.value=Ce;const an=!isNaN(Number(Ce));Zt.addCase(an?`=${Ce}`:Ce,new U(Mt,Re))}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(De,1))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngPluralCase",""]],standalone:!0})}return X})(),_t=(()=>{class X{constructor(Ce,Re,Mt){this._ngEl=Ce,this._differs=Re,this._renderer=Mt,this._ngStyle=null,this._differ=null}set ngStyle(Ce){this._ngStyle=Ce,!this._differ&&Ce&&(this._differ=this._differs.find(Ce).create())}ngDoCheck(){if(this._differ){const Ce=this._differ.diff(this._ngStyle);Ce&&this._applyChanges(Ce)}}_setStyle(Ce,Re){const[Mt,Zt]=Ce.split("."),an=-1===Mt.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Re?this._renderer.setStyle(this._ngEl.nativeElement,Mt,Zt?`${Re}${Zt}`:Re,an):this._renderer.removeStyle(this._ngEl.nativeElement,Mt,an)}_applyChanges(Ce){Ce.forEachRemovedItem(Re=>this._setStyle(Re.key,null)),Ce.forEachAddedItem(Re=>this._setStyle(Re.key,Re.currentValue)),Ce.forEachChangedItem(Re=>this._setStyle(Re.key,Re.currentValue))}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return X})(),Tt=(()=>{class X{constructor(Ce){this._viewContainerRef=Ce,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Ce){if(this._shouldRecreateView(Ce)){const Re=this._viewContainerRef;if(this._viewRef&&Re.remove(Re.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Mt=this._createContextForwardProxy();this._viewRef=Re.createEmbeddedView(this.ngTemplateOutlet,Mt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Ce){return!!Ce.ngTemplateOutlet||!!Ce.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Ce,Re,Mt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Re,Mt),get:(Ce,Re,Mt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Re,Mt)}})}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return X})();function Jt(X,Ve){return new n.\u0275RuntimeError(2100,!1)}class mn{createSubscription(Ve,Ce){return(0,n.untracked)(()=>Ve.subscribe({next:Ce,error:Re=>{throw Re}}))}dispose(Ve){(0,n.untracked)(()=>Ve.unsubscribe())}}class vn{createSubscription(Ve,Ce){return Ve.then(Ce,Re=>{throw Re})}dispose(Ve){}}const Cn=new vn,fn=new mn;let Gt=(()=>{class X{constructor(Ce){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Ce}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ce){if(!this._obj){if(Ce)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Ce)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Ce!==this._obj?(this._dispose(),this.transform(Ce)):this._latestValue}_subscribe(Ce){this._obj=Ce,this._strategy=this._selectStrategy(Ce),this._subscription=this._strategy.createSubscription(Ce,Re=>this._updateLatestValue(Ce,Re))}_selectStrategy(Ce){if((0,n.\u0275isPromise)(Ce))return Cn;if((0,n.\u0275isSubscribable)(Ce))return fn;throw Jt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ce,Re){Ce===this._obj&&(this._latestValue=Re,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:X,pure:!1,standalone:!0})}return X})(),Nn=(()=>{class X{transform(Ce){if(null==Ce)return null;if("string"!=typeof Ce)throw Jt();return Ce.toLowerCase()}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:X,pure:!0,standalone:!0})}return X})();const lr=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let cr=(()=>{class X{transform(Ce){if(null==Ce)return null;if("string"!=typeof Ce)throw Jt();return Ce.replace(lr,Re=>Re[0].toUpperCase()+Re.slice(1).toLowerCase())}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:X,pure:!0,standalone:!0})}return X})(),Nr=(()=>{class X{transform(Ce){if(null==Ce)return null;if("string"!=typeof Ce)throw Jt();return Ce.toUpperCase()}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:X,pure:!0,standalone:!0})}return X})();const dt=new n.InjectionToken(""),lo=new n.InjectionToken("");let vi=(()=>{class X{constructor(Ce,Re,Mt){this.locale=Ce,this.defaultTimezone=Re,this.defaultOptions=Mt}transform(Ce,Re,Mt,Zt){if(null==Ce||""===Ce||Ce!=Ce)return null;try{return ht(Ce,Re??this.defaultOptions?.dateFormat??"mediumDate",Zt||this.locale,Mt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(an){throw Jt()}}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(dt,24),n.\u0275\u0275directiveInject(lo,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:X,pure:!0,standalone:!0})}return X})();const _r=/#/g;let In=(()=>{class X{constructor(Ce){this._localization=Ce}transform(Ce,Re,Mt){if(null==Ce)return"";if("object"!=typeof Re||null===Re)throw Jt();return Re[ui(Ce,Object.keys(Re),this._localization,Mt)].replace(_r,Ce.toString())}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(or,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:X,pure:!0,standalone:!0})}return X})(),Gn=(()=>{class X{transform(Ce,Re){if(null==Ce)return"";if("object"!=typeof Re||"string"!=typeof Ce)throw Jt();return Re.hasOwnProperty(Ce)?Re[Ce]:Re.hasOwnProperty("other")?Re.other:""}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:X,pure:!0,standalone:!0})}return X})(),si=(()=>{class X{transform(Ce){return JSON.stringify(Ce,null,2)}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:X,pure:!1,standalone:!0})}return X})(),ai=(()=>{class X{constructor(Ce){this.differs=Ce,this.keyValues=[],this.compareFn=Fn}transform(Ce,Re=Fn){if(!Ce||!(Ce instanceof Map)&&"object"!=typeof Ce)return null;this.differ??=this.differs.find(Ce).create();const Mt=this.differ.diff(Ce),Zt=Re!==this.compareFn;return Mt&&(this.keyValues=[],Mt.forEachItem(an=>{this.keyValues.push(function Ir(X,Ve){return{key:X,value:Ve}}(an.key,an.currentValue))})),(Mt||Zt)&&(this.keyValues.sort(Re),this.compareFn=Re),this.keyValues}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:X,pure:!1,standalone:!0})}return X})();function Fn(X,Ve){const Ce=X.key,Re=Ve.key;if(Ce===Re)return 0;if(void 0===Ce)return 1;if(void 0===Re)return-1;if(null===Ce)return 1;if(null===Re)return-1;if("string"==typeof Ce&&"string"==typeof Re)return Ce{class X{constructor(Ce){this._locale=Ce}transform(Ce,Re,Mt){if(!Vi(Ce))return null;Mt||=this._locale;try{return er(hr(Ce),Mt,Re)}catch(Zt){throw Jt()}}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:X,pure:!0,standalone:!0})}return X})(),Zr=(()=>{class X{constructor(Ce){this._locale=Ce}transform(Ce,Re,Mt){if(!Vi(Ce))return null;Mt||=this._locale;try{return Jn(hr(Ce),Mt,Re)}catch(Zt){throw Jt()}}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:X,pure:!0,standalone:!0})}return X})(),Xr=(()=>{class X{constructor(Ce,Re="USD"){this._locale=Ce,this._defaultCurrencyCode=Re}transform(Ce,Re=this._defaultCurrencyCode,Mt="symbol",Zt,an){if(!Vi(Ce))return null;an||=this._locale,"boolean"==typeof Mt&&(Mt=Mt?"symbol":"code");let Pn=Re||this._defaultCurrencyCode;"code"!==Mt&&(Pn="symbol"===Mt||"symbol-narrow"===Mt?Xe(Pn,"symbol"===Mt?"wide":"narrow",an):Mt);try{return pr(hr(Ce),an,Pn,Re,Zt)}catch(gr){throw Jt()}}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:X,pure:!0,standalone:!0})}return X})();function Vi(X){return!(null==X||""===X||X!=X)}function hr(X){if("string"==typeof X&&!isNaN(Number(X)-parseFloat(X)))return Number(X);if("number"!=typeof X)throw new Error(`${X} is not a number`);return X}let Yi=(()=>{class X{transform(Ce,Re,Mt){if(null==Ce)return null;if(!this.supports(Ce))throw Jt();return Ce.slice(Re,Mt)}supports(Ce){return"string"==typeof Ce||Array.isArray(Ce)}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:X,pure:!1,standalone:!0})}return X})(),go=(()=>{class X{static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:X});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return X})();const Jr="browser",zi="server",qi="browserWorkerApp",ro="browserWorkerUi";function Rr(X){return X===Jr}function mo(X){return X===zi}function _i(X){return X===qi}function xi(X){return X===ro}const qr=new n.Version("17.2.3");let ar=(()=>{class X{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:X,providedIn:"root",factory:()=>Rr((0,n.inject)(n.PLATFORM_ID))?new yo((0,n.inject)(u),window):new yi})}return X})();class yo{constructor(Ve,Ce){this.document=Ve,this.window=Ce,this.offset=()=>[0,0]}setOffset(Ve){this.offset=Array.isArray(Ve)?()=>Ve:Ve}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ve){this.window.scrollTo(Ve[0],Ve[1])}scrollToAnchor(Ve){const Ce=function wi(X,Ve){const Ce=X.getElementById(Ve)||X.getElementsByName(Ve)[0];if(Ce)return Ce;if("function"==typeof X.createTreeWalker&&X.body&&"function"==typeof X.body.attachShadow){const Re=X.createTreeWalker(X.body,NodeFilter.SHOW_ELEMENT);let Mt=Re.currentNode;for(;Mt;){const Zt=Mt.shadowRoot;if(Zt){const an=Zt.getElementById(Ve)||Zt.querySelector(`[name="${Ve}"]`);if(an)return an}Mt=Re.nextNode()}}return null}(this.document,Ve);Ce&&(this.scrollToElement(Ce),Ce.focus())}setHistoryScrollRestoration(Ve){this.window.history.scrollRestoration=Ve}scrollToElement(Ve){const Ce=Ve.getBoundingClientRect(),Re=Ce.left+this.window.pageXOffset,Mt=Ce.top+this.window.pageYOffset,Zt=this.offset();this.window.scrollTo(Re-Zt[0],Mt-Zt[1])}}class yi{setOffset(Ve){}getScrollPosition(){return[0,0]}scrollToPosition(Ve){}scrollToAnchor(Ve){}setHistoryScrollRestoration(Ve){}}class Mo{}function zr(X){return/^https?:\/\//.test(X)}function Ni(X){if("string"!=typeof X||""===X.trim())return!1;try{return new URL(X),!0}catch{return!1}}function Lo(X){return X.startsWith("/")?X.slice(1):X}const Oi=X=>X.src,Zi=new n.InjectionToken("",{providedIn:"root",factory:()=>Oi});function Li(X,Ve){return function(Re){return Ni(Re)||function Gi(X,Ve){throw new n.\u0275RuntimeError(2959,!1)}(),Re=function Gr(X){return X.endsWith("/")?X.slice(0,-1):X}(Re),[{provide:Zi,useValue:an=>(zr(an.src)&&function $o(X,Ve){throw new n.\u0275RuntimeError(2959,!1)}(),X(Re,{...an,src:Lo(an.src)}))}]}}const Co=Li(Ro);function Ro(X,Ve){let Ce="format=auto";return Ve.width&&(Ce+=`,width=${Ve.width}`),`${X}/cdn-cgi/image/${Ce}/${Ve.src}`}const ns=Li(rs);function rs(X,Ve){let Ce="f_auto,q_auto";return Ve.width&&(Ce+=`,w_${Ve.width}`),`${X}/image/upload/${Ce}/${Ve.src}`}const cs=Li(co);function co(X,Ve){const{src:Ce,width:Re}=Ve;let Mt;return Mt=Re?[X,`tr:w-${Re}`,Ce]:[X,Ce],Mt.join("/")}const hs=Li(Qo);function Qo(X,Ve){const Ce=new URL(`${X}/${Ve.src}`);return Ce.searchParams.set("auto","format"),Ve.width&&Ce.searchParams.set("w",Ve.width.toString()),Ce.href}function ft(X){if(X&&!Ni(X))throw new n.\u0275RuntimeError(2959,!1);return X&&(X=new URL(X).origin),[{provide:Zi,useValue:Re=>function Wn(X,Ve){const Ce=new URL(Ve??"https://a/");Ce.pathname="/.netlify/images",!zr(X.src)&&!X.src.startsWith("/")&&(X.src="/"+X.src),Ce.searchParams.set("url",X.src),X.width&&Ce.searchParams.set("w",X.width.toString());for(const[Re,Mt]of Object.entries(X.loaderParams??{}))Ot.has(Re)&&Ce.searchParams.set(Ot.get(Re),Mt.toString());return"a"===Ce.hostname?Ce.href.replace(Ce.origin,""):Ce.href}(Re,X)}]}const Ot=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]),Zo=new n.InjectionToken(""),xo=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let _o=(()=>{class X{constructor(){this.preloadedImages=(0,n.inject)(xo),this.document=(0,n.inject)(u)}createPreloadLinkTag(Ce,Re,Mt,Zt){if(this.preloadedImages.has(Re))return;this.preloadedImages.add(Re);const an=Ce.createElement("link");Ce.setAttribute(an,"as","image"),Ce.setAttribute(an,"href",Re),Ce.setAttribute(an,"rel","preload"),Ce.setAttribute(an,"fetchpriority","high"),Zt&&Ce.setAttribute(an,"imageSizes",Zt),Mt&&Ce.setAttribute(an,"imageSrcset",Mt),Ce.appendChild(this.document.head,an)}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();const To=/^((\s*\d+w\s*(,|$)){1,})$/,fs=[1,2];let yn=(()=>{class X{constructor(){this.imageLoader=(0,n.inject)(Zi),this.config=function $n(X){let Ve={};return X.breakpoints&&(Ve.breakpoints=X.breakpoints.sort((Ce,Re)=>Ce-Re)),Object.assign({},n.\u0275IMAGE_CONFIG_DEFAULTS,X,Ve)}((0,n.inject)(n.\u0275IMAGE_CONFIG)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=mo((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(_o),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,n.\u0275performanceMarkFeature)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const Ce=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),Ce,this.sizes)}ngOnChanges(Ce){if(Ce.ngSrc&&!Ce.ngSrc.isFirstChange()){const Re=this._renderedSrc;this.updateSrcAndSrcset(!0);const Mt=this._renderedSrc;null!==this.lcpObserver&&Re&&Mt&&Re!==Mt&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(Re,Mt)})}}callImageLoader(Ce){let Re=Ce;return this.loaderParams&&(Re.loaderParams=this.loaderParams),this.imageLoader(Re)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const Ce=To.test(this.ngSrcset);return this.ngSrcset.split(",").filter(Mt=>""!==Mt).map(Mt=>{Mt=Mt.trim();const Zt=Ce?parseFloat(Mt):parseFloat(Mt)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:Zt})} ${Mt}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:Ce}=this.config;let Re=Ce;return"100vw"===this.sizes?.trim()&&(Re=Ce.filter(Zt=>Zt>=640)),Re.map(Zt=>`${this.callImageLoader({src:this.ngSrc,width:Zt})} ${Zt}w`).join(", ")}updateSrcAndSrcset(Ce=!1){Ce&&(this._renderedSrc=null);const Re=this.getRewrittenSrc();let Mt;return this.setHostAttribute("src",Re),this.ngSrcset?Mt=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Mt=this.getAutomaticSrcset()),Mt&&this.setHostAttribute("srcset",Mt),Mt}getFixedSrcset(){return fs.map(Re=>`${this.callImageLoader({src:this.ngSrc,width:this.width*Re})} ${Re}x`).join(", ")}shouldGenerateAutomaticSrcset(){let Ce=!1;return this.sizes||(Ce=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Oi&&!Ce}generatePlaceholder(Ce){const{placeholderResolution:Re}=this.config;return!0===Ce?`url(${this.callImageLoader({src:this.ngSrc,width:Re,isPlaceholder:!0})})`:"string"==typeof Ce&&Ce.startsWith("data:")?`url(${Ce})`:null}shouldBlurPlaceholder(Ce){return!Ce||!Ce.hasOwnProperty("blur")||!!Ce.blur}removePlaceholderOnLoad(Ce){const Re=()=>{const an=this.injector.get(n.ChangeDetectorRef);Mt(),Zt(),this.placeholder=!1,an.markForCheck()},Mt=this.renderer.listen(Ce,"load",Re),Zt=this.renderer.listen(Ce,"error",Re)}ngOnDestroy(){}setHostAttribute(Ce,Re){this.renderer.setAttribute(this.imgElement,Ce,Re)}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(Re,Mt){2&Re&&n.\u0275\u0275styleProp("position",Mt.fill?"absolute":null)("width",Mt.fill?"100%":null)("height",Mt.fill?"100%":null)("inset",Mt.fill?"0":null)("background-size",Mt.placeholder?"cover":null)("background-position",Mt.placeholder?"50% 50%":null)("background-repeat",Mt.placeholder?"no-repeat":null)("background-image",Mt.placeholder?Mt.generatePlaceholder(Mt.placeholder):null)("filter",Mt.placeholder&&Mt.shouldBlurPlaceholder(Mt.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"ngSrc","ngSrc",jt],ngSrcset:"ngSrcset",sizes:"sizes",width:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"width","width",n.numberAttribute],height:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"height","height",n.numberAttribute],loading:"loading",priority:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fill","fill",n.booleanAttribute],placeholder:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"placeholder","placeholder",cn],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return X})();function jt(X){return"string"==typeof X?X:(0,n.\u0275unwrapSafeValue)(X)}function cn(X){return"string"==typeof X&&X.startsWith("data:")?X:(0,n.booleanAttribute)(X)}},97048:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{FetchBackend:()=>ye,HTTP_INTERCEPTORS:()=>tt,HttpBackend:()=>_,HttpClient:()=>$,HttpClientJsonpModule:()=>qn,HttpClientModule:()=>br,HttpClientXsrfModule:()=>Er,HttpContext:()=>P,HttpContextToken:()=>T,HttpErrorResponse:()=>re,HttpEventType:()=>ue,HttpFeatureKind:()=>$t,HttpHandler:()=>C,HttpHeaderResponse:()=>K,HttpHeaders:()=>f,HttpParams:()=>j,HttpRequest:()=>te,HttpResponse:()=>Z,HttpResponseBase:()=>se,HttpStatusCode:()=>J,HttpUrlEncodingCodec:()=>b,HttpXhrBackend:()=>vt,HttpXsrfTokenExtractor:()=>It,JsonpClientBackend:()=>Te,JsonpInterceptor:()=>je,provideHttpClient:()=>xt,withFetch:()=>sr,withInterceptors:()=>nn,withInterceptorsFromDi:()=>Tn,withJsonpSupport:()=>kr,withNoXsrfProtection:()=>nr,withRequestsMadeViaParent:()=>Br,withXsrfConfiguration:()=>rn,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>Qe,\u0275HttpInterceptingHandler:()=>tn,\u0275HttpInterceptorHandler:()=>tn,\u0275PRIMARY_HTTP_BACKEND:()=>Ct,\u0275withHttpTransferCache:()=>ui});var n=o(1528),i=o(54496),d=o(82700),a=o(53252),l=o(74496),e=o(26020),u=o(66684),c=o(54704),g=o(68824),v=o(17368),p=o(19212),S=o(91368);class C{}class _{}class f{constructor(Rt){this.normalizedNames=new Map,this.lazyUpdate=null,Rt?"string"==typeof Rt?this.lazyInit=()=>{this.headers=new Map,Rt.split("\n").forEach(kt=>{const on=kt.indexOf(":");if(on>0){const dn=kt.slice(0,on),Mn=dn.toLowerCase(),En=kt.slice(on+1).trim();this.maybeSetNormalizedName(dn,Mn),this.headers.has(Mn)?this.headers.get(Mn).push(En):this.headers.set(Mn,[En])}})}:typeof Headers<"u"&&Rt instanceof Headers?(this.headers=new Map,Rt.forEach((kt,on)=>{this.setHeaderEntries(on,kt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Rt).forEach(([kt,on])=>{this.setHeaderEntries(kt,on)})}:this.headers=new Map}has(Rt){return this.init(),this.headers.has(Rt.toLowerCase())}get(Rt){this.init();const kt=this.headers.get(Rt.toLowerCase());return kt&&kt.length>0?kt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Rt){return this.init(),this.headers.get(Rt.toLowerCase())||null}append(Rt,kt){return this.clone({name:Rt,value:kt,op:"a"})}set(Rt,kt){return this.clone({name:Rt,value:kt,op:"s"})}delete(Rt,kt){return this.clone({name:Rt,value:kt,op:"d"})}maybeSetNormalizedName(Rt,kt){this.normalizedNames.has(kt)||this.normalizedNames.set(kt,Rt)}init(){this.lazyInit&&(this.lazyInit instanceof f?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Rt=>this.applyUpdate(Rt)),this.lazyUpdate=null))}copyFrom(Rt){Rt.init(),Array.from(Rt.headers.keys()).forEach(kt=>{this.headers.set(kt,Rt.headers.get(kt)),this.normalizedNames.set(kt,Rt.normalizedNames.get(kt))})}clone(Rt){const kt=new f;return kt.lazyInit=this.lazyInit&&this.lazyInit instanceof f?this.lazyInit:this,kt.lazyUpdate=(this.lazyUpdate||[]).concat([Rt]),kt}applyUpdate(Rt){const kt=Rt.name.toLowerCase();switch(Rt.op){case"a":case"s":let on=Rt.value;if("string"==typeof on&&(on=[on]),0===on.length)return;this.maybeSetNormalizedName(Rt.name,kt);const dn=("a"===Rt.op?this.headers.get(kt):void 0)||[];dn.push(...on),this.headers.set(kt,dn);break;case"d":const Mn=Rt.value;if(Mn){let En=this.headers.get(kt);if(!En)return;En=En.filter(Zn=>-1===Mn.indexOf(Zn)),0===En.length?(this.headers.delete(kt),this.normalizedNames.delete(kt)):this.headers.set(kt,En)}else this.headers.delete(kt),this.normalizedNames.delete(kt)}}setHeaderEntries(Rt,kt){const on=(Array.isArray(kt)?kt:[kt]).map(Mn=>Mn.toString()),dn=Rt.toLowerCase();this.headers.set(dn,on),this.maybeSetNormalizedName(Rt,dn)}forEach(Rt){this.init(),Array.from(this.normalizedNames.keys()).forEach(kt=>Rt(this.normalizedNames.get(kt),this.headers.get(kt)))}}class b{encodeKey(Rt){return I(Rt)}encodeValue(Rt){return I(Rt)}decodeKey(Rt){return decodeURIComponent(Rt)}decodeValue(Rt){return decodeURIComponent(Rt)}}const M=/%(\d[a-f0-9])/gi,A={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function I(ct){return encodeURIComponent(ct).replace(M,(Rt,kt)=>A[kt]??Rt)}function F(ct){return`${ct}`}class j{constructor(Rt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Rt.encoder||new b,Rt.fromString){if(Rt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function E(ct,Rt){const kt=new Map;return ct.length>0&&ct.replace(/^\?/,"").split("&").forEach(dn=>{const Mn=dn.indexOf("="),[En,Zn]=-1==Mn?[Rt.decodeKey(dn),""]:[Rt.decodeKey(dn.slice(0,Mn)),Rt.decodeValue(dn.slice(Mn+1))],Yn=kt.get(En)||[];Yn.push(Zn),kt.set(En,Yn)}),kt}(Rt.fromString,this.encoder)}else Rt.fromObject?(this.map=new Map,Object.keys(Rt.fromObject).forEach(kt=>{const on=Rt.fromObject[kt],dn=Array.isArray(on)?on.map(F):[F(on)];this.map.set(kt,dn)})):this.map=null}has(Rt){return this.init(),this.map.has(Rt)}get(Rt){this.init();const kt=this.map.get(Rt);return kt?kt[0]:null}getAll(Rt){return this.init(),this.map.get(Rt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Rt,kt){return this.clone({param:Rt,value:kt,op:"a"})}appendAll(Rt){const kt=[];return Object.keys(Rt).forEach(on=>{const dn=Rt[on];Array.isArray(dn)?dn.forEach(Mn=>{kt.push({param:on,value:Mn,op:"a"})}):kt.push({param:on,value:dn,op:"a"})}),this.clone(kt)}set(Rt,kt){return this.clone({param:Rt,value:kt,op:"s"})}delete(Rt,kt){return this.clone({param:Rt,value:kt,op:"d"})}toString(){return this.init(),this.keys().map(Rt=>{const kt=this.encoder.encodeKey(Rt);return this.map.get(Rt).map(on=>kt+"="+this.encoder.encodeValue(on)).join("&")}).filter(Rt=>""!==Rt).join("&")}clone(Rt){const kt=new j({encoder:this.encoder});return kt.cloneFrom=this.cloneFrom||this,kt.updates=(this.updates||[]).concat(Rt),kt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Rt=>this.map.set(Rt,this.cloneFrom.map.get(Rt))),this.updates.forEach(Rt=>{switch(Rt.op){case"a":case"s":const kt=("a"===Rt.op?this.map.get(Rt.param):void 0)||[];kt.push(F(Rt.value)),this.map.set(Rt.param,kt);break;case"d":if(void 0===Rt.value){this.map.delete(Rt.param);break}{let on=this.map.get(Rt.param)||[];const dn=on.indexOf(F(Rt.value));-1!==dn&&on.splice(dn,1),on.length>0?this.map.set(Rt.param,on):this.map.delete(Rt.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(Rt){this.defaultValue=Rt}}class P{constructor(){this.map=new Map}set(Rt,kt){return this.map.set(Rt,kt),this}get(Rt){return this.map.has(Rt)||this.map.set(Rt,Rt.defaultValue()),this.map.get(Rt)}delete(Rt){return this.map.delete(Rt),this}has(Rt){return this.map.has(Rt)}keys(){return this.map.keys()}}function N(ct){return typeof ArrayBuffer<"u"&&ct instanceof ArrayBuffer}function O(ct){return typeof Blob<"u"&&ct instanceof Blob}function H(ct){return typeof FormData<"u"&&ct instanceof FormData}class te{constructor(Rt,kt,on,dn){let Mn;if(this.url=kt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Rt.toUpperCase(),function x(ct){switch(ct){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||dn?(this.body=void 0!==on?on:null,Mn=dn):Mn=on,Mn&&(this.reportProgress=!!Mn.reportProgress,this.withCredentials=!!Mn.withCredentials,Mn.responseType&&(this.responseType=Mn.responseType),Mn.headers&&(this.headers=Mn.headers),Mn.context&&(this.context=Mn.context),Mn.params&&(this.params=Mn.params),this.transferCache=Mn.transferCache),this.headers??=new f,this.context??=new P,this.params){const En=this.params.toString();if(0===En.length)this.urlWithParams=kt;else{const Zn=kt.indexOf("?");this.urlWithParams=kt+(-1===Zn?"?":Znzn.set(ur,Rt.setHeaders[ur]),Yn)),Rt.setParams&&(Tr=Object.keys(Rt.setParams).reduce((zn,ur)=>zn.set(ur,Rt.setParams[ur]),Tr)),new te(kt,on,Mn,{params:Tr,headers:Yn,context:Mr,reportProgress:Zn,responseType:dn,withCredentials:En})}}var ue=function(ct){return ct[ct.Sent=0]="Sent",ct[ct.UploadProgress=1]="UploadProgress",ct[ct.ResponseHeader=2]="ResponseHeader",ct[ct.DownloadProgress=3]="DownloadProgress",ct[ct.Response=4]="Response",ct[ct.User=5]="User",ct}(ue||{});class se{constructor(Rt,kt=J.Ok,on="OK"){this.headers=Rt.headers||new f,this.status=void 0!==Rt.status?Rt.status:kt,this.statusText=Rt.statusText||on,this.url=Rt.url||null,this.ok=this.status>=200&&this.status<300}}class K extends se{constructor(Rt={}){super(Rt),this.type=ue.ResponseHeader}clone(Rt={}){return new K({headers:Rt.headers||this.headers,status:void 0!==Rt.status?Rt.status:this.status,statusText:Rt.statusText||this.statusText,url:Rt.url||this.url||void 0})}}class Z extends se{constructor(Rt={}){super(Rt),this.type=ue.Response,this.body=void 0!==Rt.body?Rt.body:null}clone(Rt={}){return new Z({body:void 0!==Rt.body?Rt.body:this.body,headers:Rt.headers||this.headers,status:void 0!==Rt.status?Rt.status:this.status,statusText:Rt.statusText||this.statusText,url:Rt.url||this.url||void 0})}}class re extends se{constructor(Rt){super(Rt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Rt.url||"(unknown url)"}`:`Http failure response for ${Rt.url||"(unknown url)"}: ${Rt.status} ${Rt.statusText}`,this.error=Rt.error||null}}var J=function(ct){return ct[ct.Continue=100]="Continue",ct[ct.SwitchingProtocols=101]="SwitchingProtocols",ct[ct.Processing=102]="Processing",ct[ct.EarlyHints=103]="EarlyHints",ct[ct.Ok=200]="Ok",ct[ct.Created=201]="Created",ct[ct.Accepted=202]="Accepted",ct[ct.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",ct[ct.NoContent=204]="NoContent",ct[ct.ResetContent=205]="ResetContent",ct[ct.PartialContent=206]="PartialContent",ct[ct.MultiStatus=207]="MultiStatus",ct[ct.AlreadyReported=208]="AlreadyReported",ct[ct.ImUsed=226]="ImUsed",ct[ct.MultipleChoices=300]="MultipleChoices",ct[ct.MovedPermanently=301]="MovedPermanently",ct[ct.Found=302]="Found",ct[ct.SeeOther=303]="SeeOther",ct[ct.NotModified=304]="NotModified",ct[ct.UseProxy=305]="UseProxy",ct[ct.Unused=306]="Unused",ct[ct.TemporaryRedirect=307]="TemporaryRedirect",ct[ct.PermanentRedirect=308]="PermanentRedirect",ct[ct.BadRequest=400]="BadRequest",ct[ct.Unauthorized=401]="Unauthorized",ct[ct.PaymentRequired=402]="PaymentRequired",ct[ct.Forbidden=403]="Forbidden",ct[ct.NotFound=404]="NotFound",ct[ct.MethodNotAllowed=405]="MethodNotAllowed",ct[ct.NotAcceptable=406]="NotAcceptable",ct[ct.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",ct[ct.RequestTimeout=408]="RequestTimeout",ct[ct.Conflict=409]="Conflict",ct[ct.Gone=410]="Gone",ct[ct.LengthRequired=411]="LengthRequired",ct[ct.PreconditionFailed=412]="PreconditionFailed",ct[ct.PayloadTooLarge=413]="PayloadTooLarge",ct[ct.UriTooLong=414]="UriTooLong",ct[ct.UnsupportedMediaType=415]="UnsupportedMediaType",ct[ct.RangeNotSatisfiable=416]="RangeNotSatisfiable",ct[ct.ExpectationFailed=417]="ExpectationFailed",ct[ct.ImATeapot=418]="ImATeapot",ct[ct.MisdirectedRequest=421]="MisdirectedRequest",ct[ct.UnprocessableEntity=422]="UnprocessableEntity",ct[ct.Locked=423]="Locked",ct[ct.FailedDependency=424]="FailedDependency",ct[ct.TooEarly=425]="TooEarly",ct[ct.UpgradeRequired=426]="UpgradeRequired",ct[ct.PreconditionRequired=428]="PreconditionRequired",ct[ct.TooManyRequests=429]="TooManyRequests",ct[ct.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",ct[ct.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",ct[ct.InternalServerError=500]="InternalServerError",ct[ct.NotImplemented=501]="NotImplemented",ct[ct.BadGateway=502]="BadGateway",ct[ct.ServiceUnavailable=503]="ServiceUnavailable",ct[ct.GatewayTimeout=504]="GatewayTimeout",ct[ct.HttpVersionNotSupported=505]="HttpVersionNotSupported",ct[ct.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",ct[ct.InsufficientStorage=507]="InsufficientStorage",ct[ct.LoopDetected=508]="LoopDetected",ct[ct.NotExtended=510]="NotExtended",ct[ct.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",ct}(J||{});function Y(ct,Rt){return{body:Rt,headers:ct.headers,context:ct.context,observe:ct.observe,params:ct.params,reportProgress:ct.reportProgress,responseType:ct.responseType,withCredentials:ct.withCredentials,transferCache:ct.transferCache}}let $=(()=>{class ct{constructor(kt){this.handler=kt}request(kt,on,dn={}){let Mn;if(kt instanceof te)Mn=kt;else{let Yn,Tr;Yn=dn.headers instanceof f?dn.headers:new f(dn.headers),dn.params&&(Tr=dn.params instanceof j?dn.params:new j({fromObject:dn.params})),Mn=new te(kt,on,void 0!==dn.body?dn.body:null,{headers:Yn,context:dn.context,params:Tr,reportProgress:dn.reportProgress,responseType:dn.responseType||"json",withCredentials:dn.withCredentials,transferCache:dn.transferCache})}const En=(0,d.of)(Mn).pipe((0,e.m)(Yn=>this.handler.handle(Yn)));if(kt instanceof te||"events"===dn.observe)return En;const Zn=En.pipe((0,u.I)(Yn=>Yn instanceof Z));switch(dn.observe||"body"){case"body":switch(Mn.responseType){case"arraybuffer":return Zn.pipe((0,c.k)(Yn=>{if(null!==Yn.body&&!(Yn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Yn.body}));case"blob":return Zn.pipe((0,c.k)(Yn=>{if(null!==Yn.body&&!(Yn.body instanceof Blob))throw new Error("Response is not a Blob.");return Yn.body}));case"text":return Zn.pipe((0,c.k)(Yn=>{if(null!==Yn.body&&"string"!=typeof Yn.body)throw new Error("Response is not a string.");return Yn.body}));default:return Zn.pipe((0,c.k)(Yn=>Yn.body))}case"response":return Zn;default:throw new Error(`Unreachable: unhandled observe type ${dn.observe}}`)}}delete(kt,on={}){return this.request("DELETE",kt,on)}get(kt,on={}){return this.request("GET",kt,on)}head(kt,on={}){return this.request("HEAD",kt,on)}jsonp(kt,on){return this.request("JSONP",kt,{params:(new j).append(on,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(kt,on={}){return this.request("OPTIONS",kt,on)}patch(kt,on,dn={}){return this.request("PATCH",kt,Y(dn,on))}post(kt,on,dn={}){return this.request("POST",kt,Y(dn,on))}put(kt,on,dn={}){return this.request("PUT",kt,Y(dn,on))}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(C))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();const le=/^\)\]\}',?\n/;function we(ct){if(ct.url)return ct.url;const Rt="X-Request-URL".toLocaleLowerCase();return ct.headers.get(Rt)}let ye=(()=>{class ct{constructor(){this.fetchImpl=(0,i.inject)(Oe,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,i.inject)(i.NgZone)}handle(kt){return new a._(on=>{const dn=new AbortController;return this.doRequest(kt,dn.signal,on).then(ve,Mn=>on.error(new re({error:Mn}))),()=>dn.abort()})}doRequest(kt,on,dn){var Mn=this;return(0,n.c)(function*(){const En=Mn.createRequestInit(kt);let Zn;try{const un=Mn.fetchImpl(kt.urlWithParams,{signal:on,...En});(function _e(ct){ct.then(ve,ve)})(un),dn.next({type:ue.Sent}),Zn=yield un}catch(un){return void dn.error(new re({error:un,status:un.status??0,statusText:un.statusText,url:kt.urlWithParams,headers:un.headers}))}const Yn=new f(Zn.headers),Tr=Zn.statusText,Mr=we(Zn)??kt.urlWithParams;let zn=Zn.status,ur=null;if(kt.reportProgress&&dn.next(new K({headers:Yn,status:zn,statusText:Tr,url:Mr})),Zn.body){const un=Zn.headers.get("content-length"),U=[],z=Zn.body.getReader();let Fe,Ae,ae=0;const fe=typeof Zone<"u"&&Zone.current;yield Mn.ngZone.runOutsideAngular((0,n.c)(function*(){for(;;){const{done:rt,value:_t}=yield z.read();if(rt)break;if(U.push(_t),ae+=_t.length,kt.reportProgress){Ae="text"===kt.responseType?(Ae??"")+(Fe??=new TextDecoder).decode(_t,{stream:!0}):void 0;const Tt=()=>dn.next({type:ue.DownloadProgress,total:un?+un:void 0,loaded:ae,partialText:Ae});fe?fe.run(Tt):Tt()}}}));const De=Mn.concatChunks(U,ae);try{const rt=Zn.headers.get("Content-Type")??"";ur=Mn.parseBody(kt,De,rt)}catch(rt){return void dn.error(new re({error:rt,headers:new f(Zn.headers),status:Zn.status,statusText:Zn.statusText,url:we(Zn)??kt.urlWithParams}))}}0===zn&&(zn=ur?J.Ok:0),zn>=200&&zn<300?(dn.next(new Z({body:ur,headers:Yn,status:zn,statusText:Tr,url:Mr})),dn.complete()):dn.error(new re({error:ur,headers:Yn,status:zn,statusText:Tr,url:Mr}))})()}parseBody(kt,on,dn){switch(kt.responseType){case"json":const Mn=(new TextDecoder).decode(on).replace(le,"");return""===Mn?null:JSON.parse(Mn);case"text":return(new TextDecoder).decode(on);case"blob":return new Blob([on],{type:dn});case"arraybuffer":return on.buffer}}createRequestInit(kt){const on={},dn=kt.withCredentials?"include":void 0;if(kt.headers.forEach((Mn,En)=>on[Mn]=En.join(",")),on.Accept??="application/json, text/plain, */*",!on["Content-Type"]){const Mn=kt.detectContentTypeHeader();null!==Mn&&(on["Content-Type"]=Mn)}return{body:kt.serializeBody(),method:kt.method,headers:on,credentials:dn}}concatChunks(kt,on){const dn=new Uint8Array(on);let Mn=0;for(const En of kt)dn.set(En,Mn),Mn+=En.length;return dn}static#e=this.\u0275fac=function(on){return new(on||ct)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();class Oe{}function ve(){}function Pe(ct,Rt){return Rt(ct)}function Ze(ct,Rt){return(kt,on)=>Rt.intercept(kt,{handle:dn=>ct(dn,on)})}const tt=new i.InjectionToken(""),mt=new i.InjectionToken(""),Qe=new i.InjectionToken(""),Ct=new i.InjectionToken("");function Xe(){let ct=null;return(Rt,kt)=>{null===ct&&(ct=((0,i.inject)(tt,{optional:!0})??[]).reduceRight(Ze,Pe));const on=(0,i.inject)(i.\u0275PendingTasks),dn=on.add();return ct(Rt,kt).pipe((0,g.U)(()=>on.remove(dn)))}}let wn,tn=(()=>{class ct extends C{constructor(kt,on){super(),this.backend=kt,this.injector=on,this.chain=null,this.pendingTasks=(0,i.inject)(i.\u0275PendingTasks);const dn=(0,i.inject)(Ct,{optional:!0});this.backend=dn??kt}handle(kt){if(null===this.chain){const dn=Array.from(new Set([...this.injector.get(mt),...this.injector.get(Qe,[])]));this.chain=dn.reduceRight((Mn,En)=>function ot(ct,Rt,kt){return(on,dn)=>(0,i.runInInjectionContext)(kt,()=>Rt(on,Mn=>ct(Mn,dn)))}(Mn,En,this.injector),Pe)}const on=this.pendingTasks.add();return this.chain(kt,dn=>this.backend.handle(dn)).pipe((0,g.U)(()=>this.pendingTasks.remove(on)))}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(_),i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})(),hn=0;class Ue{}function Ee(){return"object"==typeof window?window:{}}let Te=(()=>{class ct{constructor(kt,on){this.callbackMap=kt,this.document=on,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+hn++}handle(kt){if("JSONP"!==kt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==kt.responseType)throw new Error("JSONP requests must use Json response type.");if(kt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new a._(on=>{const dn=this.nextCallback(),Mn=kt.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${dn}$1`),En=this.document.createElement("script");En.src=Mn;let Zn=null,Yn=!1;this.callbackMap[dn]=ur=>{delete this.callbackMap[dn],Zn=ur,Yn=!0};const Tr=()=>{En.parentNode&&En.parentNode.removeChild(En),delete this.callbackMap[dn]};return En.addEventListener("load",ur=>{this.resolvedPromise.then(()=>{Tr(),Yn?(on.next(new Z({body:Zn,status:J.Ok,statusText:"OK",url:Mn})),on.complete()):on.error(new re({url:Mn,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),En.addEventListener("error",ur=>{Tr(),on.error(new re({error:ur,status:0,statusText:"JSONP Error",url:Mn}))}),this.document.body.appendChild(En),on.next({type:ue.Sent}),()=>{Yn||this.removeListeners(En),Tr()}})}removeListeners(kt){wn??=this.document.implementation.createHTMLDocument(),wn.adoptNode(kt)}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(Ue),i.\u0275\u0275inject(S.DOCUMENT))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();function $e(ct,Rt){return"JSONP"===ct.method?(0,i.inject)(Te).handle(ct):Rt(ct)}let je=(()=>{class ct{constructor(kt){this.injector=kt}intercept(kt,on){return(0,i.runInInjectionContext)(this.injector,()=>$e(kt,dn=>on.handle(dn)))}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();const gt=/^\)\]\}',?\n/;let vt=(()=>{class ct{constructor(kt){this.xhrFactory=kt}handle(kt){if("JSONP"===kt.method)throw new i.\u0275RuntimeError(-2800,!1);const on=this.xhrFactory;return(on.\u0275loadImpl?(0,l.Q)(on.\u0275loadImpl()):(0,d.of)(null)).pipe((0,v.G)(()=>new a._(Mn=>{const En=on.build();if(En.open(kt.method,kt.urlWithParams),kt.withCredentials&&(En.withCredentials=!0),kt.headers.forEach((U,z)=>En.setRequestHeader(U,z.join(","))),kt.headers.has("Accept")||En.setRequestHeader("Accept","application/json, text/plain, */*"),!kt.headers.has("Content-Type")){const U=kt.detectContentTypeHeader();null!==U&&En.setRequestHeader("Content-Type",U)}if(kt.responseType){const U=kt.responseType.toLowerCase();En.responseType="json"!==U?U:"text"}const Zn=kt.serializeBody();let Yn=null;const Tr=()=>{if(null!==Yn)return Yn;const U=En.statusText||"OK",z=new f(En.getAllResponseHeaders()),ae=function He(ct){return"responseURL"in ct&&ct.responseURL?ct.responseURL:/^X-Request-URL:/m.test(ct.getAllResponseHeaders())?ct.getResponseHeader("X-Request-URL"):null}(En)||kt.url;return Yn=new K({headers:z,status:En.status,statusText:U,url:ae}),Yn},Mr=()=>{let{headers:U,status:z,statusText:ae,url:Fe}=Tr(),Ae=null;z!==J.NoContent&&(Ae=typeof En.response>"u"?En.responseText:En.response),0===z&&(z=Ae?J.Ok:0);let fe=z>=200&&z<300;if("json"===kt.responseType&&"string"==typeof Ae){const De=Ae;Ae=Ae.replace(gt,"");try{Ae=""!==Ae?JSON.parse(Ae):null}catch(rt){Ae=De,fe&&(fe=!1,Ae={error:rt,text:Ae})}}fe?(Mn.next(new Z({body:Ae,headers:U,status:z,statusText:ae,url:Fe||void 0})),Mn.complete()):Mn.error(new re({error:Ae,headers:U,status:z,statusText:ae,url:Fe||void 0}))},zn=U=>{const{url:z}=Tr(),ae=new re({error:U,status:En.status||0,statusText:En.statusText||"Unknown Error",url:z||void 0});Mn.error(ae)};let ur=!1;const Mi=U=>{ur||(Mn.next(Tr()),ur=!0);let z={type:ue.DownloadProgress,loaded:U.loaded};U.lengthComputable&&(z.total=U.total),"text"===kt.responseType&&En.responseText&&(z.partialText=En.responseText),Mn.next(z)},un=U=>{let z={type:ue.UploadProgress,loaded:U.loaded};U.lengthComputable&&(z.total=U.total),Mn.next(z)};return En.addEventListener("load",Mr),En.addEventListener("error",zn),En.addEventListener("timeout",zn),En.addEventListener("abort",zn),kt.reportProgress&&(En.addEventListener("progress",Mi),null!==Zn&&En.upload&&En.upload.addEventListener("progress",un)),En.send(Zn),Mn.next({type:ue.Sent}),()=>{En.removeEventListener("error",zn),En.removeEventListener("abort",zn),En.removeEventListener("load",Mr),En.removeEventListener("timeout",zn),kt.reportProgress&&(En.removeEventListener("progress",Mi),null!==Zn&&En.upload&&En.upload.removeEventListener("progress",un)),En.readyState!==En.DONE&&En.abort()}})))}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(S.XhrFactory))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();const ut=new i.InjectionToken(""),wt="XSRF-TOKEN",st=new i.InjectionToken("",{providedIn:"root",factory:()=>wt}),zt="X-XSRF-TOKEN",pt=new i.InjectionToken("",{providedIn:"root",factory:()=>zt});class It{}let Yt=(()=>{class ct{constructor(kt,on,dn){this.doc=kt,this.platform=on,this.cookieName=dn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const kt=this.doc.cookie||"";return kt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,S.\u0275parseCookieValue)(kt,this.cookieName),this.lastCookieString=kt),this.lastToken}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(S.DOCUMENT),i.\u0275\u0275inject(i.PLATFORM_ID),i.\u0275\u0275inject(st))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();function Xt(ct,Rt){const kt=ct.url.toLowerCase();if(!(0,i.inject)(ut)||"GET"===ct.method||"HEAD"===ct.method||kt.startsWith("http://")||kt.startsWith("https://"))return Rt(ct);const on=(0,i.inject)(It).getToken(),dn=(0,i.inject)(pt);return null!=on&&!ct.headers.has(dn)&&(ct=ct.clone({headers:ct.headers.set(dn,on)})),Rt(ct)}let At=(()=>{class ct{constructor(kt){this.injector=kt}intercept(kt,on){return(0,i.runInInjectionContext)(this.injector,()=>Xt(kt,dn=>on.handle(dn)))}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();var $t=function(ct){return ct[ct.Interceptors=0]="Interceptors",ct[ct.LegacyInterceptors=1]="LegacyInterceptors",ct[ct.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ct[ct.NoXsrfProtection=3]="NoXsrfProtection",ct[ct.JsonpSupport=4]="JsonpSupport",ct[ct.RequestsMadeViaParent=5]="RequestsMadeViaParent",ct[ct.Fetch=6]="Fetch",ct}($t||{});function St(ct,Rt){return{\u0275kind:ct,\u0275providers:Rt}}function xt(...ct){const Rt=[$,vt,tn,{provide:C,useExisting:tn},{provide:_,useExisting:vt},{provide:mt,useValue:Xt,multi:!0},{provide:ut,useValue:!0},{provide:It,useClass:Yt}];for(const kt of ct)Rt.push(...kt.\u0275providers);return(0,i.makeEnvironmentProviders)(Rt)}function nn(ct){return St($t.Interceptors,ct.map(Rt=>({provide:mt,useValue:Rt,multi:!0})))}const bn=new i.InjectionToken("");function Tn(){return St($t.LegacyInterceptors,[{provide:bn,useFactory:Xe},{provide:mt,useExisting:bn,multi:!0}])}function rn({cookieName:ct,headerName:Rt}){const kt=[];return void 0!==ct&&kt.push({provide:st,useValue:ct}),void 0!==Rt&&kt.push({provide:pt,useValue:Rt}),St($t.CustomXsrfConfiguration,kt)}function nr(){return St($t.NoXsrfProtection,[{provide:ut,useValue:!1}])}function kr(){return St($t.JsonpSupport,[Te,{provide:Ue,useFactory:Ee},{provide:mt,useValue:$e,multi:!0}])}function Br(){return St($t.RequestsMadeViaParent,[{provide:_,useFactory:()=>(0,i.inject)(C,{skipSelf:!0,optional:!0})}])}function sr(){return St($t.Fetch,[ye,{provide:_,useExisting:ye},{provide:Ct,useExisting:ye}])}let Er=(()=>{class ct{static disable(){return{ngModule:ct,providers:[nr().\u0275providers]}}static withOptions(kt={}){return{ngModule:ct,providers:rn(kt).\u0275providers}}static#e=this.\u0275fac=function(on){return new(on||ct)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[At,{provide:tt,useExisting:At,multi:!0},{provide:It,useClass:Yt},rn({cookieName:wt,headerName:zt}).\u0275providers,{provide:ut,useValue:!0}]})}return ct})(),br=(()=>{class ct{static#e=this.\u0275fac=function(on){return new(on||ct)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[xt(Tn())]})}return ct})(),qn=(()=>{class ct{static#e=this.\u0275fac=function(on){return new(on||ct)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[kr().\u0275providers]})}return ct})();const Rn="b",oi="h",Sr="s",pr="st",Jn="u",er="rt",Or=new i.InjectionToken(""),pi=["GET","HEAD"];function en(ct,Rt){const{isCacheActive:kt,...on}=(0,i.inject)(Or),{transferCache:dn,method:Mn}=ct;if(!kt||"POST"===Mn&&!on.includePostRequests&&!dn||"POST"!==Mn&&!pi.includes(Mn)||!1===dn||!1===on.filter?.(ct))return Rt(ct);const En=(0,i.inject)(i.TransferState),Zn=function Qn(ct){const{params:Rt,method:kt,responseType:on,url:dn,body:Mn}=ct,Tr=function or(ct){let Rt=0;for(const kt of ct)Rt=Math.imul(31,Rt)+kt.charCodeAt(0)<<0;return Rt+=2147483648,Rt.toString()}([kt,on,dn,"string"==typeof Mn?Mn:"",Rt.keys().sort().map(Mr=>`${Mr}=${Rt.getAll(Mr)}`).join("&")].join("|"));return(0,i.makeStateKey)(Tr)}(ct),Yn=En.get(Zn,null);let Tr=on.includeHeaders;if("object"==typeof dn&&dn.includeHeaders&&(Tr=dn.includeHeaders),Yn){const{[Rn]:Mr,[er]:zn,[oi]:ur,[Sr]:Mi,[pr]:un,[Jn]:U}=Yn;let z=Mr;switch(zn){case"arraybuffer":z=(new TextEncoder).encode(Mr).buffer;break;case"blob":z=new Blob([Mr])}let ae=new f(ur);return(0,d.of)(new Z({body:z,headers:ae,status:Mi,statusText:un,url:U}))}return Rt(ct).pipe((0,p.y)(Mr=>{Mr instanceof Z&&En.set(Zn,{[Rn]:Mr.body,[oi]:jn(Mr.headers,Tr),[Sr]:Mr.status,[pr]:Mr.statusText,[Jn]:Mr.url||"",[er]:ct.responseType})}))}function jn(ct,Rt){if(!Rt)return{};const kt={};for(const on of Rt){const dn=ct.getAll(on);null!==dn&&(kt[on]=dn)}return kt}function ui(ct){return[{provide:Or,useFactory:()=>((0,i.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...ct})},{provide:Qe,useValue:en,multi:!0,deps:[i.TransferState,Or]},{provide:i.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Rt=(0,i.inject)(i.ApplicationRef),kt=(0,i.inject)(Or);return()=>{(0,i.\u0275whenStable)(Rt).then(()=>{kt.isCacheActive=!1})}}}]}},54496:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{ANIMATION_MODULE_TYPE:()=>di,APP_BOOTSTRAP_LISTENER:()=>hy,APP_ID:()=>Lt,APP_INITIALIZER:()=>fw,AfterRenderPhase:()=>Ka,ApplicationInitStatus:()=>_g,ApplicationModule:()=>Ey,ApplicationRef:()=>ja,Attribute:()=>am,COMPILER_OPTIONS:()=>yw,CSP_NONCE:()=>vo,CUSTOM_ELEMENTS_SCHEMA:()=>jb,ChangeDetectionStrategy:()=>Er,ChangeDetectorRef:()=>Cp,Compiler:()=>vw,CompilerFactory:()=>bw,Component:()=>NI,ComponentFactory:()=>Ju,ComponentFactoryResolver:()=>qu,ComponentRef:()=>Xh,ContentChild:()=>YA,ContentChildren:()=>VA,DEFAULT_CURRENCY_CODE:()=>ww,DebugElement:()=>Ld,DebugEventListener:()=>Fw,DebugNode:()=>Eg,DefaultIterableDiffer:()=>z0,DestroyRef:()=>xc,Directive:()=>WM,ENVIRONMENT_INITIALIZER:()=>Ps,ElementRef:()=>as,EmbeddedViewRef:()=>Rw,EnvironmentInjector:()=>Js,ErrorHandler:()=>Fs,EventEmitter:()=>Ue,Host:()=>Kd,HostBinding:()=>BI,HostListener:()=>iy,INJECTOR:()=>Qd,Inject:()=>Ya,InjectFlags:()=>gt,Injectable:()=>gb,InjectionToken:()=>it,Injector:()=>Rs,Input:()=>jI,IterableDiffers:()=>bp,KeyValueDiffers:()=>nd,LOCALE_ID:()=>bg,MissingTranslationStrategy:()=>Aw,ModuleWithComponentFactories:()=>_w,NO_ERRORS_SCHEMA:()=>Bb,NgModule:()=>UI,NgModuleFactory:()=>JC,NgModuleRef:()=>kl,NgProbeToken:()=>tP,NgZone:()=>Oo,Optional:()=>$d,Output:()=>du,PACKAGE_ROOT_URL:()=>xr,PLATFORM_ID:()=>Xn,PLATFORM_INITIALIZER:()=>ln,Pipe:()=>$M,PlatformRef:()=>py,Query:()=>Fc,QueryList:()=>il,Renderer2:()=>fp,RendererFactory2:()=>B0,RendererStyleFlags2:()=>Ah,Sanitizer:()=>gp,SecurityContext:()=>El,Self:()=>Tu,SimpleChange:()=>Hy,SkipSelf:()=>Gd,TRANSLATIONS:()=>iP,TRANSLATIONS_FORMAT:()=>Dw,TemplateRef:()=>Ku,Testability:()=>eP,TestabilityRegistry:()=>hw,TransferState:()=>Eu,Type:()=>rh,VERSION:()=>KM,Version:()=>GM,ViewChild:()=>WA,ViewChildren:()=>zA,ViewContainerRef:()=>lf,ViewEncapsulation:()=>br,ViewRef:()=>Lw,afterNextRender:()=>iC,afterRender:()=>wp,asNativeElements:()=>lP,assertInInjectionContext:()=>pl,assertNotInReactiveContext:()=>bA,assertPlatform:()=>Iw,booleanAttribute:()=>Tk,computed:()=>aA,contentChild:()=>UA,contentChildren:()=>RC,createComponent:()=>Bk,createEnvironmentInjector:()=>zp,createNgModule:()=>qC,createNgModuleRef:()=>eS,createPlatform:()=>vy,createPlatformFactory:()=>Tw,defineInjectable:()=>ql,destroyPlatform:()=>oP,effect:()=>Sp,enableProdMode:()=>sP,forwardRef:()=>to,getDebugNode:()=>Ui,getModuleFactory:()=>Ow,getNgModuleById:()=>aP,getPlatform:()=>Od,importProvidersFrom:()=>ds,inject:()=>lt,input:()=>je,isDevMode:()=>xw,isSignal:()=>mp,isStandalone:()=>lr,makeEnvironmentProviders:()=>Iu,makeStateKey:()=>Xs,mergeApplicationConfig:()=>Hk,model:()=>jC,numberAttribute:()=>Ik,platformCore:()=>Ds,provideZoneChangeDetection:()=>Mw,reflectComponentType:()=>Uk,resolveForwardRef:()=>Dr,runInInjectionContext:()=>Xg,setTestabilityGetter:()=>ly,signal:()=>Io,untracked:()=>uA,viewChild:()=>LC,viewChildren:()=>jA,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>_y,\u0275AfterRenderEventManager:()=>Pl,\u0275CONTAINER_HEADER_OFFSET:()=>zr,\u0275ChangeDetectionScheduler:()=>hp,\u0275ComponentFactory:()=>Ju,\u0275Console:()=>QM,\u0275DEFAULT_LOCALE_ID:()=>qa,\u0275DEFER_BLOCK_CONFIG:()=>CS,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>fT,\u0275DeferBlockBehavior:()=>Ef,\u0275DeferBlockState:()=>Po,\u0275EffectScheduler:()=>q0,\u0275IMAGE_CONFIG:()=>Hs,\u0275IMAGE_CONFIG_DEFAULTS:()=>da,\u0275INJECTOR_SCOPE:()=>qd,\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE:()=>An,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>_c,\u0275LContext:()=>Mh,\u0275LifecycleHooksFeature:()=>gC,\u0275LocaleDataIndex:()=>qc,\u0275NG_COMP_DEF:()=>pi,\u0275NG_DIR_DEF:()=>en,\u0275NG_ELEMENT_ID:()=>ui,\u0275NG_INJ_DEF:()=>de,\u0275NG_MOD_DEF:()=>Qn,\u0275NG_PIPE_DEF:()=>jn,\u0275NG_PROV_DEF:()=>be,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>ed,\u0275NO_CHANGE:()=>ri,\u0275NgModuleFactory:()=>_f,\u0275NoopNgZone:()=>Mp,\u0275PendingTasks:()=>fd,\u0275ReflectionCapabilities:()=>Uy,\u0275Render3ComponentFactory:()=>Lc,\u0275Render3ComponentRef:()=>af,\u0275Render3NgModuleRef:()=>pf,\u0275RuntimeError:()=>nt,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>wu,\u0275TESTABILITY:()=>ay,\u0275TESTABILITY_GETTER:()=>dw,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>sd,\u0275ViewRef:()=>Tl,\u0275XSS_SECURITY_URL:()=>Xe,\u0275_sanitizeHtml:()=>Ib,\u0275_sanitizeUrl:()=>yh,\u0275allowSanitizationBypassAndThrow:()=>Cl,\u0275annotateForHydration:()=>vk,\u0275bypassSanitizationTrustHtml:()=>Eb,\u0275bypassSanitizationTrustResourceUrl:()=>fm,\u0275bypassSanitizationTrustScript:()=>PD,\u0275bypassSanitizationTrustStyle:()=>ID,\u0275bypassSanitizationTrustUrl:()=>kD,\u0275clearResolutionOfComponentResourcesQueue:()=>Bp,\u0275compileComponent:()=>LM,\u0275compileDirective:()=>ny,\u0275compileNgModule:()=>AM,\u0275compileNgModuleDefs:()=>Jv,\u0275compileNgModuleFactory:()=>Cw,\u0275compilePipe:()=>zM,\u0275convertToBitFlags:()=>Vt,\u0275createInjector:()=>mh,\u0275defaultIterableDiffers:()=>ks,\u0275defaultKeyValueDiffers:()=>vA,\u0275depsTracker:()=>Oc,\u0275devModeEqual:()=>Q0,\u0275findLocaleData:()=>Qf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>DM,\u0275formatRuntimeError:()=>Pt,\u0275generateStandaloneInDeclarationsError:()=>TM,\u0275getAsyncClassMetadataFn:()=>iT,\u0275getDebugNode:()=>Ui,\u0275getDeferBlocks:()=>Ag,\u0275getDirectives:()=>oM,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>Ao,\u0275getHostElement:()=>Dd,\u0275getInjectableDef:()=>Ma,\u0275getLContext:()=>Es,\u0275getLocaleCurrencyCode:()=>BT,\u0275getLocalePluralCase:()=>Zf,\u0275getSanitizationBypassType:()=>Sb,\u0275getUnknownElementStrictMode:()=>_a,\u0275getUnknownPropertyStrictMode:()=>e1,\u0275global:()=>Rn,\u0275injectChangeDetectorRef:()=>kc,\u0275internalAfterNextRender:()=>rf,\u0275internalCreateApplication:()=>Ho,\u0275isBoundToModule:()=>Na,\u0275isComponentDefPendingResolution:()=>HC,\u0275isEnvironmentProviders:()=>nc,\u0275isInjectable:()=>Un,\u0275isNgModule:()=>Qa,\u0275isPromise:()=>uy,\u0275isSubscribable:()=>dy,\u0275noSideEffects:()=>qn,\u0275output:()=>Ee,\u0275patchComponentDefWithScope:()=>ey,\u0275performanceMarkFeature:()=>zs,\u0275provideZonelessChangeDetection:()=>Ua,\u0275queueStateUpdate:()=>jr,\u0275readHydrationInfo:()=>Ug,\u0275registerLocaleData:()=>jT,\u0275renderDeferBlockState:()=>Ra,\u0275resetCompiledComponents:()=>kI,\u0275resetJitOptions:()=>wM,\u0275resolveComponentResources:()=>UC,\u0275restoreComponentResolutionQueue:()=>GA,\u0275setAllowDuplicateNgModuleIdsForTest:()=>ZA,\u0275setAlternateWeakRefImpl:()=>gi,\u0275setClassDebugInfo:()=>EM,\u0275setClassMetadata:()=>rS,\u0275setClassMetadataAsync:()=>hd,\u0275setCurrentInjector:()=>V,\u0275setDocument:()=>pu,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>ho,\u0275setInjectorProfilerContext:()=>tc,\u0275setLocaleId:()=>j_,\u0275setUnknownElementStrictMode:()=>Dl,\u0275setUnknownPropertyStrictMode:()=>qD,\u0275store:()=>WE,\u0275stringify:()=>He,\u0275transitiveScopesFor:()=>Yl,\u0275triggerResourceLoading:()=>kf,\u0275truncateMiddle:()=>ut,\u0275unregisterLocaleData:()=>hE,\u0275unwrapSafeValue:()=>Ia,\u0275unwrapWritableSignal:()=>lA,\u0275whenStable:()=>pw,\u0275withDomHydration:()=>Dk,\u0275\u0275CopyDefinitionFeature:()=>KC,\u0275\u0275FactoryTarget:()=>_l,\u0275\u0275HostDirectivesFeature:()=>dd,\u0275\u0275InheritDefinitionFeature:()=>gf,\u0275\u0275InputFlags:()=>ct,\u0275\u0275InputTransformsFeature:()=>XC,\u0275\u0275NgOnChangesFeature:()=>qg,\u0275\u0275ProvidersFeature:()=>Rv,\u0275\u0275StandaloneFeature:()=>Fv,\u0275\u0275advance:()=>o0,\u0275\u0275attribute:()=>l_,\u0275\u0275attributeInterpolate1:()=>c_,\u0275\u0275attributeInterpolate2:()=>xf,\u0275\u0275attributeInterpolate3:()=>u_,\u0275\u0275attributeInterpolate4:()=>d_,\u0275\u0275attributeInterpolate5:()=>Of,\u0275\u0275attributeInterpolate6:()=>h_,\u0275\u0275attributeInterpolate7:()=>f_,\u0275\u0275attributeInterpolate8:()=>Lf,\u0275\u0275attributeInterpolateV:()=>g_,\u0275\u0275classMap:()=>E_,\u0275\u0275classMapInterpolate1:()=>A_,\u0275\u0275classMapInterpolate2:()=>XS,\u0275\u0275classMapInterpolate3:()=>Hf,\u0275\u0275classMapInterpolate4:()=>JS,\u0275\u0275classMapInterpolate5:()=>T_,\u0275\u0275classMapInterpolate6:()=>qS,\u0275\u0275classMapInterpolate7:()=>eE,\u0275\u0275classMapInterpolate8:()=>Ul,\u0275\u0275classMapInterpolateV:()=>tE,\u0275\u0275classProp:()=>S_,\u0275\u0275componentInstance:()=>nE,\u0275\u0275conditional:()=>iE,\u0275\u0275contentQuery:()=>uv,\u0275\u0275contentQuerySignal:()=>YE,\u0275\u0275defer:()=>SS,\u0275\u0275deferEnableTimerScheduling:()=>t_,\u0275\u0275deferOnHover:()=>AS,\u0275\u0275deferOnIdle:()=>MS,\u0275\u0275deferOnImmediate:()=>wS,\u0275\u0275deferOnInteraction:()=>TS,\u0275\u0275deferOnTimer:()=>DS,\u0275\u0275deferOnViewport:()=>Pf,\u0275\u0275deferPrefetchOnHover:()=>o_,\u0275\u0275deferPrefetchOnIdle:()=>r_,\u0275\u0275deferPrefetchOnImmediate:()=>If,\u0275\u0275deferPrefetchOnInteraction:()=>IS,\u0275\u0275deferPrefetchOnTimer:()=>i_,\u0275\u0275deferPrefetchOnViewport:()=>PS,\u0275\u0275deferPrefetchWhen:()=>ES,\u0275\u0275deferWhen:()=>n_,\u0275\u0275defineComponent:()=>_t,\u0275\u0275defineDirective:()=>vn,\u0275\u0275defineInjectable:()=>ni,\u0275\u0275defineInjector:()=>Us,\u0275\u0275defineNgModule:()=>Jt,\u0275\u0275definePipe:()=>Cn,\u0275\u0275directiveInject:()=>Mc,\u0275\u0275disableBindings:()=>Ti,\u0275\u0275element:()=>F_,\u0275\u0275elementContainer:()=>Gf,\u0275\u0275elementContainerEnd:()=>$f,\u0275\u0275elementContainerStart:()=>Jc,\u0275\u0275elementEnd:()=>vd,\u0275\u0275elementStart:()=>Wf,\u0275\u0275enableBindings:()=>Ai,\u0275\u0275getComponentDepsFactory:()=>Zv,\u0275\u0275getCurrentView:()=>uE,\u0275\u0275getInheritedFactory:()=>ob,\u0275\u0275hostProperty:()=>N_,\u0275\u0275i18n:()=>tv,\u0275\u0275i18nApply:()=>LE,\u0275\u0275i18nAttributes:()=>OE,\u0275\u0275i18nEnd:()=>ev,\u0275\u0275i18nExp:()=>eg,\u0275\u0275i18nPostprocess:()=>RE,\u0275\u0275i18nStart:()=>q_,\u0275\u0275inject:()=>ke,\u0275\u0275injectAttribute:()=>fh,\u0275\u0275invalidFactory:()=>a0,\u0275\u0275invalidFactoryDep:()=>ze,\u0275\u0275listener:()=>nv,\u0275\u0275loadQuery:()=>VE,\u0275\u0275namespaceHTML:()=>Ks,\u0275\u0275namespaceMathML:()=>$l,\u0275\u0275namespaceSVG:()=>ss,\u0275\u0275nextContext:()=>jE,\u0275\u0275ngDeclareClassMetadata:()=>kk,\u0275\u0275ngDeclareComponent:()=>xk,\u0275\u0275ngDeclareDirective:()=>Pk,\u0275\u0275ngDeclareFactory:()=>Ok,\u0275\u0275ngDeclareInjectable:()=>Rk,\u0275\u0275ngDeclareInjector:()=>Fk,\u0275\u0275ngDeclareNgModule:()=>Nk,\u0275\u0275ngDeclarePipe:()=>jk,\u0275\u0275pipe:()=>_M,\u0275\u0275pipeBind1:()=>yM,\u0275\u0275pipeBind2:()=>Kv,\u0275\u0275pipeBind3:()=>bM,\u0275\u0275pipeBind4:()=>Qv,\u0275\u0275pipeBindV:()=>CM,\u0275\u0275projection:()=>UE,\u0275\u0275projectionDef:()=>BE,\u0275\u0275property:()=>b_,\u0275\u0275propertyInterpolate:()=>iv,\u0275\u0275propertyInterpolate1:()=>wd,\u0275\u0275propertyInterpolate2:()=>ov,\u0275\u0275propertyInterpolate3:()=>tg,\u0275\u0275propertyInterpolate4:()=>sv,\u0275\u0275propertyInterpolate5:()=>ng,\u0275\u0275propertyInterpolate6:()=>av,\u0275\u0275propertyInterpolate7:()=>lv,\u0275\u0275propertyInterpolate8:()=>rg,\u0275\u0275propertyInterpolateV:()=>cv,\u0275\u0275pureFunction0:()=>Hv,\u0275\u0275pureFunction1:()=>cM,\u0275\u0275pureFunction2:()=>Vv,\u0275\u0275pureFunction3:()=>uM,\u0275\u0275pureFunction4:()=>Yv,\u0275\u0275pureFunction5:()=>dM,\u0275\u0275pureFunction6:()=>zv,\u0275\u0275pureFunction7:()=>hM,\u0275\u0275pureFunction8:()=>Wv,\u0275\u0275pureFunctionV:()=>fM,\u0275\u0275queryAdvance:()=>hv,\u0275\u0275queryRefresh:()=>dv,\u0275\u0275reference:()=>fv,\u0275\u0275registerNgModuleType:()=>ff,\u0275\u0275repeater:()=>zf,\u0275\u0275repeaterCreate:()=>O_,\u0275\u0275repeaterTrackByIdentity:()=>x_,\u0275\u0275repeaterTrackByIndex:()=>sE,\u0275\u0275resetView:()=>Ii,\u0275\u0275resolveBody:()=>Dh,\u0275\u0275resolveDocument:()=>Pm,\u0275\u0275resolveWindow:()=>Vb,\u0275\u0275restoreView:()=>Qi,\u0275\u0275sanitizeHtml:()=>_m,\u0275\u0275sanitizeResourceUrl:()=>Ch,\u0275\u0275sanitizeScript:()=>bm,\u0275\u0275sanitizeStyle:()=>vm,\u0275\u0275sanitizeUrl:()=>ym,\u0275\u0275sanitizeUrlOrResourceUrl:()=>xa,\u0275\u0275setComponentScope:()=>tM,\u0275\u0275setNgModuleScope:()=>Nv,\u0275\u0275styleMap:()=>xs,\u0275\u0275styleMapInterpolate1:()=>$E,\u0275\u0275styleMapInterpolate2:()=>gv,\u0275\u0275styleMapInterpolate3:()=>GE,\u0275\u0275styleMapInterpolate4:()=>mv,\u0275\u0275styleMapInterpolate5:()=>KE,\u0275\u0275styleMapInterpolate6:()=>pv,\u0275\u0275styleMapInterpolate7:()=>QE,\u0275\u0275styleMapInterpolate8:()=>ZE,\u0275\u0275styleMapInterpolateV:()=>_v,\u0275\u0275styleProp:()=>jf,\u0275\u0275stylePropInterpolate1:()=>vv,\u0275\u0275stylePropInterpolate2:()=>ig,\u0275\u0275stylePropInterpolate3:()=>yv,\u0275\u0275stylePropInterpolate4:()=>bv,\u0275\u0275stylePropInterpolate5:()=>Cv,\u0275\u0275stylePropInterpolate6:()=>ou,\u0275\u0275stylePropInterpolate7:()=>Sv,\u0275\u0275stylePropInterpolate8:()=>og,\u0275\u0275stylePropInterpolateV:()=>Ev,\u0275\u0275syntheticHostListener:()=>Md,\u0275\u0275syntheticHostProperty:()=>Kf,\u0275\u0275template:()=>Bc,\u0275\u0275templateRefExtractor:()=>SM,\u0275\u0275text:()=>Mv,\u0275\u0275textInterpolate:()=>sg,\u0275\u0275textInterpolate1:()=>ag,\u0275\u0275textInterpolate2:()=>su,\u0275\u0275textInterpolate3:()=>wv,\u0275\u0275textInterpolate4:()=>Dv,\u0275\u0275textInterpolate5:()=>Av,\u0275\u0275textInterpolate6:()=>Tv,\u0275\u0275textInterpolate7:()=>Iv,\u0275\u0275textInterpolate8:()=>lg,\u0275\u0275textInterpolateV:()=>Pv,\u0275\u0275trustConstantHtml:()=>Pb,\u0275\u0275trustConstantResourceUrl:()=>Cm,\u0275\u0275twoWayBindingSet:()=>JE,\u0275\u0275twoWayListener:()=>ug,\u0275\u0275twoWayProperty:()=>cg,\u0275\u0275validateIframeAttribute:()=>ud,\u0275\u0275viewQuery:()=>HE,\u0275\u0275viewQuerySignal:()=>zE});var n=o(1528);function i(t,r){return Object.is(t,r)}let d=null,a=!1,l=1;const e=Symbol("SIGNAL");function u(t){const r=d;return d=t,r}const p={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function S(t){if(a)throw new Error("");if(null===d)return;d.consumerOnSignalRead(t);const r=d.nextProducerIndex++;P(d),rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function A(t){P(t);for(let r=0;r0}function P(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function x(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function N(t){const r=Object.create(te);r.computation=t;const s=()=>{if(_(r),S(r),r.value===G)throw r.error;return r.value};return s[e]=r,s}const O=Symbol("UNSET"),H=Symbol("COMPUTING"),G=Symbol("ERRORED"),te={...p,value:O,dirty:!0,error:null,equal:i,producerMustRecompute:t=>t.value===O||t.value===H,producerRecomputeValue(t){if(t.value===H)throw new Error("Detected cycle in computations.");const r=t.value;t.value=H;const s=E(t);let m;try{m=t.computation()}catch(D){m=G,t.error=D}finally{M(t,s)}r!==O&&r!==G&&m!==G&&t.equal(r,m)?t.value=r:(t.value=m,t.version++)}};let se=function ue(){throw new Error};function K(){se()}let re=null;function le(t,r){y()||K(),t.equal(t.value,r)||(t.value=r,function ye(t){t.version++,function C(){l++}(),f(t),re?.()}(t))}const we={...p,equal:i,value:void 0};const ve=()=>{},_e={...p,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:ve};var Ze=o(95657),ot=o(46928),tt=o(46700),mt=o(54704),Qe=o(75084);const Xe="https://g.co/ng/security#xss";class nt extends Error{constructor(r,s){super(Pt(r,s)),this.code=r}}function Pt(t,r){return`NG0${Math.abs(t)}${r?": "+r:""}`}const tn=Symbol("InputSignalNode#UNSET"),hn={...we,transformFn:void 0,applyValueToInputSignal(t,r){le(t,r)}},An=Symbol();function _n(t,r){const s=Object.create(hn);function m(){if(S(s),s.value===tn)throw new nt(-950,!1);return s.value}return s.value=t,s.transformFn=r?.transform,m[e]=s,m}function ht(t){return r=>{setTimeout(t,void 0,r)}}const Ue=class qt extends Ze.E{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,s,m){let D=r,L=s||(()=>null),W=m;if(r&&"object"==typeof r){const me=r;D=me.next?.bind(me),L=me.error?.bind(me),W=me.complete?.bind(me)}this.__isAsync&&(L=ht(L),D&&(D=ht(D)),W&&(W=ht(W)));const ie=super.subscribe({next:D,error:L,complete:W});return r instanceof ot.wH&&r.add(ie),ie}};function Ee(t){return new Ue}function Te(t,r){return _n(t,r)}const je=(Te.required=function $e(t){return _n(tn,t)},Te);var gt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(gt||{});function He(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(He).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const r=t.toString();if(null==r)return""+r;const s=r.indexOf("\n");return-1===s?r:r.substring(0,s)}function vt(t,r){return null==t||""===t?null===r?"":r:null==r||""===r?t:t+" "+r}function ut(t,r=100){if(!t||r<1||t.length<=r)return t;if(1==r)return t.substring(0,1)+"...";const s=Math.round(r/2);return t.substring(0,s)+"..."+t.substring(t.length-s)}function rn(t,r,s,m){throw new Error(`ASSERTION ERROR: ${t}`+(null==m?"":` [Expected=> ${s} ${m} ${r} <=Actual]`))}var Er=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Er||{}),br=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(br||{});function qn(t){return{toString:t}.toString()}const Rn=globalThis,pr={},Jn=[];function er(t){for(let r in t)if(t[r]===er)return r;throw Error("Could not find renamed property on target object.")}function Or(t,r){for(const s in r)r.hasOwnProperty(s)&&!t.hasOwnProperty(s)&&(t[s]=r[s])}const pi=er({\u0275cmp:er}),en=er({\u0275dir:er}),jn=er({\u0275pipe:er}),Qn=er({\u0275mod:er}),or=er({\u0275fac:er}),ui=er({__NG_ELEMENT_ID__:er}),Pr=er({__NG_ENV_ID__:er});var ct=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(ct||{});function Rt(t,r,s){let m=t.length;for(;;){const D=t.indexOf(r,s);if(-1===D)return D;if(0===D||t.charCodeAt(D-1)<=32){const L=r.length;if(D+L===m||t.charCodeAt(D+L)<=32)return D}s=D+1}}function kt(t,r,s){let m=0;for(;mr){W=L-1;break}}}for(;LL?"":D[Et+1].toLowerCase();const Qt=8&m?Ut:null;if(Qt&&-1!==Rt(Qt,Ne,0)||2&m&&Ne!==Ut){if(ur(m))return!1;W=!0}}}}else{if(!W&&!ur(m)&&!ur(me))return!1;if(W&&ur(me))continue;W=!1,m=me|1&m}}return ur(m)||W}function ur(t){return 0==(1&t)}function Mi(t,r,s,m){if(null===r)return-1;let D=0;if(m||!s){let L=!1;for(;D-1)for(s++;s0?'="'+ie+'"':"")+"]"}else 8&m?D+="."+W:4&m&&(D+=" "+W);else""!==D&&!ur(W)&&(r+=Ae(L,D),D=""),m=W,L=L||!ur(m);s++}return""!==D&&(r+=Ae(L,D)),r}function _t(t){return qn(()=>{const r=Nr(t),s={...r,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Er.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||br.Emulated,styles:t.styles||Jn,_:null,schemas:t.schemas||null,tView:null,id:""};Lr(s);const m=t.dependencies;return s.directiveDefs=dt(m,!1),s.pipeDefs=dt(m,!0),s.id=function vi(t){let r=0;const s=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const D of s)r=Math.imul(31,r)+D.charCodeAt(0)<<0;return r+=2147483648,"c"+r}(s),s})}function Tt(t){return fn(t)||Gt(t)}function Bt(t){return null!==t}function Jt(t){return qn(()=>({type:t.type,bootstrap:t.bootstrap||Jn,declarations:t.declarations||Jn,imports:t.imports||Jn,exports:t.exports||Jn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function mn(t,r){if(null==t)return pr;const s={};for(const m in t)if(t.hasOwnProperty(m)){const D=t[m];let L,W,ie=ct.None;Array.isArray(D)?(ie=D[0],L=D[1],W=D[2]??L):(L=D,W=D),r?(s[L]=ie!==ct.None?[m,ie]:m,r[L]=W):s[L]=m}return s}function vn(t){return qn(()=>{const r=Nr(t);return Lr(r),r})}function Cn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function fn(t){return t[pi]||null}function Gt(t){return t[en]||null}function Nn(t){return t[jn]||null}function lr(t){const r=fn(t)||Gt(t)||Nn(t);return null!==r&&r.standalone}function cr(t,r){const s=t[Qn]||null;if(!s&&!0===r)throw new Error(`Type ${He(t)} does not have '\u0275mod' property.`);return s}function Nr(t){const r={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputTransforms:null,inputConfig:t.inputs||pr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Jn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mn(t.inputs,r),outputs:mn(t.outputs),debugInfo:null}}function Lr(t){t.features?.forEach(r=>r(t))}function dt(t,r){if(!t)return null;const s=r?Nn:Tt;return()=>("function"==typeof t?t():t).map(m=>s(m)).filter(Bt)}const lo=new Map,_r=0,In=1,Gn=2,si=3,Ir=4,ai=5,Fn=6,ti=7,Zr=8,Xr=9,Vi=10,hr=11,Yi=12,ko=13,go=14,Jr=15,zi=16,qi=17,ro=18,Rr=19,mo=20,_i=21,xi=22,qr=23,ar=25,yo=1,wi=6,yi=7,po=9,zr=10;var bo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(bo||{});function Ni(t){return Array.isArray(t)&&"object"==typeof t[yo]}function Gr(t){return Array.isArray(t)&&!0===t[yo]}function Lo(t){return 0!=(4&t.flags)}function Oi(t){return t.componentOffset>-1}function Zi(t){return 1==(1&t.flags)}function Li(t){return!!t.template}function Gi(t){return 0!=(512&t[Gn])}function $o(t){return 16==(16&t.type)}function Ro(t){return 256==(256&t[Gn])}const Vn="svg",Wi="math";let Eo=!1;function Ao(){return Eo}function ho(t){Eo=t}function Ur(t){for(;Array.isArray(t);)t=t[_r];return t}function Zo(t){for(;Array.isArray(t);){if("object"==typeof t[yo])return t;t=t[_r]}return null}function is(t,r){return Ur(r[t])}function Xi(t,r){return Ur(r[t.index])}function xo(t,r){return t.data[r]}function _o(t,r){return t[r]}function Di(t,r){const s=r[t];return Ni(s)?s:s[_r]}function Cs(t){return 128==(128&t[Gn])}function io(t,r){return null==r?null:t[r]}function fs(t){t[qi]=0}function et(t){1024&t[Gn]||(t[Gn]|=1024,Cs(t)&&qe(t))}function ne(t,r){for(;t>0;)r=r[go],t--;return r}function ge(t){return!!(9216&t[Gn]||t[qr]?.dirty)}function Le(t){ge(t)?qe(t):64&t[Gn]&&(Ao()?(t[Gn]|=1024,qe(t)):t[Vi].changeDetectionScheduler?.notify())}function qe(t){t[Vi].changeDetectionScheduler?.notify();let r=Ht(t);for(;null!==r&&!(8192&r[Gn])&&(r[Gn]|=8192,Cs(r));)r=Ht(r)}function Dt(t,r){if(256==(256&t[Gn]))throw new nt(911,!1);null===t[_i]&&(t[_i]=[]),t[_i].push(r)}function Nt(t,r){if(null===t[_i])return;const s=t[_i].indexOf(r);-1!==s&&t[_i].splice(s,1)}function Ht(t){const r=t[si];return Gr(r)?r[si]:r}const Wt={lFrame:Ri(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function tr(){return Wt.bindingsEnabled}function vr(){return null!==Wt.skipHydrationRootTNode}function Ai(){Wt.bindingsEnabled=!0}function Ti(){Wt.bindingsEnabled=!1}function Sn(){return Wt.lFrame.lView}function wr(){return Wt.lFrame.tView}function Qi(t){return Wt.lFrame.contextLView=t,t[Zr]}function Ii(t){return Wt.lFrame.contextLView=null,t}function ei(){let t=oo();for(;null!==t&&64===t.type;)t=t.parent;return t}function oo(){return Wt.lFrame.currentTNode}function Be(){const t=Wt.lFrame,r=t.currentTNode;return t.isParent?r:r.parent}function at(t,r){const s=Wt.lFrame;s.currentTNode=t,s.isParent=r}function R(){return Wt.lFrame.isParent}function q(){Wt.lFrame.isParent=!1}function yt(){const t=Wt.lFrame;let r=t.bindingRootIndex;return-1===r&&(r=t.bindingRootIndex=t.tView.bindingStartIndex),r}function jt(){return Wt.lFrame.bindingIndex}function cn(t){return Wt.lFrame.bindingIndex=t}function X(){return Wt.lFrame.bindingIndex++}function Ve(t){const r=Wt.lFrame,s=r.bindingIndex;return r.bindingIndex=r.bindingIndex+t,s}function Re(t){Wt.lFrame.inI18n=t}function Mt(t,r){const s=Wt.lFrame;s.bindingIndex=s.bindingRootIndex=t,an(r)}function an(t){Wt.lFrame.currentDirectiveIndex=t}function Pn(t){const r=Wt.lFrame.currentDirectiveIndex;return-1===r?null:t[r]}function gr(){return Wt.lFrame.currentQueryIndex}function yr(t){Wt.lFrame.currentQueryIndex=t}function $r(t){const r=t[In];return 2===r.type?r.declTNode:1===r.type?t[ai]:null}function Cr(t,r,s){if(s>.SkipSelf){let D=r,L=t;for(;!(D=D.parent,null!==D||s>.Host||(D=$r(L),null===D||(L=L[go],10&D.type))););if(null===D)return!1;r=D,t=L}const m=Wt.lFrame=Hr();return m.currentTNode=r,m.lView=t,!0}function Qr(t){const r=Hr(),s=t[In];Wt.lFrame=r,r.currentTNode=s.firstChild,r.lView=t,r.tView=s,r.contextLView=t,r.bindingIndex=s.bindingStartIndex,r.inI18n=!1}function Hr(){const t=Wt.lFrame,r=null===t?null:t.child;return null===r?Ri(t):r}function Ri(t){const r={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=r),r}function eo(){const t=Wt.lFrame;return Wt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Vo=eo;function gs(){const t=eo();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function so(){return Wt.lFrame.selectedIndex}function Yo(t){Wt.lFrame.selectedIndex=t}function hi(){const t=Wt.lFrame;return xo(t.tView,t.selectedIndex)}function ss(){Wt.lFrame.currentNamespace=Vn}function $l(){Wt.lFrame.currentNamespace=Wi}function Ks(){!function Gl(){Wt.lFrame.currentNamespace=null}()}function el(){return Wt.lFrame.currentNamespace}let tl=!0;function Qs(){return tl}function Os(t){tl=t}function fu(){return Jo(ei(),Sn())}function Jo(t,r){return new as(Xi(t,r))}let as=(()=>{class t{constructor(s){this.nativeElement=s}static#e=this.__NG_ELEMENT_ID__=fu}return t})();function Kl(t){return t instanceof as?t.nativeElement:t}function ls(t){return t.flat(Number.POSITIVE_INFINITY)}function oa(t,r){t.forEach(s=>Array.isArray(s)?oa(s,r):r(s))}function nl(t,r,s){r>=t.length?t.push(s):t.splice(r,0,s)}function Sa(t,r){return r>=t.length-1?t.pop():t.splice(r,1)[0]}function sa(t,r){const s=[];for(let m=0;mr;)t[D]=t[D-2],D--;t[r]=s,t[r+1]=m}}function zo(t,r,s){let m=ca(t,r);return m>=0?t[1|m]=s:(m=~m,Ql(t,m,r,s)),m}function la(t,r){const s=ca(t,r);if(s>=0)return t[1|s]}function ca(t,r){return function rl(t,r,s){let m=0,D=t.length>>s;for(;D!==m;){const L=m+(D-m>>1),W=t[L<r?D=L:m=L+1}return~(D<gn}),gn="ng",ln=new it(""),Xn=new it("",{providedIn:"platform",factory:()=>"unknown"}),xr=new it(""),di=new it(""),vo=new it("",{providedIn:"root",factory:()=>No().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),da={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Hs=new it("",{providedIn:"root",factory:()=>da}),ha=er({__forward_ref__:er});function to(t){return t.__forward_ref__=to,t.toString=function(){return He(this())},t}function Dr(t){return Ha(t)?t():t}function Ha(t){return"function"==typeof t&&t.hasOwnProperty(ha)&&t.__forward_ref__===to}let _u,ll;function tc(t){rn("setInjectorProfilerContext should never be called in production mode");const r=_u;return _u=t,r}function nc(t){return t&&!!t.\u0275providers}function Vr(t){return"string"==typeof t?t:null==t?"":String(t)}function Bi(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Vr(t)}function bu(t,r){throw new nt(-201,!1)}function Ud(){return ll}function Wo(t){const r=ll;return ll=t,r}function Hd(t,r,s){const m=Ma(t);return m&&"root"==m.providedIn?void 0===m.value?m.value=m.factory():m.value:s>.Optional?null:void 0!==r?r:void bu()}const ul={},Cu="__NG_DI_FLAG__",rc="ngTempTokenPath",xg=/\n/gm,Da="__source";let Zs;function V(t){const r=Zs;return Zs=t,r}function he(t,r=gt.Default){if(void 0===Zs)throw new nt(-203,!1);return null===Zs?Hd(t,void 0,r):Zs.get(t,r>.Optional?null:void 0,r)}function ke(t,r=gt.Default){return(Ud()||he)(Dr(t),r)}function ze(t){throw new nt(202,!1)}function lt(t,r=gt.Default){return ke(t,Vt(r))}function Vt(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Dn(t){const r=[];for(let s=0;s{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:ga});get(s,m){return void 0!==this.store[s]?this.store[s]:m}set(s,m){this.store[s]=m}remove(s){delete this.store[s]}hasKey(s){return this.store.hasOwnProperty(s)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(s,m){this.onSerializeCallbacks[s]=m}toJson(){for(const s in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(s))try{this.store[s]=this.onSerializeCallbacks[s]()}catch(m){console.warn("Exception in onSerialize callback: ",m)}return JSON.stringify(this.store).replace(/null;function Kw(t,r,s=!1){let m=t.getAttribute(Mu);if(null==m)return null;const[D,L]=m.split("|");if(m=s?L:D,!m)return null;const ie=s?D:L?`|${L}`:"";let me={};if(""!==m){const Je=r.get(Eu,null,{optional:!0});null!==Je&&(me=Je.get(jg,[])[Number(m)])}const Ne={data:me,firstChild:t.firstChild??null};return s&&(Ne.firstChild=t,Yd(Ne,0,t.nextSibling)),ie?t.setAttribute(Mu,ie):t.removeAttribute(Mu),Ne}function Bg(t,r,s=!1){return ky(t,r,s)}function xy(t){let r=t._lView;return 2===r[In].type?null:(Gi(r)&&(r=r[ar]),r)}const fl="__ngDebugHydrationInfo__";function Ug(t){return t[fl]??null}function Yd(t,r,s){t.segmentHeads??={},t.segmentHeads[r]=s}function Hg(t,r){return t.segmentHeads?.[r]??null}function Ry(t,r){return t.data[ma]?.[r]??null}function zd(t,r){const s=Ry(t,r)??[];let m=0;for(let D of s)m+=D[oc]*(D[dl]??1);return m}function Wd(t,r){if(typeof t.disconnectedNodes>"u"){const s=t.data[Vd];t.disconnectedNodes=s?new Set(s):null}return!!t.disconnectedNodes?.has(r)}const Si="__annotations__",lc="__parameters__",Ls="__prop__metadata__";function Au(t,r,s,m,D){return qn(()=>{const L=Vg(r);function W(...ie){if(this instanceof W)return L.call(this,...ie),this;const me=new W(...ie);return function(Je){return D&&D(Je,...ie),(Je.hasOwnProperty(Si)?Je[Si]:Object.defineProperty(Je,Si,{value:[]})[Si]).push(me),m&&m(Je),Je}}return s&&(W.prototype=Object.create(s.prototype)),W.prototype.ngMetadataName=t,W.annotationCls=W,W})}function Vg(t){return function(...s){if(t){const m=t(...s);for(const D in m)this[D]=m[D]}}}function Ss(t,r,s){return qn(()=>{const m=Vg(r);function D(...L){if(this instanceof D)return m.apply(this,L),this;const W=new D(...L);return ie.annotation=W,ie;function ie(me,Ne,Je){const Et=me.hasOwnProperty(lc)?me[lc]:Object.defineProperty(me,lc,{value:[]})[lc];for(;Et.length<=Je;)Et.push(null);return(Et[Je]=Et[Je]||[]).push(W),me}}return s&&(D.prototype=Object.create(s.prototype)),D.prototype.ngMetadataName=t,D.annotationCls=D,D})}function Va(t,r,s,m){return qn(()=>{const D=Vg(r);function L(...W){if(this instanceof L)return D.apply(this,W),this;const ie=new L(...W);return function me(Ne,Je){if(void 0===Ne)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const Et=Ne.constructor,Ut=Et.hasOwnProperty(Ls)?Et[Ls]:Object.defineProperty(Et,Ls,{value:{}})[Ls];Ut[Je]=Ut.hasOwnProperty(Je)&&Ut[Je]||[],Ut[Je].unshift(ie),m&&m(Ne,Je,...W)}}return s&&(L.prototype=Object.create(s.prototype)),L.prototype.ngMetadataName=t,L.annotationCls=L,L})}const Ya=rr(Ss("Inject",t=>({token:t})),-1),$d=rr(Ss("Optional"),8),Tu=rr(Ss("Self"),2),Gd=rr(Ss("SkipSelf"),4),Kd=rr(Ss("Host"),1);function gl(t,r){return t.hasOwnProperty(or)?t[or]:null}const Ps=new it(""),Qd=new it("",-1),Yg=new it("");class Zd{get(r,s=ul){if(s===ul){const m=new Error(`NullInjectorError: No provider for ${He(r)}!`);throw m.name="NullInjectorError",m}return s}}function Iu(t){return{\u0275providers:t}}function ds(...t){return{\u0275providers:zg(0,t),\u0275fromNgModule:!0}}function zg(t,...r){const s=[],m=new Set;let D;const L=W=>{s.push(W)};return oa(r,W=>{const ie=W;Jd(ie,L,[],m)&&(D||=[],D.push(ie))}),void 0!==D&&Xd(D,L),s}function Xd(t,r){for(let s=0;s{r(L,m)})}}function Jd(t,r,s,m){if(!(t=Dr(t)))return!1;let D=null,L=oe(t);const W=!L&&fn(t);if(L||W){if(W&&!W.standalone)return!1;D=t}else{const me=t.ngModule;if(L=oe(me),!L)return!1;D=me}const ie=m.has(D);if(W){if(ie)return!1;if(m.add(D),W.dependencies){const me="function"==typeof W.dependencies?W.dependencies():W.dependencies;for(const Ne of me)Jd(Ne,r,s,m)}}else{if(!L)return!1;{if(null!=L.imports&&!ie){let Ne;m.add(D);try{oa(L.imports,Je=>{Jd(Je,r,s,m)&&(Ne||=[],Ne.push(Je))})}finally{}void 0!==Ne&&Xd(Ne,r)}if(!ie){const Ne=gl(D)||(()=>new D);r({provide:D,useFactory:Ne,deps:Jn},D),r({provide:Yg,useValue:D,multi:!0},D),r({provide:Ps,useValue:()=>ke(D),multi:!0},D)}const me=L.providers;if(null!=me&&!ie){const Ne=t;Wg(me,Je=>{r(Je,Ne)})}}}return D!==t&&void 0!==t.providers}function Wg(t,r){for(let s of t)nc(s)&&(s=s.\u0275providers),Array.isArray(s)?Wg(s,r):r(s)}const Fy=er({provide:String,useValue:er});function $g(t){return null!==t&&"object"==typeof t&&Fy in t}function ml(t){return"function"==typeof t}const qd=new it(""),eh={},tD={};let Gg;function Aa(){return void 0===Gg&&(Gg=new Zd),Gg}class Js{}class cc extends Js{get destroyed(){return this._destroyed}constructor(r,s,m,D){super(),this.parent=s,this.source=m,this.scopes=D,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zg(r,W=>this.processProvider(W)),this.records.set(Qd,uc(void 0,this)),D.has("environment")&&this.records.set(Js,uc(void 0,this));const L=this.records.get(qd);null!=L&&"string"==typeof L.value&&this.scopes.add(L.value),this.injectorDefTypes=new Set(this.get(Yg,Jn,gt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const s of this._ngOnDestroyHooks)s.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const s of r)s()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const s=V(this),m=Wo(void 0);try{return r()}finally{V(s),Wo(m)}}get(r,s=ul,m=gt.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Pr))return r[Pr](this);m=Vt(m);const L=V(this),W=Wo(void 0);try{if(!(m>.SkipSelf)){let me=this.records.get(r);if(void 0===me){const Ne=function iD(t){return"function"==typeof t||"object"==typeof t&&t instanceof it}(r)&&Ma(r);me=Ne&&this.injectableDefInScope(Ne)?uc(Kg(r),eh):null,this.records.set(r,me)}if(null!=me)return this.hydrate(r,me)}return(m>.Self?Aa():this.parent).get(r,s=m>.Optional&&s===ul?null:s)}catch(ie){if("NullInjectorError"===ie.name){if((ie[rc]=ie[rc]||[]).unshift(He(r)),L)throw ie;return function fi(t,r,s,m){const D=t[rc];throw r[Da]&&D.unshift(r[Da]),t.message=function us(t,r,s,m=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let D=He(r);if(Array.isArray(r))D=r.map(He).join(" -> ");else if("object"==typeof r){let L=[];for(let W in r)if(r.hasOwnProperty(W)){let ie=r[W];L.push(W+":"+("string"==typeof ie?JSON.stringify(ie):He(ie)))}D=`{${L.join(", ")}}`}return`${s}${m?"("+m+")":""}[${D}]: ${t.replace(xg,"\n ")}`}("\n"+t.message,D,s,m),t.ngTokenPath=D,t[rc]=null,t}(ie,r,"R3InjectorError",this.source)}throw ie}finally{Wo(W),V(L)}}resolveInjectorInitializers(){const r=V(this),s=Wo(void 0);try{const D=this.get(Ps,Jn,gt.Self);for(const L of D)L()}finally{V(r),Wo(s)}}toString(){const r=[],s=this.records;for(const m of s.keys())r.push(He(m));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new nt(205,!1)}processProvider(r){let s=ml(r=Dr(r))?r:Dr(r&&r.provide);const m=function nD(t){return $g(t)?uc(void 0,t.useValue):uc(nh(t),eh)}(r);if(!ml(r)&&!0===r.multi){let D=this.records.get(s);D||(D=uc(void 0,eh,!0),D.factory=()=>Dn(D.multi),this.records.set(s,D)),s=r,D.multi.push(r)}this.records.set(s,m)}hydrate(r,s){return s.value===eh&&(s.value=tD,s.value=s.factory()),"object"==typeof s.value&&s.value&&function Qg(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(s.value)&&this._ngOnDestroyHooks.add(s.value),s.value}injectableDefInScope(r){if(!r.providedIn)return!1;const s=Dr(r.providedIn);return"string"==typeof s?"any"===s||this.scopes.has(s):this.injectorDefTypes.has(s)}removeOnDestroy(r){const s=this._onDestroyHooks.indexOf(r);-1!==s&&this._onDestroyHooks.splice(s,1)}}function Kg(t){const r=Ma(t),s=null!==r?r.factory:gl(t);if(null!==s)return s;if(t instanceof it)throw new nt(204,!1);if(t instanceof Function)return function th(t){if(t.length>0)throw new nt(204,!1);const s=function ms(t){return t&&(t[be]||t[Se])||null}(t);return null!==s?()=>s.factory(t):()=>new t}(t);throw new nt(204,!1)}function nh(t,r,s){let m;if(ml(t)){const D=Dr(t);return gl(D)||Kg(D)}if($g(t))m=()=>Dr(t.useValue);else if(function Ny(t){return!(!t||!t.useFactory)}(t))m=()=>t.useFactory(...Dn(t.deps||[]));else if(function Pu(t){return!(!t||!t.useExisting)}(t))m=()=>ke(Dr(t.useExisting));else{const D=Dr(t&&(t.useClass||t.provide));if(!function rD(t){return!!t.deps}(t))return gl(D)||Kg(D);m=()=>new D(...Dn(t.deps))}return m}function uc(t,r,s=!1){return{factory:t,value:r,multi:s?[]:void 0}}function Zg(t,r){for(const s of t)Array.isArray(s)?Zg(s,r):s&&nc(s)?Zg(s.\u0275providers,r):r(s)}function Xg(t,r){t instanceof cc&&t.assertNotDestroyed();const m=V(t),D=Wo(void 0);try{return r()}finally{V(m),Wo(D)}}function pl(t){if(!Ud()&&!function Ci(){return Zs}())throw new nt(-203,!1)}var _l=function(t){return t[t.Directive=0]="Directive",t[t.Component=1]="Component",t[t.Injectable=2]="Injectable",t[t.Pipe=3]="Pipe",t[t.NgModule=4]="NgModule",t}(_l||{});function qo(t){const r=Rn.ng;if(r&&r.\u0275compilerFacade)return r.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const By={\u0275\u0275defineInjectable:ni,\u0275\u0275defineInjector:Us,\u0275\u0275inject:ke,\u0275\u0275invalidFactoryDep:ze,resolveForwardRef:Dr},rh=Function;function dc(t){return"function"==typeof t}const sD=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Vs=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,aD=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Wa=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Uy{constructor(r){this._reflect=r||Rn.Reflect}factory(r){return(...s)=>new r(...s)}_zipTypesAndAnnotations(r,s){let m;m=sa(typeof r>"u"?s.length:r.length);for(let D=0;D"u"?[]:r[D]&&r[D]!=Object?[r[D]]:[],s&&null!=s[D]&&(m[D]=m[D].concat(s[D]));return m}_ownParameters(r,s){if(function lD(t){return sD.test(t)||Wa.test(t)||Vs.test(t)&&!aD.test(t)}(r.toString()))return null;if(r.parameters&&r.parameters!==s.parameters)return r.parameters;const D=r.ctorParameters;if(D&&D!==s.ctorParameters){const ie="function"==typeof D?D():D,me=ie.map(Je=>Je&&Je.type),Ne=ie.map(Je=>Je&&Jg(Je.decorators));return this._zipTypesAndAnnotations(me,Ne)}const L=r.hasOwnProperty(lc)&&r[lc],W=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",r);return W||L?this._zipTypesAndAnnotations(W,L):sa(r.length)}parameters(r){if(!dc(r))return[];const s=ih(r);let m=this._ownParameters(r,s);return!m&&s!==Object&&(m=this.parameters(s)),m||[]}_ownAnnotations(r,s){if(r.annotations&&r.annotations!==s.annotations){let m=r.annotations;return"function"==typeof m&&m.annotations&&(m=m.annotations),m}return r.decorators&&r.decorators!==s.decorators?Jg(r.decorators):r.hasOwnProperty(Si)?r[Si]:null}annotations(r){if(!dc(r))return[];const s=ih(r),m=this._ownAnnotations(r,s)||[];return(s!==Object?this.annotations(s):[]).concat(m)}_ownPropMetadata(r,s){if(r.propMetadata&&r.propMetadata!==s.propMetadata){let m=r.propMetadata;return"function"==typeof m&&m.propMetadata&&(m=m.propMetadata),m}if(r.propDecorators&&r.propDecorators!==s.propDecorators){const m=r.propDecorators,D={};return Object.keys(m).forEach(L=>{D[L]=Jg(m[L])}),D}return r.hasOwnProperty(Ls)?r[Ls]:null}propMetadata(r){if(!dc(r))return{};const s=ih(r),m={};if(s!==Object){const L=this.propMetadata(s);Object.keys(L).forEach(W=>{m[W]=L[W]})}const D=this._ownPropMetadata(r,s);return D&&Object.keys(D).forEach(L=>{const W=[];m.hasOwnProperty(L)&&W.push(...m[L]),W.push(...D[L]),m[L]=W}),m}ownPropMetadata(r){return dc(r)&&this._ownPropMetadata(r,ih(r))||{}}hasLifecycleHook(r,s){return r instanceof rh&&s in r.prototype}}function Jg(t){return t?t.map(r=>new(0,r.type.annotationCls)(...r.args?r.args:[])):[]}function ih(t){const r=t.prototype?Object.getPrototypeOf(t.prototype):null;return(r?r.constructor:null)||Object}class Hy{constructor(r,s,m){this.previousValue=r,this.currentValue=s,this.firstChange=m}isFirstChange(){return this.firstChange}}function Vy(t,r,s,m){null!==r?r.applyValueToInputSignal(r,m):t[s]=m}function qg(){return Yy}function Yy(t){return t.type.prototype.ngOnChanges&&(t.setInput=hc),cD}function cD(){const t=Wy(this),r=t?.current;if(r){const s=t.previous;if(s===pr)t.previous=r;else for(let m in r)s[m]=r[m];t.current=null,this.ngOnChanges(r)}}function hc(t,r,s,m,D){const L=this.declaredInputs[m],W=Wy(t)||function $y(t,r){return t[zy]=r}(t,{previous:pr,current:null}),ie=W.current||(W.current={}),me=W.previous,Ne=me[L];ie[L]=new Hy(Ne&&Ne.currentValue,s,me===pr),Vy(t,r,D,s)}qg.ngInherit=!0;const zy="__ngSimpleChanges__";function Wy(t){return t[zy]||null}const pa=function(t,r,s){};function oh(t,r){for(let s=r.directiveStart,m=r.directiveEnd;s=m)break}else r[me]<0&&(t[qi]+=65536),(ie>14>16&&(3&t[Gn])===r&&(t[Gn]+=16384,tm(ie,L)):tm(ie,L)}const vl=-1;class xu{constructor(r,s,m){this.factory=r,this.resolving=!1,this.canSeeViewProviders=s,this.injectImpl=m}}function hD(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function nm(t){return t!==vl}function Ou(t){return 32767&t}function Lu(t,r){let s=function qs(t){return t>>16}(t),m=r;for(;s>0;)m=m[go],s--;return m}let lh=!0;function ch(t){const r=lh;return lh=t,r}const Zy=255,uh=5;let mD=0;const Ys={};function gc(t,r){const s=Xy(t,r);if(-1!==s)return s;const m=r[In];m.firstCreatePass&&(t.injectorIndex=r.length,im(m.data,t),im(r,null),im(m.blueprint,null));const D=dh(t,r),L=t.injectorIndex;if(nm(D)){const W=Ou(D),ie=Lu(D,r),me=ie[In].data;for(let Ne=0;Ne<8;Ne++)r[L+Ne]=ie[W+Ne]|me[W+Ne]}return r[L+8]=D,L}function im(t,r){t.push(0,0,0,0,0,0,0,0,r)}function Xy(t,r){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===r[t.injectorIndex+8]?-1:t.injectorIndex}function dh(t,r){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let s=0,m=null,D=r;for(;null!==D;){if(m=sb(D),null===m)return vl;if(s++,D=D[go],-1!==m.injectorIndex)return m.injectorIndex|s<<16}return vl}function om(t,r,s){!function pD(t,r,s){let m;"string"==typeof s?m=s.charCodeAt(0)||0:s.hasOwnProperty(ui)&&(m=s[ui]),null==m&&(m=s[ui]=mD++);const D=m&Zy;r.data[t+(D>>uh)]|=1<=0?r&Zy:ib:r}(s);if("function"==typeof L){if(!Cr(r,t,m))return m>.Host?Jy(D,0,m):qy(r,s,m,D);try{let W;if(W=L(m),null!=W||m>.Optional)return W;bu()}finally{Vo()}}else if("number"==typeof L){let W=null,ie=Xy(t,r),me=vl,Ne=m>.Host?r[Jr][ai]:null;for((-1===ie||m>.SkipSelf)&&(me=-1===ie?dh(t,r):r[ie+8],me!==vl&&rb(m,!1)?(W=r[In],ie=Ou(me),r=Lu(me,r)):ie=-1);-1!==ie;){const Je=r[In];if(nb(L,ie,Je.data)){const Et=vD(ie,r,s,W,m,Ne);if(Et!==Ys)return Et}me=r[ie+8],me!==vl&&rb(m,r[In].data[ie+8]===Ne)&&nb(L,ie,r)?(W=Je,ie=Ou(me),r=Lu(me,r)):ie=-1}}return D}function vD(t,r,s,m,D,L){const W=r[In],ie=W.data[t+8],Je=hh(ie,W,s,null==m?Oi(ie)&&lh:m!=W&&0!=(3&ie.type),D>.Host&&L===ie);return null!==Je?Ta(r,W,Je,ie):Ys}function hh(t,r,s,m,D){const L=t.providerIndexes,W=r.data,ie=1048575&L,me=t.directiveStart,Je=L>>20,Ut=D?ie+Je:t.directiveEnd;for(let Qt=m?ie:ie+Je;Qt=me&&pn.type===s)return Qt}if(D){const Qt=W[me];if(Qt&&Li(Qt)&&Qt.type===s)return me}return null}function Ta(t,r,s,m){let D=t[s];const L=r.data;if(function Qy(t){return t instanceof xu}(D)){const W=D;W.resolving&&function Bd(t,r){throw r&&r.join(" > "),new nt(-200,t)}(Bi(L[s]));const ie=ch(W.canSeeViewProviders);W.resolving=!0;const Ne=W.injectImpl?Wo(W.injectImpl):null;Cr(t,m,gt.Default);try{D=t[s]=W.factory(void 0,L,t,m),r.firstCreatePass&&s>=m.directiveStart&&function dD(t,r,s){const{ngOnChanges:m,ngOnInit:D,ngDoCheck:L}=r.type.prototype;if(m){const W=Yy(r);(s.preOrderHooks??=[]).push(t,W),(s.preOrderCheckHooks??=[]).push(t,W)}D&&(s.preOrderHooks??=[]).push(0-t,D),L&&((s.preOrderHooks??=[]).push(t,L),(s.preOrderCheckHooks??=[]).push(t,L))}(s,L[s],r)}finally{null!==Ne&&Wo(Ne),ch(ie),W.resolving=!1,Vo()}}return D}function nb(t,r,s){return!!(s[r+(t>>uh)]&1<{const r=t.prototype.constructor,s=r[or]||sm(r),m=Object.prototype;let D=Object.getPrototypeOf(t.prototype).constructor;for(;D&&D!==m;){const L=D[or]||sm(D);if(L&&L!==s)return L;D=Object.getPrototypeOf(D)}return L=>new L})}function sm(t){return Ha(t)?()=>{const r=sm(Dr(t));return r&&r()}:gl(t)}function sb(t){const r=t[In],s=r.type;return 2===s?r.declTNode:1===s?t[ai]:null}function fh(t){return function _D(t,r){if("class"===r)return t.classes;if("style"===r)return t.styles;const s=t.attrs;if(s){const m=s.length;let D=0;for(;D({attributeName:t,__NG_ELEMENT_ID__:()=>fh(t)}));let ab=null;function lm(){return ab=ab||new Uy}function gh(t){return lb(lm().parameters(t))}function lb(t){return t.map(r=>function cb(t){const r={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let s=0;sfunction CD(t,r){let s=null,m=null;t.hasOwnProperty(be)||Object.defineProperty(t,be,{get:()=>(null===s&&(s=qo().compileInjectable(By,`ng:///${t.name}/\u0275prov.js`,function SD(t,r){const s=r||{providedIn:null},m={name:t.name,type:t,typeArgumentCount:0,providedIn:s.providedIn};return(cm(s)||hb(s))&&void 0!==s.deps&&(m.deps=lb(s.deps)),cm(s)?m.useClass=s.useClass:function db(t){return ub in t}(s)?m.useValue=s.useValue:hb(s)?m.useFactory=s.useFactory:function fb(t){return void 0!==t.useExisting}(s)&&(m.useExisting=s.useExisting),m}(t,r))),s)}),t.hasOwnProperty(or)||Object.defineProperty(t,or,{get:()=>{if(null===m){const D=qo();m=D.compileFactory(By,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:gh(t),target:D.FactoryTarget.Injectable})}return m},configurable:!0})}(t,r));function mh(t,r=null,s=null,m){const D=mb(t,r,s,m);return D.resolveInjectorInitializers(),D}function mb(t,r=null,s=null,m,D=new Set){const L=[s||Jn,ds(t)];return m=m||("object"==typeof t?void 0:He(t)),new cc(L,r||Aa(),m||null,D)}let Rs=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=ul;static#t=this.NULL=new Zd;static create(s,m){if(Array.isArray(s))return mh({name:""},m,s,"");{const D=s.name??"";return mh({name:D},s.parent,s.providers,D)}}static#n=this.\u0275prov=ni({token:t,providedIn:"any",factory:()=>ke(Qd)});static#r=this.__NG_ELEMENT_ID__=-1}return t})();function ph(t){return t.ngOriginalError}class Fs{constructor(){this._console=console}handleError(r){const s=this._findOriginalError(r);this._console.error("ERROR",r),s&&this._console.error("ORIGINAL ERROR",s)}_findOriginalError(r){let s=r&&ph(r);for(;s&&ph(s);)s=ph(s);return s||null}}const _b=new it("",{providedIn:"root",factory:()=>lt(Fs).handleError.bind(void 0)}),_c=new it(""),um=new it("",{providedIn:"root",factory:()=>!1});let Ru,vh;function _h(){if(void 0===Ru&&(Ru=null,Rn.trustedTypes))try{Ru=Rn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ru}function yl(t){return _h()?.createHTML(t)||t}function dm(){if(void 0===vh&&(vh=null,Rn.trustedTypes))try{vh=Rn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return vh}function yb(t){return dm()?.createHTML(t)||t}function bb(t){return dm()?.createScript(t)||t}function Cb(t){return dm()?.createScriptURL(t)||t}class bl{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xe})`}}class hm extends bl{getTypeName(){return"HTML"}}class DD extends bl{getTypeName(){return"Style"}}class AD extends bl{getTypeName(){return"Script"}}class TD extends bl{getTypeName(){return"URL"}}class vc extends bl{getTypeName(){return"ResourceURL"}}function Ia(t){return t instanceof bl?t.changingThisBreaksApplicationSecurity:t}function Cl(t,r){const s=Sb(t);if(null!=s&&s!==r){if("ResourceURL"===s&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${s} (see ${Xe})`)}return s===r}function Sb(t){return t instanceof bl&&t.getTypeName()||null}function Eb(t){return new hm(t)}function ID(t){return new DD(t)}function PD(t){return new AD(t)}function kD(t){return new TD(t)}function fm(t){return new vc(t)}function Mb(t){const r=new xD(t);return function gm(){try{return!!(new window.DOMParser).parseFromString(yl(""),"text/html")}catch{return!1}}()?new wb(r):r}class wb{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const s=(new window.DOMParser).parseFromString(yl(r),"text/html").body;return null===s?this.inertDocumentHelper.getInertBodyElement(r):(s.removeChild(s.firstChild),s)}catch{return null}}}class xD{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const s=this.inertDocument.createElement("template");return s.innerHTML=yl(r),s}}const OD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yh(t){return(t=String(t)).match(OD)?t:"unsafe:"+t}function Pa(t){const r={};for(const s of t.split(","))r[s]=!0;return r}function yc(...t){const r={};for(const s of t)for(const m in s)s.hasOwnProperty(m)&&(r[m]=!0);return r}const Db=Pa("area,br,col,hr,img,wbr"),$a=Pa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ab=Pa("rp,rt"),mm=yc(Db,yc($a,Pa("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),yc(Ab,Pa("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),yc(Ab,$a)),pm=Pa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Tb=yc(pm,Pa("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Pa("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),RD=Pa("script,style,template");class FD{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let s=r.firstChild,m=!0;for(;s;)if(s.nodeType===Node.ELEMENT_NODE?m=this.startElement(s):s.nodeType===Node.TEXT_NODE?this.chars(s.nodeValue):this.sanitizedSomething=!0,m&&s.firstChild)s=s.firstChild;else for(;s;){s.nodeType===Node.ELEMENT_NODE&&this.endElement(s);let D=this.checkClobberedElement(s,s.nextSibling);if(D){s=D;break}s=this.checkClobberedElement(s,s.parentNode)}return this.buf.join("")}startElement(r){const s=r.nodeName.toLowerCase();if(!mm.hasOwnProperty(s))return this.sanitizedSomething=!0,!RD.hasOwnProperty(s);this.buf.push("<"),this.buf.push(s);const m=r.attributes;for(let D=0;D"),!0}endElement(r){const s=r.nodeName.toLowerCase();mm.hasOwnProperty(s)&&!Db.hasOwnProperty(s)&&(this.buf.push(""))}chars(r){this.buf.push(Sl(r))}checkClobberedElement(r,s){if(s&&(r.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${r.outerHTML}`);return s}}const ND=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jD=/([^\#-~ |!])/g;function Sl(t){return t.replace(/&/g,"&").replace(ND,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(jD,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let ka;function Ib(t,r){let s=null;try{ka=ka||Mb(t);let m=r?String(r):"";s=ka.getInertBodyElement(m);let D=5,L=m;do{if(0===D)throw new Error("Failed to sanitize html because the input is unstable");D--,m=L,L=s.innerHTML,s=ka.getInertBodyElement(m)}while(m!==L);return yl((new FD).sanitizeChildren(bh(s)||s))}finally{if(s){const m=bh(s)||s;for(;m.firstChild;)m.removeChild(m.firstChild)}}}function bh(t){return"content"in t&&function BD(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var El=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(El||{});function _m(t){const r=Fu();return r?yb(r.sanitize(El.HTML,t)||""):Cl(t,"HTML")?yb(Ia(t)):Ib(No(),Vr(t))}function vm(t){const r=Fu();return r?r.sanitize(El.STYLE,t)||"":Cl(t,"Style")?Ia(t):Vr(t)}function ym(t){const r=Fu();return r?r.sanitize(El.URL,t)||"":Cl(t,"URL")?Ia(t):yh(Vr(t))}function Ch(t){const r=Fu();if(r)return Cb(r.sanitize(El.RESOURCE_URL,t)||"");if(Cl(t,"ResourceURL"))return Cb(Ia(t));throw new nt(904,!1)}function bm(t){const r=Fu();if(r)return bb(r.sanitize(El.SCRIPT,t)||"");if(Cl(t,"Script"))return bb(Ia(t));throw new nt(905,!1)}function Pb(t){return yl(t[0])}function Cm(t){return function wD(t){return _h()?.createScriptURL(t)||t}(t[0])}function xa(t,r,s){return function UD(t,r){return"src"===r&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===r&&("base"===t||"link"===t)?Ch:ym}(r,s)(t)}function Fu(){const t=Sn();return t&&t[Vi].sanitizer}const HD=/^>|^->||--!>|)/g,VD="\u200b$1\u200b";const Eh=new Map;let GD=0;function Em(t){return Eh.get(t)||null}class Mh{get lView(){return Em(this.lViewId)}constructor(r,s,m){this.lViewId=r,this.nodeIndex=s,this.native=m}}function Es(t){let r=Ml(t);if(r){if(Ni(r)){const s=r;let m,D,L;if(wl(t)){if(m=function Mm(t,r){const s=t[In].components;if(s)for(let m=0;m=0){const ie=Ur(L[W]),me=Nu(L,W,ie);_s(ie,me),r=me;break}}}}return r||null}function Nu(t,r,s){return new Mh(t[Rr],r,s)}const ju="__ngContext__";function _s(t,r){Ni(r)?(t[ju]=r[Rr],function QD(t){Eh.set(t[Rr],t)}(r)):t[ju]=r}function Ml(t){const r=t[ju];return"number"==typeof r?Em(r):r||null}function wl(t){return t&&t.constructor&&t.constructor.\u0275cmp}function Rb(t,r){const s=t[In];for(let m=ar;mr.replace(kb,VD))}(r))}function Ih(t,r,s){return t.createElement(r,s)}function $b(t,r){Lh(t,r,r[hr],2,null,null)}function Rm(t,r){const s=t[po],m=s.indexOf(r);s.splice(m,1)}function Bu(t,r){if(t.length<=zr)return;const s=zr+r,m=t[s];if(m){const D=m[zi];null!==D&&D!==t&&Rm(D,m),r>0&&(t[s-1][Ir]=m[Ir]);const L=Sa(t,zr+r);!function i1(t,r){$b(t,r),r[_r]=null,r[ai]=null}(m[In],m);const W=L[ro];null!==W&&W.detachView(L[In]),m[si]=null,m[Ir]=null,m[Gn]&=-129}return m}function Ph(t,r){if(!(256&r[Gn])){const s=r[hr];s.destroyNode&&Lh(t,r,s,3,null,null),function s1(t){let r=t[Yi];if(!r)return Fm(t[In],t);for(;r;){let s=null;if(Ni(r))s=r[Yi];else{const m=r[zr];m&&(s=m)}if(!s){for(;r&&!r[Ir]&&r!==t;)Ni(r)&&Fm(r[In],r),r=r[si];null===r&&(r=t),Ni(r)&&Fm(r[In],r),s=r&&r[Ir]}r=s}}(r)}}function Fm(t,r){if(!(256&r[Gn])){r[Gn]&=-129,r[Gn]|=256,r[qr]&&I(r[qr]),function c1(t,r){let s;if(null!=t&&null!=(s=t.destroyHooks))for(let m=0;m=0?m[W]():m[-W].unsubscribe(),L+=2}else s[L].call(m[s[L+1]]);null!==m&&(r[ti]=null);const D=r[_i];if(null!==D){r[_i]=null;for(let L=0;L-1){const{encapsulation:L}=t.data[m.directiveStart+D];if(L===br.None||L===br.Emulated)return null}return Xi(m,s)}}function Al(t,r,s,m,D){t.insertBefore(r,s,m,D)}function Qb(t,r,s){t.appendChild(r,s)}function Nm(t,r,s,m,D){null!==m?Al(t,r,s,m,D):Qb(t,r,s)}function kh(t,r){return t.parentNode(r)}function Xb(t,r,s){return Jb(t,r,s)}function jm(t,r,s){return 40&t.type?Xi(t,s):null}let Bm,Jb=jm;function qb(t,r){Jb=t,Bm=r}function xh(t,r,s,m){const D=Uu(t,m,r),L=r[hr],ie=Xb(m.parent||r[ai],m,r);if(null!=D)if(Array.isArray(s))for(let me=0;mear&&s0(t,r,ar,!1),pa(W?2:0,D),s(m,D)}finally{Yo(L),pa(W?3:1,D)}}function Rh(t,r,s){if(Lo(r)){const m=u(null);try{const L=r.directiveEnd;for(let W=r.directiveStart;Wnull;function b1(t){Jl(t)?Hm(t):function Xw(t){const r=No(),s=r.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(L){const W=function Zw(t){return t.textContent?.replace(/\s/gm,"")}(L);return"ngetn"===W||"ngtns"===W?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let m;const D=[];for(;m=s.nextNode();)D.push(m);for(const L of D)"ngetn"===L.textContent?L.replaceWith(r.createTextNode("")):L.remove()}(t)}function Nh(t,r,s,m,D){for(let L in r){if(!r.hasOwnProperty(L))continue;const W=r[L];if(void 0===W)continue;m??={};let ie,me=ct.None;Array.isArray(W)?(ie=W[0],me=W[1]):ie=W;let Ne=L;if(null!==D){if(!D.hasOwnProperty(L))continue;Ne=D[L]}0===t?h0(m,s,Ne,ie,me):h0(m,s,Ne,ie)}return m}function h0(t,r,s,m,D){let L;t.hasOwnProperty(s)?(L=t[s]).push(r,m):L=t[s]=[r,m],void 0!==D&&L.push(D)}function Ms(t,r,s,m,D,L,W,ie){const me=Xi(r,s);let Je,Ne=r.inputs;!ie&&null!=Ne&&(Je=Ne[m])?(Zm(t,s,Je,m,D),Oi(r)&&function M1(t,r){const s=Di(r,t);16&s[Gn]||(s[Gn]|=64)}(s,r.index)):3&r.type&&(m=function E1(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(m),D=null!=W?W(D,r.value||"",m):D,L.setProperty(me,m,D))}function $m(t,r,s,m){if(tr()){const D=null===m?null:{"":-1},L=function Vu(t,r){const s=t.directiveRegistry;let m=null,D=null;if(s)for(let L=0;L0;){const s=t[--r];if("number"==typeof s&&s<0)return s}return 0})(W)!=ie&&W.push(ie),W.push(s,m,L)}}(t,r,m,Hu(t,s,D.hostVars,ri),D)}function va(t,r,s,m,D,L){const W=Xi(t,r);wc(r[hr],W,L,t.value,s,m,D)}function wc(t,r,s,m,D,L,W){if(null==L)t.removeAttribute(r,D,s);else{const ie=null==W?Vr(L):W(L,m||"",D);t.setAttribute(r,D,ie,s)}}function k1(t,r,s,m,D,L){const W=L[r];if(null!==W)for(let ie=0;ie0&&(s[D-1][Ir]=r),m{qe(t.lView)},consumerOnSignalRead(){this.lView[qr]=this}};function $u(t){return D0(t[Yi])}function w0(t){return D0(t[Ir])}function D0(t){for(;null!==t&&!Gr(t);)t=t[Ir];return t}function Ac(t,r=!0,s=0){const m=t[Vi],D=m.rendererFactory;D.begin?.();try{!function N1(t,r){ip(t,r);let s=0;for(;ge(t);){if(100===s)throw new nt(103,!1);s++,ip(t,1)}}(t,s)}catch(W){throw r&&Vh(t,W),W}finally{D.end?.(),m.inlineEffectRunner?.flush()}}function B1(t,r,s,m){const D=r[Gn];if(256==(256&D))return;r[Vi].inlineEffectRunner?.flush(),Qr(r);let W=null,ie=null;(function np(t){return 2!==t.type})(t)&&(ie=function Yh(t){return t[qr]??function L1(t){const r=tp.pop()??Object.create(R1);return r.lView=t,r}(t)}(r),W=E(ie));try{fs(r),cn(t.bindingStartIndex),null!==s&&c0(t,r,s,2,m);const me=3==(3&D);if(me){const Et=t.preOrderCheckHooks;null!==Et&&sh(r,Et,null)}else{const Et=t.preOrderHooks;null!==Et&&fc(r,Et,0,null),ku(r,0)}if(function I0(t){for(let r=$u(t);null!==r;r=w0(r)){if(!(r[Gn]&bo.HasTransplantedViews))continue;const s=r[po];for(let m=0;m-1&&(Bu(r,m),Sa(s,m))}this._attachedToViewContainer=!1}Ph(this._lView[In],this._lView)}onDestroy(r){Dt(this._lView,r)}markForCheck(){Gu(this._cdRefInjectingView||this._lView)}detach(){this._lView[Gn]&=-129}reattach(){Le(this._lView),this._lView[Gn]|=128}detectChanges(){this._lView[Gn]|=1024,Ac(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new nt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,$b(this._lView[In],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new nt(902,!1);this._appRef=r,Le(this._lView)}}let Ku=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=V1}return t})();const zh=Ku,H1=class extends zh{constructor(r,s,m){super(),this._declarationLView=r,this._declarationTContainer=s,this.elementRef=m}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,s){return this.createEmbeddedViewImpl(r,s)}createEmbeddedViewImpl(r,s,m){const D=Yu(this._declarationLView,this._declarationTContainer,r,{injector:s,dehydratedView:m});return new Tl(D)}};function V1(){return Wh(ei(),Sn())}function Wh(t,r){return 4&t.type?new H1(r,t,Jo(t,r)):null}const $h="<-- AT THIS LOCATION";function $1(t){const m=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function Gh(t){const r=" ";let s="";const m=t;return m.previousSibling&&(s+=" \u2026\n",s+=r+Tc(m.previousSibling)+"\n"),s+=r+Tc(m)+` ${$h}\n`,t.nextSibling&&(s+=" \u2026\n"),t.parentNode&&(s=Tc(m.parentNode,"\n"+s)),s}(t)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new nt(-503,m)}const K1=new Set(["ngh","ng-version","ng-server-context"]);function op(t,r="\u2026"){switch(t.type){case 1:return"#text"+(t.value?`(${t.value})`:"");case 2:const m=function G1(t){const r=[];if(t.attrs)for(let s=0;s${r}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function Y1(t){switch(t){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}(t.type)})`}}function Tc(t,r="\u2026"){const s=t;switch(s.nodeType){case Node.ELEMENT_NODE:const m=s.tagName.toLowerCase(),D=function O0(t){const r=[];for(let s=0;s${r}`;case Node.TEXT_NODE:const L=s.textContent?Ic(s.textContent):"";return"#text"+(L?`(${L})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${Ic(s.textContent??"")} --\x3e`;default:return`#node(${s.nodeType})`}}function Ic(t,r=50){return t?(t=function Q1(t){return t.replace(/\s+/gm,"")}(t)).length>r?`${t.substring(0,r-1)}\u2026`:t:""}function R0(t){const r=t[wi]??[],m=t[si][hr];for(const D of r)Z1(D,m);t[wi]=Jn}function Z1(t,r){let s=0,m=t.firstChild;if(m){const D=t.data[oc];for(;s0&&s[D-1]===m?s[D]=(s[D]||1)+1:s.push(m,"")}return s.join("")}(s,m)}function j0(t,r){let m,D,L,s=t.parent;for(;null!==s&&Xu(s,r);)s=s.parent;null!==s&&3&s.type?(m=s.index,D=Ur(r[m]),L=Vr(m-ar)):(m=L=Og,D=r[Jr][_r]);let W=Ur(r[t.index]);if(12&t.type){const me=Ec(r,t);me&&(W=me)}let ie=N0(D,W,L);if(null===ie&&D!==W&&(ie=N0(D.ownerDocument.body,W,Lg),null===ie))throw function W1(t,r){const m=`${function sp(t,r,s){const m=" ";let D="";r.prev?(D+=" \u2026\n",D+=m+op(r.prev)+"\n"):r.type&&12&r.type&&(D+=" \u2026\n"),s?(D+=m+op(r)+"\n",D+=m+`\x3c!-- container --\x3e ${$h}\n`):D+=m+op(r)+` ${$h}\n`,D+=" \u2026\n";const L=r.type?Uu(t[In],r,t):null;return L&&(D=Tc(L,"\n"+D)),D}(t,r,!1)}\n\n`,D=function Qu(t){return`To fix this problem:\n * check ${t?`the "${t}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new nt(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+m+D)}(r,t);return ie}let up=()=>null;function rA(t,r){const s=t[wi];return r&&null!==s&&0!==s.length?s[0].data[hl]===r?s.shift():(R0(t),null):null}function Il(t,r){return up(t,r)}class hp{}class Xh{}class Ju{}class oA{resolveComponentFactory(r){throw function iA(t){const r=Error(`No component factory found for ${He(t)}.`);return r.ngComponent=t,r}(r)}}let qu=(()=>{class t{static#e=this.NULL=new oA}return t})();class B0{}let fp=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function sA(){const t=Sn(),s=Di(ei().index,t);return(Ni(s)?s:t)[hr]}()}return t})(),gp=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>null})}return t})();const ed={};function mp(t){return"function"==typeof t&&void 0!==t[e]}const U0=new Set;function zs(t){U0.has(t)||(U0.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function aA(t,r){zs("NgSignals");const s=N(t);return r?.equal&&(s[e].equal=r.equal),s}function lA(t){return null}function Io(t,r){zs("NgSignals");const s=function J(t){const r=Object.create(we);r.value=t;const s=()=>(S(r),r.value);return s[e]=r,s}(t),m=s[e];return r?.equal&&(m.equal=r.equal),s.set=D=>le(m,D),s.update=D=>function ee(t,r){y()||K(),le(t,r(t.value))}(m,D),s.asReadonly=cA.bind(s),s}function cA(){const t=this[e];if(void 0===t.readonlyFn){const r=()=>this();r[e]=t,t.readonlyFn=r}return t.readonlyFn}function Jh(t){return mp(t)&&"function"==typeof t.set}function uA(t){const r=u(null);try{return t()}finally{u(r)}}function qh(t){return!!td(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function td(t){return null!==t&&("function"==typeof t||"object"==typeof t)}class pp{constructor(){}supports(r){return qh(r)}create(r){return new z0(r)}}const hA=(t,r)=>r;class z0{constructor(r){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=r||hA}forEachItem(r){let s;for(s=this._itHead;null!==s;s=s._next)r(s)}forEachOperation(r){let s=this._itHead,m=this._removalsHead,D=0,L=null;for(;s||m;){const W=!m||s&&s.currentIndex{W=this._trackByFn(D,ie),null!==s&&Object.is(s.trackById,W)?(m&&(s=this._verifyReinsertion(s,ie,W,D)),Object.is(s.item,ie)||this._addIdentityChange(s,ie)):(s=this._mismatch(s,ie,W,D),m=!0),s=s._next,D++}),this.length=D;return this._truncate(s),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,s,m,D){let L;return null===r?L=this._itTail:(L=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(m,null))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._reinsertAfter(r,L,D)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(m,D))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._moveAfter(r,L,D)):r=this._addAfter(new _p(s,m),L,D),r}_verifyReinsertion(r,s,m,D){let L=null===this._unlinkedRecords?null:this._unlinkedRecords.get(m,null);return null!==L?r=this._reinsertAfter(L,r._prev,D):r.currentIndex!=D&&(r.currentIndex=D,this._addToMoves(r,D)),r}_truncate(r){for(;null!==r;){const s=r._next;this._addToRemovals(this._unlink(r)),r=s}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(r,s,m){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const D=r._prevRemoved,L=r._nextRemoved;return null===D?this._removalsHead=L:D._nextRemoved=L,null===L?this._removalsTail=D:L._prevRemoved=D,this._insertAfter(r,s,m),this._addToMoves(r,m),r}_moveAfter(r,s,m){return this._unlink(r),this._insertAfter(r,s,m),this._addToMoves(r,m),r}_addAfter(r,s,m){return this._insertAfter(r,s,m),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,s,m){const D=null===s?this._itHead:s._next;return r._next=D,r._prev=s,null===D?this._itTail=r:D._prev=r,null===s?this._itHead=r:s._next=r,null===this._linkedRecords&&(this._linkedRecords=new vp),this._linkedRecords.put(r),r.currentIndex=m,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const s=r._prev,m=r._next;return null===s?this._itHead=m:s._next=m,null===m?this._itTail=s:m._prev=s,r}_addToMoves(r,s){return r.previousIndex===s||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new vp),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,s){return r.item=s,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class _p{constructor(r,s){this.item=r,this.trackById=s,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class fA{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,s){let m;for(m=this._head;null!==m;m=m._nextDup)if((null===s||s<=m.currentIndex)&&Object.is(m.trackById,r))return m;return null}remove(r){const s=r._prevDup,m=r._nextDup;return null===s?this._head=m:s._nextDup=m,null===m?this._tail=s:m._prevDup=s,null===this._head}}class vp{constructor(){this.map=new Map}put(r){const s=r.trackById;let m=this.map.get(s);m||(m=new fA,this.map.set(s,m)),m.add(r)}get(r,s){const D=this.map.get(r);return D?D.get(r,s):null}remove(r){const s=r.trackById;return this.map.get(s).remove(r)&&this.map.delete(s),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function W0(t,r,s){const m=t.previousIndex;if(null===m)return m;let D=0;return s&&m{if(s&&s.key===D)this._maybeAddToChanges(s,m),this._appendAfter=s,s=s._next;else{const L=this._getOrCreateRecordForKey(D,m);s=this._insertBeforeOrAppend(s,L)}}),s){s._prev&&(s._prev._next=null),this._removalsHead=s;for(let m=s;null!==m;m=m._nextRemoved)m===this._mapHead&&(this._mapHead=null),this._records.delete(m.key),m._nextRemoved=m._next,m.previousValue=m.currentValue,m.currentValue=null,m._prev=null,m._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,s){if(r){const m=r._prev;return s._next=r,s._prev=m,r._prev=s,m&&(m._next=s),r===this._mapHead&&(this._mapHead=s),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=s,s._prev=this._appendAfter):this._mapHead=s,this._appendAfter=s,null}_getOrCreateRecordForKey(r,s){if(this._records.has(r)){const D=this._records.get(r);this._maybeAddToChanges(D,s);const L=D._prev,W=D._next;return L&&(L._next=W),W&&(W._prev=L),D._next=null,D._prev=null,D}const m=new gA(r);return this._records.set(r,m),m.currentValue=s,this._addToAdditions(m),m}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,s){Object.is(s,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=s,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,s){r instanceof Map?r.forEach(s):Object.keys(r).forEach(m=>s(r[m],m))}}class gA{constructor(r){this.key=r,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function yp(){return new bp([new pp])}let bp=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:yp});constructor(s){this.factories=s}static create(s,m){if(null!=m){const D=m.factories.slice();s=s.concat(D)}return new t(s)}static extend(s){return{provide:t,useFactory:m=>t.create(s,m||yp()),deps:[[t,new Gd,new $d]]}}find(s){const m=this.factories.find(D=>D.supports(s));if(null!=m)return m;throw new nt(901,!1)}}return t})();function K0(){return new nd([new $0])}let nd=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:K0});constructor(s){this.factories=s}static create(s,m){if(m){const D=m.factories.slice();s=s.concat(D)}return new t(s)}static extend(s){return{provide:t,useFactory:m=>t.create(s,m||K0()),deps:[[t,new Gd,new $d]]}}find(s){const m=this.factories.find(D=>D.supports(s));if(m)return m;throw new nt(901,!1)}}return t})();function Q0(t,r){const s=qh(t),m=qh(r);return s&&m?function dA(t,r,s){const m=t[Symbol.iterator](),D=r[Symbol.iterator]();for(;;){const L=m.next(),W=D.next();if(L.done&&W.done)return!0;if(L.done||W.done||!s(L.value,W.value))return!1}}(t,r,Q0):!(s||!t||"object"!=typeof t&&"function"!=typeof t||m||!r||"object"!=typeof r&&"function"!=typeof r)||Object.is(t,r)}let Cp=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=kc}return t})();function kc(t){return function pA(t,r,s){if(Oi(t)&&!s){const m=Di(t.index,r);return new Tl(m,m)}return 47&t.type?new Tl(r[Jr],r):null}(ei(),Sn(),16==(16&t))}const Z0=[new $0],ks=new bp([new pp]),vA=new nd(Z0);let xc=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=X0;static#t=this.__NG_ENV_ID__=s=>s}return t})();class yA extends xc{constructor(r){super(),this._lView=r}onDestroy(r){return Dt(this._lView,r),()=>Nt(this._lView,r)}}function X0(){return new yA(Sn())}function bA(t,r){if(null!==function c(){return d}())throw new nt(-602,!1)}const J0=new it("",{providedIn:"root",factory:()=>lt(q0)});let q0=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new eC})}return t})();class eC{constructor(){this.hasQueuedFlush=!1,this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(r){this.enqueue(r),this.hasQueuedFlush||(queueMicrotask(()=>this.flush()),this.hasQueuedFlush=!1)}enqueue(r){const s=r.creationZone;this.queues.has(s)||this.queues.set(s,new Set);const m=this.queues.get(s);m.has(r)||(this.queuedEffectCount++,m.add(r))}flush(){for(;this.queuedEffectCount>0;)for(const[r,s]of this.queues)null===r?this.flushQueue(s):r.run(()=>this.flushQueue(s))}flushQueue(r){for(const s of r)r.delete(s),this.queuedEffectCount--,s.run()}}class CA{constructor(r,s,m,D,L,W){this.scheduler=r,this.effectFn=s,this.creationZone=m,this.injector=L,this.watcher=function Oe(t,r,s){const m=Object.create(_e);s&&(m.consumerAllowSignalWrites=!0),m.fn=t,m.schedule=r;const D=me=>{m.cleanupFn=me};return m.ref={notify:()=>b(m),run:()=>{if(null===m.fn)return;if(function g(){return a}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(m.dirty=!1,m.hasRun&&!A(m))return;m.hasRun=!0;const me=E(m);try{m.cleanupFn(),m.cleanupFn=ve,m.fn(D)}finally{M(m,me)}},cleanup:()=>m.cleanupFn(),destroy:()=>function W(me){(function L(me){return null===me.fn&&null===me.schedule})(me)||(I(me),me.cleanupFn(),me.fn=null,me.schedule=null,me.cleanupFn=ve)}(m),[e]:m},m.ref}(ie=>this.runEffect(ie),()=>this.schedule(),W),this.unregisterOnDestroy=D?.onDestroy(()=>this.destroy())}runEffect(r){try{this.effectFn(r)}catch(s){this.injector.get(Fs,null,{optional:!0})?.handleError(s)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Sp(t,r){zs("NgSignals"),!r?.injector&&pl();const s=r?.injector??lt(Rs),m=!0!==r?.manualCleanup?s.get(xc):null,D=new CA(s.get(J0),t,typeof Zone>"u"?null:Zone.current,m,s,r?.allowSignalWrites??!1),L=s.get(Cp,null,{optional:!0});return L&&8&L._lView[Gn]?(L._lView[xi]??=[]).push(D.watcher.notify):D.watcher.notify(),D}function tC(...t){}class Oo{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:m=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ue(!1),this.onMicrotaskEmpty=new Ue(!1),this.onStable=new Ue(!1),this.onError=new Ue(!1),typeof Zone>"u")throw new nt(908,!1);Zone.assertZonePatched();const D=this;D._nesting=0,D._outer=D._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(D._inner=D._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(D._inner=D._inner.fork(Zone.longStackTraceZoneSpec)),D.shouldCoalesceEventChangeDetection=!m&&s,D.shouldCoalesceRunChangeDetection=m,D.lastRequestAnimationFrameId=-1,D.nativeRequestAnimationFrame=function ef(){const t="function"==typeof Rn.requestAnimationFrame;let r=Rn[t?"requestAnimationFrame":"setTimeout"],s=Rn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&s){const m=r[Zone.__symbol__("OriginalDelegate")];m&&(r=m);const D=s[Zone.__symbol__("OriginalDelegate")];D&&(s=D)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:s}}().nativeRequestAnimationFrame,function ba(t){const r=()=>{!function EA(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Rn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ep(t),t.isCheckStableRunning=!0,tf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ep(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(s,m,D,L,W,ie)=>{if(function MA(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(ie))return s.invokeTask(D,L,W,ie);try{return rd(t),s.invokeTask(D,L,W,ie)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===L.type||t.shouldCoalesceRunChangeDetection)&&r(),nC(t)}},onInvoke:(s,m,D,L,W,ie,me)=>{try{return rd(t),s.invoke(D,L,W,ie,me)}finally{t.shouldCoalesceRunChangeDetection&&r(),nC(t)}},onHasTask:(s,m,D,L)=>{s.hasTask(D,L),m===D&&("microTask"==L.change?(t._hasPendingMicrotasks=L.microTask,Ep(t),tf(t)):"macroTask"==L.change&&(t.hasPendingMacrotasks=L.macroTask))},onHandleError:(s,m,D,L)=>(s.handleError(D,L),t.runOutsideAngular(()=>t.onError.emit(L)),!1)})}(D)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Oo.isInAngularZone())throw new nt(909,!1)}static assertNotInAngularZone(){if(Oo.isInAngularZone())throw new nt(909,!1)}run(r,s,m){return this._inner.run(r,s,m)}runTask(r,s,m,D){const L=this._inner,W=L.scheduleEventTask("NgZoneEvent: "+D,r,SA,tC,tC);try{return L.runTask(W,s,m)}finally{L.cancelTask(W)}}runGuarded(r,s,m){return this._inner.runGuarded(r,s,m)}runOutsideAngular(r){return this._outer.run(r)}}const SA={};function tf(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Ep(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function rd(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function nC(t){t._nesting--,tf(t)}class Mp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ue,this.onMicrotaskEmpty=new Ue,this.onStable=new Ue,this.onError=new Ue}run(r,s,m){return r.apply(s,m)}runGuarded(r,s,m){return r.apply(s,m)}runOutsideAngular(r){return r()}runTask(r,s,m,D){return r.apply(s,m)}}var Ka=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Ka||{});const nf={destroy(){}};function rf(t,r){const s=r?.injector??lt(Rs);(r?.runOnServer||Ga(s))&&s.get(Pl).internalCallbacks.push(t)}function wp(t,r){!r&&pl();const s=r?.injector??lt(Rs);if(!Ga(s))return nf;zs("NgAfterRender");const m=s.get(Pl),D=m.handler??=new oC,L=r?.phase??Ka.MixedReadWrite,W=()=>{D.unregister(me),ie()},ie=s.get(xc).onDestroy(W),me=new id(s,L,t);return D.register(me),{destroy:W}}function iC(t,r){!r&&pl();const s=r?.injector??lt(Rs);if(!Ga(s))return nf;zs("NgAfterNextRender");const m=s.get(Pl),D=m.handler??=new oC,L=r?.phase??Ka.MixedReadWrite,W=()=>{D.unregister(me),ie()},ie=s.get(xc).onDestroy(W),me=new id(s,L,()=>{W(),t()});return D.register(me),{destroy:W}}class id{constructor(r,s,m){this.phase=s,this.callbackFn=m,this.zone=r.get(Oo),this.errorHandler=r.get(Fs,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){this.errorHandler?.handleError(r)}}}class oC{constructor(){this.executingCallbacks=!1,this.buckets={[Ka.EarlyRead]:new Set,[Ka.Write]:new Set,[Ka.MixedReadWrite]:new Set,[Ka.Read]:new Set},this.deferredCallbacks=new Set}register(r){(this.executingCallbacks?this.deferredCallbacks:this.buckets[r.phase]).add(r)}unregister(r){this.buckets[r.phase].delete(r),this.deferredCallbacks.delete(r)}execute(){this.executingCallbacks=!0;for(const r of Object.values(this.buckets))for(const s of r)s.invoke();this.executingCallbacks=!1;for(const r of this.deferredCallbacks)this.buckets[r.phase].add(r);this.deferredCallbacks.clear()}destroy(){for(const r of Object.values(this.buckets))r.clear();this.deferredCallbacks.clear()}}let Pl=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const s=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const m of s)m()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();function Dp(t){return void 0!==t.ngModule}function Qa(t){return!!cr(t)}function of(t){return!!Nn(t)}function sC(t){return!!Gt(t)}function od(t){return!!fn(t)}function DA(t,r){if(Ha(t)&&!(t=Dr(t)))throw new Error(`Expected forwardRef function, imported from "${Bi(r)}", to return a standalone entity or NgModule but got "${Bi(t)||t}".`);if(null==cr(t)){const s=fn(t)||Gt(t)||Nn(t);if(null==s)throw Dp(t)?new Error(`A module with providers was imported from "${Bi(r)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Bi(t)}" type, imported from "${Bi(r)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!s.standalone)throw new Error(`The "${Bi(t)}" ${function wA(t){return fn(t)?"component":Gt(t)?"directive":Nn(t)?"pipe":"type"}(t)}, imported from "${Bi(r)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const sd=!0;class aC{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const r of this.ngModulesWithSomeUnresolvedDecls){const s=cr(r);if(s?.declarations)for(const m of Ns(s.declarations))od(m)&&this.ownerNgModule.set(m,r)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(r,s){this.resolveNgModulesDecls();const m=fn(r);if(null===m)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${r}`);if(m.standalone){const D=this.getStandaloneComponentScope(r,s);return D.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...D.compilation.directives,...D.compilation.pipes,...D.compilation.ngModules]}}{if(!this.ownerNgModule.has(r))return{dependencies:[]};const D=this.getNgModuleScope(this.ownerNgModule.get(r));return D.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...D.compilation.directives,...D.compilation.pipes]}}}registerNgModule(r,s){if(!Qa(r))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${r}`);this.ngModulesWithSomeUnresolvedDecls.add(r)}clearScopeCacheFor(r){this.ngModulesScopeCache.delete(r),this.standaloneComponentsScopeCache.delete(r)}getNgModuleScope(r){if(this.ngModulesScopeCache.has(r))return this.ngModulesScopeCache.get(r);const s=this.computeNgModuleScope(r);return this.ngModulesScopeCache.set(r,s),s}computeNgModuleScope(r){const s=cr(r,!0),m={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const D of Ns(s.imports))if(Qa(D)){const L=this.getNgModuleScope(D);na(L.exported.directives,m.compilation.directives),na(L.exported.pipes,m.compilation.pipes)}else{if(!lr(D)){m.compilation.isPoisoned=!0;break}if(sC(D)||od(D))m.compilation.directives.add(D);else{if(!of(D))throw new nt(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");m.compilation.pipes.add(D)}}if(!m.compilation.isPoisoned)for(const D of Ns(s.declarations)){if(Qa(D)||lr(D)){m.compilation.isPoisoned=!0;break}of(D)?m.compilation.pipes.add(D):m.compilation.directives.add(D)}for(const D of Ns(s.exports))if(Qa(D)){const L=this.getNgModuleScope(D);na(L.exported.directives,m.exported.directives),na(L.exported.pipes,m.exported.pipes),na(L.exported.directives,m.compilation.directives),na(L.exported.pipes,m.compilation.pipes)}else of(D)?m.exported.pipes.add(D):m.exported.directives.add(D);return m}getStandaloneComponentScope(r,s){if(this.standaloneComponentsScopeCache.has(r))return this.standaloneComponentsScopeCache.get(r);const m=this.computeStandaloneComponentScope(r,s);return this.standaloneComponentsScopeCache.set(r,m),m}computeStandaloneComponentScope(r,s){const m={compilation:{directives:new Set([r]),pipes:new Set,ngModules:new Set}};for(const D of ls(s??[])){const L=Dr(D);try{DA(L,r)}catch{return m.compilation.isPoisoned=!0,m}if(Qa(L)){m.compilation.ngModules.add(L);const W=this.getNgModuleScope(L);if(W.exported.isPoisoned)return m.compilation.isPoisoned=!0,m;na(W.exported.directives,m.compilation.directives),na(W.exported.pipes,m.compilation.pipes)}else if(of(L))m.compilation.pipes.add(L);else{if(!sC(L)&&!od(L))return m.compilation.isPoisoned=!0,m;m.compilation.directives.add(L)}}return m}isOrphanComponent(r){const s=fn(r);return!(!s||s.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(r)))}}function na(t,r){for(const s of t)r.add(s)}const Oc=new aC;function sf(t,r,s){let m=s?t.styles:null,D=s?t.classes:null,L=0;if(null!==r)for(let W=0;W0&&n0(t,s,L.join(" "))}}(Ut,Fi,pn,m),void 0!==s&&function fC(t,r,s){const m=t.projection=[];for(let D=0;D{class t{static#e=this.__NG_ELEMENT_ID__=kA}return t})();function kA(){return vC(ei(),Sn())}const mC=lf,pC=class extends mC{constructor(r,s,m){super(),this._lContainer=r,this._hostTNode=s,this._hostLView=m}get element(){return Jo(this._hostTNode,this._hostLView)}get injector(){return new es(this._hostTNode,this._hostLView)}get parentInjector(){const r=dh(this._hostTNode,this._hostLView);if(nm(r)){const s=Lu(r,this._hostLView),m=Ou(r);return new es(s[In].data[m+8],s)}return new es(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const s=_C(this._lContainer);return null!==s&&s[r]||null}get length(){return this._lContainer.length-zr}createEmbeddedView(r,s,m){let D,L;"number"==typeof m?D=m:null!=m&&(D=m.index,L=m.injector);const W=Il(this._lContainer,r.ssrId),ie=r.createEmbeddedViewImpl(s||{},L,W);return this.insertImpl(ie,D,Dc(this._hostTNode,W)),ie}createComponent(r,s,m,D,L){const W=r&&!dc(r);let ie;if(W)ie=s;else{const pn=s||{};ie=pn.index,m=pn.injector,D=pn.projectableNodes,L=pn.environmentInjector||pn.ngModuleRef}const me=W?r:new Lc(fn(r)),Ne=m||this.parentInjector;if(!L&&null==me.ngModule){const kn=(W?Ne:this.parentInjector).get(Js,null);kn&&(L=kn)}const Je=fn(me.componentType??{}),Et=Il(this._lContainer,Je?.id??null),Qt=me.create(Ne,D,Et?.firstChild??null,L);return this.insertImpl(Qt.hostView,ie,Dc(this._hostTNode,Et)),Qt}insert(r,s){return this.insertImpl(r,s,!0)}insertImpl(r,s,m){const D=r._lView;if(function os(t){return Gr(t[si])}(D)){const ie=this.indexOf(r);if(-1!==ie)this.detach(ie);else{const me=D[si],Ne=new pC(me,me[ai],me[si]);Ne.detach(Ne.indexOf(r))}}const L=this._adjustIndex(s),W=this._lContainer;return zu(W,D,L,m),r.attachToViewContainerRef(),nl(ad(W),L,r),r}move(r,s){return this.insert(r,s)}indexOf(r){const s=_C(this._lContainer);return null!==s?s.indexOf(r):-1}remove(r){const s=this._adjustIndex(r,-1),m=Bu(this._lContainer,s);m&&(Sa(ad(this._lContainer),s),Ph(m[In],m))}detach(r){const s=this._adjustIndex(r,-1),m=Bu(this._lContainer,s);return m&&null!=Sa(ad(this._lContainer),s)?new Tl(m):null}_adjustIndex(r,s=0){return r??this.length+s}};function _C(t){return t[8]}function ad(t){return t[8]||(t[8]=[])}function vC(t,r){let s;const m=r[t.index];return Gr(m)?s=m:(s=p0(m,r,null,t),r[t.index]=s,Hh(r,s)),yC(s,r,t,m),new pC(s,t,r)}let yC=Tp,cf=()=>!1;function bC(t,r,s){return cf(t,r,s)}function Tp(t,r,s,m){if(t[yi])return;let D;D=8&s.type?Ur(m):function xA(t,r){const s=t[hr],m=s.createComment(""),D=Xi(r,t);return Al(s,kh(s,D),m,function d1(t,r){return t.nextSibling(r)}(s,D),!1),m}(r,s),t[yi]=D}function OA(t,r,s){if(t[yi]&&t[wi])return!0;const m=s[Fn],D=r.index-ar;if(!m||$i(r)||Wd(m,D))return!1;const W=Hg(m,D),ie=m.data[ma]?.[D],[me,Ne]=function nA(t,r){const s=[];for(const m of r)for(let D=0;D<(m[dl]??1);D++){const L={data:m,firstChild:null};m[oc]>0&&(L.firstChild=t,t=Qh(m[oc],t)),s.push(L)}return[t,s]}(W,ie);return t[yi]=me,t[wi]=Ne,!0}function CC(t,r,s,m){cf(t,s,r)||Tp(t,r,s,m)}class uf{constructor(r){this.queryList=r,this.matches=null}clone(){return new uf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ip{constructor(r=[]){this.queries=r}createEmbeddedView(r){const s=r.queries;if(null!==s){const m=null!==r.contentQueries?r.contentQueries[0]:s.length,D=[];for(let L=0;Lr.trim())}(r):r}}class ld{constructor(r=[]){this.queries=r}elementStart(r,s){for(let m=0;m0)m.push(W[ie/2]);else{const Ne=L[ie+1],Je=r[-me];for(let Et=zr;Et{s._dirtyCounter();const D=function xC(t,r){const s=t._lView,m=t._queryIndex;if(void 0===s||void 0===m||4&s[Gn])return r?void 0:Jn;const D=Op(s,m),L=cd(s,m);return D.reset(L,Kl),r?D.first:D._changesDetected||void 0===t._flatValue?t._flatValue=D.toArray():t._flatValue}(s,t);if(r&&void 0===D)throw new nt(-951,!1);return D});return s=m[e],s._dirtyCounter=Io(0),s._flatValue=void 0,m}function Fp(){return Rp(!0,!1)}function PC(){return Rp(!0,!0)}function Rc(){return Rp(!1,!1)}function kC(t,r){const s=t[e];s._lView=Sn(),s._queryIndex=r,s._queryList=Op(s._lView,r),s._queryList.onDirty(()=>s._dirtyCounter.update(m=>m+1))}function OC(t,r){return Fp()}const LC=(OC.required=function NA(t,r){return PC()},OC);function jA(t,r){return Rc()}function Np(t,r){return Fp()}const UA=(Np.required=function BA(t,r){return PC()},Np);function RC(t,r){return Rc()}function FC(t){const r=[],s=Object.create(hn);function m(){return S(s),jp(s.value),s.value}return s.value=t,m[e]=s,m.asReadonly=()=>m(),m.set=L=>{s.equal(s.value,L)||(le(s,L),function D(L){for(let W=0;W{jp(s.value),m.set(L(s.value))},m.subscribe=L=>(r.push(L),()=>{const W=r.indexOf(L);W>-1&&r.splice(W,1)}),m}function jp(t){if(t===tn)throw new nt(-952,!1)}function NC(t){return FC(t)}const jC=(NC.required=function HA(){return FC(tn)},NC);class Fc{}const VA=Va("ContentChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...r}),Fc),YA=Va("ContentChild",(t,r={})=>({selector:t,first:!0,isViewQuery:!1,descendants:!0,...r}),Fc),zA=Va("ViewChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...r}),Fc),WA=Va("ViewChild",(t,r)=>({selector:t,first:!0,isViewQuery:!0,descendants:!0,...r}),Fc);function UC(t){const r=[],s=new Map;function m(D){let L=s.get(D);if(!L){const W=t(D);s.set(D,L=W.then(KA))}return L}return Nc.forEach((D,L)=>{const W=[];D.templateUrl&&W.push(m(D.templateUrl).then(Ne=>{D.template=Ne}));const ie="string"==typeof D.styles?[D.styles]:D.styles||[];if(D.styles=ie,D.styleUrl&&D.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(D.styleUrls?.length){const Ne=D.styles.length,Je=D.styleUrls;D.styleUrls.forEach((Et,Ut)=>{ie.push(""),W.push(m(Et).then(Qt=>{ie[Ne+Ut]=Qt,Je.splice(Je.indexOf(Et),1),0==Je.length&&(D.styleUrls=void 0)}))})}else D.styleUrl&&W.push(m(D.styleUrl).then(Ne=>{ie.push(Ne),D.styleUrl=void 0}));const me=Promise.all(W).then(()=>function zC(t){jc.delete(t)}(L));r.push(me)}),Bp(),Promise.all(r).then(()=>{})}let Nc=new Map;const jc=new Set;function HC(t){return jc.has(t)}function VC(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length||t.styleUrl)}function Bp(){const t=Nc;return Nc=new Map,t}function GA(t){jc.clear(),t.forEach((r,s)=>jc.add(s)),Nc=t}function KA(t){return"string"==typeof t?t:t.text()}const hf=new Map;let Up=!0;function ff(t,r){(function QA(t,r,s){if(r&&r!==s&&Up)throw new Error(`Duplicate module registered for ${t} - ${He(r)} vs ${He(r.name)}`)})(r,hf.get(r)||null,t),hf.set(r,t)}function Hp(t){return hf.get(t)}function ZA(t){Up=!t}function ud(t,r,s){const m=Sn(),D=hi(),L=Xi(D,m);if(2===D.type&&"iframe"===r.toLowerCase()){const W=L;throw W.src="",W.srcdoc=yl(""),Oh(m[hr],W),new nt(-910,!1)}return t}function WC(t){return Object.getPrototypeOf(t.prototype).constructor}function gf(t){let r=WC(t.type),s=!0;const m=[t];for(;r;){let D;if(Li(t))D=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new nt(903,!1);D=r.\u0275dir}if(D){if(s){m.push(D);const W=t;W.inputs=mf(t.inputs),W.inputTransforms=mf(t.inputTransforms),W.declaredInputs=mf(t.declaredInputs),W.outputs=mf(t.outputs);const ie=D.hostBindings;ie&&GC(t,ie);const me=D.viewQuery,Ne=D.contentQueries;if(me&&JA(t,me),Ne&&qA(t,Ne),XA(t,D),Or(t.outputs,D.outputs),Li(D)&&D.data.animation){const Je=t.data;Je.animation=(Je.animation||[]).concat(D.data.animation)}}const L=D.features;if(L)for(let W=0;W=0;m--){const D=t[m];D.hostVars=r+=D.hostVars,D.hostAttrs=Mn(D.hostAttrs,s=Mn(s,D.hostAttrs))}}(m)}function XA(t,r){for(const s in r.inputs){if(!r.inputs.hasOwnProperty(s)||t.inputs.hasOwnProperty(s))continue;const m=r.inputs[s];if(void 0!==m&&(t.inputs[s]=m,t.declaredInputs[s]=r.declaredInputs[s],null!==r.inputTransforms)){const D=Array.isArray(m)?m[0]:m;if(!r.inputTransforms.hasOwnProperty(D))continue;t.inputTransforms??={},t.inputTransforms[D]=r.inputTransforms[D]}}}function mf(t){return t===pr?{}:t===Jn?[]:t}function JA(t,r){const s=t.viewQuery;t.viewQuery=s?(m,D)=>{r(m,D),s(m,D)}:r}function qA(t,r){const s=t.contentQueries;t.contentQueries=s?(m,D,L)=>{r(m,D,L),s(m,D,L)}:r}function GC(t,r){const s=t.hostBindings;t.hostBindings=s?(m,D)=>{r(m,D),s(m,D)}:r}const eT=["providersResolver"],Vp=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function KC(t){let s,r=WC(t.type);s=Li(t)?r.\u0275cmp:r.\u0275dir;const m=t;for(const D of eT)m[D]=s[D];if(Li(s))for(const D of Vp)m[D]=s[D]}function dd(t){const r=s=>{const m=(Array.isArray(t)?t:t()).map(D=>"function"==typeof D?{directive:Dr(D),inputs:pr,outputs:pr}:{directive:Dr(D.directive),inputs:Yp(D.inputs),outputs:Yp(D.outputs)});null===s.hostDirectives?(s.findHostDirectiveDefs=QC,s.hostDirectives=m):s.hostDirectives.unshift(...m)};return r.ngInherit=!0,r}function QC(t,r,s){if(null!==t.hostDirectives)for(const m of t.hostDirectives){const D=Gt(m.directive);tT(D.declaredInputs,m.inputs),QC(D,r,s),s.set(D,m),r.push(D)}}function Yp(t){if(void 0===t||0===t.length)return pr;const r={};for(let s=0;ss()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class _f extends JC{constructor(r){super(),this.moduleType=r}create(r){return new pf(this.moduleType,r,[])}}class tS extends kl{constructor(r){super(),this.componentFactoryResolver=new lC(this),this.instance=null;const s=new cc([...r.providers,{provide:kl,useValue:this},{provide:qu,useValue:this.componentFactoryResolver}],r.parent||Aa(),r.debugName,new Set(["environment"]));this.injector=s,r.runEnvironmentInitializers&&s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function zp(t,r,s=null){return new tS({providers:t,parent:r,debugName:s,runEnvironmentInitializers:!0}).injector}let nS=(()=>{class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(s,m,D,L){if(!this.cachedInjectors.has(s)){const W=D.length>0?zp(D,m,L):null;this.cachedInjectors.set(s,W)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ni({token:t,providedIn:"environment",factory:()=>new t})}return t})();const vf="__ngAsyncComponentMetadataFn__";function iT(t){return t[vf]??null}function hd(t,r,s){const m=t;return m[vf]=()=>Promise.all(r()).then(D=>(s(...D),m[vf]=null,D)),m[vf]}function rS(t,r,s,m){return qn(()=>{const D=t;null!==r&&(D.hasOwnProperty("decorators")&&void 0!==D.decorators?D.decorators.push(...r):D.decorators=r),null!==s&&(D.ctorParameters=s),null!==m&&(D.propDecorators=D.hasOwnProperty("propDecorators")&&void 0!==D.propDecorators?{...D.propDecorators,...m}:m)})}let fd=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new tt.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const s=this.taskId++;return this.pendingTasks.add(s),s}remove(s){this.pendingTasks.delete(s),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vs(t,r,s){return t[r]=s}function gd(t,r){return t[r]}function jo(t,r,s){return!Object.is(t[r],s)&&(t[r]=s,!0)}function Za(t,r,s,m){const D=jo(t,r,s);return jo(t,r+1,m)||D}function yf(t,r,s,m,D){const L=Za(t,r,s,m);return jo(t,r+2,D)||L}function Ws(t,r,s,m,D,L){const W=Za(t,r,s,m);return Za(t,r+2,D,L)||W}function Bc(t,r,s,m,D,L,W,ie){const me=Sn(),Ne=wr(),Je=t+ar,Et=Ne.firstCreatePass?function oS(t,r,s,m,D,L,W,ie,me){const Ne=r.consts,Je=Oa(r,t,4,W||null,io(Ne,ie));$m(r,s,Je,io(Ne,me)),oh(r,Je);const Et=Je.tView=Fh(2,Je,m,D,L,r.directiveRegistry,r.pipeRegistry,null,r.schemas,Ne,null);return null!==r.queries&&(r.queries.template(r,Je),Et.queries=r.queries.embeddedTView(Je)),Je}(Je,Ne,me,r,s,m,D,L,W):Ne.data[Je];at(Et,!1);const Ut=Wp(Ne,me,Et,t);Qs()&&xh(Ne,me,Ut,Et),_s(Ut,me);const Qt=p0(Ut,me,Ut,Et);return me[Je]=Qt,Hh(me,Qt),bC(Qt,Et,me),Zi(Et)&&Ym(Ne,me,Et),null!=W&&zm(me,Et,ie),Bc}let Wp=sS;function sS(t,r,s,m){return Os(!0),r[hr].createComment("")}function oT(t,r,s,m){const D=r[Fn],L=!D||vr()||Wd(D,m);if(Os(L),L)return sS(0,r);const W=D.data[Fg]?.[m]??null;null!==W&&null!==s.tView&&null===s.tView.ssrId&&(s.tView.ssrId=W);const ie=ta(D,t,r,s);return Yd(D,m,ie),Qh(zd(D,m),ie)}var Bo=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(Bo||{});const bf=0,sT=1;var Po=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(Po||{}),md=function(t){return t[t.Initial=-1]="Initial",t}(md||{});const xl=0,Cf=1,Uc=2,Sf=3,aS=4,lS=5;var Ef=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(Ef||{});function Mf(t,r,s){const m=1===t?lS:aS;null===r[m]&&(r[m]=[]),r[m].push(s)}function Gp(t,r){const s=1===t?lS:aS,m=r[s];if(null!==m){for(const D of m)D();r[s]=null}}function cS(t){Gp(1,t),Gp(0,t)}function pd(t){return t+1}function Xa(t,r){return t[pd(r.index)]}function js(t,r){const s=pd(r.index);return t.data[s]}function Kp(t,r){return r===Po.Placeholder?t.placeholderBlockConfig?.[bf]??null:r===Po.Loading?t.loadingBlockConfig?.[bf]??null:null}function Qp(t){return t.loadingBlockConfig?.[sT]??null}function dS(t,r){if(!t||0===t.length)return r;const s=new Set(t);for(const m of r)s.add(m);return t.length===s.size?t:Array.from(s)}function hS(t){return null!==t&&"object"==typeof t&&"number"==typeof t.primaryTmplIndex}const wf={passive:!0,capture:!0},Df=new WeakMap,Zp=new WeakMap,Hc=new WeakMap,fS=["click","keydown"],Xp=["mouseenter","focusin"];let Vc=null,Af=0;class Jp{constructor(){this.callbacks=new Set,this.listener=()=>{for(const r of this.callbacks)r()}}}function gS(t,r){let s=Zp.get(t);if(!s){s=new Jp,Zp.set(t,s);for(const m of fS)t.addEventListener(m,s.listener,wf)}return s.callbacks.add(r),()=>{const{callbacks:m,listener:D}=s;if(m.delete(r),0===m.size){Zp.delete(t);for(const L of fS)t.removeEventListener(L,D,wf)}}}function qp(t,r){let s=Df.get(t);if(!s){s=new Jp,Df.set(t,s);for(const m of Xp)t.addEventListener(m,s.listener,wf)}return s.callbacks.add(r),()=>{const{callbacks:m,listener:D}=s;if(m.delete(r),0===m.size){for(const L of Xp)t.removeEventListener(L,D,wf);Df.delete(t)}}}function mS(t,r,s){const m=s.get(Oo);let D=Hc.get(t);return Vc=Vc||m.runOutsideAngular(()=>new IntersectionObserver(L=>{for(const W of L)W.isIntersecting&&Hc.has(W.target)&&m.run(Hc.get(W.target).listener)})),D||(D=new Jp,m.runOutsideAngular(()=>Vc.observe(t)),Hc.set(t,D),Af++),D.callbacks.add(r),()=>{Hc.has(t)&&(D.callbacks.delete(r),0===D.callbacks.size&&(Vc?.unobserve(t),Hc.delete(t),Af--),0===Af&&(Vc?.disconnect(),Vc=null))}}function Ol(t,r,s,m,D,L,W){const ie=t[Xr];rf(function me(){if(Ro(t))return;const Ne=Xa(t,r),Je=Ne[Cf];if(Je!==md.Initial&&Je!==Po.Placeholder)return;const Et=function cT(t,r,s){return null==s?t:s>=0?ne(s,t):t[r.index][zr]??null}(t,r,m);if(!Et)return void rf(me,{injector:ie});if(Ro(Et))return;const Ut=function uT(t,r){return is(ar+r,t)}(Et,s),Qt=D(Ut,()=>{t!==Et&&Nt(Et,Qt),L()},ie);t!==Et&&Dt(Et,Qt),Mf(W,Ne,Qt)},{injector:ie})}function pS(t,r){const m=r[Xr].get(vS);return m.add(t),()=>m.remove(t)}let vS=(()=>{class t{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=lt(Oo),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(s){(this.executingCallbacks?this.deferred:this.current).add(s),null===this.idleId&&this.scheduleIdleCallback()}remove(s){const{current:m,deferred:D}=this;m.delete(s),D.delete(s),0===m.size&&0===D.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const s=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const m of this.current)m();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const m of this.deferred)this.current.add(m);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(s))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();function yS(t){return(r,s)=>bS(t,r,s)}function bS(t,r,s){const D=s[Xr].get(hT);return D.add(t,r),()=>D.remove(r)}let hT=(()=>{class t{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(s,m){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+s,m),this.scheduleTimer()}remove(s){const{current:m,deferred:D}=this;-1===this.removeFromQueue(m,s)&&this.removeFromQueue(D,s),0===m.length&&0===D.length&&this.clearTimeout()}addToQueue(s,m,D){let L=s.length;for(let W=0;Wm){L=W;break}Ql(s,L,m,D)}removeFromQueue(s,m){let D=-1;for(let L=0;L-1&&aa(s,D,2),D}scheduleTimer(){const s=()=>{this.clearTimeout(),this.executingCallbacks=!0;const D=[...this.current],L=Date.now();for(let ie=0;ie=0&&aa(this.current,0,W+1),this.executingCallbacks=!1,this.deferred.length>0){for(let ie=0;ie0){const D=Date.now(),L=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-L>16){this.clearTimeout();const W=Math.max(L-D,16);this.invokeTimerAt=L,this.timeoutId=setTimeout(s,W)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();const fT=new it("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),CS=new it("");function Tf(t){return t.get(CS,null,{optional:!0})?.behavior!==Ef.Manual&&Ga(t)}let e_=null;function t_(t,r,s,m){const D=t.consts;null!=s&&(r.placeholderBlockConfig=io(D,s)),null!=m&&(r.loadingBlockConfig=io(D,m)),null===e_&&(e_=gT)}function SS(t,r,s,m,D,L,W,ie,me){const Ne=Sn(),Je=wr(),Et=t+ar;if(Bc(t,null,0,0),Je.firstCreatePass){zs("NgDefer");const Hn={primaryTmplIndex:r,loadingTmplIndex:m??null,placeholderTmplIndex:D??null,errorTmplIndex:L??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:s??null,loadingState:Bo.NOT_STARTED,loadingPromise:null,providers:null};me?.(Je,Hn,ie,W),function lT(t,r,s){const m=pd(r);t.data[m]=s}(Je,Et,Hn)}const Ut=ei();bC(Ne[Et],Ut,Ne);const pn=[null,md.Initial,null,null,null,null];!function aT(t,r,s){t[pd(r)]=s}(Ne,Et,pn);const kn=()=>cS(pn);Mf(0,pn,()=>Nt(Ne,kn)),Dt(Ne,kn)}function n_(t){const r=Sn();if(jo(r,X(),t)){const m=u(null);try{const D=!!t,L=hi(),ie=Xa(r,L)[Cf];!1===D&&ie===md.Initial?Ll(r,L):!0===D&&(ie===md.Initial||ie===Po.Placeholder)&&zc(r,L)}finally{u(m)}}}function ES(t){const r=Sn();if(jo(r,X(),t)){const m=u(null);try{const D=!!t,L=r[In],W=hi(),ie=js(L,W);!0===D&&ie.loadingState===Bo.NOT_STARTED&&Yc(ie,r,W)}finally{u(m)}}}function MS(){s_(pS)}function r_(){kS(pS)}function wS(){const t=Sn(),r=ei(),m=t[Xr],D=js(t[In],r);(!Tf(m)||null===D.loadingTmplIndex)&&Ll(t,r),zc(t,r)}function If(){const t=Sn(),r=ei(),m=js(t[In],r);m.loadingState===Bo.NOT_STARTED&&kf(m,t,r)}function DS(t){s_(yS(t))}function i_(t){kS(yS(t))}function AS(t,r){const s=Sn(),m=ei();Ll(s,m),Ol(s,m,t,r,qp,()=>zc(s,m),0)}function o_(t,r){const s=Sn(),m=ei(),L=js(s[In],m);L.loadingState===Bo.NOT_STARTED&&Ol(s,m,t,r,qp,()=>Yc(L,s,m),1)}function TS(t,r){const s=Sn(),m=ei();Ll(s,m),Ol(s,m,t,r,gS,()=>zc(s,m),0)}function IS(t,r){const s=Sn(),m=ei(),L=js(s[In],m);L.loadingState===Bo.NOT_STARTED&&Ol(s,m,t,r,gS,()=>Yc(L,s,m),1)}function Pf(t,r){const s=Sn(),m=ei();Ll(s,m),Ol(s,m,t,r,mS,()=>zc(s,m),0)}function PS(t,r){const s=Sn(),m=ei(),L=js(s[In],m);L.loadingState===Bo.NOT_STARTED&&Ol(s,m,t,r,mS,()=>Yc(L,s,m),1)}function s_(t){const r=Sn(),s=ei();Ll(r,s);const m=t(()=>zc(r,s),r);Mf(0,Xa(r,s),m)}function kS(t){const r=Sn(),s=ei(),D=js(r[In],s);D.loadingState===Bo.NOT_STARTED&&Mf(1,Xa(r,s),t(()=>Yc(D,r,s),r))}function Ra(t,r,s,m=!1){const D=s[si],L=D[In];if(Ro(D))return;const W=Xa(D,r);if(OS(W[Cf],t)&&OS(W[xl]??-1,t)){const me=js(L,r),Je=m||null===Qp(me)&&null===Kp(me,Po.Loading)&&!Kp(me,Po.Placeholder)?xS:e_;try{Je(t,W,s,r,D)}catch(Et){Vh(D,Et)}}}function xS(t,r,s,m,D){const L=function uS(t,r,s){const D=js(r[In],s);switch(t){case Po.Complete:return D.primaryTmplIndex;case Po.Loading:return D.loadingTmplIndex;case Po.Error:return D.errorTmplIndex;case Po.Placeholder:return D.placeholderTmplIndex;default:return null}}(t,D,m);if(null!==L){r[Cf]=t;const W=D[In],me=xo(W,L+ar),Ne=0;let Je;if(qm(s,Ne),t===Po.Complete){const Qt=js(W,m),pn=Qt.providers;if(pn&&pn.length>0){const Hn=D[Xr].get(Js);Je=Hn.get(nS).getOrCreateInjector(Qt,Hn,pn,"")}}const Et=Il(s,me.tView.ssrId),Ut=Yu(D,me,null,{dehydratedView:Et,injector:Je});zu(s,Ut,Ne,Dc(me,Et)),Gu(Ut)}}function gT(t,r,s,m,D){const L=Date.now(),ie=js(D[In],m);if(null===r[Uc]||r[Uc]<=L){r[Uc]=null;const me=Qp(ie),Ne=null!==r[Sf];if(t!==Po.Loading||null===me||Ne){t>Po.Loading&&Ne&&(r[Sf](),r[Sf]=null,r[xl]=null),xS(t,r,s,m,D);const Je=Kp(ie,t);null!==Je&&(r[Uc]=L+Je,a_(Je,r,m,s,D))}else{r[xl]=t;const Je=a_(me,r,m,s,D);r[Sf]=Je}}else r[xl]=t}function a_(t,r,s,m,D){return bS(t,()=>{const W=r[xl];r[Uc]=null,r[xl]=null,null!==W&&Ra(W,s,m)},D)}function OS(t,r){return t{let Et=!1;const Ut=[],Qt=[];for(const pn of Je){if("fulfilled"!==pn.status){Et=!0;break}{const kn=pn.value,Hn=fn(kn)||Gt(kn);if(Hn)Ut.push(Hn);else{const dr=Nn(kn);dr&&Qt.push(dr)}}}if(t.loadingPromise=null,me.remove(Ne),Et){if(t.loadingState=Bo.FAILED,null===t.errorTmplIndex){Im(r);const kn=new nt(750,!1);Vh(r,kn)}}else{t.loadingState=Bo.COMPLETE;const pn=W.tView;if(Ut.length>0){pn.directiveRegistry=dS(pn.directiveRegistry,Ut);const Hn=zg(!1,...Ut.map(dr=>dr.type));t.providers=Hn}Qt.length>0&&(pn.pipeRegistry=dS(pn.pipeRegistry,Qt))}}):Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Bo.COMPLETE,me.remove(Ne)})}function Ll(t,r){Ra(Po.Placeholder,r,t[r.index])}function LS(t,r,s){t.loadingPromise.then(()=>{t.loadingState===Bo.COMPLETE?Ra(Po.Complete,r,s):t.loadingState===Bo.FAILED&&Ra(Po.Error,r,s)})}function zc(t,r){const s=t[In],m=t[r.index];if(!Tf(t[Xr]))return;const L=Xa(t,r),W=js(s,r);switch(cS(L),W.loadingState){case Bo.NOT_STARTED:Ra(Po.Loading,r,m),kf(W,t,r),W.loadingState===Bo.IN_PROGRESS&&LS(W,r,m);break;case Bo.IN_PROGRESS:Ra(Po.Loading,r,m),LS(W,r,m);break;case Bo.COMPLETE:Ra(Po.Complete,r,m);break;case Bo.FAILED:Ra(Po.Error,r,m)}}function l_(t,r,s,m){const D=Sn();return jo(D,X(),r)&&(wr(),va(hi(),D,t,r,s,m)),l_}function Rl(t,r){let s=!1,m=jt();for(let L=1;L>17&32767}function Ff(t){return 2|t}function Bl(t){return(131068&t)>>2}function Nf(t,r){return-131069&t|r<<2}function m_(t){return 1|t}function NS(t,r,s,m){const D=t[s+1],L=null===r;let W=m?Ja(D):Bl(D),ie=!1;for(;0!==W&&(!1===ie||L);){const Ne=t[W+1];jS(t[W],r)&&(ie=!0,t[W+1]=m?m_(Ne):Ff(Ne)),W=m?Ja(Ne):Bl(Ne)}ie&&(t[s+1]=m?Ff(D):m_(D))}function jS(t,r){return null===t||null==r||(Array.isArray(t)?t[1]:t)===r||!(!Array.isArray(t)||"string"!=typeof r)&&ca(t,r)>=0}const ts={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function p_(t){return t.substring(ts.key,ts.keyEnd)}function vT(t){return t.substring(ts.value,ts.valueEnd)}function BS(t,r){const s=ts.textEnd;return s===r?-1:(r=ts.keyEnd=function VS(t,r,s){for(;r32;)r++;return r}(t,ts.key=r,s),Qc(t,r,s))}function HS(t,r){const s=ts.textEnd;let m=ts.key=Qc(t,r,s);return s===m?-1:(m=ts.keyEnd=function yT(t,r,s){let m;for(;r=65&&(-33&m)<=90||m>=48&&m<=57);)r++;return r}(t,m,s),m=y_(t,m,s),m=ts.value=Qc(t,m,s),m=ts.valueEnd=function bT(t,r,s){let m=-1,D=-1,L=-1,W=r,ie=W;for(;W32&&(ie=W),L=D,D=m,m=-33&me}return ie}(t,m,s),y_(t,m,s))}function v_(t){ts.key=0,ts.keyEnd=0,ts.value=0,ts.valueEnd=0,ts.textEnd=t.length}function Qc(t,r,s){for(;r=0;s=HS(r,s))w_(t,p_(r),vT(r))}function E_(t){ra(DT,Ca,t,!0)}function Ca(t,r){for(let s=function __(t){return v_(t),BS(t,Qc(t,0,ts.textEnd))}(r);s>=0;s=BS(r,s))zo(t,p_(r),!0)}function $s(t,r,s,m){const D=Sn(),L=wr(),W=Ve(2);L.firstUpdatePass&&zS(L,t,W,m),r!==ri&&jo(D,W,r)&&KS(L,L.data[so()],D,D[hr],t,D[W+1]=function QS(t,r){return null==t||""===t||("string"==typeof r?t+=r:"object"==typeof t&&(t=He(Ia(t)))),t}(r,s),m,W)}function ra(t,r,s,m){const D=wr(),L=Ve(2);D.firstUpdatePass&&zS(D,null,L,m);const W=Sn();if(s!==ri&&jo(W,L,s)){const ie=D.data[so()];if(ZS(ie,m)&&!Bf(D,L)){let me=m?ie.classesWithoutHost:ie.stylesWithoutHost;null!==me&&(s=vt(me,s||"")),C_(D,ie,W,s,m)}else!function GS(t,r,s,m,D,L,W,ie){D===ri&&(D=Jn);let me=0,Ne=0,Je=0=t.expandoStartIndex}function zS(t,r,s,m){const D=t.data;if(null===D[s+1]){const L=D[so()],W=Bf(t,s);ZS(L,m)&&null===r&&!W&&(r=!1),r=function ET(t,r,s,m){const D=Pn(t);let L=m?r.residualClasses:r.residualStyles;if(null===D)0===(m?r.classBindings:r.styleBindings)&&(s=Zc(s=M_(null,t,r,s,m),r.attrs,m),L=null);else{const W=r.directiveStylingLast;if(-1===W||t[W]!==D)if(s=M_(D,t,r,s,m),null===L){let me=function WS(t,r,s){const m=s?r.classBindings:r.styleBindings;if(0!==Bl(m))return t[Ja(m)]}(t,r,m);void 0!==me&&Array.isArray(me)&&(me=M_(null,t,r,me[1],m),me=Zc(me,r.attrs,m),function MT(t,r,s,m){t[Ja(s?r.classBindings:r.styleBindings)]=m}(t,r,m,me))}else L=function $S(t,r,s){let m;const D=r.directiveEnd;for(let L=1+r.directiveStylingLast;L0)&&(Ne=!0)):Je=s,D)if(0!==me){const Ut=Ja(t[ie+1]);t[m+1]=Rf(Ut,ie),0!==Ut&&(t[Ut+1]=Nf(t[Ut+1],m)),t[ie+1]=function mT(t,r){return 131071&t|r<<17}(t[ie+1],m)}else t[m+1]=Rf(ie,0),0!==ie&&(t[ie+1]=Nf(t[ie+1],m)),ie=m;else t[m+1]=Rf(me,0),0===ie?ie=m:t[me+1]=Nf(t[me+1],m),me=m;Ne&&(t[m+1]=Ff(t[m+1])),NS(t,Je,m,!0),NS(t,Je,m,!1),function FS(t,r,s,m,D){const L=D?t.residualClasses:t.residualStyles;null!=L&&"string"==typeof r&&ca(L,r)>=0&&(s[m+1]=m_(s[m+1]))}(r,Je,t,m,L),W=Rf(ie,me),L?r.classBindings=W:r.styleBindings=W}(D,L,r,s,W,m)}}function M_(t,r,s,m,D){let L=null;const W=s.directiveEnd;let ie=s.directiveStylingLast;for(-1===ie?ie=s.directiveStart:ie++;ie0;){const me=t[D],Ne=Array.isArray(me),Je=Ne?me[1]:me,Et=null===Je;let Ut=s[D+1];Ut===ri&&(Ut=Et?Jn:void 0);let Qt=Et?la(Ut,m):Je===m?Ut:void 0;if(Ne&&!Uf(Qt)&&(Qt=la(me,m)),Uf(Qt)&&(ie=Qt,W))return ie;const pn=t[D+1];D=W?Ja(pn):Bl(pn)}if(null!==r){let me=L?r.residualClasses:r.residualStyles;null!=me&&(ie=la(me,m))}return ie}function Uf(t){return void 0!==t}function ZS(t,r){return 0!=(t.flags&(r?8:16))}function A_(t,r,s){ra(zo,Ca,Wc(Sn(),t,r,s),!0)}function XS(t,r,s,m,D){ra(zo,Ca,Fa(Sn(),t,r,s,m,D),!0)}function Hf(t,r,s,m,D,L,W){ra(zo,Ca,Fl(Sn(),t,r,s,m,D,L,W),!0)}function JS(t,r,s,m,D,L,W,ie,me){ra(zo,Ca,$c(Sn(),t,r,s,m,D,L,W,ie,me),!0)}function T_(t,r,s,m,D,L,W,ie,me,Ne,Je){ra(zo,Ca,Nl(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je),!0)}function qS(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut){ra(zo,Ca,Gc(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut),!0)}function eE(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn){ra(zo,Ca,jl(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn),!0)}function Ul(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn){ra(zo,Ca,Kc(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn),!0)}function tE(t){ra(zo,Ca,Rl(Sn(),t),!0)}function nE(){return Sn()[Jr][Zr]}class AT{destroy(r){}updateValue(r,s){}swap(r,s){const m=Math.min(r,s),D=Math.max(r,s),L=this.detach(D);if(D-m>1){const W=this.detach(m);this.attach(m,L),this.attach(D,W)}else this.attach(m,L)}move(r,s){this.attach(s,this.detach(r))}}function I_(t,r,s,m,D){return t===s&&Object.is(r,m)?1:Object.is(D(t,r),D(s,m))?-1:0}function k_(t,r,s,m){return!(void 0===r||!r.has(m)||(t.attach(s,r.get(m)),r.delete(m),0))}function Vf(t,r,s,m,D){if(k_(t,r,m,s(m,D)))t.updateValue(m,D);else{const L=t.create(m,D);t.attach(m,L)}}function rE(t,r,s,m){const D=new Set;for(let L=r;L<=s;L++)D.add(m(L,t.at(L)));return D}class Yf{constructor(){this.kvMap=new Map,this._vMap=void 0}has(r){return this.kvMap.has(r)}delete(r){if(!this.has(r))return!1;const s=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(s)?(this.kvMap.set(r,this._vMap.get(s)),this._vMap.delete(s)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,s){if(this.kvMap.has(r)){let m=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const D=this._vMap;for(;D.has(m);)m=D.get(m);D.set(m,s)}else this.kvMap.set(r,s)}forEach(r){for(let[s,m]of this.kvMap)if(r(m,s),void 0!==this._vMap){const D=this._vMap;for(;D.has(m);)m=D.get(m),r(m,s)}}}function iE(t,r,s){zs("NgControlFlow");const m=Sn(),D=X(),L=L_(m,ar+t);if(jo(m,D,r)){const ie=u(null);try{if(qm(L,0),-1!==r){const me=R_(m[In],ar+r),Ne=Il(L,me.tView.ssrId);zu(L,Yu(m,me,s,{dehydratedView:Ne}),0,Dc(me,Ne))}}finally{u(ie)}}else{const ie=S0(L,0);void 0!==ie&&(ie[Zr]=s)}}class oE{constructor(r,s,m){this.lContainer=r,this.$implicit=s,this.$index=m}get $count(){return this.lContainer.length-zr}}function sE(t){return t}function x_(t,r){return r}class TT{constructor(r,s,m){this.hasEmptyBlock=r,this.trackByFn=s,this.liveCollection=m}}function O_(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut){zs("NgControlFlow");const Qt=void 0!==me,pn=Sn(),kn=ie?W.bind(pn[Jr][Zr]):W,Hn=new TT(Qt,kn);pn[ar+t]=Hn,Bc(t+1,r,s,m,D,L),Qt&&Bc(t+2,me,Ne,Je,Et,Ut)}class IT extends AT{constructor(r,s,m){super(),this.lContainer=r,this.hostLView=s,this.templateTNode=m,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-zr}at(r){return this.getLView(r)[Zr].$implicit}attach(r,s){const m=s[Fn];this.needsIndexUpdate||=r!==this.length,zu(this.lContainer,s,r,Dc(this.templateTNode,m))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function PT(t,r){return Bu(t,r)}(this.lContainer,r)}create(r,s){const m=Il(this.lContainer,this.templateTNode.tView.ssrId);return Yu(this.hostLView,this.templateTNode,new oE(this.lContainer,s,r),{dehydratedView:m})}destroy(r){Ph(r[In],r)}updateValue(r,s){this.getLView(r)[Zr].$implicit=s}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r{t.destroy(ie)})}(W,t,L.trackByFn),W.updateIndexes(),L.hasEmptyBlock){const ie=X(),me=0===W.length;if(jo(m,ie,me)){const Ne=s+2,Je=L_(m,Ne);if(me){const Et=R_(D,Ne),Ut=Il(Je,Et.tView.ssrId);zu(Je,Yu(m,Et,void 0,{dehydratedView:Ut}),0,Dc(Et,Ut))}else qm(Je,0)}}}finally{u(r)}}function L_(t,r){return t[r]}function R_(t,r){return xo(t,r)}function Wf(t,r,s,m){const D=Sn(),L=wr(),W=ar+t,ie=D[hr],me=L.firstCreatePass?function xT(t,r,s,m,D,L){const W=r.consts,me=Oa(r,t,2,m,io(W,D));return $m(r,s,me,io(W,L)),null!==me.attrs&&sf(me,me.attrs,!1),null!==me.mergedAttrs&&sf(me,me.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,me),me}(W,L,D,r,s,m):L.data[W],Ne=Xc(L,D,me,ie,r,t);D[W]=Ne;const Je=Zi(me);return at(me,!0),r0(ie,Ne,me),32!=(32&me.flags)&&Qs()&&xh(L,D,Ne,me),0===function Kn(){return Wt.lFrame.elementDepthCount}()&&_s(Ne,D),function Wr(){Wt.lFrame.elementDepthCount++}(),Je&&(Ym(L,D,me),Rh(L,me,D)),null!==m&&zm(D,me),Wf}function vd(){let t=ei();R()?q():(t=t.parent,at(t,!1));const r=t;(function mi(t){return Wt.skipHydrationRootTNode===t})(r)&&function Ji(){Wt.skipHydrationRootTNode=null}(),function fr(){Wt.lFrame.elementDepthCount--}();const s=wr();return s.firstCreatePass&&(oh(s,t),Lo(t)&&s.queries.elementEnd(t)),null!=r.classesWithoutHost&&function fD(t){return 0!=(8&t.flags)}(r)&&C_(s,r,Sn(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function gD(t){return 0!=(16&t.flags)}(r)&&C_(s,r,Sn(),r.stylesWithoutHost,!1),vd}function F_(t,r,s,m){return Wf(t,r,s,m),vd(),F_}let Xc=(t,r,s,m,D,L)=>(Os(!0),Ih(m,D,el()));function OT(t,r,s,m,D,L){const W=r[Fn],ie=!W||vr()||Wd(W,L);if(Os(ie),ie)return Ih(m,D,el());const me=ta(W,t,r,s);return Ry(W,L)&&Yd(W,L,me.nextSibling),W&&(Xl(s)||Jl(me))&&Oi(s)&&(function ji(t){Wt.skipHydrationRootTNode=t}(s),Hm(me)),me}function Jc(t,r,s){const m=Sn(),D=wr(),L=t+ar,W=D.firstCreatePass?function LT(t,r,s,m,D){const L=r.consts,W=io(L,m),ie=Oa(r,t,8,"ng-container",W);return null!==W&&sf(ie,W,!0),$m(r,s,ie,io(L,D)),null!==r.queries&&r.queries.elementStart(r,ie),ie}(L,D,m,r,s):D.data[L];at(W,!0);const ie=lE(D,m,W,t);return m[L]=ie,Qs()&&xh(D,m,ie,W),_s(ie,m),Zi(W)&&(Ym(D,m,W),Rh(D,W,m)),null!=s&&zm(m,W),Jc}function $f(){let t=ei();const r=wr();return R()?q():(t=t.parent,at(t,!1)),r.firstCreatePass&&(oh(r,t),Lo(t)&&r.queries.elementEnd(t)),$f}function Gf(t,r,s){return Jc(t,r,s),$f(),Gf}let lE=(t,r,s,m)=>(Os(!0),Lm(r[hr],""));function cE(t,r,s,m){let D;const L=r[Fn],W=!L||vr();if(Os(W),W)return Lm(r[hr],"");const ie=ta(L,t,r,s),me=function qw(t,r){const s=t.data;let m=s[Rg]?.[r]??null;return null===m&&s[ma]?.[r]&&(m=zd(t,r)),m}(L,m);return Yd(L,m,ie),D=Qh(me,ie),D}function uE(){return Sn()}function N_(t,r,s){const m=Sn();return jo(m,X(),r)&&Ms(wr(),hi(),m,t,r,m[hr],s,!0),N_}function Kf(t,r,s){const m=Sn();if(jo(m,X(),r)){const L=wr(),W=hi();Ms(L,W,m,t,r,b0(Pn(L.data),W,m),s,!0)}return Kf}const Hl=void 0;var NT=["en",[["a","p"],["AM","PM"],Hl],[["AM","PM"],Hl,Hl],[["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"]],Hl,[["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"]],Hl,[["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}",Hl,"{1} 'at' {0}",Hl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FT(t){const s=Math.floor(Math.abs(t)),m=t.toString().replace(/^[^.]*\.?/,"").length;return 1===s&&0===m?1:5}];let Vl={};function jT(t,r,s){"string"!=typeof r&&(s=r,r=t[qc.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),Vl[r]=t,s&&(Vl[r][qc.ExtraData]=s)}function Qf(t){const r=function UT(t){return t.toLowerCase().replace(/_/g,"-")}(t);let s=dE(r);if(s)return s;const m=r.split("-")[0];if(s=dE(m),s)return s;if("en"===m)return NT;throw new nt(701,!1)}function BT(t){return Qf(t)[qc.CurrencyCode]||null}function Zf(t){return Qf(t)[qc.PluralCase]}function dE(t){return t in Vl||(Vl[t]=Rn.ng&&Rn.ng.common&&Rn.ng.common.locales&&Rn.ng.common.locales[t]),Vl[t]}function hE(){Vl={}}var qc=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(qc||{});const HT=["zero","one","two","few","many"],qa="en-US",yd={marker:"element"},Xf={marker:"ICU"};var ws=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(ws||{});let fE=qa;function j_(t){"string"==typeof t&&(fE=t.toLowerCase().replace(/_/g,"-"))}function Jf(t,r,s){const m=r.insertBeforeIndex,D=Array.isArray(m)?m[0]:m;return null===D?jm(t,0,s):Ur(s[D])}function gE(t,r,s,m,D){const L=r.insertBeforeIndex;if(Array.isArray(L)){let W=m,ie=null;if(3&r.type||(ie=W,W=D),null!==W&&-1===r.componentOffset)for(let me=1;me1)for(let s=t.length-2;s>=0;s--){const m=t[s];B_(m)||WT(m,r)&&null===$T(m)&>(m,r.index)}}function B_(t){return!(64&t.type)}function WT(t,r){return B_(r)||t.index>r.index}function $T(t){const r=t.insertBeforeIndex;return Array.isArray(r)?r[0]:r}function GT(t,r){const s=t.insertBeforeIndex;Array.isArray(s)?s[0]=r:(qb(Jf,gE),t.insertBeforeIndex=r)}function bd(t,r){const s=t.data[r];return null===s||"string"==typeof s?null:s.hasOwnProperty("currentCaseLViewIndex")?s:s.value}function U_(t,r,s){const m=ea(t,s,64,null,null);return mE(r,m),m}function eu(t,r){const s=r[t.currentCaseLViewIndex];return null===s?s:s<0?~s:s}function pE(t){return t>>>17}function H_(t){return(131070&t)>>>1}let Cd=0,tu=0;function yE(t,r,s,m){const D=s[hr];let W,L=null;for(let ie=0;ie>>1,s),null,null,Qt,pn,null)}else switch(me){case Xf:const Ne=r[++ie],Je=r[++ie];null===s[Je]&&_s(s[Je]=Lm(D,Ne),s);break;case yd:const Et=r[++ie],Ut=r[++ie];null===s[Ut]&&_s(s[Ut]=Ih(D,Et,null),s)}}}function Y_(t,r,s,m,D){for(let L=0;L>>2;switch(3&Je){case 1:const Ut=s[++Ne],Qt=s[++Ne],pn=t.data[Et];"string"==typeof pn?wc(r[hr],r[Et],null,pn,Ut,me,Qt):Ms(t,pn,r,Ut,me,r[hr],Qt,!1);break;case 0:const kn=r[Et];null!==kn&&Wb(r[hr],kn,me);break;case 2:JT(t,bd(t,Et),r,me);break;case 3:bE(t,bd(t,Et),m,r)}}}}else{const me=s[L+1];if(me>0&&3==(3&me)){const Je=bd(t,me>>>2);r[Je.currentCaseLViewIndex]<0&&bE(t,Je,m,r)}}L+=ie}}function bE(t,r,s,m){let D=m[r.currentCaseLViewIndex];if(null!==D){let L=Cd;D<0&&(D=m[r.currentCaseLViewIndex]=~D,L=-1),Y_(t,m,r.update[D],s,L)}}function JT(t,r,s,m){const D=function nu(t,r){let s=t.cases.indexOf(r);if(-1===s)switch(t.type){case 1:{const m=function VT(t,r){const s=Zf(r)(parseInt(t,10)),m=HT[s];return void 0!==m?m:"other"}(r,function zT(){return fE}());s=t.cases.indexOf(m),-1===s&&"other"!==m&&(s=t.cases.indexOf("other"));break}case 0:s=t.cases.indexOf("other")}return-1===s?null:s}(r,m);if(eu(r,s)!==D&&(CE(t,r,s),s[r.currentCaseLViewIndex]=null===D?null:~D,null!==D)){const W=s[r.anchorIdx];W&&yE(t,r.create[D],s,W)}}function CE(t,r,s){let m=eu(r,s);if(null!==m){const D=r.remove[m];for(let L=0;L0){const ie=is(W,s);null!==ie&&Oh(s[hr],ie)}else CE(t,bd(t,~W),s)}}}function qT(){const t=[];let s,m,r=-1;function L(ie,me){r=0;const Ne=eu(ie,me);m=null!==Ne?ie.remove[Ne]:Jn}function W(){if(r0?s[ie]:(t.push(r,m),L(s[In].data[~ie],s),W())}return 0===t.length?null:(m=t.pop(),r=t.pop(),W())}return function D(ie,me){for(s=me;t.length;)t.pop();return L(ie.value,me),W}}const Sd=/\ufffd(\d+):?\d*\ufffd/gi,eI=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,EE=/\ufffd(\d+)\ufffd/,ME=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ru="\ufffd",tI=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,nI=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,rI=/\uE500/g;function qf(t,r,s,m,D,L,W){const ie=Hu(t,m,1,null);let me=ie<s.length&&s.push(me)}return{type:m,mainBinding:D,cases:r,values:s}}function Ed(t){if(!t)return[];let r=0;const s=[],m=[],D=/[{}]/g;let L;for(D.lastIndex=0;L=D.exec(t);){const ie=L.index;if("}"==L[0]){if(s.pop(),0==s.length){const me=t.substring(r,ie);ME.test(me)?m.push(lI(me)):m.push(me),r=ie+1}}else{if(0==s.length){const me=t.substring(r,ie);m.push(me),r=ie+1}s.push("{")}}const W=t.substring(r);return m.push(W),m}function cI(t,r,s,m,D,L,W,ie){const me=[],Ne=[],Je=[];r.cases.push(L),r.create.push(me),r.remove.push(Ne),r.update.push(Je);const Ut=Mb(No()).getInertBodyElement(W),Qt=bh(Ut)||Ut;return Qt?Q_(t,r,s,m,me,Ne,Je,Qt,D,ie,0):0}function Q_(t,r,s,m,D,L,W,ie,me,Ne,Je){let Et=0,Ut=ie.firstChild;for(;Ut;){const Qt=Hu(t,s,1,null);switch(Ut.nodeType){case Node.ELEMENT_NODE:const pn=Ut,kn=pn.tagName.toLowerCase();if(mm.hasOwnProperty(kn)){Z_(D,yd,kn,me,Qt),t.data[Qt]=kn;const ci=pn.attributes;for(let ki=0;ki>>ws.SHIFT;let Et=t[Je];null===Et&&(Et=t[Je]=(W&ws.COMMENT)===ws.COMMENT?D.createComment(ie):Th(D,ie)),Ne&&null!==s&&Al(D,s,Et,m,!1)}})(D,me.create,Je,ie&&8&ie.type?D[ie.index]:null),Re(!0)}function ev(){Re(!1)}function tv(t,r,s){q_(t,r,s),ev()}function OE(t,r){const s=wr(),m=io(s.consts,r);!function $_(t,r,s){const D=ei().index,L=[];if(t.firstCreatePass&&null===t.data[r]){for(let W=0;W0){const m=t.data[s];Y_(t,r,Array.isArray(m)?m:m.update,jt()-tu-1,Cd)}Cd=0,tu=0}(wr(),Sn(),t+ar)}function RE(t,r={}){return function mI(t,r={}){let s=t;if(J_.test(t)){const m={},D=[IE];s=s.replace(hI,(L,W,ie)=>{const me=W||ie,Ne=m[me]||[];if(Ne.length||(me.split("|").forEach(kn=>{const Hn=kn.match(xE),dr=Hn?parseInt(Hn[1],10):IE,Ln=gI.test(kn);Ne.push([dr,Ln,kn])}),m[me]=Ne),!Ne.length)throw new Error(`i18n postprocess: unmatched placeholder - ${me}`);const Je=D[D.length-1];let Et=0;for(let kn=0;knr.hasOwnProperty(L)?`${D}${r[L]}${me}`:m),s=s.replace(fI,(m,D)=>r.hasOwnProperty(D)?r[D]:m),s=s.replace(kE,(m,D)=>{if(r.hasOwnProperty(D)){const L=r[D];if(!L.length)throw new Error(`i18n postprocess: unmatched ICU - ${m} with key: ${D}`);return L.shift()}return m})),s}(t,r)}function nv(t,r,s,m){const D=Sn(),L=wr(),W=ei();return rv(L,D,D[hr],W,t,r,m),nv}function Md(t,r){const s=ei(),m=Sn(),D=wr();return rv(D,m,b0(Pn(D.data),s,m),s,t,r),Md}function rv(t,r,s,m,D,L,W){const ie=Zi(m),Ne=t.firstCreatePass&&y0(t),Je=r[Zr],Et=v0(r);let Ut=!0;if(3&m.type||W){const kn=Xi(m,r),Hn=W?W(kn):kn,dr=Et.length,Ln=W?ki=>W(Ur(ki[m.index])):m.index;let ci=null;if(!W&&ie&&(ci=function pI(t,r,s,m){const D=t.cleanup;if(null!=D)for(let L=0;Lme?ie[me]:null}"string"==typeof W&&(L+=2)}return null}(t,r,D,m.index)),null!==ci)(ci.__ngLastListenerFn__||ci).__ngNextListenerFn__=L,ci.__ngLastListenerFn__=L,Ut=!1;else{L=NE(m,r,Je,L,!1);const ki=s.listen(Hn,D,L);Et.push(L,ki),Ne&&Ne.push(D,Ln,dr,dr+1)}}else L=NE(m,r,Je,L,!1);const Qt=m.outputs;let pn;if(Ut&&null!==Qt&&(pn=Qt[D])){const kn=pn.length;if(kn)for(let Hn=0;Hn-1?Di(t.index,r):r);let me=FE(r,s,m,W),Ne=L.__ngNextListenerFn__;for(;Ne;)me=FE(r,s,Ne,W)&&me,Ne=Ne.__ngNextListenerFn__;return D&&!1===me&&W.preventDefault(),me}}function jE(t=1){return function fo(t){return(Wt.lFrame.contextLView=ne(t,Wt.lFrame.contextLView))[Zr]}(t)}function vI(t,r){let s=null;const m=function U(t){const r=t.attrs;if(null!=r){const s=r.indexOf(5);if(!(1&s))return r[s+1]}return null}(t);for(let D=0;D=t.data.length&&(t.data[s]=null,t.blueprint[s]=null),r[s]=m}function fv(t){return _o(function B(){return Wt.lFrame.contextLView}(),ar+t)}function $E(t,r,s){xs(Wc(Sn(),t,r,s))}function gv(t,r,s,m,D){xs(Fa(Sn(),t,r,s,m,D))}function GE(t,r,s,m,D,L,W){xs(Fl(Sn(),t,r,s,m,D,L,W))}function mv(t,r,s,m,D,L,W,ie,me){xs($c(Sn(),t,r,s,m,D,L,W,ie,me))}function KE(t,r,s,m,D,L,W,ie,me,Ne,Je){xs(Nl(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je))}function pv(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut){xs(Gc(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut))}function QE(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn){xs(jl(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn))}function ZE(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn){xs(Kc(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn))}function _v(t){xs(Rl(Sn(),t))}function vv(t,r,s,m,D){return $s(t,Wc(Sn(),r,s,m),D,!1),vv}function ig(t,r,s,m,D,L,W){return $s(t,Fa(Sn(),r,s,m,D,L),W,!1),ig}function yv(t,r,s,m,D,L,W,ie,me){return $s(t,Fl(Sn(),r,s,m,D,L,W,ie),me,!1),yv}function bv(t,r,s,m,D,L,W,ie,me,Ne,Je){return $s(t,$c(Sn(),r,s,m,D,L,W,ie,me,Ne),Je,!1),bv}function Cv(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut){return $s(t,Nl(Sn(),r,s,m,D,L,W,ie,me,Ne,Je,Et),Ut,!1),Cv}function ou(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn){return $s(t,Gc(Sn(),r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt),pn,!1),ou}function Sv(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn){return $s(t,jl(Sn(),r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn),Hn,!1),Sv}function og(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn,dr,Ln){return $s(t,Kc(Sn(),r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn,dr),Ln,!1),og}function Ev(t,r,s){return $s(t,Rl(Sn(),r),s,!1),Ev}function Mv(t,r=""){const s=Sn(),m=wr(),D=t+ar,L=m.firstCreatePass?Oa(m,D,1,r,null):m.data[D],W=XE(m,s,L,r,t);s[D]=W,Qs()&&xh(m,s,W,L),at(L,!1)}let XE=(t,r,s,m,D)=>(Os(!0),Th(r[hr],m));function yI(t,r,s,m,D){const L=r[Fn],W=!L||vr()||Wd(L,D);return Os(W),W?Th(r[hr],m):ta(L,t,r,s)}function sg(t){return ag("",t,""),sg}function ag(t,r,s){const m=Sn(),D=Wc(m,t,r,s);return D!==ri&&La(m,so(),D),ag}function su(t,r,s,m,D){const L=Sn(),W=Fa(L,t,r,s,m,D);return W!==ri&&La(L,so(),W),su}function wv(t,r,s,m,D,L,W){const ie=Sn(),me=Fl(ie,t,r,s,m,D,L,W);return me!==ri&&La(ie,so(),me),wv}function Dv(t,r,s,m,D,L,W,ie,me){const Ne=Sn(),Je=$c(Ne,t,r,s,m,D,L,W,ie,me);return Je!==ri&&La(Ne,so(),Je),Dv}function Av(t,r,s,m,D,L,W,ie,me,Ne,Je){const Et=Sn(),Ut=Nl(Et,t,r,s,m,D,L,W,ie,me,Ne,Je);return Ut!==ri&&La(Et,so(),Ut),Av}function Tv(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut){const Qt=Sn(),pn=Gc(Qt,t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut);return pn!==ri&&La(Qt,so(),pn),Tv}function Iv(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn){const kn=Sn(),Hn=jl(kn,t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn);return Hn!==ri&&La(kn,so(),Hn),Iv}function lg(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn){const dr=Sn(),Ln=Kc(dr,t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn);return Ln!==ri&&La(dr,so(),Ln),lg}function Pv(t){const r=Sn(),s=Rl(r,t);return s!==ri&&La(r,so(),s),Pv}function cg(t,r,s){Jh(r)&&(r=r());const m=Sn();return jo(m,X(),r)&&Ms(wr(),hi(),m,t,r,m[hr],s,!1),cg}function JE(t,r){const s=Jh(t);return s&&t.set(r),s}function ug(t,r){const s=Sn(),m=wr(),D=ei();return rv(m,s,s[hr],D,t,r),ug}function kv(t,r,s,m,D){if(t=Dr(t),Array.isArray(t))for(let L=0;L>20;if(ml(t)||!t.multi){const Qt=new xu(Ne,D,Mc),pn=Ov(me,r,D?Je:Je+Ut,Et);-1===pn?(om(gc(ie,W),L,me),xv(L,t,r.length),r.push(me),ie.directiveStart++,ie.directiveEnd++,D&&(ie.providerIndexes+=1048576),s.push(Qt),W.push(Qt)):(s[pn]=Qt,W[pn]=Qt)}else{const Qt=Ov(me,r,Je+Ut,Et),pn=Ov(me,r,Je,Je+Ut),Hn=pn>=0&&s[pn];if(D&&!Hn||!D&&!(Qt>=0&&s[Qt])){om(gc(ie,W),L,me);const dr=function EI(t,r,s,m,D){const L=new xu(t,s,Mc);return L.multi=[],L.index=r,L.componentProviders=0,qE(L,D,m&&!s),L}(D?SI:eM,s.length,D,m,Ne);!D&&Hn&&(s[pn].providerFactory=dr),xv(L,t,r.length,0),r.push(me),ie.directiveStart++,ie.directiveEnd++,D&&(ie.providerIndexes+=1048576),s.push(dr),W.push(dr)}else xv(L,t,Qt>-1?Qt:pn,qE(s[D?pn:Qt],Ne,!D&&m));!D&&m&&Hn&&s[pn].componentProviders++}}}function xv(t,r,s,m){const D=ml(r),L=function eD(t){return!!t.useClass}(r);if(D||L){const me=(L?Dr(r.useClass):r).prototype.ngOnDestroy;if(me){const Ne=t.destroyHooks||(t.destroyHooks=[]);if(!D&&r.multi){const Je=Ne.indexOf(s);-1===Je?Ne.push(s,[m,me]):Ne[Je+1].push(m,me)}else Ne.push(s,me)}}}function qE(t,r,s){return s&&t.componentProviders++,t.multi.push(r)-1}function Ov(t,r,s,m){for(let D=s;D{s.providersResolver=(m,D)=>function CI(t,r,s){const m=wr();if(m.firstCreatePass){const D=Li(t);kv(s,m.data,m.blueprint,D,!0),kv(r,m.data,m.blueprint,D,!1)}}(m,D?D(t):t,r)}}let MI=(()=>{class t{constructor(s){this._injector=s,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(s){if(!s.standalone)return null;if(!this.cachedInjectors.has(s)){const m=zg(0,s.type),D=m.length>0?zp([m],this._injector,`Standalone[${s.type.name}]`):null;this.cachedInjectors.set(s,D)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ni({token:t,providedIn:"environment",factory:()=>new t(ke(Js))})}return t})();function Fv(t){zs("NgStandalone"),t.getStandaloneInjector=r=>r.get(MI).getOrCreateStandaloneInjector(t)}function tM(t,r,s){const m=t.\u0275cmp;m.directiveDefs=dt(r,!1),m.pipeDefs=dt(s,!0)}function Nv(t,r){return qn(()=>{const s=cr(t,!0);s.declarations=dg(r.declarations||Jn),s.imports=dg(r.imports||Jn),s.exports=dg(r.exports||Jn),r.bootstrap&&(s.bootstrap=dg(r.bootstrap)),Oc.registerNgModule(t,r)})}function dg(t){if("function"==typeof t)return t;const r=ls(t);return r.some(Ha)?()=>r.map(Dr).map(nM):r.map(nM)}function nM(t){return Dp(t)?t.ngModule:t}function jv(t){const r=Es(t);if(null===r)return null;if(void 0===r.component){const s=r.lView;if(null===s)return null;r.component=function XD(t,r){const s=r[In].data[t],{directiveStart:m,componentOffset:D}=s;return D>-1?r[m+D]:null}(r.nodeIndex,s)}return r.component}function oM(t){if(t instanceof Text)return[];const r=Es(t),s=r?r.lView:null;if(null===s)return[];const m=s[In],D=r.nodeIndex;return m?.data[D]?(void 0===r.directives&&(r.directives=wm(D,s)),null===r.directives?[]:[...r.directives]):[]}function Dd(t){return Es(t).native}function TI(t,r){return t.name==r.name?0:t.name=0;s--){const m=r[s];if(t===m.name)return m}}(r,s.pipeRegistry),s.data[D]=m,m.onDestroy&&(s.destroyHooks??=[]).push(D,m.onDestroy)):m=s.data[D];const L=m.factory||(m.factory=gl(m.type)),ie=Wo(Mc);try{const me=ch(!1),Ne=L();return ch(me),WE(s,Sn(),D,Ne),Ne}finally{Wo(ie)}}function yM(t,r,s){const m=t+ar,D=Sn(),L=_o(D,m);return lu(D,m)?gM(D,yt(),r,L.transform,s,L):L.transform(s)}function Kv(t,r,s,m){const D=t+ar,L=Sn(),W=_o(L,D);return lu(L,D)?$v(L,yt(),r,W.transform,s,m,W):W.transform(s,m)}function bM(t,r,s,m,D){const L=t+ar,W=Sn(),ie=_o(W,L);return lu(W,L)?mM(W,yt(),r,ie.transform,s,m,D,ie):ie.transform(s,m,D)}function Qv(t,r,s,m,D,L){const W=t+ar,ie=Sn(),me=_o(ie,W);return lu(ie,W)?Gv(ie,yt(),r,me.transform,s,m,D,L,me):me.transform(s,m,D,L)}function CM(t,r,s){const m=t+ar,D=Sn(),L=_o(D,m);return lu(D,m)?pM(D,yt(),r,L.transform,s,L):L.transform.apply(L,s)}function lu(t,r){return t[In].data[r].pure}function SM(t,r){return Wh(t,r)}function Zv(t,r){return()=>{try{return Oc.getComponentDependencies(t,r).dependencies}catch(s){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,s),s}}}function EM(t,r){const s=fn(t);null!==s&&(s.debugInfo=r)}const ys={\u0275\u0275attribute:l_,\u0275\u0275attributeInterpolate1:c_,\u0275\u0275attributeInterpolate2:xf,\u0275\u0275attributeInterpolate3:u_,\u0275\u0275attributeInterpolate4:d_,\u0275\u0275attributeInterpolate5:Of,\u0275\u0275attributeInterpolate6:h_,\u0275\u0275attributeInterpolate7:f_,\u0275\u0275attributeInterpolate8:Lf,\u0275\u0275attributeInterpolateV:g_,\u0275\u0275defineComponent:_t,\u0275\u0275defineDirective:vn,\u0275\u0275defineInjectable:ni,\u0275\u0275defineInjector:Us,\u0275\u0275defineNgModule:Jt,\u0275\u0275definePipe:Cn,\u0275\u0275directiveInject:Mc,\u0275\u0275getInheritedFactory:ob,\u0275\u0275inject:ke,\u0275\u0275injectAttribute:fh,\u0275\u0275invalidFactory:a0,\u0275\u0275invalidFactoryDep:ze,\u0275\u0275templateRefExtractor:SM,\u0275\u0275resetView:Ii,\u0275\u0275HostDirectivesFeature:dd,\u0275\u0275NgOnChangesFeature:qg,\u0275\u0275ProvidersFeature:Rv,\u0275\u0275CopyDefinitionFeature:KC,\u0275\u0275InheritDefinitionFeature:gf,\u0275\u0275InputTransformsFeature:XC,\u0275\u0275StandaloneFeature:Fv,\u0275\u0275nextContext:jE,\u0275\u0275namespaceHTML:Ks,\u0275\u0275namespaceMathML:$l,\u0275\u0275namespaceSVG:ss,\u0275\u0275enableBindings:Ai,\u0275\u0275disableBindings:Ti,\u0275\u0275elementStart:Wf,\u0275\u0275elementEnd:vd,\u0275\u0275element:F_,\u0275\u0275elementContainerStart:Jc,\u0275\u0275elementContainerEnd:$f,\u0275\u0275elementContainer:Gf,\u0275\u0275pureFunction0:Hv,\u0275\u0275pureFunction1:cM,\u0275\u0275pureFunction2:Vv,\u0275\u0275pureFunction3:uM,\u0275\u0275pureFunction4:Yv,\u0275\u0275pureFunction5:dM,\u0275\u0275pureFunction6:zv,\u0275\u0275pureFunction7:hM,\u0275\u0275pureFunction8:Wv,\u0275\u0275pureFunctionV:fM,\u0275\u0275getCurrentView:uE,\u0275\u0275restoreView:Qi,\u0275\u0275listener:nv,\u0275\u0275projection:UE,\u0275\u0275syntheticHostProperty:Kf,\u0275\u0275syntheticHostListener:Md,\u0275\u0275pipeBind1:yM,\u0275\u0275pipeBind2:Kv,\u0275\u0275pipeBind3:bM,\u0275\u0275pipeBind4:Qv,\u0275\u0275pipeBindV:CM,\u0275\u0275projectionDef:BE,\u0275\u0275hostProperty:N_,\u0275\u0275property:b_,\u0275\u0275propertyInterpolate:iv,\u0275\u0275propertyInterpolate1:wd,\u0275\u0275propertyInterpolate2:ov,\u0275\u0275propertyInterpolate3:tg,\u0275\u0275propertyInterpolate4:sv,\u0275\u0275propertyInterpolate5:ng,\u0275\u0275propertyInterpolate6:av,\u0275\u0275propertyInterpolate7:lv,\u0275\u0275propertyInterpolate8:rg,\u0275\u0275propertyInterpolateV:cv,\u0275\u0275pipe:_M,\u0275\u0275queryRefresh:dv,\u0275\u0275queryAdvance:hv,\u0275\u0275viewQuery:HE,\u0275\u0275viewQuerySignal:zE,\u0275\u0275loadQuery:VE,\u0275\u0275contentQuery:uv,\u0275\u0275contentQuerySignal:YE,\u0275\u0275reference:fv,\u0275\u0275classMap:E_,\u0275\u0275classMapInterpolate1:A_,\u0275\u0275classMapInterpolate2:XS,\u0275\u0275classMapInterpolate3:Hf,\u0275\u0275classMapInterpolate4:JS,\u0275\u0275classMapInterpolate5:T_,\u0275\u0275classMapInterpolate6:qS,\u0275\u0275classMapInterpolate7:eE,\u0275\u0275classMapInterpolate8:Ul,\u0275\u0275classMapInterpolateV:tE,\u0275\u0275styleMap:xs,\u0275\u0275styleMapInterpolate1:$E,\u0275\u0275styleMapInterpolate2:gv,\u0275\u0275styleMapInterpolate3:GE,\u0275\u0275styleMapInterpolate4:mv,\u0275\u0275styleMapInterpolate5:KE,\u0275\u0275styleMapInterpolate6:pv,\u0275\u0275styleMapInterpolate7:QE,\u0275\u0275styleMapInterpolate8:ZE,\u0275\u0275styleMapInterpolateV:_v,\u0275\u0275styleProp:jf,\u0275\u0275stylePropInterpolate1:vv,\u0275\u0275stylePropInterpolate2:ig,\u0275\u0275stylePropInterpolate3:yv,\u0275\u0275stylePropInterpolate4:bv,\u0275\u0275stylePropInterpolate5:Cv,\u0275\u0275stylePropInterpolate6:ou,\u0275\u0275stylePropInterpolate7:Sv,\u0275\u0275stylePropInterpolate8:og,\u0275\u0275stylePropInterpolateV:Ev,\u0275\u0275classProp:S_,\u0275\u0275advance:o0,\u0275\u0275template:Bc,\u0275\u0275conditional:iE,\u0275\u0275defer:SS,\u0275\u0275deferWhen:n_,\u0275\u0275deferOnIdle:MS,\u0275\u0275deferOnImmediate:wS,\u0275\u0275deferOnTimer:DS,\u0275\u0275deferOnHover:AS,\u0275\u0275deferOnInteraction:TS,\u0275\u0275deferOnViewport:Pf,\u0275\u0275deferPrefetchWhen:ES,\u0275\u0275deferPrefetchOnIdle:r_,\u0275\u0275deferPrefetchOnImmediate:If,\u0275\u0275deferPrefetchOnTimer:i_,\u0275\u0275deferPrefetchOnHover:o_,\u0275\u0275deferPrefetchOnInteraction:IS,\u0275\u0275deferPrefetchOnViewport:PS,\u0275\u0275deferEnableTimerScheduling:t_,\u0275\u0275repeater:zf,\u0275\u0275repeaterCreate:O_,\u0275\u0275repeaterTrackByIndex:sE,\u0275\u0275repeaterTrackByIdentity:x_,\u0275\u0275componentInstance:nE,\u0275\u0275text:Mv,\u0275\u0275textInterpolate:sg,\u0275\u0275textInterpolate1:ag,\u0275\u0275textInterpolate2:su,\u0275\u0275textInterpolate3:wv,\u0275\u0275textInterpolate4:Dv,\u0275\u0275textInterpolate5:Av,\u0275\u0275textInterpolate6:Tv,\u0275\u0275textInterpolate7:Iv,\u0275\u0275textInterpolate8:lg,\u0275\u0275textInterpolateV:Pv,\u0275\u0275i18n:tv,\u0275\u0275i18nAttributes:OE,\u0275\u0275i18nExp:eg,\u0275\u0275i18nStart:q_,\u0275\u0275i18nEnd:ev,\u0275\u0275i18nApply:LE,\u0275\u0275i18nPostprocess:RE,\u0275\u0275resolveWindow:Vb,\u0275\u0275resolveDocument:Pm,\u0275\u0275resolveBody:Dh,\u0275\u0275setComponentScope:tM,\u0275\u0275setNgModuleScope:Nv,\u0275\u0275registerNgModuleType:ff,\u0275\u0275getComponentDepsFactory:Zv,\u0275setClassDebugInfo:EM,\u0275\u0275sanitizeHtml:_m,\u0275\u0275sanitizeStyle:vm,\u0275\u0275sanitizeResourceUrl:Ch,\u0275\u0275sanitizeScript:bm,\u0275\u0275sanitizeUrl:ym,\u0275\u0275sanitizeUrlOrResourceUrl:xa,\u0275\u0275trustConstantHtml:Pb,\u0275\u0275trustConstantResourceUrl:Cm,\u0275\u0275validateIframeAttribute:ud,forwardRef:to,resolveForwardRef:Dr,\u0275\u0275twoWayProperty:cg,\u0275\u0275twoWayBindingSet:JE,\u0275\u0275twoWayListener:ug,\u0275\u0275InputFlags:ct};let cu=null;function wM(){cu=null}const uu=[];let fg=!1;function DM(){if(!fg){fg=!0;try{for(let t=uu.length-1;t>=0;t--){const{moduleType:r,ngModule:s}=uu[t];s.declarations&&s.declarations.every(Xv)&&(uu.splice(t,1),kM(r,s))}}finally{fg=!1}}}function Xv(t){return Array.isArray(t)?t.every(Xv):!!Dr(t)}function AM(t,r={}){Jv(t,r),void 0!==r.id&&ff(t,r.id),function PI(t,r){uu.push({moduleType:t,ngModule:r})}(t,r)}function Jv(t,r,s=!1){const m=ls(r.declarations||Jn);let D=null;Object.defineProperty(t,Qn,{configurable:!0,get:()=>(null===D&&(D=qo().compileNgModule(ys,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:ls(r.bootstrap||Jn).map(Dr),declarations:m.map(Dr),imports:ls(r.imports||Jn).map(Dr).map(OM),exports:ls(r.exports||Jn).map(Dr).map(OM),schemas:r.schemas?ls(r.schemas):null,id:r.id||null}),D.schemas||(D.schemas=[])),D)});let L=null;Object.defineProperty(t,or,{get:()=>{if(null===L){const ie=qo();L=ie.compileFactory(ys,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:gh(t),target:ie.FactoryTarget.NgModule,typeArgumentCount:0})}return L},configurable:!1});let W=null;Object.defineProperty(t,de,{get:()=>{if(null===W){const ie={name:t.name,type:t,providers:r.providers||Jn,imports:[(r.imports||Jn).map(Dr),(r.exports||Jn).map(Dr)]};W=qo().compileInjector(ys,`ng:///${t.name}/\u0275inj.js`,ie)}return W},configurable:!1})}function TM(t,r){return`Unexpected "${Bi(t)}" found in the "declarations" array of the ${r}, "${Bi(t)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}let mg=new WeakMap,pg=new WeakMap;function kI(){mg=new WeakMap,pg=new WeakMap,uu.length=0,lo.clear()}function kM(t,r){const s=ls(r.declarations||Jn),m=Yl(t);s.forEach(D=>{(D=Dr(D)).hasOwnProperty(pi)?ey(fn(D),m):!D.hasOwnProperty(en)&&!D.hasOwnProperty(jn)&&(D.ngSelectorScope=t)})}function ey(t,r){t.directiveDefs=()=>Array.from(r.compilation.directives).map(s=>s.hasOwnProperty(pi)?fn(s):Gt(s)).filter(s=>!!s),t.pipeDefs=()=>Array.from(r.compilation.pipes).map(s=>Nn(s)),t.schemas=r.schemas,t.tView=null}function Yl(t){if(Qa(t)){if(sd){const r=Oc.getNgModuleScope(t);return{schemas:cr(t,!0).schemas||null,...r}}return function xM(t){const r=cr(t,!0);if(null!==r.transitiveCompileScopes)return r.transitiveCompileScopes;const s={schemas:r.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Ns(r.imports).forEach(m=>{const D=Yl(m);D.exported.directives.forEach(L=>s.compilation.directives.add(L)),D.exported.pipes.forEach(L=>s.compilation.pipes.add(L))}),Ns(r.declarations).forEach(m=>{Nn(m)?s.compilation.pipes.add(m):s.compilation.directives.add(m)}),Ns(r.exports).forEach(m=>{const D=m;if(Qa(D)){const L=Yl(D);L.exported.directives.forEach(W=>{s.compilation.directives.add(W),s.exported.directives.add(W)}),L.exported.pipes.forEach(W=>{s.compilation.pipes.add(W),s.exported.pipes.add(W)})}else Nn(D)?s.exported.pipes.add(D):s.exported.directives.add(D)}),r.transitiveCompileScopes=s,s}(t)}if(lr(t)){if(null!==(fn(t)||Gt(t)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([t]),pipes:new Set}};if(null!==Nn(t))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([t])}}}throw new Error(`${t.name} does not have a module def (\u0275mod property)`)}function OM(t){return Dp(t)?t.ngModule:t}let ty=0;function LM(t,r){let s=null;(function $A(t,r){VC(r)&&(Nc.set(t,r),jc.add(t))})(t,r),NM(t,r),Object.defineProperty(t,pi,{get:()=>{if(null===s){const m=qo();if(VC(r)){const Ne=[`Component '${t.name}' is not resolved:`];throw r.templateUrl&&Ne.push(` - templateUrl: ${r.templateUrl}`),r.styleUrls&&r.styleUrls.length&&Ne.push(` - styleUrls: ${JSON.stringify(r.styleUrls)}`),r.styleUrl&&Ne.push(` - styleUrl: ${r.styleUrl}`),Ne.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(Ne.join("\n"))}const D=function II(){return cu}();let L=r.preserveWhitespaces;void 0===L&&(L=null!==D&&void 0!==D.preserveWhitespaces&&D.preserveWhitespaces);let W=r.encapsulation;void 0===W&&(W=null!==D&&void 0!==D.defaultEncapsulation?D.defaultEncapsulation:br.Emulated);const ie=r.templateUrl||`ng:///${t.name}/template.html`,me={...jM(t,r),typeSourceSpan:m.createParseSourceSpan("Component",t.name,ie),template:r.template||"",preserveWhitespaces:L,styles:"string"==typeof r.styles?[r.styles]:r.styles||Jn,animations:r.animations,declarations:[],changeDetection:r.changeDetection,encapsulation:W,interpolation:r.interpolation,viewProviders:r.viewProviders||null};ty++;try{if(me.usesInheritance&&Ad(t),s=m.compileComponent(ys,ie,me),r.standalone){const Ne=ls(r.imports||Jn),{directiveDefs:Je,pipeDefs:Et}=function xI(t,r){let s=null,m=null;return{directiveDefs:()=>{if(sd)return od(t)?[...Oc.getStandaloneComponentScope(t,r).compilation.directives].map(ie=>fn(ie)||Gt(ie)).filter(ie=>null!==ie):[];if(null===s){s=[fn(t)];const W=new Set([t]);for(const ie of r){const me=Dr(ie);if(!W.has(me))if(W.add(me),cr(me)){const Ne=Yl(me);for(const Je of Ne.exported.directives){const Et=fn(Je)||Gt(Je);Et&&!W.has(Je)&&(W.add(Je),s.push(Et))}}else{const Ne=fn(me)||Gt(me);Ne&&s.push(Ne)}}}return s},pipeDefs:()=>{if(sd)return od(t)?[...Oc.getStandaloneComponentScope(t,r).compilation.pipes].map(ie=>Nn(ie)).filter(ie=>null!==ie):[];if(null===m){m=[];const W=new Set;for(const ie of r){const me=Dr(ie);if(!W.has(me))if(W.add(me),cr(me)){const Ne=Yl(me);for(const Je of Ne.exported.pipes){const Et=Nn(Je);Et&&!W.has(Je)&&(W.add(Je),m.push(Et))}}else{const Ne=Nn(me);Ne&&m.push(Ne)}}}return m}}}(t,Ne);s.directiveDefs=Je,s.pipeDefs=Et,s.dependencies=()=>Ne.map(Dr)}}finally{ty--}if(0===ty&&DM(),function RM(t){return void 0!==t.ngSelectorScope}(t)){const Ne=Yl(t.ngSelectorScope);ey(s,Ne)}if(r.schemas){if(!r.standalone)throw new Error(`The 'schemas' was specified for the ${Bi(t)} but is only valid on a component that is standalone.`);s.schemas=r.schemas}else r.standalone&&(s.schemas=[])}return s},configurable:!1})}function ny(t,r){let s=null;NM(t,r||{}),Object.defineProperty(t,en,{get:()=>{if(null===s){const m=FM(t,r||{});s=qo().compileDirective(ys,m.sourceMapUrl,m.metadata)}return s},configurable:!1})}function FM(t,r){const s=t&&t.name,m=`ng:///${s}/\u0275dir.js`,D=qo(),L=jM(t,r);return L.typeSourceSpan=D.createParseSourceSpan("Directive",s,m),L.usesInheritance&&Ad(t),{metadata:L,sourceMapUrl:m}}function NM(t,r){let s=null;Object.defineProperty(t,or,{get:()=>{if(null===s){const m=FM(t,r),D=qo();s=D.compileFactory(ys,`ng:///${t.name}/\u0275fac.js`,{name:m.metadata.name,type:m.metadata.type,typeArgumentCount:0,deps:gh(t),target:D.FactoryTarget.Directive})}return s},configurable:!1})}function qP(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function jM(t,r){const s=lm(),m=s.ownPropMetadata(t);return{name:t.name,type:t,selector:void 0!==r.selector?r.selector:null,host:r.host||pr,propMetadata:m,inputs:r.inputs||Jn,outputs:r.outputs||Jn,queries:BM(t,m,UM),lifecycle:{usesOnChanges:s.hasLifecycleHook(t,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!qP(t),exportAs:RI(r.exportAs),providers:r.providers||null,viewQueries:BM(t,m,HM),isStandalone:!!r.standalone,isSignal:!!r.signals,hostDirectives:r.hostDirectives?.map(D=>"function"==typeof D?{directive:D}:D)||null}}function Ad(t){const r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;)!Gt(s)&&!fn(s)&&YM(s)&&ny(s,null),s=Object.getPrototypeOf(s)}function OI(t){return"string"==typeof t?VM(t):Dr(t)}function LI(t,r){return{propertyName:t,predicate:OI(r.selector),descendants:r.descendants,first:r.first,read:r.read?r.read:null,static:!!r.static,emitDistinctChangesOnly:!!r.emitDistinctChangesOnly,isSignal:!!r.isSignal}}function BM(t,r,s){const m=[];for(const D in r)if(r.hasOwnProperty(D)){const L=r[D];L.forEach(W=>{if(s(W)){if(!W.selector)throw new Error(`Can't construct a query for the property "${D}" of "${Bi(t)}" since the query selector wasn't defined.`);if(L.some(Td))throw new Error("Cannot combine @Input decorators with query decorators");m.push(LI(D,W))}})}return m}function RI(t){return void 0===t?null:VM(t)}function UM(t){const r=t.ngMetadataName;return"ContentChild"===r||"ContentChildren"===r}function HM(t){const r=t.ngMetadataName;return"ViewChild"===r||"ViewChildren"===r}function Td(t){return"Input"===t.ngMetadataName}function VM(t){return t.split(",").map(r=>r.trim())}const FI=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function YM(t){const r=lm();if(FI.some(m=>r.hasLifecycleHook(t,m)))return!0;const s=r.propMetadata(t);for(const m in s){const D=s[m];for(let L=0;L{if(null===m){const D=ry(t,r),L=qo();m=L.compileFactory(ys,`ng:///${D.name}/\u0275fac.js`,{name:D.name,type:D.type,typeArgumentCount:0,deps:gh(t),target:L.FactoryTarget.Pipe})}return m},configurable:!1}),Object.defineProperty(t,jn,{get:()=>{if(null===s){const D=ry(t,r);s=qo().compilePipe(ys,`ng:///${D.name}/\u0275pipe.js`,D)}return s},configurable:!1})}function ry(t,r){return{type:t,name:t.name,pipeName:r.name,pure:void 0===r.pure||r.pure,isStandalone:!!r.standalone}}const WM=Au("Directive",(t={})=>t,void 0,void 0,(t,r)=>ny(t,r)),NI=Au("Component",(t={})=>({changeDetection:Er.Default,...t}),WM,void 0,(t,r)=>LM(t,r)),$M=Au("Pipe",t=>({pure:!0,...t}),void 0,void 0,(t,r)=>zM(t,r)),jI=Va("Input",t=>t?"string"==typeof t?{alias:t}:t:{}),du=Va("Output",t=>({alias:t})),BI=Va("HostBinding",t=>({hostPropertyName:t})),iy=Va("HostListener",(t,r)=>({eventName:t,args:r})),UI=Au("NgModule",t=>t,void 0,void 0,(t,r)=>AM(t,r));class GM{constructor(r){this.full=r;const s=r.split(".");this.major=s[0],this.minor=s[1],this.patch=s.slice(2).join(".")}}const KM=new GM("17.2.3");let QM=(()=>{class t{log(s){console.log(s)}warn(s){console.warn(s)}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const ay=new it(""),dw=new it("");let cy,eP=(()=>{class t{constructor(s,m,D){this._ngZone=s,this.registry=m,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,cy||(ly(D),D.addToWindow(m)),this._watchAngularEvents(),s.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Oo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let s=this._callbacks.pop();clearTimeout(s.timeoutId),s.doneCb()}});else{let s=this.getPendingTasks();this._callbacks=this._callbacks.filter(m=>!m.updateCb||!m.updateCb(s)||(clearTimeout(m.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(s=>({source:s.source,creationLocation:s.creationLocation,data:s.data})):[]}addCallback(s,m,D){let L=-1;m&&m>0&&(L=setTimeout(()=>{this._callbacks=this._callbacks.filter(W=>W.timeoutId!==L),s()},m)),this._callbacks.push({doneCb:s,timeoutId:L,updateCb:D})}whenStable(s,m,D){if(D&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(s,m,D),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(s){this.registry.registerApplication(s,this)}unregisterApplication(s){this.registry.unregisterApplication(s)}findProviders(s,m,D){return[]}static#e=this.\u0275fac=function(m){return new(m||t)(ke(Oo),ke(hw),ke(dw))};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac})}return t})(),hw=(()=>{class t{constructor(){this._applications=new Map}registerApplication(s,m){this._applications.set(s,m)}unregisterApplication(s){this._applications.delete(s)}unregisterAllApplications(){this._applications.clear()}getTestability(s){return this._applications.get(s)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(s,m=!0){return cy?.findTestabilityInTree(this,s,m)??null}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function ly(t){cy=t}function uy(t){return!!t&&"function"==typeof t.then}function dy(t){return!!t&&"function"==typeof t.subscribe}const fw=new it("");let _g=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,m)=>{this.resolve=s,this.reject=m}),this.appInits=lt(fw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const s=[];for(const D of this.appInits){const L=D();if(uy(L))s.push(L);else if(dy(L)){const W=new Promise((ie,me)=>{L.subscribe({complete:ie,error:me})});s.push(W)}}const m=()=>{this.done=!0,this.resolve()};Promise.all(s).then(()=>{m()}).catch(D=>{this.reject(D)}),0===s.length&&m(),this.initialized=!0}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hy=new it("");function gw(){!function Z(t){se=t}(()=>{throw new nt(600,!1)})}function Na(t){return t.isBoundToModule}class tP{constructor(r,s){this.name=r,this.token=s}}function fy(t,r,s){try{const m=s();return uy(m)?m.catch(D=>{throw r.runOutsideAngular(()=>t.handleError(D)),D}):m}catch(m){throw r.runOutsideAngular(()=>t.handleError(m)),m}}function mw(t,r){return Array.isArray(r)?r.reduce(mw,t):{...t,...r}}let kd,ja=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=lt(_b),this.afterRenderEffectManager=lt(Pl),this.componentTypes=[],this.components=[],this.isStable=lt(fd).hasPendingTasks.pipe((0,mt.k)(s=>!s)),this._injector=lt(Js)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(s,m){const D=s instanceof Ju;if(!this._injector.get(_g).done)throw!D&&lr(s),new nt(405,!1);let W;W=D?s:this._injector.get(qu).resolveComponentFactory(s),this.componentTypes.push(W.componentType);const ie=Na(W)?void 0:this._injector.get(kl),Ne=W.create(Rs.NULL,[],m||W.selector,ie),Je=Ne.location.nativeElement,Et=Ne.injector.get(ay,null);return Et?.registerApplication(Je),Ne.onDestroy(()=>{this.detachView(Ne.hostView),vg(this.components,Ne),Et?.unregisterApplication(Je)}),this._loadComponent(Ne),Ne}tick(){if(this._runningTick)throw new nt(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(s){this.internalErrorHandler(s)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let s=0;const m=this.afterRenderEffectManager;for(;;){if(100===s)throw new nt(103,!1);const D=0===s;for(let{_lView:L,notifyErrorHandler:W}of this._views)!D&&!yg(L)||this.detectChangesInView(L,W,D);if(s++,m.executeInternalCallbacks(),!this._views.some(({_lView:L})=>yg(L))&&(m.execute(),!this._views.some(({_lView:L})=>yg(L))))break}}detectChangesInView(s,m,D){let L;D?(L=0,s[Gn]|=1024):L=64&s[Gn]?0:1,Ac(s,m,L)}attachView(s){const m=s;this._views.push(m),m.attachToAppRef(this)}detachView(s){const m=s;vg(this._views,m),m.detachFromAppRef()}_loadComponent(s){this.attachView(s.hostView),this.tick(),this.components.push(s);const m=this._injector.get(hy,[]);[...this._bootstrapListeners,...m].forEach(D=>D(s))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(s=>s()),this._views.slice().forEach(s=>s.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(s){return this._destroyListeners.push(s),()=>vg(this._destroyListeners,s)}destroy(){if(this._destroyed)throw new nt(406,!1);const s=this._injector;s.destroy&&!s.destroyed&&s.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vg(t,r){const s=t.indexOf(r);s>-1&&t.splice(s,1)}function pw(t){kd??=new WeakMap;const r=kd.get(t);if(r)return r;const s=t.isStable.pipe((0,Qe.K)(m=>m)).toPromise().then(()=>{});return kd.set(t,s),t.onDestroy(()=>kd?.delete(t)),s}function yg(t){return ge(t)}class _w{constructor(r,s){this.ngModuleFactory=r,this.componentFactories=s}}let vw=(()=>{class t{compileModuleSync(s){return new _f(s)}compileModuleAsync(s){return Promise.resolve(this.compileModuleSync(s))}compileModuleAndAllComponentsSync(s){const m=this.compileModuleSync(s),L=Ns(cr(s).declarations).reduce((W,ie)=>{const me=fn(ie);return me&&W.push(new Lc(me)),W},[]);return new _w(m,L)}compileModuleAndAllComponentsAsync(s){return Promise.resolve(this.compileModuleAndAllComponentsSync(s))}clearCache(){}clearCacheFor(s){}getModuleId(s){}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const yw=new it("");class bw{}function Cw(t,r,s){const m=new _f(s);return Promise.resolve(m)}let Ew=(()=>{class t{constructor(){this.zone=lt(Oo),this.applicationRef=lt(ja)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gy(t){return[{provide:Oo,useFactory:t},{provide:Ps,multi:!0,useFactory:()=>{const r=lt(Ew,{optional:!0});return()=>r.initialize()}},{provide:Ps,multi:!0,useFactory:()=>{const r=lt(rP);return()=>{r.initialize()}}},{provide:_b,useFactory:nP}]}function nP(){const t=lt(Oo),r=lt(Fs);return s=>t.runOutsideAngular(()=>r.handleError(s))}function Mw(t){return Iu([[],gy(()=>new Oo(xd(t)))])}function xd(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let rP=(()=>{class t{constructor(){this.subscription=new ot.wH,this.initialized=!1,this.zone=lt(Oo),this.pendingTasks=lt(fd)}initialize(){if(this.initialized)return;this.initialized=!0;let s=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(s=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Oo.assertNotInAngularZone(),queueMicrotask(()=>{null!==s&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(s),s=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Oo.assertInAngularZone(),s??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const bg=new it("",{providedIn:"root",factory:()=>lt(bg,gt.Optional|gt.SkipSelf)||function my(){return typeof $localize<"u"&&$localize.locale||qa}()}),ww=new it("",{providedIn:"root",factory:()=>"USD"}),iP=new it(""),Dw=new it("");var Aw=function(t){return t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore",t}(Aw||{});const Cg=new it("");let py=(()=>{class t{constructor(s){this._injector=s,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(s,m){const D=function rC(t="zone.js",r){return"noop"===t?new Mp:"zone.js"===t?new Oo(r):t}(m?.ngZone,xd({eventCoalescing:m?.ngZoneEventCoalescing,runCoalescing:m?.ngZoneRunCoalescing}));return D.run(()=>{const L=function rT(t,r,s){return new pf(t,r,s)}(s.moduleType,this.injector,gy(()=>D)),W=L.injector.get(Fs,null);return D.runOutsideAngular(()=>{const ie=D.onError.subscribe({next:me=>{W.handleError(me)}});L.onDestroy(()=>{vg(this._modules,L),ie.unsubscribe()})}),fy(W,D,()=>{const ie=L.injector.get(_g);return ie.runInitializers(),ie.donePromise.then(()=>(j_(L.injector.get(bg,qa)||qa),this._moduleDoBootstrap(L),L))})})}bootstrapModule(s,m=[]){const D=mw({},m);return Cw(0,0,s).then(L=>this.bootstrapModuleFactory(L,D))}_moduleDoBootstrap(s){const m=s.injector.get(ja);if(s._bootstrapComponents.length>0)s._bootstrapComponents.forEach(D=>m.bootstrap(D));else{if(!s.instance.ngDoBootstrap)throw new nt(-403,!1);s.instance.ngDoBootstrap(m)}this._modules.push(s)}onDestroy(s){this._destroyListeners.push(s)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new nt(404,!1);this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m());const s=this._injector.get(Cg,null);s&&(s.forEach(m=>m()),s.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(m){return new(m||t)(ke(Rs))};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),Ba=null;const _y=new it("");function vy(t){if(Ba&&!Ba.get(_y,!1))throw new nt(400,!1);gw(),Ba=t;const r=t.get(py);return kw(t),r}function Tw(t,r,s=[]){const m=`Platform: ${r}`,D=new it(m);return(L=[])=>{let W=Od();if(!W||W.injector.get(_y,!1)){const ie=[...s,...L,{provide:D,useValue:!0}];t?t(ie):vy(yy(ie,m))}return Iw()}}function yy(t=[],r){return Rs.create({name:r,providers:[{provide:qd,useValue:"platform"},{provide:Cg,useValue:new Set([()=>Ba=null])},...t]})}function Iw(t){const r=Od();if(!r)throw new nt(401,!1);return r}function Od(){return Ba?.get(py)??null}function oP(){Od()?.destroy()}function kw(t){t.get(ln,null)?.forEach(s=>s())}function xw(){return!1}function sP(){}function Ow(t){const r=Hp(t);if(!r)throw Sg(t);return new _f(r)}function aP(t){const r=Hp(t);if(!r)throw Sg(t);return r}function Sg(t){return new Error(`No module with ID ${t} loaded`)}class Lw extends Cp{}class Rw extends Lw{}class Fw{constructor(r,s){this.name=r,this.callback=s}}function lP(t){return t.map(r=>r.nativeElement)}class Eg{constructor(r){this.nativeNode=r}get parent(){const r=this.nativeNode.parentNode;return r?new Ld(r):null}get injector(){return function iM(t){const r=Es(t),s=r?r.lView:null;return null===s?Rs.NULL:new es(s[In].data[r.nodeIndex],s)}(this.nativeNode)}get componentInstance(){const r=this.nativeNode;return r&&(jv(r)||function rM(t){const r=Es(t);let m,s=r?r.lView:null;if(null===s)return null;for(;2===s[In].type&&(m=Ht(s));)s=m;return 512&s[Gn]?null:s[Zr]}(r))}get context(){return jv(this.nativeNode)||function Bv(t){!function aM(t){if(typeof Element<"u"&&!(t instanceof Element))throw new Error("Expecting instance of DOM Element")}(t);const r=Es(t),s=r?r.lView:null;return null===s?null:s[Zr]}(this.nativeNode)}get listeners(){return function sM(t){const r=Es(t),s=null===r?null:r.lView;if(null===s)return[];const D=s[ti],L=s[In].cleanup,W=[];if(L&&D)for(let ie=0;ie=0?"dom":"output"})}}return W.sort(TI),W}(this.nativeNode).filter(r=>"dom"===r.type)}get references(){return function AI(t){const r=Es(t);if(null===r)return{};if(void 0===r.localRefs){const s=r.lView;if(null===s)return{};r.localRefs=function JD(t,r){const s=t[In].data[r];if(s&&s.localNames){const m={};let D=s.index+1;for(let L=0;L1){let Je=me[1];for(let Et=1;Etr[L]=!0),r}get childNodes(){const r=this.nativeNode.childNodes,s=[];for(let m=0;m{if(L.name===r){const W=L.callback;W.call(m,s),D.push(W)}}),"function"==typeof m.eventListeners&&m.eventListeners(r).forEach(L=>{if(-1!==L.toString().indexOf("__ngUnwrap__")){const W=L("__ngUnwrap__");return-1===D.indexOf(W)&&W.call(m,s)}})}}function cP(t){return"string"==typeof t||"boolean"==typeof t||"number"==typeof t||null===t}function by(t,r,s,m){const D=Es(t.nativeNode),L=D?D.lView:null;null!==L?Wl(L[In].data[D.nodeIndex],L,r,s,m,t.nativeNode):Mg(t.nativeNode,r,s,m)}function Wl(t,r,s,m,D,L){const W=function Xo(t,r){const s=null===t?-1:t.index;return-1!==s?Ur(r[s]):null}(t,r);if(11&t.type){if(Sy(W,s,m,D,L),Oi(t)){const me=Di(t.index,r);me&&me[In].firstChild&&Wl(me[In].firstChild,me,s,m,D,L)}else t.child&&Wl(t.child,r,s,m,D,L),W&&Mg(W,s,m,D);const ie=r[t.index];Gr(ie)&&Cy(ie,s,m,D,L)}else if(4&t.type){const ie=r[t.index];Sy(ie[yi],s,m,D,L),Cy(ie,s,m,D,L)}else if(16&t.type){const ie=r[Jr],Ne=ie[ai].projection[t.projection];if(Array.isArray(Ne))for(let Je of Ne)Sy(Je,s,m,D,L);else if(Ne){const Je=ie[si];Wl(Je[In].data[Ne.index],Je,s,m,D,L)}}else t.child&&Wl(t.child,r,s,m,D,L);if(L!==W){const ie=2&t.flags?t.projectionNext:t.next;ie&&Wl(ie,r,s,m,D,L)}}function Cy(t,r,s,m,D){for(let L=zr;L{class t{constructor(s){}static#e=this.\u0275fac=function(m){return new(m||t)(ke(ja))};static#t=this.\u0275mod=Jt({type:t});static#n=this.\u0275inj=Us({})}return t})();function gi(t){}function jr(t,r){!r&&pl();const s=r?.injector??lt(Rs),m=s.get(ja);let D=!1;const L=()=>{D||m.destroyed||(D=!0,t())};rf(L,{injector:s,runOnServer:!0}),queueMicrotask(()=>{L()})}function Ho(t){try{const{rootComponent:r,appProviders:s,platformProviders:m}=t,D=function Pw(t=[]){if(Ba)return Ba;const r=yy(t);return Ba=r,gw(),kw(r),r}(m),L=[Mw(),...s||[]],ie=new tS({providers:L,parent:D,debugName:"",runEnvironmentInitializers:!1}).injector,me=ie.get(Oo);return me.run(()=>{ie.resolveInjectorInitializers();const Ne=ie.get(Fs,null);let Je;me.runOutsideAngular(()=>{Je=me.onError.subscribe({next:Qt=>{Ne.handleError(Qt)}})});const Et=()=>ie.destroy(),Ut=D.get(Cg);return Ut.add(Et),ie.onDestroy(()=>{Je.unsubscribe(),Ut.delete(Et)}),fy(Ne,me,()=>{const Qt=ie.get(_g);return Qt.runInitializers(),Qt.donePromise.then(()=>{j_(ie.get(bg,qa)||qa);const kn=ie.get(ja);return void 0!==r&&kn.bootstrap(r),kn})})})}catch(r){return Promise.reject(r)}}let ia=(()=>{class t{constructor(){this.appRef=lt(ja),this.taskService=lt(fd),this.pendingRenderTaskId=null}notify(){null===this.pendingRenderTaskId&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){var s=this;return(0,n.c)(function*(){const m=new Promise(L=>setTimeout(L)),D="function"==typeof Rn.requestAnimationFrame?new Promise(L=>requestAnimationFrame(()=>L())):null;yield Promise.race([m,D]),s.tick()})()}tick(){try{this.appRef.destroyed||this.appRef.tick()}finally{const s=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(s)}}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ua(){return Iu([{provide:hp,useExisting:ia},{provide:Oo,useClass:Mp}])}function Ag(t,r){const s=t[In];for(let m=ar;m0&&Ne===m){const Je=s[s.length-1];Je[dl]??=1,Je[dl]++}else m=Ne,s.push(me)}return s}function Ww(t,r,s){const m=r.index-ar;t[Ng]??={},t[Ng][m]=j0(r,s)}function hk(t,r){const s=r.index-ar;t[Vd]??=[],t[Vd].includes(s)||t[Vd].push(s)}function fk(t,r){const s={},m=t[In];for(let D=ar;D{let t=!0;return Ga()&&(t=!!lt(Eu,{optional:!0})?.get(jg,null)),t&&zs("NgHydration"),t}},{provide:Ps,useValue:()=>{Ga()&<(_c)&&(function Ak(){const t=No();let r;for(const s of t.body.childNodes)if(s.nodeType===Node.COMMENT_NODE&&s.textContent?.trim()===wu){r=s;break}if(!r)throw new nt(-507,!1)}(),function Mk(){gk||(gk=!0,function Qw(){ky=Kw}(),function aE(){Xc=OT}(),function bI(){XE=yI}(),function RT(){lE=cE}(),function $p(){Wp=oT}(),function LA(){yC=CC,cf=OA}(),function dp(){up=rA}(),function C1(){Wm=b1}())}())},multi:!0},{provide:um,useFactory:()=>Ga()&<(_c)},{provide:hy,useFactory:()=>{if(Ga()&<(_c)){const t=lt(ja);return lt(Rs),()=>{(function wk(t,r){return pw(t)})(t).then(()=>{Oo.assertInAngularZone(),function X1(t){const r=t._views;for(const s of r){const m=xy(s);null!==m&&null!==m[_r]&&(Ni(m)?Zu(m):(Zu(m[_r]),F0(m)))}}(t)})}}return()=>{}},multi:!0}])}function Tk(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function Ik(t,r=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?r:Number(t)}function Pk(t){return qo().compileDirectiveDeclaration(ys,`ng:///${t.type.name}/\u0275fac.js`,t)}function kk(t){rS(t.type,t.decorators,t.ctorParameters??null,t.propDecorators??null)}function xk(t){return qo().compileComponentDeclaration(ys,`ng:///${t.type.name}/\u0275cmp.js`,t)}function Ok(t){return qo(function Lk(t){switch(t){case _l.Directive:return"directive";case _l.Component:return"component";case _l.Injectable:return"injectable";case _l.Pipe:return"pipe";case _l.NgModule:return"NgModule"}}(t.target)).compileFactoryDeclaration(ys,`ng:///${t.type.name}/\u0275fac.js`,t)}function Rk(t){return qo().compileInjectableDeclaration(ys,`ng:///${t.type.name}/\u0275prov.js`,t)}function Fk(t){return qo().compileInjectorDeclaration(ys,`ng:///${t.type.name}/\u0275inj.js`,t)}function Nk(t){return qo().compileNgModuleDeclaration(ys,`ng:///${t.type.name}/\u0275mod.js`,t)}function jk(t){return qo().compilePipeDeclaration(ys,`ng:///${t.type.name}/\u0275pipe.js`,t)}function Bk(t,r){const s=fn(t),m=r.elementInjector||Aa();return new Lc(s).create(m,r.projectableNodes,r.hostElement,r.environmentInjector)}function Uk(t){const r=fn(t);if(!r)return null;const s=new Lc(r);return{get selector(){return s.selector},get type(){return s.componentType},get inputs(){return s.inputs},get outputs(){return s.outputs},get ngContentSelectors(){return s.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}function Hk(...t){return t.reduce((r,s)=>Object.assign(r,s,{providers:[...r.providers,...s.providers]}),{providers:[]})}},44716:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{AbstractControl:()=>Br,AbstractControlDirective:()=>Xe,AbstractFormGroupDirective:()=>rt,COMPOSITION_BUFFER_MODE:()=>A,CheckboxControlValueAccessor:()=>b,CheckboxRequiredValidator:()=>Lo,ControlContainer:()=>nt,DefaultValueAccessor:()=>I,EmailValidator:()=>Zi,FormArray:()=>Ki,FormArrayName:()=>Xr,FormBuilder:()=>co,FormControl:()=>Ae,FormControlDirective:()=>si,FormControlName:()=>Yi,FormGroup:()=>sr,FormGroupDirective:()=>ai,FormGroupName:()=>ti,FormRecord:()=>Rn,FormsModule:()=>hs,MaxLengthValidator:()=>Co,MaxValidator:()=>Mo,MinLengthValidator:()=>Gi,MinValidator:()=>zr,NG_ASYNC_VALIDATORS:()=>P,NG_VALIDATORS:()=>T,NG_VALUE_ACCESSOR:()=>f,NgControl:()=>Pt,NgControlStatus:()=>An,NgControlStatusGroup:()=>_n,NgForm:()=>z,NgModel:()=>Gt,NgModelGroup:()=>vn,NgSelectOption:()=>qi,NonNullableFormBuilder:()=>Fo,NumberValueAccessor:()=>cr,PatternValidator:()=>wo,RadioControlValueAccessor:()=>lo,RangeValueAccessor:()=>_r,ReactiveFormsModule:()=>Qo,RequiredValidator:()=>Gr,SelectControlValueAccessor:()=>zi,SelectMultipleControlValueAccessor:()=>xi,UntypedFormArray:()=>uo,UntypedFormBuilder:()=>Do,UntypedFormControl:()=>fe,UntypedFormGroup:()=>br,VERSION:()=>Ko,Validators:()=>N,isFormArray:()=>So,isFormControl:()=>De,isFormGroup:()=>qn,isFormRecord:()=>oi,\u0275InternalFormsSharedModule:()=>rs,\u0275NgNoValidate:()=>Nn,\u0275NgSelectMultipleOption:()=>qr});var n=o(54496),i=o(91368),d=o(74496),a=o(53252),l=o(64300),e=o(50560),u=o(59472),c=o(87773),g=o(74187),v=o(67904),S=o(54704);let C=(()=>{class Ye{constructor(Ie,ft){this._renderer=Ie,this._elementRef=ft,this.onChange=Ot=>{},this.onTouched=()=>{}}setProperty(Ie,ft){this._renderer.setProperty(this._elementRef.nativeElement,Ie,ft)}registerOnTouched(Ie){this.onTouched=Ie}registerOnChange(Ie){this.onChange=Ie}setDisabledState(Ie){this.setProperty("disabled",Ie)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye})}return Ye})(),_=(()=>{class Ye extends C{static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,features:[n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const f=new n.InjectionToken(""),y={provide:f,useExisting:(0,n.forwardRef)(()=>b),multi:!0};let b=(()=>{class Ye extends _{writeValue(Ie){this.setProperty("checked",Ie)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("change",function(Vn){return Ot.onChange(Vn.target.checked)})("blur",function(){return Ot.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([y]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const E={provide:f,useExisting:(0,n.forwardRef)(()=>I),multi:!0},A=new n.InjectionToken("");let I=(()=>{class Ye extends C{constructor(Ie,ft,Ot){super(Ie,ft),this._compositionMode=Ot,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function M(){const Ye=(0,i.\u0275getDOM)()?(0,i.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(Ye.toLowerCase())}())}writeValue(Ie){this.setProperty("value",Ie??"")}_handleInput(Ie){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ie)}_compositionStart(){this._composing=!0}_compositionEnd(Ie){this._composing=!1,this._compositionMode&&this.onChange(Ie)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(A,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,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(ft,Ot){1&ft&&n.\u0275\u0275listener("input",function(Vn){return Ot._handleInput(Vn.target.value)})("blur",function(){return Ot.onTouched()})("compositionstart",function(){return Ot._compositionStart()})("compositionend",function(Vn){return Ot._compositionEnd(Vn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([E]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();function F(Ye){return null==Ye||("string"==typeof Ye||Array.isArray(Ye))&&0===Ye.length}function j(Ye){return null!=Ye&&"number"==typeof Ye.length}const T=new n.InjectionToken(""),P=new n.InjectionToken(""),x=/^(?=.{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])?)*$/;class N{static min(Ke){return O(Ke)}static max(Ke){return H(Ke)}static required(Ke){return G(Ke)}static requiredTrue(Ke){return te(Ke)}static email(Ke){return ue(Ke)}static minLength(Ke){return se(Ke)}static maxLength(Ke){return K(Ke)}static pattern(Ke){return Z(Ke)}static nullValidator(Ke){return null}static compose(Ke){return ye(Ke)}static composeAsync(Ke){return ve(Ke)}}function O(Ye){return Ke=>{if(F(Ke.value)||F(Ye))return null;const Ie=parseFloat(Ke.value);return!isNaN(Ie)&&Ie{if(F(Ke.value)||F(Ye))return null;const Ie=parseFloat(Ke.value);return!isNaN(Ie)&&Ie>Ye?{max:{max:Ye,actual:Ke.value}}:null}}function G(Ye){return F(Ye.value)?{required:!0}:null}function te(Ye){return!0===Ye.value?null:{required:!0}}function ue(Ye){return F(Ye.value)||x.test(Ye.value)?null:{email:!0}}function se(Ye){return Ke=>F(Ke.value)||!j(Ke.value)?null:Ke.value.lengthj(Ke.value)&&Ke.value.length>Ye?{maxlength:{requiredLength:Ye,actualLength:Ke.value.length}}:null}function Z(Ye){if(!Ye)return re;let Ke,Ie;return"string"==typeof Ye?(Ie="","^"!==Ye.charAt(0)&&(Ie+="^"),Ie+=Ye,"$"!==Ye.charAt(Ye.length-1)&&(Ie+="$"),Ke=new RegExp(Ie)):(Ie=Ye.toString(),Ke=Ye),ft=>{if(F(ft.value))return null;const Ot=ft.value;return Ke.test(Ot)?null:{pattern:{requiredPattern:Ie,actualValue:Ot}}}}function re(Ye){return null}function J(Ye){return null!=Ye}function Y(Ye){return(0,n.\u0275isPromise)(Ye)?(0,d.Q)(Ye):Ye}function $(Ye){let Ke={};return Ye.forEach(Ie=>{Ke=null!=Ie?{...Ke,...Ie}:Ke}),0===Object.keys(Ke).length?null:Ke}function le(Ye,Ke){return Ke.map(Ie=>Ie(Ye))}function we(Ye){return Ye.map(Ke=>function ee(Ye){return!Ye.validate}(Ke)?Ke:Ie=>Ke.validate(Ie))}function ye(Ye){if(!Ye)return null;const Ke=Ye.filter(J);return 0==Ke.length?null:function(Ie){return $(le(Ie,Ke))}}function Oe(Ye){return null!=Ye?ye(we(Ye)):null}function ve(Ye){if(!Ye)return null;const Ke=Ye.filter(J);return 0==Ke.length?null:function(Ie){return function p(...Ye){const Ke=(0,u.yu)(Ye),{args:Ie,keys:ft}=(0,l.Q)(Ye),Ot=new a._(Wn=>{const{length:Vn}=Ie;if(!Vn)return void Wn.complete();const Wi=new Array(Vn);let Eo=Vn,Ao=Vn;for(let ho=0;ho{Ur||(Ur=!0,Ao--),Wi[ho]=Zo},()=>Eo--,void 0,()=>{(!Eo||!Ur)&&(Ao||Wn.next(ft?(0,v.q)(ft,Wi):Wi),Wn.complete())}))}});return Ke?Ot.pipe((0,g.j)(Ke)):Ot}(le(Ie,Ke).map(Y)).pipe((0,S.k)($))}}function _e(Ye){return null!=Ye?ve(we(Ye)):null}function Pe(Ye,Ke){return null===Ye?[Ke]:Array.isArray(Ye)?[...Ye,Ke]:[Ye,Ke]}function Ze(Ye){return Ye._rawValidators}function ot(Ye){return Ye._rawAsyncValidators}function tt(Ye){return Ye?Array.isArray(Ye)?Ye:[Ye]:[]}function mt(Ye,Ke){return Array.isArray(Ye)?Ye.includes(Ke):Ye===Ke}function Qe(Ye,Ke){const Ie=tt(Ke);return tt(Ye).forEach(Ot=>{mt(Ie,Ot)||Ie.push(Ot)}),Ie}function Ct(Ye,Ke){return tt(Ke).filter(Ie=>!mt(Ye,Ie))}class Xe{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(Ke){this._rawValidators=Ke||[],this._composedValidatorFn=Oe(this._rawValidators)}_setAsyncValidators(Ke){this._rawAsyncValidators=Ke||[],this._composedAsyncValidatorFn=_e(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ke){this._onDestroyCallbacks.push(Ke)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ke=>Ke()),this._onDestroyCallbacks=[]}reset(Ke=void 0){this.control&&this.control.reset(Ke)}hasError(Ke,Ie){return!!this.control&&this.control.hasError(Ke,Ie)}getError(Ke,Ie){return this.control?this.control.getError(Ke,Ie):null}}class nt extends Xe{get formDirective(){return null}get path(){return null}}class Pt extends Xe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class tn{constructor(Ke){this._cd=Ke}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let An=(()=>{class Ye extends tn{constructor(Ie){super(Ie)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(Pt,2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275classProp("ng-untouched",Ot.isUntouched)("ng-touched",Ot.isTouched)("ng-pristine",Ot.isPristine)("ng-dirty",Ot.isDirty)("ng-valid",Ot.isValid)("ng-invalid",Ot.isInvalid)("ng-pending",Ot.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),_n=(()=>{class Ye extends tn{constructor(Ie){super(Ie)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(nt,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275classProp("ng-untouched",Ot.isUntouched)("ng-touched",Ot.isTouched)("ng-pristine",Ot.isPristine)("ng-dirty",Ot.isDirty)("ng-valid",Ot.isValid)("ng-invalid",Ot.isInvalid)("ng-pending",Ot.isPending)("ng-submitted",Ot.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Xt="VALID",At="INVALID",$t="PENDING",St="DISABLED";function xt(Ye){return(rn(Ye)?Ye.validators:Ye)||null}function bn(Ye,Ke){return(rn(Ke)?Ke.asyncValidators:Ye)||null}function rn(Ye){return null!=Ye&&!Array.isArray(Ye)&&"object"==typeof Ye}function nr(Ye,Ke,Ie){const ft=Ye.controls;if(!(Ke?Object.keys(ft):ft).length)throw new n.\u0275RuntimeError(1e3,"");if(!ft[Ie])throw new n.\u0275RuntimeError(1001,"")}function kr(Ye,Ke,Ie){Ye._forEachChild((ft,Ot)=>{if(void 0===Ie[Ot])throw new n.\u0275RuntimeError(1002,"")})}class Br{constructor(Ke,Ie){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Ke),this._assignAsyncValidators(Ie)}get validator(){return this._composedValidatorFn}set validator(Ke){this._rawValidators=this._composedValidatorFn=Ke}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ke){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ke}get parent(){return this._parent}get valid(){return this.status===Xt}get invalid(){return this.status===At}get pending(){return this.status==$t}get disabled(){return this.status===St}get enabled(){return this.status!==St}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ke){this._assignValidators(Ke)}setAsyncValidators(Ke){this._assignAsyncValidators(Ke)}addValidators(Ke){this.setValidators(Qe(Ke,this._rawValidators))}addAsyncValidators(Ke){this.setAsyncValidators(Qe(Ke,this._rawAsyncValidators))}removeValidators(Ke){this.setValidators(Ct(Ke,this._rawValidators))}removeAsyncValidators(Ke){this.setAsyncValidators(Ct(Ke,this._rawAsyncValidators))}hasValidator(Ke){return mt(this._rawValidators,Ke)}hasAsyncValidator(Ke){return mt(this._rawAsyncValidators,Ke)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ke={}){this.touched=!0,this._parent&&!Ke.onlySelf&&this._parent.markAsTouched(Ke)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ke=>Ke.markAllAsTouched())}markAsUntouched(Ke={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ie=>{Ie.markAsUntouched({onlySelf:!0})}),this._parent&&!Ke.onlySelf&&this._parent._updateTouched(Ke)}markAsDirty(Ke={}){this.pristine=!1,this._parent&&!Ke.onlySelf&&this._parent.markAsDirty(Ke)}markAsPristine(Ke={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ie=>{Ie.markAsPristine({onlySelf:!0})}),this._parent&&!Ke.onlySelf&&this._parent._updatePristine(Ke)}markAsPending(Ke={}){this.status=$t,!1!==Ke.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ke.onlySelf&&this._parent.markAsPending(Ke)}disable(Ke={}){const Ie=this._parentMarkedDirty(Ke.onlySelf);this.status=St,this.errors=null,this._forEachChild(ft=>{ft.disable({...Ke,onlySelf:!0})}),this._updateValue(),!1!==Ke.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ke,skipPristineCheck:Ie}),this._onDisabledChange.forEach(ft=>ft(!0))}enable(Ke={}){const Ie=this._parentMarkedDirty(Ke.onlySelf);this.status=Xt,this._forEachChild(ft=>{ft.enable({...Ke,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ke.emitEvent}),this._updateAncestors({...Ke,skipPristineCheck:Ie}),this._onDisabledChange.forEach(ft=>ft(!1))}_updateAncestors(Ke){this._parent&&!Ke.onlySelf&&(this._parent.updateValueAndValidity(Ke),Ke.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ke){this._parent=Ke}getRawValue(){return this.value}updateValueAndValidity(Ke={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Xt||this.status===$t)&&this._runAsyncValidator(Ke.emitEvent)),!1!==Ke.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ke.onlySelf&&this._parent.updateValueAndValidity(Ke)}_updateTreeValidity(Ke={emitEvent:!0}){this._forEachChild(Ie=>Ie._updateTreeValidity(Ke)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ke.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?St:Xt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ke){if(this.asyncValidator){this.status=$t,this._hasOwnPendingAsyncValidator=!0;const Ie=Y(this.asyncValidator(this));this._asyncValidationSubscription=Ie.subscribe(ft=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ft,{emitEvent:Ke})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ke,Ie={}){this.errors=Ke,this._updateControlsErrors(!1!==Ie.emitEvent)}get(Ke){let Ie=Ke;return null==Ie||(Array.isArray(Ie)||(Ie=Ie.split(".")),0===Ie.length)?null:Ie.reduce((ft,Ot)=>ft&&ft._find(Ot),this)}getError(Ke,Ie){const ft=Ie?this.get(Ie):this;return ft&&ft.errors?ft.errors[Ke]:null}hasError(Ke,Ie){return!!this.getError(Ke,Ie)}get root(){let Ke=this;for(;Ke._parent;)Ke=Ke._parent;return Ke}_updateControlsErrors(Ke){this.status=this._calculateStatus(),Ke&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ke)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?St:this.errors?At:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($t)?$t:this._anyControlsHaveStatus(At)?At:Xt}_anyControlsHaveStatus(Ke){return this._anyControls(Ie=>Ie.status===Ke)}_anyControlsDirty(){return this._anyControls(Ke=>Ke.dirty)}_anyControlsTouched(){return this._anyControls(Ke=>Ke.touched)}_updatePristine(Ke={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ke.onlySelf&&this._parent._updatePristine(Ke)}_updateTouched(Ke={}){this.touched=this._anyControlsTouched(),this._parent&&!Ke.onlySelf&&this._parent._updateTouched(Ke)}_registerOnCollectionChange(Ke){this._onCollectionChange=Ke}_setUpdateStrategy(Ke){rn(Ke)&&null!=Ke.updateOn&&(this._updateOn=Ke.updateOn)}_parentMarkedDirty(Ke){return!Ke&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Ke){return null}_assignValidators(Ke){this._rawValidators=Array.isArray(Ke)?Ke.slice():Ke,this._composedValidatorFn=function nn(Ye){return Array.isArray(Ye)?Oe(Ye):Ye||null}(this._rawValidators)}_assignAsyncValidators(Ke){this._rawAsyncValidators=Array.isArray(Ke)?Ke.slice():Ke,this._composedAsyncValidatorFn=function Tn(Ye){return Array.isArray(Ye)?_e(Ye):Ye||null}(this._rawAsyncValidators)}}class sr extends Br{constructor(Ke,Ie,ft){super(xt(Ie),bn(ft,Ie)),this.controls=Ke,this._initObservables(),this._setUpdateStrategy(Ie),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ke,Ie){return this.controls[Ke]?this.controls[Ke]:(this.controls[Ke]=Ie,Ie.setParent(this),Ie._registerOnCollectionChange(this._onCollectionChange),Ie)}addControl(Ke,Ie,ft={}){this.registerControl(Ke,Ie),this.updateValueAndValidity({emitEvent:ft.emitEvent}),this._onCollectionChange()}removeControl(Ke,Ie={}){this.controls[Ke]&&this.controls[Ke]._registerOnCollectionChange(()=>{}),delete this.controls[Ke],this.updateValueAndValidity({emitEvent:Ie.emitEvent}),this._onCollectionChange()}setControl(Ke,Ie,ft={}){this.controls[Ke]&&this.controls[Ke]._registerOnCollectionChange(()=>{}),delete this.controls[Ke],Ie&&this.registerControl(Ke,Ie),this.updateValueAndValidity({emitEvent:ft.emitEvent}),this._onCollectionChange()}contains(Ke){return this.controls.hasOwnProperty(Ke)&&this.controls[Ke].enabled}setValue(Ke,Ie={}){kr(this,0,Ke),Object.keys(Ke).forEach(ft=>{nr(this,!0,ft),this.controls[ft].setValue(Ke[ft],{onlySelf:!0,emitEvent:Ie.emitEvent})}),this.updateValueAndValidity(Ie)}patchValue(Ke,Ie={}){null!=Ke&&(Object.keys(Ke).forEach(ft=>{const Ot=this.controls[ft];Ot&&Ot.patchValue(Ke[ft],{onlySelf:!0,emitEvent:Ie.emitEvent})}),this.updateValueAndValidity(Ie))}reset(Ke={},Ie={}){this._forEachChild((ft,Ot)=>{ft.reset(Ke?Ke[Ot]:null,{onlySelf:!0,emitEvent:Ie.emitEvent})}),this._updatePristine(Ie),this._updateTouched(Ie),this.updateValueAndValidity(Ie)}getRawValue(){return this._reduceChildren({},(Ke,Ie,ft)=>(Ke[ft]=Ie.getRawValue(),Ke))}_syncPendingControls(){let Ke=this._reduceChildren(!1,(Ie,ft)=>!!ft._syncPendingControls()||Ie);return Ke&&this.updateValueAndValidity({onlySelf:!0}),Ke}_forEachChild(Ke){Object.keys(this.controls).forEach(Ie=>{const ft=this.controls[Ie];ft&&Ke(ft,Ie)})}_setUpControls(){this._forEachChild(Ke=>{Ke.setParent(this),Ke._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ke){for(const[Ie,ft]of Object.entries(this.controls))if(this.contains(Ie)&&Ke(ft))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ie,ft,Ot)=>((ft.enabled||this.disabled)&&(Ie[Ot]=ft.value),Ie))}_reduceChildren(Ke,Ie){let ft=Ke;return this._forEachChild((Ot,Wn)=>{ft=Ie(ft,Ot,Wn)}),ft}_allControlsDisabled(){for(const Ke of Object.keys(this.controls))if(this.controls[Ke].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ke){return this.controls.hasOwnProperty(Ke)?this.controls[Ke]:null}}const br=sr,qn=Ye=>Ye instanceof sr;class Rn extends sr{}const oi=Ye=>Ye instanceof Rn,Sr=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>pr}),pr="always";function Jn(Ye,Ke){return[...Ke.path,Ye]}function er(Ye,Ke,Ie=pr){jn(Ye,Ke),Ke.valueAccessor.writeValue(Ye.value),(Ye.disabled||"always"===Ie)&&Ke.valueAccessor.setDisabledState?.(Ye.disabled),function or(Ye,Ke){Ke.valueAccessor.registerOnChange(Ie=>{Ye._pendingValue=Ie,Ye._pendingChange=!0,Ye._pendingDirty=!0,"change"===Ye.updateOn&&Pr(Ye,Ke)})}(Ye,Ke),function ct(Ye,Ke){const Ie=(ft,Ot)=>{Ke.valueAccessor.writeValue(ft),Ot&&Ke.viewToModelUpdate(ft)};Ye.registerOnChange(Ie),Ke._registerOnDestroy(()=>{Ye._unregisterOnChange(Ie)})}(Ye,Ke),function ui(Ye,Ke){Ke.valueAccessor.registerOnTouched(()=>{Ye._pendingTouched=!0,"blur"===Ye.updateOn&&Ye._pendingChange&&Pr(Ye,Ke),"submit"!==Ye.updateOn&&Ye.markAsTouched()})}(Ye,Ke),function en(Ye,Ke){if(Ke.valueAccessor.setDisabledState){const Ie=ft=>{Ke.valueAccessor.setDisabledState(ft)};Ye.registerOnDisabledChange(Ie),Ke._registerOnDestroy(()=>{Ye._unregisterOnDisabledChange(Ie)})}}(Ye,Ke)}function Or(Ye,Ke,Ie=!0){const ft=()=>{};Ke.valueAccessor&&(Ke.valueAccessor.registerOnChange(ft),Ke.valueAccessor.registerOnTouched(ft)),Qn(Ye,Ke),Ye&&(Ke._invokeOnDestroyCallbacks(),Ye._registerOnCollectionChange(()=>{}))}function pi(Ye,Ke){Ye.forEach(Ie=>{Ie.registerOnValidatorChange&&Ie.registerOnValidatorChange(Ke)})}function jn(Ye,Ke){const Ie=Ze(Ye);null!==Ke.validator?Ye.setValidators(Pe(Ie,Ke.validator)):"function"==typeof Ie&&Ye.setValidators([Ie]);const ft=ot(Ye);null!==Ke.asyncValidator?Ye.setAsyncValidators(Pe(ft,Ke.asyncValidator)):"function"==typeof ft&&Ye.setAsyncValidators([ft]);const Ot=()=>Ye.updateValueAndValidity();pi(Ke._rawValidators,Ot),pi(Ke._rawAsyncValidators,Ot)}function Qn(Ye,Ke){let Ie=!1;if(null!==Ye){if(null!==Ke.validator){const Ot=Ze(Ye);if(Array.isArray(Ot)&&Ot.length>0){const Wn=Ot.filter(Vn=>Vn!==Ke.validator);Wn.length!==Ot.length&&(Ie=!0,Ye.setValidators(Wn))}}if(null!==Ke.asyncValidator){const Ot=ot(Ye);if(Array.isArray(Ot)&&Ot.length>0){const Wn=Ot.filter(Vn=>Vn!==Ke.asyncValidator);Wn.length!==Ot.length&&(Ie=!0,Ye.setAsyncValidators(Wn))}}}const ft=()=>{};return pi(Ke._rawValidators,ft),pi(Ke._rawAsyncValidators,ft),Ie}function Pr(Ye,Ke){Ye._pendingDirty&&Ye.markAsDirty(),Ye.setValue(Ye._pendingValue,{emitModelToViewChange:!1}),Ke.viewToModelUpdate(Ye._pendingValue),Ye._pendingChange=!1}function Rt(Ye,Ke){jn(Ye,Ke)}function Yn(Ye,Ke){if(!Ye.hasOwnProperty("model"))return!1;const Ie=Ye.model;return!!Ie.isFirstChange()||!Object.is(Ke,Ie.currentValue)}function Mr(Ye,Ke){Ye._syncPendingControls(),Ke.forEach(Ie=>{const ft=Ie.control;"submit"===ft.updateOn&&ft._pendingChange&&(Ie.viewToModelUpdate(ft._pendingValue),ft._pendingChange=!1)})}function zn(Ye,Ke){if(!Ke)return null;let Ie,ft,Ot;return Array.isArray(Ke),Ke.forEach(Wn=>{Wn.constructor===I?Ie=Wn:function Tr(Ye){return Object.getPrototypeOf(Ye.constructor)===_}(Wn)?ft=Wn:Ot=Wn}),Ot||ft||Ie||null}const un={provide:nt,useExisting:(0,n.forwardRef)(()=>z)},U=Promise.resolve();let z=(()=>{class Ye extends nt{constructor(Ie,ft,Ot){super(),this.callSetDisabledState=Ot,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new sr({},Oe(Ie),_e(ft))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ie){U.then(()=>{const ft=this._findContainer(Ie.path);Ie.control=ft.registerControl(Ie.name,Ie.control),er(Ie.control,Ie,this.callSetDisabledState),Ie.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Ie)})}getControl(Ie){return this.form.get(Ie.path)}removeControl(Ie){U.then(()=>{const ft=this._findContainer(Ie.path);ft&&ft.removeControl(Ie.name),this._directives.delete(Ie)})}addFormGroup(Ie){U.then(()=>{const ft=this._findContainer(Ie.path),Ot=new sr({});Rt(Ot,Ie),ft.registerControl(Ie.name,Ot),Ot.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ie){U.then(()=>{const ft=this._findContainer(Ie.path);ft&&ft.removeControl(Ie.name)})}getFormGroup(Ie){return this.form.get(Ie.path)}updateModel(Ie,ft){U.then(()=>{this.form.get(Ie.path).setValue(ft)})}setValue(Ie){this.control.setValue(Ie)}onSubmit(Ie){return this.submitted=!0,Mr(this.form,this._directives),this.ngSubmit.emit(Ie),"dialog"===Ie?.target?.method}onReset(){this.resetForm()}resetForm(Ie=void 0){this.form.reset(Ie),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Ie){return Ie.pop(),Ie.length?this.form.get(Ie):this.form}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("submit",function(Vn){return Ot.onSubmit(Vn)})("reset",function(){return Ot.onReset()})},inputs:{options:[n.\u0275\u0275InputFlags.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([un]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();function ae(Ye,Ke){const Ie=Ye.indexOf(Ke);Ie>-1&&Ye.splice(Ie,1)}function Fe(Ye){return"object"==typeof Ye&&null!==Ye&&2===Object.keys(Ye).length&&"value"in Ye&&"disabled"in Ye}const Ae=class extends Br{constructor(Ke=null,Ie,ft){super(xt(Ie),bn(ft,Ie)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ke),this._setUpdateStrategy(Ie),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rn(Ie)&&(Ie.nonNullable||Ie.initialValueIsDefault)&&(this.defaultValue=Fe(Ke)?Ke.value:Ke)}setValue(Ke,Ie={}){this.value=this._pendingValue=Ke,this._onChange.length&&!1!==Ie.emitModelToViewChange&&this._onChange.forEach(ft=>ft(this.value,!1!==Ie.emitViewToModelChange)),this.updateValueAndValidity(Ie)}patchValue(Ke,Ie={}){this.setValue(Ke,Ie)}reset(Ke=this.defaultValue,Ie={}){this._applyFormState(Ke),this.markAsPristine(Ie),this.markAsUntouched(Ie),this.setValue(this.value,Ie),this._pendingChange=!1}_updateValue(){}_anyControls(Ke){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ke){this._onChange.push(Ke)}_unregisterOnChange(Ke){ae(this._onChange,Ke)}registerOnDisabledChange(Ke){this._onDisabledChange.push(Ke)}_unregisterOnDisabledChange(Ke){ae(this._onDisabledChange,Ke)}_forEachChild(Ke){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(Ke){Fe(Ke)?(this.value=this._pendingValue=Ke.value,Ke.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ke}},fe=Ae,De=Ye=>Ye instanceof Ae;let rt=(()=>{class Ye extends nt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Jn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,features:[n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const mn={provide:nt,useExisting:(0,n.forwardRef)(()=>vn)};let vn=(()=>{class Ye extends rt{constructor(Ie,ft,Ot){super(),this.name="",this._parent=Ie,this._setValidators(ft),this._setAsyncValidators(Ot)}_checkParentType(){}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(nt,5),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","ngModelGroup",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([mn]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Cn={provide:Pt,useExisting:(0,n.forwardRef)(()=>Gt)},fn=Promise.resolve();let Gt=(()=>{class Ye extends Pt{constructor(Ie,ft,Ot,Wn,Vn,Wi){super(),this._changeDetectorRef=Vn,this.callSetDisabledState=Wi,this.control=new Ae,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=Ie,this._setValidators(ft),this._setAsyncValidators(Ot),this.valueAccessor=zn(0,Wn)}ngOnChanges(Ie){if(this._checkForErrors(),!this._registered||"name"in Ie){if(this._registered&&(this._checkName(),this.formDirective)){const ft=Ie.name.previousValue;this.formDirective.removeControl({name:ft,path:this._getPath(ft)})}this._setUpControl()}"isDisabled"in Ie&&this._updateDisabled(Ie),Yn(Ie,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(Ie){this.viewModel=Ie,this.update.emit(Ie)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){er(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()}_updateValue(Ie){fn.then(()=>{this.control.setValue(Ie,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ie){const ft=Ie.isDisabled.currentValue,Ot=0!==ft&&(0,n.booleanAttribute)(ft);fn.then(()=>{Ot&&!this.control.disabled?this.control.disable():!Ot&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ie){return this._parent?Jn(Ie,this._parent):[Ie]}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(nt,9),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"],options:[n.\u0275\u0275InputFlags.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([Cn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ye})(),Nn=(()=>{class Ye{static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return Ye})();const lr={provide:f,useExisting:(0,n.forwardRef)(()=>cr),multi:!0};let cr=(()=>{class Ye extends _{writeValue(Ie){this.setProperty("value",Ie??"")}registerOnChange(Ie){this.onChange=ft=>{Ie(""==ft?null:parseFloat(ft))}}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("input",function(Vn){return Ot.onChange(Vn.target.value)})("blur",function(){return Ot.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([lr]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Nr={provide:f,useExisting:(0,n.forwardRef)(()=>lo),multi:!0};let dt=(()=>{class Ye{constructor(){this._accessors=[]}add(Ie,ft){this._accessors.push([Ie,ft])}remove(Ie){for(let ft=this._accessors.length-1;ft>=0;--ft)if(this._accessors[ft][1]===Ie)return void this._accessors.splice(ft,1)}select(Ie){this._accessors.forEach(ft=>{this._isSameGroup(ft,Ie)&&ft[1]!==Ie&&ft[1].fireUncheck(Ie.value)})}_isSameGroup(Ie,ft){return!!Ie[0].control&&Ie[0]._parent===ft._control._parent&&Ie[1].name===ft.name}static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})(),lo=(()=>{class Ye extends _{constructor(Ie,ft,Ot,Wn){super(Ie,ft),this._registry=Ot,this._injector=Wn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(Sr,{optional:!0})??pr}ngOnInit(){this._control=this._injector.get(Pt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(Ie){this._state=Ie===this.value,this.setProperty("checked",this._state)}registerOnChange(Ie){this._fn=Ie,this.onChange=()=>{Ie(this.value),this._registry.select(this)}}setDisabledState(Ie){(this.setDisabledStateFired||Ie||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",Ie),this.setDisabledStateFired=!0}fireUncheck(Ie){this.writeValue(Ie)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(dt),n.\u0275\u0275directiveInject(n.Injector))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("change",function(){return Ot.onChange()})("blur",function(){return Ot.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Nr]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const vi={provide:f,useExisting:(0,n.forwardRef)(()=>_r),multi:!0};let _r=(()=>{class Ye extends _{writeValue(Ie){this.setProperty("value",parseFloat(Ie))}registerOnChange(Ie){this.onChange=ft=>{Ie(""==ft?null:parseFloat(ft))}}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("change",function(Vn){return Ot.onChange(Vn.target.value)})("input",function(Vn){return Ot.onChange(Vn.target.value)})("blur",function(){return Ot.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([vi]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const In=new n.InjectionToken(""),Gn={provide:Pt,useExisting:(0,n.forwardRef)(()=>si)};let si=(()=>{class Ye extends Pt{set isDisabled(Ie){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ie,ft,Ot,Wn,Vn){super(),this._ngModelWarningConfig=Wn,this.callSetDisabledState=Vn,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(Ie),this._setAsyncValidators(ft),this.valueAccessor=zn(0,Ot)}ngOnChanges(Ie){if(this._isControlChanged(Ie)){const ft=Ie.form.previousValue;ft&&Or(ft,this,!1),er(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Yn(Ie,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Or(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ie){this.viewModel=Ie,this.update.emit(Ie)}_isControlChanged(Ie){return Ie.hasOwnProperty("form")}static#t=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(In,8),n.\u0275\u0275directiveInject(Sr,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formControl",""]],inputs:{form:[n.\u0275\u0275InputFlags.None,"formControl","form"],isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Gn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ye})();const Ir={provide:nt,useExisting:(0,n.forwardRef)(()=>ai)};let ai=(()=>{class Ye extends nt{constructor(Ie,ft,Ot){super(),this.callSetDisabledState=Ot,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(Ie),this._setAsyncValidators(ft)}ngOnChanges(Ie){this._checkFormPresent(),Ie.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Qn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ie){const ft=this.form.get(Ie.path);return er(ft,Ie,this.callSetDisabledState),ft.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ie),ft}getControl(Ie){return this.form.get(Ie.path)}removeControl(Ie){Or(Ie.control||null,Ie,!1),function ur(Ye,Ke){const Ie=Ye.indexOf(Ke);Ie>-1&&Ye.splice(Ie,1)}(this.directives,Ie)}addFormGroup(Ie){this._setUpFormContainer(Ie)}removeFormGroup(Ie){this._cleanUpFormContainer(Ie)}getFormGroup(Ie){return this.form.get(Ie.path)}addFormArray(Ie){this._setUpFormContainer(Ie)}removeFormArray(Ie){this._cleanUpFormContainer(Ie)}getFormArray(Ie){return this.form.get(Ie.path)}updateModel(Ie,ft){this.form.get(Ie.path).setValue(ft)}onSubmit(Ie){return this.submitted=!0,Mr(this.form,this.directives),this.ngSubmit.emit(Ie),"dialog"===Ie?.target?.method}onReset(){this.resetForm()}resetForm(Ie=void 0){this.form.reset(Ie),this.submitted=!1}_updateDomValue(){this.directives.forEach(Ie=>{const ft=Ie.control,Ot=this.form.get(Ie.path);ft!==Ot&&(Or(ft||null,Ie),De(Ot)&&(er(Ot,Ie,this.callSetDisabledState),Ie.control=Ot))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ie){const ft=this.form.get(Ie.path);Rt(ft,Ie),ft.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ie){if(this.form){const ft=this.form.get(Ie.path);ft&&function kt(Ye,Ke){return Qn(Ye,Ke)}(ft,Ie)&&ft.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){jn(this.form,this),this._oldForm&&Qn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formGroup",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("submit",function(Vn){return Ot.onSubmit(Vn)})("reset",function(){return Ot.onReset()})},inputs:{form:[n.\u0275\u0275InputFlags.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Ir]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ye})();const Fn={provide:nt,useExisting:(0,n.forwardRef)(()=>ti)};let ti=(()=>{class Ye extends rt{constructor(Ie,ft,Ot){super(),this.name=null,this._parent=Ie,this._setValidators(ft),this._setAsyncValidators(Ot)}_checkParentType(){Vi(this._parent)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(nt,13),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formGroupName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([Fn]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Zr={provide:nt,useExisting:(0,n.forwardRef)(()=>Xr)};let Xr=(()=>{class Ye extends nt{constructor(Ie,ft,Ot){super(),this.name=null,this._parent=Ie,this._setValidators(ft),this._setAsyncValidators(Ot)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Jn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Vi(this._parent)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(nt,13),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formArrayName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Zr]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();function Vi(Ye){return!(Ye instanceof ti||Ye instanceof ai||Ye instanceof Xr)}const hr={provide:Pt,useExisting:(0,n.forwardRef)(()=>Yi)};let Yi=(()=>{class Ye extends Pt{set isDisabled(Ie){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ie,ft,Ot,Wn,Vn){super(),this._ngModelWarningConfig=Vn,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=Ie,this._setValidators(ft),this._setAsyncValidators(Ot),this.valueAccessor=zn(0,Wn)}ngOnChanges(Ie){this._added||this._setUpControl(),Yn(Ie,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ie){this.viewModel=Ie,this.update.emit(Ie)}get path(){return Jn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(nt,13),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(In,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formControlName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formControlName","name"],isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([hr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ye})();const ko={provide:f,useExisting:(0,n.forwardRef)(()=>zi),multi:!0};function go(Ye,Ke){return null==Ye?`${Ke}`:(Ke&&"object"==typeof Ke&&(Ke="Object"),`${Ye}: ${Ke}`.slice(0,50))}let zi=(()=>{class Ye extends _{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Ie){this._compareWith=Ie}writeValue(Ie){this.value=Ie;const Ot=go(this._getOptionId(Ie),Ie);this.setProperty("value",Ot)}registerOnChange(Ie){this.onChange=ft=>{this.value=this._getOptionValue(ft),Ie(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(Ie){for(const ft of this._optionMap.keys())if(this._compareWith(this._optionMap.get(ft),Ie))return ft;return null}_getOptionValue(Ie){const ft=function Jr(Ye){return Ye.split(":")[0]}(Ie);return this._optionMap.has(ft)?this._optionMap.get(ft):Ie}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("change",function(Vn){return Ot.onChange(Vn.target.value)})("blur",function(){return Ot.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ko]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),qi=(()=>{class Ye{constructor(Ie,ft,Ot){this._element=Ie,this._renderer=ft,this._select=Ot,this._select&&(this.id=this._select._registerOption())}set ngValue(Ie){null!=this._select&&(this._select._optionMap.set(this.id,Ie),this._setElementValue(go(this.id,Ie)),this._select.writeValue(this._select.value))}set value(Ie){this._setElementValue(Ie),this._select&&this._select.writeValue(this._select.value)}_setElementValue(Ie){this._renderer.setProperty(this._element.nativeElement,"value",Ie)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(zi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Ye})();const ro={provide:f,useExisting:(0,n.forwardRef)(()=>xi),multi:!0};function Rr(Ye,Ke){return null==Ye?`${Ke}`:("string"==typeof Ke&&(Ke=`'${Ke}'`),Ke&&"object"==typeof Ke&&(Ke="Object"),`${Ye}: ${Ke}`.slice(0,50))}let xi=(()=>{class Ye extends _{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Ie){this._compareWith=Ie}writeValue(Ie){let ft;if(this.value=Ie,Array.isArray(Ie)){const Ot=Ie.map(Wn=>this._getOptionId(Wn));ft=(Wn,Vn)=>{Wn._setSelected(Ot.indexOf(Vn.toString())>-1)}}else ft=(Ot,Wn)=>{Ot._setSelected(!1)};this._optionMap.forEach(ft)}registerOnChange(Ie){this.onChange=ft=>{const Ot=[],Wn=ft.selectedOptions;if(void 0!==Wn){const Vn=Wn;for(let Wi=0;Wi{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("change",function(Vn){return Ot.onChange(Vn.target)})("blur",function(){return Ot.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ro]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),qr=(()=>{class Ye{constructor(Ie,ft,Ot){this._element=Ie,this._renderer=ft,this._select=Ot,this._select&&(this.id=this._select._registerOption(this))}set ngValue(Ie){null!=this._select&&(this._value=Ie,this._setElementValue(Rr(this.id,Ie)),this._select.writeValue(this._select.value))}set value(Ie){this._select?(this._value=Ie,this._setElementValue(Rr(this.id,Ie)),this._select.writeValue(this._select.value)):this._setElementValue(Ie)}_setElementValue(Ie){this._renderer.setProperty(this._element.nativeElement,"value",Ie)}_setSelected(Ie){this._renderer.setProperty(this._element.nativeElement,"selected",Ie)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(xi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Ye})();function ar(Ye){return"number"==typeof Ye?Ye:parseInt(Ye,10)}function yo(Ye){return"number"==typeof Ye?Ye:parseFloat(Ye)}let wi=(()=>{class Ye{constructor(){this._validator=re}ngOnChanges(Ie){if(this.inputName in Ie){const ft=this.normalizeInput(Ie[this.inputName].currentValue);this._enabled=this.enabled(ft),this._validator=this._enabled?this.createValidator(ft):re,this._onChange&&this._onChange()}}validate(Ie){return this._validator(Ie)}registerOnValidatorChange(Ie){this._onChange=Ie}enabled(Ie){return null!=Ie}static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,features:[n.\u0275\u0275NgOnChangesFeature]})}return Ye})();const yi={provide:T,useExisting:(0,n.forwardRef)(()=>Mo),multi:!0};let Mo=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ie=>yo(Ie),this.createValidator=Ie=>H(Ie)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("max",Ot._enabled?Ot.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([yi]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const po={provide:T,useExisting:(0,n.forwardRef)(()=>zr),multi:!0};let zr=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ie=>yo(Ie),this.createValidator=Ie=>O(Ie)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("min",Ot._enabled?Ot.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([po]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const bo={provide:T,useExisting:(0,n.forwardRef)(()=>Gr),multi:!0},Ni={provide:T,useExisting:(0,n.forwardRef)(()=>Lo),multi:!0};let Gr=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=Ie=>G}enabled(Ie){return Ie}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("required",Ot._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([bo]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),Lo=(()=>{class Ye extends Gr{constructor(){super(...arguments),this.createValidator=Ie=>te}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("required",Ot._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([Ni]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Oi={provide:T,useExisting:(0,n.forwardRef)(()=>Zi),multi:!0};let Zi=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=Ie=>ue}enabled(Ie){return Ie}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Oi]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Li={provide:T,useExisting:(0,n.forwardRef)(()=>Gi),multi:!0};let Gi=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=Ie=>ar(Ie),this.createValidator=Ie=>se(Ie)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("minlength",Ot._enabled?Ot.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([Li]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const $o={provide:T,useExisting:(0,n.forwardRef)(()=>Co),multi:!0};let Co=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=Ie=>ar(Ie),this.createValidator=Ie=>K(Ie)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("maxlength",Ot._enabled?Ot.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([$o]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Ro={provide:T,useExisting:(0,n.forwardRef)(()=>wo),multi:!0};let wo=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=Ie=>Ie,this.createValidator=Ie=>Z(Ie)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("pattern",Ot._enabled?Ot.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([Ro]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),rs=(()=>{class Ye{static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Ye})();class Ki extends Br{constructor(Ke,Ie,ft){super(xt(Ie),bn(ft,Ie)),this.controls=Ke,this._initObservables(),this._setUpdateStrategy(Ie),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ke){return this.controls[this._adjustIndex(Ke)]}push(Ke,Ie={}){this.controls.push(Ke),this._registerControl(Ke),this.updateValueAndValidity({emitEvent:Ie.emitEvent}),this._onCollectionChange()}insert(Ke,Ie,ft={}){this.controls.splice(Ke,0,Ie),this._registerControl(Ie),this.updateValueAndValidity({emitEvent:ft.emitEvent})}removeAt(Ke,Ie={}){let ft=this._adjustIndex(Ke);ft<0&&(ft=0),this.controls[ft]&&this.controls[ft]._registerOnCollectionChange(()=>{}),this.controls.splice(ft,1),this.updateValueAndValidity({emitEvent:Ie.emitEvent})}setControl(Ke,Ie,ft={}){let Ot=this._adjustIndex(Ke);Ot<0&&(Ot=0),this.controls[Ot]&&this.controls[Ot]._registerOnCollectionChange(()=>{}),this.controls.splice(Ot,1),Ie&&(this.controls.splice(Ot,0,Ie),this._registerControl(Ie)),this.updateValueAndValidity({emitEvent:ft.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ke,Ie={}){kr(this,0,Ke),Ke.forEach((ft,Ot)=>{nr(this,!1,Ot),this.at(Ot).setValue(ft,{onlySelf:!0,emitEvent:Ie.emitEvent})}),this.updateValueAndValidity(Ie)}patchValue(Ke,Ie={}){null!=Ke&&(Ke.forEach((ft,Ot)=>{this.at(Ot)&&this.at(Ot).patchValue(ft,{onlySelf:!0,emitEvent:Ie.emitEvent})}),this.updateValueAndValidity(Ie))}reset(Ke=[],Ie={}){this._forEachChild((ft,Ot)=>{ft.reset(Ke[Ot],{onlySelf:!0,emitEvent:Ie.emitEvent})}),this._updatePristine(Ie),this._updateTouched(Ie),this.updateValueAndValidity(Ie)}getRawValue(){return this.controls.map(Ke=>Ke.getRawValue())}clear(Ke={}){this.controls.length<1||(this._forEachChild(Ie=>Ie._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ke.emitEvent}))}_adjustIndex(Ke){return Ke<0?Ke+this.length:Ke}_syncPendingControls(){let Ke=this.controls.reduce((Ie,ft)=>!!ft._syncPendingControls()||Ie,!1);return Ke&&this.updateValueAndValidity({onlySelf:!0}),Ke}_forEachChild(Ke){this.controls.forEach((Ie,ft)=>{Ke(Ie,ft)})}_updateValue(){this.value=this.controls.filter(Ke=>Ke.enabled||this.disabled).map(Ke=>Ke.value)}_anyControls(Ke){return this.controls.some(Ie=>Ie.enabled&&Ke(Ie))}_setUpControls(){this._forEachChild(Ke=>this._registerControl(Ke))}_allControlsDisabled(){for(const Ke of this.controls)if(Ke.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ke){Ke.setParent(this),Ke._registerOnCollectionChange(this._onCollectionChange)}_find(Ke){return this.at(Ke)??null}}const uo=Ki,So=Ye=>Ye instanceof Ki;function cs(Ye){return!!Ye&&(void 0!==Ye.asyncValidators||void 0!==Ye.validators||void 0!==Ye.updateOn)}let co=(()=>{class Ye{constructor(){this.useNonNullable=!1}get nonNullable(){const Ie=new Ye;return Ie.useNonNullable=!0,Ie}group(Ie,ft=null){const Ot=this._reduceControls(Ie);let Wn={};return cs(ft)?Wn=ft:null!==ft&&(Wn.validators=ft.validator,Wn.asyncValidators=ft.asyncValidator),new sr(Ot,Wn)}record(Ie,ft=null){const Ot=this._reduceControls(Ie);return new Rn(Ot,ft)}control(Ie,ft,Ot){let Wn={};return this.useNonNullable?(cs(ft)?Wn=ft:(Wn.validators=ft,Wn.asyncValidators=Ot),new Ae(Ie,{...Wn,nonNullable:!0})):new Ae(Ie,ft,Ot)}array(Ie,ft,Ot){const Wn=Ie.map(Vn=>this._createControl(Vn));return new Ki(Wn,ft,Ot)}_reduceControls(Ie){const ft={};return Object.keys(Ie).forEach(Ot=>{ft[Ot]=this._createControl(Ie[Ot])}),ft}_createControl(Ie){return Ie instanceof Ae||Ie instanceof Br?Ie:Array.isArray(Ie)?this.control(Ie[0],Ie.length>1?Ie[1]:null,Ie.length>2?Ie[2]:null):this.control(Ie)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})(),Fo=(()=>{class Ye{static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:()=>(0,n.inject)(co).nonNullable,providedIn:"root"})}return Ye})(),Do=(()=>{class Ye extends co{group(Ie,ft=null){return super.group(Ie,ft)}control(Ie,ft,Ot){return super.control(Ie,ft,Ot)}array(Ie,ft,Ot){return super.array(Ie,ft,Ot)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})();const Ko=new n.Version("17.2.3");let hs=(()=>{class Ye{static withConfig(Ie){return{ngModule:Ye,providers:[{provide:Sr,useValue:Ie.callSetDisabledState??pr}]}}static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[rs]})}return Ye})(),Qo=(()=>{class Ye{static withConfig(Ie){return{ngModule:Ye,providers:[{provide:In,useValue:Ie.warnOnNgModelWithFormControl??"always"},{provide:Sr,useValue:Ie.callSetDisabledState??pr}]}}static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[rs]})}return Ye})()},44556:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>Cs,NoopAnimationsModule:()=>io,provideAnimations:()=>os,provideNoopAnimations:()=>fs,\u0275InjectableAnimationEngine:()=>Xi});var n=o(54496),i=o(14476),d=function(et){return et[et.State=0]="State",et[et.Transition=1]="Transition",et[et.Sequence=2]="Sequence",et[et.Group=3]="Group",et[et.Animate=4]="Animate",et[et.Keyframes=5]="Keyframes",et[et.Style=6]="Style",et[et.Trigger=7]="Trigger",et[et.Reference=8]="Reference",et[et.AnimateChild=9]="AnimateChild",et[et.AnimateRef=10]="AnimateRef",et[et.Query=11]="Query",et[et.Stagger=12]="Stagger",et}(d||{});const a="*";function g(et){return{type:d.Style,styles:et,offset:null}}class x{constructor(ne=0,ge=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ne+ge}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}onStart(ne){this._originalOnStartFns.push(ne),this._onStartFns.push(ne)}onDone(ne){this._originalOnDoneFns.push(ne),this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ne=>ne()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ne=>ne()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ne){this._position=this.totalTime?ne*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ne){const ge="start"==ne?this._onStartFns:this._onDoneFns;ge.forEach(Le=>Le()),ge.length=0}}class N{constructor(ne){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ne;let ge=0,Le=0,qe=0;const Dt=this.players.length;0==Dt?queueMicrotask(()=>this._onFinish()):this.players.forEach(Nt=>{Nt.onDone(()=>{++ge==Dt&&this._onFinish()}),Nt.onDestroy(()=>{++Le==Dt&&this._onDestroy()}),Nt.onStart(()=>{++qe==Dt&&this._onStart()})}),this.totalTime=this.players.reduce((Nt,Ht)=>Math.max(Nt,Ht.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}init(){this.players.forEach(ne=>ne.init())}onStart(ne){this._onStartFns.push(ne)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ne=>ne()),this._onStartFns=[])}onDone(ne){this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ne=>ne.play())}pause(){this.players.forEach(ne=>ne.pause())}restart(){this.players.forEach(ne=>ne.restart())}finish(){this._onFinish(),this.players.forEach(ne=>ne.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ne=>ne.destroy()),this._onDestroyFns.forEach(ne=>ne()),this._onDestroyFns=[])}reset(){this.players.forEach(ne=>ne.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ne){const ge=ne*this.totalTime;this.players.forEach(Le=>{const qe=Le.totalTime?Math.min(1,ge/Le.totalTime):1;Le.setPosition(qe)})}getPosition(){const ne=this.players.reduce((ge,Le)=>null===ge||Le.totalTime>ge.totalTime?Le:ge,null);return null!=ne?ne.getPosition():0}beforeDestroy(){this.players.forEach(ne=>{ne.beforeDestroy&&ne.beforeDestroy()})}triggerCallback(ne){const ge="start"==ne?this._onStartFns:this._onDoneFns;ge.forEach(Le=>Le()),ge.length=0}}function G(et){return new n.\u0275RuntimeError(3e3,!1)}function $e(et){switch(et.length){case 0:return new x;case 1:return et[0];default:return new N(et)}}function je(et,ne,ge=new Map,Le=new Map){const qe=[],Dt=[];let Nt=-1,Ht=null;if(ne.forEach(Wt=>{const yn=Wt.get("offset"),$n=yn==Nt,Kn=$n&&Ht||new Map;Wt.forEach((Wr,fr)=>{let tr=fr,vr=Wr;if("offset"!==fr)switch(tr=et.normalizePropertyName(tr,qe),vr){case"!":vr=ge.get(fr);break;case a:vr=Le.get(fr);break;default:vr=et.normalizeStyleValue(fr,tr,vr,qe)}Kn.set(tr,vr)}),$n||Dt.push(Kn),Ht=Kn,Nt=yn}),qe.length)throw function Xe(et){return new n.\u0275RuntimeError(3502,!1)}();return Dt}function gt(et,ne,ge,Le){switch(ne){case"start":et.onStart(()=>Le(ge&&He(ge,"start",et)));break;case"done":et.onDone(()=>Le(ge&&He(ge,"done",et)));break;case"destroy":et.onDestroy(()=>Le(ge&&He(ge,"destroy",et)))}}function He(et,ne,ge){const Dt=vt(et.element,et.triggerName,et.fromState,et.toState,ne||et.phaseName,ge.totalTime??et.totalTime,!!ge.disabled),Nt=et._data;return null!=Nt&&(Dt._data=Nt),Dt}function vt(et,ne,ge,Le,qe="",Dt=0,Nt){return{element:et,triggerName:ne,fromState:ge,toState:Le,phaseName:qe,totalTime:Dt,disabled:!!Nt}}function ut(et,ne,ge){let Le=et.get(ne);return Le||et.set(ne,Le=ge),Le}function wt(et){const ne=et.indexOf(":");return[et.substring(1,ne),et.slice(ne+1)]}const st=typeof document>"u"?null:document.documentElement;function zt(et){const ne=et.parentNode||et.host||null;return ne===st?null:ne}let It=null,Yt=!1;function St(et,ne){for(;ne;){if(ne===et)return!0;ne=zt(ne)}return!1}function xt(et,ne,ge){if(ge)return Array.from(et.querySelectorAll(ne));const Le=et.querySelector(ne);return Le?[Le]:[]}let bn=(()=>{class et{validateStyleProperty(ge){return function Xt(et){It||(It=function $t(){return typeof document<"u"?document.body:null}()||{},Yt=!!It.style&&"WebkitAppearance"in It.style);let ne=!0;return It.style&&!function pt(et){return"ebkit"==et.substring(1,6)}(et)&&(ne=et in It.style,!ne&&Yt&&(ne="Webkit"+et.charAt(0).toUpperCase()+et.slice(1)in It.style)),ne}(ge)}matchesElement(ge,Le){return!1}containsElement(ge,Le){return St(ge,Le)}getParentElement(ge){return zt(ge)}query(ge,Le,qe){return xt(ge,Le,qe)}computeStyle(ge,Le,qe){return qe||""}animate(ge,Le,qe,Dt,Nt,Ht=[],Wt){return new x(qe,Dt)}static#e=this.\u0275fac=function(Le){return new(Le||et)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac})}return et})();class Tn{static#e=this.NOOP=new bn}class rn{}const kr=1e3,Er="ng-enter",br="ng-leave",qn="ng-trigger",Rn=".ng-trigger",oi="ng-animating",Sr=".ng-animating";function pr(et){if("number"==typeof et)return et;const ne=et.match(/^(-?[\.\d]+)(m?s)/);return!ne||ne.length<2?0:Jn(parseFloat(ne[1]),ne[2])}function Jn(et,ne){return"s"===ne?et*kr:et}function er(et,ne,ge){return et.hasOwnProperty("duration")?et:function Or(et,ne,ge){let qe,Dt=0,Nt="";if("string"==typeof et){const Ht=et.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ht)return ne.push(G()),{duration:0,delay:0,easing:""};qe=Jn(parseFloat(Ht[1]),Ht[2]);const Wt=Ht[3];null!=Wt&&(Dt=Jn(parseFloat(Wt),Ht[4]));const yn=Ht[5];yn&&(Nt=yn)}else qe=et;if(!ge){let Ht=!1,Wt=ne.length;qe<0&&(ne.push(function te(){return new n.\u0275RuntimeError(3100,!1)}()),Ht=!0),Dt<0&&(ne.push(function ue(){return new n.\u0275RuntimeError(3101,!1)}()),Ht=!0),Ht&&ne.splice(Wt,0,G())}return{duration:qe,delay:Dt,easing:Nt}}(et,ne,ge)}function jn(et,ne,ge){ne.forEach((Le,qe)=>{const Dt=on(qe);ge&&!ge.has(qe)&&ge.set(qe,et.style[Dt]),et.style[Dt]=Le})}function Qn(et,ne){ne.forEach((ge,Le)=>{const qe=on(Le);et.style[qe]=""})}function or(et){return Array.isArray(et)?1==et.length?et[0]:function c(et,ne=null){return{type:d.Sequence,steps:et,options:ne}}(et):et}const Pr=new RegExp("{{\\s*(.+?)\\s*}}","g");function ct(et){let ne=[];if("string"==typeof et){let ge;for(;ge=Pr.exec(et);)ne.push(ge[1]);Pr.lastIndex=0}return ne}function Rt(et,ne,ge){const Le=`${et}`,qe=Le.replace(Pr,(Dt,Nt)=>{let Ht=ne[Nt];return null==Ht&&(ge.push(function K(et){return new n.\u0275RuntimeError(3003,!1)}()),Ht=""),Ht.toString()});return qe==Le?et:qe}const kt=/-+([a-z0-9])/g;function on(et){return et.replace(kt,(...ne)=>ne[1].toUpperCase())}function Zn(et,ne,ge){switch(ne.type){case d.Trigger:return et.visitTrigger(ne,ge);case d.State:return et.visitState(ne,ge);case d.Transition:return et.visitTransition(ne,ge);case d.Sequence:return et.visitSequence(ne,ge);case d.Group:return et.visitGroup(ne,ge);case d.Animate:return et.visitAnimate(ne,ge);case d.Keyframes:return et.visitKeyframes(ne,ge);case d.Style:return et.visitStyle(ne,ge);case d.Reference:return et.visitReference(ne,ge);case d.AnimateChild:return et.visitAnimateChild(ne,ge);case d.AnimateRef:return et.visitAnimateRef(ne,ge);case d.Query:return et.visitQuery(ne,ge);case d.Stagger:return et.visitStagger(ne,ge);default:throw function Z(et){return new n.\u0275RuntimeError(3004,!1)}()}}function Yn(et,ne){return window.getComputedStyle(et)[ne]}const Tr=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"]);class Mr extends rn{normalizePropertyName(ne,ge){return on(ne)}normalizeStyleValue(ne,ge,Le,qe){let Dt="";const Nt=Le.toString().trim();if(Tr.has(ge)&&0!==Le&&"0"!==Le)if("number"==typeof Le)Dt="px";else{const Ht=Le.match(/^[+-]?[\d\.]+([a-z]*)$/);Ht&&0==Ht[1].length&&qe.push(function re(et,ne){return new n.\u0275RuntimeError(3005,!1)}())}return Nt+Dt}}const ae="*";const De=new Set(["true","1"]),rt=new Set(["false","0"]);function _t(et,ne){const ge=De.has(et)||rt.has(et),Le=De.has(ne)||rt.has(ne);return(qe,Dt)=>{let Nt=et==ae||et==qe,Ht=ne==ae||ne==Dt;return!Nt&&ge&&"boolean"==typeof qe&&(Nt=qe?De.has(et):rt.has(et)),!Ht&&Le&&"boolean"==typeof Dt&&(Ht=Dt?De.has(ne):rt.has(ne)),Nt&&Ht}}const Bt=new RegExp("s*:selfs*,?","g");function Jt(et,ne,ge,Le){return new vn(et).build(ne,ge,Le)}class vn{constructor(ne){this._driver=ne}build(ne,ge,Le){const qe=new Gt(ge);return this._resetContextStyleTimingState(qe),Zn(this,or(ne),qe)}_resetContextStyleTimingState(ne){ne.currentQuerySelector="",ne.collectedStyles=new Map,ne.collectedStyles.set("",new Map),ne.currentTime=0}visitTrigger(ne,ge){let Le=ge.queryCount=0,qe=ge.depCount=0;const Dt=[],Nt=[];return"@"==ne.name.charAt(0)&&ge.errors.push(function J(){return new n.\u0275RuntimeError(3006,!1)}()),ne.definitions.forEach(Ht=>{if(this._resetContextStyleTimingState(ge),Ht.type==d.State){const Wt=Ht,yn=Wt.name;yn.toString().split(/\s*,\s*/).forEach($n=>{Wt.name=$n,Dt.push(this.visitState(Wt,ge))}),Wt.name=yn}else if(Ht.type==d.Transition){const Wt=this.visitTransition(Ht,ge);Le+=Wt.queryCount,qe+=Wt.depCount,Nt.push(Wt)}else ge.errors.push(function Y(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:d.Trigger,name:ne.name,states:Dt,transitions:Nt,queryCount:Le,depCount:qe,options:null}}visitState(ne,ge){const Le=this.visitStyle(ne.styles,ge),qe=ne.options&&ne.options.params||null;if(Le.containsDynamicStyles){const Dt=new Set,Nt=qe||{};Le.styles.forEach(Ht=>{Ht instanceof Map&&Ht.forEach(Wt=>{ct(Wt).forEach(yn=>{Nt.hasOwnProperty(yn)||Dt.add(yn)})})}),Dt.size&&ge.errors.push(function $(et,ne){return new n.\u0275RuntimeError(3008,!1)}(0,Dt.values()))}return{type:d.State,name:ne.name,style:Le,options:qe?{params:qe}:null}}visitTransition(ne,ge){ge.queryCount=0,ge.depCount=0;const Le=Zn(this,or(ne.animation),ge),qe=function Fe(et,ne){const ge=[];return"string"==typeof et?et.split(/\s*,\s*/).forEach(Le=>function Ae(et,ne,ge){if(":"==et[0]){const Wt=function fe(et,ne){switch(et){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(ge,Le)=>parseFloat(Le)>parseFloat(ge);case":decrement":return(ge,Le)=>parseFloat(Le) *"}}(et,ge);if("function"==typeof Wt)return void ne.push(Wt);et=Wt}const Le=et.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Le||Le.length<4)return ge.push(function ot(et){return new n.\u0275RuntimeError(3015,!1)}()),ne;const qe=Le[1],Dt=Le[2],Nt=Le[3];ne.push(_t(qe,Nt)),"<"==Dt[0]&&(qe!=ae||Nt!=ae)&&ne.push(_t(Nt,qe))}(Le,ge,ne)):ge.push(et),ge}(ne.expr,ge.errors);return{type:d.Transition,matchers:qe,animation:Le,queryCount:ge.queryCount,depCount:ge.depCount,options:cr(ne.options)}}visitSequence(ne,ge){return{type:d.Sequence,steps:ne.steps.map(Le=>Zn(this,Le,ge)),options:cr(ne.options)}}visitGroup(ne,ge){const Le=ge.currentTime;let qe=0;const Dt=ne.steps.map(Nt=>{ge.currentTime=Le;const Ht=Zn(this,Nt,ge);return qe=Math.max(qe,ge.currentTime),Ht});return ge.currentTime=qe,{type:d.Group,steps:Dt,options:cr(ne.options)}}visitAnimate(ne,ge){const Le=function lr(et,ne){if(et.hasOwnProperty("duration"))return et;if("number"==typeof et)return Nr(er(et,ne).duration,0,"");const ge=et;if(ge.split(/\s+/).some(Dt=>"{"==Dt.charAt(0)&&"{"==Dt.charAt(1))){const Dt=Nr(0,0,"");return Dt.dynamic=!0,Dt.strValue=ge,Dt}const qe=er(ge,ne);return Nr(qe.duration,qe.delay,qe.easing)}(ne.timings,ge.errors);ge.currentAnimateTimings=Le;let qe,Dt=ne.styles?ne.styles:g({});if(Dt.type==d.Keyframes)qe=this.visitKeyframes(Dt,ge);else{let Nt=ne.styles,Ht=!1;if(!Nt){Ht=!0;const yn={};Le.easing&&(yn.easing=Le.easing),Nt=g(yn)}ge.currentTime+=Le.duration+Le.delay;const Wt=this.visitStyle(Nt,ge);Wt.isEmptyStep=Ht,qe=Wt}return ge.currentAnimateTimings=null,{type:d.Animate,timings:Le,style:qe,options:null}}visitStyle(ne,ge){const Le=this._makeStyleAst(ne,ge);return this._validateStyleAst(Le,ge),Le}_makeStyleAst(ne,ge){const Le=[],qe=Array.isArray(ne.styles)?ne.styles:[ne.styles];for(let Ht of qe)"string"==typeof Ht?Ht===a?Le.push(Ht):ge.errors.push(new n.\u0275RuntimeError(3002,!1)):Le.push(new Map(Object.entries(Ht)));let Dt=!1,Nt=null;return Le.forEach(Ht=>{if(Ht instanceof Map&&(Ht.has("easing")&&(Nt=Ht.get("easing"),Ht.delete("easing")),!Dt))for(let Wt of Ht.values())if(Wt.toString().indexOf("{{")>=0){Dt=!0;break}}),{type:d.Style,styles:Le,easing:Nt,offset:ne.offset,containsDynamicStyles:Dt,options:null}}_validateStyleAst(ne,ge){const Le=ge.currentAnimateTimings;let qe=ge.currentTime,Dt=ge.currentTime;Le&&Dt>0&&(Dt-=Le.duration+Le.delay),ne.styles.forEach(Nt=>{"string"!=typeof Nt&&Nt.forEach((Ht,Wt)=>{const yn=ge.collectedStyles.get(ge.currentQuerySelector),$n=yn.get(Wt);let Kn=!0;$n&&(Dt!=qe&&Dt>=$n.startTime&&qe<=$n.endTime&&(ge.errors.push(function we(et,ne,ge,Le,qe){return new n.\u0275RuntimeError(3010,!1)}()),Kn=!1),Dt=$n.startTime),Kn&&yn.set(Wt,{startTime:Dt,endTime:qe}),ge.options&&function ui(et,ne,ge){const Le=ne.params||{},qe=ct(et);qe.length&&qe.forEach(Dt=>{Le.hasOwnProperty(Dt)||ge.push(function se(et){return new n.\u0275RuntimeError(3001,!1)}())})}(Ht,ge.options,ge.errors)})})}visitKeyframes(ne,ge){const Le={type:d.Keyframes,styles:[],options:null};if(!ge.currentAnimateTimings)return ge.errors.push(function ye(){return new n.\u0275RuntimeError(3011,!1)}()),Le;let Dt=0;const Nt=[];let Ht=!1,Wt=!1,yn=0;const $n=ne.steps.map(Ai=>{const ji=this._makeStyleAst(Ai,ge);let Ti=null!=ji.offset?ji.offset:function Nn(et){if("string"==typeof et)return null;let ne=null;if(Array.isArray(et))et.forEach(ge=>{if(ge instanceof Map&&ge.has("offset")){const Le=ge;ne=parseFloat(Le.get("offset")),Le.delete("offset")}});else if(et instanceof Map&&et.has("offset")){const ge=et;ne=parseFloat(ge.get("offset")),ge.delete("offset")}return ne}(ji.styles),Ji=0;return null!=Ti&&(Dt++,Ji=ji.offset=Ti),Wt=Wt||Ji<0||Ji>1,Ht=Ht||Ji0&&Dt{const Ti=Wr>0?ji==fr?1:Wr*ji:Nt[ji],Ji=Ti*mi;ge.currentTime=tr+vr.delay+Ji,vr.duration=Ji,this._validateStyleAst(Ai,ge),Ai.offset=Ti,Le.styles.push(Ai)}),Le}visitReference(ne,ge){return{type:d.Reference,animation:Zn(this,or(ne.animation),ge),options:cr(ne.options)}}visitAnimateChild(ne,ge){return ge.depCount++,{type:d.AnimateChild,options:cr(ne.options)}}visitAnimateRef(ne,ge){return{type:d.AnimateRef,animation:this.visitReference(ne.animation,ge),options:cr(ne.options)}}visitQuery(ne,ge){const Le=ge.currentQuerySelector,qe=ne.options||{};ge.queryCount++,ge.currentQuery=ne;const[Dt,Nt]=function Cn(et){const ne=!!et.split(/\s*,\s*/).find(ge=>":self"==ge);return ne&&(et=et.replace(Bt,"")),et=et.replace(/@\*/g,Rn).replace(/@\w+/g,ge=>Rn+"-"+ge.slice(1)).replace(/:animating/g,Sr),[et,ne]}(ne.selector);ge.currentQuerySelector=Le.length?Le+" "+Dt:Dt,ut(ge.collectedStyles,ge.currentQuerySelector,new Map);const Ht=Zn(this,or(ne.animation),ge);return ge.currentQuery=null,ge.currentQuerySelector=Le,{type:d.Query,selector:Dt,limit:qe.limit||0,optional:!!qe.optional,includeSelf:Nt,animation:Ht,originalSelector:ne.selector,options:cr(ne.options)}}visitStagger(ne,ge){ge.currentQuery||ge.errors.push(function Pe(){return new n.\u0275RuntimeError(3013,!1)}());const Le="full"===ne.timings?{duration:0,delay:0,easing:"full"}:er(ne.timings,ge.errors,!0);return{type:d.Stagger,animation:Zn(this,or(ne.animation),ge),timings:Le,options:null}}}class Gt{constructor(ne){this.errors=ne,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 cr(et){return et?(et={...et}).params&&(et.params=function fn(et){return et?{...et}:null}(et.params)):et={},et}function Nr(et,ne,ge){return{duration:et,delay:ne,easing:ge}}function Lr(et,ne,ge,Le,qe,Dt,Nt=null,Ht=!1){return{type:1,element:et,keyframes:ne,preStyleProps:ge,postStyleProps:Le,duration:qe,delay:Dt,totalTime:qe+Dt,easing:Nt,subTimeline:Ht}}class dt{constructor(){this._map=new Map}get(ne){return this._map.get(ne)||[]}append(ne,ge){let Le=this._map.get(ne);Le||this._map.set(ne,Le=[]),Le.push(...ge)}has(ne){return this._map.has(ne)}clear(){this._map.clear()}}const _r=new RegExp(":enter","g"),Gn=new RegExp(":leave","g");function si(et,ne,ge,Le,qe,Dt=new Map,Nt=new Map,Ht,Wt,yn=[]){return(new Ir).buildKeyframes(et,ne,ge,Le,qe,Dt,Nt,Ht,Wt,yn)}class Ir{buildKeyframes(ne,ge,Le,qe,Dt,Nt,Ht,Wt,yn,$n=[]){yn=yn||new dt;const Kn=new Fn(ne,ge,yn,qe,Dt,$n,[]);Kn.options=Wt;const Wr=Wt.delay?pr(Wt.delay):0;Kn.currentTimeline.delayNextStep(Wr),Kn.currentTimeline.setStyles([Nt],null,Kn.errors,Wt),Zn(this,Le,Kn);const fr=Kn.timelines.filter(tr=>tr.containsAnimation());if(fr.length&&Ht.size){let tr;for(let vr=fr.length-1;vr>=0;vr--){const mi=fr[vr];if(mi.element===ge){tr=mi;break}}tr&&!tr.allowOnlyTimelineStyles()&&tr.setStyles([Ht],null,Kn.errors,Wt)}return fr.length?fr.map(tr=>tr.buildKeyframes()):[Lr(ge,[],[],[],0,Wr,"",!1)]}visitTrigger(ne,ge){}visitState(ne,ge){}visitTransition(ne,ge){}visitAnimateChild(ne,ge){const Le=ge.subInstructions.get(ge.element);if(Le){const qe=ge.createSubContext(ne.options),Dt=ge.currentTimeline.currentTime,Nt=this._visitSubInstructions(Le,qe,qe.options);Dt!=Nt&&ge.transformIntoNewTimeline(Nt)}ge.previousNode=ne}visitAnimateRef(ne,ge){const Le=ge.createSubContext(ne.options);Le.transformIntoNewTimeline(),this._applyAnimationRefDelays([ne.options,ne.animation.options],ge,Le),this.visitReference(ne.animation,Le),ge.transformIntoNewTimeline(Le.currentTimeline.currentTime),ge.previousNode=ne}_applyAnimationRefDelays(ne,ge,Le){for(const qe of ne){const Dt=qe?.delay;if(Dt){const Nt="number"==typeof Dt?Dt:pr(Rt(Dt,qe?.params??{},ge.errors));Le.delayNextStep(Nt)}}}_visitSubInstructions(ne,ge,Le){let Dt=ge.currentTimeline.currentTime;const Nt=null!=Le.duration?pr(Le.duration):null,Ht=null!=Le.delay?pr(Le.delay):null;return 0!==Nt&&ne.forEach(Wt=>{const yn=ge.appendInstructionToTimeline(Wt,Nt,Ht);Dt=Math.max(Dt,yn.duration+yn.delay)}),Dt}visitReference(ne,ge){ge.updateOptions(ne.options,!0),Zn(this,ne.animation,ge),ge.previousNode=ne}visitSequence(ne,ge){const Le=ge.subContextCount;let qe=ge;const Dt=ne.options;if(Dt&&(Dt.params||Dt.delay)&&(qe=ge.createSubContext(Dt),qe.transformIntoNewTimeline(),null!=Dt.delay)){qe.previousNode.type==d.Style&&(qe.currentTimeline.snapshotCurrentStyles(),qe.previousNode=ai);const Nt=pr(Dt.delay);qe.delayNextStep(Nt)}ne.steps.length&&(ne.steps.forEach(Nt=>Zn(this,Nt,qe)),qe.currentTimeline.applyStylesToKeyframe(),qe.subContextCount>Le&&qe.transformIntoNewTimeline()),ge.previousNode=ne}visitGroup(ne,ge){const Le=[];let qe=ge.currentTimeline.currentTime;const Dt=ne.options&&ne.options.delay?pr(ne.options.delay):0;ne.steps.forEach(Nt=>{const Ht=ge.createSubContext(ne.options);Dt&&Ht.delayNextStep(Dt),Zn(this,Nt,Ht),qe=Math.max(qe,Ht.currentTimeline.currentTime),Le.push(Ht.currentTimeline)}),Le.forEach(Nt=>ge.currentTimeline.mergeTimelineCollectedStyles(Nt)),ge.transformIntoNewTimeline(qe),ge.previousNode=ne}_visitTiming(ne,ge){if(ne.dynamic){const Le=ne.strValue;return er(ge.params?Rt(Le,ge.params,ge.errors):Le,ge.errors)}return{duration:ne.duration,delay:ne.delay,easing:ne.easing}}visitAnimate(ne,ge){const Le=ge.currentAnimateTimings=this._visitTiming(ne.timings,ge),qe=ge.currentTimeline;Le.delay&&(ge.incrementTime(Le.delay),qe.snapshotCurrentStyles());const Dt=ne.style;Dt.type==d.Keyframes?this.visitKeyframes(Dt,ge):(ge.incrementTime(Le.duration),this.visitStyle(Dt,ge),qe.applyStylesToKeyframe()),ge.currentAnimateTimings=null,ge.previousNode=ne}visitStyle(ne,ge){const Le=ge.currentTimeline,qe=ge.currentAnimateTimings;!qe&&Le.hasCurrentStyleProperties()&&Le.forwardFrame();const Dt=qe&&qe.easing||ne.easing;ne.isEmptyStep?Le.applyEmptyStep(Dt):Le.setStyles(ne.styles,Dt,ge.errors,ge.options),ge.previousNode=ne}visitKeyframes(ne,ge){const Le=ge.currentAnimateTimings,qe=ge.currentTimeline.duration,Dt=Le.duration,Ht=ge.createSubContext().currentTimeline;Ht.easing=Le.easing,ne.styles.forEach(Wt=>{Ht.forwardTime((Wt.offset||0)*Dt),Ht.setStyles(Wt.styles,Wt.easing,ge.errors,ge.options),Ht.applyStylesToKeyframe()}),ge.currentTimeline.mergeTimelineCollectedStyles(Ht),ge.transformIntoNewTimeline(qe+Dt),ge.previousNode=ne}visitQuery(ne,ge){const Le=ge.currentTimeline.currentTime,qe=ne.options||{},Dt=qe.delay?pr(qe.delay):0;Dt&&(ge.previousNode.type===d.Style||0==Le&&ge.currentTimeline.hasCurrentStyleProperties())&&(ge.currentTimeline.snapshotCurrentStyles(),ge.previousNode=ai);let Nt=Le;const Ht=ge.invokeQuery(ne.selector,ne.originalSelector,ne.limit,ne.includeSelf,!!qe.optional,ge.errors);ge.currentQueryTotal=Ht.length;let Wt=null;Ht.forEach((yn,$n)=>{ge.currentQueryIndex=$n;const Kn=ge.createSubContext(ne.options,yn);Dt&&Kn.delayNextStep(Dt),yn===ge.element&&(Wt=Kn.currentTimeline),Zn(this,ne.animation,Kn),Kn.currentTimeline.applyStylesToKeyframe(),Nt=Math.max(Nt,Kn.currentTimeline.currentTime)}),ge.currentQueryIndex=0,ge.currentQueryTotal=0,ge.transformIntoNewTimeline(Nt),Wt&&(ge.currentTimeline.mergeTimelineCollectedStyles(Wt),ge.currentTimeline.snapshotCurrentStyles()),ge.previousNode=ne}visitStagger(ne,ge){const Le=ge.parentContext,qe=ge.currentTimeline,Dt=ne.timings,Nt=Math.abs(Dt.duration),Ht=Nt*(ge.currentQueryTotal-1);let Wt=Nt*ge.currentQueryIndex;switch(Dt.duration<0?"reverse":Dt.easing){case"reverse":Wt=Ht-Wt;break;case"full":Wt=Le.currentStaggerTime}const $n=ge.currentTimeline;Wt&&$n.delayNextStep(Wt);const Kn=$n.currentTime;Zn(this,ne.animation,ge),ge.previousNode=ne,Le.currentStaggerTime=qe.currentTime-Kn+(qe.startTime-Le.currentTimeline.startTime)}}const ai={};class Fn{constructor(ne,ge,Le,qe,Dt,Nt,Ht,Wt){this._driver=ne,this.element=ge,this.subInstructions=Le,this._enterClassName=qe,this._leaveClassName=Dt,this.errors=Nt,this.timelines=Ht,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ai,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Wt||new ti(this._driver,ge,0),Ht.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(ne,ge){if(!ne)return;const Le=ne;let qe=this.options;null!=Le.duration&&(qe.duration=pr(Le.duration)),null!=Le.delay&&(qe.delay=pr(Le.delay));const Dt=Le.params;if(Dt){let Nt=qe.params;Nt||(Nt=this.options.params={}),Object.keys(Dt).forEach(Ht=>{(!ge||!Nt.hasOwnProperty(Ht))&&(Nt[Ht]=Rt(Dt[Ht],Nt,this.errors))})}}_copyOptions(){const ne={};if(this.options){const ge=this.options.params;if(ge){const Le=ne.params={};Object.keys(ge).forEach(qe=>{Le[qe]=ge[qe]})}}return ne}createSubContext(ne=null,ge,Le){const qe=ge||this.element,Dt=new Fn(this._driver,qe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(qe,Le||0));return Dt.previousNode=this.previousNode,Dt.currentAnimateTimings=this.currentAnimateTimings,Dt.options=this._copyOptions(),Dt.updateOptions(ne),Dt.currentQueryIndex=this.currentQueryIndex,Dt.currentQueryTotal=this.currentQueryTotal,Dt.parentContext=this,this.subContextCount++,Dt}transformIntoNewTimeline(ne){return this.previousNode=ai,this.currentTimeline=this.currentTimeline.fork(this.element,ne),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(ne,ge,Le){const qe={duration:ge??ne.duration,delay:this.currentTimeline.currentTime+(Le??0)+ne.delay,easing:""},Dt=new Zr(this._driver,ne.element,ne.keyframes,ne.preStyleProps,ne.postStyleProps,qe,ne.stretchStartingKeyframe);return this.timelines.push(Dt),qe}incrementTime(ne){this.currentTimeline.forwardTime(this.currentTimeline.duration+ne)}delayNextStep(ne){ne>0&&this.currentTimeline.delayNextStep(ne)}invokeQuery(ne,ge,Le,qe,Dt,Nt){let Ht=[];if(qe&&Ht.push(this.element),ne.length>0){ne=(ne=ne.replace(_r,"."+this._enterClassName)).replace(Gn,"."+this._leaveClassName);let yn=this._driver.query(this.element,ne,1!=Le);0!==Le&&(yn=Le<0?yn.slice(yn.length+Le,yn.length):yn.slice(0,Le)),Ht.push(...yn)}return!Dt&&0==Ht.length&&Nt.push(function Ze(et){return new n.\u0275RuntimeError(3014,!1)}()),Ht}}class ti{constructor(ne,ge,Le,qe){this._driver=ne,this.element=ge,this.startTime=Le,this._elementTimelineStylesLookup=qe,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(ge),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(ge,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(ne){const ge=1===this._keyframes.size&&this._pendingStyles.size;this.duration||ge?(this.forwardTime(this.currentTime+ne),ge&&this.snapshotCurrentStyles()):this.startTime+=ne}fork(ne,ge){return this.applyStylesToKeyframe(),new ti(this._driver,ne,ge||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+=1,this._loadKeyframe()}forwardTime(ne){this.applyStylesToKeyframe(),this.duration=ne,this._loadKeyframe()}_updateStyle(ne,ge){this._localTimelineStyles.set(ne,ge),this._globalTimelineStyles.set(ne,ge),this._styleSummary.set(ne,{time:this.currentTime,value:ge})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(ne){ne&&this._previousKeyframe.set("easing",ne);for(let[ge,Le]of this._globalTimelineStyles)this._backFill.set(ge,Le||a),this._currentKeyframe.set(ge,a);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(ne,ge,Le,qe){ge&&this._previousKeyframe.set("easing",ge);const Dt=qe&&qe.params||{},Nt=function Vi(et,ne){const ge=new Map;let Le;return et.forEach(qe=>{if("*"===qe){Le??=ne.keys();for(let Dt of Le)ge.set(Dt,a)}else for(let[Dt,Nt]of qe)ge.set(Dt,Nt)}),ge}(ne,this._globalTimelineStyles);for(let[Ht,Wt]of Nt){const yn=Rt(Wt,Dt,Le);this._pendingStyles.set(Ht,yn),this._localTimelineStyles.has(Ht)||this._backFill.set(Ht,this._globalTimelineStyles.get(Ht)??a),this._updateStyle(Ht,yn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((ne,ge)=>{this._currentKeyframe.set(ge,ne)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((ne,ge)=>{this._currentKeyframe.has(ge)||this._currentKeyframe.set(ge,ne)}))}snapshotCurrentStyles(){for(let[ne,ge]of this._localTimelineStyles)this._pendingStyles.set(ne,ge),this._updateStyle(ne,ge)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const ne=[];for(let ge in this._currentKeyframe)ne.push(ge);return ne}mergeTimelineCollectedStyles(ne){ne._styleSummary.forEach((ge,Le)=>{const qe=this._styleSummary.get(Le);(!qe||ge.time>qe.time)&&this._updateStyle(Le,ge.value)})}buildKeyframes(){this.applyStylesToKeyframe();const ne=new Set,ge=new Set,Le=1===this._keyframes.size&&0===this.duration;let qe=[];this._keyframes.forEach((Ht,Wt)=>{const yn=new Map([...this._backFill,...Ht]);yn.forEach(($n,Kn)=>{"!"===$n?ne.add(Kn):$n===a&&ge.add(Kn)}),Le||yn.set("offset",Wt/this.duration),qe.push(yn)});const Dt=[...ne.values()],Nt=[...ge.values()];if(Le){const Ht=qe[0],Wt=new Map(Ht);Ht.set("offset",0),Wt.set("offset",1),qe=[Ht,Wt]}return Lr(this.element,qe,Dt,Nt,this.duration,this.startTime,this.easing,!1)}}class Zr extends ti{constructor(ne,ge,Le,qe,Dt,Nt,Ht=!1){super(ne,ge,Nt.delay),this.keyframes=Le,this.preStyleProps=qe,this.postStyleProps=Dt,this._stretchStartingKeyframe=Ht,this.timings={duration:Nt.duration,delay:Nt.delay,easing:Nt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let ne=this.keyframes,{delay:ge,duration:Le,easing:qe}=this.timings;if(this._stretchStartingKeyframe&&ge){const Dt=[],Nt=Le+ge,Ht=ge/Nt,Wt=new Map(ne[0]);Wt.set("offset",0),Dt.push(Wt);const yn=new Map(ne[0]);yn.set("offset",Xr(Ht)),Dt.push(yn);const $n=ne.length-1;for(let Kn=1;Kn<=$n;Kn++){let Wr=new Map(ne[Kn]);const fr=Wr.get("offset");Wr.set("offset",Xr((ge+fr*Le)/Nt)),Dt.push(Wr)}Le=Nt,ge=0,qe="",ne=Dt}return Lr(this.element,ne,this.preStyleProps,this.postStyleProps,Le,ge,qe,!0)}}function Xr(et,ne=3){const ge=Math.pow(10,ne-1);return Math.round(et*ge)/ge}function hr(et,ne,ge,Le,qe,Dt,Nt,Ht,Wt,yn,$n,Kn,Wr){return{type:0,element:et,triggerName:ne,isRemovalTransition:qe,fromState:ge,fromStyles:Dt,toState:Le,toStyles:Nt,timelines:Ht,queriedElements:Wt,preStyleProps:yn,postStyleProps:$n,totalTime:Kn,errors:Wr}}const Yi={};class ko{constructor(ne,ge,Le){this._triggerName=ne,this.ast=ge,this._stateStyles=Le}match(ne,ge,Le,qe){return function Jr(et,ne,ge,Le,qe){return et.some(Dt=>Dt(ne,ge,Le,qe))}(this.ast.matchers,ne,ge,Le,qe)}buildStyles(ne,ge,Le){let qe=this._stateStyles.get("*");return void 0!==ne&&(qe=this._stateStyles.get(ne?.toString())||qe),qe?qe.buildStyles(ge,Le):new Map}build(ne,ge,Le,qe,Dt,Nt,Ht,Wt,yn,$n){const Kn=[],Wr=this.ast.options&&this.ast.options.params||Yi,tr=this.buildStyles(Le,Ht&&Ht.params||Yi,Kn),vr=Wt&&Wt.params||Yi,mi=this.buildStyles(qe,vr,Kn),Ai=new Set,ji=new Map,Ti=new Map,Ji="void"===qe,Sn={params:zi(vr,Wr),delay:this.ast.options?.delay},wr=$n?[]:si(ne,ge,this.ast.animation,Dt,Nt,tr,mi,Sn,yn,Kn);let Qi=0;return wr.forEach(Ii=>{Qi=Math.max(Ii.duration+Ii.delay,Qi)}),Kn.length?hr(ge,this._triggerName,Le,qe,Ji,tr,mi,[],[],ji,Ti,Qi,Kn):(wr.forEach(Ii=>{const ei=Ii.element,oo=ut(ji,ei,new Set);Ii.preStyleProps.forEach(at=>oo.add(at));const Be=ut(Ti,ei,new Set);Ii.postStyleProps.forEach(at=>Be.add(at)),ei!==ge&&Ai.add(ei)}),hr(ge,this._triggerName,Le,qe,Ji,tr,mi,wr,[...Ai.values()],ji,Ti,Qi))}}function zi(et,ne){const ge={...ne};return Object.entries(et).forEach(([Le,qe])=>{null!=qe&&(ge[Le]=qe)}),ge}class qi{constructor(ne,ge,Le){this.styles=ne,this.defaultParams=ge,this.normalizer=Le}buildStyles(ne,ge){const Le=new Map,qe=zi(ne,this.defaultParams);return this.styles.styles.forEach(Dt=>{"string"!=typeof Dt&&Dt.forEach((Nt,Ht)=>{Nt&&(Nt=Rt(Nt,qe,ge));const Wt=this.normalizer.normalizePropertyName(Ht,ge);Nt=this.normalizer.normalizeStyleValue(Ht,Wt,Nt,ge),Le.set(Ht,Nt)})}),Le}}class Rr{constructor(ne,ge,Le){this.name=ne,this.ast=ge,this._normalizer=Le,this.transitionFactories=[],this.states=new Map,ge.states.forEach(qe=>{this.states.set(qe.name,new qi(qe.style,qe.options&&qe.options.params||{},Le))}),_i(this.states,"true","1"),_i(this.states,"false","0"),ge.transitions.forEach(qe=>{this.transitionFactories.push(new ko(ne,qe,this.states))}),this.fallbackTransition=function mo(et,ne,ge){return new ko(et,{type:d.Transition,animation:{type:d.Sequence,steps:[],options:null},matchers:[(Nt,Ht)=>!0],options:null,queryCount:0,depCount:0},ne)}(ne,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(ne,ge,Le,qe){return this.transitionFactories.find(Nt=>Nt.match(ne,ge,Le,qe))||null}matchStyles(ne,ge,Le){return this.fallbackTransition.buildStyles(ne,ge,Le)}}function _i(et,ne,ge){et.has(ne)?et.has(ge)||et.set(ge,et.get(ne)):et.has(ge)&&et.set(ne,et.get(ge))}const xi=new dt;class qr{constructor(ne,ge,Le){this.bodyNode=ne,this._driver=ge,this._normalizer=Le,this._animations=new Map,this._playersById=new Map,this.players=[]}register(ne,ge){const Le=[],Dt=Jt(this._driver,ge,Le,[]);if(Le.length)throw function nt(et){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(ne,Dt)}_buildPlayer(ne,ge,Le){const qe=ne.element,Dt=je(this._normalizer,ne.keyframes,ge,Le);return this._driver.animate(qe,Dt,ne.duration,ne.delay,ne.easing,[],!0)}create(ne,ge,Le={}){const qe=[],Dt=this._animations.get(ne);let Nt;const Ht=new Map;if(Dt?(Nt=si(this._driver,ge,Dt,Er,br,new Map,new Map,Le,xi,qe),Nt.forEach($n=>{const Kn=ut(Ht,$n.element,new Map);$n.postStyleProps.forEach(Wr=>Kn.set(Wr,null))})):(qe.push(function Pt(){return new n.\u0275RuntimeError(3300,!1)}()),Nt=[]),qe.length)throw function tn(et){return new n.\u0275RuntimeError(3504,!1)}();Ht.forEach(($n,Kn)=>{$n.forEach((Wr,fr)=>{$n.set(fr,this._driver.computeStyle(Kn,fr,a))})});const yn=$e(Nt.map($n=>{const Kn=Ht.get($n.element);return this._buildPlayer($n,new Map,Kn)}));return this._playersById.set(ne,yn),yn.onDestroy(()=>this.destroy(ne)),this.players.push(yn),yn}destroy(ne){const ge=this._getPlayer(ne);ge.destroy(),this._playersById.delete(ne);const Le=this.players.indexOf(ge);Le>=0&&this.players.splice(Le,1)}_getPlayer(ne){const ge=this._playersById.get(ne);if(!ge)throw function hn(et){return new n.\u0275RuntimeError(3301,!1)}();return ge}listen(ne,ge,Le,qe){const Dt=vt(ge,"","","");return gt(this._getPlayer(ne),Le,Dt,qe),()=>{}}command(ne,ge,Le,qe){if("register"==Le)return void this.register(ne,qe[0]);if("create"==Le)return void this.create(ne,ge,qe[0]||{});const Dt=this._getPlayer(ne);switch(Le){case"play":Dt.play();break;case"pause":Dt.pause();break;case"reset":Dt.reset();break;case"restart":Dt.restart();break;case"finish":Dt.finish();break;case"init":Dt.init();break;case"setPosition":Dt.setPosition(parseFloat(qe[0]));break;case"destroy":this.destroy(ne)}}}const ar="ng-animate-queued",wi="ng-animate-disabled",zr=[],bo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ni={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gr="__ng_removed";class Lo{get params(){return this.options.params}constructor(ne,ge=""){this.namespaceId=ge;const Le=ne&&ne.hasOwnProperty("value");if(this.value=function Ro(et){return et??null}(Le?ne.value:ne),Le){const{value:Dt,...Nt}=ne;this.options=Nt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(ne){const ge=ne.params;if(ge){const Le=this.options.params;Object.keys(ge).forEach(qe=>{null==Le[qe]&&(Le[qe]=ge[qe])})}}}const Oi="void",Zi=new Lo(Oi);class Li{constructor(ne,ge,Le){this.id=ne,this.hostElement=ge,this._engine=Le,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+ne,Ki(ge,this._hostClassName)}listen(ne,ge,Le,qe){if(!this._triggers.has(ge))throw function wn(et,ne){return new n.\u0275RuntimeError(3302,!1)}();if(null==Le||0==Le.length)throw function An(et){return new n.\u0275RuntimeError(3303,!1)}();if(!function bs(et){return"start"==et||"done"==et}(Le))throw function _n(et,ne){return new n.\u0275RuntimeError(3400,!1)}();const Dt=ut(this._elementListeners,ne,[]),Nt={name:ge,phase:Le,callback:qe};Dt.push(Nt);const Ht=ut(this._engine.statesByElement,ne,new Map);return Ht.has(ge)||(Ki(ne,qn),Ki(ne,qn+"-"+ge),Ht.set(ge,Zi)),()=>{this._engine.afterFlush(()=>{const Wt=Dt.indexOf(Nt);Wt>=0&&Dt.splice(Wt,1),this._triggers.has(ge)||Ht.delete(ge)})}}register(ne,ge){return!this._triggers.has(ne)&&(this._triggers.set(ne,ge),!0)}_getTrigger(ne){const ge=this._triggers.get(ne);if(!ge)throw function qt(et){return new n.\u0275RuntimeError(3401,!1)}();return ge}trigger(ne,ge,Le,qe=!0){const Dt=this._getTrigger(ge),Nt=new $o(this.id,ge,ne);let Ht=this._engine.statesByElement.get(ne);Ht||(Ki(ne,qn),Ki(ne,qn+"-"+ge),this._engine.statesByElement.set(ne,Ht=new Map));let Wt=Ht.get(ge);const yn=new Lo(Le,this.id);if(!(Le&&Le.hasOwnProperty("value"))&&Wt&&yn.absorbOptions(Wt.options),Ht.set(ge,yn),Wt||(Wt=Zi),yn.value!==Oi&&Wt.value===yn.value){if(!function Fo(et,ne){const ge=Object.keys(et),Le=Object.keys(ne);if(ge.length!=Le.length)return!1;for(let qe=0;qe{Qn(ne,mi),jn(ne,Ai)})}return}const Wr=ut(this._engine.playersByElement,ne,[]);Wr.forEach(vr=>{vr.namespaceId==this.id&&vr.triggerName==ge&&vr.queued&&vr.destroy()});let fr=Dt.matchTransition(Wt.value,yn.value,ne,yn.params),tr=!1;if(!fr){if(!qe)return;fr=Dt.fallbackTransition,tr=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:ne,triggerName:ge,transition:fr,fromState:Wt,toState:yn,player:Nt,isFallbackTransition:tr}),tr||(Ki(ne,ar),Nt.onStart(()=>{uo(ne,ar)})),Nt.onDone(()=>{let vr=this.players.indexOf(Nt);vr>=0&&this.players.splice(vr,1);const mi=this._engine.playersByElement.get(ne);if(mi){let Ai=mi.indexOf(Nt);Ai>=0&&mi.splice(Ai,1)}}),this.players.push(Nt),Wr.push(Nt),Nt}deregister(ne){this._triggers.delete(ne),this._engine.statesByElement.forEach(ge=>ge.delete(ne)),this._elementListeners.forEach((ge,Le)=>{this._elementListeners.set(Le,ge.filter(qe=>qe.name!=ne))})}clearElementCache(ne){this._engine.statesByElement.delete(ne),this._elementListeners.delete(ne);const ge=this._engine.playersByElement.get(ne);ge&&(ge.forEach(Le=>Le.destroy()),this._engine.playersByElement.delete(ne))}_signalRemovalForInnerTriggers(ne,ge){const Le=this._engine.driver.query(ne,Rn,!0);Le.forEach(qe=>{if(qe[Gr])return;const Dt=this._engine.fetchNamespacesByElement(qe);Dt.size?Dt.forEach(Nt=>Nt.triggerLeaveAnimation(qe,ge,!1,!0)):this.clearElementCache(qe)}),this._engine.afterFlushAnimationsDone(()=>Le.forEach(qe=>this.clearElementCache(qe)))}triggerLeaveAnimation(ne,ge,Le,qe){const Dt=this._engine.statesByElement.get(ne),Nt=new Map;if(Dt){const Ht=[];if(Dt.forEach((Wt,yn)=>{if(Nt.set(yn,Wt.value),this._triggers.has(yn)){const $n=this.trigger(ne,yn,Oi,qe);$n&&Ht.push($n)}}),Ht.length)return this._engine.markElementAsRemoved(this.id,ne,!0,ge,Nt),Le&&$e(Ht).onDone(()=>this._engine.processLeaveNode(ne)),!0}return!1}prepareLeaveAnimationListeners(ne){const ge=this._elementListeners.get(ne),Le=this._engine.statesByElement.get(ne);if(ge&&Le){const qe=new Set;ge.forEach(Dt=>{const Nt=Dt.name;if(qe.has(Nt))return;qe.add(Nt);const Wt=this._triggers.get(Nt).fallbackTransition,yn=Le.get(Nt)||Zi,$n=new Lo(Oi),Kn=new $o(this.id,Nt,ne);this._engine.totalQueuedPlayers++,this._queue.push({element:ne,triggerName:Nt,transition:Wt,fromState:yn,toState:$n,player:Kn,isFallbackTransition:!0})})}}removeNode(ne,ge){const Le=this._engine;if(ne.childElementCount&&this._signalRemovalForInnerTriggers(ne,ge),this.triggerLeaveAnimation(ne,ge,!0))return;let qe=!1;if(Le.totalAnimations){const Dt=Le.players.length?Le.playersByQueriedElement.get(ne):[];if(Dt&&Dt.length)qe=!0;else{let Nt=ne;for(;Nt=Nt.parentNode;)if(Le.statesByElement.get(Nt)){qe=!0;break}}}if(this.prepareLeaveAnimationListeners(ne),qe)Le.markElementAsRemoved(this.id,ne,!1,ge);else{const Dt=ne[Gr];(!Dt||Dt===bo)&&(Le.afterFlush(()=>this.clearElementCache(ne)),Le.destroyInnerAnimations(ne),Le._onRemovalComplete(ne,ge))}}insertNode(ne,ge){Ki(ne,this._hostClassName)}drainQueuedTransitions(ne){const ge=[];return this._queue.forEach(Le=>{const qe=Le.player;if(qe.destroyed)return;const Dt=Le.element,Nt=this._elementListeners.get(Dt);Nt&&Nt.forEach(Ht=>{if(Ht.name==Le.triggerName){const Wt=vt(Dt,Le.triggerName,Le.fromState.value,Le.toState.value);Wt._data=ne,gt(Le.player,Ht.phase,Wt,Ht.callback)}}),qe.markedForDestroy?this._engine.afterFlush(()=>{qe.destroy()}):ge.push(Le)}),this._queue=[],ge.sort((Le,qe)=>{const Dt=Le.transition.ast.depCount,Nt=qe.transition.ast.depCount;return 0==Dt||0==Nt?Dt-Nt:this._engine.driver.containsElement(Le.element,qe.element)?1:-1})}destroy(ne){this.players.forEach(ge=>ge.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,ne)}}class Gi{_onRemovalComplete(ne,ge){this.onRemovalComplete(ne,ge)}constructor(ne,ge,Le,qe){this.bodyNode=ne,this.driver=ge,this._normalizer=Le,this.scheduler=qe,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=(Dt,Nt)=>{}}get queuedPlayers(){const ne=[];return this._namespaceList.forEach(ge=>{ge.players.forEach(Le=>{Le.queued&&ne.push(Le)})}),ne}createNamespace(ne,ge){const Le=new Li(ne,ge,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,ge)?this._balanceNamespaceList(Le,ge):(this.newHostElements.set(ge,Le),this.collectEnterElement(ge)),this._namespaceLookup[ne]=Le}_balanceNamespaceList(ne,ge){const Le=this._namespaceList,qe=this.namespacesByHostElement;if(Le.length-1>=0){let Nt=!1,Ht=this.driver.getParentElement(ge);for(;Ht;){const Wt=qe.get(Ht);if(Wt){const yn=Le.indexOf(Wt);Le.splice(yn+1,0,ne),Nt=!0;break}Ht=this.driver.getParentElement(Ht)}Nt||Le.unshift(ne)}else Le.push(ne);return qe.set(ge,ne),ne}register(ne,ge){let Le=this._namespaceLookup[ne];return Le||(Le=this.createNamespace(ne,ge)),Le}registerTrigger(ne,ge,Le){let qe=this._namespaceLookup[ne];qe&&qe.register(ge,Le)&&this.totalAnimations++}destroy(ne,ge){ne&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const Le=this._fetchNamespace(ne);this.namespacesByHostElement.delete(Le.hostElement);const qe=this._namespaceList.indexOf(Le);qe>=0&&this._namespaceList.splice(qe,1),Le.destroy(ge),delete this._namespaceLookup[ne]}))}_fetchNamespace(ne){return this._namespaceLookup[ne]}fetchNamespacesByElement(ne){const ge=new Set,Le=this.statesByElement.get(ne);if(Le)for(let qe of Le.values())if(qe.namespaceId){const Dt=this._fetchNamespace(qe.namespaceId);Dt&&ge.add(Dt)}return ge}trigger(ne,ge,Le,qe){if(wo(ge)){const Dt=this._fetchNamespace(ne);if(Dt)return Dt.trigger(ge,Le,qe),!0}return!1}insertNode(ne,ge,Le,qe){if(!wo(ge))return;const Dt=ge[Gr];if(Dt&&Dt.setForRemoval){Dt.setForRemoval=!1,Dt.setForMove=!0;const Nt=this.collectedLeaveElements.indexOf(ge);Nt>=0&&this.collectedLeaveElements.splice(Nt,1)}if(ne){const Nt=this._fetchNamespace(ne);Nt&&Nt.insertNode(ge,Le)}qe&&this.collectEnterElement(ge)}collectEnterElement(ne){this.collectedEnterElements.push(ne)}markElementAsDisabled(ne,ge){ge?this.disabledNodes.has(ne)||(this.disabledNodes.add(ne),Ki(ne,wi)):this.disabledNodes.has(ne)&&(this.disabledNodes.delete(ne),uo(ne,wi))}removeNode(ne,ge,Le){if(wo(ge)){this.scheduler?.notify();const qe=ne?this._fetchNamespace(ne):null;qe?qe.removeNode(ge,Le):this.markElementAsRemoved(ne,ge,!1,Le);const Dt=this.namespacesByHostElement.get(ge);Dt&&Dt.id!==ne&&Dt.removeNode(ge,Le)}else this._onRemovalComplete(ge,Le)}markElementAsRemoved(ne,ge,Le,qe,Dt){this.collectedLeaveElements.push(ge),ge[Gr]={namespaceId:ne,setForRemoval:qe,hasAnimation:Le,removedBeforeQueried:!1,previousTriggersValues:Dt}}listen(ne,ge,Le,qe,Dt){return wo(ge)?this._fetchNamespace(ne).listen(ge,Le,qe,Dt):()=>{}}_buildInstruction(ne,ge,Le,qe,Dt){return ne.transition.build(this.driver,ne.element,ne.fromState.value,ne.toState.value,Le,qe,ne.fromState.options,ne.toState.options,ge,Dt)}destroyInnerAnimations(ne){let ge=this.driver.query(ne,Rn,!0);ge.forEach(Le=>this.destroyActiveAnimationsForElement(Le)),0!=this.playersByQueriedElement.size&&(ge=this.driver.query(ne,Sr,!0),ge.forEach(Le=>this.finishActiveQueriedAnimationOnElement(Le)))}destroyActiveAnimationsForElement(ne){const ge=this.playersByElement.get(ne);ge&&ge.forEach(Le=>{Le.queued?Le.markedForDestroy=!0:Le.destroy()})}finishActiveQueriedAnimationOnElement(ne){const ge=this.playersByQueriedElement.get(ne);ge&&ge.forEach(Le=>Le.finish())}whenRenderingDone(){return new Promise(ne=>{if(this.players.length)return $e(this.players).onDone(()=>ne());ne()})}processLeaveNode(ne){const ge=ne[Gr];if(ge&&ge.setForRemoval){if(ne[Gr]=bo,ge.namespaceId){this.destroyInnerAnimations(ne);const Le=this._fetchNamespace(ge.namespaceId);Le&&Le.clearElementCache(ne)}this._onRemovalComplete(ne,ge.setForRemoval)}ne.classList?.contains(wi)&&this.markElementAsDisabled(ne,!1),this.driver.query(ne,".ng-animate-disabled",!0).forEach(Le=>{this.markElementAsDisabled(Le,!1)})}flush(ne=-1){let ge=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Le,qe)=>this._balanceNamespaceList(Le,qe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Le=0;LeLe()),this._flushFns=[],this._whenQuietFns.length){const Le=this._whenQuietFns;this._whenQuietFns=[],ge.length?$e(ge).onDone(()=>{Le.forEach(qe=>qe())}):Le.forEach(qe=>qe())}}reportError(ne){throw function ht(et){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(ne,ge){const Le=new dt,qe=[],Dt=new Map,Nt=[],Ht=new Map,Wt=new Map,yn=new Map,$n=new Set;this.disabledNodes.forEach(ce=>{$n.add(ce);const xe=this.driver.query(ce,".ng-animate-queued",!0);for(let yt=0;yt{const yt=Er+vr++;tr.set(xe,yt),ce.forEach(jt=>Ki(jt,yt))});const mi=[],Ai=new Set,ji=new Set;for(let ce=0;ceAi.add(jt)):ji.add(xe))}const Ti=new Map,Ji=rs(Wr,Array.from(Ai));Ji.forEach((ce,xe)=>{const yt=br+vr++;Ti.set(xe,yt),ce.forEach(jt=>Ki(jt,yt))}),ne.push(()=>{fr.forEach((ce,xe)=>{const yt=tr.get(xe);ce.forEach(jt=>uo(jt,yt))}),Ji.forEach((ce,xe)=>{const yt=Ti.get(xe);ce.forEach(jt=>uo(jt,yt))}),mi.forEach(ce=>{this.processLeaveNode(ce)})});const Sn=[],wr=[];for(let ce=this._namespaceList.length-1;ce>=0;ce--)this._namespaceList[ce].drainQueuedTransitions(ge).forEach(yt=>{const jt=yt.player,cn=yt.element;if(Sn.push(jt),this.collectedEnterElements.length){const an=cn[Gr];if(an&&an.setForMove){if(an.previousTriggersValues&&an.previousTriggersValues.has(yt.triggerName)){const Pn=an.previousTriggersValues.get(yt.triggerName),gr=this.statesByElement.get(yt.element);if(gr&&gr.has(yt.triggerName)){const yr=gr.get(yt.triggerName);yr.value=Pn,gr.set(yt.triggerName,yr)}}return void jt.destroy()}}const X=!Kn||!this.driver.containsElement(Kn,cn),Ve=Ti.get(cn),Ce=tr.get(cn),Re=this._buildInstruction(yt,Le,Ce,Ve,X);if(Re.errors&&Re.errors.length)return void wr.push(Re);if(X)return jt.onStart(()=>Qn(cn,Re.fromStyles)),jt.onDestroy(()=>jn(cn,Re.toStyles)),void qe.push(jt);if(yt.isFallbackTransition)return jt.onStart(()=>Qn(cn,Re.fromStyles)),jt.onDestroy(()=>jn(cn,Re.toStyles)),void qe.push(jt);const Mt=[];Re.timelines.forEach(an=>{an.stretchStartingKeyframe=!0,this.disabledNodes.has(an.element)||Mt.push(an)}),Re.timelines=Mt,Le.append(cn,Re.timelines),Nt.push({instruction:Re,player:jt,element:cn}),Re.queriedElements.forEach(an=>ut(Ht,an,[]).push(jt)),Re.preStyleProps.forEach((an,Pn)=>{if(an.size){let gr=Wt.get(Pn);gr||Wt.set(Pn,gr=new Set),an.forEach((yr,$r)=>gr.add($r))}}),Re.postStyleProps.forEach((an,Pn)=>{let gr=yn.get(Pn);gr||yn.set(Pn,gr=new Set),an.forEach((yr,$r)=>gr.add($r))})});if(wr.length){const ce=[];wr.forEach(xe=>{ce.push(function Ee(et,ne){return new n.\u0275RuntimeError(3505,!1)}())}),Sn.forEach(xe=>xe.destroy()),this.reportError(ce)}const Qi=new Map,Ii=new Map;Nt.forEach(ce=>{const xe=ce.element;Le.has(xe)&&(Ii.set(xe,xe),this._beforeAnimationBuild(ce.player.namespaceId,ce.instruction,Qi))}),qe.forEach(ce=>{const xe=ce.element;this._getPreviousPlayers(xe,!1,ce.namespaceId,ce.triggerName,null).forEach(jt=>{ut(Qi,xe,[]).push(jt),jt.destroy()})});const ei=mi.filter(ce=>Do(ce,Wt,yn)),oo=new Map;ns(oo,this.driver,ji,yn,a).forEach(ce=>{Do(ce,Wt,yn)&&ei.push(ce)});const at=new Map;fr.forEach((ce,xe)=>{ns(at,this.driver,new Set(ce),Wt,"!")}),ei.forEach(ce=>{const xe=oo.get(ce),yt=at.get(ce);oo.set(ce,new Map([...xe?.entries()??[],...yt?.entries()??[]]))});const R=[],q=[],B={};Nt.forEach(ce=>{const{element:xe,player:yt,instruction:jt}=ce;if(Le.has(xe)){if($n.has(xe))return yt.onDestroy(()=>jn(xe,jt.toStyles)),yt.disabled=!0,yt.overrideTotalTime(jt.totalTime),void qe.push(yt);let cn=B;if(Ii.size>1){let Ve=xe;const Ce=[];for(;Ve=Ve.parentNode;){const Re=Ii.get(Ve);if(Re){cn=Re;break}Ce.push(Ve)}Ce.forEach(Re=>Ii.set(Re,cn))}const X=this._buildAnimation(yt.namespaceId,jt,Qi,Dt,at,oo);if(yt.setRealPlayer(X),cn===B)R.push(yt);else{const Ve=this.playersByElement.get(cn);Ve&&Ve.length&&(yt.parentPlayer=$e(Ve)),qe.push(yt)}}else Qn(xe,jt.fromStyles),yt.onDestroy(()=>jn(xe,jt.toStyles)),q.push(yt),$n.has(xe)&&qe.push(yt)}),q.forEach(ce=>{const xe=Dt.get(ce.element);if(xe&&xe.length){const yt=$e(xe);ce.setRealPlayer(yt)}}),qe.forEach(ce=>{ce.parentPlayer?ce.syncPlayerEvents(ce.parentPlayer):ce.destroy()});for(let ce=0;ce!X.destroyed);cn.length?So(this,xe,cn):this.processLeaveNode(xe)}return mi.length=0,R.forEach(ce=>{this.players.push(ce),ce.onDone(()=>{ce.destroy();const xe=this.players.indexOf(ce);this.players.splice(xe,1)}),ce.play()}),R}afterFlush(ne){this._flushFns.push(ne)}afterFlushAnimationsDone(ne){this._whenQuietFns.push(ne)}_getPreviousPlayers(ne,ge,Le,qe,Dt){let Nt=[];if(ge){const Ht=this.playersByQueriedElement.get(ne);Ht&&(Nt=Ht)}else{const Ht=this.playersByElement.get(ne);if(Ht){const Wt=!Dt||Dt==Oi;Ht.forEach(yn=>{yn.queued||!Wt&&yn.triggerName!=qe||Nt.push(yn)})}}return(Le||qe)&&(Nt=Nt.filter(Ht=>!(Le&&Le!=Ht.namespaceId||qe&&qe!=Ht.triggerName))),Nt}_beforeAnimationBuild(ne,ge,Le){const Dt=ge.element,Nt=ge.isRemovalTransition?void 0:ne,Ht=ge.isRemovalTransition?void 0:ge.triggerName;for(const Wt of ge.timelines){const yn=Wt.element,$n=yn!==Dt,Kn=ut(Le,yn,[]);this._getPreviousPlayers(yn,$n,Nt,Ht,ge.toState).forEach(fr=>{const tr=fr.getRealPlayer();tr.beforeDestroy&&tr.beforeDestroy(),fr.destroy(),Kn.push(fr)})}Qn(Dt,ge.fromStyles)}_buildAnimation(ne,ge,Le,qe,Dt,Nt){const Ht=ge.triggerName,Wt=ge.element,yn=[],$n=new Set,Kn=new Set,Wr=ge.timelines.map(tr=>{const vr=tr.element;$n.add(vr);const mi=vr[Gr];if(mi&&mi.removedBeforeQueried)return new x(tr.duration,tr.delay);const Ai=vr!==Wt,ji=function cs(et){const ne=[];return co(et,ne),ne}((Le.get(vr)||zr).map(Qi=>Qi.getRealPlayer())).filter(Qi=>!!Qi.element&&Qi.element===vr),Ti=Dt.get(vr),Ji=Nt.get(vr),Sn=je(this._normalizer,tr.keyframes,Ti,Ji),wr=this._buildPlayer(tr,Sn,ji);if(tr.subTimeline&&qe&&Kn.add(vr),Ai){const Qi=new $o(ne,Ht,vr);Qi.setRealPlayer(wr),yn.push(Qi)}return wr});yn.forEach(tr=>{ut(this.playersByQueriedElement,tr.element,[]).push(tr),tr.onDone(()=>function Co(et,ne,ge){let Le=et.get(ne);if(Le){if(Le.length){const qe=Le.indexOf(ge);Le.splice(qe,1)}0==Le.length&&et.delete(ne)}return Le}(this.playersByQueriedElement,tr.element,tr))}),$n.forEach(tr=>Ki(tr,oi));const fr=$e(Wr);return fr.onDestroy(()=>{$n.forEach(tr=>uo(tr,oi)),jn(Wt,ge.toStyles)}),Kn.forEach(tr=>{ut(qe,tr,[]).push(fr)}),fr}_buildPlayer(ne,ge,Le){return ge.length>0?this.driver.animate(ne.element,ge,ne.duration,ne.delay,ne.easing,Le):new x(ne.duration,ne.delay)}}class $o{constructor(ne,ge,Le){this.namespaceId=ne,this.triggerName=ge,this.element=Le,this._player=new x,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(ne){this._containsRealPlayer||(this._player=ne,this._queuedCallbacks.forEach((ge,Le)=>{ge.forEach(qe=>gt(ne,Le,void 0,qe))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(ne.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(ne){this.totalTime=ne}syncPlayerEvents(ne){const ge=this._player;ge.triggerCallback&&ne.onStart(()=>ge.triggerCallback("start")),ne.onDone(()=>this.finish()),ne.onDestroy(()=>this.destroy())}_queueEvent(ne,ge){ut(this._queuedCallbacks,ne,[]).push(ge)}onDone(ne){this.queued&&this._queueEvent("done",ne),this._player.onDone(ne)}onStart(ne){this.queued&&this._queueEvent("start",ne),this._player.onStart(ne)}onDestroy(ne){this.queued&&this._queueEvent("destroy",ne),this._player.onDestroy(ne)}init(){this._player.init()}hasStarted(){return!this.queued&&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(ne){this.queued||this._player.setPosition(ne)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(ne){const ge=this._player;ge.triggerCallback&&ge.triggerCallback(ne)}}function wo(et){return et&&1===et.nodeType}function Go(et,ne){const ge=et.style.display;return et.style.display=ne??"none",ge}function ns(et,ne,ge,Le,qe){const Dt=[];ge.forEach(Wt=>Dt.push(Go(Wt)));const Nt=[];Le.forEach((Wt,yn)=>{const $n=new Map;Wt.forEach(Kn=>{const Wr=ne.computeStyle(yn,Kn,qe);$n.set(Kn,Wr),(!Wr||0==Wr.length)&&(yn[Gr]=Ni,Nt.push(yn))}),et.set(yn,$n)});let Ht=0;return ge.forEach(Wt=>Go(Wt,Dt[Ht++])),Nt}function rs(et,ne){const ge=new Map;if(et.forEach(Ht=>ge.set(Ht,[])),0==ne.length)return ge;const qe=new Set(ne),Dt=new Map;function Nt(Ht){if(!Ht)return 1;let Wt=Dt.get(Ht);if(Wt)return Wt;const yn=Ht.parentNode;return Wt=ge.has(yn)?yn:qe.has(yn)?1:Nt(yn),Dt.set(Ht,Wt),Wt}return ne.forEach(Ht=>{const Wt=Nt(Ht);1!==Wt&&ge.get(Wt).push(Ht)}),ge}function Ki(et,ne){et.classList?.add(ne)}function uo(et,ne){et.classList?.remove(ne)}function So(et,ne,ge){$e(ge).onDone(()=>et.processLeaveNode(ne))}function co(et,ne){for(let ge=0;geqe.add(Dt)):ne.set(et,Le),ge.delete(et),!0}class Ko{constructor(ne,ge,Le,qe){this._driver=ge,this._normalizer=Le,this._triggerCache={},this.onRemovalComplete=(Dt,Nt)=>{},this._transitionEngine=new Gi(ne.body,ge,Le,qe),this._timelineEngine=new qr(ne.body,ge,Le),this._transitionEngine.onRemovalComplete=(Dt,Nt)=>this.onRemovalComplete(Dt,Nt)}registerTrigger(ne,ge,Le,qe,Dt){const Nt=ne+"-"+qe;let Ht=this._triggerCache[Nt];if(!Ht){const Wt=[],$n=Jt(this._driver,Dt,Wt,[]);if(Wt.length)throw function Ct(et,ne){return new n.\u0275RuntimeError(3404,!1)}();Ht=function ro(et,ne,ge){return new Rr(et,ne,ge)}(qe,$n,this._normalizer),this._triggerCache[Nt]=Ht}this._transitionEngine.registerTrigger(ge,qe,Ht)}register(ne,ge){this._transitionEngine.register(ne,ge)}destroy(ne,ge){this._transitionEngine.destroy(ne,ge)}onInsert(ne,ge,Le,qe){this._transitionEngine.insertNode(ne,ge,Le,qe)}onRemove(ne,ge,Le){this._transitionEngine.removeNode(ne,ge,Le)}disableAnimations(ne,ge){this._transitionEngine.markElementAsDisabled(ne,ge)}process(ne,ge,Le,qe){if("@"==Le.charAt(0)){const[Dt,Nt]=wt(Le);this._timelineEngine.command(Dt,ge,Nt,qe)}else this._transitionEngine.trigger(ne,ge,Le,qe)}listen(ne,ge,Le,qe,Dt){if("@"==Le.charAt(0)){const[Nt,Ht]=wt(Le);return this._timelineEngine.listen(Nt,ge,Ht,Dt)}return this._transitionEngine.listen(ne,ge,Le,qe,Dt)}flush(ne=-1){this._transitionEngine.flush(ne)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(ne){this._transitionEngine.afterFlushAnimationsDone(ne)}}class Qo{static#e=this.initialStylesByElement=new WeakMap;constructor(ne,ge,Le){this._element=ne,this._startStyles=ge,this._endStyles=Le,this._state=0;let qe=Qo.initialStylesByElement.get(ne);qe||Qo.initialStylesByElement.set(ne,qe=new Map),this._initialStyles=qe}start(){this._state<1&&(this._startStyles&&jn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(jn(this._element,this._initialStyles),this._endStyles&&(jn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Qo.initialStylesByElement.delete(this._element),this._startStyles&&(Qn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Qn(this._element,this._endStyles),this._endStyles=null),jn(this._element,this._initialStyles),this._state=3)}}function Ye(et){let ne=null;return et.forEach((ge,Le)=>{(function Ke(et){return"display"===et||"position"===et})(Le)&&(ne=ne||new Map,ne.set(Le,ge))}),ne}class Ie{constructor(ne,ge,Le,qe){this.element=ne,this.keyframes=ge,this.options=Le,this._specialStyles=qe,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=Le.duration,this._delay=Le.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const ne=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,ne,this.options),this._finalKeyframe=ne.length?ne[ne.length-1]:new Map;const ge=()=>this._onFinish();this.domPlayer.addEventListener("finish",ge),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",ge)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(ne){const ge=[];return ne.forEach(Le=>{ge.push(Object.fromEntries(Le))}),ge}_triggerWebAnimation(ne,ge,Le){return ne.animate(this._convertKeyframesToObject(ge),Le)}onStart(ne){this._originalOnStartFns.push(ne),this._onStartFns.push(ne)}onDone(ne){this._originalOnDoneFns.push(ne),this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(ne=>ne()),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(ne=>ne()),this._onDestroyFns=[])}setPosition(ne){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=ne*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const ne=new Map;this.hasStarted()&&this._finalKeyframe.forEach((Le,qe)=>{"offset"!==qe&&ne.set(qe,this._finished?Le:Yn(this.element,qe))}),this.currentSnapshot=ne}triggerCallback(ne){const ge="start"===ne?this._onStartFns:this._onDoneFns;ge.forEach(Le=>Le()),ge.length=0}}class ft{validateStyleProperty(ne){return!0}validateAnimatableStyleProperty(ne){return!0}matchesElement(ne,ge){return!1}containsElement(ne,ge){return St(ne,ge)}getParentElement(ne){return zt(ne)}query(ne,ge,Le){return xt(ne,ge,Le)}computeStyle(ne,ge,Le){return Yn(ne,ge)}animate(ne,ge,Le,qe,Dt,Nt=[]){const Wt={duration:Le,delay:qe,fill:0==qe?"both":"forwards"};Dt&&(Wt.easing=Dt);const yn=new Map,$n=Nt.filter(fr=>fr instanceof Ie);(function Mn(et,ne){return 0===et||0===ne})(Le,qe)&&$n.forEach(fr=>{fr.currentSnapshot.forEach((tr,vr)=>yn.set(vr,tr))});let Kn=function pi(et){return et.length?et[0]instanceof Map?et:et.map(ne=>new Map(Object.entries(ne))):[]}(ge).map(fr=>new Map(fr));Kn=function En(et,ne,ge){if(ge.size&&ne.length){let Le=ne[0],qe=[];if(ge.forEach((Dt,Nt)=>{Le.has(Nt)||qe.push(Nt),Le.set(Nt,Dt)}),qe.length)for(let Dt=1;DtNt.set(Ht,Yn(et,Ht)))}}return ne}(ne,Kn,yn);const Wr=function hs(et,ne){let ge=null,Le=null;return Array.isArray(ne)&&ne.length?(ge=Ye(ne[0]),ne.length>1&&(Le=Ye(ne[ne.length-1]))):ne instanceof Map&&(ge=Ye(ne)),ge||Le?new Qo(et,ge,Le):null}(ne,Kn);return new Ie(ne,Kn,Wt,Wr)}}const Wi="@.disabled";class Eo{constructor(ne,ge,Le,qe){this.namespaceId=ne,this.delegate=ge,this.engine=Le,this._onDestroy=qe,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(ne){this.delegate.destroyNode?.(ne)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(ne,ge){return this.delegate.createElement(ne,ge)}createComment(ne){return this.delegate.createComment(ne)}createText(ne){return this.delegate.createText(ne)}appendChild(ne,ge){this.delegate.appendChild(ne,ge),this.engine.onInsert(this.namespaceId,ge,ne,!1)}insertBefore(ne,ge,Le,qe=!0){this.delegate.insertBefore(ne,ge,Le),this.engine.onInsert(this.namespaceId,ge,ne,qe)}removeChild(ne,ge,Le){this.engine.onRemove(this.namespaceId,ge,this.delegate)}selectRootElement(ne,ge){return this.delegate.selectRootElement(ne,ge)}parentNode(ne){return this.delegate.parentNode(ne)}nextSibling(ne){return this.delegate.nextSibling(ne)}setAttribute(ne,ge,Le,qe){this.delegate.setAttribute(ne,ge,Le,qe)}removeAttribute(ne,ge,Le){this.delegate.removeAttribute(ne,ge,Le)}addClass(ne,ge){this.delegate.addClass(ne,ge)}removeClass(ne,ge){this.delegate.removeClass(ne,ge)}setStyle(ne,ge,Le,qe){this.delegate.setStyle(ne,ge,Le,qe)}removeStyle(ne,ge,Le){this.delegate.removeStyle(ne,ge,Le)}setProperty(ne,ge,Le){"@"==ge.charAt(0)&&ge==Wi?this.disableAnimations(ne,!!Le):this.delegate.setProperty(ne,ge,Le)}setValue(ne,ge){this.delegate.setValue(ne,ge)}listen(ne,ge,Le){return this.delegate.listen(ne,ge,Le)}disableAnimations(ne,ge){this.engine.disableAnimations(ne,ge)}}class Ao extends Eo{constructor(ne,ge,Le,qe,Dt){super(ge,Le,qe,Dt),this.factory=ne,this.namespaceId=ge}setProperty(ne,ge,Le){"@"==ge.charAt(0)?"."==ge.charAt(1)&&ge==Wi?this.disableAnimations(ne,Le=void 0===Le||!!Le):this.engine.process(this.namespaceId,ne,ge.slice(1),Le):this.delegate.setProperty(ne,ge,Le)}listen(ne,ge,Le){if("@"==ge.charAt(0)){const qe=function ho(et){switch(et){case"body":return document.body;case"document":return document;case"window":return window;default:return et}}(ne);let Dt=ge.slice(1),Nt="";return"@"!=Dt.charAt(0)&&([Dt,Nt]=function Ur(et){const ne=et.indexOf(".");return[et.substring(0,ne),et.slice(ne+1)]}(Dt)),this.engine.listen(this.namespaceId,qe,Dt,Nt,Ht=>{this.factory.scheduleListenerCallback(Ht._data||-1,Le,Ht)})}return this.delegate.listen(ne,ge,Le)}}class Zo{constructor(ne,ge,Le){this.delegate=ne,this.engine=ge,this._zone=Le,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ge.onRemovalComplete=(qe,Dt)=>{const Nt=Dt?.parentNode(qe);Nt&&Dt.removeChild(Nt,qe)}}createRenderer(ne,ge){const qe=this.delegate.createRenderer(ne,ge);if(!ne||!ge?.data?.animation){const yn=this._rendererCache;let $n=yn.get(qe);return $n||($n=new Eo("",qe,this.engine,()=>yn.delete(qe)),yn.set(qe,$n)),$n}const Dt=ge.id,Nt=ge.id+"-"+this._currentId;this._currentId++,this.engine.register(Nt,ne);const Ht=yn=>{Array.isArray(yn)?yn.forEach(Ht):this.engine.registerTrigger(Dt,Nt,ne,yn.name,yn)};return ge.data.animation.forEach(Ht),new Ao(this,Nt,qe,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(ne,ge,Le){if(ne>=0&&nege(Le));const qe=this._animationCallbacksBuffer;0==qe.length&&queueMicrotask(()=>{this._zone.run(()=>{qe.forEach(Dt=>{const[Nt,Ht]=Dt;Nt(Ht)}),this._animationCallbacksBuffer=[]})}),qe.push([ge,Le])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var is=o(91368);let Xi=(()=>{class et extends Ko{constructor(ge,Le,qe){super(ge,Le,qe,(0,n.inject)(n.\u0275ChangeDetectionScheduler,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(Le){return new(Le||et)(n.\u0275\u0275inject(is.DOCUMENT),n.\u0275\u0275inject(Tn),n.\u0275\u0275inject(rn))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac})}return et})();const _o=[{provide:rn,useFactory:function Xo(){return new Mr}},{provide:Ko,useClass:Xi},{provide:n.RendererFactory2,useFactory:function xo(et,ne,ge){return new Zo(et,ne,ge)},deps:[i.\u0275DomRendererFactory2,Ko,n.NgZone]}],Di=[{provide:Tn,useFactory:()=>new ft},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},..._o],To=[{provide:Tn,useClass:bn},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},..._o];let Cs=(()=>{class et{static withConfig(ge){return{ngModule:et,providers:ge.disableAnimations?To:Di}}static#e=this.\u0275fac=function(Le){return new(Le||et)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:et});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:Di,imports:[i.BrowserModule]})}return et})();function os(){return(0,n.\u0275performanceMarkFeature)("NgEagerAnimations"),[...Di]}let io=(()=>{class et{static#e=this.\u0275fac=function(Le){return new(Le||et)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:et});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:To,imports:[i.BrowserModule]})}return et})();function fs(){return[...To]}},14476:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{BrowserModule:()=>mt,By:()=>_n,DomSanitizer:()=>gt,EVENT_MANAGER_PLUGINS:()=>p,EventManager:()=>S,EventManagerPlugin:()=>C,HAMMER_GESTURE_CONFIG:()=>Ue,HAMMER_LOADER:()=>Ee,HammerGestureConfig:()=>Te,HammerModule:()=>je,HydrationFeatureKind:()=>vt,Meta:()=>Qe,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>F,Title:()=>Xe,TransferState:()=>Xt,VERSION:()=>It,bootstrapApplication:()=>$,createApplication:()=>le,disableDebugTools:()=>An,enableDebugTools:()=>wn,makeStateKey:()=>Yt,platformBrowser:()=>Pe,provideClientHydration:()=>pt,provideProtractorTestingSupport:()=>we,withHttpTransferCacheOptions:()=>st,withNoHttpTransferCache:()=>wt,\u0275BrowserDomAdapter:()=>l,\u0275BrowserGetTestability:()=>g,\u0275DomEventsPlugin:()=>K,\u0275DomRendererFactory2:()=>x,\u0275DomSanitizerImpl:()=>He,\u0275HammerGesturesPlugin:()=>$e,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>_e,\u0275KeyEventsPlugin:()=>Y,\u0275SharedStylesHost:()=>f,\u0275getDOM:()=>i.\u0275getDOM,\u0275initDomAdapter:()=>ye});var n=o(54496),i=o(91368),d=o(97048);class a extends i.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class l extends a{static makeCurrent(){(0,i.\u0275setRootDomAdapter)(new l)}onAndCancel($t,St,xt){return $t.addEventListener(St,xt),()=>{$t.removeEventListener(St,xt)}}dispatchEvent($t,St){$t.dispatchEvent(St)}remove($t){$t.parentNode&&$t.parentNode.removeChild($t)}createElement($t,St){return(St=St||this.getDefaultDocument()).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,St){return"window"===St?window:"document"===St?$t:"body"===St?$t.body:null}getBaseHref($t){const St=function u(){return e=e||document.querySelector("base"),e?e.getAttribute("href"):null}();return null==St?null:function c(At){return new URL(At,document.baseURI).pathname}(St)}resetBaseElement(){e=null}getUserAgent(){return window.navigator.userAgent}getCookie($t){return(0,i.\u0275parseCookieValue)(document.cookie,$t)}}let e=null;class g{addToWindow($t){n.\u0275global.getAngularTestability=(xt,nn=!0)=>{const bn=$t.findTestabilityInTree(xt,nn);if(null==bn)throw new n.\u0275RuntimeError(5103,!1);return bn},n.\u0275global.getAllAngularTestabilities=()=>$t.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>$t.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(xt=>{const nn=n.\u0275global.getAllAngularTestabilities();let bn=nn.length;const Tn=function(){bn--,0==bn&&xt()};nn.forEach(rn=>{rn.whenStable(Tn)})})}findTestabilityInTree($t,St,xt){return null==St?null:$t.getTestability(St)??(xt?(0,i.\u0275getDOM)().isShadowRoot(St)?this.findTestabilityInTree($t,St.host,!0):this.findTestabilityInTree($t,St.parentElement,!0):null)}}let v=(()=>{class At{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(xt){return new(xt||At)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})();const p=new n.InjectionToken("");let S=(()=>{class At{constructor(St,xt){this._zone=xt,this._eventNameToPlugin=new Map,St.forEach(nn=>{nn.manager=this}),this._plugins=St.slice().reverse()}addEventListener(St,xt,nn){return this._findPluginFor(xt).addEventListener(St,xt,nn)}getZone(){return this._zone}_findPluginFor(St){let xt=this._eventNameToPlugin.get(St);if(xt)return xt;if(xt=this._plugins.find(bn=>bn.supports(St)),!xt)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(St,xt),xt}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})();class C{constructor($t){this._doc=$t}}const _="ng-app-id";let f=(()=>{class At{constructor(St,xt,nn,bn={}){this.doc=St,this.appId=xt,this.nonce=nn,this.platformId=bn,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,i.isPlatformServer)(bn),this.resetHostNodes()}addStyles(St){for(const xt of St)1===this.changeUsageCount(xt,1)&&this.onStyleAdded(xt)}removeStyles(St){for(const xt of St)this.changeUsageCount(xt,-1)<=0&&this.onStyleRemoved(xt)}ngOnDestroy(){const St=this.styleNodesInDOM;St&&(St.forEach(xt=>xt.remove()),St.clear());for(const xt of this.getAllStyles())this.onStyleRemoved(xt);this.resetHostNodes()}addHost(St){this.hostNodes.add(St);for(const xt of this.getAllStyles())this.addStyleToHost(St,xt)}removeHost(St){this.hostNodes.delete(St)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(St){for(const xt of this.hostNodes)this.addStyleToHost(xt,St)}onStyleRemoved(St){const xt=this.styleRef;xt.get(St)?.elements?.forEach(nn=>nn.remove()),xt.delete(St)}collectServerRenderedStyles(){const St=this.doc.head?.querySelectorAll(`style[${_}="${this.appId}"]`);if(St?.length){const xt=new Map;return St.forEach(nn=>{null!=nn.textContent&&xt.set(nn.textContent,nn)}),xt}return null}changeUsageCount(St,xt){const nn=this.styleRef;if(nn.has(St)){const bn=nn.get(St);return bn.usage+=xt,bn.usage}return nn.set(St,{usage:xt,elements:[]}),xt}getStyleElement(St,xt){const nn=this.styleNodesInDOM,bn=nn?.get(xt);if(bn?.parentNode===St)return nn.delete(xt),bn.removeAttribute(_),bn;{const Tn=this.doc.createElement("style");return this.nonce&&Tn.setAttribute("nonce",this.nonce),Tn.textContent=xt,this.platformIsServer&&Tn.setAttribute(_,this.appId),St.appendChild(Tn),Tn}}addStyleToHost(St,xt){const nn=this.getStyleElement(St,xt),bn=this.styleRef,Tn=bn.get(xt)?.elements;Tn?Tn.push(nn):bn.set(xt,{elements:[nn],usage:1})}resetHostNodes(){const St=this.hostNodes;St.clear(),St.add(this.doc.head)}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})();const y={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/"},b=/%COMP%/g,E="%COMP%",M=`_nghost-${E}`,A=`_ngcontent-${E}`,F=new n.InjectionToken("",{providedIn:"root",factory:()=>!0});function P(At,$t){return $t.map(St=>St.replace(b,At))}let x=(()=>{class At{constructor(St,xt,nn,bn,Tn,rn,nr,kr=null){this.eventManager=St,this.sharedStylesHost=xt,this.appId=nn,this.removeStylesOnCompDestroy=bn,this.doc=Tn,this.platformId=rn,this.ngZone=nr,this.nonce=kr,this.rendererByCompId=new Map,this.platformIsServer=(0,i.isPlatformServer)(rn),this.defaultRenderer=new N(St,Tn,nr,this.platformIsServer)}createRenderer(St,xt){if(!St||!xt)return this.defaultRenderer;this.platformIsServer&&xt.encapsulation===n.ViewEncapsulation.ShadowDom&&(xt={...xt,encapsulation:n.ViewEncapsulation.Emulated});const nn=this.getOrCreateRenderer(St,xt);return nn instanceof se?nn.applyToHost(St):nn instanceof ue&&nn.applyStyles(),nn}getOrCreateRenderer(St,xt){const nn=this.rendererByCompId;let bn=nn.get(xt.id);if(!bn){const Tn=this.doc,rn=this.ngZone,nr=this.eventManager,kr=this.sharedStylesHost,Br=this.removeStylesOnCompDestroy,sr=this.platformIsServer;switch(xt.encapsulation){case n.ViewEncapsulation.Emulated:bn=new se(nr,kr,xt,this.appId,Br,Tn,rn,sr);break;case n.ViewEncapsulation.ShadowDom:return new te(nr,kr,St,xt,Tn,rn,this.nonce,sr);default:bn=new ue(nr,kr,xt,Br,Tn,rn,sr)}nn.set(xt.id,bn)}return bn}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(S),n.\u0275\u0275inject(f),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(F),n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})();class N{constructor($t,St,xt,nn){this.eventManager=$t,this.doc=St,this.ngZone=xt,this.platformIsServer=nn,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement($t,St){return St?this.doc.createElementNS(y[St]||St,$t):this.doc.createElement($t)}createComment($t){return this.doc.createComment($t)}createText($t){return this.doc.createTextNode($t)}appendChild($t,St){(G($t)?$t.content:$t).appendChild(St)}insertBefore($t,St,xt){$t&&(G($t)?$t.content:$t).insertBefore(St,xt)}removeChild($t,St){$t&&$t.removeChild(St)}selectRootElement($t,St){let xt="string"==typeof $t?this.doc.querySelector($t):$t;if(!xt)throw new n.\u0275RuntimeError(-5104,!1);return St||(xt.textContent=""),xt}parentNode($t){return $t.parentNode}nextSibling($t){return $t.nextSibling}setAttribute($t,St,xt,nn){if(nn){St=nn+":"+St;const bn=y[nn];bn?$t.setAttributeNS(bn,St,xt):$t.setAttribute(St,xt)}else $t.setAttribute(St,xt)}removeAttribute($t,St,xt){if(xt){const nn=y[xt];nn?$t.removeAttributeNS(nn,St):$t.removeAttribute(`${xt}:${St}`)}else $t.removeAttribute(St)}addClass($t,St){$t.classList.add(St)}removeClass($t,St){$t.classList.remove(St)}setStyle($t,St,xt,nn){nn&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?$t.style.setProperty(St,xt,nn&n.RendererStyleFlags2.Important?"important":""):$t.style[St]=xt}removeStyle($t,St,xt){xt&n.RendererStyleFlags2.DashCase?$t.style.removeProperty(St):$t.style[St]=""}setProperty($t,St,xt){null!=$t&&($t[St]=xt)}setValue($t,St){$t.nodeValue=St}listen($t,St,xt){if("string"==typeof $t&&!($t=(0,i.\u0275getDOM)().getGlobalEventTarget(this.doc,$t)))throw new Error(`Unsupported event target ${$t} for event ${St}`);return this.eventManager.addEventListener($t,St,this.decoratePreventDefault(xt))}decoratePreventDefault($t){return St=>{if("__ngUnwrap__"===St)return $t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>$t(St)):$t(St))&&St.preventDefault()}}}function G(At){return"TEMPLATE"===At.tagName&&void 0!==At.content}class te extends N{constructor($t,St,xt,nn,bn,Tn,rn,nr){super($t,bn,Tn,nr),this.sharedStylesHost=St,this.hostEl=xt,this.shadowRoot=xt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const kr=P(nn.id,nn.styles);for(const Br of kr){const sr=document.createElement("style");rn&&sr.setAttribute("nonce",rn),sr.textContent=Br,this.shadowRoot.appendChild(sr)}}nodeOrShadowRoot($t){return $t===this.hostEl?this.shadowRoot:$t}appendChild($t,St){return super.appendChild(this.nodeOrShadowRoot($t),St)}insertBefore($t,St,xt){return super.insertBefore(this.nodeOrShadowRoot($t),St,xt)}removeChild($t,St){return super.removeChild(this.nodeOrShadowRoot($t),St)}parentNode($t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot($t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ue extends N{constructor($t,St,xt,nn,bn,Tn,rn,nr){super($t,bn,Tn,rn),this.sharedStylesHost=St,this.removeStylesOnCompDestroy=nn,this.styles=nr?P(nr,xt.styles):xt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class se extends ue{constructor($t,St,xt,nn,bn,Tn,rn,nr){const kr=nn+"-"+xt.id;super($t,St,xt,bn,Tn,rn,nr,kr),this.contentAttr=function j(At){return A.replace(b,At)}(kr),this.hostAttr=function T(At){return M.replace(b,At)}(kr)}applyToHost($t){this.applyStyles(),this.setAttribute($t,this.hostAttr,"")}createElement($t,St){const xt=super.createElement($t,St);return super.setAttribute(xt,this.contentAttr,""),xt}}let K=(()=>{class At extends C{constructor(St){super(St)}supports(St){return!0}addEventListener(St,xt,nn){return St.addEventListener(xt,nn,!1),()=>this.removeEventListener(St,xt,nn)}removeEventListener(St,xt,nn){return St.removeEventListener(xt,nn)}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})();const Z=["alt","control","meta","shift"],re={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},J={alt:At=>At.altKey,control:At=>At.ctrlKey,meta:At=>At.metaKey,shift:At=>At.shiftKey};let Y=(()=>{class At extends C{constructor(St){super(St)}supports(St){return null!=At.parseEventName(St)}addEventListener(St,xt,nn){const bn=At.parseEventName(xt),Tn=At.eventCallback(bn.fullKey,nn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.\u0275getDOM)().onAndCancel(St,bn.domEventName,Tn))}static parseEventName(St){const xt=St.toLowerCase().split("."),nn=xt.shift();if(0===xt.length||"keydown"!==nn&&"keyup"!==nn)return null;const bn=At._normalizeKey(xt.pop());let Tn="",rn=xt.indexOf("code");if(rn>-1&&(xt.splice(rn,1),Tn="code."),Z.forEach(kr=>{const Br=xt.indexOf(kr);Br>-1&&(xt.splice(Br,1),Tn+=kr+".")}),Tn+=bn,0!=xt.length||0===bn.length)return null;const nr={};return nr.domEventName=nn,nr.fullKey=Tn,nr}static matchEventFullKeyCode(St,xt){let nn=re[St.key]||St.key,bn="";return xt.indexOf("code.")>-1&&(nn=St.code,bn="code."),!(null==nn||!nn)&&(nn=nn.toLowerCase()," "===nn?nn="space":"."===nn&&(nn="dot"),Z.forEach(Tn=>{Tn!==nn&&(0,J[Tn])(St)&&(bn+=Tn+".")}),bn+=nn,bn===xt)}static eventCallback(St,xt,nn){return bn=>{At.matchEventFullKeyCode(bn,St)&&nn.runGuarded(()=>xt(bn))}}static _normalizeKey(St){return"esc"===St?"escape":St}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})();function $(At,$t){return(0,n.\u0275internalCreateApplication)({rootComponent:At,...ee($t)})}function le(At){return(0,n.\u0275internalCreateApplication)(ee(At))}function ee(At){return{appProviders:[...tt,...At?.providers??[]],platformProviders:_e}}function we(){return[...ot]}function ye(){l.makeCurrent()}const _e=[{provide:n.PLATFORM_ID,useValue:i.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:ye,multi:!0},{provide:i.DOCUMENT,useFactory:function ve(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Pe=(0,n.createPlatformFactory)(n.platformCore,"browser",_e),Ze=new n.InjectionToken(""),ot=[{provide:n.\u0275TESTABILITY_GETTER,useClass:g,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],tt=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Oe(){return new n.ErrorHandler},deps:[]},{provide:p,useClass:K,multi:!0,deps:[i.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:p,useClass:Y,multi:!0,deps:[i.DOCUMENT]},x,f,S,{provide:n.RendererFactory2,useExisting:x},{provide:i.XhrFactory,useClass:v,deps:[]},[]];let mt=(()=>{class At{constructor(St){}static withServerTransition(St){return{ngModule:At,providers:[{provide:n.APP_ID,useValue:St.appId}]}}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(Ze,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:At});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...tt,...ot],imports:[i.CommonModule,n.ApplicationModule]})}return At})(),Qe=(()=>{class At{constructor(St){this._doc=St,this._dom=(0,i.\u0275getDOM)()}addTag(St,xt=!1){return St?this._getOrCreateElement(St,xt):null}addTags(St,xt=!1){return St?St.reduce((nn,bn)=>(bn&&nn.push(this._getOrCreateElement(bn,xt)),nn),[]):[]}getTag(St){return St&&this._doc.querySelector(`meta[${St}]`)||null}getTags(St){if(!St)return[];const xt=this._doc.querySelectorAll(`meta[${St}]`);return xt?[].slice.call(xt):[]}updateTag(St,xt){if(!St)return null;xt=xt||this._parseSelector(St);const nn=this.getTag(xt);return nn?this._setMetaElementAttributes(St,nn):this._getOrCreateElement(St,!0)}removeTag(St){this.removeTagElement(this.getTag(St))}removeTagElement(St){St&&this._dom.remove(St)}_getOrCreateElement(St,xt=!1){if(!xt){const Tn=this._parseSelector(St),rn=this.getTags(Tn).filter(nr=>this._containsAttributes(St,nr))[0];if(void 0!==rn)return rn}const nn=this._dom.createElement("meta");return this._setMetaElementAttributes(St,nn),this._doc.getElementsByTagName("head")[0].appendChild(nn),nn}_setMetaElementAttributes(St,xt){return Object.keys(St).forEach(nn=>xt.setAttribute(this._getMetaKeyMap(nn),St[nn])),xt}_parseSelector(St){const xt=St.name?"name":"property";return`${xt}="${St[xt]}"`}_containsAttributes(St,xt){return Object.keys(St).every(nn=>xt.getAttribute(this._getMetaKeyMap(nn))===St[nn])}_getMetaKeyMap(St){return Ct[St]||St}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})();const Ct={httpEquiv:"http-equiv"};let Xe=(()=>{class At{constructor(St){this._doc=St}getTitle(){return this._doc.title}setTitle(St){this._doc.title=St||""}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})();function nt(At,$t){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[At]=$t)}class Pt{constructor($t,St){this.msPerTick=$t,this.numTicks=St}}class tn{constructor($t){this.appRef=$t.injector.get(n.ApplicationRef)}timeChangeDetection($t){const St=$t&&$t.record,xt="Change Detection";St&&"profile"in console&&"function"==typeof console.profile&&console.profile(xt);const nn=performance.now();let bn=0;for(;bn<5||performance.now()-nn<500;)this.appRef.tick(),bn++;const Tn=performance.now();St&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(xt);const rn=(Tn-nn)/bn;return console.log(`ran ${bn} change detection cycles`),console.log(`${rn.toFixed(2)} ms per check`),new Pt(rn,bn)}}const hn="profiler";function wn(At){return nt(hn,new tn(At)),At}function An(){nt(hn,null)}class _n{static all(){return()=>!0}static css($t){return St=>null!=St.nativeElement&&function qt(At,$t){return!!(0,i.\u0275getDOM)().isElementNode(At)&&(At.matches&&At.matches($t)||At.msMatchesSelector&&At.msMatchesSelector($t)||At.webkitMatchesSelector&&At.webkitMatchesSelector($t))}(St.nativeElement,$t)}static directive($t){return St=>-1!==St.providerTokens.indexOf($t)}}const ht={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Ue=new n.InjectionToken("HammerGestureConfig"),Ee=new n.InjectionToken("HammerLoader");let Te=(()=>{class At{constructor(){this.events=[],this.overrides={}}buildHammer(St){const xt=new Hammer(St,this.options);xt.get("pinch").set({enable:!0}),xt.get("rotate").set({enable:!0});for(const nn in this.overrides)xt.get(nn).set(this.overrides[nn]);return xt}static#e=this.\u0275fac=function(xt){return new(xt||At)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})(),$e=(()=>{class At extends C{constructor(St,xt,nn,bn){super(St),this._config=xt,this.console=nn,this.loader=bn,this._loaderPromise=null}supports(St){return!(!ht.hasOwnProperty(St.toLowerCase())&&!this.isCustomEvent(St)||!window.Hammer&&!this.loader)}addEventListener(St,xt,nn){const bn=this.manager.getZone();if(xt=xt.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||bn.runOutsideAngular(()=>this.loader());let Tn=!1,rn=()=>{Tn=!0};return bn.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Tn||(rn=this.addEventListener(St,xt,nn)):rn=()=>{}}).catch(()=>{rn=()=>{}})),()=>{rn()}}return bn.runOutsideAngular(()=>{const Tn=this._config.buildHammer(St),rn=function(nr){bn.runGuarded(function(){nn(nr)})};return Tn.on(xt,rn),()=>{Tn.off(xt,rn),"function"==typeof Tn.destroy&&Tn.destroy()}})}isCustomEvent(St){return this._config.events.indexOf(St)>-1}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(Ue),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(Ee,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})(),je=(()=>{class At{static#e=this.\u0275fac=function(xt){return new(xt||At)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:At});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:p,useClass:$e,multi:!0,deps:[i.DOCUMENT,Ue,n.\u0275Console,[new n.Optional,Ee]]},{provide:Ue,useClass:Te,deps:[]}]})}return At})(),gt=(()=>{class At{static#e=this.\u0275fac=function(xt){return new(xt||At)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:function(xt){let nn=null;return nn=xt?new(xt||At):n.\u0275\u0275inject(He),nn},providedIn:"root"})}return At})(),He=(()=>{class At extends gt{constructor(St){super(),this._doc=St}sanitize(St,xt){if(null==xt)return null;switch(St){case n.SecurityContext.NONE:return xt;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(xt,"HTML")?(0,n.\u0275unwrapSafeValue)(xt):(0,n.\u0275_sanitizeHtml)(this._doc,String(xt)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(xt,"Style")?(0,n.\u0275unwrapSafeValue)(xt):xt;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(xt,"Script"))return(0,n.\u0275unwrapSafeValue)(xt);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(xt,"URL")?(0,n.\u0275unwrapSafeValue)(xt):(0,n.\u0275_sanitizeUrl)(String(xt));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(xt,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(xt);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(St){return(0,n.\u0275bypassSanitizationTrustHtml)(St)}bypassSecurityTrustStyle(St){return(0,n.\u0275bypassSanitizationTrustStyle)(St)}bypassSecurityTrustScript(St){return(0,n.\u0275bypassSanitizationTrustScript)(St)}bypassSecurityTrustUrl(St){return(0,n.\u0275bypassSanitizationTrustUrl)(St)}bypassSecurityTrustResourceUrl(St){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(St)}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})();var vt=function(At){return At[At.NoHttpTransferCache=0]="NoHttpTransferCache",At[At.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",At}(vt||{});function ut(At,$t=[],St={}){return{\u0275kind:At,\u0275providers:$t}}function wt(){return ut(vt.NoHttpTransferCache)}function st(At){return ut(vt.HttpTransferCacheOptions,(0,d.\u0275withHttpTransferCache)(At))}function pt(...At){const $t=[],St=new Set,xt=St.has(vt.HttpTransferCacheOptions);for(const{\u0275providers:nn,\u0275kind:bn}of At)St.add(bn),nn.length&&$t.push(nn);return(0,n.makeEnvironmentProviders)([[],(0,n.\u0275withDomHydration)(),St.has(vt.NoHttpTransferCache)||xt?[]:(0,d.\u0275withHttpTransferCache)({}),$t])}const It=new n.Version("17.2.3"),Yt=n.makeStateKey,Xt=n.TransferState},56568:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{ActivatedRoute:()=>ai,ActivatedRouteSnapshot:()=>ti,ActivationEnd:()=>fn,ActivationStart:()=>Cn,BaseRouteReuseStrategy:()=>yr,ChildActivationEnd:()=>vn,ChildActivationStart:()=>mn,ChildrenOutletContexts:()=>Lr,DefaultTitleStrategy:()=>q,DefaultUrlSerializer:()=>wt,EventType:()=>zn,GuardsCheckEnd:()=>rt,GuardsCheckStart:()=>De,NavigationCancel:()=>ae,NavigationCancellationCode:()=>U,NavigationEnd:()=>un,NavigationError:()=>Ae,NavigationSkipped:()=>Fe,NavigationSkippedCode:()=>z,NavigationStart:()=>Mi,NoPreloading:()=>el,OutletContext:()=>Nr,PRIMARY_OUTLET:()=>_e,PreloadAllModules:()=>Gl,PreloadingStrategy:()=>Ks,ROUTER_CONFIGURATION:()=>B,ROUTER_INITIALIZER:()=>No,ROUTES:()=>ce,ResolveEnd:()=>Tt,ResolveStart:()=>_t,RouteConfigLoadEnd:()=>Jt,RouteConfigLoadStart:()=>Bt,RouteReuseStrategy:()=>gr,Router:()=>fo,RouterEvent:()=>ur,RouterLink:()=>hi,RouterLinkActive:()=>ss,RouterLinkWithHref:()=>hi,RouterModule:()=>Xl,RouterOutlet:()=>go,RouterPreloader:()=>tl,RouterState:()=>Gn,RouterStateSnapshot:()=>Zr,RoutesRecognized:()=>fe,Scroll:()=>Gt,TitleStrategy:()=>R,UrlHandlingStrategy:()=>X,UrlSegment:()=>je,UrlSegmentGroup:()=>$e,UrlSerializer:()=>ut,UrlTree:()=>Te,VERSION:()=>ms,convertToParamMap:()=>ot,createUrlTreeFromSnapshot:()=>Jn,defaultUrlMatcher:()=>tt,mapToCanActivate:()=>Us,mapToCanActivateChild:()=>Ma,mapToCanDeactivate:()=>Un,mapToCanMatch:()=>ql,mapToResolve:()=>ec,provideRouter:()=>fu,provideRoutes:()=>ls,withComponentInputBinding:()=>rl,withDebugTracing:()=>Ql,withDisabledInitialNavigation:()=>gu,withEnabledBlockingInitialNavigation:()=>aa,withHashLocation:()=>ca,withInMemoryScrolling:()=>oa,withNavigationErrorHandler:()=>jd,withPreloading:()=>zo,withRouterConfig:()=>la,withViewTransitions:()=>Zl,\u0275EmptyOutletComponent:()=>yi,\u0275ROUTER_PROVIDERS:()=>ol,\u0275afterNextNavigation:()=>Ri,\u0275loadChildren:()=>yt});var n=o(54496),i=o(53252),d=o(38880),l=o(74496),e=o(82700),u=o(46700),c=o(56040),g=o(37696),v=o(7400),p=o(528);function S(oe=1/0){return(0,v.O)(p.Z,oe)}var _=o(59472);function f(...oe){return function C(){return S(1)}()((0,l.Q)(oe,(0,_.e_)(oe)))}var y=o(41424),b=o(83928);function E(oe,be){const de=(0,d.m)(oe)?oe:()=>oe,Se=We=>We.error(de());return new i._(be?We=>be.schedule(Se,0,We):Se)}var M=o(28960),A=o(46928),I=o(95448),F=o(87773);function j(){return(0,I.i)((oe,be)=>{let de=null;oe._refCount++;const Se=(0,F.e)(be,void 0,void 0,void 0,()=>{if(!oe||oe._refCount<=0||0<--oe._refCount)return void(de=null);const We=oe._connection,it=de;de=null,We&&(!it||We===it)&&We.unsubscribe(),be.unsubscribe()});oe.subscribe(Se),Se.closed||(de=oe.connect())})}class T extends i._{constructor(be,de){super(),this.source=be,this.subjectFactory=de,this._subject=null,this._refCount=0,this._connection=null,(0,I.e)(be)&&(this.lift=be.lift)}_subscribe(be){return this.getSubject().subscribe(be)}getSubject(){const be=this._subject;return(!be||be.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:be}=this;this._subject=this._connection=null,be?.unsubscribe()}connect(){let be=this._connection;if(!be){be=this._connection=new A.wH;const de=this.getSubject();be.add(this.source.subscribe((0,F.e)(de,void 0,()=>{this._teardown(),de.complete()},Se=>{this._teardown(),de.error(Se)},()=>this._teardown()))),be.closed&&(this._connection=null,be=A.wH.EMPTY)}return be}refCount(){return j()(this)}}var P=o(95657),x=o(91368),N=o(54704),O=o(17368),H=o(3992),te=o(66684),ue=o(75084),se=o(26020),K=o(19212),Z=o(39144);var Y=o(22156);function $(oe){return oe<=0?()=>M.k:(0,I.i)((be,de)=>{let Se=[];be.subscribe((0,F.e)(de,We=>{Se.push(We),oe{for(const We of Se)de.next(We);de.complete()},void 0,()=>{Se=null}))})}var le=o(98124),we=o(32700),ye=o(68824),Oe=o(53616),ve=o(14476);const _e="primary",Pe=Symbol("RouteTitle");class Ze{constructor(be){this.params=be||{}}has(be){return Object.prototype.hasOwnProperty.call(this.params,be)}get(be){if(this.has(be)){const de=this.params[be];return Array.isArray(de)?de[0]:de}return null}getAll(be){if(this.has(be)){const de=this.params[be];return Array.isArray(de)?de:[de]}return[]}get keys(){return Object.keys(this.params)}}function ot(oe){return new Ze(oe)}function tt(oe,be,de){const Se=de.path.split("/");if(Se.length>oe.length||"full"===de.pathMatch&&(be.hasChildren()||Se.lengthSe[it]===We)}return oe===be}function nt(oe){return oe.length>0?oe[oe.length-1]:null}function Pt(oe){return function a(oe){return!!oe&&(oe instanceof i._||(0,d.m)(oe.lift)&&(0,d.m)(oe.subscribe))}(oe)?oe:(0,n.\u0275isPromise)(oe)?(0,l.Q)(Promise.resolve(oe)):(0,e.of)(oe)}const tn={exact:function _n(oe,be,de){if(!He(oe.segments,be.segments)||!Ee(oe.segments,be.segments,de)||oe.numberOfChildren!==be.numberOfChildren)return!1;for(const Se in be.children)if(!oe.children[Se]||!_n(oe.children[Se],be.children[Se],de))return!1;return!0},subset:ht},hn={exact:function An(oe,be){return Qe(oe,be)},subset:function qt(oe,be){return Object.keys(be).length<=Object.keys(oe).length&&Object.keys(be).every(de=>Xe(oe[de],be[de]))},ignored:()=>!0};function wn(oe,be,de){return tn[de.paths](oe.root,be.root,de.matrixParams)&&hn[de.queryParams](oe.queryParams,be.queryParams)&&!("exact"===de.fragment&&oe.fragment!==be.fragment)}function ht(oe,be,de){return Ue(oe,be,be.segments,de)}function Ue(oe,be,de,Se){if(oe.segments.length>de.length){const We=oe.segments.slice(0,de.length);return!(!He(We,de)||be.hasChildren()||!Ee(We,de,Se))}if(oe.segments.length===de.length){if(!He(oe.segments,de)||!Ee(oe.segments,de,Se))return!1;for(const We in be.children)if(!oe.children[We]||!ht(oe.children[We],be.children[We],Se))return!1;return!0}{const We=de.slice(0,oe.segments.length),it=de.slice(oe.segments.length);return!!(He(oe.segments,We)&&Ee(oe.segments,We,Se)&&oe.children[_e])&&Ue(oe.children[_e],be,it,Se)}}function Ee(oe,be,de){return be.every((Se,We)=>hn[de](oe[We].parameters,Se.parameters))}class Te{constructor(be=new $e([],{}),de={},Se=null){this.root=be,this.queryParams=de,this.fragment=Se}get queryParamMap(){return this._queryParamMap??=ot(this.queryParams),this._queryParamMap}toString(){return st.serialize(this)}}class $e{constructor(be,de){this.segments=be,this.children=de,this.parent=null,Object.values(de).forEach(Se=>Se.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return zt(this)}}class je{constructor(be,de){this.path=be,this.parameters=de}get parameterMap(){return this._parameterMap??=ot(this.parameters),this._parameterMap}toString(){return xt(this)}}function He(oe,be){return oe.length===be.length&&oe.every((de,Se)=>de.path===be[Se].path)}let ut=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>new wt,providedIn:"root"})}return oe})();class wt{parse(be){const de=new qn(be);return new Te(de.parseRootSegment(),de.parseQueryParams(),de.parseFragment())}serialize(be){const de=`/${pt(be.root,!0)}`,Se=function bn(oe){const be=Object.entries(oe).map(([de,Se])=>Array.isArray(Se)?Se.map(We=>`${Yt(de)}=${Yt(We)}`).join("&"):`${Yt(de)}=${Yt(Se)}`).filter(de=>de);return be.length?`?${be.join("&")}`:""}(be.queryParams);return`${de}${Se}${"string"==typeof be.fragment?`#${function Xt(oe){return encodeURI(oe)}(be.fragment)}`:""}`}}const st=new wt;function zt(oe){return oe.segments.map(be=>xt(be)).join("/")}function pt(oe,be){if(!oe.hasChildren())return zt(oe);if(be){const de=oe.children[_e]?pt(oe.children[_e],!1):"",Se=[];return Object.entries(oe.children).forEach(([We,it])=>{We!==_e&&Se.push(`${We}:${pt(it,!1)}`)}),Se.length>0?`${de}(${Se.join("//")})`:de}{const de=function vt(oe,be){let de=[];return Object.entries(oe.children).forEach(([Se,We])=>{Se===_e&&(de=de.concat(be(We,Se)))}),Object.entries(oe.children).forEach(([Se,We])=>{Se!==_e&&(de=de.concat(be(We,Se)))}),de}(oe,(Se,We)=>We===_e?[pt(oe.children[_e],!1)]:[`${We}:${pt(Se,!1)}`]);return 1===Object.keys(oe.children).length&&null!=oe.children[_e]?`${zt(oe)}/${de[0]}`:`${zt(oe)}/(${de.join("//")})`}}function It(oe){return encodeURIComponent(oe).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Yt(oe){return It(oe).replace(/%3B/gi,";")}function At(oe){return It(oe).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $t(oe){return decodeURIComponent(oe)}function St(oe){return $t(oe.replace(/\+/g,"%20"))}function xt(oe){return`${At(oe.path)}${function nn(oe){return Object.entries(oe).map(([be,de])=>`;${At(be)}=${At(de)}`).join("")}(oe.parameters)}`}const Tn=/^[^\/()?;#]+/;function rn(oe){const be=oe.match(Tn);return be?be[0]:""}const nr=/^[^\/()?;=#]+/,Br=/^[^=?&#]+/,Er=/^[^&#]+/;class qn{constructor(be){this.url=be,this.remaining=be}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new $e([],{}):new $e([],this.parseChildren())}parseQueryParams(){const be={};if(this.consumeOptional("?"))do{this.parseQueryParam(be)}while(this.consumeOptional("&"));return be}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const be=[];for(this.peekStartsWith("(")||be.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),be.push(this.parseSegment());let de={};this.peekStartsWith("/(")&&(this.capture("/"),de=this.parseParens(!0));let Se={};return this.peekStartsWith("(")&&(Se=this.parseParens(!1)),(be.length>0||Object.keys(de).length>0)&&(Se[_e]=new $e(be,de)),Se}parseSegment(){const be=rn(this.remaining);if(""===be&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(be),new je($t(be),this.parseMatrixParams())}parseMatrixParams(){const be={};for(;this.consumeOptional(";");)this.parseParam(be);return be}parseParam(be){const de=function kr(oe){const be=oe.match(nr);return be?be[0]:""}(this.remaining);if(!de)return;this.capture(de);let Se="";if(this.consumeOptional("=")){const We=rn(this.remaining);We&&(Se=We,this.capture(Se))}be[$t(de)]=$t(Se)}parseQueryParam(be){const de=function sr(oe){const be=oe.match(Br);return be?be[0]:""}(this.remaining);if(!de)return;this.capture(de);let Se="";if(this.consumeOptional("=")){const Lt=function br(oe){const be=oe.match(Er);return be?be[0]:""}(this.remaining);Lt&&(Se=Lt,this.capture(Se))}const We=St(de),it=St(Se);if(be.hasOwnProperty(We)){let Lt=be[We];Array.isArray(Lt)||(Lt=[Lt],be[We]=Lt),Lt.push(it)}else be[We]=it}parseParens(be){const de={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Se=rn(this.remaining),We=this.remaining[Se.length];if("/"!==We&&")"!==We&&";"!==We)throw new n.\u0275RuntimeError(4010,!1);let it;Se.indexOf(":")>-1?(it=Se.slice(0,Se.indexOf(":")),this.capture(it),this.capture(":")):be&&(it=_e);const Lt=this.parseChildren();de[it]=1===Object.keys(Lt).length?Lt[_e]:new $e([],Lt),this.consumeOptional("//")}return de}peekStartsWith(be){return this.remaining.startsWith(be)}consumeOptional(be){return!!this.peekStartsWith(be)&&(this.remaining=this.remaining.substring(be.length),!0)}capture(be){if(!this.consumeOptional(be))throw new n.\u0275RuntimeError(4011,!1)}}function Rn(oe){return oe.segments.length>0?new $e([],{[_e]:oe}):oe}function oi(oe){const be={};for(const[Se,We]of Object.entries(oe.children)){const it=oi(We);if(Se===_e&&0===it.segments.length&&it.hasChildren())for(const[Lt,gn]of Object.entries(it.children))be[Lt]=gn;else(it.segments.length>0||it.hasChildren())&&(be[Se]=it)}return function Sr(oe){if(1===oe.numberOfChildren&&oe.children[_e]){const be=oe.children[_e];return new $e(oe.segments.concat(be.segments),be.children)}return oe}(new $e(oe.segments,be))}function pr(oe){return oe instanceof Te}function Jn(oe,be,de=null,Se=null){return Or(er(oe),be,de,Se)}function er(oe){let be;const We=Rn(function de(it){const Lt={};for(const ln of it.children){const Xn=de(ln);Lt[ln.outlet]=Xn}const gn=new $e(it.url,Lt);return it===oe&&(be=gn),gn}(oe.root));return be??We}function Or(oe,be,de,Se){let We=oe;for(;We.parent;)We=We.parent;if(0===be.length)return jn(We,We,We,de,Se);const it=function ui(oe){if("string"==typeof oe[0]&&1===oe.length&&"/"===oe[0])return new or(!0,0,oe);let be=0,de=!1;const Se=oe.reduce((We,it,Lt)=>{if("object"==typeof it&&null!=it){if(it.outlets){const gn={};return Object.entries(it.outlets).forEach(([ln,Xn])=>{gn[ln]="string"==typeof Xn?Xn.split("/"):Xn}),[...We,{outlets:gn}]}if(it.segmentPath)return[...We,it.segmentPath]}return"string"!=typeof it?[...We,it]:0===Lt?(it.split("/").forEach((gn,ln)=>{0==ln&&"."===gn||(0==ln&&""===gn?de=!0:".."===gn?be++:""!=gn&&We.push(gn))}),We):[...We,it]},[]);return new or(de,be,Se)}(be);if(it.toRoot())return jn(We,We,new $e([],{}),de,Se);const Lt=function ct(oe,be,de){if(oe.isAbsolute)return new Pr(be,!0,0);if(!de)return new Pr(be,!1,NaN);if(null===de.parent)return new Pr(de,!0,0);const Se=pi(oe.commands[0])?0:1;return function Rt(oe,be,de){let Se=oe,We=be,it=de;for(;it>We;){if(it-=We,Se=Se.parent,!Se)throw new n.\u0275RuntimeError(4005,!1);We=Se.segments.length}return new Pr(Se,!1,We-it)}(de,de.segments.length-1+Se,oe.numberOfDoubleDots)}(it,We,oe),gn=Lt.processChildren?dn(Lt.segmentGroup,Lt.index,it.commands):on(Lt.segmentGroup,Lt.index,it.commands);return jn(We,Lt.segmentGroup,gn,de,Se)}function pi(oe){return"object"==typeof oe&&null!=oe&&!oe.outlets&&!oe.segmentPath}function en(oe){return"object"==typeof oe&&null!=oe&&oe.outlets}function jn(oe,be,de,Se,We){let Lt,it={};Se&&Object.entries(Se).forEach(([ln,Xn])=>{it[ln]=Array.isArray(Xn)?Xn.map(xr=>`${xr}`):`${Xn}`}),Lt=oe===be?de:Qn(oe,be,de);const gn=Rn(oi(Lt));return new Te(gn,it,We)}function Qn(oe,be,de){const Se={};return Object.entries(oe.children).forEach(([We,it])=>{Se[We]=it===be?de:Qn(it,be,de)}),new $e(oe.segments,Se)}class or{constructor(be,de,Se){if(this.isAbsolute=be,this.numberOfDoubleDots=de,this.commands=Se,be&&Se.length>0&&pi(Se[0]))throw new n.\u0275RuntimeError(4003,!1);const We=Se.find(en);if(We&&We!==nt(Se))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Pr{constructor(be,de,Se){this.segmentGroup=be,this.processChildren=de,this.index=Se}}function on(oe,be,de){if(oe??=new $e([],{}),0===oe.segments.length&&oe.hasChildren())return dn(oe,be,de);const Se=function Mn(oe,be,de){let Se=0,We=be;const it={match:!1,pathIndex:0,commandIndex:0};for(;We=de.length)return it;const Lt=oe.segments[We],gn=de[Se];if(en(gn))break;const ln=`${gn}`,Xn=Se0&&void 0===ln)break;if(ln&&Xn&&"object"==typeof Xn&&void 0===Xn.outlets){if(!Tr(ln,Xn,Lt))return it;Se+=2}else{if(!Tr(ln,{},Lt))return it;Se++}We++}return{match:!0,pathIndex:We,commandIndex:Se}}(oe,be,de),We=de.slice(Se.commandIndex);if(Se.match&&Se.pathIndexit!==_e)&&oe.children[_e]&&1===oe.numberOfChildren&&0===oe.children[_e].segments.length){const it=dn(oe.children[_e],be,de);return new $e(oe.segments,it.children)}return Object.entries(Se).forEach(([it,Lt])=>{"string"==typeof Lt&&(Lt=[Lt]),null!==Lt&&(We[it]=on(oe.children[it],be,Lt))}),Object.entries(oe.children).forEach(([it,Lt])=>{void 0===Se[it]&&(We[it]=Lt)}),new $e(oe.segments,We)}}function En(oe,be,de){const Se=oe.segments.slice(0,be);let We=0;for(;We{"string"==typeof Se&&(Se=[Se]),null!==Se&&(be[de]=En(new $e([],{}),0,Se))}),be}function Yn(oe){const be={};return Object.entries(oe).forEach(([de,Se])=>be[de]=`${Se}`),be}function Tr(oe,be,de){return oe==de.path&&Qe(be,de.parameters)}const Mr="imperative";var zn=function(oe){return oe[oe.NavigationStart=0]="NavigationStart",oe[oe.NavigationEnd=1]="NavigationEnd",oe[oe.NavigationCancel=2]="NavigationCancel",oe[oe.NavigationError=3]="NavigationError",oe[oe.RoutesRecognized=4]="RoutesRecognized",oe[oe.ResolveStart=5]="ResolveStart",oe[oe.ResolveEnd=6]="ResolveEnd",oe[oe.GuardsCheckStart=7]="GuardsCheckStart",oe[oe.GuardsCheckEnd=8]="GuardsCheckEnd",oe[oe.RouteConfigLoadStart=9]="RouteConfigLoadStart",oe[oe.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",oe[oe.ChildActivationStart=11]="ChildActivationStart",oe[oe.ChildActivationEnd=12]="ChildActivationEnd",oe[oe.ActivationStart=13]="ActivationStart",oe[oe.ActivationEnd=14]="ActivationEnd",oe[oe.Scroll=15]="Scroll",oe[oe.NavigationSkipped=16]="NavigationSkipped",oe}(zn||{});class ur{constructor(be,de){this.id=be,this.url=de}}class Mi extends ur{constructor(be,de,Se="imperative",We=null){super(be,de),this.type=zn.NavigationStart,this.navigationTrigger=Se,this.restoredState=We}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class un extends ur{constructor(be,de,Se){super(be,de),this.urlAfterRedirects=Se,this.type=zn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var U=function(oe){return oe[oe.Redirect=0]="Redirect",oe[oe.SupersededByNewNavigation=1]="SupersededByNewNavigation",oe[oe.NoDataFromResolver=2]="NoDataFromResolver",oe[oe.GuardRejected=3]="GuardRejected",oe}(U||{}),z=function(oe){return oe[oe.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",oe[oe.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",oe}(z||{});class ae extends ur{constructor(be,de,Se,We){super(be,de),this.reason=Se,this.code=We,this.type=zn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Fe extends ur{constructor(be,de,Se,We){super(be,de),this.reason=Se,this.code=We,this.type=zn.NavigationSkipped}}class Ae extends ur{constructor(be,de,Se,We){super(be,de),this.error=Se,this.target=We,this.type=zn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class fe extends ur{constructor(be,de,Se,We){super(be,de),this.urlAfterRedirects=Se,this.state=We,this.type=zn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class De extends ur{constructor(be,de,Se,We){super(be,de),this.urlAfterRedirects=Se,this.state=We,this.type=zn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rt extends ur{constructor(be,de,Se,We,it){super(be,de),this.urlAfterRedirects=Se,this.state=We,this.shouldActivate=it,this.type=zn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class _t extends ur{constructor(be,de,Se,We){super(be,de),this.urlAfterRedirects=Se,this.state=We,this.type=zn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tt extends ur{constructor(be,de,Se,We){super(be,de),this.urlAfterRedirects=Se,this.state=We,this.type=zn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bt{constructor(be){this.route=be,this.type=zn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Jt{constructor(be){this.route=be,this.type=zn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class mn{constructor(be){this.snapshot=be,this.type=zn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vn{constructor(be){this.snapshot=be,this.type=zn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cn{constructor(be){this.snapshot=be,this.type=zn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fn{constructor(be){this.snapshot=be,this.type=zn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gt{constructor(be,de,Se){this.routerEvent=be,this.position=de,this.anchor=Se,this.type=zn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Nn{}class lr{constructor(be){this.url=be}}class Nr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Lr,this.attachRef=null}}let Lr=(()=>{class oe{constructor(){this.contexts=new Map}onChildOutletCreated(de,Se){const We=this.getOrCreateContext(de);We.outlet=Se,this.contexts.set(de,We)}onChildOutletDestroyed(de){const Se=this.getContext(de);Se&&(Se.outlet=null,Se.attachRef=null)}onOutletDeactivated(){const de=this.contexts;return this.contexts=new Map,de}onOutletReAttached(de){this.contexts=de}getOrCreateContext(de){let Se=this.getContext(de);return Se||(Se=new Nr,this.contexts.set(de,Se)),Se}getContext(de){return this.contexts.get(de)||null}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();class dt{constructor(be){this._root=be}get root(){return this._root.value}parent(be){const de=this.pathFromRoot(be);return de.length>1?de[de.length-2]:null}children(be){const de=lo(be,this._root);return de?de.children.map(Se=>Se.value):[]}firstChild(be){const de=lo(be,this._root);return de&&de.children.length>0?de.children[0].value:null}siblings(be){const de=vi(be,this._root);return de.length<2?[]:de[de.length-2].children.map(We=>We.value).filter(We=>We!==be)}pathFromRoot(be){return vi(be,this._root).map(de=>de.value)}}function lo(oe,be){if(oe===be.value)return be;for(const de of be.children){const Se=lo(oe,de);if(Se)return Se}return null}function vi(oe,be){if(oe===be.value)return[be];for(const de of be.children){const Se=vi(oe,de);if(Se.length)return Se.unshift(be),Se}return[]}class _r{constructor(be,de){this.value=be,this.children=de}toString(){return`TreeNode(${this.value})`}}function In(oe){const be={};return oe&&oe.children.forEach(de=>be[de.value.outlet]=de),be}class Gn extends dt{constructor(be,de){super(be),this.snapshot=de,Xr(this,be)}toString(){return this.snapshot.toString()}}function si(oe){const be=function Ir(oe){const it=new ti([],{},{},"",{},_e,oe,null,{});return new Zr("",new _r(it,[]))}(oe),de=new u.g([new je("",{})]),Se=new u.g({}),We=new u.g({}),it=new u.g({}),Lt=new u.g(""),gn=new ai(de,Se,it,Lt,We,_e,oe,be.root);return gn.snapshot=be.root,new Gn(new _r(gn,[]),be)}class ai{constructor(be,de,Se,We,it,Lt,gn,ln){this.urlSubject=be,this.paramsSubject=de,this.queryParamsSubject=Se,this.fragmentSubject=We,this.dataSubject=it,this.outlet=Lt,this.component=gn,this._futureSnapshot=ln,this.title=this.dataSubject?.pipe((0,N.k)(Xn=>Xn[Pe]))??(0,e.of)(void 0),this.url=be,this.params=de,this.queryParams=Se,this.fragment=We,this.data=it}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,N.k)(be=>ot(be))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,N.k)(be=>ot(be))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Fn(oe,be,de="emptyOnly"){let Se;const{routeConfig:We}=oe;return Se=null===be||"always"!==de&&""!==We?.path&&(be.component||be.routeConfig?.loadComponent)?{params:{...oe.params},data:{...oe.data},resolve:{...oe.data,...oe._resolvedData??{}}}:{params:{...be.params,...oe.params},data:{...be.data,...oe.data},resolve:{...oe.data,...be.data,...We?.data,...oe._resolvedData}},We&&ko(We)&&(Se.resolve[Pe]=We.title),Se}class ti{get title(){return this.data?.[Pe]}constructor(be,de,Se,We,it,Lt,gn,ln,Xn){this.url=be,this.params=de,this.queryParams=Se,this.fragment=We,this.data=it,this.outlet=Lt,this.component=gn,this.routeConfig=ln,this._resolve=Xn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ot(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ot(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Se=>Se.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Zr extends dt{constructor(be,de){super(de),this.url=be,Xr(this,de)}toString(){return Vi(this._root)}}function Xr(oe,be){be.value._routerState=oe,be.children.forEach(de=>Xr(oe,de))}function Vi(oe){const be=oe.children.length>0?` { ${oe.children.map(Vi).join(", ")} } `:"";return`${oe.value}${be}`}function hr(oe){if(oe.snapshot){const be=oe.snapshot,de=oe._futureSnapshot;oe.snapshot=de,Qe(be.queryParams,de.queryParams)||oe.queryParamsSubject.next(de.queryParams),be.fragment!==de.fragment&&oe.fragmentSubject.next(de.fragment),Qe(be.params,de.params)||oe.paramsSubject.next(de.params),function mt(oe,be){if(oe.length!==be.length)return!1;for(let de=0;deQe(de.parameters,be[Se].parameters))}(oe.url,be.url);return de&&!(!oe.parent!=!be.parent)&&(!oe.parent||Yi(oe.parent,be.parent))}function ko(oe){return"string"==typeof oe.title||null===oe.title}let go=(()=>{class oe{constructor(){this.activated=null,this._activatedRoute=null,this.name=_e,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(Lr),this.location=(0,n.inject)(n.ViewContainerRef),this.changeDetector=(0,n.inject)(n.ChangeDetectorRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(zi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(de){if(de.name){const{firstChange:Se,previousValue:We}=de.name;if(Se)return;this.isTrackedInParentContexts(We)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(We)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(de){return this.parentContexts.getContext(de)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const de=this.parentContexts.getContext(this.name);de?.route&&(de.attachRef?this.attach(de.attachRef,de.route):this.activateWith(de.route,de.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);this.location.detach();const de=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(de.instance),de}attach(de,Se){this.activated=de,this._activatedRoute=Se,this.location.insert(de.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(de.instance)}deactivate(){if(this.activated){const de=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(de)}}activateWith(de,Se){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=de;const We=this.location,Lt=de.snapshot.component,gn=this.parentContexts.getOrCreateContext(this.name).children,ln=new Jr(de,gn,We.injector);this.activated=We.createComponent(Lt,{index:We.length,injector:ln,environmentInjector:Se??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return oe})();class Jr{constructor(be,de,Se){this.route=be,this.childContexts=de,this.parent=Se}get(be,de){return be===ai?this.route:be===Lr?this.childContexts:this.parent.get(be,de)}}const zi=new n.InjectionToken("");let qi=(()=>{class oe{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(de){this.unsubscribeFromRouteData(de),this.subscribeToRouteData(de)}unsubscribeFromRouteData(de){this.outletDataSubscriptions.get(de)?.unsubscribe(),this.outletDataSubscriptions.delete(de)}subscribeToRouteData(de){const{activatedRoute:Se}=de,We=(0,c.E)([Se.queryParams,Se.params,Se.data]).pipe((0,O.G)(([it,Lt,gn],ln)=>(gn={...it,...Lt,...gn},0===ln?(0,e.of)(gn):Promise.resolve(gn)))).subscribe(it=>{if(!de.isActivated||!de.activatedComponentRef||de.activatedRoute!==Se||null===Se.component)return void this.unsubscribeFromRouteData(de);const Lt=(0,n.reflectComponentType)(Se.component);if(Lt)for(const{templateName:gn}of Lt.inputs)de.activatedComponentRef.setInput(gn,it[gn]);else this.unsubscribeFromRouteData(de)});this.outletDataSubscriptions.set(de,We)}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac})}return oe})();function Rr(oe,be,de){if(de&&oe.shouldReuseRoute(be.value,de.value.snapshot)){const Se=de.value;Se._futureSnapshot=be.value;const We=function mo(oe,be,de){return be.children.map(Se=>{for(const We of de.children)if(oe.shouldReuseRoute(Se.value,We.value.snapshot))return Rr(oe,Se,We);return Rr(oe,Se)})}(oe,be,de);return new _r(Se,We)}{if(oe.shouldAttach(be.value)){const it=oe.retrieve(be.value);if(null!==it){const Lt=it.route;return Lt.value._futureSnapshot=be.value,Lt.children=be.children.map(gn=>Rr(oe,gn)),Lt}}const Se=function _i(oe){return new ai(new u.g(oe.url),new u.g(oe.params),new u.g(oe.queryParams),new u.g(oe.fragment),new u.g(oe.data),oe.outlet,oe.component,oe)}(be.value),We=be.children.map(it=>Rr(oe,it));return new _r(Se,We)}}const xi="ngNavigationCancelingError";function qr(oe,be){const{redirectTo:de,navigationBehaviorOptions:Se}=pr(be)?{redirectTo:be,navigationBehaviorOptions:void 0}:be,We=ar(!1,U.Redirect);return We.url=de,We.navigationBehaviorOptions=Se,We}function ar(oe,be){const de=new Error(`NavigationCancelingError: ${oe||""}`);return de[xi]=!0,de.cancellationCode=be,de}function wi(oe){return!!oe&&oe[xi]}let yi=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(Se,We){1&Se&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[go],encapsulation:2})}return oe})();function Li(oe){const be=oe.children&&oe.children.map(Li),de=be?{...oe,children:be}:{...oe};return!de.component&&!de.loadComponent&&(be||de.loadChildren)&&de.outlet&&de.outlet!==_e&&(de.component=yi),de}function Gi(oe){return oe.outlet||_e}function Co(oe){if(!oe)return null;if(oe.routeConfig?._injector)return oe.routeConfig._injector;for(let be=oe.parent;be;be=be.parent){const de=be.routeConfig;if(de?._loadedInjector)return de._loadedInjector;if(de?._injector)return de._injector}return null}class bs{constructor(be,de,Se,We,it){this.routeReuseStrategy=be,this.futureState=de,this.currState=Se,this.forwardEvent=We,this.inputBindingEnabled=it}activate(be){const de=this.futureState._root,Se=this.currState?this.currState._root:null;this.deactivateChildRoutes(de,Se,be),hr(this.futureState.root),this.activateChildRoutes(de,Se,be)}deactivateChildRoutes(be,de,Se){const We=In(de);be.children.forEach(it=>{const Lt=it.value.outlet;this.deactivateRoutes(it,We[Lt],Se),delete We[Lt]}),Object.values(We).forEach(it=>{this.deactivateRouteAndItsChildren(it,Se)})}deactivateRoutes(be,de,Se){const We=be.value,it=de?de.value:null;if(We===it)if(We.component){const Lt=Se.getContext(We.outlet);Lt&&this.deactivateChildRoutes(be,de,Lt.children)}else this.deactivateChildRoutes(be,de,Se);else it&&this.deactivateRouteAndItsChildren(de,Se)}deactivateRouteAndItsChildren(be,de){be.value.component&&this.routeReuseStrategy.shouldDetach(be.value.snapshot)?this.detachAndStoreRouteSubtree(be,de):this.deactivateRouteAndOutlet(be,de)}detachAndStoreRouteSubtree(be,de){const Se=de.getContext(be.value.outlet),We=Se&&be.value.component?Se.children:de,it=In(be);for(const Lt of Object.values(it))this.deactivateRouteAndItsChildren(Lt,We);if(Se&&Se.outlet){const Lt=Se.outlet.detach(),gn=Se.children.onOutletDeactivated();this.routeReuseStrategy.store(be.value.snapshot,{componentRef:Lt,route:be,contexts:gn})}}deactivateRouteAndOutlet(be,de){const Se=de.getContext(be.value.outlet),We=Se&&be.value.component?Se.children:de,it=In(be);for(const Lt of Object.values(it))this.deactivateRouteAndItsChildren(Lt,We);Se&&(Se.outlet&&(Se.outlet.deactivate(),Se.children.onOutletDeactivated()),Se.attachRef=null,Se.route=null)}activateChildRoutes(be,de,Se){const We=In(de);be.children.forEach(it=>{this.activateRoutes(it,We[it.value.outlet],Se),this.forwardEvent(new fn(it.value.snapshot))}),be.children.length&&this.forwardEvent(new vn(be.value.snapshot))}activateRoutes(be,de,Se){const We=be.value,it=de?de.value:null;if(hr(We),We===it)if(We.component){const Lt=Se.getOrCreateContext(We.outlet);this.activateChildRoutes(be,de,Lt.children)}else this.activateChildRoutes(be,de,Se);else if(We.component){const Lt=Se.getOrCreateContext(We.outlet);if(this.routeReuseStrategy.shouldAttach(We.snapshot)){const gn=this.routeReuseStrategy.retrieve(We.snapshot);this.routeReuseStrategy.store(We.snapshot,null),Lt.children.onOutletReAttached(gn.contexts),Lt.attachRef=gn.componentRef,Lt.route=gn.route.value,Lt.outlet&&Lt.outlet.attach(gn.componentRef,gn.route.value),hr(gn.route.value),this.activateChildRoutes(be,null,Lt.children)}else{const gn=Co(We.snapshot);Lt.attachRef=null,Lt.route=We,Lt.injector=gn,Lt.outlet&&Lt.outlet.activateWith(We,Lt.injector),this.activateChildRoutes(be,null,Lt.children)}}else this.activateChildRoutes(be,null,Se)}}class Go{constructor(be){this.path=be,this.route=this.path[this.path.length-1]}}class ns{constructor(be,de){this.component=be,this.route=de}}function rs(oe,be,de){const Se=oe._root;return So(Se,be?be._root:null,de,[Se.value])}function uo(oe,be){const de=Symbol(),Se=be.get(oe,de);return Se===de?"function"!=typeof oe||(0,n.\u0275isInjectable)(oe)?be.get(oe):oe:Se}function So(oe,be,de,Se,We={canDeactivateChecks:[],canActivateChecks:[]}){const it=In(be);return oe.children.forEach(Lt=>{(function cs(oe,be,de,Se,We={canDeactivateChecks:[],canActivateChecks:[]}){const it=oe.value,Lt=be?be.value:null,gn=de?de.getContext(oe.value.outlet):null;if(Lt&&it.routeConfig===Lt.routeConfig){const ln=function co(oe,be,de){if("function"==typeof de)return de(oe,be);switch(de){case"pathParamsChange":return!He(oe.url,be.url);case"pathParamsOrQueryParamsChange":return!He(oe.url,be.url)||!Qe(oe.queryParams,be.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yi(oe,be)||!Qe(oe.queryParams,be.queryParams);default:return!Yi(oe,be)}}(Lt,it,it.routeConfig.runGuardsAndResolvers);ln?We.canActivateChecks.push(new Go(Se)):(it.data=Lt.data,it._resolvedData=Lt._resolvedData),So(oe,be,it.component?gn?gn.children:null:de,Se,We),ln&&gn&&gn.outlet&&gn.outlet.isActivated&&We.canDeactivateChecks.push(new ns(gn.outlet.component,Lt))}else Lt&&Fo(be,gn,We),We.canActivateChecks.push(new Go(Se)),So(oe,null,it.component?gn?gn.children:null:de,Se,We)})(Lt,it[Lt.value.outlet],de,Se.concat([Lt.value]),We),delete it[Lt.value.outlet]}),Object.entries(it).forEach(([Lt,gn])=>Fo(gn,de.getContext(Lt),We)),We}function Fo(oe,be,de){const Se=In(oe),We=oe.value;Object.entries(Se).forEach(([it,Lt])=>{Fo(Lt,We.component?be?be.children.getContext(it):null:be,de)}),de.canDeactivateChecks.push(new ns(We.component&&be&&be.outlet&&be.outlet.isActivated?be.outlet.component:null,We))}function Do(oe){return"function"==typeof oe}function ft(oe){return oe instanceof g.G||"EmptyError"===oe?.name}const Ot=Symbol("INITIAL_VALUE");function Wn(){return(0,O.G)(oe=>(0,c.E)(oe.map(be=>be.pipe((0,H.U)(1),function G(...oe){const be=(0,_.e_)(oe);return(0,I.i)((de,Se)=>{(be?f(oe,de,be):f(oe,de)).subscribe(Se)})}(Ot)))).pipe((0,N.k)(be=>{for(const de of be)if(!0!==de){if(de===Ot)return Ot;if(!1===de||de instanceof Te)return de}return!0}),(0,te.I)(be=>be!==Ot),(0,H.U)(1)))}function Xo(oe){return(0,b.W)((0,K.y)(be=>{if(pr(be))throw qr(0,be)}),(0,N.k)(be=>!0===be))}class _o{constructor(be){this.segmentGroup=be||null}}class Di extends Error{constructor(be){super(),this.urlTree=be}}function To(oe){return E(new _o(oe))}class fs{constructor(be,de){this.urlSerializer=be,this.urlTree=de}lineralizeSegments(be,de){let Se=[],We=de.root;for(;;){if(Se=Se.concat(We.segments),0===We.numberOfChildren)return(0,e.of)(Se);if(We.numberOfChildren>1||!We.children[_e])return E(new n.\u0275RuntimeError(4e3,!1));We=We.children[_e]}}applyRedirectCommands(be,de,Se){const We=this.applyRedirectCreateUrlTree(de,this.urlSerializer.parse(de),be,Se);if(de.startsWith("/"))throw new Di(We);return We}applyRedirectCreateUrlTree(be,de,Se,We){const it=this.createSegmentGroup(be,de.root,Se,We);return new Te(it,this.createQueryParams(de.queryParams,this.urlTree.queryParams),de.fragment)}createQueryParams(be,de){const Se={};return Object.entries(be).forEach(([We,it])=>{if("string"==typeof it&&it.startsWith(":")){const gn=it.substring(1);Se[We]=de[gn]}else Se[We]=it}),Se}createSegmentGroup(be,de,Se,We){const it=this.createSegments(be,de.segments,Se,We);let Lt={};return Object.entries(de.children).forEach(([gn,ln])=>{Lt[gn]=this.createSegmentGroup(be,ln,Se,We)}),new $e(it,Lt)}createSegments(be,de,Se,We){return de.map(it=>it.path.startsWith(":")?this.findPosParam(be,it,We):this.findOrReturn(it,Se))}findPosParam(be,de,Se){const We=Se[de.path.substring(1)];if(!We)throw new n.\u0275RuntimeError(4001,!1);return We}findOrReturn(be,de){let Se=0;for(const We of de){if(We.path===be.path)return de.splice(Se),We;Se++}return be}}const et={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ne(oe,be,de,Se,We){const it=ge(oe,be,de);return it.matched?(Se=function Mo(oe,be){return oe.providers&&!oe._injector&&(oe._injector=(0,n.createEnvironmentInjector)(oe.providers,be,`Route: ${oe.path}`)),oe._injector??be}(be,Se),function xo(oe,be,de,Se){const We=be.canMatch;if(!We||0===We.length)return(0,e.of)(!0);const it=We.map(Lt=>{const gn=uo(Lt,oe);return Pt(function Ie(oe){return oe&&Do(oe.canMatch)}(gn)?gn.canMatch(be,de):(0,n.runInInjectionContext)(oe,()=>gn(be,de)))});return(0,e.of)(it).pipe(Wn(),Xo())}(Se,be,de).pipe((0,N.k)(Lt=>!0===Lt?it:{...et}))):(0,e.of)(it)}function ge(oe,be,de){if("**"===be.path)return function Le(oe){return{matched:!0,parameters:oe.length>0?nt(oe).parameters:{},consumedSegments:oe,remainingSegments:[],positionalParamSegments:{}}}(de);if(""===be.path)return"full"===be.pathMatch&&(oe.hasChildren()||de.length>0)?{...et}:{matched:!0,consumedSegments:[],remainingSegments:de,parameters:{},positionalParamSegments:{}};const We=(be.matcher||tt)(de,oe,be);if(!We)return{...et};const it={};Object.entries(We.posParams??{}).forEach(([gn,ln])=>{it[gn]=ln.path});const Lt=We.consumed.length>0?{...it,...We.consumed[We.consumed.length-1].parameters}:it;return{matched:!0,consumedSegments:We.consumed,remainingSegments:de.slice(We.consumed.length),parameters:Lt,positionalParamSegments:We.posParams??{}}}function qe(oe,be,de,Se){return de.length>0&&function Ht(oe,be,de){return de.some(Se=>yn(oe,be,Se)&&Gi(Se)!==_e)}(oe,de,Se)?{segmentGroup:new $e(be,Nt(Se,new $e(de,oe.children))),slicedSegments:[]}:0===de.length&&function Wt(oe,be,de){return de.some(Se=>yn(oe,be,Se))}(oe,de,Se)?{segmentGroup:new $e(oe.segments,Dt(oe,de,Se,oe.children)),slicedSegments:de}:{segmentGroup:new $e(oe.segments,oe.children),slicedSegments:de}}function Dt(oe,be,de,Se){const We={};for(const it of de)if(yn(oe,be,it)&&!Se[Gi(it)]){const Lt=new $e([],{});We[Gi(it)]=Lt}return{...Se,...We}}function Nt(oe,be){const de={};de[_e]=be;for(const Se of oe)if(""===Se.path&&Gi(Se)!==_e){const We=new $e([],{});de[Gi(Se)]=We}return de}function yn(oe,be,de){return(!(oe.hasChildren()||be.length>0)||"full"!==de.pathMatch)&&""===de.path}class Wr{}class vr{constructor(be,de,Se,We,it,Lt,gn){this.injector=be,this.configLoader=de,this.rootComponentType=Se,this.config=We,this.urlTree=it,this.paramsInheritanceStrategy=Lt,this.urlSerializer=gn,this.applyRedirects=new fs(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(be){return new n.\u0275RuntimeError(4002,`'${be.segmentGroup}'`)}recognize(){const be=qe(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(be).pipe((0,N.k)(de=>{const Se=new ti([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},_e,this.rootComponentType,null,{}),We=new _r(Se,de),it=new Zr("",We),Lt=Jn(Se,[],this.urlTree.queryParams,this.urlTree.fragment);return Lt.queryParams=this.urlTree.queryParams,it.url=this.urlSerializer.serialize(Lt),this.inheritParamsAndData(it._root,null),{state:it,tree:Lt}}))}match(be){return this.processSegmentGroup(this.injector,this.config,be,_e).pipe((0,Z.a)(Se=>{if(Se instanceof Di)return this.urlTree=Se.urlTree,this.match(Se.urlTree.root);throw Se instanceof _o?this.noMatchError(Se):Se}))}inheritParamsAndData(be,de){const Se=be.value,We=Fn(Se,de,this.paramsInheritanceStrategy);Se.params=Object.freeze(We.params),Se.data=Object.freeze(We.data),be.children.forEach(it=>this.inheritParamsAndData(it,Se))}processSegmentGroup(be,de,Se,We){return 0===Se.segments.length&&Se.hasChildren()?this.processChildren(be,de,Se):this.processSegment(be,de,Se,Se.segments,We,!0).pipe((0,N.k)(it=>it instanceof _r?[it]:[]))}processChildren(be,de,Se){const We=[];for(const it of Object.keys(Se.children))"primary"===it?We.unshift(it):We.push(it);return(0,l.Q)(We).pipe((0,se.m)(it=>{const Lt=Se.children[it],gn=function $o(oe,be){const de=oe.filter(Se=>Gi(Se)===be);return de.push(...oe.filter(Se=>Gi(Se)!==be)),de}(de,it);return this.processSegmentGroup(be,gn,Lt,it)}),function J(oe,be){return(0,I.i)(function re(oe,be,de,Se,We){return(it,Lt)=>{let gn=de,ln=be,Xn=0;it.subscribe((0,F.e)(Lt,xr=>{const di=Xn++;ln=gn?oe(ln,xr,di):(gn=!0,xr),Se&&Lt.next(ln)},We&&(()=>{gn&&Lt.next(ln),Lt.complete()})))}}(oe,be,arguments.length>=2,!0))}((it,Lt)=>(it.push(...Lt),it)),(0,Y.G)(null),function ee(oe,be){const de=arguments.length>=2;return Se=>Se.pipe(oe?(0,te.I)((We,it)=>oe(We,it,Se)):p.Z,$(1),de?(0,Y.G)(be):(0,le._)(()=>new g.G))}(),(0,v.O)(it=>{if(null===it)return To(Se);const Lt=ji(it);return function mi(oe){oe.sort((be,de)=>be.value.outlet===_e?-1:de.value.outlet===_e?1:be.value.outlet.localeCompare(de.value.outlet))}(Lt),(0,e.of)(Lt)}))}processSegment(be,de,Se,We,it,Lt){return(0,l.Q)(de).pipe((0,se.m)(gn=>this.processSegmentAgainstRoute(gn._injector??be,de,gn,Se,We,it,Lt).pipe((0,Z.a)(ln=>{if(ln instanceof _o)return(0,e.of)(null);throw ln}))),(0,ue.K)(gn=>!!gn),(0,Z.a)(gn=>{if(ft(gn))return function Kn(oe,be,de){return 0===be.length&&!oe.children[de]}(Se,We,it)?(0,e.of)(new Wr):To(Se);throw gn}))}processSegmentAgainstRoute(be,de,Se,We,it,Lt,gn){return function $n(oe,be,de,Se){return!!(Gi(oe)===Se||Se!==_e&&yn(be,de,oe))&&ge(be,oe,de).matched}(Se,We,it,Lt)?void 0===Se.redirectTo?this.matchSegmentAgainstRoute(be,We,Se,it,Lt):this.allowRedirects&&gn?this.expandSegmentAgainstRouteUsingRedirect(be,We,de,Se,it,Lt):To(We):To(We)}expandSegmentAgainstRouteUsingRedirect(be,de,Se,We,it,Lt){const{matched:gn,consumedSegments:ln,positionalParamSegments:Xn,remainingSegments:xr}=ge(de,We,it);if(!gn)return To(de);We.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const di=this.applyRedirects.applyRedirectCommands(ln,We.redirectTo,Xn);return this.applyRedirects.lineralizeSegments(We,di).pipe((0,v.O)(vo=>this.processSegment(be,Se,de,vo.concat(xr),Lt,!1)))}matchSegmentAgainstRoute(be,de,Se,We,it){const Lt=ne(de,Se,We,be);return"**"===Se.path&&(de.children={}),Lt.pipe((0,O.G)(gn=>gn.matched?this.getChildConfig(be=Se._injector??be,Se,We).pipe((0,O.G)(({routes:ln})=>{const Xn=Se._loadedInjector??be,{consumedSegments:xr,remainingSegments:di,parameters:vo}=gn,da=new ti(xr,vo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Ji(oe){return oe.data||{}}(Se),Gi(Se),Se.component??Se._loadedComponent??null,Se,function Sn(oe){return oe.resolve||{}}(Se)),{segmentGroup:Hs,slicedSegments:ha}=qe(de,xr,di,ln);if(0===ha.length&&Hs.hasChildren())return this.processChildren(Xn,ln,Hs).pipe((0,N.k)(Dr=>null===Dr?null:new _r(da,Dr)));if(0===ln.length&&0===ha.length)return(0,e.of)(new _r(da,[]));const to=Gi(Se)===it;return this.processSegment(Xn,ln,Hs,ha,to?_e:it,!0).pipe((0,N.k)(Dr=>new _r(da,Dr instanceof _r?[Dr]:[])))})):To(de)))}getChildConfig(be,de,Se){return de.children?(0,e.of)({routes:de.children,injector:be}):de.loadChildren?void 0!==de._loadedRoutes?(0,e.of)({routes:de._loadedRoutes,injector:de._loadedInjector}):function Xi(oe,be,de,Se){const We=be.canLoad;if(void 0===We||0===We.length)return(0,e.of)(!0);const it=We.map(Lt=>{const gn=uo(Lt,oe);return Pt(function hs(oe){return oe&&Do(oe.canLoad)}(gn)?gn.canLoad(be,de):(0,n.runInInjectionContext)(oe,()=>gn(be,de)))});return(0,e.of)(it).pipe(Wn(),Xo())}(be,de,Se).pipe((0,v.O)(We=>We?this.configLoader.loadChildren(be,de).pipe((0,K.y)(it=>{de._loadedRoutes=it.routes,de._loadedInjector=it.injector})):function io(oe){return E(ar(!1,U.GuardRejected))}())):(0,e.of)({routes:[],injector:be})}}function Ai(oe){const be=oe.value.routeConfig;return be&&""===be.path}function ji(oe){const be=[],de=new Set;for(const Se of oe){if(!Ai(Se)){be.push(Se);continue}const We=be.find(it=>Se.value.routeConfig===it.value.routeConfig);void 0!==We?(We.children.push(...Se.children),de.add(We)):be.push(Se)}for(const Se of de){const We=ji(Se.children);be.push(new _r(Se.value,We))}return be.filter(Se=>!de.has(Se))}function Ii(oe){const be=oe.children.map(de=>Ii(de)).flat();return[oe,...be]}function at(oe){return(0,O.G)(be=>{const de=oe(be);return de?(0,l.Q)(de).pipe((0,N.k)(()=>be)):(0,e.of)(be)})}let R=(()=>{class oe{buildTitle(de){let Se,We=de.root;for(;void 0!==We;)Se=this.getResolvedTitleForRoute(We)??Se,We=We.children.find(it=>it.outlet===_e);return Se}getResolvedTitleForRoute(de){return de.data[Pe]}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(q),providedIn:"root"})}return oe})(),q=(()=>{class oe extends R{constructor(de){super(),this.title=de}updateTitle(de){const Se=this.buildTitle(de);void 0!==Se&&this.title.setTitle(Se)}static#e=this.\u0275fac=function(Se){return new(Se||oe)(n.\u0275\u0275inject(ve.Title))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const B=new n.InjectionToken("",{providedIn:"root",factory:()=>({})}),ce=new n.InjectionToken("");let xe=(()=>{class oe{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(de){if(this.componentLoaders.get(de))return this.componentLoaders.get(de);if(de._loadedComponent)return(0,e.of)(de._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(de);const Se=Pt(de.loadComponent()).pipe((0,N.k)(cn),(0,K.y)(it=>{this.onLoadEndListener&&this.onLoadEndListener(de),de._loadedComponent=it}),(0,ye.U)(()=>{this.componentLoaders.delete(de)})),We=new T(Se,()=>new P.E).pipe(j());return this.componentLoaders.set(de,We),We}loadChildren(de,Se){if(this.childrenLoaders.get(Se))return this.childrenLoaders.get(Se);if(Se._loadedRoutes)return(0,e.of)({routes:Se._loadedRoutes,injector:Se._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Se);const it=yt(Se,this.compiler,de,this.onLoadEndListener).pipe((0,ye.U)(()=>{this.childrenLoaders.delete(Se)})),Lt=new T(it,()=>new P.E).pipe(j());return this.childrenLoaders.set(Se,Lt),Lt}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();function yt(oe,be,de,Se){return Pt(oe.loadChildren()).pipe((0,N.k)(cn),(0,v.O)(We=>We instanceof n.NgModuleFactory||Array.isArray(We)?(0,e.of)(We):(0,l.Q)(be.compileModuleAsync(We))),(0,N.k)(We=>{Se&&Se(oe);let it,Lt;return Array.isArray(We)?Lt=We:(it=We.create(de).injector,Lt=it.get(ce,[],{optional:!0,self:!0}).flat()),{routes:Lt.map(Li),injector:it}}))}function cn(oe){return function jt(oe){return oe&&"object"==typeof oe&&"default"in oe}(oe)?oe.default:oe}let X=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(Ve),providedIn:"root"})}return oe})(),Ve=(()=>{class oe{shouldProcessUrl(de){return!0}extract(de){return de}merge(de,Se){return de}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const Ce=new n.InjectionToken(""),Re=new n.InjectionToken("");function Mt(oe,be,de){const Se=oe.get(Re),We=oe.get(x.DOCUMENT);return oe.get(n.NgZone).runOutsideAngular(()=>{if(!We.startViewTransition||Se.skipNextTransition)return Se.skipNextTransition=!1,Promise.resolve();let it;const Lt=new Promise(Xn=>{it=Xn}),gn=We.startViewTransition(()=>(it(),function Zt(oe){return new Promise(be=>{(0,n.afterNextRender)(be,{injector:oe})})}(oe))),{onViewTransitionCreated:ln}=Se;return ln&&(0,n.runInInjectionContext)(oe,()=>ln({transition:gn,from:be,to:de})),Lt})}let an=(()=>{class oe{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new P.E,this.transitionAbortSubject=new P.E,this.configLoader=(0,n.inject)(xe),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(ut),this.rootContexts=(0,n.inject)(Lr),this.location=(0,n.inject)(x.Location),this.inputBindingEnabled=null!==(0,n.inject)(zi,{optional:!0}),this.titleStrategy=(0,n.inject)(R),this.options=(0,n.inject)(B,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.inject)(X),this.createViewTransition=(0,n.inject)(Ce,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,e.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=We=>this.events.next(new Jt(We)),this.configLoader.onLoadStartListener=We=>this.events.next(new Bt(We))}complete(){this.transitions?.complete()}handleNavigationRequest(de){const Se=++this.navigationId;this.transitions?.next({...this.transitions.value,...de,id:Se})}setupNavigations(de,Se,We){return this.transitions=new u.g({id:0,currentUrlTree:Se,currentRawUrl:Se,extractedUrl:this.urlHandlingStrategy.extract(Se),urlAfterRedirects:this.urlHandlingStrategy.extract(Se),rawUrl:Se,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Mr,restoredState:null,currentSnapshot:We.snapshot,targetSnapshot:null,currentRouterState:We,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,te.I)(it=>0!==it.id),(0,N.k)(it=>({...it,extractedUrl:this.urlHandlingStrategy.extract(it.rawUrl)})),(0,O.G)(it=>{this.currentTransition=it;let Lt=!1,gn=!1;return(0,e.of)(it).pipe((0,K.y)(ln=>{this.currentNavigation={id:ln.id,initialUrl:ln.rawUrl,extractedUrl:ln.extractedUrl,trigger:ln.source,extras:ln.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,O.G)(ln=>{const Xn=!de.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Xn&&"reload"!==(ln.extras.onSameUrlNavigation??de.onSameUrlNavigation)){const di="";return this.events.next(new Fe(ln.id,this.urlSerializer.serialize(ln.rawUrl),di,z.IgnoredSameUrlNavigation)),ln.resolve(null),M.k}if(this.urlHandlingStrategy.shouldProcessUrl(ln.rawUrl))return(0,e.of)(ln).pipe((0,O.G)(di=>{const vo=this.transitions?.getValue();return this.events.next(new Mi(di.id,this.urlSerializer.serialize(di.extractedUrl),di.source,di.restoredState)),vo!==this.transitions?.getValue()?M.k:Promise.resolve(di)}),function wr(oe,be,de,Se,We,it){return(0,v.O)(Lt=>function fr(oe,be,de,Se,We,it,Lt="emptyOnly"){return new vr(oe,be,de,Se,We,Lt,it).recognize()}(oe,be,de,Se,Lt.extractedUrl,We,it).pipe((0,N.k)(({state:gn,tree:ln})=>({...Lt,targetSnapshot:gn,urlAfterRedirects:ln}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,de.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,K.y)(di=>{it.targetSnapshot=di.targetSnapshot,it.urlAfterRedirects=di.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:di.urlAfterRedirects};const vo=new fe(di.id,this.urlSerializer.serialize(di.extractedUrl),this.urlSerializer.serialize(di.urlAfterRedirects),di.targetSnapshot);this.events.next(vo)}));if(Xn&&this.urlHandlingStrategy.shouldProcessUrl(ln.currentRawUrl)){const{id:di,extractedUrl:vo,source:da,restoredState:Hs,extras:ha}=ln,to=new Mi(di,this.urlSerializer.serialize(vo),da,Hs);this.events.next(to);const Dr=si(this.rootComponentType).snapshot;return this.currentTransition=it={...ln,targetSnapshot:Dr,urlAfterRedirects:vo,extras:{...ha,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=vo,(0,e.of)(it)}{const di="";return this.events.next(new Fe(ln.id,this.urlSerializer.serialize(ln.extractedUrl),di,z.IgnoredByUrlHandlingStrategy)),ln.resolve(null),M.k}}),(0,K.y)(ln=>{const Xn=new De(ln.id,this.urlSerializer.serialize(ln.extractedUrl),this.urlSerializer.serialize(ln.urlAfterRedirects),ln.targetSnapshot);this.events.next(Xn)}),(0,N.k)(ln=>(this.currentTransition=it={...ln,guards:rs(ln.targetSnapshot,ln.currentSnapshot,this.rootContexts)},it)),function Vn(oe,be){return(0,v.O)(de=>{const{targetSnapshot:Se,currentSnapshot:We,guards:{canActivateChecks:it,canDeactivateChecks:Lt}}=de;return 0===Lt.length&&0===it.length?(0,e.of)({...de,guardsResult:!0}):function Wi(oe,be,de,Se){return(0,l.Q)(oe).pipe((0,v.O)(We=>function is(oe,be,de,Se,We){const it=be&&be.routeConfig?be.routeConfig.canDeactivate:null;if(!it||0===it.length)return(0,e.of)(!0);const Lt=it.map(gn=>{const ln=Co(be)??We,Xn=uo(gn,ln);return Pt(function Ke(oe){return oe&&Do(oe.canDeactivate)}(Xn)?Xn.canDeactivate(oe,be,de,Se):(0,n.runInInjectionContext)(ln,()=>Xn(oe,be,de,Se))).pipe((0,ue.K)())});return(0,e.of)(Lt).pipe(Wn())}(We.component,We.route,de,be,Se)),(0,ue.K)(We=>!0!==We,!0))}(Lt,Se,We,oe).pipe((0,v.O)(gn=>gn&&function Ko(oe){return"boolean"==typeof oe}(gn)?function Eo(oe,be,de,Se){return(0,l.Q)(be).pipe((0,se.m)(We=>f(function ho(oe,be){return null!==oe&&be&&be(new mn(oe)),(0,e.of)(!0)}(We.route.parent,Se),function Ao(oe,be){return null!==oe&&be&&be(new Cn(oe)),(0,e.of)(!0)}(We.route,Se),function Zo(oe,be,de){const Se=be[be.length-1],it=be.slice(0,be.length-1).reverse().map(Lt=>function Ki(oe){const be=oe.routeConfig?oe.routeConfig.canActivateChild:null;return be&&0!==be.length?{node:oe,guards:be}:null}(Lt)).filter(Lt=>null!==Lt).map(Lt=>(0,y.Q)(()=>{const gn=Lt.guards.map(ln=>{const Xn=Co(Lt.node)??de,xr=uo(ln,Xn);return Pt(function Ye(oe){return oe&&Do(oe.canActivateChild)}(xr)?xr.canActivateChild(Se,oe):(0,n.runInInjectionContext)(Xn,()=>xr(Se,oe))).pipe((0,ue.K)())});return(0,e.of)(gn).pipe(Wn())}));return(0,e.of)(it).pipe(Wn())}(oe,We.path,de),function Ur(oe,be,de){const Se=be.routeConfig?be.routeConfig.canActivate:null;if(!Se||0===Se.length)return(0,e.of)(!0);const We=Se.map(it=>(0,y.Q)(()=>{const Lt=Co(be)??de,gn=uo(it,Lt);return Pt(function Qo(oe){return oe&&Do(oe.canActivate)}(gn)?gn.canActivate(be,oe):(0,n.runInInjectionContext)(Lt,()=>gn(be,oe))).pipe((0,ue.K)())}));return(0,e.of)(We).pipe(Wn())}(oe,We.route,de))),(0,ue.K)(We=>!0!==We,!0))}(Se,it,oe,be):(0,e.of)(gn)),(0,N.k)(gn=>({...de,guardsResult:gn})))})}(this.environmentInjector,ln=>this.events.next(ln)),(0,K.y)(ln=>{if(it.guardsResult=ln.guardsResult,pr(ln.guardsResult))throw qr(0,ln.guardsResult);const Xn=new rt(ln.id,this.urlSerializer.serialize(ln.extractedUrl),this.urlSerializer.serialize(ln.urlAfterRedirects),ln.targetSnapshot,!!ln.guardsResult);this.events.next(Xn)}),(0,te.I)(ln=>!!ln.guardsResult||(this.cancelNavigationTransition(ln,"",U.GuardRejected),!1)),at(ln=>{if(ln.guards.canActivateChecks.length)return(0,e.of)(ln).pipe((0,K.y)(Xn=>{const xr=new _t(Xn.id,this.urlSerializer.serialize(Xn.extractedUrl),this.urlSerializer.serialize(Xn.urlAfterRedirects),Xn.targetSnapshot);this.events.next(xr)}),(0,O.G)(Xn=>{let xr=!1;return(0,e.of)(Xn).pipe(function Qi(oe,be){return(0,v.O)(de=>{const{targetSnapshot:Se,guards:{canActivateChecks:We}}=de;if(!We.length)return(0,e.of)(de);const it=new Set(We.map(ln=>ln.route)),Lt=new Set;for(const ln of it)if(!Lt.has(ln))for(const Xn of Ii(ln))Lt.add(Xn);let gn=0;return(0,l.Q)(Lt).pipe((0,se.m)(ln=>it.has(ln)?function ei(oe,be,de,Se){const We=oe.routeConfig,it=oe._resolve;return void 0!==We?.title&&!ko(We)&&(it[Pe]=We.title),function oo(oe,be,de,Se){const We=Ct(oe);if(0===We.length)return(0,e.of)({});const it={};return(0,l.Q)(We).pipe((0,v.O)(Lt=>function Be(oe,be,de,Se){const We=Co(be)??Se,it=uo(oe,We);return Pt(it.resolve?it.resolve(be,de):(0,n.runInInjectionContext)(We,()=>it(be,de)))}(oe[Lt],be,de,Se).pipe((0,ue.K)(),(0,K.y)(gn=>{it[Lt]=gn}))),$(1),(0,we.e)(it),(0,Z.a)(Lt=>ft(Lt)?M.k:E(Lt)))}(it,oe,be,Se).pipe((0,N.k)(Lt=>(oe._resolvedData=Lt,oe.data=Fn(oe,oe.parent,de).resolve,null)))}(ln,Se,oe,be):(ln.data=Fn(ln,ln.parent,oe).resolve,(0,e.of)(void 0))),(0,K.y)(()=>gn++),$(1),(0,v.O)(ln=>gn===Lt.size?(0,e.of)(de):M.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,K.y)({next:()=>xr=!0,complete:()=>{xr||this.cancelNavigationTransition(Xn,"",U.NoDataFromResolver)}}))}),(0,K.y)(Xn=>{const xr=new Tt(Xn.id,this.urlSerializer.serialize(Xn.extractedUrl),this.urlSerializer.serialize(Xn.urlAfterRedirects),Xn.targetSnapshot);this.events.next(xr)}))}),at(ln=>{const Xn=xr=>{const di=[];xr.routeConfig?.loadComponent&&!xr.routeConfig._loadedComponent&&di.push(this.configLoader.loadComponent(xr.routeConfig).pipe((0,K.y)(vo=>{xr.component=vo}),(0,N.k)(()=>{})));for(const vo of xr.children)di.push(...Xn(vo));return di};return(0,c.E)(Xn(ln.targetSnapshot.root)).pipe((0,Y.G)(null),(0,H.U)(1))}),at(()=>this.afterPreactivation()),(0,O.G)(()=>{const{currentSnapshot:ln,targetSnapshot:Xn}=it,xr=this.createViewTransition?.(this.environmentInjector,ln.root,Xn.root);return xr?(0,l.Q)(xr).pipe((0,N.k)(()=>it)):(0,e.of)(it)}),(0,N.k)(ln=>{const Xn=function ro(oe,be,de){const Se=Rr(oe,be._root,de?de._root:void 0);return new Gn(Se,be)}(de.routeReuseStrategy,ln.targetSnapshot,ln.currentRouterState);return this.currentTransition=it={...ln,targetRouterState:Xn},this.currentNavigation.targetRouterState=Xn,it}),(0,K.y)(()=>{this.events.next(new Nn)}),((oe,be,de,Se)=>(0,N.k)(We=>(new bs(be,We.targetRouterState,We.currentRouterState,de,Se).activate(oe),We)))(this.rootContexts,de.routeReuseStrategy,ln=>this.events.next(ln),this.inputBindingEnabled),(0,H.U)(1),(0,K.y)({next:ln=>{Lt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new un(ln.id,this.urlSerializer.serialize(ln.extractedUrl),this.urlSerializer.serialize(ln.urlAfterRedirects))),this.titleStrategy?.updateTitle(ln.targetRouterState.snapshot),ln.resolve(!0)},complete:()=>{Lt=!0}}),(0,Oe.a)(this.transitionAbortSubject.pipe((0,K.y)(ln=>{throw ln}))),(0,ye.U)(()=>{!Lt&&!gn&&this.cancelNavigationTransition(it,"",U.SupersededByNewNavigation),this.currentTransition?.id===it.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Z.a)(ln=>{if(gn=!0,wi(ln))this.events.next(new ae(it.id,this.urlSerializer.serialize(it.extractedUrl),ln.message,ln.cancellationCode)),function yo(oe){return wi(oe)&&pr(oe.url)}(ln)?this.events.next(new lr(ln.url)):it.resolve(!1);else{this.events.next(new Ae(it.id,this.urlSerializer.serialize(it.extractedUrl),ln,it.targetSnapshot??void 0));try{it.resolve(de.errorHandler(ln))}catch(Xn){this.options.resolveNavigationPromiseOnError?it.resolve(!1):it.reject(Xn)}}return M.k}))}))}cancelNavigationTransition(de,Se,We){const it=new ae(de.id,this.urlSerializer.serialize(de.extractedUrl),Se,We);this.events.next(it),de.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();function Pn(oe){return oe!==Mr}let gr=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)($r),providedIn:"root"})}return oe})();class yr{shouldDetach(be){return!1}store(be,de){}shouldAttach(be){return!1}retrieve(be){return null}shouldReuseRoute(be,de){return be.routeConfig===de.routeConfig}}let $r=(()=>{class oe extends yr{static#e=this.\u0275fac=(()=>{let de;return function(We){return(de||(de=n.\u0275\u0275getInheritedFactory(oe)))(We||oe)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),Cr=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(Qr),providedIn:"root"})}return oe})(),Qr=(()=>{class oe extends Cr{constructor(){super(...arguments),this.location=(0,n.inject)(x.Location),this.urlSerializer=(0,n.inject)(ut),this.options=(0,n.inject)(B,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.inject)(X),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Te,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=si(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(de){return this.location.subscribe(Se=>{"popstate"===Se.type&&de(Se.url,Se.state)})}handleRouterEvent(de,Se){if(de instanceof Mi)this.stateMemento=this.createStateMemento();else if(de instanceof Fe)this.rawUrlTree=Se.initialUrl;else if(de instanceof fe){if("eager"===this.urlUpdateStrategy&&!Se.extras.skipLocationChange){const We=this.urlHandlingStrategy.merge(Se.finalUrl,Se.initialUrl);this.setBrowserUrl(We,Se)}}else de instanceof Nn?(this.currentUrlTree=Se.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Se.finalUrl,Se.initialUrl),this.routerState=Se.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Se.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Se))):de instanceof ae&&(de.code===U.GuardRejected||de.code===U.NoDataFromResolver)?this.restoreHistory(Se):de instanceof Ae?this.restoreHistory(Se,!0):de instanceof un&&(this.lastSuccessfulId=de.id,this.currentPageId=this.browserPageId)}setBrowserUrl(de,Se){const We=this.urlSerializer.serialize(de);if(this.location.isCurrentPathEqualTo(We)||Se.extras.replaceUrl){const Lt={...Se.extras.state,...this.generateNgRouterState(Se.id,this.browserPageId)};this.location.replaceState(We,"",Lt)}else{const it={...Se.extras.state,...this.generateNgRouterState(Se.id,this.browserPageId+1)};this.location.go(We,"",it)}}restoreHistory(de,Se=!1){if("computed"===this.canceledNavigationResolution){const it=this.currentPageId-this.browserPageId;0!==it?this.location.historyGo(it):this.currentUrlTree===de.finalUrl&&0===it&&(this.resetState(de),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Se&&this.resetState(de),this.resetUrlToCurrentUrlTree())}resetState(de){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,de.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(de,Se){return"computed"===this.canceledNavigationResolution?{navigationId:de,\u0275routerPageId:Se}:{navigationId:de}}static#e=this.\u0275fac=(()=>{let de;return function(We){return(de||(de=n.\u0275\u0275getInheritedFactory(oe)))(We||oe)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();var Hr=function(oe){return oe[oe.COMPLETE=0]="COMPLETE",oe[oe.FAILED=1]="FAILED",oe[oe.REDIRECTING=2]="REDIRECTING",oe}(Hr||{});function Ri(oe,be){oe.events.pipe((0,te.I)(de=>de instanceof un||de instanceof ae||de instanceof Ae||de instanceof Fe),(0,N.k)(de=>de instanceof un||de instanceof Fe?Hr.COMPLETE:de instanceof ae&&(de.code===U.Redirect||de.code===U.SupersededByNewNavigation)?Hr.REDIRECTING:Hr.FAILED),(0,te.I)(de=>de!==Hr.REDIRECTING),(0,H.U)(1)).subscribe(()=>{be()})}function eo(oe){throw oe}const Vo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let fo=(()=>{class oe{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,n.inject)(n.\u0275Console),this.stateManager=(0,n.inject)(Cr),this.options=(0,n.inject)(B,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.inject)(an),this.urlSerializer=(0,n.inject)(ut),this.location=(0,n.inject)(x.Location),this.urlHandlingStrategy=(0,n.inject)(X),this._events=new P.E,this.errorHandler=this.options.errorHandler||eo,this.navigated=!1,this.routeReuseStrategy=(0,n.inject)(gr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.inject)(ce,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.inject)(zi,{optional:!0}),this.eventsSubscription=new A.wH,this.isNgZoneEnabled=(0,n.inject)(n.NgZone)instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:de=>{this.console.warn(de)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const de=this.navigationTransitions.events.subscribe(Se=>{try{const We=this.navigationTransitions.currentTransition,it=this.navigationTransitions.currentNavigation;if(null!==We&&null!==it)if(this.stateManager.handleRouterEvent(Se,it),Se instanceof ae&&Se.code!==U.Redirect&&Se.code!==U.SupersededByNewNavigation)this.navigated=!0;else if(Se instanceof un)this.navigated=!0;else if(Se instanceof lr){const Lt=this.urlHandlingStrategy.merge(Se.url,We.currentRawUrl),gn={info:We.extras.info,skipLocationChange:We.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Pn(We.source)};this.scheduleNavigation(Lt,Mr,null,gn,{resolve:We.resolve,reject:We.reject,promise:We.promise})}(function Yo(oe){return!(oe instanceof Nn||oe instanceof lr)})(Se)&&this._events.next(Se)}catch(We){this.navigationTransitions.transitionAbortSubject.next(We)}});this.eventsSubscription.add(de)}resetRootComponentType(de){this.routerState.root.component=de,this.navigationTransitions.rootComponentType=de}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Mr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((de,Se)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(de,"popstate",Se)},0)})}navigateToSyncWithBrowser(de,Se,We){const it={replaceUrl:!0},Lt=We?.navigationId?We:null;if(We){const ln={...We};delete ln.navigationId,delete ln.\u0275routerPageId,0!==Object.keys(ln).length&&(it.state=ln)}const gn=this.parseUrl(de);this.scheduleNavigation(gn,Se,Lt,it)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(de){this.config=de.map(Li),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(de,Se={}){const{relativeTo:We,queryParams:it,fragment:Lt,queryParamsHandling:gn,preserveFragment:ln}=Se,Xn=ln?this.currentUrlTree.fragment:Lt;let di,xr=null;switch(gn){case"merge":xr={...this.currentUrlTree.queryParams,...it};break;case"preserve":xr=this.currentUrlTree.queryParams;break;default:xr=it||null}null!==xr&&(xr=this.removeEmptyProps(xr));try{di=er(We?We.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof de[0]||!de[0].startsWith("/"))&&(de=[]),di=this.currentUrlTree.root}return Or(di,de,xr,Xn??null)}navigateByUrl(de,Se={skipLocationChange:!1}){const We=pr(de)?de:this.parseUrl(de),it=this.urlHandlingStrategy.merge(We,this.rawUrlTree);return this.scheduleNavigation(it,Mr,null,Se)}navigate(de,Se={skipLocationChange:!1}){return function so(oe){for(let be=0;be(null!=it&&(Se[We]=it),Se),{})}scheduleNavigation(de,Se,We,it,Lt){if(this.disposed)return Promise.resolve(!1);let gn,ln,Xn;Lt?(gn=Lt.resolve,ln=Lt.reject,Xn=Lt.promise):Xn=new Promise((di,vo)=>{gn=di,ln=vo});const xr=this.pendingTasks.add();return Ri(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(xr))}),this.navigationTransitions.handleNavigationRequest({source:Se,restoredState:We,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:de,extras:it,resolve:gn,reject:ln,promise:Xn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Xn.catch(di=>Promise.reject(di))}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),hi=(()=>{class oe{constructor(de,Se,We,it,Lt,gn){this.router=de,this.route=Se,this.tabIndexAttribute=We,this.renderer=it,this.el=Lt,this.locationStrategy=gn,this.href=null,this.commands=null,this.onChanges=new P.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ln=Lt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ln||"area"===ln,this.isAnchorElement?this.subscription=de.events.subscribe(Xn=>{Xn instanceof un&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(de){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",de)}ngOnChanges(de){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(de){null!=de?(this.commands=Array.isArray(de)?de:[de],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(de,Se,We,it,Lt){const gn=this.urlTree;return!!(null===gn||this.isAnchorElement&&(0!==de||Se||We||it||Lt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(gn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const de=this.urlTree;this.href=null!==de&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(de)):null;const Se=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Se)}applyAttributeValue(de,Se){const We=this.renderer,it=this.el.nativeElement;null!==Se?We.setAttribute(it,de,Se):We.removeAttribute(it,de)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(Se){return new(Se||oe)(n.\u0275\u0275directiveInject(fo),n.\u0275\u0275directiveInject(ai),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(x.LocationStrategy))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Se,We){1&Se&&n.\u0275\u0275listener("click",function(Lt){return We.onClick(Lt.button,Lt.ctrlKey,Lt.shiftKey,Lt.altKey,Lt.metaKey)}),2&Se&&n.\u0275\u0275attribute("target",We.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"preserveFragment","preserveFragment",n.booleanAttribute],skipLocationChange:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",n.booleanAttribute],replaceUrl:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"replaceUrl","replaceUrl",n.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return oe})(),ss=(()=>{class oe{get isActive(){return this._isActive}constructor(de,Se,We,it,Lt){this.router=de,this.element=Se,this.renderer=We,this.cdr=it,this.link=Lt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=de.events.subscribe(gn=>{gn instanceof un&&this.update()})}ngAfterContentInit(){(0,e.of)(this.links.changes,(0,e.of)(null)).pipe(S()).subscribe(de=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const de=[...this.links.toArray(),this.link].filter(Se=>!!Se).map(Se=>Se.onChanges);this.linkInputChangesSubscription=(0,l.Q)(de).pipe(S()).subscribe(Se=>{this._isActive!==this.isLinkActive(this.router)(Se)&&this.update()})}set routerLinkActive(de){const Se=Array.isArray(de)?de:de.split(" ");this.classes=Se.filter(We=>!!We)}ngOnChanges(de){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const de=this.hasActiveLinks();this._isActive!==de&&(this._isActive=de,this.cdr.markForCheck(),this.classes.forEach(Se=>{de?this.renderer.addClass(this.element.nativeElement,Se):this.renderer.removeClass(this.element.nativeElement,Se)}),de&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(de))})}isLinkActive(de){const Se=function $l(oe){return!!oe.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return We=>{const it=We.urlTree;return!!it&&de.isActive(it,Se)}}hasActiveLinks(){const de=this.isLinkActive(this.router);return this.link&&de(this.link)||this.links.some(de)}static#e=this.\u0275fac=function(Se){return new(Se||oe)(n.\u0275\u0275directiveInject(fo),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(hi,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","routerLinkActive",""]],contentQueries:function(Se,We,it){if(1&Se&&n.\u0275\u0275contentQuery(it,hi,5),2&Se){let Lt;n.\u0275\u0275queryRefresh(Lt=n.\u0275\u0275loadQuery())&&(We.links=Lt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return oe})();class Ks{}let Gl=(()=>{class oe{preload(de,Se){return Se().pipe((0,Z.a)(()=>(0,e.of)(null)))}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),el=(()=>{class oe{preload(de,Se){return(0,e.of)(null)}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),tl=(()=>{class oe{constructor(de,Se,We,it,Lt){this.router=de,this.injector=We,this.preloadingStrategy=it,this.loader=Lt}setUpPreloading(){this.subscription=this.router.events.pipe((0,te.I)(de=>de instanceof un),(0,se.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(de,Se){const We=[];for(const it of Se){it.providers&&!it._injector&&(it._injector=(0,n.createEnvironmentInjector)(it.providers,de,`Route: ${it.path}`));const Lt=it._injector??de,gn=it._loadedInjector??Lt;(it.loadChildren&&!it._loadedRoutes&&void 0===it.canLoad||it.loadComponent&&!it._loadedComponent)&&We.push(this.preloadConfig(Lt,it)),(it.children||it._loadedRoutes)&&We.push(this.processRoutes(gn,it.children??it._loadedRoutes))}return(0,l.Q)(We).pipe(S())}preloadConfig(de,Se){return this.preloadingStrategy.preload(Se,()=>{let We;We=Se.loadChildren&&void 0===Se.canLoad?this.loader.loadChildren(de,Se):(0,e.of)(null);const it=We.pipe((0,v.O)(Lt=>null===Lt?(0,e.of)(void 0):(Se._loadedRoutes=Lt.routes,Se._loadedInjector=Lt.injector,this.processRoutes(Lt.injector??de,Lt.routes))));if(Se.loadComponent&&!Se._loadedComponent){const Lt=this.loader.loadComponent(Se);return(0,l.Q)([it,Lt]).pipe(S())}return it})}static#e=this.\u0275fac=function(Se){return new(Se||oe)(n.\u0275\u0275inject(fo),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(Ks),n.\u0275\u0275inject(xe))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const Qs=new n.InjectionToken("");let Os=(()=>{class oe{constructor(de,Se,We,it,Lt={}){this.urlSerializer=de,this.transitions=Se,this.viewportScroller=We,this.zone=it,this.options=Lt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Lt.scrollPositionRestoration||="disabled",Lt.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(de=>{de instanceof Mi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=de.navigationTrigger,this.restoredId=de.restoredState?de.restoredState.navigationId:0):de instanceof un?(this.lastId=de.id,this.scheduleScrollEvent(de,this.urlSerializer.parse(de.urlAfterRedirects).fragment)):de instanceof Fe&&de.code===z.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(de,this.urlSerializer.parse(de.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(de=>{de instanceof Gt&&(de.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(de.position):de.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(de.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(de,Se){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Gt(de,"popstate"===this.lastSource?this.store[this.restoredId]:null,Se))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Se){n.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac})}return oe})();function fu(oe,...be){return(0,n.makeEnvironmentProviders)([{provide:ce,multi:!0,useValue:oe},[],{provide:ai,useFactory:Jo,deps:[fo]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:nl},be.map(de=>de.\u0275providers)])}function Jo(oe){return oe.routerState.root}function as(oe,be){return{\u0275kind:oe,\u0275providers:be}}function ls(oe){return[{provide:ce,multi:!0,useValue:oe},[]]}function oa(oe={}){return as(4,[{provide:Qs,useFactory:()=>{const de=(0,n.inject)(x.ViewportScroller),Se=(0,n.inject)(n.NgZone),We=(0,n.inject)(an),it=(0,n.inject)(ut);return new Os(it,We,de,Se,oe)}}])}function nl(){const oe=(0,n.inject)(n.Injector);return be=>{const de=oe.get(n.ApplicationRef);if(be!==de.components[0])return;const Se=oe.get(fo),We=oe.get(Sa);1===oe.get(sa)&&Se.initialNavigation(),oe.get(mu,null,n.InjectFlags.Optional)?.setUpPreloading(),oe.get(Qs,null,n.InjectFlags.Optional)?.init(),Se.resetRootComponentType(de.componentTypes[0]),We.closed||(We.next(),We.complete(),We.unsubscribe())}}const Sa=new n.InjectionToken("",{factory:()=>new P.E}),sa=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function aa(){return as(2,[{provide:sa,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:be=>{const de=be.get(x.LOCATION_INITIALIZED,Promise.resolve());return()=>de.then(()=>new Promise(Se=>{const We=be.get(fo),it=be.get(Sa);Ri(We,()=>{Se(!0)}),be.get(an).afterPreactivation=()=>(Se(!0),it.closed?(0,e.of)(void 0):it),We.initialNavigation()}))}}])}function gu(){return as(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const be=(0,n.inject)(fo);return()=>{be.setUpLocationChangeListener()}}},{provide:sa,useValue:2}])}function Ql(){let oe=[];return oe=[],as(1,oe)}const mu=new n.InjectionToken("");function zo(oe){return as(0,[{provide:mu,useExisting:tl},{provide:Ks,useExisting:oe}])}function la(oe){return as(5,[{provide:B,useValue:oe}])}function ca(){return as(6,[{provide:x.LocationStrategy,useClass:x.HashLocationStrategy}])}function jd(oe){return as(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const de=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(fo).events.subscribe(Se=>{Se instanceof Ae&&(0,n.runInInjectionContext)(de,()=>oe(Se))})}}])}function rl(){return as(8,[qi,{provide:zi,useExisting:qi}])}function Zl(oe){return as(9,[{provide:Ce,useValue:Mt},{provide:Re,useValue:{skipNextTransition:!!oe?.skipInitialTransition,...oe}}])}const ua=new n.InjectionToken("ROUTER_FORROOT_GUARD"),ol=[x.Location,{provide:ut,useClass:wt},fo,Lr,{provide:ai,useFactory:Jo,deps:[fo]},xe,[]];let Xl=(()=>{class oe{constructor(de){}static forRoot(de,Se){return{ngModule:oe,providers:[ol,[],{provide:ce,multi:!0,useValue:de},{provide:ua,useFactory:sl,deps:[[fo,new n.Optional,new n.SkipSelf]]},{provide:B,useValue:Se||{}},Se?.useHash?{provide:x.LocationStrategy,useClass:x.HashLocationStrategy}:{provide:x.LocationStrategy,useClass:x.PathLocationStrategy},{provide:Qs,useFactory:()=>{const oe=(0,n.inject)(x.ViewportScroller),be=(0,n.inject)(n.NgZone),de=(0,n.inject)(B),Se=(0,n.inject)(an),We=(0,n.inject)(ut);return de.scrollOffset&&oe.setOffset(de.scrollOffset),new Os(We,Se,oe,be,de)}},Se?.preloadingStrategy?zo(Se.preloadingStrategy).\u0275providers:[],Se?.initialNavigation?pu(Se):[],Se?.bindToComponentInputs?rl().\u0275providers:[],Se?.enableViewTransitions?Zl().\u0275providers:[],[{provide:No,useFactory:nl},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:No}]]}}static forChild(de){return{ngModule:oe,providers:[{provide:ce,multi:!0,useValue:de}]}}static#e=this.\u0275fac=function(Se){return new(Se||oe)(n.\u0275\u0275inject(ua,8))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:oe});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return oe})();function sl(oe){return"guarded"}function pu(oe){return["disabled"===oe.initialNavigation?gu().\u0275providers:[],"enabledBlocking"===oe.initialNavigation?aa().\u0275providers:[]]}const No=new n.InjectionToken("");function ql(oe){return oe.map(be=>(...de)=>(0,n.inject)(be).canMatch(...de))}function Us(oe){return oe.map(be=>(...de)=>(0,n.inject)(be).canActivate(...de))}function Ma(oe){return oe.map(be=>(...de)=>(0,n.inject)(be).canActivateChild(...de))}function Un(oe){return oe.map(be=>(...de)=>(0,n.inject)(be).canDeactivate(...de))}function ec(oe){return(...be)=>(0,n.inject)(oe).resolve(...be)}const ms=new n.Version("17.2.3")},9028:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{MSAL_BROADCAST_CONFIG:()=>H,MSAL_GUARD_CONFIG:()=>N,MSAL_INSTANCE:()=>x,MSAL_INTERCEPTOR_CONFIG:()=>O,MsalBroadcastService:()=>te,MsalCustomNavigationClient:()=>re,MsalGuard:()=>ue,MsalInterceptor:()=>se,MsalModule:()=>Z,MsalRedirectComponent:()=>K,MsalService:()=>G,version:()=>P});var n=o(1528),i=o(54496),d=o(26956),a=o(88904),l=o(72592),e=o(67648),u=o(84644),c=o(7828),g=o(64952),v=o(74496),p=o(22540),S=o(95657),C=o(46700),_=o(82700),f=o(28960),y=o(91368),b=o(54704),E=o(26020),M=o(39144),A=o(17368),I=o(3992),F=o(66684),j=o(56568);const T="@azure/msal-angular",P="3.0.13",x=new i.InjectionToken("MSAL_INSTANCE"),N=new i.InjectionToken("MSAL_GUARD_CONFIG"),O=new i.InjectionToken("MSAL_INTERCEPTOR_CONFIG"),H=new i.InjectionToken("MSAL_BROADCAST_CONFIG");let G=(()=>{class J{constructor($,le){this.instance=$,this.location=le;const ee=this.location.path(!0).split("#").pop();ee&&(this.redirectHash=`#${ee}`),this.instance.initializeWrapperLibrary(d.Lm.Angular,P)}initialize(){return(0,v.Q)(this.instance.initialize())}acquireTokenPopup($){return(0,v.Q)(this.instance.acquireTokenPopup($))}acquireTokenRedirect($){return(0,v.Q)(this.instance.acquireTokenRedirect($))}acquireTokenSilent($){return(0,v.Q)(this.instance.acquireTokenSilent($))}handleRedirectObservable($){return(0,v.Q)(this.instance.initialize().then(()=>this.instance.handleRedirectPromise($||this.redirectHash)))}loginPopup($){return(0,v.Q)(this.instance.loginPopup($))}loginRedirect($){return(0,v.Q)(this.instance.loginRedirect($))}logout($){return(0,v.Q)(this.instance.logout($))}logoutRedirect($){return(0,v.Q)(this.instance.logoutRedirect($))}logoutPopup($){return(0,v.Q)(this.instance.logoutPopup($))}ssoSilent($){return(0,v.Q)(this.instance.ssoSilent($))}getLogger(){return this.logger||(this.logger=this.instance.getLogger().clone(T,P)),this.logger}setLogger($){this.logger=$.clone(T,P),this.instance.setLogger($)}}return J.\u0275fac=function($){return new($||J)(i.\u0275\u0275inject(x),i.\u0275\u0275inject(y.Location))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),te=(()=>{class J{constructor($,le,ee){this.msalInstance=$,this.authService=le,this.msalBroadcastConfig=ee,this.msalBroadcastConfig&&this.msalBroadcastConfig.eventsToReplay>0?(this.authService.getLogger().verbose(`BroadcastService - eventsToReplay set on BroadcastConfig, replaying the last ${this.msalBroadcastConfig.eventsToReplay} events`),this._msalSubject=new p.o(this.msalBroadcastConfig.eventsToReplay)):this._msalSubject=new S.E,this.msalSubject$=this._msalSubject.asObservable(),this._inProgress=new C.g(d.Yz.Startup),this.inProgress$=this._inProgress.asObservable(),this.msalInstance.addEventCallback(we=>{this._msalSubject.next(we);const ye=a.M.getInteractionStatusFromEvent(we,this._inProgress.value);null!==ye&&(this.authService.getLogger().verbose(`BroadcastService - ${we.eventType} results in setting inProgress from ${this._inProgress.value} to ${ye}`),this._inProgress.next(ye))})}}return J.\u0275fac=function($){return new($||J)(i.\u0275\u0275inject(x),i.\u0275\u0275inject(G),i.\u0275\u0275inject(H,8))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),ue=(()=>{class J{constructor($,le,ee,we,ye){this.msalGuardConfig=$,this.msalBroadcastService=le,this.authService=ee,this.location=we,this.router=ye,this.msalBroadcastService.inProgress$.subscribe()}parseUrl($){return this.router.parseUrl($)}getDestinationUrl($){this.authService.getLogger().verbose("Guard - getting destination url");const le=document.getElementsByTagName("base"),ee=this.location.normalize(le.length?le[0].href:window.location.origin),we=this.location.prepareExternalUrl($);return we.startsWith("#")?(this.authService.getLogger().verbose("Guard - destination by hash routing"),`${ee}/${we}`):`${ee}${$}`}loginInteractively($){const le="function"==typeof this.msalGuardConfig.authRequest?this.msalGuardConfig.authRequest(this.authService,$):{...this.msalGuardConfig.authRequest};if(this.msalGuardConfig.interactionType===d.wV.Popup)return this.authService.getLogger().verbose("Guard - logging in by popup"),this.authService.loginPopup(le).pipe((0,b.k)(we=>(this.authService.getLogger().verbose("Guard - login by popup successful, can activate, setting active account"),this.authService.instance.setActiveAccount(we.account),!0)));this.authService.getLogger().verbose("Guard - logging in by redirect");const ee=this.getDestinationUrl($.url);return this.authService.loginRedirect({redirectStartPage:ee,...le}).pipe((0,b.k)(()=>!1))}activateHelper($){if(this.msalGuardConfig.interactionType!==d.wV.Popup&&this.msalGuardConfig.interactionType!==d.wV.Redirect)throw new l.aO("invalid_interaction_type","Invalid interaction type provided to MSAL Guard. InteractionType.Popup or InteractionType.Redirect must be provided in the MsalGuardConfiguration");if(this.authService.getLogger().verbose("MSAL Guard activated"),!(typeof window<"u"))return this.authService.getLogger().info("Guard - window is undefined, MSAL does not support server-side token acquisition"),(0,_.of)(!0);if(e._.hashContainsKnownProperties(window.location.hash)&&u.isInIframe()&&!this.authService.instance.getConfiguration().system.allowRedirectInIframe)return this.authService.getLogger().warning("Guard - redirectUri set to page with MSAL Guard. It is recommended to not set redirectUri to a page that requires authentication."),(0,_.of)(!1);this.msalGuardConfig.loginFailedRoute&&(this.loginFailedRoute=this.parseUrl(this.msalGuardConfig.loginFailedRoute));const le=this.location.path(!0);return this.authService.initialize().pipe((0,E.m)(()=>this.authService.handleRedirectObservable()),(0,E.m)(()=>{if(!this.authService.instance.getAllAccounts().length)return $?(this.authService.getLogger().verbose("Guard - no accounts retrieved, log in required to activate"),this.loginInteractively($)):(this.authService.getLogger().verbose("Guard - no accounts retrieved, no state, cannot load"),(0,_.of)(!1));if(this.authService.getLogger().verbose("Guard - at least 1 account exists, can activate or load"),$){const ee=this.includesCode($.url),we=!!$.root&&!!$.root.fragment&&this.includesCode(`#${$.root.fragment}`),ye=0===this.location.prepareExternalUrl($.url).indexOf("#");if(ee&&(we||ye))return this.authService.getLogger().info("Guard - Hash contains known code response, stopping navigation."),le.indexOf("#")>-1?(0,_.of)(this.parseUrl(this.location.path())):(0,_.of)(this.parseUrl(""))}return(0,_.of)(!0)}),(0,M.a)(ee=>(this.authService.getLogger().error("Guard - error while logging in, unable to activate"),this.authService.getLogger().errorPii(`Guard - error: ${ee.message}`),this.loginFailedRoute&&$?(this.authService.getLogger().verbose("Guard - loginFailedRoute set, redirecting"),(0,_.of)(this.loginFailedRoute)):(0,_.of)(!1))))}includesCode($){return $.lastIndexOf("/code")>-1&&$.lastIndexOf("/code")===$.length-5||$.indexOf("#code=")>-1||$.indexOf("&code=")>-1}canActivate($,le){return this.authService.getLogger().verbose("Guard - canActivate"),this.activateHelper(le)}canActivateChild($,le){return this.authService.getLogger().verbose("Guard - canActivateChild"),this.activateHelper(le)}canMatch(){return this.authService.getLogger().verbose("Guard - canLoad"),this.activateHelper()}}return J.\u0275fac=function($){return new($||J)(i.\u0275\u0275inject(N),i.\u0275\u0275inject(te),i.\u0275\u0275inject(G),i.\u0275\u0275inject(y.Location),i.\u0275\u0275inject(j.Router))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),se=(()=>{class J{constructor($,le,ee,we,ye){this.msalInterceptorConfig=$,this.authService=le,this.location=ee,this.msalBroadcastService=we,this._document=ye}intercept($,le){if(this.msalInterceptorConfig.interactionType!==d.wV.Popup&&this.msalInterceptorConfig.interactionType!==d.wV.Redirect)throw new l.aO("invalid_interaction_type","Invalid interaction type provided to MSAL Interceptor. InteractionType.Popup, InteractionType.Redirect must be provided in the msalInterceptorConfiguration");this.authService.getLogger().verbose("MSAL Interceptor activated");const ee=this.getScopesForEndpoint($.url,$.method);if(!ee||0===ee.length)return this.authService.getLogger().verbose("Interceptor - no scopes for endpoint"),le.handle($);let we;this.authService.instance.getActiveAccount()?(this.authService.getLogger().verbose("Interceptor - active account selected"),we=this.authService.instance.getActiveAccount()):(this.authService.getLogger().verbose("Interceptor - no active account, fallback to first account"),we=this.authService.instance.getAllAccounts()[0]);const ye="function"==typeof this.msalInterceptorConfig.authRequest?this.msalInterceptorConfig.authRequest(this.authService,$,{account:we}):{...this.msalInterceptorConfig.authRequest,account:we};return this.authService.getLogger().info(`Interceptor - ${ee.length} scopes found for endpoint`),this.authService.getLogger().infoPii(`Interceptor - [${ee}] scopes found for ${$.url}`),this.acquireToken(ye,ee,we).pipe((0,A.G)(Oe=>{this.authService.getLogger().verbose("Interceptor - setting authorization headers");const ve=$.headers.set("Authorization",`Bearer ${Oe.accessToken}`),_e=$.clone({headers:ve});return le.handle(_e)}))}acquireToken($,le,ee){return this.authService.acquireTokenSilent({...$,scopes:le,account:ee}).pipe((0,M.a)(()=>(this.authService.getLogger().error("Interceptor - acquireTokenSilent rejected with error. Invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,I.U)(1),(0,A.G)(we=>we===d.Yz.None?this.acquireTokenInteractively($,le):this.msalBroadcastService.inProgress$.pipe((0,F.I)(ye=>ye===d.Yz.None),(0,I.U)(1),(0,A.G)(()=>this.acquireToken($,le,ee))))))),(0,A.G)(we=>we.accessToken?(0,_.of)(we):(this.authService.getLogger().error("Interceptor - acquireTokenSilent resolved with null access token. Known issue with B2C tenants, invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,F.I)(ye=>ye===d.Yz.None),(0,I.U)(1),(0,A.G)(()=>this.acquireTokenInteractively($,le))))))}acquireTokenInteractively($,le){if(this.msalInterceptorConfig.interactionType===d.wV.Popup)return this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by popup"),this.authService.acquireTokenPopup({...$,scopes:le});this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by redirect");const ee=window.location.href;return this.authService.acquireTokenRedirect({...$,scopes:le,redirectStartPage:ee}),f.k}getScopesForEndpoint($,le){this.authService.getLogger().verbose("Interceptor - getting scopes for endpoint");const ee=this.location.normalize($),we=Array.from(this.msalInterceptorConfig.protectedResourceMap.keys()),ye=this.matchResourcesToEndpoint(we,ee);return ye.absoluteResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,ye.absoluteResources,le):ye.relativeResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,ye.relativeResources,le):null}matchResourcesToEndpoint($,le){const ee={absoluteResources:[],relativeResources:[]};return $.forEach(we=>{const ye=this.location.normalize(we);c.e.matchPattern(ye,le)&&ee.absoluteResources.push(we);const Oe=this.getAbsoluteUrl(we),ve=new e._(Oe).getUrlComponents(),_e=this.getAbsoluteUrl(le),Pe=new e._(_e).getUrlComponents(),Ze=ve.QueryString?`${ve.AbsolutePath}?${ve.QueryString}`:this.location.normalize(ve.AbsolutePath);ve.HostNameAndPort===Pe.HostNameAndPort&&c.e.matchPattern(Ze,_e)&&""!==Ze&&"/*"!==Ze&&ee.relativeResources.push(we)}),ee}getAbsoluteUrl($){const le=this._document.createElement("a");return le.href=$,le.href}matchScopesToEndpoint($,le,ee){const we=[];return le.forEach(ye=>{const Oe=[],ve=$.get(ye);null!==ve?(ve.forEach(_e=>{if("string"==typeof _e)Oe.push(_e);else{const Pe=ee.toLowerCase();_e.httpMethod.toLowerCase()===Pe&&(null===_e.scopes?we.push(null):_e.scopes.forEach(ot=>{Oe.push(ot)}))}}),Oe.length>0&&we.push(Oe)):we.push(null)}),we.length>0?(we.length>1&&this.authService.getLogger().warning("Interceptor - More than 1 matching scopes for endpoint found."),we[0]):null}}return J.\u0275fac=function($){return new($||J)(i.\u0275\u0275inject(O),i.\u0275\u0275inject(G),i.\u0275\u0275inject(y.Location),i.\u0275\u0275inject(te),i.\u0275\u0275inject(y.DOCUMENT))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),K=(()=>{class J{constructor($){this.authService=$}ngOnInit(){this.authService.getLogger().verbose("MsalRedirectComponent activated"),this.authService.handleRedirectObservable().subscribe()}}return J.\u0275fac=function($){return new($||J)(i.\u0275\u0275directiveInject(G))},J.\u0275cmp=i.\u0275\u0275defineComponent({type:J,selectors:[["app-redirect"]],decls:0,vars:0,template:function($,le){},encapsulation:2}),J})(),Z=(()=>{class J{static forRoot($,le,ee){return{ngModule:J,providers:[{provide:x,useValue:$},{provide:N,useValue:le},{provide:O,useValue:ee},G]}}}return J.\u0275fac=function($){return new($||J)},J.\u0275mod=i.\u0275\u0275defineNgModule({type:J}),J.\u0275inj=i.\u0275\u0275defineInjector({providers:[ue,te],imports:[y.CommonModule]}),J})(),re=(()=>{class J extends g.m{constructor($,le,ee){super(),this.authService=$,this.router=le,this.location=ee}navigateInternal($,le){var ee=()=>super.navigateInternal,we=this;return(0,n.c)(function*(){if(we.authService.getLogger().trace("MsalCustomNavigationClient called"),we.authService.getLogger().verbose("MsalCustomNavigationClient - navigating"),we.authService.getLogger().verbosePii(`MsalCustomNavigationClient - navigating to url: ${$}`),le.noHistory)return ee().call(we,$,le);{const ye=new e._($).getUrlComponents(),Oe=ye.QueryString?`${ye.AbsolutePath}?${ye.QueryString}`:we.location.normalize(ye.AbsolutePath);yield we.router.navigateByUrl(Oe,{replaceUrl:le.noHistory})}return Promise.resolve(le.noHistory)})()}}return J.\u0275fac=function($){return new($||J)(i.\u0275\u0275inject(G),i.\u0275\u0275inject(j.Router),i.\u0275\u0275inject(y.Location))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})()},69812:(pe,h,o)=>{"use strict";o.d(h,{S:()=>T,Y:()=>j});var n=o(1528),i=o(6536),d=o(34739),a=o(72584),l=o(98416),e=o(28876),u=o(71408),c=o(85348),g=o(7828),v=o(86144),p=o(16256),S=o(6400),C=o(9488),_=o(65172),f=o(4792),y=o(26956),b=o(71720),E=o(61744),M=o(99632),A=o(55084),I=o(37988),F=o(32828);class j extends i.B{constructor(x,N,O,H,G){super(x,O,H,G),this.COOKIE_LIFE_MULTIPLIER=864e5,this.cacheConfig=N,this.logger=H,this.internalStorage=new E.W,this.browserStorage=this.setupBrowserStorage(this.cacheConfig.cacheLocation),this.temporaryCacheStorage=this.setupTemporaryCacheStorage(this.cacheConfig.temporaryCacheLocation,this.cacheConfig.cacheLocation),N.cacheMigrationEnabled&&(this.migrateCacheEntries(),this.createKeyMaps())}setupBrowserStorage(x){switch(x){case y.Ir.LocalStorage:case y.Ir.SessionStorage:try{return new b.K(x)}catch(N){this.logger.verbose(N);break}}return this.cacheConfig.cacheLocation=y.Ir.MemoryStorage,new E.W}setupTemporaryCacheStorage(x,N){switch(N){case y.Ir.LocalStorage:case y.Ir.SessionStorage:try{return new b.K(x||y.Ir.SessionStorage)}catch(O){return this.logger.verbose(O),this.internalStorage}default:return this.internalStorage}}migrateCacheEntries(){const N=`${d.Mv.CACHE_PREFIX}.${d.IH.CLIENT_INFO}`,O=`${d.Mv.CACHE_PREFIX}.${d.IH.ERROR}`,H=`${d.Mv.CACHE_PREFIX}.${d.IH.ERROR_DESC}`,K=[this.browserStorage.getItem(`${d.Mv.CACHE_PREFIX}.${d.IH.ID_TOKEN}`),this.browserStorage.getItem(N),this.browserStorage.getItem(O),this.browserStorage.getItem(H)];[d.IH.ID_TOKEN,d.IH.CLIENT_INFO,d.IH.ERROR,d.IH.ERROR_DESC].forEach((re,J)=>this.migrateCacheEntry(re,K[J]))}migrateCacheEntry(x,N){N&&this.setTemporaryCache(x,N,!0)}createKeyMaps(){this.logger.trace("BrowserCacheManager - createKeyMaps called.");const x=this.getItem(y.UZ.ACCOUNT_KEYS),N=this.getItem(`${y.UZ.TOKEN_KEYS}.${this.clientId}`);x&&N?this.logger.verbose("BrowserCacheManager:createKeyMaps - account and token key maps already exist, skipping migration."):this.browserStorage.getKeys().forEach(H=>{if(this.isCredentialKey(H)){const G=this.getItem(H);if(G){const te=this.validateAndParseJson(G);if(te&&te.hasOwnProperty("credentialType"))switch(te.credentialType){case d.yu.ID_TOKEN:if(a.LS(te)){this.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - idToken with key: ${H} found, saving key to token key map`);const se=this.updateCredentialCacheKey(H,te);return void this.addTokenKey(se,d.yu.ID_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching idToken schema with value containing idToken credentialType field but value failed IdTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed idToken validation on key: ${H}`);break;case d.yu.ACCESS_TOKEN:case d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:if(a.Ul(te)){this.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - accessToken with key: ${H} found, saving key to token key map`);const se=this.updateCredentialCacheKey(H,te);return void this.addTokenKey(se,d.yu.ACCESS_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching accessToken schema with value containing accessToken credentialType field but value failed AccessTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed accessToken validation on key: ${H}`);break;case d.yu.REFRESH_TOKEN:if(a.U5(te)){this.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - refreshToken with key: ${H} found, saving key to token key map`);const se=this.updateCredentialCacheKey(H,te);return void this.addTokenKey(se,d.yu.REFRESH_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching refreshToken schema with value containing refreshToken credentialType field but value failed RefreshTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed refreshToken validation on key: ${H}`)}}}if(this.isAccountKey(H)){const G=this.getItem(H);if(G){const te=this.validateAndParseJson(G);te&&l.M.isAccountEntity(te)&&(this.logger.trace("BrowserCacheManager:createKeyMaps - account found, saving key to account key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - account with key: ${H} found, saving key to account key map`),this.addAccountKeyToMap(H))}}})}validateAndParseJson(x){try{const N=JSON.parse(x);return N&&"object"==typeof N?N:null}catch{return null}}getItem(x){return this.browserStorage.getItem(x)}setItem(x,N){this.browserStorage.setItem(x,N)}getAccount(x,N){this.logger.trace("BrowserCacheManager.getAccount called");const O=this.getCachedAccountEntity(x);return this.updateOutdatedCachedAccount(x,O,N)}getCachedAccountEntity(x){const N=this.getItem(x);if(!N)return this.removeAccountKeyFromMap(x),null;const O=this.validateAndParseJson(N);return O&&l.M.isAccountEntity(O)?i.B.toObject(new l.M,O):(this.removeAccountKeyFromMap(x),null)}setAccount(x){this.logger.trace("BrowserCacheManager.setAccount called");const N=x.generateAccountKey();this.setItem(N,JSON.stringify(x)),this.addAccountKeyToMap(N)}getAccountKeys(){this.logger.trace("BrowserCacheManager.getAccountKeys called");const x=this.getItem(y.UZ.ACCOUNT_KEYS);return x?JSON.parse(x):(this.logger.verbose("BrowserCacheManager.getAccountKeys - No account keys found"),[])}addAccountKeyToMap(x){this.logger.trace("BrowserCacheManager.addAccountKeyToMap called"),this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${x}`);const N=this.getAccountKeys();-1===N.indexOf(x)?(N.push(x),this.setItem(y.UZ.ACCOUNT_KEYS,JSON.stringify(N)),this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")):this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map")}removeAccountKeyFromMap(x){this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called"),this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${x}`);const N=this.getAccountKeys(),O=N.indexOf(x);O>-1?(N.splice(O,1),this.setItem(y.UZ.ACCOUNT_KEYS,JSON.stringify(N)),this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")):this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map")}removeAccount(x){var N=()=>super.removeAccount,O=this;return(0,n.c)(function*(){N().call(O,x),O.removeAccountKeyFromMap(x)})()}removeOutdatedAccount(x){this.removeItem(x),this.removeAccountKeyFromMap(x)}removeIdToken(x){super.removeIdToken(x),this.removeTokenKey(x,d.yu.ID_TOKEN)}removeAccessToken(x){var N=()=>super.removeAccessToken,O=this;return(0,n.c)(function*(){N().call(O,x),O.removeTokenKey(x,d.yu.ACCESS_TOKEN)})()}removeRefreshToken(x){super.removeRefreshToken(x),this.removeTokenKey(x,d.yu.REFRESH_TOKEN)}getTokenKeys(){this.logger.trace("BrowserCacheManager.getTokenKeys called");const x=this.getItem(`${y.UZ.TOKEN_KEYS}.${this.clientId}`);if(x){const N=this.validateAndParseJson(x);if(N&&N.hasOwnProperty("idToken")&&N.hasOwnProperty("accessToken")&&N.hasOwnProperty("refreshToken"))return N;this.logger.error("BrowserCacheManager.getTokenKeys - Token keys found but in an unknown format. Returning empty key map.")}else this.logger.verbose("BrowserCacheManager.getTokenKeys - No token keys found");return{idToken:[],accessToken:[],refreshToken:[]}}addTokenKey(x,N){this.logger.trace("BrowserCacheManager addTokenKey called");const O=this.getTokenKeys();switch(N){case d.yu.ID_TOKEN:-1===O.idToken.indexOf(x)&&(this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map"),O.idToken.push(x));break;case d.yu.ACCESS_TOKEN:-1===O.accessToken.indexOf(x)&&(this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map"),O.accessToken.push(x));break;case d.yu.REFRESH_TOKEN:-1===O.refreshToken.indexOf(x)&&(this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map"),O.refreshToken.push(x));break;default:throw this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${N}`),(0,e.mQ)(u.unexpectedCredentialType)}this.setItem(`${y.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(O))}removeTokenKey(x,N){this.logger.trace("BrowserCacheManager removeTokenKey called");const O=this.getTokenKeys();switch(N){case d.yu.ID_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: ${x} from map`);const H=O.idToken.indexOf(x);H>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map"),O.idToken.splice(H,1)):this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");break;case d.yu.ACCESS_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: ${x} from map`);const G=O.accessToken.indexOf(x);G>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map"),O.accessToken.splice(G,1)):this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");break;case d.yu.REFRESH_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: ${x} from map`);const te=O.refreshToken.indexOf(x);te>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map"),O.refreshToken.splice(te,1)):this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");break;default:throw this.logger.error(`BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: ${N}`),(0,e.mQ)(u.unexpectedCredentialType)}this.setItem(`${y.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(O))}getIdTokenCredential(x){const N=this.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.ID_TOKEN),null;const O=this.validateAndParseJson(N);return O&&a.LS(O)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),O):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.ID_TOKEN),null)}setIdTokenCredential(x){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");const N=a.AZ(x);this.setItem(N,JSON.stringify(x)),this.addTokenKey(N,d.yu.ID_TOKEN)}getAccessTokenCredential(x){const N=this.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.ACCESS_TOKEN),null;const O=this.validateAndParseJson(N);return O&&a.Ul(O)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),O):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.ACCESS_TOKEN),null)}setAccessTokenCredential(x){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");const N=a.AZ(x);this.setItem(N,JSON.stringify(x)),this.addTokenKey(N,d.yu.ACCESS_TOKEN)}getRefreshTokenCredential(x){const N=this.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.REFRESH_TOKEN),null;const O=this.validateAndParseJson(N);return O&&a.U5(O)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),O):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.REFRESH_TOKEN),null)}setRefreshTokenCredential(x){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");const N=a.AZ(x);this.setItem(N,JSON.stringify(x)),this.addTokenKey(N,d.yu.REFRESH_TOKEN)}getAppMetadata(x){const N=this.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;const O=this.validateAndParseJson(N);return O&&a.q6(x,O)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),O):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)}setAppMetadata(x){this.logger.trace("BrowserCacheManager.setAppMetadata called");const N=a.S(x);this.setItem(N,JSON.stringify(x))}getServerTelemetry(x){const N=this.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;const O=this.validateAndParseJson(N);return O&&a.sX(x,O)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),O):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)}setServerTelemetry(x,N){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(x,JSON.stringify(N))}getAuthorityMetadata(x){const N=this.internalStorage.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;const O=this.validateAndParseJson(N);return O&&a.aA(x,O)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),O):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(N=>this.isAuthorityMetadata(N))}setWrapperMetadata(x,N){this.internalStorage.setItem(y.CM.WRAPPER_SKU,x),this.internalStorage.setItem(y.CM.WRAPPER_VER,N)}getWrapperMetadata(){return[this.internalStorage.getItem(y.CM.WRAPPER_SKU)||d.Mv.EMPTY_STRING,this.internalStorage.getItem(y.CM.WRAPPER_VER)||d.Mv.EMPTY_STRING]}setAuthorityMetadata(x,N){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(x,JSON.stringify(N))}getActiveAccount(){const x=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT_FILTERS),N=this.getItem(x);if(!N){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");const H=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT),G=this.getItem(H);if(!G)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;const te=this.getAccountInfoFilteredBy({localAccountId:G});return te?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(te),te):null}const O=this.validateAndParseJson(N);return O?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoFilteredBy({homeAccountId:O.homeAccountId,localAccountId:O.localAccountId,tenantId:O.tenantId})):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)}setActiveAccount(x){const N=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT_FILTERS),O=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT);x?(this.logger.verbose("setActiveAccount: Active account set"),this.browserStorage.setItem(N,JSON.stringify({homeAccountId:x.homeAccountId,localAccountId:x.localAccountId,tenantId:x.tenantId})),this.browserStorage.setItem(O,x.localAccountId)):(this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(N),this.browserStorage.removeItem(O))}getThrottlingCache(x){const N=this.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;const O=this.validateAndParseJson(N);return O&&a.s7(x,O)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),O):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)}setThrottlingCache(x,N){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(x,JSON.stringify(N))}getTemporaryCache(x,N){const O=N?this.generateCacheKey(x):x;if(this.cacheConfig.storeAuthStateInCookie){const G=this.getItemCookie(O);if(G)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),G}const H=this.temporaryCacheStorage.getItem(O);if(!H){if(this.cacheConfig.cacheLocation===y.Ir.LocalStorage){const G=this.browserStorage.getItem(O);if(G)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),G}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),H}setTemporaryCache(x,N,O){const H=O?this.generateCacheKey(x):x;this.temporaryCacheStorage.setItem(H,N),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(H,N))}removeItem(x){this.browserStorage.removeItem(x),this.temporaryCacheStorage.removeItem(x),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(x))}containsKey(x){return this.browserStorage.containsKey(x)||this.temporaryCacheStorage.containsKey(x)}getKeys(){return[...this.browserStorage.getKeys(),...this.temporaryCacheStorage.getKeys()]}clear(){var x=this;return(0,n.c)(function*(){yield x.removeAllAccounts(),x.removeAppMetadata(),x.getKeys().forEach(N=>{(x.browserStorage.containsKey(N)||x.temporaryCacheStorage.containsKey(N))&&(-1!==N.indexOf(d.Mv.CACHE_PREFIX)||-1!==N.indexOf(x.clientId))&&x.removeItem(N)}),x.internalStorage.clear()})()}clearTokensAndKeysWithClaims(x){var N=this;return(0,n.c)(function*(){x.addQueueMeasurement(c.Xv.ClearTokensAndKeysWithClaims);const O=N.getTokenKeys(),H=[];O.accessToken.forEach(G=>{const te=N.getAccessTokenCredential(G);te?.requestedClaimsHash&&G.includes(te.requestedClaimsHash.toLowerCase())&&H.push(N.removeAccessToken(G))}),yield Promise.all(H),H.length>0&&N.logger.warning(`${H.length} access tokens with claims in the cache keys have been removed from the cache.`)})()}setItemCookie(x,N,O){let H=`${encodeURIComponent(x)}=${encodeURIComponent(N)};path=/;SameSite=Lax;`;O&&(H+=`expires=${this.getCookieExpirationTime(O)};`),this.cacheConfig.secureCookies&&(H+="Secure;"),document.cookie=H}getItemCookie(x){const N=`${encodeURIComponent(x)}=`,O=document.cookie.split(";");for(let H=0;H{for(;" "===O.charAt(0);)O=O.substring(1);if(0===O.indexOf(x)){const H=O.split("=")[0];this.clearItemCookie(H)}})}clearItemCookie(x){this.setItemCookie(x,d.Mv.EMPTY_STRING,-1)}getCookieExpirationTime(x){return new Date((new Date).getTime()+x*this.COOKIE_LIFE_MULTIPLIER).toUTCString()}getCache(){return this.browserStorage}setCache(){}generateCacheKey(x){return this.validateAndParseJson(x)?JSON.stringify(x):g.e.startsWith(x,d.Mv.CACHE_PREFIX)||g.e.startsWith(x,d.IH.ADAL_ID_TOKEN)?x:`${d.Mv.CACHE_PREFIX}.${this.clientId}.${x}`}generateAuthorityKey(x){const{libraryState:{id:N}}=v.c.parseRequestState(this.cryptoImpl,x);return this.generateCacheKey(`${y.zH.AUTHORITY}.${N}`)}generateNonceKey(x){const{libraryState:{id:N}}=v.c.parseRequestState(this.cryptoImpl,x);return this.generateCacheKey(`${y.zH.NONCE_IDTOKEN}.${N}`)}generateStateKey(x){const{libraryState:{id:N}}=v.c.parseRequestState(this.cryptoImpl,x);return this.generateCacheKey(`${y.zH.REQUEST_STATE}.${N}`)}getCachedAuthority(x){const N=this.generateStateKey(x),O=this.getTemporaryCache(N);if(!O)return null;const H=this.generateAuthorityKey(O);return this.getTemporaryCache(H)}updateCacheEntries(x,N,O,H,G){this.logger.trace("BrowserCacheManager.updateCacheEntries called");const te=this.generateStateKey(x);this.setTemporaryCache(te,x,!1);const ue=this.generateNonceKey(x);this.setTemporaryCache(ue,N,!1);const se=this.generateAuthorityKey(x);this.setTemporaryCache(se,O,!1),G?this.setTemporaryCache(y.zH.CCS_CREDENTIAL,JSON.stringify({credential:G.homeAccountId,type:p.s.HOME_ACCOUNT_ID}),!0):H&&this.setTemporaryCache(y.zH.CCS_CREDENTIAL,JSON.stringify({credential:H,type:p.s.UPN}),!0)}resetRequestCache(x){this.logger.trace("BrowserCacheManager.resetRequestCache called"),x&&(this.getKeys().forEach(N=>{-1!==N.indexOf(x)&&this.removeItem(N)}),this.removeItem(this.generateStateKey(x)),this.removeItem(this.generateNonceKey(x)),this.removeItem(this.generateAuthorityKey(x))),this.removeItem(this.generateCacheKey(y.zH.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(y.zH.ORIGIN_URI)),this.removeItem(this.generateCacheKey(y.zH.URL_HASH)),this.removeItem(this.generateCacheKey(y.zH.CORRELATION_ID)),this.removeItem(this.generateCacheKey(y.zH.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(y.zH.NATIVE_REQUEST)),this.setInteractionInProgress(!1)}cleanRequestByState(x){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),x){const N=this.generateStateKey(x),O=this.temporaryCacheStorage.getItem(N);this.logger.infoPii(`BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: ${O}`),this.resetRequestCache(O||d.Mv.EMPTY_STRING)}this.clearMsalCookies()}cleanRequestByInteractionType(x){this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach(N=>{if(-1===N.indexOf(y.zH.REQUEST_STATE))return;const O=this.temporaryCacheStorage.getItem(N);if(!O)return;const H=(0,M.Q)(this.cryptoImpl,O);H&&H.interactionType===x&&(this.logger.infoPii(`BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: ${O}`),this.resetRequestCache(O))}),this.clearMsalCookies(),this.setInteractionInProgress(!1)}cacheCodeRequest(x){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");const N=(0,I.c9)(JSON.stringify(x));this.setTemporaryCache(y.zH.REQUEST_PARAMS,N,!0)}getCachedRequest(x){this.logger.trace("BrowserCacheManager.getCachedRequest called");const N=this.getTemporaryCache(y.zH.REQUEST_PARAMS,!0);if(!N)throw(0,f.Wq)(F.noTokenRequestCacheError);let O;try{O=JSON.parse((0,A.W)(N))}catch(H){throw this.logger.errorPii(`Attempted to parse: ${N}`),this.logger.error(`Parsing cached token request threw with error: ${H}`),(0,f.Wq)(F.unableToParseTokenRequestCacheError)}if(this.removeItem(this.generateCacheKey(y.zH.REQUEST_PARAMS)),!O.authority){const H=this.generateAuthorityKey(x),G=this.getTemporaryCache(H);if(!G)throw(0,f.Wq)(F.noCachedAuthorityError);O.authority=G}return O}getCachedNativeRequest(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");const x=this.getTemporaryCache(y.zH.NATIVE_REQUEST,!0);return x?this.validateAndParseJson(x)||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null):(this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null)}isInteractionInProgress(x){const N=this.getInteractionInProgress();return x?N===this.clientId:!!N}getInteractionInProgress(){return this.getTemporaryCache(`${d.Mv.CACHE_PREFIX}.${y.zH.INTERACTION_STATUS_KEY}`,!1)}setInteractionInProgress(x){const N=`${d.Mv.CACHE_PREFIX}.${y.zH.INTERACTION_STATUS_KEY}`;if(x){if(this.getInteractionInProgress())throw(0,f.Wq)(F.interactionInProgress);this.setTemporaryCache(N,this.clientId,!1)}else!x&&this.getInteractionInProgress()===this.clientId&&this.removeItem(N)}getLegacyLoginHint(){const x=this.getTemporaryCache(d.IH.ADAL_ID_TOKEN);x&&(this.browserStorage.removeItem(d.IH.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));const N=this.getTemporaryCache(d.IH.ID_TOKEN,!0);N&&(this.removeItem(this.generateCacheKey(d.IH.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));const O=N||x;if(O){const H=S.aw(O,A.W);if(H.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),H.preferred_username;if(H.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),H.upn;this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, however, no account hint claim found. Enable preferred_username or upn id token claim to get SSO.")}return null}updateCredentialCacheKey(x,N){const O=a.AZ(N);if(x!==O){const H=this.getItem(x);if(H)return this.removeItem(x),this.setItem(O,H),this.logger.verbose(`Updated an outdated ${N.credentialType} cache key`),O;this.logger.error(`Attempted to update an outdated ${N.credentialType} cache key but no item matching the outdated key was found in storage`)}return x}getRedirectRequestContext(){return this.getTemporaryCache(y.zH.REDIRECT_CONTEXT,!0)}setRedirectRequestContext(x){this.setTemporaryCache(y.zH.REDIRECT_CONTEXT,x,!0)}hydrateCache(x,N){var O=this;return(0,n.c)(function*(){const H=a.YF(x.account?.homeAccountId,x.account?.environment,x.idToken,O.clientId,x.tenantId);let G;N.claims&&(G=yield O.cryptoImpl.hashString(N.claims));const te=a.MJ(x.account?.homeAccountId,x.account.environment,x.accessToken,O.clientId,x.tenantId,x.scopes.join(" "),x.expiresOn?.getTime()||0,x.extExpiresOn?.getTime()||0,A.W,void 0,x.tokenType,void 0,N.sshKid,N.claims,G),ue=new C.O(void 0,H,te);return O.saveCacheRecord(ue)})()}}const T=(P,x)=>new j(P,{cacheLocation:y.Ir.MemoryStorage,temporaryCacheLocation:y.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},_.K,x)},71720:(pe,h,o)=>{"use strict";o.d(h,{K:()=>a});var n=o(72592),i=o(26956),d=o(85288);class a{constructor(e){this.validateWindowStorage(e),this.windowStorage=window[e]}validateWindowStorage(e){if(e!==i.Ir.LocalStorage&&e!==i.Ir.SessionStorage||!window[e])throw(0,n.cf)(d.storageNotSupported)}getItem(e){return this.windowStorage.getItem(e)}setItem(e,u){this.windowStorage.setItem(e,u)}removeItem(e){this.windowStorage.removeItem(e)}getKeys(){return Object.keys(this.windowStorage)}containsKey(e){return this.windowStorage.hasOwnProperty(e)}}},61744:(pe,h,o)=>{"use strict";o.d(h,{W:()=>n});class n{constructor(){this.cache=new Map}getItem(d){return this.cache.get(d)||null}setItem(d,a){this.cache.set(d,a)}removeItem(d){this.cache.delete(d)}getKeys(){const d=[];return this.cache.forEach((a,l)=>{d.push(l)}),d}containsKey(d){return this.cache.has(d)}clear(){this.cache.clear()}}},48124:(pe,h,o)=>{"use strict";o.d(h,{Ks:()=>M,k5:()=>F});var n=o(34739),i=o(65072),d=o(67952),a=o(73364),l=o(80660),e=o(28876),u=o(71408);const c={sendGetRequestAsync:()=>Promise.reject((0,e.mQ)(u.methodNotImplemented)),sendPostRequestAsync:()=>Promise.reject((0,e.mQ)(u.methodNotImplemented))};var g=o(35128),v=o(59684),p=o(32336),S=o(26956),C=o(64952),_=o(1528),f=o(4792),y=o(32828);class b{sendGetRequestAsync(T,P){var x=this;return(0,_.c)(function*(){let N;try{N=yield fetch(T,{method:S.yI.GET,headers:x.getFetchHeaders(P)})}catch{throw window.navigator.onLine?(0,f.Wq)(y.getRequestFailed):(0,f.Wq)(y.noNetworkConnectivity)}try{return{headers:x.getHeaderDict(N.headers),body:yield N.json(),status:N.status}}catch{throw(0,f.Wq)(y.failedToParseResponse)}})()}sendPostRequestAsync(T,P){var x=this;return(0,_.c)(function*(){const N=P&&P.body||n.Mv.EMPTY_STRING;let O;try{O=yield fetch(T,{method:S.yI.POST,headers:x.getFetchHeaders(P),body:N})}catch{throw window.navigator.onLine?(0,f.Wq)(y.postRequestFailed):(0,f.Wq)(y.noNetworkConnectivity)}try{return{headers:x.getHeaderDict(O.headers),body:yield O.json(),status:O.status}}catch{throw(0,f.Wq)(y.failedToParseResponse)}})()}getFetchHeaders(T){const P=new Headers;if(!T||!T.headers)return P;const x=T.headers;return Object.keys(x).forEach(N=>{P.append(N,x[N])}),P}getHeaderDict(T){const P={};return T.forEach((x,N)=>{P[N]=x}),P}}const E=6e4,M=1e4,A=3e4,I=2e3;function F({auth:j,cache:T,system:P,telemetry:x},N){const O={clientId:n.Mv.EMPTY_STRING,authority:`${n.Mv.DEFAULT_AUTHORITY}`,knownAuthorities:[],cloudDiscoveryMetadata:n.Mv.EMPTY_STRING,authorityMetadata:n.Mv.EMPTY_STRING,redirectUri:n.Mv.EMPTY_STRING,postLogoutRedirectUri:n.Mv.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:i.g.AAD,OIDCOptions:{serverResponseType:n.eE.FRAGMENT,defaultScopes:[n.Mv.OPENID_SCOPE,n.Mv.PROFILE_SCOPE,n.Mv.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:d.C.None,tenant:n.Mv.EMPTY_STRING},skipAuthorityMetadataCache:!1,supportsNestedAppAuth:!1},H={cacheLocation:S.Ir.SessionStorage,temporaryCacheLocation:S.Ir.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!(!T||T.cacheLocation!==S.Ir.LocalStorage),claimsBasedCachingEnabled:!1},G={loggerCallback:()=>{},logLevel:a.G.Info,piiLoggingEnabled:!1},ue={...{...l.k5,loggerOptions:G,networkClient:N?new b:c,navigationClient:new C.m,loadFrameTimeout:0,windowHashTimeout:P?.loadFrameTimeout||E,iframeHashTimeout:P?.loadFrameTimeout||M,navigateFrameWait:0,redirectNavigationTimeout:A,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:P?.nativeBrokerHandshakeTimeout||I,pollIntervalMilliseconds:S.ig.DEFAULT_POLL_INTERVAL_MS},...P,loggerOptions:P?.loggerOptions||G},se={application:{appName:n.Mv.EMPTY_STRING,appVersion:n.Mv.EMPTY_STRING},client:new g._};if(j?.protocolMode!==i.g.OIDC&&j?.OIDCOptions&&new a.Y(ue.loggerOptions).warning(JSON.stringify((0,v.QN)(p.cannotSetOIDCOptions))),j?.protocolMode&&j.protocolMode!==i.g.AAD&&ue?.allowNativeBroker)throw(0,v.QN)(p.cannotAllowNativeBroker);return{auth:{...O,...j,OIDCOptions:{...O.OIDCOptions,...j?.OIDCOptions}},cache:{...H,...T},system:ue,telemetry:{...se,...x}}}},65304:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{StandardController:()=>ur});var n=o(1528),i=o(7184),d=o(65172),a=o(25988),e=o(67648),u=o(28876),c=o(34739),g=o(74968),v=o(59684),p=o(65072),S=o(67952),f=o(85348),y=o(14035);let b=(()=>{class un{constructor(z,ae,Fe,Ae){this.networkInterface=z,this.logger=ae,this.performanceClient=Fe,this.correlationId=Ae}detectRegion(z,ae){var Fe=this;return(0,n.c)(function*(){Fe.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryDetectRegion,Fe.correlationId);let Ae=z;if(Ae)ae.region_source=c.Q$.ENVIRONMENT_VARIABLE;else{const fe=un.IMDS_OPTIONS;try{const De=yield(0,y.C)(Fe.getRegionFromIMDS.bind(Fe),f.Xv.RegionDiscoveryGetRegionFromIMDS,Fe.logger,Fe.performanceClient,Fe.correlationId)(c.Mv.IMDS_VERSION,fe);if(De.status===c.sL.httpSuccess&&(Ae=De.body,ae.region_source=c.Q$.IMDS),De.status===c.sL.httpBadRequest){const rt=yield(0,y.C)(Fe.getCurrentVersion.bind(Fe),f.Xv.RegionDiscoveryGetCurrentVersion,Fe.logger,Fe.performanceClient,Fe.correlationId)(fe);if(!rt)return ae.region_source=c.Q$.FAILED_AUTO_DETECTION,null;const _t=yield(0,y.C)(Fe.getRegionFromIMDS.bind(Fe),f.Xv.RegionDiscoveryGetRegionFromIMDS,Fe.logger,Fe.performanceClient,Fe.correlationId)(rt,fe);_t.status===c.sL.httpSuccess&&(Ae=_t.body,ae.region_source=c.Q$.IMDS)}}catch{return ae.region_source=c.Q$.FAILED_AUTO_DETECTION,null}}return Ae||(ae.region_source=c.Q$.FAILED_AUTO_DETECTION),Ae||null})()}getRegionFromIMDS(z,ae){var Fe=this;return(0,n.c)(function*(){return Fe.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryGetRegionFromIMDS,Fe.correlationId),Fe.networkInterface.sendGetRequestAsync(`${c.Mv.IMDS_ENDPOINT}?api-version=${z}&format=text`,ae,c.Mv.IMDS_TIMEOUT)})()}getCurrentVersion(z){var ae=this;return(0,n.c)(function*(){ae.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryGetCurrentVersion,ae.correlationId);try{const Fe=yield ae.networkInterface.sendGetRequestAsync(`${c.Mv.IMDS_ENDPOINT}?format=json`,z);return Fe.status===c.sL.httpBadRequest&&Fe.body&&Fe.body["newest-versions"]&&Fe.body["newest-versions"].length>0?Fe.body["newest-versions"][0]:null}catch{return null}})()}}return un.IMDS_OPTIONS={headers:{Metadata:"true"}},un})();var E=o(66936),M=o(72584),A=o(71408),I=o(32336);class F{constructor(U,z,ae,Fe,Ae,fe,De){this.canonicalAuthority=U,this._canonicalAuthority.validateAsUri(),this.networkInterface=z,this.cacheManager=ae,this.authorityOptions=Fe,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=Ae,this.performanceClient=De,this.correlationId=fe,this.regionDiscovery=new b(z,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(U){if(U.HostNameAndPort.endsWith(c.Mv.CIAM_AUTH_URL))return a.O.Ciam;const z=U.PathSegments;if(z.length)switch(z[0].toLowerCase()){case c.Mv.ADFS:return a.O.Adfs;case c.Mv.DSTS:return a.O.Dsts}return a.O.Default}get authorityType(){return this.getAuthorityType(this.canonicalAuthorityUrlComponents)}get protocolMode(){return this.authorityOptions.protocolMode}get options(){return this.authorityOptions}get canonicalAuthority(){return this._canonicalAuthority.urlString}set canonicalAuthority(U){this._canonicalAuthority=new e._(U),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null}get canonicalAuthorityUrlComponents(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents}get hostnameAndPort(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()}get tenant(){return this.canonicalAuthorityUrlComponents.PathSegments[0]}get authorizationEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.authorization_endpoint);throw(0,u.mQ)(A.endpointResolutionError)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw(0,u.mQ)(A.endpointResolutionError)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw(0,u.mQ)(A.endpointResolutionError)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw(0,u.mQ)(A.endSessionEndpointNotSupported);return this.replacePath(this.metadata.end_session_endpoint)}throw(0,u.mQ)(A.endpointResolutionError)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw(0,u.mQ)(A.endpointResolutionError)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw(0,u.mQ)(A.endpointResolutionError)}canReplaceTenant(U){return 1===U.PathSegments.length&&!F.reservedTenantDomains.has(U.PathSegments[0])&&this.getAuthorityType(U)===a.O.Default&&this.protocolMode===p.g.AAD}replaceTenant(U){return U.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(U){let z=U;const Fe=new e._(this.metadata.canonical_authority).getUrlComponents(),Ae=Fe.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((De,rt)=>{let _t=Ae[rt];if(0===rt&&this.canReplaceTenant(Fe)){const Tt=new e._(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];_t!==Tt&&(this.logger.verbose(`Replacing tenant domain name ${_t} with id ${Tt}`),_t=Tt)}De!==_t&&(z=z.replace(`/${_t}/`,`/${De}/`))}),this.replaceTenant(z)}get defaultOpenIdConfigurationEndpoint(){const U=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===a.O.Adfs||this.protocolMode!==p.g.AAD&&!this.isAliasOfKnownMicrosoftAuthority(U)?`${this.canonicalAuthority}.well-known/openid-configuration`:`${this.canonicalAuthority}v2.0/.well-known/openid-configuration`}discoveryComplete(){return!!this.metadata}resolveEndpointsAsync(){var U=this;return(0,n.c)(function*(){U.performanceClient?.addQueueMeasurement(f.Xv.AuthorityResolveEndpointsAsync,U.correlationId);const z=U.getCurrentMetadataEntity(),ae=yield(0,y.C)(U.updateCloudDiscoveryMetadata.bind(U),f.Xv.AuthorityUpdateCloudDiscoveryMetadata,U.logger,U.performanceClient,U.correlationId)(z);U.canonicalAuthority=U.canonicalAuthority.replace(U.hostnameAndPort,z.preferred_network);const Fe=yield(0,y.C)(U.updateEndpointMetadata.bind(U),f.Xv.AuthorityUpdateEndpointMetadata,U.logger,U.performanceClient,U.correlationId)(z);U.updateCachedMetadata(z,ae,{source:Fe}),U.performanceClient?.addFields({cloudDiscoverySource:ae,authorityEndpointSource:Fe},U.correlationId)})()}getCurrentMetadataEntity(){let U=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort);return U||(U={aliases:[],preferred_cache:this.hostnameAndPort,preferred_network:this.hostnameAndPort,canonical_authority:this.canonicalAuthority,authorization_endpoint:"",token_endpoint:"",end_session_endpoint:"",issuer:"",aliasesFromNetwork:!1,endpointsFromNetwork:!1,expiresAt:(0,M.gv)(),jwks_uri:""}),U}updateCachedMetadata(U,z,ae){z!==c.cv.CACHE&&ae?.source!==c.cv.CACHE&&(U.expiresAt=(0,M.gv)(),U.canonical_authority=this.canonicalAuthority);const Fe=this.cacheManager.generateAuthorityMetadataCacheKey(U.preferred_cache);this.cacheManager.setAuthorityMetadata(Fe,U),this.metadata=U}updateEndpointMetadata(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateEndpointMetadata,z.correlationId);const ae=z.updateEndpointMetadataFromLocalSources(U);if(ae){if(ae.source===c.cv.HARDCODED_VALUES&&z.authorityOptions.azureRegionConfiguration?.azureRegion&&ae.metadata){const Ae=yield(0,y.C)(z.updateMetadataWithRegionalInformation.bind(z),f.Xv.AuthorityUpdateMetadataWithRegionalInformation,z.logger,z.performanceClient,z.correlationId)(ae.metadata);(0,M.sH)(U,Ae,!1),U.canonical_authority=z.canonicalAuthority}return ae.source}let Fe=yield(0,y.C)(z.getEndpointMetadataFromNetwork.bind(z),f.Xv.AuthorityGetEndpointMetadataFromNetwork,z.logger,z.performanceClient,z.correlationId)();if(Fe)return z.authorityOptions.azureRegionConfiguration?.azureRegion&&(Fe=yield(0,y.C)(z.updateMetadataWithRegionalInformation.bind(z),f.Xv.AuthorityUpdateMetadataWithRegionalInformation,z.logger,z.performanceClient,z.correlationId)(Fe)),(0,M.sH)(U,Fe,!0),c.cv.NETWORK;throw(0,u.mQ)(A.openIdConfigError,z.defaultOpenIdConfigurationEndpoint)})()}updateEndpointMetadataFromLocalSources(U){this.logger.verbose("Attempting to get endpoint metadata from authority configuration");const z=this.getEndpointMetadataFromConfig();if(z)return this.logger.verbose("Found endpoint metadata in authority configuration"),(0,M.sH)(U,z,!1),{source:c.cv.CONFIG};if(this.logger.verbose("Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values."),this.authorityOptions.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get endpoint metadata from the network metadata cache.");else{const Fe=this.getEndpointMetadataFromHardcodedValues();if(Fe)return(0,M.sH)(U,Fe,!1),{source:c.cv.HARDCODED_VALUES,metadata:Fe};this.logger.verbose("Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.")}const ae=(0,M.mk)(U);return this.isAuthoritySameType(U)&&U.endpointsFromNetwork&&!ae?(this.logger.verbose("Found endpoint metadata in the cache."),{source:c.cv.CACHE}):(ae&&this.logger.verbose("The metadata entity is expired."),null)}isAuthoritySameType(U){return new e._(U.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw(0,v.QN)(I.invalidAuthorityMetadata)}return null}getEndpointMetadataFromNetwork(){var U=this;return(0,n.c)(function*(){U.performanceClient?.addQueueMeasurement(f.Xv.AuthorityGetEndpointMetadataFromNetwork,U.correlationId);const z={},ae=U.defaultOpenIdConfigurationEndpoint;U.logger.verbose(`Authority.getEndpointMetadataFromNetwork: attempting to retrieve OAuth endpoints from ${ae}`);try{const Fe=yield U.networkInterface.sendGetRequestAsync(ae,z);return function l(un){return un.hasOwnProperty("authorization_endpoint")&&un.hasOwnProperty("token_endpoint")&&un.hasOwnProperty("issuer")&&un.hasOwnProperty("jwks_uri")}(Fe.body)?Fe.body:(U.logger.verbose("Authority.getEndpointMetadataFromNetwork: could not parse response as OpenID configuration"),null)}catch(Fe){return U.logger.verbose(`Authority.getEndpointMetadataFromNetwork: ${Fe}`),null}})()}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in g.gB?g.gB[this.hostnameAndPort]:null}updateMetadataWithRegionalInformation(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateMetadataWithRegionalInformation,z.correlationId);const ae=z.authorityOptions.azureRegionConfiguration?.azureRegion;if(ae){if(ae!==c.Mv.AZURE_REGION_AUTO_DISCOVER_FLAG)return z.regionDiscoveryMetadata.region_outcome=c.wR.CONFIGURED_NO_AUTO_DETECTION,z.regionDiscoveryMetadata.region_used=ae,F.replaceWithRegionalInformation(U,ae);const Fe=yield(0,y.C)(z.regionDiscovery.detectRegion.bind(z.regionDiscovery),f.Xv.RegionDiscoveryDetectRegion,z.logger,z.performanceClient,z.correlationId)(z.authorityOptions.azureRegionConfiguration?.environmentRegion,z.regionDiscoveryMetadata);if(Fe)return z.regionDiscoveryMetadata.region_outcome=c.wR.AUTO_DETECTION_REQUESTED_SUCCESSFUL,z.regionDiscoveryMetadata.region_used=Fe,F.replaceWithRegionalInformation(U,Fe);z.regionDiscoveryMetadata.region_outcome=c.wR.AUTO_DETECTION_REQUESTED_FAILED}return U})()}updateCloudDiscoveryMetadata(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateCloudDiscoveryMetadata,z.correlationId);const ae=z.updateCloudDiscoveryMetadataFromLocalSources(U);if(ae)return ae;const Fe=yield(0,y.C)(z.getCloudDiscoveryMetadataFromNetwork.bind(z),f.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,z.logger,z.performanceClient,z.correlationId)();if(Fe)return(0,M.cb)(U,Fe,!0),c.cv.NETWORK;throw(0,v.QN)(I.untrustedAuthority)})()}updateCloudDiscoveryMetadataFromLocalSources(U){this.logger.verbose("Attempting to get cloud discovery metadata from authority configuration"),this.logger.verbosePii(`Known Authorities: ${this.authorityOptions.knownAuthorities||c.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Authority Metadata: ${this.authorityOptions.authorityMetadata||c.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Canonical Authority: ${U.canonical_authority||c.Mv.NOT_APPLICABLE}`);const z=this.getCloudDiscoveryMetadataFromConfig();if(z)return this.logger.verbose("Found cloud discovery metadata in authority configuration"),(0,M.cb)(U,z,!1),c.cv.CONFIG;if(this.logger.verbose("Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values."),this.options.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded cloud discovery metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get cloud discovery metadata from the network metadata cache.");else{const Fe=(0,g.UD)(this.hostnameAndPort);if(Fe)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),(0,M.cb)(U,Fe,!1),c.cv.HARDCODED_VALUES;this.logger.verbose("Did not find cloud discovery metadata in hardcoded values... Attempting to get cloud discovery metadata from the network metadata cache.")}const ae=(0,M.mk)(U);return this.isAuthoritySameType(U)&&U.aliasesFromNetwork&&!ae?(this.logger.verbose("Found cloud discovery metadata in the cache."),c.cv.CACHE):(ae&&this.logger.verbose("The metadata entity is expired."),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===a.O.Ciam)return this.logger.verbose("CIAM authorities do not support cloud discovery metadata, generate the aliases from authority host."),F.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");try{this.logger.verbose("Attempting to parse the cloud discovery metadata.");const U=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),z=(0,g._8)(U.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),z)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),z;this.logger.verbose("There is no metadata attached to the parsed cloud discovery metadata.")}catch{throw this.logger.verbose("Unable to parse the cloud discovery metadata. Throwing Invalid Cloud Discovery Metadata Error."),(0,v.QN)(I.invalidCloudDiscoveryMetadata)}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),F.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}getCloudDiscoveryMetadataFromNetwork(){var U=this;return(0,n.c)(function*(){U.performanceClient?.addQueueMeasurement(f.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,U.correlationId);const z=`${c.Mv.AAD_INSTANCE_DISCOVERY_ENDPT}${U.canonicalAuthority}oauth2/v2.0/authorize`,ae={};let Fe=null;try{const Ae=yield U.networkInterface.sendGetRequestAsync(z,ae);let fe,De;if(function C(un){return un.hasOwnProperty("tenant_discovery_endpoint")&&un.hasOwnProperty("metadata")}(Ae.body))fe=Ae.body,De=fe.metadata,U.logger.verbosePii(`tenant_discovery_endpoint is: ${fe.tenant_discovery_endpoint}`);else{if(!function _(un){return un.hasOwnProperty("error")&&un.hasOwnProperty("error_description")}(Ae.body))return U.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),null;if(U.logger.warning(`A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: ${Ae.status}`),fe=Ae.body,fe.error===c.Mv.INVALID_INSTANCE)return U.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),null;U.logger.warning(`The CloudInstanceDiscoveryErrorResponse error is ${fe.error}`),U.logger.warning(`The CloudInstanceDiscoveryErrorResponse error description is ${fe.error_description}`),U.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),De=[]}U.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),Fe=(0,g._8)(De,U.hostnameAndPort)}catch(Ae){return U.logger.error(Ae instanceof E.WM?`There was a network error while attempting to get the cloud discovery instance metadata.\nError: ${Ae.errorCode}\nError Description: ${Ae.errorMessage}`:`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.\nError: ${Ae.name}\nError Description: ${Ae.message}`),null}return Fe||(U.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),U.logger.verbose("Creating custom Authority for custom domain scenario."),Fe=F.createCloudDiscoveryMetadataFromHost(U.hostnameAndPort)),Fe})()}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(z=>z&&e._.getDomainFromUrl(z).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(U,z){let ae;return z&&z.azureCloudInstance!==S.C.None&&(ae=`${z.azureCloudInstance}/${z.tenant?z.tenant:c.Mv.DEFAULT_COMMON_TENANT}/`),ae||U}static createCloudDiscoveryMetadataFromHost(U){return{preferred_network:U,preferred_cache:U,aliases:[U]}}getPreferredCache(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw(0,u.mQ)(A.endpointResolutionError)}isAlias(U){return this.metadata.aliases.indexOf(U)>-1}isAliasOfKnownMicrosoftAuthority(U){return g.IP.has(U)}static isPublicCloudAuthority(U){return c.Mv.KNOWN_PUBLIC_CLOUDS.indexOf(U)>=0}static buildRegionalAuthorityString(U,z,ae){const Fe=new e._(U);Fe.validateAsUri();const Ae=Fe.getUrlComponents();let fe=`${z}.${Ae.HostNameAndPort}`;this.isPublicCloudAuthority(Ae.HostNameAndPort)&&(fe=`${z}.${c.Mv.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX}`);const De=e._.constructAuthorityUriFromObject({...Fe.getUrlComponents(),HostNameAndPort:fe}).urlString;return ae?`${De}?${ae}`:De}static replaceWithRegionalInformation(U,z){const ae={...U};return ae.authorization_endpoint=F.buildRegionalAuthorityString(ae.authorization_endpoint,z),ae.token_endpoint=F.buildRegionalAuthorityString(ae.token_endpoint,z),ae.end_session_endpoint&&(ae.end_session_endpoint=F.buildRegionalAuthorityString(ae.end_session_endpoint,z)),ae}static transformCIAMAuthority(U){let z=U;const Fe=new e._(U).getUrlComponents();return 0===Fe.PathSegments.length&&Fe.HostNameAndPort.endsWith(c.Mv.CIAM_AUTH_URL)&&(z=`${z}${Fe.HostNameAndPort.split(".")[0]}${c.Mv.AAD_TENANT_DOMAIN_SUFFIX}`),z}}function T(un){return un.endsWith(c.Mv.FORWARD_SLASH)?un:`${un}${c.Mv.FORWARD_SLASH}`}F.reservedTenantDomains=new Set(["{tenant}","{tenantid}",c.sN.COMMON,c.sN.CONSUMERS,c.sN.ORGANIZATIONS]);var x=o(53408),N=o(98416),O=o(72896),H=o(69812),G=o(26956),te=o(84644),ue=o(28612),se=o(72592),K=o(85968),Z=o(76944);class re{static generateThrottlingStorageKey(U){return`${c.gr.THROTTLING_PREFIX}.${JSON.stringify(U)}`}static preProcess(U,z){const ae=re.generateThrottlingStorageKey(z),Fe=U.getThrottlingCache(ae);if(Fe){if(Fe.throttleTime=500&&U.status<600}static checkResponseForRetryAfter(U){return!!U.headers&&U.headers.hasOwnProperty(c.MF.RETRY_AFTER)&&(U.status<200||U.status>=300)}static calculateThrottleTime(U){const z=U<=0?0:U,ae=Date.now()/1e3;return Math.floor(1e3*Math.min(ae+(z||c.gr.DEFAULT_THROTTLE_TIME_SECONDS),ae+c.gr.DEFAULT_MAX_THROTTLE_TIME_SECONDS))}static removeThrottle(U,z,ae,Fe){const fe=this.generateThrottlingStorageKey({clientId:z,authority:ae.authority,scopes:ae.scopes,homeAccountIdentifier:Fe,claims:ae.claims,authenticationScheme:ae.authenticationScheme,resourceRequestMethod:ae.resourceRequestMethod,resourceRequestUri:ae.resourceRequestUri,shrClaims:ae.shrClaims,sshKid:ae.sshKid});U.removeItem(fe)}}var J=o(86144),Y=o(80660);class ${constructor(U,z){this.networkClient=U,this.cacheManager=z}sendPostRequest(U,z,ae){var Fe=this;return(0,n.c)(function*(){let Ae;re.preProcess(Fe.cacheManager,U);try{Ae=yield Fe.networkClient.sendPostRequestAsync(z,ae)}catch(fe){throw fe instanceof E.WM?fe:(0,u.mQ)(A.networkError)}return re.postProcess(Fe.cacheManager,U,Ae),Ae})()}}var le=o(73364),ee=o(75205),we=o(16256),ye=o(22045),Oe=o(33363);function ve(un,U,z,ae,Fe,Ae,fe){return _e.apply(this,arguments)}function _e(){return(_e=(0,n.c)(function*(un,U,z,ae,Fe,Ae,fe){fe?.addQueueMeasurement(f.Xv.AuthorityFactoryCreateDiscoveredInstance,Ae);const De=F.transformCIAMAuthority(T(un)),rt=new F(De,U,z,ae,Fe,Ae,fe);try{return yield(0,y.C)(rt.resolveEndpointsAsync.bind(rt),f.Xv.AuthorityResolveEndpointsAsync,Fe,fe,Ae)(),rt}catch{throw(0,u.mQ)(A.endpointResolutionError)}})).apply(this,arguments)}class Pe{constructor(U,z){this.config=(0,Y.cJ)(U),this.logger=new le.Y(this.config.loggerOptions,ee.N,ee.W),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new $(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=z}createTokenRequestHeaders(U){const z={};if(z[c.MF.CONTENT_TYPE]=c.Mv.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&U)switch(U.type){case we.s.HOME_ACCOUNT_ID:try{const ae=(0,ye.k)(U.credential);z[c.MF.CCS_HEADER]=`Oid:${ae.uid}@${ae.utid}`}catch(ae){this.logger.verbose("Could not parse home account ID for CCS Header: "+ae)}break;case we.s.UPN:z[c.MF.CCS_HEADER]=`UPN: ${U.credential}`}return z}executePostToTokenEndpoint(U,z,ae,Fe,Ae,fe){var De=this;return(0,n.c)(function*(){fe&&De.performanceClient?.addQueueMeasurement(fe,Ae);const rt=yield De.networkManager.sendPostRequest(Fe,U,{body:z,headers:ae});return De.performanceClient?.addFields({refreshTokenSize:rt.body.refresh_token?.length||0,httpVerToken:rt.headers?.[c.MF.X_MS_HTTP_VERSION]||""},Ae),De.config.serverTelemetryManager&&rt.status<500&&429!==rt.status&&De.config.serverTelemetryManager.clearTelemetryCache(),rt})()}updateAuthority(U,z){var ae=this;return(0,n.c)(function*(){ae.performanceClient?.addQueueMeasurement(f.Xv.UpdateTokenEndpointAuthority,z);const Fe=`https://${U}/${ae.authority.tenant}/`,Ae=yield ve(Fe,ae.networkClient,ae.cacheManager,ae.authority.options,ae.logger,z,ae.performanceClient);ae.authority=Ae})()}createTokenQueryParameters(U){const z=new Oe.I;return U.tokenQueryParameters&&z.addExtraQueryParameters(U.tokenQueryParameters),z.createQueryString()}}var Ze=o(91076),ot=o(95248),tt=o(9488),mt=o(46392);class Qe{constructor(U,z){this.cache=U,this.hasChanged=z}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}}var Ct=o(6400),Xe=o(79032),nt=o(60928);class Pt{constructor(U,z,ae,Fe,Ae,fe,De){this.clientId=U,this.cacheStorage=z,this.cryptoObj=ae,this.logger=Fe,this.serializableCache=Ae,this.persistencePlugin=fe,this.performanceClient=De}validateServerAuthorizationCodeResponse(U,z){if(!U.state||!z)throw(0,u.mQ)(A.stateNotFound,U.state?"Cached State":"Server State");let ae,Fe;try{ae=decodeURIComponent(U.state)}catch{throw(0,u.mQ)(A.invalidState,U.state)}try{Fe=decodeURIComponent(z)}catch{throw(0,u.mQ)(A.invalidState,U.state)}if(ae!==Fe)throw(0,u.mQ)(A.stateMismatch);if(U.error||U.error_description||U.suberror)throw(0,x.aq)(U.error,U.error_description,U.suberror)?new x.uw(U.error||"",U.error_description,U.suberror,U.timestamp||"",U.trace_id||"",U.correlation_id||"",U.claims||""):new Z.s(U.error||"",U.error_description,U.suberror)}validateTokenResponse(U,z){if(U.error||U.error_description||U.suberror){const Fe=new Z.s(U.error,`${U.error_codes} - [${U.timestamp}]: ${U.error_description} - Correlation ID: ${U.correlation_id} - Trace ID: ${U.trace_id}`,U.suberror);if(z&&U.status&&U.status>=c.Q3.SERVER_ERROR_RANGE_START&&U.status<=c.Q3.SERVER_ERROR_RANGE_END)return void this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently unavailable and the access token is unable to be refreshed.\n${Fe}`);if(z&&U.status&&U.status>=c.Q3.CLIENT_ERROR_RANGE_START&&U.status<=c.Q3.CLIENT_ERROR_RANGE_END)return void this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently available but is unable to refresh the access token.\n${Fe}`);throw(0,x.aq)(U.error,U.error_description,U.suberror)?new x.uw(U.error,U.error_description,U.suberror,U.timestamp||c.Mv.EMPTY_STRING,U.trace_id||c.Mv.EMPTY_STRING,U.correlation_id||c.Mv.EMPTY_STRING,U.claims||c.Mv.EMPTY_STRING):Fe}}handleServerTokenResponse(U,z,ae,Fe,Ae,fe,De,rt,_t){var Tt=this;return(0,n.c)(function*(){let Bt,Jt;if(Tt.performanceClient?.addQueueMeasurement(f.Xv.HandleServerTokenResponse,U.correlation_id),U.id_token){if(Bt=(0,Ct.aw)(U.id_token||c.Mv.EMPTY_STRING,Tt.cryptoObj.base64Decode),Ae&&Ae.nonce&&Bt.nonce!==Ae.nonce)throw(0,u.mQ)(A.nonceMismatch);if(Fe.maxAge||0===Fe.maxAge){const Cn=Bt.auth_time;if(!Cn)throw(0,u.mQ)(A.authTimeNotFound);(0,Ct.UH)(Cn,Fe.maxAge)}}Tt.homeAccountIdentifier=N.M.generateHomeAccountId(U.client_info||c.Mv.EMPTY_STRING,z.authorityType,Tt.logger,Tt.cryptoObj,Bt),Ae&&Ae.state&&(Jt=J.c.parseRequestState(Tt.cryptoObj,Ae.state)),U.key_id=U.key_id||Fe.sshKid||void 0;const mn=Tt.generateCacheRecord(U,z,ae,Fe,Bt,fe,Ae);let vn;try{if(Tt.persistencePlugin&&Tt.serializableCache&&(Tt.logger.verbose("Persistence enabled, calling beforeCacheAccess"),vn=new Qe(Tt.serializableCache,!0),yield Tt.persistencePlugin.beforeCacheAccess(vn)),De&&!rt&&mn.account){const Cn=mn.account.generateAccountKey();if(!Tt.cacheStorage.getAccount(Cn,Tt.logger))return Tt.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),yield Pt.generateAuthenticationResult(Tt.cryptoObj,z,mn,!1,Fe,Bt,Jt,void 0,_t)}yield Tt.cacheStorage.saveCacheRecord(mn,Fe.storeInCache)}finally{Tt.persistencePlugin&&Tt.serializableCache&&vn&&(Tt.logger.verbose("Persistence enabled, calling afterCacheAccess"),yield Tt.persistencePlugin.afterCacheAccess(vn))}return Pt.generateAuthenticationResult(Tt.cryptoObj,z,mn,!1,Fe,Bt,Jt,U,_t)})()}generateCacheRecord(U,z,ae,Fe,Ae,fe,De){const rt=z.getPreferredCache();if(!rt)throw(0,u.mQ)(A.invalidCacheEnvironment);const _t=(0,Xe.c)(Ae);let Tt,Bt;U.id_token&&Ae&&(Tt=(0,M.YF)(this.homeAccountIdentifier,rt,U.id_token,this.clientId,_t||""),Bt=tn(this.cacheStorage,z,this.homeAccountIdentifier,Ae,this.cryptoObj.base64Decode,U.client_info,rt,_t,De,void 0,this.logger));let Jt=null;if(U.access_token){const Cn=U.scope?ot.k.fromString(U.scope):new ot.k(Fe.scopes||[]),fn=("string"==typeof U.expires_in?parseInt(U.expires_in,10):U.expires_in)||0,Gt=("string"==typeof U.ext_expires_in?parseInt(U.ext_expires_in,10):U.ext_expires_in)||0,Nn=("string"==typeof U.refresh_in?parseInt(U.refresh_in,10):U.refresh_in)||void 0,lr=ae+fn,cr=lr+Gt,Nr=Nn&&Nn>0?ae+Nn:void 0;Jt=(0,M.MJ)(this.homeAccountIdentifier,rt,U.access_token,this.clientId,_t||z.tenant||"",Cn.printScopes(),lr,cr,this.cryptoObj.base64Decode,Nr,U.token_type,fe,U.key_id,Fe.claims,Fe.requestedClaimsHash)}let mn=null;if(U.refresh_token){let Cn;U.refresh_token_expires_in&&(Cn=ae+("string"==typeof U.refresh_token_expires_in?parseInt(U.refresh_token_expires_in,10):U.refresh_token_expires_in)),mn=(0,M._c)(this.homeAccountIdentifier,rt,U.refresh_token,this.clientId,U.foci,fe,Cn)}let vn=null;return U.foci&&(vn={clientId:this.clientId,environment:rt,familyId:U.foci}),new tt.O(Bt,Tt,Jt,mn,vn)}static generateAuthenticationResult(U,z,ae,Fe,Ae,fe,De,rt,_t){return(0,n.c)(function*(){let mn,vn,Tt=c.Mv.EMPTY_STRING,Bt=[],Jt=null,Cn=c.Mv.EMPTY_STRING;if(ae.accessToken){if(ae.accessToken.tokenType===c.me.POP){const lr=new mt.w(U),{secret:cr,keyId:Nr}=ae.accessToken;if(!Nr)throw(0,u.mQ)(A.keyIdMissing);Tt=yield lr.signPopToken(cr,Nr,Ae)}else Tt=ae.accessToken.secret;Bt=ot.k.fromString(ae.accessToken.target).asArray(),Jt=new Date(1e3*Number(ae.accessToken.expiresOn)),mn=new Date(1e3*Number(ae.accessToken.extendedExpiresOn)),ae.accessToken.refreshOn&&(vn=new Date(1e3*Number(ae.accessToken.refreshOn)))}ae.appMetadata&&(Cn=ae.appMetadata.familyId===c.wj?c.wj:"");const fn=fe?.oid||fe?.sub||"",Gt=fe?.tid||"";rt?.spa_accountid&&ae.account&&(ae.account.nativeAccountId=rt?.spa_accountid);const Nn=ae.account?(0,nt.Ho)(ae.account.getAccountInfo(),void 0,fe,ae.idToken?.secret):null;return{authority:z.canonicalAuthority,uniqueId:fn,tenantId:Gt,scopes:Bt,account:Nn,idToken:ae?.idToken?.secret||"",idTokenClaims:fe||{},accessToken:Tt,fromCache:Fe,expiresOn:Jt,extExpiresOn:mn,refreshOn:vn,correlationId:Ae.correlationId,requestId:_t||c.Mv.EMPTY_STRING,familyId:Cn,tokenType:ae.accessToken?.tokenType||c.Mv.EMPTY_STRING,state:De?De.userRequestState:c.Mv.EMPTY_STRING,cloudGraphHostName:ae.account?.cloudGraphHostName||c.Mv.EMPTY_STRING,msGraphHost:ae.account?.msGraphHost||c.Mv.EMPTY_STRING,code:rt?.spa_code,fromNativeBroker:!1}})()}}function tn(un,U,z,ae,Fe,Ae,fe,De,rt,_t,Tt){Tt?.verbose("setCachedAccount called");const Jt=un.getAccountKeys().find(fn=>fn.startsWith(z));let mn=null;Jt&&(mn=un.getAccount(Jt,Tt));const vn=mn||N.M.createAccount({homeAccountId:z,idTokenClaims:ae,clientInfo:Ae,environment:fe,cloudGraphHostName:rt?.cloud_graph_host_name,msGraphHost:rt?.msgraph_host,nativeAccountId:_t},U,Fe),Cn=vn.tenantProfiles||[];if(De&&!Cn.find(fn=>fn.tenantId===De)){const fn=(0,nt.EJ)(z,ae);Cn.push(fn)}return vn.tenantProfiles=Cn,vn}var hn=o(7828),wn=o(50160),An=o(77768);class _n extends Pe{constructor(U,z){super(U,z),this.includeRedirectUri=!0,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}getAuthCodeUrl(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.GetAuthCodeUrl,U.correlationId);const ae=yield(0,y.C)(z.createAuthCodeUrlQueryString.bind(z),f.Xv.AuthClientCreateQueryString,z.logger,z.performanceClient,U.correlationId)(U);return e._.appendQueryString(z.authority.authorizationEndpoint,ae)})()}acquireToken(U,z){var ae=this;return(0,n.c)(function*(){if(ae.performanceClient?.addQueueMeasurement(f.Xv.AuthClientAcquireToken,U.correlationId),!U.code)throw(0,u.mQ)(A.requestCannotBeMade);const Fe=(0,wn.GO)(),Ae=yield(0,y.C)(ae.executeTokenRequest.bind(ae),f.Xv.AuthClientExecuteTokenRequest,ae.logger,ae.performanceClient,U.correlationId)(ae.authority,U),fe=Ae.headers?.[c.MF.X_MS_REQUEST_ID],De=new Pt(ae.config.authOptions.clientId,ae.cacheManager,ae.cryptoUtils,ae.logger,ae.config.serializableCache,ae.config.persistencePlugin,ae.performanceClient);return De.validateTokenResponse(Ae.body),(0,y.C)(De.handleServerTokenResponse.bind(De),f.Xv.HandleServerTokenResponse,ae.logger,ae.performanceClient,U.correlationId)(Ae.body,ae.authority,Fe,U,z,void 0,void 0,void 0,fe)})()}handleFragmentResponse(U,z){if(new Pt(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null).validateServerAuthorizationCodeResponse(U,z),!U.code)throw(0,u.mQ)(A.authorizationCodeMissingFromServerResponse);return U}getLogoutUri(U){if(!U)throw(0,v.QN)(I.logoutRequestEmpty);const z=this.createLogoutUrlQueryString(U);return e._.appendQueryString(this.authority.endSessionEndpoint,z)}executeTokenRequest(U,z){var ae=this;return(0,n.c)(function*(){ae.performanceClient?.addQueueMeasurement(f.Xv.AuthClientExecuteTokenRequest,z.correlationId);const Fe=ae.createTokenQueryParameters(z),Ae=e._.appendQueryString(U.tokenEndpoint,Fe),fe=yield(0,y.C)(ae.createTokenRequestBody.bind(ae),f.Xv.AuthClientCreateTokenRequestBody,ae.logger,ae.performanceClient,z.correlationId)(z);let De;if(z.clientInfo)try{const Tt=(0,ye.G)(z.clientInfo,ae.cryptoUtils.base64Decode);De={credential:`${Tt.uid}${c.Mj.CLIENT_INFO_SEPARATOR}${Tt.utid}`,type:we.s.HOME_ACCOUNT_ID}}catch(Tt){ae.logger.verbose("Could not parse client info for CCS Header: "+Tt)}const rt=ae.createTokenRequestHeaders(De||z.ccsCredential),_t={clientId:z.tokenBodyParameters?.clientId||ae.config.authOptions.clientId,authority:U.canonicalAuthority,scopes:z.scopes,claims:z.claims,authenticationScheme:z.authenticationScheme,resourceRequestMethod:z.resourceRequestMethod,resourceRequestUri:z.resourceRequestUri,shrClaims:z.shrClaims,sshKid:z.sshKid};return(0,y.C)(ae.executePostToTokenEndpoint.bind(ae),f.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint,ae.logger,ae.performanceClient,z.correlationId)(Ae,fe,rt,_t,z.correlationId,f.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint)})()}createTokenRequestBody(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthClientCreateTokenRequestBody,U.correlationId);const ae=new Oe.I;if(ae.addClientId(U.tokenBodyParameters?.[Ze._k]||z.config.authOptions.clientId),z.includeRedirectUri?ae.addRedirectUri(U.redirectUri):An.e.validateRedirectUri(U.redirectUri),ae.addScopes(U.scopes,!0,z.oidcDefaultScopes),ae.addAuthorizationCode(U.code),ae.addLibraryInfo(z.config.libraryInfo),ae.addApplicationTelemetry(z.config.telemetry.application),ae.addThrottling(),z.serverTelemetryManager&&!(0,Y.qW)(z.config)&&ae.addServerTelemetry(z.serverTelemetryManager),U.codeVerifier&&ae.addCodeVerifier(U.codeVerifier),z.config.clientCredentials.clientSecret&&ae.addClientSecret(z.config.clientCredentials.clientSecret),z.config.clientCredentials.clientAssertion){const fe=z.config.clientCredentials.clientAssertion;ae.addClientAssertion(fe.assertion),ae.addClientAssertionType(fe.assertionType)}if(ae.addGrantType(c.Ku.AUTHORIZATION_CODE_GRANT),ae.addClientInfo(),U.authenticationScheme===c.me.POP){const fe=new mt.w(z.cryptoUtils,z.performanceClient),De=yield(0,y.C)(fe.generateCnf.bind(fe),f.Xv.PopTokenGenerateCnf,z.logger,z.performanceClient,U.correlationId)(U,z.logger);ae.addPopToken(De.reqCnfString)}else if(U.authenticationScheme===c.me.SSH){if(!U.sshJwk)throw(0,v.QN)(I.missingSshJwk);ae.addSshJwk(U.sshJwk)}const Fe=U.correlationId||z.config.cryptoInterface.createNewGuid();let Ae;if(ae.addCorrelationId(Fe),(!hn.e.isEmptyObj(U.claims)||z.config.authOptions.clientCapabilities&&z.config.authOptions.clientCapabilities.length>0)&&ae.addClaims(U.claims,z.config.authOptions.clientCapabilities),U.clientInfo)try{const fe=(0,ye.G)(U.clientInfo,z.cryptoUtils.base64Decode);Ae={credential:`${fe.uid}${c.Mj.CLIENT_INFO_SEPARATOR}${fe.utid}`,type:we.s.HOME_ACCOUNT_ID}}catch(fe){z.logger.verbose("Could not parse client info for CCS Header: "+fe)}else Ae=U.ccsCredential;if(z.config.systemOptions.preventCorsPreflight&&Ae)switch(Ae.type){case we.s.HOME_ACCOUNT_ID:try{const fe=(0,ye.k)(Ae.credential);ae.addCcsOid(fe)}catch(fe){z.logger.verbose("Could not parse home account ID for CCS Header: "+fe)}break;case we.s.UPN:ae.addCcsUpn(Ae.credential)}return U.tokenBodyParameters&&ae.addExtraQueryParameters(U.tokenBodyParameters),U.enableSpaAuthorizationCode&&(!U.tokenBodyParameters||!U.tokenBodyParameters[Ze.SS])&&ae.addExtraQueryParameters({[Ze.SS]:"1"}),ae.createQueryString()})()}createAuthCodeUrlQueryString(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthClientCreateQueryString,U.correlationId);const ae=new Oe.I;ae.addClientId(U.extraQueryParameters?.[Ze._k]||z.config.authOptions.clientId);const Fe=[...U.scopes||[],...U.extraScopesToConsent||[]];ae.addScopes(Fe,!0,z.oidcDefaultScopes),ae.addRedirectUri(U.redirectUri);const Ae=U.correlationId||z.config.cryptoInterface.createNewGuid();if(ae.addCorrelationId(Ae),ae.addResponseMode(U.responseMode),ae.addResponseTypeCode(),ae.addLibraryInfo(z.config.libraryInfo),(0,Y.qW)(z.config)||ae.addApplicationTelemetry(z.config.telemetry.application),ae.addClientInfo(),U.codeChallenge&&U.codeChallengeMethod&&ae.addCodeChallengeParams(U.codeChallenge,U.codeChallengeMethod),U.prompt&&ae.addPrompt(U.prompt),U.domainHint&&ae.addDomainHint(U.domainHint),U.prompt!==c.GI.SELECT_ACCOUNT)if(U.sid&&U.prompt===c.GI.NONE)z.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),ae.addSid(U.sid);else if(U.account){const fe=z.extractAccountSid(U.account),De=z.extractLoginHint(U.account);if(De){z.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),ae.addLoginHint(De);try{const rt=(0,ye.k)(U.account.homeAccountId);ae.addCcsOid(rt)}catch{z.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(fe&&U.prompt===c.GI.NONE){z.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),ae.addSid(fe);try{const rt=(0,ye.k)(U.account.homeAccountId);ae.addCcsOid(rt)}catch{z.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(U.loginHint)z.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),ae.addLoginHint(U.loginHint),ae.addCcsUpn(U.loginHint);else if(U.account.username){z.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),ae.addLoginHint(U.account.username);try{const rt=(0,ye.k)(U.account.homeAccountId);ae.addCcsOid(rt)}catch{z.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else U.loginHint&&(z.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),ae.addLoginHint(U.loginHint),ae.addCcsUpn(U.loginHint));else z.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");if(U.nonce&&ae.addNonce(U.nonce),U.state&&ae.addState(U.state),(U.claims||z.config.authOptions.clientCapabilities&&z.config.authOptions.clientCapabilities.length>0)&&ae.addClaims(U.claims,z.config.authOptions.clientCapabilities),U.extraQueryParameters&&ae.addExtraQueryParameters(U.extraQueryParameters),U.nativeBroker&&(ae.addNativeBroker(),U.authenticationScheme===c.me.POP)){const fe=new mt.w(z.cryptoUtils),De=yield(0,y.C)(fe.generateCnf.bind(fe),f.Xv.PopTokenGenerateCnf,z.logger,z.performanceClient,U.correlationId)(U,z.logger);ae.addPopToken(De.reqCnfHash)}return ae.createQueryString()})()}createLogoutUrlQueryString(U){const z=new Oe.I;return U.postLogoutRedirectUri&&z.addPostLogoutRedirectUri(U.postLogoutRedirectUri),U.correlationId&&z.addCorrelationId(U.correlationId),U.idTokenHint&&z.addIdTokenHint(U.idTokenHint),U.state&&z.addState(U.state),U.logoutHint&&z.addLogoutHint(U.logoutHint),U.extraQueryParameters&&z.addExtraQueryParameters(U.extraQueryParameters),z.createQueryString()}extractAccountSid(U){return U.idTokenClaims?.sid||null}extractLoginHint(U){return U.idTokenClaims?.login_hint||null}}class qt{constructor(U,z){this.cacheOutcome=c.Mf.NOT_APPLICABLE,this.cacheManager=z,this.apiId=U.apiId,this.correlationId=U.correlationId,this.wrapperSKU=U.wrapperSKU||c.Mv.EMPTY_STRING,this.wrapperVer=U.wrapperVer||c.Mv.EMPTY_STRING,this.telemetryCacheKey=c.ic.CACHE_KEY+c.Mj.CACHE_KEY_SEPARATOR+U.clientId}generateCurrentRequestHeaderValue(){const U=`${this.apiId}${c.ic.VALUE_SEPARATOR}${this.cacheOutcome}`,z=[this.wrapperSKU,this.wrapperVer].join(c.ic.VALUE_SEPARATOR),Fe=[U,this.getRegionDiscoveryFields()].join(c.ic.VALUE_SEPARATOR);return[c.ic.SCHEMA_VERSION,Fe,z].join(c.ic.CATEGORY_SEPARATOR)}generateLastRequestHeaderValue(){const U=this.getLastRequests(),z=qt.maxErrorsToSend(U),ae=U.failedRequests.slice(0,2*z).join(c.ic.VALUE_SEPARATOR),Fe=U.errors.slice(0,z).join(c.ic.VALUE_SEPARATOR),Ae=U.errors.length,De=[Ae,z=c.ic.MAX_CACHED_ERRORS&&(z.failedRequests.shift(),z.failedRequests.shift(),z.errors.shift()),z.failedRequests.push(this.apiId,this.correlationId),U instanceof Error&&U&&U.toString()?z.errors.push(U instanceof E.WM?U.subError?U.subError:U.errorCode?U.errorCode:U.toString():U.toString()):z.errors.push(c.ic.UNKNOWN_ERROR),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,z)}incrementCacheHits(){const U=this.getLastRequests();return U.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,U),U.cacheHits}getLastRequests(){return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||{failedRequests:[],errors:[],cacheHits:0}}clearTelemetryCache(){const U=this.getLastRequests(),z=qt.maxErrorsToSend(U);if(z===U.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{const Fe={failedRequests:U.failedRequests.slice(2*z),errors:U.errors.slice(z),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,Fe)}}static maxErrorsToSend(U){let z,ae=0,Fe=0;const Ae=U.errors.length;for(z=0;z0)&&Fe.addClaims(U.claims,z.config.authOptions.clientCapabilities),z.config.systemOptions.preventCorsPreflight&&U.ccsCredential)switch(U.ccsCredential.type){case we.s.HOME_ACCOUNT_ID:try{const Ae=(0,ye.k)(U.ccsCredential.credential);Fe.addCcsOid(Ae)}catch(Ae){z.logger.verbose("Could not parse home account ID for CCS Header: "+Ae)}break;case we.s.UPN:Fe.addCcsUpn(U.ccsCredential.credential)}return U.tokenBodyParameters&&Fe.addExtraQueryParameters(U.tokenBodyParameters),Fe.createQueryString()})()}}class Er extends Pe{constructor(U,z){super(U,z)}acquireToken(U){var z=this;return(0,n.c)(function*(){try{const[ae,Fe]=yield z.acquireCachedToken(U);return Fe===c.Mf.PROACTIVELY_REFRESHED&&(z.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'. It's not expired, but must be refreshed."),new sr(z.config,z.performanceClient).acquireTokenByRefreshToken(U).catch(()=>{})),ae}catch(ae){if(ae instanceof u.oJ&&ae.errorCode===A.tokenRefreshRequired)return new sr(z.config,z.performanceClient).acquireTokenByRefreshToken(U);throw ae}})()}acquireCachedToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.SilentFlowClientAcquireCachedToken,U.correlationId);let ae=c.Mf.NOT_APPLICABLE;if(U.forceRefresh||!z.config.cacheOptions.claimsBasedCachingEnabled&&!hn.e.isEmptyObj(U.claims))throw z.setCacheOutcome(c.Mf.FORCE_REFRESH_OR_CLAIMS,U.correlationId),(0,u.mQ)(A.tokenRefreshRequired);if(!U.account)throw(0,u.mQ)(A.noAccountInSilentRequest);const Fe=U.account.tenantId||function j(un){const ae=new e._(un).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(ae){case c.sN.COMMON:case c.sN.ORGANIZATIONS:case c.sN.CONSUMERS:return;default:return ae}}(U.authority),Ae=z.cacheManager.getTokenKeys(),fe=z.cacheManager.getAccessToken(U.account,U,Ae,Fe,z.performanceClient,U.correlationId);if(!fe)throw z.setCacheOutcome(c.Mf.NO_CACHED_ACCESS_TOKEN,U.correlationId),(0,u.mQ)(A.tokenRefreshRequired);if((0,wn.G4)(fe.cachedAt)||(0,wn.WY)(fe.expiresOn,z.config.systemOptions.tokenRenewalOffsetSeconds))throw z.setCacheOutcome(c.Mf.CACHED_ACCESS_TOKEN_EXPIRED,U.correlationId),(0,u.mQ)(A.tokenRefreshRequired);fe.refreshOn&&(0,wn.WY)(fe.refreshOn,0)&&(ae=c.Mf.PROACTIVELY_REFRESHED);const De=U.authority||z.authority.getPreferredCache(),rt={account:z.cacheManager.readAccountFromCache(U.account),accessToken:fe,idToken:z.cacheManager.getIdToken(U.account,Ae,Fe,z.performanceClient,U.correlationId),refreshToken:null,appMetadata:z.cacheManager.readAppMetadataFromCache(De)};return z.setCacheOutcome(ae,U.correlationId),z.config.serverTelemetryManager&&z.config.serverTelemetryManager.incrementCacheHits(),[yield(0,y.C)(z.generateResultFromCacheRecord.bind(z),f.Xv.SilentFlowClientGenerateResultFromCacheRecord,z.logger,z.performanceClient,U.correlationId)(rt,U),ae]})()}setCacheOutcome(U,z){this.serverTelemetryManager?.setCacheOutcome(U),this.performanceClient?.addFields({cacheOutcome:U},z),U!==c.Mf.NOT_APPLICABLE&&this.logger.info(`Token refresh is required due to cache outcome: ${U}`)}generateResultFromCacheRecord(U,z){var ae=this;return(0,n.c)(function*(){let Fe;if(ae.performanceClient?.addQueueMeasurement(f.Xv.SilentFlowClientGenerateResultFromCacheRecord,z.correlationId),U.idToken&&(Fe=(0,Ct.aw)(U.idToken.secret,ae.config.cryptoInterface.base64Decode)),z.maxAge||0===z.maxAge){const Ae=Fe?.auth_time;if(!Ae)throw(0,u.mQ)(A.authTimeNotFound);(0,Ct.UH)(Ae,z.maxAge)}return Pt.generateAuthenticationResult(ae.cryptoUtils,ae.authority,U,!0,z,Fe)})()}}class br extends zt{acquireToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.SilentCacheClientAcquireToken,U.correlationId);const ae=z.initializeServerTelemetryManager(G.Ed.acquireTokenSilent_silentFlow),Fe=yield z.createSilentFlowClient(ae,U.authority,U.azureCloudOptions,U.account);z.logger.verbose("Silent auth client created");try{const fe=(yield(0,y.C)(Fe.acquireCachedToken.bind(Fe),f.Xv.SilentFlowClientAcquireCachedToken,z.logger,z.performanceClient,U.correlationId)(U))[0];return z.performanceClient.addFields({fromCache:!0},U.correlationId),fe}catch(Ae){throw Ae instanceof Te.G&&Ae.errorCode===je.cryptoKeyNotFound&&z.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),Ae}})()}logout(U){this.logger.verbose("logoutRedirect called");const z=this.initializeLogoutRequest(U);return this.clearCacheOnLogout(z?.account)}createSilentFlowClient(U,z,ae,Fe){var Ae=this;return(0,n.c)(function*(){const fe=yield(0,y.C)(Ae.getClientConfiguration.bind(Ae),f.Xv.StandardInteractionClientGetClientConfiguration,Ae.logger,Ae.performanceClient,Ae.correlationId)(U,z,ae,Fe);return new Er(fe,Ae.performanceClient)})()}initializeSilentRequest(U,z){var ae=this;return(0,n.c)(function*(){ae.performanceClient.addQueueMeasurement(f.Xv.InitializeSilentRequest,ae.correlationId);const Fe=yield(0,y.C)(ae.initializeBaseRequest.bind(ae),f.Xv.InitializeBaseRequest,ae.logger,ae.performanceClient,ae.correlationId)(U);return{...U,...Fe,account:z,forceRefresh:U.forceRefresh||!1}})()}}var qn=o(55084);class oi extends Ee{constructor(U,z,ae,Fe,Ae,fe,De,rt,_t,Tt,Bt,Jt){super(U,z,ae,Fe,Ae,fe,rt,_t,Jt),this.apiId=De,this.accountId=Tt,this.nativeMessageHandler=_t,this.nativeStorageManager=Bt,this.silentCacheClient=new br(U,this.nativeStorageManager,ae,Fe,Ae,fe,rt,_t,Jt)}acquireToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.NativeInteractionClientAcquireToken,U.correlationId),z.logger.trace("NativeInteractionClient - acquireToken called.");const ae=z.performanceClient.startMeasurement(f.Xv.NativeInteractionClientAcquireToken,U.correlationId),Fe=wn.GO(),Ae=yield z.initializeNativeRequest(U);try{const _t=yield z.acquireTokensFromCache(z.accountId,Ae);return ae.end({success:!0,isNativeBroker:!1,fromCache:!0}),_t}catch{z.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call")}const fe={method:G.Ce.GetToken,request:Ae},De=yield z.nativeMessageHandler.sendMessage(fe),rt=z.validateNativeResponse(De);return z.handleNativeResponse(rt,Ae,Fe).then(_t=>(ae.end({success:!0,isNativeBroker:!0,requestId:_t.requestId}),_t)).catch(_t=>{throw ae.end({success:!1,errorCode:_t.errorCode,subErrorCode:_t.subError,isNativeBroker:!0}),_t})})()}createSilentCacheRequest(U,z){return{authority:U.authority,correlationId:this.correlationId,scopes:ot.k.fromString(U.scope).asArray(),account:z,forceRefresh:!1}}acquireTokensFromCache(U,z){var ae=this;return(0,n.c)(function*(){if(!U)throw ae.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"),(0,u.mQ)(A.noAccountFound);const Fe=ae.browserStorage.getBaseAccountInfo({nativeAccountId:U});if(!Fe)throw(0,u.mQ)(A.noAccountFound);try{const Ae=ae.createSilentCacheRequest(z,Fe),fe=yield ae.silentCacheClient.acquireToken(Ae),De={...Fe,idTokenClaims:fe?.idTokenClaims,idToken:fe?.idToken};return{...fe,account:De}}catch(Ae){throw Ae}})()}acquireTokenRedirect(U){var z=this;return(0,n.c)(function*(){z.logger.trace("NativeInteractionClient - acquireTokenRedirect called.");const ae=yield z.initializeNativeRequest(U),Fe={method:G.Ce.GetToken,request:ae};try{const De=yield z.nativeMessageHandler.sendMessage(Fe);z.validateNativeResponse(De)}catch(De){if(De instanceof rn&&nr(De))throw De}z.browserStorage.setTemporaryCache(G.zH.NATIVE_REQUEST,JSON.stringify(ae),!0);const Ae={apiId:G.Ed.acquireTokenRedirect,timeout:z.config.system.redirectNavigationTimeout,noHistory:!1},fe=z.config.auth.navigateToLoginRequestUrl?window.location.href:z.getRedirectUri(U.redirectUri);yield z.navigationClient.navigateExternal(fe,Ae)})()}handleRedirectPromise(U,z){var ae=this;return(0,n.c)(function*(){if(ae.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!ae.browserStorage.isInteractionInProgress(!0))return ae.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const Fe=ae.browserStorage.getCachedNativeRequest();if(!Fe)return ae.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),U&&z&&U?.addFields({errorCode:"no_cached_request"},z),null;const{prompt:Ae,...fe}=Fe;Ae&&ae.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."),ae.browserStorage.removeItem(ae.browserStorage.generateCacheKey(G.zH.NATIVE_REQUEST));const De={method:G.Ce.GetToken,request:fe},rt=wn.GO();try{ae.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker.");const _t=yield ae.nativeMessageHandler.sendMessage(De);ae.validateNativeResponse(_t);const Tt=ae.handleNativeResponse(_t,fe,rt);return ae.browserStorage.setInteractionInProgress(!1),yield Tt}catch(_t){throw ae.browserStorage.setInteractionInProgress(!1),_t}})()}logout(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")}handleNativeResponse(U,z,ae){var Fe=this;return(0,n.c)(function*(){Fe.logger.trace("NativeInteractionClient - handleNativeResponse called.");const Ae=Ct.aw(U.id_token,qn.W),fe=Fe.createHomeAccountIdentifier(U,Ae),De=Fe.browserStorage.getAccountInfoFilteredBy({nativeAccountId:z.accountId})?.homeAccountId;if(fe!==De&&U.account.id!==z.accountId)throw kr(Yt);const rt=yield Fe.getDiscoveredAuthority(z.authority),_t=tn(Fe.browserStorage,rt,fe,Ae,qn.W,U.client_info,void 0,Ae.tid,void 0,U.account.id,Fe.logger),Tt=yield Fe.generateAuthenticationResult(U,z,Ae,_t,rt.canonicalAuthority,ae);return Fe.cacheAccount(_t),Fe.cacheNativeTokens(U,z,fe,Ae,Tt.accessToken,Tt.tenantId,ae),Tt})()}createHomeAccountIdentifier(U,z){return N.M.generateHomeAccountId(U.client_info||c.Mv.EMPTY_STRING,a.O.Default,this.logger,this.browserCrypto,z)}generateScopes(U,z){return ot.k.fromString(U.scope?U.scope:z.scope)}generatePopAccessToken(U,z){var ae=this;return(0,n.c)(function*(){if(z.tokenType===c.me.POP){if(U.shr)return ae.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),U.shr;const Fe=new mt.w(ae.browserCrypto),Ae={resourceRequestMethod:z.resourceRequestMethod,resourceRequestUri:z.resourceRequestUri,shrClaims:z.shrClaims,shrNonce:z.shrNonce};if(!z.keyId)throw(0,u.mQ)(A.keyIdMissing);return Fe.signPopToken(U.access_token,z.keyId,Ae)}return U.access_token})()}generateAuthenticationResult(U,z,ae,Fe,Ae,fe){var De=this;return(0,n.c)(function*(){const rt=De.addTelemetryFromNativeResponse(U),_t=ot.k.fromString(U.scope?U.scope:z.scope),Tt=U.account.properties||{},Bt=Tt.UID||ae.oid||ae.sub||c.Mv.EMPTY_STRING,Jt=Tt.TenantId||ae.tid||c.Mv.EMPTY_STRING,mn=(0,nt.Ho)(Fe.getAccountInfo(),void 0,ae,U.id_token);mn.nativeAccountId!==U.account.id&&(mn.nativeAccountId=U.account.id);const vn=yield De.generatePopAccessToken(U,z),Cn=z.tokenType===c.me.POP?c.me.POP:c.me.BEARER;return{authority:Ae,uniqueId:Bt,tenantId:Jt,scopes:_t.asArray(),account:mn,idToken:U.id_token,idTokenClaims:ae,accessToken:vn,fromCache:!!rt&&De.isResponseFromCache(rt),expiresOn:new Date(1e3*Number(fe+U.expires_in)),tokenType:Cn,correlationId:De.correlationId,state:U.state,fromNativeBroker:!0}})()}cacheAccount(U){this.browserStorage.setAccount(U),this.browserStorage.removeAccountContext(U).catch(z=>{this.logger.error(`Error occurred while removing account context from browser storage. ${z}`)})}cacheNativeTokens(U,z,ae,Fe,Ae,fe,De){const rt=M.YF(ae,z.authority,U.id_token||"",z.clientId,Fe.tid||""),Tt=De+(z.tokenType===c.me.POP?c.Mv.SHR_NONCE_VALIDITY:("string"==typeof U.expires_in?parseInt(U.expires_in,10):U.expires_in)||0),Bt=this.generateScopes(U,z),Jt=M.MJ(ae,z.authority,Ae,z.clientId,Fe.tid||fe,Bt.printScopes(),Tt,0,qn.W),mn=new tt.O(void 0,rt,Jt);this.nativeStorageManager.saveCacheRecord(mn,z.storeInCache)}addTelemetryFromNativeResponse(U){const z=this.getMATSFromResponse(U);return z?(this.performanceClient.addFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:z.broker_version,matsAccountJoinOnStart:z.account_join_on_start,matsAccountJoinOnEnd:z.account_join_on_end,matsDeviceJoin:z.device_join,matsPromptBehavior:z.prompt_behavior,matsApiErrorCode:z.api_error_code,matsUiVisible:z.ui_visible,matsSilentCode:z.silent_code,matsSilentBiSubCode:z.silent_bi_sub_code,matsSilentMessage:z.silent_message,matsSilentStatus:z.silent_status,matsHttpStatus:z.http_status,matsHttpEventCount:z.http_event_count},this.correlationId),z):null}validateNativeResponse(U){if(U.hasOwnProperty("access_token")&&U.hasOwnProperty("id_token")&&U.hasOwnProperty("client_info")&&U.hasOwnProperty("account")&&U.hasOwnProperty("scope")&&U.hasOwnProperty("expires_in"))return U;throw(0,E.Ub)(pt.unexpectedError,"Response missing expected properties.")}getMATSFromResponse(U){if(U.properties.MATS)try{return JSON.parse(U.properties.MATS)}catch{this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null}isResponseFromCache(U){return typeof U.is_cached>"u"?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!U.is_cached}initializeNativeRequest(U){var z=this;return(0,n.c)(function*(){z.logger.trace("NativeInteractionClient - initializeNativeRequest called");const ae=U.authority||z.config.auth.authority;U.account&&(yield z.getDiscoveredAuthority(ae,U.azureCloudOptions,U.account));const Fe=new e._(ae);Fe.validateAsUri();const{scopes:Ae,...fe}=U,De=new ot.k(Ae||[]);De.appendScopes(c.ac);const _t={...fe,accountId:z.accountId,clientId:z.config.auth.clientId,authority:Fe.urlString,scope:De.printScopes(),redirectUri:z.getRedirectUri(U.redirectUri),prompt:(()=>{switch(z.apiId){case G.Ed.ssoSilent:case G.Ed.acquireTokenSilent_silentFlow:return z.logger.trace("initializeNativeRequest: silent request sets prompt to none"),c.GI.NONE}if(U.prompt)switch(U.prompt){case c.GI.NONE:case c.GI.CONSENT:case c.GI.LOGIN:return z.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),U.prompt;default:throw z.logger.trace(`initializeNativeRequest: prompt = ${U.prompt} is not compatible with native flow`),(0,Te.Wq)(je.nativePromptNotSupported)}else z.logger.trace("initializeNativeRequest: prompt was not provided")})(),correlationId:z.correlationId,tokenType:U.authenticationScheme,windowTitleSubstring:document.title,extraParameters:{...U.extraQueryParameters,...U.tokenQueryParameters},extendedExpiryToken:!1};if(z.handleExtraBrokerParams(_t),_t.extraParameters=_t.extraParameters||{},_t.extraParameters.telemetry=G.sJ.MATS_TELEMETRY,U.authenticationScheme===c.me.POP){const Tt={resourceRequestUri:U.resourceRequestUri,resourceRequestMethod:U.resourceRequestMethod,shrClaims:U.shrClaims,shrNonce:U.shrNonce},Bt=new mt.w(z.browserCrypto),Jt=yield(0,y.C)(Bt.generateCnf.bind(Bt),f.Xv.PopTokenGenerateCnf,z.logger,z.performanceClient,z.correlationId)(Tt,z.logger);_t.reqCnf=Jt.reqCnfHash,_t.keyId=Jt.kid}return _t})()}handleExtraBrokerParams(U){if(U.extraParameters&&U.extraParameters.hasOwnProperty("brk_client_id")&&U.extraParameters.hasOwnProperty("brk_redirect_uri")&&U.extraParameters.hasOwnProperty(Ze._k)){const Fe=U.extraParameters.brk_redirect_uri;U.extraParameters={child_client_id:U.extraParameters[Ze._k],child_redirect_uri:U.redirectUri},U.redirectUri=Fe}}}class Sr{constructor(U,z,ae,Fe){this.logger=U,this.handshakeTimeoutMs=z,this.extensionId=Fe,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=ae,this.handshakeEvent=ae.startMeasurement(f.Xv.NativeMessageHandlerHandshake)}sendMessage(U){var z=this;return(0,n.c)(function*(){z.logger.trace("NativeMessageHandler - sendMessage called.");const ae={channel:G.sJ.CHANNEL_ID,extensionId:z.extensionId,responseId:(0,Ue.E5)(),body:U};return z.logger.trace("NativeMessageHandler - Sending request to browser extension"),z.logger.tracePii(`NativeMessageHandler - Sending request to browser extension: ${JSON.stringify(ae)}`),z.messageChannel.port1.postMessage(ae),new Promise((Fe,Ae)=>{z.resolvers.set(ae.responseId,{resolve:Fe,reject:Ae})})})()}static createProvider(U,z,ae){return(0,n.c)(function*(){U.trace("NativeMessageHandler - createProvider called.");try{const Fe=new Sr(U,z,ae,G.sJ.PREFERRED_EXTENSION_ID);return yield Fe.sendHandshakeRequest(),Fe}catch{const Ae=new Sr(U,z,ae);return yield Ae.sendHandshakeRequest(),Ae}})()}sendHandshakeRequest(){var U=this;return(0,n.c)(function*(){U.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",U.windowListener,!1);const z={channel:G.sJ.CHANNEL_ID,extensionId:U.extensionId,responseId:(0,Ue.E5)(),body:{method:G.Ce.HandshakeRequest}};return U.handshakeEvent.add({extensionId:U.extensionId,extensionHandshakeTimeoutMs:U.handshakeTimeoutMs}),U.messageChannel.port1.onmessage=ae=>{U.onChannelMessage(ae)},window.postMessage(z,window.origin,[U.messageChannel.port2]),new Promise((ae,Fe)=>{U.handshakeResolvers.set(z.responseId,{resolve:ae,reject:Fe}),U.timeoutId=window.setTimeout(()=>{window.removeEventListener("message",U.windowListener,!1),U.messageChannel.port1.close(),U.messageChannel.port2.close(),U.handshakeEvent.end({extensionHandshakeTimedOut:!0,success:!1}),Fe((0,Te.Wq)(je.nativeHandshakeTimeout)),U.handshakeResolvers.delete(z.responseId)},U.handshakeTimeoutMs)})})()}onWindowMessage(U){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),U.source!==window)return;const z=U.data;if(z.channel&&z.channel===G.sJ.CHANNEL_ID&&(!z.extensionId||z.extensionId===this.extensionId)&&z.body.method===G.Ce.HandshakeRequest){const ae=this.handshakeResolvers.get(z.responseId);if(!ae)return void this.logger.trace(`NativeMessageHandler.onWindowMessage - resolver can't be found for request ${z.responseId}`);this.logger.verbose(z.extensionId?`Extension with id: ${z.extensionId} not installed`:"No extension installed"),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1),this.handshakeEvent.end({success:!1,extensionInstalled:!1}),ae.reject((0,Te.Wq)(je.nativeExtensionNotInstalled))}}onChannelMessage(U){this.logger.trace("NativeMessageHandler - onChannelMessage called.");const z=U.data,ae=this.resolvers.get(z.responseId),Fe=this.handshakeResolvers.get(z.responseId);try{const Ae=z.body.method;if(Ae===G.Ce.Response){if(!ae)return;const fe=z.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii(`NativeMessageHandler - Received response from browser extension: ${JSON.stringify(fe)}`),"Success"!==fe.status)ae.reject(kr(fe.code,fe.description,fe.ext));else{if(!fe.result)throw(0,E.Ub)(pt.unexpectedError,"Event does not contain result.");fe.result.code&&fe.result.description?ae.reject(kr(fe.result.code,fe.result.description,fe.result.ext)):ae.resolve(fe.result)}this.resolvers.delete(z.responseId)}else if(Ae===G.Ce.HandshakeResponse){if(!Fe)return void this.logger.trace(`NativeMessageHandler.onChannelMessage - resolver can't be found for request ${z.responseId}`);clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=z.extensionId,this.extensionVersion=z.body.version,this.logger.verbose(`NativeMessageHandler - Received HandshakeResponse from extension: ${this.extensionId}`),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),Fe.resolve(),this.handshakeResolvers.delete(z.responseId)}}catch(Ae){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii(`Error parsing response from WAM Extension: ${Ae}`),this.logger.errorPii(`Unable to parse ${U}`),ae?ae.reject(Ae):Fe&&Fe.reject(Ae)}}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}static isNativeAvailable(U,z,ae,Fe){if(z.trace("isNativeAvailable called"),!U.system.allowNativeBroker)return z.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!ae)return z.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(Fe)switch(Fe){case c.me.BEARER:case c.me.POP:return z.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return z.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0}}class pr{constructor(U,z,ae,Fe,Ae){this.authModule=U,this.browserStorage=z,this.authCodeRequest=ae,this.logger=Fe,this.performanceClient=Ae}handleCodeResponse(U,z){var ae=this;return(0,n.c)(function*(){let Fe;ae.performanceClient.addQueueMeasurement(f.Xv.HandleCodeResponse,z.correlationId);try{Fe=ae.authModule.handleFragmentResponse(U,z.state)}catch(Ae){throw Ae instanceof Z.s&&Ae.subError===je.userCancelled?(0,Te.Wq)(je.userCancelled):Ae}return(0,y.C)(ae.handleCodeResponseFromServer.bind(ae),f.Xv.HandleCodeResponseFromServer,ae.logger,ae.performanceClient,z.correlationId)(Fe,z)})()}handleCodeResponseFromServer(U,z,ae=!0){var Fe=this;return(0,n.c)(function*(){if(Fe.performanceClient.addQueueMeasurement(f.Xv.HandleCodeResponseFromServer,z.correlationId),Fe.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),Fe.authCodeRequest.code=U.code,U.cloud_instance_host_name&&(yield(0,y.C)(Fe.authModule.updateAuthority.bind(Fe.authModule),f.Xv.UpdateTokenEndpointAuthority,Fe.logger,Fe.performanceClient,z.correlationId)(U.cloud_instance_host_name,z.correlationId)),ae&&(U.nonce=z.nonce||void 0),U.state=z.state,U.client_info)Fe.authCodeRequest.clientInfo=U.client_info;else{const fe=Fe.createCcsCredentials(z);fe&&(Fe.authCodeRequest.ccsCredential=fe)}return yield(0,y.C)(Fe.authModule.acquireToken.bind(Fe.authModule),f.Xv.AuthClientAcquireToken,Fe.logger,Fe.performanceClient,z.correlationId)(Fe.authCodeRequest,U)})()}createCcsCredentials(U){return U.account?{credential:U.account.homeAccountId,type:we.s.HOME_ACCOUNT_ID}:U.loginHint?{credential:U.loginHint,type:we.s.UPN}:null}}var Jn=o(33680),er=o(99632);function Or(un,U,z){const ae=Jn.u(un);if(!ae)throw Jn.w(un)?(z.error(`A ${U} is present in the iframe but it does not contain known properties. It's likely that the ${U} has been replaced by code running on the redirectUri page.`),z.errorPii(`The ${U} detected is: ${un}`),(0,Te.Wq)(je.hashDoesNotContainKnownProperties)):(z.error(`The request has returned to the redirectUri but a ${U} is not present. It's likely that the ${U} has been removed or the page has been redirected by code running on the redirectUri page.`),(0,Te.Wq)(je.hashEmptyError));return ae}class en extends zt{constructor(U,z,ae,Fe,Ae,fe,De,rt,_t,Tt){super(U,z,ae,Fe,Ae,fe,De,_t,Tt),this.unloadWindow=this.unloadWindow.bind(this),this.nativeStorage=rt}acquireToken(U){try{const z=this.generatePopupName(U.scopes||c.ac,U.authority||this.config.auth.authority),ae=U.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(U,z,ae);{this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");const Fe=this.openSizedPopup("about:blank",z,ae);return this.acquireTokenPopupAsync(U,z,ae,Fe)}}catch(z){return Promise.reject(z)}}logout(U){try{this.logger.verbose("logoutPopup called");const z=this.initializeLogoutRequest(U),ae=this.generateLogoutPopupName(z),Fe=U&&U.authority,Ae=U&&U.mainWindowRedirectUri,fe=U?.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(z,ae,fe,Fe,void 0,Ae);{this.logger.verbose("asyncPopup set to false, opening popup");const De=this.openSizedPopup("about:blank",ae,fe);return this.logoutPopupAsync(z,ae,fe,Fe,De,Ae)}}catch(z){return Promise.reject(z)}}acquireTokenPopupAsync(U,z,ae,Fe){var Ae=this;return(0,n.c)(function*(){Ae.logger.verbose("acquireTokenPopupAsync called");const fe=Ae.initializeServerTelemetryManager(G.Ed.acquireTokenPopup),De=yield(0,y.C)(Ae.initializeAuthorizationRequest.bind(Ae),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,Ae.logger,Ae.performanceClient,Ae.correlationId)(U,G.wV.Popup);(0,te.preconnect)(De.authority);try{const rt=yield(0,y.C)(Ae.initializeAuthorizationCodeRequest.bind(Ae),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,Ae.logger,Ae.performanceClient,Ae.correlationId)(De),_t=yield(0,y.C)(Ae.createAuthCodeClient.bind(Ae),f.Xv.StandardInteractionClientCreateAuthCodeClient,Ae.logger,Ae.performanceClient,Ae.correlationId)(fe,De.authority,De.azureCloudOptions,De.account),Tt=Sr.isNativeAvailable(Ae.config,Ae.logger,Ae.nativeMessageHandler,U.authenticationScheme);let Bt;Tt&&(Bt=Ae.performanceClient.startMeasurement(f.Xv.FetchAccountIdWithNativeBroker,U.correlationId));const Jt=yield _t.getAuthCodeUrl({...De,nativeBroker:Tt}),mn=new pr(_t,Ae.browserStorage,rt,Ae.logger,Ae.performanceClient),Cn=Ae.initiateAuthRequest(Jt,{popup:Fe,popupName:z,popupWindowAttributes:ae});Ae.eventHandler.emitEvent(ue.W.POPUP_OPENED,G.wV.Popup,{popupWindow:Cn},null);const fn=yield Ae.monitorPopupForHash(Cn),Gt=(0,y.q)(Or,f.Xv.DeserializeResponse,Ae.logger,Ae.performanceClient,Ae.correlationId)(fn,Ae.config.auth.OIDCOptions.serverResponseType,Ae.logger);if(re.removeThrottle(Ae.browserStorage,Ae.config.auth.clientId,rt),Gt.accountId){if(Ae.logger.verbose("Account id found in hash, calling WAM for token"),Bt&&Bt.end({success:!0,isNativeBroker:!0}),!Ae.nativeMessageHandler)throw(0,Te.Wq)(je.nativeConnectionNotEstablished);const lr=new oi(Ae.config,Ae.browserStorage,Ae.browserCrypto,Ae.logger,Ae.eventHandler,Ae.navigationClient,G.Ed.acquireTokenPopup,Ae.performanceClient,Ae.nativeMessageHandler,Gt.accountId,Ae.nativeStorage,De.correlationId),{userRequestState:cr}=J.c.parseRequestState(Ae.browserCrypto,De.state);return yield lr.acquireToken({...De,state:cr,prompt:void 0})}return yield mn.handleCodeResponse(Gt,De)}catch(rt){throw Fe&&Fe.close(),rt instanceof E.WM&&(rt.setCorrelationId(Ae.correlationId),fe.cacheFailedRequest(rt)),rt}})()}logoutPopupAsync(U,z,ae,Fe,Ae,fe){var De=this;return(0,n.c)(function*(){De.logger.verbose("logoutPopupAsync called"),De.eventHandler.emitEvent(ue.W.LOGOUT_START,G.wV.Popup,U);const rt=De.initializeServerTelemetryManager(G.Ed.logoutPopup);try{yield De.clearCacheOnLogout(U.account);const Tt=(yield(0,y.C)(De.createAuthCodeClient.bind(De),f.Xv.StandardInteractionClientCreateAuthCodeClient,De.logger,De.performanceClient,De.correlationId)(rt,Fe,void 0,U.account||void 0)).getLogoutUri(U);De.eventHandler.emitEvent(ue.W.LOGOUT_SUCCESS,G.wV.Popup,U);const Bt=De.openPopup(Tt,{popupName:z,popupWindowAttributes:ae,popup:Ae});if(De.eventHandler.emitEvent(ue.W.POPUP_OPENED,G.wV.Popup,{popupWindow:Bt},null),yield De.monitorPopupForHash(Bt).catch(()=>{}),fe){const Jt={apiId:G.Ed.logoutPopup,timeout:De.config.system.redirectNavigationTimeout,noHistory:!1},mn=e._.getAbsoluteUrl(fe,(0,te.getCurrentUri)());De.logger.verbose("Redirecting main window to url specified in the request"),De.logger.verbosePii(`Redirecting main window to: ${mn}`),yield De.navigationClient.navigateInternal(mn,Jt)}else De.logger.verbose("No main window navigation requested")}catch(_t){throw Ae&&Ae.close(),_t instanceof E.WM&&(_t.setCorrelationId(De.correlationId),rt.cacheFailedRequest(_t)),De.browserStorage.setInteractionInProgress(!1),De.eventHandler.emitEvent(ue.W.LOGOUT_FAILURE,G.wV.Popup,null,_t),De.eventHandler.emitEvent(ue.W.LOGOUT_END,G.wV.Popup),_t}De.eventHandler.emitEvent(ue.W.LOGOUT_END,G.wV.Popup)})()}initiateAuthRequest(U,z){if(U)return this.logger.infoPii(`Navigate to: ${U}`),this.openPopup(U,z);throw this.logger.error("Navigate url is empty"),(0,Te.Wq)(je.emptyNavigateUri)}monitorPopupForHash(U){return new Promise((z,ae)=>{this.logger.verbose("PopupHandler.monitorPopupForHash - polling started");const Fe=setInterval(()=>{if(U.closed)return this.logger.error("PopupHandler.monitorPopupForHash - window closed"),clearInterval(Fe),void ae((0,Te.Wq)(je.userCancelled));let Ae="";try{Ae=U.location.href}catch{}if(!Ae||"about:blank"===Ae)return;clearInterval(Fe);let fe="";U&&(fe=this.config.auth.OIDCOptions.serverResponseType===c.eE.QUERY?U.location.search:U.location.hash),this.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),z(fe)},this.config.system.pollIntervalMilliseconds)}).finally(()=>{this.cleanPopup(U)})}openPopup(U,z){try{let ae;if(z.popup?(ae=z.popup,this.logger.verbosePii(`Navigating popup window to: ${U}`),ae.location.assign(U)):typeof z.popup>"u"&&(this.logger.verbosePii(`Opening popup window to: ${U}`),ae=this.openSizedPopup(U,z.popupName,z.popupWindowAttributes)),!ae)throw(0,Te.Wq)(je.emptyWindowError);return ae.focus&&ae.focus(),this.currentWindow=ae,window.addEventListener("beforeunload",this.unloadWindow),ae}catch(ae){throw this.logger.error("error opening popup "+ae.message),this.browserStorage.setInteractionInProgress(!1),(0,Te.Wq)(je.popupWindowError)}}openSizedPopup(U,z,ae){const Fe=window.screenLeft?window.screenLeft:window.screenX,Ae=window.screenTop?window.screenTop:window.screenY,fe=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,De=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;let rt=ae.popupSize?.width,_t=ae.popupSize?.height,Tt=ae.popupPosition?.top,Bt=ae.popupPosition?.left;return(!rt||rt<0||rt>fe)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),rt=G.ig.POPUP_WIDTH),(!_t||_t<0||_t>De)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),_t=G.ig.POPUP_HEIGHT),(!Tt||Tt<0||Tt>De)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),Tt=Math.max(0,De/2-G.ig.POPUP_HEIGHT/2+Ae)),(!Bt||Bt<0||Bt>fe)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),Bt=Math.max(0,fe/2-G.ig.POPUP_WIDTH/2+Fe)),window.open(U,z,`width=${rt}, height=${_t}, top=${Tt}, left=${Bt}, scrollbars=yes`)}unloadWindow(U){this.browserStorage.cleanRequestByInteractionType(G.wV.Popup),this.currentWindow&&this.currentWindow.close(),U.preventDefault()}cleanPopup(U){U&&U.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)}generatePopupName(U,z){return`${G.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${U.join("-")}.${z}.${this.correlationId}`}generateLogoutPopupName(U){return`${G.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${U.account&&U.account.homeAccountId}.${this.correlationId}`}}class jn{constructor(U,z,ae,Fe,Ae){this.authModule=U,this.browserStorage=z,this.authCodeRequest=ae,this.logger=Fe,this.performanceClient=Ae}initiateAuthRequest(U,z){var ae=this;return(0,n.c)(function*(){if(ae.logger.verbose("RedirectHandler.initiateAuthRequest called"),U){z.redirectStartPage&&(ae.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),ae.browserStorage.setTemporaryCache(G.zH.ORIGIN_URI,z.redirectStartPage,!0)),ae.browserStorage.setTemporaryCache(G.zH.CORRELATION_ID,ae.authCodeRequest.correlationId,!0),ae.browserStorage.cacheCodeRequest(ae.authCodeRequest),ae.logger.infoPii(`RedirectHandler.initiateAuthRequest: Navigate to: ${U}`);const Fe={apiId:G.Ed.acquireTokenRedirect,timeout:z.redirectTimeout,noHistory:!1};return"function"==typeof z.onRedirectNavigate?(ae.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1!==z.onRedirectNavigate(U)?(ae.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),void(yield z.navigationClient.navigateExternal(U,Fe))):void ae.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation")):(ae.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),void(yield z.navigationClient.navigateExternal(U,Fe)))}throw ae.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),(0,Te.Wq)(je.emptyNavigateUri)})()}handleCodeResponse(U,z){var ae=this;return(0,n.c)(function*(){ae.logger.verbose("RedirectHandler.handleCodeResponse called"),ae.browserStorage.setInteractionInProgress(!1);const Fe=ae.browserStorage.generateStateKey(z),Ae=ae.browserStorage.getTemporaryCache(Fe);if(!Ae)throw(0,u.mQ)(A.stateNotFound,"Cached State");let fe;try{fe=ae.authModule.handleFragmentResponse(U,Ae)}catch(Tt){throw Tt instanceof Z.s&&Tt.subError===je.userCancelled?(0,Te.Wq)(je.userCancelled):Tt}const De=ae.browserStorage.generateNonceKey(Ae),rt=ae.browserStorage.getTemporaryCache(De);if(ae.authCodeRequest.code=fe.code,fe.cloud_instance_host_name&&(yield(0,y.C)(ae.authModule.updateAuthority.bind(ae.authModule),f.Xv.UpdateTokenEndpointAuthority,ae.logger,ae.performanceClient,ae.authCodeRequest.correlationId)(fe.cloud_instance_host_name,ae.authCodeRequest.correlationId)),fe.nonce=rt||void 0,fe.state=Ae,fe.client_info)ae.authCodeRequest.clientInfo=fe.client_info;else{const Tt=ae.checkCcsCredentials();Tt&&(ae.authCodeRequest.ccsCredential=Tt)}const _t=yield ae.authModule.acquireToken(ae.authCodeRequest,fe);return ae.browserStorage.cleanRequestByState(z),_t})()}checkCcsCredentials(){const U=this.browserStorage.getTemporaryCache(G.zH.CCS_CREDENTIAL,!0);if(U)try{return JSON.parse(U)}catch{this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii(`Cache credential could not be parsed: ${U}`)}return null}}class Qn extends zt{constructor(U,z,ae,Fe,Ae,fe,De,rt,_t,Tt){super(U,z,ae,Fe,Ae,fe,De,_t,Tt),this.nativeStorage=rt}acquireToken(U){var z=this;return(0,n.c)(function*(){const ae=yield(0,y.C)(z.initializeAuthorizationRequest.bind(z),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,z.logger,z.performanceClient,z.correlationId)(U,G.wV.Redirect);z.browserStorage.updateCacheEntries(ae.state,ae.nonce,ae.authority,ae.loginHint||"",ae.account||null);const Fe=z.initializeServerTelemetryManager(G.Ed.acquireTokenRedirect),Ae=fe=>{fe.persisted&&(z.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),z.browserStorage.cleanRequestByState(ae.state),z.eventHandler.emitEvent(ue.W.RESTORE_FROM_BFCACHE,G.wV.Redirect))};try{const fe=yield(0,y.C)(z.initializeAuthorizationCodeRequest.bind(z),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,z.logger,z.performanceClient,z.correlationId)(ae),De=yield(0,y.C)(z.createAuthCodeClient.bind(z),f.Xv.StandardInteractionClientCreateAuthCodeClient,z.logger,z.performanceClient,z.correlationId)(Fe,ae.authority,ae.azureCloudOptions,ae.account),rt=new jn(De,z.browserStorage,fe,z.logger,z.performanceClient),_t=yield De.getAuthCodeUrl({...ae,nativeBroker:Sr.isNativeAvailable(z.config,z.logger,z.nativeMessageHandler,U.authenticationScheme)}),Tt=z.getRedirectStartPage(U.redirectStartPage);return z.logger.verbosePii(`Redirect start page: ${Tt}`),window.addEventListener("pageshow",Ae),yield rt.initiateAuthRequest(_t,{navigationClient:z.navigationClient,redirectTimeout:z.config.system.redirectNavigationTimeout,redirectStartPage:Tt,onRedirectNavigate:U.onRedirectNavigate})}catch(fe){throw fe instanceof E.WM&&(fe.setCorrelationId(z.correlationId),Fe.cacheFailedRequest(fe)),window.removeEventListener("pageshow",Ae),z.browserStorage.cleanRequestByState(ae.state),fe}})()}handleRedirectPromise(U,z,ae){var Fe=this;return(0,n.c)(function*(){const Ae=Fe.initializeServerTelemetryManager(G.Ed.handleRedirectPromise);try{if(!Fe.browserStorage.isInteractionInProgress(!0))return Fe.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const[fe,De]=Fe.getRedirectResponse(U||"");if(!fe)return Fe.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."),Fe.browserStorage.cleanRequestByInteractionType(G.wV.Redirect),z&&ae&&z?.addFields({errorCode:"no_server_response"},ae),null;const rt=Fe.browserStorage.getTemporaryCache(G.zH.ORIGIN_URI,!0)||c.Mv.EMPTY_STRING;if(e._.removeHashFromUrl(rt)===e._.removeHashFromUrl(window.location.href)&&Fe.config.auth.navigateToLoginRequestUrl)return Fe.logger.verbose("Current page is loginRequestUrl, handling response"),rt.indexOf("#")>-1&&(0,te.replaceHash)(rt),yield Fe.handleResponse(fe,Ae);if(!Fe.config.auth.navigateToLoginRequestUrl)return Fe.logger.verbose("NavigateToLoginRequestUrl set to false, handling response"),yield Fe.handleResponse(fe,Ae);if(!(0,te.isInIframe)()||Fe.config.system.allowRedirectInIframe){Fe.browserStorage.setTemporaryCache(G.zH.URL_HASH,De,!0);const Bt={apiId:G.Ed.handleRedirectPromise,timeout:Fe.config.system.redirectNavigationTimeout,noHistory:!0};let Jt=!0;if(rt&&"null"!==rt)Fe.logger.verbose(`Navigating to loginRequestUrl: ${rt}`),Jt=yield Fe.navigationClient.navigateInternal(rt,Bt);else{const mn=(0,te.getHomepage)();Fe.browserStorage.setTemporaryCache(G.zH.ORIGIN_URI,mn,!0),Fe.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),Jt=yield Fe.navigationClient.navigateInternal(mn,Bt)}if(!Jt)return yield Fe.handleResponse(fe,Ae)}return null}catch(fe){throw fe instanceof E.WM&&(fe.setCorrelationId(Fe.correlationId),Ae.cacheFailedRequest(fe)),Fe.browserStorage.cleanRequestByInteractionType(G.wV.Redirect),fe}})()}getRedirectResponse(U){this.logger.verbose("getRedirectResponseHash called");let z=U;z||(z=this.config.auth.OIDCOptions.serverResponseType===c.eE.QUERY?window.location.search:window.location.hash);let ae=Jn.u(z);if(ae){try{!function pi(un,U,z){if(!un.state)throw(0,Te.Wq)(je.noStateInHash);const ae=(0,er.Q)(U,un.state);if(!ae)throw(0,Te.Wq)(je.unableToParseState);if(ae.interactionType!==z)throw(0,Te.Wq)(je.stateInteractionTypeMismatch)}(ae,this.browserCrypto,G.wV.Redirect)}catch(Ae){return Ae instanceof E.WM&&this.logger.error(`Interaction type validation failed due to ${Ae.errorCode}: ${Ae.errorMessage}`),[null,""]}return(0,te.clearHash)(window),this.logger.verbose("Hash contains known properties, returning response hash"),[ae,z]}const Fe=this.browserStorage.getTemporaryCache(G.zH.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(G.zH.URL_HASH)),Fe&&(ae=Jn.u(Fe),ae)?(this.logger.verbose("Hash does not contain known properties, returning cached hash"),[ae,Fe]):[null,""]}handleResponse(U,z){var ae=this;return(0,n.c)(function*(){const Fe=U.state;if(!Fe)throw(0,Te.Wq)(je.noStateInHash);const Ae=ae.browserStorage.getCachedRequest(Fe);if(ae.logger.verbose("handleResponse called, retrieved cached request"),U.accountId){if(ae.logger.verbose("Account id found in hash, calling WAM for token"),!ae.nativeMessageHandler)throw(0,Te.Wq)(je.nativeConnectionNotEstablished);const _t=new oi(ae.config,ae.browserStorage,ae.browserCrypto,ae.logger,ae.eventHandler,ae.navigationClient,G.Ed.acquireTokenPopup,ae.performanceClient,ae.nativeMessageHandler,U.accountId,ae.nativeStorage,Ae.correlationId),{userRequestState:Tt}=J.c.parseRequestState(ae.browserCrypto,Fe);return _t.acquireToken({...Ae,state:Tt,prompt:void 0}).finally(()=>{ae.browserStorage.cleanRequestByState(Fe)})}const fe=ae.browserStorage.getCachedAuthority(Fe);if(!fe)throw(0,Te.Wq)(je.noCachedAuthorityError);const De=yield(0,y.C)(ae.createAuthCodeClient.bind(ae),f.Xv.StandardInteractionClientCreateAuthCodeClient,ae.logger,ae.performanceClient,ae.correlationId)(z,fe);return re.removeThrottle(ae.browserStorage,ae.config.auth.clientId,Ae),new jn(De,ae.browserStorage,Ae,ae.logger,ae.performanceClient).handleCodeResponse(U,Fe)})()}logout(U){var z=this;return(0,n.c)(function*(){z.logger.verbose("logoutRedirect called");const ae=z.initializeLogoutRequest(U),Fe=z.initializeServerTelemetryManager(G.Ed.logout);try{z.eventHandler.emitEvent(ue.W.LOGOUT_START,G.wV.Redirect,U),yield z.clearCacheOnLogout(ae.account);const Ae={apiId:G.Ed.logout,timeout:z.config.system.redirectNavigationTimeout,noHistory:!1},De=(yield(0,y.C)(z.createAuthCodeClient.bind(z),f.Xv.StandardInteractionClientCreateAuthCodeClient,z.logger,z.performanceClient,z.correlationId)(Fe,U&&U.authority,void 0,U&&U.account||void 0)).getLogoutUri(ae);if(z.eventHandler.emitEvent(ue.W.LOGOUT_SUCCESS,G.wV.Redirect,ae),!U||"function"!=typeof U.onRedirectNavigate)return z.browserStorage.getInteractionInProgress()||z.browserStorage.setInteractionInProgress(!0),void(yield z.navigationClient.navigateExternal(De,Ae));if(!1!==U.onRedirectNavigate(De))return z.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),z.browserStorage.getInteractionInProgress()||z.browserStorage.setInteractionInProgress(!0),void(yield z.navigationClient.navigateExternal(De,Ae));z.browserStorage.setInteractionInProgress(!1),z.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation")}catch(Ae){throw Ae instanceof E.WM&&(Ae.setCorrelationId(z.correlationId),Fe.cacheFailedRequest(Ae)),z.eventHandler.emitEvent(ue.W.LOGOUT_FAILURE,G.wV.Redirect,null,Ae),z.eventHandler.emitEvent(ue.W.LOGOUT_END,G.wV.Redirect),Ae}z.eventHandler.emitEvent(ue.W.LOGOUT_END,G.wV.Redirect)})()}getRedirectStartPage(U){const z=U||window.location.href;return e._.getAbsoluteUrl(z,(0,te.getCurrentUri)())}}var or=o(48124);function ui(un,U,z,ae,Fe){return Pr.apply(this,arguments)}function Pr(){return(Pr=(0,n.c)(function*(un,U,z,ae,Fe){if(U.addQueueMeasurement(f.Xv.SilentHandlerInitiateAuthRequest,ae),!un)throw z.info("Navigate url is empty"),(0,Te.Wq)(je.emptyNavigateUri);return Fe?(0,y.C)(kt,f.Xv.SilentHandlerLoadFrame,z,U,ae)(un,Fe,U,ae):(0,y.q)(on,f.Xv.SilentHandlerLoadFrameSync,z,U,ae)(un)})).apply(this,arguments)}function ct(un,U,z,ae,Fe,Ae,fe){return Rt.apply(this,arguments)}function Rt(){return(Rt=(0,n.c)(function*(un,U,z,ae,Fe,Ae,fe){return ae.addQueueMeasurement(f.Xv.SilentHandlerMonitorIframeForHash,Ae),new Promise((De,rt)=>{U{window.clearInterval(Tt),rt((0,Te.Wq)(je.monitorWindowTimeout))},U),Tt=window.setInterval(()=>{let Bt="";const Jt=un.contentWindow;try{Bt=Jt?Jt.location.href:""}catch{}if(!Bt||"about:blank"===Bt)return;let mn="";Jt&&(mn=fe===c.eE.QUERY?Jt.location.search:Jt.location.hash),window.clearTimeout(_t),window.clearInterval(Tt),De(mn)},z)}).finally(()=>{(0,y.q)(Mn,f.Xv.RemoveHiddenIframe,Fe,ae,Ae)(un)})})).apply(this,arguments)}function kt(un,U,z,ae){return z.addQueueMeasurement(f.Xv.SilentHandlerLoadFrame,ae),new Promise((Fe,Ae)=>{const fe=dn();window.setTimeout(()=>{fe?(fe.src=un,Fe(fe)):Ae("Unable to load iframe")},U)})}function on(un){const U=dn();return U.src=un,U}function dn(){const un=document.createElement("iframe");return un.style.visibility="hidden",un.style.position="absolute",un.style.width=un.style.height="0",un.style.border="0",un.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.body.appendChild(un),un}function Mn(un){document.body===un.parentNode&&document.body.removeChild(un)}class En extends zt{constructor(U,z,ae,Fe,Ae,fe,De,rt,_t,Tt,Bt){super(U,z,ae,Fe,Ae,fe,rt,Tt,Bt),this.apiId=De,this.nativeStorage=_t}acquireToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.SilentIframeClientAcquireToken,U.correlationId),!U.loginHint&&!U.sid&&(!U.account||!U.account.username)&&z.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");const ae={...U};ae.prompt?ae.prompt!==c.GI.NONE&&ae.prompt!==c.GI.NO_SESSION&&(z.logger.warning(`SilentIframeClient. Replacing invalid prompt ${ae.prompt} with ${c.GI.NONE}`),ae.prompt=c.GI.NONE):ae.prompt=c.GI.NONE;const Fe=yield(0,y.C)(z.initializeAuthorizationRequest.bind(z),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,z.logger,z.performanceClient,U.correlationId)(ae,G.wV.Silent);(0,te.preconnect)(Fe.authority);const Ae=z.initializeServerTelemetryManager(z.apiId);try{const fe=yield(0,y.C)(z.createAuthCodeClient.bind(z),f.Xv.StandardInteractionClientCreateAuthCodeClient,z.logger,z.performanceClient,U.correlationId)(Ae,Fe.authority,Fe.azureCloudOptions,Fe.account);return yield(0,y.C)(z.silentTokenHelper.bind(z),f.Xv.SilentIframeClientTokenHelper,z.logger,z.performanceClient,U.correlationId)(fe,Fe)}catch(fe){throw fe instanceof E.WM&&(fe.setCorrelationId(z.correlationId),Ae.cacheFailedRequest(fe)),fe}})()}logout(){return Promise.reject((0,Te.Wq)(je.silentLogoutUnsupported))}silentTokenHelper(U,z){var ae=this;return(0,n.c)(function*(){const Fe=z.correlationId;ae.performanceClient.addQueueMeasurement(f.Xv.SilentIframeClientTokenHelper,Fe);const Ae=yield(0,y.C)(ae.initializeAuthorizationCodeRequest.bind(ae),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,ae.logger,ae.performanceClient,Fe)(z),fe=yield(0,y.C)(U.getAuthCodeUrl.bind(U),f.Xv.GetAuthCodeUrl,ae.logger,ae.performanceClient,Fe)({...z,nativeBroker:Sr.isNativeAvailable(ae.config,ae.logger,ae.nativeMessageHandler,z.authenticationScheme)}),De=new pr(U,ae.browserStorage,Ae,ae.logger,ae.performanceClient),rt=yield(0,y.C)(ui,f.Xv.SilentHandlerInitiateAuthRequest,ae.logger,ae.performanceClient,Fe)(fe,ae.performanceClient,ae.logger,Fe,ae.config.system.navigateFrameWait),_t=ae.config.auth.OIDCOptions.serverResponseType,Tt=yield(0,y.C)(ct,f.Xv.SilentHandlerMonitorIframeForHash,ae.logger,ae.performanceClient,Fe)(rt,ae.config.system.iframeHashTimeout,ae.config.system.pollIntervalMilliseconds,ae.performanceClient,ae.logger,Fe,_t),Bt=(0,y.q)(Or,f.Xv.DeserializeResponse,ae.logger,ae.performanceClient,ae.correlationId)(Tt,_t,ae.logger);if(Bt.accountId){if(ae.logger.verbose("Account id found in hash, calling WAM for token"),!ae.nativeMessageHandler)throw(0,Te.Wq)(je.nativeConnectionNotEstablished);const Jt=new oi(ae.config,ae.browserStorage,ae.browserCrypto,ae.logger,ae.eventHandler,ae.navigationClient,ae.apiId,ae.performanceClient,ae.nativeMessageHandler,Bt.accountId,ae.browserStorage,Fe),{userRequestState:mn}=J.c.parseRequestState(ae.browserCrypto,z.state);return(0,y.C)(Jt.acquireToken.bind(Jt),f.Xv.NativeInteractionClientAcquireToken,ae.logger,ae.performanceClient,Fe)({...z,state:mn,prompt:z.prompt||c.GI.NONE})}return(0,y.C)(De.handleCodeResponse.bind(De),f.Xv.HandleCodeResponse,ae.logger,ae.performanceClient,Fe)(Bt,z)})()}}class Zn extends zt{acquireToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.SilentRefreshClientAcquireToken,U.correlationId);const ae=yield(0,y.C)(z.initializeBaseRequest.bind(z),f.Xv.InitializeBaseRequest,z.logger,z.performanceClient,U.correlationId)(U),Fe={...U,...ae};U.redirectUri&&(Fe.redirectUri=z.getRedirectUri(U.redirectUri));const Ae=z.initializeServerTelemetryManager(G.Ed.acquireTokenSilent_silentFlow),fe=yield z.createRefreshTokenClient(Ae,Fe.authority,Fe.azureCloudOptions,Fe.account);return(0,y.C)(fe.acquireTokenByRefreshToken.bind(fe),f.Xv.RefreshTokenClientAcquireTokenByRefreshToken,z.logger,z.performanceClient,U.correlationId)(Fe).catch(De=>{throw De.setCorrelationId(z.correlationId),Ae.cacheFailedRequest(De),De})})()}logout(){return Promise.reject((0,Te.Wq)(je.silentLogoutUnsupported))}createRefreshTokenClient(U,z,ae,Fe){var Ae=this;return(0,n.c)(function*(){const fe=yield(0,y.C)(Ae.getClientConfiguration.bind(Ae),f.Xv.StandardInteractionClientGetClientConfiguration,Ae.logger,Ae.performanceClient,Ae.correlationId)(U,z,ae,Fe);return new sr(fe,Ae.performanceClient)})()}}class Yn{constructor(U,z,ae,Fe){this.isBrowserEnvironment=typeof window<"u",this.config=U,this.storage=z,this.logger=ae,this.cryptoObj=Fe}loadExternalTokens(U,z,ae){if(this.logger.info("TokenCache - loadExternalTokens called"),!z.id_token)throw(0,Te.Wq)(je.unableToLoadToken);const Fe=Ct.aw(z.id_token,qn.W);let Ae,fe,De;if(U.account)De=N.M.createFromAccountInfo(U.account),Ae=new tt.O(De,this.loadIdToken(z.id_token,De.homeAccountId,U.account.environment,U.account.tenantId),this.loadAccessToken(U,z,De.homeAccountId,U.account.environment,U.account.tenantId,ae),this.loadRefreshToken(U,z,De.homeAccountId,U.account.environment));else{if(!U.authority)throw(0,Te.Wq)(je.unableToLoadToken);{const rt=F.generateAuthority(U.authority,U.azureCloudOptions);if(fe=new F(rt,this.config.system.networkClient,this.storage,{protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},this.logger,U.correlationId||(0,Ue.E5)()),ae.clientInfo)this.logger.trace("TokenCache - homeAccountId from options"),De=this.loadAccount(Fe,fe,ae.clientInfo),Ae=new tt.O(De,this.loadIdToken(z.id_token,De.homeAccountId,fe.hostnameAndPort,fe.tenant),this.loadAccessToken(U,z,De.homeAccountId,fe.hostnameAndPort,fe.tenant,ae),this.loadRefreshToken(U,z,De.homeAccountId,fe.hostnameAndPort));else{if(!z.client_info)throw(0,Te.Wq)(je.unableToLoadToken);this.logger.trace("TokenCache - homeAccountId from response"),De=this.loadAccount(Fe,fe,z.client_info),Ae=new tt.O(De,this.loadIdToken(z.id_token,De.homeAccountId,fe.hostnameAndPort,fe.tenant),this.loadAccessToken(U,z,De.homeAccountId,fe.hostnameAndPort,fe.tenant,ae),this.loadRefreshToken(U,z,De.homeAccountId,fe.hostnameAndPort))}}}return this.generateAuthenticationResult(U,Fe,Ae,De,fe)}loadAccount(U,z,ae,Fe){if(this.isBrowserEnvironment){let Ae;if(this.logger.verbose("TokenCache - loading account"),Fe?Ae=Fe:void 0!==z.authorityType&&ae&&(Ae=N.M.generateHomeAccountId(ae,z.authorityType,this.logger,this.cryptoObj,U)),!Ae)throw(0,Te.Wq)(je.unableToLoadToken);const De=tn(this.storage,z,Ae,U,qn.W,ae,z.hostnameAndPort,U.tid,void 0,void 0,this.logger);return this.storage.setAccount(De),De}throw(0,Te.Wq)(je.unableToLoadToken)}loadIdToken(U,z,ae,Fe){const Ae=M.YF(z,ae,U,this.config.auth.clientId,Fe);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(Ae),Ae;throw(0,Te.Wq)(je.unableToLoadToken)}loadAccessToken(U,z,ae,Fe,Ae,fe){if(!z.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!z.expires_in||!fe.extendedExpiresOn)throw(0,Te.Wq)(je.unableToLoadToken);const De=new ot.k(U.scopes).printScopes(),rt=fe.expiresOn||z.expires_in+(new Date).getTime()/1e3,Tt=M.MJ(ae,Fe,z.access_token,this.config.auth.clientId,Ae,De,rt,fe.extendedExpiresOn,qn.W);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(Tt),Tt;throw(0,Te.Wq)(je.unableToLoadToken)}loadRefreshToken(U,z,ae,Fe){if(!z.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;const Ae=M._c(ae,Fe,z.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(Ae),Ae;throw(0,Te.Wq)(je.unableToLoadToken)}generateAuthenticationResult(U,z,ae,Fe,Ae){let _t,fe=c.Mv.EMPTY_STRING,De=[],rt=null;return ae?.accessToken&&(fe=ae.accessToken.secret,De=ot.k.fromString(ae.accessToken.target).asArray(),rt=new Date(1e3*Number(ae.accessToken.expiresOn)),_t=new Date(1e3*Number(ae.accessToken.extendedExpiresOn))),{authority:Ae?Ae.canonicalAuthority:c.Mv.EMPTY_STRING,uniqueId:z.oid||z.sub||c.Mv.EMPTY_STRING,tenantId:z.tid||c.Mv.EMPTY_STRING,scopes:De,account:Fe.getAccountInfo(),idToken:ae.idToken?.secret||"",idTokenClaims:z||{},accessToken:fe,fromCache:!0,expiresOn:rt,correlationId:U.correlationId||c.Mv.EMPTY_STRING,requestId:c.Mv.EMPTY_STRING,extExpiresOn:_t,familyId:c.Mv.EMPTY_STRING,tokenType:ae?.accessToken?.tokenType||c.Mv.EMPTY_STRING,state:c.Mv.EMPTY_STRING,cloudGraphHostName:Fe.cloudGraphHostName||c.Mv.EMPTY_STRING,msGraphHost:Fe.msGraphHost||c.Mv.EMPTY_STRING,code:void 0,fromNativeBroker:!1}}}class Tr extends _n{constructor(U){super(U),this.includeRedirectUri=!1}}class Mr extends zt{constructor(U,z,ae,Fe,Ae,fe,De,rt,_t,Tt){super(U,z,ae,Fe,Ae,fe,rt,_t,Tt),this.apiId=De}acquireToken(U){var z=this;return(0,n.c)(function*(){if(!U.code)throw(0,Te.Wq)(je.authCodeRequired);const ae=yield(0,y.C)(z.initializeAuthorizationRequest.bind(z),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,z.logger,z.performanceClient,U.correlationId)(U,G.wV.Silent),Fe=z.initializeServerTelemetryManager(z.apiId);try{const Ae={...ae,code:U.code},fe=yield(0,y.C)(z.getClientConfiguration.bind(z),f.Xv.StandardInteractionClientGetClientConfiguration,z.logger,z.performanceClient,U.correlationId)(Fe,ae.authority,ae.azureCloudOptions,ae.account),De=new Tr(fe);z.logger.verbose("Auth code client created");const rt=new pr(De,z.browserStorage,Ae,z.logger,z.performanceClient);return yield(0,y.C)(rt.handleCodeResponseFromServer.bind(rt),f.Xv.HandleCodeResponseFromServer,z.logger,z.performanceClient,U.correlationId)({code:U.code,msgraph_host:U.msGraphHost,cloud_graph_host_name:U.cloudGraphHostName,cloud_instance_host_name:U.cloudInstanceHostName},ae,!1)}catch(Ae){throw Ae instanceof E.WM&&(Ae.setCorrelationId(z.correlationId),Fe.cacheFailedRequest(Ae)),Ae}})()}logout(){return Promise.reject((0,Te.Wq)(je.silentLogoutUnsupported))}}var zn=o(85288);class ur{constructor(U){this.atsAsyncMeasurement=void 0,this.operatingContext=U,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=U.getConfig(),this.initialized=!1,this.logger=this.operatingContext.getLogger(),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new i.A(this.logger,this.performanceClient):d.K,this.eventHandler=new K.c(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new H.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,function P(un){const U=un.cloudDiscoveryMetadata;let z;if(U)try{z=JSON.parse(U)}catch{throw(0,v.QN)(I.invalidCloudDiscoveryMetadata)}return{canonicalAuthority:un.authority?T(un.authority):void 0,knownAuthorities:un.knownAuthorities,cloudDiscoveryMetadata:z}}(this.config.auth)):(0,H.S)(this.config.auth.clientId,this.logger),this.nativeInternalStorage=new H.Y(this.config.auth.clientId,{cacheLocation:G.Ir.MemoryStorage,temporaryCacheLocation:G.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},this.browserCrypto,this.logger),this.tokenCache=new Yn(this.config,this.browserStorage,this.logger,this.browserCrypto),this.activeSilentTokenRequests=new Map,this.trackPageVisibility=this.trackPageVisibility.bind(this),this.trackPageVisibilityWithMeasurement=this.trackPageVisibilityWithMeasurement.bind(this)}static createController(U){return(0,n.c)(function*(){const z=new ur(U);return yield z.initialize(),z})()}trackPageVisibility(){this.atsAsyncMeasurement&&(this.logger.info("Perf: Visibility change detected"),this.atsAsyncMeasurement.increment({visibilityChangeCount:1}))}initialize(){var U=this;return(0,n.c)(function*(){if(U.logger.trace("initialize called"),U.initialized)return void U.logger.info("initialize has already been called, exiting early.");const z=U.config.system.allowNativeBroker,ae=U.performanceClient.startMeasurement(f.Xv.InitializeClientApplication);if(U.eventHandler.emitEvent(ue.W.INITIALIZE_START),z)try{U.nativeExtensionProvider=yield Sr.createProvider(U.logger,U.config.system.nativeBrokerHandshakeTimeout,U.performanceClient)}catch(Fe){U.logger.verbose(Fe)}U.config.cache.claimsBasedCachingEnabled||(U.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims"),yield(0,y.C)(U.browserStorage.clearTokensAndKeysWithClaims.bind(U.browserStorage),f.Xv.ClearTokensAndKeysWithClaims,U.logger,U.performanceClient)(U.performanceClient)),U.initialized=!0,U.eventHandler.emitEvent(ue.W.INITIALIZE_END),ae.end({allowNativeBroker:z,success:!0})})()}handleRedirectPromise(U){var z=this;return(0,n.c)(function*(){z.logger.verbose("handleRedirectPromise called"),(0,te.blockAPICallsBeforeInitialize)(z.initialized);const ae=z.getAllAccounts();if(z.isBrowserEnvironment){const Fe=U||"";let Ae=z.redirectResponse.get(Fe);if(typeof Ae>"u"){const fe=z.browserStorage.getCachedNativeRequest(),De=fe&&Sr.isNativeAvailable(z.config,z.logger,z.nativeExtensionProvider)&&z.nativeExtensionProvider&&!U,rt=De?fe?.correlationId:z.browserStorage.getTemporaryCache(G.zH.CORRELATION_ID,!0)||"",_t=z.performanceClient.startMeasurement("acquireTokenRedirect",rt);let Tt;if(z.eventHandler.emitEvent(ue.W.HANDLE_REDIRECT_START,G.wV.Redirect),z.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),De&&z.nativeExtensionProvider){z.logger.trace("handleRedirectPromise - acquiring token from native platform");const Bt=new oi(z.config,z.browserStorage,z.browserCrypto,z.logger,z.eventHandler,z.navigationClient,G.Ed.handleRedirectPromise,z.performanceClient,z.nativeExtensionProvider,fe.accountId,z.nativeInternalStorage,fe.correlationId);Tt=(0,y.C)(Bt.handleRedirectPromise.bind(Bt),f.Xv.HandleNativeRedirectPromiseMeasurement,z.logger,z.performanceClient,_t.event.correlationId)(z.performanceClient,_t.event.correlationId)}else{z.logger.trace("handleRedirectPromise - acquiring token from web flow");const Bt=z.createRedirectClient(rt);Tt=(0,y.C)(Bt.handleRedirectPromise.bind(Bt),f.Xv.HandleRedirectPromiseMeasurement,z.logger,z.performanceClient,_t.event.correlationId)(U,z.performanceClient,_t.event.correlationId)}Ae=Tt.then(Bt=>(Bt&&(ae.length{const Jt=Bt;throw z.eventHandler.emitEvent(ae.length>0?ue.W.ACQUIRE_TOKEN_FAILURE:ue.W.LOGIN_FAILURE,G.wV.Redirect,null,Jt),z.eventHandler.emitEvent(ue.W.HANDLE_REDIRECT_END,G.wV.Redirect),_t.end(Jt instanceof E.WM?{success:!1,errorCode:Jt.errorCode,subErrorCode:Jt.subError}:{success:!1}),Bt}),z.redirectResponse.set(Fe,Ae)}else z.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call");return Ae}return z.logger.verbose("handleRedirectPromise returns null, not browser environment"),null})()}acquireTokenRedirect(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);z.logger.verbose("acquireTokenRedirect called",ae),z.preflightBrowserEnvironmentCheck(G.wV.Redirect);const Fe=z.getAllAccounts().length>0;let Ae;return z.eventHandler.emitEvent(Fe?ue.W.ACQUIRE_TOKEN_START:ue.W.LOGIN_START,G.wV.Redirect,U),Ae=z.nativeExtensionProvider&&z.canUseNative(U)?new oi(z.config,z.browserStorage,z.browserCrypto,z.logger,z.eventHandler,z.navigationClient,G.Ed.acquireTokenRedirect,z.performanceClient,z.nativeExtensionProvider,z.getNativeAccountId(U),z.nativeInternalStorage,ae).acquireTokenRedirect(U).catch(De=>{if(De instanceof rn&&nr(De))return z.nativeExtensionProvider=void 0,z.createRedirectClient(ae).acquireToken(U);if(De instanceof x.uw)return z.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow"),z.createRedirectClient(ae).acquireToken(U);throw z.getBrowserStorage().setInteractionInProgress(!1),De}):z.createRedirectClient(ae).acquireToken(U),Ae.catch(fe=>{throw z.eventHandler.emitEvent(Fe?ue.W.ACQUIRE_TOKEN_FAILURE:ue.W.LOGIN_FAILURE,G.wV.Redirect,null,fe),fe})})()}acquireTokenPopup(U){const z=this.getRequestCorrelationId(U),ae=this.performanceClient.startMeasurement(f.Xv.AcquireTokenPopup,z);try{this.logger.verbose("acquireTokenPopup called",z),this.preflightBrowserEnvironmentCheck(G.wV.Popup)}catch(fe){return Promise.reject(fe)}const Fe=this.getAllAccounts();let Ae;return this.eventHandler.emitEvent(Fe.length>0?ue.W.ACQUIRE_TOKEN_START:ue.W.LOGIN_START,G.wV.Popup,U),Ae=this.canUseNative(U)?this.acquireTokenNative({...U,correlationId:z},G.Ed.acquireTokenPopup).then(fe=>(this.getBrowserStorage().setInteractionInProgress(!1),ae.end({success:!0,isNativeBroker:!0,requestId:fe.requestId}),fe)).catch(fe=>{if(fe instanceof rn&&nr(fe))return this.nativeExtensionProvider=void 0,this.createPopupClient(z).acquireToken(U);if(fe instanceof x.uw)return this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"),this.createPopupClient(z).acquireToken(U);throw this.getBrowserStorage().setInteractionInProgress(!1),fe}):this.createPopupClient(z).acquireToken(U),Ae.then(fe=>(Fe.length(this.eventHandler.emitEvent(Fe.length>0?ue.W.ACQUIRE_TOKEN_FAILURE:ue.W.LOGIN_FAILURE,G.wV.Popup,null,fe),ae.end({errorCode:fe.errorCode,subErrorCode:fe.subError,success:!1}),Promise.reject(fe)))}trackPageVisibilityWithMeasurement(){const U=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;U&&(this.logger.info("Perf: Visibility change detected in ",U.event.name),U.increment({visibilityChangeCount:1}))}ssoSilent(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U),Fe={...U,prompt:U.prompt,correlationId:ae};let Ae;return z.preflightBrowserEnvironmentCheck(G.wV.Silent),z.ssoSilentMeasurement=z.performanceClient.startMeasurement(f.Xv.SsoSilent,ae),z.ssoSilentMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement),z.logger.verbose("ssoSilent called",ae),z.eventHandler.emitEvent(ue.W.SSO_SILENT_START,G.wV.Silent,Fe),Ae=z.canUseNative(Fe)?z.acquireTokenNative(Fe,G.Ed.ssoSilent).catch(fe=>{if(fe instanceof rn&&nr(fe))return z.nativeExtensionProvider=void 0,z.createSilentIframeClient(Fe.correlationId).acquireToken(Fe);throw fe}):z.createSilentIframeClient(Fe.correlationId).acquireToken(Fe),Ae.then(fe=>(z.eventHandler.emitEvent(ue.W.SSO_SILENT_SUCCESS,G.wV.Silent,fe),z.ssoSilentMeasurement?.add({accessTokenSize:fe.accessToken.length,idTokenSize:fe.idToken.length}),z.ssoSilentMeasurement?.end({success:!0,isNativeBroker:fe.fromNativeBroker,requestId:fe.requestId}),fe)).catch(fe=>{throw z.eventHandler.emitEvent(ue.W.SSO_SILENT_FAILURE,G.wV.Silent,null,fe),z.ssoSilentMeasurement?.end({errorCode:fe.errorCode,subErrorCode:fe.subError,success:!1}),fe}).finally(()=>{document.removeEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement)})})()}acquireTokenByCode(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);z.preflightBrowserEnvironmentCheck(G.wV.Silent),z.logger.trace("acquireTokenByCode called",ae),z.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_BY_CODE_START,G.wV.Silent,U);const Fe=z.performanceClient.startMeasurement(f.Xv.AcquireTokenByCode,ae);try{if(U.code&&U.nativeAccountId)throw(0,Te.Wq)(je.spaCodeAndNativeAccountIdPresent);if(U.code){const Ae=U.code;let fe=z.hybridAuthCodeResponses.get(Ae);return fe?(z.logger.verbose("Existing acquireTokenByCode request found",ae),Fe.discard()):(z.logger.verbose("Initiating new acquireTokenByCode request",ae),fe=z.acquireTokenByCodeAsync({...U,correlationId:ae}).then(De=>(z.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_BY_CODE_SUCCESS,G.wV.Silent,De),z.hybridAuthCodeResponses.delete(Ae),Fe.add({accessTokenSize:De.accessToken.length,idTokenSize:De.idToken.length}),Fe.end({success:!0,isNativeBroker:De.fromNativeBroker,requestId:De.requestId}),De)).catch(De=>{throw z.hybridAuthCodeResponses.delete(Ae),z.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,G.wV.Silent,null,De),Fe.end({errorCode:De.errorCode,subErrorCode:De.subError,success:!1}),De}),z.hybridAuthCodeResponses.set(Ae,fe)),yield fe}if(U.nativeAccountId){if(z.canUseNative(U,U.nativeAccountId))return yield z.acquireTokenNative({...U,correlationId:ae},G.Ed.acquireTokenByCode,U.nativeAccountId).catch(Ae=>{throw Ae instanceof rn&&nr(Ae)&&(z.nativeExtensionProvider=void 0),Ae});throw(0,Te.Wq)(je.unableToAcquireTokenFromNativePlatform)}throw(0,Te.Wq)(je.authCodeOrNativeAccountIdRequired)}catch(Ae){throw z.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,G.wV.Silent,null,Ae),Fe.end({errorCode:Ae instanceof E.WM&&Ae.errorCode||void 0,subErrorCode:Ae instanceof E.WM&&Ae.subError||void 0,success:!1}),Ae}})()}acquireTokenByCodeAsync(U){var z=this;return(0,n.c)(function*(){return z.logger.trace("acquireTokenByCodeAsync called",U.correlationId),z.acquireTokenByCodeAsyncMeasurement=z.performanceClient.startMeasurement(f.Xv.AcquireTokenByCodeAsync,U.correlationId),z.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement),yield z.createSilentAuthCodeClient(U.correlationId).acquireToken(U).then(Ae=>(z.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:Ae.fromCache,isNativeBroker:Ae.fromNativeBroker,requestId:Ae.requestId}),Ae)).catch(Ae=>{throw z.acquireTokenByCodeAsyncMeasurement?.end({errorCode:Ae.errorCode,subErrorCode:Ae.subError,success:!1}),Ae}).finally(()=>{document.removeEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement)})})()}acquireTokenFromCache(U,z,ae){var Fe=this;return(0,n.c)(function*(){switch(Fe.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenFromCache,z.correlationId),ae){case G.wd.Default:case G.wd.AccessToken:case G.wd.AccessTokenAndRefreshToken:return(0,y.C)(U.acquireToken.bind(U),f.Xv.SilentCacheClientAcquireToken,Fe.logger,Fe.performanceClient,z.correlationId)(z);default:throw(0,u.mQ)(A.tokenRefreshRequired)}})()}acquireTokenByRefreshToken(U,z){var ae=this;return(0,n.c)(function*(){switch(ae.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenByRefreshToken,U.correlationId),z){case G.wd.Default:case G.wd.AccessTokenAndRefreshToken:case G.wd.RefreshToken:case G.wd.RefreshTokenAndNetwork:const Fe=ae.createSilentRefreshClient(U.correlationId);return(0,y.C)(Fe.acquireToken.bind(Fe),f.Xv.SilentRefreshClientAcquireToken,ae.logger,ae.performanceClient,U.correlationId)(U);default:throw(0,u.mQ)(A.tokenRefreshRequired)}})()}acquireTokenBySilentIframe(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenBySilentIframe,U.correlationId);const ae=z.createSilentIframeClient(U.correlationId);return(0,y.C)(ae.acquireToken.bind(ae),f.Xv.SilentIframeClientAcquireToken,z.logger,z.performanceClient,U.correlationId)(U)})()}logout(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);return z.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",ae),z.logoutRedirect({correlationId:ae,...U})})()}logoutRedirect(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);return z.preflightBrowserEnvironmentCheck(G.wV.Redirect),z.createRedirectClient(ae).logout(U)})()}logoutPopup(U){try{const z=this.getRequestCorrelationId(U);return this.preflightBrowserEnvironmentCheck(G.wV.Popup),this.createPopupClient(z).logout(U)}catch(z){return Promise.reject(z)}}clearCache(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);return z.createSilentCacheClient(ae).logout(U)})()}getAllAccounts(U){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts(U):[]}getAccount(U){if(this.logger.trace("getAccount called"),0===Object.keys(U).length)return this.logger.warning("getAccount: No accountFilter provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy(U);return z?(this.logger.verbose("getAccount: Account matching provided filter found, returning"),z):(this.logger.verbose("getAccount: No matching account found, returning null"),null)}getAccountByUsername(U){if(this.logger.trace("getAccountByUsername called"),!U)return this.logger.warning("getAccountByUsername: No username provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy({username:U});return z?(this.logger.verbose("getAccountByUsername: Account matching username found, returning"),this.logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${U}`),z):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)}getAccountByHomeId(U){if(this.logger.trace("getAccountByHomeId called"),!U)return this.logger.warning("getAccountByHomeId: No homeAccountId provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy({homeAccountId:U});return z?(this.logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning"),this.logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${U}`),z):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)}getAccountByLocalId(U){if(this.logger.trace("getAccountByLocalId called"),!U)return this.logger.warning("getAccountByLocalId: No localAccountId provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy({localAccountId:U});return z?(this.logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning"),this.logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${U}`),z):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)}setActiveAccount(U){this.browserStorage.setActiveAccount(U)}getActiveAccount(){return this.browserStorage.getActiveAccount()}hydrateCache(U,z){var ae=this;return(0,n.c)(function*(){ae.logger.verbose("hydrateCache called");const Fe=N.M.createFromAccountInfo(U.account,U.cloudGraphHostName,U.msGraphHost);return ae.browserStorage.setAccount(Fe),U.fromNativeBroker?(ae.logger.verbose("Response was from native broker, storing in-memory"),ae.nativeInternalStorage.hydrateCache(U,z)):ae.browserStorage.hydrateCache(U,z)})()}preflightBrowserEnvironmentCheck(U,z=!1){if(this.logger.verbose("preflightBrowserEnvironmentCheck started"),(0,te.blockNonBrowserEnvironment)(this.isBrowserEnvironment),(0,te.blockRedirectInIframe)(U,this.config.system.allowRedirectInIframe),(0,te.blockReloadInHiddenIframes)(),(0,te.blockAcquireTokenInPopups)(),(0,te.blockAPICallsBeforeInitialize)(this.initialized),U===G.wV.Redirect&&this.config.cache.cacheLocation===G.Ir.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw(0,se.cf)(zn.inMemRedirectUnavailable);(U===G.wV.Redirect||U===G.wV.Popup)&&this.preflightInteractiveRequest(!z)}preflightInteractiveRequest(U){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),(0,te.blockReloadInHiddenIframes)(),U&&this.getBrowserStorage().setInteractionInProgress(!0)}acquireTokenNative(U,z,ae){var Fe=this;return(0,n.c)(function*(){if(Fe.logger.trace("acquireTokenNative called"),!Fe.nativeExtensionProvider)throw(0,Te.Wq)(je.nativeConnectionNotEstablished);return new oi(Fe.config,Fe.browserStorage,Fe.browserCrypto,Fe.logger,Fe.eventHandler,Fe.navigationClient,z,Fe.performanceClient,Fe.nativeExtensionProvider,ae||Fe.getNativeAccountId(U),Fe.nativeInternalStorage,U.correlationId).acquireToken(U)})()}canUseNative(U,z){if(this.logger.trace("canUseNative called"),!Sr.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,U.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(U.prompt)switch(U.prompt){case c.GI.NONE:case c.GI.CONSENT:case c.GI.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace(`canUseNative: prompt = ${U.prompt} is not compatible with native flow, returning false`),!1}return!(!z&&!this.getNativeAccountId(U)&&(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),1))}getNativeAccountId(U){const z=U.account||this.getAccount({loginHint:U.loginHint,sid:U.sid})||this.getActiveAccount();return z&&z.nativeAccountId||""}createPopupClient(U){return new en(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,U)}createRedirectClient(U){return new Qn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,U)}createSilentIframeClient(U){return new En(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,G.Ed.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,U)}createSilentCacheClient(U){return new br(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,U)}createSilentRefreshClient(U){return new Zn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,U)}createSilentAuthCodeClient(U){return new Mr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,G.Ed.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,U)}addEventCallback(U){return this.eventHandler.addEventCallback(U)}removeEventCallback(U){this.eventHandler.removeEventCallback(U)}addPerformanceCallback(U){return this.performanceClient.addPerformanceCallback(U)}removePerformanceCallback(U){return this.performanceClient.removePerformanceCallback(U)}enableAccountStorageEvents(){this.eventHandler.enableAccountStorageEvents()}disableAccountStorageEvents(){this.eventHandler.disableAccountStorageEvents()}getTokenCache(){return this.tokenCache}getLogger(){return this.logger}setLogger(U){this.logger=U}initializeWrapperLibrary(U,z){this.browserStorage.setWrapperMetadata(U,z)}setNavigationClient(U){this.navigationClient=U}getConfiguration(){return this.config}getPerformanceClient(){return this.performanceClient}getBrowserStorage(){return this.browserStorage}isBrowserEnv(){return this.isBrowserEnvironment}getEventHandler(){return this.eventHandler}getRequestCorrelationId(U){return U?.correlationId?U.correlationId:this.isBrowserEnvironment?(0,Ue.E5)():c.Mv.EMPTY_STRING}loginRedirect(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);return z.logger.verbose("loginRedirect called",ae),z.acquireTokenRedirect({correlationId:ae,...U||G.wv})})()}loginPopup(U){const z=this.getRequestCorrelationId(U);return this.logger.verbose("loginPopup called",z),this.acquireTokenPopup({correlationId:z,...U||G.wv})}acquireTokenSilent(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U),Fe=z.performanceClient.startMeasurement(f.Xv.AcquireTokenSilent,ae);Fe.add({cacheLookupPolicy:U.cacheLookupPolicy}),z.preflightBrowserEnvironmentCheck(G.wV.Silent),z.logger.verbose("acquireTokenSilent called",ae);const Ae=U.account||z.getActiveAccount();if(!Ae)throw(0,Te.Wq)(je.noAccountError);const De=JSON.stringify({clientId:z.config.auth.clientId,authority:U.authority||c.Mv.EMPTY_STRING,scopes:U.scopes,homeAccountIdentifier:Ae.homeAccountId,claims:U.claims,authenticationScheme:U.authenticationScheme,resourceRequestMethod:U.resourceRequestMethod,resourceRequestUri:U.resourceRequestUri,shrClaims:U.shrClaims,sshKid:U.sshKid,shrOptions:U.shrOptions}),rt=z.activeSilentTokenRequests.get(De);if(typeof rt>"u"){z.logger.verbose("acquireTokenSilent called for the first time, storing active request",ae);const _t=(0,y.C)(z.acquireTokenSilentAsync.bind(z),f.Xv.AcquireTokenSilentAsync,z.logger,z.performanceClient,ae)({...U,correlationId:ae},Ae).then(Tt=>(z.activeSilentTokenRequests.delete(De),Fe.add({accessTokenSize:Tt.accessToken.length,idTokenSize:Tt.idToken.length}),Fe.end({success:!0,fromCache:Tt.fromCache,isNativeBroker:Tt.fromNativeBroker,cacheLookupPolicy:U.cacheLookupPolicy,requestId:Tt.requestId}),Tt)).catch(Tt=>{throw z.activeSilentTokenRequests.delete(De),Fe.end({errorCode:Tt.errorCode,subErrorCode:Tt.subError,success:!1}),Tt});return z.activeSilentTokenRequests.set(De,_t),{...yield _t,state:U.state}}return z.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",ae),Fe.discard(),{...yield rt,state:U.state}})()}acquireTokenSilentAsync(U,z){var ae=this;return(0,n.c)(function*(){let Fe;if(ae.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenSilentAsync,U.correlationId),ae.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_START,G.wV.Silent,U),ae.atsAsyncMeasurement=ae.performanceClient.startMeasurement(f.Xv.AcquireTokenSilentAsync,U.correlationId),ae.atsAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",ae.trackPageVisibility),Sr.isNativeAvailable(ae.config,ae.logger,ae.nativeExtensionProvider,U.authenticationScheme)&&z.nativeAccountId){ae.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform");const Ae={...U,account:z};Fe=ae.acquireTokenNative(Ae,G.Ed.acquireTokenSilent_silentFlow).catch(function(){var fe=(0,n.c)(function*(De){if(De instanceof rn&&nr(De))return ae.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),ae.nativeExtensionProvider=void 0,ae.createSilentIframeClient(U.correlationId).acquireToken(U);throw De});return function(De){return fe.apply(this,arguments)}}())}else{ae.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow");const Ae=ae.createSilentCacheClient(U.correlationId),fe=yield(0,y.C)(Ae.initializeSilentRequest.bind(Ae),f.Xv.InitializeSilentRequest,ae.logger,ae.performanceClient,U.correlationId)(U,z),De=U.cacheLookupPolicy||G.wd.Default;Fe=(0,y.C)(ae.acquireTokenFromCache.bind(ae),f.Xv.AcquireTokenFromCache,ae.logger,ae.performanceClient,fe.correlationId)(Ae,fe,De).catch(rt=>{if(U.cacheLookupPolicy===G.wd.AccessToken)throw rt;return(0,te.blockReloadInHiddenIframes)(),ae.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_NETWORK_START,G.wV.Silent,fe),(0,y.C)(ae.acquireTokenByRefreshToken.bind(ae),f.Xv.AcquireTokenByRefreshToken,ae.logger,ae.performanceClient,fe.correlationId)(fe,De).catch(_t=>{if(function Mi(un,U,z){const Ae=!(un instanceof x.uw&&un.subError!==O.badToken)&&(un.errorCode===G.ig.INVALID_GRANT_ERROR||un.errorCode===A.tokenRefreshRequired)||un.errorCode===O.noTokensFound||un.errorCode===O.refreshTokenExpired,fe=G.a.includes(z);return Ae&&fe}(_t,0,De))return ae.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",fe.correlationId),(0,y.C)(ae.acquireTokenBySilentIframe.bind(ae),f.Xv.AcquireTokenBySilentIframe,ae.logger,ae.performanceClient,fe.correlationId)(fe);throw _t})})}return Fe.then(Ae=>(ae.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_SUCCESS,G.wV.Silent,Ae),ae.atsAsyncMeasurement?.end({success:!0,fromCache:Ae.fromCache,isNativeBroker:Ae.fromNativeBroker,requestId:Ae.requestId}),Ae)).catch(Ae=>{throw ae.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_FAILURE,G.wV.Silent,null,Ae),ae.atsAsyncMeasurement?.end({errorCode:Ae.errorCode,subErrorCode:Ae.subError,success:!1}),Ae}).finally(()=>{document.removeEventListener("visibilitychange",ae.trackPageVisibility)})})()}}},27880:(pe,h,o)=>{"use strict";o.d(h,{E5:()=>E,G0:()=>M,IT:()=>y,YD:()=>_,_k:()=>j,eY:()=>C,em:()=>I,kq:()=>P});var n=o(1528),i=o(4792),d=o(85348),a=o(26956),l=o(32828);const u="SHA-256",g=new Uint8Array([1,0,1]),v="0123456789abcdef",p=new Uint32Array(1),S={name:"RSASSA-PKCS1-v1_5",hash:u,modulusLength:2048,publicExponent:g};function C(N){if(!("crypto"in window))throw N.error("BrowserCrypto: crypto interface is unavailable"),(0,i.Wq)(l.cryptoNonExistent);N.verbose("BrowserCrypto: modern crypto interface available")}function _(N,O,H){return f.apply(this,arguments)}function f(){return(f=(0,n.c)(function*(N,O,H){O?.addQueueMeasurement(d.Xv.Sha256Digest,H);const te=(new TextEncoder).encode(N);return window.crypto.subtle.digest(u,te)})).apply(this,arguments)}function y(N){return window.crypto.getRandomValues(N)}function b(){return window.crypto.getRandomValues(p),p[0]}function E(){const N=Date.now(),O=1024*b()+(1023&b()),H=new Uint8Array(16),G=Math.trunc(O/2**30),te=O&2**30-1,ue=b();H[0]=N/2**40,H[1]=N/2**32,H[2]=N/2**24,H[3]=N/65536,H[4]=N/256,H[5]=N,H[6]=112|G>>>8,H[7]=G,H[8]=128|te>>>24,H[9]=te>>>16,H[10]=te>>>8,H[11]=te,H[12]=ue>>>24,H[13]=ue>>>16,H[14]=ue>>>8,H[15]=ue;let se="";for(let K=0;K>>4),se+=v.charAt(15&H[K]),(3===K||5===K||7===K||9===K)&&(se+="-");return se}function M(N,O){return A.apply(this,arguments)}function A(){return(A=(0,n.c)(function*(N,O){return window.crypto.subtle.generateKey(S,N,O)})).apply(this,arguments)}function I(N){return F.apply(this,arguments)}function F(){return(F=(0,n.c)(function*(N){return window.crypto.subtle.exportKey(a.eG,N)})).apply(this,arguments)}function j(N,O,H){return T.apply(this,arguments)}function T(){return(T=(0,n.c)(function*(N,O,H){return window.crypto.subtle.importKey(a.eG,N,S,O,H)})).apply(this,arguments)}function P(N,O){return x.apply(this,arguments)}function x(){return(x=(0,n.c)(function*(N,O){return window.crypto.subtle.sign(S,N,O)})).apply(this,arguments)}},7184:(pe,h,o)=>{"use strict";o.d(h,{A:()=>F});var n=o(1528),i=o(85348),d=o(66936);const a="missing_kid_error",l="missing_alg_error",e={[a]:"The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided.",[l]:"The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."};class u extends d.WM{constructor(P,x){super(P,x),this.name="JoseHeaderError",Object.setPrototypeOf(this,u.prototype)}}function c(T){return new u(T,e[T])}var g=o(34739);class v{constructor(P){this.typ=P.typ,this.alg=P.alg,this.kid=P.kid}static getShrHeaderString(P){if(!P.kid)throw c(a);if(!P.alg)throw c(l);const x=new v({typ:P.typ||g.Gu.Pop,kid:P.kid,alg:P.alg});return JSON.stringify(x)}}var p=o(37988),S=o(55084),C=o(27880),_=o(4792),f=o(26956),y=o(32828);class b{constructor(){this.dbName=f.f6,this.version=f.gV,this.tableName=f.eQ,this.dbOpen=!1}open(){var P=this;return(0,n.c)(function*(){return new Promise((x,N)=>{const O=window.indexedDB.open(P.dbName,P.version);O.addEventListener("upgradeneeded",H=>{H.target.result.createObjectStore(P.tableName)}),O.addEventListener("success",H=>{P.db=H.target.result,P.dbOpen=!0,x()}),O.addEventListener("error",()=>N((0,_.Wq)(y.databaseUnavailable)))})})()}closeConnection(){const P=this.db;P&&this.dbOpen&&(P.close(),this.dbOpen=!1)}validateDbIsOpen(){var P=this;return(0,n.c)(function*(){if(!P.dbOpen)return P.open()})()}getItem(P){var x=this;return(0,n.c)(function*(){return yield x.validateDbIsOpen(),new Promise((N,O)=>{if(!x.db)return O((0,_.Wq)(y.databaseNotOpen));const te=x.db.transaction([x.tableName],"readonly").objectStore(x.tableName).get(P);te.addEventListener("success",ue=>{const se=ue;x.closeConnection(),N(se.target.result)}),te.addEventListener("error",ue=>{x.closeConnection(),O(ue)})})})()}setItem(P,x){var N=this;return(0,n.c)(function*(){return yield N.validateDbIsOpen(),new Promise((O,H)=>{if(!N.db)return H((0,_.Wq)(y.databaseNotOpen));const ue=N.db.transaction([N.tableName],"readwrite").objectStore(N.tableName).put(x,P);ue.addEventListener("success",()=>{N.closeConnection(),O()}),ue.addEventListener("error",se=>{N.closeConnection(),H(se)})})})()}removeItem(P){var x=this;return(0,n.c)(function*(){return yield x.validateDbIsOpen(),new Promise((N,O)=>{if(!x.db)return O((0,_.Wq)(y.databaseNotOpen));const te=x.db.transaction([x.tableName],"readwrite").objectStore(x.tableName).delete(P);te.addEventListener("success",()=>{x.closeConnection(),N()}),te.addEventListener("error",ue=>{x.closeConnection(),O(ue)})})})()}getKeys(){var P=this;return(0,n.c)(function*(){return yield P.validateDbIsOpen(),new Promise((x,N)=>{if(!P.db)return N((0,_.Wq)(y.databaseNotOpen));const G=P.db.transaction([P.tableName],"readonly").objectStore(P.tableName).getAllKeys();G.addEventListener("success",te=>{const ue=te;P.closeConnection(),x(ue.target.result)}),G.addEventListener("error",te=>{P.closeConnection(),N(te)})})})()}containsKey(P){var x=this;return(0,n.c)(function*(){return yield x.validateDbIsOpen(),new Promise((N,O)=>{if(!x.db)return O((0,_.Wq)(y.databaseNotOpen));const te=x.db.transaction([x.tableName],"readonly").objectStore(x.tableName).count(P);te.addEventListener("success",ue=>{const se=ue;x.closeConnection(),N(1===se.target.result)}),te.addEventListener("error",ue=>{x.closeConnection(),O(ue)})})})()}deleteDatabase(){var P=this;return(0,n.c)(function*(){return P.db&&P.dbOpen&&P.closeConnection(),new Promise((x,N)=>{const O=window.indexedDB.deleteDatabase(f.f6);O.addEventListener("success",()=>x(!0)),O.addEventListener("blocked",()=>x(!0)),O.addEventListener("error",()=>N(!1))})})()}}var E=o(61744);class M{constructor(P,x){this.inMemoryCache=new E.W,this.indexedDBCache=new b,this.logger=P,this.storeName=x}handleDatabaseAccessError(P){if(!(P instanceof _.G&&P.errorCode===y.databaseUnavailable))throw P;this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.")}getItem(P){var x=this;return(0,n.c)(function*(){const N=x.inMemoryCache.getItem(P);if(!N)try{return x.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),yield x.indexedDBCache.getItem(P)}catch(O){x.handleDatabaseAccessError(O)}return N})()}setItem(P,x){var N=this;return(0,n.c)(function*(){N.inMemoryCache.setItem(P,x);try{yield N.indexedDBCache.setItem(P,x)}catch(O){N.handleDatabaseAccessError(O)}})()}removeItem(P){var x=this;return(0,n.c)(function*(){x.inMemoryCache.removeItem(P);try{yield x.indexedDBCache.removeItem(P)}catch(N){x.handleDatabaseAccessError(N)}})()}getKeys(){var P=this;return(0,n.c)(function*(){const x=P.inMemoryCache.getKeys();if(0===x.length)try{return P.logger.verbose("In-memory cache is empty, now querying persistent storage."),yield P.indexedDBCache.getKeys()}catch(N){P.handleDatabaseAccessError(N)}return x})()}containsKey(P){var x=this;return(0,n.c)(function*(){const N=x.inMemoryCache.containsKey(P);if(!N)try{return x.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),yield x.indexedDBCache.containsKey(P)}catch(O){x.handleDatabaseAccessError(O)}return N})()}clearInMemory(){this.logger.verbose(`Deleting in-memory keystore ${this.storeName}`),this.inMemoryCache.clear(),this.logger.verbose(`In-memory keystore ${this.storeName} deleted`)}clearPersistent(){var P=this;return(0,n.c)(function*(){try{P.logger.verbose("Deleting persistent keystore");const x=yield P.indexedDBCache.deleteDatabase();return x&&P.logger.verbose("Persistent keystore deleted"),x}catch(x){return P.handleDatabaseAccessError(x),!1}})()}}class I{constructor(P){this.logger=P,this.asymmetricKeys=new M(this.logger,"asymmetricKeys"),this.symmetricKeys=new M(this.logger,"symmetricKeys")}clear(){var P=this;return(0,n.c)(function*(){P.asymmetricKeys.clearInMemory(),P.symmetricKeys.clearInMemory();try{return yield P.asymmetricKeys.clearPersistent(),!0}catch(x){return x instanceof Error?P.logger.error(`Clearing keystore failed with error: ${x.message}`):P.logger.error("Clearing keystore failed with unknown error"),!1}})()}}let F=(()=>{class T{constructor(x,N){this.logger=x,(0,C.eY)(x),this.cache=new I(this.logger),this.performanceClient=N}createNewGuid(){return(0,C.E5)()}base64Encode(x){return(0,p.c9)(x)}base64Decode(x){return(0,S.W)(x)}getPublicKeyThumbprint(x){var N=this;return(0,n.c)(function*(){const O=N.performanceClient?.startMeasurement(i.Xv.CryptoOptsGetPublicKeyThumbprint,x.correlationId),H=yield(0,C.G0)(T.EXTRACTABLE,T.POP_KEY_USAGES),G=yield(0,C.em)(H.publicKey),ue=j({e:G.e,kty:G.kty,n:G.n}),se=yield N.hashString(ue),K=yield(0,C.em)(H.privateKey),Z=yield(0,C._k)(K,!1,["sign"]);return yield N.cache.asymmetricKeys.setItem(se,{privateKey:Z,publicKey:H.publicKey,requestMethod:x.resourceRequestMethod,requestUri:x.resourceRequestUri}),O&&O.end({success:!0}),se})()}removeTokenBindingKey(x){var N=this;return(0,n.c)(function*(){return yield N.cache.asymmetricKeys.removeItem(x),!(yield N.cache.asymmetricKeys.containsKey(x))})()}clearKeystore(){var x=this;return(0,n.c)(function*(){return x.cache.clear()})()}signJwt(x,N,O,H){var G=this;return(0,n.c)(function*(){const te=G.performanceClient?.startMeasurement(i.Xv.CryptoOptsSignJwt,H),ue=yield G.cache.asymmetricKeys.getItem(N);if(!ue)throw(0,_.Wq)(y.cryptoKeyNotFound);const se=yield(0,C.em)(ue.publicKey),K=j(se),Z=(0,p.OW)(JSON.stringify({kid:N})),re=v.getShrHeaderString({...O?.header,alg:se.alg,kid:Z}),J=(0,p.OW)(re);x.cnf={jwk:JSON.parse(K)};const $=`${J}.${(0,p.OW)(JSON.stringify(x))}`,ee=(new TextEncoder).encode($),we=yield(0,C.kq)(ue.privateKey,ee),Oe=`${$}.${(0,p.gV)(new Uint8Array(we))}`;return te&&te.end({success:!0}),Oe})()}hashString(x){return(0,n.c)(function*(){const N=yield(0,C.YD)(x),O=new Uint8Array(N);return(0,p.gV)(O)})()}}return T.POP_KEY_USAGES=["sign","verify"],T.EXTRACTABLE=!0,T})();function j(T){return JSON.stringify(T,Object.keys(T).sort())}},55084:(pe,h,o)=>{"use strict";o.d(h,{W:()=>d});var n=o(4792),i=o(32828);function d(l){return(new TextDecoder).decode(function a(l){let e=l.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw(0,n.Wq)(i.invalidBase64String)}const u=atob(e);return Uint8Array.from(u,c=>c.codePointAt(0)||0)}(l))}},37988:(pe,h,o)=>{"use strict";function n(l){return encodeURIComponent(d(l).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function i(l){return a(l).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function d(l){return a((new TextEncoder).encode(l))}function a(l){const e=Array.from(l,u=>String.fromCodePoint(u)).join("");return btoa(e)}o.d(h,{OW:()=>n,c9:()=>d,gV:()=>i})},4792:(pe,h,o)=>{"use strict";o.d(h,{G:()=>e,Wq:()=>u,aC:()=>l});var n=o(66936),i=o(32828);const d="For more visit: aka.ms/msaljs/browser-errors",a={[i.pkceNotCreated]:"The PKCE code challenge and verifier could not be generated.",[i.cryptoNonExistent]:"The crypto object or function is not available.",[i.emptyNavigateUri]:"Navigation URI is empty. Please check stack trace for more info.",[i.hashEmptyError]:`Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. ${d}`,[i.noStateInHash]:"Hash does not contain state. Please verify that the request originated from msal.",[i.hashDoesNotContainKnownProperties]:`Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. ${d}`,[i.unableToParseState]:"Unable to parse state. Please verify that the request originated from msal.",[i.stateInteractionTypeMismatch]:"Hash contains state but the interaction type does not match the caller.",[i.interactionInProgress]:`Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. ${d}`,[i.popupWindowError]:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser.",[i.emptyWindowError]:"window.open returned null or undefined window object.",[i.userCancelled]:"User cancelled the flow.",[i.monitorPopupTimeout]:`Token acquisition in popup failed due to timeout. ${d}`,[i.monitorWindowTimeout]:`Token acquisition in iframe failed due to timeout. ${d}`,[i.redirectInIframe]:"Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs.",[i.blockIframeReload]:`Request was blocked inside an iframe because MSAL detected an authentication response. ${d}`,[i.blockNestedPopups]:"Request was blocked inside a popup because MSAL detected it was running in a popup.",[i.iframeClosedPrematurely]:"The iframe being monitored was closed prematurely.",[i.silentLogoutUnsupported]:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead.",[i.noAccountError]:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.",[i.silentPromptValueError]:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'.",[i.noTokenRequestCacheError]:"No token request found in cache.",[i.unableToParseTokenRequestCacheError]:"The cached token request could not be parsed.",[i.noCachedAuthorityError]:"No cached authority found.",[i.authRequestNotSetError]:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler",[i.invalidCacheType]:"Invalid cache type",[i.nonBrowserEnvironment]:"Login and token requests are not supported in non-browser environments.",[i.databaseNotOpen]:"Database is not open!",[i.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[i.postRequestFailed]:"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'",[i.getRequestFailed]:"Network request failed. Please check the network trace to determine root cause.",[i.failedToParseResponse]:"Failed to parse network response. Check network trace.",[i.unableToLoadToken]:"Error loading token to cache.",[i.cryptoKeyNotFound]:"Cryptographic Key or Keypair not found in browser storage.",[i.authCodeRequired]:"An authorization code must be provided (as the `code` property on the request) to this flow.",[i.authCodeOrNativeAccountIdRequired]:"An authorization code or nativeAccountId must be provided to this flow.",[i.spaCodeAndNativeAccountIdPresent]:"Request cannot contain both spa code and native account id.",[i.databaseUnavailable]:"IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts.",[i.unableToAcquireTokenFromNativePlatform]:`Unable to acquire token from native platform. ${d}`,[i.nativeHandshakeTimeout]:"Timed out while attempting to establish connection to browser extension",[i.nativeExtensionNotInstalled]:"Native extension is not installed. If you think this is a mistake call the initialize function.",[i.nativeConnectionNotEstablished]:`Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). ${d}`,[i.uninitializedPublicClientApplication]:`You must call and await the initialize function before attempting to call any other MSAL API. ${d}`,[i.nativePromptNotSupported]:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow.",[i.invalidBase64String]:"Invalid base64 encoded string."},l={pkceNotGenerated:{code:i.pkceNotCreated,desc:a[i.pkceNotCreated]},cryptoDoesNotExist:{code:i.cryptoNonExistent,desc:a[i.cryptoNonExistent]},emptyNavigateUriError:{code:i.emptyNavigateUri,desc:a[i.emptyNavigateUri]},hashEmptyError:{code:i.hashEmptyError,desc:a[i.hashEmptyError]},hashDoesNotContainStateError:{code:i.noStateInHash,desc:a[i.noStateInHash]},hashDoesNotContainKnownPropertiesError:{code:i.hashDoesNotContainKnownProperties,desc:a[i.hashDoesNotContainKnownProperties]},unableToParseStateError:{code:i.unableToParseState,desc:a[i.unableToParseState]},stateInteractionTypeMismatchError:{code:i.stateInteractionTypeMismatch,desc:a[i.stateInteractionTypeMismatch]},interactionInProgress:{code:i.interactionInProgress,desc:a[i.interactionInProgress]},popupWindowError:{code:i.popupWindowError,desc:a[i.popupWindowError]},emptyWindowError:{code:i.emptyWindowError,desc:a[i.emptyWindowError]},userCancelledError:{code:i.userCancelled,desc:a[i.userCancelled]},monitorPopupTimeoutError:{code:i.monitorPopupTimeout,desc:a[i.monitorPopupTimeout]},monitorIframeTimeoutError:{code:i.monitorWindowTimeout,desc:a[i.monitorWindowTimeout]},redirectInIframeError:{code:i.redirectInIframe,desc:a[i.redirectInIframe]},blockTokenRequestsInHiddenIframeError:{code:i.blockIframeReload,desc:a[i.blockIframeReload]},blockAcquireTokenInPopupsError:{code:i.blockNestedPopups,desc:a[i.blockNestedPopups]},iframeClosedPrematurelyError:{code:i.iframeClosedPrematurely,desc:a[i.iframeClosedPrematurely]},silentLogoutUnsupportedError:{code:i.silentLogoutUnsupported,desc:a[i.silentLogoutUnsupported]},noAccountError:{code:i.noAccountError,desc:a[i.noAccountError]},silentPromptValueError:{code:i.silentPromptValueError,desc:a[i.silentPromptValueError]},noTokenRequestCacheError:{code:i.noTokenRequestCacheError,desc:a[i.noTokenRequestCacheError]},unableToParseTokenRequestCacheError:{code:i.unableToParseTokenRequestCacheError,desc:a[i.unableToParseTokenRequestCacheError]},noCachedAuthorityError:{code:i.noCachedAuthorityError,desc:a[i.noCachedAuthorityError]},authRequestNotSet:{code:i.authRequestNotSetError,desc:a[i.authRequestNotSetError]},invalidCacheType:{code:i.invalidCacheType,desc:a[i.invalidCacheType]},notInBrowserEnvironment:{code:i.nonBrowserEnvironment,desc:a[i.nonBrowserEnvironment]},databaseNotOpen:{code:i.databaseNotOpen,desc:a[i.databaseNotOpen]},noNetworkConnectivity:{code:i.noNetworkConnectivity,desc:a[i.noNetworkConnectivity]},postRequestFailed:{code:i.postRequestFailed,desc:a[i.postRequestFailed]},getRequestFailed:{code:i.getRequestFailed,desc:a[i.getRequestFailed]},failedToParseNetworkResponse:{code:i.failedToParseResponse,desc:a[i.failedToParseResponse]},unableToLoadTokenError:{code:i.unableToLoadToken,desc:a[i.unableToLoadToken]},signingKeyNotFoundInStorage:{code:i.cryptoKeyNotFound,desc:a[i.cryptoKeyNotFound]},authCodeRequired:{code:i.authCodeRequired,desc:a[i.authCodeRequired]},authCodeOrNativeAccountRequired:{code:i.authCodeOrNativeAccountIdRequired,desc:a[i.authCodeOrNativeAccountIdRequired]},spaCodeAndNativeAccountPresent:{code:i.spaCodeAndNativeAccountIdPresent,desc:a[i.spaCodeAndNativeAccountIdPresent]},databaseUnavailable:{code:i.databaseUnavailable,desc:a[i.databaseUnavailable]},unableToAcquireTokenFromNativePlatform:{code:i.unableToAcquireTokenFromNativePlatform,desc:a[i.unableToAcquireTokenFromNativePlatform]},nativeHandshakeTimeout:{code:i.nativeHandshakeTimeout,desc:a[i.nativeHandshakeTimeout]},nativeExtensionNotInstalled:{code:i.nativeExtensionNotInstalled,desc:a[i.nativeExtensionNotInstalled]},nativeConnectionNotEstablished:{code:i.nativeConnectionNotEstablished,desc:a[i.nativeConnectionNotEstablished]},uninitializedPublicClientApplication:{code:i.uninitializedPublicClientApplication,desc:a[i.uninitializedPublicClientApplication]},nativePromptNotSupported:{code:i.nativePromptNotSupported,desc:a[i.nativePromptNotSupported]},invalidBase64StringError:{code:i.invalidBase64String,desc:a[i.invalidBase64String]}};class e extends n.WM{constructor(g){super(g,a[g]),Object.setPrototypeOf(this,e.prototype),this.name="BrowserAuthError"}}function u(c){return new e(c)}},32828:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{authCodeOrNativeAccountIdRequired:()=>re,authCodeRequired:()=>Z,authRequestNotSetError:()=>P,blockIframeReload:()=>y,blockNestedPopups:()=>b,cryptoKeyNotFound:()=>K,cryptoNonExistent:()=>i,databaseNotOpen:()=>O,databaseUnavailable:()=>Y,emptyNavigateUri:()=>d,emptyWindowError:()=>p,failedToParseResponse:()=>ue,getRequestFailed:()=>te,hashDoesNotContainKnownProperties:()=>e,hashEmptyError:()=>a,iframeClosedPrematurely:()=>E,interactionInProgress:()=>g,invalidBase64String:()=>ve,invalidCacheType:()=>x,monitorPopupTimeout:()=>C,monitorWindowTimeout:()=>_,nativeConnectionNotEstablished:()=>we,nativeExtensionNotInstalled:()=>ee,nativeHandshakeTimeout:()=>le,nativePromptNotSupported:()=>Oe,noAccountError:()=>A,noCachedAuthorityError:()=>T,noNetworkConnectivity:()=>H,noStateInHash:()=>l,noTokenRequestCacheError:()=>F,nonBrowserEnvironment:()=>N,pkceNotCreated:()=>n,popupWindowError:()=>v,postRequestFailed:()=>G,redirectInIframe:()=>f,silentLogoutUnsupported:()=>M,silentPromptValueError:()=>I,spaCodeAndNativeAccountIdPresent:()=>J,stateInteractionTypeMismatch:()=>c,unableToAcquireTokenFromNativePlatform:()=>$,unableToLoadToken:()=>se,unableToParseState:()=>u,unableToParseTokenRequestCacheError:()=>j,uninitializedPublicClientApplication:()=>ye,userCancelled:()=>S});const n="pkce_not_created",i="crypto_nonexistent",d="empty_navigate_uri",a="hash_empty_error",l="no_state_in_hash",e="hash_does_not_contain_known_properties",u="unable_to_parse_state",c="state_interaction_type_mismatch",g="interaction_in_progress",v="popup_window_error",p="empty_window_error",S="user_cancelled",C="monitor_popup_timeout",_="monitor_window_timeout",f="redirect_in_iframe",y="block_iframe_reload",b="block_nested_popups",E="iframe_closed_prematurely",M="silent_logout_unsupported",A="no_account_error",I="silent_prompt_value_error",F="no_token_request_cache_error",j="unable_to_parse_token_request_cache_error",T="no_cached_authority_error",P="auth_request_not_set_error",x="invalid_cache_type",N="non_browser_environment",O="database_not_open",H="no_network_connectivity",G="post_request_failed",te="get_request_failed",ue="failed_to_parse_response",se="unable_to_load_token",K="crypto_key_not_found",Z="auth_code_required",re="auth_code_or_nativeAccountId_required",J="spa_code_and_nativeAccountId_present",Y="database_unavailable",$="unable_to_acquire_token_from_native_platform",le="native_handshake_timeout",ee="native_extension_not_installed",we="native_connection_not_established",ye="uninitialized_public_client_application",Oe="native_prompt_not_supported",ve="invalid_base64_string"},72592:(pe,h,o)=>{"use strict";o.d(h,{aO:()=>l,c9:()=>a,cf:()=>e});var n=o(66936),i=o(85288);const d={[i.storageNotSupported]:"Given storage configuration option was not supported.",[i.stubbedPublicClientApplicationCalled]:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",[i.inMemRedirectUnavailable]:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."},a={storageNotSupportedError:{code:i.storageNotSupported,desc:d[i.storageNotSupported]},stubPcaInstanceCalled:{code:i.stubbedPublicClientApplicationCalled,desc:d[i.stubbedPublicClientApplicationCalled]},inMemRedirectUnavailable:{code:i.inMemRedirectUnavailable,desc:d[i.inMemRedirectUnavailable]}};class l extends n.WM{constructor(c,g){super(c,g),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,l.prototype)}}function e(u){return new l(u,d[u])}},85288:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{inMemRedirectUnavailable:()=>d,storageNotSupported:()=>n,stubbedPublicClientApplicationCalled:()=>i});const n="storage_not_supported",i="stubbed_public_client_application_called",d="in_mem_redirect_unavailable"},85968:(pe,h,o)=>{"use strict";o.d(h,{c:()=>e});var n=o(34739),i=o(98416),d=o(6536),a=o(28612),l=o(27880);class e{constructor(c,g){this.eventCallbacks=new Map,this.logger=c,this.browserCrypto=g,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}addEventCallback(c){if(typeof window<"u"){const g=(0,l.E5)();return this.eventCallbacks.set(g,c),this.logger.verbose(`Event callback registered with id: ${g}`),g}return null}removeEventCallback(c){this.eventCallbacks.delete(c),this.logger.verbose(`Event callback ${c} removed.`)}enableAccountStorageEvents(){typeof window>"u"||(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))}disableAccountStorageEvents(){typeof window>"u"||(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))}emitEvent(c,g,v,p){if(typeof window<"u"){const S={eventType:c,interactionType:g||null,payload:v||null,error:p||null,timestamp:Date.now()};this.logger.info(`Emitting event: ${c}`),this.eventCallbacks.forEach((C,_)=>{this.logger.verbose(`Emitting event to callback ${_}: ${c}`),C.apply(null,[S])})}}handleAccountCacheChange(c){try{c.key?.includes(n.IH.ACTIVE_ACCOUNT_FILTERS)&&this.emitEvent(a.W.ACTIVE_ACCOUNT_CHANGED);const g=c.newValue||c.oldValue;if(!g)return;const v=JSON.parse(g);if("object"!=typeof v||!i.M.isAccountEntity(v))return;const S=d.B.toObject(new i.M,v).getAccountInfo();!c.oldValue&&c.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(a.W.ACCOUNT_ADDED,void 0,S)):!c.newValue&&c.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(a.W.ACCOUNT_REMOVED,void 0,S))}catch{return}}}},88904:(pe,h,o)=>{"use strict";o.d(h,{M:()=>d});var n=o(28612),i=o(26956);class d{static getInteractionStatusFromEvent(l,e){switch(l.eventType){case n.W.LOGIN_START:return i.Yz.Login;case n.W.SSO_SILENT_START:return i.Yz.SsoSilent;case n.W.ACQUIRE_TOKEN_START:if(l.interactionType===i.wV.Redirect||l.interactionType===i.wV.Popup)return i.Yz.AcquireToken;break;case n.W.HANDLE_REDIRECT_START:return i.Yz.HandleRedirect;case n.W.LOGOUT_START:return i.Yz.Logout;case n.W.SSO_SILENT_SUCCESS:case n.W.SSO_SILENT_FAILURE:if(e&&e!==i.Yz.SsoSilent)break;return i.Yz.None;case n.W.LOGOUT_END:if(e&&e!==i.Yz.Logout)break;return i.Yz.None;case n.W.HANDLE_REDIRECT_END:if(e&&e!==i.Yz.HandleRedirect)break;return i.Yz.None;case n.W.LOGIN_SUCCESS:case n.W.LOGIN_FAILURE:case n.W.ACQUIRE_TOKEN_SUCCESS:case n.W.ACQUIRE_TOKEN_FAILURE:case n.W.RESTORE_FROM_BFCACHE:if(l.interactionType===i.wV.Redirect||l.interactionType===i.wV.Popup){if(e&&e!==i.Yz.Login&&e!==i.Yz.AcquireToken)break;return i.Yz.None}}return null}}},28612:(pe,h,o)=>{"use strict";o.d(h,{W:()=>n});const n={INITIALIZE_START:"msal:initializeStart",INITIALIZE_END:"msal:initializeEnd",ACCOUNT_ADDED:"msal:accountAdded",ACCOUNT_REMOVED:"msal:accountRemoved",ACTIVE_ACCOUNT_CHANGED:"msal:activeAccountChanged",LOGIN_START:"msal:loginStart",LOGIN_SUCCESS:"msal:loginSuccess",LOGIN_FAILURE:"msal:loginFailure",ACQUIRE_TOKEN_START:"msal:acquireTokenStart",ACQUIRE_TOKEN_SUCCESS:"msal:acquireTokenSuccess",ACQUIRE_TOKEN_FAILURE:"msal:acquireTokenFailure",ACQUIRE_TOKEN_NETWORK_START:"msal:acquireTokenFromNetworkStart",SSO_SILENT_START:"msal:ssoSilentStart",SSO_SILENT_SUCCESS:"msal:ssoSilentSuccess",SSO_SILENT_FAILURE:"msal:ssoSilentFailure",ACQUIRE_TOKEN_BY_CODE_START:"msal:acquireTokenByCodeStart",ACQUIRE_TOKEN_BY_CODE_SUCCESS:"msal:acquireTokenByCodeSuccess",ACQUIRE_TOKEN_BY_CODE_FAILURE:"msal:acquireTokenByCodeFailure",HANDLE_REDIRECT_START:"msal:handleRedirectStart",HANDLE_REDIRECT_END:"msal:handleRedirectEnd",POPUP_OPENED:"msal:popupOpened",LOGOUT_START:"msal:logoutStart",LOGOUT_SUCCESS:"msal:logoutSuccess",LOGOUT_FAILURE:"msal:logoutFailure",LOGOUT_END:"msal:logoutEnd",RESTORE_FROM_BFCACHE:"msal:restoreFromBFCache"}},21112:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{AccountEntity:()=>ot.M,ApiId:()=>e.Ed,AuthError:()=>tt.WM,AuthErrorCodes:()=>mt,AuthErrorMessage:()=>tt.GM,AuthenticationHeaderParser:()=>Ze,AuthenticationScheme:()=>$.me,AzureCloudInstance:()=>Qe.C,BrowserAuthError:()=>P.G,BrowserAuthErrorCodes:()=>_n,BrowserAuthErrorMessage:()=>P.aC,BrowserCacheLocation:()=>e.Ir,BrowserConfigurationAuthError:()=>x.aO,BrowserConfigurationAuthErrorCodes:()=>N,BrowserConfigurationAuthErrorMessage:()=>x.c9,BrowserPerformanceClient:()=>Oe,BrowserPerformanceMeasurement:()=>ve.BrowserPerformanceMeasurement,BrowserStorage:()=>te.K,BrowserUtils:()=>n,CacheLookupPolicy:()=>e.wd,ClientAuthError:()=>Ct.oJ,ClientAuthErrorCodes:()=>Xe,ClientAuthErrorMessage:()=>Ct.m6,ClientConfigurationError:()=>_e.Ou,ClientConfigurationErrorCodes:()=>Pe,ClientConfigurationErrorMessage:()=>_e.OA,DEFAULT_IFRAME_TIMEOUT_MS:()=>a.Ks,EventMessageUtils:()=>ue.M,EventType:()=>se.W,InteractionRequiredAuthError:()=>nt.uw,InteractionRequiredAuthErrorCodes:()=>Pt,InteractionRequiredAuthErrorMessage:()=>nt.gx,InteractionStatus:()=>e.Yz,InteractionType:()=>e.wV,JsonWebTokenTypes:()=>$.Gu,LogLevel:()=>d.G,Logger:()=>d.Y,MemoryStorage:()=>G.W,NavigationClient:()=>H.m,OIDC_DEFAULT_SCOPES:()=>$.ac,PerformanceEvents:()=>re.Xv,PromptValue:()=>$.GI,ProtocolMode:()=>tn.g,PublicClientApplication:()=>b,PublicClientNext:()=>T,ServerError:()=>hn.s,ServerResponseType:()=>$.eE,SignedHttpRequest:()=>Z,StringUtils:()=>wn.e,UrlString:()=>An._,WrapperSKU:()=>e.Lm,stubbedPublicClientApplication:()=>O,version:()=>l.W});var n=o(84644),i=o(1528),d=o(73364),a=o(48124),l=o(69096),e=o(26956);class u{static loggerCallback(ht,Ue){switch(ht){case d.G.Error:return void console.error(Ue);case d.G.Info:return void console.info(Ue);case d.G.Verbose:return void console.debug(Ue);case d.G.Warning:return void console.warn(Ue);default:return void console.log(Ue)}}constructor(ht){let Ue;this.browserEnvironment=typeof window<"u",this.config=(0,a.k5)(ht,this.browserEnvironment);try{Ue=window[e.Ir.SessionStorage]}catch{}const Ee=Ue?.getItem(e.Ip),Te=Ue?.getItem(e.k9)?.toLowerCase(),$e="true"===Te||"false"!==Te&&void 0,je={...this.config.system.loggerOptions},gt=Ee&&Object.keys(d.G).includes(Ee)?d.G[Ee]:void 0;gt&&(je.loggerCallback=u.loggerCallback,je.logLevel=gt),void 0!==$e&&(je.piiLoggingEnabled=$e),this.logger=new d.Y(je,l.N,l.W),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}}var c=o(59048);let g=(()=>{class qt{static initializeNestedAppAuthBridge(){return(0,i.c)(function*(){if(void 0===window)throw new Error("window is undefined");if(void 0===window.nestedAppAuthBridge)throw new Error("window.nestedAppAuthBridge is undefined");if(void 0===window.crypto)throw new Error("window.crypto is undefined");try{qt.crypto=window.crypto,window.nestedAppAuthBridge.addEventListener("message",Ee=>{const $e=JSON.parse("string"==typeof Ee?Ee:Ee.data),je=qt.bridgeRequests.find(gt=>gt.requestId===$e.requestId);void 0!==je&&(qt.bridgeRequests.splice(qt.bridgeRequests.indexOf(je),1),$e.success?je.resolve($e):je.reject($e.error))});const Ue=yield new Promise((Ee,Te)=>{const $e={messageType:"NestedAppAuthRequest",method:"GetInitContext",requestId:qt.getRandomId()};qt.bridgeRequests.push({requestId:$e.requestId,method:$e.method,resolve:Ee,reject:Te}),window.nestedAppAuthBridge.postMessage(JSON.stringify($e))});return qt.validateBridgeResultOrThrow(Ue.initContext)}catch(Ue){throw window.console.log(Ue),Ue}})()}static getRandomId(){return qt.crypto.randomUUID()}getTokenInteractive(Ue){return this.getToken("GetTokenPopup",Ue)}getTokenSilent(Ue){return this.getToken("GetToken",Ue)}getToken(Ue,Ee){var Te=this;return(0,i.c)(function*(){const $e=yield Te.sendRequest(Ue,{tokenParams:Ee});return{token:qt.validateBridgeResultOrThrow($e.token),account:qt.validateBridgeResultOrThrow($e.account)}})()}getActiveAccount(){var Ue=this;return(0,i.c)(function*(){const Ee=yield Ue.sendRequest("GetActiveAccount");return qt.validateBridgeResultOrThrow(Ee.account)})()}getHostCapabilities(){return this.capabilities??null}sendRequest(Ue,Ee){const Te={messageType:"NestedAppAuthRequest",method:Ue,requestId:qt.getRandomId(),...Ee};return new Promise((je,gt)=>{qt.bridgeRequests.push({requestId:Te.requestId,method:Te.method,resolve:je,reject:gt}),window.nestedAppAuthBridge.postMessage(JSON.stringify(Te))})}static validateBridgeResultOrThrow(Ue){if(void 0===Ue)throw{status:c.I.NestedAppAuthUnavailable};return Ue}constructor(Ue,Ee,Te){this.sdkName=Ue,this.sdkVersion=Ee,this.capabilities=Te}static create(){return(0,i.c)(function*(){const Ue=yield qt.initializeNestedAppAuthBridge();return new qt(Ue.sdkName,Ue.sdkVersion,Ue.capabilities)})()}}return qt.bridgeRequests=[],qt})(),v=(()=>{class qt extends u{constructor(){super(...arguments),this.bridgeProxy=void 0,this.activeAccount=void 0}getModuleName(){return qt.MODULE_NAME}getId(){return qt.ID}getBridgeProxy(){return this.bridgeProxy}getActiveAccount(){return this.activeAccount}setActiveAccount(Ue){this.activeAccount=Ue}initialize(){var Ue=this;return(0,i.c)(function*(){try{if(typeof window<"u"){const Ee=yield g.create();try{Ee.getHostCapabilities()?.queryAccount&&(Ue.activeAccount=yield Ee.getActiveAccount())}catch{Ue.activeAccount=void 0}Ue.bridgeProxy=Ee,Ue.available=void 0!==Ee}else Ue.available=!1}catch{Ue.available=!1}finally{return Ue.available}})()}}return qt.MODULE_NAME="",qt.ID="TeamsAppOperatingContext",qt})(),p=(()=>{class qt extends u{getModuleName(){return qt.MODULE_NAME}getId(){return qt.ID}initialize(){var Ue=this;return(0,i.c)(function*(){return Ue.available=typeof window<"u",Ue.available})()}}return qt.MODULE_NAME="",qt.ID="StandardOperatingContext",qt})();function C(){return(C=(0,i.c)(function*(qt){const ht=new p(qt);return yield ht.initialize(),(yield Promise.resolve().then(o.bind(o,65304))).StandardController.createController(ht)})).apply(this,arguments)}function _(qt){return f.apply(this,arguments)}function f(){return(f=(0,i.c)(function*(qt){const ht=new p(qt),Ue=new v(qt),Ee=[ht.initialize(),Ue.initialize()];return yield Promise.all(Ee),Ue.isAvailable()&&Ue.getConfig().auth.supportsNestedAppAuth?(yield o.e(1620).then(o.bind(o,61620))).NestedAppAuthController.createController(Ue):ht.isAvailable()?(yield Promise.resolve().then(o.bind(o,65304))).StandardController.createController(ht):null})).apply(this,arguments)}var y=o(65304);class b{static createPublicClientApplication(ht){return(0,i.c)(function*(){const Ue=yield function S(qt){return C.apply(this,arguments)}(ht);return new b(ht,Ue)})()}constructor(ht,Ue){if(Ue)this.controller=Ue;else{const Ee=new p(ht);this.controller=new y.StandardController(Ee)}}initialize(){var ht=this;return(0,i.c)(function*(){return ht.controller.initialize()})()}acquireTokenPopup(ht){var Ue=this;return(0,i.c)(function*(){return Ue.controller.acquireTokenPopup(ht)})()}acquireTokenRedirect(ht){return this.controller.acquireTokenRedirect(ht)}acquireTokenSilent(ht){return this.controller.acquireTokenSilent(ht)}acquireTokenByCode(ht){return this.controller.acquireTokenByCode(ht)}addEventCallback(ht){return this.controller.addEventCallback(ht)}removeEventCallback(ht){return this.controller.removeEventCallback(ht)}addPerformanceCallback(ht){return this.controller.addPerformanceCallback(ht)}removePerformanceCallback(ht){return this.controller.removePerformanceCallback(ht)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(ht){return this.controller.getAccount(ht)}getAccountByHomeId(ht){return this.controller.getAccountByHomeId(ht)}getAccountByLocalId(ht){return this.controller.getAccountByLocalId(ht)}getAccountByUsername(ht){return this.controller.getAccountByUsername(ht)}getAllAccounts(ht){return this.controller.getAllAccounts(ht)}handleRedirectPromise(ht){return this.controller.handleRedirectPromise(ht)}loginPopup(ht){return this.controller.loginPopup(ht)}loginRedirect(ht){return this.controller.loginRedirect(ht)}logout(ht){return this.controller.logout(ht)}logoutRedirect(ht){return this.controller.logoutRedirect(ht)}logoutPopup(ht){return this.controller.logoutPopup(ht)}ssoSilent(ht){return this.controller.ssoSilent(ht)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(ht){this.controller.setLogger(ht)}setActiveAccount(ht){this.controller.setActiveAccount(ht)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(ht,Ue){return this.controller.initializeWrapperLibrary(ht,Ue)}setNavigationClient(ht){this.controller.setNavigationClient(ht)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(ht,Ue){var Ee=this;return(0,i.c)(function*(){return Ee.controller.hydrateCache(ht,Ue)})()}clearCache(ht){return this.controller.clearCache(ht)}}var E=o(65172),M=o(69812),A=o(7184),I=o(85968);class F{constructor(ht){this.initialized=!1,this.operatingContext=ht,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=ht.getConfig(),this.logger=ht.getLogger(),this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new A.A(this.logger,this.performanceClient):E.K,this.browserStorage=this.isBrowserEnvironment?new M.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):(0,M.S)(this.config.auth.clientId,this.logger),this.eventHandler=new I.c(this.logger,this.browserCrypto)}getBrowserStorage(){return this.browserStorage}getEventHandler(){return this.eventHandler}getAccount(ht){return null}getAccountByHomeId(ht){return null}getAccountByLocalId(ht){return null}getAccountByUsername(ht){return null}getAllAccounts(){return[]}initialize(){return this.initialized=!0,Promise.resolve()}acquireTokenPopup(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenRedirect(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),Promise.resolve()}acquireTokenSilent(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByCode(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenNative(ht,Ue,Ee){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByRefreshToken(ht,Ue){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}addEventCallback(ht){return this.eventHandler.addEventCallback(ht)}removeEventCallback(ht){this.eventHandler.removeEventCallback(ht)}addPerformanceCallback(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),""}removePerformanceCallback(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),!0}enableAccountStorageEvents(){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}disableAccountStorageEvents(){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}handleRedirectPromise(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),Promise.resolve(null)}loginPopup(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}loginRedirect(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logout(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutRedirect(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutPopup(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}ssoSilent(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getTokenCache(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getLogger(){return this.logger}setLogger(ht){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}setActiveAccount(ht){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getActiveAccount(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),null}initializeWrapperLibrary(ht,Ue){this.browserStorage.setWrapperMetadata(ht,Ue)}setNavigationClient(ht){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getConfiguration(){return this.config}isBrowserEnv(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),!0}getBrowserCrypto(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getPerformanceClient(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getRedirectResponse(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}preflightBrowserEnvironmentCheck(ht,Ue){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}clearCache(ht){var Ue=this;return(0,i.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(Ue.initialized),(0,n.blockNonBrowserEnvironment)(Ue.isBrowserEnvironment)})()}hydrateCache(ht,Ue){var Ee=this;return(0,i.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(Ee.initialized),(0,n.blockNonBrowserEnvironment)(Ee.isBrowserEnvironment)})()}}let j=(()=>{class qt extends u{getModuleName(){return qt.MODULE_NAME}getId(){return qt.ID}initialize(){return(0,i.c)(function*(){return!0})()}}return qt.MODULE_NAME="",qt.ID="UnknownOperatingContext",qt})();class T{static createPublicClientApplication(ht){return(0,i.c)(function*(){const Ue=yield _(ht);let Ee;return Ee=null!==Ue?new T(ht,Ue):new T(ht),Ee})()}constructor(ht,Ue){if(this.configuration=ht,Ue)this.controller=Ue;else{const Ee=new j(ht);this.controller=new F(Ee)}}initialize(){var ht=this;return(0,i.c)(function*(){if(ht.controller instanceof F){const Ue=yield _(ht.configuration);return null!==Ue&&(ht.controller=Ue),ht.controller.initialize()}return Promise.resolve()})()}acquireTokenPopup(ht){var Ue=this;return(0,i.c)(function*(){return Ue.controller.acquireTokenPopup(ht)})()}acquireTokenRedirect(ht){return this.controller.acquireTokenRedirect(ht)}acquireTokenSilent(ht){return this.controller.acquireTokenSilent(ht)}acquireTokenByCode(ht){return this.controller.acquireTokenByCode(ht)}addEventCallback(ht){return this.controller.addEventCallback(ht)}removeEventCallback(ht){return this.controller.removeEventCallback(ht)}addPerformanceCallback(ht){return this.controller.addPerformanceCallback(ht)}removePerformanceCallback(ht){return this.controller.removePerformanceCallback(ht)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(ht){return this.controller.getAccount(ht)}getAccountByHomeId(ht){return this.controller.getAccountByHomeId(ht)}getAccountByLocalId(ht){return this.controller.getAccountByLocalId(ht)}getAccountByUsername(ht){return this.controller.getAccountByUsername(ht)}getAllAccounts(ht){return this.controller.getAllAccounts(ht)}handleRedirectPromise(ht){return this.controller.handleRedirectPromise(ht)}loginPopup(ht){return this.controller.loginPopup(ht)}loginRedirect(ht){return this.controller.loginRedirect(ht)}logout(ht){return this.controller.logout(ht)}logoutRedirect(ht){return this.controller.logoutRedirect(ht)}logoutPopup(ht){return this.controller.logoutPopup(ht)}ssoSilent(ht){return this.controller.ssoSilent(ht)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(ht){this.controller.setLogger(ht)}setActiveAccount(ht){this.controller.setActiveAccount(ht)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(ht,Ue){return this.controller.initializeWrapperLibrary(ht,Ue)}setNavigationClient(ht){this.controller.setNavigationClient(ht)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(ht,Ue){var Ee=this;return(0,i.c)(function*(){return Ee.controller.hydrateCache(ht,Ue)})()}clearCache(ht){return this.controller.clearCache(ht)}}var P=o(4792),x=o(72592),N=o(85288);const O={initialize:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),acquireTokenPopup:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),acquireTokenRedirect:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),acquireTokenSilent:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),acquireTokenByCode:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),getAllAccounts:()=>[],getAccountByHomeId:()=>null,getAccountByUsername:()=>null,getAccountByLocalId:()=>null,handleRedirectPromise:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),loginPopup:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),loginRedirect:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),logout:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),logoutRedirect:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),logoutPopup:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),ssoSilent:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),addEventCallback:()=>null,removeEventCallback:()=>{},addPerformanceCallback:()=>"",removePerformanceCallback:()=>!1,enableAccountStorageEvents:()=>{},disableAccountStorageEvents:()=>{},getTokenCache:()=>{throw(0,x.cf)(N.stubbedPublicClientApplicationCalled)},getLogger:()=>{throw(0,x.cf)(N.stubbedPublicClientApplicationCalled)},setLogger:()=>{},setActiveAccount:()=>{},getActiveAccount:()=>null,initializeWrapperLibrary:()=>{},setNavigationClient:()=>{},getConfiguration:()=>{throw(0,x.cf)(N.stubbedPublicClientApplicationCalled)},hydrateCache:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),clearCache:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled))};var H=o(64952),G=o(61744),te=o(71720),ue=o(88904),se=o(28612),K=o(46392);class Z{constructor(ht,Ue){this.logger=new d.Y(Ue&&Ue.loggerOptions||{},l.N,l.W),this.cryptoOps=new A.A(this.logger),this.popTokenGenerator=new K.w(this.cryptoOps),this.shrParameters=ht}generatePublicKeyThumbprint(){var ht=this;return(0,i.c)(function*(){const{kid:Ue}=yield ht.popTokenGenerator.generateKid(ht.shrParameters);return Ue})()}signRequest(ht,Ue,Ee){var Te=this;return(0,i.c)(function*(){return Te.popTokenGenerator.signPayload(ht,Ue,Te.shrParameters,Ee)})()}removeKeys(ht){var Ue=this;return(0,i.c)(function*(){return Ue.cryptoOps.removeTokenBindingKey(ht)})()}}var re=o(85348),J=o(35128);class Y{constructor(ht,Ue,Ee,Te,$e,je,gt){this.authority=Ue,this.libraryName=Te,this.libraryVersion=$e,this.applicationTelemetry=je,this.clientId=ht,this.logger=Ee,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.queueMeasurements=new Map,this.preQueueTimeByCorrelationId=new Map,this.intFields=gt||new Set;for(const He of re.ol)this.intFields.add(He)}startPerformanceMeasurement(ht,Ue){return{}}getPreQueueTime(ht,Ue){const Ee=this.preQueueTimeByCorrelationId.get(Ue);if(Ee){if(Ee.name===ht)return Ee.time;this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue time found for ${ht}, unable to add queue measurement`)}else this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue times found for correlationId: ${Ue}, unable to add queue measurement`)}calculateQueuedTime(ht,Ue){return ht<1?(this.logger.trace(`PerformanceClient: preQueueTime should be a positive integer and not ${ht}`),0):Ue<1?(this.logger.trace(`PerformanceClient: currentTime should be a positive integer and not ${Ue}`),0):Uethis.endMeasurement({...Te,...$e}),discard:()=>this.discardMeasurements(Te.correlationId),add:$e=>this.addFields($e,Te.correlationId),increment:$e=>this.incrementFields($e,Te.correlationId),event:Te,measurement:new J.W}}endMeasurement(ht){const Ue=this.eventsByCorrelationId.get(ht.correlationId);if(!Ue)return this.logger.trace(`PerformanceClient: Measurement not found for ${ht.eventId}`,ht.correlationId),null;const Ee=ht.eventId===Ue.eventId;let Te={totalQueueTime:0,totalQueueCount:0,manuallyCompletedCount:0};Ee?(Te=this.getQueueInfo(ht.correlationId),this.discardCache(Ue.correlationId)):Ue.incompleteSubMeasurements?.delete(ht.eventId);const $e=ht.durationMs||this.getDurationMs(ht.startTimeMs);if(this.logger.trace(`PerformanceClient: Performance measurement ended for ${ht.name}: ${$e} ms`,ht.correlationId),!Ee)return Ue[ht.name+"DurationMs"]=Math.floor($e),{...Ue};let je={...Ue,...ht},gt=0;return je.incompleteSubMeasurements?.forEach(He=>{this.logger.trace(`PerformanceClient: Incomplete submeasurement ${He.name} found for ${ht.name}`,je.correlationId),gt++}),je.incompleteSubMeasurements=void 0,je={...je,durationMs:Math.round($e),queuedTimeMs:Te.totalQueueTime,queuedCount:Te.totalQueueCount,queuedManuallyCompletedCount:Te.manuallyCompletedCount,status:re.W8.Completed,incompleteSubsCount:gt},this.truncateIntegralFields(je),this.emitEvents([je],ht.correlationId),je}addFields(ht,Ue){this.logger.trace("PerformanceClient: Updating static fields");const Ee=this.eventsByCorrelationId.get(Ue);Ee?this.eventsByCorrelationId.set(Ue,{...Ee,...ht}):this.logger.trace("PerformanceClient: Event not found for",Ue)}incrementFields(ht,Ue){this.logger.trace("PerformanceClient: Updating counters");const Ee=this.eventsByCorrelationId.get(Ue);if(Ee)for(const Te in ht){if(Ee.hasOwnProperty(Te)){if(isNaN(Number(Ee[Te])))return}else Ee[Te]=0;Ee[Te]+=ht[Te]}else this.logger.trace("PerformanceClient: Event not found for",Ue)}cacheEventByCorrelationId(ht){const Ue=this.eventsByCorrelationId.get(ht.correlationId);Ue?(this.logger.trace(`PerformanceClient: Performance measurement for ${ht.name} added/updated`,ht.correlationId),Ue.incompleteSubMeasurements=Ue.incompleteSubMeasurements||new Map,Ue.incompleteSubMeasurements.set(ht.eventId,{name:ht.name,startTimeMs:ht.startTimeMs})):(this.logger.trace(`PerformanceClient: Performance measurement for ${ht.name} started`,ht.correlationId),this.eventsByCorrelationId.set(ht.correlationId,{...ht}))}getQueueInfo(ht){const Ue=this.queueMeasurements.get(ht);Ue||this.logger.trace(`PerformanceClient: no queue measurements found for for correlationId: ${ht}`);let Ee=0,Te=0,$e=0;return Ue?.forEach(je=>{Ee+=je.queueTime,Te++,$e+=je.manuallyCompleted?1:0}),{totalQueueTime:Ee,totalQueueCount:Te,manuallyCompletedCount:$e}}discardMeasurements(ht){this.logger.trace("PerformanceClient: Performance measurements discarded",ht),this.eventsByCorrelationId.delete(ht)}discardCache(ht){this.discardMeasurements(ht),this.logger.trace("PerformanceClient: QueueMeasurements discarded",ht),this.queueMeasurements.delete(ht),this.logger.trace("PerformanceClient: Pre-queue times discarded",ht),this.preQueueTimeByCorrelationId.delete(ht)}addPerformanceCallback(ht){const Ue=this.generateId();return this.callbacks.set(Ue,ht),this.logger.verbose(`PerformanceClient: Performance callback registered with id: ${Ue}`),Ue}removePerformanceCallback(ht){const Ue=this.callbacks.delete(ht);return this.logger.verbose(Ue?`PerformanceClient: Performance callback ${ht} removed.`:`PerformanceClient: Performance callback ${ht} not removed.`),Ue}emitEvents(ht,Ue){this.logger.verbose("PerformanceClient: Emitting performance events",Ue),this.callbacks.forEach((Ee,Te)=>{this.logger.trace(`PerformanceClient: Emitting event to callback ${Te}`,Ue),Ee.apply(null,[ht])})}truncateIntegralFields(ht){this.intFields.forEach(Ue=>{Ue in ht&&"number"==typeof ht[Ue]&&(ht[Ue]=Math.floor(ht[Ue]))})}getDurationMs(ht){const Ue=Date.now()-ht;return Ue<0?Ue:0}}var $=o(34739),le=o(27880);function ee(){let qt;try{qt=window[e.Ir.SessionStorage];const ht=qt?.getItem(e.OG);if(1===Number(ht))return Promise.resolve().then(o.bind(o,18156))}catch{}}function we(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.now}function ye(qt){if(qt&&we())return Math.round(window.performance.now()-qt)}class Oe extends Y{constructor(ht,Ue){super(ht.auth.clientId,ht.auth.authority||`${$.Mv.DEFAULT_AUTHORITY}`,new d.Y(ht.system?.loggerOptions||{},l.N,l.W),l.N,l.W,ht.telemetry?.application||{appName:"",appVersion:""},Ue)}generateId(){return(0,le.E5)()}getPageVisibility(){return document.visibilityState?.toString()||null}deleteIncompleteSubMeasurements(ht){ee()?.then(Ue=>{const Ee=this.eventsByCorrelationId.get(ht.event.correlationId),$e=[];Ee&&Ee.eventId===ht.event.eventId&&Ee?.incompleteSubMeasurements&&Ee.incompleteSubMeasurements.forEach(je=>{$e.push({...je})}),Ue.BrowserPerformanceMeasurement.flushMeasurements(ht.event.correlationId,$e)})}startMeasurement(ht,Ue){const Ee=this.getPageVisibility(),Te=super.startMeasurement(ht,Ue),$e=we()?window.performance.now():void 0,je=ee()?.then(gt=>new gt.BrowserPerformanceMeasurement(ht,Te.event.correlationId));return je?.then(gt=>gt.startMeasurement()),{...Te,end:gt=>{const He=Te.end({...gt,startPageVisibility:Ee,endPageVisibility:this.getPageVisibility(),durationMs:ye($e)});return je?.then(vt=>vt.endMeasurement()),this.deleteIncompleteSubMeasurements(Te),He},discard:()=>{Te.discard(),je?.then(gt=>gt.flushMeasurement()),this.deleteIncompleteSubMeasurements(Te)}}}setPreQueueTime(ht,Ue){if(!we())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for ${ht}`);if(!Ue)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${ht} not provided, unable to set telemetry queue time`);const Ee=this.preQueueTimeByCorrelationId.get(Ue);Ee&&(this.logger.trace(`BrowserPerformanceClient: Incomplete pre-queue ${Ee.name} found`,Ue),this.addQueueMeasurement(Ee.name,Ue,void 0,!0)),this.preQueueTimeByCorrelationId.set(Ue,{name:ht,time:window.performance.now()})}addQueueMeasurement(ht,Ue,Ee,Te){if(!we())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to add queue measurement for ${ht}`);if(!Ue)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${ht} not provided, unable to add queue measurement`);const $e=super.getPreQueueTime(ht,Ue);if(!$e)return;const je=window.performance.now(),gt=Ee||super.calculateQueuedTime($e,je);return super.addQueueMeasurement(ht,Ue,gt,Te)}}var ve=o(18156),_e=o(59684),Pe=o(32336);class Ze{constructor(ht){this.headers=ht}getShrNonce(){const ht=this.headers[$.MF.AuthenticationInfo];if(ht){const Ee=this.parseChallenges(ht);if(Ee.nextnonce)return Ee.nextnonce;throw(0,_e.QN)(Pe.invalidAuthenticationHeader)}const Ue=this.headers[$.MF.WWWAuthenticate];if(Ue){const Ee=this.parseChallenges(Ue);if(Ee.nonce)return Ee.nonce;throw(0,_e.QN)(Pe.invalidAuthenticationHeader)}throw(0,_e.QN)(Pe.missingNonceAuthenticationHeader)}parseChallenges(ht){const Ue=ht.indexOf(" "),Ee=ht.substr(Ue+1).split(","),Te={};return Ee.forEach($e=>{const[je,gt]=$e.split("=");Te[je]=unescape(gt.replace(/['"]+/g,$.Mv.EMPTY_STRING))}),Te}}var ot=o(98416),tt=o(66936),mt=o(83228),Qe=o(67952),Ct=o(28876),Xe=o(71408),nt=o(53408),Pt=o(72896),tn=o(65072),hn=o(76944),wn=o(7828),An=o(67648),_n=o(32828)},59048:(pe,h,o)=>{"use strict";o.d(h,{I:()=>n});const n={UserInteractionRequired:"USER_INTERACTION_REQUIRED",UserCancel:"USER_CANCEL",NoNetwork:"NO_NETWORK",TransientError:"TRANSIENT_ERROR",PersistentError:"PERSISTENT_ERROR",Disabled:"DISABLED",AccountUnavailable:"ACCOUNT_UNAVAILABLE",NestedAppAuthUnavailable:"NESTED_APP_AUTH_UNAVAILABLE"}},64952:(pe,h,o)=>{"use strict";o.d(h,{m:()=>n});class n{navigateInternal(d,a){return n.defaultNavigateWindow(d,a)}navigateExternal(d,a){return n.defaultNavigateWindow(d,a)}static defaultNavigateWindow(d,a){return a.noHistory?window.location.replace(d):window.location.assign(d),new Promise(l=>{setTimeout(()=>{l(!0)},a.timeout)})}}},69096:(pe,h,o)=>{"use strict";o.d(h,{N:()=>n,W:()=>i});const n="@azure/msal-browser",i="3.10.0"},18156:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{BrowserPerformanceMeasurement:()=>n});class n{constructor(d,a){this.correlationId=a,this.measureName=n.makeMeasureName(d,a),this.startMark=n.makeStartMark(d,a),this.endMark=n.makeEndMark(d,a)}static makeMeasureName(d,a){return`msal.measure.${d}.${a}`}static makeStartMark(d,a){return`msal.start.${d}.${a}`}static makeEndMark(d,a){return`msal.end.${d}.${a}`}static supportsBrowserPerformance(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.mark&&"function"==typeof window.performance.measure&&"function"==typeof window.performance.clearMarks&&"function"==typeof window.performance.clearMeasures&&"function"==typeof window.performance.getEntriesByName}static flushMeasurements(d,a){if(n.supportsBrowserPerformance())try{a.forEach(l=>{const e=n.makeMeasureName(l.name,d);window.performance.getEntriesByName(e,"measure").length>0&&(window.performance.clearMeasures(e),window.performance.clearMarks(n.makeStartMark(e,d)),window.performance.clearMarks(n.makeEndMark(e,d)))})}catch{}}startMeasurement(){if(n.supportsBrowserPerformance())try{window.performance.mark(this.startMark)}catch{}}endMeasurement(){if(n.supportsBrowserPerformance())try{window.performance.mark(this.endMark),window.performance.measure(this.measureName,this.startMark,this.endMark)}catch{}}flushMeasurement(){if(n.supportsBrowserPerformance())try{const d=window.performance.getEntriesByName(this.measureName,"measure");if(d.length>0){const a=d[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),a}}catch{}return null}}},26956:(pe,h,o)=>{"use strict";o.d(h,{CM:()=>g,Ce:()=>a,Ed:()=>v,Ip:()=>I,Ir:()=>l,Lm:()=>f,OG:()=>j,UZ:()=>c,Yz:()=>S,a:()=>A,eG:()=>_,eQ:()=>E,f6:()=>y,gV:()=>b,ig:()=>i,k9:()=>F,sJ:()=>d,wV:()=>p,wd:()=>M,wv:()=>C,yI:()=>e,zH:()=>u});var n=o(34739);const i={INTERACTION_IN_PROGRESS_VALUE:"interaction_in_progress",INVALID_GRANT_ERROR:"invalid_grant",POPUP_WIDTH:483,POPUP_HEIGHT:600,POPUP_NAME_PREFIX:"msal",DEFAULT_POLL_INTERVAL_MS:30,MSAL_SKU:"msal.js.browser"},d={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"},a={HandshakeRequest:"Handshake",HandshakeResponse:"HandshakeResponse",GetToken:"GetToken",Response:"Response"},l={LocalStorage:"localStorage",SessionStorage:"sessionStorage",MemoryStorage:"memoryStorage"},e={GET:"GET",POST:"POST"},u={AUTHORITY:"authority",ACQUIRE_TOKEN_ACCOUNT:"acquireToken.account",SESSION_STATE:"session.state",REQUEST_STATE:"request.state",NONCE_IDTOKEN:"nonce.id_token",ORIGIN_URI:"request.origin",RENEW_STATUS:"token.renew.status",URL_HASH:"urlHash",REQUEST_PARAMS:"request.params",SCOPES:"scopes",INTERACTION_STATUS_KEY:"interaction.status",CCS_CREDENTIAL:"ccs.credential",CORRELATION_ID:"request.correlationId",NATIVE_REQUEST:"request.native",REDIRECT_CONTEXT:"request.redirect.context"},c={ACCOUNT_KEYS:"msal.account.keys",TOKEN_KEYS:"msal.token.keys"},g={WRAPPER_SKU:"wrapper.sku",WRAPPER_VER:"wrapper.version"},v={acquireTokenRedirect:861,acquireTokenPopup:862,ssoSilent:863,acquireTokenSilent_authCode:864,handleRedirectPromise:865,acquireTokenByCode:866,acquireTokenSilent_silentFlow:61,logout:961,logoutPopup:962};var p=function(T){return T.Redirect="redirect",T.Popup="popup",T.Silent="silent",T.None="none",T}(p||{});const S={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},C={scopes:n.ac},_="jwk",f={React:"@azure/msal-react",Angular:"@azure/msal-angular"},y="msal.db",b=1,E=`${y}.keys`,M={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},A=[M.Default,M.Skip,M.RefreshTokenAndNetwork],I="msal.browser.log.level",F="msal.browser.log.pii",j="msal.browser.performance.enabled"},99632:(pe,h,o)=>{"use strict";o.d(h,{Q:()=>a});var n=o(86144),i=o(28876),d=o(71408);function a(l,e){if(!e)return null;try{return n.c.parseRequestState(l,e).libraryState.meta}catch{throw(0,i.mQ)(d.invalidState)}}},84644:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{blockAPICallsBeforeInitialize:()=>y,blockAcquireTokenInPopups:()=>_,blockNonBrowserEnvironment:()=>f,blockRedirectInIframe:()=>C,blockReloadInHiddenIframes:()=>S,clearHash:()=>e,createGuid:()=>E,getCurrentUri:()=>v,getHomepage:()=>p,isInIframe:()=>c,isInPopup:()=>g,preconnect:()=>b,replaceHash:()=>u});var n=o(67648),i=o(4792),d=o(26956),a=o(27880),l=o(32828);function e(M){M.location.hash="","function"==typeof M.history.replaceState&&M.history.replaceState(null,"",`${M.location.origin}${M.location.pathname}${M.location.search}`)}function u(M){const A=M.split("#");A.shift(),window.location.hash=A.length>0?A.join("#"):""}function c(){return window.parent!==window}function g(){return typeof window<"u"&&!!window.opener&&window.opener!==window&&"string"==typeof window.name&&0===window.name.indexOf(`${d.ig.POPUP_NAME_PREFIX}.`)}function v(){return window.location.href.split("?")[0].split("#")[0]}function p(){const A=new n._(window.location.href).getUrlComponents();return`${A.Protocol}//${A.HostNameAndPort}/`}function S(){if(n._.hashContainsKnownProperties(window.location.hash)&&c())throw(0,i.Wq)(l.blockIframeReload)}function C(M,A){const I=c();if(M===d.wV.Redirect&&I&&!A)throw(0,i.Wq)(l.redirectInIframe)}function _(){if(g())throw(0,i.Wq)(l.blockNestedPopups)}function f(M){if(!M)throw(0,i.Wq)(l.nonBrowserEnvironment)}function y(M){if(!M)throw(0,i.Wq)(l.uninitializedPublicClientApplication)}function b(M){const A=document.createElement("link");A.rel="preconnect",A.href=new URL(M).origin,A.crossOrigin="anonymous",document.head.appendChild(A),window.setTimeout(()=>{try{document.head.removeChild(A)}catch{}},1e4)}function E(){return(0,a.E5)()}},60928:(pe,h,o)=>{"use strict";function n(a,l){return!!a&&!!l&&a===l.split(".")[1]}function i(a,l){const{oid:e,sub:u,tid:c,name:g,tfp:v,acr:p}=l,S=c||v||p||"";return{tenantId:S,localAccountId:e||u||"",name:g,isHomeTenant:n(S,a)}}function d(a,l,e,u){let c=a;if(l){const{isHomeTenant:g,...v}=l;c={...a,...v}}if(e){const{isHomeTenant:g,...v}=i(a.homeAccountId,e);return c={...c,...v,idTokenClaims:e,idToken:u},c}return c}o.d(h,{EJ:()=>i,Ho:()=>d,Wo:()=>n})},6400:(pe,h,o)=>{"use strict";o.d(h,{UH:()=>l,aw:()=>d});var n=o(28876),i=o(71408);function d(e,u){const c=function a(e){if(!e)throw(0,n.mQ)(i.nullOrEmptyToken);const c=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!c||c.length<4)throw(0,n.mQ)(i.tokenParsingError);return c[2]}(e);try{const g=u(c);return JSON.parse(g)}catch{throw(0,n.mQ)(i.tokenParsingError)}}function l(e,u){if(0===u||Date.now()-3e5>e+u)throw(0,n.mQ)(i.maxAgeTranspired)}},16256:(pe,h,o)=>{"use strict";o.d(h,{s:()=>n});const n={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"}},22045:(pe,h,o)=>{"use strict";o.d(h,{G:()=>a,k:()=>l});var n=o(28876),i=o(34739),d=o(71408);function a(e,u){if(!e)throw(0,n.mQ)(d.clientInfoEmptyError);try{const c=u(e);return JSON.parse(c)}catch{throw(0,n.mQ)(d.clientInfoDecodingError)}}function l(e){if(!e)throw(0,n.mQ)(d.clientInfoDecodingError);const u=e.split(i.Mj.CLIENT_INFO_SEPARATOR,2);return{uid:u[0],utid:u.length<2?i.Mv.EMPTY_STRING:u[1]}}},79032:(pe,h,o)=>{"use strict";function n(i){return i&&(i.tid||i.tfp||i.acr)||null}o.d(h,{c:()=>n})},74968:(pe,h,o)=>{"use strict";o.d(h,{ET:()=>u,IP:()=>e,UD:()=>g,_8:()=>v,gB:()=>a});var n=o(67648),i=o(34739);const a={"login.microsoftonline.com":{token_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.com/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/logout"},"login.chinacloudapi.cn":{token_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.chinacloudapi.cn/{tenantid}/discovery/v2.0/keys",issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",authorization_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/logout"},"login.microsoftonline.us":{token_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.us/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/logout"}},l={tenant_discovery_endpoint:"https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},e=new Set;function u(p,S){let C;const _=p.canonicalAuthority;if(_){const f=new n._(_).getUrlComponents().HostNameAndPort;C=c(f,p.cloudDiscoveryMetadata?.metadata,i.cv.CONFIG,S)||c(f,l.metadata,i.cv.HARDCODED_VALUES,S)||p.knownAuthorities}return C||[]}function c(p,S,C,_){if(_?.trace(`getAliasesFromMetadata called with source: ${C}`),p&&S){const f=v(S,p);if(f)return _?.trace(`getAliasesFromMetadata: found cloud discovery metadata in ${C}, returning aliases`),f.aliases;_?.trace(`getAliasesFromMetadata: did not find cloud discovery metadata in ${C}`)}return null}function g(p){return v(l.metadata,p)}function v(p,S){for(let C=0;C{p.aliases.forEach(S=>{e.add(S)})})},67952:(pe,h,o)=>{"use strict";o.d(h,{C:()=>n});const n={None:"none",AzurePublic:"https://login.microsoftonline.com",AzurePpe:"https://login.windows-ppe.net",AzureChina:"https://login.chinacloudapi.cn",AzureGermany:"https://login.microsoftonline.de",AzureUsGovernment:"https://login.microsoftonline.us"}},25988:(pe,h,o)=>{"use strict";o.d(h,{O:()=>n});const n={Default:0,Adfs:1,Dsts:2,Ciam:3}},65072:(pe,h,o)=>{"use strict";o.d(h,{g:()=>n});const n={AAD:"AAD",OIDC:"OIDC"}},6536:(pe,h,o)=>{"use strict";o.d(h,{B:()=>S,K:()=>C});var n=o(1528),i=o(34739),d=o(72584),a=o(95248),l=o(98416),e=o(28876),u=o(60928),c=o(6400),g=o(75205),v=o(74968),p=o(71408);class S{constructor(f,y,b,E){this.clientId=f,this.cryptoImpl=y,this.commonLogger=b.clone(g.N,g.W),this.staticAuthorityOptions=E}getAllAccounts(f){return this.buildTenantProfiles(this.getAccountsFilteredBy(f||{}),f)}getAccountInfoFilteredBy(f){const y=this.getAllAccounts(f);return y.length>1?y.sort(E=>E.idTokenClaims?-1:1)[0]:1===y.length?y[0]:null}getBaseAccountInfo(f){const y=this.getAccountsFilteredBy(f);return y.length>0?y[0].getAccountInfo():null}buildTenantProfiles(f,y){return f.flatMap(b=>this.getAccountInfoForTenantProfiles(b,y))}getAccountInfoForTenantProfiles(f,y){return this.getTenantProfilesFromAccountEntity(f,y?.tenantId,y)}getTenantedAccountInfoByFilter(f,y,b,E){let A,M=null;if(E&&!this.tenantProfileMatchesFilter(b,E))return null;const I=this.getIdToken(f,y,b.tenantId);return I&&(A=(0,c.aw)(I.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(A,E))?null:(M=(0,u.Ho)(f,b,A,I?.secret),M)}getTenantProfilesFromAccountEntity(f,y,b){const E=f.getAccountInfo();let M=E.tenantProfiles||new Map;const A=this.getTokenKeys();if(y){const F=M.get(y);if(!F)return[];M=new Map([[y,F]])}const I=[];return M.forEach(F=>{const j=this.getTenantedAccountInfoByFilter(E,A,F,b);j&&I.push(j)}),I}tenantProfileMatchesFilter(f,y){return!(y.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(f,y.localAccountId)||y.name&&f.name!==y.name||void 0!==y.isHomeTenant&&f.isHomeTenant!==y.isHomeTenant)}idTokenClaimsMatchTenantProfileFilter(f,y){return!(y&&(y.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(f,y.localAccountId)||y.loginHint&&!this.matchLoginHintFromTokenClaims(f,y.loginHint)||y.username&&!this.matchUsername(f.preferred_username,y.username)||y.name&&!this.matchName(f,y.name)||y.sid&&!this.matchSid(f,y.sid)))}saveCacheRecord(f,y){var b=this;return(0,n.c)(function*(){if(!f)throw(0,e.mQ)(p.invalidCacheRecord);f.account&&b.setAccount(f.account),f.idToken&&!1!==y?.idToken&&b.setIdTokenCredential(f.idToken),f.accessToken&&!1!==y?.accessToken&&(yield b.saveAccessToken(f.accessToken)),f.refreshToken&&!1!==y?.refreshToken&&b.setRefreshTokenCredential(f.refreshToken),f.appMetadata&&b.setAppMetadata(f.appMetadata)})()}saveAccessToken(f){var y=this;return(0,n.c)(function*(){const b={clientId:f.clientId,credentialType:f.credentialType,environment:f.environment,homeAccountId:f.homeAccountId,realm:f.realm,tokenType:f.tokenType,requestedClaimsHash:f.requestedClaimsHash},E=y.getTokenKeys(),M=a.k.fromString(f.target),A=[];E.accessToken.forEach(I=>{if(!y.accessTokenKeyMatchesFilter(I,b,!1))return;const F=y.getAccessTokenCredential(I);F&&y.credentialMatchesFilter(F,b)&&a.k.fromString(F.target).intersectingScopeSets(M)&&A.push(y.removeAccessToken(I))}),yield Promise.all(A),y.setAccessTokenCredential(f)})()}getAccountsFilteredBy(f){const y=this.getAccountKeys(),b=[];return y.forEach(E=>{if(!this.isAccountKey(E,f.homeAccountId))return;const M=this.getAccount(E,this.commonLogger);if(!M||f.homeAccountId&&!this.matchHomeAccountId(M,f.homeAccountId)||f.username&&!this.matchUsername(M.username,f.username)||f.environment&&!this.matchEnvironment(M,f.environment)||f.realm&&!this.matchRealm(M,f.realm)||f.nativeAccountId&&!this.matchNativeAccountId(M,f.nativeAccountId)||f.authorityType&&!this.matchAuthorityType(M,f.authorityType))return;const A={localAccountId:f?.localAccountId,name:f?.name},I=M.tenantProfiles?.filter(F=>this.tenantProfileMatchesFilter(F,A));I&&0===I.length||b.push(M)}),b}isAccountKey(f,y,b){return!(f.split(i.Mj.CACHE_KEY_SEPARATOR).length<3||y&&!f.toLowerCase().includes(y.toLowerCase())||b&&!f.toLowerCase().includes(b.toLowerCase()))}isCredentialKey(f){if(f.split(i.Mj.CACHE_KEY_SEPARATOR).length<6)return!1;const y=f.toLowerCase();if(-1===y.indexOf(i.yu.ID_TOKEN.toLowerCase())&&-1===y.indexOf(i.yu.ACCESS_TOKEN.toLowerCase())&&-1===y.indexOf(i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())&&-1===y.indexOf(i.yu.REFRESH_TOKEN.toLowerCase()))return!1;if(y.indexOf(i.yu.REFRESH_TOKEN.toLowerCase())>-1){const E=`${i.yu.REFRESH_TOKEN}${i.Mj.CACHE_KEY_SEPARATOR}${i.wj}${i.Mj.CACHE_KEY_SEPARATOR}`;if(-1===y.indexOf(`${i.yu.REFRESH_TOKEN}${i.Mj.CACHE_KEY_SEPARATOR}${this.clientId}${i.Mj.CACHE_KEY_SEPARATOR}`.toLowerCase())&&-1===y.indexOf(E.toLowerCase()))return!1}else if(-1===y.indexOf(this.clientId.toLowerCase()))return!1;return!0}credentialMatchesFilter(f,y){return!(y.clientId&&!this.matchClientId(f,y.clientId)||y.userAssertionHash&&!this.matchUserAssertionHash(f,y.userAssertionHash)||"string"==typeof y.homeAccountId&&!this.matchHomeAccountId(f,y.homeAccountId)||y.environment&&!this.matchEnvironment(f,y.environment)||y.realm&&!this.matchRealm(f,y.realm)||y.credentialType&&!this.matchCredentialType(f,y.credentialType)||y.familyId&&!this.matchFamilyId(f,y.familyId)||y.target&&!this.matchTarget(f,y.target)||(y.requestedClaimsHash||f.requestedClaimsHash)&&f.requestedClaimsHash!==y.requestedClaimsHash||f.credentialType===i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(y.tokenType&&!this.matchTokenType(f,y.tokenType)||y.tokenType===i.me.SSH&&y.keyId&&!this.matchKeyId(f,y.keyId)))}getAppMetadataFilteredBy(f){return this.getAppMetadataFilteredByInternal(f.environment,f.clientId)}getAppMetadataFilteredByInternal(f,y){const b=this.getKeys(),E={};return b.forEach(M=>{if(!this.isAppMetadata(M))return;const A=this.getAppMetadata(M);A&&(f&&!this.matchEnvironment(A,f)||y&&!this.matchClientId(A,y)||(E[M]=A))}),E}getAuthorityMetadataByAlias(f){const y=this.getAuthorityMetadataKeys();let b=null;return y.forEach(E=>{if(!this.isAuthorityMetadata(E)||-1===E.indexOf(this.clientId))return;const M=this.getAuthorityMetadata(E);M&&-1!==M.aliases.indexOf(f)&&(b=M)}),b}removeAllAccounts(){var f=this;return(0,n.c)(function*(){const y=f.getAccountKeys(),b=[];y.forEach(E=>{b.push(f.removeAccount(E))}),yield Promise.all(b)})()}removeAccount(f){var y=this;return(0,n.c)(function*(){const b=y.getAccount(f,y.commonLogger);b&&(yield y.removeAccountContext(b),y.removeItem(f))})()}removeAccountContext(f){var y=this;return(0,n.c)(function*(){const b=y.getTokenKeys(),E=f.generateAccountId(),M=[];b.idToken.forEach(A=>{0===A.indexOf(E)&&y.removeIdToken(A)}),b.accessToken.forEach(A=>{0===A.indexOf(E)&&M.push(y.removeAccessToken(A))}),b.refreshToken.forEach(A=>{0===A.indexOf(E)&&y.removeRefreshToken(A)}),yield Promise.all(M)})()}updateOutdatedCachedAccount(f,y,b){if(y&&y.isSingleTenant()){this.commonLogger?.verbose("updateOutdatedCachedAccount: Found a single-tenant (outdated) account entity in the cache, migrating to multi-tenant account entity");const E=this.getAccountKeys().filter(j=>j.startsWith(y.homeAccountId)),M=[];E.forEach(j=>{const T=this.getCachedAccountEntity(j);T&&M.push(T)});const A=M.find(j=>(0,u.Wo)(j.realm,j.homeAccountId))||M[0];A.tenantProfiles=M.map(j=>({tenantId:j.realm,localAccountId:j.localAccountId,name:j.name,isHomeTenant:(0,u.Wo)(j.realm,j.homeAccountId)}));const I=S.toObject(new l.M,{...A}),F=I.generateAccountKey();return E.forEach(j=>{j!==F&&this.removeOutdatedAccount(f)}),this.setAccount(I),b?.verbose("Updated an outdated account entity in the cache"),I}return y}removeAccessToken(f){var y=this;return(0,n.c)(function*(){const b=y.getAccessTokenCredential(f);if(b){if(b.credentialType.toLowerCase()===i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&b.tokenType===i.me.POP){const M=b.keyId;if(M)try{yield y.cryptoImpl.removeTokenBindingKey(M)}catch{throw(0,e.mQ)(p.bindingKeyNotRemoved)}}return y.removeItem(f)}})()}removeAppMetadata(){return this.getKeys().forEach(y=>{this.isAppMetadata(y)&&this.removeItem(y)}),!0}readAccountFromCache(f){const y=l.M.generateAccountCacheKey(f);return this.getAccount(y,this.commonLogger)}getIdToken(f,y,b,E,M){this.commonLogger.trace("CacheManager - getIdToken called");const I=this.getIdTokensByFilter({homeAccountId:f.homeAccountId,environment:f.environment,credentialType:i.yu.ID_TOKEN,clientId:this.clientId,realm:b},y),F=I.size;if(F<1)return this.commonLogger.info("CacheManager:getIdToken - No token found"),null;if(F>1){let j=I;if(!b){const T=new Map;I.forEach((x,N)=>{x.realm===f.tenantId&&T.set(N,x)});const P=T.size;if(P<1)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account but none match account entity tenant id, returning first result"),I.values().next().value;if(1===P)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account, defaulting to home tenant profile"),T.values().next().value;j=T}return this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them"),j.forEach((T,P)=>{this.removeIdToken(P)}),E&&M&&E.addFields({multiMatchedID:I.size},M),null}return this.commonLogger.info("CacheManager:getIdToken - Returning ID token"),I.values().next().value}getIdTokensByFilter(f,y){const b=y&&y.idToken||this.getTokenKeys().idToken,E=new Map;return b.forEach(M=>{if(!this.idTokenKeyMatchesFilter(M,{clientId:this.clientId,...f}))return;const A=this.getIdTokenCredential(M);A&&this.credentialMatchesFilter(A,f)&&E.set(M,A)}),E}idTokenKeyMatchesFilter(f,y){const b=f.toLowerCase();return!(y.clientId&&-1===b.indexOf(y.clientId.toLowerCase())||y.homeAccountId&&-1===b.indexOf(y.homeAccountId.toLowerCase()))}removeIdToken(f){this.removeItem(f)}removeRefreshToken(f){this.removeItem(f)}getAccessToken(f,y,b,E,M,A){this.commonLogger.trace("CacheManager - getAccessToken called");const I=a.k.createSearchScopes(y.scopes),F=y.authenticationScheme||i.me.BEARER,j=F&&F.toLowerCase()!==i.me.BEARER.toLowerCase()?i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:i.yu.ACCESS_TOKEN,T={homeAccountId:f.homeAccountId,environment:f.environment,credentialType:j,clientId:this.clientId,realm:E||f.tenantId,target:I,tokenType:F,keyId:y.sshKid,requestedClaimsHash:y.requestedClaimsHash},P=b&&b.accessToken||this.getTokenKeys().accessToken,x=[];P.forEach(O=>{if(this.accessTokenKeyMatchesFilter(O,T,!0)){const H=this.getAccessTokenCredential(O);H&&this.credentialMatchesFilter(H,T)&&x.push(H)}});const N=x.length;return N<1?(this.commonLogger.info("CacheManager:getAccessToken - No token found"),null):N>1?(this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"),x.forEach(O=>{this.removeAccessToken((0,d.AZ)(O))}),M&&A&&M.addFields({multiMatchedAT:x.length},A),null):(this.commonLogger.info("CacheManager:getAccessToken - Returning access token"),x[0])}accessTokenKeyMatchesFilter(f,y,b){const E=f.toLowerCase();if(y.clientId&&-1===E.indexOf(y.clientId.toLowerCase())||y.homeAccountId&&-1===E.indexOf(y.homeAccountId.toLowerCase())||y.realm&&-1===E.indexOf(y.realm.toLowerCase())||y.requestedClaimsHash&&-1===E.indexOf(y.requestedClaimsHash.toLowerCase()))return!1;if(y.target){const M=y.target.asArray();for(let A=0;A{if(!this.accessTokenKeyMatchesFilter(E,f,!0))return;const M=this.getAccessTokenCredential(E);M&&this.credentialMatchesFilter(M,f)&&b.push(M)}),b}getRefreshToken(f,y,b,E,M){this.commonLogger.trace("CacheManager - getRefreshToken called");const I={homeAccountId:f.homeAccountId,environment:f.environment,credentialType:i.yu.REFRESH_TOKEN,clientId:this.clientId,familyId:y?i.wj:void 0},F=b&&b.refreshToken||this.getTokenKeys().refreshToken,j=[];F.forEach(P=>{if(this.refreshTokenKeyMatchesFilter(P,I)){const x=this.getRefreshTokenCredential(P);x&&this.credentialMatchesFilter(x,I)&&j.push(x)}});const T=j.length;return T<1?(this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."),null):(T>1&&E&&M&&E.addFields({multiMatchedRT:T},M),this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"),j[0])}refreshTokenKeyMatchesFilter(f,y){const b=f.toLowerCase();return!(y.familyId&&-1===b.indexOf(y.familyId.toLowerCase())||!y.familyId&&y.clientId&&-1===b.indexOf(y.clientId.toLowerCase())||y.homeAccountId&&-1===b.indexOf(y.homeAccountId.toLowerCase()))}readAppMetadataFromCache(f){const b=this.getAppMetadataFilteredBy({environment:f,clientId:this.clientId}),E=Object.keys(b).map(A=>b[A]),M=E.length;if(M<1)return null;if(M>1)throw(0,e.mQ)(p.multipleMatchingAppMetadata);return E[0]}isAppMetadataFOCI(f){const y=this.readAppMetadataFromCache(f);return!(!y||y.familyId!==i.wj)}matchHomeAccountId(f,y){return"string"==typeof f.homeAccountId&&y===f.homeAccountId}matchLocalAccountIdFromTokenClaims(f,y){return y===(f.oid||f.sub)}matchLocalAccountIdFromTenantProfile(f,y){return f.localAccountId===y}matchName(f,y){return y.toLowerCase()===f.name?.toLowerCase()}matchUsername(f,y){return!(!f||"string"!=typeof f||y?.toLowerCase()!==f.toLowerCase())}matchUserAssertionHash(f,y){return!(!f.userAssertionHash||y!==f.userAssertionHash)}matchEnvironment(f,y){if(this.staticAuthorityOptions){const E=(0,v.ET)(this.staticAuthorityOptions,this.commonLogger);if(E.includes(y)&&E.includes(f.environment))return!0}const b=this.getAuthorityMetadataByAlias(y);return!!(b&&b.aliases.indexOf(f.environment)>-1)}matchCredentialType(f,y){return f.credentialType&&y.toLowerCase()===f.credentialType.toLowerCase()}matchClientId(f,y){return!(!f.clientId||y!==f.clientId)}matchFamilyId(f,y){return!(!f.familyId||y!==f.familyId)}matchRealm(f,y){return f.realm?.toLowerCase()===y.toLowerCase()}matchNativeAccountId(f,y){return!(!f.nativeAccountId||y!==f.nativeAccountId)}matchLoginHintFromTokenClaims(f,y){return f.login_hint===y||f.preferred_username===y||f.upn===y}matchSid(f,y){return f.sid===y}matchAuthorityType(f,y){return!(!f.authorityType||y.toLowerCase()!==f.authorityType.toLowerCase())}matchTarget(f,y){return!(f.credentialType!==i.yu.ACCESS_TOKEN&&f.credentialType!==i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME||!f.target)&&a.k.fromString(f.target).containsScopeSet(y)}matchTokenType(f,y){return!(!f.tokenType||f.tokenType!==y)}matchKeyId(f,y){return!(!f.keyId||f.keyId!==y)}isAppMetadata(f){return-1!==f.indexOf(i.cz)}isAuthorityMetadata(f){return-1!==f.indexOf(i.Ni.CACHE_KEY)}generateAuthorityMetadataCacheKey(f){return`${i.Ni.CACHE_KEY}-${this.clientId}-${f}`}static toObject(f,y){for(const b in y)f[b]=y[b];return f}}class C extends S{setAccount(){throw(0,e.mQ)(p.methodNotImplemented)}getAccount(){throw(0,e.mQ)(p.methodNotImplemented)}getCachedAccountEntity(){throw(0,e.mQ)(p.methodNotImplemented)}setIdTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}getIdTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}setAccessTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}getAccessTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}setRefreshTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}getRefreshTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}setAppMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}getAppMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}setServerTelemetry(){throw(0,e.mQ)(p.methodNotImplemented)}getServerTelemetry(){throw(0,e.mQ)(p.methodNotImplemented)}setAuthorityMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}getAuthorityMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}getAuthorityMetadataKeys(){throw(0,e.mQ)(p.methodNotImplemented)}setThrottlingCache(){throw(0,e.mQ)(p.methodNotImplemented)}getThrottlingCache(){throw(0,e.mQ)(p.methodNotImplemented)}removeItem(){throw(0,e.mQ)(p.methodNotImplemented)}containsKey(){throw(0,e.mQ)(p.methodNotImplemented)}getKeys(){throw(0,e.mQ)(p.methodNotImplemented)}getAccountKeys(){throw(0,e.mQ)(p.methodNotImplemented)}getTokenKeys(){throw(0,e.mQ)(p.methodNotImplemented)}clear(){return(0,n.c)(function*(){throw(0,e.mQ)(p.methodNotImplemented)})()}updateCredentialCacheKey(){throw(0,e.mQ)(p.methodNotImplemented)}removeOutdatedAccount(){throw(0,e.mQ)(p.methodNotImplemented)}}},98416:(pe,h,o)=>{"use strict";o.d(h,{M:()=>g});var n=o(34739),i=o(22045),d=o(60928),a=o(28876),l=o(25988),e=o(79032),u=o(65072),c=o(71408);class g{generateAccountId(){return[this.homeAccountId,this.environment].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}generateAccountKey(){return g.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})}getAccountInfo(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,nativeAccountId:this.nativeAccountId,authorityType:this.authorityType,tenantProfiles:new Map((this.tenantProfiles||[]).map(p=>[p.tenantId,p]))}}isSingleTenant(){return!this.tenantProfiles}static generateAccountCacheKey(p){const S=p.homeAccountId.split(".")[1];return[p.homeAccountId,p.environment||"",S||p.tenantId||""].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}static createAccount(p,S,C){const _=new g;let f;_.authorityType=S.authorityType===l.O.Adfs?n.A9.ADFS_ACCOUNT_TYPE:S.protocolMode===u.g.AAD?n.A9.MSSTS_ACCOUNT_TYPE:n.A9.GENERIC_ACCOUNT_TYPE,p.clientInfo&&C&&(f=(0,i.G)(p.clientInfo,C)),_.clientInfo=p.clientInfo,_.homeAccountId=p.homeAccountId,_.nativeAccountId=p.nativeAccountId;const y=p.environment||S&&S.getPreferredCache();if(!y)throw(0,a.mQ)(c.invalidCacheEnvironment);if(_.environment=y,_.realm=f?.utid||(0,e.c)(p.idTokenClaims)||"",_.localAccountId=f?.uid||p.idTokenClaims.oid||p.idTokenClaims.sub||"",_.username=p.idTokenClaims.preferred_username||p.idTokenClaims.upn||(p.idTokenClaims.emails?p.idTokenClaims.emails[0]:null)||"",_.name=p.idTokenClaims.name,_.cloudGraphHostName=p.cloudGraphHostName,_.msGraphHost=p.msGraphHost,p.tenantProfiles)_.tenantProfiles=p.tenantProfiles;else{const M=[];if(p.idTokenClaims){const A=(0,d.EJ)(p.homeAccountId,p.idTokenClaims);M.push(A)}_.tenantProfiles=M}return _}static createFromAccountInfo(p,S,C){const _=new g;return _.authorityType=p.authorityType||n.A9.GENERIC_ACCOUNT_TYPE,_.homeAccountId=p.homeAccountId,_.localAccountId=p.localAccountId,_.nativeAccountId=p.nativeAccountId,_.realm=p.tenantId,_.environment=p.environment,_.username=p.username,_.name=p.name,_.cloudGraphHostName=S,_.msGraphHost=C,_.tenantProfiles=Array.from(p.tenantProfiles?.values()||[]),_}static generateHomeAccountId(p,S,C,_,f){if(S!==l.O.Adfs&&S!==l.O.Dsts){if(p)try{const y=(0,i.G)(p,_.base64Decode);if(y.uid&&y.utid)return`${y.uid}.${y.utid}`}catch{}C.warning("No client info in response")}return f?.sub||""}static isAccountEntity(p){return!!p&&p.hasOwnProperty("homeAccountId")&&p.hasOwnProperty("environment")&&p.hasOwnProperty("realm")&&p.hasOwnProperty("localAccountId")&&p.hasOwnProperty("username")&&p.hasOwnProperty("authorityType")}static accountInfoIsEqual(p,S,C){if(!p||!S)return!1;let _=!0;if(C){const f=p.idTokenClaims||{},y=S.idTokenClaims||{};_=f.iat===y.iat&&f.nonce===y.nonce}return p.homeAccountId===S.homeAccountId&&p.localAccountId===S.localAccountId&&p.username===S.username&&p.tenantId===S.tenantId&&p.environment===S.environment&&p.nativeAccountId===S.nativeAccountId&&_}}},9488:(pe,h,o)=>{"use strict";o.d(h,{O:()=>n});class n{constructor(d,a,l,e,u){this.account=d||null,this.idToken=a||null,this.accessToken=l||null,this.refreshToken=e||null,this.appMetadata=u||null}}},72584:(pe,h,o)=>{"use strict";o.d(h,{AZ:()=>e,LS:()=>S,MJ:()=>c,S:()=>I,U5:()=>C,Ul:()=>p,YF:()=>u,_c:()=>g,aA:()=>j,cb:()=>x,gv:()=>T,mk:()=>N,q6:()=>F,s7:()=>A,sH:()=>P,sX:()=>M});var n=o(6400),i=o(28876),d=o(34739),a=o(50160),l=o(71408);function e(O){return[_(O),f(O),y(O),b(O),E(O)].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function u(O,H,G,te,ue){return{credentialType:d.yu.ID_TOKEN,homeAccountId:O,environment:H,clientId:te,secret:G,realm:ue}}function c(O,H,G,te,ue,se,K,Z,re,J,Y,$,le,ee,we){const ye={homeAccountId:O,credentialType:d.yu.ACCESS_TOKEN,secret:G,cachedAt:(0,a.GO)().toString(),expiresOn:K.toString(),extendedExpiresOn:Z.toString(),environment:H,clientId:te,realm:ue,target:se,tokenType:Y||d.me.BEARER};if($&&(ye.userAssertionHash=$),J&&(ye.refreshOn=J.toString()),ee&&(ye.requestedClaims=ee,ye.requestedClaimsHash=we),ye.tokenType?.toLowerCase()!==d.me.BEARER.toLowerCase())switch(ye.credentialType=d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME,ye.tokenType){case d.me.POP:const Oe=(0,n.aw)(G,re);if(!Oe?.cnf?.kid)throw(0,i.mQ)(l.tokenClaimsCnfRequiredForSignedJwt);ye.keyId=Oe.cnf.kid;break;case d.me.SSH:ye.keyId=le}return ye}function g(O,H,G,te,ue,se,K){const Z={credentialType:d.yu.REFRESH_TOKEN,homeAccountId:O,environment:H,clientId:te,secret:G};return se&&(Z.userAssertionHash=se),ue&&(Z.familyId=ue),K&&(Z.expiresOn=K.toString()),Z}function v(O){return O.hasOwnProperty("homeAccountId")&&O.hasOwnProperty("environment")&&O.hasOwnProperty("credentialType")&&O.hasOwnProperty("clientId")&&O.hasOwnProperty("secret")}function p(O){return!!O&&v(O)&&O.hasOwnProperty("realm")&&O.hasOwnProperty("target")&&(O.credentialType===d.yu.ACCESS_TOKEN||O.credentialType===d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME)}function S(O){return!!O&&v(O)&&O.hasOwnProperty("realm")&&O.credentialType===d.yu.ID_TOKEN}function C(O){return!!O&&v(O)&&O.credentialType===d.yu.REFRESH_TOKEN}function _(O){return[O.homeAccountId,O.environment].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function f(O){return[O.credentialType,O.credentialType===d.yu.REFRESH_TOKEN&&O.familyId||O.clientId,O.realm||""].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function y(O){return(O.target||"").toLowerCase()}function b(O){return(O.requestedClaimsHash||"").toLowerCase()}function E(O){return O.tokenType&&O.tokenType.toLowerCase()!==d.me.BEARER.toLowerCase()?O.tokenType.toLowerCase():""}function M(O,H){const G=0===O.indexOf(d.ic.CACHE_KEY);let te=!0;return H&&(te=H.hasOwnProperty("failedRequests")&&H.hasOwnProperty("errors")&&H.hasOwnProperty("cacheHits")),G&&te}function A(O,H){let G=!1;O&&(G=0===O.indexOf(d.gr.THROTTLING_PREFIX));let te=!0;return H&&(te=H.hasOwnProperty("throttleTime")),G&&te}function I({environment:O,clientId:H}){return[d.cz,O,H].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function F(O,H){return!!H&&0===O.indexOf(d.cz)&&H.hasOwnProperty("clientId")&&H.hasOwnProperty("environment")}function j(O,H){return!!H&&0===O.indexOf(d.Ni.CACHE_KEY)&&H.hasOwnProperty("aliases")&&H.hasOwnProperty("preferred_cache")&&H.hasOwnProperty("preferred_network")&&H.hasOwnProperty("canonical_authority")&&H.hasOwnProperty("authorization_endpoint")&&H.hasOwnProperty("token_endpoint")&&H.hasOwnProperty("issuer")&&H.hasOwnProperty("aliasesFromNetwork")&&H.hasOwnProperty("endpointsFromNetwork")&&H.hasOwnProperty("expiresAt")&&H.hasOwnProperty("jwks_uri")}function T(){return(0,a.GO)()+d.Ni.REFRESH_TIME_SECONDS}function P(O,H,G){O.authorization_endpoint=H.authorization_endpoint,O.token_endpoint=H.token_endpoint,O.end_session_endpoint=H.end_session_endpoint,O.issuer=H.issuer,O.endpointsFromNetwork=G,O.jwks_uri=H.jwks_uri}function x(O,H,G){O.aliases=H.aliases,O.preferred_cache=H.preferred_cache,O.preferred_network=H.preferred_network,O.aliasesFromNetwork=G}function N(O){return O.expiresAt<=(0,a.GO)()}},80660:(pe,h,o)=>{"use strict";o.d(h,{cJ:()=>A,k5:()=>S,qW:()=>F});var n=o(1528),i=o(65172),d=o(73364),a=o(34739),l=o(75205),e=o(67952),u=o(6536),c=o(65072),g=o(28876),v=o(71408);const S={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},C={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:d.G.Info,correlationId:a.Mv.EMPTY_STRING},_={claimsBasedCachingEnabled:!1},f={sendGetRequestAsync:()=>(0,n.c)(function*(){throw(0,g.mQ)(v.methodNotImplemented)})(),sendPostRequestAsync:()=>(0,n.c)(function*(){throw(0,g.mQ)(v.methodNotImplemented)})()},y={sku:a.Mv.SKU,version:l.W,cpu:a.Mv.EMPTY_STRING,os:a.Mv.EMPTY_STRING},b={clientSecret:a.Mv.EMPTY_STRING,clientAssertion:void 0},E={azureCloudInstance:e.C.None,tenant:`${a.Mv.DEFAULT_COMMON_TENANT}`},M={application:{appName:"",appVersion:""}};function A({authOptions:j,systemOptions:T,loggerOptions:P,cacheOptions:x,storageInterface:N,networkInterface:O,cryptoInterface:H,clientCredentials:G,libraryInfo:te,telemetry:ue,serverTelemetryManager:se,persistencePlugin:K,serializableCache:Z}){const re={...C,...P};return{authOptions:I(j),systemOptions:{...S,...T},loggerOptions:re,cacheOptions:{..._,...x},storageInterface:N||new u.K(j.clientId,i.K,new d.Y(re)),networkInterface:O||f,cryptoInterface:H||i.K,clientCredentials:G||b,libraryInfo:{...y,...te},telemetry:{...M,...ue},serverTelemetryManager:se||null,persistencePlugin:K||null,serializableCache:Z||null}}function I(j){return{clientCapabilities:[],azureCloudOptions:E,skipAuthorityMetadataCache:!1,...j}}function F(j){return j.authOptions.authority.options.protocolMode===c.g.OIDC}},91076:(pe,h,o)=>{"use strict";o.d(h,{Bz:()=>u,CS:()=>Z,E$:()=>b,Gs:()=>ye,Ku:()=>a,MZ:()=>A,N2:()=>tt,O0:()=>ue,Ok:()=>Qe,S1:()=>S,SS:()=>Pe,U3:()=>d,UJ:()=>F,WG:()=>I,WM:()=>mt,YR:()=>J,Yc:()=>Ze,Yr:()=>x,_E:()=>te,_k:()=>n,aw:()=>K,cD:()=>l,cf:()=>ee,cx:()=>N,e6:()=>P,e8:()=>e,eU:()=>T,eo:()=>re,gL:()=>$,gt:()=>j,iK:()=>Y,k1:()=>we,kB:()=>i,kT:()=>le,n:()=>y,op:()=>se,qA:()=>G,sp:()=>ot,sx:()=>H,uQ:()=>O,y2:()=>f});const n="client_id",i="redirect_uri",d="response_type",a="response_mode",l="grant_type",e="claims",u="scope",S="refresh_token",f="state",y="nonce",b="prompt",A="code",I="code_challenge",F="code_challenge_method",j="code_verifier",T="client-request-id",P="x-client-SKU",x="x-client-VER",N="x-client-OS",O="x-client-CPU",H="x-client-current-telemetry",G="x-client-last-telemetry",te="x-ms-lib-capability",ue="x-app-name",se="x-app-ver",K="post_logout_redirect_uri",Z="id_token_hint",re="device_code",J="client_secret",Y="client_assertion",$="client_assertion_type",le="token_type",ee="req_cnf",we="assertion",ye="requested_token_use",Pe="return_spa_code",Ze="nativebroker",ot="logout_hint",tt="sid",mt="login_hint",Qe="domain_hint"},65172:(pe,h,o)=>{"use strict";o.d(h,{K:()=>a});var n=o(1528),i=o(28876),d=o(71408);const a={createNewGuid:()=>{throw(0,i.mQ)(d.methodNotImplemented)},base64Decode:()=>{throw(0,i.mQ)(d.methodNotImplemented)},base64Encode:()=>{throw(0,i.mQ)(d.methodNotImplemented)},getPublicKeyThumbprint:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),removeTokenBindingKey:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),clearKeystore:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),signJwt:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),hashString:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})()}},46392:(pe,h,o)=>{"use strict";o.d(h,{w:()=>u});var n=o(1528),i=o(50160),d=o(67648),a=o(85348),l=o(14035);class u{constructor(g,v){this.cryptoUtils=g,this.performanceClient=v}generateCnf(g,v){var p=this;return(0,n.c)(function*(){p.performanceClient?.addQueueMeasurement(a.Xv.PopTokenGenerateCnf,g.correlationId);const S=yield(0,l.C)(p.generateKid.bind(p),a.Xv.PopTokenGenerateCnf,v,p.performanceClient,g.correlationId)(g),C=p.cryptoUtils.base64Encode(JSON.stringify(S));return{kid:S.kid,reqCnfString:C,reqCnfHash:yield p.cryptoUtils.hashString(C)}})()}generateKid(g){var v=this;return(0,n.c)(function*(){return v.performanceClient?.addQueueMeasurement(a.Xv.PopTokenGenerateKid,g.correlationId),{kid:yield v.cryptoUtils.getPublicKeyThumbprint(g),xms_ksl:"sw"}})()}signPopToken(g,v,p){var S=this;return(0,n.c)(function*(){return S.signPayload(g,v,p)})()}signPayload(g,v,p,S){var C=this;return(0,n.c)(function*(){const{resourceRequestMethod:_,resourceRequestUri:f,shrClaims:y,shrNonce:b,shrOptions:E}=p,A=(f?new d._(f):void 0)?.getUrlComponents();return C.cryptoUtils.signJwt({at:g,ts:(0,i.GO)(),m:_?.toUpperCase(),u:A?.HostNameAndPort,nonce:b||C.cryptoUtils.createNewGuid(),p:A?.AbsolutePath,q:A?.QueryString?[[],A.QueryString]:void 0,client_claims:y||void 0,...S},v,E,p.correlationId)})()}}},66936:(pe,h,o)=>{"use strict";o.d(h,{GM:()=>a,Ub:()=>e,WM:()=>l});var n=o(34739),i=o(83228);const d={[i.unexpectedError]:"Unexpected error in authentication.",[i.postRequestFailed]:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."},a={unexpectedError:{code:i.unexpectedError,desc:d[i.unexpectedError]},postRequestFailed:{code:i.postRequestFailed,desc:d[i.postRequestFailed]}};class l extends Error{constructor(c,g,v){super(g?`${c}: ${g}`:c),Object.setPrototypeOf(this,l.prototype),this.errorCode=c||n.Mv.EMPTY_STRING,this.errorMessage=g||n.Mv.EMPTY_STRING,this.subError=v||n.Mv.EMPTY_STRING,this.name="AuthError"}setCorrelationId(c){this.correlationId=c}}function e(u,c){return new l(u,c?`${d[u]} ${c}`:d[u])}},83228:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{postRequestFailed:()=>i,unexpectedError:()=>n});const n="unexpected_error",i="post_request_failed"},28876:(pe,h,o)=>{"use strict";o.d(h,{m6:()=>a,mQ:()=>e,oJ:()=>l});var n=o(66936),i=o(71408);const d={[i.clientInfoDecodingError]:"The client info could not be parsed/decoded correctly",[i.clientInfoEmptyError]:"The client info was empty",[i.tokenParsingError]:"Token cannot be parsed",[i.nullOrEmptyToken]:"The token is null or empty",[i.endpointResolutionError]:"Endpoints cannot be resolved",[i.networkError]:"Network request failed",[i.openIdConfigError]:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",[i.hashNotDeserialized]:"The hash parameters could not be deserialized",[i.invalidState]:"State was not the expected format",[i.stateMismatch]:"State mismatch error",[i.stateNotFound]:"State not found",[i.nonceMismatch]:"Nonce mismatch error",[i.authTimeNotFound]:"Max Age was requested and the ID token is missing the auth_time variable. auth_time is an optional claim and is not enabled by default - it must be enabled. See https://aka.ms/msaljs/optional-claims for more information.",[i.maxAgeTranspired]:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication.",[i.multipleMatchingTokens]:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account.",[i.multipleMatchingAccounts]:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account",[i.multipleMatchingAppMetadata]:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata",[i.requestCannotBeMade]:"Token request cannot be made without authorization code or refresh token.",[i.cannotRemoveEmptyScope]:"Cannot remove null or empty scope from ScopeSet",[i.cannotAppendScopeSet]:"Cannot append ScopeSet",[i.emptyInputScopeSet]:"Empty input ScopeSet cannot be processed",[i.deviceCodePollingCancelled]:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.",[i.deviceCodeExpired]:"Device code is expired.",[i.deviceCodeUnknownError]:"Device code stopped polling for unknown reasons.",[i.noAccountInSilentRequest]:"Please pass an account object, silent flow is not supported without account information",[i.invalidCacheRecord]:"Cache record object was null or undefined.",[i.invalidCacheEnvironment]:"Invalid environment when attempting to create cache entry",[i.noAccountFound]:"No account found in cache for given key.",[i.noCryptoObject]:"No crypto object detected.",[i.unexpectedCredentialType]:"Unexpected credential type.",[i.invalidAssertion]:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515",[i.invalidClientCredential]:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential",[i.tokenRefreshRequired]:"Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.",[i.userTimeoutReached]:"User defined timeout for device code polling reached",[i.tokenClaimsCnfRequiredForSignedJwt]:"Cannot generate a POP jwt if the token_claims are not populated",[i.authorizationCodeMissingFromServerResponse]:"Server response does not contain an authorization code to proceed",[i.bindingKeyNotRemoved]:"Could not remove the credential's binding key from storage.",[i.endSessionEndpointNotSupported]:"The provided authority does not support logout",[i.keyIdMissing]:"A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key.",[i.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[i.userCanceled]:"User cancelled the flow.",[i.missingTenantIdError]:"A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.",[i.methodNotImplemented]:"This method has not been implemented",[i.nestedAppAuthBridgeDisabled]:"The nested app auth bridge is disabled"},a={clientInfoDecodingError:{code:i.clientInfoDecodingError,desc:d[i.clientInfoDecodingError]},clientInfoEmptyError:{code:i.clientInfoEmptyError,desc:d[i.clientInfoEmptyError]},tokenParsingError:{code:i.tokenParsingError,desc:d[i.tokenParsingError]},nullOrEmptyToken:{code:i.nullOrEmptyToken,desc:d[i.nullOrEmptyToken]},endpointResolutionError:{code:i.endpointResolutionError,desc:d[i.endpointResolutionError]},networkError:{code:i.networkError,desc:d[i.networkError]},unableToGetOpenidConfigError:{code:i.openIdConfigError,desc:d[i.openIdConfigError]},hashNotDeserialized:{code:i.hashNotDeserialized,desc:d[i.hashNotDeserialized]},invalidStateError:{code:i.invalidState,desc:d[i.invalidState]},stateMismatchError:{code:i.stateMismatch,desc:d[i.stateMismatch]},stateNotFoundError:{code:i.stateNotFound,desc:d[i.stateNotFound]},nonceMismatchError:{code:i.nonceMismatch,desc:d[i.nonceMismatch]},authTimeNotFoundError:{code:i.authTimeNotFound,desc:d[i.authTimeNotFound]},maxAgeTranspired:{code:i.maxAgeTranspired,desc:d[i.maxAgeTranspired]},multipleMatchingTokens:{code:i.multipleMatchingTokens,desc:d[i.multipleMatchingTokens]},multipleMatchingAccounts:{code:i.multipleMatchingAccounts,desc:d[i.multipleMatchingAccounts]},multipleMatchingAppMetadata:{code:i.multipleMatchingAppMetadata,desc:d[i.multipleMatchingAppMetadata]},tokenRequestCannotBeMade:{code:i.requestCannotBeMade,desc:d[i.requestCannotBeMade]},removeEmptyScopeError:{code:i.cannotRemoveEmptyScope,desc:d[i.cannotRemoveEmptyScope]},appendScopeSetError:{code:i.cannotAppendScopeSet,desc:d[i.cannotAppendScopeSet]},emptyInputScopeSetError:{code:i.emptyInputScopeSet,desc:d[i.emptyInputScopeSet]},DeviceCodePollingCancelled:{code:i.deviceCodePollingCancelled,desc:d[i.deviceCodePollingCancelled]},DeviceCodeExpired:{code:i.deviceCodeExpired,desc:d[i.deviceCodeExpired]},DeviceCodeUnknownError:{code:i.deviceCodeUnknownError,desc:d[i.deviceCodeUnknownError]},NoAccountInSilentRequest:{code:i.noAccountInSilentRequest,desc:d[i.noAccountInSilentRequest]},invalidCacheRecord:{code:i.invalidCacheRecord,desc:d[i.invalidCacheRecord]},invalidCacheEnvironment:{code:i.invalidCacheEnvironment,desc:d[i.invalidCacheEnvironment]},noAccountFound:{code:i.noAccountFound,desc:d[i.noAccountFound]},noCryptoObj:{code:i.noCryptoObject,desc:d[i.noCryptoObject]},unexpectedCredentialType:{code:i.unexpectedCredentialType,desc:d[i.unexpectedCredentialType]},invalidAssertion:{code:i.invalidAssertion,desc:d[i.invalidAssertion]},invalidClientCredential:{code:i.invalidClientCredential,desc:d[i.invalidClientCredential]},tokenRefreshRequired:{code:i.tokenRefreshRequired,desc:d[i.tokenRefreshRequired]},userTimeoutReached:{code:i.userTimeoutReached,desc:d[i.userTimeoutReached]},tokenClaimsRequired:{code:i.tokenClaimsCnfRequiredForSignedJwt,desc:d[i.tokenClaimsCnfRequiredForSignedJwt]},noAuthorizationCodeFromServer:{code:i.authorizationCodeMissingFromServerResponse,desc:d[i.authorizationCodeMissingFromServerResponse]},bindingKeyNotRemovedError:{code:i.bindingKeyNotRemoved,desc:d[i.bindingKeyNotRemoved]},logoutNotSupported:{code:i.endSessionEndpointNotSupported,desc:d[i.endSessionEndpointNotSupported]},keyIdMissing:{code:i.keyIdMissing,desc:d[i.keyIdMissing]},noNetworkConnectivity:{code:i.noNetworkConnectivity,desc:d[i.noNetworkConnectivity]},userCanceledError:{code:i.userCanceled,desc:d[i.userCanceled]},missingTenantIdError:{code:i.missingTenantIdError,desc:d[i.missingTenantIdError]},nestedAppAuthBridgeDisabled:{code:i.nestedAppAuthBridgeDisabled,desc:d[i.nestedAppAuthBridgeDisabled]}};class l extends n.WM{constructor(c,g){super(c,g?`${d[c]}: ${g}`:d[c]),this.name="ClientAuthError",Object.setPrototypeOf(this,l.prototype)}}function e(u,c){return new l(u,c)}},71408:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{authTimeNotFound:()=>C,authorizationCodeMissingFromServerResponse:()=>re,bindingKeyNotRemoved:()=>J,cannotAppendScopeSet:()=>A,cannotRemoveEmptyScope:()=>M,clientInfoDecodingError:()=>n,clientInfoEmptyError:()=>i,deviceCodeExpired:()=>j,deviceCodePollingCancelled:()=>F,deviceCodeUnknownError:()=>T,emptyInputScopeSet:()=>I,endSessionEndpointNotSupported:()=>Y,endpointResolutionError:()=>l,hashNotDeserialized:()=>c,invalidAssertion:()=>te,invalidCacheEnvironment:()=>N,invalidCacheRecord:()=>x,invalidClientCredential:()=>ue,invalidState:()=>g,keyIdMissing:()=>$,maxAgeTranspired:()=>_,methodNotImplemented:()=>ye,missingTenantIdError:()=>we,multipleMatchingAccounts:()=>y,multipleMatchingAppMetadata:()=>b,multipleMatchingTokens:()=>f,nestedAppAuthBridgeDisabled:()=>Oe,networkError:()=>e,noAccountFound:()=>O,noAccountInSilentRequest:()=>P,noCryptoObject:()=>H,noNetworkConnectivity:()=>le,nonceMismatch:()=>S,nullOrEmptyToken:()=>a,openIdConfigError:()=>u,requestCannotBeMade:()=>E,stateMismatch:()=>v,stateNotFound:()=>p,tokenClaimsCnfRequiredForSignedJwt:()=>Z,tokenParsingError:()=>d,tokenRefreshRequired:()=>se,unexpectedCredentialType:()=>G,userCanceled:()=>ee,userTimeoutReached:()=>K});const n="client_info_decoding_error",i="client_info_empty_error",d="token_parsing_error",a="null_or_empty_token",l="endpoints_resolution_error",e="network_error",u="openid_config_error",c="hash_not_deserialized",g="invalid_state",v="state_mismatch",p="state_not_found",S="nonce_mismatch",C="auth_time_not_found",_="max_age_transpired",f="multiple_matching_tokens",y="multiple_matching_accounts",b="multiple_matching_appMetadata",E="request_cannot_be_made",M="cannot_remove_empty_scope",A="cannot_append_scopeset",I="empty_input_scopeset",F="device_code_polling_cancelled",j="device_code_expired",T="device_code_unknown_error",P="no_account_in_silent_request",x="invalid_cache_record",N="invalid_cache_environment",O="no_account_found",H="no_crypto_object",G="unexpected_credential_type",te="invalid_assertion",ue="invalid_client_credential",se="token_refresh_required",K="user_timeout_reached",Z="token_claims_cnf_required_for_signedjwt",re="authorization_code_missing_from_server_response",J="binding_key_not_removed",Y="end_session_endpoint_not_supported",$="key_id_missing",le="no_network_connectivity",ee="user_canceled",we="missing_tenant_id_error",ye="method_not_implemented",Oe="nested_app_auth_bridge_disabled"},59684:(pe,h,o)=>{"use strict";o.d(h,{OA:()=>a,Ou:()=>l,QN:()=>e});var n=o(66936),i=o(32336);const d={[i.redirectUriEmpty]:"A redirect URI is required for all calls, and none has been set.",[i.claimsRequestParsingError]:"Could not parse the given claims request object.",[i.authorityUriInsecure]:"Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options",[i.urlParseError]:"URL could not be parsed into appropriate segments.",[i.urlEmptyError]:"URL was empty or null.",[i.emptyInputScopesError]:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",[i.invalidPromptValue]:"Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",[i.invalidClaims]:"Given claims parameter must be a stringified JSON object.",[i.tokenRequestEmpty]:"Token request was empty and not found in cache.",[i.logoutRequestEmpty]:"The logout request was null or undefined.",[i.invalidCodeChallengeMethod]:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".',[i.pkceParamsMissing]:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request",[i.invalidCloudDiscoveryMetadata]:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields",[i.invalidAuthorityMetadata]:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.",[i.untrustedAuthority]:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",[i.missingSshJwk]:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.",[i.missingSshKid]:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.",[i.missingNonceAuthenticationHeader]:"Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce.",[i.invalidAuthenticationHeader]:"Invalid authentication header provided",[i.cannotSetOIDCOptions]:"Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.",[i.cannotAllowNativeBroker]:"Cannot set allowNativeBroker parameter to true when not in AAD protocol mode.",[i.authorityMismatch]:"Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority."},a={redirectUriNotSet:{code:i.redirectUriEmpty,desc:d[i.redirectUriEmpty]},claimsRequestParsingError:{code:i.claimsRequestParsingError,desc:d[i.claimsRequestParsingError]},authorityUriInsecure:{code:i.authorityUriInsecure,desc:d[i.authorityUriInsecure]},urlParseError:{code:i.urlParseError,desc:d[i.urlParseError]},urlEmptyError:{code:i.urlEmptyError,desc:d[i.urlEmptyError]},emptyScopesError:{code:i.emptyInputScopesError,desc:d[i.emptyInputScopesError]},invalidPrompt:{code:i.invalidPromptValue,desc:d[i.invalidPromptValue]},invalidClaimsRequest:{code:i.invalidClaims,desc:d[i.invalidClaims]},tokenRequestEmptyError:{code:i.tokenRequestEmpty,desc:d[i.tokenRequestEmpty]},logoutRequestEmptyError:{code:i.logoutRequestEmpty,desc:d[i.logoutRequestEmpty]},invalidCodeChallengeMethod:{code:i.invalidCodeChallengeMethod,desc:d[i.invalidCodeChallengeMethod]},invalidCodeChallengeParams:{code:i.pkceParamsMissing,desc:d[i.pkceParamsMissing]},invalidCloudDiscoveryMetadata:{code:i.invalidCloudDiscoveryMetadata,desc:d[i.invalidCloudDiscoveryMetadata]},invalidAuthorityMetadata:{code:i.invalidAuthorityMetadata,desc:d[i.invalidAuthorityMetadata]},untrustedAuthority:{code:i.untrustedAuthority,desc:d[i.untrustedAuthority]},missingSshJwk:{code:i.missingSshJwk,desc:d[i.missingSshJwk]},missingSshKid:{code:i.missingSshKid,desc:d[i.missingSshKid]},missingNonceAuthenticationHeader:{code:i.missingNonceAuthenticationHeader,desc:d[i.missingNonceAuthenticationHeader]},invalidAuthenticationHeader:{code:i.invalidAuthenticationHeader,desc:d[i.invalidAuthenticationHeader]},cannotSetOIDCOptions:{code:i.cannotSetOIDCOptions,desc:d[i.cannotSetOIDCOptions]},cannotAllowNativeBroker:{code:i.cannotAllowNativeBroker,desc:d[i.cannotAllowNativeBroker]},authorityMismatch:{code:i.authorityMismatch,desc:d[i.authorityMismatch]}};class l extends n.WM{constructor(c){super(c,d[c]),this.name="ClientConfigurationError",Object.setPrototypeOf(this,l.prototype)}}function e(u){return new l(u)}},32336:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{authorityMismatch:()=>F,authorityUriInsecure:()=>d,cannotAllowNativeBroker:()=>I,cannotSetOIDCOptions:()=>A,claimsRequestParsingError:()=>i,emptyInputScopesError:()=>e,invalidAuthenticationHeader:()=>M,invalidAuthorityMetadata:()=>_,invalidClaims:()=>c,invalidCloudDiscoveryMetadata:()=>C,invalidCodeChallengeMethod:()=>p,invalidPromptValue:()=>u,logoutRequestEmpty:()=>v,missingNonceAuthenticationHeader:()=>E,missingSshJwk:()=>y,missingSshKid:()=>b,pkceParamsMissing:()=>S,redirectUriEmpty:()=>n,tokenRequestEmpty:()=>g,untrustedAuthority:()=>f,urlEmptyError:()=>l,urlParseError:()=>a});const n="redirect_uri_empty",i="claims_request_parsing_error",d="authority_uri_insecure",a="url_parse_error",l="empty_url_error",e="empty_input_scopes_error",u="invalid_prompt_value",c="invalid_claims",g="token_request_empty",v="logout_request_empty",p="invalid_code_challenge_method",S="pkce_params_missing",C="invalid_cloud_discovery_metadata",_="invalid_authority_metadata",f="untrusted_authority",y="missing_ssh_jwk",b="missing_ssh_kid",E="missing_nonce_authentication_header",M="invalid_authentication_header",A="cannot_set_OIDCOptions",I="cannot_allow_native_broker",F="authority_mismatch"},53408:(pe,h,o)=>{"use strict";o.d(h,{A6:()=>v,aq:()=>g,gx:()=>u,uw:()=>c});var n=o(34739),i=o(66936),d=o(72896);const a=[d.interactionRequired,d.consentRequired,d.loginRequired,d.badToken],l=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token"],e={[d.noTokensFound]:"No refresh token found in the cache. Please sign-in.",[d.nativeAccountUnavailable]:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API.",[d.refreshTokenExpired]:"Refresh token has expired.",[d.badToken]:"Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve."},u={noTokensFoundError:{code:d.noTokensFound,desc:e[d.noTokensFound]},native_account_unavailable:{code:d.nativeAccountUnavailable,desc:e[d.nativeAccountUnavailable]},bad_token:{code:d.badToken,desc:e[d.badToken]}};class c extends i.WM{constructor(S,C,_,f,y,b,E){super(S,C,_),Object.setPrototypeOf(this,c.prototype),this.timestamp=f||n.Mv.EMPTY_STRING,this.traceId=y||n.Mv.EMPTY_STRING,this.correlationId=b||n.Mv.EMPTY_STRING,this.claims=E||n.Mv.EMPTY_STRING,this.name="InteractionRequiredAuthError"}}function g(p,S,C){const _=!!p&&a.indexOf(p)>-1,f=!!C&&l.indexOf(C)>-1,y=!!S&&a.some(b=>S.indexOf(b)>-1);return _||y||f}function v(p){return new c(p,e[p])}},72896:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{badToken:()=>u,consentRequired:()=>l,interactionRequired:()=>a,loginRequired:()=>e,nativeAccountUnavailable:()=>i,noTokensFound:()=>n,refreshTokenExpired:()=>d});const n="no_tokens_found",i="native_account_unavailable",d="refresh_token_expired",a="interaction_required",l="consent_required",e="login_required",u="bad_token"},76944:(pe,h,o)=>{"use strict";o.d(h,{s:()=>i});var n=o(66936);class i extends n.WM{constructor(a,l,e){super(a,l,e),this.name="ServerError",Object.setPrototypeOf(this,i.prototype)}}},73364:(pe,h,o)=>{"use strict";o.d(h,{G:()=>i,Y:()=>d});var n=o(34739),i=function(a){return a[a.Error=0]="Error",a[a.Warning=1]="Warning",a[a.Info=2]="Info",a[a.Verbose=3]="Verbose",a[a.Trace=4]="Trace",a}(i||{});class d{constructor(l,e,u){this.level=i.Info;const g=l||d.createDefaultLoggerOptions();this.localCallback=g.loggerCallback||(()=>{}),this.piiLoggingEnabled=g.piiLoggingEnabled||!1,this.level="number"==typeof g.logLevel?g.logLevel:i.Info,this.correlationId=g.correlationId||n.Mv.EMPTY_STRING,this.packageName=e||n.Mv.EMPTY_STRING,this.packageVersion=u||n.Mv.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:i.Info}}clone(l,e,u){return new d({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:u||this.correlationId},l,e)}logMessage(l,e){if(e.logLevel>this.level||!this.piiLoggingEnabled&&e.containsPii)return;const g=`[${(new Date).toUTCString()}] : [${e.correlationId||this.correlationId||""}] : ${this.packageName}@${this.packageVersion} : ${i[e.logLevel]} - ${l}`;this.executeCallback(e.logLevel,g,e.containsPii||!1)}executeCallback(l,e,u){this.localCallback&&this.localCallback(l,e,u)}error(l,e){this.logMessage(l,{logLevel:i.Error,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}errorPii(l,e){this.logMessage(l,{logLevel:i.Error,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}warning(l,e){this.logMessage(l,{logLevel:i.Warning,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}warningPii(l,e){this.logMessage(l,{logLevel:i.Warning,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}info(l,e){this.logMessage(l,{logLevel:i.Info,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}infoPii(l,e){this.logMessage(l,{logLevel:i.Info,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}verbose(l,e){this.logMessage(l,{logLevel:i.Verbose,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}verbosePii(l,e){this.logMessage(l,{logLevel:i.Verbose,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}trace(l,e){this.logMessage(l,{logLevel:i.Trace,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}tracePii(l,e){this.logMessage(l,{logLevel:i.Trace,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}},75205:(pe,h,o)=>{"use strict";o.d(h,{N:()=>n,W:()=>i});const n="@azure/msal-common",i="14.7.1"},33363:(pe,h,o)=>{"use strict";o.d(h,{I:()=>u});var n=o(34739),i=o(91076),d=o(95248),a=o(59684),l=o(77768),e=o(32336);class u{constructor(){this.parameters=new Map}addResponseTypeCode(){this.parameters.set(i.U3,encodeURIComponent(n.Mv.CODE_RESPONSE_TYPE))}addResponseTypeForTokenAndIdToken(){this.parameters.set(i.U3,encodeURIComponent(`${n.Mv.TOKEN_RESPONSE_TYPE} ${n.Mv.ID_TOKEN_RESPONSE_TYPE}`))}addResponseMode(g){this.parameters.set(i.Ku,encodeURIComponent(g||n.oh.QUERY))}addNativeBroker(){this.parameters.set(i.Yc,encodeURIComponent("1"))}addScopes(g,v=!0,p=n.ac){v&&!p.includes("openid")&&!g.includes("openid")&&p.push("openid");const S=v?[...g||[],...p]:g||[],C=new d.k(S);this.parameters.set(i.Bz,encodeURIComponent(C.printScopes()))}addClientId(g){this.parameters.set(i._k,encodeURIComponent(g))}addRedirectUri(g){l.e.validateRedirectUri(g),this.parameters.set(i.kB,encodeURIComponent(g))}addPostLogoutRedirectUri(g){l.e.validateRedirectUri(g),this.parameters.set(i.aw,encodeURIComponent(g))}addIdTokenHint(g){this.parameters.set(i.CS,encodeURIComponent(g))}addDomainHint(g){this.parameters.set(i.Ok,encodeURIComponent(g))}addLoginHint(g){this.parameters.set(i.WM,encodeURIComponent(g))}addCcsUpn(g){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`UPN:${g}`))}addCcsOid(g){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`Oid:${g.uid}@${g.utid}`))}addSid(g){this.parameters.set(i.N2,encodeURIComponent(g))}addClaims(g,v){const p=this.addClientCapabilitiesToClaims(g,v);l.e.validateClaims(p),this.parameters.set(i.e8,encodeURIComponent(p))}addCorrelationId(g){this.parameters.set(i.eU,encodeURIComponent(g))}addLibraryInfo(g){this.parameters.set(i.e6,g.sku),this.parameters.set(i.Yr,g.version),g.os&&this.parameters.set(i.cx,g.os),g.cpu&&this.parameters.set(i.uQ,g.cpu)}addApplicationTelemetry(g){g?.appName&&this.parameters.set(i.O0,g.appName),g?.appVersion&&this.parameters.set(i.op,g.appVersion)}addPrompt(g){l.e.validatePrompt(g),this.parameters.set(`${i.E$}`,encodeURIComponent(g))}addState(g){g&&this.parameters.set(i.y2,encodeURIComponent(g))}addNonce(g){this.parameters.set(i.n,encodeURIComponent(g))}addCodeChallengeParams(g,v){if(l.e.validateCodeChallengeParams(g,v),!g||!v)throw(0,a.QN)(e.pkceParamsMissing);this.parameters.set(i.WG,encodeURIComponent(g)),this.parameters.set(i.UJ,encodeURIComponent(v))}addAuthorizationCode(g){this.parameters.set(i.MZ,encodeURIComponent(g))}addDeviceCode(g){this.parameters.set(i.eo,encodeURIComponent(g))}addRefreshToken(g){this.parameters.set(i.S1,encodeURIComponent(g))}addCodeVerifier(g){this.parameters.set(i.gt,encodeURIComponent(g))}addClientSecret(g){this.parameters.set(i.YR,encodeURIComponent(g))}addClientAssertion(g){g&&this.parameters.set(i.iK,encodeURIComponent(g))}addClientAssertionType(g){g&&this.parameters.set(i.gL,encodeURIComponent(g))}addOboAssertion(g){this.parameters.set(i.k1,encodeURIComponent(g))}addRequestTokenUse(g){this.parameters.set(i.Gs,encodeURIComponent(g))}addGrantType(g){this.parameters.set(i.cD,encodeURIComponent(g))}addClientInfo(){this.parameters.set(n.Y$,"1")}addExtraQueryParameters(g){const v=l.e.sanitizeEQParams(g,this.parameters);Object.keys(v).forEach(p=>{this.parameters.set(p,g[p])})}addClientCapabilitiesToClaims(g,v){let p;if(g)try{p=JSON.parse(g)}catch{throw(0,a.QN)(e.invalidClaims)}else p={};return v&&v.length>0&&(p.hasOwnProperty(n.ai.ACCESS_TOKEN)||(p[n.ai.ACCESS_TOKEN]={}),p[n.ai.ACCESS_TOKEN][n.ai.XMS_CC]={values:v}),JSON.stringify(p)}addUsername(g){this.parameters.set(n.uU.username,encodeURIComponent(g))}addPassword(g){this.parameters.set(n.uU.password,encodeURIComponent(g))}addPopToken(g){g&&(this.parameters.set(i.kT,n.me.POP),this.parameters.set(i.cf,encodeURIComponent(g)))}addSshJwk(g){g&&(this.parameters.set(i.kT,n.me.SSH),this.parameters.set(i.cf,encodeURIComponent(g)))}addServerTelemetry(g){this.parameters.set(i.sx,g.generateCurrentRequestHeaderValue()),this.parameters.set(i.qA,g.generateLastRequestHeaderValue())}addThrottling(){this.parameters.set(i._E,n.gr.X_MS_LIB_CAPABILITY_VALUE)}addLogoutHint(g){this.parameters.set(i.sp,encodeURIComponent(g))}createQueryString(){const g=new Array;return this.parameters.forEach((v,p)=>{g.push(`${p}=${v}`)}),g.join("&")}}},77768:(pe,h,o)=>{"use strict";o.d(h,{e:()=>a});var n=o(59684),i=o(34739),d=o(32336);class a{static validateRedirectUri(e){if(!e)throw(0,n.QN)(d.redirectUriEmpty)}static validatePrompt(e){const u=[];for(const c in i.GI)u.push(i.GI[c]);if(u.indexOf(e)<0)throw(0,n.QN)(d.invalidPromptValue)}static validateClaims(e){try{JSON.parse(e)}catch{throw(0,n.QN)(d.invalidClaims)}}static validateCodeChallengeParams(e,u){if(!e||!u)throw(0,n.QN)(d.pkceParamsMissing);this.validateCodeChallengeMethod(u)}static validateCodeChallengeMethod(e){if([i.a2.PLAIN,i.a2.S256].indexOf(e)<0)throw(0,n.QN)(d.invalidCodeChallengeMethod)}static sanitizeEQParams(e,u){return e?(u.forEach((c,g)=>{e[g]&&delete e[g]}),Object.fromEntries(Object.entries(e).filter(c=>""!==c[1]))):{}}}},95248:(pe,h,o)=>{"use strict";o.d(h,{k:()=>u});var n=o(59684),i=o(7828),d=o(28876),a=o(34739),l=o(32336),e=o(71408);class u{constructor(g){const v=g?i.e.trimArrayEntries([...g]):[],p=v?i.e.removeEmptyStringsFromArray(v):[];this.validateInputScopes(p),this.scopes=new Set,p.forEach(S=>this.scopes.add(S))}static fromString(g){const p=(g||a.Mv.EMPTY_STRING).split(" ");return new u(p)}static createSearchScopes(g){const v=new u(g);return v.containsOnlyOIDCScopes()?v.removeScope(a.Mv.OFFLINE_ACCESS_SCOPE):v.removeOIDCScopes(),v}validateInputScopes(g){if(!g||g.length<1)throw(0,n.QN)(l.emptyInputScopesError)}containsScope(g){const v=this.printScopesLowerCase().split(" "),p=new u(v);return!!g&&p.scopes.has(g.toLowerCase())}containsScopeSet(g){return!(!g||g.scopes.size<=0)&&this.scopes.size>=g.scopes.size&&g.asArray().every(v=>this.containsScope(v))}containsOnlyOIDCScopes(){let g=0;return a.sj.forEach(v=>{this.containsScope(v)&&(g+=1)}),this.scopes.size===g}appendScope(g){g&&this.scopes.add(g.trim())}appendScopes(g){try{g.forEach(v=>this.appendScope(v))}catch{throw(0,d.mQ)(e.cannotAppendScopeSet)}}removeScope(g){if(!g)throw(0,d.mQ)(e.cannotRemoveEmptyScope);this.scopes.delete(g.trim())}removeOIDCScopes(){a.sj.forEach(g=>{this.scopes.delete(g)})}unionScopeSets(g){if(!g)throw(0,d.mQ)(e.emptyInputScopeSet);const v=new Set;return g.scopes.forEach(p=>v.add(p.toLowerCase())),this.scopes.forEach(p=>v.add(p.toLowerCase())),v}intersectingScopeSets(g){if(!g)throw(0,d.mQ)(e.emptyInputScopeSet);g.containsOnlyOIDCScopes()||g.removeOIDCScopes();const v=this.unionScopeSets(g),p=g.getScopeCount(),S=this.getScopeCount();return v.sizeg.push(v)),g}printScopes(){return this.scopes?this.asArray().join(" "):a.Mv.EMPTY_STRING}printScopesLowerCase(){return this.printScopes().toLowerCase()}}},85348:(pe,h,o)=>{"use strict";o.d(h,{W8:()=>i,Xv:()=>n,ol:()=>d});const n={AcquireTokenByCode:"acquireTokenByCode",AcquireTokenByRefreshToken:"acquireTokenByRefreshToken",AcquireTokenSilent:"acquireTokenSilent",AcquireTokenSilentAsync:"acquireTokenSilentAsync",AcquireTokenPopup:"acquireTokenPopup",AcquireTokenRedirect:"acquireTokenRedirect",CryptoOptsGetPublicKeyThumbprint:"cryptoOptsGetPublicKeyThumbprint",CryptoOptsSignJwt:"cryptoOptsSignJwt",SilentCacheClientAcquireToken:"silentCacheClientAcquireToken",SilentIframeClientAcquireToken:"silentIframeClientAcquireToken",SilentRefreshClientAcquireToken:"silentRefreshClientAcquireToken",SsoSilent:"ssoSilent",StandardInteractionClientGetDiscoveredAuthority:"standardInteractionClientGetDiscoveredAuthority",FetchAccountIdWithNativeBroker:"fetchAccountIdWithNativeBroker",NativeInteractionClientAcquireToken:"nativeInteractionClientAcquireToken",BaseClientCreateTokenRequestHeaders:"baseClientCreateTokenRequestHeaders",RefreshTokenClientExecutePostToTokenEndpoint:"refreshTokenClientExecutePostToTokenEndpoint",AuthorizationCodeClientExecutePostToTokenEndpoint:"authorizationCodeClientExecutePostToTokenEndpoint",BrokerHandhshake:"brokerHandshake",AcquireTokenByRefreshTokenInBroker:"acquireTokenByRefreshTokenInBroker",AcquireTokenByBroker:"acquireTokenByBroker",RefreshTokenClientExecuteTokenRequest:"refreshTokenClientExecuteTokenRequest",RefreshTokenClientAcquireToken:"refreshTokenClientAcquireToken",RefreshTokenClientAcquireTokenWithCachedRefreshToken:"refreshTokenClientAcquireTokenWithCachedRefreshToken",RefreshTokenClientAcquireTokenByRefreshToken:"refreshTokenClientAcquireTokenByRefreshToken",RefreshTokenClientCreateTokenRequestBody:"refreshTokenClientCreateTokenRequestBody",AcquireTokenFromCache:"acquireTokenFromCache",SilentFlowClientAcquireCachedToken:"silentFlowClientAcquireCachedToken",SilentFlowClientGenerateResultFromCacheRecord:"silentFlowClientGenerateResultFromCacheRecord",AcquireTokenBySilentIframe:"acquireTokenBySilentIframe",InitializeBaseRequest:"initializeBaseRequest",InitializeSilentRequest:"initializeSilentRequest",InitializeClientApplication:"initializeClientApplication",SilentIframeClientTokenHelper:"silentIframeClientTokenHelper",SilentHandlerInitiateAuthRequest:"silentHandlerInitiateAuthRequest",SilentHandlerMonitorIframeForHash:"silentHandlerMonitorIframeForHash",SilentHandlerLoadFrame:"silentHandlerLoadFrame",SilentHandlerLoadFrameSync:"silentHandlerLoadFrameSync",StandardInteractionClientCreateAuthCodeClient:"standardInteractionClientCreateAuthCodeClient",StandardInteractionClientGetClientConfiguration:"standardInteractionClientGetClientConfiguration",StandardInteractionClientInitializeAuthorizationRequest:"standardInteractionClientInitializeAuthorizationRequest",StandardInteractionClientInitializeAuthorizationCodeRequest:"standardInteractionClientInitializeAuthorizationCodeRequest",GetAuthCodeUrl:"getAuthCodeUrl",HandleCodeResponseFromServer:"handleCodeResponseFromServer",HandleCodeResponse:"handleCodeResponse",UpdateTokenEndpointAuthority:"updateTokenEndpointAuthority",AuthClientAcquireToken:"authClientAcquireToken",AuthClientExecuteTokenRequest:"authClientExecuteTokenRequest",AuthClientCreateTokenRequestBody:"authClientCreateTokenRequestBody",AuthClientCreateQueryString:"authClientCreateQueryString",PopTokenGenerateCnf:"popTokenGenerateCnf",PopTokenGenerateKid:"popTokenGenerateKid",HandleServerTokenResponse:"handleServerTokenResponse",DeserializeResponse:"deserializeResponse",AuthorityFactoryCreateDiscoveredInstance:"authorityFactoryCreateDiscoveredInstance",AuthorityResolveEndpointsAsync:"authorityResolveEndpointsAsync",AuthorityResolveEndpointsFromLocalSources:"authorityResolveEndpointsFromLocalSources",AuthorityGetCloudDiscoveryMetadataFromNetwork:"authorityGetCloudDiscoveryMetadataFromNetwork",AuthorityUpdateCloudDiscoveryMetadata:"authorityUpdateCloudDiscoveryMetadata",AuthorityGetEndpointMetadataFromNetwork:"authorityGetEndpointMetadataFromNetwork",AuthorityUpdateEndpointMetadata:"authorityUpdateEndpointMetadata",AuthorityUpdateMetadataWithRegionalInformation:"authorityUpdateMetadataWithRegionalInformation",RegionDiscoveryDetectRegion:"regionDiscoveryDetectRegion",RegionDiscoveryGetRegionFromIMDS:"regionDiscoveryGetRegionFromIMDS",RegionDiscoveryGetCurrentVersion:"regionDiscoveryGetCurrentVersion",AcquireTokenByCodeAsync:"acquireTokenByCodeAsync",GetEndpointMetadataFromNetwork:"getEndpointMetadataFromNetwork",GetCloudDiscoveryMetadataFromNetworkMeasurement:"getCloudDiscoveryMetadataFromNetworkMeasurement",HandleRedirectPromiseMeasurement:"handleRedirectPromise",HandleNativeRedirectPromiseMeasurement:"handleNativeRedirectPromise",UpdateCloudDiscoveryMetadataMeasurement:"updateCloudDiscoveryMetadataMeasurement",UsernamePasswordClientAcquireToken:"usernamePasswordClientAcquireToken",NativeMessageHandlerHandshake:"nativeMessageHandlerHandshake",NativeGenerateAuthResult:"nativeGenerateAuthResult",RemoveHiddenIframe:"removeHiddenIframe",ClearTokensAndKeysWithClaims:"clearTokensAndKeysWithClaims",CacheManagerGetRefreshToken:"cacheManagerGetRefreshToken",GeneratePkceCodes:"generatePkceCodes",GenerateCodeVerifier:"generateCodeVerifier",GenerateCodeChallengeFromVerifier:"generateCodeChallengeFromVerifier",Sha256Digest:"sha256Digest",GetRandomValues:"getRandomValues"},i={NotStarted:0,InProgress:1,Completed:2},d=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status","multiMatchedAT","multiMatchedID","multiMatchedRT"])},35128:(pe,h,o)=>{"use strict";o.d(h,{W:()=>i,_:()=>d});var n=o(85348);class i{startMeasurement(){}endMeasurement(){}flushMeasurement(){return null}}class d{generateId(){return"callback-id"}startMeasurement(l,e){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:n.W8.InProgress,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:l,startTimeMs:Date.now(),correlationId:e||""},measurement:new i}}startPerformanceMeasurement(){return new i}calculateQueuedTime(){return 0}addQueueMeasurement(){}setPreQueueTime(){}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}}},67648:(pe,h,o)=>{"use strict";o.d(h,{_:()=>e});var n=o(59684),i=o(7828),d=o(34739),a=o(33680),l=o(32336);class e{get urlString(){return this._urlString}constructor(c){if(this._urlString=c,!this._urlString)throw(0,n.QN)(l.urlEmptyError);c.includes("#")||(this._urlString=e.canonicalizeUri(c))}static canonicalizeUri(c){if(c){let g=c.toLowerCase();return i.e.endsWith(g,"?")?g=g.slice(0,-1):i.e.endsWith(g,"?/")&&(g=g.slice(0,-2)),i.e.endsWith(g,"/")||(g+="/"),g}return c}validateAsUri(){let c;try{c=this.getUrlComponents()}catch{throw(0,n.QN)(l.urlParseError)}if(!c.HostNameAndPort||!c.PathSegments)throw(0,n.QN)(l.urlParseError);if(!c.Protocol||"https:"!==c.Protocol.toLowerCase())throw(0,n.QN)(l.authorityUriInsecure)}static appendQueryString(c,g){return g?c.indexOf("?")<0?`${c}?${g}`:`${c}&${g}`:c}static removeHashFromUrl(c){return e.canonicalizeUri(c.split("#")[0])}replaceTenantPath(c){const g=this.getUrlComponents(),v=g.PathSegments;return c&&0!==v.length&&(v[0]===d.sN.COMMON||v[0]===d.sN.ORGANIZATIONS)&&(v[0]=c),e.constructAuthorityUriFromObject(g)}getUrlComponents(){const c=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),g=this.urlString.match(c);if(!g)throw(0,n.QN)(l.urlParseError);const v={Protocol:g[1],HostNameAndPort:g[4],AbsolutePath:g[5],QueryString:g[7]};let p=v.AbsolutePath.split("/");return p=p.filter(S=>S&&S.length>0),v.PathSegments=p,v.QueryString&&v.QueryString.endsWith("/")&&(v.QueryString=v.QueryString.substring(0,v.QueryString.length-1)),v}static getDomainFromUrl(c){const g=RegExp("^([^:/?#]+://)?([^/?#]*)"),v=c.match(g);if(!v)throw(0,n.QN)(l.urlParseError);return v[2]}static getAbsoluteUrl(c,g){if(c[0]===d.Mv.FORWARD_SLASH){const p=new e(g).getUrlComponents();return p.Protocol+"//"+p.HostNameAndPort+c}return c}static constructAuthorityUriFromObject(c){return new e(c.Protocol+"//"+c.HostNameAndPort+"/"+c.PathSegments.join("/"))}static hashContainsKnownProperties(c){return!!(0,a.u)(c)}}},34739:(pe,h,o)=>{"use strict";o.d(h,{A9:()=>_,GI:()=>g,Gu:()=>ue,IH:()=>e,Ku:()=>C,MF:()=>l,Mf:()=>te,Mj:()=>f,Mv:()=>n,Ni:()=>I,Q$:()=>H,Q3:()=>i,Y$:()=>M,a2:()=>v,ac:()=>d,ai:()=>c,cv:()=>F,cz:()=>E,eE:()=>p,gr:()=>P,ic:()=>j,me:()=>T,oh:()=>S,rF:()=>x,sL:()=>O,sN:()=>u,sj:()=>a,uU:()=>N,wR:()=>G,wj:()=>A,yu:()=>y});const n={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},i={SUCCESS_RANGE_START:200,SUCCESS_RANGE_END:299,REDIRECT:302,CLIENT_ERROR_RANGE_START:400,CLIENT_ERROR_RANGE_END:499,SERVER_ERROR_RANGE_START:500,SERVER_ERROR_RANGE_END:599},d=[n.OPENID_SCOPE,n.PROFILE_SCOPE,n.OFFLINE_ACCESS_SCOPE],a=[...d,n.EMAIL_SCOPE],l={CONTENT_TYPE:"Content-Type",RETRY_AFTER:"Retry-After",CCS_HEADER:"X-AnchorMailbox",WWWAuthenticate:"WWW-Authenticate",AuthenticationInfo:"Authentication-Info",X_MS_REQUEST_ID:"x-ms-request-id",X_MS_HTTP_VERSION:"x-ms-httpver"},e={ID_TOKEN:"idtoken",CLIENT_INFO:"client.info",ADAL_ID_TOKEN:"adal.idtoken",ERROR:"error",ERROR_DESC:"error.description",ACTIVE_ACCOUNT:"active-account",ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},u={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},c={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},g={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},v={PLAIN:"plain",S256:"S256"},p={QUERY:"query",FRAGMENT:"fragment"},S={...p,FORM_POST:"form_post"},C={IMPLICIT_GRANT:"implicit",AUTHORIZATION_CODE_GRANT:"authorization_code",CLIENT_CREDENTIALS_GRANT:"client_credentials",RESOURCE_OWNER_PASSWORD_GRANT:"password",REFRESH_TOKEN_GRANT:"refresh_token",DEVICE_CODE_GRANT:"device_code",JWT_BEARER:"urn:ietf:params:oauth:grant-type:jwt-bearer"},_={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},f={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."},y={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},E="appmetadata",M="client_info",A="1",I={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:86400},F={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},j={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"},T={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},P={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},x={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"},N={username:"username",password:"password"},O={httpSuccess:200,httpBadRequest:400},H={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},G={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},te={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},ue={Jwt:"JWT",Jwk:"JWK",Pop:"pop"}},14035:(pe,h,o)=>{"use strict";o.d(h,{C:()=>i,q:()=>n});const n=(d,a,l,e,u)=>(...c)=>{l.trace(`Executing function ${a}`);const g=e?.startMeasurement(a,u);if(u){const v=a+"CallCount";e?.incrementFields({[v]:1},u)}try{const v=d(...c);return g?.end({success:!0}),l.trace(`Returning result from ${a}`),v}catch(v){l.trace(`Error occurred in ${a}`);try{l.trace(JSON.stringify(v))}catch{l.trace("Unable to print error message.")}throw g?.end({success:!1}),v}},i=(d,a,l,e,u)=>(...c)=>{l.trace(`Executing function ${a}`);const g=e?.startMeasurement(a,u);if(u){const v=a+"CallCount";e?.incrementFields({[v]:1},u)}return e?.setPreQueueTime(a,u),d(...c).then(v=>(l.trace(`Returning result from ${a}`),g?.end({success:!0}),v)).catch(v=>{l.trace(`Error occurred in ${a}`);try{l.trace(JSON.stringify(v))}catch{l.trace("Unable to print error message.")}throw g?.end({success:!1}),v})}},86144:(pe,h,o)=>{"use strict";o.d(h,{c:()=>a});var n=o(34739),i=o(28876),d=o(71408);class a{static setRequestState(e,u,c){const g=a.generateLibraryState(e,c);return u?`${g}${n.Mv.RESOURCE_DELIM}${u}`:g}static generateLibraryState(e,u){if(!e)throw(0,i.mQ)(d.noCryptoObject);const c={id:e.createNewGuid()};u&&(c.meta=u);const g=JSON.stringify(c);return e.base64Encode(g)}static parseRequestState(e,u){if(!e)throw(0,i.mQ)(d.noCryptoObject);if(!u)throw(0,i.mQ)(d.invalidState);try{const c=u.split(n.Mv.RESOURCE_DELIM),g=c[0],v=c.length>1?c.slice(1).join(n.Mv.RESOURCE_DELIM):n.Mv.EMPTY_STRING,p=e.base64Decode(g),S=JSON.parse(p);return{userRequestState:v||n.Mv.EMPTY_STRING,libraryState:S}}catch{throw(0,i.mQ)(d.invalidState)}}}},7828:(pe,h,o)=>{"use strict";o.d(h,{e:()=>n});class n{static isEmptyObj(d){if(d)try{const a=JSON.parse(d);return 0===Object.keys(a).length}catch{}return!0}static startsWith(d,a){return 0===d.indexOf(a)}static endsWith(d,a){return d.length>=a.length&&d.lastIndexOf(a)===d.length-a.length}static queryStringToObject(d){const a={},l=d.split("&"),e=u=>decodeURIComponent(u.replace(/\+/g," "));return l.forEach(u=>{if(u.trim()){const[c,g]=u.split(/=(.+)/g,2);c&&g&&(a[e(c)]=e(g))}}),a}static trimArrayEntries(d){return d.map(a=>a.trim())}static removeEmptyStringsFromArray(d){return d.filter(a=>!!a)}static jsonParseHelper(d){try{return JSON.parse(d)}catch{return null}}static matchPattern(d,a){return new RegExp(d.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(a)}}},50160:(pe,h,o)=>{"use strict";function n(){return Math.round((new Date).getTime()/1e3)}function i(l,e){const u=Number(l)||0;return n()+e>u}function d(l){return Number(l)>n()}o.d(h,{G4:()=>d,GO:()=>n,WY:()=>i})},33680:(pe,h,o)=>{"use strict";o.d(h,{u:()=>a,w:()=>d});var n=o(28876),i=o(71408);function d(l){return l.startsWith("#/")?l.substring(2):l.startsWith("#")||l.startsWith("?")?l.substring(1):l}function a(l){if(!l||l.indexOf("=")<0)return null;try{const e=d(l),u=Object.fromEntries(new URLSearchParams(e));if(u.code||u.error||u.error_description||u.state)return u}catch{throw(0,n.mQ)(i.hashNotDeserialized)}return null}},57848:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{FaConfig:()=>mi,FaDuotoneIconComponent:()=>Sn,FaIconComponent:()=>Ji,FaIconLibrary:()=>Ai,FaLayersComponent:()=>Qi,FaLayersCounterComponent:()=>Ii,FaLayersTextComponent:()=>ei,FaStackComponent:()=>Ti,FaStackItemSizeDirective:()=>ji,FontAwesomeModule:()=>oo});var n=o(54496);function i(Be,at){var R=Object.keys(Be);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(Be);at&&(q=q.filter(function(B){return Object.getOwnPropertyDescriptor(Be,B).enumerable})),R.push.apply(R,q)}return R}function d(Be){for(var at=1;atBe.length)&&(at=Be.length);for(var R=0,q=new Array(at);R0;)at+=bn[62*Math.random()|0];return at}function rn(Be){for(var at=[],R=(Be||[]).length>>>0;R--;)at[R]=Be[R];return at}function nr(Be){return Be.classList?rn(Be.classList):(Be.getAttribute("class")||"").split(" ").filter(function(at){return at})}function kr(Be){return"".concat(Be).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function sr(Be){return Object.keys(Be||{}).reduce(function(at,R){return at+"".concat(R,": ").concat(Be[R].trim(),";")},"")}function Er(Be){return Be.size!==xt.size||Be.x!==xt.x||Be.y!==xt.y||Be.rotate!==xt.rotate||Be.flipX||Be.flipY}var Rn=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function oi(){var Be=Oe,at=ve,R=Xt.cssPrefix,q=Xt.replacementClass,B=Rn;if(R!==Be||q!==at){var ce=new RegExp("\\.".concat(Be,"\\-"),"g"),xe=new RegExp("\\--".concat(Be,"\\-"),"g"),yt=new RegExp("\\.".concat(at),"g");B=B.replace(ce,".".concat(R,"-")).replace(xe,"--".concat(R,"-")).replace(yt,".".concat(q))}return B}var Sr=!1;function pr(){Xt.autoAddCss&&!Sr&&(function nn(Be){if(Be&&Z){var at=te.createElement("style");at.setAttribute("type","text/css"),at.innerHTML=Be;for(var R=te.head.childNodes,q=null,B=R.length-1;B>-1;B--){var ce=R[B],xe=(ce.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(xe)>-1&&(q=ce)}te.head.insertBefore(at,q)}}(oi()),Sr=!0)}var Jn={mixout:function(){return{dom:{css:oi,insertCss:pr}}},hooks:function(){return{beforeDOMElementCreation:function(){pr()},beforeI2svg:function(){pr()}}}},er=G||{};er[we]||(er[we]={}),er[we].styles||(er[we].styles={}),er[we].hooks||(er[we].hooks={}),er[we].shims||(er[we].shims=[]);var Or=er[we],pi=[],jn=!1;function or(Be){var at=Be.tag,R=Be.attributes,q=void 0===R?{}:R,B=Be.children,ce=void 0===B?[]:B;return"string"==typeof Be?kr(Be):"<".concat(at," ").concat(function Br(Be){return Object.keys(Be||{}).reduce(function(at,R){return at+"".concat(R,'="').concat(kr(Be[R]),'" ')},"").trim()}(q),">").concat(ce.map(or).join(""),"")}function ui(Be,at,R){if(Be&&Be[at]&&Be[at][R])return{prefix:at,iconName:R,icon:Be[at][R]}}Z&&((jn=(te.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(te.readyState))||te.addEventListener("DOMContentLoaded",function Be(){te.removeEventListener("DOMContentLoaded",Be),jn=1,pi.map(function(at){return at()})}));var ct=function(at,R,q,B){var jt,cn,X,ce=Object.keys(at),xe=ce.length,yt=void 0!==B?function(at,R){return function(q,B,ce,xe){return at.call(R,q,B,ce,xe)}}(R,B):R;for(void 0===q?(jt=1,X=at[ce[0]]):(jt=0,X=q);jt=55296&&B<=56319&&R2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,B=void 0!==q&&q,ce=dn(at);"function"!=typeof Or.hooks.addPack||B?Or.styles[Be]=d(d({},Or.styles[Be]||{}),ce):Or.hooks.addPack(Be,dn(at)),"fas"===Be&&Mn("fa",at)}var Zn,Yn,Tr,Mr=Or.styles,zn=Or.shims,ur=(g(Zn={},nt,Object.values(_n[nt])),g(Zn,Pt,Object.values(_n[Pt])),Zn),Mi=null,un={},U={},z={},ae={},Fe={},Ae=(g(Yn={},nt,Object.keys(wn[nt])),g(Yn,Pt,Object.keys(wn[Pt])),Yn);var rt=function(){var at=function(ce){return ct(Mr,function(xe,yt,jt){return xe[jt]=ct(yt,ce,{}),xe},{})};un=at(function(B,ce,xe){return ce[3]&&(B[ce[3]]=xe),ce[2]&&ce[2].filter(function(jt){return"number"==typeof jt}).forEach(function(jt){B[jt.toString(16)]=xe}),B}),U=at(function(B,ce,xe){return B[xe]=xe,ce[2]&&ce[2].filter(function(jt){return"string"==typeof jt}).forEach(function(jt){B[jt]=xe}),B}),Fe=at(function(B,ce,xe){var yt=ce[2];return B[xe]=xe,yt.forEach(function(jt){B[jt]=xe}),B});var R="far"in Mr||Xt.autoFetchSvg,q=ct(zn,function(B,ce){var xe=ce[0],yt=ce[1],jt=ce[2];return"far"===yt&&!R&&(yt="fas"),"string"==typeof xe&&(B.names[xe]={prefix:yt,iconName:jt}),"number"==typeof xe&&(B.unicodes[xe.toString(16)]={prefix:yt,iconName:jt}),B},{names:{},unicodes:{}});z=q.names,ae=q.unicodes,Mi=fn(Xt.styleDefault,{family:Xt.familyDefault})};function _t(Be,at){return(un[Be]||{})[at]}function Bt(Be,at){return(Fe[Be]||{})[at]}function Jt(Be){return z[Be]||{prefix:null,iconName:null}}function vn(){return Mi}(function $t(Be){At.push(Be)})(function(Be){Mi=fn(Be.styleDefault,{family:Xt.familyDefault})}),rt();var Cn=function(){return{prefix:null,iconName:null,rest:[]}};function fn(Be){var R=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,q=void 0===R?nt:R;return An[q][Be]||An[q][wn[q][Be]]||(Be in Or.styles?Be:null)||null}var Gt=(g(Tr={},nt,Object.keys(_n[nt])),g(Tr,Pt,Object.keys(_n[Pt])),Tr);function Nn(Be){var at,q=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,B=void 0!==q&&q,ce=(g(at={},nt,"".concat(Xt.cssPrefix,"-").concat(nt)),g(at,Pt,"".concat(Xt.cssPrefix,"-").concat(Pt)),at),xe=null,yt=nt;(Be.includes(ce[nt])||Be.some(function(cn){return Gt[nt].includes(cn)}))&&(yt=nt),(Be.includes(ce[Pt])||Be.some(function(cn){return Gt[Pt].includes(cn)}))&&(yt=Pt);var jt=Be.reduce(function(cn,X){var Ve=function De(Be,at){var R=at.split("-"),q=R[0],B=R.slice(1).join("-");return q!==Be||""===B||function fe(Be){return~ut.indexOf(Be)}(B)?null:B}(Xt.cssPrefix,X);if(Mr[X]?(X=ur[yt].includes(X)?qt[yt][X]:X,xe=X,cn.prefix=X):Ae[yt].indexOf(X)>-1?(xe=X,cn.prefix=fn(X,{family:yt})):Ve?cn.iconName=Ve:X!==Xt.replacementClass&&X!==ce[nt]&&X!==ce[Pt]&&cn.rest.push(X),!B&&cn.prefix&&cn.iconName){var Ce="fa"===xe?Jt(cn.iconName):{},Re=Bt(cn.prefix,cn.iconName);Ce.prefix&&(xe=null),cn.iconName=Ce.iconName||Re||cn.iconName,cn.prefix=Ce.prefix||cn.prefix,"far"===cn.prefix&&!Mr.far&&Mr.fas&&!Xt.autoFetchSvg&&(cn.prefix="fas")}return cn},Cn());return(Be.includes("fa-brands")||Be.includes("fab"))&&(jt.prefix="fab"),(Be.includes("fa-duotone")||Be.includes("fad"))&&(jt.prefix="fad"),!jt.prefix&&yt===Pt&&(Mr.fass||Xt.autoFetchSvg)&&(jt.prefix="fass",jt.iconName=Bt(jt.prefix,jt.iconName)||jt.iconName),("fa"===jt.prefix||"fa"===xe)&&(jt.prefix=vn()||"fas"),jt}var lr=function(){function Be(){(function e(Be,at){if(!(Be instanceof at))throw new TypeError("Cannot call a class as a function")})(this,Be),this.definitions={}}return function c(Be,at,R){at&&u(Be.prototype,at),R&&u(Be,R),Object.defineProperty(Be,"prototype",{writable:!1})}(Be,[{key:"add",value:function(){for(var R=this,q=arguments.length,B=new Array(q),ce=0;ce0&&X.forEach(function(Ve){"string"==typeof Ve&&(R[yt][Ve]=cn)}),R[yt][jt]=cn}),R}}]),Be}(),cr=[],Nr={},Lr={},dt=Object.keys(Lr);function vi(Be,at){for(var R=arguments.length,q=new Array(R>2?R-2:0),B=2;B1?at-1:0),q=1;q0&&void 0!==arguments[0]?arguments[0]:{};return Z?(_r("beforeI2svg",at),In("pseudoElements2svg",at),In("i2svg",at)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var at=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},R=at.autoReplaceSvgRoot;!1===Xt.autoReplaceSvg&&(Xt.autoReplaceSvg=!0),Xt.observeMutations=!0,function Qn(Be){Z&&(jn?setTimeout(Be,0):pi.push(Be))}(function(){Zr({autoReplaceSvgRoot:R}),_r("watch",at)})}},ti={noAuto:function(){Xt.autoReplaceSvg=!1,Xt.observeMutations=!1,_r("noAuto")},config:Xt,dom:ai,parse:{icon:function(at){if(null===at)return null;if("object"===a(at)&&at.prefix&&at.iconName)return{prefix:at.prefix,iconName:Bt(at.prefix,at.iconName)||at.iconName};if(Array.isArray(at)&&2===at.length){var R=0===at[1].indexOf("fa-")?at[1].slice(3):at[1],q=fn(at[0]);return{prefix:q,iconName:Bt(q,R)||R}}if("string"==typeof at&&(at.indexOf("".concat(Xt.cssPrefix,"-"))>-1||at.match(ht))){var B=Nn(at.split(" "),{skipLookups:!0});return{prefix:B.prefix||vn(),iconName:Bt(B.prefix,B.iconName)||B.iconName}}if("string"==typeof at){var ce=vn();return{prefix:ce,iconName:Bt(ce,at)||at}}}},library:si,findIconDefinition:Gn,toHtml:or},Zr=function(){var R=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,q=void 0===R?te:R;(Object.keys(Or.styles).length>0||Xt.autoFetchSvg)&&Z&&Xt.autoReplaceSvg&&ti.dom.i2svg({node:q})};function Xr(Be,at){return Object.defineProperty(Be,"abstract",{get:at}),Object.defineProperty(Be,"html",{get:function(){return Be.abstract.map(function(q){return or(q)})}}),Object.defineProperty(Be,"node",{get:function(){if(Z){var q=te.createElement("div");return q.innerHTML=Be.html,q.children}}}),Be}function Yi(Be){var at=Be.icons,R=at.main,q=at.mask,B=Be.prefix,ce=Be.iconName,xe=Be.transform,yt=Be.symbol,jt=Be.title,cn=Be.maskId,X=Be.titleId,Ve=Be.extra,Ce=Be.watchable,Re=void 0!==Ce&&Ce,Mt=q.found?q:R,Zt=Mt.width,an=Mt.height,Pn="fak"===B,gr=[Xt.replacementClass,ce?"".concat(Xt.cssPrefix,"-").concat(ce):""].filter(function(eo){return-1===Ve.classes.indexOf(eo)}).filter(function(eo){return""!==eo||!!eo}).concat(Ve.classes).join(" "),yr={children:[],attributes:d(d({},Ve.attributes),{},{"data-prefix":B,"data-icon":ce,class:gr,role:Ve.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Zt," ").concat(an)})},$r=Pn&&!~Ve.classes.indexOf("fa-fw")?{width:"".concat(Zt/an*16*.0625,"em")}:{};Re&&(yr.attributes[_e]=""),jt&&(yr.children.push({tag:"title",attributes:{id:yr.attributes["aria-labelledby"]||"title-".concat(X||Tn())},children:[jt]}),delete yr.attributes.title);var Cr=d(d({},yr),{},{prefix:B,iconName:ce,main:R,mask:q,maskId:cn,transform:xe,symbol:yt,styles:d(d({},$r),Ve.styles)}),Qr=q.found&&R.found?In("generateAbstractMask",Cr)||{children:[],attributes:{}}:In("generateAbstractIcon",Cr)||{children:[],attributes:{}},Ri=Qr.attributes;return Cr.children=Qr.children,Cr.attributes=Ri,yt?function hr(Be){var R=Be.iconName,q=Be.children,B=Be.attributes,ce=Be.symbol,xe=!0===ce?"".concat(Be.prefix,"-").concat(Xt.cssPrefix,"-").concat(R):ce;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:d(d({},B),{},{id:xe}),children:q}]}]}(Cr):function Vi(Be){var at=Be.children,R=Be.main,q=Be.mask,B=Be.attributes,ce=Be.styles,xe=Be.transform;if(Er(xe)&&R.found&&!q.found){var cn={x:R.width/R.height/2,y:.5};B.style=sr(d(d({},ce),{},{"transform-origin":"".concat(cn.x+xe.x/16,"em ").concat(cn.y+xe.y/16,"em")}))}return[{tag:"svg",attributes:B,children:at}]}(Cr)}function ko(Be){var at=Be.content,R=Be.width,q=Be.height,B=Be.transform,ce=Be.title,xe=Be.extra,yt=Be.watchable,jt=void 0!==yt&&yt,cn=d(d(d({},xe.attributes),ce?{title:ce}:{}),{},{class:xe.classes.join(" ")});jt&&(cn[_e]="");var X=d({},xe.styles);Er(B)&&(X.transform=function qn(Be){var at=Be.transform,R=Be.width,B=Be.height,ce=void 0===B?16:B,xe=Be.startCentered,yt=void 0!==xe&&xe,jt="";return jt+=yt&&re?"translate(".concat(at.x/16-(void 0===R?16:R)/2,"em, ").concat(at.y/16-ce/2,"em) "):yt?"translate(calc(-50% + ".concat(at.x/16,"em), calc(-50% + ").concat(at.y/16,"em)) "):"translate(".concat(at.x/16,"em, ").concat(at.y/16,"em) "),(jt+="scale(".concat(at.size/16*(at.flipX?-1:1),", ").concat(at.size/16*(at.flipY?-1:1),") "))+"rotate(".concat(at.rotate,"deg) ")}({transform:B,startCentered:!0,width:R,height:q}),X["-webkit-transform"]=X.transform);var Ve=sr(X);Ve.length>0&&(cn.style=Ve);var Ce=[];return Ce.push({tag:"span",attributes:cn,children:[at]}),ce&&Ce.push({tag:"span",attributes:{class:"sr-only"},children:[ce]}),Ce}var Jr=Or.styles;function zi(Be){var at=Be[0],R=Be[1],ce=S(Be.slice(4),1)[0];return{found:!0,width:at,height:R,icon:Array.isArray(ce)?{tag:"g",attributes:{class:"".concat(Xt.cssPrefix,"-").concat(He.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Xt.cssPrefix,"-").concat(He.SECONDARY),fill:"currentColor",d:ce[0]}},{tag:"path",attributes:{class:"".concat(Xt.cssPrefix,"-").concat(He.PRIMARY),fill:"currentColor",d:ce[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:ce}}}}var qi={found:!1,width:512,height:512};function Rr(Be,at){var R=at;return"fa"===at&&null!==Xt.styleDefault&&(at=vn()),new Promise(function(q,B){if(In("missingIconAbstract"),"fa"===R){var xe=Jt(Be)||{};Be=xe.iconName||Be,at=xe.prefix||at}if(Be&&at&&Jr[at]&&Jr[at][Be])return q(zi(Jr[at][Be]));(function ro(Be,at){!Xe&&!Xt.showMissingIcons&&Be&&console.error('Icon with name "'.concat(Be,'" and prefix "').concat(at,'" is missing.'))})(Be,at),q(d(d({},qi),{},{icon:Xt.showMissingIcons&&Be&&In("missingIconAbstract")||{}}))})}var mo=function(){},_i=Xt.measurePerformance&&se&&se.mark&&se.measure?se:{mark:mo,measure:mo},xi='FA "6.5.1"',ar=function(at){_i.mark("".concat(xi," ").concat(at," ends")),_i.measure("".concat(xi," ").concat(at),"".concat(xi," ").concat(at," begins"),"".concat(xi," ").concat(at," ends"))},yo={begin:function(at){return _i.mark("".concat(xi," ").concat(at," begins")),function(){return ar(at)}},end:ar},wi=function(){};function yi(Be){return"string"==typeof(Be.getAttribute?Be.getAttribute(_e):null)}function bo(Be){return te.createElementNS("http://www.w3.org/2000/svg",Be)}function Ni(Be){return te.createElement(Be)}function Gr(Be){var R=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,q=void 0===R?"svg"===Be.tag?bo:Ni:R;if("string"==typeof Be)return te.createTextNode(Be);var B=q(Be.tag);return Object.keys(Be.attributes||[]).forEach(function(xe){B.setAttribute(xe,Be.attributes[xe])}),(Be.children||[]).forEach(function(xe){B.appendChild(Gr(xe,{ceFn:q}))}),B}var Oi={replace:function(at){var R=at[0];if(R.parentNode)if(at[1].forEach(function(B){R.parentNode.insertBefore(Gr(B),R)}),null===R.getAttribute(_e)&&Xt.keepOriginalSource){var q=te.createComment(function Lo(Be){var at=" ".concat(Be.outerHTML," ");return"".concat(at,"Font Awesome fontawesome.com ")}(R));R.parentNode.replaceChild(q,R)}else R.remove()},nest:function(at){var R=at[0],q=at[1];if(~nr(R).indexOf(Xt.replacementClass))return Oi.replace(at);var B=new RegExp("".concat(Xt.cssPrefix,"-.*"));if(delete q[0].attributes.id,q[0].attributes.class){var ce=q[0].attributes.class.split(" ").reduce(function(yt,jt){return jt===Xt.replacementClass||jt.match(B)?yt.toSvg.push(jt):yt.toNode.push(jt),yt},{toNode:[],toSvg:[]});q[0].attributes.class=ce.toSvg.join(" "),0===ce.toNode.length?R.removeAttribute("class"):R.setAttribute("class",ce.toNode.join(" "))}var xe=q.map(function(yt){return or(yt)}).join("\n");R.setAttribute(_e,""),R.innerHTML=xe}};function Zi(Be){Be()}function Li(Be,at){var R="function"==typeof at?at:wi;if(0===Be.length)R();else{var q=Zi;Xt.mutateApproach===Qe&&(q=G.requestAnimationFrame||Zi),q(function(){var B=function zr(){return!0===Xt.autoReplaceSvg?Oi.replace:Oi[Xt.autoReplaceSvg]||Oi.replace}(),ce=yo.begin("mutate");Be.map(B),ce(),R()})}}var Gi=!1;function $o(){Gi=!0}function Co(){Gi=!1}var Ro=null;function wo(Be){if(ue&&Xt.observeMutations){var at=Be.treeCallback,R=void 0===at?wi:at,q=Be.nodeCallback,B=void 0===q?wi:q,ce=Be.pseudoElementsCallback,xe=void 0===ce?wi:ce,yt=Be.observeMutationsRoot,jt=void 0===yt?te:yt;Ro=new ue(function(cn){if(!Gi){var X=vn();rn(cn).forEach(function(Ve){if("childList"===Ve.type&&Ve.addedNodes.length>0&&!yi(Ve.addedNodes[0])&&(Xt.searchPseudoElements&&xe(Ve.target),R(Ve.target)),"attributes"===Ve.type&&Ve.target.parentNode&&Xt.searchPseudoElements&&xe(Ve.target.parentNode),"attributes"===Ve.type&&yi(Ve.target)&&~gt.indexOf(Ve.attributeName))if("class"===Ve.attributeName&&function Mo(Be){var at=Be.getAttribute?Be.getAttribute(ot):null,R=Be.getAttribute?Be.getAttribute(tt):null;return at&&R}(Ve.target)){var Ce=Nn(nr(Ve.target)),Mt=Ce.iconName;Ve.target.setAttribute(ot,Ce.prefix||X),Mt&&Ve.target.setAttribute(tt,Mt)}else(function po(Be){return Be&&Be.classList&&Be.classList.contains&&Be.classList.contains(Xt.replacementClass)})(Ve.target)&&B(Ve.target)})}}),Z&&Ro.observe(jt,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function uo(Be){var at=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},R=function ns(Be){var at=Be.getAttribute("data-prefix"),R=Be.getAttribute("data-icon"),q=void 0!==Be.innerText?Be.innerText.trim():"",B=Nn(nr(Be));return B.prefix||(B.prefix=vn()),at&&R&&(B.prefix=at,B.iconName=R),B.iconName&&B.prefix||(B.prefix&&q.length>0&&(B.iconName=function Tt(Be,at){return(U[Be]||{})[at]}(B.prefix,Be.innerText)||_t(B.prefix,kt(Be.innerText))),!B.iconName&&Xt.autoFetchSvg&&Be.firstChild&&Be.firstChild.nodeType===Node.TEXT_NODE&&(B.iconName=Be.firstChild.data)),B}(Be),q=R.iconName,B=R.prefix,ce=R.rest,xe=function rs(Be){var at=rn(Be.attributes).reduce(function(B,ce){return"class"!==B.name&&"style"!==B.name&&(B[ce.name]=ce.value),B},{}),R=Be.getAttribute("title"),q=Be.getAttribute("data-fa-title-id");return Xt.autoA11y&&(R?at["aria-labelledby"]="".concat(Xt.replacementClass,"-title-").concat(q||Tn()):(at["aria-hidden"]="true",at.focusable="false")),at}(Be),yt=vi("parseNodeAttributes",{},Be),jt=at.styleParser?function Go(Be){var at=Be.getAttribute("style"),R=[];return at&&(R=at.split(";").reduce(function(q,B){var ce=B.split(":"),xe=ce[0],yt=ce.slice(1);return xe&&yt.length>0&&(q[xe]=yt.join(":").trim()),q},{})),R}(Be):[];return d({iconName:q,title:Be.getAttribute("title"),titleId:Be.getAttribute("data-fa-title-id"),prefix:B,transform:xt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:ce,styles:jt,attributes:xe}},yt)}var So=Or.styles;function cs(Be){var at="nest"===Xt.autoReplaceSvg?uo(Be,{styleParser:!1}):uo(Be);return~at.extra.classes.indexOf(Ue)?In("generateLayersText",Be,at):In("generateSvgReplacementMutation",Be,at)}var co=new Set;function Fo(Be){var at=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Z)return Promise.resolve();var R=te.documentElement.classList,q=function(Ve){return R.add("".concat(mt,"-").concat(Ve))},B=function(Ve){return R.remove("".concat(mt,"-").concat(Ve))},ce=Xt.autoFetchSvg?co:tn.map(function(X){return"fa-".concat(X)}).concat(Object.keys(So));ce.includes("fa")||ce.push("fa");var xe=[".".concat(Ue,":not([").concat(_e,"])")].concat(ce.map(function(X){return".".concat(X,":not([").concat(_e,"])")})).join(", ");if(0===xe.length)return Promise.resolve();var yt=[];try{yt=rn(Be.querySelectorAll(xe))}catch{}if(!(yt.length>0))return Promise.resolve();q("pending"),B("complete");var jt=yo.begin("onTree"),cn=yt.reduce(function(X,Ve){try{var Ce=cs(Ve);Ce&&X.push(Ce)}catch(Re){Xe||"MissingIcon"===Re.name&&console.error(Re)}return X},[]);return new Promise(function(X,Ve){Promise.all(cn).then(function(Ce){Li(Ce,function(){q("active"),q("complete"),B("pending"),"function"==typeof at&&at(),jt(),X()})}).catch(function(Ce){jt(),Ve(Ce)})})}function Do(Be){var at=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;cs(Be).then(function(R){R&&Li([R],at)})}tn.map(function(Be){co.add("fa-".concat(Be))}),Object.keys(wn[nt]).map(co.add.bind(co)),Object.keys(wn[Pt]).map(co.add.bind(co)),co=C(co);var hs=function(at){var R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},q=R.transform,B=void 0===q?xt:q,ce=R.symbol,xe=void 0!==ce&&ce,yt=R.mask,jt=void 0===yt?null:yt,cn=R.maskId,X=void 0===cn?null:cn,Ve=R.title,Ce=void 0===Ve?null:Ve,Re=R.titleId,Mt=void 0===Re?null:Re,Zt=R.classes,an=void 0===Zt?[]:Zt,Pn=R.attributes,gr=void 0===Pn?{}:Pn,yr=R.styles,$r=void 0===yr?{}:yr;if(at){var Cr=at.prefix,Qr=at.iconName,Hr=at.icon;return Xr(d({type:"icon"},at),function(){return _r("beforeDOMElementCreation",{iconDefinition:at,params:R}),Xt.autoA11y&&(Ce?gr["aria-labelledby"]="".concat(Xt.replacementClass,"-title-").concat(Mt||Tn()):(gr["aria-hidden"]="true",gr.focusable="false")),Yi({icons:{main:zi(Hr),mask:jt?zi(jt.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Cr,iconName:Qr,transform:d(d({},xt),B),symbol:xe,title:Ce,maskId:X,titleId:Mt,extra:{attributes:gr,styles:$r,classes:an}})})}},Qo={mixout:function(){return{icon:(Be=hs,function(at){var R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},q=(at||{}).icon?at:Gn(at||{}),B=R.mask;return B&&(B=(B||{}).icon?B:Gn(B||{})),Be(q,d(d({},R),{},{mask:B}))})};var Be},hooks:function(){return{mutationObserverCallbacks:function(R){return R.treeCallback=Fo,R.nodeCallback=Do,R}}},provides:function(at){at.i2svg=function(R){var q=R.node,ce=R.callback;return Fo(void 0===q?te:q,void 0===ce?function(){}:ce)},at.generateSvgReplacementMutation=function(R,q){var B=q.iconName,ce=q.title,xe=q.titleId,yt=q.prefix,jt=q.transform,cn=q.symbol,X=q.mask,Ve=q.maskId,Ce=q.extra;return new Promise(function(Re,Mt){Promise.all([Rr(B,yt),X.iconName?Rr(X.iconName,X.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Zt){var an=S(Zt,2);Re([R,Yi({icons:{main:an[0],mask:an[1]},prefix:yt,iconName:B,transform:jt,symbol:cn,maskId:Ve,title:ce,titleId:xe,extra:Ce,watchable:!0})])}).catch(Mt)})},at.generateAbstractIcon=function(R){var cn,q=R.children,B=R.attributes,ce=R.main,xe=R.transform,jt=sr(R.styles);return jt.length>0&&(B.style=jt),Er(xe)&&(cn=In("generateAbstractTransformGrouping",{main:ce,transform:xe,containerWidth:ce.width,iconWidth:ce.width})),q.push(cn||ce.icon),{children:q,attributes:B}}}},Ye={mixout:function(){return{layer:function(R){var q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},B=q.classes,ce=void 0===B?[]:B;return Xr({type:"layer"},function(){_r("beforeDOMElementCreation",{assembler:R,params:q});var xe=[];return R(function(yt){Array.isArray(yt)?yt.map(function(jt){xe=xe.concat(jt.abstract)}):xe=xe.concat(yt.abstract)}),[{tag:"span",attributes:{class:["".concat(Xt.cssPrefix,"-layers")].concat(C(ce)).join(" ")},children:xe}]})}}}},Ke={mixout:function(){return{counter:function(R){var q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},B=q.title,ce=void 0===B?null:B,xe=q.classes,yt=void 0===xe?[]:xe,jt=q.attributes,cn=void 0===jt?{}:jt,X=q.styles,Ve=void 0===X?{}:X;return Xr({type:"counter",content:R},function(){return _r("beforeDOMElementCreation",{content:R,params:q}),function go(Be){var at=Be.content,R=Be.title,q=Be.extra,B=d(d(d({},q.attributes),R?{title:R}:{}),{},{class:q.classes.join(" ")}),ce=sr(q.styles);ce.length>0&&(B.style=ce);var xe=[];return xe.push({tag:"span",attributes:B,children:[at]}),R&&xe.push({tag:"span",attributes:{class:"sr-only"},children:[R]}),xe}({content:R.toString(),title:ce,extra:{attributes:cn,styles:Ve,classes:["".concat(Xt.cssPrefix,"-layers-counter")].concat(C(yt))}})})}}}},Ie={mixout:function(){return{text:function(R){var q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},B=q.transform,ce=void 0===B?xt:B,xe=q.title,yt=void 0===xe?null:xe,jt=q.classes,cn=void 0===jt?[]:jt,X=q.attributes,Ve=void 0===X?{}:X,Ce=q.styles,Re=void 0===Ce?{}:Ce;return Xr({type:"text",content:R},function(){return _r("beforeDOMElementCreation",{content:R,params:q}),ko({content:R,transform:d(d({},xt),ce),title:yt,extra:{attributes:Ve,styles:Re,classes:["".concat(Xt.cssPrefix,"-layers-text")].concat(C(cn))}})})}}},provides:function(at){at.generateLayersText=function(R,q){var B=q.title,ce=q.transform,xe=q.extra,yt=null,jt=null;if(re){var cn=parseInt(getComputedStyle(R).fontSize,10),X=R.getBoundingClientRect();yt=X.width/cn,jt=X.height/cn}return Xt.autoA11y&&!B&&(xe.attributes["aria-hidden"]="true"),Promise.resolve([R,ko({content:R.innerHTML,width:yt,height:jt,transform:ce,title:B,extra:xe,watchable:!0})])}}},ft=new RegExp('"',"ug"),Ot=[1105920,1112319];function Vn(Be,at){var R="".concat(Ze).concat(at.replace(":","-"));return new Promise(function(q,B){if(null!==Be.getAttribute(R))return q();var xe=rn(Be.children).filter(function(Hr){return Hr.getAttribute(Pe)===at})[0],yt=G.getComputedStyle(Be,at),jt=yt.getPropertyValue("font-family").match(Ee),cn=yt.getPropertyValue("font-weight"),X=yt.getPropertyValue("content");if(xe&&!jt)return Be.removeChild(xe),q();if(jt&&"none"!==X&&""!==X){var Ve=yt.getPropertyValue("content"),Ce=~["Sharp"].indexOf(jt[2])?Pt:nt,Re=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(jt[2])?An[Ce][jt[2].toLowerCase()]:Te[Ce][cn],Mt=function Wn(Be){var at=Be.replace(ft,""),R=function on(Be,at){var B,R=Be.length,q=Be.charCodeAt(at);return q>=55296&&q<=56319&&R>at+1&&(B=Be.charCodeAt(at+1))>=56320&&B<=57343?1024*(q-55296)+B-56320+65536:q}(at,0),q=R>=Ot[0]&&R<=Ot[1],B=2===at.length&&at[0]===at[1];return{value:kt(B?at[0]:at),isSecondary:q||B}}(Ve),Zt=Mt.value,an=Mt.isSecondary,Pn=jt[0].startsWith("FontAwesome"),gr=_t(Re,Zt),yr=gr;if(Pn){var $r=function mn(Be){var at=ae[Be],R=_t("fas",Be);return at||(R?{prefix:"fas",iconName:R}:null)||{prefix:null,iconName:null}}(Zt);$r.iconName&&$r.prefix&&(gr=$r.iconName,Re=$r.prefix)}if(!gr||an||xe&&xe.getAttribute(ot)===Re&&xe.getAttribute(tt)===yr)q();else{Be.setAttribute(R,yr),xe&&Be.removeChild(xe);var Cr=function Ki(){return{iconName:null,title:null,titleId:null,prefix:null,transform:xt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Qr=Cr.extra;Qr.attributes[Pe]=at,Rr(gr,Re).then(function(Hr){var Ri=Yi(d(d({},Cr),{},{icons:{main:Hr,mask:Cn()},prefix:Re,iconName:yr,extra:Qr,watchable:!0})),eo=te.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===at?Be.insertBefore(eo,Be.firstChild):Be.appendChild(eo),eo.outerHTML=Ri.map(function(Vo){return or(Vo)}).join("\n"),Be.removeAttribute(R),q()}).catch(B)}}else q()})}function Wi(Be){return Promise.all([Vn(Be,"::before"),Vn(Be,"::after")])}function Eo(Be){return!(Be.parentNode===document.head||~Ct.indexOf(Be.tagName.toUpperCase())||Be.getAttribute(Pe)||Be.parentNode&&"svg"===Be.parentNode.tagName)}function Ao(Be){if(Z)return new Promise(function(at,R){var q=rn(Be.querySelectorAll("*")).filter(Eo).map(Wi),B=yo.begin("searchPseudoElements");$o(),Promise.all(q).then(function(){B(),Co(),at()}).catch(function(){B(),Co(),R()})})}var Ur=!1,is=function(at){return at.toLowerCase().split(" ").reduce(function(q,B){var ce=B.toLowerCase().split("-"),xe=ce[0],yt=ce.slice(1).join("-");if(xe&&"h"===yt)return q.flipX=!0,q;if(xe&&"v"===yt)return q.flipY=!0,q;if(yt=parseFloat(yt),isNaN(yt))return q;switch(xe){case"grow":q.size=q.size+yt;break;case"shrink":q.size=q.size-yt;break;case"left":q.x=q.x-yt;break;case"right":q.x=q.x+yt;break;case"up":q.y=q.y-yt;break;case"down":q.y=q.y+yt;break;case"rotate":q.rotate=q.rotate+yt}return q},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Xo={x:0,y:0,width:"100%",height:"100%"};function xo(Be){return Be.attributes&&(Be.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Be.attributes.fill="black"),Be}!function lo(Be,at){var R=at.mixoutsTo;cr=Be,Nr={},Object.keys(Lr).forEach(function(q){-1===dt.indexOf(q)&&delete Lr[q]}),cr.forEach(function(q){var B=q.mixout?q.mixout():{};if(Object.keys(B).forEach(function(xe){"function"==typeof B[xe]&&(R[xe]=B[xe]),"object"===a(B[xe])&&Object.keys(B[xe]).forEach(function(yt){R[xe]||(R[xe]={}),R[xe][yt]=B[xe][yt]})}),q.hooks){var ce=q.hooks();Object.keys(ce).forEach(function(xe){Nr[xe]||(Nr[xe]=[]),Nr[xe].push(ce[xe])})}q.provides&&q.provides(Lr)})}([Jn,Qo,Ye,Ke,Ie,{hooks:function(){return{mutationObserverCallbacks:function(R){return R.pseudoElementsCallback=Ao,R}}},provides:function(at){at.pseudoElements2svg=function(R){var q=R.node;Xt.searchPseudoElements&&Ao(void 0===q?te:q)}}},{mixout:function(){return{dom:{unwatch:function(){$o(),Ur=!0}}}},hooks:function(){return{bootstrap:function(){wo(vi("mutationObserverCallbacks",{}))},noAuto:function(){!function bs(){Ro&&Ro.disconnect()}()},watch:function(R){var q=R.observeMutationsRoot;Ur?Co():wo(vi("mutationObserverCallbacks",{observeMutationsRoot:q}))}}}},{mixout:function(){return{parse:{transform:function(R){return is(R)}}}},hooks:function(){return{parseNodeAttributes:function(R,q){var B=q.getAttribute("data-fa-transform");return B&&(R.transform=is(B)),R}}},provides:function(at){at.generateAbstractTransformGrouping=function(R){var q=R.main,B=R.transform,xe=R.iconWidth,yt={transform:"translate(".concat(R.containerWidth/2," 256)")},jt="translate(".concat(32*B.x,", ").concat(32*B.y,") "),cn="scale(".concat(B.size/16*(B.flipX?-1:1),", ").concat(B.size/16*(B.flipY?-1:1),") "),X="rotate(".concat(B.rotate," 0 0)"),Re={outer:yt,inner:{transform:"".concat(jt," ").concat(cn," ").concat(X)},path:{transform:"translate(".concat(xe/2*-1," -256)")}};return{tag:"g",attributes:d({},Re.outer),children:[{tag:"g",attributes:d({},Re.inner),children:[{tag:q.icon.tag,children:q.icon.children,attributes:d(d({},q.icon.attributes),Re.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(R,q){var B=q.getAttribute("data-fa-mask"),ce=B?Nn(B.split(" ").map(function(xe){return xe.trim()})):Cn();return ce.prefix||(ce.prefix=vn()),R.mask=ce,R.maskId=q.getAttribute("data-fa-mask-id"),R}}},provides:function(at){at.generateAbstractMask=function(R){var Be,q=R.children,B=R.attributes,ce=R.main,xe=R.mask,yt=R.maskId,X=ce.icon,Ce=xe.icon,Re=function br(Be){var at=Be.transform,q=Be.iconWidth,B={transform:"translate(".concat(Be.containerWidth/2," 256)")},ce="translate(".concat(32*at.x,", ").concat(32*at.y,") "),xe="scale(".concat(at.size/16*(at.flipX?-1:1),", ").concat(at.size/16*(at.flipY?-1:1),") "),yt="rotate(".concat(at.rotate," 0 0)");return{outer:B,inner:{transform:"".concat(ce," ").concat(xe," ").concat(yt)},path:{transform:"translate(".concat(q/2*-1," -256)")}}}({transform:R.transform,containerWidth:xe.width,iconWidth:ce.width}),Mt={tag:"rect",attributes:d(d({},Xo),{},{fill:"white"})},Zt=X.children?{children:X.children.map(xo)}:{},an={tag:"g",attributes:d({},Re.inner),children:[xo(d({tag:X.tag,attributes:d(d({},X.attributes),Re.path)},Zt))]},Pn={tag:"g",attributes:d({},Re.outer),children:[an]},gr="mask-".concat(yt||Tn()),yr="clip-".concat(yt||Tn()),$r={tag:"mask",attributes:d(d({},Xo),{},{id:gr,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Mt,Pn]},Cr={tag:"defs",children:[{tag:"clipPath",attributes:{id:yr},children:(Be=Ce,"g"===Be.tag?Be.children:[Be])},$r]};return q.push(Cr,{tag:"rect",attributes:d({fill:"currentColor","clip-path":"url(#".concat(yr,")"),mask:"url(#".concat(gr,")")},Xo)}),{children:q,attributes:B}}}},{provides:function(at){var R=!1;G.matchMedia&&(R=G.matchMedia("(prefers-reduced-motion: reduce)").matches),at.missingIconAbstract=function(){var q=[],B={fill:"currentColor"},ce={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};q.push({tag:"path",attributes:d(d({},B),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var xe=d(d({},ce),{},{attributeName:"opacity"}),yt={tag:"circle",attributes:d(d({},B),{},{cx:"256",cy:"364",r:"28"}),children:[]};return R||yt.children.push({tag:"animate",attributes:d(d({},ce),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:d(d({},xe),{},{values:"1;0;1;1;0;1;"})}),q.push(yt),q.push({tag:"path",attributes:d(d({},B),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:R?[]:[{tag:"animate",attributes:d(d({},xe),{},{values:"1;0;0;0;0;1;"})}]}),R||q.push({tag:"path",attributes:d(d({},B),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:d(d({},xe),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:q}}}},{hooks:function(){return{parseNodeAttributes:function(R,q){var B=q.getAttribute("data-fa-symbol");return R.symbol=null!==B&&(""===B||B),R}}}}],{mixoutsTo:ti});var ge=ti.parse,Dt=ti.icon,Ht=ti.text,Wt=ti.counter,yn=o(14476);const $n=["*"],fr=Be=>{const at={[`fa-${Be.animation}`]:null!=Be.animation&&!Be.animation.startsWith("spin"),"fa-spin":"spin"===Be.animation||"spin-reverse"===Be.animation,"fa-spin-pulse":"spin-pulse"===Be.animation||"spin-pulse-reverse"===Be.animation,"fa-spin-reverse":"spin-reverse"===Be.animation||"spin-pulse-reverse"===Be.animation,"fa-pulse":"spin-pulse"===Be.animation||"spin-pulse-reverse"===Be.animation,"fa-fw":Be.fixedWidth,"fa-border":Be.border,"fa-inverse":Be.inverse,"fa-layers-counter":Be.counter,"fa-flip-horizontal":"horizontal"===Be.flip||"both"===Be.flip,"fa-flip-vertical":"vertical"===Be.flip||"both"===Be.flip,[`fa-${Be.size}`]:null!==Be.size,[`fa-rotate-${Be.rotate}`]:null!==Be.rotate,[`fa-pull-${Be.pull}`]:null!==Be.pull,[`fa-stack-${Be.stackItemSize}`]:null!=Be.stackItemSize};return Object.keys(at).map(R=>at[R]?R:null).filter(R=>R)};let mi=(()=>{class Be{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(q){return new(q||Be)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})(),Ai=(()=>{class Be{constructor(){this.definitions={}}addIcons(...R){for(const q of R){q.prefix in this.definitions||(this.definitions[q.prefix]={}),this.definitions[q.prefix][q.iconName]=q;for(const B of q.icon[2])"string"==typeof B&&(this.definitions[q.prefix][B]=q)}}addIconPacks(...R){for(const q of R){const B=Object.keys(q).map(ce=>q[ce]);this.addIcons(...B)}}getIconDefinition(R,q){return R in this.definitions&&q in this.definitions[R]?this.definitions[R][q]:null}static#e=this.\u0275fac=function(q){return new(q||Be)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})(),ji=(()=>{class Be{constructor(){this.stackItemSize="1x"}ngOnChanges(R){if("size"in R)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static#e=this.\u0275fac=function(q){return new(q||Be)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Be,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Be})(),Ti=(()=>{class Be{constructor(R,q){this.renderer=R,this.elementRef=q}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(R){"size"in R&&(null!=R.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${R.size.currentValue}`),null!=R.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${R.size.previousValue}`))}static#e=this.\u0275fac=function(q){return new(q||Be)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:$n,decls:1,vars:0,template:function(q,B){1&q&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Be})(),Ji=(()=>{class Be{set spin(R){this.animation=R?"spin":void 0}set pulse(R){this.animation=R?"spin-pulse":void 0}constructor(R,q,B,ce,xe){this.sanitizer=R,this.config=q,this.iconLibrary=B,this.stackItem=ce,this.classes=[],null!=xe&&null==ce&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(R){if(null!=this.icon||null!=this.config.fallbackIcon){if(R){const B=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=B){const ce=this.buildParams();this.renderIcon(B,ce)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(R){const q=((Be,at)=>(Be=>void 0!==Be.prefix&&void 0!==Be.iconName)(Be)?Be:"string"==typeof Be?{prefix:at,iconName:Be}:{prefix:Be[0],iconName:Be[1]})(R,this.config.defaultPrefix);return"icon"in q?q:this.iconLibrary.getIconDefinition(q.prefix,q.iconName)??((Be=>{throw new Error(`Could not find icon with iconName=${Be.iconName} and prefix=${Be.prefix} in the icon library.`)})(q),null)}buildParams(){const R={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},q="string"==typeof this.transform?ge.transform(this.transform):this.transform;return{title:this.title,transform:q,classes:[...fr(R),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(R,q){const B=Dt(R,q);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(B.html.join("\n"))}static#e=this.\u0275fac=function(q){return new(q||Be)(n.\u0275\u0275directiveInject(yn.DomSanitizer),n.\u0275\u0275directiveInject(mi),n.\u0275\u0275directiveInject(Ai),n.\u0275\u0275directiveInject(ji,8),n.\u0275\u0275directiveInject(Ti,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(q,B){2&q&&(n.\u0275\u0275hostProperty("innerHTML",B.renderedIconHTML,n.\u0275\u0275sanitizeHtml),n.\u0275\u0275attribute("title",B.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(q,B){},encapsulation:2})}return Be})(),Sn=(()=>{class Be extends Ji{findIconDefinition(R){const q=super.findIconDefinition(R);if(null!=q&&!Array.isArray(q.icon[4]))throw new Error(`The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: or use: instead.`);return q}buildParams(){const R=super.buildParams();return(!0===this.swapOpacity||"true"===this.swapOpacity)&&R.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(R.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(R.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(R.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(R.styles["--fa-secondary-color"]=this.secondaryColor),R}static#e=this.\u0275fac=(()=>{let R;return function(B){return(R||(R=n.\u0275\u0275getInheritedFactory(Be)))(B||Be)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-duotone-icon"]],inputs:{swapOpacity:"swapOpacity",primaryOpacity:"primaryOpacity",secondaryOpacity:"secondaryOpacity",primaryColor:"primaryColor",secondaryColor:"secondaryColor"},standalone:!0,features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(q,B){},encapsulation:2})}return Be})();const wr=(Be,at,R)=>{if(!Be)throw new Error(`${R} should be used as child of ${at} only.`)};let Qi=(()=>{class Be{constructor(R,q,B){this.renderer=R,this.elementRef=q,this.config=B}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}ngOnChanges(R){"size"in R&&(null!=R.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${R.size.currentValue}`),null!=R.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${R.size.previousValue}`))}static#e=this.\u0275fac=function(q){return new(q||Be)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(mi))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(q,B){2&q&&n.\u0275\u0275classProp("fa-fw",B.fixedWidth)},inputs:{size:"size",fixedWidth:"fixedWidth"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:$n,decls:1,vars:0,template:function(q,B){1&q&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Be})(),Ii=(()=>{class Be{constructor(R,q){this.parent=R,this.sanitizer=q,this.classes=[],wr(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(R){if(R){const q=this.buildParams();this.updateContent(q)}}buildParams(){const R=[];return null!=this.classes&&R.push(...this.classes),null!=this.position&&R.push(`fa-layers-${this.position}`),{title:this.title,classes:R,styles:this.styles}}updateContent(R){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Wt(this.content||"",R).html.join(""))}static#e=this.\u0275fac=function(q){return new(q||Be)(n.\u0275\u0275directiveInject(Qi,8),n.\u0275\u0275directiveInject(yn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(q,B){2&q&&n.\u0275\u0275hostProperty("innerHTML",B.renderedHTML,n.\u0275\u0275sanitizeHtml)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",position:"position"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(q,B){},encapsulation:2})}return Be})(),ei=(()=>{class Be{set spin(R){this.animation=R?"spin":void 0}set pulse(R){this.animation=R?"spin-pulse":void 0}constructor(R,q){this.parent=R,this.sanitizer=q,this.classes=[],wr(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(R){if(R){const q=this.buildParams();this.updateContent(q)}}buildParams(){const R={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?ge.transform(this.transform):this.transform,classes:[...fr(R),...this.classes],title:this.title,styles:this.styles}}updateContent(R){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Ht(this.content||"",R).html.join("\n"))}static#e=this.\u0275fac=function(q){return new(q||Be)(n.\u0275\u0275directiveInject(Qi,8),n.\u0275\u0275directiveInject(yn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(q,B){2&q&&n.\u0275\u0275hostProperty("innerHTML",B.renderedHTML,n.\u0275\u0275sanitizeHtml)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",spin:"spin",pulse:"pulse",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(q,B){},encapsulation:2})}return Be})(),oo=(()=>{class Be{static#e=this.\u0275fac=function(q){return new(q||Be)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Be});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Be})()},10716:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{ActionSheetController:()=>Ai,AlertController:()=>vr,AngularDelegate:()=>gt,AnimationController:()=>mi,BooleanValueAccessor:()=>dt,Config:()=>Ee,DomController:()=>Pt,GestureController:()=>ji,ION_MAX_VALIDATOR:()=>Kn,ION_MIN_VALIDATOR:()=>fr,IonAccordion:()=>ti,IonAccordionGroup:()=>Zr,IonActionSheet:()=>Xr,IonAlert:()=>Vi,IonApp:()=>hr,IonAvatar:()=>Yi,IonBackButton:()=>Dt,IonBackButtonDelegate:()=>Dt,IonBackdrop:()=>ko,IonBadge:()=>go,IonBreadcrumb:()=>Jr,IonBreadcrumbs:()=>zi,IonButton:()=>qi,IonButtons:()=>ro,IonCard:()=>Rr,IonCardContent:()=>mo,IonCardHeader:()=>_i,IonCardSubtitle:()=>xi,IonCardTitle:()=>qr,IonCheckbox:()=>ar,IonChip:()=>yo,IonCol:()=>wi,IonContent:()=>yi,IonDatetime:()=>Mo,IonDatetimeButton:()=>po,IonFab:()=>zr,IonFabButton:()=>bo,IonFabList:()=>Ni,IonFooter:()=>Gr,IonGrid:()=>Lo,IonHeader:()=>Oi,IonIcon:()=>Zi,IonImg:()=>Li,IonInfiniteScroll:()=>Gi,IonInfiniteScrollContent:()=>$o,IonInput:()=>Co,IonItem:()=>Ro,IonItemDivider:()=>wo,IonItemGroup:()=>bs,IonItemOption:()=>Go,IonItemOptions:()=>ns,IonItemSliding:()=>rs,IonLabel:()=>Ki,IonList:()=>uo,IonListHeader:()=>So,IonLoading:()=>cs,IonMaxValidator:()=>Wr,IonMenu:()=>co,IonMenuButton:()=>Fo,IonMenuToggle:()=>Do,IonMinValidator:()=>tr,IonModal:()=>yn,IonNav:()=>Nt,IonNavLink:()=>Ko,IonNote:()=>hs,IonPicker:()=>Qo,IonPopover:()=>$n,IonProgressBar:()=>Ye,IonRadio:()=>Ke,IonRadioGroup:()=>Ie,IonRange:()=>ft,IonRefresher:()=>Ot,IonRefresherContent:()=>Wn,IonReorder:()=>Vn,IonReorderGroup:()=>Wi,IonRippleEffect:()=>Eo,IonRouterOutlet:()=>Le,IonRow:()=>Ao,IonSearchbar:()=>ho,IonSegment:()=>Ur,IonSegmentButton:()=>Zo,IonSelect:()=>is,IonSelectOption:()=>Xi,IonSkeletonText:()=>Xo,IonSpinner:()=>xo,IonSplitPane:()=>_o,IonTabBar:()=>Di,IonTabButton:()=>To,IonTabs:()=>qe,IonText:()=>Cs,IonTextarea:()=>os,IonThumbnail:()=>io,IonTitle:()=>fs,IonToast:()=>et,IonToggle:()=>ne,IonToolbar:()=>ge,IonicModule:()=>at,IonicRouteStrategy:()=>Mr,IonicSafeString:()=>Ae.I,IonicSlides:()=>mn,LoadingController:()=>Ti,MenuController:()=>Ji,ModalController:()=>Sn,NavController:()=>_n,NavParams:()=>je,NumericValueAccessor:()=>lo,PickerController:()=>wr,Platform:()=>hn,PopoverController:()=>Qi,RadioValueAccessor:()=>vi,RouterLinkDelegate:()=>Ht,RouterLinkWithHrefDelegate:()=>Wt,SelectValueAccessor:()=>_r,TextValueAccessor:()=>In,ToastController:()=>Ii,createAnimation:()=>ur.c,createGesture:()=>ae.createGesture,getIonPageElement:()=>Mi.g,getPlatforms:()=>Fe.g,getTimeGivenProgression:()=>z.g,iosTransitionAnimation:()=>un.iosTransitionAnimation,isPlatform:()=>Fe.a,mdTransitionAnimation:()=>U.mdTransitionAnimation,openURL:()=>fe.o});var n=o(54496),i=o(44716),d=o(1528),a=o(56568),l=o(91368);class e{constructor(){this.m=new Map}reset(q){this.m=new Map(Object.entries(q))}get(q,B){const ce=this.m.get(q);return void 0!==ce?ce:B}getBoolean(q,B=!1){const ce=this.m.get(q);return void 0===ce?B:"string"==typeof ce?"true"===ce:!!ce}getNumber(q,B){const ce=parseFloat(this.m.get(q));return isNaN(ce)?void 0!==B?B:NaN:ce}set(q,B){this.m.set(q,B)}}const u=new e,_=R=>y(R),y=(R=window)=>{if(typeof R>"u")return[];R.Ionic=R.Ionic||{};let q=R.Ionic.platforms;return null==q&&(q=R.Ionic.platforms=b(R),q.forEach(B=>R.document.documentElement.classList.add(`plt-${B}`))),q},b=R=>{const q=u.get("platform");return Object.keys(Z).filter(B=>{const ce=q?.[B];return"function"==typeof ce?ce(R):Z[B](R)})},M=R=>!!(se(R,/iPad/i)||se(R,/Macintosh/i)&&x(R)),F=R=>se(R,/android|sink/i),x=R=>K(R,"(any-pointer:coarse)"),O=R=>H(R)||G(R),H=R=>!!(R.cordova||R.phonegap||R.PhoneGap),G=R=>{const q=R.Capacitor;return!!q?.isNative},se=(R,q)=>q.test(R.navigator.userAgent),K=(R,q)=>{var B;return null===(B=R.matchMedia)||void 0===B?void 0:B.call(R,q).matches},Z={ipad:M,iphone:R=>se(R,/iPhone/i),ios:R=>se(R,/iPhone|iPod/i)||M(R),android:F,phablet:R=>{const q=R.innerWidth,B=R.innerHeight,ce=Math.min(q,B),xe=Math.max(q,B);return ce>390&&ce<520&&xe>620&&xe<800},tablet:R=>{const q=R.innerWidth,B=R.innerHeight,ce=Math.min(q,B),xe=Math.max(q,B);return M(R)||(R=>F(R)&&!se(R,/mobile/i))(R)||ce>460&&ce<820&&xe>780&&xe<1400},cordova:H,capacitor:G,electron:R=>se(R,/electron/i),pwa:R=>{var q;return!!(null!==(q=R.matchMedia)&&void 0!==q&&q.call(R,"(display-mode: standalone)").matches||R.navigator.standalone)},mobile:x,mobileweb:R=>x(R)&&!O(R),desktop:R=>!x(R),hybrid:O};var $=o(51896),le=o(19248),ee=o(95657),we=o(70800),ye=o(46700),Oe=o(56040),ve=o(82700),_e=o(81316),Pe=o(66684),Ze=o(17368),ot=o(528),tt=o(95448),mt=o(87773);function Ct(R,q){return R===q}const Xe=["tabsInner"];class nt{constructor(q){this.menuController=q}open(q){return this.menuController.open(q)}close(q){return this.menuController.close(q)}toggle(q){return this.menuController.toggle(q)}enable(q,B){return this.menuController.enable(q,B)}swipeGesture(q,B){return this.menuController.swipeGesture(q,B)}isOpen(q){return this.menuController.isOpen(q)}isEnabled(q){return this.menuController.isEnabled(q)}get(q){return this.menuController.get(q)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(q,B){return this.menuController.registerAnimation(q,B)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(q,B){return this.menuController._createAnimation(q,B)}_register(q){return this.menuController._register(q)}_unregister(q){return this.menuController._unregister(q)}_setOpen(q,B,ce){return this.menuController._setOpen(q,B,ce)}}let Pt=(()=>{class R{read(B){tn().read(B)}write(B){tn().write(B)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const tn=()=>{const R=typeof window<"u"?window:null;if(null!=R){const q=R.Ionic;return q?.queue?q.queue:{read:B=>R.requestAnimationFrame(B),write:B=>R.requestAnimationFrame(B)}}return{read:q=>q(),write:q=>q()}};let hn=(()=>{class R{constructor(B,ce){this.doc=B,this.backButton=new ee.E,this.keyboardDidShow=new ee.E,this.keyboardDidHide=new ee.E,this.pause=new ee.E,this.resume=new ee.E,this.resize=new ee.E,ce.run(()=>{let xe;this.win=B.defaultView,this.backButton.subscribeWithPriority=function(yt,jt){return this.subscribe(cn=>cn.register(yt,X=>ce.run(()=>jt(X))))},An(this.pause,B,"pause",ce),An(this.resume,B,"resume",ce),An(this.backButton,B,"ionBackButton",ce),An(this.resize,this.win,"resize",ce),An(this.keyboardDidShow,this.win,"ionKeyboardDidShow",ce),An(this.keyboardDidHide,this.win,"ionKeyboardDidHide",ce),this._readyPromise=new Promise(yt=>{xe=yt}),this.win?.cordova?B.addEventListener("deviceready",()=>{xe("cordova")},{once:!0}):xe("dom")})}is(B){return((R,q)=>("string"==typeof R&&(q=R,R=void 0),_(R).includes(q)))(this.win,B)}platforms(){return _(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(B){return wn(this.win.location.href,B)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(B){const ce=this.win.navigator;return!!(ce?.userAgent&&ce.userAgent.indexOf(B)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275inject(l.DOCUMENT),n.\u0275\u0275inject(n.NgZone))},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const wn=(R,q)=>{q=q.replace(/[[\]\\]/g,"\\$&");const ce=new RegExp("[\\?&]"+q+"=([^&#]*)").exec(R);return ce?decodeURIComponent(ce[1].replace(/\+/g," ")):null},An=(R,q,B,ce)=>{q&&q.addEventListener(B,xe=>{ce.run(()=>{const yt=xe?.detail;R.next(yt)})})};let _n=(()=>{class R{constructor(B,ce,xe,yt){this.location=ce,this.serializer=xe,this.router=yt,this.direction=ht,this.animated=Ue,this.guessDirection="forward",this.lastNavId=-1,yt&&yt.events.subscribe(jt=>{if(jt instanceof a.NavigationStart){const cn=jt.restoredState?jt.restoredState.navigationId:jt.id;this.guessDirection=cn{this.pop(),jt()})}navigateForward(B,ce={}){return this.setDirection("forward",ce.animated,ce.animationDirection,ce.animation),this.navigate(B,ce)}navigateBack(B,ce={}){return this.setDirection("back",ce.animated,ce.animationDirection,ce.animation),this.navigate(B,ce)}navigateRoot(B,ce={}){return this.setDirection("root",ce.animated,ce.animationDirection,ce.animation),this.navigate(B,ce)}back(B={animated:!0,animationDirection:"back"}){return this.setDirection("back",B.animated,B.animationDirection,B.animation),this.location.back()}pop(){var B=this;return(0,d.c)(function*(){let ce=B.topOutlet;for(;ce;){if(yield ce.pop())return!0;ce=ce.parentOutlet}return!1})()}setDirection(B,ce,xe,yt){this.direction=B,this.animated=qt(B,ce,xe),this.animationBuilder=yt}setTopOutlet(B){this.topOutlet=B}consumeTransition(){let ce,B="root";const xe=this.animationBuilder;return"auto"===this.direction?(B=this.guessDirection,ce=this.guessAnimation):(ce=this.animated,B=this.direction),this.direction=ht,this.animated=Ue,this.animationBuilder=void 0,{direction:B,animation:ce,animationBuilder:xe}}navigate(B,ce){if(Array.isArray(B))return this.router.navigate(B,ce);{const xe=this.serializer.parse(B.toString());return void 0!==ce.queryParams&&(xe.queryParams={...ce.queryParams}),void 0!==ce.fragment&&(xe.fragment=ce.fragment),this.router.navigateByUrl(xe,ce)}}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275inject(hn),n.\u0275\u0275inject(l.Location),n.\u0275\u0275inject(a.UrlSerializer),n.\u0275\u0275inject(a.Router,8))},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const qt=(R,q,B)=>{if(!1!==q){if(void 0!==B)return B;if("forward"===R||"back"===R)return R;if("root"===R&&!0===q)return"forward"}},ht="auto",Ue=void 0;let Ee=(()=>{class R{get(B,ce){const xe=$e();return xe?xe.get(B,ce):null}getBoolean(B,ce){const xe=$e();return!!xe&&xe.getBoolean(B,ce)}getNumber(B,ce){const xe=$e();return xe?xe.getNumber(B,ce):0}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const Te=new n.InjectionToken("USERCONFIG"),$e=()=>{if(typeof window<"u"){const R=window.Ionic;if(R?.config)return R.config}return null};class je{constructor(q={}){this.data=q}get(q){return this.data[q]}}let gt=(()=>{class R{constructor(){this.zone=(0,n.inject)(n.NgZone),this.applicationRef=(0,n.inject)(n.ApplicationRef)}create(B,ce,xe){return new He(B,ce,this.applicationRef,this.zone,xe)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})();class He{constructor(q,B,ce,xe,yt){this.environmentInjector=q,this.injector=B,this.applicationRef=ce,this.zone=xe,this.elementReferenceKey=yt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(q,B,ce,xe){return this.zone.run(()=>new Promise(yt=>{const jt={...ce};void 0!==this.elementReferenceKey&&(jt[this.elementReferenceKey]=q),yt(vt(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,q,B,jt,xe,this.elementReferenceKey))}))}removeViewFromDom(q,B){return this.zone.run(()=>new Promise(ce=>{const xe=this.elRefMap.get(B);if(xe){xe.destroy(),this.elRefMap.delete(B);const yt=this.elEventsMap.get(B);yt&&(yt(),this.elEventsMap.delete(B))}ce()}))}}const vt=(R,q,B,ce,xe,yt,jt,cn,X,Ve,Ce)=>{const Re=n.Injector.create({providers:zt(X),parent:B}),Mt=(0,n.createComponent)(cn,{environmentInjector:q,elementInjector:Re}),Zt=Mt.instance,an=Mt.location.nativeElement;if(X&&(Ce&&void 0!==Zt[Ce]&&console.error(`[Ionic Error]: ${Ce} is a reserved property when using ${jt.tagName.toLowerCase()}. Rename or remove the "${Ce}" property from ${cn.name}.`),Object.assign(Zt,X)),Ve)for(const gr of Ve)an.classList.add(gr);const Pn=wt(R,Zt,an);return jt.appendChild(an),ce.attachView(Mt.hostView),xe.set(an,Mt),yt.set(an,Pn),an},ut=[$.L,$.a,$.b,$.c,$.d],wt=(R,q,B)=>R.run(()=>{const ce=ut.filter(xe=>"function"==typeof q[xe]).map(xe=>{const yt=jt=>q[xe](jt.detail);return B.addEventListener(xe,yt),()=>B.removeEventListener(xe,yt)});return()=>ce.forEach(xe=>xe())}),st=new n.InjectionToken("NavParamsToken"),zt=R=>[{provide:st,useValue:R},{provide:je,useFactory:pt,deps:[st]}],pt=R=>new je(R),It=(R,q)=>{const B=R.prototype;q.forEach(ce=>{Object.defineProperty(B,ce,{get(){return this.el[ce]},set(xe){this.z.runOutsideAngular(()=>this.el[ce]=xe)}})})},Yt=(R,q)=>{const B=R.prototype;q.forEach(ce=>{B[ce]=function(){const xe=arguments;return this.z.runOutsideAngular(()=>this.el[ce].apply(this.el,xe))}})},Xt=(R,q,B)=>{B.forEach(ce=>R[ce]=(0,we.w)(q,ce))};function At(R){return function(B){const{defineCustomElementFn:ce,inputs:xe,methods:yt}=R;return void 0!==ce&&ce(),xe&&It(B,xe),yt&&Yt(B,yt),B}}const $t=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],St=["present","dismiss","onDidDismiss","onWillDismiss"];let xt=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,this.isCmpOpen=!1,this.el=ce.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,B.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,B.detectChanges()}),Xt(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-popover"]],contentQueries:function(B,ce,xe){if(1&B&&n.\u0275\u0275contentQuery(xe,n.TemplateRef,5),2&B){let yt;n.\u0275\u0275queryRefresh(yt=n.\u0275\u0275loadQuery())&&(ce.template=yt.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),R=(0,_e.__decorate)([At({inputs:$t,methods:St})],R),R})();const nn=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],bn=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let Tn=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,this.isCmpOpen=!1,this.el=ce.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,B.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,B.detectChanges()}),Xt(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-modal"]],contentQueries:function(B,ce,xe){if(1&B&&n.\u0275\u0275contentQuery(xe,n.TemplateRef,5),2&B){let yt;n.\u0275\u0275queryRefresh(yt=n.\u0275\u0275loadQuery())&&(ce.template=yt.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),R=(0,_e.__decorate)([At({inputs:nn,methods:bn})],R),R})();const nr=(R,q)=>((R=R.filter(B=>B.stackId!==q.stackId)).push(q),R),sr=(R,q)=>{const B=R.createUrlTree(["."],{relativeTo:q});return R.serializeUrl(B)},Er=(R,q)=>!q||R.stackId!==q.stackId,br=(R,q)=>{if(!R)return;const B=qn(q);for(let ce=0;ce=R.length)return B[ce];if(B[ce]!==R[ce])return}},qn=R=>R.split("/").map(q=>q.trim()).filter(q=>""!==q),Rn=R=>{R&&(R.ref.destroy(),R.unlistenEvents())};class oi{constructor(q,B,ce,xe,yt,jt){this.containerEl=B,this.router=ce,this.navCtrl=xe,this.zone=yt,this.location=jt,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==q?qn(q):void 0}createView(q,B){const ce=sr(this.router,B),xe=q?.location?.nativeElement,yt=wt(this.zone,q.instance,xe);return{id:this.nextId++,stackId:br(this.tabsPrefix,ce),unlistenEvents:yt,element:xe,ref:q,url:ce}}getExistingView(q){const B=sr(this.router,q),ce=this.views.find(xe=>xe.url===B);return ce&&ce.ref.changeDetectorRef.reattach(),ce}setActive(q){const B=this.navCtrl.consumeTransition();let{direction:ce,animation:xe,animationBuilder:yt}=B;const jt=this.activeView,cn=Er(q,jt);cn&&(ce="back",xe=void 0);const X=this.views.slice();let Ve;const Ce=this.router;Ce.getCurrentNavigation?Ve=Ce.getCurrentNavigation():Ce.navigations?.value&&(Ve=Ce.navigations.value),Ve?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const Re=this.views.includes(q),Mt=this.insertView(q,ce);Re||q.ref.changeDetectorRef.detectChanges();const Zt=q.animationBuilder;return void 0===yt&&"back"===ce&&!cn&&void 0!==Zt&&(yt=Zt),jt&&(jt.animationBuilder=yt),this.zone.runOutsideAngular(()=>this.wait(()=>(jt&&jt.ref.changeDetectorRef.detach(),q.ref.changeDetectorRef.reattach(),this.transition(q,jt,xe,this.canGoBack(1),!1,yt).then(()=>Sr(q,Mt,X,this.location,this.zone)).then(()=>({enteringView:q,direction:ce,animation:xe,tabSwitch:cn})))))}canGoBack(q,B=this.getActiveStackId()){return this.getStack(B).length>q}pop(q,B=this.getActiveStackId()){return this.zone.run(()=>{const ce=this.getStack(B);if(ce.length<=q)return Promise.resolve(!1);const xe=ce[ce.length-q-1];let yt=xe.url;const jt=xe.savedData;if(jt){const X=jt.get("primary");X?.route?._routerState?.snapshot.url&&(yt=X.route._routerState.snapshot.url)}const{animationBuilder:cn}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(yt,{...xe.savedExtras,animation:cn}).then(()=>!0)})}startBackTransition(){const q=this.activeView;if(q){const B=this.getStack(q.stackId),ce=B[B.length-2],xe=ce.animationBuilder;return this.wait(()=>this.transition(ce,q,"back",this.canGoBack(2),!0,xe))}return Promise.resolve()}endBackTransition(q){q?(this.skipTransition=!0,this.pop(1)):this.activeView&&pr(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(q){const B=this.getStack(q);return B.length>0?B[B.length-1]:void 0}getRootUrl(q){const B=this.getStack(q);return B.length>0?B[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Rn),this.activeView=void 0,this.views=[]}getStack(q){return this.views.filter(B=>B.stackId===q)}insertView(q,B){return this.activeView=q,this.views=((R,q,B)=>"root"===B?nr(R,q):"forward"===B?((R,q)=>(R.indexOf(q)>=0?R=R.filter(ce=>ce.stackId!==q.stackId||ce.id<=q.id):R.push(q),R))(R,q):((R,q)=>R.indexOf(q)>=0?R.filter(ce=>ce.stackId!==q.stackId||ce.id<=q.id):nr(R,q))(R,q))(this.views,q,B),this.views.slice()}transition(q,B,ce,xe,yt,jt){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(B===q)return Promise.resolve(!1);const cn=q?q.element:void 0,X=B?B.element:void 0,Ve=this.containerEl;return cn&&cn!==X&&(cn.classList.add("ion-page"),cn.classList.add("ion-page-invisible"),cn.parentElement!==Ve&&Ve.appendChild(cn),Ve.commit)?Ve.commit(cn,X,{duration:void 0===ce?0:void 0,direction:ce,showGoBack:xe,progressAnimation:yt,animationBuilder:jt}):Promise.resolve(!1)}wait(q){var B=this;return(0,d.c)(function*(){void 0!==B.runningTask&&(yield B.runningTask,B.runningTask=void 0);const ce=B.runningTask=q();return ce.finally(()=>B.runningTask=void 0),ce})()}}const Sr=(R,q,B,ce,xe)=>"function"==typeof requestAnimationFrame?new Promise(yt=>{requestAnimationFrame(()=>{pr(R,q,B,ce,xe),yt()})}):Promise.resolve(),pr=(R,q,B,ce,xe)=>{xe.run(()=>B.filter(yt=>!q.includes(yt)).forEach(Rn)),q.forEach(yt=>{const cn=ce.path().split("?")[0].split("#")[0];if(yt!==R&&yt.url!==cn){const X=yt.element;X.setAttribute("aria-hidden","true"),X.classList.add("ion-page-hidden"),yt.ref.changeDetectorRef.detach()}})};let Jn=(()=>{class R{constructor(B,ce,xe,yt,jt,cn,X,Ve){this.parentOutlet=Ve,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new ye.g(null),this.activated=null,this._activatedRoute=null,this.name=a.PRIMARY_OUTLET,this.stackWillChange=new n.EventEmitter,this.stackDidChange=new n.EventEmitter,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(a.ChildrenOutletContexts),this.location=(0,n.inject)(n.ViewContainerRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(Or,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,n.inject)(Ee),this.navCtrl=(0,n.inject)(_n),this.nativeEl=yt.nativeElement,this.name=B||a.PRIMARY_OUTLET,this.tabsPrefix="true"===ce?sr(jt,X):void 0,this.stackCtrl=new oi(this.tabsPrefix,this.nativeEl,jt,this.navCtrl,cn,xe),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(B){this.nativeEl.animation=B}set animated(B){this.nativeEl.animated=B}set swipeGesture(B){this._swipeGesture=B,this.nativeEl.swipeHandler=B?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:ce=>this.stackCtrl.endBackTransition(ce)}:void 0}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const B=this.getContext();B?.route&&this.activateWith(B.route,B.injector)}new Promise(B=>(0,le.c)(this.nativeEl,B)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(B,ce){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const ce=this.getContext();this.activatedView.savedData=new Map(ce.children.contexts);const xe=this.activatedView.savedData.get("primary");if(xe&&ce.route&&(xe.route={...ce.route}),this.activatedView.savedExtras={},ce.route){const yt=ce.route.snapshot;this.activatedView.savedExtras.queryParams=yt.queryParams,this.activatedView.savedExtras.fragment=yt.fragment}}const B=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(B)}}activateWith(B,ce){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=B;let xe,yt=this.stackCtrl.getExistingView(B);if(yt){xe=this.activated=yt.ref;const cn=yt.savedData;cn&&(this.getContext().children.contexts=cn),this.updateActivatedRouteProxy(xe.instance,B)}else{const cn=B._futureSnapshot,X=this.parentContexts.getOrCreateContext(this.name).children,Ve=new ye.g(null),Ce=this.createActivatedRouteProxy(Ve,B),Re=new er(Ce,X,this.location.injector);xe=this.activated=this.location.createComponent(cn.routeConfig.component??cn.component,{index:this.location.length,injector:Re,environmentInjector:ce??this.environmentInjector}),Ve.next(xe.instance),yt=this.stackCtrl.createView(this.activated,B),this.proxyMap.set(xe.instance,Ce),this.currentActivatedRoute$.next({component:xe.instance,activatedRoute:B})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=yt,this.navCtrl.setTopOutlet(this);const jt=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:yt,tabSwitch:Er(yt,jt)}),this.stackCtrl.setActive(yt).then(cn=>{this.activateEvents.emit(xe.instance),this.stackDidChange.emit(cn)})}canGoBack(B=1,ce){return this.stackCtrl.canGoBack(B,ce)}pop(B=1,ce){return this.stackCtrl.pop(B,ce)}getLastUrl(B){const ce=this.stackCtrl.getLastUrl(B);return ce?ce.url:void 0}getLastRouteView(B){return this.stackCtrl.getLastUrl(B)}getRootView(B){return this.stackCtrl.getRootUrl(B)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(B,ce){const xe=new a.ActivatedRoute;return xe._futureSnapshot=ce._futureSnapshot,xe._routerState=ce._routerState,xe.snapshot=ce.snapshot,xe.outlet=ce.outlet,xe.component=ce.component,xe._paramMap=this.proxyObservable(B,"paramMap"),xe._queryParamMap=this.proxyObservable(B,"queryParamMap"),xe.url=this.proxyObservable(B,"url"),xe.params=this.proxyObservable(B,"params"),xe.queryParams=this.proxyObservable(B,"queryParams"),xe.fragment=this.proxyObservable(B,"fragment"),xe.data=this.proxyObservable(B,"data"),xe}proxyObservable(B,ce){return B.pipe((0,Pe.I)(xe=>!!xe),(0,Ze.G)(xe=>this.currentActivatedRoute$.pipe((0,Pe.I)(yt=>null!==yt&&yt.component===xe),(0,Ze.G)(yt=>yt&&yt.activatedRoute[ce]),function Qe(R,q=ot.Z){return R=R??Ct,(0,tt.i)((B,ce)=>{let xe,yt=!0;B.subscribe((0,mt.e)(ce,jt=>{const cn=q(jt);(yt||!R(xe,cn))&&(yt=!1,xe=cn,ce.next(jt))}))})}())))}updateActivatedRouteProxy(B,ce){const xe=this.proxyMap.get(B);if(!xe)throw new Error("Could not find activated route proxy for view");xe._futureSnapshot=ce._futureSnapshot,xe._routerState=ce._routerState,xe.snapshot=ce.snapshot,xe.outlet=ce.outlet,xe.component=ce.component,this.currentActivatedRoute$.next({component:B,activatedRoute:ce})}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(l.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(a.ActivatedRoute),n.\u0275\u0275directiveInject(R,12))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),R})();class er{constructor(q,B,ce){this.route=q,this.childContexts=B,this.parent=ce}get(q,B){return q===a.ActivatedRoute?this.route:q===a.ChildrenOutletContexts?this.childContexts:this.parent.get(q,B)}}const Or=new n.InjectionToken("");let pi=(()=>{class R{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(B){this.unsubscribeFromRouteData(B),this.subscribeToRouteData(B)}unsubscribeFromRouteData(B){this.outletDataSubscriptions.get(B)?.unsubscribe(),this.outletDataSubscriptions.delete(B)}subscribeToRouteData(B){const{activatedRoute:ce}=B,xe=(0,Oe.E)([ce.queryParams,ce.params,ce.data]).pipe((0,Ze.G)(([yt,jt,cn],X)=>(cn={...yt,...jt,...cn},0===X?(0,ve.of)(cn):Promise.resolve(cn)))).subscribe(yt=>{if(!B.isActivated||!B.activatedComponentRef||B.activatedRoute!==ce||null===ce.component)return void this.unsubscribeFromRouteData(B);const jt=(0,n.reflectComponentType)(ce.component);if(jt)for(const{templateName:cn}of jt.inputs)B.activatedComponentRef.setInput(cn,yt[cn]);else this.unsubscribeFromRouteData(B)});this.outletDataSubscriptions.set(B,xe)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})();function jn(R){return R?.componentInputBindingEnabled?new pi:null}const Qn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let or=(()=>{let R=class{constructor(B,ce,xe,yt,jt,cn){this.routerOutlet=B,this.navCtrl=ce,this.config=xe,this.r=yt,this.z=jt,cn.detach(),this.el=this.r.nativeElement}onClick(B){const ce=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),B.preventDefault()):null!=ce&&(this.navCtrl.navigateBack(ce,{animation:this.routerAnimation}),B.preventDefault())}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(Jn,8),n.\u0275\u0275directiveInject(_n),n.\u0275\u0275directiveInject(Ee),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("click",function(yt){return ce.onClick(yt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),R=(0,_e.__decorate)([At({inputs:Qn})],R),R})(),ui=(()=>{class R{constructor(B,ce,xe,yt,jt){this.locationStrategy=B,this.navCtrl=ce,this.elementRef=xe,this.router=yt,this.routerLink=jt,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const B=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=B}}onClick(B){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),B.preventDefault()}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(l.LocationStrategy),n.\u0275\u0275directiveInject(_n),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(a.RouterLink,8))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("click",function(yt){return ce.onClick(yt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),R})(),Pr=(()=>{class R{constructor(B,ce,xe,yt,jt){this.locationStrategy=B,this.navCtrl=ce,this.elementRef=xe,this.router=yt,this.routerLink=jt,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const B=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=B}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(l.LocationStrategy),n.\u0275\u0275directiveInject(_n),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(a.RouterLink,8))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("click",function(){return ce.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),R})();const ct=["animated","animation","root","rootParams","swipeGesture"],Rt=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let kt=(()=>{let R=class{constructor(B,ce,xe,yt,jt,cn){this.z=jt,cn.detach(),this.el=B.nativeElement,B.nativeElement.delegate=yt.create(ce,xe),Xt(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(gt),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),R=(0,_e.__decorate)([At({inputs:ct,methods:Rt})],R),R})(),on=(()=>{class R{constructor(B){this.navCtrl=B,this.ionTabsWillChange=new n.EventEmitter,this.ionTabsDidChange=new n.EventEmitter,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:B,tabSwitch:ce}){const xe=B.stackId;ce&&void 0!==xe&&this.ionTabsWillChange.emit({tab:xe})}onStackDidChange({enteringView:B,tabSwitch:ce}){const xe=B.stackId;ce&&void 0!==xe&&(this.tabBar&&(this.tabBar.selectedTab=xe),this.ionTabsDidChange.emit({tab:xe}))}select(B){const ce="string"==typeof B,xe=ce?B:B.detail.tab,yt=this.outlet.getActiveStackId()===xe,jt=`${this.outlet.tabsPrefix}/${xe}`;if(ce||B.stopPropagation(),yt){const cn=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(cn)?.url===jt)return;const Ve=this.outlet.getRootView(xe);return this.navCtrl.navigateRoot(jt,{...Ve&&jt===Ve.url&&Ve.savedExtras,animated:!0,animationDirection:"back"})}{const cn=this.outlet.getLastRouteView(xe),X=cn?.url||jt,Ve=cn?.savedExtras;return this.navCtrl.navigateRoot(X,{...Ve,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(B=>{const ce=B.el.getAttribute("slot");ce!==this.tabBarSlot&&(this.tabBarSlot=ce,this.relocateTabBar())})}relocateTabBar(){const B=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(B):this.tabsInner.nativeElement.after(B)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(_n))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-tabs"]],viewQuery:function(B,ce){if(1&B&&n.\u0275\u0275viewQuery(Xe,7,n.ElementRef),2&B){let xe;n.\u0275\u0275queryRefresh(xe=n.\u0275\u0275loadQuery())&&(ce.tabsInner=xe.first)}},hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionTabButtonClick",function(yt){return ce.select(yt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),R})();const dn=R=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(R):"function"==typeof requestAnimationFrame?requestAnimationFrame(R):setTimeout(R);let Mn=(()=>{class R{constructor(B,ce){this.injector=B,this.elementRef=ce,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(B){this.elementRef.nativeElement.value=this.lastValue=B,En(this.elementRef)}handleValueChange(B,ce){B===this.elementRef.nativeElement&&(ce!==this.lastValue&&(this.lastValue=ce,this.onChange(ce)),En(this.elementRef))}_handleBlurEvent(B){B===this.elementRef.nativeElement&&(this.onTouched(),En(this.elementRef))}registerOnChange(B){this.onChange=B}registerOnTouched(B){this.onTouched=B}setDisabledState(B){this.elementRef.nativeElement.disabled=B}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let B;try{B=this.injector.get(i.NgControl)}catch{}if(!B)return;B.statusChanges&&(this.statusChanges=B.statusChanges.subscribe(()=>En(this.elementRef)));const ce=B.control;ce&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(yt=>{if(typeof ce[yt]<"u"){const jt=ce[yt].bind(ce);ce[yt]=(...cn)=>{jt(...cn),En(this.elementRef)}}})}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionBlur",function(yt){return ce._handleBlurEvent(yt.target)})}}),R})();const En=R=>{dn(()=>{const q=R.nativeElement,B=null!=q.value&&q.value.toString().length>0,ce=Zn(q);Yn(q,ce);const xe=q.closest("ion-item");xe&&Yn(xe,B?[...ce,"item-has-value"]:ce)})},Zn=R=>{const q=R.classList,B=[];for(let ce=0;ce{const B=R.classList;B.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),B.add(...q)},Tr=(R,q)=>R.substring(0,q.length)===q;class Mr{shouldDetach(q){return!1}shouldAttach(q){return!1}store(q,B){}retrieve(q){return null}shouldReuseRoute(q,B){if(q.routeConfig!==B.routeConfig)return!1;const ce=q.params,xe=B.params,yt=Object.keys(ce),jt=Object.keys(xe);if(yt.length!==jt.length)return!1;for(const cn of yt)if(xe[cn]!==ce[cn])return!1;return!0}}class zn{constructor(q){this.ctrl=q}create(q){return this.ctrl.create(q||{})}dismiss(q,B,ce){return this.ctrl.dismiss(q,B,ce)}getTop(){return this.ctrl.getTop()}}var ur=o(30388),Mi=o(76256),un=o(68512),U=o(96556),z=o(86944),ae=o(62528),Fe=o(88523),Ae=o(59637),fe=o(45256),De=o(43452),rt=o(63816),Tt=(o(14829),o(62992));o(66560),o(72784);const mn=R=>{const{swiper:q,extendParams:B}=R,ce={effect:void 0,direction:"horizontal",initialSlide:0,loop:!1,parallax:!1,slidesPerView:1,spaceBetween:0,speed:300,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,touchEventsTarget:"container",freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,zoom:{maxRatio:3,minRatio:1,toggle:!1},touchRatio:1,touchAngle:45,simulateTouch:!0,touchStartPreventDefault:!1,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loopAdditionalSlides:0,noSwiping:!0,runCallbacksOnInit:!0,coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flipEffect:{slideShadows:!0,limitRotation:!0},cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fadeEffect:{crossFade:!1},a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide"}};q.pagination&&(ce.pagination={type:"bullets",clickable:!1,hideOnClick:!1}),q.scrollbar&&(ce.scrollbar={hide:!0}),B(ce)},Cn=Fe.i,fn=function(){var R=(0,d.c)(function*(q,B){if(!(typeof window>"u"))return yield Cn(),(0,Tt.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"],"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),B)});return function(B,ce){return R.apply(this,arguments)}}(),Gt=["*"],Nn=["outlet"],lr=[[["","slot","top"]],"*"],cr=["[slot=top]","*"];function Nr(R,q){if(1&R&&(n.\u0275\u0275elementStart(0,"div",1),n.\u0275\u0275elementContainer(1,2),n.\u0275\u0275elementEnd()),2&R){const B=n.\u0275\u0275nextContext();n.\u0275\u0275advance(),n.\u0275\u0275property("ngTemplateOutlet",B.template)}}function Lr(R,q){if(1&R&&n.\u0275\u0275elementContainer(0,1),2&R){const B=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngTemplateOutlet",B.template)}}let dt=(()=>{class R extends Mn{constructor(B,ce){super(B,ce)}writeValue(B){this.elementRef.nativeElement.checked=this.lastValue=B,En(this.elementRef)}_handleIonChange(B){this.handleValueChange(B,B.checked)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionChange",function(yt){return ce._handleIonChange(yt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),lo=(()=>{class R extends Mn{constructor(B,ce){super(B,ce)}handleInputEvent(B){this.handleValueChange(B,B.value)}registerOnChange(B){super.registerOnChange(ce=>{B(""===ce?null:parseFloat(ce))})}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input","type","number"]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionInput",function(yt){return ce.handleInputEvent(yt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),vi=(()=>{class R extends Mn{constructor(B,ce){super(B,ce)}_handleIonSelect(B){this.handleValueChange(B,B.checked)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-radio"]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionSelect",function(yt){return ce._handleIonSelect(yt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),_r=(()=>{class R extends Mn{constructor(B,ce){super(B,ce)}_handleChangeEvent(B){this.handleValueChange(B,B.value)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionChange",function(yt){return ce._handleChangeEvent(yt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),In=(()=>{class R extends Mn{constructor(B,ce){super(B,ce)}_handleInputEvent(B){this.handleValueChange(B,B.value)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionInput",function(yt){return ce._handleInputEvent(yt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})();const Gn=(R,q)=>{const B=R.prototype;q.forEach(ce=>{Object.defineProperty(B,ce,{get(){return this.el[ce]},set(xe){this.z.runOutsideAngular(()=>this.el[ce]=xe)},configurable:!0})})},si=(R,q)=>{const B=R.prototype;q.forEach(ce=>{B[ce]=function(){const xe=arguments;return this.z.runOutsideAngular(()=>this.el[ce].apply(this.el,xe))}})},Ir=(R,q,B)=>{B.forEach(ce=>R[ce]=(0,we.w)(q,ce))};function Fn(R){return function(B){const{defineCustomElementFn:ce,inputs:xe,methods:yt}=R;return void 0!==ce&&ce(),xe&&Gn(B,xe),yt&&si(B,yt),B}}let ti=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-accordion"]],inputs:{disabled:"disabled",mode:"mode",readonly:"readonly",toggleIcon:"toggleIcon",toggleIconSlot:"toggleIconSlot",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled","mode","readonly","toggleIcon","toggleIconSlot","value"]})],R),R})(),Zr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-accordion-group"]],inputs:{animated:"animated",disabled:"disabled",expand:"expand",mode:"mode",multiple:"multiple",readonly:"readonly",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","disabled","expand","mode","multiple","readonly","value"]})],R),R})(),Xr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionActionSheetDidPresent","ionActionSheetWillPresent","ionActionSheetWillDismiss","ionActionSheetDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-action-sheet"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),Vi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionAlertDidPresent","ionAlertWillPresent","ionAlertWillDismiss","ionAlertDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-alert"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",inputs:"inputs",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","inputs","isOpen","keyboardClose","leaveAnimation","message","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),hr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-app"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({})],R),R})(),Yi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-avatar"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({})],R),R})(),ko=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionBackdropTap"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",tappable:"tappable",visible:"visible"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["stopPropagation","tappable","visible"]})],R),R})(),go=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode"]})],R),R})(),Jr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-breadcrumb"]],inputs:{active:"active",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",separator:"separator",target:"target"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["active","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","separator","target"]})],R),R})(),zi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionCollapsedClick"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-breadcrumbs"]],inputs:{color:"color",itemsAfterCollapse:"itemsAfterCollapse",itemsBeforeCollapse:"itemsBeforeCollapse",maxItems:"maxItems",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","itemsAfterCollapse","itemsBeforeCollapse","maxItems","mode"]})],R),R})(),qi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],R),R})(),ro=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["collapse"]})],R),R})(),Rr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],R),R})(),mo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["mode"]})],R),R})(),_i=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode","translucent"]})],R),R})(),xi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode"]})],R),R})(),qr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode"]})],R),R})(),ar=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange","ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],R),R})(),yo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","disabled","mode","outline"]})],R),R})(),wi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],R),R})(),yi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],R),R})(),Mo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",clearText:"clearText",color:"color",dayValues:"dayValues",disabled:"disabled",doneText:"doneText",firstDayOfWeek:"firstDayOfWeek",highlightedDates:"highlightedDates",hourCycle:"hourCycle",hourValues:"hourValues",isDateEnabled:"isDateEnabled",locale:"locale",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthValues:"monthValues",multiple:"multiple",name:"name",preferWheel:"preferWheel",presentation:"presentation",readonly:"readonly",showClearButton:"showClearButton",showDefaultButtons:"showDefaultButtons",showDefaultTimeLabel:"showDefaultTimeLabel",showDefaultTitle:"showDefaultTitle",size:"size",titleSelectedDatesFormatter:"titleSelectedDatesFormatter",value:"value",yearValues:"yearValues"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["cancelText","clearText","color","dayValues","disabled","doneText","firstDayOfWeek","highlightedDates","hourCycle","hourValues","isDateEnabled","locale","max","min","minuteValues","mode","monthValues","multiple","name","preferWheel","presentation","readonly","showClearButton","showDefaultButtons","showDefaultTimeLabel","showDefaultTitle","size","titleSelectedDatesFormatter","value","yearValues"],methods:["confirm","reset","cancel"]})],R),R})(),po=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-datetime-button"]],inputs:{color:"color",datetime:"datetime",disabled:"disabled",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","datetime","disabled","mode"]})],R),R})(),zr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],R),R})(),bo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],R),R})(),Ni=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["activated","side"]})],R),R})(),Gr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["collapse","mode","translucent"]})],R),R})(),Lo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["fixed"]})],R),R})(),Oi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["collapse","mode","translucent"]})],R),R})(),Zi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],R),R})(),Li=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["alt","src"]})],R),R})(),Gi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionInfinite"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled","position","threshold"],methods:["complete"]})],R),R})(),$o=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["loadingSpinner","loadingText"]})],R),R})(),Co=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],R),R})(),Ro=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],R),R})(),wo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode","sticky"]})],R),R})(),bs=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-group"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({})],R),R})(),Go=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],R),R})(),ns=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionSwipe"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["side"]})],R),R})(),rs=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionDrag"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],R),R})(),Ki=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode","position"]})],R),R})(),uo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],R),R})(),So=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","lines","mode"]})],R),R})(),cs=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionLoadingDidPresent","ionLoadingWillPresent","ionLoadingWillDismiss","ionLoadingDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-loading"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",showBackdrop:"showBackdrop",spinner:"spinner",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","backdropDismiss","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","message","mode","showBackdrop","spinner","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),co=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],R),R})(),Fo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["autoHide","color","disabled","menu","mode","type"]})],R),R})(),Do=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["autoHide","menu"]})],R),R})(),Ko=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-nav-link"]],inputs:{component:"component",componentProps:"componentProps",routerAnimation:"routerAnimation",routerDirection:"routerDirection"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["component","componentProps","routerAnimation","routerDirection"]})],R),R})(),hs=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode"]})],R),R})(),Qo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionPickerDidPresent","ionPickerWillPresent","ionPickerWillDismiss","ionPickerDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-picker"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",columns:"columns",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","backdropDismiss","buttons","columns","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss","getColumn"]})],R),R})(),Ye=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["buffer","color","mode","reversed","type","value"]})],R),R})(),Ke=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],R),R})(),Ie=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["allowEmptySelection","compareWith","name","value"]})],R),R})(),ft=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","legacy","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],R),R})(),Ot=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionRefresh","ionPull","ionStart"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],R),R})(),Wn=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],R),R})(),Vn=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-reorder"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({})],R),R})(),Wi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionItemReorder"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled"],methods:["complete"]})],R),R})(),Eo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["type"],methods:["addRipple"]})],R),R})(),Ao=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-row"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({})],R),R})(),ho=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",name:"name",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],R),R})(),Ur=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],R),R})(),Zo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled","layout","mode","type","value"]})],R),R})(),is=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],R),R})(),Xi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled","value"]})],R),R})(),Xo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated"]})],R),R})(),xo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","duration","name","paused"]})],R),R})(),_o=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionSplitPaneVisible"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["contentId","disabled","when"]})],R),R})(),Di=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode","selectedTab","translucent"]})],R),R})(),To=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],R),R})(),Cs=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode"]})],R),R})(),os=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-textarea"]],inputs:{autoGrow:"autoGrow",autocapitalize:"autocapitalize",autofocus:"autofocus",clearOnEdit:"clearOnEdit",color:"color",cols:"cols",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",rows:"rows",shape:"shape",spellcheck:"spellcheck",value:"value",wrap:"wrap"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","maxlength","minlength","mode","name","placeholder","readonly","required","rows","shape","spellcheck","value","wrap"],methods:["setFocus","getInputElement"]})],R),R})(),io=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-thumbnail"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({})],R),R})(),fs=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","size"]})],R),R})(),et=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionToastDidPresent","ionToastWillPresent","ionToastWillDismiss","ionToastDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-toast"]],inputs:{animated:"animated",buttons:"buttons",color:"color",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",icon:"icon",isOpen:"isOpen",keyboardClose:"keyboardClose",layout:"layout",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",position:"position",positionAnchor:"positionAnchor",swipeGesture:"swipeGesture",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","buttons","color","cssClass","duration","enterAnimation","header","htmlAttributes","icon","isOpen","keyboardClose","layout","leaveAnimation","message","mode","position","positionAnchor","swipeGesture","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),ne=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange","ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-toggle"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","legacy","mode","name","value"]})],R),R})(),ge=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode"]})],R),R})(),Le=(()=>{class R extends Jn{constructor(B,ce,xe,yt,jt,cn,X,Ve){super(B,ce,xe,yt,jt,cn,X,Ve),this.parentOutlet=Ve}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(l.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(a.ActivatedRoute),n.\u0275\u0275directiveInject(R,12))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-router-outlet"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),R})(),qe=(()=>{class R extends on{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-tabs"]],contentQueries:function(B,ce,xe){if(1&B&&(n.\u0275\u0275contentQuery(xe,Di,5),n.\u0275\u0275contentQuery(xe,Di,4)),2&B){let yt;n.\u0275\u0275queryRefresh(yt=n.\u0275\u0275loadQuery())&&(ce.tabBar=yt.first),n.\u0275\u0275queryRefresh(yt=n.\u0275\u0275loadQuery())&&(ce.tabBars=yt)}},viewQuery:function(B,ce){if(1&B&&n.\u0275\u0275viewQuery(Nn,5,Le),2&B){let xe;n.\u0275\u0275queryRefresh(xe=n.\u0275\u0275loadQuery())&&(ce.outlet=xe.first)}},features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:cr,decls:6,vars:0,consts:[[1,"tabs-inner"],["tabsInner",""],["tabs","true",3,"stackWillChange","stackDidChange"],["outlet",""]],template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(lr),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0,1)(3,"ion-router-outlet",2,3),n.\u0275\u0275listener("stackWillChange",function(yt){return ce.onStackWillChange(yt)})("stackDidChange",function(yt){return ce.onStackDidChange(yt)}),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(5,1))},dependencies:[Le],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]}),R})(),Dt=(()=>{class R extends or{constructor(B,ce,xe,yt,jt,cn){super(B,ce,xe,yt,jt,cn)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(Le,8),n.\u0275\u0275directiveInject(_n),n.\u0275\u0275directiveInject(Ee),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-back-button"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R})(),Nt=(()=>{class R extends kt{constructor(B,ce,xe,yt,jt,cn){super(B,ce,xe,yt,jt,cn)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(gt),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-nav"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R})(),Ht=(()=>{class R extends ui{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["","routerLink","",5,"a",5,"area"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),R})(),Wt=(()=>{class R extends Pr{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["a","routerLink",""],["area","routerLink",""]],features:[n.\u0275\u0275InheritDefinitionFeature]}),R})(),yn=(()=>{class R extends Tn{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-modal"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(B,ce){1&B&&n.\u0275\u0275template(0,Nr,2,1,"div",0),2&B&&n.\u0275\u0275property("ngIf",ce.isCmpOpen||ce.keepContentsMounted)},dependencies:[l.NgIf,l.NgTemplateOutlet],encapsulation:2,changeDetection:0}),R})(),$n=(()=>{class R extends xt{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-popover"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(B,ce){1&B&&n.\u0275\u0275template(0,Lr,1,1,"ng-container",0),2&B&&n.\u0275\u0275property("ngIf",ce.isCmpOpen||ce.keepContentsMounted)},dependencies:[l.NgIf,l.NgTemplateOutlet],encapsulation:2,changeDetection:0}),R})();const Kn={provide:i.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>Wr),multi:!0};let Wr=(()=>{class R extends i.MaxValidator{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(B,ce){2&B&&n.\u0275\u0275attribute("max",ce._enabled?ce.max:null)},features:[n.\u0275\u0275ProvidersFeature([Kn]),n.\u0275\u0275InheritDefinitionFeature]}),R})();const fr={provide:i.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>tr),multi:!0};let tr=(()=>{class R extends i.MinValidator{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(B,ce){2&B&&n.\u0275\u0275attribute("min",ce._enabled?ce.min:null)},features:[n.\u0275\u0275ProvidersFeature([fr]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),vr=(()=>{class R extends zn{constructor(){super(rt.a)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),mi=(()=>{class R{create(B){return(0,ur.c)(B)}easingTime(B,ce,xe,yt,jt){return(0,z.g)(B,ce,xe,yt,jt)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ai=(()=>{class R extends zn{constructor(){super(rt.b)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),ji=(()=>{class R{constructor(B){this.zone=B}create(B,ce=!1){return ce&&Object.getOwnPropertyNames(B).forEach(xe=>{if("function"==typeof B[xe]){const yt=B[xe];B[xe]=(...jt)=>this.zone.run(()=>yt(...jt))}}),(0,ae.createGesture)(B)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275inject(n.NgZone))},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ti=(()=>{class R extends zn{constructor(){super(rt.l)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ji=(()=>{class R extends nt{constructor(){super(De.m)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Sn=(()=>{class R extends zn{constructor(){super(rt.m),this.angularDelegate=(0,n.inject)(gt),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(B){return super.create({...B,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})(),wr=(()=>{class R extends zn{constructor(){super(rt.p)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();class Qi extends zn{constructor(){super(rt.c),this.angularDelegate=(0,n.inject)(gt),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(q){return super.create({...q,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let Ii=(()=>{class R extends zn{constructor(){super(rt.t)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const ei=(R,q,B)=>()=>{const ce=q.defaultView;if(ce&&typeof window<"u"){(0,Ae.s)({...R,_zoneGate:yt=>B.run(yt)});const xe="__zone_symbol__addEventListener"in q.body?"__zone_symbol__addEventListener":"addEventListener";return function vn(){var R=[];if(typeof window<"u"){var q=window;(!q.customElements||q.Element&&(!q.Element.prototype.closest||!q.Element.prototype.matches||!q.Element.prototype.remove||!q.Element.prototype.getRootNode))&&R.push(o.e(4448).then(o.t.bind(o,70812,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||q.NodeList&&!q.NodeList.prototype.forEach||!q.fetch||!function(){try{var ce=new URL("b","http://a");return ce.pathname="c%20d","http://a/c%20d"===ce.href&&ce.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&R.push(o.e(488).then(o.t.bind(o,36304,23)))}return Promise.all(R)}().then(()=>fn(ce,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:dn,jmp:yt=>B.runOutsideAngular(yt),ael(yt,jt,cn,X){yt[xe](jt,cn,X)},rel(yt,jt,cn,X){yt.removeEventListener(jt,cn,X)}}))}};let at=(()=>{class R{static forRoot(B){return{ngModule:R,providers:[{provide:Te,useValue:B},{provide:n.APP_INITIALIZER,useFactory:ei,multi:!0,deps:[Te,l.DOCUMENT,n.NgZone]},{provide:Or,useFactory:jn,deps:[a.Router]}]}}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275mod=n.\u0275\u0275defineNgModule({type:R}),R.\u0275inj=n.\u0275\u0275defineInjector({providers:[gt,Sn,Qi],imports:[l.CommonModule]}),R})()},2300:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{EditorComponent:()=>J,EditorModule:()=>Y,TINYMCE_SCRIPT_SRC:()=>Z});var n=o(54496),i=o(91368),d=o(44716),a=o(70800),l=o(41424),e=o(95657),u=o(53616),c=o(3992),g=o(32700),v=o(22540),p=o(50560),S=o(41760),C=o(95448);function f($,le,...ee){if(!0===le)return void $();if(!1===le)return;const we=new S.ot({next:()=>{we.unsubscribe(),$()}});return(0,p.Uv)(le(...ee)).subscribe(we)}function b($,le){}const E=()=>{const $=typeof window<"u"?window:void 0;return $&&$.tinymce?$.tinymce:null};let M=(()=>{class ${constructor(){this.onBeforePaste=new n.EventEmitter,this.onBlur=new n.EventEmitter,this.onClick=new n.EventEmitter,this.onContextMenu=new n.EventEmitter,this.onCopy=new n.EventEmitter,this.onCut=new n.EventEmitter,this.onDblclick=new n.EventEmitter,this.onDrag=new n.EventEmitter,this.onDragDrop=new n.EventEmitter,this.onDragEnd=new n.EventEmitter,this.onDragGesture=new n.EventEmitter,this.onDragOver=new n.EventEmitter,this.onDrop=new n.EventEmitter,this.onFocus=new n.EventEmitter,this.onFocusIn=new n.EventEmitter,this.onFocusOut=new n.EventEmitter,this.onKeyDown=new n.EventEmitter,this.onKeyPress=new n.EventEmitter,this.onKeyUp=new n.EventEmitter,this.onMouseDown=new n.EventEmitter,this.onMouseEnter=new n.EventEmitter,this.onMouseLeave=new n.EventEmitter,this.onMouseMove=new n.EventEmitter,this.onMouseOut=new n.EventEmitter,this.onMouseOver=new n.EventEmitter,this.onMouseUp=new n.EventEmitter,this.onPaste=new n.EventEmitter,this.onSelectionChange=new n.EventEmitter,this.onActivate=new n.EventEmitter,this.onAddUndo=new n.EventEmitter,this.onBeforeAddUndo=new n.EventEmitter,this.onBeforeExecCommand=new n.EventEmitter,this.onBeforeGetContent=new n.EventEmitter,this.onBeforeRenderUI=new n.EventEmitter,this.onBeforeSetContent=new n.EventEmitter,this.onChange=new n.EventEmitter,this.onClearUndos=new n.EventEmitter,this.onDeactivate=new n.EventEmitter,this.onDirty=new n.EventEmitter,this.onExecCommand=new n.EventEmitter,this.onGetContent=new n.EventEmitter,this.onHide=new n.EventEmitter,this.onInit=new n.EventEmitter,this.onInitNgModel=new n.EventEmitter,this.onLoadContent=new n.EventEmitter,this.onNodeChange=new n.EventEmitter,this.onPostProcess=new n.EventEmitter,this.onPostRender=new n.EventEmitter,this.onPreInit=new n.EventEmitter,this.onPreProcess=new n.EventEmitter,this.onProgressState=new n.EventEmitter,this.onRedo=new n.EventEmitter,this.onRemove=new n.EventEmitter,this.onReset=new n.EventEmitter,this.onResizeEditor=new n.EventEmitter,this.onSaveContent=new n.EventEmitter,this.onSetAttrib=new n.EventEmitter,this.onObjectResizeStart=new n.EventEmitter,this.onObjectResized=new n.EventEmitter,this.onObjectSelected=new n.EventEmitter,this.onSetContent=new n.EventEmitter,this.onShow=new n.EventEmitter,this.onSubmit=new n.EventEmitter,this.onUndo=new n.EventEmitter,this.onVisualAid=new n.EventEmitter}}return $.\u0275fac=function(ee){return new(ee||$)},$.\u0275dir=n.\u0275\u0275defineDirective({type:$,outputs:{onBeforePaste:"onBeforePaste",onBlur:"onBlur",onClick:"onClick",onContextMenu:"onContextMenu",onCopy:"onCopy",onCut:"onCut",onDblclick:"onDblclick",onDrag:"onDrag",onDragDrop:"onDragDrop",onDragEnd:"onDragEnd",onDragGesture:"onDragGesture",onDragOver:"onDragOver",onDrop:"onDrop",onFocus:"onFocus",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onKeyDown:"onKeyDown",onKeyPress:"onKeyPress",onKeyUp:"onKeyUp",onMouseDown:"onMouseDown",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave",onMouseMove:"onMouseMove",onMouseOut:"onMouseOut",onMouseOver:"onMouseOver",onMouseUp:"onMouseUp",onPaste:"onPaste",onSelectionChange:"onSelectionChange",onActivate:"onActivate",onAddUndo:"onAddUndo",onBeforeAddUndo:"onBeforeAddUndo",onBeforeExecCommand:"onBeforeExecCommand",onBeforeGetContent:"onBeforeGetContent",onBeforeRenderUI:"onBeforeRenderUI",onBeforeSetContent:"onBeforeSetContent",onChange:"onChange",onClearUndos:"onClearUndos",onDeactivate:"onDeactivate",onDirty:"onDirty",onExecCommand:"onExecCommand",onGetContent:"onGetContent",onHide:"onHide",onInit:"onInit",onInitNgModel:"onInitNgModel",onLoadContent:"onLoadContent",onNodeChange:"onNodeChange",onPostProcess:"onPostProcess",onPostRender:"onPostRender",onPreInit:"onPreInit",onPreProcess:"onPreProcess",onProgressState:"onProgressState",onRedo:"onRedo",onRemove:"onRemove",onReset:"onReset",onResizeEditor:"onResizeEditor",onSaveContent:"onSaveContent",onSetAttrib:"onSetAttrib",onObjectResizeStart:"onObjectResizeStart",onObjectResized:"onObjectResized",onObjectSelected:"onObjectSelected",onSetContent:"onSetContent",onShow:"onShow",onSubmit:"onSubmit",onUndo:"onUndo",onVisualAid:"onVisualAid"}}),$})();const A=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onResizeEditor","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],I=($,le,ee)=>(0,a.w)($,le).pipe((0,u.a)(ee)),T=($,le)=>"string"==typeof $?$.split(",").map(ee=>ee.trim()):Array.isArray($)?$:le;let P=0;const N=$=>typeof $<"u"&&"textarea"===$.tagName.toLowerCase(),O=$=>typeof $>"u"||""===$?[]:Array.isArray($)?$:$.split(" "),H=($,le)=>O($).concat(O(le)),G=()=>{},te=$=>null==$,K=(()=>{let $={script$:null};return{load:(we,ye)=>$.script$||($.script$=(0,l.Q)(()=>{const Oe=we.createElement("script");return Oe.referrerPolicy="origin",Oe.type="application/javascript",Oe.src=ye,we.head.appendChild(Oe),(0,a.w)(Oe,"load").pipe((0,c.U)(1),(0,g.e)(void 0))}).pipe(function y($,le,ee){let we,ye=!1;return $&&"object"==typeof $?({bufferSize:we=1/0,windowTime:le=1/0,refCount:ye=!1,scheduler:ee}=$):we=$??1/0,function _($={}){const{connector:le=(()=>new e.E),resetOnError:ee=!0,resetOnComplete:we=!0,resetOnRefCountZero:ye=!0}=$;return Oe=>{let ve,_e,Pe,Ze=0,ot=!1,tt=!1;const mt=()=>{_e?.unsubscribe(),_e=void 0},Qe=()=>{mt(),ve=Pe=void 0,ot=tt=!1},Ct=()=>{const Xe=ve;Qe(),Xe?.unsubscribe()};return(0,C.i)((Xe,nt)=>{Ze++,!tt&&!ot&&mt();const Pt=Pe=Pe??le();nt.add(()=>{Ze--,0===Ze&&!tt&&!ot&&(_e=f(Ct,ye))}),Pt.subscribe(nt),!ve&&Ze>0&&(ve=new S.ot({next:tn=>Pt.next(tn),error:tn=>{tt=!0,mt(),_e=f(Qe,ee,tn),Pt.error(tn)},complete:()=>{ot=!0,mt(),_e=f(Qe,we),Pt.complete()}}),(0,p.Uv)(Xe).subscribe(ve))})(Oe)}}({connector:()=>new v.o(we,le,ee),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ye})}({bufferSize:1,refCount:!0}))),reinitialize:()=>{$={script$:null}}}})(),Z=new n.InjectionToken("TINYMCE_SCRIPT_SRC"),re={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>J),multi:!0};let J=(()=>{class $ extends M{constructor(ee,we,ye,Oe){super(),this.platformId=ye,this.tinymceScriptSrc=Oe,this.cloudChannel="6",this.apiKey="no-api-key",this.id="",this.modelEvents="change input undo redo",this.onTouchedCallback=G,this.destroy$=new e.E,this.initialise=()=>{const ve={...this.init,selector:void 0,target:this._element,inline:this.inline,readonly:this.disabled,plugins:H(this.init&&this.init.plugins,this.plugins),toolbar:this.toolbar||this.init&&this.init.toolbar,setup:_e=>{this._editor=_e,I(_e,"init",this.destroy$).subscribe(()=>{this.initEditor(_e)}),(($,le,ee)=>{($=>{const le=T($.ignoreEvents,[]);return T($.allowedEvents,A).filter(we=>A.includes(we)&&!le.includes(we))})($).forEach(ye=>{const Oe=$[ye];I(le,ye.substring(2),ee).subscribe(ve=>{Oe.observers.length>0&&$.ngZone.run(()=>Oe.emit({event:ve,editor:le}))})})})(this,_e,this.destroy$),this.init&&"function"==typeof this.init.setup&&this.init.setup(_e)}};N(this._element)&&(this._element.style.visibility=""),this.ngZone.runOutsideAngular(()=>{E().init(ve)})},this._elementRef=ee,this.ngZone=we}set disabled(ee){this._disabled=ee,this._editor&&this._editor.initialized&&("function"==typeof this._editor.mode?.set?this._editor.mode.set(ee?"readonly":"design"):this._editor.setMode(ee?"readonly":"design"))}get disabled(){return this._disabled}get editor(){return this._editor}writeValue(ee){this._editor&&this._editor.initialized?this._editor.setContent(te(ee)?"":ee):this.initialValue=null===ee?void 0:ee}registerOnChange(ee){this.onChangeCallback=ee}registerOnTouched(ee){this.onTouchedCallback=ee}setDisabledState(ee){this.disabled=ee}ngAfterViewInit(){(0,i.isPlatformBrowser)(this.platformId)&&(this.id=this.id||($=>{const ee=(new Date).getTime(),we=Math.floor(1e9*Math.random());return P++,"tiny-angular_"+we+P+String(ee)})(),this.inline=void 0!==this.inline?!1!==this.inline:!!this.init?.inline,this.createElement(),null!==E()?this.initialise():this._element&&this._element.ownerDocument&&K.load(this._element.ownerDocument,this.getScriptSrc()).pipe((0,u.a)(this.destroy$)).subscribe(this.initialise))}ngOnDestroy(){this.destroy$.next(),null!==E()&&E().remove(this._editor)}createElement(){this._element=document.createElement(this.inline?"string"==typeof this.tagName?this.tagName:"div":"textarea"),this._element&&(document.getElementById(this.id)&&console.warn(`TinyMCE-Angular: an element with id [${this.id}] already exists. Editors with duplicate Id will not be able to mount`),this._element.id=this.id,N(this._element)&&(this._element.style.visibility="hidden"),this._elementRef.nativeElement.appendChild(this._element))}getScriptSrc(){return te(this.tinymceScriptSrc)?`https://cdn.tiny.cloud/1/${this.apiKey}/tinymce/${this.cloudChannel}/tinymce.min.js`:this.tinymceScriptSrc}initEditor(ee){I(ee,"blur",this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.onTouchedCallback())}),I(ee,this.modelEvents,this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.emitOnChange(ee))}),"string"==typeof this.initialValue&&this.ngZone.run(()=>{ee.setContent(this.initialValue),ee.getContent()!==this.initialValue&&this.emitOnChange(ee),void 0!==this.onInitNgModel&&this.onInitNgModel.emit(ee)})}emitOnChange(ee){this.onChangeCallback&&this.onChangeCallback(ee.getContent({format:this.outputFormat}))}}return $.\u0275fac=function(ee){return new(ee||$)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.PLATFORM_ID),n.\u0275\u0275directiveInject(Z,8))},$.\u0275cmp=n.\u0275\u0275defineComponent({type:$,selectors:[["editor"]],inputs:{cloudChannel:"cloudChannel",apiKey:"apiKey",init:"init",id:"id",initialValue:"initialValue",outputFormat:"outputFormat",inline:"inline",tagName:"tagName",plugins:"plugins",toolbar:"toolbar",modelEvents:"modelEvents",allowedEvents:"allowedEvents",ignoreEvents:"ignoreEvents",disabled:"disabled"},standalone:!0,features:[n.\u0275\u0275ProvidersFeature([re]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(ee,we){1&ee&&n.\u0275\u0275template(0,b,0,0,"ng-template")},dependencies:[i.CommonModule,d.FormsModule],styles:["[_nghost-%COMP%]{display:block}"]}),$})(),Y=(()=>{class ${}return $.\u0275fac=function(ee){return new(ee||$)},$.\u0275mod=n.\u0275\u0275defineNgModule({type:$}),$.\u0275inj=n.\u0275\u0275defineInjector({imports:[J]}),$})()},17964:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{add:()=>ye,after:()=>$e,ary:()=>wr,assign:()=>Is,assignIn:()=>Vr,assignInWith:()=>al,assignWith:()=>Bd,at:()=>Fy,attempt:()=>nh,before:()=>Qg,bind:()=>pl,bindAll:()=>jy,bindKey:()=>dc,camelCase:()=>Cl,capitalize:()=>uh,castArray:()=>Eb,ceil:()=>wb,chain:()=>gm,chunk:()=>yc,clamp:()=>LD,clone:()=>Rh,cloneDeep:()=>Fh,cloneDeepWith:()=>Wm,cloneWith:()=>d0,commit:()=>Nh,compact:()=>f0,concat:()=>Ms,cond:()=>O0,conforms:()=>ap,conformsTo:()=>Ic,constant:()=>Jr,countBy:()=>j0,create:()=>up,curry:()=>Il,curryRight:()=>Ju,debounce:()=>fp,deburr:()=>Ta,default:()=>vP,defaultTo:()=>gp,defaults:()=>zs,defaultsDeep:()=>vp,defer:()=>yp,delay:()=>mA,difference:()=>Z0,differenceBy:()=>xc,differenceWith:()=>X0,divide:()=>J0,drop:()=>eC,dropRight:()=>Sp,dropRightWhile:()=>Oo,dropWhile:()=>tf,each:()=>rd,eachRight:()=>id,endsWith:()=>Pl,entries:()=>na,entriesIn:()=>Ap,eq:()=>oo,escape:()=>af,escapeRegExp:()=>hC,every:()=>mC,extend:()=>Vr,extendWith:()=>al,fill:()=>cf,filter:()=>CC,find:()=>EC,findIndex:()=>ld,findKey:()=>kp,findLast:()=>AC,findLastIndex:()=>df,findLastKey:()=>IC,first:()=>cd,flatMap:()=>xC,flatMapDeep:()=>LC,flatMapDepth:()=>Np,flatten:()=>Xd,flattenDeep:()=>RC,flattenDepth:()=>jp,flip:()=>jC,floor:()=>Fc,flow:()=>HC,flowRight:()=>Bp,forEach:()=>rd,forEachRight:()=>id,forIn:()=>YC,forInRight:()=>zC,forOwn:()=>Up,forOwnRight:()=>ff,fromPairs:()=>Hp,functions:()=>gf,functionsIn:()=>$C,get:()=>Tu,groupBy:()=>GC,gt:()=>Yp,gte:()=>nT,has:()=>eS,hasIn:()=>zh,head:()=>cd,identity:()=>gt,inRange:()=>nS,includes:()=>Za,indexOf:()=>oS,initial:()=>Wp,intersection:()=>Po,intersectionBy:()=>xl,intersectionWith:()=>Uc,invert:()=>pd,invertBy:()=>uS,invoke:()=>hS,invokeMap:()=>Df,isArguments:()=>ss,isArray:()=>K,isArrayBuffer:()=>Af,isArrayLike:()=>Zt,isArrayLikeObject:()=>Io,isBoolean:()=>qp,isBuffer:()=>Jo,isDate:()=>_S,isElement:()=>vS,isEmpty:()=>Tf,isEqual:()=>t_,isEqualWith:()=>n_,isError:()=>th,isFinite:()=>r_,isFunction:()=>zt,isInteger:()=>If,isLength:()=>Re,isMap:()=>Uu,isMatch:()=>i_,isMatchWith:()=>o_,isNaN:()=>s_,isNative:()=>a_,isNil:()=>Yc,isNull:()=>Ll,isNumber:()=>Pf,isObject:()=>mt,isObjectLike:()=>T,isPlainObject:()=>Aa,isRegExp:()=>Fa,isSafeInteger:()=>Nl,isSet:()=>Zb,isString:()=>hd,isSymbol:()=>N,isTypedArray:()=>de,isUndefined:()=>jl,isWeakMap:()=>xf,isWeakSet:()=>Of,iteratee:()=>Lf,join:()=>RS,kebabCase:()=>Ff,keyBy:()=>Nf,keys:()=>to,keysIn:()=>ps,last:()=>ks,lastIndexOf:()=>FS,lodash:()=>dt,lowerCase:()=>jS,lowerFirst:()=>p_,lt:()=>US,lte:()=>v_,map:()=>Rc,mapKeys:()=>VS,mapValues:()=>y_,matches:()=>CT,matchesProperty:()=>jf,max:()=>E_,maxBy:()=>$s,mean:()=>$S,meanBy:()=>Zc,memoize:()=>Ly,merge:()=>w_,mergeWith:()=>_p,method:()=>GS,methodOf:()=>D_,min:()=>QS,minBy:()=>A_,mixin:()=>Hf,multiply:()=>T_,negate:()=>Ul,next:()=>Yf,noop:()=>Ae,now:()=>Pc,nth:()=>x_,nthArg:()=>O_,omit:()=>vd,omitBy:()=>Gf,once:()=>cE,orderBy:()=>Qf,over:()=>hE,overArgs:()=>qa,overEvery:()=>yd,overSome:()=>ws,pad:()=>Sd,padEnd:()=>EE,padStart:()=>ru,parseInt:()=>wE,partial:()=>qf,partialRight:()=>iu,partition:()=>G_,pick:()=>K_,pickBy:()=>Jc,plant:()=>Ed,property:()=>x0,propertyOf:()=>Q_,pull:()=>PE,pullAll:()=>J_,pullAllBy:()=>kE,pullAllWith:()=>xE,pullAt:()=>eg,random:()=>_I,range:()=>tg,rangeRight:()=>ng,rearg:()=>rg,reduce:()=>dv,reduceRight:()=>hv,reject:()=>fv,remove:()=>gv,repeat:()=>mv,replace:()=>pv,rest:()=>_v,result:()=>ig,reverse:()=>ou,round:()=>og,sample:()=>sg,sampleSize:()=>lg,set:()=>cg,setWith:()=>ug,shuffle:()=>eM,size:()=>Rv,slice:()=>Fv,snakeCase:()=>Nv,some:()=>Bv,sortBy:()=>Uv,sortedIndex:()=>aM,sortedIndexBy:()=>Hv,sortedIndexOf:()=>Vv,sortedLastIndex:()=>Yv,sortedLastIndexBy:()=>zv,sortedLastIndexOf:()=>Wv,sortedUniq:()=>$v,sortedUniqBy:()=>Gv,split:()=>vM,spread:()=>Kv,startCase:()=>Qv,startsWith:()=>lu,stubArray:()=>Sm,stubFalse:()=>Ks,stubObject:()=>Zv,stubString:()=>ys,stubTrue:()=>MM,subtract:()=>wM,sum:()=>uu,sumBy:()=>fg,tail:()=>Xv,take:()=>Jv,takeRight:()=>gg,takeRightWhile:()=>PM,takeWhile:()=>pg,tap:()=>qv,template:()=>ry,templateSettings:()=>Ad,throttle:()=>$M,thru:()=>du,times:()=>KM,toArray:()=>Vf,toFinite:()=>qt,toInteger:()=>Ue,toIterator:()=>oy,toJSON:()=>zl,toLength:()=>ad,toLower:()=>ZM,toNumber:()=>hn,toPairs:()=>na,toPairsIn:()=>Ap,toPath:()=>XM,toPlainObject:()=>V0,toSafeInteger:()=>ew,toString:()=>Si,toUpper:()=>tw,transform:()=>nw,trim:()=>ow,trimEnd:()=>sw,trimStart:()=>lw,truncate:()=>JI,unary:()=>ay,unescape:()=>dy,union:()=>fy,unionBy:()=>ja,unionWith:()=>kd,uniq:()=>yg,uniqBy:()=>vw,uniqWith:()=>bw,uniqueId:()=>Ew,unset:()=>gy,unzip:()=>xd,unzipWith:()=>my,update:()=>Dw,updateWith:()=>Cg,upperCase:()=>Ba,upperFirst:()=>rm,value:()=>zl,valueOf:()=>zl,values:()=>vs,valuesIn:()=>vy,without:()=>yy,words:()=>hm,wrap:()=>Od,wrapperAt:()=>Pw,wrapperChain:()=>xw,wrapperCommit:()=>Nh,wrapperLodash:()=>dt,wrapperNext:()=>Yf,wrapperPlant:()=>Ed,wrapperReverse:()=>Ow,wrapperToIterator:()=>oy,wrapperValue:()=>zl,xor:()=>Rw,xorBy:()=>Fw,xorWith:()=>Eg,zip:()=>Nw,zipObject:()=>Cy,zipObjectDeep:()=>Mg,zipWith:()=>wg});const i="object"==typeof global&&global&&global.Object===Object&&global;var d="object"==typeof self&&self&&self.Object===Object&&self;const l=i||d||Function("return this")(),u=l.Symbol;var c=Object.prototype,g=c.hasOwnProperty,v=c.toString,p=u?u.toStringTag:void 0;var f=Object.prototype.toString;var A=u?u.toStringTag:void 0;const F=function I(w){return null==w?void 0===w?"[object Undefined]":"[object Null]":A&&A in Object(w)?function S(w){var k=g.call(w,p),Q=w[p];try{w[p]=void 0;var Me=!0}catch{}var Ge=v.call(w);return Me&&(k?w[p]=Q:delete w[p]),Ge}(w):function y(w){return f.call(w)}(w)},T=function j(w){return null!=w&&"object"==typeof w},N=function x(w){return"symbol"==typeof w||T(w)&&"[object Symbol]"==F(w)},G=function H(w){return"number"==typeof w?w:N(w)?NaN:+w},ue=function te(w,k){for(var Q=-1,Me=null==w?0:w.length,Ge=Array(Me);++Q0){if(++k>=800)return arguments[0]}else k=0;return w.apply(void 0,arguments)}},Fn=Ir(en);var ti=/\{\n\/\* \[wrapped with (.+)\] \*/,Zr=/,? & /;var hr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;const Jr=function go(w){return function(){return w}};var zi=function(){try{var w=Sr(Object,"defineProperty");return w({},"",{}),w}catch{}}();const qi=zi;var ro=qi?function(w,k){return qi(w,"toString",{configurable:!0,enumerable:!1,value:Jr(k),writable:!0})}:gt;const _i=Ir(ro),qr=function xi(w,k){for(var Q=-1,Me=null==w?0:w.length;++Q-1};var bs=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];const Ki=function rs(w,k,Q){var Me=k+"";return _i(w,function Yi(w,k){var Q=k.length;if(!Q)return w;var Me=Q-1;return k[Me]=(Q>1?"& ":"")+k[Me],k=k.join(Q>2?", ":" "),w.replace(hr,"{\n/* [wrapped with "+k+"] */\n")}(Me,function Go(w,k){return qr(bs,function(Q){var Me="_."+Q[0];k&Q[1]&&!Gr(w,Me)&&w.push(Me)}),w.sort()}(function Xr(w){var k=w.match(ti);return k?k[1].split(Zr):[]}(Me),Q)))},hs=function Ko(w,k,Q,Me,Ge,bt,Ft,Kt,sn,xn){var On=8&k;k|=On?32:64,4&(k&=~(On?64:32))||(k&=-4);var gi=[w,k,Ge,On?bt:void 0,On?Ft:void 0,On?void 0:bt,On?void 0:Ft,Kt,sn,xn],jr=Q.apply(void 0,gi);return vi(w)&&Fn(jr,gi),jr.placeholder=Me,Ki(jr,w,k)},Ye=function Qo(w){return w.placeholder};var Ie=/^(?:0|[1-9]\d*)$/;const Ot=function ft(w,k){var Q=typeof w;return!!(k=k??9007199254740991)&&("number"==Q||"symbol"!=Q&&Ie.test(w))&&w>-1&&w%1==0&&w1&&Ei.reverse(),On&&sn-1&&w%1==0&&w<=9007199254740991},Zt=function Mt(w){return null!=w&&Re(w.length)&&!zt(w)},Pn=function an(w,k,Q){if(!mt(Q))return!1;var Me=typeof k;return!!("number"==Me?Zt(Q)&&Ot(k,Q.length):"string"==Me&&k in Q)&&oo(Q[k],w)},yr=function gr(w){return X(function(k,Q){var Me=-1,Ge=Q.length,bt=Ge>1?Q[Ge-1]:void 0,Ft=Ge>2?Q[2]:void 0;for(bt=w.length>3&&"function"==typeof bt?(Ge--,bt):void 0,Ft&&Pn(Q[0],Q[1],Ft)&&(bt=Ge<3?void 0:bt,Ge=1),k=Object(k);++Me-1},ma.prototype.set=function Rg(w,k){var Q=this.__data__,Me=fi(Q,w);return Me<0?(++this.size,Q.push([w,k])):Q[Me][1]=k,this};const dl=ma,hl=Sr(l,"Map"),wu=function Mu(w,k){var Q=w.__data__;return function yP(w){var k=typeof w;return"string"==k||"number"==k||"symbol"==k||"boolean"==k?"__proto__"!==w:null===w}(k)?Q["string"==typeof k?"string":"hash"]:Q.map};function fl(w){var k=-1,Q=null==w?0:w.length;for(this.clear();++k0&&Q(Kt)?k>1?Iu(Kt,k-1,Q,Me,Ge):Ps(Ge,Kt):Me||(Ge[Ge.length]=Kt)}return Ge},Xd=function zg(w){return null!=w&&w.length?ds(w,1):[]},za=function Jd(w){return _i(jt(w,void 0,Xd),w+"")},Fy=za(Kd),Pu=ln(Object.getPrototypeOf,Object);var qd=Function.prototype.toString,eh=Object.prototype.hasOwnProperty,tD=qd.call(Object);const Aa=function Gg(w){if(!T(w)||"[object Object]"!=F(w))return!1;var k=Pu(w);if(null===k)return!0;var Q=eh.call(k,"constructor")&&k.constructor;return"function"==typeof Q&&Q instanceof Q&&qd.call(Q)==tD},th=function Kg(w){if(!T(w))return!1;var k=F(w);return"[object Error]"==k||"[object DOMException]"==k||"string"==typeof w.message&&"string"==typeof w.name&&!Aa(w)};var nD=X(function(w,k){try{return dn(w,void 0,k)}catch(Q){return th(Q)?Q:new Error(Q)}});const nh=nD,Qg=function rD(w,k){var Q;if("function"!=typeof k)throw new TypeError("Expected a function");return w=Ue(w),function(){return--w>0&&(Q=k.apply(this,arguments)),w<=1&&(k=void 0),Q}};var Xg=X(function(w,k,Q){var Me=1;if(Q.length){var Ge=ho(Q,Ye(Xg));Me|=32}return Ti(w,Me,k,Q,Ge)});Xg.placeholder={};const pl=Xg;var _l=za(function(w,k){return qr(k,function(Q){Q=Ss(Q),Ii(w,Q,pl(w[Q],w))}),w});const jy=_l;var rh=X(function(w,k,Q){var Me=3;if(Q.length){var Ge=ho(Q,Ye(rh));Me|=32}return Ti(k,Me,w,Q,Ge)});rh.placeholder={};const dc=rh,Vs=function sD(w,k,Q){var Me=-1,Ge=w.length;k<0&&(k=-k>Ge?0:Ge+k),(Q=Q>Ge?Ge:Q)<0&&(Q+=Ge),Ge=k>Q?0:Q-k>>>0,k>>>=0;for(var bt=Array(Ge);++Me=Me?w:Vs(w,k,Q)};var Yy=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const hc=function cD(w){return Yy.test(w)};var $y="\\ud800-\\udfff",sh="["+$y+"]",fc="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ku="\\ud83c[\\udffb-\\udfff]",tm="[^"+$y+"]",Ky="(?:\\ud83c[\\udde6-\\uddff]){2}",vl="[\\ud800-\\udbff][\\udc00-\\udfff]",Qy="(?:"+fc+"|"+ku+")?",ah="[\\ufe0e\\ufe0f]?",fD=ah+Qy+"(?:\\u200d(?:"+[tm,Ky,vl].join("|")+")"+ah+Qy+")*",gD="(?:"+[tm+fc+"?",fc,Ky,vl,sh].join("|")+")",bP=RegExp(ku+"(?="+ku+")|"+gD+fD,"g");const qs=function Ou(w){return hc(w)?function CP(w){return w.match(bP)||[]}(w):function zy(w){return w.split("")}(w)},lh=function Lu(w){return function(k){k=Si(k);var Q=hc(k)?qs(k):void 0,Me=Q?Q[0]:k.charAt(0),Ge=Q?Wa(Q,1).join(""):k.slice(1);return Me[w]()+Ge}},rm=lh("toUpperCase"),uh=function Zy(w){return rm(Si(w).toLowerCase())},Ys=function mD(w,k,Q,Me){var Ge=-1,bt=null==w?0:w.length;for(Me&&bt&&(Q=w[++Ge]);++Ge=k?w:k)),w},LD=function Ab(w,k,Q){return void 0===Q&&(Q=k,k=void 0),void 0!==Q&&(Q=(Q=hn(Q))==Q?Q:0),void 0!==k&&(k=(k=hn(k))==k?k:0),$a(hn(w),k,Q)};function Sl(w){var k=this.__data__=new dl(w);this.size=k.size}Sl.prototype.clear=function EP(){this.__data__=new dl,this.size=0},Sl.prototype.delete=function mm(w){var k=this.__data__,Q=k.delete(w);return this.size=k.size,Q},Sl.prototype.get=function wP(w){return this.__data__.get(w)},Sl.prototype.has=function Tb(w){return this.__data__.has(w)},Sl.prototype.set=function ND(w,k){var Q=this.__data__;if(Q instanceof dl){var Me=Q.__data__;if(!hl||Me.length<199)return Me.push([w,k]),this.size=++Q.size,this;Q=this.__data__=new ac(Me)}return Q.set(w,k),this.size=Q.size,this};const ka=Sl,bh=function Ib(w,k){return w&&ce(k,to(k),w)};var _m="object"==typeof exports&&exports&&!exports.nodeType&&exports,vm=_m&&"object"==typeof module&&module&&!module.nodeType&&module,Ch=vm&&vm.exports===_m?l.Buffer:void 0,bm=Ch?Ch.allocUnsafe:void 0;const Cm=function Pb(w,k){if(k)return w.slice();var Q=w.length,Me=bm?bm(Q):new w.constructor(Q);return w.copy(Me),Me},xa=function UD(w,k){for(var Q=-1,Me=null==w?0:w.length,Ge=0,bt=[];++QKt))return!1;var xn=bt.get(w),On=bt.get(k);if(xn&&On)return xn==k&&On==w;var Bn=-1,ir=!0,Ar=2&Q?new Bh:void 0;for(bt.set(w,k),bt.set(k,w);++Bn=k||ia<0||Bn&&Ho-xn>=bt}function bi(){var Ho=Pc();if(jr(Ho))return Ei(Ho);Kt=setTimeout(bi,function gi(Ho){var Ag=k-(Ho-sn);return Bn?qu(Ag,bt-(Ho-xn)):Ag}(Ho))}function Ei(Ho){return Kt=void 0,ir&&Me?Ar(Ho):(Me=Ge=void 0,Ft)}function Bs(){var Ho=Pc(),ia=jr(Ho);if(Me=arguments,Ge=this,sn=Ho,ia){if(void 0===Kt)return function Yr(Ho){return xn=Ho,Kt=setTimeout(bi,k),On?Ar(Ho):Ft}(sn);if(Bn)return clearTimeout(Kt),Kt=setTimeout(bi,k),Ar(sn)}return void 0===Kt&&(Kt=setTimeout(bi,k)),Ft}return k=hn(k)||0,mt(Q)&&(On=!!Q.leading,bt=(Bn="maxWait"in Q)?oA(hn(Q.maxWait)||0,k):bt,ir="trailing"in Q?!!Q.trailing:ir),Bs.cancel=function Gs(){void 0!==Kt&&clearTimeout(Kt),xn=0,Me=sn=Ge=Kt=void 0},Bs.flush=function As(){return void 0===Kt?Ft:Ei(Pc())},Bs},gp=function sA(w,k){return null==w||w!=w?k:w};var ed=Object.prototype,mp=ed.hasOwnProperty,U0=X(function(w,k){w=Object(w);var Q=-1,Me=k.length,Ge=Me>2?k[2]:void 0;for(Ge&&Pn(k[0],k[1],Ge)&&(Me=1);++Q=200&&(bt=Vu,Ft=!1,k=new Bh(k));e:for(;++Ge=0&&w.slice(Q,Ge)==k},sd=function DA(w){return function(k){var Q=_a(k);return"[object Map]"==Q?Km(k):"[object Set]"==Q?function of(w){var k=-1,Q=Array(w.size);return w.forEach(function(Me){Q[++k]=[Me,Me]}),Q}(k):function Dp(w,k){return ue(k,function(Q){return[Q,w[Q]]})}(k,w(k))}},na=sd(to),Ap=sd(ps),cC=gc({"&":"&","<":"<",">":">",'"':""","'":"'"});var uC=/[&<>"']/g,AA=RegExp(uC.source);const af=function Lc(w){return(w=Si(w))&&AA.test(w)?w.replace(uC,cC):w};var dC=/[\\^$.*+?()[\]{}|]/g,TA=RegExp(dC.source);const hC=function IA(w){return(w=Si(w))&&TA.test(w)?w.replace(dC,"\\$&"):w},fC=function PA(w,k){for(var Q=-1,Me=null==w?0:w.length;++QGe?0:Ge+Q),(Me=void 0===Me||Me>Ge?Ge:Ue(Me))<0&&(Me+=Ge),Me=Q>Me?0:ad(Me);Q-1?Ge[bt?k[Ft]:Ft]:void 0}};var Ip=Math.max;const ld=function SC(w,k,Q){var Me=null==w?0:w.length;if(!Me)return-1;var Ge=null==Q?0:Ue(Q);return Ge<0&&(Ge=Ip(Me+Ge,0)),yo(w,li(k),Ge)},EC=uf(ld),MC=function RA(w,k,Q){var Me;return Q(w,function(Ge,bt,Ft){if(k(Ge,bt,Ft))return Me=bt,!1}),Me},kp=function FA(w,k){return MC(w,li(k),ya)};var xp=Math.max,Op=Math.min;const df=function wC(w,k,Q){var Me=null==w?0:w.length;if(!Me)return-1;var Ge=Me-1;return void 0!==Q&&(Ge=Ue(Q),Ge=Q<0?xp(Me+Ge,0):Op(Ge,Me-1)),yo(w,li(k),Ge,!0)},AC=uf(df),IC=function TC(w,k){return MC(w,li(k),nf)},cd=function Lp(w){return w&&w.length?w[0]:void 0},Fp=function Rp(w,k){var Q=-1,Me=Zt(w)?Array(w.length):[];return ta(w,function(Ge,bt,Ft){Me[++Q]=k(Ge,bt,Ft)}),Me},Rc=function PC(w,k){return(K(w)?ue:Fp)(w,li(k))},xC=function kC(w,k){return ds(Rc(w,k),1)},LC=function NA(w,k){return ds(Rc(w,k),1/0)},Np=function jA(w,k,Q){return Q=void 0===Q?1:Ue(Q),ds(Rc(w,k),Q)},RC=function UA(w){return null!=w&&w.length?ds(w,1/0):[]},jp=function FC(w,k){return null!=w&&w.length?(k=void 0===k?1:Ue(k),ds(w,k)):[]},jC=function HA(w){return Ti(w,512)},Fc=fm("floor"),jc=function Nc(w){return za(function(k){var Q=k.length,Me=Q,Ge=Cn.prototype.thru;for(w&&k.reverse();Me--;){var bt=k[Me];if("function"!=typeof bt)throw new TypeError("Expected a function");if(Ge&&!Ft&&"wrapper"==mn(bt))var Ft=new Cn([],!0)}for(Me=Ft?Me:Q;++Mek},dd=function KC(w){return function(k,Q){return"string"==typeof k&&"string"==typeof Q||(k=hn(k),Q=hn(Q)),w(k,Q)}},Yp=dd(Vp);var tT=dd(function(w,k){return w>=k});const nT=tT;var XC=Object.prototype.hasOwnProperty;const JC=function kl(w,k){return null!=w&&XC.call(w,k)},eS=function qC(w,k){return null!=w&&Tl(w,k,JC)};var pf=Math.max,_f=Math.min;const nS=function zp(w,k,Q){return k=qt(k),void 0===Q?(Q=k,k=0):Q=qt(Q),function rT(w,k,Q){return w>=_f(k,Q)&&w-1:!!Ge&&bo(w,k,Q)>-1};var yf=Math.max;const oS=function Ws(w,k,Q){var Me=null==w?0:w.length;if(!Me)return-1;var Ge=null==Q?0:Ue(Q);return Ge<0&&(Ge=yf(Me+Ge,0)),bo(w,k,Ge)},Wp=function Bc(w){return null!=w&&w.length?Vs(w,0,-1):[]};var sS=Math.min;const $p=function oT(w,k,Q){for(var Me=Q?nd:Gr,Ge=w[0].length,bt=w.length,Ft=bt,Kt=Array(bt),sn=1/0,xn=[];Ft--;){var On=w[Ft];Ft&&k&&(On=ue(On,ni(k))),sn=sS(On.length,sn),Kt[Ft]=!Q&&(k||Ge>=120&&On.length>=120)?new Bh(Ft&&On):void 0}On=w[0];var Bn=-1,ir=Kt[0];e:for(;++Bn=-Fl&&w<=Fl},jl=function Gc(w){return void 0===w},xf=function c_(w){return T(w)&&"[object WeakMap]"==_a(w)},Of=function d_(w){return T(w)&&"[object WeakSet]"==F(w)},Lf=function f_(w){return li("function"==typeof w?w:ea(w,1))};var Rf=Array.prototype.join;const RS=function Ja(w,k){return null==w?"":Rf.call(w,k)};var mT=vc(function(w,k,Q){return w+(Q?"-":"")+k.toLowerCase()});const Ff=mT;var Bl=Zh(function(w,k,Q){Ii(w,Q,k)});const Nf=Bl;var VP=Math.max,YP=Math.min;const FS=function _T(w,k,Q){var Me=null==w?0:w.length;if(!Me)return-1;var Ge=Me;return void 0!==Q&&(Ge=(Ge=Ue(Q))<0?VP(Me+Ge,0):YP(Ge,Me-1)),k==k?function pT(w,k,Q){for(var Me=Q+1;Me--;)if(w[Me]===k)return Me;return Me}(w,k,Ge):yo(w,yi,Ge,!0)};var NS=vc(function(w,k,Q){return w+(Q?" ":"")+k.toLowerCase()});const jS=NS,p_=lh("toLowerCase"),__=function vT(w,k){return w=this.__values__.length;return{done:w,value:w?void 0:this.__values__[this.__index__++]}},oE=function iE(w,k){var Q=w.length;if(Q)return Ot(k+=k<0?Q:0,Q)?w[k]:void 0},x_=function sE(w,k){return w&&w.length?oE(w,Ue(k)):void 0},O_=function TT(w){return w=Ue(w),X(function(k){return oE(k,w)})},zf=function IT(w,k){return k=Ls(k,w),null==(w=Qp(w,k))||delete w[Ss(ks(k))]},PT=function L_(w){return Aa(w)?void 0:w};var Wf=za(function(w,k){var Q={};if(null==w)return Q;var Me=!1;k=ue(k,function(bt){return bt=Ls(bt,w),Me||(Me=bt.length>1),bt}),ce(w,Nu(w),Q),Me&&(Q=ea(Q,7,PT));for(var Ge=k.length;Ge--;)zf(Q,k[Ge]);return Q});const vd=Wf,Xc=function F_(w,k,Q,Me){if(!mt(w))return w;for(var Ge=-1,bt=(k=Ls(k,w)).length,Ft=bt-1,Kt=w;null!=Kt&&++Gek||bt&&Ft&&sn&&!Kt&&!xn||Me&&Ft&&sn||!Q&&sn||!Ge)return 1;if(!Me&&!bt&&!xn&&w=Kt?sn:sn*("desc"==Q[Me]?-1:1)}return w.index-k.index}(bt,Ft,Q)})},Qf=function jT(w,k,Q,Me){return null==w?[]:(K(k)||(k=null==k?[]:[k]),K(Q=Me?void 0:Q)||(Q=null==Q?[]:[Q]),Vl(w,k,Q))},Zf=function BT(w){return za(function(k){return k=ue(k,ni(li)),X(function(Q){var Me=this;return w(k,function(Ge){return dn(Ge,Me,Q)})})})},hE=Zf(ue);var HT=Math.min,VT=X(function(w,k){var Q=(k=1==k.length&&K(k[0])?ue(k[0],ni(li)):ue(ds(k,1),ni(li))).length;return X(function(Me){for(var Ge=-1,bt=HT(Me.length,Q);++Ge9007199254740991)return Q;do{k%2&&(Q+=w),(k=j_(k/2))&&(w+=w)}while(k);return Q},mE=k0("length");var B_="\\ud800-\\udfff",QT="["+B_+"]",U_="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",eu="\\ud83c[\\udffb-\\udfff]",H_="[^"+B_+"]",V_="(?:\\ud83c[\\udde6-\\uddff]){2}",_E="[\\ud800-\\udbff][\\udc00-\\udfff]",tu="(?:"+U_+"|"+eu+")?",vE="[\\ufe0e\\ufe0f]?",XT=vE+tu+"(?:\\u200d(?:"+[H_,V_,_E].join("|")+")"+vE+tu+")*",yE="(?:"+[H_+U_+"?",U_,V_,_E,QT].join("|")+")",Y_=RegExp(eu+"(?="+eu+")|"+yE+XT,"g");const nu=function CE(w){return hc(w)?function bE(w){for(var k=Y_.lastIndex=0;Y_.test(w);)++k;return k}(w):mE(w)};var qT=Math.ceil;const z_=function zP(w,k){var Q=(k=void 0===k?" ":$(k)).length;if(Q<2)return Q?Jf(k,w):k;var Me=Jf(k,qT(w/nu(k)));return hc(k)?Wa(qs(Me),0,w).join(""):Me.slice(0,w)};var WP=Math.ceil,$P=Math.floor;const Sd=function SE(w,k,Q){w=Si(w);var Me=(k=Ue(k))?nu(w):0;if(!k||Me>=k)return w;var Ge=(k-Me)/2;return z_($P(Ge),Q)+w+z_(WP(Ge),Q)},EE=function eI(w,k,Q){w=Si(w);var Me=(k=Ue(k))?nu(w):0;return k&&Me-1;)Kt!==w&&TE.call(Kt,sn,1),TE.call(w,sn,1);return w},J_=function IE(w,k){return w&&w.length&&k&&k.length?X_(w,k):w},PE=X(J_),kE=function fI(w,k,Q){return w&&w.length&&k&&k.length?X_(w,k,li(Q)):w},xE=function gI(w,k,Q){return w&&w.length&&k&&k.length?X_(w,k,void 0,Q):w};var q_=Array.prototype.splice;const tv=function ev(w,k){for(var Q=w?k.length:0,Me=Q-1;Q--;){var Ge=k[Q];if(Q==Me||Ge!==bt){var bt=Ge;Ot(Ge)?q_.call(w,Ge,1):zf(w,Ge)}}return w};var OE=za(function(w,k){var Q=null==w?0:w.length,Me=Kd(w,k);return tv(w,ue(k,function(Ge){return Ot(Ge,Q)?+Ge:Ge}).sort(Kf)),Me});const eg=OE;var LE=Math.floor,RE=Math.random;const Md=function nv(w,k){return w+LE(RE()*(k-w+1))};var pI=parseFloat,rv=Math.min,FE=Math.random;const _I=function NE(w,k,Q){if(Q&&"boolean"!=typeof Q&&Pn(w,k,Q)&&(k=Q=void 0),void 0===Q&&("boolean"==typeof k?(Q=k,k=void 0):"boolean"==typeof w&&(Q=w,w=void 0)),void 0===w&&void 0===k?(w=0,k=1):(w=qt(w),void 0===k?(k=w,w=0):k=qt(k)),w>k){var Me=w;w=k,k=Me}if(Q||w%1||k%1){var Ge=FE();return rv(w+Ge*(k-w+pI("1e-"+((Ge+"").length-1))),k)}return Md(w,k)};var jE=Math.ceil,vI=Math.max;const wd=function iv(w){return function(k,Q,Me){return Me&&"number"!=typeof Me&&Pn(k,Q,Me)&&(Q=Me=void 0),k=qt(k),void 0===Q?(Q=k,k=0):Q=qt(Q),function BE(w,k,Q,Me){for(var Ge=-1,bt=vI(jE((k-w)/(Q||1)),0),Ft=Array(bt);bt--;)Ft[Me?bt:++Ge]=w,w+=Q;return Ft}(k,Q,Me=void 0===Me?k1&&Pn(w,k[0],k[1])?k=[]:Q>2&&Pn(k[0],k[1],k[2])&&(k=[k[0]]),Vl(w,ds(k,1),[])});const Uv=rM;var oM=Math.floor,DI=Math.min;const Dd=function AI(w,k,Q,Me){var Ge=0,bt=null==w?0:w.length;if(0===bt)return 0;for(var Ft=(k=Q(k))!=k,Kt=null===k,sn=N(k),xn=void 0===k;Ge>>1,Ft=w[bt];null!==Ft&&!N(Ft)&&(Q?Ft<=k:Ft>>0)?(w=Si(w))&&("string"==typeof k||null!=k&&!Fa(k))&&!(k=$(k))&&hc(w)?Wa(qs(w),0,Q):w.split(k,Q):[]};var XP=Math.max;const Kv=function yM(w,k){if("function"!=typeof w)throw new TypeError("Expected a function");return k=null==k?0:XP(Ue(k),0),X(function(Q){var Me=Q[k],Ge=Wa(Q,0,k);return Me&&Ps(Ge,Me),dn(w,this,Ge)})};var bM=vc(function(w,k,Q){return w+(Q?" ":"")+rm(k)});const Qv=bM,lu=function CM(w,k,Q){return w=Si(w),Q=null==Q?0:$a(Ue(Q),0,w.length),k=$(k),w.slice(Q,Q+k.length)==k},Zv=function SM(){return{}},ys=function EM(){return""},MM=function cu(){return!0};var II=ee(function(w,k){return w-k},0);const wM=II,uu=function JP(w){return w&&w.length?Bf(w,gt):0},fg=function PI(w,k){return w&&w.length?Bf(w,li(k)):0},Xv=function DM(w){var k=null==w?0:w.length;return k?Vs(w,1,k):[]},Jv=function AM(w,k,Q){return w&&w.length?(k=Q||void 0===k?1:Ue(k),Vs(w,0,k<0?0:k)):[]},gg=function TM(w,k,Q){var Me=null==w?0:w.length;return Me?(k=Q||void 0===k?1:Ue(k),Vs(w,(k=Me-k)<0?0:k,Me)):[]},PM=function IM(w,k){return w&&w.length?ef(w,li(k),!1,!0):[]},pg=function mg(w,k){return w&&w.length?ef(w,li(k)):[]},qv=function kI(w,k){return k(w),w};var kM=Object.prototype,ey=kM.hasOwnProperty;const xM=function Yl(w,k,Q,Me){return void 0===w||oo(w,kM[Q])&&!ey.call(Me,Q)?k:w};var OM={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};const LM=function ty(w){return"\\"+OM[w]},RM=/<%=([\s\S]+?)%>/g,Ad={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:RM,variable:"",imports:{_:{escape:af}}};var LI=/\b__p \+= '';/g,BM=/\b(__p \+=) '' \+/g,RI=/(__e\(.*?\)|\b__t\)) \+\n'';/g,UM=/[()=,{}\[\]\/\s]/,HM=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Td=/($^)/,VM=/['\n\r\u2028\u2029\\]/g,YM=Object.prototype.hasOwnProperty;const ry=function zM(w,k,Q){var Me=Ad.imports._.templateSettings||Ad;Q&&Pn(w,k,Q)&&(k=void 0),w=Si(w),k=al({},k,Me,xM);var Kt,sn,Ge=al({},k.imports,Me.imports,xM),bt=to(Ge),Ft=iS(Ge,bt),xn=0,On=k.interpolate||Td,Bn="__p += '",ir=RegExp((k.escape||Td).source+"|"+On.source+"|"+(On===RM?HM:Td).source+"|"+(k.evaluate||Td).source+"|$","g"),Ar=YM.call(k,"sourceURL")?"//# sourceURL="+(k.sourceURL+"").replace(/\s/g," ")+"\n":"";w.replace(ir,function(jr,bi,Ei,Gs,As,Bs){return Ei||(Ei=Gs),Bn+=w.slice(xn,Bs).replace(VM,LM),bi&&(Kt=!0,Bn+="' +\n__e("+bi+") +\n'"),As&&(sn=!0,Bn+="';\n"+As+";\n__p += '"),Ei&&(Bn+="' +\n((__t = ("+Ei+")) == null ? '' : __t) +\n'"),xn=Bs+jr.length,jr}),Bn+="';\n";var Yr=YM.call(k,"variable")&&k.variable;if(Yr){if(UM.test(Yr))throw new Error("Invalid `variable` option passed into `_.template`")}else Bn="with (obj) {\n"+Bn+"\n}\n";Bn=(sn?Bn.replace(LI,""):Bn).replace(BM,"$1").replace(RI,"$1;"),Bn="function("+(Yr||"obj")+") {\n"+(Yr?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Kt?", __e = _.escape":"")+(sn?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Bn+"return __p\n}";var gi=nh(function(){return Function(bt,Ar+"return "+Bn).apply(void 0,Ft)});if(gi.source=Bn,th(gi))throw gi;return gi},$M=function NI(w,k,Q){var Me=!0,Ge=!0;if("function"!=typeof w)throw new TypeError("Expected a function");return mt(Q)&&(Me="leading"in Q?!!Q.leading:Me,Ge="trailing"in Q?!!Q.trailing:Ge),fp(w,k,{leading:Me,maxWait:k,trailing:Ge})},du=function jI(w,k){return k(w)};var iy=4294967295,UI=Math.min;const KM=function GM(w,k){if((w=Ue(w))<1||w>9007199254740991)return[];var Q=iy,Me=UI(w,iy);k=ba(k),w-=iy;for(var Ge=Ri(Me,k);++Q-1;);return Q},iw=function GI(w,k){for(var Q=-1,Me=w.length;++Q-1;);return Q},ow=function KI(w,k,Q){if((w=Si(w))&&(Q||void 0===k))return ot(w);if(!w||!(k=$(k)))return w;var Me=qs(w),Ge=qs(k),bt=iw(Me,Ge),Ft=rw(Me,Ge)+1;return Wa(Me,bt,Ft).join("")},sw=function QI(w,k,Q){if((w=Si(w))&&(Q||void 0===k))return w.slice(0,_e(w)+1);if(!w||!(k=$(k)))return w;var Me=qs(w),Ge=rw(Me,qs(k))+1;return Wa(Me,0,Ge).join("")};var aw=/^\s+/;const lw=function sy(w,k,Q){if((w=Si(w))&&(Q||void 0===k))return w.replace(aw,"");if(!w||!(k=$(k)))return w;var Me=qs(w),Ge=iw(Me,qs(k));return Wa(Me,Ge).join("")};var XI=/\w*$/;const JI=function uw(w,k){var Q=30,Me="...";if(mt(k)){var Ge="separator"in k?k.separator:Ge;Q="length"in k?Ue(k.length):Q,Me="omission"in k?$(k.omission):Me}var bt=(w=Si(w)).length;if(hc(w)){var Ft=qs(w);bt=Ft.length}if(Q>=bt)return w;var Kt=Q-nu(Me);if(Kt<1)return Me;var sn=Ft?Wa(Ft,0,Kt).join(""):w.slice(0,Kt);if(void 0===Ge)return sn+Me;if(Ft&&(Kt+=sn.length-Kt),Fa(Ge)){if(w.slice(Kt).search(Ge)){var xn,On=sn;for(Ge.global||(Ge=RegExp(Ge.source,Si(XI.exec(Ge))+"g")),Ge.lastIndex=0;xn=Ge.exec(On);)var Bn=xn.index;sn=sn.slice(0,void 0===Bn?Kt:Bn)}}else if(w.indexOf($(Ge),Kt)!=Kt){var ir=sn.lastIndexOf(Ge);ir>-1&&(sn=sn.slice(0,ir))}return sn+Me},ay=function qI(w){return wr(w,1)},hw=gc({"&":"&","<":"<",">":">",""":'"',"'":"'"});var ly=/&(?:amp|lt|gt|quot|#39);/g,cy=RegExp(ly.source);const dy=function uy(w){return(w=Si(w))&&cy.test(w)?w.replace(ly,hw):w};var _g=wl&&1/wc(new wl([,-0]))[1]==1/0?function(w){return new wl(w)}:Ae;const hy=_g,Na=function gw(w,k,Q){var Me=-1,Ge=Gr,bt=w.length,Ft=!0,Kt=[],sn=Kt;if(Q)Ft=!1,Ge=nd;else if(bt>=200){var xn=k?null:hy(w);if(xn)return wc(xn);Ft=!1,Ge=Vu,sn=new Bh}else sn=k?[]:Kt;e:for(;++Me1||this.__actions__.length)&&Me instanceof ae&&Ot(Q)?((Me=Me.slice(Q,+Q+(k?1:0))).__actions__.push({func:du,args:[Ge],thisArg:void 0}),new Cn(Me,this.__chain__).thru(function(bt){return k&&!bt.length&&bt.push(void 0),bt})):this.thru(Ge)});const Pw=oP,xw=function kw(){return gm(this)},Ow=function sP(){var w=this.__wrapped__;if(w instanceof ae){var k=w;return this.__actions__.length&&(k=new ae(this)),(k=k.reverse()).__actions__.push({func:du,args:[ou],thisArg:void 0}),new Cn(k,this.__chain__)}return this.thru(ou)},Sg=function aP(w,k,Q){var Me=w.length;if(Me<2)return Me?Na(w[0]):[];for(var Ge=-1,bt=Array(Me);++Ge1?w[k-1]:void 0;return Q="function"==typeof Q?(w.pop(),Q):void 0,my(w,Q)});const wg=uP,mr={chunk:yc,compact:f0,concat:Ms,difference:Z0,differenceBy:xc,differenceWith:X0,drop:eC,dropRight:Sp,dropRightWhile:Oo,dropWhile:tf,fill:cf,findIndex:ld,findLastIndex:df,first:cd,flatten:Xd,flattenDeep:RC,flattenDepth:jp,fromPairs:Hp,head:cd,indexOf:oS,initial:Wp,intersection:Po,intersectionBy:xl,intersectionWith:Uc,join:RS,last:ks,lastIndexOf:FS,nth:x_,pull:PE,pullAll:J_,pullAllBy:kE,pullAllWith:xE,pullAt:eg,remove:gv,reverse:ou,slice:Fv,sortedIndex:aM,sortedIndexBy:Hv,sortedIndexOf:Vv,sortedLastIndex:Yv,sortedLastIndexBy:zv,sortedLastIndexOf:Wv,sortedUniq:$v,sortedUniqBy:Gv,tail:Xv,take:Jv,takeRight:gg,takeRightWhile:PM,takeWhile:pg,union:fy,unionBy:ja,unionWith:kd,uniq:yg,uniqBy:vw,uniqWith:bw,unzip:xd,unzipWith:my,without:yy,xor:Rw,xorBy:Fw,xorWith:Eg,zip:Nw,zipObject:Cy,zipObjectDeep:Mg,zipWith:wg},Ui={countBy:j0,each:rd,eachRight:id,every:mC,filter:CC,find:EC,findLast:AC,flatMap:xC,flatMapDeep:LC,flatMapDepth:Np,forEach:rd,forEachRight:id,groupBy:GC,includes:Za,invokeMap:Df,keyBy:Nf,map:Rc,orderBy:Qf,partition:G_,reduce:dv,reduceRight:hv,reject:fv,sample:sg,sampleSize:lg,shuffle:eM,size:Rv,some:Bv,sortBy:Uv},rk={now:Pc},Uo={after:$e,ary:wr,before:Qg,bind:pl,bindKey:dc,curry:Il,curryRight:Ju,debounce:fp,defer:yp,delay:mA,flip:jC,memoize:Ly,negate:Ul,once:cE,overArgs:qa,partial:qf,partialRight:iu,rearg:rg,rest:_v,spread:Kv,throttle:$M,unary:ay,wrap:Od},Fr={castArray:Eb,clone:Rh,cloneDeep:Fh,cloneDeepWith:Wm,cloneWith:d0,conformsTo:Ic,eq:oo,gt:Yp,gte:nT,isArguments:ss,isArray:K,isArrayBuffer:Af,isArrayLike:Zt,isArrayLikeObject:Io,isBoolean:qp,isBuffer:Jo,isDate:_S,isElement:vS,isEmpty:Tf,isEqual:t_,isEqualWith:n_,isError:th,isFinite:r_,isFunction:zt,isInteger:If,isLength:Re,isMap:Uu,isMatch:i_,isMatchWith:o_,isNaN:s_,isNative:a_,isNil:Yc,isNull:Ll,isNumber:Pf,isObject:mt,isObjectLike:T,isPlainObject:Aa,isRegExp:Fa,isSafeInteger:Nl,isSet:Zb,isString:hd,isSymbol:N,isTypedArray:de,isUndefined:jl,isWeakMap:xf,isWeakSet:Of,lt:US,lte:v_,toArray:Vf,toFinite:qt,toInteger:Ue,toLength:ad,toNumber:hn,toPlainObject:V0,toSafeInteger:ew,toString:Si},Ds={add:ye,ceil:wb,divide:J0,floor:Fc,max:E_,maxBy:$s,mean:$S,meanBy:Zc,min:QS,minBy:A_,multiply:T_,round:og,subtract:wM,sum:uu,sumBy:fg},Ey={clamp:LD,inRange:nS,random:_I},ii={assign:Is,assignIn:Vr,assignInWith:al,assignWith:Bd,at:Fy,create:up,defaults:zs,defaultsDeep:vp,entries:na,entriesIn:Ap,extend:Vr,extendWith:al,findKey:kp,findLastKey:IC,forIn:YC,forInRight:zC,forOwn:Up,forOwnRight:ff,functions:gf,functionsIn:$C,get:Tu,has:eS,hasIn:zh,invert:pd,invertBy:uS,invoke:hS,keys:to,keysIn:ps,mapKeys:VS,mapValues:y_,merge:w_,mergeWith:_p,omit:vd,omitBy:Gf,pick:K_,pickBy:Jc,result:ig,set:cg,setWith:ug,toPairs:na,toPairsIn:Ap,transform:nw,unset:gy,update:Dw,updateWith:Cg,values:vs,valuesIn:vy},ao={at:Pw,chain:gm,commit:Nh,lodash:dt,next:Yf,plant:Ed,reverse:Ow,tap:qv,thru:du,toIterator:oy,toJSON:zl,value:zl,valueOf:zl,wrapperChain:xw},Pi={camelCase:Cl,capitalize:uh,deburr:Ta,endsWith:Pl,escape:af,escapeRegExp:hC,kebabCase:Ff,lowerCase:jS,lowerFirst:p_,pad:Sd,padEnd:EE,padStart:ru,parseInt:wE,repeat:mv,replace:pv,snakeCase:Nv,split:vM,startCase:Qv,startsWith:lu,template:ry,templateSettings:Ad,toLower:ZM,toUpper:tw,trim:ow,trimEnd:sw,trimStart:lw,truncate:JI,unescape:dy,upperCase:Ba,upperFirst:rm,words:hm},Hi={attempt:nh,bindAll:jy,cond:O0,conforms:ap,constant:Jr,defaultTo:gp,flow:HC,flowRight:Bp,identity:gt,iteratee:Lf,matches:CT,matchesProperty:jf,method:GS,methodOf:D_,mixin:Hf,noop:Ae,nthArg:O_,over:hE,overEvery:yd,overSome:ws,property:x0,propertyOf:Q_,range:tg,rangeRight:ng,stubArray:Sm,stubFalse:Ks,stubObject:Zv,stubString:ys,stubTrue:MM,times:KM,toPath:XM,uniqueId:Ew};var ok=Math.max,sk=Math.min;var Hw=Math.min;var Rd=4294967295,Fd=Array.prototype,wy=Object.prototype.hasOwnProperty,pP=u?u.iterator:void 0,ak=Math.max,_P=Math.min,Dy=function(w){return function(k,Q,Me){if(null==Me){var Ge=mt(Q),bt=Ge&&to(Q),Ft=bt&&bt.length&&ud(Q,bt);(Ft?Ft.length:Ge)||(Me=Q,Q=k,k=this)}return w(k,Q,Me)}}(Hf);dt.after=Uo.after,dt.ary=Uo.ary,dt.assign=ii.assign,dt.assignIn=ii.assignIn,dt.assignInWith=ii.assignInWith,dt.assignWith=ii.assignWith,dt.at=ii.at,dt.before=Uo.before,dt.bind=Uo.bind,dt.bindAll=Hi.bindAll,dt.bindKey=Uo.bindKey,dt.castArray=Fr.castArray,dt.chain=ao.chain,dt.chunk=mr.chunk,dt.compact=mr.compact,dt.concat=mr.concat,dt.cond=Hi.cond,dt.conforms=Hi.conforms,dt.constant=Hi.constant,dt.countBy=Ui.countBy,dt.create=ii.create,dt.curry=Uo.curry,dt.curryRight=Uo.curryRight,dt.debounce=Uo.debounce,dt.defaults=ii.defaults,dt.defaultsDeep=ii.defaultsDeep,dt.defer=Uo.defer,dt.delay=Uo.delay,dt.difference=mr.difference,dt.differenceBy=mr.differenceBy,dt.differenceWith=mr.differenceWith,dt.drop=mr.drop,dt.dropRight=mr.dropRight,dt.dropRightWhile=mr.dropRightWhile,dt.dropWhile=mr.dropWhile,dt.fill=mr.fill,dt.filter=Ui.filter,dt.flatMap=Ui.flatMap,dt.flatMapDeep=Ui.flatMapDeep,dt.flatMapDepth=Ui.flatMapDepth,dt.flatten=mr.flatten,dt.flattenDeep=mr.flattenDeep,dt.flattenDepth=mr.flattenDepth,dt.flip=Uo.flip,dt.flow=Hi.flow,dt.flowRight=Hi.flowRight,dt.fromPairs=mr.fromPairs,dt.functions=ii.functions,dt.functionsIn=ii.functionsIn,dt.groupBy=Ui.groupBy,dt.initial=mr.initial,dt.intersection=mr.intersection,dt.intersectionBy=mr.intersectionBy,dt.intersectionWith=mr.intersectionWith,dt.invert=ii.invert,dt.invertBy=ii.invertBy,dt.invokeMap=Ui.invokeMap,dt.iteratee=Hi.iteratee,dt.keyBy=Ui.keyBy,dt.keys=to,dt.keysIn=ii.keysIn,dt.map=Ui.map,dt.mapKeys=ii.mapKeys,dt.mapValues=ii.mapValues,dt.matches=Hi.matches,dt.matchesProperty=Hi.matchesProperty,dt.memoize=Uo.memoize,dt.merge=ii.merge,dt.mergeWith=ii.mergeWith,dt.method=Hi.method,dt.methodOf=Hi.methodOf,dt.mixin=Dy,dt.negate=Ul,dt.nthArg=Hi.nthArg,dt.omit=ii.omit,dt.omitBy=ii.omitBy,dt.once=Uo.once,dt.orderBy=Ui.orderBy,dt.over=Hi.over,dt.overArgs=Uo.overArgs,dt.overEvery=Hi.overEvery,dt.overSome=Hi.overSome,dt.partial=Uo.partial,dt.partialRight=Uo.partialRight,dt.partition=Ui.partition,dt.pick=ii.pick,dt.pickBy=ii.pickBy,dt.property=Hi.property,dt.propertyOf=Hi.propertyOf,dt.pull=mr.pull,dt.pullAll=mr.pullAll,dt.pullAllBy=mr.pullAllBy,dt.pullAllWith=mr.pullAllWith,dt.pullAt=mr.pullAt,dt.range=Hi.range,dt.rangeRight=Hi.rangeRight,dt.rearg=Uo.rearg,dt.reject=Ui.reject,dt.remove=mr.remove,dt.rest=Uo.rest,dt.reverse=mr.reverse,dt.sampleSize=Ui.sampleSize,dt.set=ii.set,dt.setWith=ii.setWith,dt.shuffle=Ui.shuffle,dt.slice=mr.slice,dt.sortBy=Ui.sortBy,dt.sortedUniq=mr.sortedUniq,dt.sortedUniqBy=mr.sortedUniqBy,dt.split=Pi.split,dt.spread=Uo.spread,dt.tail=mr.tail,dt.take=mr.take,dt.takeRight=mr.takeRight,dt.takeRightWhile=mr.takeRightWhile,dt.takeWhile=mr.takeWhile,dt.tap=ao.tap,dt.throttle=Uo.throttle,dt.thru=du,dt.toArray=Fr.toArray,dt.toPairs=ii.toPairs,dt.toPairsIn=ii.toPairsIn,dt.toPath=Hi.toPath,dt.toPlainObject=Fr.toPlainObject,dt.transform=ii.transform,dt.unary=Uo.unary,dt.union=mr.union,dt.unionBy=mr.unionBy,dt.unionWith=mr.unionWith,dt.uniq=mr.uniq,dt.uniqBy=mr.uniqBy,dt.uniqWith=mr.uniqWith,dt.unset=ii.unset,dt.unzip=mr.unzip,dt.unzipWith=mr.unzipWith,dt.update=ii.update,dt.updateWith=ii.updateWith,dt.values=ii.values,dt.valuesIn=ii.valuesIn,dt.without=mr.without,dt.words=Pi.words,dt.wrap=Uo.wrap,dt.xor=mr.xor,dt.xorBy=mr.xorBy,dt.xorWith=mr.xorWith,dt.zip=mr.zip,dt.zipObject=mr.zipObject,dt.zipObjectDeep=mr.zipObjectDeep,dt.zipWith=mr.zipWith,dt.entries=ii.toPairs,dt.entriesIn=ii.toPairsIn,dt.extend=ii.assignIn,dt.extendWith=ii.assignInWith,Dy(dt,dt),dt.add=Ds.add,dt.attempt=Hi.attempt,dt.camelCase=Pi.camelCase,dt.capitalize=Pi.capitalize,dt.ceil=Ds.ceil,dt.clamp=Ey.clamp,dt.clone=Fr.clone,dt.cloneDeep=Fr.cloneDeep,dt.cloneDeepWith=Fr.cloneDeepWith,dt.cloneWith=Fr.cloneWith,dt.conformsTo=Fr.conformsTo,dt.deburr=Pi.deburr,dt.defaultTo=Hi.defaultTo,dt.divide=Ds.divide,dt.endsWith=Pi.endsWith,dt.eq=Fr.eq,dt.escape=Pi.escape,dt.escapeRegExp=Pi.escapeRegExp,dt.every=Ui.every,dt.find=Ui.find,dt.findIndex=mr.findIndex,dt.findKey=ii.findKey,dt.findLast=Ui.findLast,dt.findLastIndex=mr.findLastIndex,dt.findLastKey=ii.findLastKey,dt.floor=Ds.floor,dt.forEach=Ui.forEach,dt.forEachRight=Ui.forEachRight,dt.forIn=ii.forIn,dt.forInRight=ii.forInRight,dt.forOwn=ii.forOwn,dt.forOwnRight=ii.forOwnRight,dt.get=ii.get,dt.gt=Fr.gt,dt.gte=Fr.gte,dt.has=ii.has,dt.hasIn=ii.hasIn,dt.head=mr.head,dt.identity=gt,dt.includes=Ui.includes,dt.indexOf=mr.indexOf,dt.inRange=Ey.inRange,dt.invoke=ii.invoke,dt.isArguments=Fr.isArguments,dt.isArray=K,dt.isArrayBuffer=Fr.isArrayBuffer,dt.isArrayLike=Fr.isArrayLike,dt.isArrayLikeObject=Fr.isArrayLikeObject,dt.isBoolean=Fr.isBoolean,dt.isBuffer=Fr.isBuffer,dt.isDate=Fr.isDate,dt.isElement=Fr.isElement,dt.isEmpty=Fr.isEmpty,dt.isEqual=Fr.isEqual,dt.isEqualWith=Fr.isEqualWith,dt.isError=Fr.isError,dt.isFinite=Fr.isFinite,dt.isFunction=Fr.isFunction,dt.isInteger=Fr.isInteger,dt.isLength=Fr.isLength,dt.isMap=Fr.isMap,dt.isMatch=Fr.isMatch,dt.isMatchWith=Fr.isMatchWith,dt.isNaN=Fr.isNaN,dt.isNative=Fr.isNative,dt.isNil=Fr.isNil,dt.isNull=Fr.isNull,dt.isNumber=Fr.isNumber,dt.isObject=mt,dt.isObjectLike=Fr.isObjectLike,dt.isPlainObject=Fr.isPlainObject,dt.isRegExp=Fr.isRegExp,dt.isSafeInteger=Fr.isSafeInteger,dt.isSet=Fr.isSet,dt.isString=Fr.isString,dt.isSymbol=Fr.isSymbol,dt.isTypedArray=Fr.isTypedArray,dt.isUndefined=Fr.isUndefined,dt.isWeakMap=Fr.isWeakMap,dt.isWeakSet=Fr.isWeakSet,dt.join=mr.join,dt.kebabCase=Pi.kebabCase,dt.last=ks,dt.lastIndexOf=mr.lastIndexOf,dt.lowerCase=Pi.lowerCase,dt.lowerFirst=Pi.lowerFirst,dt.lt=Fr.lt,dt.lte=Fr.lte,dt.max=Ds.max,dt.maxBy=Ds.maxBy,dt.mean=Ds.mean,dt.meanBy=Ds.meanBy,dt.min=Ds.min,dt.minBy=Ds.minBy,dt.stubArray=Hi.stubArray,dt.stubFalse=Hi.stubFalse,dt.stubObject=Hi.stubObject,dt.stubString=Hi.stubString,dt.stubTrue=Hi.stubTrue,dt.multiply=Ds.multiply,dt.nth=mr.nth,dt.noop=Hi.noop,dt.now=rk.now,dt.pad=Pi.pad,dt.padEnd=Pi.padEnd,dt.padStart=Pi.padStart,dt.parseInt=Pi.parseInt,dt.random=Ey.random,dt.reduce=Ui.reduce,dt.reduceRight=Ui.reduceRight,dt.repeat=Pi.repeat,dt.replace=Pi.replace,dt.result=ii.result,dt.round=Ds.round,dt.sample=Ui.sample,dt.size=Ui.size,dt.snakeCase=Pi.snakeCase,dt.some=Ui.some,dt.sortedIndex=mr.sortedIndex,dt.sortedIndexBy=mr.sortedIndexBy,dt.sortedIndexOf=mr.sortedIndexOf,dt.sortedLastIndex=mr.sortedLastIndex,dt.sortedLastIndexBy=mr.sortedLastIndexBy,dt.sortedLastIndexOf=mr.sortedLastIndexOf,dt.startCase=Pi.startCase,dt.startsWith=Pi.startsWith,dt.subtract=Ds.subtract,dt.sum=Ds.sum,dt.sumBy=Ds.sumBy,dt.template=Pi.template,dt.times=Hi.times,dt.toFinite=Fr.toFinite,dt.toInteger=Ue,dt.toLength=Fr.toLength,dt.toLower=Pi.toLower,dt.toNumber=Fr.toNumber,dt.toSafeInteger=Fr.toSafeInteger,dt.toString=Fr.toString,dt.toUpper=Pi.toUpper,dt.trim=Pi.trim,dt.trimEnd=Pi.trimEnd,dt.trimStart=Pi.trimStart,dt.truncate=Pi.truncate,dt.unescape=Pi.unescape,dt.uniqueId=Hi.uniqueId,dt.upperCase=Pi.upperCase,dt.upperFirst=Pi.upperFirst,dt.each=Ui.forEach,dt.eachRight=Ui.forEachRight,dt.first=mr.head,Dy(dt,function(){var w={};return ya(dt,function(k,Q){wy.call(dt.prototype,Q)||(w[Q]=k)}),w}(),{chain:!1}),dt.VERSION="4.17.21",(dt.templateSettings=Pi.templateSettings).imports._=dt,qr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){dt[w].placeholder=dt}),qr(["drop","take"],function(w,k){ae.prototype[w]=function(Q){Q=void 0===Q?1:ak(Ue(Q),0);var Me=this.__filtered__&&!k?new ae(this):this.clone();return Me.__filtered__?Me.__takeCount__=_P(Q,Me.__takeCount__):Me.__views__.push({size:_P(Q,Rd),type:w+(Me.__dir__<0?"Right":"")}),Me},ae.prototype[w+"Right"]=function(Q){return this.reverse()[w](Q).reverse()}}),qr(["filter","map","takeWhile"],function(w,k){var Q=k+1,Me=1==Q||3==Q;ae.prototype[w]=function(Ge){var bt=this.clone();return bt.__iteratees__.push({iteratee:li(Ge),type:Q}),bt.__filtered__=bt.__filtered__||Me,bt}}),qr(["head","last"],function(w,k){var Q="take"+(k?"Right":"");ae.prototype[w]=function(){return this[Q](1).value()[0]}}),qr(["initial","tail"],function(w,k){var Q="drop"+(k?"":"Right");ae.prototype[w]=function(){return this.__filtered__?new ae(this):this[Q](1)}}),ae.prototype.compact=function(){return this.filter(gt)},ae.prototype.find=function(w){return this.filter(w).head()},ae.prototype.findLast=function(w){return this.reverse().find(w)},ae.prototype.invokeMap=X(function(w,k){return"function"==typeof w?new ae(this):this.map(function(Q){return _d(Q,w,k)})}),ae.prototype.reject=function(w){return this.filter(Ul(li(w)))},ae.prototype.slice=function(w,k){w=Ue(w);var Q=this;return Q.__filtered__&&(w>0||k<0)?new ae(Q):(w<0?Q=Q.takeRight(-w):w&&(Q=Q.drop(w)),void 0!==k&&(Q=(k=Ue(k))<0?Q.dropRight(-k):Q.take(k-w)),Q)},ae.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},ae.prototype.toArray=function(){return this.take(Rd)},ya(ae.prototype,function(w,k){var Q=/^(?:filter|find|map|reject)|While$/.test(k),Me=/^(?:head|last)$/.test(k),Ge=dt[Me?"take"+("last"==k?"Right":""):k],bt=Me||/^find/.test(k);Ge&&(dt.prototype[k]=function(){var Ft=this.__wrapped__,Kt=Me?[1]:arguments,sn=Ft instanceof ae,xn=Kt[0],On=sn||K(Ft),Bn=function(bi){var Ei=Ge.apply(dt,Ps([bi],Kt));return Me&&ir?Ei[0]:Ei};On&&Q&&"function"==typeof xn&&1!=xn.length&&(sn=On=!1);var ir=this.__chain__,Yr=bt&&!ir,gi=sn&&!this.__actions__.length;if(!bt&&On){Ft=gi?Ft:new ae(this);var jr=w.apply(Ft,Kt);return jr.__actions__.push({func:du,args:[Bn],thisArg:void 0}),new Cn(jr,ir)}return Yr&&gi?w.apply(this,Kt):(jr=this.thru(Bn),Yr?Me?jr.value()[0]:jr.value():jr)})}),qr(["pop","push","shift","sort","splice","unshift"],function(w){var k=Fd[w],Q=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",Me=/^(?:pop|shift)$/.test(w);dt.prototype[w]=function(){var Ge=arguments;if(Me&&!this.__chain__){var bt=this.value();return k.apply(K(bt)?bt:[],Ge)}return this[Q](function(Ft){return k.apply(K(Ft)?Ft:[],Ge)})}}),ya(ae.prototype,function(w,k){var Q=dt[k];if(Q){var Me=Q.name+"";wy.call(_t,Me)||(_t[Me]=[]),_t[Me].push({name:k,func:Q})}}),_t[Di(void 0,2).name]=[{name:"wrapper",func:void 0}],ae.prototype.clone=function Dg(){var w=new ae(this.__wrapped__);return w.__actions__=Gt(this.__actions__),w.__dir__=this.__dir__,w.__filtered__=this.__filtered__,w.__iteratees__=Gt(this.__iteratees__),w.__takeCount__=this.__takeCount__,w.__views__=Gt(this.__views__),w},ae.prototype.reverse=function ik(){if(this.__filtered__){var w=new ae(this);w.__dir__=-1,w.__filtered__=!0}else(w=this.clone()).__dir__*=-1;return w},ae.prototype.value=function Vw(){var w=this.__wrapped__.value(),k=this.__dir__,Q=K(w),Me=k<0,Ge=Q?w.length:0,bt=function My(w,k,Q){for(var Me=-1,Ge=Q.length;++Me{"use strict";o.r(h),o.d(h,{PdfViewerComponent:()=>G,PdfViewerModule:()=>te,RenderTextMode:()=>H});var n=o(54496),i=o(70800),d=o(95657),a=o(74496),l=o(53616),e=o(46928);class u extends e.wH{constructor(se,K){super()}schedule(se,K=0){return this}}const c={setInterval(ue,se,...K){const{delegate:Z}=c;return Z?.setInterval?Z.setInterval(ue,se,...K):setInterval(ue,se,...K)},clearInterval(ue){const{delegate:se}=c;return(se?.clearInterval||clearInterval)(ue)},delegate:void 0};var g=o(41248),p=o(35960);class S{constructor(se,K=S.now){this.schedulerActionCtor=se,this.now=K}schedule(se,K=0,Z){return new this.schedulerActionCtor(this,se).schedule(Z,K)}}S.now=p.K.now;const _=new class C extends S{constructor(se,K=S.now){super(se,K),this.actions=[],this._active=!1}flush(se){const{actions:K}=this;if(this._active)return void K.push(se);let Z;this._active=!0;do{if(Z=se.execute(se.state,se.delay))break}while(se=K.shift());if(this._active=!1,Z){for(;se=K.shift();)se.unsubscribe();throw Z}}}(class v extends u{constructor(se,K){super(se,K),this.scheduler=se,this.work=K,this.pending=!1}schedule(se,K=0){var Z;if(this.closed)return this;this.state=se;const re=this.id,J=this.scheduler;return null!=re&&(this.id=this.recycleAsyncId(J,re,K)),this.pending=!0,this.delay=K,this.id=null!==(Z=this.id)&&void 0!==Z?Z:this.requestAsyncId(J,this.id,K),this}requestAsyncId(se,K,Z=0){return c.setInterval(se.flush.bind(se,this),Z)}recycleAsyncId(se,K,Z=0){if(null!=Z&&this.delay===Z&&!1===this.pending)return K;null!=K&&c.clearInterval(K)}execute(se,K){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Z=this._execute(se,K);if(Z)return Z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(se,K){let re,Z=!1;try{this.work(se)}catch(J){Z=!0,re=J||new Error("Scheduled action threw falsy error")}if(Z)return this.unsubscribe(),re}unsubscribe(){if(!this.closed){const{id:se,scheduler:K}=this,{actions:Z}=K;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.k)(Z,this),null!=se&&(this.id=this.recycleAsyncId(K,se,null)),this.delay=null,super.unsubscribe()}}});var y=o(95448),b=o(87773),M=o(66684),A=o(35584),I=o.t(A,2),F=o(6472),j=o.t(F,2);const T=["pdfViewerContainer"];function N(ue,se,K){ue[se]=K}function O(){return typeof window>"u"}O()||N(I,"verbosity",A.VerbosityLevel.INFOS);var H=function(ue){return ue[ue.DISABLED=0]="DISABLED",ue[ue.ENABLED=1]="ENABLED",ue[ue.ENHANCED=2]="ENHANCED",ue}(H||{});let G=(()=>{class ue{element;ngZone;static CSS_UNITS=96/72;static BORDER_WIDTH=9;pdfViewerContainer;eventBus;pdfLinkService;pdfFindController;pdfViewer;isVisible=!1;_cMapsUrl=typeof I<"u"?`https://unpkg.com/pdfjs-dist@${A.version}/cmaps/`:null;_imageResourcesPath=typeof I<"u"?`https://unpkg.com/pdfjs-dist@${A.version}/web/images/`:void 0;_renderText=!0;_renderTextMode=H.ENABLED;_stickToPage=!1;_originalSize=!0;_pdf;_page=1;_zoom=1;_zoomScale="page-width";_rotation=0;_showAll=!0;_canAutoResize=!0;_fitToPage=!1;_externalLinkTarget="blank";_showBorders=!1;lastLoaded;_latestScrolledPage;resizeTimeout=null;pageScrollTimeout=null;isInitialized=!1;loadingTask;destroy$=new d.E;afterLoadComplete=new n.EventEmitter;pageRendered=new n.EventEmitter;pageInitialized=new n.EventEmitter;textLayerRendered=new n.EventEmitter;onError=new n.EventEmitter;onProgress=new n.EventEmitter;pageChange=new n.EventEmitter(!0);src;set cMapsUrl(K){this._cMapsUrl=K}set page(K){const Z=K=parseInt(K,10)||1;this._pdf&&(K=this.getValidPageNumber(K)),this._page=K,Z!==K&&this.pageChange.emit(K)}set renderText(K){this._renderText=K}set renderTextMode(K){this._renderTextMode=K}set originalSize(K){this._originalSize=K}set showAll(K){this._showAll=K}set stickToPage(K){this._stickToPage=K}set zoom(K){K<=0||(this._zoom=K)}get zoom(){return this._zoom}set zoomScale(K){this._zoomScale=K}get zoomScale(){return this._zoomScale}set rotation(K){"number"==typeof K&&K%90==0?this._rotation=K:console.warn("Invalid pages rotation angle.")}set externalLinkTarget(K){this._externalLinkTarget=K}set autoresize(K){this._canAutoResize=!!K}set fitToPage(K){this._fitToPage=!!K}set showBorders(K){this._showBorders=!!K}static getLinkTarget(K){switch(K){case"blank":return F.LinkTarget.BLANK;case"none":return F.LinkTarget.NONE;case"self":return F.LinkTarget.SELF;case"parent":return F.LinkTarget.PARENT;case"top":return F.LinkTarget.TOP}return null}constructor(K,Z){if(this.element=K,this.ngZone=Z,O())return;let re;const J=A.version;re=window[`pdfWorkerSrc${J}`]||(window.hasOwnProperty("pdfWorkerSrc")&&"string"==typeof window.pdfWorkerSrc&&window.pdfWorkerSrc?window.pdfWorkerSrc:`https://cdn.jsdelivr.net/npm/pdfjs-dist@${J}/legacy/build/pdf.worker.min.js`),N(A.GlobalWorkerOptions,"workerSrc",re)}ngAfterViewChecked(){if(this.isInitialized)return;const K=this.pdfViewerContainer.nativeElement.offsetParent;!0!==this.isVisible||null!=K?!1===this.isVisible&&null!=K&&(this.isVisible=!0,setTimeout(()=>{this.initialize(),this.ngOnChanges({src:this.src})})):this.isVisible=!1}ngOnInit(){this.initialize(),this.setupResizeListener()}ngOnDestroy(){this.clear(),this.destroy$.next(),this.loadingTask=null}ngOnChanges(K){if(!O()&&this.isVisible)if("src"in K)this.loadPDF();else if(this._pdf){if("renderText"in K?(this.pdfViewer.textLayerMode=this._renderText?this._renderTextMode:H.DISABLED,this.resetPdfDocument()):"showAll"in K&&(this.setupViewer(),this.resetPdfDocument()),"page"in K){const{page:Z}=K;if(Z.currentValue===this._latestScrolledPage)return;this.pdfViewer.scrollPageIntoView({pageNumber:this._page})}this.update()}}updateSize(){(0,a.Q)(this._pdf.getPage(this.pdfViewer.currentPageNumber)).pipe((0,l.a)(this.destroy$)).subscribe({next:K=>{const Z=this._rotation+K.rotate,re=K.getViewport({scale:this._zoom,rotation:Z}).width*ue.CSS_UNITS;let J=this._zoom,Y=!0;if(!this._originalSize||this._fitToPage&&re>this.pdfViewerContainer.nativeElement.clientWidth){const $=K.getViewport({scale:1,rotation:Z});J=this.getScale($.width,$.height),Y=!this._stickToPage}this.pdfViewer._setScale(J,Y)}})}clear(){this.loadingTask&&!this.loadingTask.destroyed&&this.loadingTask.destroy(),this._pdf&&(this._latestScrolledPage=0,this._pdf.destroy(),this._pdf=void 0),this.pdfViewer&&this.pdfViewer.setDocument(null),this.pdfLinkService&&this.pdfLinkService.setDocument(null,null),this.pdfFindController&&this.pdfFindController.setDocument(null)}getPDFLinkServiceConfig(){const K=ue.getLinkTarget(this._externalLinkTarget);return K?{externalLinkTarget:K}:{}}initEventBus(){this.eventBus=function P(ue,se){const K=new ue.EventBus;return function x(ue,se){(0,i.w)(ue,"documentload").pipe((0,l.a)(se)).subscribe(()=>{const K=document.createEvent("CustomEvent");K.initCustomEvent("documentload",!0,!0,{}),window.dispatchEvent(K)}),(0,i.w)(ue,"pagerendered").pipe((0,l.a)(se)).subscribe(({pageNumber:K,cssTransform:Z,source:re})=>{const J=document.createEvent("CustomEvent");J.initCustomEvent("pagerendered",!0,!0,{pageNumber:K,cssTransform:Z}),re.div.dispatchEvent(J)}),(0,i.w)(ue,"textlayerrendered").pipe((0,l.a)(se)).subscribe(({pageNumber:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("textlayerrendered",!0,!0,{pageNumber:K}),Z.textLayerDiv.dispatchEvent(re)}),(0,i.w)(ue,"pagechanging").pipe((0,l.a)(se)).subscribe(({pageNumber:K,source:Z})=>{const re=document.createEvent("UIEvents");re.initEvent("pagechanging",!0,!0),re.pageNumber=K,Z.container.dispatchEvent(re)}),(0,i.w)(ue,"pagesinit").pipe((0,l.a)(se)).subscribe(({source:K})=>{const Z=document.createEvent("CustomEvent");Z.initCustomEvent("pagesinit",!0,!0,null),K.container.dispatchEvent(Z)}),(0,i.w)(ue,"pagesloaded").pipe((0,l.a)(se)).subscribe(({pagesCount:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("pagesloaded",!0,!0,{pagesCount:K}),Z.container.dispatchEvent(re)}),(0,i.w)(ue,"scalechange").pipe((0,l.a)(se)).subscribe(({scale:K,presetValue:Z,source:re})=>{const J=document.createEvent("UIEvents");J.initEvent("scalechange",!0,!0),J.scale=K,J.presetValue=Z,re.container.dispatchEvent(J)}),(0,i.w)(ue,"updateviewarea").pipe((0,l.a)(se)).subscribe(({location:K,source:Z})=>{const re=document.createEvent("UIEvents");re.initEvent("updateviewarea",!0,!0),re.location=K,Z.container.dispatchEvent(re)}),(0,i.w)(ue,"find").pipe((0,l.a)(se)).subscribe(({source:K,type:Z,query:re,phraseSearch:J,caseSensitive:Y,highlightAll:$,findPrevious:le})=>{if(K===window)return;const ee=document.createEvent("CustomEvent");ee.initCustomEvent("find"+Z,!0,!0,{query:re,phraseSearch:J,caseSensitive:Y,highlightAll:$,findPrevious:le}),window.dispatchEvent(ee)}),(0,i.w)(ue,"attachmentsloaded").pipe((0,l.a)(se)).subscribe(({attachmentsCount:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("attachmentsloaded",!0,!0,{attachmentsCount:K}),Z.container.dispatchEvent(re)}),(0,i.w)(ue,"sidebarviewchanged").pipe((0,l.a)(se)).subscribe(({view:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("sidebarviewchanged",!0,!0,{view:K}),Z.outerContainer.dispatchEvent(re)}),(0,i.w)(ue,"pagemode").pipe((0,l.a)(se)).subscribe(({mode:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("pagemode",!0,!0,{mode:K}),Z.pdfViewer.container.dispatchEvent(re)}),(0,i.w)(ue,"namedaction").pipe((0,l.a)(se)).subscribe(({action:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("namedaction",!0,!0,{action:K}),Z.pdfViewer.container.dispatchEvent(re)}),(0,i.w)(ue,"presentationmodechanged").pipe((0,l.a)(se)).subscribe(({active:K,switchInProgress:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("presentationmodechanged",!0,!0,{active:K,switchInProgress:Z}),window.dispatchEvent(re)}),(0,i.w)(ue,"outlineloaded").pipe((0,l.a)(se)).subscribe(({outlineCount:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("outlineloaded",!0,!0,{outlineCount:K}),Z.container.dispatchEvent(re)})}(K,se),K}(j,this.destroy$),(0,i.w)(this.eventBus,"pagerendered").pipe((0,l.a)(this.destroy$)).subscribe(K=>{this.pageRendered.emit(K)}),(0,i.w)(this.eventBus,"pagesinit").pipe((0,l.a)(this.destroy$)).subscribe(K=>{this.pageInitialized.emit(K)}),(0,i.w)(this.eventBus,"pagechanging").pipe((0,l.a)(this.destroy$)).subscribe(({pageNumber:K})=>{this.pageScrollTimeout&&clearTimeout(this.pageScrollTimeout),this.pageScrollTimeout=window.setTimeout(()=>{this._latestScrolledPage=K,this.pageChange.emit(K)},100)}),(0,i.w)(this.eventBus,"textlayerrendered").pipe((0,l.a)(this.destroy$)).subscribe(K=>{this.textLayerRendered.emit(K)})}initPDFServices(){this.pdfLinkService=new F.PDFLinkService({eventBus:this.eventBus,...this.getPDFLinkServiceConfig()}),this.pdfFindController=new F.PDFFindController({eventBus:this.eventBus,linkService:this.pdfLinkService})}getPDFOptions(){return{eventBus:this.eventBus,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfLinkService,textLayerMode:this._renderText?this._renderTextMode:H.DISABLED,findController:this.pdfFindController,l10n:new F.GenericL10n("en"),imageResourcesPath:this._imageResourcesPath}}setupViewer(){N(I,"disableTextLayer",!this._renderText),this.initPDFServices(),this.pdfViewer=this._showAll?new F.PDFViewer(this.getPDFOptions()):new F.PDFSinglePageViewer(this.getPDFOptions()),this.pdfLinkService.setViewer(this.pdfViewer),this.pdfViewer._currentPageNumber=this._page}getValidPageNumber(K){return K<1?1:K>this._pdf.numPages?this._pdf.numPages:K}getDocumentParams(){const K=typeof this.src;if(!this._cMapsUrl)return this.src;const Z={cMapUrl:this._cMapsUrl,cMapPacked:!0,enableXfa:!0};return"string"===K?Z.url=this.src:"object"===K&&(void 0!==this.src.byteLength?Z.data=this.src:Object.assign(Z,this.src)),Z}loadPDF(){if(!this.src)return;if(this.lastLoaded===this.src)return void this.update();this.clear(),this.setupViewer(),this.loadingTask=A.getDocument(this.getDocumentParams()),this.loadingTask.onProgress=Z=>{this.onProgress.emit(Z)};const K=this.src;(0,a.Q)(this.loadingTask.promise).pipe((0,l.a)(this.destroy$)).subscribe({next:Z=>{this._pdf=Z,this.lastLoaded=K,this.afterLoadComplete.emit(Z),this.resetPdfDocument(),this.update()},error:Z=>{this.lastLoaded=null,this.onError.emit(Z)}})}update(){this.page=this._page,this.render()}render(){this._page=this.getValidPageNumber(this._page),(0!==this._rotation||this.pdfViewer.pagesRotation!==this._rotation)&&setTimeout(()=>{this.pdfViewer.pagesRotation=this._rotation}),this._stickToPage&&setTimeout(()=>{this.pdfViewer.currentPageNumber=this._page}),this.updateSize()}getScale(K,Z){const re=this._showBorders?2*ue.BORDER_WIDTH:0,J=this.pdfViewerContainer.nativeElement.clientWidth-re,Y=this.pdfViewerContainer.nativeElement.clientHeight-re;if(0===Y||0===Z||0===J||0===K)return 1;let $=1;switch(this._zoomScale){case"page-fit":$=Math.min(Y/Z,J/K);break;case"page-height":$=Y/Z;break;default:$=J/K}return this._zoom*$/ue.CSS_UNITS}resetPdfDocument(){this.pdfLinkService.setDocument(this._pdf,null),this.pdfFindController.setDocument(this._pdf),this.pdfViewer.setDocument(this._pdf)}initialize(){O()||!this.isVisible||(this.isInitialized=!0,this.initEventBus(),this.setupViewer())}setupResizeListener(){O()||this.ngZone.runOutsideAngular(()=>{(0,i.w)(window,"resize").pipe(function E(ue,se=_){return(0,y.i)((K,Z)=>{let re=null,J=null,Y=null;const $=()=>{if(re){re.unsubscribe(),re=null;const ee=J;J=null,Z.next(ee)}};function le(){const ee=Y+ue,we=se.now();if(we{J=ee,Y=se.now(),re||(re=se.schedule(le,ue),Z.add(re))},()=>{$(),Z.complete()},void 0,()=>{J=re=null}))})}(100),(0,M.I)(()=>this._canAutoResize&&!!this._pdf),(0,l.a)(this.destroy$)).subscribe(()=>{this.updateSize()})})}static \u0275fac=function(Z){return new(Z||ue)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))};static \u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["pdf-viewer"]],viewQuery:function(Z,re){if(1&Z&&n.\u0275\u0275viewQuery(T,5),2&Z){let J;n.\u0275\u0275queryRefresh(J=n.\u0275\u0275loadQuery())&&(re.pdfViewerContainer=J.first)}},inputs:{src:"src",cMapsUrl:[n.\u0275\u0275InputFlags.None,"c-maps-url","cMapsUrl"],page:"page",renderText:[n.\u0275\u0275InputFlags.None,"render-text","renderText"],renderTextMode:[n.\u0275\u0275InputFlags.None,"render-text-mode","renderTextMode"],originalSize:[n.\u0275\u0275InputFlags.None,"original-size","originalSize"],showAll:[n.\u0275\u0275InputFlags.None,"show-all","showAll"],stickToPage:[n.\u0275\u0275InputFlags.None,"stick-to-page","stickToPage"],zoom:"zoom",zoomScale:[n.\u0275\u0275InputFlags.None,"zoom-scale","zoomScale"],rotation:"rotation",externalLinkTarget:[n.\u0275\u0275InputFlags.None,"external-link-target","externalLinkTarget"],autoresize:"autoresize",fitToPage:[n.\u0275\u0275InputFlags.None,"fit-to-page","fitToPage"],showBorders:[n.\u0275\u0275InputFlags.None,"show-borders","showBorders"]},outputs:{afterLoadComplete:"after-load-complete",pageRendered:"page-rendered",pageInitialized:"pages-initialized",textLayerRendered:"text-layer-rendered",onError:"error",onProgress:"on-progress",pageChange:"pageChange"},features:[n.\u0275\u0275NgOnChangesFeature],decls:3,vars:0,consts:[[1,"ng2-pdf-viewer-container"],["pdfViewerContainer",""],[1,"pdfViewer"]],template:function(Z,re){1&Z&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275element(2,"div",2),n.\u0275\u0275elementEnd())},styles:['.ng2-pdf-viewer-container[_ngcontent-%COMP%]{overflow-x:auto;position:absolute;height:100%;width:100%;-webkit-overflow-scrolling:touch}[_nghost-%COMP%]{display:block;position:relative}[_nghost-%COMP%] {--pdfViewer-padding-bottom: 0;--page-margin: 1px auto -8px;--page-border: 9px solid transparent;--spreadHorizontalWrapped-margin-LR: -3.5px;--viewer-container-height: 0;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,");--xfa-unfocused-field-background: var( --annotation-unfocused-field-background );--page-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAA1ElEQVQ4jbWUWw6EIAxFy2NFs/8NzR4UJhpqLsdi5mOmSSMUOfYWqv3S0gMr4XlYH/64gZa/gN3ANYA7KAXALt4ktoQ5MI9YxqaG8bWmsIysMuT6piSQCa4whZThCu8CM4zP9YJaKci9jicPq3NcBWYoPMGUlhG7ivtkB+gVyFY75wXghOvh8t5mto1Mdim6e+MBqH6XsY+YAwjpq3vGF7weTWQptLEDVCZvPTMl5JZZsdh47FHW6qFMyvLYqjcnmdFfY9Xk/KDOlzCusX2mi/ofM7MPkzBcSp4Q1/wAAAAASUVORK5CYII=) 9 9 repeat;--scale-factor: 1;--focus-outline: solid 2px blue;--hover-outline: dashed 2px blue;--freetext-line-height: 1.35;--freetext-padding: 2px;--editorInk-editing-cursor: pointer}@media screen and (forced-colors: active){[_nghost-%COMP%] {--pdfViewer-padding-bottom: 9px;--page-margin: 8px auto -1px;--page-border: 1px solid CanvasText;--page-border-image: none;--spreadHorizontalWrapped-margin-LR: 3.5px}}@media (forced-colors: active){[_nghost-%COMP%] {--focus-outline: solid 3px ButtonText;--hover-outline: dashed 3px ButtonText}}[_nghost-%COMP%] .textLayer{position:absolute;text-align:initial;inset:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}[_nghost-%COMP%] .textLayer span, [_nghost-%COMP%] .textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}[_nghost-%COMP%] .textLayer span.markedContent{top:0;height:0}[_nghost-%COMP%] .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}[_nghost-%COMP%] .textLayer .highlight.appended{position:initial}[_nghost-%COMP%] .textLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .textLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .textLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .textLayer .highlight.selected{background-color:#006400}[_nghost-%COMP%] .textLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%] .textLayer br::selection{background:transparent}[_nghost-%COMP%] .textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}[_nghost-%COMP%] .textLayer .endOfContent.active{top:0}@media (forced-colors: active){[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%] .annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0}[_nghost-%COMP%] .annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0}[_nghost-%COMP%] .annotationLayer .linkAnnotation>a, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>canvas{width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .linkAnnotation>a:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgb(255,255,0);box-shadow:0 2px 10px #ff0}[_nghost-%COMP%] .annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid red}[_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select option{padding:0}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea{resize:none}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input[disabled], [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea[disabled], [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:hover, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:hover, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgb(0,0,0)}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input :focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea :focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select :focus, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox :focus, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;appearance:none}[_nghost-%COMP%] .annotationLayer .popupTriggerArea{height:100%;width:100%}[_nghost-%COMP%] .annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}[_nghost-%COMP%] .annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}[_nghost-%COMP%] .annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .popup h1{display:inline-block}[_nghost-%COMP%] .annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .popupContent{border-top:1px solid rgb(51,51,51);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .highlightAnnotation, [_nghost-%COMP%] .annotationLayer .underlineAnnotation, [_nghost-%COMP%] .annotationLayer .squigglyAnnotation, [_nghost-%COMP%] .annotationLayer .strikeoutAnnotation, [_nghost-%COMP%] .annotationLayer .freeTextAnnotation, [_nghost-%COMP%] .annotationLayer .lineAnnotation svg line, [_nghost-%COMP%] .annotationLayer .squareAnnotation svg rect, [_nghost-%COMP%] .annotationLayer .circleAnnotation svg ellipse, [_nghost-%COMP%] .annotationLayer .polylineAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .polygonAnnotation svg polygon, [_nghost-%COMP%] .annotationLayer .caretAnnotation, [_nghost-%COMP%] .annotationLayer .inkAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .stampAnnotation, [_nghost-%COMP%] .annotationLayer .fileAttachmentAnnotation{cursor:pointer}[_nghost-%COMP%] .annotationLayer section svg{position:absolute;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}[_nghost-%COMP%] .annotationLayer .annotationTextContent span{width:100%;display:inline-block}@media (forced-colors: active){[_nghost-%COMP%] .xfaLayer *:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%] .xfaLayer .highlight{margin:-1px;padding:1px;background-color:#efcbed;border-radius:4px}[_nghost-%COMP%] .xfaLayer .highlight.appended{position:initial}[_nghost-%COMP%] .xfaLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .xfaLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .xfaLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .xfaLayer .highlight.selected{background-color:#cbdfcb}[_nghost-%COMP%] .xfaLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%] .xfaPage{overflow:hidden;position:relative}[_nghost-%COMP%] .xfaContentarea{position:absolute}[_nghost-%COMP%] .xfaPrintOnly{display:none}[_nghost-%COMP%] .xfaLayer{position:absolute;text-align:initial;top:0;left:0;transform-origin:0 0;line-height:1.2}[_nghost-%COMP%] .xfaLayer *{color:inherit;font:inherit;font-style:inherit;font-weight:inherit;font-kerning:inherit;letter-spacing:-.01px;text-align:inherit;text-decoration:inherit;box-sizing:border-box;background-color:transparent;padding:0;margin:0;pointer-events:auto;line-height:inherit}[_nghost-%COMP%] .xfaLayer *:required{outline:1.5px solid red}[_nghost-%COMP%] .xfaLayer div{pointer-events:none}[_nghost-%COMP%] .xfaLayer svg{pointer-events:none}[_nghost-%COMP%] .xfaLayer svg *{pointer-events:none}[_nghost-%COMP%] .xfaLayer a{color:#00f}[_nghost-%COMP%] .xfaRich li{margin-left:3em}[_nghost-%COMP%] .xfaFont{color:#000;font-weight:400;font-kerning:none;font-size:10px;font-style:normal;letter-spacing:0;text-decoration:none;vertical-align:0}[_nghost-%COMP%] .xfaCaption{overflow:hidden;flex:0 0 auto}[_nghost-%COMP%] .xfaCaptionForCheckButton{overflow:hidden;flex:1 1 auto}[_nghost-%COMP%] .xfaLabel{height:100%;width:100%}[_nghost-%COMP%] .xfaLeft{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .xfaRight{display:flex;flex-direction:row-reverse;align-items:center}[_nghost-%COMP%] .xfaLeft>.xfaCaption, [_nghost-%COMP%] .xfaLeft>.xfaCaptionForCheckButton, [_nghost-%COMP%] .xfaRight>.xfaCaption, [_nghost-%COMP%] .xfaRight>.xfaCaptionForCheckButton{max-height:100%}[_nghost-%COMP%] .xfaTop{display:flex;flex-direction:column;align-items:flex-start}[_nghost-%COMP%] .xfaBottom{display:flex;flex-direction:column-reverse;align-items:flex-start}[_nghost-%COMP%] .xfaTop>.xfaCaption, [_nghost-%COMP%] .xfaTop>.xfaCaptionForCheckButton, [_nghost-%COMP%] .xfaBottom>.xfaCaption, [_nghost-%COMP%] .xfaBottom>.xfaCaptionForCheckButton{width:100%}[_nghost-%COMP%] .xfaBorder{background-color:transparent;position:absolute;pointer-events:none}[_nghost-%COMP%] .xfaWrapped{width:100%;height:100%}[_nghost-%COMP%] .xfaTextfield:focus, [_nghost-%COMP%] .xfaSelect:focus{background-image:none;background-color:transparent;outline:auto;outline-offset:-1px}[_nghost-%COMP%] .xfaCheckbox:focus, [_nghost-%COMP%] .xfaRadio:focus{outline:auto}[_nghost-%COMP%] .xfaTextfield, [_nghost-%COMP%] .xfaSelect{height:100%;width:100%;flex:1 1 auto;border:none;resize:none;background-image:var(--xfa-unfocused-field-background)}[_nghost-%COMP%] .xfaTop>.xfaTextfield, [_nghost-%COMP%] .xfaTop>.xfaSelect, [_nghost-%COMP%] .xfaBottom>.xfaTextfield, [_nghost-%COMP%] .xfaBottom>.xfaSelect{flex:0 1 auto}[_nghost-%COMP%] .xfaButton{cursor:pointer;width:100%;height:100%;border:none;text-align:center}[_nghost-%COMP%] .xfaLink{width:100%;height:100%;position:absolute;top:0;left:0}[_nghost-%COMP%] .xfaCheckbox, [_nghost-%COMP%] .xfaRadio{width:100%;height:100%;flex:0 0 auto;border:none}[_nghost-%COMP%] .xfaRich{white-space:pre-wrap;width:100%;height:100%}[_nghost-%COMP%] .xfaImage{object-position:left top;object-fit:contain;width:100%;height:100%}[_nghost-%COMP%] .xfaLrTb, [_nghost-%COMP%] .xfaRlTb, [_nghost-%COMP%] .xfaTb{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%] .xfaLr{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%] .xfaRl{display:flex;flex-direction:row-reverse;align-items:stretch}[_nghost-%COMP%] .xfaTb>div{justify-content:left}[_nghost-%COMP%] .xfaPosition{position:relative}[_nghost-%COMP%] .xfaArea{position:relative}[_nghost-%COMP%] .xfaValignMiddle{display:flex;align-items:center}[_nghost-%COMP%] .xfaTable{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%] .xfaTable .xfaRow{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%] .xfaTable .xfaRlRow{display:flex;flex-direction:row-reverse;align-items:stretch;flex:1}[_nghost-%COMP%] .xfaTable .xfaRlRow>div{flex:1}[_nghost-%COMP%] .xfaNonInteractive input, [_nghost-%COMP%] .xfaNonInteractive textarea, [_nghost-%COMP%] .xfaDisabled input, [_nghost-%COMP%] .xfaDisabled textarea, [_nghost-%COMP%] .xfaReadOnly input, [_nghost-%COMP%] .xfaReadOnly textarea{background:initial}@media print{[_nghost-%COMP%] .xfaTextfield, [_nghost-%COMP%] .xfaSelect{background:transparent}[_nghost-%COMP%] .xfaSelect{-webkit-appearance:none;appearance:none;text-indent:1px;text-overflow:""}}[_nghost-%COMP%] [data-editor-rotation="90"]{transform:rotate(90deg)}[_nghost-%COMP%] [data-editor-rotation="180"]{transform:rotate(180deg)}[_nghost-%COMP%] [data-editor-rotation="270"]{transform:rotate(270deg)}[_nghost-%COMP%] .annotationEditorLayer{background:transparent;position:absolute;top:0;left:0;font-size:calc(100px * var(--scale-factor));transform-origin:0 0}[_nghost-%COMP%] .annotationEditorLayer .selectedEditor{outline:var(--focus-outline);resize:none}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor{position:absolute;background:transparent;border-radius:3px;padding:calc(var(--freetext-padding) * var(--scale-factor));resize:none;width:auto;height:auto;z-index:1;transform-origin:0 0;touch-action:none}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal{background:transparent;border:none;top:0;left:0;overflow:visible;white-space:nowrap;resize:none;font:10px sans-serif;line-height:var(--freetext-line-height)}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .overlay{position:absolute;display:none;background:transparent;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .overlay.enabled{display:block}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal:empty:before{content:attr(default-content);color:gray}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal:focus{outline:none}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.disabled{resize:none}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.disabled.selectedEditor{resize:horizontal}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor), [_nghost-%COMP%] .annotationEditorLayer .inkEditor:hover:not(.selectedEditor){outline:var(--hover-outline)}[_nghost-%COMP%] .annotationEditorLayer .inkEditor{position:absolute;background:transparent;border-radius:3px;overflow:auto;width:100%;height:100%;z-index:1;transform-origin:0 0;cursor:auto}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.editing{resize:none;cursor:var(--editorInk-editing-cursor),pointer}[_nghost-%COMP%] .annotationEditorLayer .inkEditor .inkEditorCanvas{position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none}[_nghost-%COMP%] [data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[_nghost-%COMP%] [data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[_nghost-%COMP%] [data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}[_nghost-%COMP%] .pdfViewer{padding-bottom:var(--pdfViewer-padding-bottom)}[_nghost-%COMP%] .pdfViewer .canvasWrapper{overflow:hidden}[_nghost-%COMP%] .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:var(--page-margin);position:relative;overflow:visible;border:var(--page-border);border-image:var(--page-border-image);background-clip:content-box;background-color:#fff}[_nghost-%COMP%] .pdfViewer .dummyPage{position:relative;width:0;height:var(--viewer-container-height)}[_nghost-%COMP%] .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}[_nghost-%COMP%] .pdfViewer.singlePageView{display:inline-block}[_nghost-%COMP%] .pdfViewer.singlePageView .page{margin:0;border:none}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .pdfViewer.scrollWrapped, [_nghost-%COMP%] .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .spread{white-space:nowrap}[_nghost-%COMP%] .pdfViewer.removePageBorders, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}[_nghost-%COMP%] .spread .page, [_nghost-%COMP%] .spread .dummyPage, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{display:inline-block;vertical-align:middle}[_nghost-%COMP%] .spread .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page{margin-left:var(--spreadHorizontalWrapped-margin-LR);margin-right:var(--spreadHorizontalWrapped-margin-LR)}[_nghost-%COMP%] .pdfViewer.removePageBorders .spread .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}[_nghost-%COMP%] .pdfViewer .page canvas{margin:0;display:block}[_nghost-%COMP%] .pdfViewer .page canvas[hidden]{display:none}[_nghost-%COMP%] .pdfViewer .page .loadingIcon{position:absolute;display:block;inset:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQQAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/ilPcHRpbWl6ZWQgd2l0aCBodHRwczovL2V6Z2lmLmNvbS9vcHRpbWl6ZQAh+QQJBwAQACwAAAAAGAAYAAAFmiAkjiTkOGVaBgjZNGSgkgKjjM8zLoI8iy+BKCdiCX8iBeMAhEEIPRXLxViYUE9CbCQoFAzFhHY3zkaT3oPvBz1zE4UBsr1eWZH4vAowOBwGAHk8AoQLfH6Agm0Ed3qOAXWOIgQKiWyFJQgDgJEpdG+WEACNEFNFmKVlVzJQk6qdkwqBoi1mebJ3ALNGeIZHtGSwNDS1RZKueCEAIfkECQcAEAAsAAAAABgAGAAABZcgJI4kpChlWgYCWRQkEKgjURgjw4zOg9CjVwuiEyEeO6CxkBC9nA+HiuUqLEyoBZI0Mx4SAFFgQCDZuguBoGv6Dtg0gvpqdhxQQDkBzuUr/4A1JwMKP39pc2mDhYCIc4GQYn6QCwCMeY91l0p6dBAEJ0OfcFRimZ91Mwt0alxxAIZyRmuAsKxDLKKvZbM1tJxmvGKRpn8hACH5BAkHABAALAAAAAAYABgAAAWhICSOJGQYZVoGAnkcJBKoI3EAY1GMCtPSosSBINKJBIwGkHdwBGGQA0OhYpEGQxNqkYzNIITBACEKKBaxxNfBeOCO4vMy0Hg8nDHFeCktkKtfNAtoS4UqAicKBj9zBAKPC4iKi4aRkISGmWWBmjUIAIyHkCUEAKCVo2WmREecVqoCgZhgP4NHrGWCj7e3szSpuxAsoVWxnp6cVV4kyZW+KSEAIfkECQcAEAAsAAAAABgAGAAABZkgJI4kBABlWgYEOQykEKgjMSDjcYxG0dKi108nEhQKQN4rCIMkCgbawjWYnSCLY2yGVSgEooBhWqsGGwxc0RtNBgoMhmJ1QgETjANYFeBKyUmBKQQIdT9JDmgPDQ6EhoKJD4sOgpWWgiwChyqEBH5hmptSoSOZgJ4kLKWkYTF7C2SaqaM/hEWygay4mYG8t6uffFuzl1iANCEAIfkECQcAEAAsAAAAABgAGAAABZ0gJI4khCBlmhKkopBCoI6LIozDMAIHO4uuBVBnOiR+I4FrCDwAZsKdQnaCLIwwmRUA8JmioprWUCjcwlwUMnAoG0qL03k2KCS8cC0UjOzDCQKBfHQFDAwFU4CCfgqFhy9+kZJWgzSKSAcPZn+BfQENDw8OljGWJAFeDoZPYTBnC1GdSXqnsoBolSulX2GyP6hgvnG0KrS3NJNhuSQhACH5BAkHABAALAAAAAAYABgAAAWaICSOJCQIZZoupGGQRKCOC0CMijIiwz2LABtQZxoMfjQhxAXszWQ7gOwECRhh0MCJJRJARTUoIHFAgbfI6uBwAJS01J/i4PClVYHvfV8lbLlIBmwFbQt+aGmChG18jXeGT4dICQxlb4g/AQUMDER9XjR6BAdiDQwINDBmkAsPDVh4cX4imw53iLKuaVqAcUsPqEiidkt6j4AzIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiREEGWaBiSCtCoZCMsIAKOg1LEo0KKbaKFQ9EYLoOkFuQlirNxzCQkUW9GZ0hQd4nyDAWr4G/esYSbyZFYZwu3jqiuvr8u8I2BwOAwASXh1e31/doeHC3klWnElfAlTd46MfQUGk2stCVEGBQWSdCciDg5VDAVYKoEiDQ0iBwxGcj9RDw8+qHIzebc2DJJQJK6qiKVyIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiS0LGWaBiRBtCoZCKgoCCMB1DF0sz6cCQDo5W62l28XAyZFpyECBv3lnCbhUqHMIo0Qg4Jbmn1jRCa4iV27TzfXGjEecOFWMN1OdvvfPGUuXSoKBw6EXokrAwcHRVU0UAeEBANAAAmUI1gNDyhjJgUHLW0iDg8FIqOnBQZrDA9TELE2rEYIDw4jta2LMpCrqld/YQpgIQAh+QQJBwAQACwAAAAAGAAYAAAFmyAkjiS0LGWaBiRBkKw6BgIqCsJcyyMe4yJajhcEml5H26o1PN2QQd3uFiv2AADlAgflIbDdZLgkABOJgep5LfWty4p4zeU+w+XsvJWXliEKDwdEBgMKYQ4PDw1qK3EDCCMAiQ5BCV0LCj+FSDQkgCgGBiYHAy2MIgoMghAHqw4HAGsNDEMFBTekdgwKI7aRB2MwkL2rVHoQoWchACH5BAkHABAALAAAAAAYABgAAAWWICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkfbqjU83ZBB3e4WK0qrCxyU55peid0qcUwuixyNx6PhILsAcAJazXYj4lvz2MkLiFsHDAlEcABKZwwMBX8pBgoKQxAIigpBA1sLBj+PSDQkB4uSACYDlTMyBgWDEKVnl2QFBUigN61gBQYjtLV5JZ4jtlR6omMhACH5BAkHABAALAAAAAAYABgAAAWaICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkdbidYanm7I4AjwYDh6saJuJ3JUG1mZi9srPA7EcRimJLrfJYWZUVC8TziXnEG3u/E+cIJaPAFrPQl1aQAIbRAGBZGHJQiMUQKRBkEKbQsAPZaEXQcslSYKmjMyAAdXj34ACkNEiUgDA5t+PAQHn6Ogjkuzry2DNwhuIQAh+QQFBwAQACwAAAAAGAAYAAAFnCAkjiS0LGVaBgBJEGSguo8zCsK4CPIsMg+ECCcKEH0ix6MwhJl4KiOp8UCdmrEbo6EoHpxF8A6aBBZ6vhf5dmAkkGr0CoWs21WGQ2FvsI9xC3l7B311fy93iWGKJQQOhHCAJQB6A3IqcWwJLU90i2FkUiMKlhBELEI6MwgDXRAGhQgAYD6tTqRFAJxpA6mvrqazSKJJhUWMpjlIIQA7) center no-repeat}[_nghost-%COMP%] .pdfViewer .page .loadingIcon.notVisible{background:none}[_nghost-%COMP%] .pdfViewer.enablePermissions .textLayer span{-webkit-user-select:none!important;user-select:none!important;cursor:not-allowed}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer{padding-bottom:0}[_nghost-%COMP%] .pdfPresentationMode .spread{margin:0}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer .page{margin:0 auto;border:2px solid transparent}']})}return ue})(),te=(()=>{class ue{static \u0275fac=function(Z){return new(Z||ue)};static \u0275mod=n.\u0275\u0275defineNgModule({type:ue});static \u0275inj=n.\u0275\u0275defineInjector({})}return ue})()},1528:(pe,h,o)=>{"use strict";function n(d,a,l,e,u,c,g){try{var v=d[c](g),p=v.value}catch(S){return void l(S)}v.done?a(p):Promise.resolve(p).then(e,u)}function i(d){return function(){var a=this,l=arguments;return new Promise(function(e,u){var c=d.apply(a,l);function g(p){n(c,e,u,g,v,"next",p)}function v(p){n(c,e,u,g,v,"throw",p)}g(void 0)})}}o.d(h,{c:()=>i})},81316:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{__addDisposableResource:()=>ue,__assign:()=>d,__asyncDelegator:()=>j,__asyncGenerator:()=>F,__asyncValues:()=>T,__await:()=>I,__awaiter:()=>S,__classPrivateFieldGet:()=>H,__classPrivateFieldIn:()=>te,__classPrivateFieldSet:()=>G,__createBinding:()=>_,__decorate:()=>l,__disposeResources:()=>K,__esDecorate:()=>u,__exportStar:()=>f,__extends:()=>i,__generator:()=>C,__importDefault:()=>O,__importStar:()=>N,__makeTemplateObject:()=>P,__metadata:()=>p,__param:()=>e,__propKey:()=>g,__read:()=>b,__rest:()=>a,__runInitializers:()=>c,__setFunctionName:()=>v,__spread:()=>E,__spreadArray:()=>A,__spreadArrays:()=>M,__values:()=>y,default:()=>Z});var n=function(re,J){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Y,$){Y.__proto__=$}||function(Y,$){for(var le in $)Object.prototype.hasOwnProperty.call($,le)&&(Y[le]=$[le])})(re,J)};function i(re,J){if("function"!=typeof J&&null!==J)throw new TypeError("Class extends value "+String(J)+" is not a constructor or null");function Y(){this.constructor=re}n(re,J),re.prototype=null===J?Object.create(J):(Y.prototype=J.prototype,new Y)}var d=function(){return d=Object.assign||function(J){for(var Y,$=1,le=arguments.length;$=0;ye--)(we=re[ye])&&(ee=(le<3?we(ee):le>3?we(J,Y,ee):we(J,Y))||ee);return le>3&&ee&&Object.defineProperty(J,Y,ee),ee}function e(re,J){return function(Y,$){J(Y,$,re)}}function u(re,J,Y,$,le,ee){function we(Ct){if(void 0!==Ct&&"function"!=typeof Ct)throw new TypeError("Function expected");return Ct}for(var Pe,ye=$.kind,Oe="getter"===ye?"get":"setter"===ye?"set":"value",ve=!J&&re?$.static?re:re.prototype:null,_e=J||(ve?Object.getOwnPropertyDescriptor(ve,$.name):{}),Ze=!1,ot=Y.length-1;ot>=0;ot--){var tt={};for(var mt in $)tt[mt]="access"===mt?{}:$[mt];for(var mt in $.access)tt.access[mt]=$.access[mt];tt.addInitializer=function(Ct){if(Ze)throw new TypeError("Cannot add initializers after decoration has completed");ee.push(we(Ct||null))};var Qe=(0,Y[ot])("accessor"===ye?{get:_e.get,set:_e.set}:_e[Oe],tt);if("accessor"===ye){if(void 0===Qe)continue;if(null===Qe||"object"!=typeof Qe)throw new TypeError("Object expected");(Pe=we(Qe.get))&&(_e.get=Pe),(Pe=we(Qe.set))&&(_e.set=Pe),(Pe=we(Qe.init))&&le.unshift(Pe)}else(Pe=we(Qe))&&("field"===ye?le.unshift(Pe):_e[Oe]=Pe)}ve&&Object.defineProperty(ve,$.name,_e),Ze=!0}function c(re,J,Y){for(var $=arguments.length>2,le=0;le0&&ee[ee.length-1])&&(6===ve[0]||2===ve[0])){Y=0;continue}if(3===ve[0]&&(!ee||ve[1]>ee[0]&&ve[1]=re.length&&(re=void 0),{value:re&&re[$++],done:!re}}};throw new TypeError(J?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(re,J){var Y="function"==typeof Symbol&&re[Symbol.iterator];if(!Y)return re;var le,we,$=Y.call(re),ee=[];try{for(;(void 0===J||J-- >0)&&!(le=$.next()).done;)ee.push(le.value)}catch(ye){we={error:ye}}finally{try{le&&!le.done&&(Y=$.return)&&Y.call($)}finally{if(we)throw we.error}}return ee}function E(){for(var re=[],J=0;J1||ye(Ze,ot)})})}function ye(Ze,ot){try{!function Oe(Ze){Ze.value instanceof I?Promise.resolve(Ze.value.v).then(ve,_e):Pe(ee[0][2],Ze)}($[Ze](ot))}catch(tt){Pe(ee[0][3],tt)}}function ve(Ze){ye("next",Ze)}function _e(Ze){ye("throw",Ze)}function Pe(Ze,ot){Ze(ot),ee.shift(),ee.length&&ye(ee[0][0],ee[0][1])}}function j(re){var J,Y;return J={},$("next"),$("throw",function(le){throw le}),$("return"),J[Symbol.iterator]=function(){return this},J;function $(le,ee){J[le]=re[le]?function(we){return(Y=!Y)?{value:I(re[le](we)),done:!1}:ee?ee(we):we}:ee}}function T(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Y,J=re[Symbol.asyncIterator];return J?J.call(re):(re=y(re),Y={},$("next"),$("throw"),$("return"),Y[Symbol.asyncIterator]=function(){return this},Y);function $(ee){Y[ee]=re[ee]&&function(we){return new Promise(function(ye,Oe){!function le(ee,we,ye,Oe){Promise.resolve(Oe).then(function(ve){ee({value:ve,done:ye})},we)}(ye,Oe,(we=re[ee](we)).done,we.value)})}}}function P(re,J){return Object.defineProperty?Object.defineProperty(re,"raw",{value:J}):re.raw=J,re}var x=Object.create?function(re,J){Object.defineProperty(re,"default",{enumerable:!0,value:J})}:function(re,J){re.default=J};function N(re){if(re&&re.__esModule)return re;var J={};if(null!=re)for(var Y in re)"default"!==Y&&Object.prototype.hasOwnProperty.call(re,Y)&&_(J,re,Y);return x(J,re),J}function O(re){return re&&re.__esModule?re:{default:re}}function H(re,J,Y,$){if("a"===Y&&!$)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof J?re!==J||!$:!J.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===Y?$:"a"===Y?$.call(re):$?$.value:J.get(re)}function G(re,J,Y,$,le){if("m"===$)throw new TypeError("Private method is not writable");if("a"===$&&!le)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof J?re!==J||!le:!J.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===$?le.call(re,Y):le?le.value=Y:J.set(re,Y),Y}function te(re,J){if(null===J||"object"!=typeof J&&"function"!=typeof J)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof re?J===re:re.has(J)}function ue(re,J,Y){if(null!=J){if("object"!=typeof J&&"function"!=typeof J)throw new TypeError("Object expected.");var $;if(Y){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");$=J[Symbol.asyncDispose]}if(void 0===$){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");$=J[Symbol.dispose]}if("function"!=typeof $)throw new TypeError("Object not disposable.");re.stack.push({value:J,dispose:$,async:Y})}else Y&&re.stack.push({async:!0});return J}var se="function"==typeof SuppressedError?SuppressedError:function(re,J,Y){var $=new Error(Y);return $.name="SuppressedError",$.error=re,$.suppressed=J,$};function K(re){function J($){re.error=re.hasError?new se($,re.error,"An error was suppressed during disposal."):$,re.hasError=!0}return function Y(){for(;re.stack.length;){var $=re.stack.pop();try{var le=$.dispose&&$.dispose.call($.value);if($.async)return Promise.resolve(le).then(Y,function(ee){return J(ee),Y()})}catch(ee){J(ee)}}if(re.hasError)throw re.error}()}const Z={__extends:i,__assign:d,__rest:a,__decorate:l,__param:e,__metadata:p,__awaiter:S,__generator:C,__createBinding:_,__exportStar:f,__values:y,__read:b,__spread:E,__spreadArrays:M,__spreadArray:A,__await:I,__asyncGenerator:F,__asyncDelegator:j,__asyncValues:T,__makeTemplateObject:P,__importStar:N,__importDefault:O,__classPrivateFieldGet:H,__classPrivateFieldSet:G,__classPrivateFieldIn:te,__addDisposableResource:ue,__disposeResources:K}}},pe=>{pe(pe.s=27460)}]); \ No newline at end of file diff --git a/www/main.20317c5c29abd2ac.js b/www/main.20317c5c29abd2ac.js deleted file mode 100644 index d1e7643..0000000 --- a/www/main.20317c5c29abd2ac.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1590],{19248:(pe,h,o)=>{"use strict";o.d(h,{c:()=>d,r:()=>p});const d=(P,x)=>{P.componentOnReady?P.componentOnReady().then(N=>x(N)):p(()=>x(P))},p=P=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(P):"function"==typeof requestAnimationFrame?requestAnimationFrame(P):setTimeout(P)},51896:(pe,h,o)=>{"use strict";o.d(h,{L:()=>n,a:()=>i,b:()=>d,c:()=>a,d:()=>l,g:()=>P});const n="ionViewWillEnter",i="ionViewDidEnter",d="ionViewWillLeave",a="ionViewDidLeave",l="ionViewWillUnload",P=x=>x.classList.contains("ion-page")?x:x.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||x},30388:(pe,h,o)=>{"use strict";o.d(h,{c:()=>y});var n=o(14829),i=o(46384);let d;const l=b=>b.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),e=b=>(void 0===d&&(d=void 0===b.style.animationName&&void 0!==b.style.webkitAnimationName?"-webkit-":""),d),u=(b,E,M)=>{const A=E.startsWith("animation")?e(b):"";b.style.setProperty(A+E,M)},c=(b,E)=>{const M=E.startsWith("animation")?e(b):"";b.style.removeProperty(M+E)},p=[],f=(b=[],E)=>{if(void 0!==E){const M=Array.isArray(E)?E:[E];return[...b,...M]}return b},y=b=>{let E,M,A,I,F,j,O,re,J,Y,$,ye,Oe,T=[],P=[],x=[],N=!1,H={},G=[],te=[],ue={},se=0,K=!1,Z=!1,le=!0,ee=!1,we=!0,ve=!1;const _e=b,Pe=[],Ze=[],ot=[],tt=[],mt=[],Qe=[],Ct=[],Xe=[],nt=[],Pt=[],tn=[],hn="function"==typeof AnimationEffect||void 0!==n.w&&"function"==typeof n.w.AnimationEffect,wn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&hn,_n=()=>tn,Te=(Ae,fe)=>{const De=fe.findIndex(rt=>rt.c===Ae);De>-1&&fe.splice(De,1)},je=(Ae,fe)=>((fe?.oneTimeCallback?Ze:Pe).push({c:Ae,o:fe}),Oe),He=()=>{if(wn)tn.forEach(Ae=>{Ae.cancel()}),tn.length=0;else{const Ae=tt.slice();(0,i.r)(()=>{Ae.forEach(fe=>{c(fe,"animation-name"),c(fe,"animation-duration"),c(fe,"animation-timing-function"),c(fe,"animation-iteration-count"),c(fe,"animation-delay"),c(fe,"animation-play-state"),c(fe,"animation-fill-mode"),c(fe,"animation-direction")})})}},vt=()=>{Qe.forEach(Ae=>{Ae?.parentNode&&Ae.parentNode.removeChild(Ae)}),Qe.length=0},nn=()=>void 0!==F?F:O?O.getFill():"both",bn=()=>void 0!==J?J:void 0!==j?j:O?O.getDirection():"normal",Tn=()=>K?"linear":void 0!==A?A:O?O.getEasing():"linear",rn=()=>Z?0:void 0!==Y?Y:void 0!==M?M:O?O.getDuration():0,nr=()=>void 0!==I?I:O?O.getIterations():1,kr=()=>void 0!==$?$:void 0!==E?E:O?O.getDelay():0,jn=()=>{0!==se&&(se--,0===se&&((()=>{Tr(),nt.forEach(_t=>_t()),Pt.forEach(_t=>_t());const Ae=le?1:0,fe=G,De=te,rt=ue;tt.forEach(_t=>{const Tt=_t.classList;fe.forEach(Bt=>Tt.add(Bt)),De.forEach(Bt=>Tt.remove(Bt));for(const Bt in rt)rt.hasOwnProperty(Bt)&&u(_t,Bt,rt[Bt])}),Y=void 0,J=void 0,$=void 0,Pe.forEach(_t=>_t.c(Ae,Oe)),Ze.forEach(_t=>_t.c(Ae,Oe)),Ze.length=0,we=!0,le&&(ee=!0),le=!0})(),O&&O.animationFinish()))},Qn=(Ae=!0)=>{vt();const fe=(b=>(b.forEach(E=>{for(const M in E)if(E.hasOwnProperty(M)){const A=E[M];if("easing"===M)E["animation-timing-function"]=A,delete E[M];else{const I=l(M);I!==M&&(E[I]=A,delete E[M])}}}),b))(T);tt.forEach(De=>{if(fe.length>0){const rt=((b=[])=>b.map(E=>{const M=E.offset,A=[];for(const I in E)E.hasOwnProperty(I)&&"offset"!==I&&A.push(`${I}: ${E[I]};`);return`${100*M}% { ${A.join(" ")} }`}).join(" "))(fe);ye=void 0!==b?b:(b=>{let E=p.indexOf(b);return E<0&&(E=p.push(b)-1),`ion-animation-${E}`})(rt);const _t=((b,E,M)=>{var A;const I=(b=>{const E=void 0!==b.getRootNode?b.getRootNode():b;return E.head||E})(M),F=e(M),j=I.querySelector("#"+b);if(j)return j;const T=(null!==(A=M.ownerDocument)&&void 0!==A?A:document).createElement("style");return T.id=b,T.textContent=`@${F}keyframes ${b} { ${E} } @${F}keyframes ${b}-alt { ${E} }`,I.appendChild(T),T})(ye,rt,De);Qe.push(_t),u(De,"animation-duration",`${rn()}ms`),u(De,"animation-timing-function",Tn()),u(De,"animation-delay",`${kr()}ms`),u(De,"animation-fill-mode",nn()),u(De,"animation-direction",bn());const Tt=nr()===1/0?"infinite":nr().toString();u(De,"animation-iteration-count",Tt),u(De,"animation-play-state","paused"),Ae&&u(De,"animation-name",`${_t.id}-alt`),(0,i.r)(()=>{u(De,"animation-name",_t.id||null)})}})},ui=(Ae=!0)=>{(()=>{Ct.forEach(rt=>rt()),Xe.forEach(rt=>rt());const Ae=P,fe=x,De=H;tt.forEach(rt=>{const _t=rt.classList;Ae.forEach(Tt=>_t.add(Tt)),fe.forEach(Tt=>_t.remove(Tt));for(const Tt in De)De.hasOwnProperty(Tt)&&u(rt,Tt,De[Tt])})})(),T.length>0&&(wn?(tt.forEach(Ae=>{const fe=Ae.animate(T,{id:_e,delay:kr(),duration:rn(),easing:Tn(),iterations:nr(),fill:nn(),direction:bn()});fe.pause(),tn.push(fe)}),tn.length>0&&(tn[0].onfinish=()=>{jn()})):Qn(Ae)),N=!0},Pr=Ae=>{if(Ae=Math.min(Math.max(Ae,0),.9999),wn)tn.forEach(fe=>{fe.currentTime=fe.effect.getComputedTiming().delay+rn()*Ae,fe.pause()});else{const fe=`-${rn()*Ae}ms`;tt.forEach(De=>{T.length>0&&(u(De,"animation-delay",fe),u(De,"animation-play-state","paused"))})}},ct=Ae=>{tn.forEach(fe=>{fe.effect.updateTiming({delay:kr(),duration:rn(),easing:Tn(),iterations:nr(),fill:nn(),direction:bn()})}),void 0!==Ae&&Pr(Ae)},Rt=(Ae=!0,fe)=>{(0,i.r)(()=>{tt.forEach(De=>{u(De,"animation-name",ye||null),u(De,"animation-duration",`${rn()}ms`),u(De,"animation-timing-function",Tn()),u(De,"animation-delay",void 0!==fe?`-${fe*rn()}ms`:`${kr()}ms`),u(De,"animation-fill-mode",nn()||null),u(De,"animation-direction",bn()||null);const rt=nr()===1/0?"infinite":nr().toString();u(De,"animation-iteration-count",rt),Ae&&u(De,"animation-name",`${ye}-alt`),(0,i.r)(()=>{u(De,"animation-name",ye||null)})})})},kt=(Ae=!1,fe=!0,De)=>(Ae&&mt.forEach(rt=>{rt.update(Ae,fe,De)}),wn?ct(De):Rt(fe,De),Oe),En=()=>{N&&(wn?tn.forEach(Ae=>{Ae.pause()}):tt.forEach(Ae=>{u(Ae,"animation-play-state","paused")}),ve=!0)},Yn=()=>{re=void 0,jn()},Tr=()=>{re&&clearTimeout(re)},un=Ae=>new Promise(fe=>{Ae?.sync&&(Z=!0,je(()=>Z=!1,{oneTimeCallback:!0})),N||ui(),ee&&(wn?(Pr(0),ct()):Rt(),ee=!1),we&&(se=mt.length+1,we=!1);const De=()=>{Te(rt,Ze),fe()},rt=()=>{Te(De,ot),fe()};je(rt,{oneTimeCallback:!0}),((Ae,fe)=>{ot.push({c:Ae,o:{oneTimeCallback:!0}})})(De),mt.forEach(_t=>{_t.play()}),wn?(tn.forEach(Ae=>{Ae.play()}),(0===T.length||0===tt.length)&&jn()):(()=>{if(Tr(),(0,i.r)(()=>{tt.forEach(Ae=>{T.length>0&&u(Ae,"animation-play-state","running")})}),0===T.length||0===tt.length)jn();else{const Ae=kr()||0,fe=rn()||0,De=nr()||1;isFinite(De)&&(re=setTimeout(Yn,Ae+fe*De+100)),((b,E)=>{let M;const A={passive:!0},F=j=>{b===j.target&&(M&&M(),Tr(),(0,i.r)(()=>{tt.forEach(Ae=>{c(Ae,"animation-duration"),c(Ae,"animation-delay"),c(Ae,"animation-play-state")}),(0,i.r)(jn)}))};b&&(b.addEventListener("webkitAnimationEnd",F,A),b.addEventListener("animationend",F,A),M=()=>{b.removeEventListener("webkitAnimationEnd",F,A),b.removeEventListener("animationend",F,A)})})(tt[0])}})(),ve=!1}),z=(Ae,fe)=>{const De=T[0];return void 0===De||void 0!==De.offset&&0!==De.offset?T=[{offset:0,[Ae]:fe},...T]:De[Ae]=fe,Oe};return Oe={parentAnimation:O,elements:tt,childAnimations:mt,id:_e,animationFinish:jn,from:z,to:(Ae,fe)=>{const De=T[T.length-1];return void 0===De||void 0!==De.offset&&1!==De.offset?T=[...T,{offset:1,[Ae]:fe}]:De[Ae]=fe,Oe},fromTo:(Ae,fe,De)=>z(Ae,fe).to(Ae,De),parent:Ae=>(O=Ae,Oe),play:un,pause:()=>(mt.forEach(Ae=>{Ae.pause()}),En(),Oe),stop:()=>{mt.forEach(Ae=>{Ae.stop()}),N&&(He(),N=!1),K=!1,Z=!1,we=!0,J=void 0,Y=void 0,$=void 0,se=0,ee=!1,le=!0,ve=!1,ot.forEach(Ae=>Ae.c(0,Oe)),ot.length=0},destroy:Ae=>(mt.forEach(fe=>{fe.destroy(Ae)}),(Ae=>{He(),Ae&&vt()})(Ae),tt.length=0,mt.length=0,T.length=0,Pe.length=0,Ze.length=0,N=!1,we=!0,Oe),keyframes:Ae=>{const fe=T!==Ae;return T=Ae,fe&&(Ae=>{wn?_n().forEach(fe=>{const De=fe.effect;if(De.setKeyframes)De.setKeyframes(Ae);else{const rt=new KeyframeEffect(De.target,Ae,De.getTiming());fe.effect=rt}}):Qn()})(T),Oe},addAnimation:Ae=>{if(null!=Ae)if(Array.isArray(Ae))for(const fe of Ae)fe.parent(Oe),mt.push(fe);else Ae.parent(Oe),mt.push(Ae);return Oe},addElement:Ae=>{if(null!=Ae)if(1===Ae.nodeType)tt.push(Ae);else if(Ae.length>=0)for(let fe=0;fe(F=Ae,kt(!0),Oe),direction:Ae=>(j=Ae,kt(!0),Oe),iterations:Ae=>(I=Ae,kt(!0),Oe),duration:Ae=>(!wn&&0===Ae&&(Ae=1),M=Ae,kt(!0),Oe),easing:Ae=>(A=Ae,kt(!0),Oe),delay:Ae=>(E=Ae,kt(!0),Oe),getWebAnimations:_n,getKeyframes:()=>T,getFill:nn,getDirection:bn,getDelay:kr,getIterations:nr,getEasing:Tn,getDuration:rn,afterAddRead:Ae=>(nt.push(Ae),Oe),afterAddWrite:Ae=>(Pt.push(Ae),Oe),afterClearStyles:(Ae=[])=>{for(const fe of Ae)ue[fe]="";return Oe},afterStyles:(Ae={})=>(ue=Ae,Oe),afterRemoveClass:Ae=>(te=f(te,Ae),Oe),afterAddClass:Ae=>(G=f(G,Ae),Oe),beforeAddRead:Ae=>(Ct.push(Ae),Oe),beforeAddWrite:Ae=>(Xe.push(Ae),Oe),beforeClearStyles:(Ae=[])=>{for(const fe of Ae)H[fe]="";return Oe},beforeStyles:(Ae={})=>(H=Ae,Oe),beforeRemoveClass:Ae=>(x=f(x,Ae),Oe),beforeAddClass:Ae=>(P=f(P,Ae),Oe),onFinish:je,isRunning:()=>0!==se&&!ve,progressStart:(Ae=!1,fe)=>(mt.forEach(De=>{De.progressStart(Ae,fe)}),En(),K=Ae,N||ui(),kt(!1,!0,fe),Oe),progressStep:Ae=>(mt.forEach(fe=>{fe.progressStep(Ae)}),Pr(Ae),Oe),progressEnd:(Ae,fe,De)=>(K=!1,mt.forEach(rt=>{rt.progressEnd(Ae,fe,De)}),void 0!==De&&(Y=De),ee=!1,le=!0,0===Ae?(J="reverse"===bn()?"normal":"reverse","reverse"===J&&(le=!1),wn?(kt(),Pr(1-fe)):($=(1-fe)*rn()*-1,kt(!1,!1))):1===Ae&&(wn?(kt(),Pr(fe)):($=fe*rn()*-1,kt(!1,!1))),void 0!==Ae&&!O&&un(),Oe)}}},59637:(pe,h,o)=>{"use strict";o.d(h,{E:()=>v,I:()=>u,a:()=>n,s:()=>c});const n=p=>{try{if(p instanceof u)return p.value;if(!a()||"string"!=typeof p||""===p)return p;if(p.includes("onload="))return"";const S=document.createDocumentFragment(),C=document.createElement("div");S.appendChild(C),C.innerHTML=p,e.forEach(b=>{const E=S.querySelectorAll(b);for(let M=E.length-1;M>=0;M--){const A=E[M];A.parentNode?A.parentNode.removeChild(A):S.removeChild(A);const I=d(A);for(let F=0;F{if(p.nodeType&&1!==p.nodeType)return;if(typeof NamedNodeMap<"u"&&!(p.attributes instanceof NamedNodeMap))return void p.remove();for(let C=p.attributes.length-1;C>=0;C--){const _=p.attributes.item(C),f=_.name;if(!l.includes(f.toLowerCase())){p.removeAttribute(f);continue}const y=_.value,b=p[f];(null!=y&&y.toLowerCase().includes("javascript:")||null!=b&&b.toLowerCase().includes("javascript:"))&&p.removeAttribute(f)}const S=d(p);for(let C=0;Cnull!=p.children?p.children:p.childNodes,a=()=>{var p;const S=window,C=null===(p=S?.Ionic)||void 0===p?void 0:p.config;return!C||(C.get?C.get("sanitizerEnabled",!0):!0===C.sanitizerEnabled||void 0===C.sanitizerEnabled)},l=["class","id","href","src","name","slot"],e=["script","style","iframe","meta","link","object","embed"];class u{constructor(S){this.value=S}}const c=p=>{const S=window,C=S.Ionic;if(!C||!C.config||"Object"===C.config.constructor.name)return S.Ionic=S.Ionic||{},S.Ionic.config=Object.assign(Object.assign({},S.Ionic.config),p),S.Ionic.config},v=!1},86944:(pe,h,o)=>{"use strict";o.d(h,{g:()=>n});const n=(e,u,c,g,v)=>d(e[1],u[1],c[1],g[1],v).map(p=>i(e[0],u[0],c[0],g[0],p)),i=(e,u,c,g,v)=>v*(3*u*Math.pow(v-1,2)+v*(-3*c*v+3*c+g*v))-e*Math.pow(v-1,3),d=(e,u,c,g,v)=>l((g-=v)-3*(c-=v)+3*(u-=v)-(e-=v),3*c-6*u+3*e,3*u-3*e,e).filter(S=>S>=0&&S<=1),l=(e,u,c,g)=>{if(0===e)return((e,u,c)=>{const g=u*u-4*e*c;return g<0?[]:[(-u+Math.sqrt(g))/(2*e),(-u-Math.sqrt(g))/(2*e)]})(u,c,g);const v=(3*(c/=e)-(u/=e)*u)/3,p=(2*u*u*u-9*u*c+27*(g/=e))/27;if(0===v)return[Math.pow(-p,1/3)];if(0===p)return[Math.sqrt(-v),-Math.sqrt(-v)];const S=Math.pow(p/2,2)+Math.pow(v/3,3);if(0===S)return[Math.pow(p/2,.5)-u/3];if(S>0)return[Math.pow(-p/2+Math.sqrt(S),1/3)-Math.pow(p/2+Math.sqrt(S),1/3)-u/3];const C=Math.sqrt(Math.pow(-v/3,3)),_=Math.acos(-p/(2*Math.sqrt(Math.pow(-v/3,3)))),f=2*Math.pow(C,1/3);return[f*Math.cos(_/3)-u/3,f*Math.cos((_+2*Math.PI)/3)-u/3,f*Math.cos((_+4*Math.PI)/3)-u/3]}},10495:(pe,h,o)=>{"use strict";o.d(h,{C:()=>l,a:()=>d,d:()=>a});var n=o(1528),i=o(46384);const d=function(){var e=(0,n.c)(function*(u,c,g,v,p,S){var C;if(u)return u.attachViewToDom(c,g,p,v);if(!(S||"string"==typeof g||g instanceof HTMLElement))throw new Error("framework delegate is missing");const _="string"==typeof g?null===(C=c.ownerDocument)||void 0===C?void 0:C.createElement(g):g;return v&&v.forEach(f=>_.classList.add(f)),p&&Object.assign(_,p),c.appendChild(_),yield new Promise(f=>(0,i.c)(_,f)),_});return function(c,g,v,p,S,C){return e.apply(this,arguments)}}(),a=(e,u)=>{if(u){if(e)return e.removeViewFromDom(u.parentElement,u);u.remove()}return Promise.resolve()},l=()=>{let e,u;return{attachViewToDom:function(){var v=(0,n.c)(function*(p,S,C={},_=[]){var f,y;let b;if(e=p,S){const M="string"==typeof S?null===(f=e.ownerDocument)||void 0===f?void 0:f.createElement(S):S;_.forEach(A=>M.classList.add(A)),Object.assign(M,C),e.appendChild(M),b=M,yield new Promise(A=>(0,i.c)(M,A))}else if(e.children.length>0&&("ION-MODAL"===e.tagName||"ION-POPOVER"===e.tagName)&&!(b=e.children[0]).classList.contains("ion-delegate-host")){const A=null===(y=e.ownerDocument)||void 0===y?void 0:y.createElement("div");A.classList.add("ion-delegate-host"),_.forEach(I=>A.classList.add(I)),A.append(...e.children),e.appendChild(A),b=A}const E=document.querySelector("ion-app")||document.body;return u=document.createComment("ionic teleport"),e.parentNode.insertBefore(u,e),E.appendChild(e),b??e});return function(S,C){return v.apply(this,arguments)}}(),removeViewFromDom:()=>(e&&u&&(u.parentNode.insertBefore(e,u),u.remove()),Promise.resolve())}}},66560:(pe,h,o)=>{"use strict";o.d(h,{G:()=>l});class i{constructor(u,c,g,v,p){this.id=c,this.name=g,this.disableScroll=p,this.priority=1e6*v+c,this.ctrl=u}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const u=this.ctrl.capture(this.name,this.id,this.priority);return u&&this.disableScroll&&this.ctrl.disableScroll(this.id),u}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class d{constructor(u,c,g,v){this.id=c,this.disable=g,this.disableScroll=v,this.ctrl=u}block(){if(this.ctrl){if(this.disable)for(const u of this.disable)this.ctrl.disableGesture(u,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const u of this.disable)this.ctrl.enableGesture(u,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const a="backdrop-no-scroll",l=new class n{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(u){var c;return new i(this,this.newID(),u.name,null!==(c=u.priority)&&void 0!==c?c:0,!!u.disableScroll)}createBlocker(u={}){return new d(this,this.newID(),u.disable,!!u.disableScroll)}start(u,c,g){return this.canStart(u)?(this.requestedStart.set(c,g),!0):(this.requestedStart.delete(c),!1)}capture(u,c,g){if(!this.start(u,c,g))return!1;const v=this.requestedStart;let p=-1e4;if(v.forEach(S=>{p=Math.max(p,S)}),p===g){this.capturedId=c,v.clear();const S=new CustomEvent("ionGestureCaptured",{detail:{gestureName:u}});return document.dispatchEvent(S),!0}return v.delete(c),!1}release(u){this.requestedStart.delete(u),this.capturedId===u&&(this.capturedId=void 0)}disableGesture(u,c){let g=this.disabledGestures.get(u);void 0===g&&(g=new Set,this.disabledGestures.set(u,g)),g.add(c)}enableGesture(u,c){const g=this.disabledGestures.get(u);void 0!==g&&g.delete(c)}disableScroll(u){this.disabledScroll.add(u),1===this.disabledScroll.size&&document.body.classList.add(a)}enableScroll(u){this.disabledScroll.delete(u),0===this.disabledScroll.size&&document.body.classList.remove(a)}canStart(u){return!(void 0!==this.capturedId||this.isDisabled(u))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(u){const c=this.disabledGestures.get(u);return!!(c&&c.size>0)}newID(){return this.gestureId++,this.gestureId}}},72784:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{MENU_BACK_BUTTON_PRIORITY:()=>g,OVERLAY_BACK_BUTTON_PRIORITY:()=>c,blockHardwareBackButton:()=>e,shoudUseCloseWatcher:()=>l,startHardwareBackButton:()=>u});var n=o(1528),i=o(14829),d=o(88523);o(62992);const l=()=>d.c.get("experimentalCloseWatcher",!1)&&void 0!==i.w&&"CloseWatcher"in i.w,e=()=>{document.addEventListener("backbutton",()=>{})},u=()=>{const v=document;let p=!1;const S=()=>{if(p)return;let C=0,_=[];const f=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(E,M){_.push({priority:E,handler:M,id:C++})}}});v.dispatchEvent(f);const y=function(){var E=(0,n.c)(function*(M){try{if(M?.handler){const A=M.handler(b);null!=A&&(yield A)}}catch(A){console.error(A)}});return function(A){return E.apply(this,arguments)}}(),b=()=>{if(_.length>0){let E={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};_.forEach(M=>{M.priority>=E.priority&&(E=M)}),p=!0,_=_.filter(M=>M.id!==E.id),y(E).then(()=>p=!1)}};b()};if(l()){let C;const _=()=>{C?.destroy(),C=new i.w.CloseWatcher,C.onclose=()=>{S(),_()}};_()}else v.addEventListener("backbutton",S)},c=100,g=99},46384:(pe,h,o)=>{"use strict";o.d(h,{a:()=>c,b:()=>g,c:()=>d,d:()=>y,e:()=>f,f:()=>_,g:()=>v,h:()=>C,i:()=>u,j:()=>F,k:()=>l,l:()=>b,m:()=>a,n:()=>S,o:()=>E,p:()=>I,q:()=>j,r:()=>p,s:()=>T,t:()=>n,u:()=>M,v:()=>A});const n=(P,x=0)=>new Promise(N=>{i(P,x,N)}),i=(P,x=0,N)=>{let O,H;const G={passive:!0},ue=()=>{O&&O()},se=K=>{(void 0===K||P===K.target)&&(ue(),N(K))};return P&&(P.addEventListener("webkitTransitionEnd",se,G),P.addEventListener("transitionend",se,G),H=setTimeout(se,x+500),O=()=>{void 0!==H&&(clearTimeout(H),H=void 0),P.removeEventListener("webkitTransitionEnd",se,G),P.removeEventListener("transitionend",se,G)}),ue},d=(P,x)=>{P.componentOnReady?P.componentOnReady().then(N=>x(N)):p(()=>x(P))},a=P=>void 0!==P.componentOnReady,l=(P,x=[])=>{const N={};return x.forEach(O=>{P.hasAttribute(O)&&(null!==P.getAttribute(O)&&(N[O]=P.getAttribute(O)),P.removeAttribute(O))}),N},e=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],u=(P,x)=>{let N=e;return x&&x.length>0&&(N=N.filter(O=>!x.includes(O))),l(P,N)},c=(P,x,N,O)=>{var H;if(typeof window<"u"){const G=window,te=null===(H=G?.Ionic)||void 0===H?void 0:H.config;if(te){const ue=te.get("_ael");if(ue)return ue(P,x,N,O);if(te._ael)return te._ael(P,x,N,O)}}return P.addEventListener(x,N,O)},g=(P,x,N,O)=>{var H;if(typeof window<"u"){const G=window,te=null===(H=G?.Ionic)||void 0===H?void 0:H.config;if(te){const ue=te.get("_rel");if(ue)return ue(P,x,N,O);if(te._rel)return te._rel(P,x,N,O)}}return P.removeEventListener(x,N,O)},v=(P,x=P)=>P.shadowRoot||x,p=P=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(P):"function"==typeof requestAnimationFrame?requestAnimationFrame(P):setTimeout(P),S=P=>!!P.shadowRoot&&!!P.attachShadow,C=P=>{const x=P.closest("ion-item");return x?x.querySelector("ion-label"):null},_=P=>{if(P.focus(),P.classList.contains("ion-focusable")){const x=P.closest("ion-app");x&&x.setFocus([P])}},f=(P,x)=>{let N;const O=P.getAttribute("aria-labelledby"),H=P.id;let G=null!==O&&""!==O.trim()?O:x+"-lbl",te=null!==O&&""!==O.trim()?document.getElementById(O):C(P);return te?(null===O&&(te.id=G),N=te.textContent,te.setAttribute("aria-hidden","true")):""!==H.trim()&&(te=document.querySelector(`label[for="${H}"]`),te&&(""!==te.id?G=te.id:te.id=G=`${H}-lbl`,N=te.textContent)),{label:te,labelId:G,labelText:N}},y=(P,x,N,O,H)=>{if(P||S(x)){let G=x.querySelector("input.aux-input");G||(G=x.ownerDocument.createElement("input"),G.type="hidden",G.classList.add("aux-input"),x.appendChild(G)),G.disabled=H,G.name=N,G.value=O||""}},b=(P,x,N)=>Math.max(P,Math.min(x,N)),E=(P,x)=>{if(!P){const N="ASSERT: "+x;throw console.error(N),new Error(N)}},M=P=>P.timeStamp||Date.now(),A=P=>{if(P){const x=P.changedTouches;if(x&&x.length>0){const N=x[0];return{x:N.clientX,y:N.clientY}}if(void 0!==P.pageX)return{x:P.pageX,y:P.pageY}}return{x:0,y:0}},I=P=>{const x="rtl"===document.dir;switch(P){case"start":return x;case"end":return!x;default:throw new Error(`"${P}" is not a valid value for [side]. Use "start" or "end" instead.`)}},F=(P,x)=>{const N=P._original||P;return{_original:P,emit:j(N.emit.bind(N),x)}},j=(P,x=0)=>{let N;return(...O)=>{clearTimeout(N),N=setTimeout(P,x,...O)}},T=(P,x)=>{if(P??(P={}),x??(x={}),P===x)return!0;const N=Object.keys(P);if(N.length!==Object.keys(x).length)return!1;for(const O of N)if(!(O in x)||P[O]!==x[O])return!1;return!0}},62528:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{GESTURE_CONTROLLER:()=>n.G,createGesture:()=>g});var n=o(66560);const i=(C,_,f,y)=>{const b=d(C)?{capture:!!y.capture,passive:!!y.passive}:!!y.capture;let E,M;return C.__zone_symbol__addEventListener?(E="__zone_symbol__addEventListener",M="__zone_symbol__removeEventListener"):(E="addEventListener",M="removeEventListener"),C[E](_,f,b),()=>{C[M](_,f,b)}},d=C=>{if(void 0===a)try{const _=Object.defineProperty({},"passive",{get:()=>{a=!0}});C.addEventListener("optsTest",()=>{},_)}catch{a=!1}return!!a};let a;const u=C=>C instanceof Document?C:C.ownerDocument,g=C=>{let _=!1,f=!1,y=!0,b=!1;const E=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},C),M=E.canStart,A=E.onWillStart,I=E.onStart,F=E.onEnd,j=E.notCaptured,T=E.onMove,P=E.threshold,x=E.passive,N=E.blurOnStart,O={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},H=((C,_,f)=>{const y=f*(Math.PI/180),b="x"===C,E=Math.cos(y),M=_*_;let A=0,I=0,F=!1,j=0;return{start(T,P){A=T,I=P,j=0,F=!0},detect(T,P){if(!F)return!1;const x=T-A,N=P-I,O=x*x+N*N;if(OE?1:G<-E?-1:0,F=!1,!0},isGesture:()=>0!==j,getDirection:()=>j}})(E.direction,E.threshold,E.maxAngle),G=n.G.createGesture({name:C.gestureName,priority:C.gesturePriority,disableScroll:C.disableScroll}),se=()=>{_&&(b=!1,T&&T(O))},K=()=>!!G.capture()&&(_=!0,y=!1,O.startX=O.currentX,O.startY=O.currentY,O.startTime=O.currentTime,A?A(O).then(re):re(),!0),re=()=>{N&&(()=>{if(typeof document<"u"){const ee=document.activeElement;ee?.blur&&ee.blur()}})(),I&&I(O),y=!0},J=()=>{_=!1,f=!1,b=!1,y=!0,G.release()},Y=ee=>{const we=_,ye=y;if(J(),ye){if(v(O,ee),we)return void(F&&F(O));j&&j(O)}},$=((C,_,f,y,b)=>{let E,M,A,I,F,j,T,P=0;const x=Z=>{P=Date.now()+2e3,_(Z)&&(!M&&f&&(M=i(C,"touchmove",f,b)),A||(A=i(Z.target,"touchend",O,b)),I||(I=i(Z.target,"touchcancel",O,b)))},N=Z=>{P>Date.now()||_(Z)&&(!j&&f&&(j=i(u(C),"mousemove",f,b)),T||(T=i(u(C),"mouseup",H,b)))},O=Z=>{G(),y&&y(Z)},H=Z=>{te(),y&&y(Z)},G=()=>{M&&M(),A&&A(),I&&I(),M=A=I=void 0},te=()=>{j&&j(),T&&T(),j=T=void 0},ue=()=>{G(),te()},se=(Z=!0)=>{Z?(E||(E=i(C,"touchstart",x,b)),F||(F=i(C,"mousedown",N,b))):(E&&E(),F&&F(),E=F=void 0,ue())};return{enable:se,stop:ue,destroy:()=>{se(!1),y=f=_=void 0}}})(E.el,ee=>{const we=S(ee);return!(f||!y||(p(ee,O),O.startX=O.currentX,O.startY=O.currentY,O.startTime=O.currentTime=we,O.velocityX=O.velocityY=O.deltaX=O.deltaY=0,O.event=ee,M&&!1===M(O))||(G.release(),!G.start()))&&(f=!0,0===P?K():(H.start(O.startX,O.startY),!0))},ee=>{_?!b&&y&&(b=!0,v(O,ee),requestAnimationFrame(se)):(v(O,ee),H.detect(O.currentX,O.currentY)&&(!H.isGesture()||!K())&&le())},Y,{capture:!1,passive:x}),le=()=>{J(),$.stop(),j&&j(O)};return{enable(ee=!0){ee||(_&&Y(void 0),J()),$.enable(ee)},destroy(){G.destroy(),$.destroy()}}},v=(C,_)=>{if(!_)return;const f=C.currentX,y=C.currentY,b=C.currentTime;p(_,C);const E=C.currentX,M=C.currentY,I=(C.currentTime=S(_))-b;if(I>0&&I<100){const j=(M-y)/I;C.velocityX=(E-f)/I*.7+.3*C.velocityX,C.velocityY=.7*j+.3*C.velocityY}C.deltaX=E-C.startX,C.deltaY=M-C.startY,C.event=_},p=(C,_)=>{let f=0,y=0;if(C){const b=C.changedTouches;if(b&&b.length>0){const E=b[0];f=E.clientX,y=E.clientY}else void 0!==C.pageX&&(f=C.pageX,y=C.pageY)}_.currentX=f,_.currentY=y},S=C=>C.timeStamp||Date.now()},76256:(pe,h,o)=>{"use strict";o.d(h,{b:()=>e,c:()=>u,d:()=>c,e:()=>P,g:()=>O,l:()=>j,s:()=>x,t:()=>p,w:()=>T});var n=o(1528),i=o(62992),d=o(46384);const e="ionViewWillLeave",u="ionViewDidLeave",c="ionViewWillUnload",p=H=>new Promise((G,te)=>{(0,i.w)(()=>{S(H),C(H).then(ue=>{ue.animation&&ue.animation.destroy(),_(H),G(ue)},ue=>{_(H),te(ue)})})}),S=H=>{const G=H.enteringEl,te=H.leavingEl;N(G,te,H.direction),H.showGoBack?G.classList.add("can-go-back"):G.classList.remove("can-go-back"),x(G,!1),G.style.setProperty("pointer-events","none"),te&&(x(te,!1),te.style.setProperty("pointer-events","none"))},C=function(){var H=(0,n.c)(function*(G){const te=yield f(G);return te&&i.B.isBrowser?y(te,G):b(G)});return function(te){return H.apply(this,arguments)}}(),_=H=>{const G=H.enteringEl,te=H.leavingEl;G.classList.remove("ion-page-invisible"),G.style.removeProperty("pointer-events"),void 0!==te&&(te.classList.remove("ion-page-invisible"),te.style.removeProperty("pointer-events"))},f=function(){var H=(0,n.c)(function*(G){return G.leavingEl&&G.animated&&0!==G.duration?G.animationBuilder?G.animationBuilder:"ios"===G.mode?(yield Promise.resolve().then(o.bind(o,68512))).iosTransitionAnimation:(yield Promise.resolve().then(o.bind(o,96556))).mdTransitionAnimation:void 0});return function(te){return H.apply(this,arguments)}}(),y=function(){var H=(0,n.c)(function*(G,te){yield E(te,!0);const ue=G(te.baseEl,te);I(te.enteringEl,te.leavingEl);const se=yield A(ue,te);return te.progressCallback&&te.progressCallback(void 0),se&&F(te.enteringEl,te.leavingEl),{hasCompleted:se,animation:ue}});return function(te,ue){return H.apply(this,arguments)}}(),b=function(){var H=(0,n.c)(function*(G){const te=G.enteringEl,ue=G.leavingEl;return yield E(G,!1),I(te,ue),F(te,ue),{hasCompleted:!0}});return function(te){return H.apply(this,arguments)}}(),E=function(){var H=(0,n.c)(function*(G,te){(void 0!==G.deepWait?G.deepWait:te)&&(yield Promise.all([P(G.enteringEl),P(G.leavingEl)])),yield M(G.viewIsReady,G.enteringEl)});return function(te,ue){return H.apply(this,arguments)}}(),M=function(){var H=(0,n.c)(function*(G,te){G&&(yield G(te))});return function(te,ue){return H.apply(this,arguments)}}(),A=(H,G)=>{const te=G.progressCallback,ue=new Promise(se=>{H.onFinish(K=>se(1===K))});return te?(H.progressStart(!0),te(H)):H.play(),ue},I=(H,G)=>{j(G,e),j(H,"ionViewWillEnter")},F=(H,G)=>{j(H,"ionViewDidEnter"),j(G,u)},j=(H,G)=>{if(H){const te=new CustomEvent(G,{bubbles:!1,cancelable:!1});H.dispatchEvent(te)}},T=()=>new Promise(H=>(0,d.r)(()=>(0,d.r)(()=>H()))),P=function(){var H=(0,n.c)(function*(G){const te=G;if(te){if(null!=te.componentOnReady){if(null!=(yield te.componentOnReady()))return}else if(null!=te.__registerHost)return void(yield new Promise(se=>(0,d.r)(se)));yield Promise.all(Array.from(te.children).map(P))}});return function(te){return H.apply(this,arguments)}}(),x=(H,G)=>{G?(H.setAttribute("aria-hidden","true"),H.classList.add("ion-page-hidden")):(H.hidden=!1,H.removeAttribute("aria-hidden"),H.classList.remove("ion-page-hidden"))},N=(H,G,te)=>{void 0!==H&&(H.style.zIndex="back"===te?"99":"101"),void 0!==G&&(G.style.zIndex="100")},O=H=>H.classList.contains("ion-page")?H:H.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||H},62992:(pe,h,o)=>{"use strict";o.d(h,{B:()=>S,H:()=>K,a:()=>Zn,b:()=>Sr,c:()=>ye,d:()=>Pe,e:()=>Fe,f:()=>_e,g:()=>Oe,h:()=>ue,i:()=>nn,j:()=>C,r:()=>Qn,w:()=>Ae});var n=o(1528);let a,l,e,u=!1,c=!1,g=!1,v=!1,p=!1;const S={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},C=fe=>{const De=new URL(fe,En.$resourcesUrl$);return De.origin!==dn.location.origin?De.href:De.pathname},A="s-id",I="sty-id",F="c-id",T="slot-fb{display:contents}slot-fb[hidden]{display:none}",P="http://www.w3.org/1999/xlink",x={},G=fe=>"object"==(fe=typeof fe)||"function"===fe;function te(fe){var De,rt,_t;return null!==(_t=null===(rt=null===(De=fe.head)||void 0===De?void 0:De.querySelector('meta[name="csp-nonce"]'))||void 0===rt?void 0:rt.getAttribute("content"))&&void 0!==_t?_t:void 0}const ue=(fe,De,...rt)=>{let _t=null,Tt=null,Bt=null,Jt=!1,mn=!1;const vn=[],Cn=Gt=>{for(let Nn=0;NnGt[Nn]).join(" "))}}if("function"==typeof fe)return fe(null===De?{}:De,vn,re);const fn=se(fe,null);return fn.$attrs$=De,vn.length>0&&(fn.$children$=vn),fn.$key$=Tt,fn.$name$=Bt,fn},se=(fe,De)=>({$flags$:0,$tag$:fe,$text$:De,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),K={},re={forEach:(fe,De)=>fe.map(J).forEach(De),map:(fe,De)=>fe.map(J).map(De).map(Y)},J=fe=>({vattrs:fe.$attrs$,vchildren:fe.$children$,vkey:fe.$key$,vname:fe.$name$,vtag:fe.$tag$,vtext:fe.$text$}),Y=fe=>{if("function"==typeof fe.vtag){const rt=Object.assign({},fe.vattrs);return fe.vkey&&(rt.key=fe.vkey),fe.vname&&(rt.name=fe.vname),ue(fe.vtag,rt,...fe.vchildren||[])}const De=se(fe.vtag,fe.vtext);return De.$attrs$=fe.vattrs,De.$children$=fe.vchildren,De.$key$=fe.vkey,De.$name$=fe.vname,De},le=(fe,De,rt,_t,Tt,Bt,Jt)=>{let mn,vn,Cn,fn;if(1===Bt.nodeType){for(mn=Bt.getAttribute(F),mn&&(vn=mn.split("."),(vn[0]===Jt||"0"===vn[0])&&(Cn={$flags$:0,$hostId$:vn[0],$nodeId$:vn[1],$depth$:vn[2],$index$:vn[3],$tag$:Bt.tagName.toLowerCase(),$elm$:Bt,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},De.push(Cn),Bt.removeAttribute(F),fe.$children$||(fe.$children$=[]),fe.$children$[Cn.$index$]=Cn,fe=Cn,_t&&"0"===Cn.$depth$&&(_t[Cn.$index$]=Cn.$elm$))),fn=Bt.childNodes.length-1;fn>=0;fn--)le(fe,De,rt,_t,Tt,Bt.childNodes[fn],Jt);if(Bt.shadowRoot)for(fn=Bt.shadowRoot.childNodes.length-1;fn>=0;fn--)le(fe,De,rt,_t,Tt,Bt.shadowRoot.childNodes[fn],Jt)}else if(8===Bt.nodeType)vn=Bt.nodeValue.split("."),(vn[1]===Jt||"0"===vn[1])&&(mn=vn[0],Cn={$flags$:0,$hostId$:vn[1],$nodeId$:vn[2],$depth$:vn[3],$index$:vn[4],$elm$:Bt,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===mn?(Cn.$elm$=Bt.nextSibling,Cn.$elm$&&3===Cn.$elm$.nodeType&&(Cn.$text$=Cn.$elm$.textContent,De.push(Cn),Bt.remove(),fe.$children$||(fe.$children$=[]),fe.$children$[Cn.$index$]=Cn,_t&&"0"===Cn.$depth$&&(_t[Cn.$index$]=Cn.$elm$))):Cn.$hostId$===Jt&&("s"===mn?(Cn.$tag$="slot",Bt["s-sn"]=vn[5]?Cn.$name$=vn[5]:"",Bt["s-sr"]=!0,_t&&(Cn.$elm$=Mn.createElement(Cn.$tag$),Cn.$name$&&Cn.$elm$.setAttribute("name",Cn.$name$),Bt.parentNode.insertBefore(Cn.$elm$,Bt),Bt.remove(),"0"===Cn.$depth$&&(_t[Cn.$index$]=Cn.$elm$)),rt.push(Cn),fe.$children$||(fe.$children$=[]),fe.$children$[Cn.$index$]=Cn):"r"===mn&&(_t?Bt.remove():(Tt["s-cr"]=Bt,Bt["s-cn"]=!0))));else if(fe&&"style"===fe.$tag$){const Gt=se(null,Bt.textContent);Gt.$elm$=Bt,Gt.$index$="0",fe.$children$=[Gt]}},ee=(fe,De)=>{if(1===fe.nodeType){let rt=0;for(;rton.push(fe),Oe=fe=>jn(fe).$modeName$,_e=fe=>jn(fe).$hostElement$,Pe=(fe,De,rt)=>{const _t=_e(fe);return{emit:Tt=>Ze(_t,De,{bubbles:!!(4&rt),composed:!!(2&rt),cancelable:!!(1&rt),detail:Tt})}},Ze=(fe,De,rt)=>{const _t=En.ce(De,rt);return fe.dispatchEvent(_t),_t},ot=new WeakMap,tt=(fe,De,rt)=>{let _t=kt.get(fe);zn&&rt?(_t=_t||new CSSStyleSheet,"string"==typeof _t?_t=De:_t.replaceSync(De)):_t=De,kt.set(fe,_t)},mt=(fe,De,rt)=>{var _t;const Tt=Ct(De,rt),Bt=kt.get(Tt);if(fe=11===fe.nodeType?fe:Mn,Bt)if("string"==typeof Bt){let mn,Jt=ot.get(fe=fe.head||fe);if(Jt||ot.set(fe,Jt=new Set),!Jt.has(Tt)){if(fe.host&&(mn=fe.querySelector(`[${I}="${Tt}"]`)))mn.innerHTML=Bt;else{mn=Mn.createElement("style"),mn.innerHTML=Bt;const vn=null!==(_t=En.$nonce$)&&void 0!==_t?_t:te(Mn);null!=vn&&mn.setAttribute("nonce",vn),fe.insertBefore(mn,fe.querySelector("link"))}4&De.$flags$&&(mn.innerHTML+=T),Jt&&Jt.add(Tt)}}else fe.adoptedStyleSheets.includes(Bt)||(fe.adoptedStyleSheets=[...fe.adoptedStyleSheets,Bt]);return Tt},Ct=(fe,De)=>"sc-"+(De&&32&fe.$flags$?fe.$tagName$+"-"+De:fe.$tagName$),Xe=fe=>fe.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),nt=(fe,De,rt,_t,Tt,Bt)=>{if(rt!==_t){let Jt=ui(fe,De),mn=De.toLowerCase();if("class"===De){const vn=fe.classList,Cn=tn(rt),fn=tn(_t);vn.remove(...Cn.filter(Gt=>Gt&&!fn.includes(Gt))),vn.add(...fn.filter(Gt=>Gt&&!Cn.includes(Gt)))}else if("style"===De){for(const vn in rt)(!_t||null==_t[vn])&&(vn.includes("-")?fe.style.removeProperty(vn):fe.style[vn]="");for(const vn in _t)(!rt||_t[vn]!==rt[vn])&&(vn.includes("-")?fe.style.setProperty(vn,_t[vn]):fe.style[vn]=_t[vn])}else if("key"!==De)if("ref"===De)_t&&_t(fe);else if(Jt||"o"!==De[0]||"n"!==De[1]){const vn=G(_t);if((Jt||vn&&null!==_t)&&!Tt)try{if(fe.tagName.includes("-"))fe[De]=_t;else{const fn=_t??"";"list"===De?Jt=!1:(null==rt||fe[De]!=fn)&&(fe[De]=fn)}}catch{}let Cn=!1;mn!==(mn=mn.replace(/^xlink\:?/,""))&&(De=mn,Cn=!0),null==_t||!1===_t?(!1!==_t||""===fe.getAttribute(De))&&(Cn?fe.removeAttributeNS(P,De):fe.removeAttribute(De)):(!Jt||4&Bt||Tt)&&!vn&&(_t=!0===_t?"":_t,Cn?fe.setAttributeNS(P,De,_t):fe.setAttribute(De,_t))}else if(De="-"===De[2]?De.slice(3):ui(dn,mn)?mn.slice(2):mn[2]+De.slice(3),rt||_t){const vn=De.endsWith(hn);De=De.replace(wn,""),rt&&En.rel(fe,De,rt,vn),_t&&En.ael(fe,De,_t,vn)}}},Pt=/\s/,tn=fe=>fe?fe.split(Pt):[],hn="Capture",wn=new RegExp(hn+"$"),An=(fe,De,rt,_t)=>{const Tt=11===De.$elm$.nodeType&&De.$elm$.host?De.$elm$.host:De.$elm$,Bt=fe&&fe.$attrs$||x,Jt=De.$attrs$||x;for(_t in Bt)_t in Jt||nt(Tt,_t,Bt[_t],void 0,rt,De.$flags$);for(_t in Jt)nt(Tt,_t,Bt[_t],Jt[_t],rt,De.$flags$)},_n=(fe,De,rt,_t)=>{const Tt=De.$children$[rt];let Jt,mn,vn,Bt=0;if(u||(g=!0,"slot"===Tt.$tag$&&(a&&_t.classList.add(a+"-s"),Tt.$flags$|=Tt.$children$?2:1)),null!==Tt.$text$)Jt=Tt.$elm$=Mn.createTextNode(Tt.$text$);else if(1&Tt.$flags$)Jt=Tt.$elm$=Mn.createTextNode("");else{if(v||(v="svg"===Tt.$tag$),Jt=Tt.$elm$=Mn.createElementNS(v?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&Tt.$flags$?"slot-fb":Tt.$tag$),v&&"foreignObject"===Tt.$tag$&&(v=!1),An(null,Tt,v),(fe=>null!=fe)(a)&&Jt["s-si"]!==a&&Jt.classList.add(Jt["s-si"]=a),Tt.$children$)for(Bt=0;Bt{En.$flags$|=1;const rt=fe.childNodes;for(let _t=rt.length-1;_t>=0;_t--){const Tt=rt[_t];Tt["s-hn"]!==e&&Tt["s-ol"]&&(je(Tt).insertBefore(Tt,$e(Tt)),Tt["s-ol"].remove(),Tt["s-ol"]=void 0,Tt["s-sh"]=void 0,g=!0),De&&qt(Tt,De)}En.$flags$&=-2},ht=(fe,De,rt,_t,Tt,Bt)=>{let mn,Jt=fe["s-cr"]&&fe["s-cr"].parentNode||fe;for(Jt.shadowRoot&&Jt.tagName===e&&(Jt=Jt.shadowRoot);Tt<=Bt;++Tt)_t[Tt]&&(mn=_n(null,rt,Tt,fe),mn&&(_t[Tt].$elm$=mn,Jt.insertBefore(mn,$e(De))))},Ue=(fe,De,rt)=>{for(let _t=De;_t<=rt;++_t){const Tt=fe[_t];if(Tt){const Bt=Tt.$elm$;st(Tt),Bt&&(c=!0,Bt["s-ol"]?Bt["s-ol"].remove():qt(Bt,!0),Bt.remove())}}},Te=(fe,De,rt=!1)=>fe.$tag$===De.$tag$&&("slot"===fe.$tag$?fe.$name$===De.$name$:!!rt||fe.$key$===De.$key$),$e=fe=>fe&&fe["s-ol"]||fe,je=fe=>(fe["s-ol"]?fe["s-ol"]:fe).parentNode,gt=(fe,De,rt=!1)=>{const _t=De.$elm$=fe.$elm$,Tt=fe.$children$,Bt=De.$children$,Jt=De.$tag$,mn=De.$text$;let vn;null===mn?(v="svg"===Jt||"foreignObject"!==Jt&&v,"slot"===Jt&&!u||An(fe,De,v),null!==Tt&&null!==Bt?((fe,De,rt,_t,Tt=!1)=>{let Nr,Lr,Bt=0,Jt=0,mn=0,vn=0,Cn=De.length-1,fn=De[0],Gt=De[Cn],Nn=_t.length-1,lr=_t[0],cr=_t[Nn];for(;Bt<=Cn&&Jt<=Nn;)if(null==fn)fn=De[++Bt];else if(null==Gt)Gt=De[--Cn];else if(null==lr)lr=_t[++Jt];else if(null==cr)cr=_t[--Nn];else if(Te(fn,lr,Tt))gt(fn,lr,Tt),fn=De[++Bt],lr=_t[++Jt];else if(Te(Gt,cr,Tt))gt(Gt,cr,Tt),Gt=De[--Cn],cr=_t[--Nn];else if(Te(fn,cr,Tt))("slot"===fn.$tag$||"slot"===cr.$tag$)&&qt(fn.$elm$.parentNode,!1),gt(fn,cr,Tt),fe.insertBefore(fn.$elm$,Gt.$elm$.nextSibling),fn=De[++Bt],cr=_t[--Nn];else if(Te(Gt,lr,Tt))("slot"===fn.$tag$||"slot"===cr.$tag$)&&qt(Gt.$elm$.parentNode,!1),gt(Gt,lr,Tt),fe.insertBefore(Gt.$elm$,fn.$elm$),Gt=De[--Cn],lr=_t[++Jt];else{for(mn=-1,vn=Bt;vn<=Cn;++vn)if(De[vn]&&null!==De[vn].$key$&&De[vn].$key$===lr.$key$){mn=vn;break}mn>=0?(Lr=De[mn],Lr.$tag$!==lr.$tag$?Nr=_n(De&&De[Jt],rt,mn,fe):(gt(Lr,lr,Tt),De[mn]=void 0,Nr=Lr.$elm$),lr=_t[++Jt]):(Nr=_n(De&&De[Jt],rt,Jt,fe),lr=_t[++Jt]),Nr&&je(fn.$elm$).insertBefore(Nr,$e(fn.$elm$))}Bt>Cn?ht(fe,null==_t[Nn+1]?null:_t[Nn+1].$elm$,rt,_t,Jt,Nn):Jt>Nn&&Ue(De,Bt,Cn)})(_t,Tt,De,Bt,rt):null!==Bt?(null!==fe.$text$&&(_t.textContent=""),ht(_t,null,De,Bt,0,Bt.length-1)):null!==Tt&&Ue(Tt,0,Tt.length-1),v&&"svg"===Jt&&(v=!1)):(vn=_t["s-cr"])?vn.parentNode.textContent=mn:fe.$text$!==mn&&(_t.data=mn)},He=fe=>{const De=fe.childNodes;for(const rt of De)if(1===rt.nodeType){if(rt["s-sr"]){const _t=rt["s-sn"];rt.hidden=!1;for(const Tt of De)if(Tt!==rt)if(Tt["s-hn"]!==rt["s-hn"]||""!==_t){if(1===Tt.nodeType&&(_t===Tt.getAttribute("slot")||_t===Tt["s-sn"])){rt.hidden=!0;break}}else if(1===Tt.nodeType||3===Tt.nodeType&&""!==Tt.textContent.trim()){rt.hidden=!0;break}}He(rt)}},vt=[],ut=fe=>{let De,rt,_t;for(const Tt of fe.childNodes){if(Tt["s-sr"]&&(De=Tt["s-cr"])&&De.parentNode){rt=De.parentNode.childNodes;const Bt=Tt["s-sn"];for(_t=rt.length-1;_t>=0;_t--)if(De=rt[_t],!De["s-cn"]&&!De["s-nr"]&&De["s-hn"]!==Tt["s-hn"])if(wt(De,Bt)){let Jt=vt.find(mn=>mn.$nodeToRelocate$===De);c=!0,De["s-sn"]=De["s-sn"]||Bt,Jt?(Jt.$nodeToRelocate$["s-sh"]=Tt["s-hn"],Jt.$slotRefNode$=Tt):(De["s-sh"]=Tt["s-hn"],vt.push({$slotRefNode$:Tt,$nodeToRelocate$:De})),De["s-sr"]&&vt.map(mn=>{wt(mn.$nodeToRelocate$,De["s-sn"])&&(Jt=vt.find(vn=>vn.$nodeToRelocate$===De),Jt&&!mn.$slotRefNode$&&(mn.$slotRefNode$=Jt.$slotRefNode$))})}else vt.some(Jt=>Jt.$nodeToRelocate$===De)||vt.push({$nodeToRelocate$:De})}1===Tt.nodeType&&ut(Tt)}},wt=(fe,De)=>1===fe.nodeType?null===fe.getAttribute("slot")&&""===De||fe.getAttribute("slot")===De:fe["s-sn"]===De||""===De,st=fe=>{fe.$attrs$&&fe.$attrs$.ref&&fe.$attrs$.ref(null),fe.$children$&&fe.$children$.map(st)},pt=(fe,De)=>{De&&!fe.$onRenderResolve$&&De["s-p"]&&De["s-p"].push(new Promise(rt=>fe.$onRenderResolve$=rt))},It=(fe,De)=>{if(fe.$flags$|=16,!(4&fe.$flags$))return pt(fe,fe.$ancestorComponent$),Ae(()=>Yt(fe,De));fe.$flags$|=512},Yt=(fe,De)=>{const _t=fe.$lazyInstance$;let Tt;return De&&(fe.$flags$|=256,fe.$queuedListeners$&&(fe.$queuedListeners$.map(([Bt,Jt])=>Tn(_t,Bt,Jt)),fe.$queuedListeners$=void 0),Tt=Tn(_t,"componentWillLoad")),Tt=Xt(Tt,()=>Tn(_t,"componentWillRender")),Xt(Tt,()=>$t(fe,_t,De))},Xt=(fe,De)=>At(fe)?fe.then(De):De(),At=fe=>fe instanceof Promise||fe&&fe.then&&"function"==typeof fe.then,$t=function(){var fe=(0,n.c)(function*(De,rt,_t){var Tt;const Bt=De.$hostElement$,mn=Bt["s-rc"];_t&&(fe=>{const De=fe.$cmpMeta$,rt=fe.$hostElement$,_t=De.$flags$,Bt=mt(rt.shadowRoot?rt.shadowRoot:rt.getRootNode(),De,fe.$modeName$);10&_t&&(rt["s-sc"]=Bt,rt.classList.add(Bt+"-h"),2&_t&&rt.classList.add(Bt+"-s"))})(De);St(De,rt,Bt,_t),mn&&(mn.map(Cn=>Cn()),Bt["s-rc"]=void 0);{const Cn=null!==(Tt=Bt["s-p"])&&void 0!==Tt?Tt:[],fn=()=>xt(De);0===Cn.length?fn():(Promise.all(Cn).then(fn),De.$flags$|=4,Cn.length=0)}});return function(rt,_t,Tt){return fe.apply(this,arguments)}}(),St=(fe,De,rt,_t)=>{try{De=De.render&&De.render(),fe.$flags$&=-17,fe.$flags$|=2,((fe,De,rt=!1)=>{var _t,Tt,Bt,Jt;const mn=fe.$hostElement$,vn=fe.$cmpMeta$,Cn=fe.$vnode$||se(null,null),fn=(fe=>fe&&fe.$tag$===K)(De)?De:ue(null,null,De);if(e=mn.tagName,vn.$attrsToReflect$&&(fn.$attrs$=fn.$attrs$||{},vn.$attrsToReflect$.map(([Gt,Nn])=>fn.$attrs$[Nn]=mn[Gt])),rt&&fn.$attrs$)for(const Gt of Object.keys(fn.$attrs$))mn.hasAttribute(Gt)&&!["key","ref","style","class"].includes(Gt)&&(fn.$attrs$[Gt]=mn[Gt]);if(fn.$tag$=null,fn.$flags$|=4,fe.$vnode$=fn,fn.$elm$=Cn.$elm$=mn.shadowRoot||mn,a=mn["s-sc"],u=0!=(1&vn.$flags$),l=mn["s-cr"],c=!1,gt(Cn,fn,rt),En.$flags$|=1,g){ut(fn.$elm$);for(const Gt of vt){const Nn=Gt.$nodeToRelocate$;if(!Nn["s-ol"]){const lr=Mn.createTextNode("");lr["s-nr"]=Nn,Nn.parentNode.insertBefore(Nn["s-ol"]=lr,Nn)}}for(const Gt of vt){const Nn=Gt.$nodeToRelocate$,lr=Gt.$slotRefNode$;if(lr){const cr=lr.parentNode;let Nr=lr.nextSibling;{let Lr=null===(_t=Nn["s-ol"])||void 0===_t?void 0:_t.previousSibling;for(;Lr;){let dt=null!==(Tt=Lr["s-nr"])&&void 0!==Tt?Tt:null;if(dt&&dt["s-sn"]===Nn["s-sn"]&&cr===dt.parentNode&&(dt=dt.nextSibling,!dt||!dt["s-nr"])){Nr=dt;break}Lr=Lr.previousSibling}}(!Nr&&cr!==Nn.parentNode||Nn.nextSibling!==Nr)&&Nn!==Nr&&(!Nn["s-hn"]&&Nn["s-ol"]&&(Nn["s-hn"]=Nn["s-ol"].parentNode.nodeName),cr.insertBefore(Nn,Nr),1===Nn.nodeType&&(Nn.hidden=null!==(Bt=Nn["s-ih"])&&void 0!==Bt&&Bt))}else 1===Nn.nodeType&&(rt&&(Nn["s-ih"]=null!==(Jt=Nn.hidden)&&void 0!==Jt&&Jt),Nn.hidden=!0)}}c&&He(fn.$elm$),En.$flags$&=-2,vt.length=0,l=void 0})(fe,De,_t)}catch(Tt){Pr(Tt,fe.$hostElement$)}return null},xt=fe=>{const rt=fe.$hostElement$,Tt=fe.$lazyInstance$,Bt=fe.$ancestorComponent$;Tn(Tt,"componentDidRender"),64&fe.$flags$?Tn(Tt,"componentDidUpdate"):(fe.$flags$|=64,rn(rt),Tn(Tt,"componentDidLoad"),fe.$onReadyResolve$(rt),Bt||bn()),fe.$onInstanceResolve$(rt),fe.$onRenderResolve$&&(fe.$onRenderResolve$(),fe.$onRenderResolve$=void 0),512&fe.$flags$&&ae(()=>It(fe,!1)),fe.$flags$&=-517},nn=fe=>{{const De=jn(fe),rt=De.$hostElement$.isConnected;return rt&&2==(18&De.$flags$)&&It(De,!1),rt}},bn=fe=>{rn(Mn.documentElement),ae(()=>Ze(dn,"appload",{detail:{namespace:"ionic"}}))},Tn=(fe,De,rt)=>{if(fe&&fe[De])try{return fe[De](rt)}catch(_t){Pr(_t)}},rn=fe=>fe.classList.add("hydrated"),Br=(fe,De,rt)=>{var _t;const Tt=fe.prototype;if(De.$members$){fe.watchers&&(De.$watchers$=fe.watchers);const Bt=Object.entries(De.$members$);if(Bt.map(([Jt,[mn]])=>{31&mn||2&rt&&32&mn?Object.defineProperty(Tt,Jt,{get(){return((fe,De)=>jn(this).$instanceValues$.get(De))(0,Jt)},set(vn){((fe,De,rt,_t)=>{const Tt=jn(fe),Bt=Tt.$hostElement$,Jt=Tt.$instanceValues$.get(De),mn=Tt.$flags$,vn=Tt.$lazyInstance$;rt=((fe,De)=>null==fe||G(fe)?fe:4&De?"false"!==fe&&(""===fe||!!fe):2&De?parseFloat(fe):1&De?String(fe):fe)(rt,_t.$members$[De][0]);const Cn=Number.isNaN(Jt)&&Number.isNaN(rt);if((!(8&mn)||void 0===Jt)&&rt!==Jt&&!Cn&&(Tt.$instanceValues$.set(De,rt),vn)){if(_t.$watchers$&&128&mn){const Gt=_t.$watchers$[De];Gt&&Gt.map(Nn=>{try{vn[Nn](rt,Jt,De)}catch(lr){Pr(lr,Bt)}})}2==(18&mn)&&It(Tt,!1)}})(this,Jt,vn,De)},configurable:!0,enumerable:!0}):1&rt&&64&mn&&Object.defineProperty(Tt,Jt,{value(...vn){var Cn;const fn=jn(this);return null===(Cn=fn?.$onInstancePromise$)||void 0===Cn?void 0:Cn.then(()=>{var Gt;return null===(Gt=fn.$lazyInstance$)||void 0===Gt?void 0:Gt[Jt](...vn)})}})}),1&rt){const Jt=new Map;Tt.attributeChangedCallback=function(mn,vn,Cn){En.jmp(()=>{var fn;const Gt=Jt.get(mn);if(this.hasOwnProperty(Gt))Cn=this[Gt],delete this[Gt];else{if(Tt.hasOwnProperty(Gt)&&"number"==typeof this[Gt]&&this[Gt]==Cn)return;if(null==Gt){const Nn=jn(this),lr=Nn?.$flags$;if(lr&&!(8&lr)&&128&lr&&Cn!==vn){const cr=Nn.$lazyInstance$,Nr=null===(fn=De.$watchers$)||void 0===fn?void 0:fn[mn];Nr?.forEach(Lr=>{null!=cr[Lr]&&cr[Lr].call(cr,Cn,vn,mn)})}return}}this[Gt]=(null!==Cn||"boolean"!=typeof this[Gt])&&Cn})},fe.observedAttributes=Array.from(new Set([...Object.keys(null!==(_t=De.$watchers$)&&void 0!==_t?_t:{}),...Bt.filter(([mn,vn])=>15&vn[0]).map(([mn,vn])=>{var Cn;const fn=vn[1]||mn;return Jt.set(fn,mn),512&vn[0]&&(null===(Cn=De.$attrsToReflect$)||void 0===Cn||Cn.push([mn,fn])),fn})]))}}return fe},sr=function(){var fe=(0,n.c)(function*(De,rt,_t,Tt){let Bt;if(!(32&rt.$flags$)){rt.$flags$|=32;{if(Bt=Rt(_t),Bt.then){const Cn=()=>{};Bt=yield Bt,Cn()}Bt.isProxied||(_t.$watchers$=Bt.watchers,Br(Bt,_t,2),Bt.isProxied=!0);const vn=()=>{};rt.$flags$|=8;try{new Bt(rt)}catch(Cn){Pr(Cn)}rt.$flags$&=-9,rt.$flags$|=128,vn(),Er(rt.$lazyInstance$)}if(Bt.style){let vn=Bt.style;"string"!=typeof vn&&(vn=vn[rt.$modeName$=(fe=>on.map(De=>De(fe)).find(De=>!!De))(De)]);const Cn=Ct(_t,rt.$modeName$);if(!kt.has(Cn)){const fn=()=>{};tt(Cn,vn,!!(1&_t.$flags$)),fn()}}}const Jt=rt.$ancestorComponent$,mn=()=>It(rt,!0);Jt&&Jt["s-rc"]?Jt["s-rc"].push(mn):mn()});return function(rt,_t,Tt,Bt){return fe.apply(this,arguments)}}(),Er=fe=>{Tn(fe,"connectedCallback")},qn=fe=>{const De=fe["s-cr"]=Mn.createComment("");De["s-cn"]=!0,fe.insertBefore(De,fe.firstChild)},Rn=fe=>{Tn(fe,"disconnectedCallback")},oi=function(){var fe=(0,n.c)(function*(De){if(!(1&En.$flags$)){const rt=jn(De);rt.$rmListeners$&&(rt.$rmListeners$.map(_t=>_t()),rt.$rmListeners$=void 0),rt?.$lazyInstance$?Rn(rt.$lazyInstance$):rt?.$onReadyPromise$&&rt.$onReadyPromise$.then(()=>Rn(rt.$lazyInstance$))}});return function(rt){return fe.apply(this,arguments)}}(),Sr=(fe,De={})=>{var rt;const Tt=[],Bt=De.exclude||[],Jt=dn.customElements,mn=Mn.head,vn=mn.querySelector("meta[charset]"),Cn=Mn.createElement("style"),fn=[],Gt=Mn.querySelectorAll(`[${I}]`);let Nn,lr=!0,cr=0;for(Object.assign(En,De),En.$resourcesUrl$=new URL(De.resourcesUrl||"./",Mn.baseURI).href,En.$flags$|=2;cr{Lr[1].map(dt=>{var lo;const vi={$flags$:dt[0],$tagName$:dt[1],$members$:dt[2],$listeners$:dt[3]};4&vi.$flags$&&(Nr=!0),vi.$members$=dt[2],vi.$listeners$=dt[3],vi.$attrsToReflect$=[],vi.$watchers$=null!==(lo=dt[4])&&void 0!==lo?lo:{};const _r=vi.$tagName$,In=class extends HTMLElement{constructor(Gn){super(Gn),or(Gn=this,vi),1&vi.$flags$&&Gn.attachShadow({mode:"open",delegatesFocus:!!(16&vi.$flags$)})}connectedCallback(){Nn&&(clearTimeout(Nn),Nn=null),lr?fn.push(this):En.jmp(()=>(fe=>{if(!(1&En.$flags$)){const De=jn(fe),rt=De.$cmpMeta$,_t=()=>{};if(1&De.$flags$)pr(fe,De,rt.$listeners$),De?.$lazyInstance$?Er(De.$lazyInstance$):De?.$onReadyPromise$&&De.$onReadyPromise$.then(()=>Er(De.$lazyInstance$));else{let Tt;if(De.$flags$|=1,Tt=fe.getAttribute(A),Tt){if(1&rt.$flags$){const Bt=mt(fe.shadowRoot,rt,fe.getAttribute("s-mode"));fe.classList.remove(Bt+"-h",Bt+"-s")}((fe,De,rt,_t)=>{const Bt=fe.shadowRoot,Jt=[],vn=Bt?[]:null,Cn=_t.$vnode$=se(De,null);En.$orgLocNodes$||ee(Mn.body,En.$orgLocNodes$=new Map),fe[A]=rt,fe.removeAttribute(A),le(Cn,Jt,[],vn,fe,fe,rt),Jt.map(fn=>{const Gt=fn.$hostId$+"."+fn.$nodeId$,Nn=En.$orgLocNodes$.get(Gt),lr=fn.$elm$;Nn&&Yn&&""===Nn["s-en"]&&Nn.parentNode.insertBefore(lr,Nn.nextSibling),Bt||(lr["s-hn"]=De,Nn&&(lr["s-ol"]=Nn,lr["s-ol"]["s-nr"]=lr)),En.$orgLocNodes$.delete(Gt)}),Bt&&vn.map(fn=>{fn&&Bt.appendChild(fn)})})(fe,rt.$tagName$,Tt,De)}Tt||12&rt.$flags$&&qn(fe);{let Bt=fe;for(;Bt=Bt.parentNode||Bt.host;)if(1===Bt.nodeType&&Bt.hasAttribute("s-id")&&Bt["s-p"]||Bt["s-p"]){pt(De,De.$ancestorComponent$=Bt);break}}rt.$members$&&Object.entries(rt.$members$).map(([Bt,[Jt]])=>{if(31&Jt&&fe.hasOwnProperty(Bt)){const mn=fe[Bt];delete fe[Bt],fe[Bt]=mn}}),sr(fe,De,rt)}_t()}})(this))}disconnectedCallback(){En.jmp(()=>oi(this))}componentOnReady(){return jn(this).$onReadyPromise$}};vi.$lazyBundleId$=Lr[0],!Bt.includes(_r)&&!Jt.get(_r)&&(Tt.push(_r),Jt.define(_r,Br(In,vi,1)))})}),Tt.length>0&&(Nr&&(Cn.innerHTML+=T),Cn.innerHTML+=Tt+"{visibility:hidden}.hydrated{visibility:inherit}",Cn.innerHTML.length)){Cn.setAttribute("data-styles","");const Lr=null!==(rt=En.$nonce$)&&void 0!==rt?rt:te(Mn);null!=Lr&&Cn.setAttribute("nonce",Lr),mn.insertBefore(Cn,vn?vn.nextSibling:mn.firstChild)}lr=!1,fn.length?fn.map(Lr=>Lr.connectedCallback()):En.jmp(()=>Nn=setTimeout(bn,30))},pr=(fe,De,rt,_t)=>{rt&&rt.map(([Tt,Bt,Jt])=>{const mn=er(fe,Tt),vn=Jn(De,Jt),Cn=Or(Tt);En.ael(mn,Bt,vn,Cn),(De.$rmListeners$=De.$rmListeners$||[]).push(()=>En.rel(mn,Bt,vn,Cn))})},Jn=(fe,De)=>rt=>{try{256&fe.$flags$?fe.$lazyInstance$[De](rt):(fe.$queuedListeners$=fe.$queuedListeners$||[]).push([De,rt])}catch(_t){Pr(_t)}},er=(fe,De)=>4&De?Mn:8&De?dn:16&De?Mn.body:fe,Or=fe=>Tr?{passive:0!=(1&fe),capture:0!=(2&fe)}:0!=(2&fe),en=new WeakMap,jn=fe=>en.get(fe),Qn=(fe,De)=>en.set(De.$lazyInstance$=fe,De),or=(fe,De)=>{const rt={$flags$:0,$hostElement$:fe,$cmpMeta$:De,$instanceValues$:new Map};return rt.$onInstancePromise$=new Promise(_t=>rt.$onInstanceResolve$=_t),rt.$onReadyPromise$=new Promise(_t=>rt.$onReadyResolve$=_t),fe["s-p"]=[],fe["s-rc"]=[],pr(fe,rt,De.$listeners$),en.set(fe,rt)},ui=(fe,De)=>De in fe,Pr=(fe,De)=>(0,console.error)(fe,De),ct=new Map,Rt=(fe,De,rt)=>{const _t=fe.$tagName$.replace(/-/g,"_"),Tt=fe.$lazyBundleId$,Bt=ct.get(Tt);return Bt?Bt[_t]:o(21480)(`./${Tt}.entry.js`).then(Jt=>(ct.set(Tt,Jt),Jt[_t]),Pr)},kt=new Map,on=[],dn=typeof window<"u"?window:{},Mn=dn.document||{head:{}},En={$flags$:0,$resourcesUrl$:"",jmp:fe=>fe(),raf:fe=>requestAnimationFrame(fe),ael:(fe,De,rt,_t)=>fe.addEventListener(De,rt,_t),rel:(fe,De,rt,_t)=>fe.removeEventListener(De,rt,_t),ce:(fe,De)=>new CustomEvent(fe,De)},Zn=fe=>{Object.assign(En,fe)},Yn=!0,Tr=(()=>{let fe=!1;try{Mn.addEventListener("e",null,Object.defineProperty({},"passive",{get(){fe=!0}}))}catch{}return fe})(),zn=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),ur=[],Mi=[],un=(fe,De)=>rt=>{fe.push(rt),p||(p=!0,De&&4&En.$flags$?ae(z):En.raf(z))},U=fe=>{for(let De=0;De{U(ur),U(Mi),(p=ur.length>0)&&En.raf(z)},ae=fe=>Promise.resolve(void 0).then(fe),Fe=un(ur,!1),Ae=un(Mi,!0)},52032:(pe,h,o)=>{"use strict";o.d(h,{a:()=>i,b:()=>d,p:()=>n});const n=(a,...l)=>console.warn(`[Ionic Warning]: ${a}`,...l),i=(a,...l)=>console.error(`[Ionic Error]: ${a}`,...l),d=(a,...l)=>console.error(`<${a.tagName.toLowerCase()}> must be used inside ${l.join(" or ")}.`)},14829:(pe,h,o)=>{"use strict";o.d(h,{d:()=>i,w:()=>n});const n=typeof window<"u"?window:void 0,i=typeof document<"u"?document:void 0},43452:(pe,h,o)=>{"use strict";o.d(h,{m:()=>C});var n=o(1528),i=o(14829),d=o(72784),a=o(52032),l=o(46384),e=o(88523),u=o(30388);const c=_=>(0,u.c)().duration(_?400:300),g=_=>{let f,y;const b=_.width+8,E=(0,u.c)(),M=(0,u.c)();_.isEndSide?(f=b+"px",y="0px"):(f=-b+"px",y="0px"),E.addElement(_.menuInnerEl).fromTo("transform",`translateX(${f})`,`translateX(${y})`);const I="ios"===(0,e.b)(_),F=I?.2:.25;return M.addElement(_.backdropEl).fromTo("opacity",.01,F),c(I).addAnimation([E,M])},v=_=>{let f,y;const b=(0,e.b)(_),E=_.width;_.isEndSide?(f=-E+"px",y=E+"px"):(f=E+"px",y=-E+"px");const M=(0,u.c)().addElement(_.menuInnerEl).fromTo("transform",`translateX(${y})`,"translateX(0px)"),A=(0,u.c)().addElement(_.contentEl).fromTo("transform","translateX(0px)",`translateX(${f})`),I=(0,u.c)().addElement(_.backdropEl).fromTo("opacity",.01,.32);return c("ios"===b).addAnimation([M,A,I])},p=_=>{const f=(0,e.b)(_),y=_.width*(_.isEndSide?-1:1)+"px",b=(0,u.c)().addElement(_.contentEl).fromTo("transform","translateX(0px)",`translateX(${y})`);return c("ios"===f).addAnimation(b)},C=(()=>{const _=new Map,f=[],y=function(){var J=(0,n.c)(function*(Y){const $=yield j(Y,!0);return!!$&&$.open()});return function($){return J.apply(this,arguments)}}(),b=function(){var J=(0,n.c)(function*(Y){const $=yield void 0!==Y?j(Y,!0):T();return void 0!==$&&$.close()});return function($){return J.apply(this,arguments)}}(),E=function(){var J=(0,n.c)(function*(Y){const $=yield j(Y,!0);return!!$&&$.toggle()});return function($){return J.apply(this,arguments)}}(),M=function(){var J=(0,n.c)(function*(Y,$){const le=yield j($);return le&&(le.disabled=!Y),le});return function($,le){return J.apply(this,arguments)}}(),A=function(){var J=(0,n.c)(function*(Y,$){const le=yield j($);return le&&(le.swipeGesture=Y),le});return function($,le){return J.apply(this,arguments)}}(),I=function(){var J=(0,n.c)(function*(Y){if(null!=Y){const $=yield j(Y);return void 0!==$&&$.isOpen()}return void 0!==(yield T())});return function($){return J.apply(this,arguments)}}(),F=function(){var J=(0,n.c)(function*(Y){const $=yield j(Y);return!!$&&!$.disabled});return function($){return J.apply(this,arguments)}}(),j=function(){var J=(0,n.c)(function*(Y,$=!1){if(yield re(),"start"===Y||"end"===Y){const ee=f.filter(ye=>ye.side===Y&&!ye.disabled);if(ee.length>=1)return ee.length>1&&$&&(0,a.p)(`menuController queried for a menu on the "${Y}" side, but ${ee.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,ee.map(ye=>ye.el)),ee[0].el;const we=f.filter(ye=>ye.side===Y);if(we.length>=1)return we.length>1&&$&&(0,a.p)(`menuController queried for a menu on the "${Y}" side, but ${we.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,we.map(ye=>ye.el)),we[0].el}else if(null!=Y)return Z(ee=>ee.menuId===Y);return Z(ee=>!ee.disabled)||(f.length>0?f[0].el:void 0)});return function($){return J.apply(this,arguments)}}(),T=function(){var J=(0,n.c)(function*(){return yield re(),ue()});return function(){return J.apply(this,arguments)}}(),P=function(){var J=(0,n.c)(function*(){return yield re(),se()});return function(){return J.apply(this,arguments)}}(),x=function(){var J=(0,n.c)(function*(){return yield re(),K()});return function(){return J.apply(this,arguments)}}(),N=(J,Y)=>{_.set(J,Y)},G=function(){var J=(0,n.c)(function*(Y,$,le){if(K())return!1;if($){const ee=yield T();ee&&Y.el!==ee&&(yield ee.setOpen(!1,!1))}return Y._setOpen($,le)});return function($,le,ee){return J.apply(this,arguments)}}(),ue=()=>Z(J=>J._isOpen),se=()=>f.map(J=>J.el),K=()=>f.some(J=>J.isAnimating),Z=J=>{const Y=f.find(J);if(void 0!==Y)return Y.el},re=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(J=>new Promise(Y=>(0,l.c)(J,Y))));return N("reveal",p),N("push",v),N("overlay",g),null==i.d||i.d.addEventListener("ionBackButton",J=>{const Y=ue();Y&&J.detail.register(d.MENU_BACK_BUTTON_PRIORITY,()=>Y.close())}),{registerAnimation:N,get:j,getMenus:P,getOpen:T,isEnabled:F,swipeGesture:A,isAnimating:x,isOpen:I,enable:M,toggle:E,close:b,open:y,_getOpenSync:ue,_createAnimation:(J,Y)=>{const $=_.get(J);if(!$)throw new Error("animation not registered");return $(Y)},_register:J=>{f.indexOf(J)<0&&f.push(J)},_unregister:J=>{const Y=f.indexOf(J);Y>-1&&f.splice(Y,1)},_setOpen:G}})()},88523:(pe,h,o)=>{"use strict";o.d(h,{a:()=>p,b:()=>se,c:()=>d,g:()=>v,i:()=>K});var n=o(62992);class i{constructor(){this.m=new Map}reset(re){this.m=new Map(Object.entries(re))}get(re,J){const Y=this.m.get(re);return void 0!==Y?Y:J}getBoolean(re,J=!1){const Y=this.m.get(re);return void 0===Y?J:"string"==typeof Y?"true"===Y:!!Y}getNumber(re,J){const Y=parseFloat(this.m.get(re));return isNaN(Y)?void 0!==J?J:NaN:Y}set(re,J){this.m.set(re,J)}}const d=new i,c="ionic:",g="ionic-persist-config",v=Z=>S(Z),p=(Z,re)=>("string"==typeof Z&&(re=Z,Z=void 0),v(Z).includes(re)),S=(Z=window)=>{if(typeof Z>"u")return[];Z.Ionic=Z.Ionic||{};let re=Z.Ionic.platforms;return null==re&&(re=Z.Ionic.platforms=C(Z),re.forEach(J=>Z.document.documentElement.classList.add(`plt-${J}`))),re},C=Z=>{const re=d.get("platform");return Object.keys(te).filter(J=>{const Y=re?.[J];return"function"==typeof Y?Y(Z):te[J](Z)})},f=Z=>!!(H(Z,/iPad/i)||H(Z,/Macintosh/i)&&F(Z)),E=Z=>H(Z,/android|sink/i),F=Z=>G(Z,"(any-pointer:coarse)"),T=Z=>P(Z)||x(Z),P=Z=>!!(Z.cordova||Z.phonegap||Z.PhoneGap),x=Z=>{const re=Z.Capacitor;return!!re?.isNative},H=(Z,re)=>re.test(Z.navigator.userAgent),G=(Z,re)=>{var J;return null===(J=Z.matchMedia)||void 0===J?void 0:J.call(Z,re).matches},te={ipad:f,iphone:Z=>H(Z,/iPhone/i),ios:Z=>H(Z,/iPhone|iPod/i)||f(Z),android:E,phablet:Z=>{const re=Z.innerWidth,J=Z.innerHeight,Y=Math.min(re,J),$=Math.max(re,J);return Y>390&&Y<520&&$>620&&$<800},tablet:Z=>{const re=Z.innerWidth,J=Z.innerHeight,Y=Math.min(re,J),$=Math.max(re,J);return f(Z)||(Z=>E(Z)&&!H(Z,/mobile/i))(Z)||Y>460&&Y<820&&$>780&&$<1400},cordova:P,capacitor:x,electron:Z=>H(Z,/electron/i),pwa:Z=>{var re;return!!(null!==(re=Z.matchMedia)&&void 0!==re&&re.call(Z,"(display-mode: standalone)").matches||Z.navigator.standalone)},mobile:F,mobileweb:Z=>F(Z)&&!T(Z),desktop:Z=>!F(Z),hybrid:T};let ue;const se=Z=>Z&&(0,n.g)(Z)||ue,K=(Z={})=>{if(typeof window>"u")return;const re=window.document,J=window,Y=J.Ionic=J.Ionic||{},$={};Z._ael&&($.ael=Z._ael),Z._rel&&($.rel=Z._rel),Z._ce&&($.ce=Z._ce),(0,n.a)($);const le=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(Z=>{try{const re=Z.sessionStorage.getItem(g);return null!==re?JSON.parse(re):{}}catch{return{}}})(J)),{persistConfig:!1}),Y.config),(Z=>{const re={};return Z.location.search.slice(1).split("&").map(J=>J.split("=")).map(([J,Y])=>[decodeURIComponent(J),decodeURIComponent(Y)]).filter(([J])=>((Z,re)=>Z.substr(0,re.length)===re)(J,c)).map(([J,Y])=>[J.slice(6),Y]).forEach(([J,Y])=>{re[J]=Y}),re})(J)),Z);d.reset(le),d.getBoolean("persistConfig")&&((Z,re)=>{try{Z.sessionStorage.setItem(g,JSON.stringify(re))}catch{return}})(J,le),S(J),Y.config=d,Y.mode=ue=d.get("mode",re.documentElement.getAttribute("mode")||(p(J,"ios")?"ios":"md")),d.set("mode",ue),re.documentElement.setAttribute("mode",ue),re.documentElement.classList.add(ue),d.getBoolean("_testing")&&d.set("animated",!1);const ee=ye=>{var Oe;return null===(Oe=ye.tagName)||void 0===Oe?void 0:Oe.startsWith("ION-")},we=ye=>["ios","md"].includes(ye);(0,n.c)(ye=>{for(;ye;){const Oe=ye.mode||ye.getAttribute("mode");if(Oe){if(we(Oe))return Oe;ee(ye)&&console.warn('Invalid ionic mode: "'+Oe+'", expected: "ios" or "md"')}ye=ye.parentElement}return ue})}},68512:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{iosTransitionAnimation:()=>C,shadow:()=>u});var n=o(30388),i=o(76256);o(14829),o(62992);const e=f=>document.querySelector(`${f}.ion-cloned-element`),u=f=>f.shadowRoot||f,c=f=>{const y="ION-TABS"===f.tagName?f:f.querySelector("ion-tabs"),b="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=y){const E=y.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=E?E.querySelector(b):null}return f.querySelector(b)},g=(f,y)=>{const b="ION-TABS"===f.tagName?f:f.querySelector("ion-tabs");let E=[];if(null!=b){const M=b.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=M&&(E=M.querySelectorAll("ion-buttons"))}else E=f.querySelectorAll("ion-buttons");for(const M of E){const A=M.closest("ion-header"),I=A&&!A.classList.contains("header-collapse-condense-inactive"),F=M.querySelector("ion-back-button"),j=M.classList.contains("buttons-collapse");if(null!==F&&("start"===M.slot||""===M.slot)&&(j&&I&&y||!j))return F}return null},p=(f,y,b,E,M,A,I,F,j)=>{var T,P;const x=y?`calc(100% - ${M.right+4}px)`:M.left-4+"px",N=y?"right":"left",O=y?"left":"right",H=y?"right":"left",G=(null===(T=A.textContent)||void 0===T?void 0:T.trim())===(null===(P=F.textContent)||void 0===P?void 0:P.trim()),ue=(j.height-_)/I.height,se=G?`scale(${j.width/I.width}, ${ue})`:`scale(${ue})`,K="scale(1)",re=u(E).querySelector("ion-icon").getBoundingClientRect(),J=y?re.width/2-(re.right-M.right)+"px":M.left-re.width/2+"px",Y=y?`-${window.innerWidth-M.right}px`:`${M.left}px`,$=`${j.top}px`,le=`${M.top}px`,ye=b?[{offset:0,transform:`translate3d(${Y}, ${le}, 0)`},{offset:1,transform:`translate3d(${J}, ${$}, 0)`}]:[{offset:0,transform:`translate3d(${J}, ${$}, 0)`},{offset:1,transform:`translate3d(${Y}, ${le}, 0)`}],_e=b?[{offset:0,opacity:1,transform:K},{offset:1,opacity:0,transform:se}]:[{offset:0,opacity:0,transform:se},{offset:1,opacity:1,transform:K}],ot=b?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],tt=(0,n.c)(),mt=(0,n.c)(),Qe=(0,n.c)(),Ct=e("ion-back-button"),Xe=u(Ct).querySelector(".button-text"),nt=u(Ct).querySelector("ion-icon");Ct.text=E.text,Ct.mode=E.mode,Ct.icon=E.icon,Ct.color=E.color,Ct.disabled=E.disabled,Ct.style.setProperty("display","block"),Ct.style.setProperty("position","fixed"),mt.addElement(nt),tt.addElement(Xe),Qe.addElement(Ct),Qe.beforeStyles({position:"absolute",top:"0px",[H]:"0px"}).keyframes(ye),tt.beforeStyles({"transform-origin":`${N} top`}).beforeAddWrite(()=>{E.style.setProperty("display","none"),Ct.style.setProperty(N,x)}).afterAddWrite(()=>{E.style.setProperty("display",""),Ct.style.setProperty("display","none"),Ct.style.removeProperty(N)}).keyframes(_e),mt.beforeStyles({"transform-origin":`${O} center`}).keyframes(ot),f.addAnimation([tt,mt,Qe])},S=(f,y,b,E,M,A,I,F)=>{var j,T;const P=y?"right":"left",x=y?`calc(100% - ${M.right}px)`:`${M.left}px`,O=`${M.top}px`,G=y?`-${window.innerWidth-F.right-8}px`:F.x-8+"px",ue=F.y-2+"px",se=(null===(j=I.textContent)||void 0===j?void 0:j.trim())===(null===(T=E.textContent)||void 0===T?void 0:T.trim()),Z=F.height/(A.height-_),re="scale(1)",J=se?`scale(${F.width/A.width}, ${Z})`:`scale(${Z})`,le=b?[{offset:0,opacity:0,transform:`translate3d(${G}, ${ue}, 0) ${J}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${O}, 0) ${re}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${O}, 0) ${re}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${G}, ${ue}, 0) ${J}`}],ee=e("ion-title"),we=(0,n.c)();ee.innerText=E.innerText,ee.size=E.size,ee.color=E.color,we.addElement(ee),we.beforeStyles({"transform-origin":`${P} top`,height:`${M.height}px`,display:"",position:"relative",[P]:x}).beforeAddWrite(()=>{E.style.setProperty("opacity","0")}).afterAddWrite(()=>{E.style.setProperty("opacity",""),ee.style.setProperty("display","none")}).keyframes(le),f.addAnimation(we)},C=(f,y)=>{var b;try{const E="cubic-bezier(0.32,0.72,0,1)",M="opacity",A="transform",I="0%",j="rtl"===f.ownerDocument.dir,T=j?"-99.5%":"99.5%",P=j?"33%":"-33%",x=y.enteringEl,N=y.leavingEl,O="back"===y.direction,H=x.querySelector(":scope > ion-content"),G=x.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),te=x.querySelectorAll(":scope > ion-header > ion-toolbar"),ue=(0,n.c)(),se=(0,n.c)();if(ue.addElement(x).duration((null!==(b=y.duration)&&void 0!==b?b:0)||540).easing(y.easing||E).fill("both").beforeRemoveClass("ion-page-invisible"),N&&null!=f){const J=(0,n.c)();J.addElement(f),ue.addAnimation(J)}if(H||0!==te.length||0!==G.length?(se.addElement(H),se.addElement(G)):se.addElement(x.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ue.addAnimation(se),O?se.beforeClearStyles([M]).fromTo("transform",`translateX(${P})`,`translateX(${I})`).fromTo(M,.8,1):se.beforeClearStyles([M]).fromTo("transform",`translateX(${T})`,`translateX(${I})`),H){const J=u(H).querySelector(".transition-effect");if(J){const Y=J.querySelector(".transition-cover"),$=J.querySelector(".transition-shadow"),le=(0,n.c)(),ee=(0,n.c)(),we=(0,n.c)();le.addElement(J).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ee.addElement(Y).beforeClearStyles([M]).fromTo(M,0,.1),we.addElement($).beforeClearStyles([M]).fromTo(M,.03,.7),le.addAnimation([ee,we]),se.addAnimation([le])}}const K=x.querySelector("ion-header.header-collapse-condense"),{forward:Z,backward:re}=((f,y,b,E,M)=>{const A=g(E,b),I=c(M),F=c(E),j=g(M,b),T=null!==A&&null!==I&&!b,P=null!==F&&null!==j&&b;if(T){const x=I.getBoundingClientRect(),N=A.getBoundingClientRect(),O=u(A).querySelector(".button-text"),H=O.getBoundingClientRect(),te=u(I).querySelector(".toolbar-title").getBoundingClientRect();S(f,y,b,I,x,te,O,H),p(f,y,b,A,N,O,H,I,te)}else if(P){const x=F.getBoundingClientRect(),N=j.getBoundingClientRect(),O=u(j).querySelector(".button-text"),H=O.getBoundingClientRect(),te=u(F).querySelector(".toolbar-title").getBoundingClientRect();S(f,y,b,F,x,te,O,H),p(f,y,b,j,N,O,H,F,te)}return{forward:T,backward:P}})(ue,j,O,x,N);if(te.forEach(J=>{const Y=(0,n.c)();Y.addElement(J),ue.addAnimation(Y);const $=(0,n.c)();$.addElement(J.querySelector("ion-title"));const le=(0,n.c)(),ee=Array.from(J.querySelectorAll("ion-buttons,[menuToggle]")),we=J.closest("ion-header"),ye=we?.classList.contains("header-collapse-condense-inactive");let Oe;Oe=ee.filter(O?ot=>{const tt=ot.classList.contains("buttons-collapse");return tt&&!ye||!tt}:ot=>!ot.classList.contains("buttons-collapse")),le.addElement(Oe);const ve=(0,n.c)();ve.addElement(J.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const _e=(0,n.c)();_e.addElement(u(J).querySelector(".toolbar-background"));const Pe=(0,n.c)(),Ze=J.querySelector("ion-back-button");if(Ze&&Pe.addElement(Ze),Y.addAnimation([$,le,ve,_e,Pe]),le.fromTo(M,.01,1),ve.fromTo(M,.01,1),O)ye||$.fromTo("transform",`translateX(${P})`,`translateX(${I})`).fromTo(M,.01,1),ve.fromTo("transform",`translateX(${P})`,`translateX(${I})`),Pe.fromTo(M,.01,1);else if(K||$.fromTo("transform",`translateX(${T})`,`translateX(${I})`).fromTo(M,.01,1),ve.fromTo("transform",`translateX(${T})`,`translateX(${I})`),_e.beforeClearStyles([M,"transform"]),we?.translucent?_e.fromTo("transform",j?"translateX(-100%)":"translateX(100%)","translateX(0px)"):_e.fromTo(M,.01,"var(--opacity)"),Z||Pe.fromTo(M,.01,1),Ze&&!Z){const tt=(0,n.c)();tt.addElement(u(Ze).querySelector(".button-text")).fromTo("transform",j?"translateX(-100px)":"translateX(100px)","translateX(0px)"),Y.addAnimation(tt)}}),N){const J=(0,n.c)(),Y=N.querySelector(":scope > ion-content"),$=N.querySelectorAll(":scope > ion-header > ion-toolbar"),le=N.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(Y||0!==$.length||0!==le.length?(J.addElement(Y),J.addElement(le)):J.addElement(N.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ue.addAnimation(J),O){J.beforeClearStyles([M]).fromTo("transform",`translateX(${I})`,j?"translateX(-100%)":"translateX(100%)");const ee=(0,i.g)(N);ue.afterAddWrite(()=>{"normal"===ue.getDirection()&&ee.style.setProperty("display","none")})}else J.fromTo("transform",`translateX(${I})`,`translateX(${P})`).fromTo(M,1,.8);if(Y){const ee=u(Y).querySelector(".transition-effect");if(ee){const we=ee.querySelector(".transition-cover"),ye=ee.querySelector(".transition-shadow"),Oe=(0,n.c)(),ve=(0,n.c)(),_e=(0,n.c)();Oe.addElement(ee).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),ve.addElement(we).beforeClearStyles([M]).fromTo(M,.1,0),_e.addElement(ye).beforeClearStyles([M]).fromTo(M,.7,.03),Oe.addAnimation([ve,_e]),J.addAnimation([Oe])}}$.forEach(ee=>{const we=(0,n.c)();we.addElement(ee);const ye=(0,n.c)();ye.addElement(ee.querySelector("ion-title"));const Oe=(0,n.c)(),ve=ee.querySelectorAll("ion-buttons,[menuToggle]"),_e=ee.closest("ion-header"),Pe=_e?.classList.contains("header-collapse-condense-inactive"),Ze=Array.from(ve).filter(Xe=>{const nt=Xe.classList.contains("buttons-collapse");return nt&&!Pe||!nt});Oe.addElement(Ze);const ot=(0,n.c)(),tt=ee.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");tt.length>0&&ot.addElement(tt);const mt=(0,n.c)();mt.addElement(u(ee).querySelector(".toolbar-background"));const Qe=(0,n.c)(),Ct=ee.querySelector("ion-back-button");if(Ct&&Qe.addElement(Ct),we.addAnimation([ye,Oe,ot,Qe,mt]),ue.addAnimation(we),Qe.fromTo(M,.99,0),Oe.fromTo(M,.99,0),ot.fromTo(M,.99,0),O){if(Pe||ye.fromTo("transform",`translateX(${I})`,j?"translateX(-100%)":"translateX(100%)").fromTo(M,.99,0),ot.fromTo("transform",`translateX(${I})`,j?"translateX(-100%)":"translateX(100%)"),mt.beforeClearStyles([M,"transform"]),_e?.translucent?mt.fromTo("transform","translateX(0px)",j?"translateX(-100%)":"translateX(100%)"):mt.fromTo(M,"var(--opacity)",0),Ct&&!re){const nt=(0,n.c)();nt.addElement(u(Ct).querySelector(".button-text")).fromTo("transform",`translateX(${I})`,`translateX(${(j?-124:124)+"px"})`),we.addAnimation(nt)}}else Pe||ye.fromTo("transform",`translateX(${I})`,`translateX(${P})`).fromTo(M,.99,0).afterClearStyles([A,M]),ot.fromTo("transform",`translateX(${I})`,`translateX(${P})`).afterClearStyles([A,M]),Qe.afterClearStyles([M]),ye.afterClearStyles([M]),Oe.afterClearStyles([M])})}return ue}catch(E){throw E}},_=10},96556:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{mdTransitionAnimation:()=>l});var n=o(30388),i=o(76256);o(14829),o(62992);const l=(e,u)=>{var c,g,v;const p="40px",C="back"===u.direction,f=u.leavingEl,y=(0,i.g)(u.enteringEl),b=y.querySelector("ion-toolbar"),E=(0,n.c)();if(E.addElement(y).fill("both").beforeRemoveClass("ion-page-invisible"),C?E.duration((null!==(c=u.duration)&&void 0!==c?c:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):E.duration((null!==(g=u.duration)&&void 0!==g?g:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${p})`,"translateY(0px)").fromTo("opacity",.01,1),b){const M=(0,n.c)();M.addElement(b),E.addAnimation(M)}if(f&&C){E.duration((null!==(v=u.duration)&&void 0!==v?v:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const M=(0,n.c)();M.addElement((0,i.g)(f)).onFinish(A=>{1===A&&M.elements.length>0&&M.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${p})`).fromTo("opacity",1,0),E.addAnimation(M)}return E}},63816:(pe,h,o)=>{"use strict";o.d(h,{B:()=>Oe,G:()=>ve,O:()=>_e,a:()=>S,b:()=>C,c:()=>b,d:()=>Pe,e:()=>Ze,f:()=>K,g:()=>re,h:()=>$,i:()=>ee,j:()=>M,k:()=>A,l:()=>_,m:()=>f,n:()=>T,o:()=>ue,p:()=>y,s:()=>ye,t:()=>E});var n=o(1528),i=o(14829),d=o(72784),a=o(88523),l=o(10495),e=o(46384),u=o(52032);let c=0,g=0;const v=new WeakMap,p=ot=>({create:tt=>I(ot,tt),dismiss:(tt,mt,Qe)=>H(document,tt,mt,ot,Qe),getTop:()=>(0,n.c)(function*(){return ue(document,ot)})()}),S=p("ion-alert"),C=p("ion-action-sheet"),_=p("ion-loading"),f=p("ion-modal"),y=p("ion-picker"),b=p("ion-popover"),E=p("ion-toast"),M=ot=>{typeof document<"u"&&O(document);const tt=c++;ot.overlayIndex=tt},A=ot=>(ot.hasAttribute("id")||(ot.id="ion-overlay-"+ ++g),ot.id),I=(ot,tt)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(ot).then(()=>{const mt=document.createElement(ot);return mt.classList.add("overlay-hidden"),Object.assign(mt,Object.assign(Object.assign({},tt),{hasController:!0})),J(document).appendChild(mt),new Promise(Qe=>(0,e.c)(mt,Qe))}):Promise.resolve(),F='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',T=(ot,tt)=>{const mt=ot.querySelector(F);x(mt,tt)},P=(ot,tt)=>{const mt=Array.from(ot.querySelectorAll(F));x(mt.length>0?mt[mt.length-1]:null,tt)},x=(ot,tt)=>{let mt=ot;const Qe=ot?.shadowRoot;Qe&&(mt=Qe.querySelector(F)||ot),mt?(0,e.f)(mt):tt.focus()},O=ot=>{0===c&&(c=1,ot.addEventListener("focus",tt=>{((ot,tt)=>{const mt=ue(tt,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),Qe=ot.target;mt&&Qe&&!mt.classList.contains("ion-disable-focus-trap")&&(mt.shadowRoot?(()=>{if(mt.contains(Qe))mt.lastFocus=Qe;else if("ION-TOAST"===Qe.tagName)x(mt.lastFocus,mt);else{const nt=mt.lastFocus;T(mt,mt),nt===tt.activeElement&&P(mt,mt),mt.lastFocus=tt.activeElement}})():(()=>{if(mt===Qe)mt.lastFocus=void 0;else if("ION-TOAST"===Qe.tagName)x(mt.lastFocus,mt);else{const nt=(0,e.g)(mt);if(!nt.contains(Qe))return;const Pt=nt.querySelector(".ion-overlay-wrapper");if(!Pt)return;if(Pt.contains(Qe)||Qe===nt.querySelector("ion-backdrop"))mt.lastFocus=Qe;else{const tn=mt.lastFocus;T(Pt,mt),tn===tt.activeElement&&P(Pt,mt),mt.lastFocus=tt.activeElement}}})())})(tt,ot)},!0),ot.addEventListener("ionBackButton",tt=>{const mt=ue(ot);mt?.backdropDismiss&&tt.detail.register(d.OVERLAY_BACK_BUTTON_PRIORITY,()=>{mt.dismiss(void 0,Oe)})}),(0,d.shoudUseCloseWatcher)()||ot.addEventListener("keydown",tt=>{if("Escape"===tt.key){const mt=ue(ot);mt?.backdropDismiss&&mt.dismiss(void 0,Oe)}}))},H=(ot,tt,mt,Qe,Ct)=>{const Xe=ue(ot,Qe,Ct);return Xe?Xe.dismiss(tt,mt):Promise.reject("overlay does not exist")},te=(ot,tt)=>((ot,tt)=>(void 0===tt&&(tt="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(ot.querySelectorAll(tt)).filter(mt=>mt.overlayIndex>0)))(ot,tt).filter(mt=>!(ot=>ot.classList.contains("overlay-hidden"))(mt)),ue=(ot,tt,mt)=>{const Qe=te(ot,tt);return void 0===mt?Qe[Qe.length-1]:Qe.find(Ct=>Ct.id===mt)},se=(ot=!1)=>{const mt=J(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");mt&&(ot?mt.setAttribute("aria-hidden","true"):mt.removeAttribute("aria-hidden"))},K=function(){var ot=(0,n.c)(function*(tt,mt,Qe,Ct,Xe){var nt,Pt;if(tt.presented)return;se(!0),void 0!==i.d&&te(i.d).forEach(_n=>_n.setAttribute("aria-hidden","true")),tt.presented=!0,tt.willPresent.emit(),null===(nt=tt.willPresentShorthand)||void 0===nt||nt.emit();const tn=(0,a.b)(tt),hn=tt.enterAnimation?tt.enterAnimation:a.c.get(mt,"ios"===tn?Qe:Ct);(yield Y(tt,hn,tt.el,Xe))&&(tt.didPresent.emit(),null===(Pt=tt.didPresentShorthand)||void 0===Pt||Pt.emit()),"ION-TOAST"!==tt.el.tagName&&Z(tt.el),tt.keyboardClose&&(null===document.activeElement||!tt.el.contains(document.activeElement))&&tt.el.focus(),tt.el.removeAttribute("aria-hidden")});return function(mt,Qe,Ct,Xe,nt){return ot.apply(this,arguments)}}(),Z=function(){var ot=(0,n.c)(function*(tt){let mt=document.activeElement;if(!mt)return;const Qe=mt?.shadowRoot;Qe&&(mt=Qe.querySelector(F)||mt),yield tt.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&mt.focus()});return function(mt){return ot.apply(this,arguments)}}(),re=function(){var ot=(0,n.c)(function*(tt,mt,Qe,Ct,Xe,nt,Pt){var tn,hn,wn;if(!tt.presented)return!1;void 0!==i.d&&1===te(i.d).length&&se(!1),tt.presented=!1;try{tt.el.style.setProperty("pointer-events","none"),tt.willDismiss.emit({data:mt,role:Qe}),null===(tn=tt.willDismissShorthand)||void 0===tn||tn.emit({data:mt,role:Qe});const An=(0,a.b)(tt),_n=tt.leaveAnimation?tt.leaveAnimation:a.c.get(Ct,"ios"===An?Xe:nt);Qe!==ve&&(yield Y(tt,_n,tt.el,Pt)),tt.didDismiss.emit({data:mt,role:Qe}),null===(hn=tt.didDismissShorthand)||void 0===hn||hn.emit({data:mt,role:Qe}),(v.get(tt)||[]).forEach(ht=>ht.destroy()),v.delete(tt),tt.el.classList.add("overlay-hidden"),tt.el.style.removeProperty("pointer-events"),void 0!==tt.el.lastFocus&&(tt.el.lastFocus=void 0)}catch(An){console.error(An)}return tt.el.remove(),void 0!==i.d&&(null===(wn=ue(i.d))||void 0===wn||wn.removeAttribute("aria-hidden")),!0});return function(mt,Qe,Ct,Xe,nt,Pt,tn){return ot.apply(this,arguments)}}(),J=ot=>ot.querySelector("ion-app")||ot.body,Y=function(){var ot=(0,n.c)(function*(tt,mt,Qe,Ct){Qe.classList.remove("overlay-hidden");const nt=mt(tt.el,Ct);(!tt.animated||!a.c.getBoolean("animated",!0))&&nt.duration(0),tt.keyboardClose&&nt.beforeAddWrite(()=>{const tn=Qe.ownerDocument.activeElement;tn?.matches("input,ion-input, ion-textarea")&&tn.blur()});const Pt=v.get(tt)||[];return v.set(tt,[...Pt,nt]),yield nt.play(),!0});return function(mt,Qe,Ct,Xe){return ot.apply(this,arguments)}}(),$=(ot,tt)=>{let mt;const Qe=new Promise(Ct=>mt=Ct);return le(ot,tt,Ct=>{mt(Ct.detail)}),Qe},le=(ot,tt,mt)=>{const Qe=Ct=>{(0,e.b)(ot,tt,Qe),mt(Ct)};(0,e.a)(ot,tt,Qe)},ee=ot=>"cancel"===ot||ot===Oe,we=ot=>ot(),ye=(ot,tt)=>{if("function"==typeof ot)return a.c.get("_zoneGate",we)(()=>{try{return ot(tt)}catch(Qe){throw Qe}})},Oe="backdrop",ve="gesture",_e=39,Pe=ot=>{let mt,tt=!1;const Qe=(0,l.C)(),Ct=(Pt=!1)=>{if(mt&&!Pt)return{delegate:mt,inline:tt};const{el:tn,hasController:hn,delegate:wn}=ot;return tt=null!==tn.parentNode&&!hn,mt=tt?wn||Qe:wn,{inline:tt,delegate:mt}};return{attachViewToDom:function(){var Pt=(0,n.c)(function*(tn){const{delegate:hn}=Ct(!0);if(hn)return yield hn.attachViewToDom(ot.el,tn);const{hasController:wn}=ot;if(wn&&void 0!==tn)throw new Error("framework delegate is missing");return null});return function(hn){return Pt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:Pt}=Ct();Pt&&void 0!==ot.el&&Pt.removeViewFromDom(ot.el.parentElement,ot.el)}}},Ze=()=>{let ot;const tt=()=>{ot&&(ot(),ot=void 0)};return{addClickListener:(Qe,Ct)=>{tt();const Xe=void 0!==Ct?document.getElementById(Ct):null;Xe?ot=((Pt,tn)=>{const hn=()=>{tn.present()};return Pt.addEventListener("click",hn),()=>{Pt.removeEventListener("click",hn)}})(Xe,Qe):(0,u.p)(`A trigger element with the ID "${Ct}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,Qe)},removeClickListener:tt}}},45256:(pe,h,o)=>{"use strict";o.d(h,{c:()=>d,g:()=>l,h:()=>i,o:()=>u});var n=o(1528);const i=(c,g)=>null!==g.closest(c),d=(c,g)=>"string"==typeof c&&c.length>0?Object.assign({"ion-color":!0,[`ion-color-${c}`]:!0},g):g,l=c=>{const g={};return(c=>void 0!==c?(Array.isArray(c)?c:c.split(" ")).filter(v=>null!=v).map(v=>v.trim()).filter(v=>""!==v):[])(c).forEach(v=>g[v]=!0),g},e=/^[a-z][a-z0-9+\-.]*:/,u=function(){var c=(0,n.c)(function*(g,v,p,S){if(null!=g&&"#"!==g[0]&&!e.test(g)){const C=document.querySelector("ion-router");if(C)return v?.preventDefault(),C.push(g,p,S)}return!1});return function(v,p,S,C){return c.apply(this,arguments)}}()},57140:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{AuthenticationHandler:()=>P,AuthenticationHandlerOptions:()=>F,BatchRequestContent:()=>d,BatchResponseContent:()=>a,ChaosHandler:()=>$,ChaosHandlerOptions:()=>re,ChaosStrategy:()=>Z,Client:()=>ht,CustomAuthenticationProvider:()=>nt,FeatureUsageFlag:()=>j,FileUpload:()=>Ze,GraphClientError:()=>c,GraphError:()=>Pt,GraphRequest:()=>hn,HTTPMessageHandler:()=>x,LargeFileUploadTask:()=>Pe,MiddlewareFactory:()=>K,OneDriveLargeFileUploadTask:()=>Qe,PageIterator:()=>Xe,Range:()=>ve,RedirectHandler:()=>G,RedirectHandlerOptions:()=>H,ResponseType:()=>le,RetryHandler:()=>O,RetryHandlerOptions:()=>N,StreamUpload:()=>Ct,TelemetryHandler:()=>ue,TelemetryHandlerOptions:()=>T,UploadResult:()=>_e,getValidRangeSize:()=>mt});var n=o(81316),i=function(Ue){return Ue.GET="GET",Ue.PATCH="PATCH",Ue.POST="POST",Ue.PUT="PUT",Ue.DELETE="DELETE",Ue}(i||{});let d=(()=>{class Ue{static validateDependencies(Te){if(0===Te.size){const He=new Error("Empty requests map, Please provide at least one request.");throw He.name="Empty Requests Error",He}return(He=>{const vt=He.entries();let ut=vt.next();for(;!ut.done;){const wt=ut.value[1];if(void 0!==wt.dependsOn&&wt.dependsOn.length>0)return!1;ut=vt.next()}return!0})(Te)||(He=>{const vt=He.entries();let ut=vt.next();const wt=ut.value[1];if(void 0!==wt.dependsOn&&wt.dependsOn.length>0)return!1;let st=ut;for(ut=vt.next();!ut.done;){const zt=ut.value[1];if(void 0===zt.dependsOn||1!==zt.dependsOn.length||zt.dependsOn[0]!==st.value[1].id)return!1;st=ut,ut=vt.next()}return!0})(Te)||(He=>{const vt=He.entries();let ut=vt.next();const wt=ut.value[1];let st;if(void 0===wt.dependsOn||0===wt.dependsOn.length)st=wt.id;else{if(1!==wt.dependsOn.length)return!1;{const zt=wt.dependsOn[0];if(zt===wt.id||!He.has(zt))return!1;st=zt}}for(ut=vt.next();!ut.done;){const zt=ut.value[1];if((void 0===zt.dependsOn||0===zt.dependsOn.length)&&st!==zt.id||void 0!==zt.dependsOn&&0!==zt.dependsOn.length&&(1===zt.dependsOn.length&&(zt.id===st||zt.dependsOn[0]!==st)||zt.dependsOn.length>1))return!1;ut=vt.next()}return!0})(Te)}static getRequestData(Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){const $e={url:""},je=new RegExp("^https?://");$e.url=je.test(Te.url)?"/"+Te.url.split(/.*?\/\/.*?\//)[1]:Te.url,$e.method=Te.method;const gt={};return Te.headers.forEach((He,vt)=>{gt[vt]=He}),Object.keys(gt).length&&($e.headers=gt),(Te.method===i.PATCH||Te.method===i.POST||Te.method===i.PUT)&&($e.body=yield Ue.getRequestBody(Te)),$e})}static getRequestBody(Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){let je,$e=!1;try{je=yield Te.clone().json(),$e=!0}catch{}if(!$e)try{if(typeof Blob<"u"){const gt=yield Te.blob(),He=new FileReader;je=yield new Promise(vt=>{He.addEventListener("load",()=>{const ut=He.result,st=new RegExp("^s*data:(.+?/.+?(;.+?=.+?)*)?(;base64)?,(.*)s*$").exec(ut);vt(st[4])},!1),He.readAsDataURL(gt)})}else typeof Buffer<"u"&&(je=(yield Te.buffer()).toString("base64"));$e=!0}catch{}return je})}constructor(Te){if(this.requests=new Map,typeof Te<"u"){const $e=Ue.requestLimit;if(Te.length>$e){const je=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${$e}`);throw je.name="Limit Exceeded Error",je}for(const je of Te)this.addRequest(je)}}addRequest(Te){const $e=Ue.requestLimit;if(""===Te.id){const je=new Error("Id for a request is empty, Please provide an unique id");throw je.name="Empty Id For Request",je}if(this.requests.size===$e){const je=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${$e}`);throw je.name="Limit Exceeded Error",je}if(this.requests.has(Te.id)){const je=new Error(`Adding request with duplicate id ${Te.id}, Make the id of the requests unique`);throw je.name="Duplicate RequestId Error",je}return this.requests.set(Te.id,Te),Te.id}removeRequest(Te){const $e=this.requests.delete(Te),je=this.requests.entries();let gt=je.next();for(;!gt.done;){const He=gt.value[1].dependsOn;if(typeof He<"u"){const vt=He.indexOf(Te);-1!==vt&&He.splice(vt,1),0===He.length&&delete gt.value[1].dependsOn}gt=je.next()}return $e}getContent(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Te=[],$e={requests:Te},je=this.requests.entries();let gt=je.next();if(gt.done){const He=new Error("No requests added yet, Please add at least one request.");throw He.name="Empty Payload",He}if(!Ue.validateDependencies(this.requests)){const He=new Error("Invalid dependency found, Dependency should be:\n1. Parallel - no individual request states a dependency in the dependsOn property.\n2. Serial - all individual requests depend on the previous individual request.\n3. Same - all individual requests that state a dependency in the dependsOn property, state the same dependency.");throw He.name="Invalid Dependency",He}for(;!gt.done;){const He=gt.value[1],vt=yield Ue.getRequestData(He.request);if(void 0!==vt.body&&(void 0===vt.headers||void 0===vt.headers["content-type"])){const ut=new Error(`Content-type header is not mentioned for request #${He.id}, For request having body, Content-type header should be mentioned`);throw ut.name="Invalid Content-type header",ut}vt.id=He.id,void 0!==He.dependsOn&&He.dependsOn.length>0&&(vt.dependsOn=He.dependsOn),Te.push(vt),gt=je.next()}return $e.requests=Te,$e})}addDependency(Te,$e){if(!this.requests.has(Te)){const je=new Error(`Dependent ${Te} does not exists, Please check the id`);throw je.name="Invalid Dependent",je}if(typeof $e<"u"&&!this.requests.has($e)){const je=new Error(`Dependency ${$e} does not exists, Please check the id`);throw je.name="Invalid Dependency",je}if(typeof $e<"u"){const je=this.requests.get(Te);if(void 0===je.dependsOn&&(je.dependsOn=[]),-1!==je.dependsOn.indexOf($e)){const gt=new Error(`Dependency ${$e} is already added for the request ${Te}`);throw gt.name="Duplicate Dependency",gt}je.dependsOn.push($e)}else{const je=this.requests.entries();let gt,He=je.next();for(;!He.done&&He.value[1].id!==Te;)gt=He,He=je.next();if(!(typeof gt<"u")){const vt=new Error(`Can't add dependency ${$e}, There is only a dependent request in the batch`);throw vt.name="Invalid Dependency Addition",vt}{const vt=gt.value[0];if(void 0===He.value[1].dependsOn&&(He.value[1].dependsOn=[]),-1!==He.value[1].dependsOn.indexOf(vt)){const ut=new Error(`Dependency ${vt} is already added for the request ${Te}`);throw ut.name="Duplicate Dependency",ut}He.value[1].dependsOn.push(vt)}}}removeDependency(Te,$e){const je=this.requests.get(Te);if(typeof je>"u"||void 0===je.dependsOn||0===je.dependsOn.length)return!1;if(typeof $e<"u"){const gt=je.dependsOn.indexOf($e);return-1!==gt&&(je.dependsOn.splice(gt,1),!0)}return delete je.dependsOn,!0}}return Ue.requestLimit=20,Ue})();class a{constructor(Ee){this.responses=new Map,this.update(Ee)}createResponseObject(Ee){const Te=Ee.body,$e={};if($e.status=Ee.status,void 0!==Ee.statusText&&($e.statusText=Ee.statusText),$e.headers=Ee.headers,void 0!==$e.headers&&void 0!==$e.headers["Content-Type"]&&"application/json"===$e.headers["Content-Type"].split(";")[0]){const je=JSON.stringify(Te);return new Response(je,$e)}return new Response(Te,$e)}update(Ee){this.nextLink=Ee["@odata.nextLink"];const Te=Ee.responses;for(let $e=0,je=Te.length;$e{const Ee=Ue&&Ue.constructor&&Ue.constructor.name;if("Buffer"===Ee||"Blob"===Ee||"File"===Ee||"FormData"===Ee||"string"==typeof Ue)return Ue;if("ArrayBuffer"===Ee)Ue=Buffer.from(Ue);else if("Int8Array"===Ee||"Int16Array"===Ee||"Int32Array"===Ee||"Uint8Array"===Ee||"Uint16Array"===Ee||"Uint32Array"===Ee||"Uint8ClampedArray"===Ee||"Float32Array"===Ee||"Float64Array"===Ee||"DataView"===Ee)Ue=Buffer.from(Ue.buffer);else try{Ue=JSON.stringify(Ue)}catch{throw new Error("Unable to stringify the content")}return Ue},S=Ue=>_(Ue),C=(Ue,Ee)=>(Ee.forEach(Te=>f(Te)),_(Ue,Ee)),_=(Ue,Ee=u)=>{if(-1!==(Ue=Ue.toLowerCase()).indexOf("https://")){const Te=(Ue=Ue.replace("https://","")).indexOf(":"),$e=Ue.indexOf("/");let je="";if(-1!==$e)return-1!==Te&&Te<$e?(je=Ue.substring(0,Te),Ee.has(je)):(je=Ue.substring(0,$e),Ee.has(je))}return!1},f=Ue=>{if(-1!==Ue.indexOf("/"))throw new c("Please add only hosts or hostnames to the CustomHosts config. If the url is `http://example.com:3000/`, host is `example:3000`")};class y{constructor(Ee=[]){this.middlewareOptions=new Map;for(const Te of Ee)this.middlewareOptions.set(Te.constructor,Te)}getMiddlewareOptions(Ee){return this.middlewareOptions.get(Ee)}setMiddlewareOptions(Ee,Te){this.middlewareOptions.set(Ee,Te)}}const b=()=>{let Ue="";for(let Ee=0;Ee<32;Ee++)(8===Ee||12===Ee||16===Ee||20===Ee)&&(Ue+="-"),Ue+=Math.floor(16*Math.random()).toString(16);return Ue},E=(Ue,Ee,Te)=>{let $e=null;if(typeof Request<"u"&&Ue instanceof Request)$e=Ue.headers.get(Te);else if(typeof Ee<"u"&&void 0!==Ee.headers)if(typeof Headers<"u"&&Ee.headers instanceof Headers)$e=Ee.headers.get(Te);else if(Ee.headers instanceof Array){const je=Ee.headers;for(let gt=0,He=je.length;gt{if(typeof Request<"u"&&Ue instanceof Request)Ue.headers.set(Te,$e);else if(typeof Ee<"u")if(void 0===Ee.headers)Ee.headers=new Headers({[Te]:$e});else if(typeof Headers<"u"&&Ee.headers instanceof Headers)Ee.headers.set(Te,$e);else if(Ee.headers instanceof Array){let je=0;const gt=Ee.headers.length;for(;je{typeof Request<"u"&&Ue instanceof Request?Ue.headers.append(Te,$e):typeof Ee<"u"&&(void 0===Ee.headers?Ee.headers=new Headers({[Te]:$e}):typeof Headers<"u"&&Ee.headers instanceof Headers?Ee.headers.append(Te,$e):Ee.headers instanceof Array?Ee.headers.push([Te,$e]):void 0===Ee.headers?Ee.headers={[Te]:$e}:void 0===Ee.headers[Te]?Ee.headers[Te]=$e:Ee.headers[Te]+=`, ${$e}`)};class F{constructor(Ee,Te){this.authenticationProvider=Ee,this.authenticationProviderOptions=Te}}var j=function(Ue){return Ue[Ue.NONE=0]="NONE",Ue[Ue.REDIRECT_HANDLER_ENABLED=1]="REDIRECT_HANDLER_ENABLED",Ue[Ue.RETRY_HANDLER_ENABLED=2]="RETRY_HANDLER_ENABLED",Ue[Ue.AUTHENTICATION_HANDLER_ENABLED=4]="AUTHENTICATION_HANDLER_ENABLED",Ue}(j||{});class T{constructor(){this.featureUsage=j.NONE}static updateFeatureUsageFlag(Ee,Te){let $e;Ee.middlewareControl instanceof y?$e=Ee.middlewareControl.getMiddlewareOptions(T):Ee.middlewareControl=new y,typeof $e>"u"&&($e=new T,Ee.middlewareControl.setMiddlewareOptions(T,$e)),$e.setFeatureUsage(Te)}setFeatureUsage(Ee){this.featureUsage=this.featureUsage|Ee}getFeatureUsage(){return this.featureUsage.toString(16)}}let P=(()=>{class Ue{constructor(Te){this.authenticationProvider=Te}execute(Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){const $e="string"==typeof Te.request?Te.request:Te.request.url;if(S($e)||Te.customHosts&&C($e,Te.customHosts)){let je,gt,He;Te.middlewareControl instanceof y&&(je=Te.middlewareControl.getMiddlewareOptions(F)),je&&(gt=je.authenticationProvider,He=je.authenticationProviderOptions),gt||(gt=this.authenticationProvider);const ut=`Bearer ${yield gt.getAccessToken(He)}`;A(Te.request,Te.options,Ue.AUTHORIZATION_HEADER,ut),T.updateFeatureUsageFlag(Te,j.AUTHENTICATION_HANDLER_ENABLED)}else Te.options.headers&&delete Te.options.headers[Ue.AUTHORIZATION_HEADER];return yield this.nextMiddleware.execute(Te)})}setNext(Te){this.nextMiddleware=Te}}return Ue.AUTHORIZATION_HEADER="Authorization",Ue})();class x{execute(Ee){return(0,n.__awaiter)(this,void 0,void 0,function*(){Ee.response=yield fetch(Ee.request,Ee.options)})}}let N=(()=>{class Ue{constructor(Te=Ue.DEFAULT_DELAY,$e=Ue.DEFAULT_MAX_RETRIES,je=Ue.defaultShouldRetry){if(Te>Ue.MAX_DELAY&&$e>Ue.MAX_MAX_RETRIES){const gt=new Error(`Delay and MaxRetries should not be more than ${Ue.MAX_DELAY} and ${Ue.MAX_MAX_RETRIES}`);throw gt.name="MaxLimitExceeded",gt}if(Te>Ue.MAX_DELAY){const gt=new Error(`Delay should not be more than ${Ue.MAX_DELAY}`);throw gt.name="MaxLimitExceeded",gt}if($e>Ue.MAX_MAX_RETRIES){const gt=new Error(`MaxRetries should not be more than ${Ue.MAX_MAX_RETRIES}`);throw gt.name="MaxLimitExceeded",gt}if(Te<0&&$e<0){const gt=new Error("Delay and MaxRetries should not be negative");throw gt.name="MinExpectationNotMet",gt}if(Te<0){const gt=new Error("Delay should not be negative");throw gt.name="MinExpectationNotMet",gt}if($e<0){const gt=new Error("MaxRetries should not be negative");throw gt.name="MinExpectationNotMet",gt}this.delay=Math.min(Te,Ue.MAX_DELAY),this.maxRetries=Math.min($e,Ue.MAX_MAX_RETRIES),this.shouldRetry=je}getMaxDelay(){return Ue.MAX_DELAY}}return Ue.DEFAULT_DELAY=3,Ue.DEFAULT_MAX_RETRIES=3,Ue.MAX_DELAY=180,Ue.MAX_MAX_RETRIES=10,Ue.defaultShouldRetry=()=>!0,Ue})(),O=(()=>{class Ue{constructor(Te=new N){this.options=Te}isRetry(Te){return-1!==Ue.RETRY_STATUS_CODES.indexOf(Te.status)}isBuffered(Te,$e){const je="string"==typeof Te?$e.method:Te.method;return!((je===i.PUT||je===i.PATCH||je===i.POST)&&"application/octet-stream"===E(Te,$e,"Content-Type"))}getDelay(Te,$e,je){const gt=()=>Number(Math.random().toFixed(3)),He=void 0!==Te.headers?Te.headers.get(Ue.RETRY_AFTER_HEADER):null;let vt;return vt=null!==He?Number.isNaN(Number(He))?Math.round((new Date(He).getTime()-Date.now())/1e3):Number(He):$e>=2?this.getExponentialBackOffTime($e)+je+gt():je+gt(),Math.min(vt,this.options.getMaxDelay()+gt())}getExponentialBackOffTime(Te){return Math.round(.5*(Math.pow(2,Te)-1))}sleep(Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){const $e=1e3*Te;return new Promise(je=>setTimeout(je,$e))})}getOptions(Te){let $e;return Te.middlewareControl instanceof y&&($e=Te.middlewareControl.getMiddlewareOptions(this.options.constructor)),typeof $e>"u"&&($e=Object.assign(new N,this.options)),$e}executeWithRetry(Te,$e,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(yield this.nextMiddleware.execute(Te),$e{class Ue{constructor(Te=Ue.DEFAULT_MAX_REDIRECTS,$e=Ue.defaultShouldRedirect){if(Te>Ue.MAX_MAX_REDIRECTS){const je=new Error(`MaxRedirects should not be more than ${Ue.MAX_MAX_REDIRECTS}`);throw je.name="MaxLimitExceeded",je}if(Te<0){const je=new Error("MaxRedirects should not be negative");throw je.name="MinExpectationNotMet",je}this.maxRedirects=Te,this.shouldRedirect=$e}}return Ue.DEFAULT_MAX_REDIRECTS=5,Ue.MAX_MAX_REDIRECTS=20,Ue.defaultShouldRedirect=()=>!0,Ue})(),G=(()=>{class Ue{constructor(Te=new H){this.options=Te}isRedirect(Te){return-1!==Ue.REDIRECT_STATUS_CODES.indexOf(Te.status)}hasLocationHeader(Te){return Te.headers.has(Ue.LOCATION_HEADER)}getLocationHeader(Te){return Te.headers.get(Ue.LOCATION_HEADER)}isRelativeURL(Te){return-1===Te.indexOf("://")}shouldDropAuthorizationHeader(Te,$e){const je=/^[A-Za-z].+?:\/\/.+?(?=\/|$)/,gt=je.exec(Te);let He,vt;null!==gt&&(He=gt[0]);const ut=je.exec($e);return null!==ut&&(vt=ut[0]),typeof He<"u"&&typeof vt<"u"&&He!==vt}updateRequestUrl(Te,$e){return(0,n.__awaiter)(this,void 0,void 0,function*(){$e.request="string"==typeof $e.request?Te:yield((Ue,Ee)=>(0,n.__awaiter)(void 0,void 0,void 0,function*(){const Te=Ee.headers.get("Content-Type")?yield Ee.blob():yield Promise.resolve(void 0),{method:$e,headers:je,referrer:gt,referrerPolicy:He,mode:vt,credentials:ut,cache:wt,redirect:st,integrity:zt,keepalive:pt,signal:It}=Ee;return new Request(Ue,{method:$e,headers:je,body:Te,referrer:gt,referrerPolicy:He,mode:vt,credentials:ut,cache:wt,redirect:st,integrity:zt,keepalive:pt,signal:It})}))(Te,$e.request)})}getOptions(Te){let $e;return Te.middlewareControl instanceof y&&($e=Te.middlewareControl.getMiddlewareOptions(H)),typeof $e>"u"&&($e=Object.assign(new H,this.options)),$e}executeWithRedirect(Te,$e,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){yield this.nextMiddleware.execute(Te);const gt=Te.response;if($e{class Ue{execute(Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){const $e="string"==typeof Te.request?Te.request:Te.request.url;if(S($e)||Te.customHosts&&C($e,Te.customHosts)){let je=E(Te.request,Te.options,Ue.CLIENT_REQUEST_ID_HEADER);je||(je=b(),M(Te.request,Te.options,Ue.CLIENT_REQUEST_ID_HEADER,je));let He,gt=`${Ue.PRODUCT_NAME}/3.0.7`;if(Te.middlewareControl instanceof y&&(He=Te.middlewareControl.getMiddlewareOptions(T)),He){const vt=He.getFeatureUsage();gt+=` (${Ue.FEATURE_USAGE_STRING}=${vt})`}A(Te.request,Te.options,Ue.SDK_VERSION_HEADER,gt)}else delete Te.options.headers[Ue.CLIENT_REQUEST_ID_HEADER],delete Te.options.headers[Ue.SDK_VERSION_HEADER];return yield this.nextMiddleware.execute(Te)})}setNext(Te){this.nextMiddleware=Te}}return Ue.CLIENT_REQUEST_ID_HEADER="client-request-id",Ue.SDK_VERSION_HEADER="SdkVersion",Ue.PRODUCT_NAME="graph-js",Ue.FEATURE_USAGE_STRING="featureUsage",Ue})();class K{static getDefaultMiddlewareChain(Ee){const Te=[],$e=new P(Ee),je=new O(new N),gt=new ue,He=new x;if(Te.push($e),Te.push(je),"object"==typeof process){const vt=new G(new H);Te.push(vt)}return Te.push(gt),Te.push(He),Te}}var Z=function(Ue){return Ue[Ue.MANUAL=0]="MANUAL",Ue[Ue.RANDOM=1]="RANDOM",Ue}(Z||{});class re{constructor(Ee=Z.RANDOM,Te="Some error Happened",$e,je,gt,He){if(this.chaosStrategy=Ee,this.statusCode=$e,this.statusMessage=Te,this.chaosPercentage=void 0!==je?je:10,this.responseBody=gt,this.headers=He,this.chaosPercentage>100)throw new Error("Error Pecentage can not be more than 100")}}const J={GET:[429,500,502,503,504],POST:[429,500,502,503,504,507],PUT:[429,500,502,503,504,507],PATCH:[429,500,502,503,504],DELETE:[429,500,502,503,504,507]},Y={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"};class ${constructor(Ee=new re,Te){this.options=Ee,this.manualMap=Te}createResponseHeaders(Ee,Te,$e){const je=Ee.headers?new Headers(Ee.headers):new Headers;return je.append("Cache-Control","no-store"),je.append("request-id",Te),je.append("client-request-id",Te),je.append("x-ms-ags-diagnostic",""),je.append("Date",$e),je.append("Strict-Transport-Security",""),429===Ee.statusCode&&je.append("retry-after","3"),je}createResponseBody(Ee,Te,$e){if(Ee.responseBody)return Ee.responseBody;let je;return je=Ee.statusCode>=400?{error:{code:Y[Ee.statusCode],message:Ee.statusMessage,innerError:{"request-id":Te,date:$e}}}:{},je}createResponse(Ee,Te){const $e=Te.request,je=b(),gt=new Date,He=this.createResponseHeaders(Ee,je,gt.toString()),vt=this.createResponseBody(Ee,je,gt.toString()),ut={url:$e,status:Ee.statusCode,statusText:Ee.statusMessage,headers:He};Te.response=new Response("string"==typeof vt?vt:JSON.stringify(vt),ut)}sendRequest(Ee,Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){this.setStatusCode(Ee,Te.request,Te.options.method),Ee.chaosStrategy===Z.MANUAL&&!this.nextMiddleware||Math.floor(100*Math.random()){new RegExp(He+"$").test(je)&&void 0!==this.manualMap.get(He).get($e)&&(Ee.statusCode=this.manualMap.get(He).get($e))})}}else Ee.statusCode=this.getRandomStatusCode($e)}getOptions(Ee){let Te;return Ee.middlewareControl instanceof y&&(Te=Ee.middlewareControl.getMiddlewareOptions(re)),typeof Te>"u"&&(Te=Object.assign(new re,this.options)),Te}execute(Ee){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Te=this.getOptions(Ee);return yield this.sendRequest(Te,Ee)})}setNext(Ee){this.nextMiddleware=Ee}}var le=function(Ue){return Ue.ARRAYBUFFER="arraybuffer",Ue.BLOB="blob",Ue.DOCUMENT="document",Ue.JSON="json",Ue.RAW="raw",Ue.STREAM="stream",Ue.TEXT="text",Ue}(le||{}),ee=function(Ue){return Ue.TEXT_HTML="text/html",Ue.TEXT_XML="text/xml",Ue.APPLICATION_XML="application/xml",Ue.APPLICATION_XHTML="application/xhtml+xml",Ue}(ee||{}),we=function(Ue){return Ue.TEXT_PLAIN="text/plain",Ue.APPLICATION_JSON="application/json",Ue}(we||{}),ye=function(Ue){return Ue.DOCUMENT="^(text\\/(html|xml))|(application\\/(xml|xhtml\\+xml))$",Ue.IMAGE="^image\\/.+",Ue}(ye||{});class Oe{static parseDocumentResponse(Ee,Te){return typeof DOMParser<"u"?new Promise(($e,je)=>{Ee.text().then(gt=>{try{const vt=(new DOMParser).parseFromString(gt,Te);$e(vt)}catch(He){je(He)}})}):Promise.resolve(Ee.body)}static convertResponse(Ee,Te){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(204===Ee.status)return Promise.resolve();let $e;const je=Ee.headers.get("Content-type");switch(Te){case le.ARRAYBUFFER:$e=yield Ee.arrayBuffer();break;case le.BLOB:$e=yield Ee.blob();break;case le.DOCUMENT:$e=yield Oe.parseDocumentResponse(Ee,ee.TEXT_XML);break;case le.JSON:$e=yield Ee.json();break;case le.STREAM:$e=yield Promise.resolve(Ee.body);break;case le.TEXT:$e=yield Ee.text();break;default:if(null!==je){const gt=je.split(";")[0];$e=new RegExp(ye.DOCUMENT).test(gt)?yield Oe.parseDocumentResponse(Ee,gt):new RegExp(ye.IMAGE).test(gt)?Ee.blob():gt===we.TEXT_PLAIN?yield Ee.text():gt===we.APPLICATION_JSON?yield Ee.json():Promise.resolve(Ee.body)}else $e=Promise.resolve(Ee.body)}return $e})}static getResponse(Ee,Te,$e){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(Te===le.RAW)return Promise.resolve(Ee);{const je=yield Oe.convertResponse(Ee,Te);if(!Ee.ok)throw je;if("function"!=typeof $e)return je;$e(null,je)}})}}class ve{constructor(Ee=-1,Te=-1){this.minValue=Ee,this.maxValue=Te}}class _e{get location(){return this._location}set location(Ee){this._location=Ee}get responseBody(){return this._responseBody}set responseBody(Ee){this._responseBody=Ee}constructor(Ee,Te){this._location=Te,this._responseBody=Ee}static CreateUploadResult(Ee,Te){return new _e(Ee,Te.get("location"))}}class Pe{static createUploadSession(Ee,Te,$e,je={}){return(0,n.__awaiter)(this,void 0,void 0,function*(){const gt=yield Ee.api(Te).headers(je).post($e);return{url:gt.uploadUrl,expiry:new Date(gt.expirationDateTime),isCancelled:!1}})}constructor(Ee,Te,$e,je={}){if(this.DEFAULT_FILE_SIZE=5242880,this.client=Ee,!Te.sliceFile)throw new c("Please pass the FileUpload object, StreamUpload object or any custom implementation of the FileObject interface");this.file=Te,this.file=Te,je.rangeSize||(je.rangeSize=this.DEFAULT_FILE_SIZE),this.options=je,this.uploadSession=$e,this.nextRange=new ve(0,this.options.rangeSize-1)}parseRange(Ee){const Te=Ee[0];if(typeof Te>"u"||""===Te)return new ve;const $e=Te.split("-"),je=parseInt($e[0],10);let gt=parseInt($e[1],10);return Number.isNaN(gt)&&(gt=this.file.size-1),new ve(je,gt)}updateTaskStatus(Ee){this.uploadSession.expiry=new Date(Ee.expirationDateTime),this.nextRange=this.parseRange(Ee.nextExpectedRanges)}getNextRange(){if(-1===this.nextRange.minValue)return this.nextRange;const Ee=this.nextRange.minValue;let Te=Ee+this.options.rangeSize-1;return Te>=this.file.size&&(Te=this.file.size-1),new ve(Ee,Te)}sliceFile(Ee){if(console.warn("The LargeFileUploadTask.sliceFile() function has been deprecated and moved into the FileObject interface."),this.file.content instanceof ArrayBuffer||this.file.content instanceof Blob||this.file.content instanceof Uint8Array)return this.file.content.slice(Ee.minValue,Ee.maxValue+1);throw new c("The LargeFileUploadTask.sliceFile() function expects only Blob, ArrayBuffer or Uint8Array file content. Please note that the sliceFile() function is deprecated.")}upload(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ee=this.options&&this.options.uploadEventHandlers;for(;!this.uploadSession.isCancelled;){const Te=this.getNextRange();if(-1===Te.maxValue){const vt=new Error("Task with which you are trying to upload is already completed, Please check for your uploaded file");throw vt.name="Invalid Session",vt}const $e=yield this.file.sliceFile(Te),je=yield this.uploadSliceGetRawResponse($e,Te,this.file.size);if(!je)throw new c("Something went wrong! Large file upload slice response is null.");const gt=yield Oe.getResponse(je);if(201===je.status||200===je.status&>.id)return this.reportProgress(Ee,Te),_e.CreateUploadResult(gt,je.headers);this.updateTaskStatus({expirationDateTime:gt.expirationDateTime||gt.ExpirationDateTime,nextExpectedRanges:gt.NextExpectedRanges||gt.nextExpectedRanges}),this.reportProgress(Ee,Te)}})}reportProgress(Ee,Te){Ee&&Ee.progress&&Ee.progress(Te,Ee.extraCallbackParam)}uploadSlice(Ee,Te,$e){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(Te.maxValue-Te.minValue+1),"Content-Range":`bytes ${Te.minValue}-${Te.maxValue}/${$e}`,"Content-Type":"application/octet-stream"}).put(Ee)})}uploadSliceGetRawResponse(Ee,Te,$e){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(Te.maxValue-Te.minValue+1),"Content-Range":`bytes ${Te.minValue}-${Te.maxValue}/${$e}`,"Content-Type":"application/octet-stream"}).responseType(le.RAW).put(Ee)})}cancel(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ee=yield this.client.api(this.uploadSession.url).responseType(le.RAW).delete();return 204===Ee.status&&(this.uploadSession.isCancelled=!0),Ee})}getStatus(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ee=yield this.client.api(this.uploadSession.url).get();return this.updateTaskStatus(Ee),Ee})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.getStatus(),yield this.upload()})}getUploadSession(){return this.uploadSession}}class Ze{constructor(Ee,Te,$e){if(this.content=Ee,this.name=Te,this.size=$e,!Ee||!Te||!$e)throw new c("Please provide the upload content, name of the file and size of the file")}sliceFile(Ee){return this.content.slice(Ee.minValue,Ee.maxValue+1)}}const mt=(Ue=5242880)=>(Ue>62914560&&(Ue=62914560),(Ue=>(Ue>327680&&(Ue=320*Math.floor(Ue/327680)*1024),Ue))(Ue));let Qe=(()=>{class Ue extends Pe{static constructCreateSessionUrl(Te,$e=Ue.DEFAULT_UPLOAD_PATH){return Te=Te.trim(),""===($e=$e.trim())&&($e="/"),"/"!==$e[0]&&($e=`/${$e}`),"/"!==$e[$e.length-1]&&($e=`${$e}/`),`/me/drive/root:${$e.split("/").map(je=>encodeURIComponent(je)).join("/")}${encodeURIComponent(Te)}:/createUploadSession`}static getFileInfo(Te,$e){let je,gt;return typeof Blob<"u"&&Te instanceof Blob?(je=new File([Te],$e),gt=je.size):typeof File<"u"&&Te instanceof File?(je=Te,gt=je.size):typeof Uint8Array<"u"&&Te instanceof Uint8Array&&(gt=Te.byteLength,je=Te.buffer.slice(Te.byteOffset,Te.byteOffset+Te.byteLength)),{content:je,size:gt}}static create(Te,$e,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!Te||!$e||!je)throw new c("Please provide the Graph client instance, file object and OneDriveLargeFileUploadOptions value");const gt=je.fileName,He=Ue.getFileInfo($e,gt),vt=new Ze(He.content,gt,He.size);return this.createTaskWithFileObject(Te,vt,je)})}static createTaskWithFileObject(Te,$e,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!Te||!$e||!je)throw new c("Please provide the Graph client instance, FileObject interface implementation and OneDriveLargeFileUploadOptions value");const gt=je.uploadSessionURL?je.uploadSessionURL:Ue.constructCreateSessionUrl(je.fileName,je.path),He={fileName:je.fileName,fileDescription:je.fileDescription,conflictBehavior:je.conflictBehavior},vt=yield Ue.createUploadSession(Te,gt,He),ut=mt(je.rangeSize);return new Ue(Te,$e,vt,{rangeSize:ut,uploadEventHandlers:je.uploadEventHandlers})})}static createUploadSession(Te,$e,je){const gt=Object.create(null,{createUploadSession:{get:()=>super.createUploadSession}});return(0,n.__awaiter)(this,void 0,void 0,function*(){return gt.createUploadSession.call(this,Te,$e,{item:{"@microsoft.graph.conflictBehavior":je?.conflictBehavior||"rename",name:je?.fileName,description:je?.fileDescription}})})}constructor(Te,$e,je,gt){super(Te,$e,je,gt)}commit(Te,$e="rename"){return(0,n.__awaiter)(this,void 0,void 0,function*(){const je={name:this.file.name,"@microsoft.graph.conflictBehavior":$e,"@microsoft.graph.sourceUrl":this.uploadSession.url};return yield this.client.api(Te).put(je)})}}return Ue.DEFAULT_UPLOAD_PATH="/",Ue})();class Ct{constructor(Ee,Te,$e){if(this.content=Ee,this.name=Te,this.size=$e,!Ee||!Te||!$e)throw new c("Please provide the Readable Stream content, name of the file and size of the file")}sliceFile(Ee){return(0,n.__awaiter)(this,void 0,void 0,function*(){let Te=Ee.maxValue-Ee.minValue+1;const $e=[];if(this.previousSlice){if(Ee.minValue=Te?this.content.read(Te):yield this.readNBytesFromStream(Te));const je=Buffer.concat($e);return this.previousSlice={fileSlice:je,range:Ee},je})}readNBytesFromStream(Ee){return new Promise((Te,$e)=>{const je=[];let gt=Ee,He=0;this.content.on("end",()=>{if(gt>0)return $e(new c("Stream ended before reading required range size"))}),this.content.on("readable",()=>{let vt;for(;He0&&(gt=Ee-He);return He===Ee?Te(Buffer.concat(je)):this.content&&this.content.readable?void 0:$e(new c("Error encountered while reading the stream during the upload"))})})}}class Xe{constructor(Ee,Te,$e,je){this.client=Ee,this.collection=Te.value,this.nextLink=Te["@odata.nextLink"],this.deltaLink=Te["@odata.deltaLink"],this.callback=$e,this.cursor=0,this.complete=!1,this.requestOptions=je}iterationHelper(){if(void 0===this.collection)return!1;let Ee=!0;for(;Ee&&this.cursor=this.collection.length&&(this.complete=!0)})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return this.iterate()})}isComplete(){return this.complete}}class nt{constructor(Ee){this.provider=Ee}getAccessToken(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return new Promise((Ee,Te)=>{this.provider(($e,je)=>(0,n.__awaiter)(this,void 0,void 0,function*(){if(je)Ee(je);else{$e||($e=new c("Access token is undefined or empty.\t\t\t\t\t\tPlease provide a valid token.\t\t\t\t\t\tFor more help - https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/dev/docs/CustomAuthenticationProvider.md"));const gt=yield c.setGraphClientError($e);Te(gt)}}))})})}}class Pt extends Error{constructor(Ee=-1,Te,$e){super(Te||$e&&$e.message),Object.setPrototypeOf(this,Pt.prototype),this.statusCode=Ee,this.code=null,this.requestId=null,this.date=new Date,this.body=null,this.stack=$e?$e.stack:this.stack}}class tn{static constructError(Ee,Te,$e){const je=new Pt(Te,"",Ee);return void 0!==Ee.name&&(je.code=Ee.name),je.body=Ee.toString(),je.date=new Date,je.headers=$e?.headers,je}static constructErrorFromResponse(Ee,Te,$e){const je=Ee.error,gt=new Pt(Te,je.message);return gt.code=je.code,void 0!==je.innerError&&(gt.requestId=je.innerError["request-id"],gt.date=new Date(je.innerError.date)),gt.body=JSON.stringify(je),gt.headers=$e?.headers,gt}static getError(Ee=null,Te=-1,$e,je){return(0,n.__awaiter)(this,void 0,void 0,function*(){let gt;if(Ee&&Ee.error?gt=tn.constructErrorFromResponse(Ee,Te,je):Ee instanceof Error?gt=tn.constructError(Ee,Te,je):(gt=new Pt(Te),gt.body=Ee),"function"!=typeof $e)return gt;$e(gt,null)})}}class hn{constructor(Ee,Te,$e){this.parsePath=je=>{if(-1!==je.indexOf("https://")){const He=(je=je.replace("https://","")).indexOf("/");-1!==He&&(this.urlComponents.host="https://"+je.substring(0,He),je=je.substring(He+1,je.length));const vt=je.indexOf("/");-1!==vt&&(this.urlComponents.version=je.substring(0,vt),je=je.substring(vt+1,je.length))}"/"===je.charAt(0)&&(je=je.substr(1));const gt=je.indexOf("?");if(-1===gt)this.urlComponents.path=je;else{this.urlComponents.path=je.substr(0,gt);const He=je.substring(gt+1,je.length).split("&");for(const vt of He)this.parseQueryParameter(vt)}},this.httpClient=Ee,this.config=Te,this.urlComponents={host:this.config.baseUrl,version:this.config.defaultVersion,oDataQueryParams:{},otherURLQueryParams:{},otherURLQueryOptions:[]},this._headers={},this._options={},this._middlewareOptions=[],this.parsePath($e)}addCsvQueryParameter(Ee,Te,$e){this.urlComponents.oDataQueryParams[Ee]=this.urlComponents.oDataQueryParams[Ee]?this.urlComponents.oDataQueryParams[Ee]+",":"";let je=[];$e.length>1&&"string"==typeof Te?je=Array.prototype.slice.call($e):"string"==typeof Te?je.push(Te):je=je.concat(Te),this.urlComponents.oDataQueryParams[Ee]+=je.join(",")}buildFullUrl(){const Ee=(Ue=>{const Ee=gt=>gt.replace(/\/+$/,""),Te=gt=>gt.replace(/^\/+/,"");return Array.prototype.slice.call([this.urlComponents.host,this.urlComponents.version,this.urlComponents.path]).reduce((gt,He)=>[Ee(gt),Te(He)].join("/"))})()+this.createQueryString();return this.config.debugLogging&&console.log(Ee),Ee}createQueryString(){const Ee=this.urlComponents,Te=[];if(0!==Object.keys(Ee.oDataQueryParams).length)for(const $e in Ee.oDataQueryParams)Object.prototype.hasOwnProperty.call(Ee.oDataQueryParams,$e)&&Te.push($e+"="+Ee.oDataQueryParams[$e]);if(0!==Object.keys(Ee.otherURLQueryParams).length)for(const $e in Ee.otherURLQueryParams)Object.prototype.hasOwnProperty.call(Ee.otherURLQueryParams,$e)&&Te.push($e+"="+Ee.otherURLQueryParams[$e]);if(0!==Ee.otherURLQueryOptions.length)for(const $e of Ee.otherURLQueryOptions)Te.push($e);return Te.length>0?"?"+Te.join("&"):""}parseQueryParameter(Ee){if("string"==typeof Ee)if("?"===Ee.charAt(0)&&(Ee=Ee.substring(1)),-1!==Ee.indexOf("&")){const Te=Ee.split("&");for(const $e of Te)this.parseQueryParamenterString($e)}else this.parseQueryParamenterString(Ee);else if(Ee.constructor===Object)for(const Te in Ee)Object.prototype.hasOwnProperty.call(Ee,Te)&&this.setURLComponentsQueryParamater(Te,Ee[Te]);return this}parseQueryParamenterString(Ee){if(this.isValidQueryKeyValuePair(Ee)){const Te=Ee.indexOf("="),$e=Ee.substring(0,Te),je=Ee.substring(Te+1);this.setURLComponentsQueryParamater($e,je)}else this.urlComponents.otherURLQueryOptions.push(Ee)}setURLComponentsQueryParamater(Ee,Te){if(-1!==g.indexOf(Ee)){const $e=this.urlComponents.oDataQueryParams[Ee];this.urlComponents.oDataQueryParams[Ee]=!$e||"$expand"!==Ee&&"$select"!==Ee&&"$orderby"!==Ee?Te:$e+","+Te}else this.urlComponents.otherURLQueryParams[Ee]=Te}isValidQueryKeyValuePair(Ee){const Te=Ee.indexOf("=");return!(-1===Te||-1!==Ee.indexOf("(")&&Ee.indexOf("(")1?this.parseMiddleWareArray(Ee):this.middleware=Ee[0]}parseMiddleWareArray(Ee){Ee.forEach((Te,$e)=>{$e{if(typeof Promise>"u"&&typeof fetch>"u"){const Ue=new Error("Library cannot function without Promise and fetch. So, please provide polyfill for them.");throw Ue.name="PolyFillNotAvailable",Ue}if(typeof Promise>"u"){const Ue=new Error("Library cannot function without Promise. So, please provide polyfill for it.");throw Ue.name="PolyFillNotAvailable",Ue}if(typeof fetch>"u"){const Ue=new Error("Library cannot function without fetch. So, please provide polyfill for it.");throw Ue.name="PolyFillNotAvailable",Ue}})();for(const $e in Ee)Object.prototype.hasOwnProperty.call(Ee,$e)&&(this.config[$e]=Ee[$e]);let Te;if(void 0!==Ee.authProvider&&void 0!==Ee.middleware){const $e=new Error;throw $e.name="AmbiguityInInitialization",$e.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain not both",$e}if(void 0!==Ee.authProvider)Te=_n.createWithAuthenticationProvider(Ee.authProvider);else{if(void 0===Ee.middleware){const $e=new Error;throw $e.name="InvalidMiddlewareChain",$e.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain",$e}Te=new wn(...[].concat(Ee.middleware))}this.httpClient=Te}api(Ee){return new hn(this.httpClient,this.config,Ee)}}},80484:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AppRoutingModule=void 0;const n=o(81316),i=o(56568),d=n.__importStar(o(54496)),l=(n.__importStar(o(56568)),[{path:"TestPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(79112))).then(u=>u.CommonTestseitePageModule)},{path:"HomePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(27735))).then(u=>u.CommonHomePageModule)},{path:"DebugPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(37724))).then(u=>u.CommonDebugPageModule)},{path:"EinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(66068))).then(u=>u.CommonEinstellungenPageModule)},{path:"UrlaubPlanungPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(74484))).then(u=>u.CommonUrlaubsplanungPageModule)},{path:"UrlaubUebersichtPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(19204))).then(u=>u.CommonUrlaubsuebersichtPageModule)},{path:"UrlaubFreigabenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(5884))).then(u=>u.CommonUrlaubFreigabenPageModule)},{path:"UrlaubEinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(53964))).then(u=>u.CommonUrlaubEinstellungenPageModule)},{path:"FiStandortelistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(96012))).then(u=>u.FiStandortelistePageModule)},{path:"FiMitarbeiterlistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(99988))).then(u=>u.FIMitarbeiterlistePageModule)},{path:"",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(27735))).then(u=>u.CommonHomePageModule)},{path:"PDFViewerPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(64316))).then(u=>u.CommonPdfViewerPageModule)}]);h.AppRoutingModule=(()=>{class u{static \u0275fac=function(v){return new(v||u)};static \u0275mod=d.\u0275\u0275defineNgModule({type:u});static \u0275inj=d.\u0275\u0275defineInjector({imports:[i.RouterModule.forRoot(l,{preloadingStrategy:i.PreloadAllModules}),i.RouterModule]})}return u})()},86108:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.AppComponent=void 0;const i=o(81316),d=o(80103),a=o(21112),l=i.__importStar(o(17964)),e=i.__importStar(o(54496)),u=i.__importStar(o(10716)),c=i.__importStar(o(7992)),g=i.__importStar(o(59460)),v=i.__importStar(o(97092)),p=i.__importStar(o(9028)),S=i.__importStar(o(14652)),C=i.__importStar(o(19668)),_=i.__importStar(o(29743)),f=i.__importStar(o(22848)),y=i.__importStar(o(15024)),b=i.__importStar(o(58864)),E=i.__importStar(o(9544)),M=i.__importStar(o(8608)),A=i.__importStar(o(34388));h.AppComponent=(()=>{class F{platform;Pool;Menuservice;AuthService;changeDetector;MSALService;Basics;Tools;Const;authService;msalBroadcastService;MitarbeiterDB;MitarbeitersettingsDB;StandortDB;UrlaubDB;GraphService;Debug;AuthSubscription;isIframe;Destroying=new d.Subject;Zoomfaktor;Settingssubscription;constructor(T,P,x,N,O,H,G,te,ue,se,K,Z,re,J,Y,$,le){this.platform=T,this.Pool=P,this.Menuservice=x,this.AuthService=N,this.changeDetector=O,this.MSALService=H,this.Basics=G,this.Tools=te,this.Const=ue,this.authService=se,this.msalBroadcastService=K,this.MitarbeiterDB=Z,this.MitarbeitersettingsDB=re,this.StandortDB=J,this.UrlaubDB=Y,this.GraphService=$,this.Debug=le;try{this.AuthSubscription=null,this.isIframe=!1,this.Zoomfaktor=100,this.Settingssubscription=null}catch(ee){this.Debug.ShowErrorMessage(ee.message,"App Component","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Destroying.next(void 0),this.Destroying.complete(),this.StandortDB.FinishService(),this.MitarbeiterDB.FinishService()}catch(T){this.Debug.ShowErrorMessage(T.message,"App Component","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Settingssubscription=this.Pool.MitarbeitersettingsChanged.subscribe(()=>{this.Zoomfaktor=this.Pool.Mitarbeitersettings.Zoomfaktor}),this.AuthService.SecurityEnabled?(this.isIframe=window!==window.parent&&!window.opener,this.authService.initialize().subscribe(()=>{this.msalBroadcastService.inProgress$.pipe((0,d.filter)(T=>(this.Debug.ShowMessage("Interaction Status: "+T,"App Component","StartApp",this.Debug.Typen.Component),T===a.InteractionStatus.None)),(0,d.takeUntil)(this.Destroying)).subscribe(T=>{this.Debug.ShowMessage("Interaction Status: "+T,"App Component","StartApp",this.Debug.Typen.Component),this.AuthService.SetShowLoginStatus()}),this.AuthService.LoginSuccessEvent.subscribe(()=>{this.Debug.ShowMessage("LoginSuccessEvent -> Start App","App Component","StartApp",this.Debug.Typen.Component),this.StartApp()}),this.StartApp()})):this.StartApp()}catch(T){this.Debug.ShowErrorMessage(T.message,"App Component","OnInit",this.Debug.Typen.Component)}}StartApp(){var T=this;return n(function*(){try{let P,x;if(T.Debug.ShowMessage("Start App","App Component","StartApp",T.Debug.Typen.Component),yield T.platform.ready(),yield T.AuthService.SetActiveUser(),T.Basics.Contentbreite=T.platform.width(),T.Basics.Contenthoehe=T.platform.height(),null!==T.AuthService.ActiveUser){T.AuthService.SetShowLoginStatus(),T.Debug.ShowMessage("Benutzer ist angemeldet: "+T.AuthService.ActiveUser.username,"App Component","StartApp",T.Debug.Typen.Component),T.Pool.ShowProgress=!0,T.Pool.MaxProgressValue=15,T.Pool.CurrentProgressValue=0;try{!0===T.AuthService.SecurityEnabled&&(T.Pool.ProgressMessage="Lade eigene Daten",yield T.GraphService.GetOwnUserinfo(),T.Pool.CurrentProgressValue++),!0===T.AuthService.SecurityEnabled&&(T.Pool.ProgressMessage="Lade eigens Bild",yield T.GraphService.GetOwnUserimage(),T.Pool.CurrentProgressValue++),T.Pool.ProgressMessage="Lade eigene Outlookkategorien",T.Pool.Outlookkatekorien=yield T.GraphService.GetOwnOutlookCategories(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Outlookkategorien",yield T.GraphService.GetOwnOutlookCategories(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Change Log",yield T.Pool.ReadChangelogliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Standortliste",yield T.Pool.ReadStandorteliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade aktuelle Mitarbeiterliste",yield T.Pool.ReadMitarbeiterliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Aktuallisiere Mitarbeiterliste";let N=yield T.GraphService.GetAllUsers();T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Bundesl\xe4nder",yield T.UrlaubDB.ReadRegionen("DE"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Ferien Deutschland",yield T.UrlaubDB.ReadFerien("DE"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Ferien Bulgarien",yield T.UrlaubDB.ReadFerien("BG"),T.Pool.CurrentProgressValue++;for(let O of N)P=l.find(T.Pool.Mitarbeiterliste,H=>H.UserID===O.id),l.isUndefined(P)&&(console.log("Mitarbeiter wurde nicht gefunden:"),console.log(O),-1===O.mail.toLowerCase().indexOf("admin")&&(P=T.MitarbeiterDB.ConvertGraphuserToMitarbeiter(O),console.log("Neuer Mitrabeiter:"),console.log(P),yield T.MitarbeiterDB.AddMitarbeiter(P)))}catch{}!1===T.MitarbeiterDB.CheckMitarbeiterExists(T.GraphService.Graphuser.mail)?(T.Debug.ShowMessage("Mitarbeiter neu eingetragen.","App Component","StartApp",T.Debug.Typen.Component),P=T.MitarbeiterDB.ConvertGraphuserToMitarbeiter(T.GraphService.Graphuser),P=yield T.MitarbeiterDB.AddMitarbeiter(P)):(T.Debug.ShowMessage("Mitarbeiter ist bereits eingetragen.","App Component","StartApp",T.Debug.Typen.Component),P=l.find(T.Pool.Mitarbeiterliste,{UserID:T.GraphService.Graphuser.id})),T.Pool.Mitarbeiterdaten=T.Pool.InitMitarbeiter(P),T.Pool.CheckMitarbeiterdaten(),T.UrlaubDB.SetMitarbeiter(T.Pool.Mitarbeiterdaten),T.Pool.ProgressMessage="Lade Feiertage Deutschland",yield T.UrlaubDB.ReadFeiertage("DE"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Feiertage Bulgarien",yield T.UrlaubDB.ReadFeiertage("BG"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Einstellungen",yield T.Pool.ReadSettingsliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Syncronisiere Gesamtprojektliste",T.Pool.Mitarbeitersettings=T.Pool.InitMitarbeitersettings(),T.Pool.ProgressMessage="Aktualisiere Mitarbeitereinstellungen",yield T.MitarbeitersettingsDB.SaveMitarbeitersettings(),T.Pool.CurrentProgressValue++,T.Zoomfaktor=T.Pool.Mitarbeitersettings.Zoomfaktor,T.Pool.MitarbeitersettingsChanged.emit(),null===T.Pool.Mitarbeiterdaten.SettingsID&&(T.Pool.Mitarbeiterdaten.SettingsID=T.Pool.Mitarbeitersettings._id,yield T.MitarbeiterDB.UpdateMitarbeiter(T.Pool.Mitarbeiterdaten)),T.MitarbeiterDB.InitService(),T.StandortDB.InitService(),T.Pool.ShowProgress=!1,x=!0===T.Pool.Mitarbeiterdaten.Planeradministrator?T.Const.Pages.HomePage:T.Const.Pages.UrlaubPlanungPage,T.Pool.ProjektdatenLoaded=!0,T.SetProjekteMenuebereich(x),T.Tools.SetRootPage(x).then(()=>{T.Pool.LoadingAllDataFinished.emit()})}else T.AuthService.SetShowLoginStatus(),T.Debug.ShowMessage("Benutzer ist nicht angemeldet","App Component","StartApp",T.Debug.Typen.Component)}catch(P){T.Debug.ShowErrorMessage(P.message,"App Component","StartApp",T.Debug.Typen.Component)}})()}SetProjekteMenuebereich(T){try{switch(T){case this.Const.Pages.HomePage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Home,this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste;break;case this.Const.Pages.EmaillistePage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Email;break;case this.Const.Pages.UrlaubPlanungPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Planung;break;case this.Const.Pages.UrlaubUebersichtPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Uebersicht;break;case this.Const.Pages.UrlaubFreigabenPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Freigaben;break;case this.Const.Pages.UrlaubEinstellungenPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Einstellungen;break;default:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte}switch(T){case this.Const.Pages.PjAufgabenlistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste;break;case this.Const.Pages.PjProtokolleListePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Protokolle;break;case this.Const.Pages.PjBaustelleLoplistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.LOPListe;break;case this.Const.Pages.PjBaustelleTagebuchlistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Bautagebuch;break;case this.Const.Pages.PjFestlegungslistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Festlegungen;break;case this.Const.Pages.PjPlanungsmatrixPage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Planungsmatrix;break;case this.Const.Pages.PjSimontabellelistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Simontabelle;break;case this.Const.Pages.PjNotizenListePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Notizen}}catch(P){this.Debug.ShowErrorMessage(P,"App Component","function",this.Debug.Typen.Component)}}ngAfterContentChecked(){this.changeDetector.detectChanges()}static \u0275fac=function(P){return new(P||F)(e.\u0275\u0275directiveInject(u.Platform),e.\u0275\u0275directiveInject(c.DatabasePoolService),e.\u0275\u0275directiveInject(g.MenueService),e.\u0275\u0275directiveInject(v.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(p.MsalService),e.\u0275\u0275directiveInject(S.BasicsProvider),e.\u0275\u0275directiveInject(C.ToolsProvider),e.\u0275\u0275directiveInject(_.ConstProvider),e.\u0275\u0275directiveInject(p.MsalService),e.\u0275\u0275directiveInject(p.MsalBroadcastService),e.\u0275\u0275directiveInject(f.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(y.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(b.DatabaseStandorteService),e.\u0275\u0275directiveInject(E.DatabaseUrlaubService),e.\u0275\u0275directiveInject(M.Graphservice),e.\u0275\u0275directiveInject(A.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:F,selectors:[["app-root"]],decls:3,vars:2,consts:[["Outlet",""]],template:function(P,x){1&P&&(e.\u0275\u0275elementStart(0,"ion-app"),e.\u0275\u0275element(1,"ion-router-outlet",null,0),e.\u0275\u0275elementEnd()),2&P&&(e.\u0275\u0275advance(),e.\u0275\u0275styleProp("zoom",x.Zoomfaktor,"%"))},dependencies:[u.IonApp,u.IonRouterOutlet],styles:['ngx-material-timepicker-content{--body-background-color: #7b6a58;--primary-font-family: "Roboto",sans-serif;--button-color: none !important;--dial-active-color: #fff;--dial-inactive-color: rgba(255, 255, 255, .5);--dial-background-color: #354547 !important;--dial-editable-active-color: #c7d304 !important;--dial-editable-background-color: #fff;--clock-face-time-active-color: #fff;--clock-face-time-inactive-color: #6c6c6c;--clock-face-inner-time-inactive-color: #929292;--clock-face-time-disabled-color: #c5c5c5;--clock-face-background-color: #354547;--clock-hand-color: #c7d304 !important}']})}return F})()},5204:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AppModule=h.MSALInstanceFactory=void 0;const n=o(81316),i=o(14476),d=o(10716),a=o(86108),l=o(80484),e=o(19668),u=o(34388),c=o(29743),g=o(14652),v=o(33940),p=o(59460),S=o(21052),C=o(44556),_=o(97048),f=o(9028),y=o(21112),b=o(36716),E=o(2300),M=o(57848),A=n.__importStar(o(54496)),F=(n.__importStar(o(10716)),!1===b.environment.production?"http://localhost:4200":"https://polite-cliff-084832d03.4.azurestaticapps.net"),T=!1===b.environment.production?"http://localhost:80":"bae-urlaubsplaner-docker.azurewebsites.net",H=window.navigator.userAgent.indexOf("MSIE ")>-1||window.navigator.userAgent.indexOf("Trident/")>-1,G=(Z,re)=>{console.log(re)};h.MSALInstanceFactory=()=>new y.PublicClientApplication({auth:{clientId:"e85e5489-e9fd-4d10-b6aa-37be3ce084b6",authority:"https://login.microsoftonline.com/8870822d-b5ee-4a63-b4ea-7147f0ee753d",redirectUri:F},cache:{cacheLocation:y.BrowserCacheLocation.LocalStorage,storeAuthStateInCookie:H},system:{loggerOptions:{loggerCallback:G,logLevel:y.LogLevel.Error,piiLoggingEnabled:!1}}});const ue=()=>{const Z=new Map;return Z.set("https://graph.microsoft.com/v1.0/me",["user.read"]),Z.set(T,["api://0caad6ac-8087-46ce-99ca-690c083121a8/database_access"]),{interactionType:y.InteractionType.Redirect,protectedResourceMap:Z}},se=()=>({interactionType:y.InteractionType.Redirect,authRequest:{scopes:["User.Read","offline_access","openid","profile","email"]}});h.AppModule=(()=>{class Z{static \u0275fac=function(Y){return new(Y||Z)};static \u0275mod=A.\u0275\u0275defineNgModule({type:Z,bootstrap:[a.AppComponent,f.MsalRedirectComponent]});static \u0275inj=A.\u0275\u0275defineInjector({providers:[{provide:_.HTTP_INTERCEPTORS,useClass:f.MsalInterceptor,multi:!0},{provide:f.MSAL_INSTANCE,useFactory:h.MSALInstanceFactory},{provide:f.MSAL_GUARD_CONFIG,useFactory:se},{provide:f.MSAL_INTERCEPTOR_CONFIG,useFactory:ue},f.MsalService,f.MsalGuard,f.MsalBroadcastService,e.ToolsProvider,u.DebugProvider,c.ConstProvider,g.BasicsProvider,p.MenueService,v.LoadingAnimationService,S.DisplayService],imports:[i.BrowserModule,d.IonicModule.forRoot({innerHTMLTemplatesEnabled:!0}),l.AppRoutingModule,C.BrowserAnimationsModule,_.HttpClientModule,f.MsalModule,E.EditorModule,M.FontAwesomeModule]})}return Z})()},64168:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiChangelogEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),a=n.__importDefault(o(35908)),l=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(21052)),c=n.__importStar(o(29743)),g=n.__importStar(o(19668)),v=n.__importStar(o(51708)),p=n.__importStar(o(91368)),S=n.__importStar(o(10716)),C=n.__importStar(o(38056)),_=n.__importStar(o(90212)),f=n.__importStar(o(25856)),y=n.__importStar(o(29856));function b(A,I){if(1&A){const F=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",16),l.\u0275\u0275listener("CheckChanged",function(T){l.\u0275\u0275restoreView(F);const P=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(P.CanDeleteCheckedChanged(T))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(6,"td",17),l.\u0275\u0275elementStart(7,"td")(8,"ion-button",18),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(F);const T=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(T.DeleteButtonClicked())}),l.\u0275\u0275element(9,"ion-icon",19),l.\u0275\u0275elementStart(10,"ion-text"),l.\u0275\u0275text(11,"Eintrag l\xf6schen"),l.\u0275\u0275elementEnd()()()()()()()}if(2&A){const F=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(5),l.\u0275\u0275property("Checked",F.CanDelete),l.\u0275\u0275advance(3),l.\u0275\u0275property("disabled",!F.CanDelete)}}function E(A,I){if(1&A){const F=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"input-clone",12),l.\u0275\u0275twoWayListener("ValueChange",function(T){l.\u0275\u0275restoreView(F);const P=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(P.DB.CurrentChangelog.Version,T)||(P.DB.CurrentChangelog.Version=T),l.\u0275\u0275resetView(T)}),l.\u0275\u0275listener("TextChanged",function(T){l.\u0275\u0275restoreView(F);const P=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(P.TextChanged(T))}),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(4,"ion-row")(5,"ion-col")(6,"input-clone",13),l.\u0275\u0275twoWayListener("ValueChange",function(T){l.\u0275\u0275restoreView(F);const P=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(P.DB.CurrentChangelog.Beschreibung,T)||(P.DB.CurrentChangelog.Beschreibung=T),l.\u0275\u0275resetView(T)}),l.\u0275\u0275listener("TextChanged",function(T){l.\u0275\u0275restoreView(F);const P=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(P.TextChanged(T))}),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(7,"ion-row")(8,"ion-col"),l.\u0275\u0275element(9,"input-clone",14),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(10,"ion-col"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(11,"ion-row")(12,"ion-col",15),l.\u0275\u0275element(13,"br")(14,"br"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(15,b,12,2,"ion-row",6),l.\u0275\u0275elementEnd()}if(2&A){const F=l.\u0275\u0275nextContext();l.\u0275\u0275advance(3),l.\u0275\u0275twoWayProperty("Value",F.DB.CurrentChangelog.Version),l.\u0275\u0275property("Required",!1)("MaxLength",100),l.\u0275\u0275advance(3),l.\u0275\u0275twoWayProperty("Value",F.DB.CurrentChangelog.Beschreibung),l.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",200),l.\u0275\u0275advance(3),l.\u0275\u0275property("Value",F.GetDatum())("Enabled",!1),l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",null!==F.DB.CurrentChangelog._id)}}h.FiChangelogEditorComponent=(()=>{class A{Debug;Displayservice;Const;Tools;DB;Valid;CanDelete;JoiShema;ValidChange=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;DeleteClickedEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(F,j,T,P,x){this.Debug=F,this.Displayservice=j,this.Const=T,this.Tools=P,this.DB=x;try{this.Valid=!0,this.Valid=!0,this.Titel="Change Log bearbeiten",this.Iconname="location-outline",this.Dialogbreite=400,this.Dialoghoehe=300,this.PositionY=100,this.ZIndex=2e3,this.CanDelete=!1}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Changelogeditor)}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Beschreibung:d.string().required().max(100)}).options({stripUnknown:!0})}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Changelogeditor,this.ZIndex)}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","OnInit",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentChangelog).error,this.ValidChange.emit(this.Valid)}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(F){try{this.ValidateInput()}catch(j){this.Debug.ShowErrorMessage(j.message,"Changelog Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteChangelog().then(()=>{this.DeleteClickedEvent.emit()}).catch(F=>{this.Tools.ShowHinweisDialog(F.error.message)})}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentChangelog._id?this.DB.AddChangelog().then(F=>{this.OkClickedEvent.emit()}).catch(F=>{this.Tools.ShowHinweisDialog(F.error)}):this.DB.UpdateChangelog().then(()=>{this.OkClickedEvent.emit()}).catch(F=>{this.Tools.ShowHinweisDialog(F.error.message)})}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(F){F.preventDefault(),F.stopPropagation()}CanDeleteCheckedChanged(F){try{this.CanDelete=F.status}catch(j){this.Debug.ShowErrorMessage(j.message,"Changelog Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetDatum(){try{return(0,a.default)(this.DB.CurrentChangelog.Zeitstempel).format("DD.MM.YYYY")}catch(F){this.Debug.ShowErrorMessage(F,"Changelog Editor","GetDatum",this.Debug.Typen.Component)}}static \u0275fac=function(j){return new(j||A)(l.\u0275\u0275directiveInject(e.DebugProvider),l.\u0275\u0275directiveInject(u.DisplayService),l.\u0275\u0275directiveInject(c.ConstProvider),l.\u0275\u0275directiveInject(g.ToolsProvider),l.\u0275\u0275directiveInject(v.DatabaseChangelogService))};static \u0275cmp=l.\u0275\u0275defineComponent({type:A,selectors:[["fi-changelog-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{ValidChange:"ValidChange",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",DeleteClickedEvent:"DeleteClickedEvent"},decls:25,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["Titel","Version",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Beschreibung",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Datum",3,"Value","Enabled"],["size","12"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(j,T){1&j&&(l.\u0275\u0275elementStart(0,"div",0)(1,"div",1),l.\u0275\u0275listener("click",function(x){return T.ContentClicked(x)}),l.\u0275\u0275elementStart(2,"div",2),l.\u0275\u0275listener("click",function(x){return T.ContentClicked(x)}),l.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),l.\u0275\u0275element(8,"ion-icon",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(9,"td"),l.\u0275\u0275text(10),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),l.\u0275\u0275template(13,E,16,10,"ion-grid",6),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),l.\u0275\u0275listener("click",function(){return T.CancelButtonClicked()}),l.\u0275\u0275element(20,"ion-icon",9),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(21,"td",10),l.\u0275\u0275elementStart(22,"td")(23,"div",8),l.\u0275\u0275listener("click",function(){return!0===T.Valid?T.OkButtonClicked():null}),l.\u0275\u0275element(24,"ion-icon",11),l.\u0275\u0275elementEnd()()()()()()()()()),2&j&&(l.\u0275\u0275styleProp("z-index",T.ZIndex),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("background",T.Displayservice.ShowOpacity(T.Displayservice.Dialognamen.Changelogeditor)?"rgba(0, 0, 0, 0.5)":"none"),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("width",T.Dialogbreite,"px")("height",T.Dialoghoehe,"px")("top",T.PositionY,"px"),l.\u0275\u0275advance(6),l.\u0275\u0275property("name",T.Iconname),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color","white"),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate(T.Titel),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",T.DB.CurrentChangelog),l.\u0275\u0275advance(11),l.\u0275\u0275property("color",!0===T.Valid?"weiss":"grau"))},dependencies:[p.NgIf,S.IonButton,S.IonCol,S.IonContent,S.IonFooter,S.IonGrid,S.IonHeader,S.IonIcon,S.IonRow,S.IonText,C.InputCloneComponent,_.PageHeaderComponent,f.CheckboxClonComponent,y.PageFooterComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%)}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #354547;border-right:3px solid #354547;width:100%;height:100%;display:flex;flex-direction:row}"]})}return A})()},12095:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiChangelogEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(33780),l=o(61540),e=o(6512),u=o(70216),c=o(7388),g=o(90520),v=n.__importStar(o(54496));h.FiChangelogEditorModule=(()=>{class S{static \u0275fac=function(f){return new(f||S)};static \u0275mod=v.\u0275\u0275defineNgModule({type:S});static \u0275inj=v.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,l.InputCloneKeeperModule,e.AbstandElementFixedModule,u.PageHeaderModule,c.CheckboxClonModule,g.PageFooterModule]})}return S})()},80887:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterAuswahlComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),a=n.__importStar(o(54496)),l=n.__importStar(o(14652)),e=n.__importStar(o(34388)),u=n.__importStar(o(19668)),c=n.__importStar(o(58864)),g=n.__importStar(o(29743)),v=n.__importStar(o(21052)),p=n.__importStar(o(7992)),S=n.__importStar(o(91368)),C=n.__importStar(o(10716)),_=n.__importStar(o(25856)),f=n.__importStar(o(1215)),y=n.__importStar(o(90212)),b=n.__importStar(o(29856)),E=["SmallAlphabet"];function M(N,O){if(1&N&&(a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",24)(2,"ion-text",31)(3,"b"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()()()),2&N){const H=a.\u0275\u0275nextContext().index,G=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(G.Mitarbeiterbuchstabenliste[H])}}function A(N,O){if(1&N&&(a.\u0275\u0275elementStart(0,"td"),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&N){const H=a.\u0275\u0275nextContext(2).$implicit;a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate3(" ",H.Name," ",H.Vorname," / ",H.Kuerzel," ")}}function I(N,O){if(1&N&&(a.\u0275\u0275elementStart(0,"td")(1,"span"),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"span",34),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(5,"span"),a.\u0275\u0275text(6),a.\u0275\u0275elementEnd(),a.\u0275\u0275text(7),a.\u0275\u0275elementEnd()),2&N){const H=a.\u0275\u0275nextContext(2).$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(H.Text_A),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(H.Text_B),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(H.Text_C),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate1(" / ",H.Kuerzel," ")}}function F(N,O){if(1&N){const H=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"table",32)(1,"tr")(2,"td")(3,"checkbox-clon",33),a.\u0275\u0275listener("CheckChanged",function(te){a.\u0275\u0275restoreView(H);const ue=a.\u0275\u0275nextContext(3);return a.\u0275\u0275resetView(ue.CheckedChanged(te))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(4,A,2,3,"td",11)(5,I,8,4,"td",11),a.\u0275\u0275elementEnd()()}if(2&N){const H=a.\u0275\u0275nextContext(),G=H.index,te=H.$implicit;a.\u0275\u0275advance(3),a.\u0275\u0275property("Index",G)("Checked",te.Selected),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!te.Filtered),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",te.Filtered)}}function j(N,O){if(1&N){const H=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-item",22),a.\u0275\u0275listener("click",function(){const ue=a.\u0275\u0275restoreView(H).$implicit,se=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(se.MitrabeiterButtonClicked(ue))}),a.\u0275\u0275elementStart(1,"ion-grid",23),a.\u0275\u0275template(2,M,5,1,"ion-row",11),a.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",24)(5,"div",25)(6,"table",16)(7,"tr")(8,"td"),a.\u0275\u0275template(9,F,6,4,"table",26),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"table",27)(13,"tr"),a.\u0275\u0275element(14,"td",28),a.\u0275\u0275elementStart(15,"td",29),a.\u0275\u0275text(16,"Stadort:"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(17,"td"),a.\u0275\u0275text(18),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(19,"td",30),a.\u0275\u0275elementEnd()()()()()()()()()()}if(2&N){const H=O.$implicit,G=O.index,te=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",""!==te.Mitarbeiterbuchstabenliste[G]),a.\u0275\u0275advance(7),a.\u0275\u0275property("ngIf",null!==H),a.\u0275\u0275advance(9),a.\u0275\u0275textInterpolate(te.DBStandort.GetStandort(H.StandortID))}}function T(N,O){if(1&N&&(a.\u0275\u0275elementStart(0,"ion-list"),a.\u0275\u0275template(1,j,20,3,"ion-item",21),a.\u0275\u0275elementEnd()),2&N){const H=a.\u0275\u0275nextContext();a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",H.Anzeigeliste)}}function P(N,O){1&N&&(a.\u0275\u0275elementStart(0,"div",35),a.\u0275\u0275text(1," keine Eintr\xe4ge unter diesem Filter vorhanden "),a.\u0275\u0275elementEnd())}h.FiMitarbeiterAuswahlComponent=(()=>{class N{Basics;Debug;Tools;DBStandort;Const;Displayservice;Pool;Alphabetcomponent;Titel;Iconname;AuswahlIDliste;Multiselect;Dialogbreite;ZIndex;OnlyProjektmitarbeiter;OkClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;StandortfilterClickedEvent=new i.EventEmitter;Anzeigeliste;Mitarbeiterbuchstabenliste;Standardalphabet;Mitarbeiteralphabet;Mitarbeiteralphabetauswahl;Alphapetbreite;Lastletter;Mitarbeiterfiltertext;Mitarbeiterliste;FilterSubscription;PositionY;AuswahlIDListeSicherung;constructor(H,G,te,ue,se,K,Z){this.Basics=H,this.Debug=G,this.Tools=te,this.DBStandort=ue,this.Const=se,this.Displayservice=K,this.Pool=Z;try{this.AuswahlIDliste=[],this.Mitarbeiterbuchstabenliste=[],this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiteralphabet=this.Standardalphabet,this.Alphapetbreite=44,this.Mitarbeiterfiltertext="",this.Multiselect=!1,this.Titel=this.Const.NONE,this.Iconname="people-outline",this.Dialogbreite=400,this.PositionY=100,this.ZIndex=3e3,this.Mitarbeiterliste=[],this.FilterSubscription=null,this.OnlyProjektmitarbeiter=!0}catch(re){this.Debug.ShowErrorMessage(re.message,"Mitarbeiter Auswahl","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl),this.FilterSubscription.unsubscribe()}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","OnDestroy",this.Debug.Typen.Component)}}InitTitel(){}ngOnInit(){try{this.AuswahlIDListeSicherung=d.cloneDeep(this.AuswahlIDliste),this.Alphabetcomponent&&this.Alphabetcomponent.InitScreen(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl,this.ZIndex),this.FilterSubscription=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","function",this.Debug.Typen.Component)}}PrepareDaten(){try{let H,G,te,ue,se,K,Z,re,J,Y,$,le;if(null!==this.Pool.Mitarbeiterliste){if(this.Lastletter="",this.Mitarbeiterliste=[],this.OnlyProjektmitarbeiter||(this.Mitarbeiterliste=d.cloneDeep(this.Pool.Mitarbeiterliste)),H=d.cloneDeep(this.Mitarbeiterliste),H=d.filter(H,ee=>!1===ee.Archiviert),H.sort((ee,we)=>ee.Namewe.Name?1:0),null!==this.DBStandort.CurrentStandortfilter){G=d.cloneDeep(H),H=[];for(let ee of G)ee.StandortID===this.DBStandort.CurrentStandortfilter._id&&H.push(ee)}if(H.length>6){this.Mitarbeiteralphabet=["Alle"];for(let ee of H)te=ee.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(te)&&this.Mitarbeiteralphabet.push(te)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){G=d.cloneDeep(H),H=[];for(let ee of G)te=ee.Name.substring(0,1).toUpperCase(),te="\xc4"===te?"A":te,te="\xd6"===te?"O":te,te="\xdc"===te?"U":te,this.Mitarbeiteralphabetauswahl===te&&H.push(ee)}if(""!==this.Mitarbeiterfiltertext){G=d.cloneDeep(H),H=[];for(let ee of G)Y=this.Mitarbeiterfiltertext.toLowerCase(),$=ee.Name.toLowerCase(),J=$.indexOf(Y),-1!==J&&(ue=ee.Name.length,re=Y.length,se=ee.Name.substr(0,J),K=ee.Name.substr(J,re),re=ue-re-J,Z=ee.Name.substr(ue-re,re),ee.Filtered=!0,ee.Text_A=se,ee.Text_B=K,ee.Text_C=Z,H.push(ee))}this.Mitarbeiterbuchstabenliste=[];for(let ee of H)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(ee));for(le of H)le.Selected=!1;for(let ee of this.AuswahlIDliste)le=d.find(H,{_id:ee}),d.isUndefined(le)||(le.Selected=!0);this.Anzeigeliste=d.cloneDeep(H)}}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","PrepareDaten",this.Debug.Typen.Component)}}GetMitarbeiterAlphabetbuchstabe(H){try{let G=H.Name.substring(0,1).toUpperCase();return G!==this.Lastletter?(this.Lastletter=G,G):""}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiter Auswahl","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Component)}}MitrabeiterButtonClicked(H){}AlphabetClicked(H){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=H,this.PrepareDaten()}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiter Auswahl","AlphabetClicked",this.Debug.Typen.Component)}}CheckedChanged(H){try{let G;if(!1===this.Multiselect){for(G of this.Mitarbeiterliste)G.Selected=!1;for(G of this.Anzeigeliste)G.Selected=!1}G=d.find(this.Mitarbeiterliste,{_id:this.Anzeigeliste[H.index]._id}),d.isUndefined(G)||(G.Selected=H.status,!0===H.status?this.AuswahlIDliste.push(G._id):this.AuswahlIDliste=d.filter(this.AuswahlIDliste,te=>te!==G._id)),this.Anzeigeliste[H.index].Selected=H.status}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiter Auswahl","CheckedChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit();try{this.AuswahlIDliste=d.cloneDeep(this.AuswahlIDListeSicherung)}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","CancelButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){this.OkClickedEvent.emit(this.AuswahlIDliste)}ContentClicked(H){H.preventDefault(),H.stopPropagation()}StandortfilterButtonClicked(){try{this.StandortfilterClickedEvent.emit()}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","StandortfilterButtonClicked",this.Debug.Typen.Component)}}GetStandortfiller(){try{return null===this.DBStandort.CurrentStandortfilter?"kein Standortfilter":this.DBStandort.CurrentStandortfilter.Kuerzel+" / "+this.DBStandort.CurrentStandortfilter.Standort}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","GetStandortfiller",this.Debug.Typen.Component)}}static \u0275fac=function(G){return new(G||N)(a.\u0275\u0275directiveInject(l.BasicsProvider),a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(u.ToolsProvider),a.\u0275\u0275directiveInject(c.DatabaseStandorteService),a.\u0275\u0275directiveInject(g.ConstProvider),a.\u0275\u0275directiveInject(v.DisplayService),a.\u0275\u0275directiveInject(p.DatabasePoolService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:N,selectors:[["fi-mitarbeiter-auswahl"]],viewQuery:function(G,te){if(1&G&&a.\u0275\u0275viewQuery(E,7),2&G){let ue;a.\u0275\u0275queryRefresh(ue=a.\u0275\u0275loadQuery())&&(te.Alphabetcomponent=ue.first)}},inputs:{Titel:"Titel",Iconname:"Iconname",AuswahlIDliste:"AuswahlIDliste",Multiselect:"Multiselect",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",OnlyProjektmitarbeiter:"OnlyProjektmitarbeiter"},outputs:{OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent",StandortfilterClickedEvent:"StandortfilterClickedEvent"},decls:36,vars:20,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],[2,"width","4px"],["color","weiss",3,"name"],["colspan","3"],["size","small","color","grau",3,"click"],["name","funnel-outline"],[1,"innerkeeperclass"],[1,"innerkeeperlisteclass"],[4,"ngIf"],["class","emptymessageclass",4,"ngIf"],[1,"innerkeeperalphabetclass"],[3,"Buchstabenliste","Breite","Auswahl","AlphabetClicked"],["SmallAlphabet",""],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["color","weiss","name","checkmark-outline",2,"font-size","28px"],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[1,"kontaktclass"],["cellspacing","0","cellpadding","0",4,"ngIf"],[1,"infotable",2,"white-space","nowrap"],[2,"width","28px"],[1,"ergonametextclass"],[2,"width","20px"],["color","orange"],["cellspacing","0","cellpadding","0"],[3,"Index","Checked","CheckChanged"],[2,"color","green"],[1,"emptymessageclass"]],template:function(G,te){1&G&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(se){return te.ContentClicked(se)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(se){return te.ContentClicked(se)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr"),a.\u0275\u0275element(7,"td",4),a.\u0275\u0275elementStart(8,"td"),a.\u0275\u0275element(9,"ion-icon",5),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(10,"td"),a.\u0275\u0275text(11),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(12,"tr")(13,"td",6)(14,"ion-button",7),a.\u0275\u0275listener("click",function(){return te.StandortfilterButtonClicked()}),a.\u0275\u0275element(15,"ion-icon",8),a.\u0275\u0275text(16),a.\u0275\u0275elementEnd()()()()()(),a.\u0275\u0275elementStart(17,"ion-content")(18,"div",9)(19,"div",10),a.\u0275\u0275template(20,T,2,1,"ion-list",11)(21,P,2,0,"div",12),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(22,"div",13)(23,"alphabet-relative",14,15),a.\u0275\u0275listener("AlphabetClicked",function(se){return te.AlphabetClicked(se)}),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(25,"ion-footer")(26,"page-footer")(27,"table",16)(28,"tr")(29,"td")(30,"div",17),a.\u0275\u0275listener("click",function(){return te.CancelButtonClicked()}),a.\u0275\u0275element(31,"ion-icon",18),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(32,"td",19),a.\u0275\u0275elementStart(33,"td")(34,"div",17),a.\u0275\u0275listener("click",function(){return te.OkButtonClicked()}),a.\u0275\u0275element(35,"ion-icon",20),a.\u0275\u0275elementEnd()()()()()()()()()),2&G&&(a.\u0275\u0275styleProp("z-index",te.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",te.Displayservice.ShowOpacity(te.Displayservice.Dialognamen.Mitarbeiterauswahl)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",te.Dialogbreite,"px")("bottom",te.PositionY,"px")("top",te.PositionY,"px"),a.\u0275\u0275advance(7),a.\u0275\u0275property("name",te.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(te.Titel),a.\u0275\u0275advance(5),a.\u0275\u0275textInterpolate1(" ",te.GetStandortfiller()," "),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngIf",te.Mitarbeiterliste&&te.Anzeigeliste.length>0),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",te.Mitarbeiterliste&&0===te.Anzeigeliste.length),a.\u0275\u0275advance(2),a.\u0275\u0275property("Buchstabenliste",te.Mitarbeiteralphabet)("Breite",te.Alphapetbreite)("Auswahl",te.Mitarbeiteralphabetauswahl))},dependencies:[S.NgForOf,S.NgIf,C.IonButton,C.IonCol,C.IonContent,C.IonFooter,C.IonGrid,C.IonHeader,C.IonIcon,C.IonItem,C.IonList,C.IonRow,C.IonText,_.CheckboxClonComponent,f.AlphabetRelativeComponent,y.PageHeaderComponent,b.PageFooterComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}.emptymessageclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding-top:100px}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.innerkeeperclass[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:row;border-left:3px solid #354547}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#7b6a58;border-radius:4px}.innerkeeperlisteclass[_ngcontent-%COMP%]{width:100%;height:100%;overflow:auto}.innerkeeperalphabetclass[_ngcontent-%COMP%]{width:44px;height:100%;overflow:auto}"]})}return N})()},26668:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterAuswahlModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(33780),l=o(61540),e=o(6512),u=o(7388),c=o(87143),g=o(72160),v=o(70216),p=o(90520),S=n.__importStar(o(54496));h.FiMitarbeiterAuswahlModule=(()=>{class _{static \u0275fac=function(b){return new(b||_)};static \u0275mod=S.\u0275\u0275defineNgModule({type:_});static \u0275inj=S.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,l.InputCloneKeeperModule,e.AbstandElementFixedModule,u.CheckboxClonModule,c.AlphabetModule,g.AlphabetRelativeModule,v.PageHeaderModule,p.PageFooterModule]})}return _})()},82384:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),a=n.__importStar(o(54496)),l=n.__importStar(o(34388)),e=n.__importStar(o(19668)),u=n.__importStar(o(7992)),c=n.__importStar(o(29743)),g=n.__importStar(o(14652)),v=n.__importStar(o(21052)),p=n.__importStar(o(58864)),S=n.__importStar(o(22848)),C=n.__importStar(o(91368)),_=n.__importStar(o(10716)),f=n.__importStar(o(38056)),y=n.__importStar(o(25856)),b=n.__importStar(o(90212)),E=n.__importStar(o(29856)),M=n.__importStar(o(13228));function A(x,N){if(1&x){const O=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",26),a.\u0275\u0275listener("CheckChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(te.PlaneradministratorCheckboxChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Administrator"),a.\u0275\u0275elementEnd()()()()()}if(2&x){const O=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Enabled",!0===O.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",O.DB.CurrentMitarbeiter.Planeradministrator)}}function I(x,N){if(1&x){const O=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",26),a.\u0275\u0275listener("CheckChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(te.UrlaubsfreigabenCheckboxChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Urlaub Freigaben"),a.\u0275\u0275elementEnd()()()()()}if(2&x){const O=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Enabled",!0===O.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",O.DB.CurrentMitarbeiter.Urlaubsfreigaben)}}function F(x,N){if(1&x){const O=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",26),a.\u0275\u0275listener("CheckChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(te.HomeofficefreigabenCheckboxChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Homeoffice Freigaben"),a.\u0275\u0275elementEnd()()()()()}if(2&x){const O=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Enabled",!0===O.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",O.DB.CurrentMitarbeiter.Homeofficefreigaben)}}function j(x,N){if(1&x){const O=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",28),a.\u0275\u0275listener("CheckChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(te.ArchivierenCheckboxChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Eintrag archivieren"),a.\u0275\u0275elementEnd()()()()()}if(2&x){const O=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Checked",O.DB.CurrentMitarbeiter.Archiviert)}}function T(x,N){if(1&x){const O=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",12)(4,"b"),a.\u0275\u0275text(5,"Mitarbeiter"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",13)(8,"button-value",14),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(O);const G=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(G.AnredeClickedEvent.emit())}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(9,"ion-row")(10,"ion-col",15)(11,"input-clone",16),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Vorname,G)||(te.DB.CurrentMitarbeiter.Vorname=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(12,"ion-col",15)(13,"input-clone",17),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Name,G)||(te.DB.CurrentMitarbeiter.Name=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",15)(16,"input-clone",18),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Kuerzel,G)||(te.DB.CurrentMitarbeiter.Kuerzel=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(17,"ion-col",15)(18,"input-clone",19),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Jobtitel,G)||(te.DB.CurrentMitarbeiter.Jobtitel=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(19,"ion-row")(20,"ion-col",15)(21,"input-clone",20),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(O);const G=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(G.StandortClicked())})("TextChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(22,"ion-col",15)(23,"input-clone",21),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(O);const G=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(G.FachbereichClicked())}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col",15)(26,"input-clone",22),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Email,G)||(te.DB.CurrentMitarbeiter.Email=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"ion-text",12)(30,"b"),a.\u0275\u0275text(31,"Kontakt"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col",15)(34,"input-clone",23),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Telefon,G)||(te.DB.CurrentMitarbeiter.Telefon=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(35,"ion-col",15)(36,"input-clone",24),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(O);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Mobil,G)||(te.DB.CurrentMitarbeiter.Mobil=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(37,"ion-row"),a.\u0275\u0275element(38,"ion-col",25),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(39,"ion-row")(40,"ion-col")(41,"ion-text",12)(42,"b"),a.\u0275\u0275text(43,"Urlaub"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(44,"ion-row")(45,"ion-col",13)(46,"button-value",14),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(O);const G=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(G.UrlaubClickedEvent.emit())}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(47,A,9,2,"ion-row",6)(48,I,9,2,"ion-row",6)(49,F,9,2,"ion-row",6),a.\u0275\u0275elementStart(50,"ion-row"),a.\u0275\u0275element(51,"ion-col",25),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(52,"ion-row")(53,"ion-col")(54,"ion-text",12)(55,"b"),a.\u0275\u0275text(56,"Sonstiges"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275template(57,j,9,1,"ion-row",6),a.\u0275\u0275elementEnd()}if(2&x){const O=a.\u0275\u0275nextContext();a.\u0275\u0275advance(8),a.\u0275\u0275property("Buttontext","Anrede")("Wert_A",O.GetAnrede()),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Vorname),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275advance(),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Name),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Kuerzel),a.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),a.\u0275\u0275advance(),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Jobtitel),a.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",100),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275property("Enabled",!1)("Clickable",!0)("DisabledColor",""!==O.DB.CurrentMitarbeiter.StandortID?O.Basics.Farben.Burnicklgrau:O.Basics.Farben.Orange)("Value",O.StandortDB.GetStandort(O.DB.CurrentMitarbeiter.StandortID)),a.\u0275\u0275advance(),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275property("Enabled",!1)("Clickable",!0)("Value",O.DB.CurrentMitarbeiter.Fachbereich)("DisabledColor","gray"),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275property("Inputtype","email")("Required",!0)("MinHeight",30),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Email),a.\u0275\u0275property("Enabled",O.EmailinputEnabled),a.\u0275\u0275advance(7),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Telefon),a.\u0275\u0275advance(),a.\u0275\u0275property("size",O.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",O.DB.CurrentMitarbeiter.Mobil),a.\u0275\u0275advance(10),a.\u0275\u0275property("Buttontext","Urlaubstage")("Wert_A",O.DB.CurrentMitarbeiter.Urlaub+" Tage"),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==O.DB.CurrentMitarbeiter._id&&null!==O.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==O.DB.CurrentMitarbeiter._id&&null!==O.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==O.DB.CurrentMitarbeiter._id&&null!==O.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(8),a.\u0275\u0275property("ngIf",null!==O.DB.CurrentMitarbeiter._id)}}h.FiMitarbeiterEditorComponent=(()=>{class x{Debug;Tools;Pool;Const;Basics;Displayservice;StandortDB;DB;Valid;ValidChanged=new i.EventEmitter;StandortClickedEvent=new i.EventEmitter;AnredeClickedEvent=new i.EventEmitter;UrlaubClickedEvent=new i.EventEmitter;FachbereichClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;ErrorEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;ZIndex;SkipOkButtonAction;EmailinputEnabled;DeleteEnabled;Teamsliste;JoiShema;ErrorMessage;PositionY;constructor(O,H,G,te,ue,se,K,Z){this.Debug=O,this.Tools=H,this.Pool=G,this.Const=te,this.Basics=ue,this.Displayservice=se,this.StandortDB=K,this.DB=Z;try{this.Valid=!0,this.DeleteEnabled=!1,this.Titel=this.Const.NONE,this.Iconname="help-circle-outline",this.Dialogbreite=400,this.PositionY=100,this.ZIndex=2e3,this.SkipOkButtonAction=!1,this.EmailinputEnabled=!0,this.Teamsliste=[],this.ErrorMessage=null}catch(re){this.Debug.ShowErrorMessage(re.message,"Mitarbeiter Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeitereditor)}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","OnDestroy",this.Debug.Typen.Component)}}ResetEditor(){try{this.DeleteEnabled=!1}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","ResetEditor",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeitereditor,this.ZIndex)}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","OnInit",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Name:d.string().required().max(100),Vorname:d.string().required().max(100),Kuerzel:d.string().required().min(3).max(10),Jobtitel:d.string().required().min(3).max(100),Email:d.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","SetupValidation",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentMitarbeiter).error,""===this.DB.CurrentMitarbeiter.StandortID&&(this.Valid=!1),this.ValidChanged.emit(this.Valid)}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(O){try{this.ValidateInput()}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","AfterViewInit",this.Debug.Typen.Component)}}StandortClicked(){try{this.StandortClickedEvent.emit()}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","StandortClicked",this.Debug.Typen.Component)}}FachbereichClicked(){try{this.FachbereichClickedEvent.emit()}catch(O){this.Debug.ShowErrorMessage(O.message,"Mitarbeiter Editor","FachbereichClicked",this.Debug.Typen.Component)}}LoeschenCheckboxChanged(O){try{this.DeleteEnabled=O.status}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Editor","LoeschenCheckboxChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.ResetEditor(),this.CancelClickedEvent.emit()}OkButtonClicked(){this.SkipOkButtonAction?this.OkClickedEvent.emit():null===this.DB.CurrentMitarbeiter._id?this.DB.AddMitarbeiter(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(O=>{this.Debug.ShowErrorMessage(O,"Mitarbeiter Editor","OkButtonClicked / AddMitarbeiter",this.Debug.Typen.Component)}):this.DB.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(O=>{this.Debug.ShowErrorMessage(O,"Mitarbeiter Editor","OkButtonClicked / UpdateMitarbeiter",this.Debug.Typen.Component)})}ContentClicked(O){O.preventDefault(),O.stopPropagation()}ArchivierenCheckboxChanged(O){try{this.DB.CurrentMitarbeiter.Archiviert=O.status}catch(H){this.Debug.ShowErrorMessage(H,"Mitarbeiter Editor","ArchivierenCheckboxChanged",this.Debug.Typen.Component)}}HomeofficefreigabenCheckboxChanged(O){try{this.DB.CurrentMitarbeiter.Homeofficefreigaben=O.status}catch(H){this.Debug.ShowErrorMessage(H,"Mitarbeiter Editor","HomeofficefreigabenCheckboxChanged",this.Debug.Typen.Component)}}PlaneradministratorCheckboxChanged(O){try{this.DB.CurrentMitarbeiter.Planeradministrator=O.status}catch(H){this.Debug.ShowErrorMessage(H,"Mitarbeiter Editor","PlaneradministratorCheckboxChanged",this.Debug.Typen.Component)}}UrlaubsfreigabenCheckboxChanged(O){try{this.DB.CurrentMitarbeiter.Urlaubsfreigaben=O.status}catch(H){this.Debug.ShowErrorMessage(H,"Mitarbeiter Editor","UrlaubsfreigabenCheckboxChanged",this.Debug.Typen.Component)}}GetAnrede(){try{return null!==this.DB.CurrentMitarbeiter?this.DB.CurrentMitarbeiter.Anrede===this.Const.NONE?"unbekannt":this.DB.CurrentMitarbeiter.Anrede:"null"}catch(O){this.Debug.ShowErrorMessage(O,"Mitarbeiter Editor","function",this.Debug.Typen.Component)}}static \u0275fac=function(H){return new(H||x)(a.\u0275\u0275directiveInject(l.DebugProvider),a.\u0275\u0275directiveInject(e.ToolsProvider),a.\u0275\u0275directiveInject(u.DatabasePoolService),a.\u0275\u0275directiveInject(c.ConstProvider),a.\u0275\u0275directiveInject(g.BasicsProvider),a.\u0275\u0275directiveInject(v.DisplayService),a.\u0275\u0275directiveInject(p.DatabaseStandorteService),a.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:x,selectors:[["fi-mitarbeiter-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",SkipOkButtonAction:"SkipOkButtonAction",EmailinputEnabled:"EmailinputEnabled"},outputs:{ValidChanged:"ValidChanged",StandortClickedEvent:"StandortClickedEvent",AnredeClickedEvent:"AnredeClickedEvent",UrlaubClickedEvent:"UrlaubClickedEvent",FachbereichClickedEvent:"FachbereichClickedEvent",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",ErrorEvent:"ErrorEvent"},decls:25,vars:18,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["color","baeblau"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],[3,"size"],["Titel","Vorname",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Name",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Mitarbeiterk\xfcrzel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Jobtitel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Standort",3,"Enabled","Clickable","DisabledColor","Value","click","TextChanged"],["Titel","Fachbereich",3,"Enabled","Clickable","Value","DisabledColor","click"],["Titel","Email",3,"Inputtype","Required","MinHeight","Value","Enabled","ValueChange","TextChanged"],["Titel","Telefon",3,"Value","ValueChange"],["Titel","Mobil",3,"Value","ValueChange"],["size","12"],[3,"Enabled","Checked","CheckChanged"],[2,"width","6px"],[3,"Checked","CheckChanged"]],template:function(H,G){1&H&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(ue){return G.ContentClicked(ue)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(ue){return G.ContentClicked(ue)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),a.\u0275\u0275element(8,"ion-icon",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"td"),a.\u0275\u0275text(10),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),a.\u0275\u0275template(13,T,58,46,"ion-grid",6),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),a.\u0275\u0275listener("click",function(){return G.CancelButtonClicked()}),a.\u0275\u0275element(20,"ion-icon",9),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(21,"td",10),a.\u0275\u0275elementStart(22,"td")(23,"div",8),a.\u0275\u0275listener("click",function(){return!0===G.Valid?G.OkButtonClicked():null}),a.\u0275\u0275element(24,"ion-icon",11),a.\u0275\u0275elementEnd()()()()()()()()()),2&H&&(a.\u0275\u0275styleProp("z-index",G.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",G.Displayservice.ShowOpacity(G.Displayservice.Dialognamen.Mitarbeitereditor)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",G.Dialogbreite,"px")("top",G.PositionY,"px")("bottom",G.PositionY,"px")("top",G.PositionY,"px"),a.\u0275\u0275advance(6),a.\u0275\u0275property("name",G.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(G.Titel),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",G.DB.CurrentMitarbeiter),a.\u0275\u0275advance(11),a.\u0275\u0275property("color",!0===G.Valid?"weiss":"grau"))},dependencies:[C.NgIf,_.IonCol,_.IonContent,_.IonFooter,_.IonGrid,_.IonHeader,_.IonIcon,_.IonRow,_.IonText,f.InputCloneComponent,y.CheckboxClonComponent,b.PageHeaderComponent,E.PageFooterComponent,M.ButtonValueComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #307ac1;border-right:3px solid #307ac1;width:100%;height:100%;display:flex;flex-direction:row}"]})}return x})()},27328:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(33780),l=o(61540),e=o(6512),u=o(7388),c=o(70216),g=o(90520),v=o(72284),p=n.__importStar(o(54496));h.FiMitarbeiterEditorModule=(()=>{class C{static \u0275fac=function(y){return new(y||C)};static \u0275mod=p.\u0275\u0275defineNgModule({type:C});static \u0275inj=p.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,l.InputCloneKeeperModule,e.AbstandElementFixedModule,u.CheckboxClonModule,c.PageHeaderModule,g.PageFooterModule,v.ButtonValueModule]})}return C})()},41656:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),a=n.__importStar(o(17964)),l=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(21052)),c=n.__importStar(o(29743)),g=n.__importStar(o(19668)),v=n.__importStar(o(7992)),p=n.__importStar(o(9544)),S=n.__importStar(o(58864)),C=n.__importStar(o(91368)),_=n.__importStar(o(10716)),f=n.__importStar(o(38056)),y=n.__importStar(o(90212)),b=n.__importStar(o(25856)),E=n.__importStar(o(29856)),M=n.__importStar(o(13228));function A(P,x){if(1&P){const N=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-col",17)(1,"button-value",18),l.\u0275\u0275listener("ButtonClicked",function(){l.\u0275\u0275restoreView(N);const H=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(H.BundeslandClickedEvent.emit())}),l.\u0275\u0275elementEnd()()}if(2&P){const N=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275property("Buttontext","Bundesland")("Wert_A",N.GetBundesland())}}function I(P,x){if(1&P){const N=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",17)(2,"button-value",18),l.\u0275\u0275listener("ButtonClicked",function(){l.\u0275\u0275restoreView(N);const H=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(H.KonfessionClickedEvent.emit())}),l.\u0275\u0275elementEnd()()()}if(2&P){const N=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(2),l.\u0275\u0275property("Buttontext","Konfession")("Wert_A",N.GetKonfession())}}function F(P,x){if(1&P){const N=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",23),l.\u0275\u0275listener("CheckChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(G.CanDeleteCheckedChanged(H))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(6,"td",24),l.\u0275\u0275elementStart(7,"td")(8,"ion-button",25),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(N);const H=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(H.DeleteButtonClicked())}),l.\u0275\u0275element(9,"ion-icon",26),l.\u0275\u0275elementStart(10,"ion-text"),l.\u0275\u0275text(11,"Eintrag l\xf6schen"),l.\u0275\u0275elementEnd()()()()()()()}if(2&P){const N=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(5),l.\u0275\u0275property("Checked",N.CanDelete),l.\u0275\u0275advance(3),l.\u0275\u0275property("disabled",!N.CanDelete)}}function j(P,x){if(1&P){const N=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"input-clone",12),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Standort,H)||(G.DB.CurrentStandort.Standort=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"ion-col")(5,"input-clone",13),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Kuerzel,H)||(G.DB.CurrentStandort.Kuerzel=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"input-clone",14),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Strasse,H)||(G.DB.CurrentStandort.Strasse=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(9,"ion-col"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(10,"ion-row")(11,"ion-col")(12,"input-clone",15),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.PLZ,H)||(G.DB.CurrentStandort.PLZ=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(13,"ion-col")(14,"input-clone",16),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Ort,H)||(G.DB.CurrentStandort.Ort=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col",17)(17,"button-value",18),l.\u0275\u0275listener("ButtonClicked",function(){l.\u0275\u0275restoreView(N);const H=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(H.LandClickedEvent.emit())}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(18,A,2,2,"ion-col",19),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(19,I,3,2,"ion-row",6),l.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",20),l.\u0275\u0275element(22,"br")(23,"br"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col")(26,"input-clone",21),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Telefon,H)||(G.DB.CurrentStandort.Telefon=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(27,"ion-col")(28,"input-clone",22),l.\u0275\u0275twoWayListener("ValueChange",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Email,H)||(G.DB.CurrentStandort.Email=H),l.\u0275\u0275resetView(H)}),l.\u0275\u0275listener("TextChanged",function(H){l.\u0275\u0275restoreView(N);const G=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(G.TextChanged(H))}),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275template(29,F,12,2,"ion-row",6),l.\u0275\u0275elementEnd()}if(2&P){const N=l.\u0275\u0275nextContext();l.\u0275\u0275advance(3),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Standort),l.\u0275\u0275property("Required",!0)("MaxLength",100),l.\u0275\u0275advance(2),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Kuerzel),l.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),l.\u0275\u0275advance(3),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Strasse),l.\u0275\u0275property("Required",!0)("MaxLength",100),l.\u0275\u0275advance(4),l.\u0275\u0275property("Required",!0)("MinLength",4)("MaxLength",5),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.PLZ),l.\u0275\u0275advance(2),l.\u0275\u0275property("Required",!0)("MaxLength",100),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Ort),l.\u0275\u0275advance(3),l.\u0275\u0275property("Buttontext","Land")("Wert_A",N.GetLand()),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf","DE"===N.DB.CurrentStandort.Land),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf","DE"===N.DB.CurrentStandort.Land),l.\u0275\u0275advance(7),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Telefon),l.\u0275\u0275advance(2),l.\u0275\u0275property("MaxLength",255)("Required",!0),l.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Email),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null!==N.DB.CurrentStandort._id)}}h.FiStandortEditorComponent=(()=>{class P{Debug;Displayservice;Const;Tools;Pool;DBUrlaub;DB;Valid;CanDelete;JoiShema;ValidChange=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;DeleteClickedEvent=new i.EventEmitter;LandClickedEvent=new i.EventEmitter;BundeslandClickedEvent=new i.EventEmitter;KonfessionClickedEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(N,O,H,G,te,ue,se){this.Debug=N,this.Displayservice=O,this.Const=H,this.Tools=G,this.Pool=te,this.DBUrlaub=ue,this.DB=se;try{this.Valid=!0,this.Valid=!0,this.Titel=this.Const.NONE,this.Iconname="location-outline",this.Dialogbreite=400,this.Dialoghoehe=300,this.PositionY=100,this.ZIndex=2e3,this.CanDelete=!1}catch(K){this.Debug.ShowErrorMessage(K.message,"Standort Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Standorteditor)}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Standort:d.string().required().max(100),Kuerzel:d.string().required().min(3).max(10),Strasse:d.string().required().max(100),Ort:d.string().required().max(100),PLZ:d.string().required().min(4).max(5),Email:d.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Standorteditor,this.ZIndex)}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","OnInit",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentStandort).error,(null===this.Pool.Mitarbeiterdaten||!1===this.Pool.Mitarbeiterdaten.Planeradministrator)&&(this.Valid=!1),this.ValidChange.emit(this.Valid)}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(N){try{this.ValidateInput()}catch(O){this.Debug.ShowErrorMessage(O.message,"Standort Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteStandort().then(()=>{this.DeleteClickedEvent.emit()}).catch(N=>{this.Tools.ShowHinweisDialog(N.error.message)})}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentStandort._id?this.DB.AddStandort().then(N=>{this.OkClickedEvent.emit()}).catch(N=>{this.Tools.ShowHinweisDialog(N.error)}):this.DB.UpdateStandort().then(()=>{this.OkClickedEvent.emit()}).catch(N=>{this.Tools.ShowHinweisDialog(N.error.message)})}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(N){N.preventDefault(),N.stopPropagation()}CanDeleteCheckedChanged(N){try{this.CanDelete=N.status}catch(O){this.Debug.ShowErrorMessage(O.message,"Standort Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetLand(){try{if(null===this.DB.CurrentStandort)return"Unbekannt";switch(this.DB.CurrentStandort.Land){case"DE":return"Deutschland";case"BG":return"Bulgarien"}}catch(N){this.Debug.ShowErrorMessage(N,"Standort Editor","GetLand",this.Debug.Typen.Component)}}GetBundesland(){try{let N;return null!==this.DB.CurrentStandort?(N=a.find(this.DBUrlaub.Regionenliste,{isoCode:this.DB.CurrentStandort.Bundesland}),a.isUndefined(N)?"Unbekannt":N.Name):"Unbekannt"}catch(N){this.Debug.ShowErrorMessage(N,"Standort Editor","funGetBundeslandction",this.Debug.Typen.Component)}}GetKonfession(){try{if(null===this.DB.CurrentStandort)return"Unbekannt";switch(this.DB.CurrentStandort.Konfession){case"RK":return"Katholisch";case"EV":return"Evangelisch"}}catch(N){this.Debug.ShowErrorMessage(N,"Standort Editor","GetKonfession",this.Debug.Typen.Component)}}static \u0275fac=function(O){return new(O||P)(l.\u0275\u0275directiveInject(e.DebugProvider),l.\u0275\u0275directiveInject(u.DisplayService),l.\u0275\u0275directiveInject(c.ConstProvider),l.\u0275\u0275directiveInject(g.ToolsProvider),l.\u0275\u0275directiveInject(v.DatabasePoolService),l.\u0275\u0275directiveInject(p.DatabaseUrlaubService),l.\u0275\u0275directiveInject(S.DatabaseStandorteService))};static \u0275cmp=l.\u0275\u0275defineComponent({type:P,selectors:[["fi-standort-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{ValidChange:"ValidChange",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",DeleteClickedEvent:"DeleteClickedEvent",LandClickedEvent:"LandClickedEvent",BundeslandClickedEvent:"BundeslandClickedEvent",KonfessionClickedEvent:"KonfessionClickedEvent"},decls:25,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["Titel","Standortname",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","K\xfcrzel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Stra\xdfe",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","PLZ",3,"Required","MinLength","MaxLength","Value","ValueChange","TextChanged"],["Titel","Ort",3,"Required","MaxLength","Value","ValueChange","TextChanged"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],["size","6",4,"ngIf"],["size","12"],["Titel","Telefon","Inputtype","text",3,"Value","ValueChange","TextChanged"],["Titel","Email","Inputtype","email",3,"MaxLength","Required","Value","ValueChange","TextChanged"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(O,H){1&O&&(l.\u0275\u0275elementStart(0,"div",0)(1,"div",1),l.\u0275\u0275listener("click",function(te){return H.ContentClicked(te)}),l.\u0275\u0275elementStart(2,"div",2),l.\u0275\u0275listener("click",function(te){return H.ContentClicked(te)}),l.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),l.\u0275\u0275element(8,"ion-icon",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(9,"td"),l.\u0275\u0275text(10),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),l.\u0275\u0275template(13,j,30,26,"ion-grid",6),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),l.\u0275\u0275listener("click",function(){return H.CancelButtonClicked()}),l.\u0275\u0275element(20,"ion-icon",9),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(21,"td",10),l.\u0275\u0275elementStart(22,"td")(23,"div",8),l.\u0275\u0275listener("click",function(){return!0===H.Valid?H.OkButtonClicked():null}),l.\u0275\u0275element(24,"ion-icon",11),l.\u0275\u0275elementEnd()()()()()()()()()),2&O&&(l.\u0275\u0275styleProp("z-index",H.ZIndex),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("background",H.Displayservice.ShowOpacity(H.Displayservice.Dialognamen.Standorteditor)?"rgba(0, 0, 0, 0.5)":"none"),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("width",H.Dialogbreite,"px")("height",H.Dialoghoehe,"px")("top",H.PositionY,"px"),l.\u0275\u0275advance(6),l.\u0275\u0275property("name",H.Iconname),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color","white"),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate(H.Titel),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",H.DB.CurrentStandort),l.\u0275\u0275advance(11),l.\u0275\u0275property("color",!0===H.Valid?"weiss":"grau"))},dependencies:[C.NgIf,_.IonButton,_.IonCol,_.IonContent,_.IonFooter,_.IonGrid,_.IonHeader,_.IonIcon,_.IonRow,_.IonText,f.InputCloneComponent,y.PageHeaderComponent,b.CheckboxClonComponent,E.PageFooterComponent,M.ButtonValueComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%)}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #2190df;border-right:3px solid #2190df;width:100%;height:100%;display:flex;flex-direction:row}"]})}return P})()},79664:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(33780),l=o(61540),e=o(6512),u=o(70216),c=o(7388),g=o(90520),v=o(72284),p=n.__importStar(o(54496));h.FiStandortEditorModule=(()=>{class C{static \u0275fac=function(y){return new(y||C)};static \u0275mod=p.\u0275\u0275defineNgModule({type:C});static \u0275inj=p.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,l.InputCloneKeeperModule,e.AbstandElementFixedModule,u.PageHeaderModule,c.CheckboxClonModule,g.PageFooterModule,v.ButtonValueModule]})}return C})()},73088:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AbstandElementFixedComponent=void 0;const i=o(81316).__importStar(o(54496));h.AbstandElementFixedComponent=(()=>{class a{constructor(){}ngOnInit(){}static \u0275fac=function(u){return new(u||a)};static \u0275cmp=i.\u0275\u0275defineComponent({type:a,selectors:[["abstand-element-fixed"]],decls:1,vars:0,consts:[[2,"height","400px","width","100%"]],template:function(u,c){1&u&&i.\u0275\u0275element(0,"div",0)}})}return a})()},6512:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AbstandElementFixedModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.AbstandElementFixedModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},72160:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetRelativeModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.AlphabetRelativeModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},1215:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetRelativeComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(34388)),l=n.__importStar(o(14652)),e=n.__importStar(o(29743)),u=n.__importStar(o(19668)),c=n.__importStar(o(91368)),g=n.__importStar(o(10716)),v=["ImageKeeperDiv"];function p(C,_){if(1&C){const f=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",2),d.\u0275\u0275listener("click",function(){const E=d.\u0275\u0275restoreView(f).$implicit,M=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(M.AlphabetClickedHandler(E))}),d.\u0275\u0275elementStart(1,"ion-badge",3),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&C){const f=_.$implicit,y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color",y.Basics.Farben.BAEBlau)("border-color",f===y.Auswahl?y.Basics.Farben.BAEBlau:y.Basics.Farben.BAEHellgrau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",f," ")}}h.AlphabetRelativeComponent=(()=>{class C{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];AlphabetClicked=new i.EventEmitter;ZusatzbuttonClicked=new i.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(f,y,b,E){this.Debug=f,this.Basics=y,this.Const=b,this.Tools=E;try{this.Auswahl="",this.Breite=0,this.Buchstabenliste=["Alle","A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Filterliste=[]}catch(M){this.Debug.ShowErrorMessage(M.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{this.Style={width:this.Breite+"px",top:"0px",bottom:"0px",background:this.Basics.Farben.BAEHellgrau,display:"flex","flex-direction":"column","justify-content":"center"}}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","InitScreen",this.Debug.Typen.Component)}}ngOnInit(){try{this.InitScreen()}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","ngOnInit",this.Debug.Typen.Component)}}AlphabetClickedHandler(f){try{this.AlphabetClicked.emit(f),this.Auswahl=f}catch(y){this.Debug.ShowErrorMessage(y.message,"Alphabet","AlphabetClickedHandler",this.Debug.Typen.Component)}}SetFilterliste(){try{this.Filterliste=this.Buchstabenliste}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","SetFilterliste",this.Debug.Typen.Component)}}ngOnChanges(f){try{let y;y=f.Buchstabenliste,typeof y<"u"&&this.SetFilterliste(),y=f.Breite,typeof y<"u"&&this.InitScreen()}catch(y){this.Debug.ShowErrorMessage(y.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||C)(d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(l.BasicsProvider),d.\u0275\u0275directiveInject(e.ConstProvider),d.\u0275\u0275directiveInject(u.ToolsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:C,selectors:[["alphabet-relative"]],viewQuery:function(y,b){if(1&y&&d.\u0275\u0275viewQuery(v,7),2&y){let E;d.\u0275\u0275queryRefresh(E=d.\u0275\u0275loadQuery())&&(b.ImageKeeperDiv=E.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[1,"alphabetclass",3,"ngStyle"],["class","alphabetitem",3,"click",4,"ngFor","ngForOf"],[1,"alphabetitem",3,"click"],[2,"background","none","border","2px solid"]],template:function(y,b){1&y&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,p,3,5,"div",1),d.\u0275\u0275elementEnd()),2&y&&(d.\u0275\u0275property("ngStyle",b.Style),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",b.Filterliste))},dependencies:[c.NgForOf,c.NgStyle,g.IonBadge],styles:[".alphabetclass[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center}.alphabetitem[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-grow:1;color:#fff;font-size:80%;cursor:pointer}"]})}return C})()},87143:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.AlphabetModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},99031:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(34388)),l=n.__importStar(o(14652)),e=n.__importStar(o(29743)),u=n.__importStar(o(19668)),c=n.__importStar(o(91368)),g=n.__importStar(o(10716)),v=["ImageKeeperDiv"];function p(C,_){if(1&C){const f=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",2),d.\u0275\u0275listener("click",function(){const E=d.\u0275\u0275restoreView(f).$implicit,M=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(M.AlphabetClickedHandler(E))}),d.\u0275\u0275elementStart(1,"ion-badge",3),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&C){const f=_.$implicit,y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color","#2190df")("border-color",f===y.Auswahl?"#2190df":y.Basics.Farben.BAEHellgrau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",f," ")}}h.AlphabetComponent=(()=>{class C{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];PageHeader=null;PageFooter=null;AlphabetClicked=new i.EventEmitter;ZusatzbuttonClicked=new i.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(f,y,b,E){this.Debug=f,this.Basics=y,this.Const=b,this.Tools=E;try{this.Auswahl="",this.Breite=0,this.Buchstabenliste=["Alle","A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Filterliste=[]}catch(M){this.Debug.ShowErrorMessage(M.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{let f=0,y=0;typeof this.PageHeader<"u"&&null!==this.PageHeader&&(f=this.PageHeader.PageHeaderDiv.nativeElement.clientHeight),typeof this.PageFooter<"u"&&null!==this.PageFooter&&(y=this.PageFooter.PageFooterFrameDiv.nativeElement.clientHeight),this.Style={width:this.Breite+"px",top:f+"px",bottom:y+"px",background:this.Basics.Farben.BAEHellgrau}}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","InitScreen",this.Debug.Typen.Component)}}ngOnInit(){try{this.InitScreen()}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","ngOnInit",this.Debug.Typen.Component)}}AlphabetClickedHandler(f){try{this.AlphabetClicked.emit(f),this.Auswahl=f}catch(y){this.Debug.ShowErrorMessage(y.message,"Alphabet","AlphabetClickedHandler",this.Debug.Typen.Component)}}SetFilterliste(){try{this.Filterliste=this.Buchstabenliste}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","SetFilterliste",this.Debug.Typen.Component)}}ngOnChanges(f){try{let y;y=f.Buchstabenliste,typeof y<"u"&&this.SetFilterliste()}catch(y){this.Debug.ShowErrorMessage(y.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||C)(d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(l.BasicsProvider),d.\u0275\u0275directiveInject(e.ConstProvider),d.\u0275\u0275directiveInject(u.ToolsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:C,selectors:[["alphabet"]],viewQuery:function(y,b){if(1&y&&d.\u0275\u0275viewQuery(v,7),2&y){let E;d.\u0275\u0275queryRefresh(E=d.\u0275\u0275loadQuery())&&(b.ImageKeeperDiv=E.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste",PageHeader:"PageHeader",PageFooter:"PageFooter"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[1,"alphabetclass",3,"ngStyle"],["class","alphabetitem",3,"click",4,"ngFor","ngForOf"],[1,"alphabetitem",3,"click"],[2,"background","none","border","2px solid"]],template:function(y,b){1&y&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,p,3,5,"div",1),d.\u0275\u0275elementEnd()),2&y&&(d.\u0275\u0275property("ngStyle",b.Style),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",b.Filterliste))},dependencies:[c.NgForOf,c.NgStyle,g.IonBadge],styles:[".alphabetclass[_ngcontent-%COMP%]{position:absolute;background:#fff;right:0;width:12vw;display:flex;flex-direction:column;justify-content:center}.alphabetitem[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-grow:1;color:#fff;font-size:80%;cursor:pointer}"]})}return C})()},10272:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AuswahlDialogModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(44716),l=o(70216),e=o(90520),u=o(84104),c=n.__importStar(o(54496));h.AuswahlDialogModule=(()=>{class v{static \u0275fac=function(C){return new(C||v)};static \u0275mod=c.\u0275\u0275defineNgModule({type:v});static \u0275inj=c.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule,a.FormsModule,l.PageHeaderModule,e.PageFooterModule,u.SafePipeModule]})}return v})()},56584:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AuswahlDialogComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),a=n.__importStar(o(54496)),l=n.__importStar(o(19668)),e=n.__importStar(o(14652)),u=n.__importStar(o(34388)),c=n.__importStar(o(21052)),g=n.__importStar(o(29743)),v=n.__importStar(o(10716)),p=n.__importStar(o(91368)),S=n.__importStar(o(90212)),C=n.__importStar(o(29856)),_=n.__importStar(o(66144)),f=["MySelection"];function y(E,M){if(1&E&&(a.\u0275\u0275elementStart(0,"tr")(1,"td"),a.\u0275\u0275element(2,"ion-radio",15),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(3,"td",16),a.\u0275\u0275pipe(4,"safe"),a.\u0275\u0275element(5,"td",17),a.\u0275\u0275pipe(6,"safe"),a.\u0275\u0275elementEnd()),2&E){const A=M.$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275property("value",A.Index),a.\u0275\u0275advance(),a.\u0275\u0275property("innerHTML",a.\u0275\u0275pipeBind2(4,3,A.FirstColumn,"html"),a.\u0275\u0275sanitizeHtml),a.\u0275\u0275advance(2),a.\u0275\u0275property("innerHTML",a.\u0275\u0275pipeBind2(6,6,A.SecoundColumn,"html"),a.\u0275\u0275sanitizeHtml)}}h.AuswahlDialogComponent=(()=>{class E{Tools;Basics;Debug;Displayservice;Const;MySelection;Titel="Testtitel";Auswahlliste;Auswahlindex;Iconname;Dialogbreite;PositionY;ZIndex;IndexChanged=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;constructor(A,I,F,j,T){this.Tools=A,this.Basics=I,this.Debug=F,this.Displayservice=j,this.Const=T;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.ZIndex=4e3}catch(P){this.Debug.ShowErrorMessage(P.message,"Auswahl Dialog","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Auswahldialog)}catch(A){this.Debug.ShowErrorMessage(A.message,"Auswahl Dialog","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Auswahldialog,this.ZIndex)}catch(A){this.Debug.ShowErrorMessage(A.message,"Auswahl Dialog","OnInit",this.Debug.Typen.Component)}}Setup(A,I,F){try{this.Titel=A,this.Auswahlliste=I,this.Auswahlindex=F}catch(j){this.Debug.ShowErrorMessage(j.message,"Auswahl Dialog","Setup",this.Debug.Typen.Page)}}Open(A,I){try{typeof A<"u"&&!0===A&&(this.Auswahlindex=typeof I<"u"?I:-1),this.MySelection.open()}catch(F){this.Debug.ShowErrorMessage(F.message,"Auswahl Dialog","Open",this.Debug.Typen.Component)}}ngOnChanges(A){}IndexChangedHandler(A){try{let I;I=""===A.detail.value||isNaN(A.detail.value)?-1:A.detail.value,this.Auswahlindex=I}catch(I){this.Debug.ShowErrorMessage(I.message,"Auswahl Dialog","IndexChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}OkButtonClicked(){d.isUndefined(this.Auswahlliste[this.Auswahlindex])?this.OkClickedEvent.emit(null):this.OkClickedEvent.emit(this.Auswahlliste[this.Auswahlindex].Data)}ContentClicked(A){A.preventDefault(),A.stopPropagation()}static \u0275fac=function(I){return new(I||E)(a.\u0275\u0275directiveInject(l.ToolsProvider),a.\u0275\u0275directiveInject(e.BasicsProvider),a.\u0275\u0275directiveInject(u.DebugProvider),a.\u0275\u0275directiveInject(c.DisplayService),a.\u0275\u0275directiveInject(g.ConstProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:E,selectors:[["auswahl-dialog"]],viewQuery:function(I,F){if(1&I&&a.\u0275\u0275viewQuery(f,7),2&I){let j;a.\u0275\u0275queryRefresh(j=a.\u0275\u0275loadQuery())&&(F.MySelection=j.first)}},inputs:{Titel:"Titel",Auswahlliste:"Auswahlliste",Auswahlindex:"Auswahlindex",Iconname:"Iconname",Dialogbreite:"Dialogbreite",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{IndexChanged:"IndexChanged",OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent"},features:[a.\u0275\u0275NgOnChangesFeature],decls:31,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"innerkeeperclass"],[3,"value","ionChange"],[1,"paddingtable"],["colspan","3",2,"height","6px"],[4,"ngFor","ngForOf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","32px"],[2,"width","100%"],["color","weiss","name","save-outline",2,"font-size","28px"],["mode","md",3,"value"],[2,"font-weight","bold",3,"innerHTML"],[3,"innerHTML"]],template:function(I,F){1&I&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(T){return F.ContentClicked(T)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(T){return F.ContentClicked(T)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),a.\u0275\u0275element(8,"ion-icon",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"td"),a.\u0275\u0275text(10),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(11,"ion-content")(12,"div",5)(13,"ion-radio-group",6),a.\u0275\u0275listener("ionChange",function(T){return F.IndexChangedHandler(T)}),a.\u0275\u0275elementStart(14,"table",7)(15,"tr"),a.\u0275\u0275element(16,"td",8),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(17,y,7,9,"tr",9),a.\u0275\u0275elementStart(18,"tr"),a.\u0275\u0275element(19,"td",8),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(20,"ion-footer")(21,"page-footer")(22,"table",10)(23,"tr")(24,"td")(25,"div",11),a.\u0275\u0275listener("click",function(){return F.CancelButtonClicked()}),a.\u0275\u0275element(26,"ion-icon",12),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(27,"td",13),a.\u0275\u0275elementStart(28,"td")(29,"div",11),a.\u0275\u0275listener("click",function(){return F.OkButtonClicked()}),a.\u0275\u0275element(30,"ion-icon",14),a.\u0275\u0275elementEnd()()()()()()()()()),2&I&&(a.\u0275\u0275styleProp("z-index",F.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",!0===F.Displayservice.ShowOpacity(F.Displayservice.Dialognamen.Auswahldialog)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",F.Dialogbreite,"px")("bottom",F.PositionY,"px")("top",F.PositionY,"px"),a.\u0275\u0275advance(6),a.\u0275\u0275property("name",F.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(F.Titel),a.\u0275\u0275advance(3),a.\u0275\u0275property("value",F.Auswahlindex),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngForOf",F.Auswahlliste))},dependencies:[v.IonContent,v.IonFooter,v.IonHeader,v.IonIcon,v.IonRadio,v.IonRadioGroup,v.RadioValueAccessor,v.SelectValueAccessor,p.NgForOf,S.PageHeaderComponent,C.PageFooterComponent,_.SafePipe],styles:[".keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.innerkeeperclass[_ngcontent-%COMP%]{overflow:auto;width:100%;height:100%;display:flex;flex-direction:row;border-left:3px solid #2190df;border-right:3px solid #2190df}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#7b6a58;border-radius:4px}"]})}return E})()},22844:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueDateModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.ButtonValueDateModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule]})}return e})()},76732:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueDateComponent=void 0;const n=o(81316),i=o(54496),d=n.__importDefault(o(35908)),a=n.__importStar(o(54496)),l=n.__importStar(o(14652)),e=n.__importStar(o(34388)),u=n.__importStar(o(19668)),c=n.__importStar(o(29743)),g=n.__importStar(o(10716)),v=n.__importStar(o(91368)),p=["DatePicker"];function S(f,y){if(1&f&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"td",11),a.\u0275\u0275text(2,"\u2022"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"td"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd()),2&f){const b=a.\u0275\u0275nextContext();a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate1("KW",b.Datum.isoWeek(),"")}}function C(f,y){if(1&f){const b=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-content",12)(1,"ion-datetime",13,14),a.\u0275\u0275listener("ionChange",function(M){a.\u0275\u0275restoreView(b);const A=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(A.DateChangedHandler(M))}),a.\u0275\u0275elementEnd()()}if(2&f){const b=a.\u0275\u0275nextContext();a.\u0275\u0275advance(),a.\u0275\u0275property("min",b.Minimumstring)("max",b.Maximumstring)("value",b.Datum.format("YYYY-MM-DD"))}}h.ButtonValueDateComponent=(()=>{class f{Basics;Debug;Tools;Const;Buttontext;Minimum;Maximum;Datum;Buttoncolor;InnerBackgroundcolor;Enabled;ElementID;Buttonsize;ShowKW;ValueBreite;TimeChanged=new i.EventEmitter;DiabledButtonClicked=new i.EventEmitter;DatePicker;Minimumstring;Maximumstring;constructor(b,E,M,A){this.Basics=b,this.Debug=E,this.Tools=M,this.Const=A;try{let I=1,F=7,T=(0,d.default)().year(),P=12,x=0;this.ValueBreite=260,this.Minimum=(0,d.default)().set({year:2e3,month:0,date:1}).locale("de"),this.Maximum=(0,d.default)().set({year:T,month:11,date:31}).locale("de"),this.Minimumstring="2000-01-01",this.Maximumstring=T.toString()+"-12-31",this.Buttontext="Datum",this.Datum=(0,d.default)(I+"."+F+"."+T+" "+P+":"+x,"DD.MM.YYYY HH:mm").locale("de"),this.Enabled=!0,this.Buttoncolor=this.Basics.Farben.Burnicklbraun,this.ElementID="open-modal-date",this.Buttonsize="normal",this.ShowKW=!1,this.InnerBackgroundcolor=this.Basics.Farben.Burnicklgrau}catch(I){this.Debug.ShowErrorMessage(I.message,"Button Value Date","Constructor",this.Debug.Typen.Component)}}ngOnInit(){}ngOnChanges(b){try{let E=b.Minimum,M=b.Maximum;typeof E<"u"&&(this.Minimum=E.currentValue,this.Minimumstring=this.Minimum.format("YYYY-MM-DD")),typeof M<"u"&&(this.Maximum=M.currentValue,this.Maximumstring=this.Maximum.format("YYYY-MM-DD"))}catch(E){this.Debug.ShowErrorMessage(E.message,"Button Value Date","ngOnChanges",this.Debug.Typen.Component)}}FetigButtonClicked(){try{this.DatePicker.confirm(!0)}catch(b){this.Debug.ShowErrorMessage(b.message,"Button Value Date","FetigButtonClicked",this.Debug.Typen.Component)}}DateChangedHandler(b){try{let I=b.detail.value.split("T")[0].split("-"),F=parseInt(I[2]),j=parseInt(I[1]),T=parseInt(I[0]),P=this.Datum.hours(),x=this.Datum.minutes();this.Datum=(0,d.default)(F+"."+j+"."+T+" "+P+":"+x,"DD.MM.YYYY HH:mm").locale("de"),this.TimeChanged.emit(this.Datum)}catch(E){this.Debug.ShowErrorMessage(E.message,"Button Value Date","DateChangedHandler",this.Debug.Typen.Component)}}static \u0275fac=function(E){return new(E||f)(a.\u0275\u0275directiveInject(l.BasicsProvider),a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(u.ToolsProvider),a.\u0275\u0275directiveInject(c.ConstProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:f,selectors:[["button-value-date"]],viewQuery:function(E,M){if(1&E&&a.\u0275\u0275viewQuery(p,5),2&E){let A;a.\u0275\u0275queryRefresh(A=a.\u0275\u0275loadQuery())&&(M.DatePicker=A.first)}},inputs:{Buttontext:"Buttontext",Minimum:"Minimum",Maximum:"Maximum",Datum:"Datum",Buttoncolor:"Buttoncolor",InnerBackgroundcolor:"InnerBackgroundcolor",Enabled:"Enabled",ElementID:"ElementID",Buttonsize:"Buttonsize",ShowKW:"ShowKW",ValueBreite:"ValueBreite"},outputs:{TimeChanged:"TimeChanged",DiabledButtonClicked:"DiabledButtonClicked"},features:[a.\u0275\u0275NgOnChangesFeature],decls:17,vars:11,consts:[["tappable","",1,"buttonclass",3,"id"],[2,"height","100%","width","60%"],[1,"buttontextclass"],["cellspacing","0","cellpadding","0",1,"paddingtable"],["height","100%","valign","middle"],["color","weiss"],[1,"outerinfokeeperclass"],[1,"infokeeperclass"],[2,"color","white"],[4,"ngIf"],[3,"trigger"],[2,"width","16px","text-align","center","font-size","26px"],["force-overscroll","false"],["locale","de-DE","showDefaultButtons","true","doneText","Fertig","cancelText","Abbrechen","presentation","date","color","burnicklgruen",2,"background","#307ac1","color","white",3,"min","max","value","ionChange"],["DatePicker",""]],template:function(E,M){1&E&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2)(3,"table",3)(4,"tr")(5,"td",4)(6,"ion-text",5),a.\u0275\u0275text(7),a.\u0275\u0275elementEnd()()()()()(),a.\u0275\u0275elementStart(8,"div",6)(9,"div",7)(10,"table")(11,"tr")(12,"td",8),a.\u0275\u0275text(13),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(14,S,5,1,"ng-container",9),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(15,"ion-modal",10),a.\u0275\u0275template(16,C,3,3,"ng-template"),a.\u0275\u0275elementEnd()),2&E&&(a.\u0275\u0275styleProp("background",M.Enabled?M.Buttoncolor:M.Basics.Farben.ButtongrauDisabled),a.\u0275\u0275property("id",M.ElementID),a.\u0275\u0275advance(7),a.\u0275\u0275textInterpolate(M.Buttontext),a.\u0275\u0275advance(2),a.\u0275\u0275styleProp("width",M.ValueBreite,"px")("background",M.InnerBackgroundcolor),a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(null!==M.Datum?M.Datum.format("DD.MM.YYYY"):"------"),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",M.ShowKW),a.\u0275\u0275advance(),a.\u0275\u0275property("trigger",!0===M.Enabled?M.ElementID:null))},dependencies:[g.IonContent,g.IonDatetime,g.IonText,g.IonModal,g.SelectValueAccessor,v.NgIf],styles:[".buttonclass[_ngcontent-%COMP%]{justify-content:center;align-items:center;width:100%;height:44px;border-radius:4px;padding:2px;display:flex}.buttontextclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;min-height:44px;width:100%;height:100%}.outerinfokeeperclass[_ngcontent-%COMP%]{height:100%;width:60%;padding:2px;display:flex;justify-content:center;align-items:center}.infokeeperclass[_ngcontent-%COMP%]{color:#fff;height:34px;padding:2px;display:flex;justify-content:center;align-items:center;border-radius:4px}ion-datetime[_ngcontent-%COMP%]{height:auto;width:auto;max-width:350px;--background: #354547}ion-modal[_ngcontent-%COMP%]{--width: 290px;--height: 382px;--border-radius: 8px}ion-modal[_ngcontent-%COMP%] ion-datetime[_ngcontent-%COMP%]{height:382px}"]})}return f})()},72284:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.ButtonValueModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},13228:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(14652)),l=n.__importStar(o(34388)),e=n.__importStar(o(19668)),u=n.__importStar(o(29743)),c=n.__importStar(o(91368)),g=n.__importStar(o(10716));function v(C,_){if(1&C&&(d.\u0275\u0275elementStart(0,"table",10)(1,"tr"),d.\u0275\u0275element(2,"td",11),d.\u0275\u0275elementEnd()()),2&C){const f=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",f.Wert_A_String,d.\u0275\u0275sanitizeHtml)}}function p(C,_){if(1&C&&(d.\u0275\u0275elementStart(0,"table",12)(1,"tr"),d.\u0275\u0275element(2,"td",11),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(3,"tr"),d.\u0275\u0275element(4,"td",13),d.\u0275\u0275elementEnd()()),2&C){const f=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",f.Wert_A_String,d.\u0275\u0275sanitizeHtml),d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",f.Wert_B,d.\u0275\u0275sanitizeHtml)}}h.ButtonValueComponent=(()=>{class C{Basics;Debug;Tools;Const;Buttoncolor;Buttontext;Wert_A;Wert_B;Iconfile;Iconcolor;Enabled;SmallWidth;BigHeight;ShowMargin;Width;ProContent=!1;ProMessage="";Buttonvaluecolor="";Rechtebreite;Linkebreite;ButtonClicked=new i.EventEmitter;DisabledButtonClicked=new i.EventEmitter;RGB;Wert_A_String;constructor(f,y,b,E){this.Basics=f,this.Debug=y,this.Tools=b,this.Const=E;try{this.Width=0,this.ShowMargin=!0,this.BigHeight=!1,this.SmallWidth=!1,this.Buttontext="",this.Wert_A="",this.Wert_B="",this.Iconcolor="red",this.Iconfile="",this.Buttoncolor=this.Basics.Farben.Burnicklbraun,this.Enabled=!0,this.Buttonvaluecolor=this.Basics.Farben.Burnicklgrau,this.Linkebreite=40,this.Rechtebreite=60}catch(M){this.Debug.ShowErrorMessage(M.message,"Button Value","Constructor",this.Debug.Typen.Component)}}ngOnInit(){}ngOnChanges(f){try{let y=f.Buttoncolor,b=f.Wert_A;typeof y<"u"&&(y.firstChange||(this.RGB=this.Tools.HexToRGB(y.currentValue))),typeof b<"u"&&typeof b.currentValue<"u"&&"string"==typeof b.currentValue&&(this.Wert_A_String=b.currentValue)}catch(y){this.Debug.ShowErrorMessage(y.message,"Button Value","ngOnChanges",this.Debug.Typen.Component)}}ButtonClickedHandler(){try{!0===this.Enabled?this.ButtonClicked.emit():this.DisabledButtonClicked.emit()}catch(f){this.Debug.ShowErrorMessage(f.message,"Button Value","ButtonClickedHandler",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||C)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(l.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(u.ConstProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:C,selectors:[["button-value"]],inputs:{Buttoncolor:"Buttoncolor",Buttontext:"Buttontext",Wert_A:"Wert_A",Wert_B:"Wert_B",Iconfile:"Iconfile",Iconcolor:"Iconcolor",Enabled:"Enabled",SmallWidth:"SmallWidth",BigHeight:"BigHeight",ShowMargin:"ShowMargin",Width:"Width",ProContent:"ProContent",ProMessage:"ProMessage",Buttonvaluecolor:"Buttonvaluecolor",Rechtebreite:"Rechtebreite",Linkebreite:"Linkebreite"},outputs:{ButtonClicked:"ButtonClicked",DisabledButtonClicked:"DisabledButtonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:12,vars:11,consts:[["tappable","",1,"buttonclass",3,"click"],[2,"height","100%"],[1,"buttontextclass"],["cellspacing","0","cellpadding","0",1,"paddingtable"],["height","100%","valign","middle"],["color","weiss"],[1,"outerinfokeeperclass"],[1,"infokeeperclass"],["cellpadding","0","cellspacing","0",4,"ngIf"],["width","100%",4,"ngIf"],["cellpadding","0","cellspacing","0"],["align","center",3,"innerHTML"],["width","100%"],["align","center",1,"ergotextclass",3,"innerHTML"]],template:function(y,b){1&y&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("click",function(){return b.ButtonClickedHandler()}),d.\u0275\u0275elementStart(1,"div",1)(2,"div",2)(3,"table",3)(4,"tr")(5,"td",4)(6,"ion-text",5),d.\u0275\u0275text(7),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(8,"div",6)(9,"div",7),d.\u0275\u0275template(10,v,3,1,"table",8)(11,p,5,2,"table",9),d.\u0275\u0275elementEnd()()()),2&y&&(d.\u0275\u0275styleProp("background",b.Enabled?b.Buttoncolor:b.Basics.Farben.ButtongrauDisabled),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("width",b.Linkebreite,"%"),d.\u0275\u0275advance(6),d.\u0275\u0275textInterpolate(b.Buttontext),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("width",b.Rechtebreite,"%"),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("background",b.Buttonvaluecolor),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",""===b.Wert_B),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",""!==b.Wert_B))},dependencies:[c.NgIf,g.IonText],styles:[".buttonclass[_ngcontent-%COMP%]{position:relative;width:100%;height:44px;border-radius:4px;padding:2px;display:flex}.buttontextclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;min-height:8px;width:100%;height:100%}.outerinfokeeperclass[_ngcontent-%COMP%]{height:100%;padding:2px;display:flex;justify-content:center;align-items:center}.infokeeperclass[_ngcontent-%COMP%]{color:#fff;height:34px;width:100%;padding:2px;display:flex;justify-content:center;align-items:center;border-radius:4px}"]})}return C})()},25856:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CheckboxClonComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(14652)),l=n.__importStar(o(19668)),e=n.__importStar(o(34388));h.CheckboxClonComponent=(()=>{class c{Basics;Tools;Debug;Checked=!1;Enabled=!0;CanUnselect=!0;Index=-1;Background="white";Value=null;CheckChanged=new i.EventEmitter;ImgSource;constructor(v,p,S){this.Basics=v,this.Tools=p,this.Debug=S;try{this.ImgSource=this.Basics.Svgpath+"hacken.svg"}catch(C){this.Debug.ShowErrorMessage(C.message,"Checkbox","constructor",this.Debug.Typen.Component)}}ngOnInit(){try{!1===this.Enabled&&(this.Background="#B2BABB")}catch(v){this.Debug.ShowErrorMessage(v,"Checkbox","ngOnInit",this.Debug.Typen.Component)}}DivClickedHnadler(v){try{v.stopPropagation(),v.preventDefault(),(this.Enabled&&!0===this.CanUnselect||this.Enabled&&!1===this.CanUnselect&&!1===this.Checked)&&this.CheckChanged.emit({status:!this.Checked,index:this.Index,event:v,value:this.Value})}catch(p){this.Debug.ShowErrorMessage(p.message,"Checkbox","DivClickedHnadler",this.Debug.Typen.Component)}}static \u0275fac=function(p){return new(p||c)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(l.ToolsProvider),d.\u0275\u0275directiveInject(e.DebugProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:c,selectors:[["checkbox-clon"]],inputs:{Checked:"Checked",Enabled:"Enabled",CanUnselect:"CanUnselect",Index:"Index",Background:"Background",Value:"Value"},outputs:{CheckChanged:"CheckChanged"},decls:2,vars:4,consts:[[1,"keeperdivclass",3,"click"],[2,"width","18px","height","18px",3,"hidden","src"]],template:function(p,S){1&p&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("click",function(_){return S.DivClickedHnadler(_)}),d.\u0275\u0275element(1,"img",1),d.\u0275\u0275elementEnd()),2&p&&(d.\u0275\u0275styleProp("background",S.Background),d.\u0275\u0275advance(),d.\u0275\u0275property("hidden",!S.Checked)("src",S.ImgSource,d.\u0275\u0275sanitizeUrl))},styles:[".keeperdivclass[_ngcontent-%COMP%]{padding:2px;position:relative;width:24px;height:24px;border:2px solid gray;border-radius:4px;display:flex;justify-content:center;align-items:center}"]})}return c})()},7388:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CheckboxClonModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.CheckboxClonModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},61540:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.InputCloneKeeperModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.InputCloneKeeperModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},38056:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.InputCloneComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),a=n.__importStar(o(54496)),l=n.__importStar(o(34388)),e=n.__importStar(o(14652)),u=n.__importStar(o(19668)),c=n.__importStar(o(91368)),g=n.__importStar(o(10716));function v(I,F){1&I&&a.\u0275\u0275element(0,"td")}function p(I,F){if(1&I&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",4),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"td",5),a.\u0275\u0275element(4,"ion-icon",6),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(5,v,1,0,"td",3),a.\u0275\u0275elementEnd()),2&I){const j=a.\u0275\u0275nextContext();a.\u0275\u0275styleProp("color",j.Titelcolor),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(j.Titel),a.\u0275\u0275advance(),a.\u0275\u0275property("hidden",!1===j.Clickable),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",null!==j.Einheit)}}function S(I,F){if(1&I){const j=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-input",10),a.\u0275\u0275listener("ionInput",function(P){a.\u0275\u0275restoreView(j);const x=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(x.TextChangedHandler(P))}),a.\u0275\u0275elementEnd()}if(2&I){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275styleProp("font-size",j.Textsize,"px"),a.\u0275\u0275property("inputmode",j.Inputtype)("label",j.Titel)("debounce",j.Debouncetime)("value",j.Value)("color",j.Textcolor)}}function C(I,F){if(1&I&&(a.\u0275\u0275elementStart(0,"ion-label"),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&I){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(j.Value)}}function _(I,F){if(1&I&&(a.\u0275\u0275elementStart(0,"td",11),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&I){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(j.Einheit)}}function f(I,F){if(1&I&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",7),a.\u0275\u0275template(2,S,1,7,"ion-input",8)(3,C,2,1,"ion-label",3),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(4,_,2,1,"td",9),a.\u0275\u0275elementEnd()),2&I){const j=a.\u0275\u0275nextContext();a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",!0===j.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!1===j.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==j.Einheit)}}function y(I,F){if(1&I){const j=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-textarea",15),a.\u0275\u0275listener("ionChange",function(P){a.\u0275\u0275restoreView(j);const x=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(x.TextChangedHandler(P))}),a.\u0275\u0275elementEnd()}if(2&I){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275property("label",j.Titel)("debounce",j.Debouncetime)("value",j.Value)("rows",j.Lines)}}function b(I,F){if(1&I&&a.\u0275\u0275element(0,"div",16),2&I){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275styleProp("height",18*j.Lines,"px"),a.\u0275\u0275property("innerHTML",j.Tools.FormatLinebreaks(j.Value),a.\u0275\u0275sanitizeHtml)}}function E(I,F){1&I&&a.\u0275\u0275element(0,"td")}function M(I,F){if(1&I&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",12),a.\u0275\u0275template(2,y,1,4,"ion-textarea",13)(3,b,1,3,"div",14),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(4,E,1,0,"td",3),a.\u0275\u0275elementEnd()),2&I){const j=a.\u0275\u0275nextContext();a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",!0===j.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!1===j.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==j.Einheit)}}h.InputCloneComponent=(()=>{class I{Debug;Basics;Tools;Titel;Titelcolor;Value;Debouncetime;ValueChange=new i.EventEmitter;MinLength;MaxLength;Enabled;Clickable;MinHeight;Inputtype;Required;Lines;DisabledColor;OkBorderColor;ParseToFloat;Textcolor;Textsize;Einheit;TextChanged=new i.EventEmitter;RequiredBorder;DisabledBorder;Valid;JoiShema;OkBorder;constructor(j,T,P){this.Debug=j,this.Basics=T,this.Tools=P;try{let x=1;this.OkBorderColor=this.Basics.Farben.Burnicklgrau,this.DisabledColor=this.Basics.Farben.Blau,this.OkBorder=x+"px solid "+this.OkBorderColor,this.RequiredBorder=x+"px solid "+this.Basics.Farben.Orange,this.DisabledBorder=x+"px solid "+this.DisabledColor,this.Valid=!0,this.MinLength=0,this.MaxLength=0,this.Enabled=!0,this.Titel="",this.Value="",this.MinHeight=30,this.Inputtype="text",this.Lines=1,this.Debouncetime=0,this.Clickable=!1,this.Required=!1,this.Titelcolor="black",this.ParseToFloat=!1,this.Textsize=14,this.Einheit=null,this.Textcolor=this.Basics.Ionicfarben.Schwarz}catch(x){this.Debug.ShowErrorMessage(x.message,"Input Clone","constructor",this.Debug.Typen.Component)}}ngAfterViewInit(){}ngOnInit(){try{let T;"text"===this.Inputtype||"email"===this.Inputtype?(T=d.string(),"email"===this.Inputtype&&(T=T.email({tlds:{allow:!1}}))):T=d.number(),this.MinLength>0&&(T=T.min(this.MinLength)),this.MaxLength>0&&(T=T.max(this.MaxLength)),T=!0===this.Required?T.required():T.allow(""),this.JoiShema=d.object({Text:T}).options({stripUnknown:!0}),this.Valid=this.CheckValid(this.Value)}catch(j){this.Debug.ShowErrorMessage(j.message,"Input Clone","ngOnInit",this.Debug.Typen.Component)}}CheckValid(j){try{let T,P;return this.JoiShema?(T=this.JoiShema.validate({Text:j}),T.error?(P=!1,this.Debug.ShowErrorMessage(T.error.message,"Input Clone","CheckValid",this.Debug.Typen.Component)):P=!0):P=!1,P}catch(T){this.Debug.ShowErrorMessage(T.message,"Input Clone","CheckValid",this.Debug.Typen.Component)}}TextChangedHandler(j){try{let T="text"===this.Inputtype||"email"===this.Inputtype?j.detail.value:this.ParseToFloat?parseFloat(j.detail.value):parseInt(j.detail.value);!0===this.Enabled&&(typeof T>"u"&&(T=""),this.Valid=this.CheckValid(T),this.ValueChange.emit(T),this.TextChanged.emit({Titel:this.Titel,Text:T,Valid:this.Valid})),j.stopPropagation(),j.preventDefault()}catch(T){this.Debug.ShowErrorMessage(T.message,"Input Clone","TextChangedHandler",this.Debug.Typen.Component)}}ngOnChanges(j){try{let T=1,P=j.Value;typeof P<"u"&&(this.Valid=this.CheckValid(P.currentValue),this.TextChanged.emit({Titel:this.Titel,Text:P.currentValue,Valid:this.Valid})),this.DisabledBorder=T+"px solid "+this.DisabledColor,this.OkBorder=T+"px solid "+this.OkBorderColor}catch(T){this.Debug.ShowErrorMessage(T.message,"Input Clone","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(T){return new(T||I)(a.\u0275\u0275directiveInject(l.DebugProvider),a.\u0275\u0275directiveInject(e.BasicsProvider),a.\u0275\u0275directiveInject(u.ToolsProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:I,selectors:[["input-clone"]],inputs:{Titel:"Titel",Titelcolor:"Titelcolor",Value:"Value",Debouncetime:"Debouncetime",MinLength:"MinLength",MaxLength:"MaxLength",Enabled:"Enabled",Clickable:"Clickable",MinHeight:"MinHeight",Inputtype:"Inputtype",Required:"Required",Lines:"Lines",DisabledColor:"DisabledColor",OkBorderColor:"OkBorderColor",ParseToFloat:"ParseToFloat",Textcolor:"Textcolor",Textsize:"Textsize",Einheit:"Einheit"},outputs:{ValueChange:"ValueChange",TextChanged:"TextChanged"},features:[a.\u0275\u0275NgOnChangesFeature],decls:5,vars:9,consts:[[1,"framedivclass"],["width","100%"],[3,"color",4,"ngIf"],[4,"ngIf"],[1,"uppercellclass"],[2,"text-align","right",3,"hidden"],["color","burnicklgruen","name","list-outline",2,"font-size","20px"],["colspan","2",1,"lowercellclass",2,"width","auto"],["class","inputclass","labelPlacement","stacked","autocomplete","off",3,"font-size","inputmode","label","debounce","value","color","ionInput",4,"ngIf"],["style","width: 20px; text-align: center;",4,"ngIf"],["labelPlacement","stacked","autocomplete","off",1,"inputclass",3,"inputmode","label","debounce","value","color","ionInput"],[2,"width","20px","text-align","center"],["colspan","2",1,"lowercellclass"],["labelPlacement","stacked",3,"label","debounce","value","rows","ionChange",4,"ngIf"],[3,"height","innerHTML",4,"ngIf"],["labelPlacement","stacked",3,"label","debounce","value","rows","ionChange"],[3,"innerHTML"]],template:function(T,P){1&T&&(a.\u0275\u0275elementStart(0,"div",0)(1,"table",1),a.\u0275\u0275template(2,p,6,5,"tr",2)(3,f,5,3,"tr",3)(4,M,5,3,"tr",3),a.\u0275\u0275elementEnd()()),2&T&&(a.\u0275\u0275styleProp("cursor",!0===P.Clickable?"pointer":"default")("min-height",P.MinHeight,"px")("border",!0===P.Enabled?!0===P.Valid?P.OkBorder:P.RequiredBorder:P.DisabledBorder),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",null!==P.Titel&&""!==P.Titel&&!1===P.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",1===P.Lines),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",1!==P.Lines))},dependencies:[c.NgIf,g.IonIcon,g.IonInput,g.IonLabel,g.IonTextarea,g.TextValueAccessor],styles:[".framedivclass[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:flex-start;align-items:flex-start}.inputclass[_ngcontent-%COMP%]{border:1px solid blue;border:none;--padding-bottom: 0px;--padding-end: 0px;--padding-start: 0px;--padding-top: 0px;--color: black}ion-label[_ngcontent-%COMP%]{color:#000}ion-textarea[_ngcontent-%COMP%]{margin-top:0;border:none;--padding-bottom: 100px;--padding-end: 0px;--padding-start: 0px;--padding-top: 0px;--color: black}.uppercellclass[_ngcontent-%COMP%]{font-size:80%;padding:4px 4px 2px}.lowercellclass[_ngcontent-%COMP%]{padding:0 4px 4px}"]})}return I})()},33780:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.InputCloneModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.InputCloneModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},90520:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageFooterModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.PageFooterModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule]})}return e})()},29856:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageFooterComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(29743)),l=n.__importStar(o(34388)),e=n.__importStar(o(14652)),u=["PageFooterFrameDiv"],c=["*"];h.PageFooterComponent=(()=>{class v{Const;Debug;Basics;PageFooterFrameDiv;MaxFooterhoehe;constructor(S,C,_){this.Const=S,this.Debug=C,this.Basics=_}ngOnInit(){}InitMaximalhoehe(){try{return this.MaxFooterhoehe=this.PageFooterFrameDiv.nativeElement.clientHeight,this.MaxFooterhoehe}catch(S){this.Debug.ShowErrorMessage(S.message,"Page Footer","InitMaximalhoehe",this.Debug.Typen.Component)}}static \u0275fac=function(C){return new(C||v)(d.\u0275\u0275directiveInject(a.ConstProvider),d.\u0275\u0275directiveInject(l.DebugProvider),d.\u0275\u0275directiveInject(e.BasicsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:v,selectors:[["page-footer"]],viewQuery:function(C,_){if(1&C&&d.\u0275\u0275viewQuery(u,7,i.ElementRef),2&C){let f;d.\u0275\u0275queryRefresh(f=d.\u0275\u0275loadQuery())&&(_.PageFooterFrameDiv=f.first)}},ngContentSelectors:c,decls:3,vars:0,consts:[[1,"keeperclass"],["PageFooterFrameDiv",""]],template:function(C,_){1&C&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275projection(2),d.\u0275\u0275elementEnd())},styles:[".keeperclass[_ngcontent-%COMP%]{background:#307ac1;color:#fff;width:100%;min-height:40px;height:100%;display:flex;align-items:center;justify-content:flex-end}"]})}return v})()},89300:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderCenterModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.PageHeaderCenterModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},63792:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderMenuComponent=void 0;const i=o(81316),d=o(54496),a=i.__importDefault(o(35908)),l=o(36716),e=i.__importStar(o(54496)),u=i.__importStar(o(34388)),c=i.__importStar(o(14652)),g=i.__importStar(o(29743)),v=i.__importStar(o(22848)),p=i.__importStar(o(15024)),S=i.__importStar(o(48044)),C=i.__importStar(o(58864)),_=i.__importStar(o(79052)),f=i.__importStar(o(9544)),y=i.__importStar(o(8608)),b=i.__importStar(o(97092)),E=i.__importStar(o(7992)),M=i.__importStar(o(59460)),A=i.__importStar(o(91368)),I=i.__importStar(o(10716)),F=i.__importStar(o(25856)),j=i.__importStar(o(76732)),T=["Suchleiste"],P=["Suchleiste2"],x=["ion-searchbar"];function N(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td")(2,"div",6),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.HomeMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.HomeMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.MainMenueButtonClicked(Pt.Menuservice.MainMenuebereiche.Home))}),e.\u0275\u0275elementStart(3,"table",7)(4,"tr")(5,"td"),e.\u0275\u0275element(6,"ion-icon",8),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(7,"td",9),e.\u0275\u0275element(8,"div"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275property("color",Xe.HomeMouseOver?Xe.Basics.Ionicfarben.Schwarz:Xe.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(2),e.\u0275\u0275classMap(Xe.Menuservice.MainMenuebereich===Xe.Menuservice.MainMenuebereiche.Projekte?"trennerbigdivclass":"trennerdivclass")}}function O(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"td")(1,"ion-badge",22),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&Qe){const Xe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate((Xe.DBUrlaub.Urlaubsanfragenanzahl+Xe.DBUrlaub.Homeofficeanfragenanzahl).toString())}}function H(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",15),e.\u0275\u0275elementStart(2,"td")(3,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Pt.UrlaubMenueButtonClicked(Pt.Menuservice.UrlaubMenuebereiche.Freigaben))}),e.\u0275\u0275elementStart(4,"table",7)(5,"tr")(6,"td"),e.\u0275\u0275element(7,"ion-icon",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9,"Anfragen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(10,O,3,1,"td",0),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(7),e.\u0275\u0275property("color",Xe.GetUrlaubMenueIconcolor(Xe.Menuservice.UrlaubMenuebereiche.Freigaben)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Xe.GetUrlaubMenueFontcolor(Xe.Menuservice.UrlaubMenuebereiche.Freigaben)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",Xe.DBUrlaub.Urlaubsanfragenanzahl>0||Xe.DBUrlaub.Homeofficeanfragenanzahl>0)}}function G(Qe,Ct){1&Qe&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",23),e.\u0275\u0275elementEnd())}function te(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",24)(1,"ion-button",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Pt.UrlaubMitarbeiterClicked.emit())}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(null!==Xe.DBUrlaub.CurrentMitarbeiter?Xe.DBUrlaub.CurrentMitarbeiter.Vorname+" "+Xe.DBUrlaub.CurrentMitarbeiter.Name:"unbekannt")}}function ue(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"table")(2,"tr")(3,"td")(4,"div",6),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.LogoutMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.LogoutMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.LogoutButtonClicked())}),e.\u0275\u0275elementStart(5,"table",7)(6,"tr")(7,"td"),e.\u0275\u0275element(8,"ion-icon",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Abmelden"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(11,"td",3),e.\u0275\u0275elementStart(12,"td",9),e.\u0275\u0275element(13,"div",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td")(15,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.UrlaubMenueButtonClicked(Pt.Menuservice.UrlaubMenuebereiche.Planung))}),e.\u0275\u0275elementStart(16,"table",7)(17,"tr")(18,"td"),e.\u0275\u0275element(19,"ion-icon",13),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"td",14),e.\u0275\u0275text(21,"Planung"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(22,"td",15),e.\u0275\u0275elementStart(23,"td")(24,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.UrlaubMenueButtonClicked(Pt.Menuservice.UrlaubMenuebereiche.Uebersicht))}),e.\u0275\u0275elementStart(25,"table",7)(26,"tr")(27,"td"),e.\u0275\u0275element(28,"ion-icon",16),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"\xdcbersicht"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(31,H,11,4,"ng-container",0),e.\u0275\u0275element(32,"td",15),e.\u0275\u0275elementStart(33,"td")(34,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.UrlaubMenueButtonClicked(Pt.Menuservice.UrlaubMenuebereiche.Einstellungen))}),e.\u0275\u0275elementStart(35,"table",7)(36,"tr")(37,"td"),e.\u0275\u0275element(38,"ion-icon",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275text(40,"Einstellungen"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(41,G,2,0,"td",0),e.\u0275\u0275element(42,"td",18),e.\u0275\u0275template(43,te,3,1,"td",19),e.\u0275\u0275element(44,"td",20),e.\u0275\u0275elementEnd()()()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("cursor",Xe.LogoutMouseOver?"pointer":"default"),e.\u0275\u0275advance(4),e.\u0275\u0275property("color",Xe.LogoutMouseOver?Xe.Basics.Ionicfarben.Schwarz:Xe.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Xe.LogoutMouseOver?"#000000":"white"),e.\u0275\u0275advance(10),e.\u0275\u0275property("color",Xe.GetUrlaubMenueIconcolor(Xe.Menuservice.UrlaubMenuebereiche.Planung)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Xe.GetUrlaubMenueFontcolor(Xe.Menuservice.UrlaubMenuebereiche.Planung)),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",Xe.GetUrlaubMenueIconcolor(Xe.Menuservice.UrlaubMenuebereiche.Uebersicht)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Xe.GetUrlaubMenueFontcolor(Xe.Menuservice.UrlaubMenuebereiche.Uebersicht)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!0===Xe.DBUrlaub.CurrentMitarbeiter.Homeofficefreigaben||!0===Xe.DBUrlaub.CurrentMitarbeiter.Urlaubsfreigaben||Xe.DBUrlaub.Vertretungsanfragenanzahl>0),e.\u0275\u0275advance(7),e.\u0275\u0275property("color",Xe.GetUrlaubMenueIconcolor(Xe.Menuservice.UrlaubMenuebereiche.Einstellungen)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Xe.GetUrlaubMenueFontcolor(Xe.Menuservice.UrlaubMenuebereiche.Einstellungen)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===Xe.DBUrlaub.CorrectSetup),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Xe.Pool.Mitarbeiterdaten&&!0===Xe.Pool.Mitarbeiterdaten.Planeradministrator)}}function se(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",6),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.BackMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.BackMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.BackButtonClicked())}),e.\u0275\u0275elementStart(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Zur\xfcck"),e.\u0275\u0275elementEnd()()()()()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("cursor",Xe.BackMouseOver?"pointer":"default"),e.\u0275\u0275advance(4),e.\u0275\u0275property("color",Xe.BackMouseOver?Xe.Basics.Ionicfarben.BAEBlau:Xe.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Xe.BackMouseOver?"#000000":"white")}}function K(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"td",27),e.\u0275\u0275element(1,"div"),e.\u0275\u0275elementEnd()),2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275classMap(Xe.Menuservice.MainMenuebereich===Xe.Menuservice.MainMenuebereiche.Projekte?"trennerbigdivclass":"trennerdivclass")}}function Z(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"td")(1,"div",28)(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Standorte"),e.\u0275\u0275elementEnd()()()()()),2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Xe.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function re(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"td")(1,"div",28)(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Mitarbeiter"),e.\u0275\u0275elementEnd()()()()()),2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Xe.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function J(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"td")(1,"div",28)(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",31),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Projekte"),e.\u0275\u0275elementEnd()()()()()),2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Xe.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function Y(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.FirmaMenueButtonClicked(Pt.Menuservice.FirmaMenuebereiche.Favoriten))}),e.\u0275\u0275elementStart(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",32),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Favoriten"),e.\u0275\u0275elementEnd()()()()()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Xe.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function $(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td")(2,"table",33)(3,"tr")(4,"td",34)(5,"button-value-date",35),e.\u0275\u0275listener("TimeChanged",function(Pt){e.\u0275\u0275restoreView(Xe);const tn=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(tn.EmailDatumChangedHandler(Pt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"checkbox-clon",36),e.\u0275\u0275listener("CheckChanged",function(Pt){e.\u0275\u0275restoreView(Xe);const tn=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(tn.ShowUngelesenCheckChanged(Pt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9," Nur ungelesene Emails anzeigen "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td")(11,"checkbox-clon",36),e.\u0275\u0275listener("CheckChanged",function(Pt){e.\u0275\u0275restoreView(Xe);const tn=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(tn.ProjektsortierungChangedHandler(Pt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td"),e.\u0275\u0275text(13," Sortieren nach Projekten "),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("Buttontext","Ab dem ")("ElementID","terminspanneende")("Datum",Xe.GetMailDatum()),e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Xe.DBEmail.ShowUngelesenOnly),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",Xe.DBEmail.Projektsortierung)}}function le(Qe,Ct){1&Qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",15),e.\u0275\u0275elementStart(2,"td"),e.\u0275\u0275element(3,"ion-searchbar",37,38),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function ee(Qe,Ct){if(1&Qe){const Xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",15),e.\u0275\u0275elementStart(2,"td")(3,"div",39),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Xe);const Pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pt.StandortButtonClicked())}),e.\u0275\u0275elementStart(4,"table",7)(5,"tr")(6,"td"),e.\u0275\u0275element(7,"ion-icon",40),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",41),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate(Xe.DBStandort.GetStandortfiller())}}function we(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),e.\u0275\u0275element(3,"img",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"td",3),e.\u0275\u0275elementEnd()()),2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(3),e.\u0275\u0275property("src",Xe.GraphService.UserimageSRC,e.\u0275\u0275sanitizeUrl)}}function ye(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementStart(0,"div",44),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",null!==Xe.Pool.Mitarbeiterdaten?Xe.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function Oe(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,we,5,1,"table",0)(2,ye,2,1,"div",42),e.\u0275\u0275elementContainerEnd()),2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Xe.GraphService.UserimageSRC),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null===Xe.GraphService.UserimageSRC)}}function ve(Qe,Ct){if(1&Qe&&e.\u0275\u0275element(0,"td",51),2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Xe.Timelinebreite,"px")}}function _e(Qe,Ct){if(1&Qe&&e.\u0275\u0275element(0,"td",51),2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Xe.Timelinebreite,"px")}}function Pe(Qe,Ct){if(1&Qe&&e.\u0275\u0275element(0,"td",51),2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Xe.Timelinebreite,"px")}}function Ze(Qe,Ct){if(1&Qe&&e.\u0275\u0275element(0,"td",51),2&Qe){const Xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Xe.Timelinebreite,"px")}}function ot(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td",45),e.\u0275\u0275element(3,"div",46),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"tr")(5,"td",47)(6,"table")(7,"tr")(8,"td")(9,"div",48),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(11,ve,1,2,"td",49),e.\u0275\u0275element(12,"td",50),e.\u0275\u0275elementStart(13,"td")(14,"div",48),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,_e,1,2,"td",49),e.\u0275\u0275element(17,"td",50),e.\u0275\u0275elementStart(18,"td")(19,"div",48),e.\u0275\u0275text(20),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(21,Pe,1,2,"td",49),e.\u0275\u0275element(22,"td",50),e.\u0275\u0275elementStart(23,"td")(24,"div",48),e.\u0275\u0275text(25),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(26,Ze,1,2,"td",49),e.\u0275\u0275element(27,"td",50),e.\u0275\u0275elementStart(28,"td")(29,"div",48),e.\u0275\u0275text(30),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementContainerEnd()),2&Qe){const Xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("width",Xe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Xe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate3("Montag ",Xe.Timelineindex," ",Xe.GetDatumtext("Montag")," ",Xe.DBMitarbeiter.GetMeinewocheStunden("Montag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Xe.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Xe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Xe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Dienstag ",Xe.GetDatumtext("Dienstag")," ",Xe.DBMitarbeiter.GetMeinewocheStunden("Dienstag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",1===Xe.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Xe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Xe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Mittwoch ",Xe.GetDatumtext("Mittwoch")," ",Xe.DBMitarbeiter.GetMeinewocheStunden("Mittwoch"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",2===Xe.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Xe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Xe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Donnerstag ",Xe.GetDatumtext("Donnerstag")," ",Xe.DBMitarbeiter.GetMeinewocheStunden("Donnerstag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",3===Xe.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Xe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Xe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Freitag ",Xe.GetDatumtext("Freitag")," ",Xe.DBMitarbeiter.GetMeinewocheStunden("Freitag"),"")}}function tt(Qe,Ct){if(1&Qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",1)(2,"tr")(3,"td",2)(4,"table")(5,"tr"),e.\u0275\u0275element(6,"td",3),e.\u0275\u0275template(7,N,9,3,"ng-container",0)(8,ue,45,17,"td",0)(9,se,8,5,"td",0)(10,K,2,2,"td",4)(11,Z,8,3,"td",0)(12,re,8,3,"td",0)(13,J,8,3,"td",0)(14,Y,8,3,"td",0)(15,$,14,5,"ng-container",0)(16,le,5,0,"ng-container",0)(17,ee,10,1,"ng-container",0),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(18,"td",5),e.\u0275\u0275template(19,Oe,3,2,"ng-container",0),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(20,ot,31,35,"ng-container",0),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&Qe){const Xe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf",null!==Xe.Pool.Mitarbeiterdaten&&Xe.Pool.Mitarbeiterdaten.Planeradministrator),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.Menuservice.MainMenuebereich===Xe.Menuservice.MainMenuebereiche.Urlaubsplanung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.Menuservice.MainMenuebereich===Xe.Menuservice.MainMenuebereiche.Email),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.Menuservice.MainMenuebereich!==Xe.Menuservice.MainMenuebereiche.Urlaubsplanung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Xe.ShowStandorttitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Xe.ShowMitarbeitertitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Xe.ShowProjektetitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Xe.ShowFavoritentitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.Menuservice.MainMenuebereich===Xe.Menuservice.MainMenuebereiche.Email),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.ShowSuchleiste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.ShowSandortfilter),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===Xe.AuthService.ShowLogin),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Xe.Menuservice.MainMenuebereich===Xe.Menuservice.MainMenuebereiche.Projekte&&Xe.Menuservice.ProjekteMenuebereich===Xe.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&Xe.Menuservice.Aufgabenlisteansicht===Xe.Menuservice.Aufgabenlisteansichten.Meine_Woche)}}h.PageHeaderMenuComponent=(()=>{class Qe{Debug;Basics;Const;DBMitarbeiter;DBMitarbeitersettings;Auswahlservice;DBStandort;DBEmail;DBUrlaub;GraphService;AuthService;Pool;Menuservice;Suchleiste;Suchleiste2;Sucheiste3;ShowSandortfilter;ShowSuchleiste;Filterorigin;ShowStandorttitle;ShowMitarbeitertitle;ShowProjektetitle;ShowFavoritentitle;SendFestlegungenEnabled;Timelineindex;SucheChanged=new d.EventEmitter;StandortfilterClicked=new d.EventEmitter;ZeitspanneFilterClicked=new d.EventEmitter;LeistungsphaseFilterClicked=new d.EventEmitter;FilterChanged=new d.EventEmitter;ShowProjektauswahlEvent=new d.EventEmitter;ShowProjektfilesEvent=new d.EventEmitter;LOPListeZeitspanneEvent=new d.EventEmitter;ShowOpenFestlegungOnlyEvent=new d.EventEmitter;SendFestlegungenClicked=new d.EventEmitter;ShowUngelesenOnlyChanged=new d.EventEmitter;ProjektsortierungChanged=new d.EventEmitter;EmailDatumChanged=new d.EventEmitter;PlanungsmatrixLeistungsphaseClicked=new d.EventEmitter;ShowLOPListeInfoeintraegeChanged=new d.EventEmitter;ExpandFestlegungeEvent=new d.EventEmitter;UrlaubMitarbeiterClicked=new d.EventEmitter;SuchleisteInputSubscription;Suchleiste2InputSubscription;SuchleisteClearSubscription;Suchleiste2ClearSubscription;FavoritenSubscription;Inputtimer;Projektauswahlbreite;Wochentaghoehe;Tagbreite;HomeMouseOver;EmailMouseOver;FilesMouseOver;ShowOpenFestlegungOnly;BackMouseOver;Timelinebreite;LogoutMouseOver;constructor(Xe,nt,Pt,tn,hn,wn,An,_n,qt,ht,Ue,Ee,Te){this.Debug=Xe,this.Basics=nt,this.Const=Pt,this.DBMitarbeiter=tn,this.DBMitarbeitersettings=hn,this.Auswahlservice=wn,this.DBStandort=An,this.DBEmail=_n,this.DBUrlaub=qt,this.GraphService=ht,this.AuthService=Ue,this.Pool=Ee,this.Menuservice=Te;try{this.ShowSuchleiste=!1,this.SuchleisteClearSubscription=null,this.Suchleiste2ClearSubscription=null,this.SuchleisteInputSubscription=null,this.Suchleiste2InputSubscription=null,this.FavoritenSubscription=null,this.Inputtimer=null,this.ShowSandortfilter=!1,this.Projektauswahlbreite=200,this.Filterorigin=this.Const.NONE,this.Wochentaghoehe=30,this.Tagbreite=0,this.Timelinebreite=40,this.HomeMouseOver=!1,this.EmailMouseOver=!1,this.ShowStandorttitle=!1,this.ShowMitarbeitertitle=!1,this.ShowProjektetitle=!1,this.ShowFavoritentitle=!1,this.FilesMouseOver=!1,this.ShowOpenFestlegungOnly=!1,this.SendFestlegungenEnabled=!1,this.BackMouseOver=!1,this.LogoutMouseOver=!1,this.Timelineindex=0}catch($e){this.Debug.ShowErrorMessage($e.message,"Page Header Menu","consturctor",this.Debug.Typen.Component)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Page Header Menu","LogoutButtonClicked",this.Debug.Typen.Component)}}ngOnDestroy(){}BackButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte,this.Menuservice.SetCurrentPage()}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","BackButtonClicked",this.Debug.Typen.Component)}}ngOnInit(){try{this.Projektauswahlbreite=this.Basics.Contentbreite-630}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Page Header Menu","OnInit",this.Debug.Typen.Component)}}ProjektsortierungChangedHandler(Xe){try{this.DBEmail.Projektsortierung=Xe.status}catch(nt){this.Debug.ShowErrorMessage(nt,"Page Header Menu","ProjektsortierungChangedHandler",this.Debug.Typen.Component)}}ShowUngelesenCheckChanged(Xe){try{this.DBEmail.ShowUngelesenOnly=Xe.status,this.ShowUngelesenOnlyChanged.emit()}catch(nt){this.Debug.ShowErrorMessage(nt,"Page Header Menu","ShowUngelesenCheckChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){var Xe=this;return n(function*(){try{Xe.Tagbreite=(Xe.Basics.Contentbreite-4-Xe.Timelinebreite)/5}catch(nt){Xe.Debug.ShowErrorMessage(nt.message,"Page Header Menu","ngAfterViewInit",Xe.Debug.Typen.Component)}})()}MainMenueButtonClicked(Xe){try{this.Menuservice.MainMenuebereich=Xe,this.Menuservice.SetCurrentPage()}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","MainMenueButtonClicked",this.Debug.Typen.Component)}}FirmaMenueButtonClicked(Xe){try{this.Menuservice.FirmaMenuebereich=Xe,this.Menuservice.SetCurrentPage()}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","FirmaMenueButtonClicked",this.Debug.Typen.Component)}}ProjekteMenueButtonClicked(Xe){try{this.Menuservice.ProjekteMenuebereich=Xe,this.Menuservice.ProjekteMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}UrlaubMenueButtonClicked(Xe){try{this.Menuservice.UrlaubMenuebereich=Xe,this.Menuservice.UrlaubMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}GetProjekteMenueIconcolor(Xe){try{return Xe===this.Menuservice.ProjekteMenuebereich?"schwarz":"weiss"}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetProjekteMenueFontcolor(Xe){try{return Xe===this.Menuservice.ProjekteMenuebereich?"#000000":"white"}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueIconcolor(Xe){try{return Xe===this.Menuservice.UrlaubMenuebereich?"schwarz":"weiss"}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","GetUrlaubMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueFontcolor(Xe){try{return Xe===this.Menuservice.UrlaubMenuebereich?"#000000":"white"}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","GetUrlaubMenueFontcolor",this.Debug.Typen.Component)}}StandortButtonClicked(){try{this.StandortfilterClicked.emit()}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Page Header Menu","StandortButtonClicked",this.Debug.Typen.Component)}}ZeitspaneClickedHandler(Xe){try{this.ZeitspanneFilterClicked.emit(Xe)}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Page Header Menu","ZeitspaneClickedHandler",this.Debug.Typen.Component)}}LeistungsphaseClickedHandler(){try{this.LeistungsphaseFilterClicked.emit()}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Page Header Menu","LeistungsphaseClickedHandler",this.Debug.Typen.Component)}}StatusFilterShowFaelligOnlyChanged(Xe){}GetZeitfilterButtontext(){try{if(this.Filterorigin!==this.Auswahlservice.Auswahloriginvarianten.Aufgabenliste_Zeitfilter)return"Zeitfilter";switch(this.Pool.Mitarbeitersettings.AufgabenTerminfiltervariante){case this.Const.Faelligkeitsterminfiltervarianten.Seit_dem_Zeitpunkt:return"Seit dem Zeitpunkt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return"Bis zum Zeitpunkt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return"Zeitspanne";case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:return"Monat";case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Woche";default:return"Zeitfilter"}}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Page Header Menu","GetZeitfilterButtontext",this.Debug.Typen.Component)}}GetZeitfilterButtonwert(){try{let Xe,nt,Pt="";if(null!==this.Pool.Mitarbeitersettings){if(this.Filterorigin!==this.Auswahlservice.Auswahloriginvarianten.Aufgabenliste_Zeitfilter)return"Zeitfilter";switch(this.Pool.Mitarbeitersettings.AufgabenTerminfiltervariante){case this.Const.Faelligkeitsterminfiltervarianten.Seit_dem_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(Xe=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),Xe.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(nt=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),nt.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(Xe=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),Pt+=Xe.format("DD.MM.YYYY")):Pt+="Unbekannt",Pt+=" - ",null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(nt=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),Pt+=nt.format("DD.MM.YYYY")):Pt+="Unbekannt",Pt;case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Unbekannt";default:return"kein Filter"}}}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Page Header Menu","GetZeitfilterButtonwert",this.Debug.Typen.Component)}}MeintagClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Mein_Tag}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","MeintagClicked",this.Debug.Typen.Component)}}MeineWocheClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Meine_Woche}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","MeineWocheClicked",this.Debug.Typen.Component)}}MeilensteineClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Meilensteine}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","MeilensteineClicked",this.Debug.Typen.Component)}}ProjektClicked(){try{this.Menuservice.Aufgabenlisteansicht!==this.Menuservice.Aufgabenlisteansichten.Projekt?this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt:this.ShowProjektauswahlEvent.emit()}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","ProjektClicked",this.Debug.Typen.Component)}}ProjektfilesClicked(){try{this.GraphService.FilebrowserModus=this.GraphService.FilebrowserModusvarianten.Current_Projekt,this.ShowProjektfilesEvent.emit()}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","ProjektfilesClicked",this.Debug.Typen.Component)}}ShowOpenFestlegungOnlyChanged(Xe){try{this.ShowOpenFestlegungOnly=Xe.status,this.ShowOpenFestlegungOnlyEvent.emit(Xe.status)}catch(nt){this.Debug.ShowErrorMessage(nt,"Page Header Menu","ShowOpenFestlegungOnlyChanged",this.Debug.Typen.Component)}}GetMailDatum(){try{return this.DBEmail.Emaildatum}catch(Xe){this.Debug.ShowErrorMessage(Xe,"Page Header Menu","GetMailDatum",this.Debug.Typen.Component)}}EmailDatumChangedHandler(Xe){try{this.DBEmail.Emaildatum=Xe.clone(),this.EmailDatumChanged.emit()}catch(nt){this.Debug.ShowErrorMessage(nt,"Page Header Menu","EmailDatumChangedHandler",this.Debug.Typen.Component)}}GetDatumtext(Xe){try{let Pt=(0,a.default)().locale("de").clone().startOf("isoWeek");switch(Xe){case"Montag":return Pt.format("DD.MM.");case"Dienstag":return Pt.clone().add(1,"day").format("DD.MM.");case"Mittwoch":return Pt.clone().add(2,"day").format("DD.MM.");case"Donnerstag":return Pt.clone().add(3,"day").format("DD.MM.");case"Freitag":return Pt.clone().add(4,"day").format("DD.MM.")}return""}catch(nt){this.Debug.ShowErrorMessage(nt,"Page Header Menu","GetDatumtext",this.Debug.Typen.Component)}}environment=l.environment;static \u0275fac=function(nt){return new(nt||Qe)(e.\u0275\u0275directiveInject(u.DebugProvider),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.ConstProvider),e.\u0275\u0275directiveInject(v.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(p.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(S.AuswahlDialogService),e.\u0275\u0275directiveInject(C.DatabaseStandorteService),e.\u0275\u0275directiveInject(_.DatabaseOutlookemailService),e.\u0275\u0275directiveInject(f.DatabaseUrlaubService),e.\u0275\u0275directiveInject(y.Graphservice),e.\u0275\u0275directiveInject(b.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(E.DatabasePoolService),e.\u0275\u0275directiveInject(M.MenueService))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Qe,selectors:[["page-header-menu"]],viewQuery:function(nt,Pt){if(1&nt&&(e.\u0275\u0275viewQuery(T,5),e.\u0275\u0275viewQuery(P,5),e.\u0275\u0275viewQuery(x,5)),2&nt){let tn;e.\u0275\u0275queryRefresh(tn=e.\u0275\u0275loadQuery())&&(Pt.Suchleiste=tn.first),e.\u0275\u0275queryRefresh(tn=e.\u0275\u0275loadQuery())&&(Pt.Suchleiste2=tn.first),e.\u0275\u0275queryRefresh(tn=e.\u0275\u0275loadQuery())&&(Pt.Sucheiste3=tn)}},inputs:{ShowSandortfilter:"ShowSandortfilter",ShowSuchleiste:"ShowSuchleiste",Filterorigin:"Filterorigin",ShowStandorttitle:"ShowStandorttitle",ShowMitarbeitertitle:"ShowMitarbeitertitle",ShowProjektetitle:"ShowProjektetitle",ShowFavoritentitle:"ShowFavoritentitle",SendFestlegungenEnabled:"SendFestlegungenEnabled",Timelineindex:"Timelineindex"},outputs:{SucheChanged:"SucheChanged",StandortfilterClicked:"StandortfilterClicked",ZeitspanneFilterClicked:"ZeitspanneFilterClicked",LeistungsphaseFilterClicked:"LeistungsphaseFilterClicked",FilterChanged:"FilterChanged",ShowProjektauswahlEvent:"ShowProjektauswahlEvent",ShowProjektfilesEvent:"ShowProjektfilesEvent",LOPListeZeitspanneEvent:"LOPListeZeitspanneEvent",ShowOpenFestlegungOnlyEvent:"ShowOpenFestlegungOnlyEvent",SendFestlegungenClicked:"SendFestlegungenClicked",ShowUngelesenOnlyChanged:"ShowUngelesenOnlyChanged",ProjektsortierungChanged:"ProjektsortierungChanged",EmailDatumChanged:"EmailDatumChanged",PlanungsmatrixLeistungsphaseClicked:"PlanungsmatrixLeistungsphaseClicked",ShowLOPListeInfoeintraegeChanged:"ShowLOPListeInfoeintraegeChanged",ExpandFestlegungeEvent:"ExpandFestlegungeEvent",UrlaubMitarbeiterClicked:"UrlaubMitarbeiterClicked"},decls:1,vars:1,consts:[[4,"ngIf"],[2,"width","100%"],[2,"width","auto"],[2,"width","10px"],["align","center","style","width: 12px",4,"ngIf"],[2,"width","50px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","home-outline",3,"color"],["align","center",1,"trennertdclass"],["name","log-out-outline",3,"color"],[1,"trennerdivclass"],[1,"menubuttonclass",3,"click"],["name","create-outline",3,"color"],[2,"white-space","nowrap"],[2,"width","20px"],["name","calendar-outline",3,"color"],["name","settings-outline",3,"color"],[2,"width","60px"],["style","font-size: 90%; color: white;",4,"ngIf"],[2,"width","120px"],["name","thumbs-up-outline",3,"color"],["color","rot"],["src","assets/svgs/alert.svg",2,"width","24px"],[2,"font-size","90%","color","white"],["size","small","color","grau",3,"click"],["name","arrow-back-circle-outline",3,"color"],["align","center",2,"width","12px"],[1,"menubuttonclass"],["name","location-outline",3,"color"],["name","people-outline",3,"color"],["name","business-outline",3,"color"],["name","bookmarks-outline",3,"color"],[1,"paddingtable"],[2,"width","300px"],[3,"Buttontext","ElementID","Datum","TimeChanged"],[3,"Checked","CheckChanged"],["placeholder","Suche"],["Suchleiste",""],[1,"menufilterbuttonclass",3,"click"],["name","funnel-outline","color","weiss"],[2,"color","white"],["class","userkuerzelsmall",4,"ngIf"],[1,"userimagesmall",3,"src"],[1,"userkuerzelsmall"],["colspan","2",2,"padding-left","8px","padding-right","8px"],[2,"width","100%","height","1px","background","white"],["colspan","2"],[1,"wocheheaderdivclass"],["style","background: #354547;",3,"width",4,"ngIf"],[2,"width","1px","background","white"],[2,"background","#354547"]],template:function(nt,Pt){1&nt&&e.\u0275\u0275template(0,tt,21,13,"ng-container",0),2&nt&&e.\u0275\u0275property("ngIf",null!==Pt.AuthService.ActiveUser)},dependencies:[A.NgIf,I.IonBadge,I.IonButton,I.IonIcon,I.IonSearchbar,I.TextValueAccessor,F.CheckboxClonComponent,j.ButtonValueDateComponent],styles:[".menubuttonclass[_ngcontent-%COMP%]{cursor:pointer}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#454545;border-radius:4px}.planungheaderdiv[_ngcontent-%COMP%]{border-radius:6px;width:40px;height:40px;background:#454545;color:#fff;font-size:90%;display:flex;justify-content:center;align-items:center}.trennertdclass[_ngcontent-%COMP%]{width:30px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.trennerbigdivclass[_ngcontent-%COMP%]{width:1px;min-height:64px;height:100%;background:silver}ion-searchbar[_ngcontent-%COMP%]{width:300px;height:50px;--border-radius: none;--box-shadow: none;--background: black}.iconboxclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:6px;width:40px;height:40px;background:#444}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}.buttonclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:140px;min-height:34px;height:100%;padding:2px;border:1px solid white;border-radius:6px;cursor:pointer}.buttonsmallclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:50px;min-height:34px;height:100%;border:1px solid white;border-radius:6px;cursor:pointer}.statusvaianteclass[_ngcontent-%COMP%]{padding:6px;border-radius:3px;width:auto;white-space:nowrap;color:#fff;font-size:80%}.wocheheaderdivclass[_ngcontent-%COMP%]{background:#354547;color:#fff;display:flex;justify-content:center;align-items:center}.userimagesmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-top:4px;border-radius:50%;object-fit:cover}.userkuerzelsmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-right:4px;border-radius:50%;display:flex;justify-content:center;align-items:center;background:#454545;color:#fff;font-weight:700}"]})}return Qe})()},6168:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderMenuModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(72284),l=o(7388),e=o(22844),u=n.__importStar(o(54496));h.PageHeaderMenuModule=(()=>{class g{static \u0275fac=function(S){return new(S||g)};static \u0275mod=u.\u0275\u0275defineNgModule({type:g});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.ButtonValueModule,l.CheckboxClonModule,e.ButtonValueDateModule]})}return g})()},70216:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.PageHeaderModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},90212:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(34388)),l=n.__importStar(o(14652)),e=n.__importStar(o(7992)),u=n.__importStar(o(29743)),c=n.__importStar(o(91368)),g=n.__importStar(o(10716)),v=["PageHeaderDiv"];function p(_,f){if(1&_&&(d.\u0275\u0275elementStart(0,"div",3)(1,"table",4)(2,"tr")(3,"td")(4,"div",5),d.\u0275\u0275text(5),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementStart(6,"tr")(7,"td")(8,"div",6)(9,"table",7)(10,"tr")(11,"td",8),d.\u0275\u0275text(12),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(13,"tr")(14,"td"),d.\u0275\u0275element(15,"ion-progress-bar",9),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(16,"tr")(17,"td"),d.\u0275\u0275element(18,"div",10),d.\u0275\u0275elementEnd()()()()),2&_){const y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate1(" ",y.ProgressMessage," "),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate1(" ",y.Pool.ProgressMessage," "),d.\u0275\u0275advance(3),d.\u0275\u0275property("value",y.Pool.CurrentProgressValue/y.Pool.MaxProgressValue)}}const S=["*"];h.PageHeaderComponent=(()=>{class _{Debug;Basics;Pool;Const;PageHeaderDiv;ProgressMessage;constructor(y,b,E,M){this.Debug=y,this.Basics=b,this.Pool=E,this.Const=M;try{this.ProgressMessage="Stammdaten werden geladen werden geladen"}catch(A){this.Debug.ShowErrorMessage(A.message,"Page Header","Construktor",this.Debug.Typen.Component)}}ngOnInit(){}static \u0275fac=function(b){return new(b||_)(d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(l.BasicsProvider),d.\u0275\u0275directiveInject(e.DatabasePoolService),d.\u0275\u0275directiveInject(u.ConstProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:_,selectors:[["page-header"]],viewQuery:function(b,E){if(1&b&&d.\u0275\u0275viewQuery(v,7,i.ElementRef),2&b){let M;d.\u0275\u0275queryRefresh(M=d.\u0275\u0275loadQuery())&&(E.PageHeaderDiv=M.first)}},inputs:{ProgressMessage:"ProgressMessage"},ngContentSelectors:S,decls:4,vars:1,consts:[[1,"keeperdivclass"],["PageHeaderDiv",""],["class","loadingdivclass",4,"ngIf"],[1,"loadingdivclass"],["width","100%"],[1,"headerdivclass"],[1,"contentdivclass"],["width","100%",1,"paddingtable"],[2,"text-align","center","color","black"],[3,"value"],[2,"background","#354547","width","100%","height","20px"]],template:function(b,E){1&b&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275projection(2),d.\u0275\u0275template(3,p,19,3,"div",2),d.\u0275\u0275elementEnd()),2&b&&(d.\u0275\u0275advance(3),d.\u0275\u0275property("ngIf",E.Pool.ShowProgress))},dependencies:[c.NgIf,g.IonProgressBar],styles:["ion-progress-bar[_ngcontent-%COMP%]{--background: #444444;--progress-background: #307ac1}.keeperdivclass[_ngcontent-%COMP%]{width:100%;background:#307ac1;min-height:52px}.loadingdivclass[_ngcontent-%COMP%]{position:absolute;width:400px;height:300px;z-index:10000;top:200px;left:50%;transform:translate(-50%)}.headerdivclass[_ngcontent-%COMP%]{background:#307ac1;width:100%;height:30px;padding:4px;color:#fff;display:flex;justify-content:flex-start;align-items:center}.contentdivclass[_ngcontent-%COMP%]{border-left:3px solid #307ac1;border-right:3px solid #307ac1;background:#fff;width:100%;height:120px;padding:6px;display:flex;justify-content:center;align-items:center}"]})}return _})()},54588:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageModalKeepermodule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(70216),l=n.__importStar(o(54496));h.PageModalKeepermodule=(()=>{class u{static \u0275fac=function(v){return new(v||u)};static \u0275mod=l.\u0275\u0275defineNgModule({type:u});static \u0275inj=l.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.PageHeaderModule]})}return u})()},6232:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.UrlausplanungKalenderModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(44716),l=o(90520),e=o(89300),u=n.__importStar(o(54496));h.UrlausplanungKalenderModule=(()=>{class g{static \u0275fac=function(S){return new(S||g)};static \u0275mod=u.\u0275\u0275defineNgModule({type:g});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.ReactiveFormsModule,a.FormsModule,l.PageFooterModule,e.PageHeaderCenterModule]})}return g})()},77440:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PjProjektpunktDateKWPickerComponent=void 0;const n=o(81316),i=o(54496),d=n.__importDefault(o(35908));o(94091);const a=n.__importStar(o(17964)),l=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(14652)),c=n.__importStar(o(7992)),g=n.__importStar(o(21052)),v=n.__importStar(o(9544)),p=n.__importStar(o(19668)),S=n.__importStar(o(29743)),C=n.__importStar(o(91368)),_=n.__importStar(o(10716));function f(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",10)}function y(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",10)}function b(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",10)}function E(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",10)}function M(ve,_e){1&ve&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"div",10),l.\u0275\u0275elementContainerEnd())}function A(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",14)}function I(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",14)}function F(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",14)}function j(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",14)}function T(ve,_e){1&ve&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"div",14),l.\u0275\u0275elementContainerEnd())}function P(ve,_e){if(1&ve&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"div",5)(2,"div",12),l.\u0275\u0275text(3),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(4,A,1,0,"div",13)(5,I,1,0,"div",13)(6,F,1,0,"div",13)(7,j,1,0,"div",13)(8,T,2,0,"ng-container",7),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()),2&ve){const Pe=l.\u0275\u0275nextContext().$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(Pe.Tagnummer),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFerientage_DE),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFerientage_BG),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFeiertage_DE),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFeiertage_BG),l.\u0275\u0275advance(),l.\u0275\u0275property("ngForOf",Ze.KalendertageExternliste)}}function x(ve,_e){1&ve&&(l.\u0275\u0275elementStart(0,"tr")(1,"td",17),l.\u0275\u0275text(2,"H"),l.\u0275\u0275elementEnd()())}function N(ve,_e){1&ve&&l.\u0275\u0275element(0,"ion-icon",22)}function O(ve,_e){if(1&ve){const Pe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",20),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(3).$implicit,tt=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(tt.FerientagMouseOverEvent(ot,"DE"))})("mouseleave",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(6);return l.\u0275\u0275resetView(ot.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),l.\u0275\u0275template(1,N,1,0,"ion-icon",21),l.\u0275\u0275elementEnd()}if(2&ve){const Pe=l.\u0275\u0275nextContext(3).$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275styleProp("background",Pe.IsFerientag_DE?Ze.DB.Ferienfarbe_DE:Pe.Background),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Pe.IsFerientag_DE)}}function H(ve,_e){1&ve&&l.\u0275\u0275element(0,"ion-icon",24)}function G(ve,_e){if(1&ve){const Pe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",20),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(3).$implicit,tt=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(tt.FerientagMouseOverEvent(ot,"BG"))})("mouseleave",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(6);return l.\u0275\u0275resetView(ot.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),l.\u0275\u0275template(1,H,1,0,"ion-icon",23),l.\u0275\u0275elementEnd()}if(2&ve){const Pe=l.\u0275\u0275nextContext(3).$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275styleProp("background",Pe.IsFerientag_BG?Ze.DB.Ferienfarbe_BG:Pe.Background),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Pe.IsFerientag_BG)}}function te(ve,_e){1&ve&&l.\u0275\u0275element(0,"ion-icon",27)}function ue(ve,_e){if(1&ve){const Pe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",25),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(3).$implicit,tt=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(tt.FeietragMouseOverEvent(ot,"DE"))})("mouseleave",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(6);return l.\u0275\u0275resetView(ot.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),l.\u0275\u0275template(1,te,1,0,"ion-icon",26),l.\u0275\u0275elementEnd()}if(2&ve){const Pe=l.\u0275\u0275nextContext(3).$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275styleProp("background",Pe.IsFeiertag_DE?Ze.DB.Feiertagefarbe_DE:Pe.Background),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Pe.IsFeiertag_DE)}}function se(ve,_e){1&ve&&l.\u0275\u0275element(0,"ion-icon",29)}function K(ve,_e){if(1&ve){const Pe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",25),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(3).$implicit,tt=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(tt.FeietragMouseOverEvent(ot,"BG"))})("mouseleave",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(6);return l.\u0275\u0275resetView(ot.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),l.\u0275\u0275template(1,se,1,0,"ion-icon",28),l.\u0275\u0275elementEnd()}if(2&ve){const Pe=l.\u0275\u0275nextContext(3).$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275styleProp("background",Pe.IsFeiertag_BG?Ze.DB.Feiertagefarbe_BG:Pe.Background),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Pe.IsFeiertag_BG)}}function Z(ve,_e){if(1&ve&&(l.\u0275\u0275elementStart(0,"div",32),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&ve){const Pe=l.\u0275\u0275nextContext().$implicit,Ze=l.\u0275\u0275nextContext(3).index,ot=l.\u0275\u0275nextContext().index;l.\u0275\u0275styleProp("background",Pe[ot][Ze].Background),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate(Pe[ot][Ze].Kuerzel)}}function re(ve,_e){1&ve&&l.\u0275\u0275element(0,"div",33)}function J(ve,_e){if(1&ve&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,Z,2,3,"div",30)(2,re,1,0,"div",31),l.\u0275\u0275elementContainerEnd()),2&ve){const Pe=_e.$implicit,Ze=l.\u0275\u0275nextContext(3).index,ot=l.\u0275\u0275nextContext().index;l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Pe[ot][Ze].IsUrlaub),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!Pe[ot][Ze].IsUrlaub)}}function Y(ve,_e){if(1&ve){const Pe=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"div",15),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(Pe);const ot=l.\u0275\u0275nextContext(2),tt=ot.$implicit,mt=ot.index,Qe=l.\u0275\u0275nextContext().index,Ct=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(Ct.TagClicked(tt,Qe,mt))}),l.\u0275\u0275elementStart(2,"div",16)(3,"table")(4,"tr")(5,"td",17),l.\u0275\u0275text(6),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(7,x,3,0,"tr",11),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(8,O,2,3,"div",18)(9,G,2,3,"div",18)(10,ue,2,3,"div",19)(11,K,2,3,"div",19)(12,J,3,2,"ng-container",7),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()}if(2&ve){const Pe=l.\u0275\u0275nextContext(2).$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(2),l.\u0275\u0275styleProp("background",Ze.GetTagBackground(Pe))("color",Pe.Color),l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate(Pe.Tagnummer),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Pe.IsHomeoffice&&Ze.Pool.Mitarbeitersettings.ShowHomeoffice),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFerientage_DE),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFerientage_BG),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFeiertage_DE),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze.DB.ShowFeiertage_BG),l.\u0275\u0275advance(),l.\u0275\u0275property("ngForOf",Ze.KalendertageExternliste)}}function $(ve,_e){if(1&ve&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275text(1),l.\u0275\u0275elementContainerEnd()),2&ve){const Pe=l.\u0275\u0275nextContext(2).$implicit;l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate1(" ",Pe.Tagnummer," ")}}function le(ve,_e){if(1&ve&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,Y,13,11,"ng-container",11)(2,$,2,1,"ng-container",11),l.\u0275\u0275elementContainerEnd()),2&ve){const Pe=l.\u0275\u0275nextContext().$implicit,Ze=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!0===Pe.Hauptmonat&&null!==Ze.Pool.Mitarbeitersettings),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!1===Pe.Hauptmonat)}}function ee(ve,_e){if(1&ve&&(l.\u0275\u0275elementStart(0,"td"),l.\u0275\u0275template(1,P,9,6,"ng-container",11)(2,le,3,2,"ng-container",11),l.\u0275\u0275elementEnd()),2&ve){const Ze=_e.index;l.\u0275\u0275styleProp("color",!0===_e.$implicit.Hauptmonat?"black":"darkgray"),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze>=5),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Ze<5)}}function we(ve,_e){if(1&ve&&(l.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",5)(3,"div",6),l.\u0275\u0275text(4),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(5,f,1,0,"div",8)(6,y,1,0,"div",8)(7,b,1,0,"div",8)(8,E,1,0,"div",8)(9,M,2,0,"ng-container",7),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(10,ee,3,4,"td",9),l.\u0275\u0275elementEnd()),2&ve){const Pe=_e.$implicit,Ze=_e.index,ot=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate(Pe[Ze].Kalenderwoche),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",ot.DB.ShowFerientage_DE),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",ot.DB.ShowFerientage_BG),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",ot.DB.ShowFeiertage_DE),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",ot.DB.ShowFeiertage_BG),l.\u0275\u0275advance(),l.\u0275\u0275property("ngForOf",ot.KalendertageExternliste),l.\u0275\u0275advance(),l.\u0275\u0275property("ngForOf",Pe)}}function ye(ve,_e){if(1&ve&&(l.\u0275\u0275elementStart(0,"div",1)(1,"table",2)(2,"tr")(3,"td",3),l.\u0275\u0275text(4),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(5,"tr")(6,"td",4)(7,"div",5)(8,"div",6),l.\u0275\u0275text(9,"KW"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(10,"td",4)(11,"div",5)(12,"div",6),l.\u0275\u0275text(13,"Mo"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(14,"td",4)(15,"div",5)(16,"div",6),l.\u0275\u0275text(17,"Di"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(18,"td",4)(19,"div",5)(20,"div",6),l.\u0275\u0275text(21,"Mi"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(22,"td",4)(23,"div",5)(24,"div",6),l.\u0275\u0275text(25,"Do"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(26,"td",4)(27,"div",5)(28,"div",6),l.\u0275\u0275text(29,"Fr"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(30,"td",4)(31,"div",5)(32,"div",6),l.\u0275\u0275text(33,"Sa"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(34,"td",4)(35,"div",5)(36,"div",6),l.\u0275\u0275text(37,"So"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275template(38,we,11,7,"tr",7),l.\u0275\u0275elementEnd()()),2&ve){const Pe=l.\u0275\u0275nextContext();l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate1(" ",Pe.GetMonatname()," "),l.\u0275\u0275advance(34),l.\u0275\u0275property("ngForOf",Pe.Kalendertageliste)}}h.PjProjektpunktDateKWPickerComponent=(()=>{class ve{Debug;Basics;Pool;Displayservice;DB;Tools;Const;ShowProtokollpunkte;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;Monatindex;Jahr;AddUrlaubRunning;AddHomeofficerunning;ShowYear;FeiertagCrossedEvent=new i.EventEmitter;FerientagCrossedEvent=new i.EventEmitter;AddUrlaubFinished=new i.EventEmitter;AddHomeofficeEvent=new i.EventEmitter;Kalendertageliste;KalendertageExternliste;DataSubscription;MonateSubscription;Monatname;ExterneUrlaubSubscription;UrlaubStatusSubscription;HomeofficeStatusSubscription;ExterneHomeofficeSubscription;constructor(Pe,Ze,ot,tt,mt,Qe,Ct){this.Debug=Pe,this.Basics=Ze,this.Pool=ot,this.Displayservice=tt,this.DB=mt,this.Tools=Qe,this.Const=Ct;try{this.Dialogbreite=300,this.Dialoghoehe=400,this.Jahr=2023,this.ShowProtokollpunkte=!0,this.Kalendertageliste=[],this.KalendertageExternliste=[],this.Monatname="none",this.AddUrlaubRunning=!1,this.AddHomeofficerunning=!1,this.Monatindex=0,this.ShowYear=!1,this.Monatname=this.DB.Monateliste[this.Monatindex],this.DataSubscription=null,this.MonateSubscription=null,this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription=null,this.HomeofficeStatusSubscription=null,this.ExterneHomeofficeSubscription=null}catch(Xe){this.Debug.ShowErrorMessage(Xe.message,"Urlaubsplanung Kalender","Construktor",this.Debug.Typen.Component)}}ngOnChanges(Pe){try{a.isUndefined(Pe.Monatindex)||this.PrepareData()}catch(Ze){this.Debug.ShowErrorMessage(Ze,"Urlaubsplanung Kalender","ngOnChanges",this.Debug.Typen.Component)}}PrepareData(){try{let Pe,Ze,ot,tt,mt,Ct,Xe,nt,Pt,tn,hn,Qe=this.Monatindex+1;this.Monatname=this.DB.Monateliste[this.Monatindex],Qe=Qe<10?"0"+Qe.toString():Qe.toString(),Pe=(0,d.default)(this.Jahr.toString()+"-"+Qe,"YYYY-MM").daysInMonth(),Ze=Pe;let wn=(0,d.default)().set({date:1,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de"),An=(0,d.default)().set({date:Pe,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de");ot=wn.isoWeekday(),tt=ot-1,Ze+=tt,Xe=wn.clone().subtract(tt,"day"),Pt=Xe.clone(),ot=An.isoWeekday(),tt=7-ot,Ze+=tt,mt=Ze/7,hn=Pt.clone(),this.Kalendertageliste=[];for(let _n=0;_n{this.PrepareData()}),this.MonateSubscription=this.DB.PlanungsmonateChanged.subscribe(()=>{this.PrepareData()}),this.ExterneUrlaubSubscription=this.DB.ExterneUrlaubeChanged.subscribe(()=>{this.PrepareData()}),this.ExterneHomeofficeSubscription=this.DB.ExterneHomeofficeChanged.subscribe(()=>{this.PrepareData()}),this.UrlaubStatusSubscription=this.DB.UrlaubStatusChanged.subscribe(()=>{this.PrepareData()}),this.HomeofficeStatusSubscription=this.DB.HomeofficeStatusChanged.subscribe(()=>{this.PrepareData()})}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Urlaubsplanung Kalender","ngOnInit",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.ProjektpunktDateKwPicker),this.DataSubscription.unsubscribe(),this.DataSubscription=null,this.MonateSubscription.unsubscribe(),this.MonateSubscription=null,this.ExterneUrlaubSubscription.unsubscribe(),this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription.unsubscribe(),this.UrlaubStatusSubscription=null,this.HomeofficeStatusSubscription.unsubscribe(),this.HomeofficeStatusSubscription=null,this.ExterneHomeofficeSubscription.unsubscribe(),this.ExterneHomeofficeSubscription=null}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Urlaubsplanung Kalender","ngOnDestroy",this.Debug.Typen.Component)}}FeietragMouseOverEvent(Pe,Ze){try{let ot="",tt=(0,d.default)(Pe.Tagstempel).locale("DE"===Ze?"de":"en");(Pe.IsFeiertag_DE||Pe.IsFeiertag_BG)&&("DE"===Ze&&Pe.IsFeiertag_DE?(ot=Pe.Feiertagname_DE+" / "+tt.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:ot,Laendercode:Ze})):"BG"===Ze&&Pe.IsFeiertag_BG&&(ot=Pe.Feiertagname_BG+" / "+tt.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:ot,Laendercode:Ze})))}catch(ot){this.Debug.ShowErrorMessage(ot,"Urlaubsplanung Kalender","FeietragMouseOverEvent",this.Debug.Typen.Component)}}FerientagMouseOverEvent(Pe,Ze){try{this.FerientagCrossedEvent.emit({Name:"DE"===Ze?Pe.Ferienname_DE:Pe.Ferienname_BG,Laendercode:Ze})}catch(ot){this.Debug.ShowErrorMessage(ot,"Urlaubsplanung Kalender","FerientagMouseOverEvent",this.Debug.Typen.Component)}}TagClicked(Pe,Ze,ot){try{let tt,mt,Qe,nt,Ct=0,Xe="DE"===this.DB.Laendercode?Pe.IsFeiertag_DE:Pe.IsFeiertag_BG,Pt=Pe.IsUrlaub,tn=Pe.IsHomeoffice;if(this.AddUrlaubRunning)if(!1===Xe&&!1===tn&&!1===Pt)if(null===this.DB.CurrentUrlaubzeitspanne)this.DB.CurrentUrlaubzeitspanne=this.DB.GetEmptyUrlaubszeitspanne(),this.DB.CurrentUrlaubzeitspanne.Startstempel=Pe.Tagstempel,this.DB.CurrentUrlaubzeitspanne.Startstring=Pe.Datumstring,Pe.Background=this.DB.Urlaubsfaben.Geplant,Pe.IsUrlaub=!0,Pe.Color="white";else if(mt=(0,d.default)(this.DB.CurrentUrlaubzeitspanne.Startstempel),tt=(0,d.default)(Pe.Tagstempel),!0===tt.isSameOrAfter(mt,"day")&&tt.isSame(mt,"week")){this.DB.CurrentUrlaubzeitspanne.Endestempel=Pe.Tagstempel,this.DB.CurrentUrlaubzeitspanne.Endestring=Pe.Datumstring;for(let hn=ot;hn>=0;hn--)Qe=this.Kalendertageliste[Ze][hn],Xe="DE"===this.DB.Laendercode?Qe.IsFeiertag_DE:Qe.IsFeiertag_BG,!1===Xe&&(Qe.Background=this.DB.Urlaubsfaben.Geplant,Qe.IsUrlaub=!0,Qe.Color="white",Ct++);this.DB.CurrentUrlaubzeitspanne.Tageanzahl=Ct,nt=this.DB.CountResturlaub(),nt-Ct>=0?this.AddUrlaubFinished.emit(!0):(this.Tools.ShowHinweisDialog("Du hast nur noch "+nt+" Tage Resturlaub."),this.DB.CurrentUrlaubzeitspanne=null,window.setTimeout(()=>{for(let hn=ot;hn>=0;hn--)Qe=this.Kalendertageliste[Ze][hn],Xe="DE"===this.DB.Laendercode?Qe.IsFeiertag_DE:Qe.IsFeiertag_BG,!1===Xe&&(Qe.Background="none",Qe.IsUrlaub=!1,Qe.Color="black");this.AddUrlaubFinished.emit(!1)},3e3))}else this.Tools.ShowHinweisDialog("Bitte Tag in der gleichen Woche w\xe4hlen.");else this.Tools.ShowHinweisDialog(Xe?"Dieser Tag ist ein Feiertag.":tn?"Dieser Tag ist ein Homeofficetag.":"Dieser Tag ist bereits ein Urlaubstag.");this.AddHomeofficerunning&&(!1===Xe&&!1===Pt&&!1===tn?(this.DB.CurrentHomeofficezeitspanne=this.DB.GetEmptyHomeofficezeitspanne(),this.DB.CurrentHomeofficezeitspanne.Startstempel=Pe.Tagstempel,this.DB.CurrentHomeofficezeitspanne.Endestempel=Pe.Tagstempel,this.DB.CurrentHomeofficezeitspanne.Startstring=Pe.Datumstring,this.DB.CurrentHomeofficezeitspanne.Endestring=Pe.Datumstring,this.DB.CurrentHomeofficezeitspanne.Tageanzahl=1,Qe=this.Kalendertageliste[Ze][ot],Qe.Background=this.DB.Homeofficefarben.Geplant,Qe.IsHomeoffice=!0,Qe.Color="white"):this.Tools.ShowHinweisDialog(Xe?"Dieser Tag ist ein Feiertag.":Pt?"Dieser Tag ist ein Urlaubstag.":"Dieser Tag ist bereits ein Homeofficetag."),this.AddHomeofficeEvent.emit(!0))}catch(tt){this.Debug.ShowErrorMessage(tt,"Urlaubsplanung Kalender","TagClicked",this.Debug.Typen.Component)}}GetMonatname(){try{let Pe=this.Monatname;return this.ShowYear&&(Pe+=" "+this.Jahr),Pe}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Kalender","GetMonatname",this.Debug.Typen.Component)}}GetTagBackground(Pe){try{return!0===Pe.IsUrlaub||!0===Pe.IsHomeoffice?Pe.Background:"none"}catch(Ze){this.Debug.ShowErrorMessage(Ze,"Urlaubsplanung Kalender","GetTagBackground",this.Debug.Typen.Component)}}static \u0275fac=function(Ze){return new(Ze||ve)(l.\u0275\u0275directiveInject(e.DebugProvider),l.\u0275\u0275directiveInject(u.BasicsProvider),l.\u0275\u0275directiveInject(c.DatabasePoolService),l.\u0275\u0275directiveInject(g.DisplayService),l.\u0275\u0275directiveInject(v.DatabaseUrlaubService),l.\u0275\u0275directiveInject(p.ToolsProvider),l.\u0275\u0275directiveInject(S.ConstProvider))};static \u0275cmp=l.\u0275\u0275defineComponent({type:ve,selectors:[["urlaubsplanung-kalender"]],inputs:{ShowProtokollpunkte:"ShowProtokollpunkte",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex",Monatindex:"Monatindex",Jahr:"Jahr",AddUrlaubRunning:"AddUrlaubRunning",AddHomeofficerunning:"AddHomeofficerunning",ShowYear:"ShowYear"},outputs:{FeiertagCrossedEvent:"FeiertagCrossedEvent",FerientagCrossedEvent:"FerientagCrossedEvent",AddUrlaubFinished:"AddUrlaubFinished",AddHomeofficeEvent:"AddHomeofficeEvent"},features:[l.\u0275\u0275NgOnChangesFeature],decls:1,vars:1,consts:[["class","frameclass",4,"ngIf"],[1,"frameclass"],["width","100%",1,"paddingsmalltable"],["colspan","8",2,"font-size","120%","font-weight","bold","color","black","text-align","center"],[2,"width","12%"],[1,"tagrahmenclass"],[1,"taginfodivclass"],[4,"ngFor","ngForOf"],["class","taginfospacedivclass",4,"ngIf"],[3,"color",4,"ngFor","ngForOf"],[1,"taginfospacedivclass"],[4,"ngIf"],[1,"wochenendedivclass"],["class","wochenendespacedivclass",4,"ngIf"],[1,"wochenendespacedivclass"],[1,"tagrahmenclass",3,"click"],[1,"tagdivclass"],[2,"text-align","center"],["class","feriendivclass",3,"background","mouseenter","mouseleave",4,"ngIf"],["class","feiertagdivclass",3,"background","mouseenter","mouseleave",4,"ngIf"],[1,"feriendivclass",3,"mouseenter","mouseleave"],["name","school-outline","color","weiss","style","font-size: 18px",4,"ngIf"],["name","school-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","gelb","style","font-size: 18px",4,"ngIf"],["name","school-outline","color","gelb",2,"font-size","18px"],[1,"feiertagdivclass",3,"mouseenter","mouseleave"],["name","flag-outline","color","weiss","style","font-size: 18px",4,"ngIf"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","flag-outline","color","gelb","style","font-size: 18px",4,"ngIf"],["name","flag-outline","color","gelb",2,"font-size","18px"],["class","tagexterndivclass",3,"background",4,"ngIf"],["class","tagexternemptydivclass",4,"ngIf"],[1,"tagexterndivclass"],[1,"tagexternemptydivclass"]],template:function(Ze,ot){1&Ze&&l.\u0275\u0275template(0,ye,39,2,"div",0),2&Ze&&l.\u0275\u0275property("ngIf",null!==ot.Pool.Mitarbeitersettings)},dependencies:[C.NgForOf,C.NgIf,_.IonIcon],styles:[".frameclass[_ngcontent-%COMP%]{border:1px solid #307ac1;background:#fff;color:#fff;padding:4px;width:100%;height:100%}.tagrahmenclass[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;border:1px solid #444444}.feiertagdivclass[_ngcontent-%COMP%], .feriendivclass[_ngcontent-%COMP%]{width:100%;height:20px;cursor:pointer;display:flex;justify-content:center;align-items:center}.taginfodivclass[_ngcontent-%COMP%]{font-weight:700;width:100%;display:flex;justify-content:center;align-items:center;height:inherit;height:36px;color:#307ac1}.taginfospacedivclass[_ngcontent-%COMP%]{height:20px;width:100%}.wochenendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:100%;display:flex;justify-content:center;align-items:center;height:36px;background:#34495e}.wochenendespacedivclass[_ngcontent-%COMP%]{background:#34495e;height:20px;width:100%}.tagdivclass[_ngcontent-%COMP%]{cursor:pointer;font-weight:700;color:#000;width:100%;height:36px;display:flex;justify-content:center;align-items:center}.tagexterndivclass[_ngcontent-%COMP%]{border-top:1px solid red;cursor:pointer;color:#fff;font-size:80%;width:100%;height:20px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.tagexternemptydivclass[_ngcontent-%COMP%]{border-top:1px solid;cursor:pointer;color:#fff;font-size:80%;width:100%;height:20px;display:flex;box-sizing:border-box;justify-content:center;align-items:center}.buttoninfoclass[_ngcontent-%COMP%]{width:100%;height:10px;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%}.kwdivclass[_ngcontent-%COMP%]{border-radius:50px;height:38px;background:none;color:#000;display:flex;justify-content:center;align-items:center;cursor:pointer}"]})}return ve})()},44180:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Fachbereiche=void 0,h.Fachbereiche=class o{_Elektrotechnik={Bezeichnung:"Elektrotechnik",Kuerzel:"ELT",Key:"ELT"};_BMA={Bezeichnung:"Brandmeldeanlage",Kuerzel:"BMA",Key:"BMA"};_EMA={Bezeichnung:"Einbruchmeldeanlage",Kuerzel:"EMA",Key:"EMA"};_GMA={Bezeichnung:"Gefahrenmeldeanlage",Kuerzel:"GMA",Key:"GMA"};_Aufzug={Bezeichnung:"F\xf6rderanlagen",Kuerzel:"Aufzug",Key:"Aufzug"};_Unbekannt={Bezeichnung:"Unbekannt",Kuerzel:"Unbekannt",Key:"Unbekannt"};_HLS={Bezeichnung:"Heizung, L\xfcftung, Sanit\xe4r",Kuerzel:"HLS",Key:"HLS"};_HLSE={Bezeichnung:"Heizung, L\xfcftung, Sanit\xe4r, Elektro",Kuerzel:"HLSE",Key:"HLSE"};_H={Bezeichnung:"Heizung",Kuerzel:"H",Key:"H"};_L={Bezeichnung:"L\xfcftung",Kuerzel:"L",Key:"L"};_S={Bezeichnung:"Sanit\xe4r",Kuerzel:"S",Key:"S"};_K={Bezeichnung:"Klimatisierung",Kuerzel:"K",Key:"K"};_MSR={Bezeichnung:"Messen, Steuern, Regeln",Kuerzel:"MSR",Key:"MSR"};_Geschaeftsfuehrung={Bezeichnung:"Gesch\xe4ftsfuehrung",Kuerzel:"GF",Key:"GF"};_Assistenz={Bezeichnung:"Assistenz",Kuerzel:"AS",Key:"AS"};_Prokurist={Bezeichnung:"Prokurist",Kuerzel:"PRO",Key:"PRO"};_Planer={Bezeichnung:"Planer",Kuerzel:"PLAN",Key:"Planer"};_Teamleitung={Bezeichnung:"Teamleitung",Kuerzel:"TL",Key:"TL"};_Projektleitung={Bezeichnung:"Projektleitung",Kuerzel:"PL",Key:"PL"};_Studentin={Bezeichnung:"Student/in",Kuerzel:"STUDI",Key:"STUDI"};_Auszubildende={Bezeichnung:"Auszubildende/r",Kuerzel:"AZUBI",Key:"AZUBI"};_Objektueberwachung={Bezeichnung:"_Objekt\xfcberwachung",Kuerzel:"O\xdc",Key:"OUE"};_Buchhaltung={Bezeichnung:"Buchhaltung",Kuerzel:"BH",Key:"BH"};_Marketing={Bezeichnung:"Marketing",Kuerzel:"MA",Key:"MA"};_Praktikantin={Bezeichnung:"Praktikant/in",Kuerzel:"PA",Key:"PA"};_IT={Bezeichnung:"IT - Abteilung",Kuerzel:"IT",Key:"IT"};_Controlling={Bezeichnung:"Controlling",Kuerzel:"CO",Key:"CO"};_Techniker={Bezeichnung:"Techniker/in",Kuerzel:"TECH",Key:"TECH"};_Niederlassungsleitung={Bezeichnung:"Niederlassungsleitung",Kuerzel:"NL",Key:"NL"};_Architektin={Bezeichnung:"Architekt/in",Kuerzel:"AR",Key:"AR"};_Kauffrau={Bezeichnung:"Kauffrau/mann",Kuerzel:"KF",Key:"KF"};_HR={Bezeichnung:"Human Resources",Kuerzel:"HR",Key:"HR"};_Test={Bezeichnung:"Test",Kuerzel:"TEST",Key:"TEST"};Gewerkeliste;constructor(){this.Gewerkeliste=[],this.Gewerkeliste.push(this.GetFachbereichbyKey("ELT")),this.Gewerkeliste.push(this.GetFachbereichbyKey("Unbekannt")),this.Gewerkeliste.push(this.GetFachbereichbyKey("HLS")),this.Gewerkeliste.push(this.GetFachbereichbyKey("HLSE")),this.Gewerkeliste.push(this.GetFachbereichbyKey("H")),this.Gewerkeliste.push(this.GetFachbereichbyKey("L")),this.Gewerkeliste.push(this.GetFachbereichbyKey("S")),this.Gewerkeliste.push(this.GetFachbereichbyKey("K")),this.Gewerkeliste.push(this.GetFachbereichbyKey("MSR")),this.Gewerkeliste.push(this.GetFachbereichbyKey("GF")),this.Gewerkeliste.push(this.GetFachbereichbyKey("AS")),this.Gewerkeliste.push(this.GetFachbereichbyKey("PRO")),this.Gewerkeliste.push(this.GetFachbereichbyKey("Planer")),this.Gewerkeliste.push(this.GetFachbereichbyKey("TL")),this.Gewerkeliste.push(this.GetFachbereichbyKey("PL")),this.Gewerkeliste.push(this.GetFachbereichbyKey("STUDI")),this.Gewerkeliste.push(this.GetFachbereichbyKey("AZUBI")),this.Gewerkeliste.push(this.GetFachbereichbyKey("OUE")),this.Gewerkeliste.push(this.GetFachbereichbyKey("BH")),this.Gewerkeliste.push(this.GetFachbereichbyKey("MA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("PA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("IT")),this.Gewerkeliste.push(this.GetFachbereichbyKey("CO")),this.Gewerkeliste.push(this.GetFachbereichbyKey("TECH")),this.Gewerkeliste.push(this.GetFachbereichbyKey("NL")),this.Gewerkeliste.push(this.GetFachbereichbyKey("AR")),this.Gewerkeliste.push(this.GetFachbereichbyKey("KF")),this.Gewerkeliste.push(this.GetFachbereichbyKey("HR")),this.Gewerkeliste.push(this.GetFachbereichbyKey("BMA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("EMA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("GMA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("Aufzug"));for(let i of this.Gewerkeliste)i.Visible=!0;this.Gewerkeliste.sort((i,d)=>i.Bezeichnungd.Bezeichnung?1:0)}get Elektrotechnik(){return this._Elektrotechnik}get BMA(){return this._BMA}get EMA(){return this._EMA}get GMA(){return this._GMA}get Aufzug(){return this._Aufzug}get Unbekannt(){return this._Unbekannt}get HLS(){return this._HLS}get HLSE(){return this._HLSE}get H(){return this._H}get L(){return this._L}get S(){return this._S}get K(){return this._K}get MSR(){return this._MSR}get Geschaeftsfuehrung(){return this._Geschaeftsfuehrung}get Assistenz(){return this._Assistenz}get Prokurist(){return this._Prokurist}get Planer(){return this._Planer}get Teamleitung(){return this._Teamleitung}get Projektleitung(){return this._Projektleitung}get Studentin(){return this._Studentin}get Auszubildende(){return this._Auszubildende}get Objektueberwachung(){return this._Objektueberwachung}get Buchhaltung(){return this._Buchhaltung}get Marketing(){return this._Marketing}get Praktikantin(){return this._Praktikantin}get IT(){return this._IT}get Controlling(){return this._Controlling}get Niederlassungsleitung(){return this._Niederlassungsleitung}get Architektin(){return this._Architektin}get Kauffrau(){return this._Kauffrau}get HR(){return this._HR}get Techniker(){return this._Techniker}GetFachbereichbyKey(i){switch(i){case"ELT":return this._Elektrotechnik;case"Unbekannt":default:return this._Unbekannt;case"HLS":return this._HLS;case"HLSE":return this._HLSE;case"H":return this._H;case"L":return this._L;case"S":return this._S;case"K":return this._K;case"MSR":return this._MSR;case"GF":return this._Geschaeftsfuehrung;case"AS":return this._Assistenz;case"PRO":return this._Prokurist;case"Planer":return this._Planer;case"TL":return this._Teamleitung;case"PL":return this._Projektleitung;case"STUDI":return this._Studentin;case"AZUBI":return this._Auszubildende;case"OUE":return this._Objektueberwachung;case"BH":return this._Buchhaltung;case"MA":return this._Marketing;case"PA":return this._Praktikantin;case"IT":return this._IT;case"CO":return this._Controlling;case"TECH":return this._Techniker;case"NL":return this._Niederlassungsleitung;case"AR":return this._Architektin;case"KF":return this._Kauffrau;case"HR":return this._HR;case"BMA":return this._BMA;case"EMA":return this._EMA;case"GMA":return this._GMA;case"Aufzug":return this._Aufzug}}}},37724:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonDebugPageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),l=o(10716),e=o(66788),u=o(70216),c=o(6512),g=o(90520),v=o(6168),p=o(15756),S=o(7388),C=n.__importStar(o(54496)),f=(n.__importStar(o(56568)),[{path:"",component:e.CommonDebugPage}]);h.CommonDebugPageModule=(()=>{class b{static \u0275fac=function(A){return new(A||b)};static \u0275mod=C.\u0275\u0275defineNgModule({type:b});static \u0275inj=C.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,l.IonicModule,a.RouterModule.forChild(f),u.PageHeaderModule,c.AbstandElementFixedModule,d.ReactiveFormsModule,g.PageFooterModule,v.PageHeaderMenuModule,p.PrettyjsonModule,S.CheckboxClonModule]})}return b})()},66788:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonDebugPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),a=n.__importStar(o(34388)),l=n.__importStar(o(19668)),e=n.__importStar(o(29743)),u=n.__importStar(o(44716)),c=n.__importStar(o(97048)),g=n.__importStar(o(7992)),v=n.__importStar(o(97092)),p=n.__importStar(o(91368)),S=n.__importStar(o(10716)),C=n.__importStar(o(90212)),_=n.__importStar(o(73088)),f=n.__importStar(o(29856)),y=n.__importStar(o(63792)),b=n.__importStar(o(25856));function E(A,I){if(1&A&&(i.\u0275\u0275elementStart(0,"tr")(1,"td"),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"td"),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"td"),i.\u0275\u0275text(6),i.\u0275\u0275elementEnd()()),2&A){const F=I.$implicit;i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(F.Message),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",F.Color),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate(F.Message),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(F.Function)}}h.CommonDebugPage=(()=>{class A{Basics;Debug;Tools;Const;fb;http;Pool;AuthService;Title;constructor(F,j,T,P,x,N,O,H){this.Basics=F,this.Debug=j,this.Tools=T,this.Const=P,this.fb=x,this.http=N,this.Pool=O,this.AuthService=H}ngOnInit(){}ionViewDidEnter(){try{this.Title="Debug"}catch(F){this.Debug.ShowErrorMessage(F.message,"Debug","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnDestroy(){}ClearMessagesButtonCLcicked(){try{this.Debug.Debugmessageliste=[]}catch(F){this.Debug.ShowErrorMessage(F.message,"Debug","ClearMessagesButtonCLcicked",this.Debug.Typen.Page)}}ChangeShowHomeScreenInfos(F){try{this.Basics.ShowHomeScreenInfos=F.status}catch(j){this.Debug.ShowErrorMessage(j,"Debug","ChangeShowHomeScreenInfos",this.Debug.Typen.Page)}}DebugNoExternalEmailChanged(F){try{this.Basics.DebugNoExternalEmail=F.status}catch(j){this.Debug.ShowErrorMessage(j,"Debug","DebugNoExternalEmailChanged",this.Debug.Typen.Page)}}TestButtonChlicked(){}static \u0275fac=function(j){return new(j||A)(i.\u0275\u0275directiveInject(d.BasicsProvider),i.\u0275\u0275directiveInject(a.DebugProvider),i.\u0275\u0275directiveInject(l.ToolsProvider),i.\u0275\u0275directiveInject(e.ConstProvider),i.\u0275\u0275directiveInject(u.FormBuilder),i.\u0275\u0275directiveInject(c.HttpClient),i.\u0275\u0275directiveInject(g.DatabasePoolService),i.\u0275\u0275directiveInject(v.DatabaseAuthenticationService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:A,selectors:[["common-debug-page"]],decls:47,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[3,"click"],[1,"docinnertable"],[2,"font-weight","bold"],[4,"ngFor","ngForOf"],["PageFooter",""]],template:function(j,T){1&j&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu",2),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"ion-grid")(6,"ion-row")(7,"ion-col")(8,"table",3)(9,"tr")(10,"td")(11,"checkbox-clon",4),i.\u0275\u0275listener("CheckChanged",function(x){return T.ChangeShowHomeScreenInfos(x)}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(12,"td"),i.\u0275\u0275text(13," Zeige Homescreen Zusatzinformationen "),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col")(16,"table",3)(17,"tr")(18,"td")(19,"checkbox-clon",4),i.\u0275\u0275listener("CheckChanged",function(x){return T.DebugNoExternalEmailChanged(x)}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(20,"td"),i.\u0275\u0275text(21," Keine Emails nach au\xdfen senden -> nur an p.hornburger@gmail.com "),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(22,"ion-row")(23,"ion-col")(24,"table")(25,"tr")(26,"td")(27,"ion-button",5),i.\u0275\u0275listener("click",function(){return T.TestButtonChlicked()}),i.\u0275\u0275text(28,"Test"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(29,"td")(30,"ion-button",5),i.\u0275\u0275listener("click",function(){return T.ClearMessagesButtonCLcicked()}),i.\u0275\u0275text(31,"Clear Messages"),i.\u0275\u0275elementEnd()()()()()()(),i.\u0275\u0275elementStart(32,"table",6)(33,"tr")(34,"td",7),i.\u0275\u0275text(35,"Skpript"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(36,"td",7),i.\u0275\u0275text(37,"Message"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(38,"td",7),i.\u0275\u0275text(39,"Funktion"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(40,E,7,5,"tr",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(41,"br")(42,"br")(43,"abstand-element-fixed"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(44,"ion-footer"),i.\u0275\u0275element(45,"page-footer",null,9),i.\u0275\u0275elementEnd()),2&j&&(i.\u0275\u0275advance(3),i.\u0275\u0275property("ShowSuchleiste",!1),i.\u0275\u0275advance(8),i.\u0275\u0275property("Checked",T.Basics.ShowHomeScreenInfos),i.\u0275\u0275advance(8),i.\u0275\u0275property("Checked",T.Basics.DebugNoExternalEmail),i.\u0275\u0275advance(21),i.\u0275\u0275property("ngForOf",T.Debug.Debugmessageliste))},dependencies:[p.NgForOf,S.IonButton,S.IonCol,S.IonContent,S.IonFooter,S.IonGrid,S.IonHeader,S.IonRow,C.PageHeaderComponent,_.AbstandElementFixedComponent,f.PageFooterComponent,y.PageHeaderMenuComponent,b.CheckboxClonComponent],styles:[".menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return A})()},66068:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonEinstellungenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),l=o(42764),e=o(70216),u=o(56568),c=o(6168),g=o(90520),v=o(7388),p=o(72284),S=o(10272),C=o(2300),_=o(84104),f=n.__importStar(o(54496)),b=(n.__importStar(o(56568)),[{path:"",component:l.CommonEinstellungenPage}]);h.CommonEinstellungenPageModule=(()=>{class M{static \u0275fac=function(F){return new(F||M)};static \u0275mod=f.\u0275\u0275defineNgModule({type:M});static \u0275inj=f.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(b),c.PageHeaderMenuModule,g.PageFooterModule,v.CheckboxClonModule,p.ButtonValueModule,S.AuswahlDialogModule,C.EditorComponent,_.SafePipeModule]})}return M})()},42764:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonEinstellungenPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(15024)),a=n.__importStar(o(7992)),l=n.__importStar(o(29743)),e=n.__importStar(o(14652)),u=n.__importStar(o(34388)),c=n.__importStar(o(91368)),g=n.__importStar(o(10716)),v=n.__importStar(o(90212)),p=n.__importStar(o(63792)),S=n.__importStar(o(29856)),C=n.__importStar(o(25856)),_=n.__importStar(o(13228)),f=n.__importStar(o(56584)),y=n.__importStar(o(66144));function b(F,j){if(1&F&&(i.\u0275\u0275elementStart(0,"td")(1,"span"),i.\u0275\u0275text(2,"Testgr\xf6\xdfentest"),i.\u0275\u0275elementEnd()()),2&F){const T=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275styleProp("font-size",T.Pool.Mitarbeitersettings.Textsize,"px")}}function E(F,j){if(1&F){const T=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"table",10)(1,"tr")(2,"td",11)(3,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(T);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.FavoritenanzahlClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(4,"td",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"tr")(6,"td",11)(7,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(T);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.MeilensteineNachlaufClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(8,"td",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"tr")(10,"td",11)(11,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(T);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.ZoomfaktorClicked())}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(12,"tr")(13,"td",11)(14,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(T);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.TextsizeClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(15,"td",14),i.\u0275\u0275template(16,b,3,2,"td",5),i.\u0275\u0275elementEnd()()}if(2&F){const T=i.\u0275\u0275nextContext();i.\u0275\u0275advance(3),i.\u0275\u0275property("Buttontext","Anzahl der Favoriten pro Zeile")("Wert_A",T.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten.toString())("Buttoncolor",T.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(4),i.\u0275\u0275property("Buttontext","Meilensteine anzeigen nach Erledigung")("Wert_A",T.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf.toString()+" Kalenderwochen")("Buttoncolor",T.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(4),i.\u0275\u0275property("Buttontext","Zoomfaktor")("Wert_A",T.Pool.Mitarbeitersettings.Zoomfaktor.toString())("Buttoncolor",T.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(3),i.\u0275\u0275property("Buttontext","Textgr\xf6\xdfe")("Wert_A",T.Pool.Mitarbeitersettings.Textsize.toString()+" Pixel")("Buttoncolor",T.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",null!==T.Pool.Mitarbeitersettings)}}function M(F,j){if(1&F){const T=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"table",10)(4,"tr")(5,"td")(6,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Nummer"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(7,"td"),i.\u0275\u0275text(8,"Nummer"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Startdatum"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(12,"td"),i.\u0275\u0275text(13,"Startdatum"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(14,"tr")(15,"td")(16,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Aufgabe"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(17,"td"),i.\u0275\u0275text(18,"Aufgabe"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(19,"tr")(20,"td")(21,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Bemerkungen"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(22,"td"),i.\u0275\u0275text(23,"Bemerkungen"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(24,"tr")(25,"td")(26,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Fortschritt"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(27,"td"),i.\u0275\u0275text(28,"Fortschritt"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(29,"tr")(30,"td")(31,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Zeitansatz"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(32,"td"),i.\u0275\u0275text(33,"Zeitansatz"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(34,"tr")(35,"td")(36,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Termin"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(37,"td"),i.\u0275\u0275text(38,"Termin"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(39,"tr")(40,"td")(41,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Tage"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(42,"td"),i.\u0275\u0275text(43,"Tage"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(44,"tr")(45,"td")(46,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Zustaendig"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(47,"td"),i.\u0275\u0275text(48,"Zust\xe4ndig"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(49,"tr")(50,"td")(51,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Status"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(52,"td"),i.\u0275\u0275text(53,"Status"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(54,"tr")(55,"td")(56,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Meintag"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(57,"td"),i.\u0275\u0275text(58,"Meintag"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(59,"tr")(60,"td")(61,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(x,"Meine Woche"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(62,"td"),i.\u0275\u0275text(63,"Meine Woche"),i.\u0275\u0275elementEnd()()()()()()}if(2&F){const T=i.\u0275\u0275nextContext();i.\u0275\u0275advance(6),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowNummer),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowStartdatum),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowAufgabe),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowBemerkung),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowFortschritt),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowZeitansatz),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowTermin),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowTage),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowZustaendig),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowStatus),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowMeintag),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowMeinewoche)}}function A(F,j){if(1&F){const T=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"auswahl-dialog",16),i.\u0275\u0275listener("OkClickedEvent",function(x){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.AuswahlOkButtonClicked(x))})("CancelClickedEvent",function(){i.\u0275\u0275restoreView(T);const x=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(x.ShowAuswahl=!1)}),i.\u0275\u0275elementEnd()}if(2&F){const T=i.\u0275\u0275nextContext();i.\u0275\u0275property("Auswahlliste",T.Auswahlliste)("Auswahlindex",T.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",T.Auswahltitel)("Iconname","apps-outline")}}h.CommonEinstellungenPage=(()=>{class F{MitarbeitersettingsDB;Pool;Const;Basics;Debug;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahldialogorigin;Editorconfig;Signatur;Mitarbeitersubscription;constructor(T,P,x,N,O){this.MitarbeitersettingsDB=T,this.Pool=P,this.Const=x,this.Basics=N,this.Debug=O;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.ShowAuswahl=!1,this.Signatur=this.Const.NONE,this.Auswahldialogorigin=this.Const.NONE,this.Mitarbeitersubscription=null,this.Editorconfig={menubar:!1,statusbar:!1,language:"de",browser_spellcheck:!0,height:800,auto_focus:!0,content_style:"body { color: black; margin: 0; line-height: 0.9; }, ",base_url:"assets/tinymce",suffix:".min",toolbar:[{name:"styles",items:["forecolor","backcolor"]},{name:"formatting",items:["bold","italic","underline","strikethrough"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]}]}}catch(H){this.Debug.ShowErrorMessage(H.message,"Einstellungen","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.Mitarbeitersubscription.unsubscribe(),this.Mitarbeitersubscription=null}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Mitarbeitersubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","OnInit",this.Debug.Typen.Page)}}ListesettingCheckChanged(T,P){try{switch(P){case"Nummer":this.Pool.Mitarbeitersettings.AufgabenShowNummer=T.status;break;case"Startdatum":this.Pool.Mitarbeitersettings.AufgabenShowStartdatum=T.status;break;case"Aufgabe":this.Pool.Mitarbeitersettings.AufgabenShowAufgabe=T.status;break;case"Bemerkungen":this.Pool.Mitarbeitersettings.AufgabenShowBemerkung=T.status;break;case"Fortschritt":this.Pool.Mitarbeitersettings.AufgabenShowFortschritt=T.status;break;case"Tage":this.Pool.Mitarbeitersettings.AufgabenShowTage=T.status;break;case"Zeitansatz":this.Pool.Mitarbeitersettings.AufgabenShowZeitansatz=T.status;break;case"Termin":this.Pool.Mitarbeitersettings.AufgabenShowTermin=T.status;break;case"Zustaendig":this.Pool.Mitarbeitersettings.AufgabenShowZustaendig=T.status;break;case"Status":this.Pool.Mitarbeitersettings.AufgabenShowStatus=T.status;break;case"Meintag":this.Pool.Mitarbeitersettings.AufgabenShowMeintag=T.status;break;case"Meine Woche":this.Pool.Mitarbeitersettings.AufgabenShowMeinewoche=T.status}this.MitarbeitersettingsDB.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{}).catch(x=>{this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Settings","ListesettingCheckChanged",this.Debug.Typen.Page)})}catch(x){this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Settings","ListesettingCheckChanged",this.Debug.Typen.Page)}}SignaturTextChangedHandler(T){}FavoritenanzahlClicked(){try{this.Auswahldialogorigin="Favoritenanzahl",this.ShowAuswahl=!0,this.Auswahltitel="Favoritenanzahl festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"4",SecoundColumn:"",Data:4}),this.Auswahlliste.push({Index:1,FirstColumn:"5",SecoundColumn:"",Data:5}),this.Auswahlliste.push({Index:2,FirstColumn:"6",SecoundColumn:"",Data:6}),this.Auswahlliste.push({Index:3,FirstColumn:"7",SecoundColumn:"",Data:7}),this.Auswahlliste.push({Index:4,FirstColumn:"8",SecoundColumn:"",Data:8}),this.Auswahlliste.push({Index:5,FirstColumn:"9",SecoundColumn:"",Data:9}),this.Auswahlliste.push({Index:6,FirstColumn:"10",SecoundColumn:"",Data:10}),this.Auswahlliste.push({Index:7,FirstColumn:"11",SecoundColumn:"",Data:11}),this.Auswahlliste.push({Index:8,FirstColumn:"12",SecoundColumn:"",Data:12}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T.message,"Mitarbeiter Settings","FavoritenanzahlClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(T){try{switch(this.Auswahldialogorigin){case"Favoritenanzahl":this.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten=T;break;case"MeielnsteineNachlauf":this.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf=T;break;case"Zoomfaktor":this.Pool.Mitarbeitersettings.Zoomfaktor=T;break;case"Textgroesse":this.Pool.Mitarbeitersettings.Textsize=T}this.MitarbeitersettingsDB.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{switch(this.Auswahldialogorigin){case"Favoritenanzahl":case"MeielnsteineNachlauf":break;case"Zoomfaktor":this.Pool.MitarbeitersettingsChanged.emit()}}).catch(P=>{this.Debug.ShowErrorMessage(P.message,"Einstellungen","MaxFavoritenanzahlChanged",this.Debug.Typen.Page)}),this.ShowAuswahl=!1}catch(P){this.Debug.ShowErrorMessage(P.message,"Einstellungen","AuswahlOkButtonClicked",this.Debug.Typen.Page)}}MeilensteineNachlaufClicked(){try{this.Auswahldialogorigin="MeielnsteineNachlauf",this.ShowAuswahl=!0,this.Auswahltitel="Mailensteine Nachlauf festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"1 Kalderwoche",SecoundColumn:"",Data:1}),this.Auswahlliste.push({Index:1,FirstColumn:"2 Kalenderwochen",SecoundColumn:"",Data:2}),this.Auswahlliste.push({Index:2,FirstColumn:"3 Kalenderwochen",SecoundColumn:"",Data:3}),this.Auswahlliste.push({Index:3,FirstColumn:"4 Kalenderwochen",SecoundColumn:"",Data:4}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T.message,"Einstellungen","MeilensteineNachlaufClicked",this.Debug.Typen.Page)}}ZoomfaktorClicked(){try{this.Auswahldialogorigin="Zoomfaktor",this.ShowAuswahl=!0,this.Auswahltitel="Zoomfaktor festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"120",SecoundColumn:"",Data:120}),this.Auswahlliste.push({Index:1,FirstColumn:"110",SecoundColumn:"",Data:110}),this.Auswahlliste.push({Index:2,FirstColumn:"100",SecoundColumn:"",Data:100}),this.Auswahlliste.push({Index:3,FirstColumn:"90",SecoundColumn:"",Data:90}),this.Auswahlliste.push({Index:4,FirstColumn:"80",SecoundColumn:"",Data:80}),this.Auswahlliste.push({Index:5,FirstColumn:"70",SecoundColumn:"",Data:70}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.Zoomfaktor),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","ZoomfaktorClicked",this.Debug.Typen.Page)}}TextsizeClicked(){this.Auswahldialogorigin="Textgroesse",this.ShowAuswahl=!0,this.Auswahltitel="Textgr\xf6\xdfe",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"10",SecoundColumn:"",Data:10}),this.Auswahlliste.push({Index:1,FirstColumn:"12",SecoundColumn:"",Data:12}),this.Auswahlliste.push({Index:2,FirstColumn:"14",SecoundColumn:"",Data:14}),this.Auswahlliste.push({Index:3,FirstColumn:"16",SecoundColumn:"",Data:16}),this.Auswahlliste.push({Index:4,FirstColumn:"18",SecoundColumn:"",Data:18}),this.Auswahlliste.push({Index:5,FirstColumn:"20",SecoundColumn:"",Data:20}),this.Auswahlliste.push({Index:6,FirstColumn:"22",SecoundColumn:"",Data:22}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.Textsize),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","ZoomfaktorClicked",this.Debug.Typen.Page)}replaceAll(T,P,x){return T.split(P).join(x)}PrepareData(){try{this.Signatur=this.Pool.GetFilledSignatur(this.Pool.Mitarbeiterdaten,!0)}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","PrepareData",this.Debug.Typen.Page)}}static \u0275fac=function(P){return new(P||F)(i.\u0275\u0275directiveInject(d.DatabaseMitarbeitersettingsService),i.\u0275\u0275directiveInject(a.DatabasePoolService),i.\u0275\u0275directiveInject(l.ConstProvider),i.\u0275\u0275directiveInject(e.BasicsProvider),i.\u0275\u0275directiveInject(u.DebugProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:F,selectors:[["common-einstellungen-page"]],decls:17,vars:7,consts:[[1,"ion-no-border"],["PageHeader",""],[2,"width","100%"],["valign","top",2,"width","auto"],["class","paddingtable",4,"ngIf"],[4,"ngIf"],[2,"width","800px","padding","6px"],[2,"width","800px","height","800px","border","1px solid gray","padding","4px","border-radius","4px",3,"innerHTML"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[1,"paddingtable"],[2,"width","460px"],[3,"Buttontext","Wert_A","Buttoncolor","ButtonClicked"],["colspan","2"],[2,"width","10px"],[3,"Checked","CheckChanged"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(P,x){1&P&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"table",2)(6,"tr")(7,"td",3),i.\u0275\u0275template(8,E,17,13,"table",4)(9,M,64,12,"ion-grid",5),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(10,"td",6),i.\u0275\u0275element(11,"div",7),i.\u0275\u0275pipe(12,"safe"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(13,"ion-footer"),i.\u0275\u0275element(14,"page-footer",null,8),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(16,A,1,6,"auswahl-dialog",9)),2&P&&(i.\u0275\u0275advance(8),i.\u0275\u0275property("ngIf",null!==x.Pool.Mitarbeitersettings),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null!==x.Pool.Mitarbeitersettings),i.\u0275\u0275advance(2),i.\u0275\u0275property("innerHTML",i.\u0275\u0275pipeBind2(12,4,x.Signatur,"html"),i.\u0275\u0275sanitizeHtml),i.\u0275\u0275advance(5),i.\u0275\u0275property("ngIf",x.ShowAuswahl))},dependencies:[c.NgIf,g.IonCol,g.IonContent,g.IonFooter,g.IonGrid,g.IonHeader,g.IonRow,v.PageHeaderComponent,p.PageHeaderMenuComponent,S.PageFooterComponent,C.CheckboxClonComponent,_.ButtonValueComponent,f.AuswahlDialogComponent,y.SafePipe],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]})}return F})()},27735:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonHomePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),l=o(10716),e=o(45884),u=o(70216),c=o(6512),g=o(90520),v=o(12095),p=n.__importStar(o(54496)),C=(n.__importStar(o(56568)),[{path:"",component:e.CommonHomePage}]);h.CommonHomePageModule=(()=>{class f{static \u0275fac=function(E){return new(E||f)};static \u0275mod=p.\u0275\u0275defineNgModule({type:f});static \u0275inj=p.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,l.IonicModule,a.RouterModule.forChild(C),u.PageHeaderModule,c.AbstandElementFixedModule,d.ReactiveFormsModule,g.PageFooterModule,v.FiChangelogEditorModule]})}return f})()},45884:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonHomePage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),l=o(80103),e=o(21112),u=o(36716),c=i.__importStar(o(54496)),g=i.__importStar(o(14652)),v=i.__importStar(o(34388)),p=i.__importStar(o(19668)),S=i.__importStar(o(29743)),C=i.__importStar(o(7992)),_=i.__importStar(o(9028)),f=i.__importStar(o(8608)),y=i.__importStar(o(51708)),b=i.__importStar(o(97092)),E=i.__importStar(o(15024)),M=i.__importStar(o(59460)),A=i.__importStar(o(91368)),I=i.__importStar(o(10716)),F=i.__importStar(o(90212)),j=i.__importStar(o(29856)),T=i.__importStar(o(64168));function P($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"td",12),c.\u0275\u0275element(2,"div",13),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(3,"td",7),c.\u0275\u0275elementStart(4,"td")(5,"div",8),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.DebugMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.DebugMouseOver=!1)})("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.DebugButtonClicked())}),c.\u0275\u0275elementStart(6,"table",9)(7,"tr")(8,"td"),c.\u0275\u0275element(9,"ion-icon",14),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"td"),c.\u0275\u0275text(11,"Debug"),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275element(12,"td",7),c.\u0275\u0275elementStart(13,"td")(14,"div",8),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.EinstellungenMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.EinstellungenMouseOver=!1)})("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.EinstellungenButtonClicked())}),c.\u0275\u0275elementStart(15,"table",9)(16,"tr")(17,"td"),c.\u0275\u0275element(18,"ion-icon",15),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(19,"td"),c.\u0275\u0275text(20,"Einstellungen"),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275elementContainerEnd()}if(2&$){const ee=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(5),c.\u0275\u0275styleProp("cursor",ee.DebugMouseOver?"pointer":"default"),c.\u0275\u0275advance(4),c.\u0275\u0275property("color",ee.DebugMouseOver?ee.Basics.Ionicfarben.Schwarz:ee.Basics.Ionicfarben.Weiss),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color",ee.DebugMouseOver?"#000000":"white"),c.\u0275\u0275advance(4),c.\u0275\u0275styleProp("cursor",ee.EinstellungenMouseOver?"pointer":"default"),c.\u0275\u0275advance(4),c.\u0275\u0275property("color",ee.EinstellungenMouseOver?ee.Basics.Ionicfarben.Schwarz:ee.Basics.Ionicfarben.Weiss),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color",ee.EinstellungenMouseOver?"#000000":"white")}}function x($,le){if(1&$&&(c.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),c.\u0275\u0275element(3,"img",17),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(4,"td",7),c.\u0275\u0275elementEnd()()),2&$){const ee=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(3),c.\u0275\u0275property("src",ee.GraphService.UserimageSRC,c.\u0275\u0275sanitizeUrl)}}function N($,le){if(1&$&&(c.\u0275\u0275elementStart(0,"div",18),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&$){const ee=c.\u0275\u0275nextContext(3);c.\u0275\u0275styleProp("background",ee.Basics.Farben.Grau),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",null!==ee.Pool.Mitarbeiterdaten?ee.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function O($,le){if(1&$&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,x,5,1,"table",2)(2,N,2,3,"div",16),c.\u0275\u0275elementContainerEnd()),2&$){const ee=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",null!==ee.GraphService.UserimageSRC),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",null===ee.GraphService.UserimageSRC)}}function H($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"table",5)(2,"tr")(3,"td",6)(4,"table")(5,"tr"),c.\u0275\u0275element(6,"td",7),c.\u0275\u0275elementStart(7,"td")(8,"div",8),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.LogoutMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.LogoutMouseOver=!1)})("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.LogoutButtonClicked())}),c.\u0275\u0275elementStart(9,"table",9)(10,"tr")(11,"td"),c.\u0275\u0275element(12,"ion-icon",10),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(13,"td"),c.\u0275\u0275text(14,"Abmelden"),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275element(15,"td",7),c.\u0275\u0275template(16,P,21,10,"ng-container",2),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(17,"td",11),c.\u0275\u0275template(18,O,3,2,"ng-container",2),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementContainerEnd()}if(2&$){const ee=c.\u0275\u0275nextContext();c.\u0275\u0275advance(8),c.\u0275\u0275styleProp("cursor",ee.LogoutMouseOver?"pointer":"default"),c.\u0275\u0275advance(4),c.\u0275\u0275property("color",ee.LogoutMouseOver?ee.Basics.Ionicfarben.Schwarz:ee.Basics.Ionicfarben.Weiss),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color",ee.LogoutMouseOver?"#000000":"white"),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",!1===ee.environment.production),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",!1===ee.AuthService.ShowLogin)}}function G($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",41),c.\u0275\u0275listener("click",function(){const Oe=c.\u0275\u0275restoreView(ee).$implicit,ve=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ve.ChangelogClicked(Oe))}),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(4,"td")(5,"div",41),c.\u0275\u0275listener("click",function(){const Oe=c.\u0275\u0275restoreView(ee).$implicit,ve=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ve.ChangelogClicked(Oe))}),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(7,"td")(8,"div",41),c.\u0275\u0275listener("click",function(){const Oe=c.\u0275\u0275restoreView(ee).$implicit,ve=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ve.ChangelogClicked(Oe))}),c.\u0275\u0275text(9),c.\u0275\u0275elementEnd()()()}if(2&$){const ee=le.$implicit,we=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(we.GetDatum(ee.Zeitstempel)),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(ee.Version),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(ee.Beschreibung)}}function te($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",33)(1,"table",34)(2,"tr")(3,"td",35),c.\u0275\u0275text(4,"Change Log"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(5,"tr",36)(6,"td"),c.\u0275\u0275text(7,"Datum"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(8,"td"),c.\u0275\u0275text(9,"Version"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"td"),c.\u0275\u0275text(11,"Beschreibung"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(12,G,10,3,"tr",37),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(13,"ion-button",38),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(ye.AddChangelogClicked())}),c.\u0275\u0275element(14,"ion-icon",39),c.\u0275\u0275elementStart(15,"ion-text",40),c.\u0275\u0275text(16,"Neuer Eintrag"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(17,"table",34)(18,"tr")(19,"td")(20,"b"),c.\u0275\u0275text(21,"Build:"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(22,"td"),c.\u0275\u0275text(23),c.\u0275\u0275elementEnd()()()()}if(2&$){const ee=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(3),c.\u0275\u0275styleProp("color",ee.Basics.Farben.BAEBlau),c.\u0275\u0275advance(9),c.\u0275\u0275property("ngForOf",ee.Pool.Changlogliste),c.\u0275\u0275advance(),c.\u0275\u0275property("color","grau"),c.\u0275\u0275advance(10),c.\u0275\u0275textInterpolate(ee.Basics.AppBuild)}}function ue($,le){1&$&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"div",51),c.\u0275\u0275element(2,"img",52),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}function se($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td")(3,"div",42),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ye.StandorteButtonClicked())})("mouseenter",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ye.StandortMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ye.StandortMouseOver=!1)}),c.\u0275\u0275elementStart(4,"table")(5,"tr")(6,"td",24),c.\u0275\u0275element(7,"ion-icon",43),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(8,"tr")(9,"td",30)(10,"table")(11,"tr")(12,"td",44),c.\u0275\u0275text(13),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(14,"td",45),c.\u0275\u0275elementStart(15,"td")(16,"ion-text",46),c.\u0275\u0275text(17,"Standorte"),c.\u0275\u0275elementEnd()()()()()()()()(),c.\u0275\u0275elementStart(18,"td"),c.\u0275\u0275element(19,"div",47),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(20,"td")(21,"div",42),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ye.MitarbeiterButtonClicked())})("mouseenter",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ye.MitarbeiterMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ye.MitarbeiterMouseOver=!1)}),c.\u0275\u0275elementStart(22,"table")(23,"tr")(24,"td",24)(25,"div",48)(26,"div",49),c.\u0275\u0275element(27,"ion-icon",50),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(28,ue,3,0,"ng-container",2),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(29,"tr")(30,"td",30)(31,"table")(32,"tr")(33,"td",44),c.\u0275\u0275text(34),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(35,"td",45),c.\u0275\u0275elementStart(36,"td",30)(37,"ion-text",46),c.\u0275\u0275text(38,"Mitarbeiter"),c.\u0275\u0275elementEnd()()()()()()()()()()()}if(2&$){const ee=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(7),c.\u0275\u0275property("color",ee.StandortMouseOver?ee.Basics.Ionicfarben.BAEBlau:ee.Basics.Ionicfarben.BurnicklGrau),c.\u0275\u0275advance(5),c.\u0275\u0275styleProp("color",ee.Basics.Farben.BAEBlau),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",ee.Pool.Standorteliste.length," "),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.Grau),c.\u0275\u0275advance(3),c.\u0275\u0275styleProp("background",ee.Basics.Farben.Grau),c.\u0275\u0275advance(8),c.\u0275\u0275property("color",ee.MitarbeiterMouseOver?ee.Basics.Ionicfarben.BAEBlau:ee.Basics.Ionicfarben.BurnicklGrau),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",null!==ee.Pool.Mitarbeiterdaten&&!1===ee.CheckAllMitarbeiterdaten()),c.\u0275\u0275advance(5),c.\u0275\u0275styleProp("color",ee.Basics.Farben.BAEBlau),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",ee.CountMitarbeiter()," "),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.Grau)}}function K($,le){if(1&$&&(c.\u0275\u0275elementStart(0,"table",5)(1,"tr")(2,"td",24),c.\u0275\u0275template(3,se,39,13,"table",2),c.\u0275\u0275elementEnd()()()),2&$){const ee=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",null!==ee.Pool.Mitarbeiterdaten&&!0===ee.Pool.Mitarbeiterdaten.Planeradministrator)}}function Z($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,te,24,5,"div",19),c.\u0275\u0275elementStart(2,"div",20)(3,"div",21)(4,"ion-grid")(5,"ion-row")(6,"ion-col",22),c.\u0275\u0275element(7,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(8,"ion-row")(9,"ion-col")(10,"table",5)(11,"tr")(12,"td",24),c.\u0275\u0275element(13,"img",25),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",22),c.\u0275\u0275element(16,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(17,"ion-row")(18,"ion-col")(19,"div",26),c.\u0275\u0275template(20,K,4,1,"table",27),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(21,"ion-row")(22,"ion-col",22),c.\u0275\u0275element(23,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col",22),c.\u0275\u0275element(26,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"table",5)(30,"tr")(31,"td",24)(32,"table")(33,"tr")(34,"td")(35,"div",28),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.PlanerButtonClicked())}),c.\u0275\u0275elementStart(36,"table",5)(37,"tr")(38,"td",24),c.\u0275\u0275element(39,"ion-icon",29),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(40,"tr")(41,"td",30)(42,"ion-text",31),c.\u0275\u0275text(43,"Urlaub - Homeoffice - Planer"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(44,"tr")(45,"td",32),c.\u0275\u0275text(46),c.\u0275\u0275elementEnd()()()()()()()()()()()()()()(),c.\u0275\u0275elementContainerEnd()}if(2&$){const ee=c.\u0275\u0275nextContext();c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",ee.Basics.ShowHomeScreenInfos),c.\u0275\u0275advance(19),c.\u0275\u0275property("ngIf",!1===ee.Pool.ShowProgress),c.\u0275\u0275advance(19),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.BAEBlau),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.Grau),c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate2(" Version: ",ee.Basics.AppVersionName," / ",ee.Basics.AppVersionDatum," ")}}function re($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"div",53)(2,"ion-grid")(3,"ion-row")(4,"ion-col",22),c.\u0275\u0275element(5,"div",54),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"table",5)(9,"tr")(10,"td",24),c.\u0275\u0275element(11,"img",25),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275elementStart(12,"ion-row")(13,"ion-col"),c.\u0275\u0275element(14,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col",22)(17,"table",5)(18,"tr")(19,"td",24)(20,"div",55)(21,"table",5)(22,"tr")(23,"td",24),c.\u0275\u0275element(24,"ion-icon",29),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(25,"tr")(26,"td",30)(27,"ion-text",31),c.\u0275\u0275text(28,"Urlaub - Homeoffice - Planer"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(29,"tr")(30,"td",32),c.\u0275\u0275text(31),c.\u0275\u0275elementEnd()()()()()()()()(),c.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col")(34,"table",5)(35,"tr")(36,"td",56)(37,"ion-button",57),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.LoginButtonClicked())}),c.\u0275\u0275text(38,"Login"),c.\u0275\u0275elementEnd()()()()()()()(),c.\u0275\u0275elementContainerEnd()}if(2&$){const ee=c.\u0275\u0275nextContext();c.\u0275\u0275advance(24),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.BAEBlau),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.Grau),c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate2(" Version: ",ee.Basics.AppVersionName," / ",ee.Basics.AppVersionDatum," "),c.\u0275\u0275advance(6),c.\u0275\u0275property("color",ee.Basics.Ionicfarben.BAEBlau)}}function J($,le){if(1&$){const ee=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"fi-changelog-editor",58),c.\u0275\u0275listener("OkClickedEvent",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.ShowChangelogEditor=!1)})("CancelClickedEvent",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.ShowChangelogEditor=!1)})("DeleteClickedEvent",function(){c.\u0275\u0275restoreView(ee);const ye=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(ye.ShowChangelogEditor=!1)}),c.\u0275\u0275elementEnd()}}h.CommonHomePage=(()=>{class ${Basics;Debug;Tools;Const;Pool;authService;msalBroadcastService;GraphService;DBChangelog;AuthService;DBMitarbeitersettings;Menuservice;Title;StandortMouseOver;MitarbeiterMouseOver;ProjekteMouseOver;FavoritenMouseOver;LogoutMouseOver;DebugMouseOver;EinstellungenMouseOver;PlayMouseOver;BackgroundimageURL;Backgroundinterval;ShowChangelogEditor;ChangelogSubscription;ProgressMessage;ReloadMouseOver;UrlaubMouseOver;constructor(ee,we,ye,Oe,ve,_e,Pe,Ze,ot,tt,mt,Qe){this.Basics=ee,this.Debug=we,this.Tools=ye,this.Const=Oe,this.Pool=ve,this.authService=_e,this.msalBroadcastService=Pe,this.GraphService=Ze,this.DBChangelog=ot,this.AuthService=tt,this.DBMitarbeitersettings=mt,this.Menuservice=Qe;try{this.StandortMouseOver=!1,this.MitarbeiterMouseOver=!1,this.ProjekteMouseOver=!1,this.FavoritenMouseOver=!1,this.LogoutMouseOver=!1,this.DebugMouseOver=!1,this.EinstellungenMouseOver=!1,this.PlayMouseOver=!1,this.BackgroundimageURL="../../../assets/background/"+d.random(1,36,!1).toString()+".jpg",this.Backgroundinterval=null,this.ShowChangelogEditor=!1,this.ChangelogSubscription=null,this.ProgressMessage="",this.ReloadMouseOver=!1,this.UrlaubMouseOver=!1}catch(Ct){this.Debug.ShowErrorMessage(Ct.message,"Home","constructor",this.Debug.Typen.Page)}}ngOnInit(){try{this.ChangelogSubscription=this.Pool.ChangeloglisteChanged.subscribe(()=>{this.PrepareDaten()}),this.msalBroadcastService.msalSubject$.pipe((0,l.filter)(ee=>ee.eventType===e.EventType.LOGIN_SUCCESS)).subscribe(ee=>{const we=ee.payload;this.authService.instance.setActiveAccount(we.account),this.AuthService.ActiveUser=we.account,this.AuthService.SetShowLoginStatus(),this.AuthService.LoginSuccessEvent.emit()})}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","OnInit",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Home}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){try{this.Backgroundinterval=null}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","ionViewDidLeave",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ChangelogSubscription.unsubscribe()}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","OnDestroy",this.Debug.Typen.Page)}}FavoritChangedHandler(ee){}DebugButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.DebugPage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","DebugButtonClicked",this.Debug.Typen.Page)}}EinstellungenButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.EinstellungenPage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","EinstellungenButtonClicked",this.Debug.Typen.Page)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","LogoutButtonClicked",this.Debug.Typen.Page)}}LoginButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Login()}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","LoginButtonClicked",this.Debug.Typen.Page)}}StandorteButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.FiStandortelistePage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","StandorteButtonClicked",this.Debug.Typen.Page)}}MitarbeiterButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.FiMitarbeiterlistePage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","MitarbeiterButtonClicked",this.Debug.Typen.Page)}}PlanerButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Tools.SetRootPage(this.Const.Pages.UrlaubPlanungPage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","PlanerButtonClicked",this.Debug.Typen.Page)}}ProjekteButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.PjListePage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","ProjekteButtonClicked",this.Debug.Typen.Page)}}FavoritenButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.PjFavoritenlistePage)}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","FavoritenButtonClicked",this.Debug.Typen.Page)}}PlayButtonClicked(){return n(function*(){})()}GetFavoritenlistehoehe(){try{let ee=0;return null!==this.Pool.Mitarbeiterdaten&&(ee=0===this.Pool.Mitarbeiterdaten.Favoritenliste.length?2:this.Pool.Mitarbeiterdaten.Favoritenliste.length),0===ee&&(ee=1),50*ee}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Home","GetFavoritenlistehoehe",this.Debug.Typen.Page)}}AddChangelogClicked(){try{this.DBChangelog.CurrentChangelog=this.DBChangelog.GetEmptyChangelog(),this.ShowChangelogEditor=!0}catch(ee){this.Debug.ShowErrorMessage(ee,"Home","AddChangelogClicked",this.Debug.Typen.Page)}}GetDatum(ee){try{return(0,a.default)(ee).format("DD.MM.YYYY")}catch(we){this.Debug.ShowErrorMessage(we,"Home","GetDatum",this.Debug.Typen.Page)}}ChangelogClicked(ee){try{this.DBChangelog.CurrentChangelog=d.cloneDeep(ee),this.ShowChangelogEditor=!0}catch(we){this.Debug.ShowErrorMessage(we,"Home","ChangelogClicked",this.Debug.Typen.Page)}}PrepareDaten(){try{let ee;this.Pool.Changlogliste.length>0?(ee=this.Pool.Changlogliste[0],this.Basics.AppVersionName=ee.Version,this.Basics.AppVersionDatum=(0,a.default)(ee.Zeitstempel).format("DD.MM.YYYY")):(this.Basics.AppVersionName="none",this.Basics.AppVersionDatum="none")}catch(ee){this.Debug.ShowErrorMessage(ee,"Home","PrepareDaten",this.Debug.Typen.Page)}}CountMitarbeiter(){try{return d.filter(this.Pool.Mitarbeiterliste,ee=>!ee.Archiviert).length.toString()}catch(ee){this.Debug.ShowErrorMessage(ee,"Home","CountMitarbeiter",this.Debug.Typen.Page)}}CountProjekte(){try{return 0}catch(ee){this.Debug.ShowErrorMessage(ee,"Home","CountProjekte",this.Debug.Typen.Page)}}RelaodButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.PlayButtonClicked()}catch(ee){this.Debug.ShowErrorMessage(ee,"Home","RelaodButtonClicked",this.Debug.Typen.Page)}}environment=u.environment;CheckAllMitarbeiterdaten(){try{let ee=!0;for(let we of this.Pool.Mitarbeiterliste)!1===we.Archiviert&&(""===we.Kuerzel||""===we.StandortID)&&(ee=!1);return ee}catch(ee){this.Debug.ShowErrorMessage(ee,"Home","CheckAllMitarbeiterdaten",this.Debug.Typen.Page)}}static \u0275fac=function(we){return new(we||$)(c.\u0275\u0275directiveInject(g.BasicsProvider),c.\u0275\u0275directiveInject(v.DebugProvider),c.\u0275\u0275directiveInject(p.ToolsProvider),c.\u0275\u0275directiveInject(S.ConstProvider),c.\u0275\u0275directiveInject(C.DatabasePoolService),c.\u0275\u0275directiveInject(_.MsalService),c.\u0275\u0275directiveInject(_.MsalBroadcastService),c.\u0275\u0275directiveInject(f.Graphservice),c.\u0275\u0275directiveInject(y.DatabaseChangelogService),c.\u0275\u0275directiveInject(b.DatabaseAuthenticationService),c.\u0275\u0275directiveInject(E.DatabaseMitarbeitersettingsService),c.\u0275\u0275directiveInject(M.MenueService))};static \u0275cmp=c.\u0275\u0275defineComponent({type:$,selectors:[["common-home-page"]],decls:11,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[4,"ngIf"],["PageFooter",""],[3,"OkClickedEvent","CancelClickedEvent","DeleteClickedEvent",4,"ngIf"],[2,"width","100%"],[2,"width","50%"],[2,"width","10px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","log-out-outline",3,"color"],["align","right","valign","middle",2,"width","50%"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],["name","bug-outline",3,"color"],["name","settings-outline",3,"color"],["class","userkuerzelsmall",3,"background",4,"ngIf"],[1,"userimagesmall",3,"src"],[1,"userkuerzelsmall"],["class","changelogdiv",4,"ngIf"],[2,"width","100%","height","100%","background","#F2F4F4"],[2,"position","absolute","width","100%","height","100%","z-index","2"],["size","12"],[2,"height","20px"],["align","center"],["src","assets/images/logo_large.png",2,"height","50px"],[2,"height","140px","width","100%","background","none"],["style","width: 100%;",4,"ngIf"],[1,"buttonbigclass",3,"click"],["name","sunny-outline",2,"font-size","120px",3,"color"],[2,"text-align","center"],[2,"font-size","26px",3,"color"],[2,"text-align","center","font-size","90%","color","gray"],[1,"changelogdiv"],[1,"paddingtable",2,"font-size","80%"],["colspan","3",2,"font-size","140%","font-weight","bold"],[2,"font-weight","bold","color","#454545"],[4,"ngFor","ngForOf"],["size","small",3,"color","click"],["name","add-circle-outline","color","weiss","slot","start",2,"font-size","90%"],["color","weiss",2,"font-size","80%"],[2,"width","100%","cursor","pointer",3,"click"],[1,"buttonclass",3,"click","mouseenter","mouseleave"],["name","location-outline",2,"font-size","80px",3,"color"],[2,"font-size","22px","font-weight","bold"],[2,"width","4px"],[2,"font-size","22px",3,"color"],[1,"trennerdiv"],[2,"height","90px","width","100px","background","none","position","relative"],[1,"projektbuttoniconclass"],["name","people-outline",2,"font-size","80px",3,"color"],[1,"projektbuttoniconerrorclass"],["src","/assets/svgs/alert.svg",2,"height","44px"],[2,"width","100%","height","100%","background","#F2F4F4","z-index","10"],[2,"height","30px"],[1,"buttonbigclass",2,"z-index","100"],[2,"text-align","center","vertical-align","center","height","100px"],[3,"color","click"],[3,"OkClickedEvent","CancelClickedEvent","DeleteClickedEvent"]],template:function(we,ye){1&we&&(c.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),c.\u0275\u0275template(3,H,19,7,"ng-container",2),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(4,"ion-content"),c.\u0275\u0275template(5,Z,47,6,"ng-container",2)(6,re,39,5,"ng-container",2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(7,"ion-footer"),c.\u0275\u0275element(8,"page-footer",null,3),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(10,J,1,0,"fi-changelog-editor",4)),2&we&&(c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",!1===ye.AuthService.ShowLogin),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",!1===ye.AuthService.ShowLogin),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",!0===ye.AuthService.ShowLogin),c.\u0275\u0275advance(4),c.\u0275\u0275property("ngIf",ye.ShowChangelogEditor))},dependencies:[A.NgForOf,A.NgIf,I.IonButton,I.IonCol,I.IonContent,I.IonFooter,I.IonGrid,I.IonHeader,I.IonIcon,I.IonRow,I.IonText,F.PageHeaderComponent,j.PageFooterComponent,T.FiChangelogEditorComponent],styles:[".projektbuttoniconclass[_ngcontent-%COMP%]{height:90px;width:100px;z-index:100;position:absolute;display:flex;justify-content:center;align-items:center}.projektbuttoniconerrorclass[_ngcontent-%COMP%]{height:90px;width:100px;z-index:200;position:absolute;display:flex;justify-content:center;align-items:center}.trennerdiv[_ngcontent-%COMP%]{width:100px;height:10px;border-radius:4px;margin:6px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.buttonclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:160px;height:140px;cursor:pointer;background:#fff}.changelogdiv[_ngcontent-%COMP%]{border:2px solid gray;border-radius:10px;width:360px;height:300px;position:absolute;padding:8px;left:20px;bottom:20px;background:#fff;z-index:1000;overflow:auto}.outputdiv[_ngcontent-%COMP%]{border:2px solid gray;border-radius:10px;width:500px;height:600px;position:absolute;padding:8px;left:20px;top:560px;background:#fff;z-index:1000;overflow:auto}.userimagesmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-top:4px;border-radius:50%;object-fit:cover}.userimage[_ngcontent-%COMP%]{display:inline-block;width:60px;height:60px;border-radius:50%;object-fit:cover}.userkuerzelsmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-right:4px;border-radius:50%;display:flex;justify-content:center;align-items:center;color:#fff;font-weight:700}.buttonbigclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:360px;height:220px;cursor:pointer;background:#fff}.buttonsmallclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:80px;height:80px;cursor:pointer;background:#fff}.favlistedivclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:400px;cursor:pointer;background:#fff;overflow:auto}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return $})()},64316:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonPdfViewerPageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),l=o(10716),e=o(95896),u=o(70216),c=o(84104),g=o(76688),v=o(90520),p=n.__importStar(o(54496)),C=(n.__importStar(o(56568)),[{path:"",component:e.CommonPdfviewPage}]);h.CommonPdfViewerPageModule=(()=>{class f{static \u0275fac=function(E){return new(E||f)};static \u0275mod=p.\u0275\u0275defineNgModule({type:f});static \u0275inj=p.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,l.IonicModule,u.PageHeaderModule,a.RouterModule.forChild(C),c.SafePipeModule,g.PdfViewerModule,v.PageFooterModule]})}return f})()},95896:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonPdfviewPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),a=n.__importStar(o(34388)),l=n.__importStar(o(29743)),e=n.__importStar(o(19668)),u=n.__importStar(o(34396)),c=n.__importStar(o(8608)),g=n.__importStar(o(33940)),v=n.__importStar(o(91368)),p=n.__importStar(o(10716)),S=n.__importStar(o(90212)),C=n.__importStar(o(76688)),_=n.__importStar(o(29856));function f(b,E){if(1&b&&i.\u0275\u0275element(0,"pdf-viewer",12),2&b){const M=i.\u0275\u0275nextContext();i.\u0275\u0275property("src",M.GraphService.CurrentPDFDownload.url)("render-text",!0)("original-size",!0)}}h.CommonPdfviewPage=(()=>{class b{Basics;Debug;Const;Tools;Fehlerservice;GraphService;LoadingAnimation;Titel="Zoomtest";BackMouseOver;constructor(M,A,I,F,j,T,P){this.Basics=M,this.Debug=A,this.Const=I,this.Tools=F,this.Fehlerservice=j,this.GraphService=T,this.LoadingAnimation=P;try{this.BackMouseOver=!1}catch(x){this.Debug.ShowErrorMessage(x.message,"Common PDF Viewer","Constructor",this.Debug.Typen.Page)}}BackButtonClicked(){try{this.Tools.PopPage()}catch(M){this.Debug.ShowErrorMessage(M.message,"Common PDF Viewer","BackButtonClicked",this.Debug.Typen.Component)}}static \u0275fac=function(A){return new(A||b)(i.\u0275\u0275directiveInject(d.BasicsProvider),i.\u0275\u0275directiveInject(a.DebugProvider),i.\u0275\u0275directiveInject(l.ConstProvider),i.\u0275\u0275directiveInject(e.ToolsProvider),i.\u0275\u0275directiveInject(u.ErrorService),i.\u0275\u0275directiveInject(c.Graphservice),i.\u0275\u0275directiveInject(g.LoadingAnimationService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:b,selectors:[["common-pdfview-page"]],decls:27,vars:7,consts:[[1,"ion-no-border"],[2,"width","100%"],[2,"width","50%"],[2,"width","10px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","caret-back-circle-outline",3,"color"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],[2,"font-size","100%","color","white"],["style","width: 100%; height: 100%",3,"src","render-text","original-size",4,"ngIf"],["PageFooter",""],[2,"width","100%","height","100%",3,"src","render-text","original-size"]],template:function(A,I){1&A&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header")(2,"table",1)(3,"tr")(4,"td",2)(5,"table")(6,"tr"),i.\u0275\u0275element(7,"td",3),i.\u0275\u0275elementStart(8,"td")(9,"div",4),i.\u0275\u0275listener("mouseenter",function(){return I.BackMouseOver=!0})("mouseleave",function(){return I.BackMouseOver=!1})("click",function(){return I.BackButtonClicked()}),i.\u0275\u0275elementStart(10,"table",5)(11,"tr")(12,"td"),i.\u0275\u0275element(13,"ion-icon",6),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"td"),i.\u0275\u0275text(15,"Zur\xfcck"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275element(16,"td",3),i.\u0275\u0275elementStart(17,"td",7),i.\u0275\u0275element(18,"div",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(19,"td",3),i.\u0275\u0275elementStart(20,"td",9),i.\u0275\u0275text(21),i.\u0275\u0275elementEnd()()()()()()()(),i.\u0275\u0275elementStart(22,"ion-content"),i.\u0275\u0275template(23,f,1,3,"pdf-viewer",10),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(24,"ion-footer"),i.\u0275\u0275element(25,"page-footer",null,11),i.\u0275\u0275elementEnd()),2&A&&(i.\u0275\u0275advance(9),i.\u0275\u0275styleProp("cursor",I.BackMouseOver?"pointer":"default"),i.\u0275\u0275advance(4),i.\u0275\u0275property("color",I.BackMouseOver?I.Basics.Ionicfarben.Schwarz:I.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",I.BackMouseOver?"black":"white"),i.\u0275\u0275advance(7),i.\u0275\u0275textInterpolate(null!==I.GraphService.CurrentPDFDownload?I.GraphService.CurrentPDFDownload.name:""),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",null!==I.GraphService.CurrentPDFDownload))},dependencies:[v.NgIf,p.IonContent,p.IonFooter,p.IonHeader,p.IonIcon,S.PageHeaderComponent,C.PdfViewerComponent,_.PageFooterComponent],styles:[".trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return b})()},79112:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonTestseitePageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),l=o(5944),e=o(70216),u=o(56568),c=o(6168),g=o(90520),v=n.__importStar(o(54496)),S=(n.__importStar(o(56568)),[{path:"",component:l.CommonTestseitePage}]);h.CommonTestseitePageModule=(()=>{class _{static \u0275fac=function(b){return new(b||_)};static \u0275mod=v.\u0275\u0275defineNgModule({type:_});static \u0275inj=v.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(S),c.PageHeaderMenuModule,g.PageFooterModule]})}return _})()},5944:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonTestseitePage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(59460)),a=n.__importStar(o(34388)),l=n.__importStar(o(10716)),e=n.__importStar(o(90212)),u=n.__importStar(o(63792)),c=n.__importStar(o(29856));h.CommonTestseitePage=(()=>{class v{Menuservice;Debug;constructor(S,C){this.Menuservice=S,this.Debug=C}ngOnInit(){}static \u0275fac=function(C){return new(C||v)(i.\u0275\u0275directiveInject(d.MenueService),i.\u0275\u0275directiveInject(a.DebugProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:v,selectors:[["common-testseite-page"]],decls:24,vars:3,consts:[[1,"ion-no-border"],["PageHeader",""],[1,"paddingtable"],["PageFooter",""]],template:function(C,_){1&C&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"table",2)(6,"tr")(7,"td"),i.\u0275\u0275text(8,"Mainmenu Bereich: "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"td"),i.\u0275\u0275text(10),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(11,"tr")(12,"td"),i.\u0275\u0275text(13,"Firmamenu Bereich:"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"td"),i.\u0275\u0275text(15),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(16,"tr")(17,"td"),i.\u0275\u0275text(18,"Projektmenu Bereich:"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(19,"td"),i.\u0275\u0275text(20),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(21,"ion-footer"),i.\u0275\u0275element(22,"page-footer",null,3),i.\u0275\u0275elementEnd()),2&C&&(i.\u0275\u0275advance(10),i.\u0275\u0275textInterpolate(_.Menuservice.MainMenuebereich),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(_.Menuservice.FirmaMenuebereich),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(_.Menuservice.ProjekteMenuebereich))},dependencies:[l.IonContent,l.IonFooter,l.IonHeader,e.PageHeaderComponent,u.PageHeaderMenuComponent,c.PageFooterComponent],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]})}return v})()},53964:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubEinstellungenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),l=o(79444),e=o(70216),u=o(56568),c=o(6168),g=o(90520),v=o(6232),p=o(72284),S=o(10272),C=o(7388),_=o(27328),f=o(26668),y=n.__importStar(o(54496)),E=(n.__importStar(o(56568)),[{path:"",component:l.CommonUrlaubEinstellungenPage}]);h.CommonUrlaubEinstellungenPageModule=(()=>{class A{static \u0275fac=function(j){return new(j||A)};static \u0275mod=y.\u0275\u0275defineNgModule({type:A});static \u0275inj=y.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(E),c.PageHeaderMenuModule,g.PageFooterModule,v.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,C.CheckboxClonModule,_.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return A})()},79444:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubEinstellungenPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),l=o(17964),e=i.__importStar(o(54496)),u=i.__importStar(o(14652)),c=i.__importStar(o(7992)),g=i.__importStar(o(9544)),v=i.__importStar(o(22848)),p=i.__importStar(o(29743)),S=i.__importStar(o(58864)),C=i.__importStar(o(15024)),_=i.__importStar(o(48044)),f=i.__importStar(o(34388)),y=i.__importStar(o(91368)),b=i.__importStar(o(10716)),E=i.__importStar(o(90212)),M=i.__importStar(o(63792)),A=i.__importStar(o(29856)),I=i.__importStar(o(13228)),F=i.__importStar(o(56584)),j=i.__importStar(o(25856)),T=i.__importStar(o(80887)),P=["PageHeader"],x=["PageFooter"];function N(ee,we){if(1&ee&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",11),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&ee){const ye=we.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.Vorname+" "+ye.Name)}}function O(ee,we){if(1&ee&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,N,3,1,"tr",15),e.\u0275\u0275elementContainerEnd()),2&ee){const ye=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ye.Projektbeteiligteliste)}}function H(ee,we){1&ee&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td"),e.\u0275\u0275element(3,"img",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"td"),e.\u0275\u0275text(5," Bitte w\xe4hle hier alle Personen aus mit denen du regelm\xe4\xdfig zusammenarbeitest,"),e.\u0275\u0275element(6,"br"),e.\u0275\u0275text(7,"oder Personen die eventuell deine Urlaubsvertretung \xfcbernehmen k\xf6nnen. "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function G(ee,we){1&ee&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"img",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4," Bitte zust\xe4ndige Person f\xfcr die Urlaubsfreigaben festlegen. "),e.\u0275\u0275elementEnd()())}function te(ee,we){if(1&ee&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"ion-radio",20),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()),2&ee){const ye=we.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("value",ye._id),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.Vorname+" "+ye.Name)}}function ue(ee,we){1&ee&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"img",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4," Bitte zust\xe4ndige Person f\xfcr die Homeofficefreigaben festlegen. "),e.\u0275\u0275elementEnd()())}function se(ee,we){if(1&ee&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"ion-radio",20),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()()),2&ee){const ye=we.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("value",ye._id),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.Vorname+" "+ye.Name)}}function K(ee,we){if(1&ee){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",21),e.\u0275\u0275listener("CheckChanged",function(ve){const Pe=e.\u0275\u0275restoreView(ye).$implicit,Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.FerienBlockedChanged(ve,Pe.Anfangstempel))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()}if(2&ee){const ye=we.$implicit,Oe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Oe.CheckFerienBlocker(ye.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Oe.GetDatum(ye.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Oe.GetDatum(ye.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.Name)}}function Z(ee,we){if(1&ee){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",21),e.\u0275\u0275listener("CheckChanged",function(ve){const Pe=e.\u0275\u0275restoreView(ye).$implicit,Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.FeiertagBlockedChanged(ve,Pe.Anfangstempel))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()}if(2&ee){const ye=we.$implicit,Oe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Oe.CheckFeiertagBlocker(ye.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Oe.GetDatum(ye.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Oe.GetDatum(ye.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(ye.Name)}}function re(ee,we){if(1&ee){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col",8)(3,"ion-text",9)(4,"b"),e.\u0275\u0275text(5,"Projekt beteiligte Mitarbeiter/innen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",8)(8,"table",10),e.\u0275\u0275template(9,O,2,1,"ng-container",3)(10,H,8,0,"ng-container",3),e.\u0275\u0275elementStart(11,"tr")(12,"td",11)(13,"ion-button",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.MitarbeiterAuswahlClicked())}),e.\u0275\u0275text(14,"Mitarbeiter/innen ausw\xe4hlen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col")(17,"ion-text",9)(18,"b"),e.\u0275\u0275text(19,"Urlaubsfreigaben"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",13)(22,"ion-radio-group",14),e.\u0275\u0275listener("ionChange",function(ve){e.\u0275\u0275restoreView(ye);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.UrlaubsfreigeberChanged(ve))}),e.\u0275\u0275elementStart(23,"table",10),e.\u0275\u0275template(24,G,5,0,"tr",3)(25,te,5,2,"tr",15),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(26,"ion-row")(27,"ion-col")(28,"ion-text",9)(29,"b"),e.\u0275\u0275text(30,"Homeofficefreigaben"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(31,"ion-row")(32,"ion-col",13)(33,"ion-radio-group",14),e.\u0275\u0275listener("ionChange",function(ve){e.\u0275\u0275restoreView(ye);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.HomeofficefreigeberChanged(ve))}),e.\u0275\u0275elementStart(34,"table",10),e.\u0275\u0275template(35,ue,5,0,"tr",3)(36,se,5,2,"tr",15),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(37,"ion-row")(38,"ion-col")(39,"ion-text",9)(40,"b"),e.\u0275\u0275text(41,"Urlaubstage"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(42,"ion-row")(43,"ion-col",13)(44,"button-value",16),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.UrlaubClickedEvent())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(45,"ion-row")(46,"ion-col",13)(47,"button-value",16),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.ResturlaubClickedEvent())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(48,"ion-row")(49,"ion-col",17)(50,"ion-text",9)(51,"b"),e.\u0275\u0275text(52,"Schulferien"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(53,"ion-col",17)(54,"ion-text",9)(55,"b"),e.\u0275\u0275text(56,"Feiertage"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(57,"ion-row")(58,"ion-col",17)(59,"table",10)(60,"tr",18),e.\u0275\u0275element(61,"td"),e.\u0275\u0275elementStart(62,"td"),e.\u0275\u0275text(63,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(64,"td"),e.\u0275\u0275text(65,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(66,"td"),e.\u0275\u0275text(67,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(68,K,9,4,"tr",15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(69,"ion-col",17)(70,"table",10)(71,"tr",18),e.\u0275\u0275element(72,"td"),e.\u0275\u0275elementStart(73,"td"),e.\u0275\u0275text(74,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(75,"td"),e.\u0275\u0275text(76,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(77,"td"),e.\u0275\u0275text(78,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(79,Z,9,4,"tr",15),e.\u0275\u0275elementEnd()()()()}if(2&ee){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",ye.Projektbeteiligteliste.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===ye.Projektbeteiligteliste.length),e.\u0275\u0275advance(12),e.\u0275\u0275property("value",ye.DB.CurrentUrlaub.UrlaubsfreigeberID),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null===ye.DB.CurrentUrlaub.UrlaubsfreigeberID),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ye.Urlaubsfreigeberliste),e.\u0275\u0275advance(8),e.\u0275\u0275property("value",ye.DB.CurrentUrlaub.HomeofficefreigeberID),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null===ye.DB.CurrentUrlaub.HomeofficefreigeberID),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ye.Homeofficefreigeberliste),e.\u0275\u0275advance(8),e.\u0275\u0275property("Buttontext","Urlaubsanspruch "+ye.DB.Jahr.toString())("Wert_A",ye.DB.CurrentMitarbeiter.Urlaub.toString()+" Tage"),e.\u0275\u0275advance(3),e.\u0275\u0275property("Buttontext","Resturlaub "+(ye.DB.Jahr-1).toString())("Wert_A",ye.GetResturlaub()),e.\u0275\u0275advance(21),e.\u0275\u0275property("ngForOf",ye.Ferienliste),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngForOf",ye.Feiertageliste)}}function J(ee,we){if(1&ee){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",22),e.\u0275\u0275listener("OkClickedEvent",function(ve){e.\u0275\u0275restoreView(ye);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.AuswahlOkButtonClicked(ve))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&ee){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",ye.Auswahlliste)("Auswahlindex",ye.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",ye.Auswahltitel)("Iconname","")}}function Y(ee,we){if(1&ee){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",23),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(ve){e.\u0275\u0275restoreView(ye);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.MitarbeiterauswahlOkButtonClicked(ve))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&ee){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",ye.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",ye.MitarbeiterMultiselect)("AuswahlIDliste",ye.AuswahlIDliste)("OnlyProjektmitarbeiter",!1)}}function $(ee,we){if(1&ee){const ye=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",24),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(ve){e.\u0275\u0275restoreView(ye);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.MitarbeiterauswahlOkButtonClicked(ve))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(ye);const ve=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ve.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&ee){const ye=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",ye.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",ye.MitarbeiterMultiselect)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",ye.AuswahlIDliste)}}h.CommonUrlaubEinstellungenPage=(()=>{class ee{Basics;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;Projektbeteiligteliste;Urlaubsfreigeberliste;Homeofficefreigeberliste;MitarbeiterMultiselect;Ferienliste;Feiertageliste;DataSubscription;constructor(ye,Oe,ve,_e,Pe,Ze,ot,tt,mt){this.Basics=ye,this.Pool=Oe,this.DB=ve,this.DBMitarbeiter=_e,this.Const=Pe,this.DBStandort=Ze,this.DBMitarbeiterstettings=ot,this.Auswahlservice=tt,this.Debug=mt;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Auswahldialogorigin=this.Const.NONE,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.MitarbeiterMultiselect=!0,this.Ferienliste=[],this.Feiertageliste=[],this.Projektbeteiligteliste=[],this.Urlaubsfreigeberliste=[],this.Homeofficefreigeberliste=[]}catch(Qe){this.Debug.ShowErrorMessage(Qe.message,"Urlaub Einstellungen Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){try{let ye;this.DB.Init(),this.DB.CheckSetup(),this.DB.CountAnfragenanzahlen(),this.Projektbeteiligteliste=[];for(let Oe of this.DB.CurrentUrlaub.Projektbeteiligteliste)ye=this.DBMitarbeiter.GetMitarbeiterByID(Oe.MitarbeiterID),null!==ye&&this.Projektbeteiligteliste.push(ye);this.Projektbeteiligteliste.sort((Oe,ve)=>Oe.Nameve.Name?1:0),this.Urlaubsfreigeberliste=[];for(let Oe of this.Pool.Mitarbeiterliste)!0===Oe.Urlaubsfreigaben&&this.Urlaubsfreigeberliste.push(Oe);this.Urlaubsfreigeberliste.sort((Oe,ve)=>Oe.Nameve.Name?1:0),this.Homeofficefreigeberliste=[];for(let Oe of this.Pool.Mitarbeiterliste)!0===Oe.Homeofficefreigaben&&this.Homeofficefreigeberliste.push(Oe);this.Homeofficefreigeberliste.sort((Oe,ve)=>Oe.Nameve.Name?1:0),this.Ferienliste=[],d.isUndefined(this.DB.Ferienliste[this.DB.Laendercode])||(this.Ferienliste=d.cloneDeep(this.DB.Ferienliste[this.DB.Laendercode])),this.Feiertageliste=[],d.isUndefined(this.DB.Feiertageliste[this.DB.Laendercode])||(this.Feiertageliste=d.cloneDeep(this.DB.Feiertageliste[this.DB.Laendercode]))}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","PrepareData",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(ye){try{let Oe,ve,_e;switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl:this.DB.CurrentUrlaub.Projektbeteiligteliste=d.filter(this.DB.CurrentUrlaub.Projektbeteiligteliste,Pe=>-1!==ye.indexOf(Pe.MitarbeiterID));for(let Pe of ye)ve=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:Pe}),d.isUndefined(ve)&&this.DB.CurrentUrlaub.Projektbeteiligteliste.push({MitarbeiterID:Pe,Display:!1});Oe=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(Oe)||(Oe.Projektbeteiligteliste=this.DB.CurrentUrlaub.Projektbeteiligteliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()}));break;case this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln:_e=d.find(this.Pool.Mitarbeiterliste,{_id:ye[0]}),this.DB.CurrentMitarbeiter=_e,this.PrepareData()}this.ShowMitarbeiterauswahl=!1}catch(Oe){this.Debug.ShowErrorMessage(Oe.message,"Urlaub Einstellungen Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter;let ye=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:ye,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),ye++;for(let Oe of this.Pool.Standorteliste)this.Auswahlliste.push({Index:ye,FirstColumn:Oe.Kuerzel,SecoundColumn:Oe.Standort,Data:Oe}),ye++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Urlaub Einstellungen Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(ye){var Oe=this;return n(function*(){try{let ve;switch(Oe.Auswahldialogorigin){case"Resturlaub":Oe.DB.CurrentUrlaub.Resturlaub=ye,ve=d.find(Oe.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:Oe.DB.CurrentUrlaub.Jahr}),d.isUndefined(ve)||(ve.Resturlaub=ye,Oe.DBMitarbeiter.UpdateMitarbeiterUrlaub(Oe.DB.CurrentMitarbeiter));break;case"Urlaub":Oe.DB.CurrentMitarbeiter.Urlaub=ye,Oe.DBMitarbeiter.UpdateMitarbeiterUrlaub(Oe.DB.CurrentMitarbeiter);break;case Oe.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter:Oe.DBStandort.CurrentStandortfilter=(0,l.cloneDeep)(ye),Oe.Pool.Mitarbeitersettings.StandortFilter=null!==ye?ye._id:Oe.Const.NONE,Oe.DBMitarbeiterstettings.UpdateMitarbeitersettings(Oe.Pool.Mitarbeitersettings,null).then(()=>{Oe.PrepareData(),Oe.DBStandort.StandortfilterChanged.emit()})}Oe.ShowAuswahl=!1,Oe.PrepareData()}catch(ve){Oe.Debug.ShowErrorMessage(ve.message,"Urlaub Einstellungen Page","AuswahlOkButtonClicked",Oe.Debug.Typen.Page)}})()}MitarbeiterAuswahlClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl,this.MitarbeiterauswahlTitel="Mitarbeiter/innen ausw\xe4hlen",this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[],this.MitarbeiterMultiselect=!0;for(let ye of this.DB.CurrentUrlaub.Projektbeteiligteliste)this.AuswahlIDliste.push(ye.MitarbeiterID)}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ResturlaubClickedEvent(){try{this.MitarbeiterMultiselect=!1,this.Auswahldialogorigin="Resturlaub",this.Auswahlhoehe=600,this.Auswahltitel="Resturlaub festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"0,5",SecoundColumn:"Tage",Data:.5}),this.Auswahlliste.push({Index:1,FirstColumn:"1,0",SecoundColumn:"Tag",Data:1}),this.Auswahlliste.push({Index:2,FirstColumn:"1,5",SecoundColumn:"Tage",Data:1.5}),this.Auswahlliste.push({Index:3,FirstColumn:"2,0",SecoundColumn:"Tage",Data:2}),this.Auswahlliste.push({Index:4,FirstColumn:"2,5",SecoundColumn:"Tage",Data:2.5}),this.Auswahlliste.push({Index:5,FirstColumn:"3,0",SecoundColumn:"Tage",Data:3}),this.Auswahlliste.push({Index:6,FirstColumn:"3,5",SecoundColumn:"Tage",Data:3.5}),this.Auswahlliste.push({Index:7,FirstColumn:"4,0",SecoundColumn:"Tage",Data:4}),this.Auswahlliste.push({Index:8,FirstColumn:"4,5",SecoundColumn:"Tage",Data:4.5}),this.Auswahlliste.push({Index:9,FirstColumn:"5,0",SecoundColumn:"Tage",Data:5}),this.Auswahlliste.push({Index:10,FirstColumn:"5,5",SecoundColumn:"Tage",Data:5.5}),this.Auswahlliste.push({Index:11,FirstColumn:"6,0",SecoundColumn:"Tage",Data:6}),this.Auswahlliste.push({Index:12,FirstColumn:"6,5",SecoundColumn:"Tage",Data:6.5}),this.Auswahlliste.push({Index:13,FirstColumn:"7,0",SecoundColumn:"Tage",Data:7}),this.Auswahlliste.push({Index:14,FirstColumn:"7,5",SecoundColumn:"Tage",Data:7.5}),this.Auswahlliste.push({Index:15,FirstColumn:"8,0",SecoundColumn:"Tage",Data:8}),this.Auswahlliste.push({Index:16,FirstColumn:"8,5",SecoundColumn:"Tage",Data:8.5}),this.Auswahlliste.push({Index:17,FirstColumn:"9,0",SecoundColumn:"Tage",Data:9}),this.Auswahlliste.push({Index:18,FirstColumn:"9,5",SecoundColumn:"Tage",Data:9.5}),this.Auswahlliste.push({Index:19,FirstColumn:"10,0",SecoundColumn:"Tage",Data:10}),this.Auswahlindex=d.findIndex(this.Auswahlliste,ye=>ye.Data===this.DB.CurrentUrlaub.Resturlaub),this.ShowAuswahl=!0}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","ResturlaubClickedEvent",this.Debug.Typen.Page)}}GetResturlaub(){try{let ye=this.DB.CurrentUrlaub.Resturlaub.toString();return ye+=1===this.DB.CurrentUrlaub.Resturlaub?" Tag":" Tage",ye}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","GetResturlaub",this.Debug.Typen.Page)}}GetDatum(ye){try{return(0,a.default)(ye).format("DD.MM.YYYY")}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaub Einstellungen Page","GetDatum",this.Debug.Typen.Page)}}UrlaubClickedEvent(){try{this.Auswahldialogorigin="Urlaub",this.Auswahlhoehe=600,this.Auswahltitel="Urlaubsanspruch festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"10",SecoundColumn:"Tage",Data:10}),this.Auswahlliste.push({Index:1,FirstColumn:"11",SecoundColumn:"Tage",Data:11}),this.Auswahlliste.push({Index:2,FirstColumn:"12",SecoundColumn:"Tage",Data:12}),this.Auswahlliste.push({Index:3,FirstColumn:"13",SecoundColumn:"Tage",Data:13}),this.Auswahlliste.push({Index:4,FirstColumn:"14",SecoundColumn:"Tage",Data:14}),this.Auswahlliste.push({Index:5,FirstColumn:"15",SecoundColumn:"Tage",Data:15}),this.Auswahlliste.push({Index:6,FirstColumn:"16",SecoundColumn:"Tage",Data:16}),this.Auswahlliste.push({Index:7,FirstColumn:"17",SecoundColumn:"Tage",Data:17}),this.Auswahlliste.push({Index:8,FirstColumn:"18",SecoundColumn:"Tage",Data:18}),this.Auswahlliste.push({Index:9,FirstColumn:"19",SecoundColumn:"Tage",Data:19}),this.Auswahlliste.push({Index:10,FirstColumn:"20",SecoundColumn:"Tage",Data:20}),this.Auswahlliste.push({Index:11,FirstColumn:"21",SecoundColumn:"Tage",Data:21}),this.Auswahlliste.push({Index:12,FirstColumn:"22",SecoundColumn:"Tage",Data:22}),this.Auswahlliste.push({Index:13,FirstColumn:"23",SecoundColumn:"Tage",Data:23}),this.Auswahlliste.push({Index:14,FirstColumn:"24",SecoundColumn:"Tage",Data:24}),this.Auswahlliste.push({Index:15,FirstColumn:"25",SecoundColumn:"Tage",Data:25}),this.Auswahlliste.push({Index:16,FirstColumn:"26",SecoundColumn:"Tage",Data:26}),this.Auswahlliste.push({Index:17,FirstColumn:"27",SecoundColumn:"Tage",Data:27}),this.Auswahlliste.push({Index:18,FirstColumn:"28",SecoundColumn:"Tage",Data:28}),this.Auswahlliste.push({Index:19,FirstColumn:"29",SecoundColumn:"Tage",Data:29}),this.Auswahlliste.push({Index:20,FirstColumn:"30",SecoundColumn:"Tage",Data:30}),this.Auswahlliste.push({Index:21,FirstColumn:"31",SecoundColumn:"Tage",Data:31}),this.Auswahlliste.push({Index:22,FirstColumn:"32",SecoundColumn:"Tage",Data:32}),this.Auswahlliste.push({Index:23,FirstColumn:"33",SecoundColumn:"Tage",Data:33}),this.Auswahlliste.push({Index:24,FirstColumn:"34",SecoundColumn:"Tage",Data:34}),this.Auswahlliste.push({Index:25,FirstColumn:"35",SecoundColumn:"Tage",Data:35}),this.Auswahlliste.push({Index:26,FirstColumn:"36",SecoundColumn:"Tage",Data:36}),this.Auswahlindex=d.findIndex(this.Auswahlliste,ye=>ye.Data===this.DB.CurrentMitarbeiter.Urlaub),this.ShowAuswahl=!0}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","ResturlaubClickedEvent",this.Debug.Typen.Page)}}CheckFerienBlocker(ye){try{return-1===this.DB.CurrentUrlaub.Ferienblockerliste.indexOf(ye)}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaub Einstellungen Page","CheckFerienBlocker",this.Debug.Typen.Page)}}FerienBlockedChanged(ye,Oe){try{let ve;!1===ye.status?this.DB.CurrentUrlaub.Ferienblockerliste.push(Oe):this.DB.CurrentUrlaub.Ferienblockerliste=d.filter(this.DB.CurrentUrlaub.Ferienblockerliste,_e=>_e!==Oe),ve=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(ve)||(ve.Ferienblockerliste=this.DB.CurrentUrlaub.Ferienblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}CheckFeiertagBlocker(ye){try{return-1===this.DB.CurrentUrlaub.Feiertageblockerliste.indexOf(ye)}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaub Einstellungen Page","CheckFeiertagBlocker",this.Debug.Typen.Page)}}FeiertagBlockedChanged(ye,Oe){try{let ve;!1===ye.status?this.DB.CurrentUrlaub.Feiertageblockerliste.push(Oe):this.DB.CurrentUrlaub.Feiertageblockerliste=d.filter(this.DB.CurrentUrlaub.Feiertageblockerliste,_e=>_e!==Oe),ve=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(ve)||(ve.Feiertageblockerliste=this.DB.CurrentUrlaub.Feiertageblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetFreigeberName(ye){try{let Oe=this.DBMitarbeiter.GetMitarbeiterByID(ye);return null!==Oe?Oe.Vorname+" "+Oe.Name:"unbekannt"}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaub Einstellungen Page","GetFreigeberName",this.Debug.Typen.Page)}}UrlaubsfreigeberChanged(ye){try{let Oe;Oe=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(Oe)||(Oe.UrlaubsfreigeberID=ye.detail.value,this.DB.CurrentUrlaub=Oe,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()}))}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaub Einstellungen Page","UrlaubsfreigeberChanged",this.Debug.Typen.Page)}}HomeofficefreigeberChanged(ye){try{let Oe,ve;Oe=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(Oe)||(Oe.HomeofficefreigeberID=ye.detail.value,this.DB.CurrentUrlaub=Oe,ve=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr}),this.DB.CurrentMitarbeiter.Urlaubsliste[ve]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()}))}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaub Einstellungen Page","HomeofficefreigeberChanged",this.Debug.Typen.Page)}}static \u0275fac=function(Oe){return new(Oe||ee)(e.\u0275\u0275directiveInject(u.BasicsProvider),e.\u0275\u0275directiveInject(c.DatabasePoolService),e.\u0275\u0275directiveInject(g.DatabaseUrlaubService),e.\u0275\u0275directiveInject(v.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(S.DatabaseStandorteService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(_.AuswahlDialogService),e.\u0275\u0275directiveInject(f.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:ee,selectors:[["common-urlaub-einstellungen-page"]],viewQuery:function(Oe,ve){if(1&Oe&&(e.\u0275\u0275viewQuery(P,5),e.\u0275\u0275viewQuery(x,5)),2&Oe){let _e;e.\u0275\u0275queryRefresh(_e=e.\u0275\u0275loadQuery())&&(ve.PageHeader=_e.first),e.\u0275\u0275queryRefresh(_e=e.\u0275\u0275loadQuery())&&(ve.PageFooter=_e.first)}},decls:12,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[4,"ngIf"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","AuswahlIDliste","OnlyProjektmitarbeiter","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["size","12"],["color","baeblau",2,"font-size","120%"],[1,"paddingtable"],["colspan","2"],["size","small","color","grau",3,"click"],["size","6"],[3,"value","ionChange"],[4,"ngFor","ngForOf"],[3,"Buttontext","Wert_A","ButtonClicked"],["size","3"],[2,"font-weight","bold"],["src","assets/svgs/alert.svg",2,"width","24px"],[3,"value"],[3,"Checked","CheckChanged"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","AuswahlIDliste","OnlyProjektmitarbeiter","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(Oe,ve){1&Oe&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return ve.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content"),e.\u0275\u0275template(5,re,80,14,"ion-grid",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"ion-footer"),e.\u0275\u0275element(7,"page-footer",null,4),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,J,1,7,"auswahl-dialog",5)(10,Y,1,6,"fi-mitarbeiter-auswahl",6)(11,$,1,6,"fi-mitarbeiter-auswahl",7)),2&Oe&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",null!==ve.DB.CurrentUrlaub),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",ve.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ve.ShowMitarbeiterauswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ve.ShowMitarbeiterauswahl))},dependencies:[y.NgForOf,y.NgIf,b.IonButton,b.IonCol,b.IonContent,b.IonFooter,b.IonGrid,b.IonHeader,b.IonRadio,b.IonRadioGroup,b.IonRow,b.IonText,b.RadioValueAccessor,b.SelectValueAccessor,E.PageHeaderComponent,M.PageHeaderMenuComponent,A.PageFooterComponent,I.ButtonValueComponent,F.AuswahlDialogComponent,j.CheckboxClonComponent,T.FiMitarbeiterAuswahlComponent],styles:[".legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return ee})()},5884:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubFreigabenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),l=o(76052),e=o(70216),u=o(56568),c=o(6168),g=o(90520),v=o(6232),p=o(72284),S=o(10272),C=o(7388),_=o(27328),f=o(26668),y=o(6512),b=n.__importStar(o(54496)),M=(n.__importStar(o(56568)),[{path:"",component:l.CommonUrlaubFreigabenPage}]);h.CommonUrlaubFreigabenPageModule=(()=>{class I{static \u0275fac=function(T){return new(T||I)};static \u0275mod=b.\u0275\u0275defineNgModule({type:I});static \u0275inj=b.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(M),c.PageHeaderMenuModule,g.PageFooterModule,v.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,C.CheckboxClonModule,_.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule,y.AbstandElementFixedModule]})}return I})()},76052:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubFreigabenPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),l=o(17964),e=i.__importStar(o(54496)),u=i.__importStar(o(59460)),c=i.__importStar(o(14652)),g=i.__importStar(o(15024)),v=i.__importStar(o(7992)),p=i.__importStar(o(9544)),S=i.__importStar(o(22848)),C=i.__importStar(o(29743)),_=i.__importStar(o(58864)),f=i.__importStar(o(48044)),y=i.__importStar(o(34388)),b=i.__importStar(o(91368)),E=i.__importStar(o(10716)),M=i.__importStar(o(90212)),A=i.__importStar(o(63792)),I=i.__importStar(o(29856)),F=i.__importStar(o(77440)),j=i.__importStar(o(56584)),T=i.__importStar(o(25856)),P=i.__importStar(o(80887)),x=["PageHeader"],N=["PageFooter"];function O(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",8),e.\u0275\u0275listener("click",function(){const Xt=e.\u0275\u0275restoreView(pt).index,At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.MonatButtonClicked(Xt))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&st){const pt=zt.$implicit,It=zt.index,Yt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Yt.GetMonatButtonColor(It)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(pt)}}function H(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext(2).$implicit,At=e.\u0275\u0275nextContext(4).$implicit,$t=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView($t.VerteretungStatusChangedHandler(Yt,Xt,At._id))}),e.\u0275\u0275elementStart(2,"table",42)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",44),e.\u0275\u0275text(7,"Vertretung annehmen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275element(9,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",45),e.\u0275\u0275text(11,"Vertretung ablehnen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&st){const pt=e.\u0275\u0275nextContext(2).$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("value",pt.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",It.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",It.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function G(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"td",44),e.\u0275\u0275text(1," Vertretung angenommen"),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&st){const pt=e.\u0275\u0275nextContext(3).$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" vor ",It.DB.GetVertretungsanwortAge(pt).toFixed(2)," Minuten ")}}function te(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"td",45),e.\u0275\u0275text(1," Vertretung abgelehnt"),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&st){const pt=e.\u0275\u0275nextContext(3).$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" vor ",It.DB.GetVertretungsanwortAge(pt).toFixed(2)," Minuten ")}}function ue(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",42)(2,"tr"),e.\u0275\u0275template(3,G,4,1,"td",46)(4,te,4,1,"td",47),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&st){const pt=e.\u0275\u0275nextContext(2).$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",pt.Status===It.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Status===It.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function se(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td",6),e.\u0275\u0275element(8,"div",37),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"td",38),e.\u0275\u0275elementStart(10,"td")(11,"ion-button",39),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext().$implicit,Xt=e.\u0275\u0275nextContext(4).$implicit,At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.UrlaubSuchen(Yt,Xt))}),e.\u0275\u0275element(12,"ion-icon",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(13,"td"),e.\u0275\u0275template(14,H,12,3,"ng-container",19)(15,ue,5,2,"ng-container",19),e.\u0275\u0275elementEnd()()}if(2&st){const pt=e.\u0275\u0275nextContext().$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(It.GetDatumlangtext(pt.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(It.GetDatumlangtext(pt.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(pt.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",It.DB.GetUrlaubStatuscolor(pt.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",pt.Vertretungmeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",!1===pt.VertreterantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===pt.VertreterantwortSended)}}function K(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,se,16,8,"tr",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===It.DB.CheckVertretungsanwortAge(pt)&&pt.VertreterID===It.DB.CurrentMitarbeiter._id&&(pt.Status===It.DB.Urlaubstatusvarianten.Vertreteranfrage||pt.Status===It.DB.Urlaubstatusvarianten.Vertreterfreigabe||pt.Status===It.DB.Urlaubstatusvarianten.Vertreterablehnung))}}function Z(st,zt){1&st&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",48),e.\u0275\u0275text(2," Bitte Person f\xfcr Urlaubsfreigaben festlegen "),e.\u0275\u0275elementEnd()())}function re(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,K,2,1,"ng-container",10),e.\u0275\u0275elementStart(2,"tr")(3,"td",34)(4,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext().$implicit,Xt=e.\u0275\u0275nextContext(2).$implicit,At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.SendVertretungUpdate(Xt,Yt))}),e.\u0275\u0275text(5,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(6,Z,3,0,"tr",19),e.\u0275\u0275elementContainerEnd()}if(2&st){const pt=e.\u0275\u0275nextContext().$implicit,It=e.\u0275\u0275nextContext(2).$implicit,Yt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",pt.Urlaubzeitspannen),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===Yt.CheckVertretungUpdateButtonEnabled(It,pt)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null===pt.UrlaubsfreigeberID)}}function J(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,re,7,3,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Jahr===It.DB.Jahr)}}function Y(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",32),e.\u0275\u0275text(12,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"td",33),e.\u0275\u0275text(16,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(17,"td"),e.\u0275\u0275elementStart(18,"td",31),e.\u0275\u0275text(19,"Anfrage beantworten"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(20,J,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(21,"tr"),e.\u0275\u0275element(22,"td"),e.\u0275\u0275elementEnd()()()()),2&st){const pt=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(20),e.\u0275\u0275property("ngForOf",pt.Urlaubsliste)}}function $(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,Y,23,1,"ion-row",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",pt.Vorname+" "+pt.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==It.DB.Vertretungsanfragenanzahl||0!==It.DB.Vertretungsantwortenanzahl)}}function le(st,zt){1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Vertretungsanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd())}function ee(st,zt){1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col"),e.\u0275\u0275element(3,"div",50),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function we(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext(2).$implicit,At=e.\u0275\u0275nextContext(4).$implicit,$t=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView($t.FreigabeStatusChangedHandler(Yt,Xt,At._id))}),e.\u0275\u0275elementStart(2,"table",42)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",44),e.\u0275\u0275text(7,"Urlaub genehmigen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275element(9,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",45),e.\u0275\u0275text(11,"Urlaub ablehnen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&st){const pt=e.\u0275\u0275nextContext(2).$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("value",pt.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",It.DB.Urlaubstatusvarianten.Genehmigt),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",It.DB.Urlaubstatusvarianten.Abgelehnt)}}function ye(st,zt){1&st&&(e.\u0275\u0275elementStart(0,"td",44),e.\u0275\u0275text(1,"Urlaub genehmigt"),e.\u0275\u0275elementEnd())}function Oe(st,zt){1&st&&(e.\u0275\u0275elementStart(0,"td",45),e.\u0275\u0275text(1,"Urlaub abgelehnt"),e.\u0275\u0275elementEnd())}function ve(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",42)(2,"tr"),e.\u0275\u0275template(3,ye,2,0,"td",46)(4,Oe,2,0,"td",47),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&st){const pt=e.\u0275\u0275nextContext(2).$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",pt.Status===It.DB.Urlaubstatusvarianten.Genehmigt),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Status===It.DB.Urlaubstatusvarianten.Abgelehnt)}}function _e(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",6),e.\u0275\u0275element(10,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(11,"td",38),e.\u0275\u0275elementStart(12,"td")(13,"ion-button",52),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext().$implicit,Xt=e.\u0275\u0275nextContext(4).$implicit,At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.UrlaubSuchen(Yt,Xt))}),e.\u0275\u0275element(14,"ion-icon",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275template(16,we,12,3,"ng-container",19)(17,ve,5,2,"ng-container",19),e.\u0275\u0275elementEnd()()}if(2&st){const pt=e.\u0275\u0275nextContext().$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(It.GetDatumlangtext(pt.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(It.GetDatumlangtext(pt.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(pt.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(It.GetVertetungName(pt)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",It.DB.GetUrlaubStatuscolor(pt.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",pt.Freigabemeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",pt.Status===It.DB.Urlaubstatusvarianten.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===pt.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===pt.FreigabeantwortSended)}}function Pe(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,_e,18,10,"tr",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===It.DB.CheckUrlaubFreigabeanwortAge(pt)&&!0===pt.VertreterantwortSended&&(pt.Status===It.DB.Urlaubstatusvarianten.Vertreterfreigabe||pt.Status===It.DB.Urlaubstatusvarianten.Genehmigt||pt.Status===It.DB.Urlaubstatusvarianten.Abgelehnt))}}function Ze(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Pe,2,1,"ng-container",10),e.\u0275\u0275elementStart(2,"tr")(3,"td",34)(4,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext().$implicit,Xt=e.\u0275\u0275nextContext(2).$implicit,At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.SendFreigabeUpdate(Xt,Yt))}),e.\u0275\u0275text(5,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&st){const pt=e.\u0275\u0275nextContext().$implicit,It=e.\u0275\u0275nextContext(2).$implicit,Yt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",pt.Urlaubzeitspannen),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===Yt.CheckFreigabeUpdateButtonEnabled(It,pt))}}function ot(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Ze,6,2,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Jahr===It.DB.Jahr&&pt.UrlaubsfreigeberID===It.DB.CurrentMitarbeiter._id)}}function tt(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",32),e.\u0275\u0275text(12,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Vertretung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"td",31),e.\u0275\u0275text(16,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"td",33),e.\u0275\u0275text(18,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(19,"td"),e.\u0275\u0275elementStart(20,"td",31),e.\u0275\u0275text(21,"Anfrage beantworten"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(22,ot,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()()()()()),2&st){const pt=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(22),e.\u0275\u0275property("ngForOf",pt.Urlaubsliste)}}function mt(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,tt,23,1,"ion-row",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",pt.Vorname+" "+pt.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",It.DB.Freigabenanfragenanzahl>0||It.DB.Freigabenantwortenanzahl>0)}}function Qe(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275element(1,"td")(2,"td"),e.\u0275\u0275elementStart(3,"td",6)(4,"ion-button",53),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext(2).$implicit,Xt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Xt.HomeofficeGenehmigeAll(Yt))}),e.\u0275\u0275element(5,"ion-icon",54),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td",6)(7,"ion-button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext(2).$implicit,Xt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Xt.HomeofficeAblehnenAll(Yt))}),e.\u0275\u0275element(8,"ion-icon",56),e.\u0275\u0275elementEnd()()()}}function Ct(st,zt){if(1&st&&e.\u0275\u0275element(0,"ion-radio",43),2&st){const pt=e.\u0275\u0275nextContext(8);e.\u0275\u0275property("value",pt.DB.Homeofficestatusvarianten.Genehmigt)}}function Xe(st,zt){1&st&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275element(1,"div",62),e.\u0275\u0275elementEnd())}function nt(st,zt){if(1&st&&e.\u0275\u0275element(0,"ion-radio",43),2&st){const pt=e.\u0275\u0275nextContext(8);e.\u0275\u0275property("value",pt.DB.Homeofficestatusvarianten.Abgelehnt)}}function Pt(st,zt){1&st&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275element(1,"div",63),e.\u0275\u0275elementEnd())}function tn(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"td",6),e.\u0275\u0275element(5,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",57)(7,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext().$implicit,At=e.\u0275\u0275nextContext(2).$implicit,$t=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView($t.HomeofficeStatusChanged(Yt,Xt,At))}),e.\u0275\u0275elementStart(8,"table",58)(9,"tr",59)(10,"td",60),e.\u0275\u0275template(11,Ct,1,1,"ion-radio",61)(12,Xe,2,0,"span",19),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",60),e.\u0275\u0275template(14,nt,1,1,"ion-radio",61)(15,Pt,2,0,"span",19),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&st){const pt=e.\u0275\u0275nextContext().$implicit,It=e.\u0275\u0275nextContext(6);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(pt.Startstring),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",It.DB.GetHomeofficeStatuscolor(pt.Status)),e.\u0275\u0275advance(2),e.\u0275\u0275property("value",pt.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",!1===pt.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===pt.FreigabeantwortSended&&pt.Status===It.DB.Homeofficestatusvarianten.Genehmigt),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===pt.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===pt.FreigabeantwortSended&&pt.Status===It.DB.Homeofficestatusvarianten.Abgelehnt)}}function hn(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,tn,16,8,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(6);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===It.DB.CheckHomeofficeFreigabeanwortAge(pt)&&(pt.Status===It.DB.Homeofficestatusvarianten.Freigabeanfrage||pt.Status===It.DB.Homeofficestatusvarianten.Genehmigt||pt.Status===It.DB.Homeofficestatusvarianten.Abgelehnt))}}function wn(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",64)(2,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext(2).$implicit,Xt=e.\u0275\u0275nextContext(2).$implicit,At=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(At.SendHomeofficeUpdate(Yt,Xt))}),e.\u0275\u0275text(3,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()()}if(2&st){const pt=e.\u0275\u0275nextContext(2).$implicit,It=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",!1===It.CheckHomeofficeUpdateButtonEnabled(pt))}}function An(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Qe,9,0,"tr",19)(2,hn,2,1,"ng-container",10)(3,wn,4,1,"tr",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=e.\u0275\u0275nextContext().$implicit,It=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",It.CheckHasAnfragen(pt)),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",pt.Homeofficezeitspannen),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===It.CheckHasAnfragen(pt))}}function _n(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,An,4,3,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",pt.Jahr===It.DB.Jahr&&pt.HomeofficefreigeberID===It.DB.CurrentMitarbeiter._id)}}function qt(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Datum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",31),e.\u0275\u0275text(12,"Genehmigt"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(15,_n,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()()()()()),2&st){const pt=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(15),e.\u0275\u0275property("ngForOf",pt.Urlaubsliste)}}function ht(st,zt){1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Freigabeanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd())}function Ue(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,qt,16,1,"ion-row",19)(8,ht,7,0,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",pt.Vorname+" "+pt.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",It.DB.Homeofficeanfragenanzahl>0||It.DB.Homeofficantwortenanzahl>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===It.DB.Homeofficeanfragenanzahl&&0===It.DB.Homeofficantwortenanzahl)}}function Ee(st,zt){if(1&st&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Freigabeanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(7,"ion-row")(8,"ion-col")(9,"table",17)(10,"tr")(11,"td",6)(12,"ion-text",18),e.\u0275\u0275text(13,"Homeofficefreigaben"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(14,Ue,9,3,"ng-container",10),e.\u0275\u0275elementContainerEnd()),2&st){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(14),e.\u0275\u0275property("ngForOf",pt.DB.Homeofficefreigabenliste)}}function Te(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Xt.AnsichtFeiertageCheckChanged(Yt,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",51),e.\u0275\u0275element(6,"ion-icon",68),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Xt.AnsichtFerientageCheckChanged(Yt,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",51),e.\u0275\u0275element(14,"ion-icon",69),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&st){const pt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",pt.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",pt.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Ferien_DE)}}function $e(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",70),e.\u0275\u0275listener("CheckChanged",function(Yt){const Xt=e.\u0275\u0275restoreView(pt),At=Xt.$implicit,$t=Xt.index,St=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(St.DisplayExternCheckChanged(Yt,At,$t))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",71),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&st){const pt=zt.$implicit,It=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",It.DB.CheckDisplayExternenUrlaub(pt.MitarbeiterIDExtern))("Enabled",pt.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(pt.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",pt.NameExtern," ",pt.Text,"")}}function je(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",13),e.\u0275\u0275template(1,Te,17,6,"ng-container",19),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Xt.AnsichtFeiertageCheckChanged(Yt,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",51),e.\u0275\u0275element(8,"ion-icon",66),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Xt.AnsichtFerientageCheckChanged(Yt,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",51),e.\u0275\u0275element(16,"ion-icon",67),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,$e,8,5,"tr",10),e.\u0275\u0275elementEnd()}if(2&st){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===pt.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",pt.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",pt.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",pt.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",pt.DB.UrlaublisteExtern)}}function gt(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",72),e.\u0275\u0275elementEnd()),2&st){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",pt.Flagsource,e.\u0275\u0275sanitizeUrl)}}function He(st,zt){if(1&st&&(e.\u0275\u0275elementStart(0,"td",73),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&st){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(pt.Message)}}function vt(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",74),e.\u0275\u0275listener("OkClickedEvent",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Xt.AuswahlOkButtonClicked(Yt))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Yt.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&st){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",pt.Auswahlliste)("Auswahlindex",pt.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",pt.Auswahltitel)("Iconname","")}}function ut(st,zt){if(1&st){const pt=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",75),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Yt.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Yt){e.\u0275\u0275restoreView(pt);const Xt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Xt.MitarbeiterauswahlOkButtonClicked(Yt))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(pt);const Yt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Yt.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&st){const pt=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",pt.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",pt.AuswahlIDliste)}}h.CommonUrlaubFreigabenPage=(()=>{class st{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;MitarbeiterMultiselect;Message;Flagsource;LegendeVisible;Legendehoehe;Legendebreite;constructor(pt,It,Yt,Xt,At,$t,St,xt,nn,bn,Tn){this.Menuservice=pt,this.Basics=It,this.DBMitarbeitersettings=Yt,this.Pool=Xt,this.DB=At,this.DBMitarbeiter=$t,this.Const=St,this.DBStandort=xt,this.DBMitarbeiterstettings=nn,this.Auswahlservice=bn,this.Debug=Tn;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Auswahldialogorigin=this.Const.NONE,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.MitarbeiterMultiselect=!0,this.Message="",this.Flagsource="",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0}catch(rn){this.Debug.ShowErrorMessage(rn.message,"Urlaub Freigaben Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{let pt;for(let It of this.DB.Homeofficefreigabenliste){pt=d.find(It.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr});for(let Yt of pt.Homeofficezeitspannen)!1===Yt.FreigabeantwortSended&&(Yt.Status=this.DB.Homeofficestatusvarianten.Freigabeanfrage);It._id===this.DB.CurrentMitarbeiter._id&&pt.Jahr===this.DB.CurrentUrlaub.Jahr&&(this.DB.CurrentUrlaub=pt),this.DB.CountAnfragenanzahlen()}}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){var pt=this;return n(function*(){try{pt.DB.Init(),pt.DB.CheckSetup(),pt.DB.SetPlanungsmonate(),pt.DB.CountAnfragenanzahlen()}catch(It){pt.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","PrepareData",pt.Debug.Typen.Page)}})()}GetDatumlangtext(pt){try{return(0,a.default)(pt).locale("de").format("DD. MMMM YYYY")}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(pt){try{let It;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(It=d.find(this.Pool.Mitarbeiterliste,{_id:pt[0]}),this.DB.CurrentMitarbeiter=It,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(It){this.Debug.ShowErrorMessage(It.message,"Urlaub Freigaben Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter;let pt=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:pt,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),pt++;for(let It of this.Pool.Standorteliste)this.Auswahlliste.push({Index:pt,FirstColumn:It.Kuerzel,SecoundColumn:It.Standort,Data:It}),pt++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(pt){this.Debug.ShowErrorMessage(pt.message,"Urlaub Freigaben Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(pt){var It=this;return n(function*(){try{It.Auswahldialogorigin===It.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter&&(It.DBStandort.CurrentStandortfilter=(0,l.cloneDeep)(pt),It.Pool.Mitarbeitersettings.StandortFilter=null!==pt?pt._id:It.Const.NONE,It.DBMitarbeitersettings.UpdateMitarbeitersettings(It.Pool.Mitarbeitersettings,null).then(()=>{It.ShowAuswahl=!1,It.DBStandort.StandortfilterChanged.emit()})),It.ShowAuswahl=!1,It.PrepareData()}catch(Yt){It.Debug.ShowErrorMessage(Yt.message,"Urlaub Freigaben Page","AuswahlOkButtonClicked",It.Debug.Typen.Page)}})()}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetDatum(pt){try{return(0,a.default)(pt).format("DD.MM.YYYY")}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","GetDatum",this.Debug.Typen.Page)}}VerteretungStatusChangedHandler(pt,It,Yt){try{It.Status=pt.detail.value}catch(Xt){this.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","VerteretungStatusChangedHandler",this.Debug.Typen.Page)}}FreigabeStatusChangedHandler(pt,It,Yt){try{It.Status=pt.detail.value}catch(Xt){this.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","FreigabeStatusChangedHandler",this.Debug.Typen.Page)}}CheckVertretungUpdateButtonEnabled(pt,It){try{let Yt=!1;for(let Xt of It.Urlaubzeitspannen)d.isUndefined(Xt.VertreterantwortSended)&&(Xt.VertreterantwortSended=!1),null!==It.UrlaubsfreigeberID&&!1===Xt.VertreterantwortSended&&Xt.VertreterID===this.DB.CurrentMitarbeiter._id&&(Xt.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung||Xt.Status===this.DB.Urlaubstatusvarianten.Vertreterfreigabe)&&(Yt=!0);return Yt}catch(Yt){this.Debug.ShowErrorMessage(Yt,"Urlaub Freigaben Page","CheckVertretungUpdateButtonEnabled",this.Debug.Typen.Page)}}UrlaubSuchen(pt,It){try{let Yt=(0,a.default)(pt.Startstempel);this.DB.CurrentMonatindex=Yt.month(),this.DB.SetPlanungsmonate()}catch(Yt){this.Debug.ShowErrorMessage(Yt,"Urlaub Freigaben Page","UrlaubSuchen",this.Debug.Typen.Page)}}CheckFreigabeUpdateButtonEnabled(pt,It){try{let Yt=!1;for(let Xt of It.Urlaubzeitspannen)d.isUndefined(Xt.FreigabeantwortSended)&&(Xt.FreigabeantwortSended=!1),null!==It.UrlaubsfreigeberID&&!1===Xt.FreigabeantwortSended&&(Xt.Status===this.DB.Urlaubstatusvarianten.Genehmigt||Xt.Status===this.DB.Urlaubstatusvarianten.Abgelehnt)&&(Yt=!0);return Yt}catch(Yt){this.Debug.ShowErrorMessage(Yt,"Urlaub Freigaben Page","CheckFreigabeUpdateButtonEnabled",this.Debug.Typen.Page)}}SendVertretungUpdate(pt,It){var Yt=this;return n(function*(){try{yield Yt.DB.UpdateVertreterantworten(pt,It),yield Yt.PrepareData(),Yt.DB.ExterneUrlaubeChanged.emit()}catch(Xt){Yt.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","SendVertretungUpdate",Yt.Debug.Typen.Page)}})()}FerientagCrossedEventHandler(pt){try{this.Message=pt.Name,""!==pt.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===pt.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(pt,It,Yt){try{let Xt=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:It.MitarbeiterIDExtern});d.isUndefined(Xt)||(Xt.Display=pt.status);let At=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[At]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Xt){this.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}DisplayMeinenUrlaubCheckChanged(pt){try{this.Pool.Mitarbeitersettings.UrlaubShowMeinenUrlaub=pt.status,this.DBMitarbeiterstettings.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","DisplayMeinenUrlaubCheckChanged",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}FeiertagCrossedEventHandler(pt){try{this.Message=pt.Name,""!==pt.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===pt.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}MonatButtonClicked(pt){try{this.DB.CurrentMonatindex=pt,this.DB.SetPlanungsmonate()}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","MonatButtonClicked",this.Debug.Typen.Page)}}GetMonatButtonColor(pt){try{if(this.DB.CurrentMonatindex===pt)return"orange"}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","GetMonatButtonColor",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(pt,It){try{switch(It){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=pt.status,this.DB.ShowFerientage_DE=pt.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=pt.status,this.DB.ShowFerientage_BG=pt.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Yt){this.Debug.ShowErrorMessage(Yt,"Urlaub Freigaben Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(pt,It){try{switch(It){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=pt.status,this.DB.ShowFeiertage_DE=pt.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=pt.status,this.DB.ShowFeiertage_BG=pt.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Yt){this.Debug.ShowErrorMessage(Yt,"Urlaub Freigaben Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetVertetungName(pt){try{let It;return It=this.DBMitarbeiter.GetMitarbeiterByID(pt.VertreterID),d.isUndefined(It)?"unbekannt":It.Vorname+" "+It.Name}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","GetVertetungName",this.Debug.Typen.Page)}}SendFreigabeUpdate(pt,It){var Yt=this;return n(function*(){try{yield Yt.DB.UpdateFreigabenantworten(pt,It),yield Yt.PrepareData(),Yt.DB.ExterneUrlaubeChanged.emit()}catch(Xt){Yt.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","SendFreigabeUpdate",Yt.Debug.Typen.Page)}})()}HomeofficeStatusChanged(pt,It,Yt){try{It.Status=pt.detail.value}catch(Xt){this.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","HomeofficeStatusChanged",this.Debug.Typen.Page)}}HomeofficeGenehmigeAll(pt){try{for(let It of pt.Homeofficezeitspannen)!1===It.FreigabeantwortSended&&(It.Status=this.DB.Homeofficestatusvarianten.Genehmigt)}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","HomeofficeGenehmigeAll",this.Debug.Typen.Page)}}HomeofficeAblehnenAll(pt){try{for(let It of pt.Homeofficezeitspannen)!1===It.FreigabeantwortSended&&(It.Status=this.DB.Homeofficestatusvarianten.Abgelehnt)}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","HomeofficeAblehnenAll",this.Debug.Typen.Page)}}SendHomeofficeUpdate(pt,It){var Yt=this;return n(function*(){try{yield Yt.DB.SendHomeofficeFreigabeantworten(It,pt),yield Yt.PrepareData(),Yt.DB.ExterneHomeofficeChanged.emit()}catch(Xt){Yt.Debug.ShowErrorMessage(Xt,"Urlaub Freigaben Page","SendHomeofficeUpdate",Yt.Debug.Typen.Page)}})()}CheckHomeofficeUpdateButtonEnabled(pt){try{let It=!1;for(let Yt of pt.Homeofficezeitspannen)!1===Yt.FreigabeantwortSended&&(Yt.Status===this.DB.Homeofficestatusvarianten.Abgelehnt||Yt.Status===this.DB.Homeofficestatusvarianten.Genehmigt)&&(It=!0);return It}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","CheckHomeofficeUpdateButtonEnabled",this.Debug.Typen.Page)}}CheckHasAnfragen(pt){try{let It=!1;for(let Yt of pt.Homeofficezeitspannen)!1===Yt.FreigabeantwortSended&&(It=!0);return It}catch(It){this.Debug.ShowErrorMessage(It,"Urlaub Freigaben Page","CheckHasAnfragen",this.Debug.Typen.Page)}}static \u0275fac=function(It){return new(It||st)(e.\u0275\u0275directiveInject(u.MenueService),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(p.DatabaseUrlaubService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(C.ConstProvider),e.\u0275\u0275directiveInject(_.DatabaseStandorteService),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(y.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:st,selectors:[["common-urlaub-freigaben-page"]],viewQuery:function(It,Yt){if(1&It&&(e.\u0275\u0275viewQuery(x,5),e.\u0275\u0275viewQuery(N,5)),2&It){let Xt;e.\u0275\u0275queryRefresh(Xt=e.\u0275\u0275loadQuery())&&(Yt.PageHeader=Xt.first),e.\u0275\u0275queryRefresh(Xt=e.\u0275\u0275loadQuery())&&(Yt.PageFooter=Xt.first)}},decls:70,vars:30,consts:[["xmlns","http://www.w3.org/1999/html",1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],["colspan","2",2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],["align","center","valign","top"],[1,"paddingtable"],["valign","top",2,"width","500px"],[3,"Jahr","Monatindex","AddUrlaubRunning","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","FeiertagCrossedEvent","FerientagCrossedEvent"],["width","100%"],["color","baeblau",2,"font-size","120%","font-weight","bold"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[1,"docinnertable"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],["colspan","7","align","center"],["size","small",3,"disabled","click"],[2,"text-align","center"],[1,"legendedivclass",2,"color","black"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],[3,"value","ionChange"],[1,"nobordertable"],[3,"value"],[2,"color","green"],[2,"color","red"],["style","color: green",4,"ngIf"],["style","color: red",4,"ngIf"],["colspan","6",2,"color","red"],[2,"text-align","center","height","30px"],[2,"height","20px"],[1,"legendedivclass"],["size","small","color","grau",3,"disabled","click"],["color","gruen","size","small",3,"click"],["name","checkmark-outline"],["color","rot","size","small",3,"click"],["name","close-outline"],["colspan","2"],[1,"nobordertable",2,"width","100%"],[2,"height","32px"],["align","center",2,"width","50%"],[3,"value",4,"ngIf"],[2,"border-radius","50%","width","12px","height","12px","background","green"],[2,"border-radius","50%","width","12px","height","12px","background","red"],["colspan","4","align","center"],[3,"Checked","CheckChanged"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(It,Yt){1&It&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Yt.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return Yt.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,O,3,3,"td",10),e.\u0275\u0275elementStart(17,"td")(18,"div",8),e.\u0275\u0275listener("click",function(){return Yt.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",11),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr")(21,"td",12)(22,"table",13)(23,"tr")(24,"td",14)(25,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("FeiertagCrossedEvent",function(At){return Yt.FeiertagCrossedEventHandler(At)})("FerientagCrossedEvent",function(At){return Yt.FerientagCrossedEventHandler(At)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(26,"td",14)(27,"urlaubsplanung-kalender",16),e.\u0275\u0275listener("FeiertagCrossedEvent",function(At){return Yt.FeiertagCrossedEventHandler(At)})("FerientagCrossedEvent",function(At){return Yt.FerientagCrossedEventHandler(At)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(28,"td",14)(29,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("FeiertagCrossedEvent",function(At){return Yt.FeiertagCrossedEventHandler(At)})("FerientagCrossedEvent",function(At){return Yt.FerientagCrossedEventHandler(At)}),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(30,"ion-grid")(31,"ion-row")(32,"ion-col")(33,"table",17)(34,"tr")(35,"td",6)(36,"ion-text",18),e.\u0275\u0275text(37,"Vertretungsanfragen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(38,$,8,2,"ng-container",10)(39,le,7,0,"ng-container",19)(40,ee,4,0,"ng-container",19),e.\u0275\u0275elementStart(41,"ion-row")(42,"ion-col")(43,"table",17)(44,"tr")(45,"td",6)(46,"ion-text",18),e.\u0275\u0275text(47,"Urlaubsfreigaben"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(48,mt,8,2,"ng-container",10)(49,Ee,15,1,"ng-container",19),e.\u0275\u0275elementStart(50,"div",20)(51,"table")(52,"tr")(53,"td")(54,"div",21),e.\u0275\u0275listener("click",function(){return Yt.LegendeVisible=!Yt.LegendeVisible}),e.\u0275\u0275element(55,"ion-icon",22),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(56,"td",23),e.\u0275\u0275template(57,je,56,20,"table",24),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(58,"ion-footer")(59,"page-footer",null,25)(61,"table",4)(62,"tr")(63,"td",26)(64,"table",13)(65,"tr"),e.\u0275\u0275template(66,gt,2,1,"td",19)(67,He,2,1,"td",27),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(68,vt,1,7,"auswahl-dialog",28)(69,ut,1,6,"fi-mitarbeiter-auswahl",29)),2&It&&(e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",Yt.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",Yt.DB.Jahr)("Monatindex",Yt.DB.FirstMonatIndex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Yt.DB.Jahr)("ShowYear",!0)("Monatindex",Yt.DB.CurrentMonatindex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Yt.DB.Jahr)("Monatindex",Yt.DB.LastMonatIndex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",Yt.DB.Vertretrungliste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Yt.DB.Vertretungsanfragenanzahl&&0===Yt.DB.Vertretungsantwortenanzahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==Yt.DB.Vertretungsanfragenanzahl||0!==Yt.DB.Vertretungsantwortenanzahl),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngForOf",Yt.DB.Urlaubfreigabenliste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Yt.DB.Freigabenanfragenanzahl&&0===Yt.DB.Freigabenantwortenanzahl),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Yt.Legendehoehe,"px")("width",Yt.Legendebreite,"px")("right",Yt.LegendeVisible?0:-(Yt.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",Yt.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Yt.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Yt.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==Yt.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==Yt.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Yt.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Yt.ShowMitarbeiterauswahl))},dependencies:[b.NgForOf,b.NgIf,E.IonButton,E.IonCol,E.IonContent,E.IonFooter,E.IonGrid,E.IonHeader,E.IonIcon,E.IonRadio,E.IonRadioGroup,E.IonRow,E.IonText,E.RadioValueAccessor,E.SelectValueAccessor,M.PageHeaderComponent,A.PageHeaderMenuComponent,I.PageFooterComponent,F.PjProjektpunktDateKWPickerComponent,j.AuswahlDialogComponent,T.CheckboxClonComponent,P.FiMitarbeiterAuswahlComponent],styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:auto}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return st})()},74484:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubsplanungPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),l=o(75908),e=o(70216),u=o(56568),c=o(6168),g=o(90520),v=o(6232),p=o(72284),S=o(10272),C=o(7388),_=o(27328),f=o(26668),y=n.__importStar(o(54496)),E=(n.__importStar(o(56568)),[{path:"",component:l.CommonUrlaubPlanungPage}]);h.CommonUrlaubsplanungPageModule=(()=>{class A{static \u0275fac=function(j){return new(j||A)};static \u0275mod=y.\u0275\u0275defineNgModule({type:A});static \u0275inj=y.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(E),c.PageHeaderMenuModule,g.PageFooterModule,v.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,C.CheckboxClonModule,_.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return A})()},75908:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubPlanungPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),l=o(17964),e=i.__importStar(o(54496)),u=i.__importStar(o(59460)),c=i.__importStar(o(14652)),g=i.__importStar(o(15024)),v=i.__importStar(o(7992)),p=i.__importStar(o(9544)),S=i.__importStar(o(22848)),C=i.__importStar(o(29743)),_=i.__importStar(o(58864)),f=i.__importStar(o(48044)),y=i.__importStar(o(19668)),b=i.__importStar(o(34388)),E=i.__importStar(o(91368)),M=i.__importStar(o(10716)),A=i.__importStar(o(90212)),I=i.__importStar(o(63792)),F=i.__importStar(o(29856)),j=i.__importStar(o(77440)),T=i.__importStar(o(56584)),P=i.__importStar(o(25856)),x=i.__importStar(o(80887)),N=["PageHeader"],O=["PageFooter"];function H(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",8),e.\u0275\u0275listener("click",function(){const wt=e.\u0275\u0275restoreView(He).index,st=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(st.MonatButtonClicked(wt))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&je){const He=gt.$implicit,vt=gt.index,ut=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ut.GetMonatButtonColor(vt)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(He)}}function G(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td",6)(5,"ion-button",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ut.AddUrlaub())}),e.\u0275\u0275text(6,"Urlaub eintragen"),e.\u0275\u0275elementEnd()()()()()()}if(2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",He.DB.CountResturlaub()<=0)}}function te(je,gt){if(1&je&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td",31),e.\u0275\u0275text(2,"bis zum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td")(4,"div",30),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&je){const He=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null!==He.DB.CurrentUrlaubzeitspanne&&null!==He.DB.CurrentUrlaubzeitspanne.Endestempel?He.DB.CurrentUrlaubzeitspanne.Endestempel:"Bitte Endedatum im Kalender oben anklicken"," ")}}function ue(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",32),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(ut.CancelDatumClicked())}),e.\u0275\u0275element(2,"ion-icon",33),e.\u0275\u0275elementEnd()()}}function se(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td")(5,"div",30),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(7,te,6,1,"ng-container",17)(8,ue,3,0,"td",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"tr"),e.\u0275\u0275elementEnd()()()),2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",null!==He.DB.CurrentUrlaubzeitspanne&&null!==He.DB.CurrentUrlaubzeitspanne.Startstempel?He.DB.CurrentUrlaubzeitspanne.Startstring:"Bitte Startdatum im Kalender oben anklicken"," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==He.DB.CurrentUrlaubzeitspanne&&null!==He.DB.CurrentUrlaubzeitspanne.Startstempel),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===He.AddUrlaubRunning)}}function K(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",34)(3,"tr")(4,"td",35),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()),2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("Momentan ist noch kein Urlaub eingetragen. Du hast ",He.DB.CountResturlaub()," Urlaubstage.")}}function Z(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",47),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext().$implicit,wt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(wt.StellvertreterFestlegenClicked(ut))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&je){const He=e.\u0275\u0275nextContext().$implicit,vt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(null!==He.VertreterID?vt.GetStellvertretername(He):"Festlegen")}}function re(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&je){const He=e.\u0275\u0275nextContext().$implicit,vt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(null!==He.VertreterID?vt.GetStellvertretername(He):"Festlegen")}}function J(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",35),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275template(8,Z,2,1,"ion-button",44)(9,re,2,1,"span",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",6)(11,"div",45),e.\u0275\u0275listener("click",function(){const wt=e.\u0275\u0275restoreView(He).$implicit,st=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(st.StatusClickedHandler(wt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(12,"td",46),e.\u0275\u0275elementStart(13,"td")(14,"ion-button",47),e.\u0275\u0275listener("click",function(){const wt=e.\u0275\u0275restoreView(He).$implicit,st=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(st.UrlaubSuchen(wt))}),e.\u0275\u0275element(15,"ion-icon",48),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"ion-button",49),e.\u0275\u0275listener("click",function(){const wt=e.\u0275\u0275restoreView(He).$implicit,st=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(st.UrlaubLoeschen(wt))}),e.\u0275\u0275element(18,"ion-icon",50),e.\u0275\u0275elementEnd()()()}if(2&je){const He=gt.$implicit,vt=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(vt.GetDatum(He.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(vt.GetDatum(He.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(He.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",He.Status===vt.DB.Urlaubstatusvarianten.Geplant||He.Status===vt.DB.Urlaubstatusvarianten.Vertreterablehnung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.Status!==vt.DB.Urlaubstatusvarianten.Geplant&&He.Status!==vt.DB.Urlaubstatusvarianten.Vertreterablehnung),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("cursor",!0===vt.Pool.Mitarbeiterdaten.Urlaubsfreigaben?"pointer":"default")("background",vt.DB.GetUrlaubStatuscolor(He.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",He.Planungmeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",!1===vt.CheckLoschenEnabled(He))}}function Y(je,gt){if(1&je&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,J,19,11,"tr",10),e.\u0275\u0275elementContainerEnd()),2&je){const He=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",He.DB.CurrentUrlaub.Urlaubzeitspannen)}}function $(je,gt){1&je&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr"),e.\u0275\u0275element(2,"td",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function le(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",36)(3,"tr")(4,"td",37),e.\u0275\u0275text(5,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",37),e.\u0275\u0275text(7,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",38),e.\u0275\u0275text(9,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",37),e.\u0275\u0275text(11,"Stellvertreter"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"td",37),e.\u0275\u0275text(13,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td",39),e.\u0275\u0275text(15,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(16,"td",40)(17,"td",40),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(18,Y,2,1,"ng-container",17)(19,$,3,0,"ng-container",17),e.\u0275\u0275elementStart(20,"tr")(21,"td",41),e.\u0275\u0275text(22,"Resturlaub"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td",35),e.\u0275\u0275text(24),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(25,"td",42),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"tr")(27,"td",43)(28,"ion-button",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ut.DB.UpdateVertreteranfragen())}),e.\u0275\u0275text(29,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()()()()()}if(2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(18),e.\u0275\u0275property("ngIf",He.DB.CurrentUrlaub.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===He.DB.CurrentUrlaub.Urlaubzeitspannen.length),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(He.DB.CountResturlaub()),e.\u0275\u0275advance(4),e.\u0275\u0275property("disabled",!1===He.CheckUrlaubUpdatesAvailable())}}function ee(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td",6)(5,"ion-button",29),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ut.AddHomeofficeStart())}),e.\u0275\u0275text(6,"Homeoffice eintragen"),e.\u0275\u0275elementEnd()()()()()()}if(2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",He.DB.CountHomeoffice()<=0)}}function we(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"table",7)(3,"tr")(4,"td",6)(5,"div",52),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ut.SaveHomeofficeEventHandler())}),e.\u0275\u0275elementStart(6,"table")(7,"tr")(8,"td",53)(9,"b"),e.\u0275\u0275text(10,"Fertig"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"td"),e.\u0275\u0275element(12,"ion-icon",54),e.\u0275\u0275elementEnd()()()()()()()()()}}function ye(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",34)(3,"tr")(4,"td",35),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()),2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("Momentan ist noch kein Homeoffice eingetragen. Du hast ",He.DB.CountHomeoffice()," Homeofficetage.")}}function Oe(je,gt){1&je&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1,"|"),e.\u0275\u0275elementEnd())}function ve(je,gt){if(1&je&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"span"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,Oe,2,0,"span",17),e.\u0275\u0275elementContainerEnd()),2&je){const He=gt.$implicit,vt=gt.index,ut=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1(" ",He.Startstring," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",vt0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.DB.CountHomeAbgelehnt()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.DB.CountHomeFreigbeanfragen()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",He.DB.CountHomeGeplant()>0),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",He.DB.CountHomeoffice()," Tage"),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===He.CheckHomeofficeUpdatesAvailable())}}function wn(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",21)(2,"table",4)(3,"tr")(4,"td",28)(5,"table"),e.\u0275\u0275template(6,G,7,1,"tr",17)(7,se,10,3,"tr",17)(8,K,6,1,"tr",17)(9,le,30,4,"tr",17),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(10,"td",28)(11,"table"),e.\u0275\u0275template(12,ee,7,1,"tr",17)(13,we,13,0,"tr",17)(14,ye,6,1,"tr",17)(15,hn,22,6,"tr",17),e.\u0275\u0275elementEnd()()()()()()),2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===He.AddUrlaubRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddHomeofficeRunning&&!1===He.AddUrlaubRunning&&0===He.DB.CurrentUrlaub.Urlaubzeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning&&He.DB.CurrentUrlaub.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===He.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddHomeofficeRunning&&!1===He.AddUrlaubRunning&&0===He.DB.CurrentUrlaub.Homeofficezeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===He.AddUrlaubRunning&&!1===He.AddHomeofficeRunning&&He.DB.CurrentUrlaub.Homeofficezeitspannen.length>0)}}function An(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",60),e.\u0275\u0275listener("CheckChanged",function(ut){e.\u0275\u0275restoreView(He);const wt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(wt.AnsichtFeiertageCheckChanged(ut,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",58),e.\u0275\u0275element(6,"ion-icon",63),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",60),e.\u0275\u0275listener("CheckChanged",function(ut){e.\u0275\u0275restoreView(He);const wt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(wt.AnsichtFerientageCheckChanged(ut,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",58),e.\u0275\u0275element(14,"ion-icon",64),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&je){const He=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",He.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",He.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Ferien_DE)}}function _n(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",65),e.\u0275\u0275listener("CheckChanged",function(ut){const wt=e.\u0275\u0275restoreView(He),st=wt.$implicit,zt=wt.index,pt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(pt.DisplayExternCheckChanged(ut,st,zt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",66),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&je){const He=gt.$implicit,vt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",vt.DB.CheckDisplayExternenUrlaub(He.MitarbeiterIDExtern))("Enabled",He.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(He.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",He.NameExtern," ",He.Text,"")}}function qt(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",13),e.\u0275\u0275template(1,An,17,6,"ng-container",17),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",60),e.\u0275\u0275listener("CheckChanged",function(ut){e.\u0275\u0275restoreView(He);const wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.AnsichtFeiertageCheckChanged(ut,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",58),e.\u0275\u0275element(8,"ion-icon",61),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",60),e.\u0275\u0275listener("CheckChanged",function(ut){e.\u0275\u0275restoreView(He);const wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.AnsichtFerientageCheckChanged(ut,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",58),e.\u0275\u0275element(16,"ion-icon",62),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",58),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",58),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",58),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",58),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",58),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",58),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(55,"tr"),e.\u0275\u0275element(56,"td"),e.\u0275\u0275elementStart(57,"td")(58,"div",58),e.\u0275\u0275text(59,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(60,"td"),e.\u0275\u0275text(61,"geplantes Homeoffice"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(62,"tr"),e.\u0275\u0275elementStart(63,"tr"),e.\u0275\u0275element(64,"td"),e.\u0275\u0275elementStart(65,"td")(66,"div",58),e.\u0275\u0275text(67,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(68,"td"),e.\u0275\u0275text(69,"Homeoffice Freigabe angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(70,"tr"),e.\u0275\u0275element(71,"td"),e.\u0275\u0275elementStart(72,"td")(73,"div",58),e.\u0275\u0275text(74,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(75,"td"),e.\u0275\u0275text(76,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"tr"),e.\u0275\u0275element(78,"td"),e.\u0275\u0275elementStart(79,"td")(80,"div",58),e.\u0275\u0275text(81,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(82,"td"),e.\u0275\u0275text(83,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(84,_n,8,5,"tr",10),e.\u0275\u0275elementEnd()}if(2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===He.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",He.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",He.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Geplant),e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Freigabeanfrage),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Genehmigt),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Abgelehnt),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",He.DB.UrlaublisteExtern)}}function ht(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",67),e.\u0275\u0275elementEnd()),2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",He.Flagsource,e.\u0275\u0275sanitizeUrl)}}function Ue(je,gt){if(1&je&&(e.\u0275\u0275elementStart(0,"td",68),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(He.Message)}}function Ee(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",69),e.\u0275\u0275listener("OkClickedEvent",function(ut){e.\u0275\u0275restoreView(He);const wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.AuswahlOkButtonClicked(ut))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ut.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",He.Auswahlliste)("Auswahlindex",He.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",He.Auswahltitel)("Iconname","")}}function Te(je,gt){if(1&je){const He=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",70),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ut.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(ut){e.\u0275\u0275restoreView(He);const wt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(wt.MitarbeiterauswahlOkButtonClicked(ut))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(He);const ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ut.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&je){const He=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",He.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",He.AuswahlIDliste)}}h.CommonUrlaubPlanungPage=(()=>{class je{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;Auswahlservice;Tools;Debug;PageHeader;PageFooter;Monateliste_Uebersicht;Monateliste_Mounseover;Auswahlliste;BundeslandAuswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Message;ShowMitarbeitereditor;AddUrlaubRunning;AddHomeofficeRunning;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;constructor(He,vt,ut,wt,st,zt,pt,It,Yt,Xt,At){this.Menuservice=He,this.Basics=vt,this.DBMitarbeitersettings=ut,this.Pool=wt,this.DB=st,this.DBMitarbeiter=zt,this.Const=pt,this.DBStandort=It,this.Auswahlservice=Yt,this.Tools=Xt,this.Debug=At;try{this.Monateliste_Uebersicht=[],this.Monateliste_Uebersicht.push(["Januar","Februar","M\xe4rz","April","Mai","Juni"]),this.Monateliste_Uebersicht.push(["Juli","August","September","Oktober","November","Dezember"]),this.Monateliste_Mounseover=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Message="",this.ShowMitarbeitereditor=!1,this.Auswahldialogorigin=this.Const.NONE,this.AddUrlaubRunning=!1,this.AddHomeofficeRunning=!1,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource=""}catch($t){this.Debug.ShowErrorMessage($t.message,"Urlaubsplanung Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","OnInit",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(He){var vt=this;return n(function*(){try{let ut,wt;switch((0,a.default)().locale("de"),vt.Auswahldialogorigin){case vt.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:vt.DB.Bundeslandkuerzel=He;let zt=vt.DB.Bundeslandkuerzel.substring(0,2);vt.DB.ReadFeiertage(zt).then(()=>{vt.ShowAuswahl=!1,vt.PrepareData()});break;case vt.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern:null!==He&&He!==vt.DB.CurrentUrlaubzeitspanne.Status&&(ut=d.find(vt.DB.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:vt.DB.CurrentUrlaubzeitspanne.ZeitspannenID}),ut.Status=He,ut.Status===vt.DB.Urlaubstatusvarianten.Geplant&&(ut.VertreteranfrageSended=!1,ut.VertreterantwortSended=!1,ut.FreigabeanfrageSended=!1,ut.FreigabeantwortSended=!1,ut.FreigabeantwortOfficeSended=!1,ut.Vertretunganfragezeitstempel=null,ut.Vertretungantwortzeitstempel=null,ut.Vertretungantwortzeitstempel=null,ut.Freigabeantwortzeitstempel=null,ut.FreigabeantwortOfficezeitstempel=null),wt=d.findIndex(vt.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:vt.DB.Jahr}),vt.DB.CurrentMitarbeiter.Urlaubsliste[wt]=vt.DB.CurrentUrlaub,yield vt.DBMitarbeiter.UpdateMitarbeiterUrlaub(vt.DB.CurrentMitarbeiter).then(()=>{vt.ShowAuswahl=!1}));break;case vt.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter:vt.DBStandort.CurrentStandortfilter=(0,l.cloneDeep)(He),vt.Pool.Mitarbeitersettings.StandortFilter=null!==He?He._id:vt.Const.NONE,vt.DBMitarbeitersettings.UpdateMitarbeitersettings(vt.Pool.Mitarbeitersettings,null).then(()=>{vt.ShowAuswahl=!1,vt.DBStandort.StandortfilterChanged.emit()});break;case vt.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen:ut=d.find(vt.DB.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:vt.DB.CurrentUrlaubzeitspanne.ZeitspannenID}),vt.DB.CurrentUrlaubzeitspanne.VertreterID=He,ut.VertreterID=He,ut.Status=vt.DB.Urlaubstatusvarianten.Geplant,ut.FreigabeantwortSended=!1,ut.FreigabeanfrageSended=!1,ut.VertreterantwortSended=!1,wt=d.findIndex(vt.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:vt.DB.Jahr}),vt.DB.CurrentMitarbeiter.Urlaubsliste[wt]=vt.DB.CurrentUrlaub,yield vt.DBMitarbeiter.UpdateMitarbeiterUrlaub(vt.DB.CurrentMitarbeiter).then(()=>{vt.ShowAuswahl=!1})}}catch(ut){vt.Debug.ShowErrorMessage(ut.message,"Urlaubsplanung Page","AuswahlOkButtonClicked",vt.Debug.Typen.Page)}})()}BundeslandClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland,this.Auswahltitel="Bundesland",this.Auswahlhoehe=600,this.Auswahlliste=this.BundeslandAuswahlliste,this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.Bundeslandkuerzel}),this.ShowAuswahl=!0}catch(He){this.Debug.ShowErrorMessage(He.message,"Urlaubsplanung Page","FortschrittClickedHandler",this.Debug.Typen.Page)}}PrepareData(){var He=this;return n(function*(){try{let vt=0;He.DB.Init(),He.DB.CheckSetup(),He.DB.SetPlanungsmonate(),He.DB.CountAnfragenanzahlen(),He.BundeslandAuswahlliste=[];for(let ut of He.DB.Regionenliste)He.BundeslandAuswahlliste.push({Index:vt,FirstColumn:ut.Name,SecoundColumn:ut.isoCode,Data:ut.isoCode}),vt++;He.DB.Bundesland=d.find(He.BundeslandAuswahlliste,{Data:He.DB.Bundeslandkuerzel}).FirstColumn}catch(vt){He.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","PrepareData",He.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(He){try{this.Message=He.Name,""!==He.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===He.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(He){try{this.Message=He.Name,""!==He.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===He.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(He){return(0,a.default)(He).format("DD.MM.YYYY")}AnsichtFerientageCheckChanged(He,vt){try{switch(vt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=He.status,this.DB.ShowFerientage_DE=He.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=He.status,this.DB.ShowFerientage_BG=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(ut){this.Debug.ShowErrorMessage(ut,"Urlaubsplanung Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(He,vt){try{switch(vt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=He.status,this.DB.ShowFeiertage_DE=He.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=He.status,this.DB.ShowFeiertage_BG=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(ut){this.Debug.ShowErrorMessage(ut,"Urlaubsplanung Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetMonatButtonColor(He){try{if(this.DB.CurrentMonatindex===He)return"orange"}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","GetMonatButtonColor",this.Debug.Typen.Page)}}MonatButtonClicked(He){try{this.DB.CurrentMonatindex=He,this.DB.SetPlanungsmonate()}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","MonatButtonClicked",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}AddUrlaub(){try{this.DB.CurrentUrlaubzeitspanne=null,this.AddUrlaubRunning=!0}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddUrlaub",this.Debug.Typen.Page)}}AddHomeofficeStart(){try{this.DB.CurrentHomeofficezeitspanne=null,this.AddHomeofficeRunning=!0}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddHomeofficeStart",this.Debug.Typen.Page)}}AddUrlaubFinishedHandler(){try{if(this.AddUrlaubRunning=!1,null!==this.DB.CurrentUrlaubzeitspanne){this.DB.CurrentUrlaub.Urlaubzeitspannen.push(this.DB.CurrentUrlaubzeitspanne);let He=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[He]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddUrlaubFinishedHandler",this.Debug.Typen.Page)}}UrlaubLoeschen(He){try{let vt=d.filter(this.DB.CurrentUrlaub.Urlaubzeitspannen,wt=>wt.ZeitspannenID!==He.ZeitspannenID);this.DB.CurrentUrlaub=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr}),this.DB.CurrentUrlaub.Urlaubzeitspannen=vt;let ut=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[ut]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.PlanungsmonateChanged.emit()})}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","UrlaubLoeschen",this.Debug.Typen.Page)}}AnsichtCheckChanged(He,vt){try{switch(vt){case this.DB.Urlaubstatusvarianten.Geplant:this.Pool.Mitarbeitersettings.UrlaubShowBeantragt=He.status;break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:this.Pool.Mitarbeitersettings.UrlaubShowVertreterfreigabe=He.status;break;case this.DB.Urlaubstatusvarianten.Genehmigt:this.Pool.Mitarbeitersettings.UrlaubShowGenehmigt=He.status;break;case this.DB.Urlaubstatusvarianten.Abgelehnt:this.Pool.Mitarbeitersettings.UrlaubShowAbgelehnt=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(ut){this.Debug.ShowErrorMessage(ut,"Urlaubsplanung Page","AnsichtCheckChanged",this.Debug.Typen.Page)}}UrlaubSuchen(He){try{let vt=(0,a.default)(He.Startstempel);this.DB.CurrentMonatindex=vt.month(),this.DB.SetPlanungsmonate()}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","UrlaubSuchen",this.Debug.Typen.Page)}}GetDatumlangtext(He){try{return(0,a.default)(He).locale("de").format("DD. MMMM YYYY")}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(He){try{let vt;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(vt=d.find(this.Pool.Mitarbeiterliste,{_id:He[0]}),this.DB.CurrentMitarbeiter=vt,this.PrepareData(),this.DB.PlanungsmonateChanged.emit()),this.ShowMitarbeiterauswahl=!1}catch(vt){this.Debug.ShowErrorMessage(vt.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter;let He=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:He,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),He++;for(let vt of this.Pool.Standorteliste)this.Auswahlliste.push({Index:He,FirstColumn:vt.Kuerzel,SecoundColumn:vt.Standort,Data:vt}),He++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(He){this.Debug.ShowErrorMessage(He.message,"Urlaubsplanung Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}StellvertreterFestlegenClicked(He){try{let vt,ut;this.DB.CurrentUrlaubzeitspanne=He,ut=0,this.Auswahlliste=[];for(let wt of this.DB.CurrentUrlaub.Projektbeteiligteliste)vt=d.find(this.Pool.Mitarbeiterliste,{_id:wt.MitarbeiterID}),d.isUndefined(vt)||(this.Auswahlliste.push({Index:ut,FirstColumn:vt.Vorname+" "+vt.Name,SecoundColumn:"",Data:vt._id}),ut++);this.Auswahltitel="Stellvertreter/in festlegen",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen,this.ShowAuswahl=!0,this.Auswahlindex=d.findIndex(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:He.VertreterID})}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","StellvertreterFestlegenClicked",this.Debug.Typen.Page)}}GetStellvertretername(He){try{let vt=d.find(this.Pool.Mitarbeiterliste,{_id:He.VertreterID});return d.isUndefined(vt)?"unbekannt":vt.Vorname+" "+vt.Name}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","GetStellvertretername",this.Debug.Typen.Page)}}DisplayExternCheckChanged(He,vt,ut){try{let wt=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:vt.MitarbeiterIDExtern});d.isUndefined(wt)||(wt.Display=He.status);let st=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[st]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(wt){this.Debug.ShowErrorMessage(wt,"Urlaubsplanung Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}CheckUrlaubUpdatesAvailable(){try{let He=!1;if(null!==this.DB.CurrentUrlaub)for(let vt of this.DB.CurrentUrlaub.Urlaubzeitspannen)vt.Status===this.DB.Urlaubstatusvarianten.Geplant&&null!==vt.VertreterID&&(He=!0);return He}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","CheckUrlaubUpdatesAvailable",this.Debug.Typen.Page)}}CheckHomeofficeUpdatesAvailable(){try{let He=!1;if(null!==this.DB.CurrentUrlaub)for(let vt of this.DB.CurrentUrlaub.Homeofficezeitspannen)vt.Status===this.DB.Urlaubstatusvarianten.Geplant&&null!==this.DB.CurrentUrlaub.HomeofficefreigeberID&&(He=!0);return He}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","CheckHomeofficeUpdatesAvailable",this.Debug.Typen.Page)}}CheckLoschenEnabled(He){try{return null!==this.Pool.Mitarbeiterdaten&&!0===this.Pool.Mitarbeiterdaten.Urlaubsfreigaben||He.Status===this.DB.Urlaubstatusvarianten.Geplant||He.Status===this.DB.Urlaubstatusvarianten.Abgelehnt||He.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","CheckLoschenEnabled",this.Debug.Typen.Page)}}CancelDatumClicked(){try{this.AddUrlaubRunning=!1,this.DB.CurrentUrlaubzeitspanne=null}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","CancelDatumClicked",this.Debug.Typen.Page)}}StatusClickedHandler(He){try{let vt=0;this.Auswahltitel="Status \xe4ndern",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern,this.DB.CurrentUrlaubzeitspanne=He,this.Auswahlliste=[],this.Auswahlliste.push({Index:vt++,FirstColumn:this.DB.Urlaubstatusvarianten.Geplant,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Geplant}),this.Auswahlliste.push({Index:vt++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreteranfrage,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreteranfrage}),this.Auswahlliste.push({Index:vt++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterablehnung,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterablehnung}),this.Auswahlliste.push({Index:vt++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterfreigabe,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterfreigabe}),this.Auswahlliste.push({Index:vt++,FirstColumn:this.DB.Urlaubstatusvarianten.Abgelehnt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Abgelehnt}),this.Auswahlliste.push({Index:vt++,FirstColumn:this.DB.Urlaubstatusvarianten.Genehmigt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Genehmigt}),this.ShowAuswahl=!0,this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:He.Status})}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","StatusClickedHandler",this.Debug.Typen.Page)}}AddHomeoffice(){try{if(null!==this.DB.CurrentHomeofficezeitspanne){this.DB.CurrentUrlaub.Homeofficezeitspannen.push(this.DB.CurrentHomeofficezeitspanne);let He=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[He]=this.DB.CurrentUrlaub}}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","AddHomeofficeFinished",this.Debug.Typen.Page)}}SaveHomeofficeEventHandler(){try{this.AddHomeofficeRunning=!1,this.DB.CurrentHomeofficezeitspanne=null,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","SaveHomeofficeEventHandler",this.Debug.Typen.Page)}}GetHomeofficezeitspannenByStataus(He){try{return d.filter(this.DB.CurrentUrlaub.Homeofficezeitspannen,{Status:He})}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsplanung Page","GetHomeofficezeitspannenByStataus",this.Debug.Typen.Page)}}static \u0275fac=function(vt){return new(vt||je)(e.\u0275\u0275directiveInject(u.MenueService),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(p.DatabaseUrlaubService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(C.ConstProvider),e.\u0275\u0275directiveInject(_.DatabaseStandorteService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(y.ToolsProvider),e.\u0275\u0275directiveInject(b.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:je,selectors:[["common-urlaub-planung-page"]],viewQuery:function(vt,ut){if(1&vt&&(e.\u0275\u0275viewQuery(N,5),e.\u0275\u0275viewQuery(O,5)),2&vt){let wt;e.\u0275\u0275queryRefresh(wt=e.\u0275\u0275loadQuery())&&(ut.PageHeader=wt.first),e.\u0275\u0275queryRefresh(wt=e.\u0275\u0275loadQuery())&&(ut.PageFooter=wt.first)}},decls:51,vars:29,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],[2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],["align","center","valign","top"],[1,"paddingtable"],["valign","top",2,"width","500px"],[3,"Jahr","Monatindex","AddUrlaubRunning","AddHomeofficerunning","AddUrlaubFinished","AddHomeofficeEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","AddHomeofficerunning","AddUrlaubFinished","AddHomeofficeEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["valign","top","align","center",2,"width","50%","padding","4px"],["size","small",3,"disabled","click"],[1,"datumdivclass"],[2,"width","100px","text-align","center"],[1,"datumcanceldivclass",3,"click"],["name","close-outline","color","weiss",2,"font-size","36px"],[1,"docinnertable",2,"width","520px"],[2,"text-align","center"],[1,"docinnertable"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],[2,"width","30px"],["colspan","2",2,"text-align","right","font-weight","bold"],["colspan","5"],["align","center","colspan","8"],["size","small","color","grau",3,"click",4,"ngIf"],[1,"legendedivclass",3,"click"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],["size","small","color","rot",3,"disabled","click"],["name","trash","slot","icon-only",2,"font-size","16px"],["colspan","8"],[1,"datumokdivclass",3,"click"],[2,"color","white","font-size","120%"],["name","checkmark-outline","color","weiss",2,"font-size","36px"],[2,"font-weight","bold","text-align","left","width","500px"],[2,"font-weight","bold","text-align","center","width","50px"],["colspan","3",2,"text-align","left"],[1,"legendedivclass"],["size","small","color","rot",3,"click"],[3,"Checked","CheckChanged"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(vt,ut){1&vt&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return ut.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return ut.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,H,3,3,"td",10),e.\u0275\u0275elementStart(17,"td")(18,"div",8),e.\u0275\u0275listener("click",function(){return ut.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",11),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr")(21,"td",12)(22,"table",13)(23,"tr")(24,"td",14)(25,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("AddUrlaubFinished",function(){return ut.AddUrlaubFinishedHandler()})("AddHomeofficeEvent",function(){return ut.AddHomeoffice()})("FeiertagCrossedEvent",function(st){return ut.FeiertagCrossedEventHandler(st)})("FerientagCrossedEvent",function(st){return ut.FerientagCrossedEventHandler(st)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(26,"td",14)(27,"urlaubsplanung-kalender",16),e.\u0275\u0275listener("AddUrlaubFinished",function(){return ut.AddUrlaubFinishedHandler()})("AddHomeofficeEvent",function(){return ut.AddHomeoffice()})("FeiertagCrossedEvent",function(st){return ut.FeiertagCrossedEventHandler(st)})("FerientagCrossedEvent",function(st){return ut.FerientagCrossedEventHandler(st)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(28,"td",14)(29,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("AddUrlaubFinished",function(){return ut.AddUrlaubFinishedHandler()})("AddHomeofficeEvent",function(){return ut.AddHomeoffice()})("FeiertagCrossedEvent",function(st){return ut.FeiertagCrossedEventHandler(st)})("FerientagCrossedEvent",function(st){return ut.FerientagCrossedEventHandler(st)}),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(30,wn,16,8,"tr",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(31,"div",18)(32,"table")(33,"tr")(34,"td")(35,"div",19),e.\u0275\u0275listener("click",function(){return ut.LegendeVisible=!ut.LegendeVisible}),e.\u0275\u0275element(36,"ion-icon",20),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"td",21),e.\u0275\u0275template(38,qt,85,28,"table",22),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(39,"ion-footer")(40,"page-footer",null,23)(42,"table",4)(43,"tr")(44,"td",24)(45,"table",13)(46,"tr"),e.\u0275\u0275template(47,ht,2,1,"td",17)(48,Ue,2,1,"td",25),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(49,Ee,1,7,"auswahl-dialog",26)(50,Te,1,6,"fi-mitarbeiter-auswahl",27)),2&vt&&(e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",ut.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",ut.DB.Jahr)("Monatindex",ut.DB.FirstMonatIndex)("AddUrlaubRunning",ut.AddUrlaubRunning)("AddHomeofficerunning",ut.AddHomeofficeRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",ut.DB.Jahr)("ShowYear",!0)("Monatindex",ut.DB.CurrentMonatindex)("AddUrlaubRunning",ut.AddUrlaubRunning)("AddHomeofficerunning",ut.AddHomeofficeRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",ut.DB.Jahr)("Monatindex",ut.DB.LastMonatIndex)("AddUrlaubRunning",ut.AddUrlaubRunning)("AddHomeofficerunning",ut.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==ut.DB.CurrentUrlaub),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",ut.Legendehoehe,"px")("width",ut.Legendebreite,"px")("right",ut.LegendeVisible?0:-(ut.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",ut.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",ut.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==ut.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==ut.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==ut.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ut.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ut.ShowMitarbeiterauswahl))},dependencies:[E.NgForOf,E.NgIf,M.IonButton,M.IonContent,M.IonFooter,M.IonHeader,M.IonIcon,A.PageHeaderComponent,I.PageHeaderMenuComponent,F.PageFooterComponent,j.PjProjektpunktDateKWPickerComponent,T.AuswahlDialogComponent,P.CheckboxClonComponent,x.FiMitarbeiterAuswahlComponent],styles:[".datumdivclass[_ngcontent-%COMP%]{width:200px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:#307ac1;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;padding:4px}.datumcanceldivclass[_ngcontent-%COMP%]{width:60px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:red;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;cursor:pointer;padding:4px}.datumokdivclass[_ngcontent-%COMP%]{width:120px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:green;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;cursor:pointer;padding:4px}.contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:auto}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;font-size:90%;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return je})()},19204:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubsuebersichtPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),l=o(62364),e=o(70216),u=o(56568),c=o(6168),g=o(90520),v=o(6232),p=o(72284),S=o(10272),C=o(7388),_=o(27328),f=o(26668),y=n.__importStar(o(54496)),E=(n.__importStar(o(56568)),[{path:"",component:l.CommonUrlaubUebersichtPage}]);h.CommonUrlaubsuebersichtPageModule=(()=>{class A{static \u0275fac=function(j){return new(j||A)};static \u0275mod=y.\u0275\u0275defineNgModule({type:A});static \u0275inj=y.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(E),c.PageHeaderMenuModule,g.PageFooterModule,v.UrlausplanungKalenderModule,p.ButtonValueModule,S.AuswahlDialogModule,C.CheckboxClonModule,_.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return A})()},62364:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubUebersichtPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),l=o(17964),e=i.__importStar(o(54496)),u=i.__importStar(o(59460)),c=i.__importStar(o(14652)),g=i.__importStar(o(7992)),v=i.__importStar(o(9544)),p=i.__importStar(o(29743)),S=i.__importStar(o(22848)),C=i.__importStar(o(15024)),_=i.__importStar(o(58864)),f=i.__importStar(o(48044)),y=i.__importStar(o(34388)),b=i.__importStar(o(91368)),E=i.__importStar(o(10716)),M=i.__importStar(o(90212)),A=i.__importStar(o(63792)),I=i.__importStar(o(29856)),F=i.__importStar(o(77440)),j=i.__importStar(o(56584)),T=i.__importStar(o(25856)),P=i.__importStar(o(80887)),x=["PageHeader"],N=["PageFooter"];function O(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Ze.FeiertagCrossedEventHandler(Pe))})("FerientagCrossedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Ze.FerientagCrossedEventHandler(Pe))}),e.\u0275\u0275elementEnd()()}if(2&ye){const ve=Oe.index,_e=e.\u0275\u0275nextContext().index,Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",Pe.DB.Jahr)("Monatindex",6*_e+ve)}}function H(ye,Oe){if(1&ye&&(e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275element(1,"td",23),e.\u0275\u0275template(2,O,2,2,"td",24),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275elementEnd()),2&ye){const ve=Oe.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",ve)}}function G(ye,Oe){if(1&ye&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21),e.\u0275\u0275template(2,H,4,1,"tr",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",ve.Monateliste_Gesamtjahr)}}function te(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.FeiertagCrossedEventHandler(Pe))})("FerientagCrossedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.FerientagCrossedEventHandler(Pe))}),e.\u0275\u0275elementEnd()()}if(2&ye){const ve=Oe.index,_e=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",_e.DB.Jahr)("Monatindex",ve)}}function ue(ye,Oe){if(1&ye&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,te,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",ve.Monateliste_HalbjahrEins)}}function se(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.FeiertagCrossedEventHandler(Pe))})("FerientagCrossedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.FerientagCrossedEventHandler(Pe))}),e.\u0275\u0275elementEnd()()}if(2&ye){const ve=Oe.index,_e=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",_e.DB.Jahr)("Monatindex",ve+6)}}function K(ye,Oe){if(1&ye&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,se,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",ve.Monateliste_HalbjahrZwei)}}function Z(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.AnsichtFeiertageCheckChanged(Pe,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",28),e.\u0275\u0275element(6,"ion-icon",31),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ze.AnsichtFerientageCheckChanged(Pe,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",28),e.\u0275\u0275element(14,"ion-icon",32),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&ye){const ve=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",ve.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",ve.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Ferien_DE)}}function re(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",33),e.\u0275\u0275listener("CheckChanged",function(Pe){const Ze=e.\u0275\u0275restoreView(ve),ot=Ze.$implicit,tt=Ze.index,mt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(mt.DisplayExternCheckChanged(Pe,ot,tt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",34),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&ye){const ve=Oe.$implicit,_e=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",_e.DB.CheckDisplayExternenUrlaub(ve.MitarbeiterIDExtern))("Enabled",ve.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(ve.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",ve.NameExtern," ",ve.Text,"")}}function J(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",17),e.\u0275\u0275template(1,Z,17,6,"ng-container",9),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ze.AnsichtFeiertageCheckChanged(Pe,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",28),e.\u0275\u0275element(8,"ion-icon",29),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ze.AnsichtFerientageCheckChanged(Pe,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",28),e.\u0275\u0275element(16,"ion-icon",30),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,re,8,5,"tr",22),e.\u0275\u0275elementEnd()}if(2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===ve.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",ve.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",ve.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",ve.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",ve.DB.UrlaublisteExtern)}}function Y(ye,Oe){if(1&ye&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",35),e.\u0275\u0275elementEnd()),2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",ve.Flagsource,e.\u0275\u0275sanitizeUrl)}}function $(ye,Oe){if(1&ye&&(e.\u0275\u0275elementStart(0,"td",36),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(ve.Message)}}function le(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",37),e.\u0275\u0275listener("OkClickedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ze.AuswahlOkButtonClicked(Pe))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ve);const Pe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pe.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",ve.Auswahlliste)("Auswahlindex",ve.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",ve.Auswahltitel)("Iconname","")}}function ee(ye,Oe){if(1&ye){const ve=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",38),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(ve);const Pe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pe.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Pe){e.\u0275\u0275restoreView(ve);const Ze=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ze.MitarbeiterauswahlOkButtonClicked(Pe))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(ve);const Pe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pe.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&ye){const ve=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",ve.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",ve.AuswahlIDliste)}}h.CommonUrlaubUebersichtPage=(()=>{class ye{Menuservice;Basics;Pool;DB;Const;DBMitarbeiter;DBMitarbeitersettings;DBStandort;Auswahlservice;Debug;PageHeader;PageFooter;Ansichtenvarinaten={Gesamtjahr:"Gesamtjahr",HalbjahrEins:"HalbjahrEins",HalbjahrZwei:"HalbjahrZwei"};Monateliste_Gesamtjahr;Auswahlliste;BundeslandAuswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Ansichtvariante;Message;ShowMitarbeitereditor;AddUrlaubRunning;Auswahldialogorigin;DataSubscription;AuswahlIDliste;MitarbeiterauswahlTitel;ShowMitarbeiterauswahl;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;Monateliste_HalbjahrEins;Monateliste_HalbjahrZwei;constructor(ve,_e,Pe,Ze,ot,tt,mt,Qe,Ct,Xe){this.Menuservice=ve,this.Basics=_e,this.Pool=Pe,this.DB=Ze,this.Const=ot,this.DBMitarbeiter=tt,this.DBMitarbeitersettings=mt,this.DBStandort=Qe,this.Auswahlservice=Ct,this.Debug=Xe;try{this.Monateliste_Gesamtjahr=[],this.Monateliste_Gesamtjahr.push(["Januar","Februar","M\xe4rz","April","Mai","Juni"]),this.Monateliste_Gesamtjahr.push(["Juli","August","September","Oktober","November","Dezember"]),this.Monateliste_HalbjahrEins=["Januar","Februar","M\xe4rz","April","Mai","Juni"],this.Monateliste_HalbjahrZwei=["Juli","August","September","Oktober","November","Dezember"],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Message="",this.ShowMitarbeitereditor=!1,this.Auswahldialogorigin=this.Const.NONE,this.AddUrlaubRunning=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.ShowMitarbeiterauswahl=!1,this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource="",this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(nt){this.Debug.ShowErrorMessage(nt.message,"Urlaubsuebersicht Page","constructor",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaubsuebersicht Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaubsuebersicht Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Ansichtvariante=(0,a.default)().locale("de").month()+1<=6?this.Ansichtenvarinaten.HalbjahrEins:this.Ansichtenvarinaten.HalbjahrZwei,this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaubsuebersicht Page","OnInit",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(ve){try{let _e;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(_e=d.find(this.Pool.Mitarbeiterliste,{_id:ve[0]}),this.DB.CurrentMitarbeiter=_e,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(ve){var _e=this;return n(function*(){try{switch(_e.Auswahldialogorigin){case _e.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:_e.DB.Bundeslandkuerzel=ve;let Pe=_e.DB.Bundeslandkuerzel.substring(0,2);_e.DB.ReadFeiertage(Pe);break;case _e.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter:_e.DBStandort.CurrentStandortfilter=(0,l.cloneDeep)(ve),_e.Pool.Mitarbeitersettings.StandortFilter=null!==ve?ve._id:_e.Const.NONE,_e.DBMitarbeitersettings.UpdateMitarbeitersettings(_e.Pool.Mitarbeitersettings,null).then(()=>{_e.ShowAuswahl=!1,_e.DBStandort.StandortfilterChanged.emit()})}_e.ShowAuswahl=!1,_e.PrepareData()}catch(Pe){_e.Debug.ShowErrorMessage(Pe.message,"Urlaubsuebersicht Page","AuswahlOkButtonClicked",_e.Debug.Typen.Page)}})()}PrepareData(){var ve=this;return n(function*(){try{let _e=0;ve.DB.Init(),ve.DB.CheckSetup(),ve.DB.SetPlanungsmonate(),ve.DB.CountAnfragenanzahlen(),ve.BundeslandAuswahlliste=[];for(let Pe of ve.DB.Regionenliste)ve.BundeslandAuswahlliste.push({Index:_e,FirstColumn:Pe.Name,SecoundColumn:Pe.isoCode,Data:Pe.isoCode}),_e++;ve.DB.Bundesland=d.find(ve.BundeslandAuswahlliste,{Data:ve.DB.Bundeslandkuerzel}).FirstColumn}catch(_e){ve.Debug.ShowErrorMessage(_e,"Urlaubsuebersicht Page","PrepareData",ve.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(ve){try{this.Message=ve.Name,""!==ve.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===ve.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(_e){this.Debug.ShowErrorMessage(_e,"Urlaubsuebersicht Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(ve){try{this.Message=ve.Name,""!==ve.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===ve.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(_e){this.Debug.ShowErrorMessage(_e,"Urlaubsuebersicht Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(ve){return(0,a.default)(ve).format("DD.MM.YYYY")}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter;let ve=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:ve,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),ve++;for(let _e of this.Pool.Standorteliste)this.Auswahlliste.push({Index:ve,FirstColumn:_e.Kuerzel,SecoundColumn:_e.Standort,Data:_e}),ve++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(ve){this.Debug.ShowErrorMessage(ve.message,"Urlaubsuebersicht Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(ve,_e,Pe){try{let Ze=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:_e.MitarbeiterIDExtern});d.isUndefined(Ze)||(Ze.Display=ve.status);let ot=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[ot]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Ze){this.Debug.ShowErrorMessage(Ze,"Urlaubsuebersicht Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(ve,_e){try{switch(_e){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=ve.status,this.DB.ShowFeiertage_DE=ve.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=ve.status,this.DB.ShowFeiertage_BG=ve.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsuebersicht Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(ve,_e){try{switch(_e){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=ve.status,this.DB.ShowFerientage_DE=ve.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=ve.status,this.DB.ShowFerientage_BG=ve.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsuebersicht Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}JahrButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaubsuebersicht Page","JahrButtonClicked",this.Debug.Typen.Page)}}HalbjahrEinsButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrEins}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaubsuebersicht Page","HalbjahrEinsButtonClicked",this.Debug.Typen.Page)}}HalbjahrZweiButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrZwei}catch(ve){this.Debug.ShowErrorMessage(ve,"Urlaubsuebersicht Page","HalbjahrZweiButtonClicked",this.Debug.Typen.Page)}}static \u0275fac=function(_e){return new(_e||ye)(e.\u0275\u0275directiveInject(u.MenueService),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabasePoolService),e.\u0275\u0275directiveInject(v.DatabaseUrlaubService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(_.DatabaseStandorteService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(y.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:ye,selectors:[["common-urlaub-uebersicht-page"]],viewQuery:function(_e,Pe){if(1&_e&&(e.\u0275\u0275viewQuery(x,5),e.\u0275\u0275viewQuery(N,5)),2&_e){let Ze;e.\u0275\u0275queryRefresh(Ze=e.\u0275\u0275loadQuery())&&(Pe.PageHeader=Ze.first),e.\u0275\u0275queryRefresh(Ze=e.\u0275\u0275loadQuery())&&(Pe.PageFooter=Ze.first)}},decls:45,vars:26,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],[2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],[1,"paddingtable"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[1,"paddingsmalltable",2,"width","100%"],[4,"ngFor","ngForOf"],[2,"width","20px"],["style","width: 16%; height: inherit","valign","top",4,"ngFor","ngForOf"],["valign","top",2,"width","16%","height","inherit"],[3,"Jahr","Monatindex","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Checked","CheckChanged"],[1,"legendedivclass"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(_e,Pe){1&_e&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Pe.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return Pe.JahrButtonClicked()}),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"div",8),e.\u0275\u0275listener("click",function(){return Pe.HalbjahrEinsButtonClicked()}),e.\u0275\u0275text(18),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(19,"td")(20,"div",8),e.\u0275\u0275listener("click",function(){return Pe.HalbjahrZweiButtonClicked()}),e.\u0275\u0275text(21),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(22,G,3,1,"ng-container",9)(23,ue,6,1,"ng-container",9)(24,K,6,1,"ng-container",9),e.\u0275\u0275elementStart(25,"div",10)(26,"table")(27,"tr")(28,"td")(29,"div",11),e.\u0275\u0275listener("click",function(){return Pe.LegendeVisible=!Pe.LegendeVisible}),e.\u0275\u0275element(30,"ion-icon",12),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"td",13),e.\u0275\u0275template(32,J,56,20,"table",14),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(33,"ion-footer")(34,"page-footer",null,15)(36,"table",4)(37,"tr")(38,"td",16)(39,"table",17)(40,"tr"),e.\u0275\u0275template(41,Y,2,1,"td",9)(42,$,2,1,"td",18),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(43,le,1,7,"auswahl-dialog",19)(44,ee,1,6,"fi-mitarbeiter-auswahl",20)),2&_e&&(e.\u0275\u0275advance(14),e.\u0275\u0275styleProp("color",Pe.Ansichtvariante===Pe.Ansichtenvarinaten.Gesamtjahr?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("Gesamtjahr ",Pe.DB.Jahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",Pe.Ansichtvariante===Pe.Ansichtenvarinaten.HalbjahrEins?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("1. Halbjahr ",Pe.DB.Jahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",Pe.Ansichtvariante===Pe.Ansichtenvarinaten.HalbjahrZwei?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("2. Halbjahr ",Pe.DB.Jahr,""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.Ansichtvariante===Pe.Ansichtenvarinaten.Gesamtjahr),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.Ansichtvariante===Pe.Ansichtenvarinaten.HalbjahrEins),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.Ansichtvariante===Pe.Ansichtenvarinaten.HalbjahrZwei),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Pe.Legendehoehe,"px")("width",Pe.Legendebreite,"px")("right",Pe.LegendeVisible?0:-(Pe.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",Pe.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Pe.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Pe.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==Pe.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==Pe.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.ShowMitarbeiterauswahl))},dependencies:[b.NgForOf,b.NgIf,E.IonContent,E.IonFooter,E.IonHeader,E.IonIcon,M.PageHeaderComponent,A.PageHeaderMenuComponent,I.PageFooterComponent,F.PjProjektpunktDateKWPickerComponent,j.AuswahlDialogComponent,T.CheckboxClonComponent,P.FiMitarbeiterAuswahlComponent],styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:visible}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:200px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return ye})()},99988:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FIMitarbeiterlistePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),l=o(10716),e=o(54780),u=o(70216),c=o(6512),g=o(87143),v=o(90520),p=o(6168),S=o(27328),C=o(10272),_=o(7388),f=n.__importStar(o(54496)),b=(n.__importStar(o(56568)),[{path:"",component:e.FiMitarbeiterlistePage}]);h.FIMitarbeiterlistePageModule=(()=>{class M{static \u0275fac=function(F){return new(F||M)};static \u0275mod=f.\u0275\u0275defineNgModule({type:M});static \u0275inj=f.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,d.ReactiveFormsModule,l.IonicModule,a.RouterModule.forChild(b),u.PageHeaderModule,v.PageFooterModule,c.AbstandElementFixedModule,g.AlphabetModule,p.PageHeaderMenuModule,S.FiMitarbeiterEditorModule,C.AuswahlDialogModule,_.CheckboxClonModule]})}return M})()},54780:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterlistePage=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=n.__importStar(o(54496)),a=n.__importStar(o(14652)),l=n.__importStar(o(34388)),e=n.__importStar(o(19668)),u=n.__importStar(o(29743)),c=n.__importStar(o(22848)),g=n.__importStar(o(58864)),v=n.__importStar(o(48044)),p=n.__importStar(o(7992)),S=n.__importStar(o(91368)),C=n.__importStar(o(10716)),_=n.__importStar(o(90212)),f=n.__importStar(o(29856)),y=n.__importStar(o(99031)),b=n.__importStar(o(63792)),E=n.__importStar(o(82384)),M=n.__importStar(o(56584)),A=n.__importStar(o(25856)),I=["Alphabet"],F=["PageHeader"],j=["PageFooter"];function T(re,J){if(1&re&&(d.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",20)(2,"ion-text",31)(3,"b"),d.\u0275\u0275text(4),d.\u0275\u0275elementEnd()()()()),2&re){const Y=d.\u0275\u0275nextContext().index,$=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(4),d.\u0275\u0275textInterpolate($.Mitarbeiterbuchstabenliste[Y])}}function P(re,J){1&re&&(d.\u0275\u0275elementStart(0,"td"),d.\u0275\u0275element(1,"img",34),d.\u0275\u0275elementEnd())}function x(re,J){if(1&re&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275element(2,"div",33),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,P,2,0,"td",8),d.\u0275\u0275elementStart(4,"td"),d.\u0275\u0275text(5),d.\u0275\u0275elementEnd()()),2&re){const Y=d.\u0275\u0275nextContext(2).$implicit,$=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275styleProp("background",Y.Archiviert?"red":"green"),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",Y.Email===$.Pool.Mitarbeiterdaten.Email&&""===Y.Kuerzel||""===Y.StandortID),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate3(" ",Y.Name," ",Y.Vorname," / ",Y.Kuerzel," ")}}function N(re,J){1&re&&(d.\u0275\u0275elementStart(0,"td"),d.\u0275\u0275element(1,"img",34),d.\u0275\u0275elementEnd())}function O(re,J){if(1&re&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275element(2,"div",33),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,N,2,0,"td",8),d.\u0275\u0275elementStart(4,"td")(5,"span"),d.\u0275\u0275text(6),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(7,"span",35),d.\u0275\u0275text(8),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(9,"span"),d.\u0275\u0275text(10),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(11),d.\u0275\u0275elementEnd()()),2&re){const Y=d.\u0275\u0275nextContext(2).$implicit,$=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275styleProp("background",Y.Archiviert?"red":"green"),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",Y.Email===$.Pool.Mitarbeiterdaten.Email&&""===Y.Kuerzel||""===Y.StandortID),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(Y.Text_A),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(Y.Text_B),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(Y.Text_C),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" / ",Y.Kuerzel," ")}}function H(re,J){if(1&re&&(d.\u0275\u0275elementStart(0,"table",32),d.\u0275\u0275template(1,x,6,6,"tr",8)(2,O,12,7,"tr",8),d.\u0275\u0275elementEnd()),2&re){const Y=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",!Y.Filtered),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",Y.Filtered)}}function G(re,J){if(1&re){const Y=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"ion-item",18),d.\u0275\u0275listener("click",function(){const ee=d.\u0275\u0275restoreView(Y).$implicit,we=d.\u0275\u0275nextContext(2);return d.\u0275\u0275resetView(we.MitrabeiterButtonClicked(ee))}),d.\u0275\u0275elementStart(1,"ion-grid",19),d.\u0275\u0275template(2,T,5,1,"ion-row",8),d.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",20)(5,"div",21)(6,"table",22)(7,"tr")(8,"td"),d.\u0275\u0275template(9,H,3,2,"table",23),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"table",24)(13,"tr"),d.\u0275\u0275element(14,"td",25),d.\u0275\u0275elementStart(15,"td",26),d.\u0275\u0275text(16,"Stadort:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(17,"td",27),d.\u0275\u0275text(18),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(19,"td",28),d.\u0275\u0275elementStart(20,"td",29),d.\u0275\u0275text(21,"Email:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(22,"td",30),d.\u0275\u0275text(23),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(24,"td",28),d.\u0275\u0275elementStart(25,"td",26),d.\u0275\u0275text(26,"Fachbereich:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(27,"td",27),d.\u0275\u0275text(28),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(29,"td",28),d.\u0275\u0275elementEnd()()()()()()()()()()}if(2&re){const Y=J.$implicit,$=J.index,le=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275property("ngIf",""!==le.Mitarbeiterbuchstabenliste[$]),d.\u0275\u0275advance(7),d.\u0275\u0275property("ngIf",null!==Y&&null!==le.Pool.Mitarbeiterdaten),d.\u0275\u0275advance(9),d.\u0275\u0275textInterpolate(le.DBStandort.GetStandort(Y.StandortID)),d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate(Y.Email),d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate(Y.Fachbereich)}}function te(re,J){if(1&re&&(d.\u0275\u0275elementStart(0,"ion-list"),d.\u0275\u0275template(1,G,30,5,"ion-item",17),d.\u0275\u0275elementEnd()),2&re){const Y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",Y.Mitarbeiterliste)}}function ue(re,J){1&re&&(d.\u0275\u0275elementStart(0,"table",36)(1,"tr")(2,"td",37),d.\u0275\u0275text(3," keine Mitarbeiter vorhanden "),d.\u0275\u0275elementEnd()()())}function se(re,J){if(1&re){const Y=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"fi-mitarbeiter-editor",38),d.\u0275\u0275listener("StandortClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.StandortClickedHandler())})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.ShowEditor=!1)})("OkClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.ShowEditor=!1)})("AnredeClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.AnredeClickedEventHandler())})("UrlaubClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.UrlaubClickedEventHandler())})("FachbereichClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.FachbereichClickedHandler())}),d.\u0275\u0275elementEnd()}if(2&re){const Y=d.\u0275\u0275nextContext();d.\u0275\u0275property("Dialogbreite",600)("Titel",Y.GetDialogTitel())}}function K(re,J){if(1&re){const Y=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"auswahl-dialog",39),d.\u0275\u0275listener("OkClickedEvent",function(le){d.\u0275\u0275restoreView(Y);const ee=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ee.AuswahlOkButtonClicked(le))})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(Y);const le=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(le.ShowAuswahl=!1)}),d.\u0275\u0275elementEnd()}if(2&re){const Y=d.\u0275\u0275nextContext();d.\u0275\u0275property("Auswahlliste",Y.Auswahlliste)("Auswahlindex",Y.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",Y.Auswahltitel)("Iconname",Y.GetDialogTitelicon())}}h.FiMitarbeiterlistePage=(()=>{class re{Basics;Debug;Tools;Const;DB;DBStandort;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;ListeSubscription;Mitarbeiterliste;Mitarbeiteralphabet;Alphapetbreite;Mitarbeiteralphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Mitarbeiterbuchstabenliste;Standardalphabet;Zusatzbuttonliste;Mitarbeiterfiltertext;Inputtimer;Listenbreite;ShowEditor;EditorValid;ShowAuswahl;Auswahldialogorigin;StandortfilterSubsciption;ShowMeOnly;ShowArchivierte;ShowAktuelle;constructor(Y,$,le,ee,we,ye,Oe,ve){this.Basics=Y,this.Debug=$,this.Tools=le,this.Const=ee,this.DB=we,this.DBStandort=ye,this.Auswahlservice=Oe,this.Pool=ve;try{this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Mitarbeiteralphabet=[],this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterliste=[],this.Alphapetbreite=44,this.Zusatzbuttonliste=[],this.HideAuswahl=!0,this.Mitarbeiteralphabet=this.Standardalphabet,this.Mitarbeiterbuchstabenliste=[],this.Mitarbeiterfiltertext="",this.Listenbreite=0,this.ShowEditor=!1,this.EditorValid=!1,this.ShowAuswahl=!1,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Const.NONE,this.ListeSubscription=null,this.StandortfilterSubsciption=null,this.ShowMeOnly=!1,this.ShowArchivierte=!1,this.ShowAktuelle=!0}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Mitarbeiterliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{null!==this.ListeSubscription&&(this.ListeSubscription.unsubscribe(),this.ListeSubscription=null),null!==this.StandortfilterSubsciption&&(this.StandortfilterSubsciption.unsubscribe(),this.StandortfilterSubsciption=null)}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.MitarbeiterlisteChanged.subscribe(()=>{this.PrepareDaten()}),this.StandortfilterSubsciption=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","OnInit",this.Debug.Typen.Page)}}ResetSucheButtonClicked(){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl="Alle",this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","ResetSucheButtonClicked",this.Debug.Typen.Page)}}ionViewDidEnter(){try{let Y=typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40;this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Listenbreite=this.Basics.Contentbreite-Y-4,this.Alphabetcomponent.InitScreen()}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}MitrabeiterButtonClicked(Y){try{this.DB.CurrentMitarbeiter=i.cloneDeep(Y),this.ShowEditor=!0}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddMitarbeiterButtonClicked(){try{this.DB.CurrentMitarbeiter=this.DB.GetEmptyMitarbeiter(),this.ShowEditor=!0}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","AddMitarbeiterButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(Y){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=Y,this.PrepareDaten()}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","AlphabetClicked",this.Debug.Typen.Page)}}GetMitarbeiterAlphabetbuchstabe(Y){try{let $=Y.Name.substring(0,1).toUpperCase();return $!==this.Lastletter?(this.Lastletter=$,$):""}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let Y,$,le,ee,we,ye,Oe,ve,_e,Pe,Ze,ot;if(null!==this.Pool.Mitarbeiterliste){if(ee=i.cloneDeep(this.Pool.Mitarbeiterliste),this.Lastletter="",ee.sort((tt,mt)=>tt.Name>mt.Name?-1:tt.Namett.Archiviert):this.ShowAktuelle?Y=i.filter(Y,tt=>!tt.Archiviert):!1===this.ShowArchivierte&&!1===this.ShowAktuelle&&(Y=[])),null!==this.DBStandort.CurrentStandortfilter&&(Y=i.filter(Y,tt=>tt.StandortID===this.DBStandort.CurrentStandortfilter._id)),Y.sort((tt,mt)=>tt.Namemt.Name?1:0),Y.length>6){this.Mitarbeiteralphabet=["Alle"];for(let tt of Y)le=tt.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(le)&&this.Mitarbeiteralphabet.push(le)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){$=i.cloneDeep(Y),Y=[];for(let tt of $)le=tt.Name.substring(0,1).toUpperCase(),le="\xc4"===le?"A":le,le="\xd6"===le?"O":le,le="\xdc"===le?"U":le,this.Mitarbeiteralphabetauswahl===le&&Y.push(tt)}if(""!==this.Mitarbeiterfiltertext){$=i.cloneDeep(Y),Y=[];for(let tt of $)Ze=this.Mitarbeiterfiltertext.toLowerCase(),ot=tt.Name.toLowerCase(),Pe=ot.indexOf(Ze),-1!==Pe&&(we=tt.Name.length,_e=Ze.length,ye=tt.Name.substr(0,Pe),Oe=tt.Name.substr(Pe,_e),_e=we-_e-Pe,ve=tt.Name.substr(we-_e,_e),tt.Filtered=!0,tt.Text_A=ye,tt.Text_B=Oe,tt.Text_C=ve,Y.push(tt))}this.Mitarbeiterbuchstabenliste=[];for(let tt of Y)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(tt));this.Mitarbeiterliste=i.cloneDeep(Y)}}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(Y){try{this.EditorValid=Y}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","EditorValidChanged",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentMitarbeiter?null===this.DB.CurrentMitarbeiter._id?"Neuen Mitarbeiter anlegen":"Mitarbeiter bearbeiten":"Unbekannt"}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","GetDialogTitel",this.Debug.Typen.Page)}}StandortClickedHandler(){try{let Y=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort;for(let $ of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Y,FirstColumn:$.Kuerzel,SecoundColumn:$.Ort,Data:$}),Y++;this.Auswahlindex=i.findIndex(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID})}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Y){try{switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede:this.DB.CurrentMitarbeiter.Anrede=Y;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub:this.DB.CurrentMitarbeiter.Urlaub=Y;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort:this.DB.CurrentMitarbeiter.StandortID=Y._id;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Fachbereich:this.DB.CurrentMitarbeiter.Fachbereich=Y;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter:this.DBStandort.CurrentStandortfilter=Y,this.Pool.Mitarbeitersettings.StandortFilter=null!==Y?Y._id:this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()}).catch($=>{this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}),this.PrepareDaten()}this.ShowAuswahl=!1}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}}FachbereichClickedHandler(){try{this.ShowAuswahl=!0,this.Auswahltitel="Fachbereich festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Fachbereich,this.Auswahlliste.push({Index:0,FirstColumn:this.Pool.Fachbereich.Unbekannt.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.Unbekannt.Kuerzel,Data:this.Pool.Fachbereich.Unbekannt.Key}),this.Auswahlliste.push({Index:1,FirstColumn:this.Pool.Fachbereich.Elektrotechnik.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.Elektrotechnik.Kuerzel,Data:this.Pool.Fachbereich.Elektrotechnik.Key}),this.Auswahlliste.push({Index:2,FirstColumn:this.Pool.Fachbereich.HLS.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.HLS.Kuerzel,Data:this.Pool.Fachbereich.HLS.Key}),this.Auswahlliste.push({Index:3,FirstColumn:this.Pool.Fachbereich.HLSE.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.HLSE.Kuerzel,Data:this.Pool.Fachbereich.HLSE.Key}),this.Auswahlliste.push({Index:4,FirstColumn:this.Pool.Fachbereich.H.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.H.Kuerzel,Data:this.Pool.Fachbereich.H.Key}),this.Auswahlliste.push({Index:5,FirstColumn:this.Pool.Fachbereich.L.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.L.Kuerzel,Data:this.Pool.Fachbereich.L.Key}),this.Auswahlliste.push({Index:6,FirstColumn:this.Pool.Fachbereich.S.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.S.Kuerzel,Data:this.Pool.Fachbereich.S.Key}),this.Auswahlliste.push({Index:7,FirstColumn:this.Pool.Fachbereich.K.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.K.Kuerzel,Data:this.Pool.Fachbereich.K.Key}),this.Auswahlliste.push({Index:8,FirstColumn:this.Pool.Fachbereich.MSR.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.MSR.Kuerzel,Data:this.Pool.Fachbereich.MSR.Key}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Fachbereich}),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}GetDialogTitelicon(){try{if(!this.DB.CurrentMitarbeiter&&!this.Pool.Mitarbeiterdaten)return"help-outline";switch(this.Auswahltitel){case"Standort festlegen":case"Standortfilter festlegen":return"location-outline";case"Fachbereich festlegen":return"hammer-outline";default:return"help-outline"}}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","GetDialogTitelicon",this.Debug.Typen.Page)}}SucheChanged(Y){try{this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterfiltertext=Y,this.PrepareDaten()}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiterliste","SucheChanged",this.Debug.Typen.Page)}}StandortFilterClickedHandler(){try{let Y=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter,this.ShowAuswahl=!0,this.Auswahltitel="Standortfilter festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Y,FirstColumn:"----",SecoundColumn:"kein Filter",Data:null}),Y++;for(let $ of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Y,FirstColumn:$.Kuerzel,SecoundColumn:$.Ort,Data:$}),Y++;null===this.DBStandort.CurrentStandortfilter?this.Auswahlindex=0:(this.Auswahlindex=i.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}),this.Auswahlindex++)}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","StandortFilterClickedHandler",this.Debug.Typen.Page)}}ShowMeCheckedChanged(Y){try{this.ShowMeOnly=Y.status,!0===this.ShowMeOnly&&(this.DBStandort.CurrentStandortfilter=null,this.Pool.Mitarbeitersettings.StandortFilter=this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()})),this.PrepareDaten()}catch($){this.Debug.ShowErrorMessage($,"Mitarbeiterliste","ShowMeCheckedChanged",this.Debug.Typen.Page)}}ShowArchivierteChanged(Y){try{this.ShowArchivierte=Y.status,this.PrepareDaten()}catch($){this.Debug.ShowErrorMessage($,"Mitarbeiterliste","ShowArchivierteChanged",this.Debug.Typen.Page)}}AnredeClickedEventHandler(){try{this.ShowAuswahl=!0,this.Auswahltitel="Anrede festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede,this.Auswahlliste.push({Index:0,FirstColumn:"Unbekannt",SecoundColumn:"",Data:this.Const.NONE}),this.Auswahlliste.push({Index:1,FirstColumn:"Frau",SecoundColumn:"",Data:"Frau"}),this.Auswahlliste.push({Index:2,FirstColumn:"Herr",SecoundColumn:"",Data:"Herr"}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(Y){this.Debug.ShowErrorMessage(Y,"Mitarbeiterliste","AnredeClickedEventHandler",this.Debug.Typen.Page)}}UrlaubClickedEventHandler(){this.ShowAuswahl=!0,this.Auswahltitel="Urlaubstage festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub,this.Auswahlliste.push({Index:0,FirstColumn:"20",SecoundColumn:"",Data:20}),this.Auswahlliste.push({Index:1,FirstColumn:"21",SecoundColumn:"",Data:21}),this.Auswahlliste.push({Index:2,FirstColumn:"22",SecoundColumn:"",Data:22}),this.Auswahlliste.push({Index:3,FirstColumn:"23",SecoundColumn:"",Data:23}),this.Auswahlliste.push({Index:4,FirstColumn:"24",SecoundColumn:"",Data:24}),this.Auswahlliste.push({Index:5,FirstColumn:"25",SecoundColumn:"",Data:25}),this.Auswahlliste.push({Index:6,FirstColumn:"26",SecoundColumn:"",Data:26}),this.Auswahlliste.push({Index:7,FirstColumn:"27",SecoundColumn:"",Data:27}),this.Auswahlliste.push({Index:8,FirstColumn:"28",SecoundColumn:"",Data:28}),this.Auswahlliste.push({Index:9,FirstColumn:"29",SecoundColumn:"",Data:29}),this.Auswahlliste.push({Index:10,FirstColumn:"30",SecoundColumn:"",Data:30}),this.Auswahlliste.push({Index:11,FirstColumn:"31",SecoundColumn:"",Data:31}),this.Auswahlliste.push({Index:12,FirstColumn:"32",SecoundColumn:"",Data:32}),this.Auswahlliste.push({Index:13,FirstColumn:"33",SecoundColumn:"",Data:33}),this.Auswahlliste.push({Index:14,FirstColumn:"34",SecoundColumn:"",Data:34}),this.Auswahlliste.push({Index:15,FirstColumn:"35",SecoundColumn:"",Data:35}),this.Auswahlliste.push({Index:16,FirstColumn:"36",SecoundColumn:"",Data:36}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(Y){this.Debug.ShowErrorMessage(Y,"Mitarbeiterliste","UrlaubClickedEventHandler",this.Debug.Typen.Page)}ShowAktuelleChanged(Y){try{this.ShowAktuelle=Y.status,this.PrepareDaten()}catch($){this.Debug.ShowErrorMessage($,"Mitarbeiterliste","ShowAktuelleChanged",this.Debug.Typen.Page)}}static \u0275fac=function($){return new($||re)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(l.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(u.ConstProvider),d.\u0275\u0275directiveInject(c.DatabaseMitarbeiterService),d.\u0275\u0275directiveInject(g.DatabaseStandorteService),d.\u0275\u0275directiveInject(v.AuswahlDialogService),d.\u0275\u0275directiveInject(p.DatabasePoolService))};static \u0275cmp=d.\u0275\u0275defineComponent({type:re,selectors:[["fi-mitarbeiterliste-page"]],viewQuery:function($,le){if(1&$&&(d.\u0275\u0275viewQuery(I,5),d.\u0275\u0275viewQuery(F,5),d.\u0275\u0275viewQuery(j,5)),2&$){let ee;d.\u0275\u0275queryRefresh(ee=d.\u0275\u0275loadQuery())&&(le.Alphabetcomponent=ee.first),d.\u0275\u0275queryRefresh(ee=d.\u0275\u0275loadQuery())&&(le.PageHeader=ee.first),d.\u0275\u0275queryRefresh(ee=d.\u0275\u0275loadQuery())&&(le.PageFooter=ee.first)}},decls:34,vars:16,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowSandortfilter","ShowMitarbeitertitle","SucheChanged","StandortfilterClicked"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[2,"color","white"],[2,"width","6px"],["no-shadow","","no-border",""],[4,"ngIf"],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[2,"width","100%"],[2,"width","50%"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","AnredeClickedEvent","UrlaubClickedEvent","FachbereichClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Breite","Buchstabenliste","Auswahl","AlphabetClicked"],["Alphabet",""],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[1,"kontaktclass"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0",4,"ngIf"],[1,"infotable",2,"white-space","nowrap"],[2,"width","24px"],[1,"ergonametextclass",2,"width","80px"],[2,"width","100px"],[2,"width","20px"],[1,"ergonametextclass",2,"width","60px"],[2,"width","200px"],["color","orange"],["cellspacing","0","cellpadding","0"],[2,"height","20px","width","20px","border-radius","4px"],["src","/assets/svgs/alert.svg",2,"height","26px"],[2,"color","green"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","AnredeClickedEvent","UrlaubClickedEvent","FachbereichClickedEvent"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function($,le){if(1&$&&(d.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),d.\u0275\u0275listener("SucheChanged",function(we){return le.SucheChanged(we)})("StandortfilterClicked",function(){return le.StandortFilterClickedHandler()}),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"table",3)(5,"tr")(6,"td")(7,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(we){return le.ShowMeCheckedChanged(we)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(8,"td",5),d.\u0275\u0275text(9,"Nur meinen Eintrag anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(10,"td",6),d.\u0275\u0275elementStart(11,"td")(12,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(we){return le.ShowAktuelleChanged(we)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(13,"td",5),d.\u0275\u0275text(14,"Aktuelle Eintr\xe4ge anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(15,"td",6),d.\u0275\u0275elementStart(16,"td")(17,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(we){return le.ShowArchivierteChanged(we)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(18,"td",5),d.\u0275\u0275text(19,"Archivierte Eintr\xe4ge anzeigen"),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275elementStart(20,"ion-content",7),d.\u0275\u0275template(21,te,2,1,"ion-list",8)(22,ue,4,0,"table",9),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(23,"ion-footer")(24,"page-footer",null,10)(26,"table",11)(27,"tr")(28,"td",12),d.\u0275\u0275text(29),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275template(30,se,1,2,"fi-mitarbeiter-editor",13)(31,K,1,6,"auswahl-dialog",14),d.\u0275\u0275elementStart(32,"alphabet",15,16),d.\u0275\u0275listener("AlphabetClicked",function(we){return le.AlphabetClicked(we)}),d.\u0275\u0275elementEnd()),2&$){const ee=d.\u0275\u0275reference(2),we=d.\u0275\u0275reference(25);d.\u0275\u0275advance(3),d.\u0275\u0275property("ShowSuchleiste",!0)("ShowSandortfilter",!0)("ShowMitarbeitertitle",!0),d.\u0275\u0275advance(4),d.\u0275\u0275property("Checked",le.ShowMeOnly),d.\u0275\u0275advance(5),d.\u0275\u0275property("Checked",le.ShowAktuelle),d.\u0275\u0275advance(5),d.\u0275\u0275property("Checked",le.ShowArchivierte),d.\u0275\u0275advance(4),d.\u0275\u0275property("ngIf",le.Mitarbeiterliste&&le.Mitarbeiterliste.length>0),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",0===le.Mitarbeiterliste.length),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate1(" ",le.Mitarbeiterliste.length," Eintr\xe4ge "),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",le.ShowEditor),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",le.ShowAuswahl),d.\u0275\u0275advance(),d.\u0275\u0275property("PageHeader",ee)("PageFooter",we)("Breite",le.Alphapetbreite)("Buchstabenliste",le.Mitarbeiteralphabet)("Auswahl",le.Mitarbeiteralphabetauswahl)}},dependencies:[S.NgForOf,S.NgIf,C.IonCol,C.IonContent,C.IonFooter,C.IonGrid,C.IonHeader,C.IonItem,C.IonList,C.IonRow,C.IonText,_.PageHeaderComponent,f.PageFooterComponent,y.AlphabetComponent,b.PageHeaderMenuComponent,E.FiMitarbeiterEditorComponent,M.AuswahlDialogComponent,A.CheckboxClonComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return re})()},96012:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortelistePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),l=o(10716),e=o(90756),u=o(6512),c=o(87143),g=o(79664),v=o(70216),p=o(90520),S=o(6168),C=o(54588),_=o(10272),f=n.__importStar(o(54496)),b=(n.__importStar(o(56568)),[{path:"",component:e.FiStandortelistePage}]);h.FiStandortelistePageModule=(()=>{class M{static \u0275fac=function(F){return new(F||M)};static \u0275mod=f.\u0275\u0275defineNgModule({type:M});static \u0275inj=f.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,d.ReactiveFormsModule,l.IonicModule,a.RouterModule.forChild(b),u.AbstandElementFixedModule,c.AlphabetModule,g.FiStandortEditorModule,v.PageHeaderModule,p.PageFooterModule,S.PageHeaderMenuModule,C.PageModalKeepermodule,_.AuswahlDialogModule]})}return M})()},90756:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortelistePage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importStar(o(54496)),l=i.__importStar(o(14652)),e=i.__importStar(o(34388)),u=i.__importStar(o(19668)),c=i.__importStar(o(29743)),g=i.__importStar(o(58864)),v=i.__importStar(o(9544)),p=i.__importStar(o(48044)),S=i.__importStar(o(7992)),C=i.__importStar(o(91368)),_=i.__importStar(o(10716)),f=i.__importStar(o(99031)),y=i.__importStar(o(41656)),b=i.__importStar(o(90212)),E=i.__importStar(o(29856)),M=i.__importStar(o(63792)),A=i.__importStar(o(56584)),I=["Alphabet"],F=["PageHeader"],j=["PageFooter"];function T(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",22)(2,"ion-text",23)(3,"b"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()()()),2&se){const Z=a.\u0275\u0275nextContext().index,re=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(re.Standortebuchstabenliste[Z])}}function P(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"tr")(1,"td"),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd()()),2&se){const Z=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate1(" ",Z.Ort," ")}}function x(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"span"),a.\u0275\u0275text(3),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(4,"span",24),a.\u0275\u0275text(5),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(6,"span"),a.\u0275\u0275text(7),a.\u0275\u0275elementEnd()()()),2&se){const Z=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(3),a.\u0275\u0275textInterpolate(Z.Text_A),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(Z.Text_B),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(Z.Text_C)}}function N(se,K){if(1&se){const Z=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-item",13),a.\u0275\u0275listener("click",function(){const Y=a.\u0275\u0275restoreView(Z).$implicit,$=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView($.StandortButtonClicked(Y))}),a.\u0275\u0275elementStart(1,"ion-grid",14),a.\u0275\u0275template(2,T,5,1,"ion-row",3),a.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",15)(5,"div",16)(6,"table",17)(7,"tr")(8,"td")(9,"table",18),a.\u0275\u0275template(10,P,3,1,"tr",3)(11,x,8,3,"tr",3),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(12,"tr")(13,"td")(14,"table",19)(15,"tr")(16,"td",20),a.\u0275\u0275text(17,"K\xfcrzel:"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(18,"td"),a.\u0275\u0275text(19),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(20,"td",21),a.\u0275\u0275elementStart(21,"td",20),a.\u0275\u0275text(22,"Email:"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(23,"td"),a.\u0275\u0275text(24),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(25,"td",21),a.\u0275\u0275elementEnd()()()()()()()()()()}if(2&se){const Z=K.$implicit,re=K.index,J=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",""!==J.Standortebuchstabenliste[re]),a.\u0275\u0275advance(8),a.\u0275\u0275property("ngIf",!Z.Filtered),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",Z.Filtered),a.\u0275\u0275advance(8),a.\u0275\u0275textInterpolate(Z.Kuerzel),a.\u0275\u0275advance(5),a.\u0275\u0275textInterpolate(Z.Email)}}function O(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"ion-list"),a.\u0275\u0275template(1,N,26,5,"ion-item",12),a.\u0275\u0275elementEnd()),2&se){const Z=a.\u0275\u0275nextContext();a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",Z.Standorteliste)}}function H(se,K){1&se&&(a.\u0275\u0275elementStart(0,"table",25)(1,"tr")(2,"td",26),a.\u0275\u0275text(3," kein Standorte vorhanden "),a.\u0275\u0275elementEnd()()())}function G(se,K){if(1&se){const Z=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"fi-standort-editor",27),a.\u0275\u0275listener("CancelClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.ShowEditor=!1)})("OkClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.ShowEditor=!1)})("DeleteClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.ShowEditor=!1)})("LandClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.LandClickedEventHandler())})("BundeslandClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.BundeslandClickedEventHandler())})("KonfessionClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.KonfessionClickedEventHandler())}),a.\u0275\u0275elementEnd()}if(2&se){const Z=a.\u0275\u0275nextContext();a.\u0275\u0275property("Dialogbreite",600)("Dialoghoehe",500)("PositionY",100)("Titel",Z.GetDialogTitel())}}function te(se,K){if(1&se){const Z=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"auswahl-dialog",28),a.\u0275\u0275listener("OkClickedEvent",function(J){a.\u0275\u0275restoreView(Z);const Y=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(Y.AuswahlOkButtonClicked(J))})("CancelClickedEvent",function(){a.\u0275\u0275restoreView(Z);const J=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(J.ShowAuswahl=!1)}),a.\u0275\u0275elementEnd()}if(2&se){const Z=a.\u0275\u0275nextContext();a.\u0275\u0275property("Auswahlliste",Z.Auswahlliste)("Auswahlindex",Z.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Z.Auswahltitel)("Iconname","")}}h.FiStandortelistePage=(()=>{class se{Basics;Debug;Tools;Const;DB;DBUrlaub;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;Standorteliste;Standortealphabet;Alphapetbreite;Standortealphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Standortebuchstabenliste;Standardalphabet;Zusatzbuttonliste;Standortefiltertext;Standortefilter;Inputtimer;Listenbreite;ShowEditor;EditorValid;ListeSubscription;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;constructor(Z,re,J,Y,$,le,ee,we){this.Basics=Z,this.Debug=re,this.Tools=J,this.Const=Y,this.DB=$,this.DBUrlaub=le,this.Auswahlservice=ee,this.Pool=we;try{this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Standortealphabet=[],this.Standortealphabetauswahl="Alle",this.Standorteliste=[],this.Zusatzbuttonliste=[],this.HideAuswahl=!0,this.Inputtimer=null,this.Alphapetbreite=44,this.Standortefilter="",this.Standortealphabet=this.Standardalphabet,this.Standortebuchstabenliste=[],this.Listenbreite=0,this.ShowEditor=!1,this.EditorValid=!1,this.ListeSubscription=null,this.Auswahlliste=[],this.Auswahlindex=0,this.Auswahltitel="",this.Auswahldialogorigin=""}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Standorteliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ListeSubscription.unsubscribe(),this.ListeSubscription=null}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.StandortelisteChanged.subscribe(()=>{this.PrepareDaten()})}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","OnInit",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Listenbreite=this.Basics.Contentbreite-(typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40)-4,this.PrepareDaten(),this.Alphabetcomponent.InitScreen()}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}StandortButtonClicked(Z){try{this.DB.CurrentStandort=d.cloneDeep(Z),this.ShowEditor=!0}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddStandorteButtonClicked(){try{this.DB.CurrentStandort=this.DB.GetEmptyStandort(),this.ShowEditor=!0}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","AddStandorteButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(Z){try{this.Standortefiltertext="",this.Standortefilter="",this.Standortealphabetauswahl=Z,this.PrepareDaten()}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","AlphabetClicked",this.Debug.Typen.Page)}}GetStandorteAlphabetbuchstabe(Z){try{let re=Z.Ort.substring(0,1).toUpperCase();return re!==this.Lastletter?(this.Lastletter=re,re):""}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","GetStandorteAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let Z,re,J,Y,$,le,ee,we,ye,Oe,ve,_e;if(null!==this.Pool.Standorteliste){if(Y=d.cloneDeep(this.Pool.Standorteliste),this.Lastletter="",Z=d.cloneDeep(Y),Z.sort((Pe,Ze)=>Pe.OrtZe.Ort?1:0),null!==this.DB.CurrentStandortfilter){re=d.cloneDeep(Z),Z=[];for(let Pe of re)Z.push(Pe)}if(Z.length>6){this.Standortealphabet=["Alle"];for(let Pe of Z)J=Pe.Ort.substring(0,1).toUpperCase(),-1===this.Standortealphabet.indexOf(J)&&this.Standortealphabet.push(J)}else this.Standortealphabet=this.Standardalphabet;if("Alle"!==this.Standortealphabetauswahl){re=d.cloneDeep(Z),Z=[];for(let Pe of re)J=Pe.Ort.substring(0,1).toUpperCase(),this.Standortealphabetauswahl===J&&Z.push(Pe)}if(""!==this.Standortefilter){re=d.cloneDeep(Z),Z=[];for(let Pe of re)ve=this.Standortefilter.toLowerCase(),_e=Pe.Ort.toLowerCase(),Oe=_e.indexOf(ve),-1!==Oe&&($=Pe.Ort.length,ye=ve.length,le=Pe.Ort.substr(0,Oe),ee=Pe.Ort.substr(Oe,ye),ye=$-ye-Oe,we=Pe.Ort.substr($-ye,ye),Pe.Filtered=!0,Pe.Text_A=le,Pe.Text_B=ee,Pe.Text_C=we,Z.push(Pe))}this.Standortebuchstabenliste=[];for(let Pe of Z)this.Standortebuchstabenliste.push(this.GetStandorteAlphabetbuchstabe(Pe));this.Standorteliste=d.cloneDeep(Z)}}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(Z){try{this.EditorValid=Z}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","EditorValidChanged",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentStandort?null===this.DB.CurrentStandort._id?"Neuen Standort anlegen":"Standort bearbeiten":"Unbekannt"}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","GetDialogTitel",this.Debug.Typen.Page)}}SucheChangedHandler(Z){try{this.Standortefiltertext=Z,this.Standortefilter=this.Standortefiltertext,this.PrepareDaten()}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","SucheChangedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Z){var re=this;return n(function*(){try{switch(re.Auswahldialogorigin){case re.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land:re.DB.CurrentStandort.Land=Z;break;case re.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland:re.DB.CurrentStandort.Bundesland=Z;break;case re.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession:re.DB.CurrentStandort.Konfession=Z}re.ShowAuswahl=!1}catch(J){re.Debug.ShowErrorMessage(J.message,"Standorteliste","AuswahlOkButtonClicked",re.Debug.Typen.Page)}})()}LandClickedEventHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land,this.Auswahltitel="Land ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"Deutschland",SecoundColumn:"DE",Data:"DE"}),this.Auswahlliste.push({Index:1,FirstColumn:"Bulgarien",SecoundColumn:"BG",Data:"BG"}),this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Land})}catch(Z){this.Debug.ShowErrorMessage(Z,"Standorteliste","LandClickedEventHandler",this.Debug.Typen.Page)}}BundeslandClickedEventHandler(){try{let Z=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland,this.Auswahltitel="Bundesland ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[];for(let re of this.DBUrlaub.Regionenliste)this.Auswahlliste.push({Index:Z,FirstColumn:re.Name,SecoundColumn:re.isoCode,Data:re.isoCode}),Z++;this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Bundesland})}catch(Z){this.Debug.ShowErrorMessage(Z,"Standorteliste","BundeslandClickedEventHandler",this.Debug.Typen.Page)}}KonfessionClickedEventHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession,this.Auswahltitel="Konfession ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"Katholisch",SecoundColumn:"RK",Data:"RK"}),this.Auswahlliste.push({Index:1,FirstColumn:"Evangelisch",SecoundColumn:"EV",Data:"EV"}),this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Konfession})}catch(Z){this.Debug.ShowErrorMessage(Z,"Standorteliste","KonfessionClickedEventHandler",this.Debug.Typen.Page)}}static \u0275fac=function(re){return new(re||se)(a.\u0275\u0275directiveInject(l.BasicsProvider),a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(u.ToolsProvider),a.\u0275\u0275directiveInject(c.ConstProvider),a.\u0275\u0275directiveInject(g.DatabaseStandorteService),a.\u0275\u0275directiveInject(v.DatabaseUrlaubService),a.\u0275\u0275directiveInject(p.AuswahlDialogService),a.\u0275\u0275directiveInject(S.DatabasePoolService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:se,selectors:[["fi-standorteliste-page"]],viewQuery:function(re,J){if(1&re&&(a.\u0275\u0275viewQuery(I,5),a.\u0275\u0275viewQuery(F,5),a.\u0275\u0275viewQuery(j,5)),2&re){let Y;a.\u0275\u0275queryRefresh(Y=a.\u0275\u0275loadQuery())&&(J.Alphabetcomponent=Y.first),a.\u0275\u0275queryRefresh(Y=a.\u0275\u0275loadQuery())&&(J.PageHeader=Y.first),a.\u0275\u0275queryRefresh(Y=a.\u0275\u0275loadQuery())&&(J.PageFooter=Y.first)}},decls:16,vars:11,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowStandorttitle","SucheChanged"],[4,"ngIf"],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[1,"rootbuttonclass",3,"click"],["color","weiss","name","add-circle-outline",2,"font-size","28px"],["Iconname","location-outline",3,"Dialogbreite","Dialoghoehe","PositionY","Titel","CancelClickedEvent","OkClickedEvent","DeleteClickedEvent","LandClickedEvent","BundeslandClickedEvent","KonfessionClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Buchstabenliste","Breite","Auswahl","AlphabetClicked"],["Alphabet",""],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["sizeXs","11","sizeSm","11","sizeMd","6","sizeLg","6","sizeXl","6"],[1,"kontaktclass"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0"],[1,"infotable",2,"white-space","nowrap"],[1,"ergonametextclass"],[2,"width","20px"],["size","12"],["color","orange"],[2,"color","green"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","location-outline",3,"Dialogbreite","Dialoghoehe","PositionY","Titel","CancelClickedEvent","OkClickedEvent","DeleteClickedEvent","LandClickedEvent","BundeslandClickedEvent","KonfessionClickedEvent"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(re,J){if(1&re&&(a.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),a.\u0275\u0275listener("SucheChanged",function($){return J.SucheChangedHandler($)}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(4,"ion-content"),a.\u0275\u0275template(5,O,2,1,"ion-list",3)(6,H,4,0,"table",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(7,"ion-footer")(8,"page-footer",null,5)(10,"div",6),a.\u0275\u0275listener("click",function(){return J.AddStandorteButtonClicked()}),a.\u0275\u0275element(11,"ion-icon",7),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(12,G,1,4,"fi-standort-editor",8)(13,te,1,7,"auswahl-dialog",9),a.\u0275\u0275elementStart(14,"alphabet",10,11),a.\u0275\u0275listener("AlphabetClicked",function($){return J.AlphabetClicked($)}),a.\u0275\u0275elementEnd()),2&re){const Y=a.\u0275\u0275reference(2),$=a.\u0275\u0275reference(9);a.\u0275\u0275advance(3),a.\u0275\u0275property("ShowSuchleiste",!0)("ShowStandorttitle",!0),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",J.Standorteliste&&J.Standorteliste.length>0),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",0===J.Standorteliste.length),a.\u0275\u0275advance(6),a.\u0275\u0275property("ngIf",J.ShowEditor),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",J.ShowAuswahl),a.\u0275\u0275advance(),a.\u0275\u0275property("PageHeader",Y)("PageFooter",$)("Buchstabenliste",J.Standortealphabet)("Breite",J.Alphapetbreite)("Auswahl",J.Standortealphabetauswahl)}},dependencies:[C.NgForOf,C.NgIf,_.IonCol,_.IonContent,_.IonFooter,_.IonGrid,_.IonHeader,_.IonIcon,_.IonItem,_.IonList,_.IonRow,_.IonText,f.AlphabetComponent,y.FiStandortEditorComponent,b.PageHeaderComponent,E.PageFooterComponent,M.PageHeaderMenuComponent,A.AuswahlDialogComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return se})()},15756:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PrettyjsonModule=void 0;const i=o(81316).__importStar(o(54496));h.PrettyjsonModule=(()=>{class a{static \u0275fac=function(u){return new(u||a)};static \u0275mod=i.\u0275\u0275defineNgModule({type:a});static \u0275inj=i.\u0275\u0275defineInjector({})}return a})()},84104:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.SafePipeModule=void 0;const i=o(81316).__importStar(o(54496));h.SafePipeModule=(()=>{class a{static \u0275fac=function(u){return new(u||a)};static \u0275mod=i.\u0275\u0275defineNgModule({type:a});static \u0275inj=i.\u0275\u0275defineInjector({})}return a})()},66144:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.SafePipe=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14476));h.SafePipe=(()=>{class l{sanitizer;constructor(u){this.sanitizer=u}transform(u,c){switch(c){case"html":return this.sanitizer.bypassSecurityTrustHtml(u);case"style":return this.sanitizer.bypassSecurityTrustStyle(u);case"script":return this.sanitizer.bypassSecurityTrustScript(u);case"url":return this.sanitizer.bypassSecurityTrustUrl(u);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(u);default:throw new Error(`Invalid safe type specified: ${c}`)}}static \u0275fac=function(c){return new(c||l)(i.\u0275\u0275directiveInject(d.DomSanitizer,16))};static \u0275pipe=i.\u0275\u0275definePipe({name:"safe",type:l,pure:!0})}return l})()},48044:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AuswahlDialogService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388));h.AuswahlDialogService=(()=>{class l{Debug;Auswahloriginvarianten={Standorteeditor_Land:"Standorteeditor_Land",Standorteeditor_Bundesland:"Standorteeditor_Bundesland",Standorteeditor_Konfession:"Standorteeditor_Konfession",Projekteliste_Standortfiler:"Projekteliste_Standortfiler",Projekteliste_Editor_Leistungsphase:"Projekteliste_Editor_Leistungsphase",Projekte_Editor_Standort:"Projekte_Editor_Standortfilter",Projekte_Editor_Mitarbeiterauswahl_Projektleiter:"Projekte_Editor_Mitarbeiterauswahl_Projektleiter",Projekte_Editor_Mitarbeiterauswahl_Stellvertreter:"Projekte_Editor_Mitarbeiterauswahl_Stellvertreter",Projekte_Editor_Mitarbeiterauswahl:"Projekte_Editor_Mitarbeiterauswahl",Projekte_Editor_Mitarbeiterauswahl_Standortfilter:"Projekte_Editor_Mitarbeiterauswahl_Standortfilter",Projekte_Editor_Projektstatus:"Projekte_Editor_Projektstatus",Projekte_Editor_Firmeneditor_Fachbereich:"Projekte_Editor_Firmeneditor_Fachbereich",Projekte_Editor_Beteiligteneditor_Fachfirma:"Projekte_Editor_Beteiligteneditor_Fachfirma",Favoriten_Editor_Projekteauswahl_Standortfilter:"Favoriten_Editor_Projekteauswahl_Standortfilter",Mitarbeiter_Editor_Standort:"Mitarbeiter_Editor_Standort",Mitarbeiter_Editor_Fachbereich:"Mitarbeiter_Editor_Fachbereich",Mitarbeiter_Editor_Anrede:"Mitarbeiter_Editor_Anrede",Mitarbeiter_Editor_Urlaub:"Mitarbeiter_Editor_Urlaub",Mitarbeiter_Liste_Standortfilter:"Mitarbeiter_Liste_Standortfilter",Aufgabenliste_ZustaendigExtern:"Aufgabenliste_ZustaendigExtern",Aufgabenliste_ZustaendigIntern:"Aufgabenliste_ZustaendigIntern",Aufgabenliste_Fortschritt:"Aufgabenliste_Fortschritt",Aufgabenliste_Zeitfilter:"Aufgabenliste_Zeitfilter",Aufgabenliste_Filter_Zeitspanne:"Aufgabenliste_Filter_Zeitspanne",Aufgabenliste_Editor_Fachbereich:"Aufgabenliste_Editor_Fachbereich",Aufgabenliste_Editor_Status:"Aufgabenliste_Editor_Status",Aufgabenliste_Editor_Standortfilter:"Aufgabenliste_Editor_Standortfilter",Aufgabenliste_Editor_ZustaendigExtern:"Aufgabenliste_Editor_ZustaendigExtern",Aufgabenliste_Editor_ZustaendigIntern:"Aufgabenliste_Editor_ZustaendigIntern",Aufgabenliste_Editor_Leistungsphase:"Aufgabenliste_Editor_Kostengruppe",Aufgabenliste_Editor_Kostengruppe:"Aufgabenliste_Editor_Leistungsphase",Aufgabenliste_Editor_Verfasser:"Aufgabenliste_Editor_Verfasser",Aufgabenliste_Editor_AnmerkungenVerfasser:"Aufgabenliste_Editor_AnmerkungenVerfasser",Aufgabenliste_Meintageintrag_Status:"Aufgabenliste_Meintageintrag_Status",Aufgabenliste_Meintageintrag_Termin:"Aufgabenliste_Meintageintrag_Termin",Festlegungsliste_Editor_Leistungsphase:"Festlegungsliste_Editor_Leistungsphase",Festlegungsliste_Leistungsphasefilter:"Festlegungsliste_Leistungsphasefilter",Festlegungliste_Emaileditor_Standortfilter:"Festlegungliste_Emaileditor_Standortfilter",Festlegungliste_Editor_Status:"Festlegungliste_Editor_Status",Festlegungliste_Editor_Fachbereich:"Festlegungliste_Editor_Fachbereich",Festlegungliste_Editor_Kostengruppe:"Festlegungliste_Editor_Kostengruppe",Festlegungliste_Editor_ZustaendigExtern:"Festlegungliste_Editor_ZustaendigExtern",Festlegungliste_Editor_ZustaendigIntern:"Festlegungliste_Editor_ZustaendigIntern",Festlegungliste_Emaileditor_Intern_Empfaenger:"Festlegungliste_Emaileditor_Intern_Empfaenger",Festlegungliste_Emaileditor_Intern_CcEmpfaenger:"Festlegungliste_Emaileditor_Intern_CcEmpfaenger",Festlegungliste_Emaileditor_Extern_Empfaenger:"Festlegungliste_Emaileditor_Extern_Empfaenger",Festlegungliste_Emaileditor_Extern_CcEmpfaenger:"Festlegungliste_Emaileditor_Extern_CcEmpfaenger",Bautagebuchliste_Emaileditor_Intern_Empfaenger:"Bautagebuchliste_Emaileditor_Intern_Empfaenger",Bautagebuchliste_Emaileditor_Intern_CcEmpfaenger:"Bautagebuchliste_Emaileditor_Intern_CcEmpfaenger",Bautagebuchliste_Emaileditor_Extern_Empfaenger:"Bautagebuchliste_Emaileditor_Extern_Empfaenger",Bautagebuchliste_Emaileditor_Extern_CcEmpfaenger:"Bautagebuchliste_Emaileditor_Extern_CcEmpfaenger",Bautagebuchliste_Bautagebucheditor:"Bautagebuchliste_Bautagebucheditor",Protokollliste_Editor_Leistungsphase:"Protokollliste_Editor_Leistungsphase",Protokollliste_Editor_Kostengruppe:"Protokollliste_Editor_Kostengruppe",Protokollliste_Protokolleditor_Teamteilnehmer:"Protokollliste_Protokolleditor_Teamteilnehmer",Protokollliste_Projektpunkteditor_Teamteilnehmer:"Protokollliste_Projektpunkteditor_Teamteilnehmer",Protokollliste_Protokolleditor_Beteilgtenteilnehmer:"Protokollliste_Protokolleditor_Beteilgtenteilnehmer",Protokollliste_Projektpunkteditor_Beteilgtenteilnehmer:"Protokollliste_Projektpunkteditor_Beteilgtenteilnehmer",Urlaubsplanung_Mitarbeiter_Wechseln:"Urlaubsplanung_Mitarbeiter_Wechseln",Urlaubsplanung_Vertreter_Festlegen:"Urlaubsplanung_Vertreter_Festlegen",Urlaubsplanung_Status_Aendern:"Urlaubsplanung_Status_Aendern",UrlaubEinstellungen_Projektbeteiligte_Auswahl:"UrlaubEinstellungen_Projektbeteiligte_Auswahl",UrlaubEinstellungen_Freigeber_Auswahl:"UrlaubEinstellungen_Freigeber_Auswahl",UrlaubEinstellungen_Standort_Filter:"UrlaubEinstellungen_Standort_Filter",UrlaubPlanung_Standort_Filter:"UrlaubPlanung_Standort_Filter",UrlaubUebersicht_Standort_Filter:"UrlaubUebersicht_Standort_Filter",UrlaubAnfargen_Standort_Filter:"UrlaubAnfargen_Standort_Filter",Protokollliste_Emaileditor_Extern_Empfaenger:"Protokollliste_Emaileditor_Extern_Empfaenger",Protokollliste_Emaileditor_Extern_CcEmpfaenger:"Protokollliste_Emaileditor_Extern_CcEmpfaenger",Protokollliste_Emaileditor_Intern_Empfaenger:"Protokollliste_Emaileditor_Intern_Empfaenger",Protokollliste_Emaileditor_Intern_CcEmpfaenger:"Protokollliste_Emaileditor_Intern_CcEmpfaenger",LOPliste_Emaileditor_Extern_Empfaenger:"LOPliste_Emaileditor_Extern_Empfaenger",LOPliste_Emaileditor_Extern_CcEmpfaenger:"LOPliste_Emaileditor_Extern_CcEmpfaenger",LOPliste_Emaileditor_Intern_Empfaenger:"LOPliste_Emaileditor_Intern_Empfaenger",LOPliste_Emaileditor_Intern_CcEmpfaenger:"LOPliste_Emaileditor_Intern_CcEmpfaenger",Protokollliste_Editor_Standortfilter:"Protokollliste_Editor_Standortfilter",Protokollliste_Projektpunkteditor_Status:"Protokollliste_Projektpunkteditor_Status",Protokollliste_Projektpunkteditor_Fachbereich:"Protokollliste_Projektpunkteditor_Fachbereich",Simontabelle_Editor_Emailempfaenger:"Simontabelle_Editor_Emailempfaenger",Emailliste_Projektpunkteditor_Fachbereich:"Emailliste_Projektpunkteditor_Fachbereich",Emailliste_Editor_ZustaendigIntern:"Emailliste_Editor_ZustaendigIntern",Emailliste_Editor_ZustaendigExtern:"Emailliste_Editor_ZustaendigExtern",Emailliste_Beteiligteneditor_Projektauswahl:"Emailliste_Beteiligteneditor_Projektauswahl",Protokollliste_Filter_Leistungsphase:"Protokollliste_Filter_Leistungsphase",Protokollliste_Filter_Zeitspanne:"Protokollliste_Filter_Zeitspanne",LOPListe_LOPListeeditor_InternTeilnehmer:"LOPListe_LOPListeeditor_InternTeilnehmer",LOPListe_LOPListeeditor_ExternTeilnehmer:"LOPListe_LOPListeeditor_ExternTeilnehmer",LOPListe:"LOPListe",LOPListe_Thumnailsize:"LOPListe_Thumnailsize",LOPListe_Eintrageditor_ZustaendigExtern:"LOPListe_Eintrageditor_ZustaendigExtern",LOPListe_Eintrageditor_ZustaendigIntern:"LOPListe_Eintrageditor_ZustaendigIntern",LOPListe_Eintrageditor_Standortfilter:"LOPListe_Eintrageditor_Standortfilter",LOPListe_Eintrageditor_Fachbereich:"LOPListe_Eintrageditor_Fachbereich",LOPListe_Eintrageditor_Status:"LOPListe_Eintrageditor_Status",LOPListe_Eintrageditor_Prioritaet:"LOPListe_Eintrageditor_Prioritaet",LOPListe_Eintrageditor_AnmerkungVerfasser:"LOPListe_Eintrageditor_AnmerkungVerfasser",LOPListe_Eintrageditor_Verfasser:"LOPListe_Eintrageditor_Verfasser",LOPListe_Emaileditor_Intern_Empfaenger:"LOPListe_Emaileditor_Intern_Empfaenger",LOPListe_Emaileditor_Intern_CcEmpfaenger:"LOPListe_Emaileditor_Intern_CcEmpfaenger",LOPListe_Emaileditor_Extern_Empfaenger:"LOPListe_Emaileditor_Extern_Empfaenger",LOPListe_Emaileditor_Extern_CcEmpfaenger:"LOPListe_Emaileditor_Extern_CcEmpfaenger",Urlaubsliste_Bundesland:"Urlaubsliste_Bundesland"};constructor(u){this.Debug=u}static \u0275fac=function(c){return new(c||l)(i.\u0275\u0275inject(d.DebugProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},14652:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.BasicsProvider=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(10716)),a=n.__importStar(o(29743));h.BasicsProvider=(()=>{class e{platform;Const;Headerhoehe=0;Footerhoehe=0;Contenthoehe=0;Contentbreite=0;InnerContenthoehe=0;Waittime=300;Svgpath="assets/svgs/";AppBuild="07.03.2024 22:30";ShowHomeScreenInfos=!0;DebugNoExternalEmail=!0;AppVersionName="1.0";AppVersionDatum="07.03.2024";WebAppUrl="https://polite-cliff-084832d03.4.azurestaticapps.net/";Farben={BAEBlau:"#307ac1",BAEHellgrau:"#dfe5eb",Gruen:"#006400",Burnicklgruen:"#c7d304",Grau:"#454545",Buttoncolor:"#444444",Blau:"#00008B",Orange:"#FF8C00",Bordercolor:"#3880ff",Burnicklbraun:"#7b6a58",Burnicklgrau:"#354547",ButtongrauDisabled:"#444444"};Ionicfarben={BurnicklGruen:"burnicklgruen",BAEBlau:"baeblau",BurnicklGrau:"burnicklgrau",BurnicklBraun:"burnicklbraun",Gruen:"gruen",Orange:"orange",Grau:"grau",Silber:"silber",Schwarz:"schwarz",Weiss:"weiss",Rot:"rot",Blau:"blau",Dunkelblau:"dunkelblau",Braun:"braun",Teal:"teal",Gelb:"gelb"};ShowFehlerbericht=!0;constructor(c,g){this.platform=c,this.Const=g}MeassureInnercontent(c,g){try{this.Headerhoehe=typeof c<"u"&&null!==c?c.PageHeaderDiv.nativeElement.clientHeight:56,this.Footerhoehe=typeof g<"u"&&null!==g?g.PageFooterFrameDiv.nativeElement.clientHeight:55,this.InnerContenthoehe=this.Contenthoehe-this.Headerhoehe-this.Footerhoehe,console.log("Basics MeassureScreen -> Screenbreite: "+this.platform.width()+" / Screenhoehe: "+this.platform.height()),console.log("Basics MeassureScreen -> Headerhoehe: "+this.Headerhoehe+" / Footerhoehe: "+this.Footerhoehe),console.log("Basics MeassureScreen -> InnerContenthoehe: "+this.InnerContenthoehe)}catch(v){window.console.log(v+" / Basics / MeassureInnercontent ")}}static \u0275fac=function(g){return new(g||e)(i.\u0275\u0275inject(d.Platform),i.\u0275\u0275inject(a.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},29743:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ConstProvider=void 0;const i=o(81316).__importStar(o(54496)),e={ok:"ok",no:"no",cancel:"cancel",delete:"delete",wahla:"wahla",wahlb:"wahlb"},E={HomePage:"HomePage",RegistrierungPage:"RegistrierungPage",EinstellungenPage:"EinstellungenPage",StartseitePage:"StartseitePage",IntroPage:"IntroPage",ShortcutsEditorPage:"ShortcutsEditorPage",EmailzentralePage:"EmailzentralePage",PasswortVergessenPage:"PasswortVergessenPage",TestPage:"TestPage",ErrorPage:"ErrorPage",DebugPage:"DebugPage",PDFViewerPage:"PDFViewerPage",EmaillistePage:"EmaillistePage",UrlaubPlanungPage:"UrlaubPlanungPage",UrlaubEinstellungenPage:"UrlaubEinstellungenPage",UrlaubUebersichtPage:"UrlaubUebersichtPage",UrlaubFreigabenPage:"UrlaubFreigabenPage",FiMitarbeiterlistePage:"FiMitarbeiterlistePage",FiMitarbeiterauswahlPage:"FiMitarbeiterauswahlPage",FiMitarbeiterSettingsPage:"FiMitarbeiterSettingsPage",FiStandortelistePage:"FiStandortelistePage",PjListePage:"PjListePage",PjGebaeudestrukturBearbeitenPage:"PjGebaeudestrukturBearbeitenPage",PjGebaeudestrukturBauteilBearbeitenPage:"PjGebaeudestrukturBauteilBearbeitenPage",PjGebaeudestrukturGeschossBearbeitenPage:"PjGebaeudestrukturGeschossBearbeitenPage",PjGebaeudestrukturRaumBearbeitenPage:"PjGebaeudestrukturRaumBearbeitenPage",PjGebaeudestrukturRaumMarkierenPage:"PjGebaeudestrukturRaumMarkierenPage",PjFavoritenlistePage:"PjFavoritenlistePage",PJProjektbeteiligtelistePage:"PJProjektbeteiligtelistePage",PjEmailzentralePage:"PjEmailzentralePage",PjProtokollSendeberichtPage:"PjProtokollSendeberichtPage",PjFestlegungkategorieeditorPage:"PjFestlegungkategorieeditorPage",PjNotizenListePage:"PjNotizenListePage",PjAufgabenlistePage:"PjAufgabenlistePage",PjProtokolleListePage:"PjProtokolleListePage",PjFilebrowserPage:"PjFilebrowserPage",PjBaustelleLoplistePage:"PjBaustelleLoplistePage",PjBaustelleTagebuchlistePage:"PjBaustelleTagebuchlistePage",PjFestlegungslistePage:"PjFestlegungslistePage",PjPlanungsmatrixPage:"PjPlanungsmatrixPage",PjSimontabellelistePage:"PjSimontabellelistePage"},N={Person:"Person",Firma:"Firma"},O={Unbekannt:{Typnummer:0,Name:"Unbekannt",Color:"#ff6600"},Elektroinstallateur:{Typnummer:1,Name:"Elektroinstallateur",Color:"#ff6600"},Heizungsinstallateur:{Typnummer:2,Name:"Heizungsinstallateur",Color:"#ff6600"},Lueftungsinstallateur:{Typnummer:3,Name:"L\xfcftungsinstallateur",Color:"#ff6600"},Sanitaerinstallateur:{Typnummer:4,Name:"Sanit\xe4rinstallateur",Color:"#ff6600"},Rohbaufirma:{Typnummer:5,Name:"Rohbaufirma",Color:"#ff6600"},Tiefbaufirma:{Typnummer:6,Name:"Tiefbaufirma",Color:"#ff6600"},Blitschutzbauer:{Typnummer:7,Name:"Blitschutzbauer",Color:"#ff6600"},Dachdecker:{Typnummer:8,Name:"Dachdecker",Color:"#ff6600"},Zimmerei:{Typnummer:9,Name:"Zimmerei",Color:"#ff6600"},Schreiner:{Typnummer:10,Name:"Schreiner",Color:"#ff6600"},Medientechnik:{Typnummer:11,Name:"Medientechnik",Color:"#ff6600"},Fussbodenlegen:{Typnummer:12,Name:"Fu\xdfbodenlegen",Color:"#ff6600"},Estrichleger:{Typnummer:13,Name:"Estrichleger",Color:"#ff6600"},Fliesenleger:{Typnummer:14,Name:"Fliesenleger",Color:"#ff6600"},Foerderanlagenbauer:{Typnummer:15,Name:"F\xf6rderanlagenbauer",Color:"#ff6600"}},H={Anlagengruppe_1:{Nummer:1,Name:"Abwasser-, Wasser-, Gasanlagen"},Anlagengruppe_2:{Nummer:2,Name:"W\xe4rmeversorgungsanlagen"},Anlagengruppe_3:{Nummer:3,Name:"Luftechnische Anlagen"},Anlagengruppe_4:{Nummer:4,Name:"Starkstromanlage"},Anlagengruppe_5:{Nummer:5,Name:"Fernmelde- und informationstechnische Anlagen"},Anlagengruppe_6:{Nummer:6,Name:"F\xf6rderanlagen"},Anlagengruppe_7:{Nummer:7,Name:"Nutzerspezifische und verfahrenstechnische Anlagen"},Anlagengruppe_8:{Nummer:8,Name:"Geb\xe4ude- und Anlagenautomation"}},G={UNBEKANNT:"unbekannt",LPH1:"LPH1",LPH2:"LPH2",LPH3:"LPH3",LPH4:"LPH4",LPH5:"LPH5",LPH6:"LPH6",LPH7:"LPH7",LPH8:"LPH8"},te={Unbekannt:{Typnummer:0,Name:"Unbekannt",Kurzname:"Unbekannt",Color:"#ff6600"},Architekt:{Typnummer:1,Name:"Architekt",Kurzname:"Archtiekt",Color:"#ff6600"},Elektroplaner:{Typnummer:2,Name:"ELT Planungsb\xfcro",Kurzname:"ELT Planungsb\xfcro",Color:"#3771c8"},HLSplaner:{Typnummer:3,Name:"HLS Planungsb\xfcro",Kurzname:"HLS Planungsb\xfcro",Color:"#3771c8"},Fachplaner:{Typnummer:4,Name:"Fachplaner",Kurzname:"Fachplaner",Color:"#3771c8"},Tragwerksplaner:{Typnummer:5,Name:"Tragwerksplaner",Kurzname:"Tragwerksplaner",Color:"#3771c8"},Aussenanlagenarchitekt:{Typnummer:6,Name:"Au\xdfenanlagenarchitekt",Kurzname:"Au\xdfenanlagenarchitekt",Color:"#3771c8"},Bauherr:{Typnummer:7,Name:"Bauherr",Kurzname:"Bauherr",Color:"#008000"},Nutzer:{Typnummer:8,Name:"Nutzer",Kurzname:"Nutzer",Color:"#008000"},Pruefsachverstaendiger:{Typnummer:9,Name:"Pr\xfcfsachverst\xe4ndiger",Kurzname:"Pr\xfcfsachverst\xe4ndiger",Color:"#008000"},Projektsteurer:{Typnummer:10,Name:"Projektsteurer",Kurzname:"Projektsteurer",Color:"#008000"},Ausfuehrungsfirma:{Typnummer:11,Name:"Ausf\xfchrende Firma",Kurzname:"Ausf\xfchrende Firma",Color:"#008000"},Objektueberwacher:{Typnummer:12,Name:"Objekt\xfcberwacher",Kurzname:"O\xdc",Color:"#008000"},ITAbteilung:{Typnummer:13,Name:"IT - Abteilung",Kurzname:"IT",Color:"#008000"},Ausfuehrungsfirma_HLS:{Typnummer:14,Name:"Ausf\xfchrende Firma HLS",Kurzname:"HLS",Color:"#008000"},Ausfuehrungsfirma_ELT:{Typnummer:15,Name:"Elektroinstallation",Kurzname:"ELZ",Color:"#008000"},Ausfuehrungsfirma_BMA:{Typnummer:16,Name:"BMA Installation",Kurzname:"BMA",Color:"#008000"},Ausfuehrungsfirma_Blitzschutz:{Typnummer:17,Name:"Blitzschutzbauer",Kurzname:"Blitzschutzbaur",Color:"#008000"},Ausfuehrungsfirma_H:{Typnummer:18,Name:"Heizungsfirma",Kurzname:"Heizungsfirma",Color:"#008000"},Ausfuehrungsfirma_L:{Typnummer:19,Name:"L\xfcftungsinstallation",Kurzname:"L\xfcftung",Color:"#008000"},Ausfuehrungsfirma_S:{Typnummer:20,Name:"Sanit\xe4rinstallation",Kurzname:"Sanit\xe4r",Color:"#008000"},Ausfuehrungsfirma_Rohbau:{Typnummer:21,Name:"Rohbaufirma",Kurzname:"Rohbaufirma",Color:"#008000"},Ausfuehrungsfirma_Tiefbau:{Typnummer:22,Name:"Tiefbaufirma",Kurzname:"Tiefbaufirma",Color:"#008000"},Ausfuehrungsfirma_GALA:{Typnummer:23,Name:"GALA Baufirma",Kurzname:"GALA Baufirma",Color:"#008000"},Ausfuehrungsfirma_Aufzug:{Typnummer:24,Name:"Aufzugsfirma",Kurzname:"Aufzugsfirma",Color:"#008000"}},Z={Script:"Script",Sql:"Sql",Transaction:"Transaction",Firebase:"Firebase"},ee={Bearbeitung:"Bearbeitung",Abgeschlossen:"Abgeschlossen",Ruht:"Ruht"},we={Faellig:"Faellig",Ueberfaellig:"Uberfaellig",Nicht_faellig:"nicht faellig"},ye={Alle:"Alle",Heute:"Heute",Morgen:"Morgen",Zweitage:"2 Tage",Woche:"Woche",Naechstewoche:"N\xe4chste Woche",Zweiwochen:"2 Wochen",Vierwochen:"4 Wochen",Monat:"Monat",Gestern:"Gestern",Vorgestern:"Vorgestern",ZweitageVorher:"Letzten 2 Tage",WocheVorher:"Letzte Woche",ZweiwochenVorher:"Letzten 2 Wochen",MonatVorher:"Letzter Monat"},_e={Herr:"Herr",Frau:"Frau",Unbekannt:"Unbekannt"},Pe={Minuten:"Minuten",Stunden:"Stunden",Tage:"Tage"},Ze={Niedrig:{Statusnummer:0,Name:"Niedrig",Displayname:"Niedrig",Color:"#008000"},Mittel:{Statusnummer:1,Name:"Mittel",Displayname:"Mittel",Color:"orange"},Hoch:{Statusnummer:2,Name:"Hoch",Displayname:"Hoch",Color:"red"}},ot={Offen:{Statusnummer:0,Name:"Offen",Displayname:"Offen",Color:"#008080",LOPColor:"red"},Protokollpunkt:{Statusnummer:0,Name:"Protokollpunkt",Displayname:"Info",Color:"#34495E",LOPColor:"#307ac1"},Geschlossen:{Statusnummer:1,Name:"Geschlossen",Displayname:"Geschlossen",Color:"#008000",LOPColor:"#008000"},Bearbeitung:{Statusnummer:2,Name:"Bearbeitung",Displayname:"Bearbeitung",Color:"#616A6B",LOPColor:"#616A6B"},Ruecklauf:{Statusnummer:3,Name:"Ruecklauf",Displayname:"R\xfccklauf",Color:"#0020C2",LOPColor:"#0020C2"},Festlegung:{Statusnummer:4,Name:"Festlegung",Displayname:"Festlegung",Color:"#FF9333"}},mt={Nur_diese_Woche:"Nur diese Woche",Nur_diesen_Monat:"Nur diesen Monat",Seit_dem_Zeitpunkt:"Seit dem Zeitpunkt",Bis_zum_Zeitpunkt:"Bis zum Zeitpunkt",Zeitspanne:"Zeitspanne"},Qe={TermineAbsteigend:"TermineAbsteigend",TermineAufsteigend:"TermineAufsteigend"};h.ConstProvider=(()=>{class Xe{NONE="none";Pages=E;Fehlermeldungtypen=Z;Dialogmessages=e;Projektpunktstatustypen=ot;Zeitfilter=ye;Projektstatusvarianten=ee;Faelligkeitsstatus=we;Beteiligtentypen=te;Fachfirmentypen=O;Beteiligteneintragtypen=N;Anredevariante=_e;Zeitansatzeinheitvarianten=Pe;Faelligkeitsterminfiltervarianten=mt;AufgabenSortiermodusvarianten=Qe;Projektpunktprioritaetstypen=Ze;Leistungsphasenvarianten=G;Anlagengruppen=H;constructor(){}static \u0275fac=function(tn){return new(tn||Xe)};static \u0275prov=i.\u0275\u0275defineInjectable({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})()},97092:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseAuthenticationService=void 0;const i=o(81316),d=o(54496),a=o(9028),l=o(21112),e=o(80103),u=i.__importStar(o(17964)),c=i.__importStar(o(54496)),g=i.__importStar(o(34388)),v=i.__importStar(o(9028)),p=i.__importStar(o(29743)),S=i.__importStar(o(97048)),C=i.__importStar(o(56568)),_=i.__importStar(o(14476));h.DatabaseAuthenticationService=(()=>{class A{msalGuardConfig;Debug;authService;Const;http;router;domSanitizer;MSALService;LoginSuccessEvent=new d.EventEmitter;ActiveUser;SecurityEnabled;DevelopmentUser;ShowLogin;constructor(F,j,T,P,x,N,O,H){this.msalGuardConfig=F,this.Debug=j,this.authService=T,this.Const=P,this.http=x,this.router=N,this.domSanitizer=O,this.MSALService=H;try{this.SecurityEnabled=!0,this.ActiveUser=null,this.ShowLogin=!1,this.DevelopmentUser={environment:"",homeAccountId:"",localAccountId:"",tenantId:"",username:"peter.hornburger@b-a-e.eu",name:"Peter Hornburger"}}catch(G){this.Debug.ShowErrorMessage(G.message,"Database Authentication","constructor",this.Debug.Typen.Service)}}UnsetActiveUser(){try{this.Debug.ShowMessage("Unset Active User","Database Authentication","UnsetActiveUser",this.Debug.Typen.Service),this.ActiveUser=null,this.ShowLogin=!0}catch(F){this.Debug.ShowErrorMessage(F,"Database Authentication","UnsetActiveUser",this.Debug.Typen.Service)}}SetActiveUser(){var F=this;return n(function*(){try{let j,T;return F.Debug.ShowMessage("Set Active User started","Database Authentication","SetActiveUser",F.Debug.Typen.Service),new Promise(P=>{if(F.SecurityEnabled){if(j=F.MSALService.instance.getActiveAccount(),T=F.MSALService.instance.getAllAccounts(),!u.isUndefined(T)&&null!==T&&T.length>0)for(j of T)console.log(j.username);console.log(null!==j?j.username:"Account ist null"),null===j&&(F.Debug.ShowMessage("Active Account ist null","Database Authentication","SetActiveUser",F.Debug.Typen.Service),!u.isUndefined(T)&&null!==T&&T.length>0?(F.Debug.ShowMessage("Accountliste vorhanden","Database Authentication","SetActiveUser",F.Debug.Typen.Service),j=T[0]):F.Debug.ShowMessage("keine Accountlist vorhanden","Database Authentication","SetActiveUser",F.Debug.Typen.Service)),null!==j?(F.ActiveUser=j,P(!0)):(F.UnsetActiveUser(),P(!0))}else F.ActiveUser=F.DevelopmentUser,P(!0)})}catch(j){F.Debug.ShowErrorMessage(j,"Database Authentication","SetActiveUser",F.Debug.Typen.Service)}})()}SetShowLoginStatus(){try{let F="nothing",j=this.MSALService.instance.getAllAccounts();this.Debug.ShowMessage(F,"SetShowLoginStatus gestartet","SetShowLogin",this.Debug.Typen.Service),0===j.length?(this.ShowLogin=!0,console.log("Accountliste ist leer. LOGIN anzeigen.")):this.ShowLogin=!1,!1===this.SecurityEnabled&&(this.ShowLogin=!1),F=!0===this.ShowLogin?"Anmeldung anzeigen":"Hauptmenu anzeigen",this.Debug.ShowMessage(F,"Database Authentication","SetShowLogin",this.Debug.Typen.Service)}catch(F){this.Debug.ShowErrorMessage(F,"Database Authentication","SetShowLoginStatus",this.Debug.Typen.Service)}}RequestToken(F){var j=this;return n(function*(){try{const T={scopes:[F],account:j.ActiveUser};return new Promise((P,x)=>{j.authService.acquireTokenSilent(T).pipe((0,e.catchError)(N=>(N&&"login_required"===N.errorCode&&j.Login(),(0,e.of)(null!=N)))).subscribe(N=>{P(N.accessToken?N.accessToken:null)})})}catch(T){j.Debug.ShowErrorMessage(T,"Database Authentication","RequestToken",j.Debug.Typen.Service)}})()}Login(){try{this.SecurityEnabled&&(this.msalGuardConfig.interactionType===l.InteractionType.Popup?this.msalGuardConfig.authRequest?this.authService.loginPopup({...this.msalGuardConfig.authRequest}).subscribe(F=>{this.authService.instance.setActiveAccount(F.account)}):this.authService.loginPopup().subscribe(F=>{this.authService.instance.setActiveAccount(F.account)}):this.msalGuardConfig.authRequest?this.authService.loginRedirect({...this.msalGuardConfig.authRequest}):this.authService.loginRedirect())}catch(F){this.Debug.ShowErrorMessage(F,"Database Authentication","Login",this.Debug.Typen.Service)}}Logout(){try{this.msalGuardConfig.interactionType===l.InteractionType.Popup?this.authService.logoutPopup({postLogoutRedirectUri:"/",mainWindowRedirectUri:"/"}):this.authService.logoutRedirect({postLogoutRedirectUri:"/"}),this.ActiveUser=null}catch(F){this.Debug.ShowErrorMessage(F.message,"Database Authentication","Logout",this.Debug.Typen.Service)}}canLoad(F){try{return!0===this.CheckSecurity()?(this.Debug.ShowMessage("Database Authentication -> can load: "+F.path,"Security","canLoad",this.Debug.Typen.Service),!0):(this.Debug.ShowMessage("Database Authentication -> can not load: "+F.path,"Security","canLoad",this.Debug.Typen.Service),this.router.navigate([this.Const.Pages.HomePage]),!1)}catch(j){this.Debug.ShowErrorMessage(j.message,"Database Authentication","canLoad",this.Debug.Typen.Service)}}CheckSecurity(){try{return!0}catch(F){this.Debug.ShowErrorMessage(F.message,"Database Authentication","CheckSecurity",this.Debug.Typen.Service)}}static \u0275fac=function(j){return new(j||A)(c.\u0275\u0275inject(a.MSAL_GUARD_CONFIG),c.\u0275\u0275inject(g.DebugProvider),c.\u0275\u0275inject(v.MsalService),c.\u0275\u0275inject(p.ConstProvider),c.\u0275\u0275inject(S.HttpClient),c.\u0275\u0275inject(C.Router),c.\u0275\u0275inject(_.DomSanitizer),c.\u0275\u0275inject(v.MsalService))};static \u0275prov=c.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},51708:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseChangelogService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(97048),a=n.__importDefault(o(35908)),l=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(7992)),c=n.__importStar(o(29743)),g=n.__importStar(o(97048));h.DatabaseChangelogService=(()=>{class p{Debug;Pool;Const;http;ServerUrl;CurrentChangelog;constructor(C,_,f,y){this.Debug=C,this.Pool=_,this.Const=f,this.http=y;try{this.ServerUrl=this.Pool.CockpitdockerURL+"/changelog",this.CurrentChangelog=null}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Chnagelog","constructor",this.Debug.Typen.Service)}}GetChangelog(C){try{let _;return _=i.find(this.Pool.Changlogliste,{_id:C}),i.isUndefined(_)?"unbekannt":_.Beschreibung}catch(_){this.Debug.ShowErrorMessage(_.message,"Mitarbeiter Editor","GetChangelog",this.Debug.Typen.Component)}}GetEmptyChangelog(){try{return{_id:null,Beschreibung:"",Version:"",Zeitstempel:(0,a.default)().valueOf(),Deleted:!1}}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Chnagelog","GetEmptyChangelog",this.Debug.Typen.Service)}}AddChangelog(){try{let C,_;return new Promise((f,y)=>{C=this.http.post(this.ServerUrl,this.CurrentChangelog),C.subscribe({next:b=>{_=b.Changelog},complete:()=>{this.UpdateChangelogliste(_),this.Pool.ChangeloglisteChanged.emit(),f(!0)},error:b=>{y(b)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Chnagelog","AddChangelog",this.Debug.Typen.Service)}}UpdateChangelogliste(C){try{let _;_=i.findIndex(this.Pool.Changlogliste,{_id:this.CurrentChangelog._id}),-1!==_?(this.Pool.Changlogliste[_]=C,this.Debug.ShowMessage("Changelogliste updated: "+C.Version,"Database Changelog","UpdateChangelogliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Chnagelog nicht gefunden -> neues Changlog hinzuf\xfcgen","Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service),this.Pool.Changlogliste.unshift(C)),this.Pool.Changlogliste=i.filter(this.Pool.Changlogliste,f=>!1===f.Deleted)}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service)}}UpdateChangelog(){try{let C;return(new d.HttpParams).set("id",this.CurrentChangelog._id),new Promise((f,y)=>{C=this.http.put(this.ServerUrl,this.CurrentChangelog),C.subscribe({next:b=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),f(!0)},error:b=>{y(b)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Chnagelog","UpdateChangelog",this.Debug.Typen.Service)}}DeleteChangelog(){try{let C;return this.CurrentChangelog.Deleted=!0,new Promise((_,f)=>{C=this.http.put(this.ServerUrl,this.CurrentChangelog),C.subscribe({next:y=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),_(!0)},error:y=>{f(y)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Chnagelog","DeleteChangelog",this.Debug.Typen.Service)}}static \u0275fac=function(_){return new(_||p)(l.\u0275\u0275inject(e.DebugProvider),l.\u0275\u0275inject(u.DatabasePoolService),l.\u0275\u0275inject(c.ConstProvider),l.\u0275\u0275inject(g.HttpClient))};static \u0275prov=l.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},79052:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseOutlookemailService=void 0;const n=o(81316),i=o(97048),d=n.__importDefault(o(35908)),a=n.__importStar(o(54496)),l=n.__importStar(o(34388)),e=n.__importStar(o(29743)),u=n.__importStar(o(7992)),c=n.__importStar(o(97048));h.DatabaseOutlookemailService=(()=>{class v{Debug;Const;Pool;http;CurrentEmail;ServerUrl;ShowUngelesenOnly;Projektsortierung;Emaildatum;Heute;constructor(S,C,_,f){this.Debug=S,this.Const=C,this.Pool=_,this.http=f;try{this.CurrentEmail=null,this.ServerUrl=this.Pool.CockpitdockerURL+"/email",this.ShowUngelesenOnly=!0,this.Projektsortierung=!0,this.Heute=(0,d.default)(),this.Emaildatum=this.Heute.clone().subtract(10,"days")}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Outlookemail","constructor",this.Debug.Typen.Service)}}GetEmail(S){try{let C,_=new i.HttpParams({fromObject:{EmailID:S}}),f=new i.HttpHeaders({"content-type":"application/json"});return new Promise((y,b)=>{this.http.get(this.Pool.CockpitdockerURL+"/email",{headers:f,params:_}).subscribe({next:M=>{C=M},complete:()=>{y(C)},error:M=>{b(M)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Outlookemail","GetEmail",this.Debug.Typen.Service)}}AddEmail(){try{let S,C;return new Promise((_,f)=>{S=this.http.post(this.ServerUrl,this.CurrentEmail),S.subscribe({next:y=>{C=y.data},complete:()=>{_(C)},error:y=>{f(y)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Outlookemail","AddEmail",this.Debug.Typen.Service)}}UpdateEmail(){try{let S,C;return new Promise((_,f)=>{delete this.CurrentEmail.__v,S=this.http.put(this.ServerUrl,this.CurrentEmail),S.subscribe({next:y=>{C=y.Email},complete:()=>{null!==C?_(C):f(new Error("Email auf Server nicht gefunden."))},error:y=>{f(y)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Outlookemail","UpdateEmail",this.Debug.Typen.Service)}}DeleteEmail(){try{let S;return this.CurrentEmail.Deleted=!0,new Promise((C,_)=>{S=this.http.put(this.ServerUrl,this.CurrentEmail),S.subscribe({next:f=>{},complete:()=>{C(!0)},error:f=>{_(f)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Outlookemail","DeleteStandort",this.Debug.Typen.Service)}}static \u0275fac=function(C){return new(C||v)(a.\u0275\u0275inject(l.DebugProvider),a.\u0275\u0275inject(e.ConstProvider),a.\u0275\u0275inject(u.DatabasePoolService),a.\u0275\u0275inject(c.HttpClient))};static \u0275prov=a.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},22848:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseMitarbeiterService=void 0;const n=o(81316),i=n.__importDefault(o(35908)),d=n.__importStar(o(17964)),a=o(97048),l=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(97048)),c=n.__importStar(o(29743)),g=n.__importStar(o(7992));h.DatabaseMitarbeiterService=(()=>{class p{Debug;http;Const;Pool;CurrentMitarbeiter;CurrentMeinewoche;ServerMitarbeiterUrl;constructor(C,_,f,y){this.Debug=C,this.http=_,this.Const=f,this.Pool=y;try{this.ServerMitarbeiterUrl=this.Pool.CockpitdockerURL+"/mitarbeiter",this.CurrentMeinewoche=this.GetEmptyMeinewocheeintrag()}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Mitarbeiter","constructor",this.Debug.Typen.Service)}}ConvertGraphuserToMitarbeiter(C){try{let _,f,y;if(_=this.GetEmptyMitarbeiter(),null===C.surname&&(C.surname=""),null===C.givenName&&(C.givenName=""),null===C.jobTitle&&(C.jobTitle=""),null===C.officeLocation&&(C.officeLocation=""),null===C.mobilePhone&&(C.mobilePhone=""),f=d.isUndefined(C.jobTitle)?"":C.jobTitle,y=d.isUndefined(C.mobilePhone)?"":C.mobilePhone,_.UserID=C.id,_.Email=C.mail,_.Vorname=d.isUndefined(C.givenName)?"":C.givenName,_.Name=d.isUndefined(C.surname)?"":C.surname,_.Mobil=null===y?"":y,_.Jobtitel=null===f?"":f,!1===d.isUndefined(C.businessPhones)&&C.businessPhones.length>0&&(_.Telefon=C.businessPhones[0]),!1===d.isUndefined(C.officeLocation)&&null!==C.officeLocation){_.Location=null!==C.officeLocation?C.officeLocation:"";for(let M of this.Pool.Standorteliste)-1!==C.officeLocation.indexOf(M.Ort)&&(_.StandortID=M._id)}if(""===_.StandortID){let M=d.find(this.Pool.Standorteliste,{Ort:"Bamberg"});d.isUndefined(M)||(_.StandortID=M._id)}let b=null!==C.surname?C.surname.substring(0,2).toUpperCase():"",E=null!==C.givenName?C.givenName.substring(0,1).toUpperCase():"";return _.Kuerzel=b+""+E,_}catch(_){this.Debug.ShowErrorMessage(_,"Graph","ConvertGraphuserToMitarbeiter",this.Debug.Typen.Service)}}GetMeinewocheStunden(C){try{let _=0,f=0;for(let y of this.Pool.Mitarbeiterdaten.Meinewocheliste)switch(C){case"Montag":y.Montagseinsatz&&(_+=y.Montagsstunden,f+=y.Montagsminuten);break;case"Dienstag":y.Dienstagseinsatz&&(_+=y.Dienstagsstunden,f+=y.Dienstagsminuten);break;case"Mittwoch":y.Mittwochseinsatz&&(_+=y.Mittwochsstunden,f+=y.Mittwochsminuten);break;case"Donnerstag":y.Donnerstagseinsatz&&(_+=y.Donnerstagsstunden,f+=y.Donnerstagsminuten);break;case"Freitag":y.Freitagseinsatz&&(_+=y.Freitagsstunden,f+=y.Freitagsminuten)}return f+=60*_,0===f?"":"["+(f/60).toFixed(2)+" Std]"}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","GetMeinewocheStunden",this.Debug.Typen.Service)}}GetEmptyMeinewocheeintrag(){try{return{ProjektID:"",Projektkey:"",ProjektpunktID:"",Kalenderwoche:(0,i.default)().isoWeek(),Montagsstunden:0,Dienstagsstunden:0,Mittwochsstunden:0,Donnerstagsstunden:0,Freitagsstunden:0,Samstagsstunden:0,Montagsminuten:30,Dienstagsminuten:30,Mittwochsminuten:30,Donnerstagsminuten:30,Freitagsminuten:30,Samstagsminuten:30,Dienstagseinsatz:!1,Donnerstagseinsatz:!1,Freitagseinsatz:!1,Mittwochseinsatz:!1,Montagseinsatz:!1,Samstagseinsatz:!1}}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Mitarbeiter","GetEmptyMeinewoche",this.Debug.Typen.Service)}}GetEmptyMitarbeiter(){try{let C=(0,i.default)();return{_id:null,UserID:null,Anrede:this.Const.NONE,Urlaub:30,Location:"",Jobtitel:"",Vorname:"",Name:"",Kuerzel:"",Fachbereich:"Unbekannt",StandortID:"",Email:"",Mobil:"",SettingsID:null,Telefon:"",Zeitstring:C.format("HH:mm DD.MM.YYYY"),Zeitstempel:C.valueOf(),Deleted:!1,Planeradministrator:!1,Homeofficefreigaben:!1,Urlaubsfreigaben:!1,Favoritenliste:[],Meintagliste:[],Meinewocheliste:[],Archiviert:!1,Urlaubsliste:[]}}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Mitarbeiter","GetEmptyMitarbeiter",this.Debug.Typen.Service)}}GetMitarbeitername(C){try{let _=d.find(this.Pool.Mitarbeiterliste,{_id:C});return d.isUndefined(_)?"Unbekannt":_.Vorname+" "+_.Name}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","GetMitarbeitername",this.Debug.Typen.Service)}}InitService(){}FinishService(){}UpdateMitarbeiter(C){try{let _,y,f=new a.HttpParams;delete C.__v,f.set("id",C._id);for(let b of C.Urlaubsliste)b.Urlaubzeitspannen.sort((E,M)=>E.StartstempelM.Startstempel?1:0);return new Promise((b,E)=>{_=this.http.put(this.ServerMitarbeiterUrl,C),_.subscribe({next:M=>{y=M.Mitarbeiter},complete:()=>{null!==y?(this.CurrentMitarbeiter=y,this.Pool.Mitarbeiterdaten=y,this.Pool.MitarbeiterdatenChanged.emit(),this.UpdateMitarbeiterliste(this.CurrentMitarbeiter),this.Pool.MitarbeiterlisteChanged.emit()):E(new Error("Mitarbeiter auf Server nicht gefunden.")),b(!0)},error:M=>{E(M)}})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Page)}}UpdateMitarbeiterUrlaub(C){try{let _,y,f=new a.HttpParams;delete C.__v,f.set("id",C._id);for(let b of C.Urlaubsliste)b.Urlaubzeitspannen.sort((E,M)=>E.StartstempelM.Startstempel?1:0);return new Promise((b,E)=>{_=this.http.put(this.ServerMitarbeiterUrl,C),_.subscribe({next:M=>{y=M.Mitarbeiter},complete:()=>{null!==y?(this.UpdateMitarbeiterliste(y),this.Pool.MitarbeiterlisteChanged.emit(),b(!0)):E(new Error("Mitarbeiter auf Server nicht gefunden."))},error:M=>{E(M)}})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","UpdateMitarbeiterUrlaub",this.Debug.Typen.Page)}}UpdateMitarbeiterliste(C){try{let _;_=d.findIndex(this.Pool.Mitarbeiterliste,{_id:C._id}),-1!==_?(this.Pool.Mitarbeiterliste[_]=C,this.Debug.ShowMessage("Mitarbeiterliste updated: "+C.Name,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeiter nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Service),this.Pool.Mitarbeiterliste.push(C)),this.Pool.Mitarbeiterliste=d.filter(this.Pool.Mitarbeiterliste,f=>!1===f.Deleted)}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}AddMitarbeiter(C){try{let _,f;return new Promise((y,b)=>{console.log("POST new Mitarbeiter:"),console.log(C),_=this.http.post(this.ServerMitarbeiterUrl,C),_.subscribe({next:E=>{f=E.Mitarbeiter},complete:()=>{this.UpdateMitarbeiterliste(f),this.Pool.MitarbeiterlisteChanged.emit(),y(f)},error:E=>{b(E)}})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","AddMitarbeiter",this.Debug.Typen.Service)}}CheckMitarbeiterExists(C){try{return-1!==d.findIndex(this.Pool.Mitarbeiterliste,{Email:C})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","CheckMitarbeiterExists",this.Debug.Typen.Service)}}GetMitarbeiterByEmail(C){try{let _=d.find(this.Pool.Mitarbeiterliste,{Email:C});return d.isUndefined(_)?null:_}catch(_){this.Debug.ShowErrorMessage(_,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByID(C){try{let _=d.find(this.Pool.Mitarbeiterliste,{_id:C});return d.isUndefined(_)?null:_}catch(_){this.Debug.ShowErrorMessage(_,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByGraph(C){try{let _,y,f=new a.HttpParams({fromObject:{email:C}});return new Promise((b,E)=>{_=this.http.get(this.ServerMitarbeiterUrl,{params:f}),_.subscribe({next:M=>{y=M},complete:()=>{b(y)},error:M=>{E(M)}})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Standorte","SaveMitarbeiter",this.Debug.Typen.Service)}}DeleteMitarbeiter(C){try{return C.Deleted=!0,this.UpdateMitarbeiter(C)}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Standorte","DeleteMitarbeiter",this.Debug.Typen.Service)}}static \u0275fac=function(_){return new(_||p)(l.\u0275\u0275inject(e.DebugProvider),l.\u0275\u0275inject(u.HttpClient),l.\u0275\u0275inject(c.ConstProvider),l.\u0275\u0275inject(g.DatabasePoolService))};static \u0275prov=l.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},15024:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseMitarbeitersettingsService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(97048),a=n.__importStar(o(54496)),l=n.__importStar(o(34388)),e=n.__importStar(o(97048)),u=n.__importStar(o(7992));h.DatabaseMitarbeitersettingsService=(()=>{class g{Debug;http;Pool;ServerSettingsUrl;constructor(p,S,C){this.Debug=p,this.http=S,this.Pool=C;try{this.ServerSettingsUrl=this.Pool.CockpitdockerURL+"/settings/"}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeitersettings","constructor",this.Debug.Typen.Service)}}InitService(){}FinishService(){}SaveMitarbeitersettings(){let p;return new Promise((S,C)=>{null===this.Pool.Mitarbeitersettings._id?(p=this.http.post(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),p.subscribe({next:_=>{this.Pool.Mitarbeitersettings=_.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),S(this.Pool.Mitarbeitersettings)},error:_=>{C(_)}})):(delete this.Pool.Mitarbeitersettings.__v,p=this.http.put(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),p.subscribe({next:_=>{this.Pool.Mitarbeitersettings=_.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),S(this.Pool.Mitarbeitersettings)},error:_=>{C(_)}}))})}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Standorte","SaveMitarbeitersettings",this.Debug.Typen.Service)}UpdateMitarbeitersettings(p,S){try{let C,f;return(new d.HttpParams).set("id",p._id),null!==S&&null!==S.ProjektID&&(f=i.findIndex(p.Aufgabenansicht,{ProjektID:S.ProjektID}),-1===f&&p.Aufgabenansicht.push(S)),delete p.__v,new Promise((y,b)=>{C=this.http.put(this.ServerSettingsUrl,p),C.subscribe({next:E=>{this.Pool.Mitarbeitersettings=E.Settings},complete:()=>{this.Pool.MitarbeitersettingsChanged.emit(),this.UpdateMitarbeitersettingsliste(p),y(!0)},error:E=>{b(E)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Mitarbeitersettings","UpdateMitarbeiter",this.Debug.Typen.Page)}}UpdateMitarbeitersettingsliste(p){try{let S;S=i.findIndex(this.Pool.Mitarbeitersettingsliste,{_id:p._id}),-1!==S?(this.Pool.Mitarbeitersettingsliste[S]=p,this.Debug.ShowMessage("Mitarbeitersettingsliste updated: "+p.MitarbeiterID,"Database Mitarbeitersettings","UpdateMitarbeitersettingsliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeitersetting nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeitersettings","UpdateMitarbeitersettingsliste",this.Debug.Typen.Service),this.Pool.Mitarbeitersettingsliste.push(p)),this.Pool.Mitarbeitersettingsliste=i.filter(this.Pool.Mitarbeitersettingsliste,C=>!1===C.Deleted),this.Pool.MitarbeitersettingslisteChanged.emit()}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeitersettings","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}AddMitarbeitersetting(p){try{let S,C;return new Promise((_,f)=>{S=this.http.post(this.ServerSettingsUrl,p),S.subscribe({next:y=>{p=y.Setting},complete:()=>{this.UpdateMitarbeitersettingsliste(p),this.Pool.MitarbeitersettingslisteChanged.emit(),_(C)},error:y=>{f(y)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeitersettings","AddMitarbeiter",this.Debug.Typen.Page)}}static \u0275fac=function(S){return new(S||g)(a.\u0275\u0275inject(l.DebugProvider),a.\u0275\u0275inject(e.HttpClient),a.\u0275\u0275inject(u.DatabasePoolService))};static \u0275prov=a.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()},7992:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabasePoolService=void 0;const n=o(81316),i=o(54496),d=o(97048),a=o(16213),l=n.__importStar(o(17964)),e=o(36716),u=o(44180),c=n.__importStar(o(54496)),g=n.__importStar(o(34388)),v=n.__importStar(o(29743)),p=n.__importStar(o(14652)),S=n.__importStar(o(97048));h.DatabasePoolService=(()=>{class _{Debug;Const;Basics;Http;Standorteliste;Mitarbeiterliste;Projektpunkteliste;DeletedProjektpunkteliste;Protokollliste;Bautagebuchliste;LOPListe;Notizenkapitelliste;Mitarbeitersettingsliste;CockpitserverURL;CockpitdockerURL;Mitarbeiterdaten;Mitarbeiterstandort;Mitarbeitersettings;CurrentAufgabenansichten;ShowProgress;MaxProgressValue;CurrentProgressValue;ProgressMessage;Changlogliste;MitarbeiterdatenHasError;Emailcontent;Outlookkatekorien;Fachbereich;Festlegungskategorienliste;ProjektdatenLoaded;Emailcontentvarinaten;Simontabellenliste;StandortelisteChanged=new i.EventEmitter;MitarbeiterlisteChanged=new i.EventEmitter;MitarbeiterdatenChanged=new i.EventEmitter;MitarbeitersettingslisteChanged=new i.EventEmitter;MitarbeitersettingsChanged=new i.EventEmitter;LoadingAllDataFinished=new i.EventEmitter;ProjektpunktelisteChanged=new i.EventEmitter;ProjektpunktStatusChanged=new i.EventEmitter;ProjektpunktKostengruppeChanged=new i.EventEmitter;ProtokolllisteChanged=new i.EventEmitter;ProtokollprojektpunktChanged=new i.EventEmitter;LOPListeprojektpunktChanged=new i.EventEmitter;ProjektpunktChanged=new i.EventEmitter;ChangeloglisteChanged=new i.EventEmitter;BautagebuchlisteChanged=new i.EventEmitter;EmailempfaengerChanged=new i.EventEmitter;LOPListeChanged=new i.EventEmitter;MitarbeiterAuswahlChanged=new i.EventEmitter;BeteiligteAuswahlChanged=new i.EventEmitter;CurrentBeteiligtenChanged=new i.EventEmitter;NotizenkapitellisteChanged=new i.EventEmitter;CurrentLOPGewerkelisteChanged=new i.EventEmitter;FestlegungskategorienlisteChanged=new i.EventEmitter;CurrentFestlegungskategorieChanged=new i.EventEmitter;SimontabelleChanged=new i.EventEmitter;SimontabellenlisteChanged=new i.EventEmitter;Signatur;constructor(y,b,E,M){this.Debug=y,this.Const=b,this.Basics=E,this.Http=M;try{this.Emailcontentvarinaten={NONE:this.Const.NONE,Protokoll:"Protokoll",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",LOPListe:"LOPListe",Aufgabenliste:"Aufgabenliste",Simontabelle:"Simontabelle"},this.Mitarbeiterdaten=null,this.MitarbeiterdatenHasError=!0,this.Mitarbeitersettings=null,this.Mitarbeiterstandort=null,this.ShowProgress=!1,this.Mitarbeitersettingsliste=[],this.MaxProgressValue=0,this.CurrentProgressValue=0,this.Standorteliste=[],this.Mitarbeiterliste=[],this.Projektpunkteliste=[],this.Projektpunkteliste=[],this.Protokollliste=[],this.Changlogliste=[],this.Bautagebuchliste=[],this.LOPListe=[],this.Notizenkapitelliste=[],this.Outlookkatekorien=[],this.Simontabellenliste=[],this.CockpitserverURL=!0===e.environment.production?"https://bae-urlaubsplaner-server.azurewebsites.net":"http://localhost:8080",this.CockpitdockerURL=!0===e.environment.production?"https://bae-urlaubsplaner-docker.azurewebsites.net":"http://localhost:80",this.Emailcontent=this.Emailcontentvarinaten.NONE,this.Fachbereich=new u.Fachbereiche,this.CurrentAufgabenansichten=null,this.Festlegungskategorienliste=[],this.DeletedProjektpunkteliste=[],this.ProjektdatenLoaded=!1,this.Signatur='\n Beste Gr\xfc\xdfe,

\n [Name]
\n [Jobtitel]

\n
\n \n BAE-GmbH
\n Ein Unternehmen der BAE GROUP\n
\n \n \n \n \n \n \n \n
[Strasse]
[Ort]
Telefon:[Telefon]
Mobil:[Mobil]
Email:[Email]
Web:www.bae-group.eu
\n

\n \n BAE GmbH, Sitz: Coburg, Amtsgericht Coburg, HRB 6357.
\n Gesch\xe4ftsf\xfchrer J\xfcrgen Kerscher, Michael H\xf6lzle
\n Standorte BAE GROUP: Frankfurt, Berlin, M\xfcnchen, Coburg, Bamberg, Deggendorf, Sofia, Varna
\n
\n
\n \n \n \n \n \n \n \n
\n Der Inhalt dieser E-Mail ist ausschlie\xdflich f\xfcr den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen\n Vertreter sein sollten, so beachten Sie, dass jede Form der Kenntnis- und Vorteilsnahme, Ver\xf6ffentlichung, Vervielf\xe4ltigung oder Weitergabe des\n Inhalts dieser Mail unzul\xe4ssig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. Aussagen gegen\xfcber\n dem Adressaten unterliegen den Regelungen des zugrundeliegenden Angebotes bzw. Auftrags, insbesondere den Allgemeinen Auftragsbedingungen und der\n individuellen Haftungsvereinbarung. Der Inhalt der E-Mail ist nur rechtsverbindlich, wenn er unsererseits durch einen Brief entsprechend best\xe4tigt wird.\n Die Versendung von E-Mails an uns hat keine fristwahrende Wirkung. Wir m\xf6chten Sie au\xdferdem darauf hinweisen, dass die Kommunikation per E-Mail \xfcber das\n Internet unsicher ist, da f\xfcr unberechtigte Dritte grunds\xe4tzlich die M\xf6glichkeit der Kenntnisnahme und Manipulation besteht.\n
\n The information contained in this email is intended exclusively for the addressee. Access to this email by anyone else is unauthorized. If you are not\n the intended recipient or his representative, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it,\n is prohibited. Please notify the sender immediately. All statements directed via this email to our clients are subject to the conditions of the submitted\n offer respectively order, in particular to the General Terms and Conditions and to the individual liability agreement between the parties. The content of\n this email is not legally binding unless confirmed by letter. The sending of emails to us will not constitute compliance with any time limits or deadlines.\n Please note that communication via email over the internet is insecure because third parties generally have the possibility to access and manipulate emails.\n
\n \n \n \n \n \n
PThink about Nature before you print!
\n '}catch(A){this.Debug.ShowErrorMessage(A.message,"Database Pool","constructor",this.Debug.Typen.Service)}}GetFilledSignatur(y,b){try{let P,x,E=this.Signatur,M=y.Telefon,A=y.Mobil,I=y.Email,F=y.Vorname+" "+y.Name,j=y.Jobtitel,T=l.find(this.Standorteliste,{_id:y.StandortID});return l.isUndefined(T)||(P=T.Strasse,x=T.PLZ+" "+T.Ort,E=E.replace("[Strasse]",P),E=E.replace("[Ort]",x)),E=E.replace("[Name]",F),E=E.replace("[Jobtitel]",j),E=E.replace("[Telefon]",M),E=E.replace("[Mobil]",A),E=E.split("[Email]").join(I),E=E.split("[Image]").join(this.Basics.WebAppUrl+"/assets/images/group_logo.png"),E}catch(E){this.Debug.ShowErrorMessage(E,"Database Pool","GetFilledSignatur",this.Debug.Typen.Service)}}GetAufgabenansichten(y){try{let b;return null!==this.Mitarbeitersettings&&(b=l.find(this.Mitarbeitersettings.Aufgabenansicht,{ProjektID:y})),l.isUndefined(b)&&(b={ProjektID:y,AufgabenShowAusfuehrung:!0,AufgabenShowBearbeitung:!0,AufgabenShowBilder:!0,AufgabenShowGeschlossen:!1,AufgabenShowMeilensteinOnly:!1,AufgabenShowOffen:!0,AufgabenShowPlanung:!0,AufgabenShowRuecklauf:!0,AufgabenShowMeilensteine:!0,AufgabenShowPlanungsmatrix:!1}),b}catch(b){this.Debug.ShowErrorMessage(b,"Database Pool","GetAufgabenansichten",this.Debug.Typen.Service)}}ReadMitarbeiterliste(){try{this.Mitarbeiterliste=[];let y=new d.HttpHeaders({"content-type":"application/json"});return new Promise((b,E)=>{this.Http.get(this.CockpitdockerURL+"/mitarbeiter",{headers:y}).subscribe({next:A=>{this.Mitarbeiterliste=A},complete:()=>{for(let A of this.Mitarbeiterliste)A=this.InitMitarbeiter(A);this.MitarbeiterlisteChanged.emit(),b(!0)},error:A=>{console.log(A.message),console.log("Mitarbeiterliste lesen war fehlerhaft."),E(A)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","ReadMitarbeiterliste",this.Debug.Typen.Service)}}ReadChangelogliste(){try{this.Changlogliste=[];let y=new d.HttpHeaders({"content-type":"application/json"});return new Promise((b,E)=>{this.Http.get(this.CockpitdockerURL+"/changelog",{headers:y}).subscribe({next:A=>{this.Changlogliste=A},complete:()=>{this.Changlogliste.sort((A,I)=>A.Zeitstempel>I.Zeitstempel?-1:A.Zeitstempel{E(A)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","ReadChangelogliste",this.Debug.Typen.Service)}}ReadStandorteliste(){try{this.Standorteliste=[];let y=new d.HttpHeaders({"content-type":"application/json"});return new Promise((b,E)=>{this.Http.get(this.CockpitdockerURL+"/standorte",{headers:y}).subscribe({next:A=>{this.Standorteliste=A},complete:()=>{for(let A of this.Standorteliste)l.isUndefined(A.Konfession)&&(A.Konfession="RK"),l.isUndefined(A.Bundesland)&&(A.Bundesland="DE-BY"),l.isUndefined(A.Land)&&(A.Land="DE");this.StandortelisteChanged.emit(),b(!0)},error:A=>{E(A)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}ReadSettingsliste(){try{this.Mitarbeitersettingsliste=[];let y=new d.HttpHeaders({"content-type":"application/json"});return new Promise((b,E)=>{this.Http.get(this.CockpitdockerURL+"/settings",{headers:y}).subscribe({next:A=>{this.Mitarbeitersettingsliste=A},complete:()=>{this.MitarbeitersettingslisteChanged.emit(),b(!0)},error:A=>{E(A)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}InitMitarbeiter(y){try{l.isUndefined(y.SettingsID)&&(y.SettingsID=null),l.isUndefined(y.Archiviert)&&(y.Archiviert=!1),l.isUndefined(y.Meintagliste)&&(y.Meintagliste=[]),l.isUndefined(y.Meinewocheliste)&&(y.Meinewocheliste=[]),l.isUndefined(y.Anrede)&&(y.Anrede=this.Const.NONE),l.isUndefined(y.Urlaub)&&(y.Urlaub=30),l.isUndefined(y.Urlaubsliste)&&(y.Urlaubsliste=[]),l.isUndefined(y.Urlaubsfreigaben)&&(y.Urlaubsfreigaben=!1),l.isUndefined(y.Planeradministrator)&&(y.Planeradministrator=!1),l.isUndefined(y.Urlaubsfreigaben)&&(y.Urlaubsfreigaben=!1),l.isUndefined(y.Homeofficefreigaben)&&(y.Homeofficefreigaben=!1);for(let b of y.Meinewocheliste)l.isUndefined(b.Kalenderwoche)&&(b.Kalenderwoche=0);return y.Urlaubsliste.sort((b,E)=>b.JahrE.Jahr?1:0),y}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Pool","InitMitarbeiter",this.Debug.Typen.Service)}}CheckMitarbeiterdaten(){try{return this.MitarbeiterdatenHasError=null===this.Mitarbeiterdaten,this.MitarbeiterdatenHasError}catch(y){this.Debug.ShowErrorMessage(y,"Database Pool","CheckMItarbeiterdaten",this.Debug.Typen.Service)}}GetNewUniqueID(){try{return(0,a.v4)()}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","GetNewUniqueID",this.Debug.Typen.Service)}}GetNewMitarbeitersettings(){try{return{_id:null,MitarbeiterID:null,FavoritenID:null,ProjektID:null,Favoritprojektindex:null,Zoomfaktor:100,Textsize:14,StandortFilter:null,LeistungsphaseFilter:this.Const.Leistungsphasenvarianten.UNBEKANNT,Aufgabenansicht:[],Deleted:!1,HeadermenueMaxFavoriten:6,AufgabenSortiermodus:this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend,AufgabenMeilensteineNachlauf:2,AufgabenShowMeilensteine:!0,AufgabenShowNummer:!1,AufgabenShowStartdatum:!1,AufgabenShowAufgabe:!0,AufgabenShowBemerkung:!0,AufgabenShowTage:!0,AufgabenShowTermin:!0,AufgabenShowStatus:!0,AufgabenShowFortschritt:!1,AufgabenShowZustaendig:!0,AufgabenShowMeintag:!0,AufgabenShowZeitansatz:!1,AufgabenShowMeinewoche:!0,UrlaubShowBeantragt:!0,UrlaubShowVertreterfreigabe:!0,UrlaubShowGenehmigt:!0,UrlaubShowAbgelehnt:!0,UrlaubShowFerien_DE:!0,UrlaubShowFeiertage_DE:!0,UrlaubShowFerien_BG:!0,UrlaubShowFeiertage_BG:!0,UrlaubShowMeinenUrlaub:!0,ShowHomeoffice:!0,OberkostengruppeFilter:null,HauptkostengruppeFilter:null,UnterkostengruppeFilter:null,AufgabenTerminfiltervariante:null,AufgabenTerminfilterStartwert:null,AufgabenTerminfilterEndewert:null,LOPListeGeschlossenZeitfilter:14}}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","GetNewMitarbeitersettings",this.Debug.Typen.Service)}}InitMitarbeitersettings(){try{let y;return null===this.Mitarbeiterdaten.SettingsID?this.GetNewMitarbeitersettings():(y=l.find(this.Mitarbeitersettingsliste,{_id:this.Mitarbeiterdaten.SettingsID}),l.isUndefined(y)?this.GetNewMitarbeitersettings():(l.isUndefined(y.Favoritprojektindex)&&(y.Favoritprojektindex=3e3),l.isUndefined(y.HeadermenueMaxFavoriten)&&(y.HeadermenueMaxFavoriten=6),l.isUndefined(y.Zoomfaktor)&&(y.Zoomfaktor=100),l.isUndefined(y.Textsize)&&(y.Textsize=14),l.isUndefined(y.Deleted)&&(y.Deleted=!1),l.isUndefined(y.AufgabenShowNummer)&&(y.AufgabenShowNummer=!0),l.isUndefined(y.AufgabenShowStartdatum)&&(y.AufgabenShowStartdatum=!0),l.isUndefined(y.AufgabenShowAufgabe)&&(y.AufgabenShowAufgabe=!0),l.isUndefined(y.AufgabenShowBemerkung)&&(y.AufgabenShowBemerkung=!0),l.isUndefined(y.AufgabenShowTage)&&(y.AufgabenShowTage=!0),l.isUndefined(y.AufgabenShowTermin)&&(y.AufgabenShowTermin=!0),l.isUndefined(y.AufgabenShowStatus)&&(y.AufgabenShowStatus=!0),l.isUndefined(y.AufgabenShowFortschritt)&&(y.AufgabenShowFortschritt=!0),l.isUndefined(y.AufgabenShowZustaendig)&&(y.AufgabenShowZustaendig=!0),l.isUndefined(y.AufgabenShowMeintag)&&(y.AufgabenShowMeintag=!0),l.isUndefined(y.AufgabenShowZeitansatz)&&(y.AufgabenShowZeitansatz=!0),l.isUndefined(y.AufgabenShowMeinewoche)&&(y.AufgabenShowMeinewoche=!0),l.isUndefined(y.Aufgabenansicht)&&(y.Aufgabenansicht=[]),l.isUndefined(y.AufgabenTerminfiltervariante)&&(y.AufgabenTerminfiltervariante=null),l.isUndefined(y.AufgabenTerminfilterStartwert)&&(y.AufgabenTerminfilterStartwert=null),l.isUndefined(y.AufgabenTerminfilterEndewert)&&(y.AufgabenTerminfilterEndewert=null),l.isUndefined(y.AufgabenSortiermodus)&&(y.AufgabenSortiermodus=this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend),l.isUndefined(y.AufgabenMeilensteineNachlauf)&&(y.AufgabenMeilensteineNachlauf=2),l.isUndefined(y.LOPListeGeschlossenZeitfilter)&&(y.LOPListeGeschlossenZeitfilter=14),l.isUndefined(y.LeistungsphaseFilter)&&(y.LeistungsphaseFilter=this.Const.Leistungsphasenvarianten.UNBEKANNT),l.isUndefined(y.OberkostengruppeFilter)&&(y.OberkostengruppeFilter=null),l.isUndefined(y.UnterkostengruppeFilter)&&(y.UnterkostengruppeFilter=null),l.isUndefined(y.HauptkostengruppeFilter)&&(y.HauptkostengruppeFilter=null),l.isUndefined(y.UrlaubShowBeantragt)&&(y.UrlaubShowBeantragt=!0),l.isUndefined(y.UrlaubShowVertreterfreigabe)&&(y.UrlaubShowVertreterfreigabe=!0),l.isUndefined(y.UrlaubShowGenehmigt)&&(y.UrlaubShowGenehmigt=!0),l.isUndefined(y.UrlaubShowAbgelehnt)&&(y.UrlaubShowAbgelehnt=!0),l.isUndefined(y.UrlaubShowFerien_DE)&&(y.UrlaubShowFerien_DE=!0),l.isUndefined(y.UrlaubShowFerien_BG)&&(y.UrlaubShowFerien_BG=!0),l.isUndefined(y.UrlaubShowFeiertage_DE)&&(y.UrlaubShowFeiertage_DE=!0),l.isUndefined(y.UrlaubShowFeiertage_BG)&&(y.UrlaubShowFeiertage_BG=!0),l.isUndefined(y.UrlaubShowMeinenUrlaub)&&(y.UrlaubShowMeinenUrlaub=!0),l.isUndefined(y.ShowHomeoffice)&&(y.ShowHomeoffice=!0),this.CurrentAufgabenansichten=this.GetAufgabenansichten(null),y))}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","InitMitarbeitersettings",this.Debug.Typen.Service)}}static \u0275fac=function(b){return new(b||_)(c.\u0275\u0275inject(g.DebugProvider),c.\u0275\u0275inject(v.ConstProvider),c.\u0275\u0275inject(p.BasicsProvider),c.\u0275\u0275inject(S.HttpClient))};static \u0275prov=c.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},58864:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseStandorteService=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),a=o(97048),l=n.__importDefault(o(35908)),e=o(16213),u=n.__importStar(o(54496)),c=n.__importStar(o(34388)),g=n.__importStar(o(7992)),v=n.__importStar(o(29743)),p=n.__importStar(o(97048));h.DatabaseStandorteService=(()=>{class C{Debug;Pool;Const;http;CurrentStandort;CurrentStandortfilter;StandortfilterChanged=new i.EventEmitter;ServerUrl;constructor(f,y,b,E){this.Debug=f,this.Pool=y,this.Const=b,this.http=E;try{this.CurrentStandort=null,this.CurrentStandortfilter=null,this.ServerUrl=this.Pool.CockpitdockerURL+"/standorte"}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Standorte","constructor",this.Debug.Typen.Service)}}InitService(){try{let f;null!==this.Pool.Mitarbeiterdaten&&this.Pool.Mitarbeitersettings.StandortFilter!==this.Const.NONE?(f=d.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeitersettings.StandortFilter}),f&&(this.CurrentStandortfilter=d.cloneDeep(f))):this.CurrentStandortfilter=null,null!==this.Pool.Mitarbeiterdaten?(f=d.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeiterdaten.StandortID}),!1===d.isUndefined(f)&&(this.Pool.Mitarbeiterstandort=f)):this.Pool.Mitarbeiterstandort=null,this.StandortfilterChanged.emit()}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","InitService",this.Debug.Typen.Service)}}FinishService(){}GetStandort(f){try{let y;return y=d.find(this.Pool.Standorteliste,{_id:f}),d.isUndefined(y)?"unbekannt":y.Kuerzel+" - "+y.Ort}catch(y){this.Debug.ShowErrorMessage(y.message,"Mitarbeiter Editor","GetStandort",this.Debug.Typen.Component)}}GetEmptyStandort(){try{let f=(0,l.default)();return{_id:null,Standort:"",Kuerzel:"",Strasse:"",PLZ:"",Ort:"",Telefon:"",Email:"",Deleted:!1,Bundesland:"DE-BY",Konfession:"RK",Land:"DE",Zeitstempel:f.valueOf(),Zeitpunkt:f.format("DD.MM.YYYY")}}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","GetEmptyStandort",this.Debug.Typen.Service)}}GetUniqueStandortID(){try{let f=this.CurrentStandort.Kuerzel;return f=f.replace(/ /g,"_"),f=f.replace(/-/g,"_"),f=f.replace(/./g,"_"),f+"_"+(0,e.v4)()}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","GetUniqueStandortID",this.Debug.Typen.Service)}}AddStandort(){try{let f,y;return new Promise((b,E)=>{f=this.http.post(this.ServerUrl,this.CurrentStandort),f.subscribe({next:M=>{y=M.data},complete:()=>{this.UpdateStandortliste(y),this.Pool.StandortelisteChanged.emit(),b(!0)},error:M=>{E(M)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","AddStandort",this.Debug.Typen.Service)}}UpdateStandortliste(f){try{let y;y=d.findIndex(this.Pool.Standorteliste,{_id:this.CurrentStandort._id}),-1!==y?(this.Pool.Standorteliste[y]=f,this.Debug.ShowMessage("Standortliste updated: "+f.Standort,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Standort nicht gefunden -> neuen Standort hinzuf\xfcgen","Database Standorte","UpdateStandortliste",this.Debug.Typen.Service),this.Pool.Standorteliste.push(f)),this.Pool.Standorteliste=d.filter(this.Pool.Standorteliste,b=>!1===b.Deleted)}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)}}UpdateStandort(){try{let f;return(new a.HttpParams).set("id",this.CurrentStandort._id),new Promise((b,E)=>{f=this.http.put(this.ServerUrl,this.CurrentStandort),f.subscribe({next:M=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),b(!0)},error:M=>{E(M)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","UpdateStandort",this.Debug.Typen.Service)}}DeleteStandort(){try{let f;return this.CurrentStandort.Deleted=!0,new Promise((y,b)=>{f=this.http.put(this.ServerUrl,this.CurrentStandort),f.subscribe({next:E=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),y(!0)},error:E=>{b(E)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","DeleteStandort",this.Debug.Typen.Service)}}GetStandortfiller(){try{return null===this.CurrentStandortfilter?"kein Standortfilter":this.CurrentStandortfilter.Kuerzel+" / "+this.CurrentStandortfilter.Ort}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","GetStandortfiller",this.Debug.Typen.Service)}}static \u0275fac=function(y){return new(y||C)(u.\u0275\u0275inject(c.DebugProvider),u.\u0275\u0275inject(g.DatabasePoolService),u.\u0275\u0275inject(v.ConstProvider),u.\u0275\u0275inject(p.HttpClient))};static \u0275prov=u.\u0275\u0275defineInjectable({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},9544:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseUrlaubService=void 0;const i=o(81316),d=o(54496),a=i.__importStar(o(17964)),l=i.__importDefault(o(35908)),e=i.__importStar(o(54496)),u=i.__importStar(o(34388)),c=i.__importStar(o(7992)),g=i.__importStar(o(29743)),v=i.__importStar(o(8608)),p=i.__importStar(o(22848)),S=i.__importStar(o(14652)),C=i.__importStar(o(97048));h.DatabaseUrlaubService=(()=>{class f{Debug;Pool;Const;Graph;DBMitarbeiter;Basics;http;PlanungsmonateChanged=new d.EventEmitter;ExterneUrlaubeChanged=new d.EventEmitter;ExterneHomeofficeChanged=new d.EventEmitter;UrlaubStatusChanged=new d.EventEmitter;HomeofficeStatusChanged=new d.EventEmitter;Bundeslandkuerzel;Bundesland;Regionenliste;Jahr;Feiertageliste;Ferienliste;CurrentUrlaub;UrlaublisteExtern;CurrentMonatindex;LastMonatIndex;FirstMonatIndex;Laendercode;ShowFeiertage_DE;ShowFeiertage_BG;ShowFerientage_DE;ShowFerientage_BG;Ferienfarbe_DE;Ferienfarbe_BG;Feiertagefarbe_DE;Feiertagefarbe_BG;CurrentUrlaubzeitspanne;CurrentHomeofficezeitspanne;Monateliste;ServerReadfeiertageUrl;ServerReadRegionenUrl;ServerReadFerienUrl;Vertretrungliste;Urlaubfreigabenliste;Homeofficefreigabenliste;Vertretungsanfragenanzahl;Vertretungsantwortenanzahl;Freigabenanfragenanzahl;Freigabenantwortenanzahl;Urlaubsanfragenanzahl;Homeofficeanfragenanzahl;Homeofficantwortenanzahl;Antwortenanzahl;CorrectSetup;Officeemailadress;CurrentMitarbeiter;Urlaubstatusvarianten={Geplant:"Geplant",Vertreterablehnung:"Vertreterablehnung",Vertreteranfrage:"Vertreteranfrage",Vertreterfreigabe:"Vertreterfreigabe",Abgelehnt:"Abgelehnt",Genehmigt:"Genehmigt",Feiertag:"Feiertag",Ferientag:"Ferientag"};Homeofficestatusvarianten={Geplant:"Geplant",Freigabeanfrage:"Freigabeanfrage",Abgelehnt:"Abgelehnt",Genehmigt:"Genehmigt",Feiertag:"Feiertag",Ferientag:"Ferientag"};Urlaubsfaben={Geplant:"#307ac1",Vertreterfreigabe:"orange",Vertreteranfrage:"#04B4AE",Vertreterablehnung:"#8A0886",Abgelehnt:"red",Genehmigt:"green",Ferien_DE:"#999999",Ferien_BG:"#999999",Feiertage_DE:"#454545",Feiertage_BG:"#454545",Wochenende:"#34495E"};Homeofficefarben={Geplant:"#307ac1",Freigabeanfrage:"#04B4AE",Abgelehnt:"red",Genehmigt:"green"};constructor(b,E,M,A,I,F,j){this.Debug=b,this.Pool=E,this.Const=M,this.Graph=A,this.DBMitarbeiter=I,this.Basics=F,this.http=j;try{this.ServerReadfeiertageUrl=this.Pool.CockpitdockerURL+"/readfeiertage",this.ServerReadFerienUrl=this.Pool.CockpitdockerURL+"/readferien",this.ServerReadRegionenUrl=this.Pool.CockpitdockerURL+"/readregionen",this.CurrentUrlaub=null,this.Jahr=(0,l.default)().year(),this.Bundeslandkuerzel="DE-BY",this.Bundesland="",this.Feiertageliste=[],this.Ferienliste=[],this.Urlaubfreigabenliste=[],this.Homeofficefreigabenliste=[],this.CurrentMonatindex=(0,l.default)().month(),this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1,this.CurrentUrlaubzeitspanne=null,this.CurrentUrlaubzeitspanne=null,this.Laendercode="DE",this.ShowFeiertage_DE=!1,this.ShowFeiertage_BG=!1,this.ShowFerientage_DE=!1,this.ShowFerientage_BG=!1,this.Ferienfarbe_DE=this.Const.NONE,this.Feiertagefarbe_DE=this.Const.NONE,this.UrlaublisteExtern=[],this.Vertretrungliste=[],this.Urlaubsanfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Homeofficeanfragenanzahl=0,this.Homeofficantwortenanzahl=0,this.CurrentMitarbeiter=null,this.CorrectSetup=!1,this.Officeemailadress="office@b-a-e.eu",this.Monateliste=["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]}catch(T){this.Debug.ShowErrorMessage(T.message,"Database Urlaub","constructor",this.Debug.Typen.Service)}}SetMitarbeiter(b){try{this.CurrentMitarbeiter=a.cloneDeep(b)}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","SetMitarbeiter",this.Debug.Typen.Service)}}CheckSetup(){try{this.CorrectSetup=null!==this.CurrentUrlaub&&null!==this.CurrentMitarbeiter&&null!==this.CurrentUrlaub.UrlaubsfreigeberID&&null!==this.CurrentUrlaub.HomeofficefreigeberID&&this.CurrentUrlaub.Projektbeteiligteliste.length>0}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CheckSetup",this.Debug.Typen.Service)}}GetFreigabenliste(){try{let b,E,M;if(this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Urlaubfreigabenliste=[],this.Homeofficefreigabenliste=[],null!==this.CurrentMitarbeiter)for(let A of this.Pool.Mitarbeiterliste){if(A._id!==this.CurrentMitarbeiter._id&&(b=a.find(A.Urlaubsliste,I=>I.Jahr===this.Jahr&&I.UrlaubsfreigeberID===this.CurrentMitarbeiter._id),!a.isUndefined(b))){E=!1,M=!1;for(let I of b.Urlaubzeitspannen)I=this.InitZeitspanne(I),!0===this.CheckUrlaubFreigabeanwortAge(I)&&(I.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||I.Status===this.Urlaubstatusvarianten.Abgelehnt||I.Status===this.Urlaubstatusvarianten.Genehmigt)&&a.isUndefined(a.find(this.Urlaubfreigabenliste,{_id:A._id}))&&(this.Urlaubfreigabenliste.push(A),I.Status===this.Urlaubstatusvarianten.Vertreterfreigabe?E=!0:M=!0);!0===E&&(this.Urlaubsanfragenanzahl++,this.Freigabenanfragenanzahl++),!0===M&&(this.Antwortenanzahl++,this.Freigabenantwortenanzahl++)}if(b=a.find(A.Urlaubsliste,I=>I.Jahr===this.Jahr&&I.HomeofficefreigeberID===this.CurrentMitarbeiter._id),!a.isUndefined(b))for(let I of b.Homeofficezeitspannen)E=!1,M=!1,!0===this.CheckHomeofficeFreigabeanwortAge(I)&&(I.Status===this.Homeofficestatusvarianten.Freigabeanfrage||I.Status===this.Homeofficestatusvarianten.Abgelehnt||I.Status===this.Homeofficestatusvarianten.Genehmigt)&&a.isUndefined(a.find(this.Homeofficefreigabenliste,{_id:A._id}))&&(this.Homeofficefreigabenliste.push(A),I.Status===this.Homeofficestatusvarianten.Freigabeanfrage?E=!0:M=!0),!0===E&&this.Homeofficeanfragenanzahl++,!0===M&&this.Homeofficantwortenanzahl++}}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","GetFreigabenliste",this.Debug.Typen.Service)}}ResetRequest(b,E){var M=this;return n(function*(){try{if(null!==E){for(let I of E.Urlaubzeitspannen)I.Status=M.Urlaubstatusvarianten.Geplant,I.VertreterantwortSended=!1,I.Vertretungmeldung="",I.Planungmeldung="",I.Vertretungantwortzeitstempel=null;let A=a.findIndex(b.Urlaubsliste,{Jahr:M.Jahr});b.Urlaubsliste[A]=E,yield M.DBMitarbeiter.UpdateMitarbeiterUrlaub(b)}}catch(A){M.Debug.ShowErrorMessage(A,"Database Urlaub","ResetRequest",M.Debug.Typen.Service)}})()}CheckVertretungsanwortAge(b){try{let M,A,E=(0,l.default)().locale("de");return b.VertreterID!==this.CurrentMitarbeiter._id||!0!==b.VertreterantwortSended||b.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&b.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||null!==b.Vertretungantwortzeitstempel&&(M=(0,l.default)(b.Vertretungantwortzeitstempel).locale("de"),A=l.default.duration(E.diff(M)).asMinutes(),A<=180)}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckVertretungsanwortAge",this.Debug.Typen.Service)}}CheckUrlaubFreigabeanwortAge(b){try{let M,A,E=(0,l.default)().locale("de");return!0!==b.FreigabeantwortSended||b.Status!==this.Urlaubstatusvarianten.Genehmigt&&b.Status!==this.Urlaubstatusvarianten.Abgelehnt||null!==b.Freigabeantwortzeitstempel&&(M=(0,l.default)(b.Freigabeantwortzeitstempel).locale("de"),A=l.default.duration(E.diff(M)).asMinutes(),A<=180)}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckUrlaubFreigabeanwortAge",this.Debug.Typen.Service)}}CheckHomeofficeFreigabeanwortAge(b){try{let M,A,E=(0,l.default)().locale("de");return!0!==b.FreigabeantwortSended||b.Status!==this.Homeofficestatusvarianten.Genehmigt&&b.Status!==this.Homeofficestatusvarianten.Abgelehnt||null!==b.Freigabeantwortzeitstempel&&(M=(0,l.default)(b.Freigabeantwortzeitstempel).locale("de"),A=l.default.duration(E.diff(M)).asMinutes(),A<=180)}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckHomeofficeFreigabeanwortAge",this.Debug.Typen.Service)}}GetVertretungsanwortAge(b){try{let M,A,E=(0,l.default)().locale("de");return b.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&b.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||!0!==b.VertreterantwortSended||null===b.Vertretungantwortzeitstempel?0:(M=(0,l.default)(b.Vertretungantwortzeitstempel).locale("de"),A=l.default.duration(E.diff(M)).asMinutes(),A)}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetVertretungsanwortAge",this.Debug.Typen.Service)}}GetVertretungenliste(){try{let b,E,M,A;if(this.Vertretrungliste=[],this.Vertretungsantwortenanzahl=0,this.Vertretungsanfragenanzahl=0,null!==this.CurrentMitarbeiter)for(let I of this.Pool.Mitarbeiterliste)if(I._id!==this.CurrentMitarbeiter._id&&(b=a.find(I.Urlaubsliste,{Jahr:this.Jahr}),!a.isUndefined(b))){M=!1,A=!1;for(let F of b.Urlaubzeitspannen)F=this.InitZeitspanne(F),F.VertreterID===this.CurrentMitarbeiter._id&&!0===this.CheckVertretungsanwortAge(F)&&(F.Status===this.Urlaubstatusvarianten.Vertreteranfrage||F.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||F.Status===this.Urlaubstatusvarianten.Vertreterablehnung)&&(F.Status===this.Urlaubstatusvarianten.Vertreteranfrage?M=!0:A=!0,E=a.find(this.Vertretrungliste,{_id:I._id}),a.isUndefined(E)&&this.Vertretrungliste.push(I));!0===M&&(this.Vertretungsanfragenanzahl++,this.Urlaubsanfragenanzahl++),!0===A&&(this.Vertretungsantwortenanzahl++,this.Antwortenanzahl++)}}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","GetVertretungenliste",this.Debug.Typen.Service)}}GetUrlaubStatuscolor(b){try{let E="none";switch(b){case this.Urlaubstatusvarianten.Geplant:E=this.Urlaubsfaben.Geplant;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:E=this.Urlaubsfaben.Vertreterfreigabe;break;case this.Urlaubstatusvarianten.Vertreterablehnung:E=this.Urlaubsfaben.Vertreterablehnung;break;case this.Urlaubstatusvarianten.Vertreteranfrage:E=this.Urlaubsfaben.Vertreteranfrage;break;case this.Urlaubstatusvarianten.Genehmigt:E=this.Urlaubsfaben.Genehmigt;break;case this.Urlaubstatusvarianten.Abgelehnt:E=this.Urlaubsfaben.Abgelehnt;break;default:E="#00FFFF"}return E}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetUrlaubStatuscolor",this.Debug.Typen.Page)}}GetHomeofficeStatuscolor(b){try{let E="none";switch(b){case this.Homeofficestatusvarianten.Geplant:E=this.Homeofficefarben.Geplant;break;case this.Homeofficestatusvarianten.Freigabeanfrage:E=this.Homeofficefarben.Freigabeanfrage;break;case this.Homeofficestatusvarianten.Genehmigt:E=this.Homeofficefarben.Genehmigt;break;case this.Homeofficestatusvarianten.Abgelehnt:E=this.Homeofficefarben.Abgelehnt;break;default:E="#00FFFF"}return E}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetHomeofficeStatuscolor",this.Debug.Typen.Page)}}UpdateVertreteranfragen(){var b=this;return n(function*(){try{let M,T,E=1,A=(0,l.default)(),I=[],F=[],j=[];for(let x of b.CurrentUrlaub.Urlaubzeitspannen)x.Status===b.Urlaubstatusvarianten.Geplant&&null!==x.VertreterID&&-1===a.indexOf(I,x.VertreterID)&&(E++,I.push(x.VertreterID));for(let x of I)if(F=[],M=a.find(b.Pool.Mitarbeiterliste,{_id:x}),!a.isUndefined(M)){for(let N of b.CurrentUrlaub.Urlaubzeitspannen)N.Status===b.Urlaubstatusvarianten.Geplant&&N.VertreterID===x&&(F.push(N),N.Status=b.Urlaubstatusvarianten.Vertreteranfrage,N.Planungmeldung=A.format("DD.MM.YYYY")+" Vertretungsanfrage wurde an "+M.Vorname+" "+M.Name+" gesendet.");F=yield b.SendVertreteranfragen(b.CurrentMitarbeiter,M,F),j=j.concat(F)}for(let x of j)T=a.findIndex(b.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:x.ZeitspannenID}),b.CurrentUrlaub.Urlaubzeitspannen[T]=x;let P=a.findIndex(b.CurrentMitarbeiter.Urlaubsliste,{Jahr:b.Jahr});b.CurrentMitarbeiter.Urlaubsliste[P]=b.CurrentUrlaub,yield b.DBMitarbeiter.UpdateMitarbeiterUrlaub(b.CurrentMitarbeiter),b.UrlaubStatusChanged.emit()}catch(E){b.Debug.ShowErrorMessage(E,"Database Urlaub","UpdateVertreteranfragen",b.Debug.Typen.Service)}})()}UpdateHomeofficefreigabeanfragen(){var b=this;return n(function*(){try{let E,I,M=[],A=[];E=a.find(b.Pool.Mitarbeiterliste,{_id:b.CurrentUrlaub.UrlaubsfreigeberID}),M=[];for(let j of b.CurrentUrlaub.Homeofficezeitspannen)j.Status===b.Homeofficestatusvarianten.Geplant?(j.Status=b.Homeofficestatusvarianten.Freigabeanfrage,A.push(j)):M.push(j);A=yield b.SendHomeofficefreigabeanfrage(b.CurrentMitarbeiter,E,A),M=M.concat(A);for(let j of M)I=a.findIndex(b.CurrentUrlaub.Homeofficezeitspannen,{ZeitspannenID:j.ZeitspannenID}),b.CurrentUrlaub.Homeofficezeitspannen[I]=j;let F=a.findIndex(b.CurrentMitarbeiter.Urlaubsliste,{Jahr:b.Jahr});b.CurrentMitarbeiter.Urlaubsliste[F]=b.CurrentUrlaub,yield b.DBMitarbeiter.UpdateMitarbeiterUrlaub(b.CurrentMitarbeiter),b.HomeofficeStatusChanged.emit()}catch(E){b.Debug.ShowErrorMessage(E,"Database Urlaub","UpdateHomeofficefreigabeanfragen",b.Debug.Typen.Service)}})()}UpdateVertreterantworten(b,E){var M=this;return n(function*(){try{let F,j,A=1,I=(0,l.default)().locale("de");for(let P of E.Urlaubzeitspannen)P.Status===M.Urlaubstatusvarianten.Vertreterablehnung&&!1===P.VertreterantwortSended&&(A+=1),P.Status===M.Urlaubstatusvarianten.Vertreterfreigabe&&!1===P.VertreterantwortSended&&(A+=2);F=a.find(M.Pool.Mitarbeiterliste,{_id:E.UrlaubsfreigeberID}),j=M.CurrentMitarbeiter;for(let P of E.Urlaubzeitspannen)P.Status!==M.Urlaubstatusvarianten.Vertreteranfrage&&!1===P.VertreterantwortSended&&(P.Status===M.Urlaubstatusvarianten.Vertreterfreigabe&&(P.Vertretungmeldung=I.format("DD.MM.YYYY")+" Vertretungszusage wurde an "+b.Vorname+" "+b.Name+" gesendet.",P.Vertretungmeldung+="
"+I.format("DD.MM.YYYY")+" Urlaubsfreigabe Anfrage wurde an "+F.Vorname+" "+F.Name+" gesendet.",P.Planungmeldung=I.format("DD.MM.YYYY")+" "+j.Vorname+" "+j.Name+" hat der Urlausvertretung zugestimmt.",P.Planungmeldung+="
"+I.format("DD.MM.YYYY")+" Genehmigungsanfrage wurde an "+F.Vorname+" "+F.Name+" gesendet."),P.Status===M.Urlaubstatusvarianten.Vertreterablehnung&&(P.Planungmeldung=I.format("DD.MM.YYYY")+" "+j.Vorname+" "+j.Name+" hat die Vertretung abgelehnt",P.Vertretungmeldung=I.format("DD.MM.YYYY")+" Vertretungsabsage wurde an "+b.Vorname+" "+b.Name+" gesendet."));E=yield M.SendVertreterzusage(b,j,F,E),E=yield M.SendVertreterabsage(b,j,F,E),E=yield M.SendFreigabeanfrage(b,F,E);let T=a.findIndex(b.Urlaubsliste,{Jahr:M.Jahr});b.Urlaubsliste[T]=E,yield M.DBMitarbeiter.UpdateMitarbeiterUrlaub(b)}catch(A){M.Debug.ShowErrorMessage(A,"Database Urlaub","UpdateVertreterantworten",M.Debug.Typen.Service)}})()}SendVertreteranfragen(b,E,M){try{let I,A="Urlaubsvertretungsanfrage von "+b.Vorname+" "+b.Name,F=[],j=!1,T=(0,l.default)().locale("de");return new Promise((P,x)=>{I="Hallo "+E.Vorname+",

bitte pr\xfcfen, ob du f\xfcr folgende Zeitr\xe4ume:

",I+='',I+="",I+='';for(let N of M)N.Status===this.Urlaubstatusvarianten.Vertreteranfrage&&N.VertreterID===E._id&&!1===N.VertreteranfrageSended&&(j=!0,N.Vertretunganfragezeitstempel=T.valueOf(),N.VertreteranfrageSended=!0,I+="",I+='",I+='",I+="");I+="
VonBis
'+N.Startstring+"'+N.Endestring+"
",I+="
Die Urlaubsvertretung f\xfcr mich \xfcbernehmen kannst.

",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(b,!0),F.push({emailAddress:{address:E.Email,name:E.Vorname+" "+E.Name}}),j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Vertretungsanfrage wurde an "+E.Vorname+" "+E.Name+" gesendet."),P(M)}).catch(N=>{x(N)}):(console.log("Es wurde keine Vertretungsanfrage gesendet."),P(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendVertreteranfragen",this.Debug.Typen.Service)}}SendHomeofficefreigabeanfrage(b,E,M){try{let I,A="Homeofficefreigabeanfrage von "+b.Vorname+" "+b.Name,F=[],j=!1;return new Promise((T,P)=>{I="Hallo "+E.Vorname+",

bitte folgende Homeofficetage freigeben:

",I+='',I+="",I+='",I+="",I+="
';for(let x of M)x.Status===this.Homeofficestatusvarianten.Freigabeanfrage&&!1===x.FreigabeanfrageSended&&(j=!0,x.FreigabeanfrageSended=!0,I+="",I+=x.Startstring+", ",I+="");I+="
",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(b,!0),F.push({emailAddress:{address:E.Email,name:E.Vorname+" "+E.Name}}),j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Homeofficefreigabeanfrage wurde an "+E.Vorname+" "+E.Name+" gesendet."),T(M)}).catch(x=>{P(x)}):(console.log("Es wurden keine Homeofficefreigabeanfragen gesendet."),T(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendHomeofficefreigabeanfrage",this.Debug.Typen.Service)}}SendVertreterzusage(b,E,M,A){try{let F,I="Vertretungszusage von "+E.Vorname+" "+E.Name,j=[],T=!1,P=(0,l.default)().locale("de");return new Promise((x,N)=>{F="Hallo "+b.Vorname+",

nachfolgende Urlaubsvertretungen kann ich gerne wahrnehmen:

",F+='',F+="",F+='',F+="";for(let O of A.Urlaubzeitspannen)O.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&O.VertreterID===E._id&&!1===O.VertreterantwortSended&&(T=!0,O.VertreterantwortSended=!0,O.Vertretungantwortzeitstempel=P.valueOf(),F+="",F+='",F+='",F+='',F+="");F+="
VonBisVertretung
'+O.Startstring+"'+O.Endestring+"Zusage
",F+="

",F+="Deine Urlaubsanfrage wurde zur Freigabe an "+M.Vorname+" "+M.Name+" weitergeleitet.",F+="

",F+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',F+="

"+this.Pool.GetFilledSignatur(E,!0),j.push({emailAddress:{address:b.Email,name:b.Vorname+" "+b.Name}}),!0===T?this.Graph.SendMail(j,I,F).then(()=>{console.log("Vertretungszusage wurde an "+b.Vorname+" "+b.Name+" gesendet."),x(A)}).catch(O=>{N(O)}):(console.log("Es wurde keine Vertretungszusage gesendet."),x(A))})}catch(I){this.Debug.ShowErrorMessage(I,"Database Urlaub","SendVertreterzusage",this.Debug.Typen.Service)}}SendHomeofficeFreigabeantworten(b,E){var M=this;return n(function*(){try{let A=a.find(M.Pool.Mitarbeiterliste,{_id:E.HomeofficefreigeberID});E=yield M.SendMitarbeiterHomeofficeFreigabeablehnung(b,A,E),E=yield M.SendMitarbeiterHomeofficeFreigabezusage(b,A,E);let I=a.findIndex(b.Urlaubsliste,{Jahr:M.Jahr});b.Urlaubsliste[I]=E,b._id===M.CurrentMitarbeiter._id&&(M.CurrentMitarbeiter=b),yield M.DBMitarbeiter.UpdateMitarbeiterUrlaub(b)}catch(A){M.Debug.ShowErrorMessage(A,"Database Urlaub","SendHomeofficeFreigabeantworten",M.Debug.Typen.Service)}})()}UpdateFreigabenantworten(b,E){var M=this;return n(function*(){try{let F,j,A=1,I=(0,l.default)().locale("de");for(let P of E.Urlaubzeitspannen)P.Status===M.Urlaubstatusvarianten.Genehmigt&&!1===P.FreigabeantwortSended&&(A+=1),P.Status===M.Urlaubstatusvarianten.Abgelehnt&&!1===P.FreigabeantwortSended&&(A+=2);for(let P of E.Urlaubzeitspannen)(P.Status===M.Urlaubstatusvarianten.Genehmigt||P.Status===M.Urlaubstatusvarianten.Abgelehnt)&&(F=a.find(M.Pool.Mitarbeiterliste,{_id:E.UrlaubsfreigeberID}),j=a.find(M.Pool.Mitarbeiterliste,{_id:P.VertreterID}),P.Status===M.Urlaubstatusvarianten.Genehmigt&&(P.Planungmeldung=I.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+F.Vorname+" "+F.Name+" genehmigt.",P.Freigabemeldung=I.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an "+b.Vorname+" "+b.Name+" gesendet.",P.Freigabemeldung+="
"+I.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an das Office gesendet."),P.Status===M.Urlaubstatusvarianten.Abgelehnt&&(P.Planungmeldung=I.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+F.Vorname+" "+F.Name+" abgelehnt.",P.Freigabemeldung=I.format("DD.MM.YYYY")+" Urlaubsablehnung wurde an "+b.Vorname+" "+b.Name+" gesendet."));E=yield M.SendMitarbeiterFreigabeablehnung(b,F,E),E=yield M.SendMitarbeiterFreigabezusage(b,F,E),E=yield M.SendOfficeFreigabezusage(b,F,E);let T=a.findIndex(b.Urlaubsliste,{Jahr:M.Jahr});b.Urlaubsliste[T]=E,M.CurrentUrlaub=E,yield M.DBMitarbeiter.UpdateMitarbeiterUrlaub(b)}catch(A){M.Debug.ShowErrorMessage(A,"Database Urlaub","UpdateFreigabenantworten",M.Debug.Typen.Service)}})()}SendVertreterabsage(b,E,M,A){try{let F,I="Vertretungsabsage von "+E.Vorname+" "+E.Name,j=[],T=!1,P=(0,l.default)().locale("de");return new Promise((x,N)=>{F="Hallo "+b.Vorname+",

nachfolgende Urlaubsvertretungen kann ich nicht wahrnehmen:

",F+='',F+="",F+='',F+="";for(let O of A.Urlaubzeitspannen)O.Status===this.Urlaubstatusvarianten.Vertreterablehnung&&O.VertreterID===E._id&&!1===O.VertreterantwortSended&&(T=!0,O.VertreterantwortSended=!0,O.Vertretungantwortzeitstempel=P.valueOf(),F+="",F+='",F+='",F+='',F+="");F+="
VonBisVertretung
'+O.Startstring+"'+O.Endestring+"Abgelehnt
",F+="

",F+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',F+="

"+this.Pool.GetFilledSignatur(E,!0),j.push({emailAddress:{address:b.Email,name:b.Vorname+" "+b.Name}}),!0===T?this.Graph.SendMail(j,I,F).then(()=>{console.log("Vertretungsabsage wurde an "+b.Vorname+" "+b.Name+" gesendet."),x(A)}).catch(O=>{N(O)}):(console.log("Es wurde keine Vertretungsabsage gesendet."),x(A))})}catch(I){this.Debug.ShowErrorMessage(I,"Database Urlaub","SendVertreterabsage",this.Debug.Typen.Service)}}SendFreigabeanfrage(b,E,M){try{let I,T,A="Anfrage Urlaubsfreigabe von "+b.Vorname+" "+b.Name,F=[],j=!1,P=(0,l.default)().locale("de");return new Promise((x,N)=>{I="Hallo "+E.Vorname+"

es liegen neue Anfragen zur Urlaufsfreigabe von ",I+=b.Vorname+" "+b.Name+" vor:

",I+='',I+="",I+='',I+="";for(let O of M.Urlaubzeitspannen)O.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&!1===O.FreigabeanfrageSended&&(j=!0,T=a.find(this.Pool.Mitarbeiterliste,{_id:O.VertreterID}),O.FreigabeanfrageSended=!0,O.Freigabeantwortzeitstempel=P.valueOf(),I+="",I+='",I+='",I+="",I+="");I+="
VonBisVertretung
'+O.Startstring+"'+O.Endestring+"",a.isUndefined(T)||(I+=T.Vorname+" "+T.Name),I+="
",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(b,!0),F.push({emailAddress:{address:E.Email,name:E.Vorname+" "+E.Name}}),!0===j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Freigabe Anfrage wurde versendet."),x(M)}).catch(O=>{N(O)}):(console.log("Es wurde keine Freigabe Anfrage versendet."),x(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendFreigabeanfrage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabezusage(b,E,M){try{let I,P,A="Urlaubsfreigabe",F=[],j=!1,T=(0,l.default)().locale("de");return new Promise((x,N)=>{I="Hallo "+b.Vorname+",

anbei meine Urlaubsfreigabe f\xfcr folgende Zeitr\xe4ume:

",I+='',I+="",I+='',I+='',I+="",I+="",I+="";for(let O of M.Urlaubzeitspannen)O.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===O.FreigabeantwortSended&&(O.FreigabeantwortSended=!0,O.Freigabeantwortzeitstempel=T.valueOf(),P=this.DBMitarbeiter.GetMitarbeiterByID(O.VertreterID),j=!0,I+="",I+='",I+='",a.isUndefined(P)?I+='':I+="",I+='',I+="");I+="
VonBisVertretungStatus
'+O.Startstring+"'+O.Endestring+"unbekannt"+P.Vorname+" "+P.Name+"Freigabe
",I+="

",I+='Deine Urlaubsfreigabe wurde zur Eintragung in "untermStrich" dem B\xfcro mitgeteilt.',I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(E,!0),F.push({emailAddress:{address:b.Email,name:b.Vorname+" "+b.Name}}),!0===j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Urlaubsfreigabe wurde an "+b.Vorname+" "+b.Name+" gesendet."),x(M)}).catch(O=>{N(O)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),x(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterFreigabezusage",this.Debug.Typen.Service)}}SendOfficeFreigabezusage(b,E,M){try{let I,P,A="Urlaubsfreigabe",F=[],j=!1,T=(0,l.default)().locale("de");return new Promise((x,N)=>{I="Hallo Office,

anbei eine Urlaubsfreigabe f\xfcr "+b.Vorname+" "+b.Name+" mit folgenden Zeitr\xe4umen:

",I+='',I+="",I+='',I+='',I+="",I+="",I+="";for(let O of M.Urlaubzeitspannen)O.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===O.FreigabeantwortOfficeSended&&(O.FreigabeantwortOfficeSended=!0,O.Freigabeantwortzeitstempel=T.valueOf(),P=this.DBMitarbeiter.GetMitarbeiterByID(O.VertreterID),j=!0,I+="",I+='",I+='",a.isUndefined(P)?I+='':I+="",I+='',I+="");I+="
VonBisVertretungStatus
'+O.Startstring+"'+O.Endestring+"unbekannt"+P.Vorname+" "+P.Name+"Freigabe
",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(E,!0),F.push({emailAddress:{address:this.Officeemailadress,name:"Office"}}),!0===j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Urlaubsfreigabe wurde an "+b.Vorname+" "+b.Name+" gesendet."),x(M)}).catch(O=>{N(O)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),x(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendOfficeFreigabezusage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabeablehnung(b,E,M){try{let I,P,A="Ablehnung deiner Urlaubsanfrage",F=[],j=!1,T=(0,l.default)().locale("de");return new Promise((x,N)=>{I="Hallo "+b.Vorname+" "+b.Name+",

leider muss ich deine Urlaubsanfrage f\xfcr nachfolgende Zeitr\xe4ume ablehnen:

",I+='',I+="",I+='',I+='',I+="",I+="",I+="";for(let O of M.Urlaubzeitspannen)O.Status===this.Urlaubstatusvarianten.Abgelehnt&&!1===O.FreigabeantwortSended&&(O.FreigabeantwortSended=!0,O.Freigabeantwortzeitstempel=T.valueOf(),P=this.DBMitarbeiter.GetMitarbeiterByID(O.VertreterID),j=!0,I+="",I+='",I+='",a.isUndefined(P)?I+='':I+="",I+='',I+="");I+="
VonBisVertretungStatus
'+O.Startstring+"'+O.Endestring+"unbekannt"+P.Vorname+" "+P.Name+"Abgelehnt
",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(E,!0),F.push({emailAddress:{address:E.Email,name:E.Vorname+" "+E.Name}}),!0===j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Urlaubsablehung wurde an "+b.Vorname+" "+b.Name+" gesendet."),x(M)}).catch(O=>{N(O)}):(console.log("Es wurde keine Urlaubsablehnung gesendet."),x(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterFreigabeablehnung",this.Debug.Typen.Service)}}SendMitarbeiterHomeofficeFreigabeablehnung(b,E,M){try{let I,A="Ablehnung deiner Homeofficeabfrage",F=[],j=!1,T=(0,l.default)().locale("de");return new Promise((P,x)=>{I="Hallo "+b.Vorname+" "+b.Name+",

leider muss ich deine Homeofficeanfrage f\xfcr nachfolgende Tage ablehnen:

",I+='',I+="",I+='',I+='',I+="";for(let N of M.Homeofficezeitspannen)N.Status===this.Homeofficestatusvarianten.Abgelehnt&&!1===N.FreigabeantwortSended&&(N.FreigabeantwortSended=!0,N.Freigabeantwortzeitstempel=T.valueOf(),j=!0,I+="",I+='",I+='',I+="");I+="
DatumStatus
'+N.Startstring+"Abgelehnt
",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(E,!0),F.push({emailAddress:{address:E.Email,name:E.Vorname+" "+E.Name}}),!0===j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Homeofficeablehnung wurde an "+b.Vorname+" "+b.Name+" gesendet."),P(M)}).catch(N=>{x(N)}):(console.log("Es wurde keine Homeofficeablehnung gesendet."),P(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterHomeofficeFreigabeablehnung",this.Debug.Typen.Service)}}SendMitarbeiterHomeofficeFreigabezusage(b,E,M){try{let I,A="Genehmigung deiner Homeofficeanfrage",F=[],j=!1,T=(0,l.default)().locale("de");return new Promise((P,x)=>{I="Hallo "+b.Vorname+" "+b.Name+",

leider muss ich deine Homeofficeanfrage f\xfcr nachfolgende Tage ablehnen:

",I+='',I+="",I+='',I+='',I+="";for(let N of M.Homeofficezeitspannen)N.Status===this.Homeofficestatusvarianten.Genehmigt&&!1===N.FreigabeantwortSended&&(N.FreigabeantwortSended=!0,N.Freigabeantwortzeitstempel=T.valueOf(),j=!0,I+="",I+='",I+='',I+="");I+="
DatumStatus
'+N.Startstring+"Genehmigt
",I+="

",I+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',I+="

"+this.Pool.GetFilledSignatur(E,!0),F.push({emailAddress:{address:E.Email,name:E.Vorname+" "+E.Name}}),!0===j?this.Graph.SendMail(F,A,I).then(()=>{console.log("Homeofficegenehmigung wurde an "+b.Vorname+" "+b.Name+" gesendet."),P(M)}).catch(N=>{x(N)}):(console.log("Es wurde keine Homeofficegenehmigung gesendet."),P(M))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterHomeofficeFreigabezusage",this.Debug.Typen.Service)}}ReadRegionen(b){try{return new Promise((E,M)=>{this.http.put(this.ServerReadRegionenUrl,{Landcode:b}).subscribe({next:F=>{this.Regionenliste=F.Regionenliste},complete:()=>{this.Regionenliste=a.filter(this.Regionenliste,F=>""!==F.isoCode);for(let F of this.Regionenliste)F.Name=F.name[0].text;E(!0)},error:F=>{this.Regionenliste=[],console.log("Read Regionen ist fehlgeschlagen."),E(!0)}})})}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","ReadRegionen",this.Debug.Typen.Service)}}ReadFeiertage(b){try{let E,M=a.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID});a.isUndefined(M)&&(M=null);let A={Standort:M,Jahr:this.Jahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:b};return new Promise((I,F)=>{this.Feiertageliste[b]=[],E=this.http.put(this.ServerReadfeiertageUrl,A),E.subscribe({next:j=>{this.Feiertageliste[b]=j.Feiertageliste},complete:()=>{I(!0)},error:j=>{this.Feiertageliste[b]=[],console.log("Read Feiertage ist fehlgeschlagen."),I(!0)}})})}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","ReadFeiertage",this.Debug.Typen.Service)}}ReadFerien(b){try{let E,M={Jahr:this.Jahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:b};return this.Ferienliste[b]=[],new Promise((A,I)=>{E=this.http.put(this.ServerReadFerienUrl,M),E.subscribe({next:F=>{this.Ferienliste[b]=F.Ferienliste},complete:()=>{A(!0)},error:F=>{this.Ferienliste[b]=[],console.log("Read Ferien ist fehlgeschlagen."),A(!0)}})})}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","ReadFerien",this.Debug.Typen.Service)}}CountAnfragenanzahlen(){try{this.Urlaubsanfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Homeofficantwortenanzahl=0,this.Homeofficeanfragenanzahl=0,null!==this.CurrentMitarbeiter&&(this.GetVertretungenliste(),this.GetFreigabenliste())}catch(b){return this.Debug.ShowErrorMessage(b,"Database Urlaub","CountAnfragenanzahlen",this.Debug.Typen.Service),0}}Init(){try{let b,E,M,A,I;this.Urlaubsanfragenanzahl=0,this.Homeofficeanfragenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,null!==this.CurrentMitarbeiter&&(b=a.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID}),this.Laendercode=a.isUndefined(b)?"DE":b.Land),this.ShowFerientage_DE=this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE,this.ShowFeiertage_DE=this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE,this.Ferienfarbe_DE=this.Urlaubsfaben.Ferien_DE,this.Feiertagefarbe_DE=this.Urlaubsfaben.Feiertage_DE,this.ShowFerientage_BG=this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG,this.ShowFeiertage_BG=this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG,this.Ferienfarbe_BG=this.Urlaubsfaben.Ferien_BG,this.Feiertagefarbe_BG=this.Urlaubsfaben.Feiertage_BG,null!==this.CurrentMitarbeiter&&(this.CurrentUrlaub=a.find(this.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.Jahr}),a.isUndefined(this.CurrentUrlaub)?(this.CurrentUrlaub=this.GetEmptyUrlaub(this.Jahr),this.CurrentUrlaubzeitspanne=null,this.CurrentMitarbeiter.Urlaubsliste.push(this.CurrentUrlaub)):this.CurrentUrlaubzeitspanne=null,a.isUndefined(this.CurrentUrlaub.Projektbeteiligteliste)&&(this.CurrentUrlaub.Projektbeteiligteliste=[]),a.isUndefined(this.CurrentUrlaub.Ferienblockerliste)&&(this.CurrentUrlaub.Ferienblockerliste=[]),a.isUndefined(this.CurrentUrlaub.Feiertageblockerliste)&&(this.CurrentUrlaub.Feiertageblockerliste=[]),a.isUndefined(this.CurrentUrlaub.UrlaubsfreigeberID)&&(this.CurrentUrlaub.UrlaubsfreigeberID=null),a.isUndefined(this.CurrentUrlaub.HomeofficefreigeberID)&&(this.CurrentUrlaub.HomeofficefreigeberID=null));for(let F of this.CurrentUrlaub.Urlaubzeitspannen)F=this.InitZeitspanne(F);for(E of(this.UrlaublisteExtern=[],this.Pool.Mitarbeiterliste))M=a.find(E.Urlaubsliste,{Jahr:this.Jahr}),a.isUndefined(M)||M.UrlaubsfreigeberID===this.CurrentMitarbeiter._id&&-1===a.findIndex(this.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:E._id})&&this.CurrentUrlaub.Projektbeteiligteliste.push({MitarbeiterID:E._id,Display:!0});for(let F of this.CurrentUrlaub.Projektbeteiligteliste)if(E=a.find(this.Pool.Mitarbeiterliste,{_id:F.MitarbeiterID}),!a.isUndefined(E)){M=a.find(E.Urlaubsliste,{Jahr:this.Jahr}),a.isUndefined(M)?(M=this.GetEmptyUrlaub(this.Jahr),M.MitarbeiterIDExtern=E._id,M.NameExtern=E.Vorname+" "+E.Name,M.NameKuerzel=E.Kuerzel):(M=a.cloneDeep(M),M.MitarbeiterIDExtern=E._id,M.NameExtern=E.Vorname+" "+E.Name,M.NameKuerzel=E.Kuerzel,M.Urlaubzeitspannen=a.filter(M.Urlaubzeitspannen,j=>j.Status!==this.Urlaubstatusvarianten.Abgelehnt)),A=0,A+=E.Urlaub,A+=M.Resturlaub,I=0;for(let j of M.Urlaubzeitspannen)j.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(I+=j.Tageanzahl);M.Text=null!==this.CurrentMitarbeiter&&!0===this.CurrentMitarbeiter.Urlaubsfreigaben?"["+I+" von "+A+"]":"["+I+"]",this.UrlaublisteExtern.push(M)}}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","Init",this.Debug.Typen.Service)}}InitZeitspanne(b){try{return(a.isUndefined(b.VertreterID)||""===b.VertreterID)&&(b.VertreterID=null),a.isUndefined(b.Planungmeldung)&&(b.Planungmeldung=""),a.isUndefined(b.Vertretungmeldung)&&(b.Vertretungmeldung=""),a.isUndefined(b.Freigabemeldung)&&(b.Freigabemeldung=""),a.isUndefined(b.VertreteranfrageSended)&&(b.VertreteranfrageSended=!1),a.isUndefined(b.VertreterantwortSended)&&(b.VertreterantwortSended=!1),a.isUndefined(b.FreigabeanfrageSended)&&(b.FreigabeanfrageSended=!1),a.isUndefined(b.FreigabeantwortSended)&&(b.FreigabeantwortSended=!1),a.isUndefined(b.FreigabeantwortOfficeSended)&&(b.FreigabeantwortOfficeSended=!1),a.isUndefined(b.Vertretunganfragezeitstempel)&&(b.Vertretunganfragezeitstempel=null),a.isUndefined(b.Vertretungantwortzeitstempel)&&(b.Vertretungantwortzeitstempel=null),a.isUndefined(b.Freigabeantwortzeitstempel)&&(b.Freigabeantwortzeitstempel=null),a.isUndefined(b.FreigabeantwortOfficezeitstempel)&&(b.FreigabeantwortOfficezeitstempel=null),"Beantragt"===b.Status&&(b.Status=this.Urlaubstatusvarianten.Geplant),b}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","InitZeitspanne",this.Debug.Typen.Service)}}SetPlanungsmonate(){try{0===this.CurrentMonatindex?(this.FirstMonatIndex=0,this.CurrentMonatindex=1,this.LastMonatIndex=2):11===this.CurrentMonatindex?(this.FirstMonatIndex=9,this.CurrentMonatindex=10,this.LastMonatIndex=11):(this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1)}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","SetPlanungsmonate",this.Debug.Typen.Service)}}GetEmptyUrlaub(b){try{let E={Jahr:b,Resturlaub:0,Urlaubzeitspannen:[],Homeofficezeitspannen:[],UrlaubsfreigeberID:null,HomeofficefreigeberID:null,Projektbeteiligteliste:[],Ferienblockerliste:[],Feiertageblockerliste:[]};return null!==this.CurrentMitarbeiter&&!a.isUndefined(this.CurrentMitarbeiter.Urlaubsliste[0])&&(E.Projektbeteiligteliste=this.CurrentMitarbeiter.Urlaubsliste[0].Projektbeteiligteliste,E.Ferienblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Ferienblockerliste,E.Feiertageblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Feiertageblockerliste),E}catch(E){this.Debug.ShowErrorMessage(E.message,"Database Urlaub","GetEmptyUrlaub",this.Debug.Typen.Service)}}CheckIsFerientag(b,E){try{let A,I,M=(0,l.default)(b.Tagstempel),F=!1;if(!a.isUndefined(this.Ferienliste[E]))for(let j of this.Ferienliste[E])if(A=(0,l.default)(j.Anfangstempel),I=(0,l.default)(j.Endestempel),M.isSameOrAfter(A,"day")&&M.isSameOrBefore(I,"day")){F=!0;break}return F}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckIsFerientag",this.Debug.Typen.Service)}}GetFeriennamen(b,E){try{let M=E+": Unbekannt";for(let A of b.name)A.language===E&&(M=A.text);return M}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetFeriennamen",this.Debug.Typen.Service)}}GetFeiertagnamen(b,E){try{let M=E+": Unbekannt";for(let A of b.name)A.language===E&&(M=A.text);return M}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetFeiertagnamen",this.Debug.Typen.Service)}}GetFerientag(b,E){try{let A,I,F,j,M=(0,l.default)(b.Tagstempel);if(!a.isUndefined(this.Ferienliste[E]))for(j of this.Ferienliste[E])if(A=(0,l.default)(j.Anfangstempel),I=(0,l.default)(j.Endestempel),M.isSameOrAfter(A,"day")&&M.isSameOrBefore(I,"day"))return F={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:j.Anfangstempel,Ferienname_DE:this.GetFeriennamen(j,"DE"),Ferienname_BG:this.GetFeriennamen(j,"EN")},F;return null}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetFerientag",this.Debug.Typen.Service)}}CheckIsFeiertag(b,E){try{let A,M=(0,l.default)(b.Tagstempel),I=!1;if(!a.isUndefined(this.Feiertageliste[E]))for(let F of this.Feiertageliste[E])if(A=(0,l.default)(F.Anfangstempel),A.isSame(M,"day")&&-1===a.findIndex(this.CurrentUrlaub.Feiertageblockerliste,b.Tagstempel)){I=!0;break}return I}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckIsFeiertag",this.Debug.Typen.Service)}}GetFeiertag(b,E){try{let A,I,F,M=(0,l.default)(b.Tagstempel);if(!a.isUndefined(this.Feiertageliste[E]))for(F of this.Feiertageliste[E])if(A=(0,l.default)(F.Anfangstempel),A.isSame(M,"day"))return I={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:F.Anfangstempel,Feiertagname_DE:this.GetFeiertagnamen(F,"DE"),Feiertagname_BG:this.GetFeiertagnamen(F,"EN")},I;return null}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetFeiertag",this.Debug.Typen.Service)}}GetEmptyUrlaubszeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",VertreterID:null,Status:this.Urlaubstatusvarianten.Geplant,Planungmeldung:"",Vertretungmeldung:"",Freigabemeldung:"",Tageanzahl:0,VertreteranfrageSended:!1,VertreterantwortSended:!1,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,FreigabeantwortOfficeSended:!1,Vertretunganfragezeitstempel:null,Vertretungantwortzeitstempel:null,Freigabeantwortzeitstempel:null,FreigabeantwortOfficezeitstempel:null}}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Urlaub","GetEmptyZeitspanne",this.Debug.Typen.Service)}}GetEmptyHomeofficezeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",Status:this.Homeofficestatusvarianten.Geplant,Planungmeldung:"",Vertretungmeldung:"",Freigabemeldung:"",Tageanzahl:0,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,Freigabeantwortzeitstempel:null}}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Urlaub","GetEmptyHomeofficezeitspanne",this.Debug.Typen.Service)}}CountResturlaub(){try{let b=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten){b+=this.Pool.Mitarbeiterdaten.Urlaub,b+=this.CurrentUrlaub.Resturlaub;for(let E of this.CurrentUrlaub.Urlaubzeitspannen)E.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(b-=E.Tageanzahl);return b}return 0}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CountResturlaub",this.Debug.Typen.Service)}}CountHomeoffice(){try{let b=210;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten){for(let E of this.CurrentUrlaub.Homeofficezeitspannen)E.Status!==this.Homeofficestatusvarianten.Abgelehnt&&(b-=E.Tageanzahl);return b}return 0}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CountHomeoffice",this.Debug.Typen.Service)}}CountHomeGeplant(){try{let b=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let E of this.CurrentUrlaub.Homeofficezeitspannen)E.Status===this.Homeofficestatusvarianten.Geplant&&b++;return b}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CountHomeGeplant",this.Debug.Typen.Service)}}CountHomeFreigbeanfragen(){try{let b=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let E of this.CurrentUrlaub.Homeofficezeitspannen)E.Status===this.Homeofficestatusvarianten.Freigabeanfrage&&b++;return b}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CountHomeFreigbeanfragen",this.Debug.Typen.Service)}}CountHomeGenehmigt(){try{let b=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let E of this.CurrentUrlaub.Homeofficezeitspannen)E.Status===this.Homeofficestatusvarianten.Genehmigt&&b++;return b}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CountHomeGenehmigt",this.Debug.Typen.Service)}}CountHomeAbgelehnt(){try{let b=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let E of this.CurrentUrlaub.Homeofficezeitspannen)E.Status===this.Homeofficestatusvarianten.Abgelehnt&&b++;return b}catch(b){this.Debug.ShowErrorMessage(b,"Database Urlaub","CountHomeAbgelehnt",this.Debug.Typen.Service)}}CheckDisplayExternenUrlaub(b){try{let E,M,A;return null!==this.CurrentUrlaub&&(E=a.find(this.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:b}),!a.isUndefined(E)&&(M=a.find(this.Pool.Mitarbeiterliste,{_id:E.MitarbeiterID}),A=a.find(M.Urlaubsliste,{Jahr:this.CurrentUrlaub.Jahr}),!a.isUndefined(A)&&E.Display&&A.Urlaubzeitspannen.length>0))}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckDisplayExternenUrlaub",this.Debug.Typen.Service)}}HomeofficeAbgelehntLoeschen(){var b=this;return n(function*(){try{null!==b.CurrentUrlaub&&null!==b.Pool.Mitarbeiterdaten&&(b.CurrentUrlaub.Homeofficezeitspannen=a.filter(b.CurrentUrlaub.Homeofficezeitspannen,M=>M.Status!==b.Homeofficestatusvarianten.Abgelehnt));let E=a.findIndex(b.CurrentMitarbeiter.Urlaubsliste,{Jahr:b.Jahr});b.CurrentMitarbeiter.Urlaubsliste[E]=b.CurrentUrlaub,yield b.DBMitarbeiter.UpdateMitarbeiterUrlaub(b.CurrentMitarbeiter),b.ExterneHomeofficeChanged.emit()}catch(E){b.Debug.ShowErrorMessage(E,"Database Urlaub","HomeofficeAbgelehntLoeschen",b.Debug.Typen.Service)}})()}HomeofficeGeplantLoeschen(){var b=this;return n(function*(){try{null!==b.CurrentUrlaub&&null!==b.Pool.Mitarbeiterdaten&&(b.CurrentUrlaub.Homeofficezeitspannen=a.filter(b.CurrentUrlaub.Homeofficezeitspannen,M=>M.Status!==b.Homeofficestatusvarianten.Geplant));let E=a.findIndex(b.CurrentMitarbeiter.Urlaubsliste,{Jahr:b.Jahr});b.CurrentMitarbeiter.Urlaubsliste[E]=b.CurrentUrlaub,yield b.DBMitarbeiter.UpdateMitarbeiterUrlaub(b.CurrentMitarbeiter),b.ExterneHomeofficeChanged.emit()}catch(E){b.Debug.ShowErrorMessage(E,"Database Urlaub","HomeofficeGeplantLoeschen",b.Debug.Typen.Service)}})()}static \u0275fac=function(E){return new(E||f)(e.\u0275\u0275inject(u.DebugProvider),e.\u0275\u0275inject(c.DatabasePoolService),e.\u0275\u0275inject(g.ConstProvider),e.\u0275\u0275inject(v.Graphservice),e.\u0275\u0275inject(p.DatabaseMitarbeiterService),e.\u0275\u0275inject(S.BasicsProvider),e.\u0275\u0275inject(C.HttpClient))};static \u0275prov=e.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},34388:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DebugProvider=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),a=n.__importStar(o(10716)),l=n.__importStar(o(34396)),e=n.__importStar(o(29743));h.DebugProvider=(()=>{class c{Basics;nav;Fehlerservice;Const;Typen={Page:"Page",Component:"Component",Provider:"Provider",Directive:"Directive",Service:"Service"};Debugmessageliste;constructor(v,p,S,C){this.Basics=v,this.nav=p,this.Fehlerservice=S,this.Const=C;try{this.Debugmessageliste=[]}catch{}}ShowErrorMessage(v,p,S,C){try{console.log("File: "+p+" | Function: "+S+" | Message: "+v),this.Debugmessageliste.push({Skript:p,Message:v,Function:S,Color:"red"})}catch{}}ShowMessage(v,p,S,C){try{console.log("File: "+p+" | Function: "+S+" | Message: "+v),this.Debugmessageliste.push({Skript:p,Message:v,Function:S,Color:"blue"})}catch{}}static \u0275fac=function(p){return new(p||c)(i.\u0275\u0275inject(d.BasicsProvider),i.\u0275\u0275inject(a.NavController),i.\u0275\u0275inject(l.ErrorService),i.\u0275\u0275inject(e.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},21052:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DisplayService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(17964),a=n.__importStar(o(54496)),l=n.__importStar(o(34388));h.DisplayService=(()=>{class u{Debug;Dialognamen={Auswahldialog:"Auswahldialog",Mitarbeiterauswahl:"Mitarbeiterauswahl",Projekteditor:"Projekteditor",Beteiligteneditor:"Beteiligteneditor",Firmeneditor:"Firmeneditor",Mitarbeitereditor:"Mitarbeitereditor",Standorteditor:"Standorteditor",Changelogeditor:"Changelogeditor",Favoriteneditor:"Favoriteneditor",Favoritenauswahl:"Favoritenauswahl",Projekteauswahl:"Projekteauswahl",Bauteileditor:"Bauteileditor",Geschosseditor:"Geschosseditor",Raumeditor:"Raumeditor",AufgabeProjektauswahl:"AufgabeProjektauswahl",Projektpunteditor:"Projektpunteditor",Beteiligteauswahl:"Beteiligteauswahl",Firmenauswahl:"Firmenauswahl",Protokolleditor:"Protokolleditor",Kostengruppenauswahl:"Kostengruppenauswahl",Raumauswahl:"Raumauswahl",Protokolllistefilter:"Protokolllistefilter",Aufgabenlistefilter:"Aufgabenlistefilter",Meinewocheeditor:"Meinewocheeditor",ProjektpunktStatusDatePicker:"ProjektpunktStatusDatePicker",ProjektpunktDateKwPicker:"ProjektpunktDateKwPicker",Verzeichnisauswahl:"Verzeichnisauswahl",Bilderauswahl:"Bilderauswahl",Outlookkontakteauswahl:"Outlookkontakteauswahl",ProjektSendeEmail:"ProjektSendeEmail",Bautagebucheditor:"Bautagebucheditor",Bautagebucheintrageditor:"Bautagebucheintrageditor",LOPListeEditor:"LOPListeEditor",LOPListeEintragEditor:"LOPListeEintragEditor",Planungsmatrixeintrageditor:"Planungsmatrixeintrageditor",Notizenkapiteleditor:"Notizenkapiteleditor",Festlegungkategorieneditor:"Festlegungkategorieneditor",Simontabelleeditor:"Simontabelleeditor",Simontabellelesitungeditor:"Simontabellelesitungeditor",RechnungEditor:"RechnungEditor"};Dialogliste;constructor(g){this.Debug=g;try{this.Dialogliste=[]}catch(v){this.Debug.ShowErrorMessage(v.message,"Display","constructor",this.Debug.Typen.Service)}}ResetDialogliste(){try{this.Dialogliste=[]}catch(g){this.Debug.ShowErrorMessage(g.message,"Display","ResetDialogliste",this.Debug.Typen.Service)}}AddDialog(g,v){try{let p=i.find(this.Dialogliste,{Dialogname:g});i.isUndefined(p)?this.Dialogliste.push({Dialogname:g,ZIndex:v}):this.Debug.ShowErrorMessage(new Error("Add Dialog Fehler: "+g),"Dialog","AddDialog",this.Debug.Typen.Service),(0,d.forEach)(this.Dialogliste,S=>{console.log(S)})}catch(p){this.Debug.ShowErrorMessage(p.message,"Dialog","AddDialog",this.Debug.Typen.Service)}}RemoveDialog(g){try{this.Dialogliste=i.filter(this.Dialogliste,v=>v.Dialogname!==g),0===this.Dialogliste.length&&this.Debug.ShowMessage("Dialogliste ist leer.","Dialog","RemoveDialog",this.Debug.Typen.Service)}catch(v){this.Debug.ShowErrorMessage(v.message,"Dialog","RemoveDialog",this.Debug.Typen.Service)}}ShowOpacity(g){try{let S,v=0,p=0;return(0,d.forEach)(this.Dialogliste,C=>{C.ZIndex>v&&(v=C.ZIndex),C.Dialogname===g&&(p=C.ZIndex,S=C.Dialogname)}),p>=v}catch(v){this.Debug.ShowErrorMessage(v.message,"Dialog","ShowOpacity",this.Debug.Typen.Service)}}static \u0275fac=function(v){return new(v||u)(a.\u0275\u0275inject(l.DebugProvider))};static \u0275prov=a.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},34396:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ErrorService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(29743));h.ErrorService=(()=>{class l{Const;Fehlermeldung;CanGoBack;constructor(u){this.Const=u;try{this.Fehlermeldung=[],this.CanGoBack=!0}catch{}}static \u0275fac=function(c){return new(c||l)(i.\u0275\u0275inject(d.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},8608:(pe,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.Graphservice=void 0;const i=o(81316),d=o(54496),a=o(9028),l=o(57140),e=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),c=i.__importStar(o(54496)),g=i.__importStar(o(34388)),v=i.__importStar(o(9028)),p=i.__importStar(o(29743)),S=i.__importStar(o(97048)),C=i.__importStar(o(97092)),_=i.__importStar(o(19668)),f=i.__importStar(o(79052)),y=i.__importStar(o(7992)),b=i.__importStar(o(14652)),E=i.__importStar(o(14476));h.Graphservice=(()=>{class A{msalGuardConfig;Debug;authService;Const;http;AuthService;Tools;DBEmail;Http;Pool;Basics;domSanitizer;ImageZoomOut=new d.EventEmitter;Graphuser;Teamsliste;UserimageSRC;TeamsRootfilelist;TeamsCurrentfilelist;TeamsSubdirectorylist;CurrentTeamsID;Outlookkontakteliste;CurrentPDFDownload;KalenderKW;Outlookpresetcolors;BAESiteID;FilebrowserModus;FilebrowserModusvarianten={Alle_Projekte:"Alle_Projekte",Current_Projekt:"Current_Projekt"};constructor(F,j,T,P,x,N,O,H,G,te,ue,se){this.msalGuardConfig=F,this.Debug=j,this.authService=T,this.Const=P,this.http=x,this.AuthService=N,this.Tools=O,this.DBEmail=H,this.Http=G,this.Pool=te,this.Basics=ue,this.domSanitizer=se;try{this.Graphuser=null,this.UserimageSRC=null,this.Teamsliste=[],this.TeamsRootfilelist=[],this.TeamsCurrentfilelist=[],this.TeamsSubdirectorylist=[],this.CurrentTeamsID="ea457111-b3f1-4c73-a8ae-cb1cbaf6d244",this.CurrentPDFDownload=null,this.Outlookkontakteliste=[],this.FilebrowserModus=this.FilebrowserModusvarianten.Alle_Projekte,this.KalenderKW=(0,u.default)().locale("de").isoWeek(),this.Outlookpresetcolors=[{Name:"none",Value:"none",Fontcolor:"white"},{Name:"Preset0",Value:"#dc626d",Fontcolor:"black"},{Name:"Preset1",Value:"#e8825d",Fontcolor:"black"},{Name:"Preset2",Value:"#ffcd8f",Fontcolor:"black"},{Name:"Preset3",Value:"#5f5f58",Fontcolor:"white"},{Name:"Preset4",Value:"#52ce90",Fontcolor:"black"},{Name:"Preset5",Value:"#57d2da",Fontcolor:"white"},{Name:"Preset6",Value:"#5c5f53",Fontcolor:"white"},{Name:"Preset7",Value:"#5ca9e5",Fontcolor:"white"},{Name:"Preset8",Value:"#53525a",Fontcolor:"white"},{Name:"Preset9",Value:"#ee5fb7",Fontcolor:"black"},{Name:"Preset10",Value:"#c5ced1",Fontcolor:"white"},{Name:"Preset11",Value:"#5d6567",Fontcolor:"white"},{Name:"Preset12",Value:"#c3c5bb",Fontcolor:"white"},{Name:"Preset13",Value:"#9fadb1",Fontcolor:"white"},{Name:"Preset14",Value:"#8f8f8f",Fontcolor:"white"},{Name:"Preset15",Value:"#ac4e5e",Fontcolor:"black"},{Name:"Preset16",Value:"#df8e64",Fontcolor:"white"},{Name:"Preset17",Value:"#bc8f6f",Fontcolor:"white"},{Name:"Preset18",Value:"#dac257",Fontcolor:"black"},{Name:"Preset19",Value:"#4ca64c",Fontcolor:"white"},{Name:"Preset20",Value:"#4bb4b7",Fontcolor:"white"},{Name:"Preset21",Value:"#85b44c",Fontcolor:"white"},{Name:"Preset22",Value:"#4179a3",Fontcolor:"white"},{Name:"Preset23",Value:"#8f6fbc",Fontcolor:"white"},{Name:"Preset24",Value:"#c34e98",Fontcolor:"black"},{Name:"PresetFeiertag",Value:"#b0d6f2",Fontcolor:"black"}],this.BAESiteID="baeeu.sharepoint.com,1b93d6ea-3f8b-4416-9ff1-a50aaba6f8ca,134790cc-e062-4882-ae5e-18813809cc87"}catch(K){this.Debug.ShowErrorMessage(K.message,"Graph","constructor",this.Debug.Typen.Service)}}GetOwnOutlookcontacts(F){var j=this;return n(function*(){try{let P,x,O,T=[],N=0,H=yield j.AuthService.RequestToken("Contacts.ReadWrite");if(null!==H){const G=l.Client.init({authProvider:te=>{te(null,H)}});if(P=yield G.api("/me/contacts").count().get(),e.isUndefined(P["@odata.count"])||(N=P["@odata.count"]),!e.isUndefined(P.value)&&(T.push(P.value),!e.isUndefined(P["@odata.nextLink"]))){do{x=P["@odata.nextLink"],P=yield G.api(x).get(),e.isUndefined(P.value)||T.push(P.value)}while(!e.isUndefined(P["@odata.nextLink"]));e.isUndefined(P.value)||T.push(P.value)}j.Outlookkontakteliste=[];for(let te of T)for(O of te)null!==O.givenName&&"lars"===O.givenName.toLowerCase()||null!==O.surname&&O.surname.toLowerCase(),null!==O.title&&""!==O.title&&null!==O.displayName&&(O.displayName=O.displayName.replace(O.title+" ","")),e.isUndefined(O.businessAddress)&&(O.businessAddress={street:"",city:"",state:"",postalCode:"",countryOrRegion:""}),(e.isUndefined(O.businessAddress.street)||null===O.businessAddress.street)&&(O.businessAddress.street=""),(e.isUndefined(O.businessAddress.city)||null===O.businessAddress.city)&&(O.businessAddress.city=""),(e.isUndefined(O.businessAddress.postalCode)||null===O.businessAddress.postalCode)&&(O.businessAddress.postalCode=""),(e.isUndefined(O.businessAddress.state)||null===O.businessAddress.state)&&(O.businessAddress.state=""),(e.isUndefined(O.businessAddress.countryOrRegion)||null===O.businessAddress.countryOrRegion)&&(O.businessAddress.countryOrRegion=""),(e.isUndefined(O.title)||null===O.title)&&(O.title=""),(e.isUndefined(O.displayName)||null===O.displayName)&&(O.displayName=""),(e.isUndefined(O.surname)||null===O.surname)&&(O.surname=""),(e.isUndefined(O.givenName)||null===O.givenName)&&(O.givenName=""),(e.isUndefined(O.companyName)||null===O.companyName)&&(O.companyName=""),""===O.surname&&""!==O.givenName&&(O.surname=O.givenName,O.givenName=""),""===O.surname&&""===O.givenName&&""===O.displayName?(O.IsCompany=!0,O.surname=O.companyName,O.companyName=""):O.IsCompany=!1,F?O.emailAddresses.length>0&&j.Outlookkontakteliste.push(O):j.Outlookkontakteliste.push(O);return Promise.resolve(!0)}return Promise.reject(!1)}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnOutlookcontacts",j.Debug.Typen.Service)}})()}OutlookcontactToBeteiligte(F){try{let j,T;return T=F.IsCompany?this.Const.Beteiligteneintragtypen.Firma:this.Const.Beteiligteneintragtypen.Person,j={Anrede:F.title,BeteiligtenID:F.id,FirmaID:null,Email:F.emailAddresses.length>0?F.emailAddresses[0].address:"",Possition:F.profession,Mobil:F.mobilePhone,Name:F.surname,Vorname:F.givenName,Ort:F.businessAddress.city,PLZ:F.businessAddress.postalCode,Strasse:"",Telefon:F.businessPhones.length>0?F.businessPhones[0]:"",Verfasser:{Vorname:this.Pool.Mitarbeiterdaten.Vorname,Name:this.Pool.Mitarbeiterdaten.Name,Email:this.Pool.Mitarbeiterdaten.Email}},j}catch(j){this.Debug.ShowErrorMessage(j,"Graph","OutlookcontactToBeteiligte",this.Debug.Typen.Service)}}GetOwnCalendar(){var F=this;return n(function*(){try{let T,x,N,O,ue,se,K,Z,J,Y,j=yield F.AuthService.RequestToken("user.read"),P=[],H=(0,u.default)().isoWeek(F.KalenderKW).locale("de"),G=H.clone().startOf("week"),te=H.clone().endOf("week");console.log(G.format("DD.MM.YYYY")),console.log(te.format("DD.MM.YYYY"));const $=l.Client.init({authProvider:le=>{le(null,j)}});try{T=yield $.api("/me/calendarview").header("Prefer","UTC").query({startDateTime:G.format("YYYY-MM-DD"),endDateTime:te.format("YYYY-MM-DD")}).count().get()}catch{}if(e.isUndefined(T["@odata.count"])||(N=T["@odata.count"]),!e.isUndefined(T.value)&&(P.push(T.value),!e.isUndefined(T["@odata.nextLink"]))){do{x=T["@odata.nextLink"],T=yield $.api(x).get(),e.isUndefined(T.value)||P.push(T.value)}while(!e.isUndefined(T["@odata.nextLink"]));e.isUndefined(T.value)||P.push(T.value)}O=[];for(let le of P)for(Z of le)se=Z.start.dateTime.split("T"),ue=se[0].split("-"),K=se[1].split("."),K=K[0].split(":"),J=u.default.utc({year:parseInt(ue[0]),month:parseInt(ue[1])-1,day:parseInt(ue[2]),hour:parseInt(K[0]),minute:parseInt(K[1]),second:parseInt(K[2])}),Z.start.Zeitstempel=J.locale("de").valueOf(),se=Z.end.dateTime.split("T"),ue=se[0].split("-"),K=se[1].split("."),K=K[0].split(":"),Y=u.default.utc({year:parseInt(ue[0]),month:parseInt(ue[1])-1,day:parseInt(ue[2]),hour:parseInt(K[0]),minute:parseInt(K[1]),second:parseInt(K[2])}),Z.end.Zeitstempel=Y.locale("de").valueOf(),O.push(Z);return O}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnCalendar",F.Debug.Typen.Service)}})()}GetOwnUserinfo(){var F=this;return n(function*(){try{let j=yield F.AuthService.RequestToken("user.read");const T=l.Client.init({authProvider:P=>{P(null,j)}});return new Promise((P,x)=>{null!==j?T.api("/me").select("*").get().then(N=>{F.Graphuser=N,P(!0)}).catch(N=>{"InvalidAuthenticationToken"===N.code&&(F.AuthService.UnsetActiveUser(),F.Tools.SetRootPage(F.Const.Pages.HomePage)),x(N)}):x(!1)})}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnUserinfo",F.Debug.Typen.Service)}})()}GetOwnEmail(F){var j=this;return n(function*(){try{let P,x,N,T=yield j.AuthService.RequestToken("user.read");const O=l.Client.init({authProvider:H=>{H(null,T)}});return new Promise((H,G)=>{null!==T?O.api("/me/messages/"+F+"?$expand=attachments").get().then(te=>{P=te,P.subject=P.subject.replace("\u{1f3e2}",""),x=P.receivedDateTime.replace("T"," "),x=x.replace("Z",""),N=(0,u.default)(x),P.Zeitstempel=N.valueOf(),P.Zeitstring=N.format("DD.MM.YYYY HH:mm"),H(P)}).catch(te=>{"InvalidAuthenticationToken"===te.code&&(j.AuthService.UnsetActiveUser(),j.Tools.SetRootPage(j.Const.Pages.HomePage)),G(null)}):G(null)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnEmail",j.Debug.Typen.Service)}})()}GetOwnEmailAttachemntlist(F){var j=this;return n(function*(){try{let T=yield j.AuthService.RequestToken("user.read");const P=l.Client.init({authProvider:x=>{x(null,T)}});return new Promise((x,N)=>{null!==T?P.api("/me/messages/"+F+"/attachments").get().then(O=>{x(e.isUndefined(O.value)?[]:O.value)}).catch(O=>{"InvalidAuthenticationToken"===O.code&&(j.AuthService.UnsetActiveUser(),j.Tools.SetRootPage(j.Const.Pages.HomePage)),N(O)}):N(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnEmailAttachemntlist",j.Debug.Typen.Service)}})()}GetOwnEmailfolders(){var F=this;return n(function*(){try{let T,j=yield F.AuthService.RequestToken("user.read"),P=[];const x=l.Client.init({authProvider:N=>{N(null,j)}});try{if(T=yield x.api("/me/mailFolders").get(),!e.isUndefined(T.value))for(let N of T.value)P.push(N),console.log(N.id);return P}catch(N){return N}}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnEmailfolders",F.Debug.Typen.Service)}})()}GetOwnOutlookCategories(){var F=this;return n(function*(){try{let T,j=yield F.AuthService.RequestToken("MailboxSettings.Read"),P=[];const x=l.Client.init({authProvider:N=>{N(null,j)}});try{if(T=yield x.api("/me/outlook/masterCategories").get(),!e.isUndefined(T.value))for(let N of T.value)P.push(N),console.log(N.id);return P.push({displayName:"Feiertag",id:"feiertrag",color:"PresetFeiertag"}),P.sort((N,O)=>N.displayNameO.displayName?1:0),P}catch(N){return N}}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnOutlookCategories",F.Debug.Typen.Service)}})()}GetOwnEmailliste(F){var j=this;return n(function*(){try{let T,x,N,G,te,P=[],O=[],H=yield j.AuthService.RequestToken("user.read");const ue=l.Client.init({authProvider:se=>{se(null,H)}});try{te=j.DBEmail.Emaildatum.format("YYYY-MM-DD"),T=yield ue.api("/me/mailFolders/"+F+"/messages?$filter=receivedDateTime ge "+te+"T01:00:00Z").select("id, subject, isRead, sentDateTime, receivedDateTime, from, sender, toRecipients, ccRecipients, hasAttachments").count().get()}catch(se){return se}if(e.isUndefined(T["@odata.count"])||(N=T["@odata.count"]),!e.isUndefined(T.value)&&(P.push(T.value),!e.isUndefined(T["@odata.nextLink"]))){do{x=T["@odata.nextLink"],T=yield ue.api(x).get(),e.isUndefined(T.value)||P.push(T.value)}while(!e.isUndefined(T["@odata.nextLink"]));e.isUndefined(T.value)||P.push(T.value)}for(let se of P)for(let K of se)te=K.receivedDateTime.replace("T"," "),te=te.replace("Z",""),G=(0,u.default)(te),e.isUndefined(K.from)||e.isUndefined(e.find(O,{id:K.id}))&&(K.Zeitstempel=G.valueOf(),K.Zeitstring=G.format("DD.MM.YYYY HH:mm"),K.subject=K.subject.replace("\u{1f3e2}",""),K.subject.indexOf("anythingbutnothing"),O.push(K));return O=e.filter(O,se=>e.isUndefined(se["@odata.type"])),O}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnEmailliste",j.Debug.Typen.Service)}})()}GetOtherUserinfo(F){var j=this;return n(function*(){try{let T,P=yield j.AuthService.RequestToken("user.read.all");const x=l.Client.init({authProvider:N=>{N(null,P)}});return new Promise((N,O)=>{null!==P?x.api("/users/"+F).select("*").get().then(H=>{T=H,N(T)}).catch(H=>{O(H)}):O(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnUserinfo",j.Debug.Typen.Service)}})()}GetOtherTeamsinfo(F){var j=this;return n(function*(){try{let T,P=yield j.AuthService.RequestToken("team.readbasic.all");const x=l.Client.init({authProvider:N=>{N(null,P)}});return new Promise((N,O)=>{null!==P?x.api("/teams/"+F).get().then(H=>{T=H,N(T)}).catch(H=>{O(H)}):O(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnUserinfo",j.Debug.Typen.Service)}})()}ReadDrives(){var F=this;return n(function*(){try{let j,P="b!XZkHnfB1aUS9CAl7ACx42jN1tORayIZBnpNxgMZWN2yIJmx4iz54T59g6GswaFyl",x=yield F.AuthService.RequestToken("Files.ReadWrite.All");const N=l.Client.init({authProvider:O=>{O(null,x)}});if(null===x)return Promise.reject(!1);j=yield N.api("/drives/"+P+"/items/root/children").get(),j.value.forEach(O=>{console.log(O.name)})}catch(j){F.Debug.ShowErrorMessage(j,"Graph","ReadDrives",F.Debug.Typen.Service)}})()}GetSiteRootfilelist(F){var j=this;return n(function*(){try{let P,T=yield j.AuthService.RequestToken("user.read"),x=[],N=[];j.TeamsRootfilelist=[],j.TeamsCurrentfilelist=[],j.TeamsSubdirectorylist=[];const O=l.Client.init({authProvider:H=>{H(null,T)}});return new Promise((H,G)=>{null!==T?O.api("/sites/"+j.BAESiteID+"/drive/items/root/children").get().then(te=>{for(P of(j.TeamsRootfilelist=[],j.TeamsCurrentfilelist=[],j.TeamsSubdirectorylist=[],te.value))e.isUndefined(P.file)?(P.isfolder=!0,N.push(P)):(P.isfolder=!1,x.push(P));N.sort((ue,se)=>ue.namese.name?1:0),x.sort((ue,se)=>ue.namese.name?1:0),!1===F?j.TeamsRootfilelist=N:(j.TeamsRootfilelist=N,j.TeamsRootfilelist=j.TeamsRootfilelist.concat(x)),j.TeamsCurrentfilelist=j.TeamsRootfilelist,H(!0)}).catch(te=>{G(te)}):G(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetSiteRootfilelist",j.Debug.Typen.Service)}})()}GetSiteThumbnailContent(F,j){var T=this;return n(function*(){try{let P=yield T.AuthService.RequestToken("user.read");const x=l.Client.init({authProvider:se=>{se(null,P)}});let N="/sites/"+T.BAESiteID+"/drive/items/"+F.id+"/thumbnails/0/"+j+"/content",H=yield(yield x.api(N).get()).arrayBuffer(),G="",te=new Uint8Array(H),ue=te.byteLength;for(let se=0;se{N(null,T)}});return new Promise((N,O)=>{null!==T?x.api("/sites/"+j.BAESiteID+"/drive/items/"+F.id+"/thumbnails").get().then(H=>{e.isUndefined(H.value)||e.isUndefined(H.value[0])?N(null):(P={id:F.id,weburl:F.webUrl,filename:F.name,size:F.size,mediumurl:H.value[0].medium.url,largeurl:H.value[0].large.url,smallurl:H.value[0].small.url,content:"",height:{small:H.value[0].small.height,medium:H.value[0].medium.height,large:H.value[0].medium.large},width:{small:H.value[0].small.width,medium:H.value[0].medium.width,large:H.value[0].large.width}},N(P))}).catch(H=>{N(null)}):O(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetSiteThumbnail",j.Debug.Typen.Service)}})()}RemoveTeamsSubdirectory(F){try{let j=e.cloneDeep(this.TeamsSubdirectorylist);this.TeamsSubdirectorylist=[];for(let T of j){if(T.id===F.id)break;this.TeamsSubdirectorylist.push(F)}}catch(j){this.Debug.ShowErrorMessage(j,"Graph","RemoveTeamsSubdirectory",this.Debug.Typen.Service)}}RemoveSiteSubdirectory(F){try{let T,j=e.cloneDeep(this.TeamsSubdirectorylist);this.TeamsSubdirectorylist=[];for(let P of j)if(T=e.find(this.TeamsSubdirectorylist,x=>x.id===P.id),e.isUndefined(T)&&this.TeamsSubdirectorylist.push(P),P.id===F.id)break}catch(j){this.Debug.ShowErrorMessage(j,"Graph","RemoveSiteSubdirectory",this.Debug.Typen.Service)}}GetEmptyTeamsfile(){try{return{cTag:"",createdBy:{user:{displayName:"",email:"",id:""}},createdDateTime:"",eTag:"",fileSystemInfo:{createdDateTime:"",lastModifiedDateTime:""},id:"",lastModifiedBy:{},lastModifiedDateTime:"",name:"",parentReference:{driveId:"",driveType:"",id:"",path:""},shared:{scope:""},size:0,webUrl:""}}catch(F){this.Debug.ShowErrorMessage(F,"Graph","GetEmptyTeamsfile",this.Debug.Typen.Service)}}GetSiteSubdirictoryfilelist(F,j){var T=this;return n(function*(){try{let x,P=yield T.AuthService.RequestToken("user.read"),N=[],O=[];T.TeamsRootfilelist=[],T.TeamsCurrentfilelist=[];const H=l.Client.init({authProvider:G=>{G(null,P)}});return new Promise((G,te)=>{null!==P?H.api("/sites/"+T.BAESiteID+"/drive/items/"+F.id+"/children").get().then(ue=>{for(x of ue.value)e.isUndefined(x.file)?(x.isfolder=!0,O.push(x)):(x.isfolder=!1,N.push(x));O.sort((se,K)=>se.nameK.name?1:0),N.sort((se,K)=>se.nameK.name?1:0),!1===j?T.TeamsRootfilelist=O:(T.TeamsRootfilelist=O,T.TeamsRootfilelist=T.TeamsRootfilelist.concat(N)),T.TeamsCurrentfilelist=T.TeamsRootfilelist,e.isUndefined(e.find(T.TeamsSubdirectorylist,se=>se.id===F.id))&&T.TeamsSubdirectorylist.push(F),G(!0)}).catch(ue=>{te(ue)}):te(!1)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetSiteSubdirictoryfilelist",T.Debug.Typen.Service)}})()}DownloadPDFTeamsFile(F,j){var T=this;return n(function*(){try{let P=yield T.AuthService.RequestToken("user.read"),x={name:j.name,id:"",context:"",url:""};const N=l.Client.init({authProvider:O=>{O(null,P)}});return new Promise((O,H)=>{null!==P?N.api("/groups/"+F+"/drive/items/"+j.id+"?select=id,@microsoft.graph.downloadUrl").get().then(G=>{x.id=G.id,x.url=G["@microsoft.graph.downloadUrl"],x.context=G["@odata.context"],T.CurrentPDFDownload=x,O(x)}).catch(G=>{H(G)}):H(null)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","DownloadPDFTeamsFile",T.Debug.Typen.Service)}})()}DownloadPDFSiteFile(F){var j=this;return n(function*(){try{let T=yield j.AuthService.RequestToken("user.read"),P={name:F.name,id:"",context:"",url:""};const x=l.Client.init({authProvider:N=>{N(null,T)}});return new Promise((N,O)=>{null!==T?x.api("/sites/"+j.BAESiteID+"/drive/items/"+F.id+"?select=id,@microsoft.graph.downloadUrl").get().then(H=>{P.id=H.id,P.url=H["@microsoft.graph.downloadUrl"],P.context=H["@odata.context"],j.CurrentPDFDownload=P,N(P)}).catch(H=>{O(H)}):O(null)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","DownloadPDFSiteFile",j.Debug.Typen.Service)}})()}DownloadPDFSiteFileViaLink(F){var j=this;return n(function*(){try{let T=yield j.AuthService.RequestToken("user.read"),P=document.createElement("a"),x={name:"",id:"",context:"",url:""};const N=l.Client.init({authProvider:O=>{O(null,T)}});return new Promise((O,H)=>{null!==T?N.api("/sites/"+j.BAESiteID+"/drive/items/"+F+"?select=id,@microsoft.graph.downloadUrl").get().then(G=>{x.id=G.id,x.url=G["@microsoft.graph.downloadUrl"],x.context=G["@odata.context"],j.CurrentPDFDownload=x,document.body.appendChild(P),P.href=x.url,P.click(),P.remove(),O(x)}).catch(G=>{H(G)}):H(null)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","DownloadPDFSiteFileViaLink",j.Debug.Typen.Service)}})()}TestGraph(){var F=this;return n(function*(){try{let j=yield F.AuthService.RequestToken("user.read"),T="632cc6c8-51d5-4219-8092-ed10a792e715";const P=l.Client.init({authProvider:x=>{x(null,j)}});return new Promise((x,N)=>{null!==j?P.api("/groups/"+T+"/drive/root:/General/11 Jour Fixe").version("beta").get().then(O=>{x(!0)}).catch(O=>{N(O)}):N(!1)})}catch(j){F.Debug.ShowErrorMessage(j,"Graph","TestGraph",F.Debug.Typen.Service)}})()}TeamsCheckFileExists(F,j,T){var P=this;return n(function*(){try{let O,x=yield P.AuthService.RequestToken("user.read"),N=!1;const H=l.Client.init({authProvider:G=>{G(null,x)}});return j=j.replace("ROOT:",""),new Promise((G,te)=>{null!==x?H.api("/groups/"+F+"/drive/items/"+j+"/children").get().then(ue=>{for(O of ue.value)e.isUndefined(O.folder)&&O.name===T&&(N=!0);G(N)}).catch(ue=>{te(ue)}):te(!1)})}catch(x){P.Debug.ShowErrorMessage(x,"Graph","TeamsCheckFileExists",P.Debug.Typen.Service)}})()}SiteCheckFileExists(F,j){var T=this;return n(function*(){try{let N,P=yield T.AuthService.RequestToken("user.read"),x=!1;const O=l.Client.init({authProvider:H=>{H(null,P)}});return F=F.replace("ROOT:",""),new Promise((H,G)=>{null!==P?O.api("/sites/"+T.BAESiteID+"/drive/items/"+F+"/children").get().then(te=>{for(N of te.value)e.isUndefined(N.folder)&&N.name===j&&(x=!0);H(x)}).catch(te=>{H(null)}):G(!1)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","SiteCheckFileExists",T.Debug.Typen.Service)}})()}GetTeamsSubDirectory(F,j){var T=this;return n(function*(){try{let P=yield T.AuthService.RequestToken("user.read");const x=l.Client.init({authProvider:N=>{N(null,P)}});return new Promise((N,O)=>{null!==P?x.api("/groups/"+F+"/drive/items/"+j).get().then(H=>{N(H)}).catch(H=>{N(null)}):O(null)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetTeamsSubDirectory",T.Debug.Typen.Service)}})()}GetSiteSubDirectory(F){var j=this;return n(function*(){try{let T=yield j.AuthService.RequestToken("user.read");const P=l.Client.init({authProvider:x=>{x(null,T)}});return new Promise((x,N)=>{null!==T?P.api("/sites/"+j.BAESiteID+"/drive/items/"+F).get().then(O=>{x(O)}).catch(O=>{x(null)}):N(null)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetSiteSubDirectory",j.Debug.Typen.Service)}})()}GetAllUsers(){var F=this;return n(function*(){try{let P,x,j=[],T=[],N=0,O=yield F.AuthService.RequestToken("User.ReadBasic.All");const H=l.Client.init({authProvider:G=>{G(null,O)}});if(P=yield H.api("/users").count().get(),e.isUndefined(P["@odata.count"])||(N=P["@odata.count"]),!e.isUndefined(P.value)&&(T.push(P.value),!e.isUndefined(P["@odata.nextLink"]))){do{x=P["@odata.nextLink"],P=yield H.api(x).get(),e.isUndefined(P.value)||T.push(P.value)}while(!e.isUndefined(P["@odata.nextLink"]));e.isUndefined(P.value)||T.push(P.value)}for(let G of T)for(let te of G)j.push(te);return j=e.filter(j,G=>null!==G.mail&&null!==G.givenName&&null!==G.surname),Promise.resolve(j)}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetAllUsers",F.Debug.Typen.Service)}})()}GetTeamsMitglieder(F){var j=this;return n(function*(){try{let T=[],P=yield j.AuthService.RequestToken("user.read");const N=l.Client.init({authProvider:O=>{O(null,P)}});return new Promise((O,H)=>{null!==P?N.api("/teams/"+F+"/members").get().then(G=>{if(!e.isUndefined(G.value)){T=G.value;for(let te of T)te.UserImageSRC=null}T=e.filter(T,te=>"microsoft@burnicklgroup.onmicrosoft.com"!==te.email),O(T)}).catch(G=>{H(G)}):H(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetTeamsMitglieder",j.Debug.Typen.Service)}})()}SendMail(F,j,T){var P=this;return n(function*(){try{let x,N=yield P.AuthService.RequestToken("Mail.Send");const O=l.Client.init({authProvider:H=>{H(null,N)}});if(!0===P.Basics.DebugNoExternalEmail)for(let H of F)H.emailAddress.address="p.hornburger@gmail.com";if(null!==N){const H={message:{subject:j,body:{contentType:"html",content:T},toRecipients:F},saveToSentItems:"true"};return x=yield O.api("/me/sendMail").post(H),Promise.resolve(x)}return Promise.reject(!1)}catch(x){P.Debug.ShowErrorMessage(x,"Graph","SendMail",P.Debug.Typen.Service)}})()}GetOwnUserimage(){var F=this;return n(function*(){try{let j=yield F.AuthService.RequestToken("user.read");const T=l.Client.init({authProvider:x=>{x(null,j)}}),P={"Content-Type":"image/jpeg"};return new Promise((x,N)=>{null!==j?T.api("/me/photo/$value").headers(P).responseType(l.ResponseType.BLOB).get().then(O=>{F.UserimageSRC=F.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(O)),x(!0)}).catch(O=>{404===O.statusCode&&(F.UserimageSRC=null,x(!0)),N(O)}):N(!1)})}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnUserinfo",F.Debug.Typen.Service)}})()}GetOtherUserimage(F){var j=this;return n(function*(){try{let P,T=yield j.AuthService.RequestToken("user.read");const x=l.Client.init({authProvider:O=>{O(null,T)}}),N={"Content-Type":"image/jpeg"};return new Promise((O,H)=>{null!==T?x.api("/users/"+F+"/photo/$value").headers(N).responseType(l.ResponseType.BLOB).get().then(G=>{P=j.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(G)),O(P)}).catch(G=>{404===G.statusCode&&(P=null,O(P)),H(G)}):H(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnUserinfo",j.Debug.Typen.Service)}})()}static \u0275fac=function(j){return new(j||A)(c.\u0275\u0275inject(a.MSAL_GUARD_CONFIG),c.\u0275\u0275inject(g.DebugProvider),c.\u0275\u0275inject(v.MsalService),c.\u0275\u0275inject(p.ConstProvider),c.\u0275\u0275inject(S.HttpClient),c.\u0275\u0275inject(C.DatabaseAuthenticationService),c.\u0275\u0275inject(_.ToolsProvider),c.\u0275\u0275inject(f.DatabaseOutlookemailService),c.\u0275\u0275inject(S.HttpClient),c.\u0275\u0275inject(y.DatabasePoolService),c.\u0275\u0275inject(b.BasicsProvider),c.\u0275\u0275inject(E.DomSanitizer))};static \u0275prov=c.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},33940:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.LoadingAnimationService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388)),a=n.__importStar(o(10716)),l=n.__importStar(o(14652));h.LoadingAnimationService=(()=>{class u{Debug;Loader;Basics;AjaxTime;constructor(g,v,p){this.Debug=g,this.Loader=v,this.Basics=p;try{this.AjaxTime=null}catch(S){this.Debug.ShowErrorMessage(S.message,"file","constructor",this.Debug.Typen.Service)}}ShowLoadingAnimation(g,v){try{let S={spinner:"lines",message:'\n \n \n \n \n \n \n \n
'+g+'

'+v+"
",cssClass:"loadingclass",showBackdrop:!0,enableBackdropDismiss:!1,translucent:!1,dismissOnPageChange:!1};return new Promise((C,_)=>{this.AjaxTime=(new Date).getTime(),this.Loader.create(S).then(f=>{f.present(),C(!0)}).catch(f=>{_(f)})})}catch(p){this.Debug.ShowErrorMessage(p.message,"Loading Message Provider","ShowLoadingAnimation",this.Debug.Typen.Service)}}HideLoadingAnimation(g){try{let p,v=this.Basics.Waittime;return p=null!==this.AjaxTime?(new Date).getTime()-this.AjaxTime:v+1,new Promise(S=>{if(!g)return this.Loader.dismiss().then(()=>{S(!0)}).catch(C=>{S(!0)});v>p?v-=p:v=0,setTimeout(()=>{this.Loader.dismiss().then(()=>{S(!0)}).catch(C=>{S(!0)})},v)})}catch(v){this.Debug.ShowErrorMessage(v.message,"Loading Message Provider","HideLoadingAnimation",this.Debug.Typen.Service)}}static \u0275fac=function(v){return new(v||u)(i.\u0275\u0275inject(d.DebugProvider),i.\u0275\u0275inject(a.LoadingController),i.\u0275\u0275inject(l.BasicsProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac})}return u})()},59460:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.MenueService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388)),a=n.__importStar(o(19668)),l=n.__importStar(o(29743));h.MenueService=(()=>{class u{Debug;Tools;Const;MainMenuebereich;MainMenuebereiche={Home:"Home",Email:"Email",Debug:"Debug",Logout:"Logout",Einstellungen:"Einstellungen",Projekte:"Projekte",Urlaubsplanung:"Urlaubsplanung"};UrlaubMenuebereich;UrlaubMenuebereiche={Planung:"Planung",Uebersicht:"Uebersicht",Einstellungen:"Einstellungen",Freigaben:"Freigaben"};ProjekteMenuebereich;ProjekteMenuebereiche={Aufgabenliste:"Aufgabenliste",Protokolle:"Protokolle",LOPListe:"LOP Liste",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",Planungsmatrix:"Planungsmatrix",Simontabelle:"Simontabelle",Fileliste:"Fileliste",Notizen:"Notizen"};Aufgabenlisteansicht;Aufgabenlisteansichten={Mein_Tag:"Mein Tag",Meine_Woche:"Meine Woche",Meilensteine:"Meilensteine",Projekt:"Projekt",Alle:"Alle"};FirmaMenuebereich;FirmaMenuebereiche={Standorte:"Standorte",Mitarbeiter:"Mitarbeiter",Projekte:"Projekte",Favoriten:"Favoriten",Play:"Play"};FilelisteAufrufer;FilelisteAufrufervarianten={Aufgabenliste:"Aufgabenliste",Protokollliste:"Protokollliste",LOPListe:"LOP Liste",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",Simontabelle:"Simontabelle",ImageZoom:"ImageZoom"};constructor(g,v,p){this.Debug=g,this.Tools=v,this.Const=p;try{this.MainMenuebereich=this.MainMenuebereiche.Projekte,this.FirmaMenuebereich=this.FirmaMenuebereiche.Projekte,this.ProjekteMenuebereich=this.ProjekteMenuebereiche.Aufgabenliste,this.UrlaubMenuebereich=this.UrlaubMenuebereiche.Planung,this.Aufgabenlisteansicht=this.Aufgabenlisteansichten.Projekt,this.FilelisteAufrufer=this.FilelisteAufrufervarianten.Aufgabenliste}catch(S){this.Debug.ShowErrorMessage(S.message,"Menue","constructor",this.Debug.Typen.Service)}}SetCurrentPage(){try{switch(this.MainMenuebereich){case this.MainMenuebereiche.Home:this.Tools.SetRootPage(this.Const.Pages.HomePage);break;case this.MainMenuebereiche.Email:this.Tools.SetRootPage(this.Const.Pages.EmaillistePage);break;case this.MainMenuebereiche.Urlaubsplanung:switch(this.UrlaubMenuebereich){case this.UrlaubMenuebereiche.Planung:this.Tools.SetRootPage(this.Const.Pages.UrlaubPlanungPage);break;case this.UrlaubMenuebereiche.Uebersicht:this.Tools.SetRootPage(this.Const.Pages.UrlaubUebersichtPage);break;case this.UrlaubMenuebereiche.Freigaben:this.Tools.SetRootPage(this.Const.Pages.UrlaubFreigabenPage);break;case this.UrlaubMenuebereiche.Einstellungen:this.Tools.SetRootPage(this.Const.Pages.UrlaubEinstellungenPage)}break;case this.MainMenuebereiche.Projekte:switch(this.ProjekteMenuebereich){case this.ProjekteMenuebereiche.Notizen:this.Tools.SetRootPage(this.Const.Pages.PjNotizenListePage);break;case this.ProjekteMenuebereiche.Aufgabenliste:switch(this.Aufgabenlisteansicht){case this.Aufgabenlisteansichten.Alle:case this.Aufgabenlisteansichten.Mein_Tag:case this.Aufgabenlisteansichten.Meine_Woche:case this.Aufgabenlisteansichten.Meilensteine:case this.Aufgabenlisteansichten.Projekt:this.Tools.SetRootPage(this.Const.Pages.PjAufgabenlistePage)}break;case this.ProjekteMenuebereiche.Fileliste:this.Tools.PushPage(this.Const.Pages.PjFilebrowserPage);break;case this.ProjekteMenuebereiche.Protokolle:this.Tools.SetRootPage(this.Const.Pages.PjProtokolleListePage);break;case this.ProjekteMenuebereiche.LOPListe:this.Tools.SetRootPage(this.Const.Pages.PjBaustelleLoplistePage);break;case this.ProjekteMenuebereiche.Bautagebuch:this.Tools.SetRootPage(this.Const.Pages.PjBaustelleTagebuchlistePage);break;case this.ProjekteMenuebereiche.Festlegungen:this.Tools.SetRootPage(this.Const.Pages.PjFestlegungslistePage);break;case this.ProjekteMenuebereiche.Planungsmatrix:this.Tools.SetRootPage(this.Const.Pages.PjPlanungsmatrixPage);break;case this.ProjekteMenuebereiche.Simontabelle:this.Tools.SetRootPage(this.Const.Pages.PjSimontabellelistePage)}}}catch(g){this.Debug.ShowErrorMessage(g.message,"Menue","SetCurrentPage",this.Debug.Typen.Service)}}static \u0275fac=function(v){return new(v||u)(i.\u0275\u0275inject(d.DebugProvider),i.\u0275\u0275inject(a.ToolsProvider),i.\u0275\u0275inject(l.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},77200:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Navparameter=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(29743));h.Navparameter=(()=>{class l{Const;NavListe;CanGoBack;Debugstatus;constructor(u){this.Const=u;try{this.NavListe=[],this.CanGoBack=!1,this.Debugstatus=!0}catch(c){console.log(c,"Nav Parameter -> constructor:"+c)}}RemovePage(){try{let u=null;return this.NavListe.length>1?(this.NavListe.splice(this.NavListe.length-1,1),u=this.NavListe[this.NavListe.length-1],this.CanGoBack=this.NavListe.length>1):this.CanGoBack=!1,this.Debugstatus&&(console.log("Navparamter -> Removed Page"),this.PrintNavliste()),u}catch(u){console.log(u,"Nav Parameter -> RemovePage:"+u)}}AddPage(u){try{this.CanGoBack=!0,this.NavListe[this.NavListe.length-1]!==u?(this.NavListe.push(u),this.Debugstatus&&(console.log("Navparamter -> AddPage: "+u),this.PrintNavliste())):console.log("Add Page Failed: "+u)}catch(c){console.log(c,"Nav Parameter -> AddPage: "+c)}}PrintNavliste(){try{let u;console.log("**************************"),console.log("Navliste: ");for(let c=0;c "+u):console.log(u);console.log("**************************")}catch(u){console.log(u,"Nav Parameter -> PrintNavliste: "+u)}}SetRootpage(u){try{this.CanGoBack=!1,this.NavListe=[],this.NavListe.push(u),this.Debugstatus&&(console.log("Navparamter -> SetRootpage: "+u),this.PrintNavliste())}catch(c){console.log(c,"Nav Parameter -> SetRootpage: "+c)}}static \u0275fac=function(c){return new(c||l)(i.\u0275\u0275inject(d.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},19668:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ToolsProvider=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=n.__importDefault(o(35908)),a=n.__importDefault(o(35908)),l=n.__importStar(o(54496)),e=n.__importStar(o(14652)),u=n.__importStar(o(34388)),c=n.__importStar(o(29743)),g=n.__importStar(o(77200)),v=n.__importStar(o(10716));h.ToolsProvider=(()=>{class S{Basics;Debug;Const;NavParameter;nav;platform;alertCtrl;UID_Counter;IsRunningOnDeviceFirstTime;ShowMessage;DialogMessage;IsRunningOnDeviceValue;constructor(_,f,y,b,E,M,A){this.Basics=_,this.Debug=f,this.Const=y,this.NavParameter=b,this.nav=E,this.platform=M,this.alertCtrl=A;try{this.UID_Counter=0,this.IsRunningOnDeviceFirstTime=!0,this.ShowMessage=!1,this.DialogMessage="",this.IsRunningOnDeviceValue=!1}catch(I){this.Debug.ShowErrorMessage(I.message,"Tools","Constructor",this.Debug.Typen.Service)}}IsNumeric(_){try{return!isNaN(parseFloat(_))&&isFinite(_)}catch(f){this.Debug.ShowErrorMessage(f,"Tools","IsNumeric",this.Debug.Typen.Service)}}GetButtonvalueSize(){try{return this.platform.width()<=600?12:6}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GetButtonvalueSize",this.Debug.Typen.Service)}}GetDatumFromZeitstempel(_){try{return(0,a.default)(_).format("DD.MM.YY")}catch(f){this.Debug.ShowErrorMessage(f,"Tools","GetDatumFromZeitstempel",this.Debug.Typen.Service)}}GetZeitFromZeitstempel(_){try{return(0,a.default)(_).format("HH:mm")}catch(f){this.Debug.ShowErrorMessage(f,"Tools","GetZeitFromZeitstempel",this.Debug.Typen.Service)}}GenerateFilename(_,f,y){try{let b=_,E=""!==y?"_"+y:"";return b=b.replace(/ /g,"_"),b=b.replace(/\xe4/g,"ae"),b=b.replace(/\xc4/g,"AE"),b=b.replace(/\xf6/g,"oe"),b=b.replace(/\xd6/g,"OE"),b=b.replace(/\xfc/g,"ue"),b=b.replace(/\xdc/g,"UE"),b=b.replace(/\xdf/g,"ss"),b=b.replace(/[^a-zA-Z0-9 ]/g,"_"),b+E+"."+f}catch(b){this.Debug.ShowErrorMessage(b.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}GenerateProjektkey(_,f){try{let y=_;return y=y.replace(/ /g,"_"),y=y.replace(/\xe4/g,"ae"),y=y.replace(/\xc4/g,"AE"),y=y.replace(/\xf6/g,"oe"),y=y.replace(/\xd6/g,"OE"),y=y.replace(/\xfc/g,"ue"),y=y.replace(/\xdc/g,"UE"),y=y.replace(/\xdf/g,"ss"),y=y.replace(/[^a-zA-Z0-9 ]/g,"_"),y}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}DeepCompareObjectarrays(_,f){try{let b,E,M,A,I,y=!1;if(_.length>=f.length)for(A of _){if(b=f.findIndex(F=>A[E]===F[E]),-1===b){y=!0;break}M=Object.keys(_[b]),I=f[b];for(let F of M)if(A[F]!==I[F]){y=!0;break}if(!0===y)break}else for(I of f){if(b=_.findIndex(F=>I[E]===F[E]),-1===b){y=!0;break}M=Object.keys(_[b]),A=_[b];for(let F of M)if(I[F]!==A[F]){y=!0;break}if(!0===y)break}return y}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","DeepCompareObjectarrays",this.Debug.Typen.Service)}}JSONCompareObjectarrays(_,f){try{return JSON.stringify(_)!==JSON.stringify(f)}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","JSONCompareObjectarrays",this.Debug.Typen.Service)}}CompareObjectarrays(_,f,y){try{let E,b=!1;if(_.length>=f.length){for(let M of _)if(E=f.findIndex(A=>M[y]===A[y]),-1===E){b=!0;break}}else for(let M of f)if(E=_.findIndex(A=>M[y]===A[y]),-1===E){b=!0;break}return b}catch(b){this.Debug.ShowErrorMessage(b.message,"Tools","CompareObjectarrays",this.Debug.Typen.Service)}}ShowEntscheidungDialog(_,f){try{return new Promise(y=>{this.alertCtrl.create({header:_,message:f,cssClass:"alertdialogclass",buttons:[{text:"Nein",cssClass:"infonoclass",handler:()=>{y(this.Const.Dialogmessages.no)}},{text:"Ja",cssClass:"infookclass",handler:()=>{y(this.Const.Dialogmessages.ok)}}]}).then(b=>{b.present()}).catch(b=>{console.log(b)})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","ShowEntscheidungDialog",this.Debug.Typen.Service)}}ShowAuswahlDialog(_,f,y,b){try{return new Promise(E=>{this.alertCtrl.create({header:_,cssClass:"alertdialogclass",message:f,inputs:[{name:"wahla",type:"radio",label:y,value:this.Const.Dialogmessages.wahla,checked:!0},{name:"wahlb",type:"radio",label:b,value:this.Const.Dialogmessages.wahlb}],buttons:[{text:"Abbrechen",role:"cancel",cssClass:"infonotwoclass",handler:()=>{E(null)}},{text:"Fertig",cssClass:"infookclass",handler:M=>{i.isUndefined(M)?E(null):E(M)}}]}).then(M=>{M.present()}).catch(M=>{console.log(M)})})}catch(E){this.Debug.ShowErrorMessage(E.message,"Tools","ShowAuswahlDialog",this.Debug.Typen.Service)}}RemoveNullFromObject(_){try{let f;for(const y of Object.keys(_))f=_[y],null===f&&(f="",_[y]=f);return _}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","RemoveNullFromObject",this.Debug.Typen.Service)}}FormatCurrency(_,f=2,y=",",b="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const E=_<0?"-":"";let M=parseInt(_=Math.abs(Number(_)||0).toFixed(f)).toString(),A=M.length>3?M.length%3:0;return E+(A?M.substr(0,A)+b:"")+M.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+b)+(f?y+Math.abs(_-M).toFixed(f).slice(2):"")+" \u20ac"}catch(E){this.Debug.ShowErrorMessage(E,"Tools","FormatCurrency",this.Debug.Typen.Service)}}FormatNumber(_,f=2,y=",",b="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const E=_<0?"-":"";let M=parseInt(_=Math.abs(Number(_)||0).toFixed(f)).toString(),A=M.length>3?M.length%3:0;return E+(A?M.substr(0,A)+b:"")+M.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+b)+(f?y+Math.abs(_-M).toFixed(f).slice(2):"")}catch(E){this.Debug.ShowErrorMessage(E,"Tools","FormatNumber",this.Debug.Typen.Service)}}FormatMoney(_,f=2,y=",",b="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const E=_<0?"-":"";let M=parseInt(_=Math.abs(Number(_)||0).toFixed(f)).toString(),A=M.length>3?M.length%3:0;return E+(A?M.substr(0,A)+b:"")+M.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+b)+(f?y+Math.abs(_-M).toFixed(f).slice(2):"")}catch(E){this.Debug.ShowErrorMessage(E,"Tools","FormatMoney",this.Debug.Typen.Service)}}FormatValue(_,f,y){try{let b;return null!==_?(_>=1e6?(_/=1e6,b=0===y?(_=Math.round(_)).toString()+" M":_.toFixed(y)+" M"):_>=1e3?(_/=1e3,b=0===y?(_=Math.round(_)).toString()+" k":_.toFixed(y)+" k"):_>0&&_<1?_<1e-9?(_*=1e9,0===y?_=Math.round(_):b=_.toFixed(y),b=_.toString()+" p"):_<1e-6?(_*=1e6,b=0===y?Math.round(_).toString():_.toFixed(y),b+=" n"):_<.001?(_*=1e3,b=0===y?Math.round(_).toString():_.toFixed(y),b+=" µ"):_<1&&(_*=1e3,b=0===y?Math.round(_).toString():_.toFixed(y),b+=" m"):(b=0===y?Math.round(_).toString():_.toFixed(y),""!==f&&(b=b+" "+f)),b=b.replace(".",","),""!==f&&(b=b+" "+f),b):"0"}catch(b){this.Debug.ShowErrorMessage(b.message,"Tools","FormatValue",this.Debug.Typen.Service)}}GetUniqueID(_){try{return this.UID_Counter++,"uid_"+_.replace(/-/g,"_")+"_"+this.UID_Counter.toString()}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetUniqueID",this.Debug.Typen.Service)}}HexToRGB(_){try{let f,y=100,b=50,E=50;return typeof _<"u"&&(_=_.replace("#",""),f=parseInt(_,16),y=f>>16&255,b=f>>8&255,E=255&f),y+","+b+","+E}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","HexToRGB",this.Debug.Typen.Component)}}SetRootPage(_){try{return new Promise(f=>{this.nav.navigateRoot(_,{animated:!1}).then(()=>{this.NavParameter.SetRootpage(_),f(!0)}).catch(y=>{console.log(y)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PushPage(_){try{return new Promise(f=>{this.nav.navigateForward(_,{animated:!0}).then(()=>{this.NavParameter.AddPage(_),f(!0)}).catch(y=>{console.log(y)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PopPage(){try{let _;return new Promise(f=>{_=this.NavParameter.RemovePage(),null!==_?this.nav.navigateBack(_,{animated:!1}).then(()=>{f(!0)}).catch(y=>{console.log(y)}):f(!0)})}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}GetBogenmass(_){try{return _/180*Math.PI}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetBogenmass",this.Debug.Typen.Service)}}GetGradmass(_){try{return 180*_/Math.PI}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetGradmass",this.Debug.Typen.Service)}}IstGerade(_){try{return _%2==0}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","IstGerade",this.Debug.Typen.Service)}}IstUngerade(_){try{return _%2!=0}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","IstUngerade",this.Debug.Typen.Service)}}RundenDezimal(_,f){try{let y=Math.pow(10,f||0);return Math.round(_*y)/y}catch(y){this.Debug.ShowErrorMessage(y.message,"file","function",this.Debug.Typen.Page)}}Runden(_,f){try{let y=Math.pow(10,f);return(Math.round(_*y)/y).toFixed(f)}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","Runden",this.Debug.Typen.Service)}}GetZeitstempelwert(){try{return(0,d.default)().valueOf()}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetZeitpunkttext(){try{return(0,d.default)().format("DD.MM.YYYY HH:mm:ss")}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetTimebasedID(_,f,y){try{return(0,d.default)(_+"."+f+"."+y+" 12:0","DD.MM.YYYY HH:mm").locale("de").valueOf().toString()}catch(b){this.Debug.ShowErrorMessage(b.message,"Tools","GetTimebasedID",this.Debug.Typen.Service)}}FormatLinebreaks(_){try{return typeof _<"u"?_.replace(/(?:\r\n|\r|\n)/g,"
"):""}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","FormatLinebreaks",this.Debug.Typen.Service)}}ReplaceSonderzeichen(_){try{return(_=(_=(_=(_=(_=(_=(_=(_=_.replace(/ /g,"_")).replace(/\xe4/g,"ae")).replace(/\xc4/g,"Ae")).replace(/\xf6/g,"oe")).replace(/\xd6/g,"Oe")).replace(/\xfc/g,"ue")).replace(/\xdc/g,"Ue")).replace(/\xdf/g,"ss")).replace(/[&\/\\#,+()$~%.'\xa7=^!`\xb4;":.,*-?<>{}]/g,"")}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","ReplaceSonderzeichen",this.Debug.Typen.Service)}}RundenAsText(_,f){try{let b,y=Math.pow(10,f);return b=Math.round(_*y)/y,b.toString().replace(".",",")}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","Runden",this.Debug.Typen.Service)}}CheckArray(_){try{return!!this.CheckObject(_,!1)&&_ instanceof Array}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","CheckArray",this.Debug.Typen.Service)}}CheckObject(_,f){try{return typeof _<"u"&&null!==_&&(!1===f||typeof _[f.toString()]<"u")}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","CheckObject",this.Debug.Typen.Service)}}ShowHinweisDialog(_){try{return new Promise(f=>{this.alertCtrl.create({header:"Hinweis",message:_,cssClass:"alertdialogclass",buttons:[{text:"Ok",cssClass:"infookclass",handler:()=>{f(!0)}}]}).then(y=>{y.present()}).catch(y=>{console.log(y)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","ShowHinweisDialog",this.Debug.Typen.Service)}}CheckEmail(_){try{return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(_)}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","CheckEmail",this.Debug.Typen.Service)}}static \u0275fac=function(f){return new(f||S)(l.\u0275\u0275inject(e.BasicsProvider),l.\u0275\u0275inject(u.DebugProvider),l.\u0275\u0275inject(c.ConstProvider),l.\u0275\u0275inject(g.Navparameter),l.\u0275\u0275inject(v.NavController),l.\u0275\u0275inject(v.Platform),l.\u0275\u0275inject(v.AlertController))};static \u0275prov=l.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},36716:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.environment=void 0,h.environment={production:!0}},27460:(pe,h,o)=>{"use strict";const d=o(81316).__importStar(o(14476)),a=o(54496),l=o(5204);o(36716).environment.production&&(0,a.enableProdMode)(),d.platformBrowser().bootstrapModule(l.AppModule).catch(u=>console.log(u))},78776:(pe,h,o)=>{var i,d,n=o(1196).default;self,pe.exports=(i={7629:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(9474),v=e(1687),p=e(8652),S=e(8160),C=e(3292),_=e(6354),f=e(8901),y=e(9708),b=e(6914),E=e(2294),M=e(6133),A=e(1152),I=e(8863),F=e(2036),j={Base:class{constructor(T){this.type=T,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new E.Ids,this._preferences=null,this._refs=new M.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return u("function"==typeof y.describe,"Manifest functionality disabled"),y.describe(this)}allow(...T){return S.verifyFlat(T,"allow"),this._values(T,"_valids")}alter(T){u(T&&"object"==typeof T&&!Array.isArray(T),"Invalid targets argument"),u(!this._inRuleset(),"Cannot set alterations inside a ruleset");const P=this.clone();P.$_terms.alterations=P.$_terms.alterations||[];for(const x in T){const N=T[x];u("function"==typeof N,"Alteration adjuster for",x,"must be a function"),P.$_terms.alterations.push({target:x,adjuster:N})}return P.$_temp.ruleset=!1,P}artifact(T){return u(void 0!==T,"Artifact cannot be undefined"),u(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",T)}cast(T){return u(!1===T||"string"==typeof T,"Invalid to value"),u(!1===T||this._definition.cast[T],"Type",this.type,"does not support casting to",T),this.$_setFlag("cast",!1===T?void 0:T)}default(T,P){return this._default("default",T,P)}description(T){return u(T&&"string"==typeof T,"Description must be a non-empty string"),this.$_setFlag("description",T)}empty(T){const P=this.clone();return void 0!==T&&(T=P.$_compile(T,{override:!1})),P.$_setFlag("empty",T,{clone:!1})}error(T){return u(T,"Missing error"),u(T instanceof Error||"function"==typeof T,"Must provide a valid Error object or a function"),this.$_setFlag("error",T)}example(T,P={}){return u(void 0!==T,"Missing example"),S.assertOptions(P,["override"]),this._inner("examples",T,{single:!0,override:P.override})}external(T,P){return"object"==typeof T&&(u(!P,"Cannot combine options with description"),P=T.description,T=T.method),u("function"==typeof T,"Method must be a function"),u(void 0===P||P&&"string"==typeof P,"Description must be a non-empty string"),this._inner("externals",{method:T,description:P},{single:!0})}failover(T,P){return this._default("failover",T,P)}forbidden(){return this.presence("forbidden")}id(T){return T?(u("string"==typeof T,"id must be a non-empty string"),u(/^[^\.]+$/.test(T),"id cannot contain period character"),this.$_setFlag("id",T)):this.$_setFlag("id",void 0)}invalid(...T){return this._values(T,"_invalids")}label(T){return u(T&&"string"==typeof T,"Label name must be a non-empty string"),this.$_setFlag("label",T)}meta(T){return u(void 0!==T,"Meta cannot be undefined"),this._inner("metas",T,{single:!0})}note(...T){u(T.length,"Missing notes");for(const P of T)u(P&&"string"==typeof P,"Notes must be non-empty strings");return this._inner("notes",T)}only(T=!0){return u("boolean"==typeof T,"Invalid mode:",T),this.$_setFlag("only",T)}optional(){return this.presence("optional")}prefs(T){u(T,"Missing preferences"),u(void 0===T.context,"Cannot override context"),u(void 0===T.externals,"Cannot override externals"),u(void 0===T.warnings,"Cannot override warnings"),u(void 0===T.debug,"Cannot override debug"),S.checkPreferences(T);const P=this.clone();return P._preferences=S.preferences(P._preferences,T),P}presence(T){return u(["optional","required","forbidden"].includes(T),"Unknown presence mode",T),this.$_setFlag("presence",T)}raw(T=!0){return this.$_setFlag("result",T?"raw":void 0)}result(T){return u(["raw","strip"].includes(T),"Unknown result mode",T),this.$_setFlag("result",T)}required(){return this.presence("required")}strict(T){const P=this.clone();return P._preferences=S.preferences(P._preferences,{convert:void 0!==T&&!T}),P}strip(T=!0){return this.$_setFlag("result",T?"strip":void 0)}tag(...T){u(T.length,"Missing tags");for(const P of T)u(P&&"string"==typeof P,"Tags must be non-empty strings");return this._inner("tags",T)}unit(T){return u(T&&"string"==typeof T,"Unit name must be a non-empty string"),this.$_setFlag("unit",T)}valid(...T){S.verifyFlat(T,"valid");const P=this.allow(...T);return P.$_setFlag("only",!!P._valids,{clone:!1}),P}when(T,P){const x=this.clone();x.$_terms.whens||(x.$_terms.whens=[]);const N=C.when(x,T,P);if(!["any","link"].includes(x.type)){const O=N.is?[N]:N.switch;for(const H of O)u(!H.then||"any"===H.then.type||H.then.type===x.type,"Cannot combine",x.type,"with",H.then&&H.then.type),u(!H.otherwise||"any"===H.otherwise.type||H.otherwise.type===x.type,"Cannot combine",x.type,"with",H.otherwise&&H.otherwise.type)}return x.$_terms.whens.push(N),x.$_mutateRebuild()}cache(T){u(!this._inRuleset(),"Cannot set caching inside a ruleset"),u(!this._cache,"Cannot override schema cache"),u(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const P=this.clone();return P._cache=T||p.provider.provision(),P.$_temp.ruleset=!1,P}clone(){const T=Object.create(Object.getPrototypeOf(this));return this._assign(T)}concat(T){u(S.isSchema(T),"Invalid schema object"),u("any"===this.type||"any"===T.type||T.type===this.type,"Cannot merge type",this.type,"with another type:",T.type),u(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),u(!T._inRuleset(),"Cannot concatenate a schema with open ruleset");let P=this.clone();if("any"===this.type&&"any"!==T.type){const x=T.clone();for(const N of Object.keys(P))"type"!==N&&(x[N]=P[N]);P=x}P._ids.concat(T._ids),P._refs.register(T,M.toSibling),P._preferences=P._preferences?S.preferences(P._preferences,T._preferences):T._preferences,P._valids=F.merge(P._valids,T._valids,T._invalids),P._invalids=F.merge(P._invalids,T._invalids,T._valids);for(const x of T._singleRules.keys())P._singleRules.has(x)&&(P._rules=P._rules.filter(N=>N.keep||N.name!==x),P._singleRules.delete(x));for(const x of T._rules)T._definition.rules[x.method].multi||P._singleRules.set(x.name,x),P._rules.push(x);if(P._flags.empty&&T._flags.empty){P._flags.empty=P._flags.empty.concat(T._flags.empty);const x=Object.assign({},T._flags);delete x.empty,v(P._flags,x)}else if(T._flags.empty){P._flags.empty=T._flags.empty;const x=Object.assign({},T._flags);delete x.empty,v(P._flags,x)}else v(P._flags,T._flags);for(const x in T.$_terms){const N=T.$_terms[x];N?P.$_terms[x]=P.$_terms[x]?P.$_terms[x].concat(N):N.slice():P.$_terms[x]||(P.$_terms[x]=N)}return this.$_root._tracer&&this.$_root._tracer._combine(P,[this,T]),P.$_mutateRebuild()}extend(T){return u(!T.base,"Cannot extend type with another base"),f.type(this,T)}extract(T){return T=Array.isArray(T)?T:T.split("."),this._ids.reach(T)}fork(T,P){u(!this._inRuleset(),"Cannot fork inside a ruleset");let x=this;for(let N of[].concat(T))N=Array.isArray(N)?N:N.split("."),x=x._ids.fork(N,P,x);return x.$_temp.ruleset=!1,x}rule(T){const P=this._definition;S.assertOptions(T,Object.keys(P.modifiers)),u(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const x=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;u(x>=0&&xx.tailor(T),ref:!1}),P.$_temp.ruleset=!1,P.$_mutateRebuild()}tracer(){return A.location?A.location(this):this}validate(T,P){return I.entry(T,this,P)}validateAsync(T,P){return I.entryAsync(T,this,P)}$_addRule(T){"string"==typeof T&&(T={name:T}),u(T&&"object"==typeof T,"Invalid options"),u(T.name&&"string"==typeof T.name,"Invalid rule name");for(const H in T)u("_"!==H[0],"Cannot set private rule properties");const P=Object.assign({},T);P._resolve=[],P.method=P.method||P.name;const x=this._definition.rules[P.method],N=P.args;u(x,"Unknown rule",P.method);const O=this.clone();if(N){u(1===Object.keys(N).length||Object.keys(N).length===this._definition.rules[P.name].args.length,"Invalid rule definition for",this.type,P.name);for(const H in N){let G=N[H];if(x.argsByName){const te=x.argsByName.get(H);if(te.ref&&S.isResolvable(G))P._resolve.push(H),O.$_mutateRegister(G);else if(te.normalize&&(G=te.normalize(G),N[H]=G),te.assert){const ue=S.validateArg(G,H,te);u(!ue,ue,"or reference")}}void 0!==G?N[H]=G:delete N[H]}}return x.multi||(O._ruleRemove(P.name,{clone:!1}),O._singleRules.set(P.name,P)),!1===O.$_temp.ruleset&&(O.$_temp.ruleset=null),x.priority?O._rules.unshift(P):O._rules.push(P),O}$_compile(T,P){return C.schema(this.$_root,T,P)}$_createError(T,P,x,N,O,H={}){const G=!1!==H.flags?this._flags:{},te=H.messages?b.merge(this._definition.messages,H.messages):this._definition.messages;return new _.Report(T,P,x,G,te,N,O)}$_getFlag(T){return this._flags[T]}$_getRule(T){return this._singleRules.get(T)}$_mapLabels(T){return T=Array.isArray(T)?T:T.split("."),this._ids.labels(T)}$_match(T,P,x,N){(x=Object.assign({},x)).abortEarly=!0,x._externals=!1,P.snapshot();const O=!I.validate(T,this,P,x,N).errors;return P.restore(),O}$_modify(T){return S.assertOptions(T,["each","once","ref","schema"]),E.schema(this,T)||this}$_mutateRebuild(){return u(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(T,{source:P,name:x,key:O})=>{const H=this._definition[P][x]&&this._definition[P][x].register;!1!==H&&this.$_mutateRegister(T,{family:H,key:O})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(T,{family:P,key:x}={}){this._refs.register(T,P),this._ids.register(T,{key:x})}$_property(T){return this._definition.properties[T]}$_reach(T){return this._ids.reach(T)}$_rootReferences(){return this._refs.roots()}$_setFlag(T,P,x={}){if(u("_"===T[0]||!this._inRuleset(),"Cannot set flag inside a ruleset"),g(P,(this._definition.flags[T]||{}).default)&&(P=void 0),g(P,this._flags[T]))return this;const O=!1!==x.clone?this.clone():this;return void 0!==P?(O._flags[T]=P,O.$_mutateRegister(P)):delete O._flags[T],"_"!==T[0]&&(O.$_temp.ruleset=!1),O}$_parent(T,...P){return this[T][S.symbols.parent].call(this,...P)}$_validate(T,P,x){return I.validate(T,this,P,x)}_assign(T){T.type=this.type,T.$_root=this.$_root,T.$_temp=Object.assign({},this.$_temp),T.$_temp.whens={},T._ids=this._ids.clone(),T._preferences=this._preferences,T._valids=this._valids&&this._valids.clone(),T._invalids=this._invalids&&this._invalids.clone(),T._rules=this._rules.slice(),T._singleRules=c(this._singleRules,{shallow:!0}),T._refs=this._refs.clone(),T._flags=Object.assign({},this._flags),T._cache=null,T.$_terms={};for(const P in this.$_terms)T.$_terms[P]=this.$_terms[P]?this.$_terms[P].slice():null;T.$_super={};for(const P in this.$_super)T.$_super[P]=this._super[P].bind(T);return T}_bare(){const T=this.clone();T._reset();const P=T._definition.terms;for(const x in P)T.$_terms[x]=P[x].init;return T.$_mutateRebuild()}_default(T,P,x={}){return S.assertOptions(x,"literal"),u(void 0!==P,"Missing",T,"value"),u("function"==typeof P||!x.literal,"Only function value supports literal option"),"function"==typeof P&&x.literal&&(P={[S.symbols.literal]:!0,literal:P}),this.$_setFlag(T,P)}_generate(T,P,x){if(!this.$_terms.whens)return{schema:this};const N=[],O=[];for(let te=0;teZ)break}const H=O.join(", ");if(P.mainstay.tracer.debug(P,"rule","when",H),!H)return{schema:this};if(!P.mainstay.tracer.active&&this.$_temp.whens[H])return{schema:this.$_temp.whens[H],id:H};let G=this;this._definition.generate&&(G=this._definition.generate(this,T,P,x));for(const te of N)G=G.concat(te);return this.$_root._tracer&&this.$_root._tracer._combine(G,[this,...N]),this.$_temp.whens[H]=G,{schema:G,id:H}}_inner(T,P,x={}){u(!this._inRuleset(),`Cannot set ${T} inside a ruleset`);const N=this.clone();return N.$_terms[T]&&!x.override||(N.$_terms[T]=[]),x.single?N.$_terms[T].push(P):N.$_terms[T].push(...P),N.$_temp.ruleset=!1,N}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(T,P={}){if(!this._singleRules.has(T))return this;const x=!1!==P.clone?this.clone():this;x._singleRules.delete(T);const N=[];for(let O=0;O{"use strict";const u=e(375),c=e(8571),g=e(8160),v={max:1e3,supported:new Set(["undefined","boolean","number","string"])};l.provider={provision:p=>new v.Cache(p)},v.Cache=class{constructor(p={}){g.assertOptions(p,["max"]),u(void 0===p.max||p.max&&p.max>0&&isFinite(p.max),"Invalid max cache size"),this._max=p.max||v.max,this._map=new Map,this._list=new v.List}get length(){return this._map.size}set(p,S){if(null!==p&&!v.supported.has(typeof p))return;let C=this._map.get(p);if(C)return C.value=S,void this._list.first(C);C=this._list.unshift({key:p,value:S}),this._map.set(p,C),this._compact()}get(p){const S=this._map.get(p);if(S)return this._list.first(S),c(S.value)}_compact(){if(this._map.size>this._max){const p=this._list.pop();this._map.delete(p.key)}}},v.List=class{constructor(){this.tail=null,this.head=null}unshift(p){return p.next=null,p.prev=this.head,this.head&&(this.head.next=p),this.head=p,this.tail||(this.tail=p),p}first(p){p!==this.head&&(this._remove(p),this.unshift(p))}pop(){return this._remove(this.tail)}_remove(p){const{next:S,prev:C}=p;return S.prev=C,C&&(C.next=S),p===this.tail&&(this.tail=S),p.prev=null,p.next=null,p}}},8160:(a,l,e)=>{"use strict";const u=e(375),c=e(7916),g=e(5934);let v,p;const S={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};l.version=g.version,l.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},l.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),errors:Symbol("errors"),literal:Symbol("literal"),override:Symbol("override"),parent:Symbol("parent"),prefs:Symbol("prefs"),ref:Symbol("ref"),template:Symbol("template"),values:Symbol("values")},l.assertOptions=function(C,_,f="Options"){u(C&&"object"==typeof C&&!Array.isArray(C),"Options must be of type object");const y=Object.keys(C).filter(b=>!_.includes(b));u(0===y.length,`${f} contain unknown keys: ${y}`)},l.checkPreferences=function(C){p=p||e(3378);const _=p.preferences.validate(C);if(_.error)throw new c([_.error.details[0].message])},l.compare=function(C,_,f){switch(f){case"=":return C===_;case">":return C>_;case"<":return C<_;case">=":return C>=_;case"<=":return C<=_}},l.default=function(C,_){return void 0===C?_:C},l.isIsoDate=function(C){return S.isoDate.test(C)},l.isNumber=function(C){return"number"==typeof C&&!isNaN(C)},l.isResolvable=function(C){return!!C&&(C[l.symbols.ref]||C[l.symbols.template])},l.isSchema=function(C,_={}){const f=C&&C[l.symbols.any];return!!f&&(u(_.legacy||f.version===l.version,"Cannot mix different versions of joi schemas"),!0)},l.isValues=function(C){return C[l.symbols.values]},l.limit=function(C){return Number.isSafeInteger(C)&&C>=0},l.preferences=function(C,_){v=v||e(6914),C=C||{},_=_||{};const f=Object.assign({},C,_);return _.errors&&C.errors&&(f.errors=Object.assign({},C.errors,_.errors),f.errors.wrap=Object.assign({},C.errors.wrap,_.errors.wrap)),_.messages&&(f.messages=v.compile(_.messages,C.messages)),delete f[l.symbols.prefs],f},l.tryWithPath=function(C,_,f={}){try{return C()}catch(y){throw y.path=void 0!==y.path?_+"."+y.path:_,f.append&&(y.message=`${y.message} (${y.path})`),y}},l.validateArg=function(C,_,{assert:f,message:y}){if(l.isSchema(f)){const b=f.validate(C);return b.error?b.error.message:void 0}if(!f(C))return _?`${_} ${y}`:y},l.verifyFlat=function(C,_){for(const f of C)u(!Array.isArray(f),"Method no longer accepts array arguments:",_)}},3292:(a,l,e)=>{"use strict";const u=e(375),c=e(8160),g=e(6133),v={};l.schema=function(p,S,C={}){c.assertOptions(C,["appendPath","override"]);try{return v.schema(p,S,C)}catch(_){throw C.appendPath&&void 0!==_.path&&(_.message=`${_.message} (${_.path})`),_}},v.schema=function(p,S,C){u(void 0!==S,"Invalid undefined schema"),Array.isArray(S)&&(u(S.length,"Invalid empty array schema"),1===S.length&&(S=S[0]));const _=(f,...y)=>!1!==C.override?f.valid(p.override,...y):f.valid(...y);if(v.simple(S))return _(p,S);if("function"==typeof S)return p.custom(S);if(u("object"==typeof S,"Invalid schema content:",typeof S),c.isResolvable(S))return _(p,S);if(c.isSchema(S))return S;if(Array.isArray(S)){for(const f of S)if(!v.simple(f))return p.alternatives().try(...S);return _(p,...S)}return S instanceof RegExp?p.string().regex(S):S instanceof Date?_(p.date(),S):(u(Object.getPrototypeOf(S)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),p.object().keys(S))},l.ref=function(p,S){return g.isRef(p)?p:g.create(p,S)},l.compile=function(p,S,C={}){c.assertOptions(C,["legacy"]);const _=S&&S[c.symbols.any];if(_)return u(C.legacy||_.version===c.version,"Cannot mix different versions of joi schemas:",_.version,c.version),S;if("object"!=typeof S||!C.legacy)return l.schema(p,S,{appendPath:!0});const f=v.walk(S);return f?f.compile(f.root,S):l.schema(p,S,{appendPath:!0})},v.walk=function(p){if("object"!=typeof p)return null;if(Array.isArray(p)){for(const C of p){const _=v.walk(C);if(_)return _}return null}const S=p[c.symbols.any];if(S)return{root:p[S.root],compile:S.compile};u(Object.getPrototypeOf(p)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const C in p){const _=v.walk(p[C]);if(_)return _}return null},v.simple=function(p){return null===p||["boolean","string","number"].includes(typeof p)},l.when=function(p,S,C){if(void 0===C&&(u(S&&"object"==typeof S,"Missing options"),C=S,S=g.create(".")),Array.isArray(C)&&(C={switch:C}),c.assertOptions(C,["is","not","then","otherwise","switch","break"]),c.isSchema(S))return u(void 0===C.is,'"is" can not be used with a schema condition'),u(void 0===C.not,'"not" can not be used with a schema condition'),u(void 0===C.switch,'"switch" can not be used with a schema condition'),v.condition(p,{is:S,then:C.then,otherwise:C.otherwise,break:C.break});if(u(g.isRef(S)||"string"==typeof S,"Invalid condition:",S),u(void 0===C.not||void 0===C.is,'Cannot combine "is" with "not"'),void 0===C.switch){let f=C;void 0!==C.not&&(f={is:C.not,then:C.otherwise,otherwise:C.then,break:C.break});let y=void 0!==f.is?p.$_compile(f.is):p.$_root.invalid(null,!1,0,"").required();return u(void 0!==f.then||void 0!==f.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),u(void 0===f.break||void 0===f.then||void 0===f.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===C.is||g.isRef(C.is)||c.isSchema(C.is)||(y=y.required()),v.condition(p,{ref:l.ref(S),is:y,then:f.then,otherwise:f.otherwise,break:f.break})}u(Array.isArray(C.switch),'"switch" must be an array'),u(void 0===C.is,'Cannot combine "switch" with "is"'),u(void 0===C.not,'Cannot combine "switch" with "not"'),u(void 0===C.then,'Cannot combine "switch" with "then"');const _={ref:l.ref(S),switch:[],break:C.break};for(let f=0;f{"use strict";const u=e(5688),c=e(8160),g=e(3328);l.Report=class{constructor(v,p,S,C,_,f,y){if(this.code=v,this.flags=C,this.messages=_,this.path=f.path,this.prefs=y,this.state=f,this.value=p,this.message=null,this.template=null,this.local=S||{},this.local.label=l.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const b=this.path[this.path.length-1];"object"!=typeof b&&(this.local.key=b)}}_setTemplate(v){if(this.template=v,!this.flags.label&&0===this.path.length){const p=this._template(this.template,"root");p&&(this.local.label=p)}}toString(){if(this.message)return this.message;const v=this.code;if(!this.prefs.errors.render)return this.code;const p=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===p?`Error code "${v}" is not defined, your custom type is missing the correct messages definition`:(this.message=p.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(v,p){return l.template(this.value,v,p||this.code,this.state,this.prefs)}},l.path=function(v){let p="";for(const S of v)"object"!=typeof S&&("string"==typeof S?(p&&(p+="."),p+=S):p+=`[${S}]`);return p},l.template=function(v,p,S,C,_){if(!p)return;if(g.isTemplate(p))return"root"!==S?p:null;let f=_.errors.language;if(c.isResolvable(f)&&(f=f.resolve(v,C,_)),f&&p[f]){if(void 0!==p[f][S])return p[f][S];if(void 0!==p[f]["*"])return p[f]["*"]}return p[S]?p[S]:p["*"]},l.label=function(v,p,S,C){if(v.label)return v.label;if(!S.errors.label)return"";let _=p.path;return"key"===S.errors.label&&p.path.length>1&&(_=p.path.slice(-1)),l.path(_)||l.template(null,S.messages,"root",p,S)||C&&l.template(null,C,"root",p,S)||"value"},l.process=function(v,p,S){if(!v)return null;const{override:C,message:_,details:f}=l.details(v);if(C)return C;if(S.errors.stack)return new l.ValidationError(_,f,p);const y=Error.stackTraceLimit;Error.stackTraceLimit=0;const b=new l.ValidationError(_,f,p);return Error.stackTraceLimit=y,b},l.details=function(v,p={}){let S=[];const C=[];for(const _ of v){if(_ instanceof Error){if(!1!==p.override)return{override:_};const y=_.toString();S.push(y),C.push({message:y,type:"override",context:{error:_}});continue}const f=_.toString();S.push(f),C.push({message:f,path:_.path.filter(y=>"object"!=typeof y),type:_.code,context:_.local})}return S.length>1&&(S=[...new Set(S)]),{message:S.join(". "),details:C}},l.ValidationError=class extends Error{constructor(v,p,S){super(v),this._original=S,this.details=p}static isError(v){return v instanceof l.ValidationError}},l.ValidationError.prototype.isJoi=!0,l.ValidationError.prototype.name="ValidationError",l.ValidationError.prototype.annotate=u.error},8901:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(8160),v=e(6914),p={};l.type=function(S,C){const _=Object.getPrototypeOf(S),f=c(_),y=S._assign(Object.create(f)),b=Object.assign({},C);delete b.base,f._definition=b;const E=_._definition||{};b.messages=v.merge(E.messages,b.messages),b.properties=Object.assign({},E.properties,b.properties),y.type=b.type,b.flags=Object.assign({},E.flags,b.flags);const M=Object.assign({},E.terms);if(b.terms)for(const j in b.terms){const T=b.terms[j];u(void 0===y.$_terms[j],"Invalid term override for",b.type,j),y.$_terms[j]=T.init,M[j]=T}b.terms=M,b.args||(b.args=E.args),b.prepare=p.prepare(b.prepare,E.prepare),b.coerce&&("function"==typeof b.coerce&&(b.coerce={method:b.coerce}),b.coerce.from&&!Array.isArray(b.coerce.from)&&(b.coerce={method:b.coerce.method,from:[].concat(b.coerce.from)})),b.coerce=p.coerce(b.coerce,E.coerce),b.validate=p.validate(b.validate,E.validate);const A=Object.assign({},E.rules);if(b.rules)for(const j in b.rules){const T=b.rules[j];u("object"==typeof T,"Invalid rule definition for",b.type,j);let P=T.method;if(void 0===P&&(P=function(){return this.$_addRule(j)}),P&&(u(!f[j],"Rule conflict in",b.type,j),f[j]=P),u(!A[j],"Rule conflict in",b.type,j),A[j]=T,T.alias){const x=[].concat(T.alias);for(const N of x)f[N]=T.method}T.args&&(T.argsByName=new Map,T.args=T.args.map(x=>("string"==typeof x&&(x={name:x}),u(!T.argsByName.has(x.name),"Duplicated argument name",x.name),g.isSchema(x.assert)&&(x.assert=x.assert.strict().label(x.name)),T.argsByName.set(x.name,x),x)))}b.rules=A;const I=Object.assign({},E.modifiers);if(b.modifiers)for(const j in b.modifiers){u(!f[j],"Rule conflict in",b.type,j);const T=b.modifiers[j];u("function"==typeof T,"Invalid modifier definition for",b.type,j),f[j]=function(x){return this.rule({[j]:x})},I[j]=T}if(b.modifiers=I,b.overrides){f._super=_,y.$_super={};for(const j in b.overrides)u(_[j],"Cannot override missing",j),b.overrides[j][g.symbols.parent]=_[j],y.$_super[j]=_[j].bind(y);Object.assign(f,b.overrides)}b.cast=Object.assign({},E.cast,b.cast);const F=Object.assign({},E.manifest,b.manifest);return F.build=p.build(b.manifest&&b.manifest.build,E.manifest&&E.manifest.build),b.manifest=F,b.rebuild=p.rebuild(b.rebuild,E.rebuild),y},p.build=function(S,C){return S&&C?function(_,f){return C(S(_,f),f)}:S||C},p.coerce=function(S,C){return S&&C?{from:S.from&&C.from?[...new Set([...S.from,...C.from])]:null,method(_,f){let y;if((!C.from||C.from.includes(typeof _))&&(y=C.method(_,f),y)){if(y.errors||void 0===y.value)return y;_=y.value}if(!S.from||S.from.includes(typeof _)){const b=S.method(_,f);if(b)return b}return y}}:S||C},p.prepare=function(S,C){return S&&C?function(_,f){const y=S(_,f);if(y){if(y.errors||void 0===y.value)return y;_=y.value}return C(_,f)||y}:S||C},p.rebuild=function(S,C){return S&&C?function(_){C(_),S(_)}:S||C},p.validate=function(S,C){return S&&C?function(_,f){const y=C(_,f);if(y){if(y.errors&&(!Array.isArray(y.errors)||y.errors.length))return y;_=y.value}return S(_,f)||y}:S||C}},5107:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(8652),v=e(8160),p=e(3292),S=e(6354),C=e(8901),_=e(9708),f=e(6133),y=e(3328),b=e(1152);let E;const M={types:{alternatives:e(4946),any:e(8068),array:e(546),boolean:e(4937),date:e(7500),function:e(390),link:e(8785),number:e(3832),object:e(8966),string:e(7417),symbol:e(8826)},aliases:{alt:"alternatives",bool:"boolean",func:"function"},root:function(){const A={_types:new Set(Object.keys(M.types))};for(const I of A._types)A[I]=function(...F){return u(!F.length||["alternatives","link","object"].includes(I),"The",I,"type does not allow arguments"),M.generate(this,M.types[I],F)};for(const I of["allow","custom","disallow","equal","exist","forbidden","invalid","not","only","optional","options","prefs","preferences","required","strip","valid","when"])A[I]=function(...F){return this.any()[I](...F)};Object.assign(A,M.methods);for(const I in M.aliases)A[I]=A[M.aliases[I]];return A.x=A.expression,b.setup&&b.setup(A),A}};M.methods={ValidationError:S.ValidationError,version:v.version,cache:g.provider,assert(A,I,...F){M.assert(A,I,!0,F)},attempt:(A,I,...F)=>M.assert(A,I,!1,F),build(A){return u("function"==typeof _.build,"Manifest functionality disabled"),_.build(this,A)},checkPreferences(A){v.checkPreferences(A)},compile(A,I){return p.compile(this,A,I)},defaults(A){u("function"==typeof A,"modifier must be a function");const I=Object.assign({},this);for(const F of I._types){const j=A(I[F]());u(v.isSchema(j),"modifier must return a valid schema object"),I[F]=function(...T){return M.generate(this,j,T)}}return I},expression:(...A)=>new y(...A),extend(...A){v.verifyFlat(A,"extend"),E=E||e(3378),u(A.length,"You need to provide at least one extension"),this.assert(A,E.extensions);const I=Object.assign({},this);I._types=new Set(I._types);for(let F of A){"function"==typeof F&&(F=F(I)),this.assert(F,E.extension);const j=M.expandExtension(F,I);for(const T of j){u(void 0===I[T.type]||I._types.has(T.type),"Cannot override name",T.type);const P=T.base||this.any(),x=C.type(P,T);I._types.add(T.type),I[T.type]=function(...N){return M.generate(this,x,N)}}}return I},isError:S.ValidationError.isError,isExpression:y.isTemplate,isRef:f.isRef,isSchema:v.isSchema,in:(...A)=>f.in(...A),override:v.symbols.override,ref:(...A)=>f.create(...A),types(){const A={};for(const I of this._types)A[I]=this[I]();for(const I in M.aliases)A[I]=this[I]();return A}},M.assert=function(A,I,F,j){const T=j[0]instanceof Error||"string"==typeof j[0]?j[0]:null,x=I.validate(A,v.preferences({errors:{stack:!0}},(null!==T?j[1]:j[0])||{}));let N=x.error;if(!N)return x.value;if(T instanceof Error)throw T;const O=F&&"function"==typeof N.annotate?N.annotate():N.message;throw N instanceof S.ValidationError==0&&(N=c(N)),N.message=T?`${T} ${O}`:O,N},M.generate=function(A,I,F){return u(A,"Must be invoked on a Joi instance."),I.$_root=A,I._definition.args&&F.length?I._definition.args(I,...F):I},M.expandExtension=function(A,I){if("string"==typeof A.type)return[A];const F=[];for(const j of I._types)if(A.type.test(j)){const T=Object.assign({},A);T.type=j,T.base=I[j](),F.push(T)}return F},a.exports=M.root()},6914:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(3328);l.compile=function(v,p){if("string"==typeof v)return u(!p,"Cannot set single message string"),new g(v);if(g.isTemplate(v))return u(!p,"Cannot set single message template"),v;u("object"==typeof v&&!Array.isArray(v),"Invalid message options"),p=p?c(p):{};for(let S in v){const C=v[S];if("root"===S||g.isTemplate(C)){p[S]=C;continue}if("string"==typeof C){p[S]=new g(C);continue}u("object"==typeof C&&!Array.isArray(C),"Invalid message for",S);const _=S;for(S in p[_]=p[_]||{},C){const f=C[S];"root"===S||g.isTemplate(f)?p[_][S]=f:(u("string"==typeof f,"Invalid message for",S,"in",_),p[_][S]=new g(f))}}return p},l.decompile=function(v){const p={};for(let S in v){const C=v[S];if("root"===S){p.root=C;continue}if(g.isTemplate(C)){p[S]=C.describe({compact:!0});continue}const _=S;for(S in p[_]={},C){const f=C[S];"root"!==S?p[_][S]=f.describe({compact:!0}):p[_].root=f}}return p},l.merge=function(v,p){if(!v)return l.compile(p);if(!p)return v;if("string"==typeof p)return new g(p);if(g.isTemplate(p))return p;const S=c(v);for(let C in p){const _=p[C];if("root"===C||g.isTemplate(_)){S[C]=_;continue}if("string"==typeof _){S[C]=new g(_);continue}u("object"==typeof _&&!Array.isArray(_),"Invalid message for",C);const f=C;for(C in S[f]=S[f]||{},_){const y=_[C];"root"===C||g.isTemplate(y)?S[f][C]=y:(u("string"==typeof y,"Invalid message for",C,"in",f),S[f][C]=new g(y))}}return S}},2294:(a,l,e)=>{"use strict";const u=e(375),c=e(8160),g=e(6133),v={};l.Ids=v.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){const p=new v.Ids;return p._byId=new Map(this._byId),p._byKey=new Map(this._byKey),p._schemaChain=this._schemaChain,p}concat(p){p._schemaChain&&(this._schemaChain=!0);for(const[S,C]of p._byId.entries())u(!this._byKey.has(S),"Schema id conflicts with existing key:",S),this._byId.set(S,C);for(const[S,C]of p._byKey.entries())u(!this._byId.has(S),"Schema key conflicts with existing id:",S),this._byKey.set(S,C)}fork(p,S,C){const _=this._collect(p);_.push({schema:C});const f=_.shift();let y={id:f.id,schema:S(f.schema)};u(c.isSchema(y.schema),"adjuster function failed to return a joi schema type");for(const b of _)y={id:b.id,schema:v.fork(b.schema,y.id,y.schema)};return y.schema}labels(p,S=[]){const C=p[0],_=this._get(C);if(!_)return[...S,...p].join(".");const f=p.slice(1);return S=[...S,_.schema._flags.label||C],f.length?_.schema._ids.labels(f,S):S.join(".")}reach(p,S=[]){const C=p[0],_=this._get(C);u(_,"Schema does not contain path",[...S,...p].join("."));const f=p.slice(1);return f.length?_.schema._ids.reach(f,[...S,C]):_.schema}register(p,{key:S}={}){if(!p||!c.isSchema(p))return;(p.$_property("schemaChain")||p._ids._schemaChain)&&(this._schemaChain=!0);const C=p._flags.id;if(C){const _=this._byId.get(C);u(!_||_.schema===p,"Cannot add different schemas with the same id:",C),u(!this._byKey.has(C),"Schema id conflicts with existing key:",C),this._byId.set(C,{schema:p,id:C})}S&&(u(!this._byKey.has(S),"Schema already contains key:",S),u(!this._byId.has(S),"Schema key conflicts with existing id:",S),this._byKey.set(S,{schema:p,id:S}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(p,S=[],C=[]){const _=p[0],f=this._get(_);u(f,"Schema does not contain path",[...S,...p].join(".")),C=[f,...C];const y=p.slice(1);return y.length?f.schema._ids._collect(y,[...S,_],C):C}_get(p){return this._byId.get(p)||this._byKey.get(p)}},v.fork=function(p,S,C){const _=l.schema(p,{each:(f,{key:y})=>{if(S===(f._flags.id||y))return C},ref:!1});return _?_.$_mutateRebuild():p},l.schema=function(p,S){let C;for(const _ in p._flags){if("_"===_[0])continue;const f=v.scan(p._flags[_],{source:"flags",name:_},S);void 0!==f&&(C=C||p.clone(),C._flags[_]=f)}for(let _=0;_{"use strict";const u=e(375),c=e(8571),g=e(9621),v=e(8160);let p;const S={symbol:Symbol("ref"),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:".",type:"value"}};l.create=function(C,_={}){u("string"==typeof C,"Invalid reference key:",C),v.assertOptions(_,["adjust","ancestor","in","iterables","map","prefix","render","separator"]),u(!_.prefix||"object"==typeof _.prefix,"options.prefix must be of type object");const f=Object.assign({},S.defaults,_);delete f.prefix;const y=f.separator,b=S.context(C,y,_.prefix);if(f.type=b.type,C=b.key,"value"===f.type)if(b.root&&(u(!y||C[0]!==y,"Cannot specify relative path with root prefix"),f.ancestor="root",C||(C=null)),y&&y===C)C=null,f.ancestor=0;else if(void 0!==f.ancestor)u(!y||!C||C[0]!==y,"Cannot combine prefix with ancestor option");else{const[E,M]=S.ancestor(C,y);M&&""===(C=C.slice(M))&&(C=null),f.ancestor=E}return f.path=y?null===C?[]:C.split(y):[C],new S.Ref(f)},l.in=function(C,_={}){return l.create(C,{..._,in:!0})},l.isRef=function(C){return!!C&&!!C[v.symbols.ref]},S.Ref=class{constructor(C){u("object"==typeof C,"Invalid reference construction"),v.assertOptions(C,["adjust","ancestor","in","iterables","map","path","render","separator","type","depth","key","root","display"]),u([!1,void 0].includes(C.separator)||"string"==typeof C.separator&&1===C.separator.length,"Invalid separator"),u(!C.adjust||"function"==typeof C.adjust,"options.adjust must be a function"),u(!C.map||Array.isArray(C.map),"options.map must be an array"),u(!C.map||!C.adjust,"Cannot set both map and adjust options"),Object.assign(this,S.defaults,C),u("value"===this.type||void 0===this.ancestor,"Non-value references cannot reference ancestors"),Array.isArray(this.map)&&(this.map=new Map(this.map)),this.depth=this.path.length,this.key=this.path.length?this.path.join(this.separator):null,this.root=this.path[0],this.updateDisplay()}resolve(C,_,f,y,b={}){return u(!this.in||b.in,"Invalid in() reference usage"),"global"===this.type?this._resolve(f.context,_,b):"local"===this.type?this._resolve(y,_,b):this.ancestor?"root"===this.ancestor?this._resolve(_.ancestors[_.ancestors.length-1],_,b):(u(this.ancestor<=_.ancestors.length,"Invalid reference exceeds the schema root:",this.display),this._resolve(_.ancestors[this.ancestor-1],_,b)):this._resolve(C,_,b)}_resolve(C,_,f){let y;if("value"===this.type&&_.mainstay.shadow&&!1!==f.shadow&&(y=_.mainstay.shadow.get(this.absolute(_))),void 0===y&&(y=g(C,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(y=this.adjust(y)),this.map){const b=this.map.get(y);void 0!==b&&(y=b)}return _.mainstay&&_.mainstay.tracer.resolve(_,this,y),y}toString(){return this.display}absolute(C){return[...C.path.slice(0,-this.ancestor),...this.path]}clone(){return new S.Ref(this)}describe(){const C={path:this.path};"value"!==this.type&&(C.type=this.type),"."!==this.separator&&(C.separator=this.separator),"value"===this.type&&1!==this.ancestor&&(C.ancestor=this.ancestor),this.map&&(C.map=[...this.map]);for(const _ of["adjust","iterables","render"])null!=this[_]&&(C[_]=this[_]);return!1!==this.in&&(C.in=!0),{ref:C}}updateDisplay(){const C=null!==this.key?this.key:"";if("value"!==this.type)return void(this.display=`ref:${this.type}:${C}`);if(!this.separator)return void(this.display=`ref:${C}`);if(!this.ancestor)return void(this.display=`ref:${this.separator}${C}`);if("root"===this.ancestor)return void(this.display=`ref:root:${C}`);if(1===this.ancestor)return void(this.display=`ref:${C||".."}`);const _=new Array(this.ancestor+1).fill(this.separator).join("");this.display=`ref:${_}${C||""}`}},S.Ref.prototype[v.symbols.ref]=!0,l.build=function(C){return"value"===(C=Object.assign({},S.defaults,C)).type&&void 0===C.ancestor&&(C.ancestor=1),new S.Ref(C)},S.context=function(C,_,f={}){if(C=C.trim(),f){const y=void 0===f.global?"$":f.global;if(y!==_&&C.startsWith(y))return{key:C.slice(y.length),type:"global"};const b=void 0===f.local?"#":f.local;if(b!==_&&C.startsWith(b))return{key:C.slice(b.length),type:"local"};const E=void 0===f.root?"/":f.root;if(E!==_&&C.startsWith(E))return{key:C.slice(E.length),type:"value",root:!0}}return{key:C,type:"value"}},S.ancestor=function(C,_){if(!_)return[1,0];if(C[0]!==_)return[1,0];if(C[1]!==_)return[0,1];let f=2;for(;C[f]===_;)++f;return[f-1,f]},l.toSibling=0,l.toParent=1,l.Manager=class{constructor(){this.refs=[]}register(C,_){if(C)if(_=void 0===_?l.toParent:_,Array.isArray(C))for(const f of C)this.register(f,_);else if(v.isSchema(C))for(const f of C._refs.refs)f.ancestor-_>=0&&this.refs.push({ancestor:f.ancestor-_,root:f.root});else l.isRef(C)&&"value"===C.type&&C.ancestor-_>=0&&this.refs.push({ancestor:C.ancestor-_,root:C.root}),p=p||e(3328),p.isTemplate(C)&&this.register(C.refs(),_)}get length(){return this.refs.length}clone(){const C=new l.Manager;return C.refs=c(this.refs),C}reset(){this.refs=[]}roots(){return this.refs.filter(C=>!C.ancestor).map(C=>C.root)}}},3378:(a,l,e)=>{"use strict";const u=e(5107),c={};c.wrap=u.string().min(1).max(2).allow(!1),l.preferences=u.object({allowUnknown:u.boolean(),abortEarly:u.boolean(),artifacts:u.boolean(),cache:u.boolean(),context:u.object(),convert:u.boolean(),dateFormat:u.valid("date","iso","string","time","utc"),debug:u.boolean(),errors:{escapeHtml:u.boolean(),label:u.valid("path","key",!1),language:[u.string(),u.object().ref()],render:u.boolean(),stack:u.boolean(),wrap:{label:c.wrap,array:c.wrap,string:c.wrap}},externals:u.boolean(),messages:u.object(),noDefaults:u.boolean(),nonEnumerables:u.boolean(),presence:u.valid("required","optional","forbidden"),skipFunctions:u.boolean(),stripUnknown:u.object({arrays:u.boolean(),objects:u.boolean()}).or("arrays","objects").allow(!0,!1),warnings:u.boolean()}).strict(),c.nameRx=/^[a-zA-Z0-9]\w*$/,c.rule=u.object({alias:u.array().items(u.string().pattern(c.nameRx)).single(),args:u.array().items(u.string(),u.object({name:u.string().pattern(c.nameRx).required(),ref:u.boolean(),assert:u.alternatives([u.function(),u.object().schema()]).conditional("ref",{is:!0,then:u.required()}),normalize:u.function(),message:u.string().when("assert",{is:u.function(),then:u.required()})})),convert:u.boolean(),manifest:u.boolean(),method:u.function().allow(!1),multi:u.boolean(),validate:u.function()}),l.extension=u.object({type:u.alternatives([u.string(),u.object().regex()]).required(),args:u.function(),cast:u.object().pattern(c.nameRx,u.object({from:u.function().maxArity(1).required(),to:u.function().minArity(1).maxArity(2).required()})),base:u.object().schema().when("type",{is:u.object().regex(),then:u.forbidden()}),coerce:[u.function().maxArity(3),u.object({method:u.function().maxArity(3).required(),from:u.array().items(u.string()).single()})],flags:u.object().pattern(c.nameRx,u.object({setter:u.string(),default:u.any()})),manifest:{build:u.function().arity(2)},messages:[u.object(),u.string()],modifiers:u.object().pattern(c.nameRx,u.function().minArity(1).maxArity(2)),overrides:u.object().pattern(c.nameRx,u.function()),prepare:u.function().maxArity(3),rebuild:u.function().arity(1),rules:u.object().pattern(c.nameRx,c.rule),terms:u.object().pattern(c.nameRx,u.object({init:u.array().allow(null).required(),manifest:u.object().pattern(/.+/,[u.valid("schema","single"),u.object({mapped:u.object({from:u.string().required(),to:u.string().required()}).required()})])})),validate:u.function().maxArity(3)}).strict(),l.extensions=u.array().items(u.object(),u.function().arity(1)).strict(),c.desc={buffer:u.object({buffer:u.string()}),func:u.object({function:u.function().required(),options:{literal:!0}}),override:u.object({override:!0}),ref:u.object({ref:u.object({type:u.valid("value","global","local"),path:u.array().required(),separator:u.string().length(1).allow(!1),ancestor:u.number().min(0).integer().allow("root"),map:u.array().items(u.array().length(2)).min(1),adjust:u.function(),iterables:u.boolean(),in:u.boolean(),render:u.boolean()}).required()}),regex:u.object({regex:u.string().min(3)}),special:u.object({special:u.valid("deep").required()}),template:u.object({template:u.string().required(),options:u.object()}),value:u.object({value:u.alternatives([u.object(),u.array()]).required()})},c.desc.entity=u.alternatives([u.array().items(u.link("...")),u.boolean(),u.function(),u.number(),u.string(),c.desc.buffer,c.desc.func,c.desc.ref,c.desc.regex,c.desc.special,c.desc.template,c.desc.value,u.link("/")]),c.desc.values=u.array().items(null,u.boolean(),u.function(),u.number().allow(1/0,-1/0),u.string().allow(""),u.symbol(),c.desc.buffer,c.desc.func,c.desc.override,c.desc.ref,c.desc.regex,c.desc.template,c.desc.value),c.desc.messages=u.object().pattern(/.+/,[u.string(),c.desc.template,u.object().pattern(/.+/,[u.string(),c.desc.template])]),l.description=u.object({type:u.string().required(),flags:u.object({cast:u.string(),default:u.any(),description:u.string(),empty:u.link("/"),failover:c.desc.entity,id:u.string(),label:u.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:u.boolean(),unit:u.string()}).unknown(),preferences:{allowUnknown:u.boolean(),abortEarly:u.boolean(),artifacts:u.boolean(),cache:u.boolean(),convert:u.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:u.boolean(),label:["path","key"],language:[u.string(),c.desc.ref],wrap:{label:c.wrap,array:c.wrap}},externals:u.boolean(),messages:c.desc.messages,noDefaults:u.boolean(),nonEnumerables:u.boolean(),presence:["required","optional","forbidden"],skipFunctions:u.boolean(),stripUnknown:u.object({arrays:u.boolean(),objects:u.boolean()}).or("arrays","objects").allow(!0,!1),warnings:u.boolean()},allow:c.desc.values,invalid:c.desc.values,rules:u.array().min(1).items({name:u.string().required(),args:u.object().min(1),keep:u.boolean(),message:[u.string(),c.desc.messages],warn:u.boolean()}),keys:u.object().pattern(/.*/,u.link("/")),link:c.desc.ref}).pattern(/^[a-z]\w*$/,u.any())},493:(a,l,e)=>{"use strict";const u=e(8571),c=e(9621),g=e(8160),v={value:Symbol("value")};a.exports=v.State=class{constructor(p,S,C){this.path=p,this.ancestors=S,this.mainstay=C.mainstay,this.schemas=C.schemas,this.debug=null}localize(p,S=null,C=null){const _=new v.State(p,S,this);return C&&_.schemas&&(_.schemas=[v.schemas(C),..._.schemas]),_}nest(p,S){const C=new v.State(this.path,this.ancestors,this);return C.schemas=C.schemas&&[v.schemas(p),...C.schemas],C.debug=S,C}shadow(p,S){this.mainstay.shadow=this.mainstay.shadow||new v.Shadow,this.mainstay.shadow.set(this.path,p,S)}snapshot(){this.mainstay.shadow&&(this._snapshot=u(this.mainstay.shadow.node(this.path))),this.mainstay.snapshot()}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.restore()}commit(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.commit()}},v.schemas=function(p){return g.isSchema(p)?{schema:p}:p},v.Shadow=class{constructor(){this._values=null}set(p,S,C){if(!p.length||"strip"===C&&"number"==typeof p[p.length-1])return;this._values=this._values||new Map;let _=this._values;for(let f=0;f{"use strict";const u=e(375),c=e(8571),g=e(5277),v=e(1447),p=e(8160),S=e(6354),C=e(6133),_={symbol:Symbol("template"),opens:new Array(1e3).join("\0"),closes:new Array(1e3).join("\x01"),dateFormat:{date:Date.prototype.toDateString,iso:Date.prototype.toISOString,string:Date.prototype.toString,time:Date.prototype.toTimeString,utc:Date.prototype.toUTCString}};a.exports=_.Template=class{constructor(f,y){if(u("string"==typeof f,"Template source must be a string"),u(!f.includes("\0")&&!f.includes("\x01"),"Template source cannot contain reserved control characters"),this.source=f,this.rendered=f,this._template=null,y){const{functions:b,...E}=y;this._settings=Object.keys(E).length?c(E):void 0,this._functions=b,this._functions&&(u(Object.keys(this._functions).every(M=>"string"==typeof M),"Functions keys must be strings"),u(Object.values(this._functions).every(M=>"function"==typeof M),"Functions values must be functions"))}else this._settings=void 0,this._functions=void 0;this._parse()}_parse(){if(!this.source.includes("{"))return;const f=_.encode(this.source),y=_.split(f);let b=!1;const E=[],M=y.shift();M&&E.push(M);for(const A of y){const I="{"!==A[0],F=I?"}":"}}",j=A.indexOf(F);if(-1===j||"{"===A[1]){E.push(`{${_.decode(A)}`);continue}let T=A.slice(I?0:1,j);const P=":"===T[0];P&&(T=T.slice(1));const x=this._ref(_.decode(T),{raw:I,wrapped:P});E.push(x),"string"!=typeof x&&(b=!0);const N=A.slice(j+F.length);N&&E.push(_.decode(N))}b?this._template=E:this.rendered=E.join("")}static date(f,y){return _.dateFormat[y.dateFormat].call(f)}describe(f={}){if(!this._settings&&f.compact)return this.source;const y={template:this.source};return this._settings&&(y.options=this._settings),this._functions&&(y.functions=this._functions),y}static build(f){return new _.Template(f.template,f.options||f.functions?{...f.options,functions:f.functions}:void 0)}isDynamic(){return!!this._template}static isTemplate(f){return!!f&&!!f[p.symbols.template]}refs(){if(!this._template)return;const f=[];for(const y of this._template)"string"!=typeof y&&f.push(...y.refs);return f}resolve(f,y,b,E){return this._template&&1===this._template.length?this._part(this._template[0],f,y,b,E,{}):this.render(f,y,b,E)}_part(f,...y){return f.ref?f.ref.resolve(...y):f.formula.evaluate(y)}render(f,y,b,E,M={}){if(!this.isDynamic())return this.rendered;const A=[];for(const I of this._template)if("string"==typeof I)A.push(I);else{const F=this._part(I,f,y,b,E,M),j=_.stringify(F,f,y,b,E,M);if(void 0!==j){const T=I.raw||!1===(M.errors&&M.errors.escapeHtml)?j:g(j);A.push(_.wrap(T,I.wrapped&&b.errors.wrap.label))}}return A.join("")}_ref(f,{raw:y,wrapped:b}){const E=[],M=I=>{const F=C.create(I,this._settings);return E.push(F),j=>{const T=F.resolve(...j);return void 0!==T?T:null}};try{const I=this._functions?{..._.functions,...this._functions}:_.functions;var A=new v.Parser(f,{reference:M,functions:I,constants:_.constants})}catch(I){throw I.message=`Invalid template variable "${f}" fails due to: ${I.message}`,I}if(A.single){if("reference"===A.single.type){const I=E[0];return{ref:I,raw:y,refs:E,wrapped:b||"local"===I.type&&"label"===I.key}}return _.stringify(A.single.value)}return{formula:A,raw:y,refs:E}}toString(){return this.source}},_.Template.prototype[p.symbols.template]=!0,_.Template.prototype.isImmutable=!0,_.encode=function(f){return f.replace(/\\(\{+)/g,(y,b)=>_.opens.slice(0,b.length)).replace(/\\(\}+)/g,(y,b)=>_.closes.slice(0,b.length))},_.decode=function(f){return f.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},_.split=function(f){const y=[];let b="";for(let E=0;E ${N.toString()}`);f=P}if(!Array.isArray(f))return f.toString();const T=[];for(const P of f)T.push(_.stringify(P,y,b,E,M,{arrayItems:!0,...A}));return _.wrap(T.join(", "),!j&&F.array)},_.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},_.functions={if:(f,y,b)=>f?y:b,length:f=>"string"==typeof f?f.length:f&&"object"==typeof f?Array.isArray(f)?f.length:Object.keys(f).length:null,msg(f){const[y,b,E,M,A]=this,I=A.messages;if(!I)return"";const F=S.template(y,I[0],f,b,E)||S.template(y,I[1],f,b,E);return F?F.render(y,b,E,M,A):""},number:f=>"number"==typeof f?f:"string"==typeof f?parseFloat(f):"boolean"==typeof f?f?1:0:f instanceof Date?f.getTime():null}},4946:(a,l,e)=>{"use strict";const u=e(375),c=e(1687),g=e(8068),v=e(8160),p=e(3292),S=e(6354),C=e(6133),_={};a.exports=g.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:C.toSibling}},args:(f,...y)=>1===y.length&&Array.isArray(y[0])?f.try(...y[0]):f.try(...y),validate(f,y){const{schema:b,error:E,state:M,prefs:A}=y;if(b._flags.match){const F=[],j=[];for(let P=0;PS.details(P,{override:!1}))})};if("one"===b._flags.match)return 1===F.length?{value:F[0]}:{errors:E("alternatives.one")};if(F.length!==b.$_terms.matches.length)return{errors:E("alternatives.all",{details:j.map(P=>S.details(P,{override:!1}))})};const T=P=>P.$_terms.matches.some(x=>"object"===x.schema.type||"alternatives"===x.schema.type&&T(x.schema));return T(b)?{value:F.reduce((P,x)=>c(P,x,{mergeArrays:!1}))}:{value:F[F.length-1]}}const I=[];for(let F=0;F"is"!==b.path[0]&&"string"!=typeof y._flags.label?y.label(f):void 0,ref:!1})}},rebuild(f){f.$_modify({each:y=>{v.isSchema(y)&&"array"===y.type&&f.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(f,y){if(y.matches)for(const b of y.matches){const{schema:E,ref:M,is:A,not:I,then:F,otherwise:j}=b;f=E?f.try(E):M?f.conditional(M,{is:A,then:F,not:I,otherwise:j,switch:b.switch}):f.conditional(A,{then:F,otherwise:j})}return f}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),_.errors=function(f,{error:y,state:b}){if(!f.length)return{errors:y("alternatives.any")};if(1===f.length)return{errors:f[0].reports};const E=new Set,M=[];for(const{reports:A,schema:I}of f){if(A.length>1)return _.unmatched(f,y);const F=A[0];if(F instanceof S.Report==0)return _.unmatched(f,y);if(F.state.path.length!==b.path.length){M.push({type:I.type,report:F});continue}if("any.only"===F.code){for(const P of F.local.valids)E.add(P);continue}const[j,T]=F.code.split(".");"base"===T?E.add(j):M.push({type:I.type,report:F})}return M.length?1===M.length?{errors:M[0].report}:_.unmatched(f,y):{errors:y("alternatives.types",{types:[...E]})}},_.unmatched=function(f,y){const b=[];for(const E of f)b.push(...E.reports);return{errors:y("alternatives.match",S.details(b,{override:!1}))}}},8068:(a,l,e)=>{"use strict";const u=e(375),c=e(7629),g=e(8160),v=e(6914);a.exports=c.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(p,S){return u("function"==typeof p,"Method must be a function"),u(void 0===S||S&&"string"==typeof S,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:p,description:S}})},validate(p,S,{method:C}){try{return C(p,S)}catch(_){return S.error("any.custom",{error:_})}},args:["method","description"],multi:!0},messages:{method(p){return this.prefs({messages:p})}},shared:{method(p){u(g.isSchema(p)&&p._flags.id,"Schema must be a schema with an id");const S=this.clone();return S.$_terms.shared=S.$_terms.shared||[],S.$_terms.shared.push(p),S.$_mutateRegister(p),S}},warning:{method(p,S){return u(p&&"string"==typeof p,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:p,local:S},warn:!0})},validate:(p,S,{code:C,local:_})=>S.error(C,_),args:["code","local"],multi:!0}},modifiers:{keep(p,S=!0){p.keep=S},message(p,S){p.message=v.compile(S)},warn(p,S=!0){p.warn=S}},manifest:{build(p,S){for(const C in S){const _=S[C];if(["examples","externals","metas","notes","tags"].includes(C))for(const f of _)p=p[C.slice(0,-1)](f);else if("alterations"!==C)if("whens"!==C){if("shared"===C)for(const f of _)p=p.shared(f)}else for(const f of _){const{ref:y,is:b,not:E,then:M,otherwise:A,concat:I}=f;p=I?p.concat(I):y?p.when(y,{is:b,not:E,then:M,otherwise:A,switch:f.switch,break:f.break}):p.when(b,{then:M,otherwise:A,break:f.break})}else{const f={};for(const{target:y,adjuster:b}of _)f[y]=b;p=p.alter(f)}}return p}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":"{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}","any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},546:(a,l,e)=>{"use strict";const u=e(375),c=e(9474),g=e(9621),v=e(8068),p=e(8160),S=e(3292),C={};a.exports=v.extend({type:"array",flags:{single:{default:!1},sparse:{default:!1}},terms:{items:{init:[],manifest:"schema"},ordered:{init:[],manifest:"schema"},_exclusions:{init:[]},_inclusions:{init:[]},_requireds:{init:[]}},coerce:{from:"object",method(_,{schema:f,state:y,prefs:b}){if(!Array.isArray(_))return;const E=f.$_getRule("sort");return E?C.sort(f,_,E.args.options,y,b):void 0}},validate(_,{schema:f,error:y}){if(!Array.isArray(_)){if(f._flags.single){const b=[_];return b[p.symbols.arraySingle]=!0,{value:b}}return{errors:y("array.base")}}if(f.$_getRule("items")||f.$_terms.externals)return{value:_.slice()}},rules:{has:{method(_){_=this.$_compile(_,{appendPath:!0});const f=this.$_addRule({name:"has",args:{schema:_}});return f.$_mutateRegister(_),f},validate(_,{state:f,prefs:y,error:b},{schema:E}){const M=[_,...f.ancestors];for(let I=0;I<_.length;++I){const F=f.localize([...f.path,I],M,E);if(E.$_match(_[I],F,y))return _}const A=E._flags.label;return A?b("array.hasKnown",{patternLabel:A}):b("array.hasUnknown",null)},multi:!0},items:{method(..._){p.verifyFlat(_,"items");const f=this.$_addRule("items");for(let y=0;y<_.length;++y){const b=p.tryWithPath(()=>this.$_compile(_[y]),y,{append:!0});f.$_terms.items.push(b)}return f.$_mutateRebuild()},validate(_,{schema:f,error:y,state:b,prefs:E,errorsArray:M}){const A=f.$_terms._requireds.slice(),I=f.$_terms.ordered.slice(),F=[...f.$_terms._inclusions,...A],j=!_[p.symbols.arraySingle];delete _[p.symbols.arraySingle];const T=M();let P=_.length;for(let x=0;x="})}},ordered:{method(..._){p.verifyFlat(_,"ordered");const f=this.$_addRule("items");for(let y=0;y<_.length;++y){const b=p.tryWithPath(()=>this.$_compile(_[y]),y,{append:!0});C.validateSingle(b,f),f.$_mutateRegister(b),f.$_terms.ordered.push(b)}return f.$_mutateRebuild()}},single:{method(_){const f=void 0===_||!!_;return u(!f||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",f)}},sort:{method(_={}){p.assertOptions(_,["by","order"]);const f={order:_.order||"ascending"};return _.by&&(f.by=S.ref(_.by,{ancestor:0}),u(!f.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:f}})},validate(_,{error:f,state:y,prefs:b,schema:E},{options:M}){const{value:A,errors:I}=C.sort(E,_,M,y,b);if(I)return I;for(let F=0;F<_.length;++F)if(_[F]!==A[F])return f("array.sort",{order:M.order,by:M.by?M.by.key:"value"});return _},convert:!0},sparse:{method(_){const f=void 0===_||!!_;return this._flags.sparse===f?this:(f?this.clone():this.$_addRule("items")).$_setFlag("sparse",f,{clone:!1})}},unique:{method(_,f={}){u(!_||"function"==typeof _||"string"==typeof _,"comparator must be a function or a string"),p.assertOptions(f,["ignoreUndefined","separator"]);const y={name:"unique",args:{options:f,comparator:_}};if(_)if("string"==typeof _){const b=p.default(f.separator,".");y.path=b?_.split(b):[_]}else y.comparator=_;return this.$_addRule(y)},validate(_,{state:f,error:y},{comparator:E,options:M},{comparator:A,path:I}){const F={string:Object.create(null),number:Object.create(null),undefined:Object.create(null),boolean:Object.create(null),object:new Map,function:new Map,custom:new Map},j=A||c,T=M.ignoreUndefined;for(let P=0;P<_.length;++P){const x=I?g(_[P],I):_[P],N=A?F.custom:F[typeof x];if(u(N,"Failed to find unique map container for type",typeof x),N instanceof Map){const O=N.entries();let H;for(;!(H=O.next()).done;)if(j(H.value[0],x)){const G=f.localize([...f.path,P],[_,...f.ancestors]),te={pos:P,value:_[P],dupePos:H.value[1],dupeValue:_[H.value[1]]};return I&&(te.path=E),y("array.unique",te,G)}N.set(x,P)}else{if((!T||void 0!==x)&&void 0!==N[x]){const O={pos:P,value:_[P],dupePos:N[x],dupeValue:_[N[x]]};return I&&(O.path=E),y("array.unique",O,f.localize([...f.path,P],[_,...f.ancestors]))}N[x]=P}}return _},args:["comparator","options"],multi:!0}},cast:{set:{from:Array.isArray,to:(_,f)=>new Set(_)}},rebuild(_){_.$_terms._inclusions=[],_.$_terms._exclusions=[],_.$_terms._requireds=[];for(const f of _.$_terms.items)C.validateSingle(f,_),"required"===f._flags.presence?_.$_terms._requireds.push(f):"forbidden"===f._flags.presence?_.$_terms._exclusions.push(f):_.$_terms._inclusions.push(f);for(const f of _.$_terms.ordered)C.validateSingle(f,_)},manifest:{build:(_,f)=>(f.items&&(_=_.items(...f.items)),f.ordered&&(_=_.ordered(...f.ordered)),_)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":"{{#label}} does not contain at least one required match for type {:#patternLabel}","array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),C.fillMissedErrors=function(_,f,y,b,E,M){const A=[];let I=0;for(const F of y){const j=F._flags.label;j?A.push(j):++I}f.push(A.length?I?_.$_createError("array.includesRequiredBoth",b,{knownMisses:A,unknownMisses:I},E,M):_.$_createError("array.includesRequiredKnowns",b,{knownMisses:A},E,M):_.$_createError("array.includesRequiredUnknowns",b,{unknownMisses:I},E,M))},C.fillOrderedErrors=function(_,f,y,b,E,M){const A=[];for(const I of y)"required"===I._flags.presence&&A.push(I);A.length&&C.fillMissedErrors(_,f,A,b,E,M)},C.fillDefault=function(_,f,y,b){const E=[];let M=!0;for(let A=_.length-1;A>=0;--A){const I=_[A],F=[f,...y.ancestors],j=I.$_validate(void 0,y.localize(y.path,F,I),b).value;if(M){if(void 0===j)continue;M=!1}E.unshift(j)}E.length&&f.push(...E)},C.fastSplice=function(_,f){let y=f;for(;y<_.length;)_[y++]=_[y];--_.length},C.validateSingle=function(_,f){("array"===_.type||_._flags._arrayItems)&&(u(!f._flags.single,"Cannot specify array item with single rule enabled"),f.$_setFlag("_arrayItems",!0,{clone:!1}))},C.sort=function(_,f,y,b,E){const M="ascending"===y.order?1:-1,A=-1*M,I=M,F=(j,T)=>{let P=C.compare(j,T,A,I);if(null!==P||(y.by&&(j=y.by.resolve(j,b,E),T=y.by.resolve(T,b,E)),P=C.compare(j,T,A,I),null!==P))return P;const x=typeof j;if(x!==typeof T)throw _.$_createError("array.sort.mismatching",f,null,b,E);if("number"!==x&&"string"!==x)throw _.$_createError("array.sort.unsupported",f,{type:x},b,E);return"number"===x?(j-T)*M:j{"use strict";const u=e(375),c=e(8068),g=e(8160),v=e(2036),p={isBool:function(S){return"boolean"==typeof S}};a.exports=c.extend({type:"boolean",flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:"values"},truthy:{init:null,manifest:"values"}},coerce(S,{schema:C}){if("boolean"!=typeof S){if("string"==typeof S){const _=C._flags.sensitive?S:S.toLowerCase();S="true"===_||"false"!==_&&S}return"boolean"!=typeof S&&(S=C.$_terms.truthy&&C.$_terms.truthy.has(S,null,null,!C._flags.sensitive)||(!C.$_terms.falsy||!C.$_terms.falsy.has(S,null,null,!C._flags.sensitive))&&S),{value:S}}},validate(S,{error:C}){if("boolean"!=typeof S)return{value:S,errors:C("boolean.base")}},rules:{truthy:{method(...S){g.verifyFlat(S,"truthy");const C=this.clone();C.$_terms.truthy=C.$_terms.truthy||new v;for(let _=0;_S?1:0},string:{from:p.isBool,to:(S,C)=>S?"true":"false"}},manifest:{build:(S,C)=>(C.truthy&&(S=S.truthy(...C.truthy)),C.falsy&&(S=S.falsy(...C.falsy)),S)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},7500:(a,l,e)=>{"use strict";const u=e(375),c=e(8068),g=e(8160),v=e(3328),p={isDate:function(S){return S instanceof Date}};a.exports=c.extend({type:"date",coerce:{from:["number","string"],method:(S,{schema:C})=>({value:p.parse(S,C._flags.format)||S})},validate(S,{schema:C,error:_,prefs:f}){if(S instanceof Date&&!isNaN(S.getTime()))return;const y=C._flags.format;return f.convert&&y&&"string"==typeof S?{value:S,errors:_("date.format",{format:y})}:{value:S,errors:_("date.base")}},rules:{compare:{method:!1,validate(S,C,{date:_},{name:f,operator:y,args:b}){const E="now"===_?Date.now():_.getTime();return g.compare(S.getTime(),E,y)?S:C.error("date."+f,{limit:b.date,value:S})},args:[{name:"date",ref:!0,normalize:S=>"now"===S?S:p.parse(S),assert:S=>null!==S,message:"must have a valid date format"}]},format:{method(S){return u(["iso","javascript","unix"].includes(S),"Unknown date format",S),this.$_setFlag("format",S)}},greater:{method(S){return this.$_addRule({name:"greater",method:"compare",args:{date:S},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(S){return this.$_addRule({name:"less",method:"compare",args:{date:S},operator:"<"})}},max:{method(S){return this.$_addRule({name:"max",method:"compare",args:{date:S},operator:"<="})}},min:{method(S){return this.$_addRule({name:"min",method:"compare",args:{date:S},operator:">="})}},timestamp:{method(S="javascript"){return u(["javascript","unix"].includes(S),'"type" must be one of "javascript, unix"'),this.format(S)}}},cast:{number:{from:p.isDate,to:(S,C)=>S.getTime()},string:{from:p.isDate,to:(S,{prefs:C})=>v.date(S,C)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":"{{#label}} must be greater than {{:#limit}}","date.less":"{{#label}} must be less than {{:#limit}}","date.max":"{{#label}} must be less than or equal to {{:#limit}}","date.min":"{{#label}} must be greater than or equal to {{:#limit}}","date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),p.parse=function(S,C){if(S instanceof Date)return S;if("string"!=typeof S&&(isNaN(S)||!isFinite(S))||/^\s*$/.test(S))return null;if("iso"===C)return g.isIsoDate(S)?p.date(S.toString()):null;const _=S;if("string"==typeof S&&/^[+-]?\d+(\.\d+)?$/.test(S)&&(S=parseFloat(S)),C){if("javascript"===C)return p.date(1*S);if("unix"===C)return p.date(1e3*S);if("string"==typeof _)return null}return p.date(S)},p.date=function(S){const C=new Date(S);return isNaN(C.getTime())?null:C}},390:(a,l,e)=>{"use strict";const u=e(375),c=e(7824);a.exports=c.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(g){return u(Number.isSafeInteger(g)&&g>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:g}})},validate:(g,v,{n:p})=>g.length===p?g:v.error("function.arity",{n:p})},class:{method(){return this.$_addRule("class")},validate:(g,v)=>/^\s*class\s/.test(g.toString())?g:v.error("function.class",{value:g})},minArity:{method(g){return u(Number.isSafeInteger(g)&&g>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:g}})},validate:(g,v,{n:p})=>g.length>=p?g:v.error("function.minArity",{n:p})},maxArity:{method(g){return u(Number.isSafeInteger(g)&&g>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:g}})},validate:(g,v,{n:p})=>g.length<=p?g:v.error("function.maxArity",{n:p})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},7824:(a,l,e)=>{"use strict";const u=e(978),c=e(375),g=e(8571),v=e(3652),p=e(8068),S=e(8160),C=e(3292),_=e(6354),f=e(6133),y=e(3328),b={renameDefaults:{alias:!1,multiple:!1,override:!1}};a.exports=p.extend({type:"_keys",properties:{typeof:"object"},flags:{unknown:{default:!1}},terms:{dependencies:{init:null},keys:{init:null,manifest:{mapped:{from:"schema",to:"key"}}},patterns:{init:null},renames:{init:null}},args:(E,M)=>E.keys(M),validate(E,{schema:M,error:A,state:I,prefs:F}){if(!E||typeof E!==M.$_property("typeof")||Array.isArray(E))return{value:E,errors:A("object.base",{type:M.$_property("typeof")})};if(!(M.$_terms.renames||M.$_terms.dependencies||M.$_terms.keys||M.$_terms.patterns||M.$_terms.externals))return;E=b.clone(E,F);const j=[];if(M.$_terms.renames&&!b.rename(M,E,I,F,j))return{value:E,errors:j};if(!M.$_terms.keys&&!M.$_terms.patterns&&!M.$_terms.dependencies)return{value:E,errors:j};const T=new Set(Object.keys(E));if(M.$_terms.keys){const P=[E,...I.ancestors];for(const x of M.$_terms.keys){const N=x.key,O=E[N];T.delete(N);const H=I.localize([...I.path,N],P,x),G=x.schema.$_validate(O,H,F);if(G.errors){if(F.abortEarly)return{value:E,errors:G.errors};void 0!==G.value&&(E[N]=G.value),j.push(...G.errors)}else"strip"===x.schema._flags.result||void 0===G.value&&void 0!==O?delete E[N]:void 0!==G.value&&(E[N]=G.value)}}if(T.size||M._flags._hasPatternMatch){const P=b.unknown(M,E,T,j,I,F);if(P)return P}if(M.$_terms.dependencies)for(const P of M.$_terms.dependencies){if(null!==P.key&&!1===b.isPresent(P.options)(P.key.resolve(E,I,F,null,{shadow:!1})))continue;const x=b.dependencies[P.rel](M,P,E,I,F);if(x){const N=M.$_createError(x.code,E,x.context,I,F);if(F.abortEarly)return{value:E,errors:N};j.push(N)}}return{value:E,errors:j}},rules:{and:{method(...E){return S.verifyFlat(E,"and"),b.dependency(this,"and",null,E)}},append:{method(E){return null==E||0===Object.keys(E).length?this:this.keys(E)}},assert:{method(E,M,A){y.isTemplate(E)||(E=C.ref(E)),c(void 0===A||"string"==typeof A,"Message must be a string"),M=this.$_compile(M,{appendPath:!0});const I=this.$_addRule({name:"assert",args:{subject:E,schema:M,message:A}});return I.$_mutateRegister(E),I.$_mutateRegister(M),I},validate(E,{error:M,prefs:A,state:I},{subject:F,schema:j,message:T}){const P=F.resolve(E,I,A),x=f.isRef(F)?F.absolute(I):[];return j.$_match(P,I.localize(x,[E,...I.ancestors],j),A)?E:M("object.assert",{subject:F,message:T})},args:["subject","schema","message"],multi:!0},instance:{method(E,M){return c("function"==typeof E,"constructor must be a function"),this.$_addRule({name:"instance",args:{constructor:E,name:M=M||E.name}})},validate:(E,M,{constructor:A,name:I})=>E instanceof A?E:M.error("object.instance",{type:I,value:E}),args:["constructor","name"]},keys:{method(E){c(void 0===E||"object"==typeof E,"Object schema must be a valid object"),c(!S.isSchema(E),"Object schema cannot be a joi schema");const M=this.clone();if(E)if(Object.keys(E).length){M.$_terms.keys=M.$_terms.keys?M.$_terms.keys.filter(A=>!E.hasOwnProperty(A.key)):new b.Keys;for(const A in E)S.tryWithPath(()=>M.$_terms.keys.push({key:A,schema:this.$_compile(E[A])}),A)}else M.$_terms.keys=new b.Keys;else M.$_terms.keys=null;return M.$_mutateRebuild()}},length:{method(E){return this.$_addRule({name:"length",args:{limit:E},operator:"="})},validate:(E,M,{limit:A},{name:I,operator:F,args:j})=>S.compare(Object.keys(E).length,A,F)?E:M.error("object."+I,{limit:j.limit,value:E}),args:[{name:"limit",ref:!0,assert:S.limit,message:"must be a positive integer"}]},max:{method(E){return this.$_addRule({name:"max",method:"length",args:{limit:E},operator:"<="})}},min:{method(E){return this.$_addRule({name:"min",method:"length",args:{limit:E},operator:">="})}},nand:{method(...E){return S.verifyFlat(E,"nand"),b.dependency(this,"nand",null,E)}},or:{method(...E){return S.verifyFlat(E,"or"),b.dependency(this,"or",null,E)}},oxor:{method(...E){return b.dependency(this,"oxor",null,E)}},pattern:{method(E,M,A={}){const I=E instanceof RegExp;I||(E=this.$_compile(E,{appendPath:!0})),c(void 0!==M,"Invalid rule"),S.assertOptions(A,["fallthrough","matches"]),I&&c(!E.flags.includes("g")&&!E.flags.includes("y"),"pattern should not use global or sticky mode"),M=this.$_compile(M,{appendPath:!0});const F=this.clone();F.$_terms.patterns=F.$_terms.patterns||[];const j={[I?"regex":"schema"]:E,rule:M};return A.matches&&(j.matches=this.$_compile(A.matches),"array"!==j.matches.type&&(j.matches=j.matches.$_root.array().items(j.matches)),F.$_mutateRegister(j.matches),F.$_setFlag("_hasPatternMatch",!0,{clone:!1})),A.fallthrough&&(j.fallthrough=!0),F.$_terms.patterns.push(j),F.$_mutateRegister(M),F}},ref:{method(){return this.$_addRule("ref")},validate:(E,M)=>f.isRef(E)?E:M.error("object.refType",{value:E})},regex:{method(){return this.$_addRule("regex")},validate:(E,M)=>E instanceof RegExp?E:M.error("object.regex",{value:E})},rename:{method(E,M,A={}){c("string"==typeof E||E instanceof RegExp,"Rename missing the from argument"),c("string"==typeof M||M instanceof y,"Invalid rename to argument"),c(M!==E,"Cannot rename key to same name:",E),S.assertOptions(A,["alias","ignoreUndefined","override","multiple"]);const I=this.clone();I.$_terms.renames=I.$_terms.renames||[];for(const F of I.$_terms.renames)c(F.from!==E,"Cannot rename the same key multiple times");return M instanceof y&&I.$_mutateRegister(M),I.$_terms.renames.push({from:E,to:M,options:u(b.renameDefaults,A)}),I}},schema:{method(E="any"){return this.$_addRule({name:"schema",args:{type:E}})},validate:(E,M,{type:A})=>!S.isSchema(E)||"any"!==A&&E.type!==A?M.error("object.schema",{type:A}):E},unknown:{method(E){return this.$_setFlag("unknown",!1!==E)}},with:{method(E,M,A={}){return b.dependency(this,"with",E,M,A)}},without:{method(E,M,A={}){return b.dependency(this,"without",E,M,A)}},xor:{method(...E){return S.verifyFlat(E,"xor"),b.dependency(this,"xor",null,E)}}},overrides:{default(E,M){return void 0===E&&(E=S.symbols.deepDefault),this.$_parent("default",E,M)}},rebuild(E){if(E.$_terms.keys){const M=new v.Sorter;for(const A of E.$_terms.keys)S.tryWithPath(()=>M.add(A,{after:A.schema.$_rootReferences(),group:A.key}),A.key);E.$_terms.keys=new b.Keys(...M.nodes)}},manifest:{build(E,M){if(M.keys&&(E=E.keys(M.keys)),M.dependencies)for(const{rel:A,key:I=null,peers:F,options:j}of M.dependencies)E=b.dependency(E,A,I,F,j);if(M.patterns)for(const{regex:A,schema:I,rule:F,fallthrough:j,matches:T}of M.patterns)E=E.pattern(A||I,F,{fallthrough:j,matches:T});if(M.renames)for(const{from:A,to:I,options:F}of M.renames)E=E.rename(A,I,F);return E}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":"{{#label}} must be an instance of {{:#type}}","object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":"{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}","object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":"{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}","object.rename.override":"{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists","object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":"{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}","object.without":"{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}","object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),b.clone=function(E,M){if("object"==typeof E){if(M.nonEnumerables)return g(E,{shallow:!0});const I=Object.create(Object.getPrototypeOf(E));return Object.assign(I,E),I}const A=function(...I){return E.apply(this,I)};return A.prototype=g(E.prototype),Object.defineProperty(A,"name",{value:E.name,writable:!1}),Object.defineProperty(A,"length",{value:E.length,writable:!1}),Object.assign(A,E),A},b.dependency=function(E,M,A,I,F){c(null===A||"string"==typeof A,M,"key must be a strings"),F||(F=I.length>1&&"object"==typeof I[I.length-1]?I.pop():{}),S.assertOptions(F,["separator","isPresent"]),I=[].concat(I);const j=S.default(F.separator,"."),T=[];for(const x of I)c("string"==typeof x,M,"peers must be strings"),T.push(C.ref(x,{separator:j,ancestor:0,prefix:!1}));null!==A&&(A=C.ref(A,{separator:j,ancestor:0,prefix:!1}));const P=E.clone();return P.$_terms.dependencies=P.$_terms.dependencies||[],P.$_terms.dependencies.push(new b.Dependency(M,A,T,I,F)),P},b.dependencies={and(E,M,A,I,F){const j=[],T=[],P=M.peers.length,x=b.isPresent(M.options);for(const N of M.peers)!1===x(N.resolve(A,I,F,null,{shadow:!1}))?j.push(N.key):T.push(N.key);if(j.length!==P&&T.length!==P)return{code:"object.and",context:{present:T,presentWithLabels:b.keysToLabels(E,T),missing:j,missingWithLabels:b.keysToLabels(E,j)}}},nand(E,M,A,I,F){const j=[],T=b.isPresent(M.options);for(const N of M.peers)T(N.resolve(A,I,F,null,{shadow:!1}))&&j.push(N.key);if(j.length!==M.peers.length)return;const P=M.paths[0],x=M.paths.slice(1);return{code:"object.nand",context:{main:P,mainWithLabel:b.keysToLabels(E,P),peers:x,peersWithLabels:b.keysToLabels(E,x)}}},or(E,M,A,I,F){const j=b.isPresent(M.options);for(const T of M.peers)if(j(T.resolve(A,I,F,null,{shadow:!1})))return;return{code:"object.missing",context:{peers:M.paths,peersWithLabels:b.keysToLabels(E,M.paths)}}},oxor(E,M,A,I,F){const j=[],T=b.isPresent(M.options);for(const x of M.peers)T(x.resolve(A,I,F,null,{shadow:!1}))&&j.push(x.key);if(!j.length||1===j.length)return;const P={peers:M.paths,peersWithLabels:b.keysToLabels(E,M.paths)};return P.present=j,P.presentWithLabels=b.keysToLabels(E,j),{code:"object.oxor",context:P}},with(E,M,A,I,F){const j=b.isPresent(M.options);for(const T of M.peers)if(!1===j(T.resolve(A,I,F,null,{shadow:!1})))return{code:"object.with",context:{main:M.key.key,mainWithLabel:b.keysToLabels(E,M.key.key),peer:T.key,peerWithLabel:b.keysToLabels(E,T.key)}}},without(E,M,A,I,F){const j=b.isPresent(M.options);for(const T of M.peers)if(j(T.resolve(A,I,F,null,{shadow:!1})))return{code:"object.without",context:{main:M.key.key,mainWithLabel:b.keysToLabels(E,M.key.key),peer:T.key,peerWithLabel:b.keysToLabels(E,T.key)}}},xor(E,M,A,I,F){const j=[],T=b.isPresent(M.options);for(const x of M.peers)T(x.resolve(A,I,F,null,{shadow:!1}))&&j.push(x.key);if(1===j.length)return;const P={peers:M.paths,peersWithLabels:b.keysToLabels(E,M.paths)};return 0===j.length?{code:"object.missing",context:P}:(P.present=j,P.presentWithLabels=b.keysToLabels(E,j),{code:"object.xor",context:P})}},b.keysToLabels=function(E,M){return Array.isArray(M)?M.map(A=>E.$_mapLabels(A)):E.$_mapLabels(M)},b.isPresent=function(E){return"function"==typeof E.isPresent?E.isPresent:M=>void 0!==M},b.rename=function(E,M,A,I,F){const j={};for(const T of E.$_terms.renames){const P=[],x="string"!=typeof T.from;if(x)for(const N in M){if(void 0===M[N]&&T.options.ignoreUndefined||N===T.to)continue;const O=T.from.exec(N);O&&P.push({from:N,to:T.to,match:O})}else!Object.prototype.hasOwnProperty.call(M,T.from)||void 0===M[T.from]&&T.options.ignoreUndefined||P.push(T);for(const N of P){const O=N.from;let H=N.to;if(H instanceof y&&(H=H.render(M,A,I,N.match)),O!==H){if(!T.options.multiple&&j[H]&&(F.push(E.$_createError("object.rename.multiple",M,{from:O,to:H,pattern:x},A,I)),I.abortEarly)||Object.prototype.hasOwnProperty.call(M,H)&&!T.options.override&&!j[H]&&(F.push(E.$_createError("object.rename.override",M,{from:O,to:H,pattern:x},A,I)),I.abortEarly))return!1;void 0===M[O]?delete M[H]:M[H]=M[O],j[H]=!0,T.options.alias||delete M[O]}}}return!0},b.unknown=function(E,M,A,I,F,j){if(E.$_terms.patterns){let T=!1;const P=E.$_terms.patterns.map(N=>{if(N.matches)return T=!0,[]}),x=[M,...F.ancestors];for(const N of A){const O=M[N],H=[...F.path,N];for(let G=0;G{"use strict";const u=e(375),c=e(8068),g=e(8160),v=e(3292),p=e(6354),S={};a.exports=c.extend({type:"link",properties:{schemaChain:!0},terms:{link:{init:null,manifest:"single",register:!1}},args:(C,_)=>C.ref(_),validate(C,{schema:_,state:f,prefs:y}){u(_.$_terms.link,"Uninitialized link schema");const b=S.generate(_,C,f,y);return b.$_validate(C,f.nest(b,`link:${_.$_terms.link[0].ref.display}:${b.type}`),y)},generate:(C,_,f,y)=>S.generate(C,_,f,y),rules:{ref:{method(C){u(!this.$_terms.link,"Cannot reinitialize schema"),C=v.ref(C),u("value"===C.type||"local"===C.type,"Invalid reference type:",C.type),u("local"===C.type||"root"===C.ancestor||C.ancestor>0,"Link cannot reference itself");const _=this.clone();return _.$_terms.link=[{ref:C}],_}},relative:{method(C=!0){return this.$_setFlag("relative",C)}}},overrides:{concat(C){u(this.$_terms.link,"Uninitialized link schema"),u(g.isSchema(C),"Invalid schema object"),u("link"!==C.type,"Cannot merge type link with another link");const _=this.clone();return _.$_terms.whens||(_.$_terms.whens=[]),_.$_terms.whens.push({concat:C}),_.$_mutateRebuild()}},manifest:{build:(C,_)=>(u(_.link,"Invalid link description missing link"),C.ref(_.link))}}),S.generate=function(C,_,f,y){let b=f.mainstay.links.get(C);if(b)return b._generate(_,f,y).schema;const E=C.$_terms.link[0].ref,{perspective:M,path:A}=S.perspective(E,f);S.assert(M,"which is outside of schema boundaries",E,C,f,y);try{b=A.length?M.$_reach(A):M}catch{S.assert(!1,"to non-existing schema",E,C,f,y)}return S.assert("link"!==b.type,"which is another link",E,C,f,y),C._flags.relative||f.mainstay.links.set(C,b),b._generate(_,f,y).schema},S.perspective=function(C,_){if("local"===C.type){for(const{schema:f,key:y}of _.schemas){if((f._flags.id||y)===C.path[0])return{perspective:f,path:C.path.slice(1)};if(f.$_terms.shared)for(const b of f.$_terms.shared)if(b._flags.id===C.path[0])return{perspective:b,path:C.path.slice(1)}}return{perspective:null,path:null}}return"root"===C.ancestor?{perspective:_.schemas[_.schemas.length-1].schema,path:C.path}:{perspective:_.schemas[C.ancestor]&&_.schemas[C.ancestor].schema,path:C.path}},S.assert=function(C,_,f,y,b,E){C||u(!1,`"${p.label(y._flags,b,E)}" contains link reference "${f.display}" ${_}`)}},3832:(a,l,e)=>{"use strict";const u=e(375),c=e(8068),g=e(8160),v={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,exponentialPartRegex:/[eE][+-]?\d+$/,leadingSignAndZerosRegex:/^[+-]?(0*)?/,dotRegex:/\./,trailingZerosRegex:/0+$/,decimalPlaces(p){const S=p.toString(),C=S.indexOf("."),_=S.indexOf("e");return(C<0?0:(_<0?S.length:_)-C-1)+(_<0?0:Math.max(0,-parseInt(S.slice(_+1))))}};a.exports=c.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(p,{schema:S,error:C}){if(!p.match(v.numberRx))return;p=p.trim();const _={value:parseFloat(p)};if(0===_.value&&(_.value=0),!S._flags.unsafe)if(p.match(/e/i)){if(v.extractSignificantDigits(p)!==v.extractSignificantDigits(String(_.value)))return _.errors=C("number.unsafe"),_}else{const f=_.value.toString();if(f.match(/e/i))return _;if(f!==v.normalizeDecimal(p))return _.errors=C("number.unsafe"),_}return _}},validate(p,{schema:S,error:C,prefs:_}){if(p===1/0||p===-1/0)return{value:p,errors:C("number.infinity")};if(!g.isNumber(p))return{value:p,errors:C("number.base")};const f={value:p};if(_.convert){const y=S.$_getRule("precision");if(y){const b=Math.pow(10,y.args.limit);f.value=Math.round(f.value*b)/b}}return 0===f.value&&(f.value=0),!S._flags.unsafe&&(p>Number.MAX_SAFE_INTEGER||pg.compare(p,C,f)?p:S.error("number."+_,{limit:y.limit,value:p}),args:[{name:"limit",ref:!0,assert:g.isNumber,message:"must be a number"}]},greater:{method(p){return this.$_addRule({name:"greater",method:"compare",args:{limit:p},operator:">"})}},integer:{method(){return this.$_addRule("integer")},validate:(p,S)=>Math.trunc(p)-p==0?p:S.error("number.integer")},less:{method(p){return this.$_addRule({name:"less",method:"compare",args:{limit:p},operator:"<"})}},max:{method(p){return this.$_addRule({name:"max",method:"compare",args:{limit:p},operator:"<="})}},min:{method(p){return this.$_addRule({name:"min",method:"compare",args:{limit:p},operator:">="})}},multiple:{method(p){const S="number"==typeof p?v.decimalPlaces(p):null,C=Math.pow(10,S);return this.$_addRule({name:"multiple",args:{base:p,baseDecimalPlace:S,pfactor:C}})},validate:(p,S,{base:C,baseDecimalPlace:_,pfactor:f},y)=>v.decimalPlaces(p)>_?S.error("number.multiple",{multiple:y.args.base,value:p}):Math.round(f*p)%Math.round(f*C)==0?p:S.error("number.multiple",{multiple:y.args.base,value:p}),args:[{name:"base",ref:!0,assert:p=>"number"==typeof p&&isFinite(p)&&p>0,message:"must be a positive number"},"baseDecimalPlace","pfactor"],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(p,S)=>Number.isSafeInteger(p)&&p>=0&&p<=65535?p:S.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(p){return u(Number.isSafeInteger(p),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:p}})},validate(p,S,{limit:C}){const _=p.toString().match(v.precisionRx);return Math.max((_[1]?_[1].length:0)-(_[2]?parseInt(_[2],10):0),0)<=C?p:S.error("number.precision",{limit:C,value:p})},convert:!0},sign:{method(p){return u(["negative","positive"].includes(p),"Invalid sign",p),this.$_addRule({name:"sign",args:{sign:p}})},validate:(p,S,{sign:C})=>"negative"===C&&p<0||"positive"===C&&p>0?p:S.error(`number.${C}`)},unsafe:{method(p=!0){return u("boolean"==typeof p,"enabled must be a boolean"),this.$_setFlag("unsafe",p)}}},cast:{string:{from:p=>"number"==typeof p,to:(p,S)=>p.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be greater than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),v.extractSignificantDigits=function(p){return p.replace(v.exponentialPartRegex,"").replace(v.dotRegex,"").replace(v.trailingZerosRegex,"").replace(v.leadingSignAndZerosRegex,"")},v.normalizeDecimal=function(p){return(p=p.replace(/^\+/,"").replace(/\.0*$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([0-9])/,"$1$2")).includes(".")&&p.endsWith("0")&&(p=p.replace(/0+$/,"")),"-0"===p?"0":p}},8966:(a,l,e)=>{"use strict";const u=e(7824);a.exports=u.extend({type:"object",cast:{map:{from:c=>c&&"object"==typeof c,to:(c,g)=>new Map(Object.entries(c))}}})},7417:(a,l,e)=>{"use strict";const u=e(375),c=e(5380),g=e(1745),v=e(9959),p=e(6064),S=e(9926),C=e(5752),_=e(8068),f=e(8160),y={tlds:S instanceof Set&&{tlds:{allow:S,deny:null}},base64Regex:{true:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}==|[\w\-]{3}=)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/},false:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}(==)?|[\w\-]{3}=?)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}(==)?|[A-Za-z0-9+\/]{3}=?)?$/}},dataUriRegex:/^data:[\w+.-]+\/[\w+.-]+;((charset=[\w-]+|base64),)?(.*)$/,hexRegex:{withPrefix:/^0x[0-9a-f]+$/i,withOptionalPrefix:/^(?:0x)?[0-9a-f]+$/i,withoutPrefix:/^[0-9a-f]+$/i},ipRegex:v.regex({cidr:"forbidden"}).regex,isoDurationRegex:/^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$/,guidBrackets:{"{":"}","[":"]","(":")","":""},guidVersions:{uuidv1:"1",uuidv2:"2",uuidv3:"3",uuidv4:"4",uuidv5:"5",uuidv6:"6",uuidv7:"7",uuidv8:"8"},guidSeparators:new Set([void 0,!0,!1,"-",":"]),normalizationForms:["NFC","NFD","NFKC","NFKD"]};a.exports=_.extend({type:"string",flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:"string",method(b,{schema:E,state:M,prefs:A}){const I=E.$_getRule("normalize");I&&(b=b.normalize(I.args.form));const F=E.$_getRule("case");F&&(b="upper"===F.args.direction?b.toLocaleUpperCase():b.toLocaleLowerCase());const j=E.$_getRule("trim");if(j&&j.args.enabled&&(b=b.trim()),E.$_terms.replacements)for(const P of E.$_terms.replacements)b=b.replace(P.pattern,P.replacement);const T=E.$_getRule("hex");if(T&&T.args.options.byteAligned&&b.length%2!=0&&(b=`0${b}`),E.$_getRule("isoDate")){const P=y.isoDate(b);P&&(b=P)}if(E._flags.truncate){const P=E.$_getRule("max");if(P){let x=P.args.limit;if(f.isResolvable(x)&&(x=x.resolve(b,M,A),!f.limit(x)))return{value:b,errors:E.$_createError("any.ref",x,{ref:P.args.limit,arg:"limit",reason:"must be a positive integer"},M,A)};b=b.slice(0,x)}}return{value:b}}},validate(b,{schema:E,error:M}){if("string"!=typeof b)return{value:b,errors:M("string.base")};if(""===b){const A=E.$_getRule("min");return A&&0===A.args.limit?void 0:{value:b,errors:M("string.empty")}}},rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(b,E)=>/^[a-zA-Z0-9]+$/.test(b)?b:E.error("string.alphanum")},base64:{method(b={}){return f.assertOptions(b,["paddingRequired","urlSafe"]),b={urlSafe:!1,paddingRequired:!0,...b},u("boolean"==typeof b.paddingRequired,"paddingRequired must be boolean"),u("boolean"==typeof b.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:b}})},validate:(b,E,{options:M})=>y.base64Regex[M.paddingRequired][M.urlSafe].test(b)?b:E.error("string.base64")},case:{method(b){return u(["lower","upper"].includes(b),"Invalid case:",b),this.$_addRule({name:"case",args:{direction:b}})},validate:(b,E,{direction:M})=>"lower"===M&&b===b.toLocaleLowerCase()||"upper"===M&&b===b.toLocaleUpperCase()?b:E.error(`string.${M}case`),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(b,E){let M=b.length,A=0,I=1;for(;M--;){const F=b.charAt(M)*I;A+=F-9*(F>9),I^=3}return A>0&&A%10==0?b:E.error("string.creditCard")}},dataUri:{method(b={}){return f.assertOptions(b,["paddingRequired"]),b={paddingRequired:!0,...b},u("boolean"==typeof b.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:b}})},validate(b,E,{options:M}){const A=b.match(y.dataUriRegex);return!A||A[2]&&"base64"===A[2]&&!y.base64Regex[M.paddingRequired].false.test(A[3])?E.error("string.dataUri"):b}},domain:{method(b){b&&f.assertOptions(b,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const E=y.addressOptions(b);return this.$_addRule({name:"domain",args:{options:b},address:E})},validate:(b,E,M,{address:A})=>c.isValid(b,A)?b:E.error("string.domain")},email:{method(b={}){f.assertOptions(b,["allowFullyQualified","allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),u(void 0===b.multiple||"boolean"==typeof b.multiple,"multiple option must be an boolean");const E=y.addressOptions(b),M=new RegExp(`\\s*[${b.separator?p(b.separator):","}]\\s*`);return this.$_addRule({name:"email",args:{options:b},regex:M,address:E})},validate(b,E,{options:M},{regex:A,address:I}){const F=M.multiple?b.split(A):[b],j=[];for(const T of F)g.isValid(T,I)||j.push(T);return j.length?E.error("string.email",{value:b,invalids:j}):b}},guid:{alias:"uuid",method(b={}){f.assertOptions(b,["version","separator"]);let E="";if(b.version){const I=[].concat(b.version);u(I.length>=1,"version must have at least 1 valid version specified");const F=new Set;for(let j=0;j("optional"===M.prefix?y.hexRegex.withOptionalPrefix:!0===M.prefix?y.hexRegex.withPrefix:y.hexRegex.withoutPrefix).test(b)?M.byteAligned&&b.length%2!=0?E.error("string.hexAlign"):b:E.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(b,E)=>c.isValid(b,{minDomainSegments:1})||y.ipRegex.test(b)?b:E.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(b={}){f.assertOptions(b,["cidr","version"]);const{cidr:E,versions:M,regex:A}=v.regex(b);return this.$_addRule({name:"ip",args:{options:{cidr:E,version:b.version?M:void 0}},regex:A})},validate:(b,E,{options:M},{regex:A})=>A.test(b)?b:M.version?E.error("string.ipVersion",{value:b,cidr:M.cidr,version:M.version}):E.error("string.ip",{value:b,cidr:M.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(b,{error:E})=>y.isoDate(b)?b:E("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(b,E)=>y.isoDurationRegex.test(b)?b:E.error("string.isoDuration")},length:{method(b,E){return y.length(this,"length",b,"=",E)},validate:(b,E,{limit:M,encoding:A},{name:I,operator:F,args:j})=>f.compare(!A&&b.length,M,F)?b:E.error("string."+I,{limit:j.limit,value:b,encoding:A}),args:[{name:"limit",ref:!0,assert:f.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(b,E){return y.length(this,"max",b,"<=",E)},args:["limit","encoding"]},min:{method(b,E){return y.length(this,"min",b,">=",E)},args:["limit","encoding"]},normalize:{method(b="NFC"){return u(y.normalizationForms.includes(b),"normalization form must be one of "+y.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:b}})},validate:(b,{error:E},{form:M})=>b===b.normalize(M)?b:E("string.normalize",{value:b,form:M}),convert:!0},pattern:{alias:"regex",method(b,E={}){u(b instanceof RegExp,"regex must be a RegExp"),u(!b.flags.includes("g")&&!b.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof E&&(E={name:E}),f.assertOptions(E,["invert","name"]);const M=["string.pattern",E.invert?".invert":"",E.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:b,options:E},errorCode:M})},validate:(b,E,{regex:M,options:A},{errorCode:I})=>M.test(b)^A.invert?b:E.error(I,{name:A.name,regex:M,value:b}),args:["regex","options"],multi:!0},replace:{method(b,E){"string"==typeof b&&(b=new RegExp(p(b),"g")),u(b instanceof RegExp,"pattern must be a RegExp"),u("string"==typeof E,"replacement must be a String");const M=this.clone();return M.$_terms.replacements||(M.$_terms.replacements=[]),M.$_terms.replacements.push({pattern:b,replacement:E}),M}},token:{method(){return this.$_addRule("token")},validate:(b,E)=>/^\w+$/.test(b)?b:E.error("string.token")},trim:{method(b=!0){return u("boolean"==typeof b,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:b}})},validate:(b,E,{enabled:M})=>M&&b!==b.trim()?E.error("string.trim"):b,convert:!0},truncate:{method(b=!0){return u("boolean"==typeof b,"enabled must be a boolean"),this.$_setFlag("truncate",b)}},uppercase:{method(){return this.case("upper")}},uri:{method(b={}){f.assertOptions(b,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),b.domain&&f.assertOptions(b.domain,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:E,scheme:M}=C.regex(b),A=b.domain?y.addressOptions(b.domain):null;return this.$_addRule({name:"uri",args:{options:b},regex:E,domain:A,scheme:M})},validate(b,E,{options:M},{regex:A,domain:I,scheme:F}){if(["http:/","https:/"].includes(b))return E.error("string.uri");const j=A.exec(b);if(j){const T=j[1]||j[2];return!I||M.allowRelative&&!T||c.isValid(T,I)?b:E.error("string.domain",{value:T})}return M.relativeOnly?E.error("string.uriRelativeOnly"):M.scheme?E.error("string.uriCustomScheme",{scheme:F,value:b}):E.error("string.uri")}}},manifest:{build(b,E){if(E.replacements)for(const{pattern:M,replacement:A}of E.replacements)b=b.replace(M,A);return b}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":"{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}","string.pattern.name":"{{#label}} with value {:[.]} fails to match the {{#name}} pattern","string.pattern.invert.base":"{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}","string.pattern.invert.name":"{{#label}} with value {:[.]} matches the inverted {{#name}} pattern","string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),y.addressOptions=function(b){if(!b)return y.tlds||b;if(u(void 0===b.minDomainSegments||Number.isSafeInteger(b.minDomainSegments)&&b.minDomainSegments>0,"minDomainSegments must be a positive integer"),u(void 0===b.maxDomainSegments||Number.isSafeInteger(b.maxDomainSegments)&&b.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===b.tlds)return b;if(!0===b.tlds||void 0===b.tlds)return u(y.tlds,"Built-in TLD list disabled"),Object.assign({},b,y.tlds);u("object"==typeof b.tlds,"tlds must be true, false, or an object");const E=b.tlds.deny;if(E)return Array.isArray(E)&&(b=Object.assign({},b,{tlds:{deny:new Set(E)}})),u(b.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),u(!b.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),y.validateTlds(b.tlds.deny,"tlds.deny"),b;const M=b.tlds.allow;return M?!0===M?(u(y.tlds,"Built-in TLD list disabled"),Object.assign({},b,y.tlds)):(Array.isArray(M)&&(b=Object.assign({},b,{tlds:{allow:new Set(M)}})),u(b.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),y.validateTlds(b.tlds.allow,"tlds.allow"),b):b},y.validateTlds=function(b,E){for(const M of b)u(c.isValid(M,{minDomainSegments:1,maxDomainSegments:1}),`${E} must contain valid top level domain names`)},y.isoDate=function(b){if(!f.isIsoDate(b))return null;/.*T.*[+-]\d\d$/.test(b)&&(b+="00");const E=new Date(b);return isNaN(E.getTime())?null:E.toISOString()},y.length=function(b,E,M,A,I){return u(!I||!1,"Invalid encoding:",I),b.$_addRule({name:E,method:"length",args:{limit:M,encoding:I},operator:A})}},8826:(a,l,e)=>{"use strict";const u=e(375),c=e(8068),g={};g.Map=class extends Map{slice(){return new g.Map(this)}},a.exports=c.extend({type:"symbol",terms:{map:{init:new g.Map}},coerce:{method(v,{schema:p,error:S}){const C=p.$_terms.map.get(v);return C&&(v=C),p._flags.only&&"symbol"!=typeof v?{value:v,errors:S("symbol.map",{map:p.$_terms.map})}:{value:v}}},validate(v,{error:p}){if("symbol"!=typeof v)return{value:v,errors:p("symbol.base")}},rules:{map:{method(v){v&&!v[Symbol.iterator]&&"object"==typeof v&&(v=Object.entries(v)),u(v&&v[Symbol.iterator],"Iterable must be an iterable or object");const p=this.clone(),S=[];for(const C of v){u(C&&C[Symbol.iterator],"Entry must be an iterable");const[_,f]=C;u("object"!=typeof _&&"function"!=typeof _&&"symbol"!=typeof _,"Key must not be of type object, function, or Symbol"),u("symbol"==typeof f,"Value must be a Symbol"),p.$_terms.map.set(_,f),S.push(f)}return p.valid(...S)}}},manifest:{build:(v,p)=>(p.map&&(v=v.map(p.map)),v)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})},8863:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(738),v=e(9621),p=e(8160),S=e(6354),C=e(493),_={result:Symbol("result")};l.entry=function(f,y,b){let E=p.defaults;b&&(u(void 0===b.warnings,"Cannot override warnings preference in synchronous validation"),u(void 0===b.artifacts,"Cannot override artifacts preference in synchronous validation"),E=p.preferences(p.defaults,b));const M=_.entry(f,y,E);u(!M.mainstay.externals.length,"Schema with external rules must use validateAsync()");const A={value:M.value};return M.error&&(A.error=M.error),M.mainstay.warnings.length&&(A.warning=S.details(M.mainstay.warnings)),M.mainstay.debug&&(A.debug=M.mainstay.debug),M.mainstay.artifacts&&(A.artifacts=M.mainstay.artifacts),A},l.entryAsync=function(){var f=n(function*(y,b,E){let M=p.defaults;E&&(M=p.preferences(p.defaults,E));const A=_.entry(y,b,M),I=A.mainstay;if(A.error)throw I.debug&&(A.error.debug=I.debug),A.error;if(I.externals.length){let j=A.value;const T=[];for(const P of I.externals){const x=P.state.path,N="link"===P.schema.type?I.links.get(P.schema):null;let O,H,G=j;const te=x.length?[j]:[],ue=x.length?v(y,x):y;if(x.length){O=x[x.length-1];let se=j;for(const K of x.slice(0,-1))se=se[K],te.unshift(se);H=te[0],G=H[O]}try{const se=(Z,re)=>(N||P.schema).$_createError(Z,G,re,P.state,M),K=yield P.method(G,{schema:P.schema,linked:N,state:P.state,prefs:E,original:ue,error:se,errorsArray:_.errorsArray,warn:(Z,re)=>I.warnings.push((N||P.schema).$_createError(Z,G,re,P.state,M)),message:(Z,re)=>(N||P.schema).$_createError("external",G,re,P.state,M,{messages:Z})});if(void 0===K||K===G)continue;if(K instanceof S.Report){if(I.tracer.log(P.schema,P.state,"rule","external","error"),T.push(K),M.abortEarly)break;continue}if(Array.isArray(K)&&K[p.symbols.errors]){if(I.tracer.log(P.schema,P.state,"rule","external","error"),T.push(...K),M.abortEarly)break;continue}H?(I.tracer.value(P.state,"rule",G,K,"external"),H[O]=K):(I.tracer.value(P.state,"rule",j,K,"external"),j=K)}catch(se){throw M.errors.label&&(se.message+=` (${P.label})`),se}}if(A.value=j,T.length)throw A.error=S.process(T,y,M),I.debug&&(A.error.debug=I.debug),A.error}if(!M.warnings&&!M.debug&&!M.artifacts)return A.value;const F={value:A.value};return I.warnings.length&&(F.warning=S.details(I.warnings)),I.debug&&(F.debug=I.debug),I.artifacts&&(F.artifacts=I.artifacts),F});return function(y,b,E){return f.apply(this,arguments)}}(),_.Mainstay=class{constructor(f,y,b){this.externals=[],this.warnings=[],this.tracer=f,this.debug=y,this.links=b,this.shadow=null,this.artifacts=null,this._snapshots=[]}snapshot(){this._snapshots.push({externals:this.externals.slice(),warnings:this.warnings.slice()})}restore(){const f=this._snapshots.pop();this.externals=f.externals,this.warnings=f.warnings}commit(){this._snapshots.pop()}},_.entry=function(f,y,b){const{tracer:E,cleanup:M}=_.tracer(y,b),F=new _.Mainstay(E,b.debug?[]:null,y._ids._schemaChain?new Map:null),T=new C([],[],{mainstay:F,schemas:y._ids._schemaChain?[{schema:y}]:null}),P=l.validate(f,y,T,b);M&&y.$_root.untrace();const x=S.process(P.errors,f,b);return{value:P.value,error:x,mainstay:F}},_.tracer=function(f,y){return f.$_root._tracer?{tracer:f.$_root._tracer._register(f)}:y.debug?(u(f.$_root.trace,"Debug mode not supported"),{tracer:f.$_root.trace()._register(f),cleanup:!0}):{tracer:_.ignore}},l.validate=function(f,y,b,E,M={}){if(y.$_terms.whens&&(y=y._generate(f,b,E).schema),y._preferences&&(E=_.prefs(y,E)),y._cache&&E.cache){const x=y._cache.get(f);if(b.mainstay.tracer.debug(b,"validate","cached",!!x),x)return x}const A=(x,N,O)=>y.$_createError(x,f,N,O||b,E),I={original:f,prefs:E,schema:y,state:b,error:A,errorsArray:_.errorsArray,warn:(x,N,O)=>b.mainstay.warnings.push(A(x,N,O)),message:(x,N)=>y.$_createError("custom",f,N,b,E,{messages:x})};b.mainstay.tracer.entry(y,b);const F=y._definition;if(F.prepare&&void 0!==f&&E.convert){const x=F.prepare(f,I);if(x){if(b.mainstay.tracer.value(b,"prepare",f,x.value),x.errors)return _.finalize(x.value,[].concat(x.errors),I);f=x.value}}if(F.coerce&&void 0!==f&&E.convert&&(!F.coerce.from||F.coerce.from.includes(typeof f))){const x=F.coerce.method(f,I);if(x){if(b.mainstay.tracer.value(b,"coerced",f,x.value),x.errors)return _.finalize(x.value,[].concat(x.errors),I);f=x.value}}const j=y._flags.empty;j&&j.$_match(_.trim(f,y),b.nest(j),p.defaults)&&(b.mainstay.tracer.value(b,"empty",f,void 0),f=void 0);const T=M.presence||y._flags.presence||(y._flags._endedSwitch?null:E.presence);if(void 0===f){if("forbidden"===T)return _.finalize(f,null,I);if("required"===T)return _.finalize(f,[y.$_createError("any.required",f,null,b,E)],I);if("optional"===T){if(y._flags.default!==p.symbols.deepDefault)return _.finalize(f,null,I);b.mainstay.tracer.value(b,"default",f,{}),f={}}}else if("forbidden"===T)return _.finalize(f,[y.$_createError("any.unknown",f,null,b,E)],I);const P=[];if(y._valids){const x=y._valids.get(f,b,E,y._flags.insensitive);if(x)return E.convert&&(b.mainstay.tracer.value(b,"valids",f,x.value),f=x.value),b.mainstay.tracer.filter(y,b,"valid",x),_.finalize(f,null,I);if(y._flags.only){const N=y.$_createError("any.only",f,{valids:y._valids.values({display:!0})},b,E);if(E.abortEarly)return _.finalize(f,[N],I);P.push(N)}}if(y._invalids){const x=y._invalids.get(f,b,E,y._flags.insensitive);if(x){b.mainstay.tracer.filter(y,b,"invalid",x);const N=y.$_createError("any.invalid",f,{invalids:y._invalids.values({display:!0})},b,E);if(E.abortEarly)return _.finalize(f,[N],I);P.push(N)}}if(F.validate){const x=F.validate(f,I);if(x&&(b.mainstay.tracer.value(b,"base",f,x.value),f=x.value,x.errors)){if(!Array.isArray(x.errors))return P.push(x.errors),_.finalize(f,P,I);if(x.errors.length)return P.push(...x.errors),_.finalize(f,P,I)}}return y._rules.length?_.rules(f,P,I):_.finalize(f,P,I)},_.rules=function(f,y,b){const{schema:E,state:M,prefs:A}=b;for(const I of E._rules){const F=E._definition.rules[I.method];if(F.convert&&A.convert){M.mainstay.tracer.log(E,M,"rule",I.name,"full");continue}let j,T=I.args;if(I._resolve.length){T=Object.assign({},T);for(const x of I._resolve){const N=F.argsByName.get(x),O=T[x].resolve(f,M,A),H=N.normalize?N.normalize(O):O,G=p.validateArg(H,null,N);if(G){j=E.$_createError("any.ref",O,{arg:x,ref:T[x],reason:G},M,A);break}T[x]=H}}j=j||F.validate(f,b,T,I);const P=_.rule(j,I);if(P.errors){if(M.mainstay.tracer.log(E,M,"rule",I.name,"error"),I.warn){M.mainstay.warnings.push(...P.errors);continue}if(A.abortEarly)return _.finalize(f,P.errors,b);y.push(...P.errors)}else M.mainstay.tracer.log(E,M,"rule",I.name,"pass"),M.mainstay.tracer.value(M,"rule",f,P.value,I.name),f=P.value}return _.finalize(f,y,b)},_.rule=function(f,y){return f instanceof S.Report?(_.error(f,y),{errors:[f],value:null}):Array.isArray(f)&&f[p.symbols.errors]?(f.forEach(b=>_.error(b,y)),{errors:f,value:null}):{errors:null,value:f}},_.error=function(f,y){return y.message&&f._setTemplate(y.message),f},_.finalize=function(f,y,b){y=y||[];const{schema:E,state:M,prefs:A}=b;if(y.length){const F=_.default("failover",void 0,y,b);void 0!==F&&(M.mainstay.tracer.value(M,"failover",f,F),f=F,y=[])}if(y.length&&E._flags.error)if("function"==typeof E._flags.error){y=E._flags.error(y),Array.isArray(y)||(y=[y]);for(const F of y)u(F instanceof Error||F instanceof S.Report,"error() must return an Error object")}else y=[E._flags.error];if(void 0===f){const F=_.default("default",f,y,b);M.mainstay.tracer.value(M,"default",f,F),f=F}if(E._flags.cast&&void 0!==f){const F=E._definition.cast[E._flags.cast];if(F.from(f)){const j=F.to(f,b);M.mainstay.tracer.value(M,"cast",f,j,E._flags.cast),f=j}}if(E.$_terms.externals&&A.externals&&!1!==A._externals)for(const{method:F}of E.$_terms.externals)M.mainstay.externals.push({method:F,schema:E,state:M,label:S.label(E._flags,M,A)});const I={value:f,errors:y.length?y:null};return E._flags.result&&(I.value="strip"===E._flags.result?void 0:b.original,M.mainstay.tracer.value(M,E._flags.result,f,I.value),M.shadow(f,E._flags.result)),E._cache&&!1!==A.cache&&!E._refs.length&&E._cache.set(b.original,I),void 0===f||I.errors||void 0===E._flags.artifact||(M.mainstay.artifacts=M.mainstay.artifacts||new Map,M.mainstay.artifacts.has(E._flags.artifact)||M.mainstay.artifacts.set(E._flags.artifact,[]),M.mainstay.artifacts.get(E._flags.artifact).push(M.path)),I},_.prefs=function(f,y){const b=y===p.defaults;return b&&f._preferences[p.symbols.prefs]?f._preferences[p.symbols.prefs]:(y=p.preferences(y,f._preferences),b&&(f._preferences[p.symbols.prefs]=y),y)},_.default=function(f,y,b,E){const{schema:M,state:A,prefs:I}=E,F=M._flags[f];if(I.noDefaults||void 0===F)return y;if(A.mainstay.tracer.log(M,A,"rule",f,"full"),!F)return F;if("function"==typeof F){const j=F.length?[c(A.ancestors[0]),E]:[];try{return F(...j)}catch(T){return void b.push(M.$_createError(`any.${f}`,null,{error:T},A,I))}}return"object"!=typeof F?F:F[p.symbols.literal]?F.literal:p.isResolvable(F)?F.resolve(y,A,I):c(F)},_.trim=function(f,y){if("string"!=typeof f)return f;const b=y.$_getRule("trim");return b&&b.args.enabled?f.trim():f},_.ignore={active:!1,debug:g,entry:g,filter:g,log:g,resolve:g,value:g},_.errorsArray=function(){const f=[];return f[p.symbols.errors]=!0,f}},2036:(a,l,e)=>{"use strict";const u=e(375),c=e(9474),g=e(8160),v={};a.exports=v.Values=class{constructor(p,S){this._values=new Set(p),this._refs=new Set(S),this._lowercase=v.lowercases(p),this._override=!1}get length(){return this._values.size+this._refs.size}add(p,S){g.isResolvable(p)?this._refs.has(p)||(this._refs.add(p),S&&S.register(p)):this.has(p,null,null,!1)||(this._values.add(p),"string"==typeof p&&this._lowercase.set(p.toLowerCase(),p))}static merge(p,S,C){if(p=p||new v.Values,S){if(S._override)return S.clone();for(const _ of[...S._values,...S._refs])p.add(_)}if(C)for(const _ of[...C._values,...C._refs])p.remove(_);return p.length?p:null}remove(p){g.isResolvable(p)?this._refs.delete(p):(this._values.delete(p),"string"==typeof p&&this._lowercase.delete(p.toLowerCase()))}has(p,S,C,_){return!!this.get(p,S,C,_)}get(p,S,C,_){if(!this.length)return!1;if(this._values.has(p))return{value:p};if("string"==typeof p&&p&&_){const f=this._lowercase.get(p.toLowerCase());if(f)return{value:f}}if(!this._refs.size&&"object"!=typeof p)return!1;if("object"==typeof p)for(const f of this._values)if(c(f,p))return{value:f};if(S)for(const f of this._refs){const y=f.resolve(p,S,C,null,{in:!0});if(void 0===y)continue;const b=f.in&&"object"==typeof y?Array.isArray(y)?y:Object.keys(y):[y];for(const E of b)if(typeof E==typeof p)if(_&&p&&"string"==typeof p){if(E.toLowerCase()===p.toLowerCase())return{value:E,ref:f}}else if(c(E,p))return{value:E,ref:f}}return!1}override(){this._override=!0}values(p){if(p&&p.display){const S=[];for(const C of[...this._values,...this._refs])void 0!==C&&S.push(C);return S}return Array.from([...this._values,...this._refs])}clone(){const p=new v.Values(this._values,this._refs);return p._override=this._override,p}concat(p){u(!p._override,"Cannot concat override set of values");const S=new v.Values([...this._values,...p._values],[...this._refs,...p._refs]);return S._override=this._override,S}describe(){const p=[];this._override&&p.push({override:!0});for(const S of this._values.values())p.push(S&&"object"==typeof S?{value:S}:S);for(const S of this._refs.values())p.push(S.describe());return p}},v.Values.prototype[g.symbols.values]=!0,v.Values.prototype.slice=v.Values.prototype.clone,v.lowercases=function(p){const S=new Map;if(p)for(const C of p)"string"==typeof C&&S.set(C.toLowerCase(),C);return S}},978:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(1687),v=e(9621),p={};a.exports=function(S,C,_={}){if(u(S&&"object"==typeof S,"Invalid defaults value: must be an object"),u(!C||!0===C||"object"==typeof C,"Invalid source value: must be true, falsy or an object"),u("object"==typeof _,"Invalid options: must be an object"),!C)return null;if(_.shallow)return p.applyToDefaultsWithShallow(S,C,_);const f=c(S);return!0===C?f:g(f,C,{nullOverride:void 0!==_.nullOverride&&_.nullOverride,mergeArrays:!1})},p.applyToDefaultsWithShallow=function(S,C,_){const f=_.shallow;u(Array.isArray(f),"Invalid keys");const y=new Map,b=!0===C?null:new Set;for(let A of f){A=Array.isArray(A)?A:A.split(".");const I=v(S,A);I&&"object"==typeof I?y.set(I,b&&v(C,A)||I):b&&b.add(A)}const E=c(S,{},y);if(!b)return E;for(const A of b)p.reachCopy(E,C,A);return g(E,C,{nullOverride:void 0!==_.nullOverride&&_.nullOverride,mergeArrays:!1})},p.reachCopy=function(S,C,_){for(const b of _){if(!(b in C))return;const E=C[b];if("object"!=typeof E||null===E)return;C=E}const f=C;let y=S;for(let b=0;b<_.length-1;++b){const E=_[b];"object"!=typeof y[E]&&(y[E]={}),y=y[E]}y[_[_.length-1]]=f}},375:(a,l,e)=>{"use strict";const u=e(7916);a.exports=function(c,...g){if(!c)throw 1===g.length&&g[0]instanceof Error?g[0]:new u(g)}},8571:(a,l,e)=>{"use strict";const u=e(9621),c=e(4277),g=e(7043),v={needsProtoHack:new Set([c.set,c.map,c.weakSet,c.weakMap])};a.exports=v.clone=function(p,S={},C=null){if("object"!=typeof p||null===p)return p;let _=v.clone,f=C;if(S.shallow){if(!0!==S.shallow)return v.cloneWithShallow(p,S);_=M=>M}else if(f){const M=f.get(p);if(M)return M}else f=new Map;const y=c.getInternalProto(p);if(y===c.buffer)return!1;if(y===c.date)return new Date(p.getTime());if(y===c.regex)return new RegExp(p);const b=v.base(p,y,S);if(b===p)return p;if(f&&f.set(p,b),y===c.set)for(const M of p)b.add(_(M,S,f));else if(y===c.map)for(const[M,A]of p)b.set(M,_(A,S,f));const E=g.keys(p,S);for(const M of E){if("__proto__"===M)continue;if(y===c.array&&"length"===M){b.length=p.length;continue}const A=Object.getOwnPropertyDescriptor(p,M);A?A.get||A.set?Object.defineProperty(b,M,A):A.enumerable?b[M]=_(p[M],S,f):Object.defineProperty(b,M,{enumerable:!1,writable:!0,configurable:!0,value:_(p[M],S,f)}):Object.defineProperty(b,M,{enumerable:!0,writable:!0,configurable:!0,value:_(p[M],S,f)})}return b},v.cloneWithShallow=function(p,S){const C=S.shallow;(S=Object.assign({},S)).shallow=!1;const _=new Map;for(const f of C){const y=u(p,f);"object"!=typeof y&&"function"!=typeof y||_.set(y,y)}return v.clone(p,S,_)},v.base=function(p,S,C){if(!1===C.prototype)return v.needsProtoHack.has(S)?new S.constructor:S===c.array?[]:{};const _=Object.getPrototypeOf(p);if(_&&_.isImmutable)return p;if(S===c.array){const f=[];return _!==S&&Object.setPrototypeOf(f,_),f}if(v.needsProtoHack.has(S)){const f=new _.constructor;return _!==S&&Object.setPrototypeOf(f,_),f}return Object.create(_)}},9474:(a,l,e)=>{"use strict";const u=e(4277),c={mismatched:null};a.exports=function(g,v,p){return p=Object.assign({prototype:!0},p),!!c.isDeepEqual(g,v,p,[])},c.isDeepEqual=function(g,v,p,S){if(g===v)return 0!==g||1/g==1/v;const C=typeof g;if(C!==typeof v||null===g||null===v)return!1;if("function"===C){if(!p.deepFunction||g.toString()!==v.toString())return!1}else if("object"!==C)return g!=g&&v!=v;const _=c.getSharedType(g,v,!!p.prototype);switch(_){case u.buffer:return!1;case u.promise:return g===v;case u.regex:return g.toString()===v.toString();case c.mismatched:return!1}for(let f=S.length-1;f>=0;--f)if(S[f].isSame(g,v))return!0;S.push(new c.SeenEntry(g,v));try{return!!c.isDeepEqualObj(_,g,v,p,S)}finally{S.pop()}},c.getSharedType=function(g,v,p){if(p)return Object.getPrototypeOf(g)!==Object.getPrototypeOf(v)?c.mismatched:u.getInternalProto(g);const S=u.getInternalProto(g);return S!==u.getInternalProto(v)?c.mismatched:S},c.valueOf=function(g){const v=g.valueOf;if(void 0===v)return g;try{return v.call(g)}catch(p){return p}},c.hasOwnEnumerableProperty=function(g,v){return Object.prototype.propertyIsEnumerable.call(g,v)},c.isSetSimpleEqual=function(g,v){for(const p of Set.prototype.values.call(g))if(!Set.prototype.has.call(v,p))return!1;return!0},c.isDeepEqualObj=function(g,v,p,S,C){const{isDeepEqual:_,valueOf:f,hasOwnEnumerableProperty:y}=c,{keys:b,getOwnPropertySymbols:E}=Object;if(g===u.array){if(!S.part){if(v.length!==p.length)return!1;for(let j=0;j{"use strict";const u=e(8761);a.exports=class extends Error{constructor(c){super(c.filter(g=>""!==g).map(g=>"string"==typeof g?g:g instanceof Error?g.message:u(g)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,l.assert)}}},5277:a=>{"use strict";const l={};a.exports=function(e){if(!e)return"";let u="";for(let c=0;c=256?"&#"+e+";":`&#x${e.toString(16).padStart(2,"0")};`)},l.isSafe=function(e){return l.safeCharCodes.has(e)},l.namedHtml=new Map([[38,"&"],[60,"<"],[62,">"],[34,"""],[160," "],[162,"¢"],[163,"£"],[164,"¤"],[169,"©"],[174,"®"]]),l.safeCharCodes=function(){const e=new Set;for(let u=32;u<123;++u)(u>=97||u>=65&&u<=90||u>=48&&u<=57||32===u||46===u||44===u||45===u||58===u||95===u)&&e.add(u);return e}()},6064:a=>{"use strict";a.exports=function(l){return l.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}},738:a=>{"use strict";a.exports=function(){}},1687:(a,l,e)=>{"use strict";const u=e(375),c=e(8571),g=e(7043),v={};a.exports=v.merge=function(p,S,C){if(u(p&&"object"==typeof p,"Invalid target value: must be an object"),u(null==S||"object"==typeof S,"Invalid source value: must be null, undefined, or an object"),!S)return p;if(C=Object.assign({nullOverride:!0,mergeArrays:!0},C),Array.isArray(S)){u(Array.isArray(p),"Cannot merge array onto an object"),C.mergeArrays||(p.length=0);for(let f=0;f{"use strict";const u=e(375),c={};a.exports=function(g,v,p){if(!1===v||null==v)return g;"string"==typeof(p=p||{})&&(p={separator:p});const S=Array.isArray(v);u(!S||!p.separator,"Separator option is not valid for array-based chain");const C=S?v:v.split(p.separator||".");let _=g;for(let f=0;f{"use strict";a.exports=function(...l){try{return JSON.stringify(...l)}catch(e){return"[Cannot display object: "+e.message+"]"}}},4277:(a,l)=>{"use strict";const e={};l=a.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},e.typeMap=new Map([["[object Error]",l.error],["[object Map]",l.map],["[object Promise]",l.promise],["[object Set]",l.set],["[object WeakMap]",l.weakMap],["[object WeakSet]",l.weakSet]]),l.getInternalProto=function(u){if(Array.isArray(u))return l.array;if(u instanceof Date)return l.date;if(u instanceof RegExp)return l.regex;if(u instanceof Error)return l.error;const c=Object.prototype.toString.call(u);return e.typeMap.get(c)||l.generic}},7043:(a,l)=>{"use strict";l.keys=function(e,u={}){return!1!==u.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},3652:(a,l,e)=>{"use strict";const u=e(375),c={};l.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(g,v){const p=[].concat((v=v||{}).before||[]),S=[].concat(v.after||[]),C=v.group||"?",_=v.sort||0;u(!p.includes(C),`Item cannot come before itself: ${C}`),u(!p.includes("?"),"Item cannot come before unassociated items"),u(!S.includes(C),`Item cannot come after itself: ${C}`),u(!S.includes("?"),"Item cannot come after unassociated items"),Array.isArray(g)||(g=[g]);for(const f of g)this._items.push({seq:this._items.length,sort:_,before:p,after:S,group:C,node:f});if(!v.manual){const f=this._sort();u(f,"item","?"!==C?`added into group ${C}`:"","created a dependencies error")}return this.nodes}merge(g){Array.isArray(g)||(g=[g]);for(const p of g)if(p)for(const S of p._items)this._items.push(Object.assign({},S));this._items.sort(c.mergeSort);for(let p=0;pg.sort===v.sort?0:g.sort{"use strict";const u=e(443),c=e(2178),g={minDomainSegments:2,nonAsciiRx:/[^\x00-\x7f]/,domainControlRx:/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,tldSegmentRx:/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,domainSegmentRx:/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL:u.URL||URL};l.analyze=function(v,p={}){if(!v)return c.code("DOMAIN_NON_EMPTY_STRING");if("string"!=typeof v)throw new Error("Invalid input: domain must be a string");if(v.length>256)return c.code("DOMAIN_TOO_LONG");if(g.nonAsciiRx.test(v)){if(!1===p.allowUnicode)return c.code("DOMAIN_INVALID_UNICODE_CHARS");v=v.normalize("NFC")}if(g.domainControlRx.test(v))return c.code("DOMAIN_INVALID_CHARS");v=g.punycode(v),p.allowFullyQualified&&"."===v[v.length-1]&&(v=v.slice(0,-1));const S=p.minDomainSegments||g.minDomainSegments,C=v.split(".");if(C.lengthp.maxDomainSegments)return c.code("DOMAIN_SEGMENTS_COUNT_MAX");const _=p.tlds;if(_){const f=C[C.length-1].toLowerCase();if(_.deny&&_.deny.has(f)||_.allow&&!_.allow.has(f))return c.code("DOMAIN_FORBIDDEN_TLDS")}for(let f=0;f63)return c.code("DOMAIN_LONG_SEGMENT");if(f{"use strict";const u=e(9848),c=e(5380),g=e(2178),v={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(u.TextEncoder||TextEncoder)};l.analyze=function(p,S){return v.email(p,S)},l.isValid=function(p,S){return!v.email(p,S)},v.email=function(p,S={}){if("string"!=typeof p)throw new Error("Invalid input: email must be a string");if(!p)return g.code("EMPTY_STRING");const C=!v.nonAsciiRx.test(p);if(!C){if(!1===S.allowUnicode)return g.code("FORBIDDEN_UNICODE");p=p.normalize("NFC")}const _=p.split("@");if(2!==_.length)return g.code(_.length>2?"MULTIPLE_AT_CHAR":"MISSING_AT_CHAR");const[f,y]=_;if(!f)return g.code("EMPTY_LOCAL");if(!S.ignoreLength){if(p.length>254)return g.code("ADDRESS_TOO_LONG");if(v.encoder.encode(f).length>64)return g.code("LOCAL_TOO_LONG")}return v.local(f,C)||c.analyze(y,S)},v.local=function(p,S){const C=p.split(".");for(const _ of C){if(!_.length)return g.code("EMPTY_LOCAL_SEGMENT");if(S){if(!v.atextRx.test(_))return g.code("INVALID_LOCAL_CHARS")}else for(const f of _){if(v.atextRx.test(f))continue;const y=v.binary(f);if(!v.atomRx.test(y))return g.code("INVALID_LOCAL_CHARS")}}},v.binary=function(p){return Array.from(v.encoder.encode(p)).map(S=>String.fromCharCode(S)).join("")},v.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,v.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"))},2178:(a,l)=>{"use strict";l.codes={EMPTY_STRING:"Address must be a non-empty string",FORBIDDEN_UNICODE:"Address contains forbidden Unicode characters",MULTIPLE_AT_CHAR:"Address cannot contain more than one @ character",MISSING_AT_CHAR:"Address must contain one @ character",EMPTY_LOCAL:"Address local part cannot be empty",ADDRESS_TOO_LONG:"Address too long",LOCAL_TOO_LONG:"Address local part too long",EMPTY_LOCAL_SEGMENT:"Address local part contains empty dot-separated segment",INVALID_LOCAL_CHARS:"Address local part contains invalid character",DOMAIN_NON_EMPTY_STRING:"Domain must be a non-empty string",DOMAIN_TOO_LONG:"Domain too long",DOMAIN_INVALID_UNICODE_CHARS:"Domain contains forbidden Unicode characters",DOMAIN_INVALID_CHARS:"Domain contains invalid character",DOMAIN_INVALID_TLDS_CHARS:"Domain contains invalid tld character",DOMAIN_SEGMENTS_COUNT:"Domain lacks the minimum required number of segments",DOMAIN_SEGMENTS_COUNT_MAX:"Domain contains too many segments",DOMAIN_FORBIDDEN_TLDS:"Domain uses forbidden TLD",DOMAIN_EMPTY_SEGMENT:"Domain contains empty dot-separated segment",DOMAIN_LONG_SEGMENT:"Domain contains dot-separated segment that is too long"},l.code=function(e){return{code:e,error:l.codes[e]}}},9959:(a,l,e)=>{"use strict";const u=e(375),c=e(5752);l.regex=function(g={}){u(void 0===g.cidr||"string"==typeof g.cidr,"options.cidr must be a string");const v=g.cidr?g.cidr.toLowerCase():"optional";u(["required","optional","forbidden"].includes(v),"options.cidr must be one of required, optional, forbidden"),u(void 0===g.version||"string"==typeof g.version||Array.isArray(g.version),"options.version must be a string or an array of string");let p=g.version||["ipv4","ipv6","ipvfuture"];Array.isArray(p)||(p=[p]),u(p.length>=1,"options.version must have at least 1 version specified");for(let _=0;_{if("forbidden"===v)return c.ip[_];const f=`\\/${"ipv4"===_?c.ip.v4Cidr:c.ip.v6Cidr}`;return"required"===v?`${c.ip[_]}${f}`:`${c.ip[_]}(?:${f})?`}).join("|")})`,C=new RegExp(`^${S}$`);return{cidr:v,versions:p,regex:C,raw:S}}},5752:(a,l,e)=>{"use strict";const u=e(375),c=e(6064),g={generate:function(){const v={},p="\\dA-Fa-f",S="["+p+"]",C="\\w-\\.~",_="!\\$&'\\(\\)\\*\\+,;=",f="%"+p,y=C+f+_+":@",b="["+y+"]",E="(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";v.ipv4address="(?:"+E+"\\.){3}"+E;const M=S+"{1,4}",A="(?:"+M+":"+M+"|"+v.ipv4address+")",I="(?:"+M+":){6}"+A,F="::(?:"+M+":){5}"+A,j="(?:"+M+")?::(?:"+M+":){4}"+A,T="(?:(?:"+M+":){0,1}"+M+")?::(?:"+M+":){3}"+A,P="(?:(?:"+M+":){0,2}"+M+")?::(?:"+M+":){2}"+A,x="(?:(?:"+M+":){0,3}"+M+")?::"+M+":"+A,N="(?:(?:"+M+":){0,4}"+M+")?::"+A,O="(?:(?:"+M+":){0,5}"+M+")?::"+M,H="(?:(?:"+M+":){0,6}"+M+")?::";v.ipv4Cidr="(?:\\d|[1-2]\\d|3[0-2])",v.ipv6Cidr="(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])",v.ipv6address="(?:"+I+"|"+F+"|"+j+"|"+T+"|"+P+"|"+x+"|"+N+"|"+O+"|"+H+")",v.ipvFuture="v"+S+"+\\.["+C+_+":]+",v.scheme="[a-zA-Z][a-zA-Z\\d+-\\.]*",v.schemeRegex=new RegExp(v.scheme);const G="["+C+f+_+":]*",ue="(?:\\[(?:"+v.ipv6address+"|"+v.ipvFuture+")\\]|"+v.ipv4address+"|["+C+f+_+"]{1,255})",se="(?:"+G+"@)?"+ue+"(?::\\d*)?",K="(?:"+G+"@)?("+ue+")(?::\\d*)?",Z=b+"*",re=b+"+",J="(?:\\/"+Z+")*",Y="\\/(?:"+re+J+")?",$=re+J,le="["+C+f+_+"@]+"+J;return v.hierPart="(?:(?:\\/\\/"+se+J+")|"+Y+"|"+$+"|(?:\\/\\/\\/"+Z+J+"))",v.hierPartCapture="(?:(?:\\/\\/"+K+J+")|"+Y+"|"+$+")",v.relativeRef="(?:(?:\\/\\/"+se+J+")|"+Y+"|"+le+"|)",v.relativeRefCapture="(?:(?:\\/\\/"+K+J+")|"+Y+"|"+le+"|)",v.query="["+y+"\\/\\?]*(?=#|$)",v.queryWithSquareBrackets="["+y+"\\[\\]\\/\\?]*(?=#|$)",v.fragment="["+y+"\\/\\?]*",v}};g.rfc3986=g.generate(),l.ip={v4Cidr:g.rfc3986.ipv4Cidr,v6Cidr:g.rfc3986.ipv6Cidr,ipv4:g.rfc3986.ipv4address,ipv6:g.rfc3986.ipv6address,ipvfuture:g.rfc3986.ipvFuture},g.createRegex=function(v){const p=g.rfc3986,S="(?:\\?"+(v.allowQuerySquareBrackets?p.queryWithSquareBrackets:p.query)+")?(?:#"+p.fragment+")?",C=v.domain?p.relativeRefCapture:p.relativeRef;if(v.relativeOnly)return g.wrap(C+S);let _="";if(v.scheme){u(v.scheme instanceof RegExp||"string"==typeof v.scheme||Array.isArray(v.scheme),"scheme must be a RegExp, String, or Array");const b=[].concat(v.scheme);u(b.length>=1,"scheme must have at least 1 scheme specified");const E=[];for(let M=0;M{"use strict";const e={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};l.Parser=class{constructor(u,c={}){if(!c[e.settings]&&c.constants)for(const g in c.constants){const v=c.constants[g];if(null!==v&&!["boolean","number","string"].includes(typeof v))throw new Error(`Formula constant ${g} contains invalid ${typeof v} value type`)}this.settings=c[e.settings]?c:Object.assign({[e.settings]:!0,constants:{},functions:{}},c),this.single=null,this._parts=null,this._parse(u)}_parse(u){let c=[],g="",v=0,p=!1;const S=_=>{if(v)throw new Error("Formula missing closing parenthesis");const f=c.length?c[c.length-1]:null;if(p||g||_){if(f&&"reference"===f.type&&")"===_)return f.type="function",f.value=this._subFormula(g,f.value),void(g="");if(")"===_){const y=new l.Parser(g,this.settings);c.push({type:"segment",value:y})}else if(p){if("]"===p)return c.push({type:"reference",value:g}),void(g="");c.push({type:"literal",value:g})}else if(e.operatorCharacters.includes(g))f&&"operator"===f.type&&e.operators.includes(f.value+g)?f.value+=g:c.push({type:"operator",value:g});else if(g.match(e.numberRx))c.push({type:"constant",value:parseFloat(g)});else if(void 0!==this.settings.constants[g])c.push({type:"constant",value:this.settings.constants[g]});else{if(!g.match(e.tokenRx))throw new Error(`Formula contains invalid token: ${g}`);c.push({type:"reference",value:g})}g=""}};for(const _ of u)p?_===p?(S(),p=!1):g+=_:v?"("===_?(g+=_,++v):")"===_?(--v,v?g+=_:S(_)):g+=_:_ in e.literals?p=e.literals[_]:"("===_?(S(),++v):e.operatorCharacters.includes(_)?(S(),g=_,S()):" "!==_?g+=_:S();S(),c=c.map((_,f)=>"operator"!==_.type||"-"!==_.value||f&&"operator"!==c[f-1].type?_:{type:"operator",value:"n"});let C=!1;for(const _ of c){if("operator"===_.type){if(e.operatorsPrefix.includes(_.value))continue;if(!C)throw new Error("Formula contains an operator in invalid position");if(!e.operators.includes(_.value))throw new Error(`Formula contains an unknown operator ${_.value}`)}else if(C)throw new Error("Formula missing expected operator");C=!C}if(!C)throw new Error("Formula contains invalid trailing operator");1===c.length&&["reference","literal","constant"].includes(c[0].type)&&(this.single={type:"reference"===c[0].type?"reference":"value",value:c[0].value}),this._parts=c.map(_=>{if("operator"===_.type)return e.operatorsPrefix.includes(_.value)?_:_.value;if("reference"!==_.type)return _.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(_.value))throw new Error(`Formula contains invalid reference ${_.value}`);return this.settings.reference?this.settings.reference(_.value):e.reference(_.value)})}_subFormula(u,c){const g=this.settings.functions[c];if("function"!=typeof g)throw new Error(`Formula contains unknown function ${c}`);let v=[];if(u){let p="",S=0,C=!1;const _=()=>{if(!p)throw new Error(`Formula contains function ${c} with invalid arguments ${u}`);v.push(p),p=""};for(let f=0;fnew l.Parser(p,this.settings)),function(p){const S=[];for(const C of v)S.push(C.evaluate(p));return g.call(p,...S)}}evaluate(u){const c=this._parts.slice();for(let g=c.length-2;g>=0;--g){const v=c[g];if(v&&"operator"===v.type){const p=c[g+1];c.splice(g+1,1);const S=e.evaluate(p,u);c[g]=e.single(v.value,S)}}return e.operatorsOrder.forEach(g=>{for(let v=1;v":return c>g;case">=":return c>=g;case"==":return c===g;case"!=":return c!==g;case"&&":return c&&g;case"||":return c||g}return null},e.exists=function(u){return null!=u}},9926:()=>{},5688:()=>{},9708:()=>{},1152:()=>{},443:()=>{},9848:()=>{},5934:a=>{"use strict";a.exports=JSON.parse('{"version":"17.12.2"}')}},d={},function a(l){var e=d[l];if(void 0!==e)return e.exports;var u=d[l]={exports:{}};return i[l](u,u.exports,a),u.exports}(5107))},94091:function(pe,h,o){var n,i,d,a,l;a=this,l=function(a){var l=!1,e=!1,u=!1,c=!1,g="escape years months weeks days hours minutes seconds milliseconds general".split(" "),v=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}];function p(ve,_e){return!(_e.length>ve.length)&&-1!==ve.indexOf(_e)}function S(ve){for(var _e="";ve;)_e+="0",ve-=1;return _e}function _(ve,_e){var Ze=ve+"+"+P(se(_e).sort(),function(ot){return ot+":"+_e[ot]}).join(",");return _.cache[Ze]||(_.cache[Ze]=Intl.NumberFormat(ve,_e)),_.cache[Ze]}function f(ve,_e,Pe){var Ze=_e.useToLocaleString,ot=_e.useGrouping,tt=ot&&_e.grouping.slice(),mt=_e.maximumSignificantDigits,Qe=_e.minimumIntegerDigits||1,Ct=_e.fractionDigits||0,Xe=_e.groupingSeparator,nt=_e.decimalSeparator;if(Ze&&Pe){var tn,Pt={minimumIntegerDigits:Qe,useGrouping:ot};return Ct&&(Pt.maximumFractionDigits=Ct,Pt.minimumFractionDigits=Ct),mt&&ve>0&&(Pt.maximumSignificantDigits=mt),u?(c||((tn=ue({},_e)).useGrouping=!1,tn.decimalSeparator=".",ve=parseFloat(f(ve,tn),10)),_(Pe,Pt).format(ve)):(e||((tn=ue({},_e)).useGrouping=!1,tn.decimalSeparator=".",ve=parseFloat(f(ve,tn),10)),ve.toLocaleString(Pe,Pt))}var wn,An,_n,qt=(mt?ve.toPrecision(mt+1):ve.toFixed(Ct+1)).split("e");_n=qt[1]||"";var ht=(wn=(qt=qt[0].split("."))[0]||"").length,Ue=(An=qt[1]||"").length,Ee=ht+Ue,Te=wn+An;(mt&&Ee===mt+1||!mt&&Ue===Ct+1)&&(Te=function C(ve){for(var _e=ve.split("").reverse(),Pe=0,Ze=!0;Ze&&Pe<_e.length;)Pe?"9"===_e[Pe]?_e[Pe]="0":(_e[Pe]=(parseInt(_e[Pe],10)+1).toString(),Ze=!1):(parseInt(_e[Pe],10)<5&&(Ze=!1),_e[Pe]="0"),Pe+=1;return Ze&&_e.push("1"),_e.reverse().join("")}(Te),Te.length===Ee+1&&(ht+=1),Ue&&(Te=Te.slice(0,-1)),wn=Te.slice(0,ht),An=Te.slice(ht)),mt&&(An=An.replace(/0*$/,""));var $e=parseInt(_n,10);$e>0?An.length<=$e?(wn+=An+=S($e-An.length),An=""):(wn+=An.slice(0,$e),An=An.slice($e)):$e<0&&(An=S(Math.abs($e)-wn.length)+wn+An,wn="0"),mt||((An=An.slice(0,Ct)).length_e.label.length?-1:ve.label.length<_e.label.length?1:0}_.cache={};var M={durationLabelsStandard:{S:"millisecond",SS:"milliseconds",s:"second",ss:"seconds",m:"minute",mm:"minutes",h:"hour",hh:"hours",d:"day",dd:"days",w:"week",ww:"weeks",M:"month",MM:"months",y:"year",yy:"years"},durationLabelsShort:{S:"msec",SS:"msecs",s:"sec",ss:"secs",m:"min",mm:"mins",h:"hr",hh:"hrs",d:"dy",dd:"dys",w:"wk",ww:"wks",M:"mo",MM:"mos",y:"yr",yy:"yrs"},durationTimeTemplates:{HMS:"h:mm:ss",HM:"h:mm",MS:"m:ss"},durationLabelTypes:[{type:"standard",string:"__"},{type:"short",string:"_"}],durationPluralKey:function E(ve,_e,Pe){return 1===_e&&null===Pe?ve:ve+ve}};function A(ve){return"[object Array]"===Object.prototype.toString.call(ve)}function I(ve){return"[object Object]"===Object.prototype.toString.call(ve)}function j(ve,_e){var ot,Pe=0,Ze=ve&&ve.length||0;for("function"!=typeof _e&&(ot=_e,_e=function(tt){return tt===ot});Pe0,He=gt?_e.precision:0,vt=He,ut=_e.minValue,wt=!1,st=_e.maxValue,zt=!1,pt=_e.useToLocaleString,It=_e.groupingSeparator,Yt=_e.decimalSeparator,Xt=_e.grouping;pt=pt&&(l||u);var At=_e.trim;A(At)&&(At=At.join(" ")),null===At&&(wn||st||gt)&&(At="all"),(null===At||!0===At||"left"===At||"right"===At)&&(At="large"),!1===At&&(At="");var $t=function(en){return en.test(At)},nn=/both/,Tn=/^all|[^sm]all/,nr=wn>0||K([/large/,nn,Tn],$t),kr=K([/small/,nn,Tn],$t),Br=K([/mid/,Tn],$t),sr=K([/final/,Tn],$t),Er=P(Pt.match(nt),function(en,jn){var Qn=Xe(en);return"*"===en.slice(0,1)&&(en=en.slice(1),"escape"!==Qn&&"general"!==Qn&&An.push(Qn)),{index:jn,length:en.length,text:"",token:"escape"===Qn?en.replace(Ct.escape,"$1"):en,type:"escape"===Qn||"general"===Qn?null:Qn}}),br={index:0,length:0,token:"",text:"",type:null},qn=[];ht&&Er.reverse(),T(Er,function(en){if(en.type)return(br.type||br.text)&&qn.push(br),void(br=en);ht?br.text=en.token+br.text:br.text+=en.token}),(br.type||br.text)&&qn.push(br),ht&&qn.reverse();var Rn=H(g,O(N(x(qn,"type"))));if(!Rn.length)return x(qn,"text").join("");Rn=P(Rn,function(en,jn){var ui,Qn=jn+1===Rn.length,or=!jn;ui="years"===en||"months"===en?mt.as(en):tt.as(en);var Pr=Math.floor(ui),ct=ui-Pr,Rt=j(qn,function(kt){return en===kt.type});return or&&st&&ui>st&&(zt=!0),Qn&&ut&&Math.abs(_e.duration.as(en))1&&(Te=!0),tt.subtract(Pr,en),mt.subtract(Pr,en),{rawValue:ui,wholeValue:Pr,decimalValue:Qn?ct:0,isSmallest:Qn,isLargest:or,type:en,tokenLength:Rt.length}});var oi=je?Math.floor:Math.round,Sr=function(en,jn){var Qn=Math.pow(10,jn);return oi(en*Qn)/Qn},pr=!1,Jn=!1,er=function(en,jn){var Qn={useGrouping:$e,groupingSeparator:It,decimalSeparator:Yt,grouping:Xt,useToLocaleString:pt};return gt&&(He<=0?(en.rawValue=0,en.wholeValue=0,en.decimalValue=0):(Qn.maximumSignificantDigits=He,en.significantDigits=He)),zt&&!Jn&&(en.isLargest?(en.wholeValue=st,en.decimalValue=0):(en.wholeValue=0,en.decimalValue=0)),wt&&!Jn&&(en.isSmallest?(en.wholeValue=ut,en.decimalValue=0):(en.wholeValue=0,en.decimalValue=0)),en.isSmallest||en.significantDigits&&en.significantDigits-en.wholeValue.toString().length<=0?Ee<0?en.value=Sr(en.wholeValue,Ee):0===Ee?en.value=oi(en.wholeValue+en.decimalValue):gt?(en.value=je?Sr(en.rawValue,He-en.wholeValue.toString().length):en.rawValue,en.wholeValue&&(He-=en.wholeValue.toString().length)):(Qn.fractionDigits=Ee,en.value=je?en.wholeValue+Sr(en.decimalValue,Ee):en.wholeValue+en.decimalValue):gt&&en.wholeValue?(en.value=Math.round(Sr(en.wholeValue,en.significantDigits-en.wholeValue.toString().length)),He-=en.wholeValue.toString().length):en.value=en.wholeValue,en.tokenLength>1&&(Te||pr)&&(Qn.minimumIntegerDigits=en.tokenLength,Jn&&Qn.maximumSignificantDigits0||""===At||j(An,en.type)||j(tn,en.type))&&(pr=!0),en.formattedValue=f(en.value,Qn,qt),Qn.useGrouping=!1,Qn.decimalSeparator=".",en.formattedValueEn=f(en.value,Qn,"en"),2===en.tokenLength&&"milliseconds"===en.type&&(en.formattedValueMS=f(en.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),en};if((Rn=N(Rn=P(Rn,er))).length>1){var Or=function(en){return j(Rn,function(jn){return jn.type===en})};T(v,function(en){var jn=Or(en.type);jn&&T(en.targets,function(Qn){var or=Or(Qn.type);or&&parseInt(jn.formattedValueEn,10)===Qn.value&&(jn.rawValue=0,jn.wholeValue=0,jn.decimalValue=0,or.rawValue+=1,or.wholeValue+=1,or.decimalValue=0,or.formattedValueEn=or.wholeValue.toString(),Jn=!0)})})}return Jn&&(pr=!1,He=vt,Rn=N(Rn=P(Rn,er))),!tn||zt&&!_e.trim?(nr&&(Rn=G(Rn,function(en){return!en.isSmallest&&!en.wholeValue&&!j(An,en.type)})),wn&&Rn.length&&(Rn=Rn.slice(0,wn)),kr&&Rn.length>1&&(Rn=function te(ve,_e){return G(ve.slice().reverse(),_e).reverse()}(Rn,function(en){return!en.wholeValue&&!j(An,en.type)&&!en.isLargest})),Br&&(Rn=N(Rn=P(Rn,function(en,jn){return jn>0&&jn ",zt=!1,wt=!1),ot&&(jn.value>0||""===At||j(An,jn.type)||j(tn,jn.type))&&(Qn+="-",ot=!1),Qn+="milliseconds"===en.type&&jn.formattedValueMS?jn.formattedValueMS:jn.formattedValue,ht||(Qn+=en.text),Qn})).join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function ee(){var ve=this.duration,_e=function(tt){return ve._data[tt]},Pe=j(this.types,_e),Ze=function F(ve,_e){for(var Pe=ve.length;Pe-=1;)if(_e(ve[Pe]))return ve[Pe]}(this.types,_e);switch(Pe){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(Pe===Ze)return"d __";case"weeks":return Pe===Ze?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(Pe===Ze)return"M __";case"years":return Pe===Ze?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function we(ve){if(!ve)throw"Moment Duration Format init cannot find moment instance.";ve.duration.format=$,ve.duration.fn.format=le,ve.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:ee,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},ve.updateLocale("en",M)}var ye=function(ve,_e,Pe){return ve.toLocaleString(_e,Pe)};l=function re(){try{(0).toLocaleString("i")}catch(_e){return"RangeError"===_e.name}return!1}()&&Y(ye),e=l&&J(ye);var Oe=function(ve,_e,Pe){if(typeof window<"u"&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(_e,Pe).format(ve)};return u=Y(Oe),c=u&&J(Oe),we(a),we},i=[o(35908)],void 0!==(d="function"==typeof(n=l)?n.apply(h,i):n)&&(pe.exports=d),a&&(a.momentDurationFormatSetup=a.moment?l(a.moment):l)},25140:function(pe,h,o){!function(n){"use strict";n.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(d){return/^nm$/i.test(d)},meridiem:function(d,a,l){return d<12?l?"vm":"VM":l?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(d){return d+(1===d||8===d||d>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},17096:function(pe,h,o){!function(n){"use strict";var i=function(u){return 0===u?0:1===u?1:2===u?2:u%100>=3&&u%100<=10?3:u%100>=11?4:5},d={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(u){return function(c,g,v,p){var S=i(c),C=d[u][i(c)];return 2===S&&(C=C[g?0:1]),C.replace(/%d/i,c)}},l=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar-dz",{months:l,monthsShort:l,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(u){return"\u0645"===u},meridiem:function(u,c,g){return u<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(o(35908))},32200:function(pe,h,o){!function(n){"use strict";n.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(o(35908))},97252:function(pe,h,o){!function(n){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},d=function(c){return 0===c?0:1===c?1:2===c?2:c%100>=3&&c%100<=10?3:c%100>=11?4:5},a={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},l=function(c){return function(g,v,p,S){var C=d(g),_=a[c][d(g)];return 2===C&&(_=_[v?0:1]),_.replace(/%d/i,g)}},e=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar-ly",{months:e,monthsShort:e,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,g,v){return c<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:l("s"),ss:l("s"),m:l("m"),mm:l("m"),h:l("h"),hh:l("h"),d:l("d"),dd:l("d"),M:l("M"),MM:l("M"),y:l("y"),yy:l("y")},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(g){return i[g]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},39568:function(pe,h,o){!function(n){"use strict";n.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(o(35908))},13068:function(pe,h,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(l){return"\u0645"===l},meridiem:function(l,e,u){return l<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(l){return l.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return d[e]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(e){return d[e]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(o(35908))},89052:function(pe,h,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(l){return"\u0645"===l},meridiem:function(l,e,u){return l<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(l){return l.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return d[e]}).replace(/\u060c/g,",")},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(o(35908))},93956:function(pe,h,o){!function(n){"use strict";n.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(o(35908))},17276:function(pe,h,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},a=function(g){return 0===g?0:1===g?1:2===g?2:g%100>=3&&g%100<=10?3:g%100>=11?4:5},l={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},e=function(g){return function(v,p,S,C){var _=a(v),f=l[g][a(v)];return 2===_&&(f=f[p?0:1]),f.replace(/%d/i,v)}},u=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar",{months:u,monthsShort:u,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(g){return"\u0645"===g},meridiem:function(g,v,p){return g<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:e("s"),ss:e("s"),m:e("m"),mm:e("m"),h:e("h"),hh:e("h"),d:e("d"),dd:e("d"),M:e("M"),MM:e("M"),y:e("y"),yy:e("y")},preparse:function(g){return g.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(v){return d[v]}).replace(/\u060c/g,",")},postformat:function(g){return g.replace(/\d/g,function(v){return i[v]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},88240:function(pe,h,o){!function(n){"use strict";var i={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};n.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(a){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(a)},meridiem:function(a,l,e){return a<4?"gec\u0259":a<12?"s\u0259h\u0259r":a<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(a){if(0===a)return a+"-\u0131nc\u0131";var l=a%10;return a+(i[l]||i[a%100-l]||i[a>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},77796:function(pe,h,o){!function(n){"use strict";function d(l,e,u){return"m"===u?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===u?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":l+" "+function i(l,e){var u=l.split("_");return e%10==1&&e%100!=11?u[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?u[1]:u[2]}({ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[u],+l)}n.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:d,mm:d,h:d,hh:d,d:"\u0434\u0437\u0435\u043d\u044c",dd:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(l){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(l)},meridiem:function(l,e,u){return l<4?"\u043d\u043e\u0447\u044b":l<12?"\u0440\u0430\u043d\u0456\u0446\u044b":l<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(l,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return l%10!=2&&l%10!=3||l%100==12||l%100==13?l+"-\u044b":l+"-\u0456";case"D":return l+"-\u0433\u0430";default:return l}},week:{dow:1,doy:7}})}(o(35908))},89880:function(pe,h,o){!function(n){"use strict";n.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var a=d%10,l=d%100;return 0===d?d+"-\u0435\u0432":0===l?d+"-\u0435\u043d":l>10&&l<20?d+"-\u0442\u0438":1===a?d+"-\u0432\u0438":2===a?d+"-\u0440\u0438":7===a||8===a?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(o(35908))},84328:function(pe,h,o){!function(n){"use strict";n.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(o(35908))},45104:function(pe,h,o){!function(n){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(l){return l.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u09b0\u09be\u09a4"===e?l<4?l:l+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?l:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?l>=3?l:l+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?l+12:void 0},meridiem:function(l,e,u){return l<4?"\u09b0\u09be\u09a4":l<6?"\u09ad\u09cb\u09b0":l<12?"\u09b8\u0995\u09be\u09b2":l<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":l<18?"\u09ac\u09bf\u0995\u09be\u09b2":l<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(o(35908))},60536:function(pe,h,o){!function(n){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(l){return l.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u09b0\u09be\u09a4"===e&&l>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&l<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?l+12:l},meridiem:function(l,e,u){return l<4?"\u09b0\u09be\u09a4":l<10?"\u09b8\u0995\u09be\u09b2":l<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":l<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(o(35908))},51108:function(pe,h,o){!function(n){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},d={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};n.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(l){return l.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&l>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&l<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?l+12:l},meridiem:function(l,e,u){return l<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":l<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":l<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":l<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(o(35908))},51296:function(pe,h,o){!function(n){"use strict";function i(f,y,b){return f+" "+function l(f,y){return 2===y?function e(f){var y={m:"v",b:"v",d:"z"};return void 0===y[f.charAt(0)]?f:y[f.charAt(0)]+f.substring(1)}(f):f}({mm:"munutenn",MM:"miz",dd:"devezh"}[b],f)}function a(f){return f>9?a(f%10):f}var u=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],c=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,C=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];n.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:C,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:C,monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:function d(f){switch(a(f)){case 1:case 3:case 4:case 5:case 9:return f+" bloaz";default:return f+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(f){return f+(1===f?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(f){return"g.m."===f},meridiem:function(f,y,b){return f<12?"a.m.":"g.m."}})}(o(35908))},2032:function(pe,h,o){!function(n){"use strict";function d(l,e,u){var c=l+" ";switch(u){case"ss":return c+(1===l?"sekunda":2===l||3===l||4===l?"sekunde":"sekundi");case"mm":return c+(1===l?"minuta":2===l||3===l||4===l?"minute":"minuta");case"h":return"jedan sat";case"hh":return c+(1===l?"sat":2===l||3===l||4===l?"sata":"sati");case"dd":return c+(1===l?"dan":"dana");case"MM":return c+(1===l?"mjesec":2===l||3===l||4===l?"mjeseca":"mjeseci");case"yy":return c+(1===l?"godina":2===l||3===l||4===l?"godine":"godina")}}n.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:d,m:function i(l,e,u,c){if("m"===u)return e?"jedna minuta":c?"jednu minutu":"jedne minute"},mm:d,h:d,hh:d,d:"dan",dd:d,M:"mjesec",MM:d,y:"godinu",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},20096:function(pe,h,o){!function(n){"use strict";n.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,a){var l=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===a||"W"===a)&&(l="a"),d+l},week:{dow:1,doy:4}})}(o(35908))},41152:function(pe,h,o){!function(n){"use strict";var i={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},d="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),a=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],l=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function e(g){return g>1&&g<5&&1!=~~(g/10)}function u(g,v,p,S){var C=g+" ";switch(p){case"s":return v||S?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return v||S?C+(e(g)?"sekundy":"sekund"):C+"sekundami";case"m":return v?"minuta":S?"minutu":"minutou";case"mm":return v||S?C+(e(g)?"minuty":"minut"):C+"minutami";case"h":return v?"hodina":S?"hodinu":"hodinou";case"hh":return v||S?C+(e(g)?"hodiny":"hodin"):C+"hodinami";case"d":return v||S?"den":"dnem";case"dd":return v||S?C+(e(g)?"dny":"dn\xed"):C+"dny";case"M":return v||S?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return v||S?C+(e(g)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):C+"m\u011bs\xedci";case"y":return v||S?"rok":"rokem";case"yy":return v||S?C+(e(g)?"roky":"let"):C+"lety"}}n.defineLocale("cs",{months:i,monthsShort:d,monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},69568:function(pe,h,o){!function(n){"use strict";n.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(d){return d+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(d)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(d)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(o(35908))},78875:function(pe,h,o){!function(n){"use strict";n.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(d){var l="";return d>20?l=40===d||50===d||60===d||80===d||100===d?"fed":"ain":d>0&&(l=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][d]),d+l},week:{dow:1,doy:4}})}(o(35908))},45424:function(pe,h,o){!function(n){"use strict";n.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},72604:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return l?c[e][0]:c[e][1]}n.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},79168:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return l?c[e][0]:c[e][1]}n.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},20992:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return l?c[e][0]:c[e][1]}n.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},67300:function(pe,h,o){!function(n){"use strict";var i=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],d=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];n.defineLocale("dv",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(l){return"\u0789\u078a"===l},meridiem:function(l,e,u){return l<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(l){return l.replace(/\u060c/g,",")},postformat:function(l){return l.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(o(35908))},84400:function(pe,h,o){!function(n){"use strict";n.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(a,l){return a?"string"==typeof l&&/D/.test(l.substring(0,l.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(a,l,e){return a>11?e?"\u03bc\u03bc":"\u039c\u039c":e?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(a){return"\u03bc"===(a+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(a,l){var e=this._calendarEl[a],u=l&&l.hours();return function i(a){return typeof Function<"u"&&a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}(e)&&(e=e.apply(l)),e.replace("{}",u%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(o(35908))},83536:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:0,doy:4}})}(o(35908))},39379:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})}(o(35908))},47032:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},71832:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},404:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})}(o(35908))},25716:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:0,doy:6}})}(o(35908))},15312:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},53320:function(pe,h,o){!function(n){"use strict";n.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},96392:function(pe,h,o){!function(n){"use strict";n.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(d){return"p"===d.charAt(0).toLowerCase()},meridiem:function(d,a,l){return d>11?l?"p.t.m.":"P.T.M.":l?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(o(35908))},38540:function(pe,h,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],l=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(u,c){return u?/-MMM-/.test(c)?d[u.month()]:i[u.month()]:i},monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},93504:function(pe,h,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],l=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(u,c){return u?/-MMM-/.test(c)?d[u.month()]:i[u.month()]:i},monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(o(35908))},69224:function(pe,h,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],l=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(u,c){return u?/-MMM-/.test(c)?d[u.month()]:i[u.month()]:i},monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(o(35908))},41964:function(pe,h,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],l=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(u,c){return u?/-MMM-/.test(c)?d[u.month()]:i[u.month()]:i},monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(o(35908))},90596:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[a+"sekundi",a+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[a+" minuti",a+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[a+" tunni",a+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[a+" kuu",a+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[a+" aasta",a+" aastat"]};return l?c[e][2]?c[e][2]:c[e][1]:u?c[e][0]:c[e][1]}n.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},8060:function(pe,h,o){!function(n){"use strict";n.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},68184:function(pe,h,o){!function(n){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},d={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};n.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(l){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(l)},meridiem:function(l,e,u){return l<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(l){return l.replace(/[\u06f0-\u06f9]/g,function(e){return d[e]}).replace(/\u060c/g,",")},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(o(35908))},36736:function(pe,h,o){!function(n){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),d=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function a(u,c,g,v){var p="";switch(g){case"s":return v?"muutaman sekunnin":"muutama sekunti";case"ss":p=v?"sekunnin":"sekuntia";break;case"m":return v?"minuutin":"minuutti";case"mm":p=v?"minuutin":"minuuttia";break;case"h":return v?"tunnin":"tunti";case"hh":p=v?"tunnin":"tuntia";break;case"d":return v?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":p=v?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return v?"kuukauden":"kuukausi";case"MM":p=v?"kuukauden":"kuukautta";break;case"y":return v?"vuoden":"vuosi";case"yy":p=v?"vuoden":"vuotta"}return function l(u,c){return u<10?c?d[u]:i[u]:u}(u,v)+" "+p}n.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},49264:function(pe,h,o){!function(n){"use strict";n.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},48299:function(pe,h,o){!function(n){"use strict";n.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},84584:function(pe,h,o){!function(n){"use strict";n.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}}})}(o(35908))},8024:function(pe,h,o){!function(n){"use strict";n.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}},week:{dow:1,doy:4}})}(o(35908))},51964:function(pe,h,o){!function(n){"use strict";var a=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,l=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];n.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(u,c){switch(c){case"D":return u+(1===u?"er":"");default:case"M":case"Q":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(o(35908))},22672:function(pe,h,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),d="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");n.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(l,e){return l?/-MMM-/.test(e)?d[l.month()]:i[l.month()]:i},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(l){return l+(1===l||8===l||l>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},26476:function(pe,h,o){!function(n){"use strict";n.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(c){return c+(1===c?"d":c%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(35908))},35148:function(pe,h,o){!function(n){"use strict";n.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(c){return c+(1===c?"d":c%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(35908))},32176:function(pe,h,o){!function(n){"use strict";n.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(d){return 0===d.indexOf("un")?"n"+d:"en "+d},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},27260:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[a+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",a+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[a+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",a+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[a+" \u0935\u0930\u093e\u0902\u0928\u0940",a+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[a+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",a+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[a+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",a+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[a+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",a+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return u?c[e][0]:c[e][1]}n.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(a,l){return"D"===l?a+"\u0935\u0947\u0930":a},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(a,l){return 12===a&&(a=0),"\u0930\u093e\u0924\u0940"===l?a<4?a:a+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===l?a:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===l?a>12?a:a+12:"\u0938\u093e\u0902\u091c\u0947"===l?a+12:void 0},meridiem:function(a,l,e){return a<4?"\u0930\u093e\u0924\u0940":a<12?"\u0938\u0915\u093e\u0933\u0940\u0902":a<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":a<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(o(35908))},3772:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c={s:["thoddea sekondamni","thodde sekond"],ss:[a+" sekondamni",a+" sekond"],m:["eka mintan","ek minut"],mm:[a+" mintamni",a+" mintam"],h:["eka voran","ek vor"],hh:[a+" voramni",a+" voram"],d:["eka disan","ek dis"],dd:[a+" disamni",a+" dis"],M:["eka mhoinean","ek mhoino"],MM:[a+" mhoineamni",a+" mhoine"],y:["eka vorsan","ek voros"],yy:[a+" vorsamni",a+" vorsam"]};return u?c[e][0]:c[e][1]}n.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(a,l){return"D"===l?a+"er":a},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(a,l){return 12===a&&(a=0),"rati"===l?a<4?a:a+12:"sokallim"===l?a:"donparam"===l?a>12?a:a+12:"sanje"===l?a+12:void 0},meridiem:function(a,l,e){return a<4?"rati":a<12?"sokallim":a<16?"donparam":a<20?"sanje":"rati"}})}(o(35908))},39528:function(pe,h,o){!function(n){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},d={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};n.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(l){return l.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u0ab0\u0abe\u0aa4"===e?l<4?l:l+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?l:"\u0aac\u0aaa\u0acb\u0ab0"===e?l>=10?l:l+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?l+12:void 0},meridiem:function(l,e,u){return l<4?"\u0ab0\u0abe\u0aa4":l<10?"\u0ab8\u0ab5\u0abe\u0ab0":l<17?"\u0aac\u0aaa\u0acb\u0ab0":l<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(o(35908))},86832:function(pe,h,o){!function(n){"use strict";n.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(d){return 2===d?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":d+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(d){return 2===d?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":d+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(d){return 2===d?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":d+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(d){return 2===d?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":d%10==0&&10!==d?d+" \u05e9\u05e0\u05d4":d+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(d){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(d)},meridiem:function(d,a,l){return d<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":d<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":d<12?l?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":d<18?l?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(o(35908))},95592:function(pe,h,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},a=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];n.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:a,longMonthsParse:a,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(u){return u.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(c){return d[c]})},postformat:function(u){return u.replace(/\d/g,function(c){return i[c]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(u,c){return 12===u&&(u=0),"\u0930\u093e\u0924"===c?u<4?u:u+12:"\u0938\u0941\u092c\u0939"===c?u:"\u0926\u094b\u092a\u0939\u0930"===c?u>=10?u:u+12:"\u0936\u093e\u092e"===c?u+12:void 0},meridiem:function(u,c,g){return u<4?"\u0930\u093e\u0924":u<10?"\u0938\u0941\u092c\u0939":u<17?"\u0926\u094b\u092a\u0939\u0930":u<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(o(35908))},56208:function(pe,h,o){!function(n){"use strict";function i(a,l,e){var u=a+" ";switch(e){case"ss":return u+(1===a?"sekunda":2===a||3===a||4===a?"sekunde":"sekundi");case"m":return l?"jedna minuta":"jedne minute";case"mm":return u+(1===a?"minuta":2===a||3===a||4===a?"minute":"minuta");case"h":return l?"jedan sat":"jednog sata";case"hh":return u+(1===a?"sat":2===a||3===a||4===a?"sata":"sati");case"dd":return u+(1===a?"dan":"dana");case"MM":return u+(1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci");case"yy":return u+(1===a?"godina":2===a||3===a||4===a?"godine":"godina")}}n.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},33697:function(pe,h,o){!function(n){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function d(e,u,c,g){var v=e;switch(c){case"s":return g||u?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return v+(g||u)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(g||u?" perc":" perce");case"mm":return v+(g||u?" perc":" perce");case"h":return"egy"+(g||u?" \xf3ra":" \xf3r\xe1ja");case"hh":return v+(g||u?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(g||u?" nap":" napja");case"dd":return v+(g||u?" nap":" napja");case"M":return"egy"+(g||u?" h\xf3nap":" h\xf3napja");case"MM":return v+(g||u?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(g||u?" \xe9v":" \xe9ve");case"yy":return v+(g||u?" \xe9v":" \xe9ve")}return""}function a(e){return(e?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}n.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,u,c){return e<12?!0===c?"de":"DE":!0===c?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return a.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return a.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},2e4:function(pe,h,o){!function(n){"use strict";n.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(d){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(d)},meridiem:function(d){return d<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":d<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":d<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(d,a){switch(a){case"DDD":case"w":case"W":case"DDDo":return 1===d?d+"-\u056b\u0576":d+"-\u0580\u0564";default:return d}},week:{dow:1,doy:7}})}(o(35908))},57840:function(pe,h,o){!function(n){"use strict";n.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(d,a){return 12===d&&(d=0),"pagi"===a?d:"siang"===a?d>=11?d:d+12:"sore"===a||"malam"===a?d+12:void 0},meridiem:function(d,a,l){return d<11?"pagi":d<15?"siang":d<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(o(35908))},31496:function(pe,h,o){!function(n){"use strict";function i(l){return l%100==11||l%10!=1}function d(l,e,u,c){var g=l+" ";switch(u){case"s":return e||c?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(l)?g+(e||c?"sek\xfandur":"sek\xfandum"):g+"sek\xfanda";case"m":return e?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(l)?g+(e||c?"m\xedn\xfatur":"m\xedn\xfatum"):e?g+"m\xedn\xfata":g+"m\xedn\xfatu";case"hh":return i(l)?g+(e||c?"klukkustundir":"klukkustundum"):g+"klukkustund";case"d":return e?"dagur":c?"dag":"degi";case"dd":return i(l)?e?g+"dagar":g+(c?"daga":"d\xf6gum"):e?g+"dagur":g+(c?"dag":"degi");case"M":return e?"m\xe1nu\xf0ur":c?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(l)?e?g+"m\xe1nu\xf0ir":g+(c?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):e?g+"m\xe1nu\xf0ur":g+(c?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return e||c?"\xe1r":"\xe1ri";case"yy":return i(l)?g+(e||c?"\xe1r":"\xe1rum"):g+(e||c?"\xe1r":"\xe1ri")}}n.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:d,ss:d,m:d,mm:d,h:"klukkustund",hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},45736:function(pe,h,o){!function(n){"use strict";n.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(d){return(/^[0-9].+$/.test(d)?"tra":"in")+" "+d},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},6336:function(pe,h,o){!function(n){"use strict";n.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},58008:function(pe,h,o){!function(n){"use strict";n.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(d,a){return"\u5143"===a[1]?1:parseInt(a[1]||d,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(d){return"\u5348\u5f8c"===d},meridiem:function(d,a,l){return d<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(d){return d.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(d){return this.week()!==d.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(d,a){switch(a){case"y":return 1===d?"\u5143\u5e74":d+"\u5e74";case"d":case"D":case"DDD":return d+"\u65e5";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(o(35908))},30108:function(pe,h,o){!function(n){"use strict";n.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(d,a){return 12===d&&(d=0),"enjing"===a?d:"siyang"===a?d>=11?d:d+12:"sonten"===a||"ndalu"===a?d+12:void 0},meridiem:function(d,a,l){return d<11?"enjing":d<15?"siyang":d<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(o(35908))},61844:function(pe,h,o){!function(n){"use strict";n.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(d){return d.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(a,l,e){return"\u10d8"===e?l+"\u10e8\u10d8":l+e+"\u10e8\u10d8"})},past:function(d){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(d)?d.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(d)?d.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):d},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(d){return 0===d?d:1===d?d+"-\u10da\u10d8":d<20||d<=100&&d%20==0||d%100==0?"\u10db\u10d4-"+d:d+"-\u10d4"},week:{dow:1,doy:7}})}(o(35908))},78980:function(pe,h,o){!function(n){"use strict";var i={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};n.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(a){return a+(i[a]||i[a%10]||i[a>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},48544:function(pe,h,o){!function(n){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},d={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};n.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(l){return"\u179b\u17d2\u1784\u17b6\u1785"===l},meridiem:function(l,e,u){return l<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(l){return l.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},week:{dow:1,doy:4}})}(o(35908))},70096:function(pe,h,o){!function(n){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},d={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};n.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(l){return l.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?l<4?l:l+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?l:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?l>=10?l:l+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?l+12:void 0},meridiem:function(l,e,u){return l<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":l<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":l<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":l<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(l){return l+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(o(35908))},87420:function(pe,h,o){!function(n){"use strict";n.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\uc77c";case"M":return d+"\uc6d4";case"w":case"W":return d+"\uc8fc";default:return d}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(d){return"\uc624\ud6c4"===d},meridiem:function(d,a,l){return d<12?"\uc624\uc804":"\uc624\ud6c4"}})}(o(35908))},4740:function(pe,h,o){!function(n){"use strict";function i(l,e,u,c){var g={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[l+" san\xeeye",l+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[l+" deq\xeeqe",l+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[l+" saet",l+" saetan"],d:["rojek","rojek\xea"],dd:[l+" roj",l+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[l+" hefte",l+" hefteyan"],M:["mehek","mehek\xea"],MM:[l+" meh",l+" mehan"],y:["salek","salek\xea"],yy:[l+" sal",l+" salan"]};return e?g[u][0]:g[u][1]}n.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(l,e,u){return l<12?u?"bn":"BN":u?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,w:i,ww:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(l,e){var u=e.toLowerCase();return u.includes("w")||u.includes("m")?l+".":l+function d(l){var e=(l=""+l).substring(l.length-1),u=l.length>1?l.substring(l.length-2):"";return 12==u||13==u||"2"!=e&&"3"!=e&&"50"!=u&&"70"!=e&&"80"!=e?"\xea":"y\xea"}(l)},week:{dow:1,doy:4}})}(o(35908))},60200:function(pe,h,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},a=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];n.defineLocale("ku",{months:a,monthsShort:a,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,u,c){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(u){return d[u]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(u){return i[u]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},44976:function(pe,h,o){!function(n){"use strict";var i={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};n.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(a){return a+(i[a]||i[a%10]||i[a>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},4652:function(pe,h,o){!function(n){"use strict";function i(u,c,g,v){var p={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return c?p[g][0]:p[g][1]}function l(u){if(u=parseInt(u,10),isNaN(u))return!1;if(u<0)return!0;if(u<10)return 4<=u&&u<=7;if(u<100){var c=u%10;return l(0===c?u/10:c)}if(u<1e4){for(;u>=10;)u/=10;return l(u)}return l(u/=1e3)}n.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function d(u){return l(u.substr(0,u.indexOf(" ")))?"a "+u:"an "+u},past:function a(u){return l(u.substr(0,u.indexOf(" ")))?"viru "+u:"virun "+u},s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},53984:function(pe,h,o){!function(n){"use strict";n.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(d){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===d},meridiem:function(d,a,l){return d<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(d){return"\u0e97\u0eb5\u0ec8"+d}})}(o(35908))},8792:function(pe,h,o){!function(n){"use strict";var i={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function a(g,v,p,S){return v?e(p)[0]:S?e(p)[1]:e(p)[2]}function l(g){return g%10==0||g>10&&g<20}function e(g){return i[g].split("_")}function u(g,v,p,S){var C=g+" ";return 1===g?C+a(0,v,p[0],S):v?C+(l(g)?e(p)[1]:e(p)[0]):S?C+e(p)[1]:C+(l(g)?e(p)[1]:e(p)[2])}n.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function d(g,v,p,S){return v?"kelios sekund\u0117s":S?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:u,m:a,mm:u,h:a,hh:u,d:a,dd:u,M:a,MM:u,y:a,yy:u},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(g){return g+"-oji"},week:{dow:1,doy:4}})}(o(35908))},6296:function(pe,h,o){!function(n){"use strict";var i={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function d(c,g,v){return v?g%10==1&&g%100!=11?c[2]:c[3]:g%10==1&&g%100!=11?c[0]:c[1]}function a(c,g,v){return c+" "+d(i[v],c,g)}function l(c,g,v){return d(i[v],c,g)}n.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function e(c,g){return g?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:a,m:l,mm:a,h:l,hh:a,d:l,dd:a,M:l,MM:a,y:l,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},58256:function(pe,h,o){!function(n){"use strict";var i={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,l){return 1===a?l[0]:a>=2&&a<=4?l[1]:l[2]},translate:function(a,l,e){var u=i.words[e];return 1===e.length?l?u[0]:u[1]:a+" "+i.correctGrammaticalCase(a,u)}};n.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},29284:function(pe,h,o){!function(n){"use strict";n.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},33196:function(pe,h,o){!function(n){"use strict";n.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var a=d%10,l=d%100;return 0===d?d+"-\u0435\u0432":0===l?d+"-\u0435\u043d":l>10&&l<20?d+"-\u0442\u0438":1===a?d+"-\u0432\u0438":2===a?d+"-\u0440\u0438":7===a||8===a?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(o(35908))},45896:function(pe,h,o){!function(n){"use strict";n.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(d,a){return 12===d&&(d=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===a&&d>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===a||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===a?d+12:d},meridiem:function(d,a,l){return d<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":d<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":d<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":d<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(o(35908))},32460:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){switch(e){case"s":return l?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return a+(l?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return a+(l?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return a+(l?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return a+(l?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return a+(l?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return a+(l?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return a}}n.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(a){return"\u04ae\u0425"===a},meridiem:function(a,l,e){return a<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(a,l){switch(l){case"d":case"D":case"DDD":return a+" \u04e9\u0434\u04e9\u0440";default:return a}}})}(o(35908))},80132:function(pe,h,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function a(e,u,c,g){var v="";if(u)switch(c){case"s":v="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":v="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":v="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":v="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":v="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":v="%d \u0924\u093e\u0938";break;case"d":v="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":v="%d \u0926\u093f\u0935\u0938";break;case"M":v="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":v="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":v="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":v="%d \u0935\u0930\u094d\u0937\u0947"}else switch(c){case"s":v="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":v="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":v="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":v="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":v="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":v="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":v="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":v="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":v="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":v="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":v="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":v="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return v.replace(/%d/i,e)}n.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(u){return d[u]})},postformat:function(e){return e.replace(/\d/g,function(u){return i[u]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,u){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===u||"\u0938\u0915\u093e\u0933\u0940"===u?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===u||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===u||"\u0930\u093e\u0924\u094d\u0930\u0940"===u?e>=12?e:e+12:void 0},meridiem:function(e,u,c){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(o(35908))},88060:function(pe,h,o){!function(n){"use strict";n.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,a){return 12===d&&(d=0),"pagi"===a?d:"tengahari"===a?d>=11?d:d+12:"petang"===a||"malam"===a?d+12:void 0},meridiem:function(d,a,l){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(35908))},73136:function(pe,h,o){!function(n){"use strict";n.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,a){return 12===d&&(d=0),"pagi"===a?d:"tengahari"===a?d>=11?d:d+12:"petang"===a||"malam"===a?d+12:void 0},meridiem:function(d,a,l){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(35908))},46227:function(pe,h,o){!function(n){"use strict";n.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},88300:function(pe,h,o){!function(n){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},d={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};n.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(l){return l.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},week:{dow:1,doy:4}})}(o(35908))},14784:function(pe,h,o){!function(n){"use strict";n.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},75060:function(pe,h,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};n.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(l){return l.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u0930\u093e\u0924\u093f"===e?l<4?l:l+12:"\u092c\u093f\u0939\u093e\u0928"===e?l:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?l>=10?l:l+12:"\u0938\u093e\u0901\u091d"===e?l+12:void 0},meridiem:function(l,e,u){return l<3?"\u0930\u093e\u0924\u093f":l<12?"\u092c\u093f\u0939\u093e\u0928":l<16?"\u0926\u093f\u0909\u0901\u0938\u094b":l<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(o(35908))},94796:function(pe,h,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],l=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(u,c){return u?/-MMM-/.test(c)?d[u.month()]:i[u.month()]:i},monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},4971:function(pe,h,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],l=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(u,c){return u?/-MMM-/.test(c)?d[u.month()]:i[u.month()]:i},monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},18984:function(pe,h,o){!function(n){"use strict";n.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},59928:function(pe,h,o){!function(n){"use strict";n.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,a){var l=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===a||"W"===a)&&(l="a"),d+l},week:{dow:1,doy:4}})}(o(35908))},76440:function(pe,h,o){!function(n){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},d={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};n.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(l){return l.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(l,e){return 12===l&&(l=0),"\u0a30\u0a3e\u0a24"===e?l<4?l:l+12:"\u0a38\u0a35\u0a47\u0a30"===e?l:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?l>=10?l:l+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?l+12:void 0},meridiem:function(l,e,u){return l<4?"\u0a30\u0a3e\u0a24":l<10?"\u0a38\u0a35\u0a47\u0a30":l<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":l<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(o(35908))},96768:function(pe,h,o){!function(n){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),d="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),a=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function l(c){return c%10<5&&c%10>1&&~~(c/10)%10!=1}function e(c,g,v){var p=c+" ";switch(v){case"ss":return p+(l(c)?"sekundy":"sekund");case"m":return g?"minuta":"minut\u0119";case"mm":return p+(l(c)?"minuty":"minut");case"h":return g?"godzina":"godzin\u0119";case"hh":return p+(l(c)?"godziny":"godzin");case"ww":return p+(l(c)?"tygodnie":"tygodni");case"MM":return p+(l(c)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return p+(l(c)?"lata":"lat")}}n.defineLocale("pl",{months:function(c,g){return c?/D MMMM/.test(g)?d[c.month()]:i[c.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:e,m:e,mm:e,h:e,hh:e,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:e,M:"miesi\u0105c",MM:e,y:"rok",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},51528:function(pe,h,o){!function(n){"use strict";n.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(o(35908))},18968:function(pe,h,o){!function(n){"use strict";n.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},5760:function(pe,h,o){!function(n){"use strict";function i(a,l,e){var c=" ";return(a%100>=20||a>=100&&a%100==0)&&(c=" de "),a+c+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[e]}n.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(o(35908))},19760:function(pe,h,o){!function(n){"use strict";function d(e,u,c){return"m"===c?u?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+function i(e,u){var c=e.split("_");return u%10==1&&u%100!=11?c[0]:u%10>=2&&u%10<=4&&(u%100<10||u%100>=20)?c[1]:c[2]}({ss:u?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:u?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[c],+e)}var a=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];n.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0447\u0430\u0441",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,u,c){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,u){switch(u){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(o(35908))},53804:function(pe,h,o){!function(n){"use strict";var i=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],d=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];n.defineLocale("sd",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(l){return"\u0634\u0627\u0645"===l},meridiem:function(l,e,u){return l<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(l){return l.replace(/\u060c/g,",")},postformat:function(l){return l.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(o(35908))},44100:function(pe,h,o){!function(n){"use strict";n.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},95301:function(pe,h,o){!function(n){"use strict";n.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(d){return d+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(d){return"\u0db4.\u0dc0."===d||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===d},meridiem:function(d,a,l){return d>11?l?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":l?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(o(35908))},79992:function(pe,h,o){!function(n){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),d="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function a(u){return u>1&&u<5}function l(u,c,g,v){var p=u+" ";switch(g){case"s":return c||v?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return c||v?p+(a(u)?"sekundy":"sek\xfand"):p+"sekundami";case"m":return c?"min\xfata":v?"min\xfatu":"min\xfatou";case"mm":return c||v?p+(a(u)?"min\xfaty":"min\xfat"):p+"min\xfatami";case"h":return c?"hodina":v?"hodinu":"hodinou";case"hh":return c||v?p+(a(u)?"hodiny":"hod\xedn"):p+"hodinami";case"d":return c||v?"de\u0148":"d\u0148om";case"dd":return c||v?p+(a(u)?"dni":"dn\xed"):p+"d\u0148ami";case"M":return c||v?"mesiac":"mesiacom";case"MM":return c||v?p+(a(u)?"mesiace":"mesiacov"):p+"mesiacmi";case"y":return c||v?"rok":"rokom";case"yy":return c||v?p+(a(u)?"roky":"rokov"):p+"rokmi"}}n.defineLocale("sk",{months:i,monthsShort:d,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},35208:function(pe,h,o){!function(n){"use strict";function i(a,l,e,u){var c=a+" ";switch(e){case"s":return l||u?"nekaj sekund":"nekaj sekundami";case"ss":return c+(1===a?l?"sekundo":"sekundi":2===a?l||u?"sekundi":"sekundah":a<5?l||u?"sekunde":"sekundah":"sekund");case"m":return l?"ena minuta":"eno minuto";case"mm":return c+(1===a?l?"minuta":"minuto":2===a?l||u?"minuti":"minutama":a<5?l||u?"minute":"minutami":l||u?"minut":"minutami");case"h":return l?"ena ura":"eno uro";case"hh":return c+(1===a?l?"ura":"uro":2===a?l||u?"uri":"urama":a<5?l||u?"ure":"urami":l||u?"ur":"urami");case"d":return l||u?"en dan":"enim dnem";case"dd":return c+(1===a?l||u?"dan":"dnem":2===a?l||u?"dni":"dnevoma":l||u?"dni":"dnevi");case"M":return l||u?"en mesec":"enim mesecem";case"MM":return c+(1===a?l||u?"mesec":"mesecem":2===a?l||u?"meseca":"mesecema":a<5?l||u?"mesece":"meseci":l||u?"mesecev":"meseci");case"y":return l||u?"eno leto":"enim letom";case"yy":return c+(1===a?l||u?"leto":"letom":2===a?l||u?"leti":"letoma":a<5?l||u?"leta":"leti":l||u?"let":"leti")}}n.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},27408:function(pe,h,o){!function(n){"use strict";n.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(d){return"M"===d.charAt(0)},meridiem:function(d,a,l){return d<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},1128:function(pe,h,o){!function(n){"use strict";var i={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(a,l){return a%10>=1&&a%10<=4&&(a%100<10||a%100>=20)?a%10==1?l[0]:l[1]:l[2]},translate:function(a,l,e,u){var g,c=i.words[e];return 1===e.length?"y"===e&&l?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":u||l?c[0]:c[1]:(g=i.correctGrammaticalCase(a,c),"yy"===e&&l&&"\u0433\u043e\u0434\u0438\u043d\u0443"===g?a+" \u0433\u043e\u0434\u0438\u043d\u0430":a+" "+g)}};n.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},10656:function(pe,h,o){!function(n){"use strict";var i={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(a,l){return a%10>=1&&a%10<=4&&(a%100<10||a%100>=20)?a%10==1?l[0]:l[1]:l[2]},translate:function(a,l,e,u){var g,c=i.words[e];return 1===e.length?"y"===e&&l?"jedna godina":u||l?c[0]:c[1]:(g=i.correctGrammaticalCase(a,c),"yy"===e&&l&&"godinu"===g?a+" godina":a+" "+g)}};n.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},10864:function(pe,h,o){!function(n){"use strict";n.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(d,a,l){return d<11?"ekuseni":d<15?"emini":d<19?"entsambama":"ebusuku"},meridiemHour:function(d,a){return 12===d&&(d=0),"ekuseni"===a?d:"emini"===a?d>=11?d:d+12:"entsambama"===a||"ebusuku"===a?0===d?0:d+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(o(35908))},16900:function(pe,h,o){!function(n){"use strict";n.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?":e":1===a||2===a?":a":":e")},week:{dow:1,doy:4}})}(o(35908))},81636:function(pe,h,o){!function(n){"use strict";n.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(o(35908))},24180:function(pe,h,o){!function(n){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},d={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};n.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(l){return l+"\u0bb5\u0ba4\u0bc1"},preparse:function(l){return l.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return d[e]})},postformat:function(l){return l.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(l,e,u){return l<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":l<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":l<10?" \u0b95\u0bbe\u0bb2\u0bc8":l<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":l<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":l<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(l,e){return 12===l&&(l=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?l<2?l:l+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&l>=10?l:l+12},week:{dow:0,doy:6}})}(o(35908))},97008:function(pe,h,o){!function(n){"use strict";n.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===a?d<4?d:d+12:"\u0c09\u0c26\u0c2f\u0c02"===a?d:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===a?d>=10?d:d+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===a?d+12:void 0},meridiem:function(d,a,l){return d<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":d<10?"\u0c09\u0c26\u0c2f\u0c02":d<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":d<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(o(35908))},50744:function(pe,h,o){!function(n){"use strict";n.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},58084:function(pe,h,o){!function(n){"use strict";var i={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};n.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(a,l){return 12===a&&(a=0),"\u0448\u0430\u0431"===l?a<4?a:a+12:"\u0441\u0443\u0431\u04b3"===l?a:"\u0440\u04ef\u0437"===l?a>=11?a:a+12:"\u0431\u0435\u0433\u043e\u04b3"===l?a+12:void 0},meridiem:function(a,l,e){return a<4?"\u0448\u0430\u0431":a<11?"\u0441\u0443\u0431\u04b3":a<16?"\u0440\u04ef\u0437":a<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(a){return a+(i[a]||i[a%10]||i[a>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},81672:function(pe,h,o){!function(n){"use strict";n.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(d){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===d},meridiem:function(d,a,l){return d<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(o(35908))},57232:function(pe,h,o){!function(n){"use strict";var i={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};n.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(a,l){switch(l){case"d":case"D":case"Do":case"DD":return a;default:if(0===a)return a+"'unjy";var e=a%10;return a+(i[e]||i[a%100-e]||i[a>=100?100:null])}},week:{dow:1,doy:7}})}(o(35908))},89480:function(pe,h,o){!function(n){"use strict";n.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},58512:function(pe,h,o){!function(n){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function l(c,g,v,p){var S=function e(c){var g=Math.floor(c%1e3/100),v=Math.floor(c%100/10),p=c%10,S="";return g>0&&(S+=i[g]+"vatlh"),v>0&&(S+=(""!==S?" ":"")+i[v]+"maH"),p>0&&(S+=(""!==S?" ":"")+i[p]),""===S?"pagh":S}(c);switch(v){case"ss":return S+" lup";case"mm":return S+" tup";case"hh":return S+" rep";case"dd":return S+" jaj";case"MM":return S+" jar";case"yy":return S+" DIS"}}n.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function d(c){var g=c;return-1!==c.indexOf("jaj")?g.slice(0,-3)+"leS":-1!==c.indexOf("jar")?g.slice(0,-3)+"waQ":-1!==c.indexOf("DIS")?g.slice(0,-3)+"nem":g+" pIq"},past:function a(c){var g=c;return-1!==c.indexOf("jaj")?g.slice(0,-3)+"Hu\u2019":-1!==c.indexOf("jar")?g.slice(0,-3)+"wen":-1!==c.indexOf("DIS")?g.slice(0,-3)+"ben":g+" ret"},s:"puS lup",ss:l,m:"wa\u2019 tup",mm:l,h:"wa\u2019 rep",hh:l,d:"wa\u2019 jaj",dd:l,M:"wa\u2019 jar",MM:l,y:"wa\u2019 DIS",yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},56020:function(pe,h,o){!function(n){"use strict";var i={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};n.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(a,l,e){return a<12?e?"\xf6\xf6":"\xd6\xd6":e?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(a){return"\xf6s"===a||"\xd6S"===a},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(a,l){switch(l){case"d":case"D":case"Do":case"DD":return a;default:if(0===a)return a+"'\u0131nc\u0131";var e=a%10;return a+(i[e]||i[a%100-e]||i[a>=100?100:null])}},week:{dow:1,doy:7}})}(o(35908))},36240:function(pe,h,o){!function(n){"use strict";function d(a,l,e,u){var c={s:["viensas secunds","'iensas secunds"],ss:[a+" secunds",a+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[a+" m\xeduts",a+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[a+" \xfeoras",a+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas",a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen",a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars",a+" ars"]};return u||l?c[e][0]:c[e][1]}n.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(a){return"d'o"===a.toLowerCase()},meridiem:function(a,l,e){return a>11?e?"d'o":"D'O":e?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},53384:function(pe,h,o){!function(n){"use strict";n.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(o(35908))},33064:function(pe,h,o){!function(n){"use strict";n.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(o(35908))},45852:function(pe,h,o){!function(n){"use strict";n.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===a||"\u0633\u06d5\u06be\u06d5\u0631"===a||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===a?d:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===a||"\u0643\u06d5\u0686"===a?d+12:d>=11?d:d+12},meridiem:function(d,a,l){var e=100*d+a;return e<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":e<900?"\u0633\u06d5\u06be\u06d5\u0631":e<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":e<1230?"\u0686\u06c8\u0634":e<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return d+"-\u06be\u06d5\u067e\u062a\u06d5";default:return d}},preparse:function(d){return d.replace(/\u060c/g,",")},postformat:function(d){return d.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(o(35908))},12480:function(pe,h,o){!function(n){"use strict";function d(u,c,g){return"m"===g?c?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===g?c?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":u+" "+function i(u,c){var g=u.split("_");return c%10==1&&c%100!=11?g[0]:c%10>=2&&c%10<=4&&(c%100<10||c%100>=20)?g[1]:g[2]}({ss:c?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:c?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:c?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[g],+u)}function l(u){return function(){return u+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}n.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function a(u,c){var g={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===u?g.nominative.slice(1,7).concat(g.nominative.slice(0,1)):u?g[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(c)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(c)?"genitive":"nominative"][u.day()]:g.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:l("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:l("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:l("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:l("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return l("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return l("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:d,y:"\u0440\u0456\u043a",yy:d},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(u){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(u)},meridiem:function(u,c,g){return u<4?"\u043d\u043e\u0447\u0456":u<12?"\u0440\u0430\u043d\u043a\u0443":u<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(u,c){switch(c){case"M":case"d":case"DDD":case"w":case"W":return u+"-\u0439";case"D":return u+"-\u0433\u043e";default:return u}},week:{dow:1,doy:7}})}(o(35908))},63877:function(pe,h,o){!function(n){"use strict";var i=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],d=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];n.defineLocale("ur",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(l){return"\u0634\u0627\u0645"===l},meridiem:function(l,e,u){return l<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(l){return l.replace(/\u060c/g,",")},postformat:function(l){return l.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(o(35908))},20108:function(pe,h,o){!function(n){"use strict";n.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(o(35908))},91712:function(pe,h,o){!function(n){"use strict";n.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(o(35908))},9984:function(pe,h,o){!function(n){"use strict";n.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(d){return/^ch$/i.test(d)},meridiem:function(d,a,l){return d<12?l?"sa":"SA":l?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},45708:function(pe,h,o){!function(n){"use strict";n.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},78476:function(pe,h,o){!function(n){"use strict";n.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(o(35908))},3676:function(pe,h,o){!function(n){"use strict";n.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:d>=11?d:d+12},meridiem:function(d,a,l){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(d){return d.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(d){return this.week()!==d.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u5468";default:return d}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(o(35908))},49880:function(pe,h,o){!function(n){"use strict";n.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e2d\u5348"===a?d>=11?d:d+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:void 0},meridiem:function(d,a,l){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1200?"\u4e0a\u5348":1200===e?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},41968:function(pe,h,o){!function(n){"use strict";n.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e2d\u5348"===a?d>=11?d:d+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:void 0},meridiem:function(d,a,l){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},33632:function(pe,h,o){!function(n){"use strict";n.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e2d\u5348"===a?d>=11?d:d+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:void 0},meridiem:function(d,a,l){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},35908:function(pe,h,o){(pe=o.nmd(pe)).exports=function(){"use strict";var n,y;function i(){return n.apply(null,arguments)}function a(V){return V instanceof Array||"[object Array]"===Object.prototype.toString.call(V)}function l(V){return null!=V&&"[object Object]"===Object.prototype.toString.call(V)}function e(V,he){return Object.prototype.hasOwnProperty.call(V,he)}function u(V){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(V).length;var he;for(he in V)if(e(V,he))return!1;return!0}function c(V){return void 0===V}function g(V){return"number"==typeof V||"[object Number]"===Object.prototype.toString.call(V)}function v(V){return V instanceof Date||"[object Date]"===Object.prototype.toString.call(V)}function p(V,he){var ze,ke=[],lt=V.length;for(ze=0;ze>>0;for(ze=0;ze0)for(ke=0;ke=0?ke?"+":"":"-")+Math.pow(10,Math.max(0,he-ze.length)).toString().substr(1)+ze}var re=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,J=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},$={};function le(V,he,ke,ze){var lt=ze;"string"==typeof ze&&(lt=function(){return this[ze]()}),V&&($[V]=lt),he&&($[he[0]]=function(){return Z(lt.apply(this,arguments),he[1],he[2])}),ke&&($[ke]=function(){return this.localeData().ordinal(lt.apply(this,arguments),V)})}function ee(V){return V.match(/\[[\s\S]/)?V.replace(/^\[|\]$/g,""):V.replace(/\\/g,"")}function ye(V,he){return V.isValid()?(he=Oe(he,V.localeData()),Y[he]=Y[he]||function we(V){var ke,ze,he=V.match(re);for(ke=0,ze=he.length;ke=0&&J.test(V);)V=V.replace(J,ze),J.lastIndex=0,ke-=1;return V}var nt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Pt(V){return"string"==typeof V?nt[V]||nt[V.toLowerCase()]:void 0}function tn(V){var ke,ze,he={};for(ze in V)e(V,ze)&&(ke=Pt(ze))&&(he[ke]=V[ze]);return he}var hn={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var Xt,An=/\d/,_n=/\d\d/,qt=/\d{3}/,ht=/\d{4}/,Ue=/[+-]?\d{6}/,Ee=/\d\d?/,Te=/\d\d\d\d?/,$e=/\d\d\d\d\d\d?/,je=/\d{1,3}/,gt=/\d{1,4}/,He=/[+-]?\d{1,6}/,vt=/\d+/,ut=/[+-]?\d+/,wt=/Z|[+-]\d\d:?\d\d/gi,st=/Z|[+-]\d\d(?::?\d\d)?/gi,pt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,It=/^[1-9]\d?/,Yt=/^([1-9]\d|\d)/;function At(V,he,ke){Xt[V]=O(he)?he:function(ze,lt){return ze&&ke?ke:he}}function $t(V,he){return e(Xt,V)?Xt[V](he._strict,he._locale):new RegExp(function St(V){return xt(V.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(he,ke,ze,lt,Vt){return ke||ze||lt||Vt}))}(V))}function xt(V){return V.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function nn(V){return V<0?Math.ceil(V)||0:Math.floor(V)}function bn(V){var he=+V,ke=0;return 0!==he&&isFinite(he)&&(ke=nn(he)),ke}Xt={};var Tn={};function rn(V,he){var ke,lt,ze=he;for("string"==typeof V&&(V=[V]),g(he)&&(ze=function(Vt,Dn){Dn[he]=bn(Vt)}),lt=V.length,ke=0;ke68?1900:2e3)};var ct,Or=en("FullYear",!0);function en(V,he){return function(ke){return null!=ke?(Qn(this,V,ke),i.updateOffset(this,he),this):jn(this,V)}}function jn(V,he){if(!V.isValid())return NaN;var ke=V._d,ze=V._isUTC;switch(he){case"Milliseconds":return ze?ke.getUTCMilliseconds():ke.getMilliseconds();case"Seconds":return ze?ke.getUTCSeconds():ke.getSeconds();case"Minutes":return ze?ke.getUTCMinutes():ke.getMinutes();case"Hours":return ze?ke.getUTCHours():ke.getHours();case"Date":return ze?ke.getUTCDate():ke.getDate();case"Day":return ze?ke.getUTCDay():ke.getDay();case"Month":return ze?ke.getUTCMonth():ke.getMonth();case"FullYear":return ze?ke.getUTCFullYear():ke.getFullYear();default:return NaN}}function Qn(V,he,ke){var ze,lt,Vt,Dn,rr;if(V.isValid()&&!isNaN(ke)){switch(ze=V._d,lt=V._isUTC,he){case"Milliseconds":return void(lt?ze.setUTCMilliseconds(ke):ze.setMilliseconds(ke));case"Seconds":return void(lt?ze.setUTCSeconds(ke):ze.setSeconds(ke));case"Minutes":return void(lt?ze.setUTCMinutes(ke):ze.setMinutes(ke));case"Hours":return void(lt?ze.setUTCHours(ke):ze.setHours(ke));case"Date":return void(lt?ze.setUTCDate(ke):ze.setDate(ke));case"FullYear":break;default:return}Vt=ke,Dn=V.month(),rr=29!==(rr=V.date())||1!==Dn||Br(Vt)?rr:28,lt?ze.setUTCFullYear(Vt,Dn,rr):ze.setFullYear(Vt,Dn,rr)}}function Rt(V,he){if(isNaN(V)||isNaN(he))return NaN;var ke=function Pr(V,he){return(V%he+he)%he}(he,12);return V+=(he-ke)/12,1===ke?Br(V)?29:28:31-ke%7%2}ct=Array.prototype.indexOf?Array.prototype.indexOf:function(V){var he;for(he=0;he=0?(rr=new Date(V+400,he,ke,ze,lt,Vt,Dn),isFinite(rr.getFullYear())&&rr.setFullYear(V)):rr=new Date(V,he,ke,ze,lt,Vt,Dn),rr}function Fe(V){var he,ke;return V<100&&V>=0?((ke=Array.prototype.slice.call(arguments))[0]=V+400,he=new Date(Date.UTC.apply(null,ke)),isFinite(he.getUTCFullYear())&&he.setUTCFullYear(V)):he=new Date(Date.UTC.apply(null,arguments)),he}function Ae(V,he,ke){var ze=7+he-ke;return-(7+Fe(V,0,ze).getUTCDay()-he)%7+ze-1}function fe(V,he,ke,ze,lt){var Kr,fi,rr=1+7*(he-1)+(7+ke-ze)%7+Ae(V,ze,lt);return rr<=0?fi=er(Kr=V-1)+rr:rr>er(V)?(Kr=V+1,fi=rr-er(V)):(Kr=V,fi=rr),{year:Kr,dayOfYear:fi}}function De(V,he,ke){var Vt,Dn,ze=Ae(V.year(),he,ke),lt=Math.floor((V.dayOfYear()-ze-1)/7)+1;return lt<1?Vt=lt+rt(Dn=V.year()-1,he,ke):lt>rt(V.year(),he,ke)?(Vt=lt-rt(V.year(),he,ke),Dn=V.year()+1):(Dn=V.year(),Vt=lt),{week:Vt,year:Dn}}function rt(V,he,ke){var ze=Ae(V,he,ke),lt=Ae(V+1,he,ke);return(er(V)-ze+lt)/7}le("w",["ww",2],"wo","week"),le("W",["WW",2],"Wo","isoWeek"),At("w",Ee,It),At("ww",Ee,_n),At("W",Ee,It),At("WW",Ee,_n),nr(["w","ww","W","WW"],function(V,he,ke,ze){he[ze.substr(0,1)]=bn(V)});function Gt(V,he){return V.slice(he,7).concat(V.slice(0,he))}le("d",0,"do","day"),le("dd",0,0,function(V){return this.localeData().weekdaysMin(this,V)}),le("ddd",0,0,function(V){return this.localeData().weekdaysShort(this,V)}),le("dddd",0,0,function(V){return this.localeData().weekdays(this,V)}),le("e",0,0,"weekday"),le("E",0,0,"isoWeekday"),At("d",Ee),At("e",Ee),At("E",Ee),At("dd",function(V,he){return he.weekdaysMinRegex(V)}),At("ddd",function(V,he){return he.weekdaysShortRegex(V)}),At("dddd",function(V,he){return he.weekdaysRegex(V)}),nr(["dd","ddd","dddd"],function(V,he,ke,ze){var lt=ke._locale.weekdaysParse(V,ze,ke._strict);null!=lt?he.d=lt:f(ke).invalidWeekday=V}),nr(["d","e","E"],function(V,he,ke,ze){he[ze]=bn(V)});var Nn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),lr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),cr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nr=pt,Lr=pt,dt=pt;function In(V,he,ke){var ze,lt,Vt,Dn=V.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],ze=0;ze<7;++ze)Vt=C([2e3,1]).day(ze),this._minWeekdaysParse[ze]=this.weekdaysMin(Vt,"").toLocaleLowerCase(),this._shortWeekdaysParse[ze]=this.weekdaysShort(Vt,"").toLocaleLowerCase(),this._weekdaysParse[ze]=this.weekdays(Vt,"").toLocaleLowerCase();return ke?"dddd"===he?-1!==(lt=ct.call(this._weekdaysParse,Dn))?lt:null:"ddd"===he?-1!==(lt=ct.call(this._shortWeekdaysParse,Dn))?lt:null:-1!==(lt=ct.call(this._minWeekdaysParse,Dn))?lt:null:"dddd"===he?-1!==(lt=ct.call(this._weekdaysParse,Dn))||-1!==(lt=ct.call(this._shortWeekdaysParse,Dn))||-1!==(lt=ct.call(this._minWeekdaysParse,Dn))?lt:null:"ddd"===he?-1!==(lt=ct.call(this._shortWeekdaysParse,Dn))||-1!==(lt=ct.call(this._weekdaysParse,Dn))||-1!==(lt=ct.call(this._minWeekdaysParse,Dn))?lt:null:-1!==(lt=ct.call(this._minWeekdaysParse,Dn))||-1!==(lt=ct.call(this._weekdaysParse,Dn))||-1!==(lt=ct.call(this._shortWeekdaysParse,Dn))?lt:null}function Xr(){function V(us,Xs){return Xs.length-us.length}var Vt,Dn,rr,Kr,fi,he=[],ke=[],ze=[],lt=[];for(Vt=0;Vt<7;Vt++)Dn=C([2e3,1]).day(Vt),rr=xt(this.weekdaysMin(Dn,"")),Kr=xt(this.weekdaysShort(Dn,"")),fi=xt(this.weekdays(Dn,"")),he.push(rr),ke.push(Kr),ze.push(fi),lt.push(rr),lt.push(Kr),lt.push(fi);he.sort(V),ke.sort(V),ze.sort(V),lt.sort(V),this._weekdaysRegex=new RegExp("^("+lt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+ze.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+ke.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+he.join("|")+")","i")}function Vi(){return this.hours()%12||12}function Yi(V,he){le(V,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),he)})}function ko(V,he){return he._meridiemParse}le("H",["HH",2],0,"hour"),le("h",["hh",2],0,Vi),le("k",["kk",2],0,function hr(){return this.hours()||24}),le("hmm",0,0,function(){return""+Vi.apply(this)+Z(this.minutes(),2)}),le("hmmss",0,0,function(){return""+Vi.apply(this)+Z(this.minutes(),2)+Z(this.seconds(),2)}),le("Hmm",0,0,function(){return""+this.hours()+Z(this.minutes(),2)}),le("Hmmss",0,0,function(){return""+this.hours()+Z(this.minutes(),2)+Z(this.seconds(),2)}),Yi("a",!0),Yi("A",!1),At("a",ko),At("A",ko),At("H",Ee,Yt),At("h",Ee,It),At("k",Ee,It),At("HH",Ee,_n),At("hh",Ee,_n),At("kk",Ee,_n),At("hmm",Te),At("hmmss",$e),At("Hmm",Te),At("Hmmss",$e),rn(["H","HH"],qn),rn(["k","kk"],function(V,he,ke){var ze=bn(V);he[qn]=24===ze?0:ze}),rn(["a","A"],function(V,he,ke){ke._isPm=ke._locale.isPM(V),ke._meridiem=V}),rn(["h","hh"],function(V,he,ke){he[qn]=bn(V),f(ke).bigHour=!0}),rn("hmm",function(V,he,ke){var ze=V.length-2;he[qn]=bn(V.substr(0,ze)),he[Rn]=bn(V.substr(ze)),f(ke).bigHour=!0}),rn("hmmss",function(V,he,ke){var ze=V.length-4,lt=V.length-2;he[qn]=bn(V.substr(0,ze)),he[Rn]=bn(V.substr(ze,2)),he[oi]=bn(V.substr(lt)),f(ke).bigHour=!0}),rn("Hmm",function(V,he,ke){var ze=V.length-2;he[qn]=bn(V.substr(0,ze)),he[Rn]=bn(V.substr(ze))}),rn("Hmmss",function(V,he,ke){var ze=V.length-4,lt=V.length-2;he[qn]=bn(V.substr(0,ze)),he[Rn]=bn(V.substr(ze,2)),he[oi]=bn(V.substr(lt))});var zi=en("Hours",!0);var _i,ro={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:kt,monthsShort:on,week:{dow:0,doy:6},weekdays:Nn,weekdaysMin:cr,weekdaysShort:lr,meridiemParse:/[ap]\.?m?\.?/i},Rr={},mo={};function xi(V,he){var ke,ze=Math.min(V.length,he.length);for(ke=0;ke0;){if(lt=wi(Vt.slice(0,ke).join("-")))return lt;if(ze&&ze.length>=ke&&xi(Vt,ze)>=ke-1)break;ke--}he++}return _i}(V)}function Ni(V){var he,ke=V._a;return ke&&-2===f(V).overflow&&(he=ke[Er]<0||ke[Er]>11?Er:ke[br]<1||ke[br]>Rt(ke[sr],ke[Er])?br:ke[qn]<0||ke[qn]>24||24===ke[qn]&&(0!==ke[Rn]||0!==ke[oi]||0!==ke[Sr])?qn:ke[Rn]<0||ke[Rn]>59?Rn:ke[oi]<0||ke[oi]>59?oi:ke[Sr]<0||ke[Sr]>999?Sr:-1,f(V)._overflowDayOfYear&&(hebr)&&(he=br),f(V)._overflowWeeks&&-1===he&&(he=pr),f(V)._overflowWeekday&&-1===he&&(he=Jn),f(V).overflow=he),V}var Gr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Lo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Oi=/Z|[+-]\d\d(?::?\d\d)?/,Zi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Li=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Gi=/^\/?Date\((-?\d+)/i,$o=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Co={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ro(V){var he,ke,Vt,Dn,rr,Kr,ze=V._i,lt=Gr.exec(ze)||Lo.exec(ze),fi=Zi.length,us=Li.length;if(lt){for(f(V).iso=!0,he=0,ke=fi;he7)&&(Kr=!0)):(Vt=V._locale._week.dow,Dn=V._locale._week.doy,fi=De(Ot(),Vt,Dn),ke=So(he.gg,V._a[sr],fi.year),ze=So(he.w,fi.week),null!=he.d?((lt=he.d)<0||lt>6)&&(Kr=!0):null!=he.e?(lt=he.e+Vt,(he.e<0||he.e>6)&&(Kr=!0)):lt=Vt),ze<1||ze>rt(ke,Vt,Dn)?f(V)._overflowWeeks=!0:null!=Kr?f(V)._overflowWeekday=!0:(rr=fe(ke,ze,lt,Vt,Dn),V._a[sr]=rr.year,V._dayOfYear=rr.dayOfYear)}(V),null!=V._dayOfYear&&(Dn=So(V._a[sr],lt[sr]),(V._dayOfYear>er(Dn)||0===V._dayOfYear)&&(f(V)._overflowDayOfYear=!0),ke=Fe(Dn,0,V._dayOfYear),V._a[Er]=ke.getUTCMonth(),V._a[br]=ke.getUTCDate()),he=0;he<3&&null==V._a[he];++he)V._a[he]=ze[he]=lt[he];for(;he<7;he++)V._a[he]=ze[he]=null==V._a[he]?2===he?1:0:V._a[he];24===V._a[qn]&&0===V._a[Rn]&&0===V._a[oi]&&0===V._a[Sr]&&(V._nextDay=!0,V._a[qn]=0),V._d=(V._useUTC?Fe:ae).apply(null,ze),Vt=V._useUTC?V._d.getUTCDay():V._d.getDay(),null!=V._tzm&&V._d.setUTCMinutes(V._d.getUTCMinutes()-V._tzm),V._nextDay&&(V._a[qn]=24),V._w&&typeof V._w.d<"u"&&V._w.d!==Vt&&(f(V).weekdayMismatch=!0)}}function Do(V){if(V._f!==i.ISO_8601)if(V._f!==i.RFC_2822){V._a=[],f(V).empty=!0;var ke,ze,lt,Vt,Dn,fi,us,he=""+V._i,rr=he.length,Kr=0;for(us=(lt=Oe(V._f,V._locale).match(re)||[]).length,ke=0;ke0&&f(V).unusedInput.push(Dn),he=he.slice(he.indexOf(ze)+ze.length),Kr+=ze.length),$[Vt]?(ze?f(V).empty=!1:f(V).unusedTokens.push(Vt),kr(Vt,ze,V)):V._strict&&!ze&&f(V).unusedTokens.push(Vt);f(V).charsLeftOver=rr-Kr,he.length>0&&f(V).unusedInput.push(he),V._a[qn]<=12&&!0===f(V).bigHour&&V._a[qn]>0&&(f(V).bigHour=void 0),f(V).parsedDateParts=V._a.slice(0),f(V).meridiem=V._meridiem,V._a[qn]=function Ko(V,he,ke){var ze;return null==ke?he:null!=V.meridiemHour?V.meridiemHour(he,ke):(null!=V.isPM&&((ze=V.isPM(ke))&&he<12&&(he+=12),!ze&&12===he&&(he=0)),he)}(V._locale,V._a[qn],V._meridiem),null!==(fi=f(V).era)&&(V._a[sr]=V._locale.erasConvertYear(fi,V._a[sr])),co(V),Ni(V)}else Ki(V);else Ro(V)}function Ke(V){var he=V._i,ke=V._f;return V._locale=V._locale||zr(V._l),null===he||void 0===ke&&""===he?E({nullInput:!0}):("string"==typeof he&&(V._i=he=V._locale.preparse(he)),j(he)?new F(Ni(he)):(v(he)?V._d=he:a(ke)?function hs(V){var he,ke,ze,lt,Vt,Dn,rr=!1,Kr=V._f.length;if(0===Kr)return f(V).invalidFormat=!0,void(V._d=new Date(NaN));for(lt=0;ltthis?this:V:E()});function Wi(V,he){var ke,ze;if(1===he.length&&a(he[0])&&(he=he[0]),!he.length)return Ot();for(ke=he[0],ze=1;ze=0?new Date(V+400,he,ke)-Ri:new Date(V,he,ke).valueOf()}function gs(V,he,ke){return V<100&&V>=0?Date.UTC(V+400,he,ke)-Ri:Date.UTC(V,he,ke)}function aa(V,he){return he.erasAbbrRegex(V)}function zo(){var lt,Vt,Dn,rr,Kr,V=[],he=[],ke=[],ze=[],fi=this.eras();for(lt=0,Vt=fi.length;lt(Vt=rt(V,ze,lt))&&(he=Vt),Xl.call(this,V,he,ke,ze,lt))}function Xl(V,he,ke,ze,lt){var Vt=fe(V,he,ke,ze,lt),Dn=Fe(Vt.year,0,Vt.dayOfYear);return this.year(Dn.getUTCFullYear()),this.month(Dn.getUTCMonth()),this.date(Dn.getUTCDate()),this}le("N",0,0,"eraAbbr"),le("NN",0,0,"eraAbbr"),le("NNN",0,0,"eraAbbr"),le("NNNN",0,0,"eraName"),le("NNNNN",0,0,"eraNarrow"),le("y",["y",1],"yo","eraYear"),le("y",["yy",2],0,"eraYear"),le("y",["yyy",3],0,"eraYear"),le("y",["yyyy",4],0,"eraYear"),At("N",aa),At("NN",aa),At("NNN",aa),At("NNNN",function gu(V,he){return he.erasNameRegex(V)}),At("NNNNN",function Ql(V,he){return he.erasNarrowRegex(V)}),rn(["N","NN","NNN","NNNN","NNNNN"],function(V,he,ke,ze){var lt=ke._locale.erasParse(V,ze,ke._strict);lt?f(ke).era=lt:f(ke).invalidEra=V}),At("y",vt),At("yy",vt),At("yyy",vt),At("yyyy",vt),At("yo",function mu(V,he){return he._eraYearOrdinalRegex||vt}),rn(["y","yy","yyy","yyyy"],sr),rn(["yo"],function(V,he,ke,ze){var lt;ke._locale._eraYearOrdinalRegex&&(lt=V.match(ke._locale._eraYearOrdinalRegex)),he[sr]=ke._locale.eraYearOrdinalParse?ke._locale.eraYearOrdinalParse(V,lt):parseInt(V,10)}),le(0,["gg",2],0,function(){return this.weekYear()%100}),le(0,["GG",2],0,function(){return this.isoWeekYear()%100}),la("gggg","weekYear"),la("ggggg","weekYear"),la("GGGG","isoWeekYear"),la("GGGGG","isoWeekYear"),At("G",ut),At("g",ut),At("GG",Ee,_n),At("gg",Ee,_n),At("GGGG",gt,ht),At("gggg",gt,ht),At("GGGGG",He,Ue),At("ggggg",He,Ue),nr(["gggg","ggggg","GGGG","GGGGG"],function(V,he,ke,ze){he[ze.substr(0,2)]=bn(V)}),nr(["gg","GG"],function(V,he,ke,ze){he[ze]=i.parseTwoDigitYear(V)}),le("Q",0,"Qo","quarter"),At("Q",An),rn("Q",function(V,he){he[Er]=3*(bn(V)-1)}),le("D",["DD",2],"Do","date"),At("D",Ee,It),At("DD",Ee,_n),At("Do",function(V,he){return V?he._dayOfMonthOrdinalParse||he._ordinalParse:he._dayOfMonthOrdinalParseLenient}),rn(["D","DD"],br),rn("Do",function(V,he){he[br]=bn(V.match(Ee)[0])});var Ea=en("Date",!0);le("DDD",["DDDD",3],"DDDo","dayOfYear"),At("DDD",je),At("DDDD",qt),rn(["DDD","DDDD"],function(V,he,ke){ke._dayOfYear=bn(V)}),le("m",["mm",2],0,"minute"),At("m",Ee,Yt),At("mm",Ee,_n),rn(["m","mm"],Rn);var sl=en("Minutes",!1);le("s",["ss",2],0,"second"),At("s",Ee,Yt),At("ss",Ee,_n),rn(["s","ss"],oi);var No,ni,pu=en("Seconds",!1);for(le("S",0,0,function(){return~~(this.millisecond()/100)}),le(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),le(0,["SSS",3],0,"millisecond"),le(0,["SSSS",4],0,function(){return 10*this.millisecond()}),le(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),le(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),le(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),le(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),le(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),At("S",je,An),At("SS",je,_n),At("SSS",je,qt),No="SSSS";No.length<=9;No+="S")At(No,vt);function ql(V,he){he[Sr]=bn(1e3*("0."+V))}for(No="S";No.length<=9;No+="S")rn(No,ql);ni=en("Milliseconds",!1),le("z",0,0,"zoneAbbr"),le("zz",0,0,"zoneName");var Un=F.prototype;function oe(V){return V}Un.add=Ti,Un.calendar=function Be(V,he){1===arguments.length&&(arguments[0]?wr(arguments[0])?(V=arguments[0],he=void 0):function ei(V){var lt,he=l(V)&&!u(V),ke=!1,ze=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(lt=0;ltke.valueOf():ke.valueOf()9999?ye(ke,he?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?he?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ye(ke,"Z")):ye(ke,he?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Un.inspect=function Ce(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var ke,ze,V="moment",he="";return this.isLocal()||(V=0===this.utcOffset()?"moment.utc":"moment.parseZone",he="Z"),ke="["+V+'("]',ze=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(ke+ze+"-MM-DD[T]HH:mm:ss.SSS"+he+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Un[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Un.toJSON=function Gl(){return this.isValid()?this.toISOString():null},Un.toString=function X(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Un.unix=function hi(){return Math.floor(this.valueOf()/1e3)},Un.valueOf=function Yo(){return this._d.valueOf()-6e4*(this._offset||0)},Un.creationData=function Os(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Un.eraName=function Kl(){var V,he,ke,ze=this.localeData().eras();for(V=0,he=ze.length;Vthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Un.isLocal=function Wt(){return!!this.isValid()&&!this._isUTC},Un.isUtcOffset=function yn(){return!!this.isValid()&&this._isUTC},Un.isUtc=$n,Un.isUTC=$n,Un.zoneAbbr=function Us(){return this._isUTC?"UTC":""},Un.zoneName=function Ma(){return this._isUTC?"Coordinated Universal Time":""},Un.dates=P("dates accessor is deprecated. Use date instead.",Ea),Un.months=P("months accessor is deprecated. Use month instead",ur),Un.years=P("years accessor is deprecated. Use year instead",Or),Un.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function ne(V,he){return null!=V?("string"!=typeof V&&(V=-V),this.utcOffset(V,he),this):-this.utcOffset()}),Un.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Ht(){if(!c(this._isDSTShifted))return this._isDSTShifted;var he,V={};return I(V,this),(V=Ke(V))._a?(he=V._isUTC?C(V._a):Ot(V._a),this._isDSTShifted=this.isValid()&&function Di(V,he,ke){var Dn,ze=Math.min(V.length,he.length),lt=Math.abs(V.length-he.length),Vt=0;for(Dn=0;Dn0):this._isDSTShifted=!1,this._isDSTShifted});var be=te.prototype;function de(V,he,ke,ze){var lt=zr(),Vt=C().set(ze,he);return lt[ke](Vt,V)}function Se(V,he,ke){if(g(V)&&(he=V,V=void 0),V=V||"",null!=he)return de(V,he,ke,"month");var ze,lt=[];for(ze=0;ze<12;ze++)lt[ze]=de(V,ze,ke,"month");return lt}function We(V,he,ke,ze){"boolean"==typeof V?(g(he)&&(ke=he,he=void 0),he=he||""):(ke=he=V,V=!1,g(he)&&(ke=he,he=void 0),he=he||"");var Dn,lt=zr(),Vt=V?lt._week.dow:0,rr=[];if(null!=ke)return de(he,(ke+Vt)%7,ze,"day");for(Dn=0;Dn<7;Dn++)rr[Dn]=de(he,(Dn+Vt)%7,ze,"day");return rr}be.calendar=function K(V,he,ke){var ze=this._calendar[V]||this._calendar.sameElse;return O(ze)?ze.call(he,ke):ze},be.longDateFormat=function _e(V){var he=this._longDateFormat[V],ke=this._longDateFormat[V.toUpperCase()];return he||!ke?he:(this._longDateFormat[V]=ke.match(re).map(function(ze){return"MMMM"===ze||"MM"===ze||"DD"===ze||"dddd"===ze?ze.slice(1):ze}).join(""),this._longDateFormat[V])},be.invalidDate=function Ze(){return this._invalidDate},be.ordinal=function mt(V){return this._ordinal.replace("%d",V)},be.preparse=oe,be.postformat=oe,be.relativeTime=function Ct(V,he,ke,ze){var lt=this._relativeTime[ke];return O(lt)?lt(V,he,ke,ze):lt.replace(/%d/i,V)},be.pastFuture=function Xe(V,he){var ke=this._relativeTime[V>0?"future":"past"];return O(ke)?ke(he):ke.replace(/%s/i,he)},be.set=function H(V){var he,ke;for(ke in V)e(V,ke)&&(O(he=V[ke])?this[ke]=he:this["_"+ke]=he);this._config=V,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},be.eras=function fu(V,he){var ke,ze,lt,Vt=this._eras||zr("en")._eras;for(ke=0,ze=Vt.length;ke=0)return Vt[ze]},be.erasConvertYear=function as(V,he){var ke=V.since<=V.until?1:-1;return void 0===he?i(V.since).year():i(V.since).year()+(he-V.offset)*ke},be.erasAbbrRegex=function Sa(V){return e(this,"_erasAbbrRegex")||zo.call(this),V?this._erasAbbrRegex:this._erasRegex},be.erasNameRegex=function nl(V){return e(this,"_erasNameRegex")||zo.call(this),V?this._erasNameRegex:this._erasRegex},be.erasNarrowRegex=function sa(V){return e(this,"_erasNarrowRegex")||zo.call(this),V?this._erasNarrowRegex:this._erasRegex},be.months=function Zn(V,he){return V?a(this._months)?this._months[V.month()]:this._months[(this._months.isFormat||dn).test(he)?"format":"standalone"][V.month()]:a(this._months)?this._months:this._months.standalone},be.monthsShort=function Yn(V,he){return V?a(this._monthsShort)?this._monthsShort[V.month()]:this._monthsShort[dn.test(he)?"format":"standalone"][V.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},be.monthsParse=function Mr(V,he,ke){var ze,lt,Vt;if(this._monthsParseExact)return Tr.call(this,V,he,ke);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),ze=0;ze<12;ze++){if(lt=C([2e3,ze]),ke&&!this._longMonthsParse[ze]&&(this._longMonthsParse[ze]=new RegExp("^"+this.months(lt,"").replace(".","")+"$","i"),this._shortMonthsParse[ze]=new RegExp("^"+this.monthsShort(lt,"").replace(".","")+"$","i")),!ke&&!this._monthsParse[ze]&&(Vt="^"+this.months(lt,"")+"|^"+this.monthsShort(lt,""),this._monthsParse[ze]=new RegExp(Vt.replace(".",""),"i")),ke&&"MMMM"===he&&this._longMonthsParse[ze].test(V))return ze;if(ke&&"MMM"===he&&this._shortMonthsParse[ze].test(V))return ze;if(!ke&&this._monthsParse[ze].test(V))return ze}},be.monthsRegex=function U(V){return this._monthsParseExact?(e(this,"_monthsRegex")||z.call(this),V?this._monthsStrictRegex:this._monthsRegex):(e(this,"_monthsRegex")||(this._monthsRegex=En),this._monthsStrictRegex&&V?this._monthsStrictRegex:this._monthsRegex)},be.monthsShortRegex=function un(V){return this._monthsParseExact?(e(this,"_monthsRegex")||z.call(this),V?this._monthsShortStrictRegex:this._monthsShortRegex):(e(this,"_monthsShortRegex")||(this._monthsShortRegex=Mn),this._monthsShortStrictRegex&&V?this._monthsShortStrictRegex:this._monthsShortRegex)},be.week=function _t(V){return De(V,this._week.dow,this._week.doy).week},be.firstDayOfYear=function Jt(){return this._week.doy},be.firstDayOfWeek=function Bt(){return this._week.dow},be.weekdays=function lo(V,he){var ke=a(this._weekdays)?this._weekdays:this._weekdays[V&&!0!==V&&this._weekdays.isFormat.test(he)?"format":"standalone"];return!0===V?Gt(ke,this._week.dow):V?ke[V.day()]:ke},be.weekdaysMin=function _r(V){return!0===V?Gt(this._weekdaysMin,this._week.dow):V?this._weekdaysMin[V.day()]:this._weekdaysMin},be.weekdaysShort=function vi(V){return!0===V?Gt(this._weekdaysShort,this._week.dow):V?this._weekdaysShort[V.day()]:this._weekdaysShort},be.weekdaysParse=function Gn(V,he,ke){var ze,lt,Vt;if(this._weekdaysParseExact)return In.call(this,V,he,ke);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),ze=0;ze<7;ze++){if(lt=C([2e3,1]).day(ze),ke&&!this._fullWeekdaysParse[ze]&&(this._fullWeekdaysParse[ze]=new RegExp("^"+this.weekdays(lt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[ze]=new RegExp("^"+this.weekdaysShort(lt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[ze]=new RegExp("^"+this.weekdaysMin(lt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[ze]||(Vt="^"+this.weekdays(lt,"")+"|^"+this.weekdaysShort(lt,"")+"|^"+this.weekdaysMin(lt,""),this._weekdaysParse[ze]=new RegExp(Vt.replace(".",""),"i")),ke&&"dddd"===he&&this._fullWeekdaysParse[ze].test(V))return ze;if(ke&&"ddd"===he&&this._shortWeekdaysParse[ze].test(V))return ze;if(ke&&"dd"===he&&this._minWeekdaysParse[ze].test(V))return ze;if(!ke&&this._weekdaysParse[ze].test(V))return ze}},be.weekdaysRegex=function Fn(V){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Xr.call(this),V?this._weekdaysStrictRegex:this._weekdaysRegex):(e(this,"_weekdaysRegex")||(this._weekdaysRegex=Nr),this._weekdaysStrictRegex&&V?this._weekdaysStrictRegex:this._weekdaysRegex)},be.weekdaysShortRegex=function ti(V){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Xr.call(this),V?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(e(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Lr),this._weekdaysShortStrictRegex&&V?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},be.weekdaysMinRegex=function Zr(V){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Xr.call(this),V?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(e(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=dt),this._weekdaysMinStrictRegex&&V?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},be.isPM=function go(V){return"p"===(V+"").toLowerCase().charAt(0)},be.meridiem=function qi(V,he,ke){return V>11?ke?"pm":"PM":ke?"am":"AM"},yi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(V){var he=V%10;return V+(1===bn(V%100/10)?"th":1===he?"st":2===he?"nd":3===he?"rd":"th")}}),i.lang=P("moment.lang is deprecated. Use moment.locale instead.",yi),i.langData=P("moment.langData is deprecated. Use moment.localeData instead.",zr);var xr=Math.abs;function vo(V,he,ke,ze){var lt=fr(he,ke);return V._milliseconds+=ze*lt._milliseconds,V._days+=ze*lt._days,V._months+=ze*lt._months,V._bubble()}function ha(V){return V<0?Math.floor(V):Math.ceil(V)}function Dr(V){return 4800*V/146097}function Ha(V){return 146097*V/4800}function Is(V){return function(){return this.as(V)}}var tc=Is("ms"),vu=Is("s"),Ig=Is("m"),yu=Is("h"),Ay=Is("d"),Ty=Is("w"),Iy=Is("M"),ps=Is("Q"),nc=Is("y"),Vr=tc;function wa(V){return function(){return this.isValid()?this._data[V]:NaN}}var Bd=wa("milliseconds"),Py=wa("seconds"),Pg=wa("minutes"),bu=wa("hours"),ll=wa("days"),Ud=wa("months"),Wo=wa("years");var fa=Math.round,cl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ul(V,he,ke,ze,lt){return lt.relativeTime(he||1,!!ke,V,ze)}var Su=Math.abs;function Da(V){return(V>0)-(V<0)||+V}function Zs(){if(!this.isValid())return this.localeData().invalidDate();var ze,lt,Vt,Dn,Kr,fi,us,Xs,V=Su(this._milliseconds)/1e3,he=Su(this._days),ke=Su(this._months),rr=this.asSeconds();return rr?(ze=nn(V/60),lt=nn(ze/60),V%=60,ze%=60,Vt=nn(ke/12),ke%=12,Dn=V?V.toFixed(3).replace(/\.?0+$/,""):"",Kr=rr<0?"-":"",fi=Da(this._months)!==Da(rr)?"-":"",us=Da(this._days)!==Da(rr)?"-":"",Xs=Da(this._milliseconds)!==Da(rr)?"-":"",Kr+"P"+(Vt?fi+Vt+"Y":"")+(ke?fi+ke+"M":"")+(he?us+he+"D":"")+(lt||ze||V?"T":"")+(lt?Xs+lt+"H":"")+(ze?Xs+ze+"M":"")+(V?Xs+Dn+"S":"")):"P0D"}var Ci=Xo.prototype;return Ci.isValid=function is(){return this._isValid},Ci.abs=function di(){var V=this._data;return this._milliseconds=xr(this._milliseconds),this._days=xr(this._days),this._months=xr(this._months),V.milliseconds=xr(V.milliseconds),V.seconds=xr(V.seconds),V.minutes=xr(V.minutes),V.hours=xr(V.hours),V.months=xr(V.months),V.years=xr(V.years),this},Ci.add=function da(V,he){return vo(this,V,he,1)},Ci.subtract=function Hs(V,he){return vo(this,V,he,-1)},Ci.as=function _u(V){if(!this.isValid())return NaN;var he,ke,ze=this._milliseconds;if("month"===(V=Pt(V))||"quarter"===V||"year"===V)switch(he=this._days+ze/864e5,ke=this._months+Dr(he),V){case"month":return ke;case"quarter":return ke/3;case"year":return ke/12}else switch(he=this._days+Math.round(Ha(this._months)),V){case"week":return he/7+ze/6048e5;case"day":return he+ze/864e5;case"hour":return 24*he+ze/36e5;case"minute":return 1440*he+ze/6e4;case"second":return 86400*he+ze/1e3;case"millisecond":return Math.floor(864e5*he)+ze;default:throw new Error("Unknown unit "+V)}},Ci.asMilliseconds=tc,Ci.asSeconds=vu,Ci.asMinutes=Ig,Ci.asHours=yu,Ci.asDays=Ay,Ci.asWeeks=Ty,Ci.asMonths=Iy,Ci.asQuarters=ps,Ci.asYears=nc,Ci.valueOf=Vr,Ci._bubble=function to(){var lt,Vt,Dn,rr,Kr,V=this._milliseconds,he=this._days,ke=this._months,ze=this._data;return V>=0&&he>=0&&ke>=0||V<=0&&he<=0&&ke<=0||(V+=864e5*ha(Ha(ke)+he),he=0,ke=0),ze.milliseconds=V%1e3,lt=nn(V/1e3),ze.seconds=lt%60,Vt=nn(lt/60),ze.minutes=Vt%60,Dn=nn(Vt/60),ze.hours=Dn%24,he+=nn(Dn/24),ke+=Kr=nn(Dr(he)),he-=ha(Ha(Kr)),rr=nn(ke/12),ke%=12,ze.days=he,ze.months=ke,ze.years=rr,this},Ci.clone=function Bi(){return fr(this)},Ci.get=function al(V){return V=Pt(V),this.isValid()?this[V+"s"]():NaN},Ci.milliseconds=Bd,Ci.seconds=Py,Ci.minutes=Pg,Ci.hours=bu,Ci.days=ll,Ci.weeks=function Hd(){return nn(this.days()/7)},Ci.months=Ud,Ci.years=Wo,Ci.humanize=function xg(V,he){if(!this.isValid())return this.localeData().invalidDate();var lt,Vt,ke=!1,ze=cl;return"object"==typeof V&&(he=V,V=!1),"boolean"==typeof V&&(ke=V),"object"==typeof he&&(ze=Object.assign({},cl,he),null!=he.s&&null==he.ss&&(ze.ss=he.s-1)),Vt=function Cu(V,he,ke,ze){var lt=fr(V).abs(),Vt=fa(lt.as("s")),Dn=fa(lt.as("m")),rr=fa(lt.as("h")),Kr=fa(lt.as("d")),fi=fa(lt.as("M")),us=fa(lt.as("w")),Xs=fa(lt.as("y")),ga=Vt<=ke.ss&&["s",Vt]||Vt0,ga[4]=ze,ul.apply(null,ga)}(this,!ke,ze,lt=this.localeData()),ke&&(Vt=lt.pastFuture(+this,Vt)),lt.postformat(Vt)},Ci.toISOString=Zs,Ci.toString=Zs,Ci.toJSON=Zs,Ci.locale=gr,Ci.localeData=$r,Ci.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zs),Ci.lang=yr,le("X",0,0,"unix"),le("x",0,0,"valueOf"),At("x",ut),At("X",/[+-]?\d+(\.\d{1,3})?/),rn("X",function(V,he,ke){ke._d=new Date(1e3*parseFloat(V))}),rn("x",function(V,he,ke){ke._d=new Date(bn(V))}),i.version="2.30.1",function d(V){n=V}(Ot),i.fn=Un,i.min=function Eo(){return Wi("isBefore",[].slice.call(arguments,0))},i.max=function Ao(){return Wi("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=C,i.unix=function ec(V){return Ot(1e3*V)},i.months=function it(V,he){return Se(V,he,"months")},i.isDate=v,i.locale=yi,i.invalid=E,i.duration=fr,i.isMoment=j,i.weekdays=function gn(V,he,ke){return We(V,he,ke,"weekdays")},i.parseZone=function ms(){return Ot.apply(null,arguments).parseZone()},i.localeData=zr,i.isDuration=xo,i.monthsShort=function Lt(V,he){return Se(V,he,"monthsShort")},i.weekdaysMin=function Xn(V,he,ke){return We(V,he,ke,"weekdaysMin")},i.defineLocale=Mo,i.updateLocale=function po(V,he){if(null!=he){var ke,ze,lt=ro;null!=Rr[V]&&null!=Rr[V].parentLocale?Rr[V].set(G(Rr[V]._config,he)):(null!=(ze=wi(V))&&(lt=ze._config),he=G(lt,he),null==ze&&(he.abbr=V),(ke=new te(he)).parentLocale=Rr[V],Rr[V]=ke),yi(V)}else null!=Rr[V]&&(null!=Rr[V].parentLocale?(Rr[V]=Rr[V].parentLocale,V===yi()&&yi(V)):null!=Rr[V]&&delete Rr[V]);return Rr[V]},i.locales=function bo(){return ue(Rr)},i.weekdaysShort=function ln(V,he,ke){return We(V,he,ke,"weekdaysShort")},i.normalizeUnits=Pt,i.relativeTimeRounding=function rc(V){return void 0===V?fa:"function"==typeof V&&(fa=V,!0)},i.relativeTimeThreshold=function kg(V,he){return void 0!==cl[V]&&(void 0===he?cl[V]:(cl[V]=he,"s"===V&&(cl.ss=he-1),!0))},i.calendarFormat=function oo(V,he){var ke=V.diff(he,"days",!0);return ke<-6?"sameElse":ke<-1?"lastWeek":ke<0?"lastDay":ke<1?"sameDay":ke<2?"nextDay":ke<7?"nextWeek":"sameElse"},i.prototype=Un,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},35584:(module,__unused_webpack_exports,__webpack_require__)=>{var _asyncToGenerator=__webpack_require__(1196).default,o;globalThis,o=()=>(()=>{"use strict";var __webpack_modules__=[,(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.VerbosityLevel=h.Util=h.UnknownErrorException=h.UnexpectedResponseException=h.UNSUPPORTED_FEATURES=h.TextRenderingMode=h.StreamType=h.RenderingIntentFlag=h.PermissionFlag=h.PasswordResponses=h.PasswordException=h.PageActionEventType=h.OPS=h.MissingPDFException=h.LINE_FACTOR=h.LINE_DESCENT_FACTOR=h.InvalidPDFException=h.ImageKind=h.IDENTITY_MATRIX=h.FormatError=h.FontType=h.FeatureTest=h.FONT_IDENTITY_MATRIX=h.DocumentActionEventType=h.CMapCompressionType=h.BaseException=h.AnnotationType=h.AnnotationStateModelType=h.AnnotationReviewState=h.AnnotationReplyType=h.AnnotationMode=h.AnnotationMarkedState=h.AnnotationFlag=h.AnnotationFieldFlag=h.AnnotationEditorType=h.AnnotationEditorPrefix=h.AnnotationEditorParamsType=h.AnnotationBorderStyleType=h.AnnotationActionEventType=h.AbortException=void 0,h.arrayByteLength=mt,h.arraysToBytes=function Qe(ut){const wt=ut.length;if(1===wt&&ut[0]instanceof Uint8Array)return ut[0];let st=0;for(let It=0;Itwt}),ut.promise=new Promise(function(st,zt){ut.resolve=function(pt){wt=!0,st(pt)},ut.reject=function(pt){wt=!0,zt(pt)}}),ut},h.createValidAbsoluteUrl=function $(ut,wt=null,st=null){if(!ut)return null;try{if(st&&"string"==typeof ut){if(st.addDefaultProtocol&&ut.startsWith("www.")){const pt=ut.match(/\./g);pt&&pt.length>=2&&(ut=`http://${ut}`)}if(st.tryConvertEncoding)try{ut=Te(ut)}catch{}}const zt=wt?new URL(ut,wt):new URL(ut);if(function Y(ut){if(!ut)return!1;switch(ut.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(zt))return zt}catch{}return null},h.escapeString=function ht(ut){return ut.replace(/([()\\\n\r])/g,wt=>"\n"===wt?"\\n":"\r"===wt?"\\r":`\\${wt}`)},h.getModificationDate=function He(ut=new Date){return[ut.getUTCFullYear().toString(),(ut.getUTCMonth()+1).toString().padStart(2,"0"),ut.getUTCDate().toString().padStart(2,"0"),ut.getUTCHours().toString().padStart(2,"0"),ut.getUTCMinutes().toString().padStart(2,"0"),ut.getUTCSeconds().toString().padStart(2,"0")].join("")},h.getVerbosityLevel=function se(){return te},h.info=function K(ut){te>=x.INFOS&&console.log(`Info: ${ut}`)},h.isArrayBuffer=function je(ut){return"object"==typeof ut&&null!==ut&&void 0!==ut.byteLength},h.isArrayEqual=function gt(ut,wt){if(ut.length!==wt.length)return!1;for(let st=0,zt=ut.length;st>24&255,ut>>16&255,ut>>8&255,255&ut)},h.stringToBytes=tt,h.stringToPDFString=function qt(ut){if(ut[0]>="\xef"){let st;if("\xfe"===ut[0]&&"\xff"===ut[1]?st="utf-16be":"\xff"===ut[0]&&"\xfe"===ut[1]?st="utf-16le":"\xef"===ut[0]&&"\xbb"===ut[1]&&"\xbf"===ut[2]&&(st="utf-8"),st)try{const zt=new TextDecoder(st,{fatal:!0}),pt=tt(ut);return zt.decode(pt)}catch(zt){Z(`stringToPDFString: "${zt}".`)}}const wt=[];for(let st=0,zt=ut.length;st>8&255),String.fromCharCode(255&pt))}return wt.join("")},h.stringToUTF8String=Te,h.unreachable=re,h.utf8StringToString=function $e(ut){return unescape(encodeURIComponent(ut))},h.warn=Z,o(2),h.IDENTITY_MATRIX=[1,0,0,1,0,0],h.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],h.LINE_FACTOR=1.35,h.LINE_DESCENT_FACTOR=.35,h.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},h.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},h.AnnotationEditorPrefix="pdfjs_internal_editor_",h.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15},h.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13},h.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},h.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},h.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},h.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},h.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},h.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},h.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},h.AnnotationReplyType={GROUP:"Group",REPLY:"R"},h.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},h.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},h.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},h.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},h.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},h.PageActionEventType={O:"PageOpen",C:"PageClose"},h.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},h.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};const x={ERRORS:0,WARNINGS:1,INFOS:5};h.VerbosityLevel=x,h.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},h.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},h.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"},h.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let te=x.WARNINGS;function Z(ut){te>=x.WARNINGS&&console.log(`Warning: ${ut}`)}function re(ut){throw new Error(ut)}function le(ut,wt,st){return Object.defineProperty(ut,wt,{value:st,enumerable:!0,configurable:!0,writable:!1}),st}const ee=function(){function wt(st,zt){this.constructor===wt&&re("Cannot initialize BaseException."),this.message=st,this.name=zt}return wt.prototype=new Error,wt.constructor=wt,wt}();function tt(ut){"string"!=typeof ut&&re("Invalid argument for stringToBytes");const wt=ut.length,st=new Uint8Array(wt);for(let zt=0;ztut.toString(16).padStart(2,"0"));class An{static makeHexColor(wt,st,zt){return`#${wn[wt]}${wn[st]}${wn[zt]}`}static scaleMinMax(wt,st){let zt;wt[0]?(wt[0]<0&&(zt=st[0],st[0]=st[1],st[1]=zt),st[0]*=wt[0],st[1]*=wt[0],wt[3]<0&&(zt=st[2],st[2]=st[3],st[3]=zt),st[2]*=wt[3],st[3]*=wt[3]):(zt=st[0],st[0]=st[2],st[2]=zt,zt=st[1],st[1]=st[3],st[3]=zt,wt[1]<0&&(zt=st[2],st[2]=st[3],st[3]=zt),st[2]*=wt[1],st[3]*=wt[1],wt[2]<0&&(zt=st[0],st[0]=st[1],st[1]=zt),st[0]*=wt[2],st[1]*=wt[2]),st[0]+=wt[4],st[1]+=wt[4],st[2]+=wt[5],st[3]+=wt[5]}static transform(wt,st){return[wt[0]*st[0]+wt[2]*st[1],wt[1]*st[0]+wt[3]*st[1],wt[0]*st[2]+wt[2]*st[3],wt[1]*st[2]+wt[3]*st[3],wt[0]*st[4]+wt[2]*st[5]+wt[4],wt[1]*st[4]+wt[3]*st[5]+wt[5]]}static applyTransform(wt,st){return[wt[0]*st[0]+wt[1]*st[2]+st[4],wt[0]*st[1]+wt[1]*st[3]+st[5]]}static applyInverseTransform(wt,st){const zt=st[0]*st[3]-st[1]*st[2];return[(wt[0]*st[3]-wt[1]*st[2]+st[2]*st[5]-st[4]*st[3])/zt,(-wt[0]*st[1]+wt[1]*st[0]+st[4]*st[1]-st[5]*st[0])/zt]}static getAxialAlignedBoundingBox(wt,st){const zt=An.applyTransform(wt,st),pt=An.applyTransform(wt.slice(2,4),st),It=An.applyTransform([wt[0],wt[3]],st),Yt=An.applyTransform([wt[2],wt[1]],st);return[Math.min(zt[0],pt[0],It[0],Yt[0]),Math.min(zt[1],pt[1],It[1],Yt[1]),Math.max(zt[0],pt[0],It[0],Yt[0]),Math.max(zt[1],pt[1],It[1],Yt[1])]}static inverseTransform(wt){const st=wt[0]*wt[3]-wt[1]*wt[2];return[wt[3]/st,-wt[1]/st,-wt[2]/st,wt[0]/st,(wt[2]*wt[5]-wt[4]*wt[3])/st,(wt[4]*wt[1]-wt[5]*wt[0])/st]}static apply3dTransform(wt,st){return[wt[0]*st[0]+wt[1]*st[1]+wt[2]*st[2],wt[3]*st[0]+wt[4]*st[1]+wt[5]*st[2],wt[6]*st[0]+wt[7]*st[1]+wt[8]*st[2]]}static singularValueDecompose2dScale(wt){const st=[wt[0],wt[2],wt[1],wt[3]],zt=wt[0]*st[0]+wt[1]*st[2],Yt=wt[2]*st[1]+wt[3]*st[3],Xt=(zt+Yt)/2,At=Math.sqrt((zt+Yt)**2-4*(zt*Yt-(wt[2]*st[0]+wt[3]*st[2])*(wt[0]*st[1]+wt[1]*st[3])))/2,St=Xt-At||1;return[Math.sqrt(Xt+At||1),Math.sqrt(St)]}static normalizeRect(wt){const st=wt.slice(0);return wt[0]>wt[2]&&(st[0]=wt[2],st[2]=wt[0]),wt[1]>wt[3]&&(st[1]=wt[3],st[3]=wt[1]),st}static intersect(wt,st){const zt=Math.max(Math.min(wt[0],wt[2]),Math.min(st[0],st[2])),pt=Math.min(Math.max(wt[0],wt[2]),Math.max(st[0],st[2]));if(zt>pt)return null;const It=Math.max(Math.min(wt[1],wt[3]),Math.min(st[1],st[3])),Yt=Math.min(Math.max(wt[1],wt[3]),Math.max(st[1],st[3]));return It>Yt?null:[zt,It,pt,Yt]}static bezierBoundingBox(wt,st,zt,pt,It,Yt,Xt,At){const $t=[],St=[[],[]];let xt,nn,bn,Tn,rn,nr,kr,Br;for(let qn=0;qn<2;++qn)if(0===qn?(nn=6*wt-12*zt+6*It,xt=-3*wt+9*zt-9*It+3*Xt,bn=3*zt-3*wt):(nn=6*st-12*pt+6*Yt,xt=-3*st+9*pt-9*Yt+3*At,bn=3*pt-3*st),Math.abs(xt)<1e-12){if(Math.abs(nn)<1e-12)continue;Tn=-bn/nn,0{o(3)},(pe,h)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.isNodeJS=void 0;const o=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);h.isNodeJS=o},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorkerUtil=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _util=__w_pdfjs_require__(1),_annotation_storage=__w_pdfjs_require__(5),_display_utils=__w_pdfjs_require__(8),_font_loader=__w_pdfjs_require__(11),_canvas=__w_pdfjs_require__(12),_worker_options=__w_pdfjs_require__(15),_is_node=__w_pdfjs_require__(3),_message_handler=__w_pdfjs_require__(16),_metadata=__w_pdfjs_require__(17),_optional_content_config=__w_pdfjs_require__(18),_transport_stream=__w_pdfjs_require__(19),_xfa_text=__w_pdfjs_require__(20);const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100;let DefaultCanvasFactory=_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;let DefaultCMapReaderFactory=_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;let DefaultStandardFontDataFactory=_display_utils.DOMStandardFontDataFactory,createPDFNetworkStream;if(exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory,_is_node.isNodeJS){const{NodeCanvasFactory:pe,NodeCMapReaderFactory:h,NodeStandardFontDataFactory:o}=__w_pdfjs_require__(21);exports.DefaultCanvasFactory=DefaultCanvasFactory=pe,exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory=h,exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory=o}function setPDFNetworkStreamFactory(pe){createPDFNetworkStream=pe}function getDocument(pe){const h=new PDFDocumentLoadingTask;let o;if("string"==typeof pe||pe instanceof URL)o={url:pe};else if((0,_util.isArrayBuffer)(pe))o={data:pe};else if(pe instanceof PDFDataRangeTransport)o={range:pe};else{if("object"!=typeof pe)throw new Error("Invalid parameter in getDocument, need either string, URL, TypedArray, or parameter object.");if(!pe.url&&!pe.data&&!pe.range)throw new Error("Invalid parameter object: need either .data, .range or .url");o=pe}const n=Object.create(null);let i=null,d=null;for(const l in o){const e=o[l];switch(l){case"url":if(typeof window<"u")try{n[l]=new URL(e,window.location).href;continue}catch(u){(0,_util.warn)(`Cannot create valid URL: "${u}".`)}else if("string"==typeof e||e instanceof URL){n[l]=e.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":i=e;continue;case"worker":d=e;continue;case"data":if(_is_node.isNodeJS&&typeof Buffer<"u"&&e instanceof Buffer)n[l]=new Uint8Array(e);else{if(e instanceof Uint8Array)break;if("string"==typeof e)n[l]=(0,_util.stringToBytes)(e);else if("object"!=typeof e||null===e||isNaN(e.length)){if(!(0,_util.isArrayBuffer)(e))throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.");n[l]=new Uint8Array(e)}else n[l]=new Uint8Array(e)}continue}n[l]=e}if(n.CMapReaderFactory=n.CMapReaderFactory||DefaultCMapReaderFactory,n.StandardFontDataFactory=n.StandardFontDataFactory||DefaultStandardFontDataFactory,n.ignoreErrors=!0!==n.stopAtErrors,n.fontExtraProperties=!0===n.fontExtraProperties,n.pdfBug=!0===n.pdfBug,n.enableXfa=!0===n.enableXfa,(!Number.isInteger(n.rangeChunkSize)||n.rangeChunkSize<1)&&(n.rangeChunkSize=DEFAULT_RANGE_CHUNK_SIZE),("string"!=typeof n.docBaseUrl||(0,_display_utils.isDataScheme)(n.docBaseUrl))&&(n.docBaseUrl=null),(!Number.isInteger(n.maxImageSize)||n.maxImageSize<-1)&&(n.maxImageSize=-1),"string"!=typeof n.cMapUrl&&(n.cMapUrl=null),"string"!=typeof n.standardFontDataUrl&&(n.standardFontDataUrl=null),"boolean"!=typeof n.useWorkerFetch&&(n.useWorkerFetch=n.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&n.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),"boolean"!=typeof n.isEvalSupported&&(n.isEvalSupported=!0),"boolean"!=typeof n.disableFontFace&&(n.disableFontFace=_is_node.isNodeJS),"boolean"!=typeof n.useSystemFonts&&(n.useSystemFonts=!_is_node.isNodeJS&&!n.disableFontFace),("object"!=typeof n.ownerDocument||null===n.ownerDocument)&&(n.ownerDocument=globalThis.document),"boolean"!=typeof n.disableRange&&(n.disableRange=!1),"boolean"!=typeof n.disableStream&&(n.disableStream=!1),"boolean"!=typeof n.disableAutoFetch&&(n.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(n.verbosity),!d){const l={verbosity:n.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};d=l.port?PDFWorker.fromPort(l):new PDFWorker(l),h._worker=d}const a=h.docId;return d.promise.then(function(){if(h.destroyed)throw new Error("Loading aborted");const l=_fetchDocument(d,n,i,a),e=new Promise(function(u){let c;i?c=new _transport_stream.PDFDataTransportStream({length:n.length,initialData:n.initialData,progressiveDone:n.progressiveDone,contentDispositionFilename:n.contentDispositionFilename,disableRange:n.disableRange,disableStream:n.disableStream},i):n.data||(c=createPDFNetworkStream({url:n.url,length:n.length,httpHeaders:n.httpHeaders,withCredentials:n.withCredentials,rangeChunkSize:n.rangeChunkSize,disableRange:n.disableRange,disableStream:n.disableStream})),u(c)});return Promise.all([l,e]).then(function([u,c]){if(h.destroyed)throw new Error("Loading aborted");const g=new _message_handler.MessageHandler(a,u,d.port),v=new WorkerTransport(g,h,c,n);h._transport=v,g.send("Ready",null)})}).catch(h._capability.reject),h}function _fetchDocument(pe,h,o,n){return _fetchDocument2.apply(this,arguments)}function _fetchDocument2(){return(_fetchDocument2=_asyncToGenerator(function*(pe,h,o,n){if(pe.destroyed)throw new Error("Worker was destroyed");o&&(h.length=o.length,h.initialData=o.initialData,h.progressiveDone=o.progressiveDone,h.contentDispositionFilename=o.contentDispositionFilename);const i=yield pe.messageHandler.sendWithPromise("GetDocRequest",{docId:n,apiVersion:"2.16.105",source:{data:h.data,url:h.url,password:h.password,disableAutoFetch:h.disableAutoFetch,rangeChunkSize:h.rangeChunkSize,length:h.length},maxImageSize:h.maxImageSize,disableFontFace:h.disableFontFace,docBaseUrl:h.docBaseUrl,ignoreErrors:h.ignoreErrors,isEvalSupported:h.isEvalSupported,fontExtraProperties:h.fontExtraProperties,enableXfa:h.enableXfa,useSystemFonts:h.useSystemFonts,cMapUrl:h.useWorkerFetch?h.cMapUrl:null,standardFontDataUrl:h.useWorkerFetch?h.standardFontDataUrl:null});if(h.data&&(h.data=null),pe.destroyed)throw new Error("Worker was destroyed");return i})).apply(this,arguments)}class PDFDocumentLoadingTask{static#e=0;constructor(){this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+PDFDocumentLoadingTask.#e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}destroy(){var h=this;return _asyncToGenerator(function*(){h.destroyed=!0,yield h._transport?.destroy(),h._transport=null,h._worker&&(h._worker.destroy(),h._worker=null)})()}}exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;class PDFDataRangeTransport{constructor(h,o,n=!1,i=null){this.length=h,this.initialData=o,this.progressiveDone=n,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(h){this._rangeListeners.push(h)}addProgressListener(h){this._progressListeners.push(h)}addProgressiveReadListener(h){this._progressiveReadListeners.push(h)}addProgressiveDoneListener(h){this._progressiveDoneListeners.push(h)}onDataRange(h,o){for(const n of this._rangeListeners)n(h,o)}onDataProgress(h,o){this._readyCapability.promise.then(()=>{for(const n of this._progressListeners)n(h,o)})}onDataProgressiveRead(h){this._readyCapability.promise.then(()=>{for(const o of this._progressiveReadListeners)o(h)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const h of this._progressiveDoneListeners)h()})}transportReady(){this._readyCapability.resolve()}requestDataRange(h,o){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(h,o){var i,n=this;this._pdfInfo=h,this._transport=o,Object.defineProperty(this,"fingerprint",{get(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:(i=_asyncToGenerator(function*(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),n.stats||{streamTypes:{},fontTypes:{}}}),function(){return i.apply(this,arguments)})})}get annotationStorage(){return this._transport.annotationStorage}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get stats(){return this._transport.stats}get isPureXfa(){return!!this._transport._htmlForXfa}get allXfaHtml(){return this._transport._htmlForXfa}getPage(h){return this._transport.getPage(h)}getPageIndex(h){return this._transport.getPageIndex(h)}getDestinations(){return this._transport.getDestinations()}getDestination(h){return this._transport.getDestination(h)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(h=!1){return this._transport.startCleanup(h||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(h,o,n,i,d=!1){this._pageIndex=h,this._pageInfo=o,this._ownerDocument=i,this._transport=n,this._stats=d?new _display_utils.StatTimer:null,this._pdfBug=d,this.commonObjs=n.commonObjs,this.objs=new PDFObjects,this._bitmaps=new Set,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:h,rotation:o=this.rotate,offsetX:n=0,offsetY:i=0,dontFlip:d=!1}={}){return new _display_utils.PageViewport({viewBox:this.view,scale:h,rotation:o,offsetX:n,offsetY:i,dontFlip:d})}getAnnotations({intent:h="display"}={}){const o=this._transport.getRenderingIntent(h);let n=this._annotationPromises.get(o.cacheKey);return n||(n=this._transport.getAnnotations(this._pageIndex,o.renderingIntent),this._annotationPromises.set(o.cacheKey,n),n=n.then(i=>{for(const d of i)void 0!==d.titleObj&&Object.defineProperty(d,"title",{get:()=>((0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),d.titleObj.str)}),void 0!==d.contentsObj&&Object.defineProperty(d,"contents",{get:()=>((0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),d.contentsObj.str)});return i})),n}getJSActions(){return this._jsActionsPromise||=this._transport.getPageJSActions(this._pageIndex)}getXfa(){var h=this;return _asyncToGenerator(function*(){return h._transport._htmlForXfa?.children[h._pageIndex]||null})()}render({canvasContext:h,viewport:o,intent:n="display",annotationMode:i=_util.AnnotationMode.ENABLE,transform:d=null,imageLayer:a=null,canvasFactory:l=null,background:e=null,optionalContentConfigPromise:u=null,annotationCanvasMap:c=null,pageColors:g=null,printAnnotationStorage:v=null}){void 0!==arguments[0]?.renderInteractiveForms&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),!0===arguments[0].renderInteractiveForms&&i===_util.AnnotationMode.ENABLE&&(i=_util.AnnotationMode.ENABLE_FORMS)),void 0!==arguments[0]?.includeAnnotationStorage&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),!0===arguments[0].includeAnnotationStorage&&i===_util.AnnotationMode.ENABLE&&(i=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");const p=this._transport.getRenderingIntent(n,i,v);this.pendingCleanup=!1,u||(u=this._transport.getOptionalContentConfig());let S=this._intentStates.get(p.cacheKey);S||(S=Object.create(null),this._intentStates.set(p.cacheKey,S)),S.streamReaderCancelTimeout&&(clearTimeout(S.streamReaderCancelTimeout),S.streamReaderCancelTimeout=null);const C=l||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),_=!!(p.renderingIntent&_util.RenderingIntentFlag.PRINT);S.displayReadyCapability||(S.displayReadyCapability=(0,_util.createPromiseCapability)(),S.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(p));const f=E=>{S.renderTasks.delete(y),(this.cleanupAfterRender||_)&&(this.pendingCleanup=!0),this._tryCleanup(),E?(y.capability.reject(E),this._abortOperatorList({intentState:S,reason:E instanceof Error?E:new Error(E)})):y.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},y=new InternalRenderTask({callback:f,params:{canvasContext:h,viewport:o,transform:d,imageLayer:a,background:e},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:c,operatorList:S.operatorList,pageIndex:this._pageIndex,canvasFactory:C,useRequestAnimationFrame:!_,pdfBug:this._pdfBug,pageColors:g});(S.renderTasks||=new Set).add(y);const b=y.task;return Promise.all([S.displayReadyCapability.promise,u]).then(([E,M])=>{this.pendingCleanup?f():(this._stats&&this._stats.time("Rendering"),y.initializeGraphics({transparency:E,optionalContentConfig:M}),y.operatorListChanged())}).catch(f),b}getOperatorList({intent:h="display",annotationMode:o=_util.AnnotationMode.ENABLE,printAnnotationStorage:n=null}={}){const d=this._transport.getRenderingIntent(h,o,n,!0);let l,a=this._intentStates.get(d.cacheKey);return a||(a=Object.create(null),this._intentStates.set(d.cacheKey,a)),a.opListReadCapability||(l=Object.create(null),l.operatorListChanged=function i(){a.operatorList.lastChunk&&(a.opListReadCapability.resolve(a.operatorList),a.renderTasks.delete(l))},a.opListReadCapability=(0,_util.createPromiseCapability)(),(a.renderTasks||=new Set).add(l),a.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(d)),a.opListReadCapability.promise}streamTextContent({disableCombineTextItems:h=!1,includeMarkedContent:o=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,combineTextItems:!0!==h,includeMarkedContent:!0===o},{highWaterMark:100,size:i=>i.items.length})}getTextContent(h={}){if(this._transport._htmlForXfa)return this.getXfa().then(n=>_xfa_text.XfaText.textContent(n));const o=this.streamTextContent(h);return new Promise(function(n,i){const a=o.getReader(),l={items:[],styles:Object.create(null)};!function d(){a.read().then(function({value:e,done:u}){u?n(l):(Object.assign(l.styles,e.styles),l.items.push(...e.items),d())},i)}()})}getStructTree(){return this._structTreePromise||=this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const h=[];for(const o of this._intentStates.values())if(this._abortOperatorList({intentState:o,reason:new Error("Page was destroyed."),force:!0}),!o.opListReadCapability)for(const n of o.renderTasks)h.push(n.completed),n.cancel();this.objs.clear();for(const o of this._bitmaps)o.close();return this._bitmaps.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(h)}cleanup(h=!1){return this.pendingCleanup=!0,this._tryCleanup(h)}_tryCleanup(h=!1){if(!this.pendingCleanup)return!1;for(const{renderTasks:o,operatorList:n}of this._intentStates.values())if(o.size>0||!n.lastChunk)return!1;this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,h&&this._stats&&(this._stats=new _display_utils.StatTimer);for(const o of this._bitmaps)o.close();return this._bitmaps.clear(),this.pendingCleanup=!1,!0}_startRenderPage(h,o){const n=this._intentStates.get(o);n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(h))}_renderPageChunk(h,o){for(let n=0,i=h.length;n{d.read().then(({value:e,done:u})=>{u?a.streamReader=null:this._transport.destroyed||(this._renderPageChunk(e,a),l())},e=>{if(a.streamReader=null,!this._transport.destroyed){if(a.operatorList){a.operatorList.lastChunk=!0;for(const u of a.renderTasks)u.operatorListChanged();this._tryCleanup()}if(a.displayReadyCapability)a.displayReadyCapability.reject(e);else{if(!a.opListReadCapability)throw e;a.opListReadCapability.reject(e)}}})};l()}_abortOperatorList({intentState:h,reason:o,force:n=!1}){if(h.streamReader){if(!n){if(h.renderTasks.size>0)return;if(o instanceof _display_utils.RenderingCancelledException)return void(h.streamReaderCancelTimeout=setTimeout(()=>{this._abortOperatorList({intentState:h,reason:o,force:!0}),h.streamReaderCancelTimeout=null},RENDERING_CANCELLED_TIMEOUT))}if(h.streamReader.cancel(new _util.AbortException(o.message)).catch(()=>{}),h.streamReader=null,!this._transport.destroyed){for(const[i,d]of this._intentStates)if(d===h){this._intentStates.delete(i);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve()}postMessage(h,o){const n={data:structuredClone(h,o)};this._deferred.then(()=>{for(const i of this._listeners)i.call(this,n)})}addEventListener(h,o){this._listeners.push(o)}removeEventListener(h,o){const n=this._listeners.indexOf(o);this._listeners.splice(n,1)}terminate(){this._listeners.length=0}}exports.LoopbackPort=LoopbackPort;const PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};if(exports.PDFWorkerUtil=PDFWorkerUtil,_is_node.isNodeJS)PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if("object"==typeof document){const pe=document?.currentScript?.src;pe&&(PDFWorkerUtil.fallbackWorkerSrc=pe.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.isSameOrigin=function(pe,h){let o;try{if(o=new URL(pe),!o.origin||"null"===o.origin)return!1}catch{return!1}const n=new URL(h,o);return o.origin===n.origin},PDFWorkerUtil.createCDNWrapper=function(pe){return URL.createObjectURL(new Blob([`importScripts("${pe}");`]))};class PDFWorker{static#workerPorts=new WeakMap;constructor({name:pe=null,port:h=null,verbosity:o=(0,_util.getVerbosityLevel)()}={}){if(h&&PDFWorker.#workerPorts.has(h))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=pe,this.destroyed=!1,this.verbosity=o,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,h)return PDFWorker.#workerPorts.set(h,this),void this._initializeFromPort(h);this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(pe){this._port=pe,this._messageHandler=new _message_handler.MessageHandler("main","worker",pe),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()}_initialize(){if(!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let{workerSrc:pe}=PDFWorker;try{PDFWorkerUtil.isSameOrigin(window.location.href,pe)||(pe=PDFWorkerUtil.createCDNWrapper(new URL(pe,window.location).href));const h=new Worker(pe),o=new _message_handler.MessageHandler("main","worker",h),n=()=>{h.removeEventListener("error",i),o.destroy(),h.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},i=()=>{this._webWorker||n()};h.addEventListener("error",i),o.on("test",a=>{h.removeEventListener("error",i),this.destroyed?n():a?(this._messageHandler=o,this._port=h,this._webWorker=h,this._readyCapability.resolve(),o.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),o.destroy(),h.terminate())}),o.on("ready",a=>{if(h.removeEventListener("error",i),this.destroyed)n();else try{d()}catch{this._setupFakeWorker()}});const d=()=>{const a=new Uint8Array;o.send("test",a,[a.buffer])};return void d()}catch{(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then(pe=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const h=new LoopbackPort;this._port=h;const o="fake"+PDFWorkerUtil.fakeWorkerId++,n=new _message_handler.MessageHandler(o+"_worker",o,h);pe.setup(n,h);const i=new _message_handler.MessageHandler(o,o+"_worker",h);this._messageHandler=i,this._readyCapability.resolve(),i.send("configure",{verbosity:this.verbosity})}).catch(pe=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${pe.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),PDFWorker.#workerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(pe){if(!pe?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return this.#workerPorts.has(pe.port)?this.#workerPorts.get(pe.port):new PDFWorker(pe)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(null!==PDFWorkerUtil.fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){var _this4=this;const loader=function(){var _ref2=_asyncToGenerator(function*(){const mainWorkerMessageHandler=_this4._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS){const worker=eval("require")(_this4.workerSrc);return worker.WorkerMessageHandler}return yield(0,_display_utils.loadScript)(_this4.workerSrc),window.pdfjsWorker.WorkerMessageHandler});return function pe(){return _ref2.apply(this,arguments)}}();return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}exports.PDFWorker=PDFWorker,PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};class WorkerTransport{#e=null;#t=new Map;#n=new Map;#r=null;constructor(h,o,n,i){this.messageHandler=h,this.loadingTask=o,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:o.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this._params=i,i.useWorkerFetch||(this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.StandardFontDataFactory=new i.StandardFontDataFactory({baseUrl:i.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get stats(){return this.#e}getRenderingIntent(h,o=_util.AnnotationMode.ENABLE,n=null,i=!1){let d=_util.RenderingIntentFlag.DISPLAY,a=null;switch(h){case"any":d=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":d=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)(`getRenderingIntent - invalid intent: ${h}`)}switch(o){case _util.AnnotationMode.DISABLE:d+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:d+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:d+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,a=(d&_util.RenderingIntentFlag.PRINT&&n instanceof _annotation_storage.PrintAnnotationStorage?n:this.annotationStorage).serializable;break;default:(0,_util.warn)(`getRenderingIntent - invalid annotationMode: ${o}`)}return i&&(d+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:d,cacheKey:`${d}_${_annotation_storage.AnnotationStorage.getHash(a)}`,annotationStorageMap:a}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const h=[];for(const n of this.#t.values())h.push(n._destroy());this.#t.clear(),this.#n.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const o=this.messageHandler.sendWithPromise("Terminate",null);return h.push(o),Promise.all(h).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#r=null,this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:h,loadingTask:o}=this;h.on("GetReader",(n,i)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=d=>{this._lastProgress={loaded:d.loaded,total:d.total}},i.onPull=()=>{this._fullReader.read().then(function({value:d,done:a}){a?i.close():((0,_util.assert)((0,_util.isArrayBuffer)(d),"GetReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(d),1,[d]))}).catch(d=>{i.error(d)})},i.onCancel=d=>{this._fullReader.cancel(d),i.ready.catch(a=>{if(!this.destroyed)throw a})}}),h.on("ReaderHeadersReady",n=>{const i=(0,_util.createPromiseCapability)(),d=this._fullReader;return d.headersReady.then(()=>{(!d.isStreamingSupported||!d.isRangeSupported)&&(this._lastProgress&&o.onProgress?.(this._lastProgress),d.onProgress=a=>{o.onProgress?.({loaded:a.loaded,total:a.total})}),i.resolve({isStreamingSupported:d.isStreamingSupported,isRangeSupported:d.isRangeSupported,contentLength:d.contentLength})},i.reject),i.promise}),h.on("GetRangeReader",(n,i)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const d=this._networkStream.getRangeReader(n.begin,n.end);d?(i.onPull=()=>{d.read().then(function({value:a,done:l}){l?i.close():((0,_util.assert)((0,_util.isArrayBuffer)(a),"GetRangeReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(a),1,[a]))}).catch(a=>{i.error(a)})},i.onCancel=a=>{d.cancel(a),i.ready.catch(l=>{if(!this.destroyed)throw l})}):i.close()}),h.on("GetDoc",({pdfInfo:n})=>{this._numPages=n.numPages,this._htmlForXfa=n.htmlForXfa,delete n.htmlForXfa,o._capability.resolve(new PDFDocumentProxy(n,this))}),h.on("DocException",function(n){let i;switch(n.name){case"PasswordException":i=new _util.PasswordException(n.message,n.code);break;case"InvalidPDFException":i=new _util.InvalidPDFException(n.message);break;case"MissingPDFException":i=new _util.MissingPDFException(n.message);break;case"UnexpectedResponseException":i=new _util.UnexpectedResponseException(n.message,n.status);break;case"UnknownErrorException":i=new _util.UnknownErrorException(n.message,n.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}o._capability.reject(i)}),h.on("PasswordRequest",n=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),o.onPassword){const i=d=>{d instanceof Error?this._passwordCapability.reject(d):this._passwordCapability.resolve({password:d})};try{o.onPassword(i,n.code)}catch(d){this._passwordCapability.reject(d)}}else this._passwordCapability.reject(new _util.PasswordException(n.message,n.code));return this._passwordCapability.promise}),h.on("DataLoaded",n=>{o.onProgress?.({loaded:n.length,total:n.length}),this.downloadInfoCapability.resolve(n)}),h.on("StartRenderPage",n=>{this.destroyed||this.#t.get(n.pageIndex)._startRenderPage(n.transparency,n.cacheKey)}),h.on("commonobj",([n,i,d])=>{if(!this.destroyed&&!this.commonObjs.has(n))switch(i){case"Font":const a=this._params;if("error"in d){const u=d.error;(0,_util.warn)(`Error during font loading: ${u}`),this.commonObjs.resolve(n,u);break}let l=null;a.pdfBug&&globalThis.FontInspector?.enabled&&(l={registerFont(u,c){globalThis.FontInspector.fontAdded(u,c)}});const e=new _font_loader.FontFaceObject(d,{isEvalSupported:a.isEvalSupported,disableFontFace:a.disableFontFace,ignoreErrors:a.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:l});this.fontLoader.bind(e).catch(u=>h.sendWithPromise("FontFallback",{id:n})).finally(()=>{!a.fontExtraProperties&&e.data&&(e.data=null),this.commonObjs.resolve(n,e)});break;case"FontPath":case"Image":this.commonObjs.resolve(n,d);break;default:throw new Error(`Got unknown common object type ${i}`)}}),h.on("obj",([n,i,d,a])=>{if(this.destroyed)return;const l=this.#t.get(i);if(!l.objs.has(n))switch(d){case"Image":l.objs.resolve(n,a);const e=8e6;if(a){let u;if(a.bitmap){const{bitmap:c,width:g,height:v}=a;u=g*v*4,l._bitmaps.add(c)}else u=a.data?.length||0;u>e&&(l.cleanupAfterRender=!0)}break;case"Pattern":l.objs.resolve(n,a);break;default:throw new Error(`Got unknown object type ${d}`)}}),h.on("DocProgress",n=>{this.destroyed||o.onProgress?.({loaded:n.loaded,total:n.total})}),h.on("DocStats",n=>{this.destroyed||(this.#e=Object.freeze({streamTypes:Object.freeze(n.streamTypes),fontTypes:Object.freeze(n.fontTypes)}))}),h.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),h.on("FetchBuiltInCMap",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.CMapReaderFactory?this.CMapReaderFactory.fetch(n):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),h.on("FetchStandardFontData",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.StandardFontDataFactory?this.StandardFontDataFactory.fetch(n):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}_onUnsupportedFeature({featureId:h}){this.destroyed||this.loadingTask.onUnsupportedFeature?.(h)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(h){if(!Number.isInteger(h)||h<=0||h>this._numPages)return Promise.reject(new Error("Invalid page request."));const o=h-1,n=this.#n.get(o);if(n)return n;const i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:o}).then(d=>{if(this.destroyed)throw new Error("Transport destroyed");const a=new PDFPageProxy(o,d,this,this._params.ownerDocument,this._params.pdfBug);return this.#t.set(o,a),a});return this.#n.set(o,i),i}getPageIndex(h){return"object"!=typeof h||null===h||!Number.isInteger(h.num)||h.num<0||!Number.isInteger(h.gen)||h.gen<0?Promise.reject(new Error("Invalid pageIndex request.")):this.messageHandler.sendWithPromise("GetPageIndex",{num:h.num,gen:h.gen})}getAnnotations(h,o){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:h,intent:o})}saveDocument(){return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:this._fullReader?.filename??null}).finally(()=>{this.annotationStorage.resetModified()})}getFieldObjects(){return this._getFieldObjectsPromise||=this.messageHandler.sendWithPromise("GetFieldObjects",null)}hasJSActions(){return this._hasJSActionsPromise||=this.messageHandler.sendWithPromise("HasJSActions",null)}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(h){return"string"!=typeof h?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:h})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(h){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:h})}getStructTree(h){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:h})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then(h=>new _optional_content_config.OptionalContentConfig(h))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return this.#r||=this.messageHandler.sendWithPromise("GetMetadata",null).then(h=>({info:h[0],metadata:h[1]?new _metadata.Metadata(h[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}startCleanup(h=!1){var o=this;return _asyncToGenerator(function*(){if(yield o.messageHandler.sendWithPromise("Cleanup",null),!o.destroyed){for(const n of o.#t.values())if(!n.cleanup())throw new Error(`startCleanup: Page ${n.pageNumber} is currently rendering.`);o.commonObjs.clear(),h||o.fontLoader.clear(),o.#r=null,o._getFieldObjectsPromise=null,o._hasJSActionsPromise=null}})()}get loadingParams(){const h=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:h.disableAutoFetch,enableXfa:h.enableXfa})}}class PDFObjects{#e=Object.create(null);#t(h){return this.#e[h]||(this.#e[h]={capability:(0,_util.createPromiseCapability)(),data:null})}get(h,o=null){if(o){const i=this.#t(h);return i.capability.promise.then(()=>o(i.data)),null}const n=this.#e[h];if(!n?.capability.settled)throw new Error(`Requesting object that isn't resolved yet ${h}.`);return n.data}has(h){return this.#e[h]?.capability.settled||!1}resolve(h,o=null){const n=this.#t(h);n.data=o,n.capability.resolve()}clear(){this.#e=Object.create(null)}}class RenderTask{#e=null;constructor(h){this.#e=h,this.onContinue=null}get promise(){return this.#e.capability.promise}cancel(){this.#e.cancel()}get separateAnnots(){const{separateAnnots:h}=this.#e.operatorList;if(!h)return!1;const{annotationCanvasMap:o}=this.#e;return h.form||h.canvas&&o?.size>0}}exports.RenderTask=RenderTask;class InternalRenderTask{static#e=new WeakSet;constructor({callback:h,params:o,objs:n,commonObjs:i,annotationCanvasMap:d,operatorList:a,pageIndex:l,canvasFactory:e,useRequestAnimationFrame:u=!1,pdfBug:c=!1,pageColors:g=null}){this.callback=h,this.params=o,this.objs=n,this.commonObjs=i,this.annotationCanvasMap=d,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=l,this.canvasFactory=e,this._pdfBug=c,this.pageColors=g,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===u&&typeof window<"u",this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=o.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:h=!1,optionalContentConfig:o}){if(this.cancelled)return;if(this._canvas){if(InternalRenderTask.#e.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");InternalRenderTask.#e.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:n,viewport:i,transform:d,imageLayer:a,background:l}=this.params;this.gfx=new _canvas.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,a,o,this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:d,viewport:i,transparency:h,background:l}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(h=null){this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&InternalRenderTask.#e.delete(this._canvas),this.callback(h||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,"canvas"))}operatorListChanged(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),!this.running&&this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame(()=>{this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}_next(){var h=this;return _asyncToGenerator(function*(){h.cancelled||(h.operatorListIdx=h.gfx.executeOperatorList(h.operatorList,h.operatorListIdx,h._continueBound,h.stepper),h.operatorListIdx===h.operatorList.argsArray.length&&(h.running=!1,h.operatorList.lastChunk&&(h.gfx.endDrawing(),h._canvas&&InternalRenderTask.#e.delete(h._canvas),h.callback())))})()}}const version="2.16.105";exports.version=version;const build="172ccdbe5";exports.build=build},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PrintAnnotationStorage=h.AnnotationStorage=void 0;var n=o(1),i=o(6),d=o(10);class a{constructor(){this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(u,c){const g=this._storage.get(u);return void 0===g?c:Object.assign(c,g)}getRawValue(u){return this._storage.get(u)}remove(u){if(this._storage.delete(u),0===this._storage.size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(const c of this._storage.values())if(c instanceof i.AnnotationEditor)return;this.onAnnotationEditor(null)}}setValue(u,c){const g=this._storage.get(u);let v=!1;if(void 0!==g)for(const[p,S]of Object.entries(c))g[p]!==S&&(v=!0,g[p]=S);else v=!0,this._storage.set(u,c);v&&this.#e(),c instanceof i.AnnotationEditor&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(c.constructor._type)}has(u){return this._storage.has(u)}getAll(){return this._storage.size>0?(0,n.objectFromMap)(this._storage):null}get size(){return this._storage.size}#e(){this._modified||(this._modified=!0,"function"==typeof this.onSetModified&&this.onSetModified())}resetModified(){this._modified&&(this._modified=!1,"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new l(this)}get serializable(){if(0===this._storage.size)return null;const u=new Map;for(const[c,g]of this._storage){const v=g instanceof i.AnnotationEditor?g.serialize():g;v&&u.set(c,v)}return u}static getHash(u){if(!u)return"";const c=new d.MurmurHash3_64;for(const[g,v]of u)c.update(`${g}:${JSON.stringify(v)}`);return c.hexdigest()}}h.AnnotationStorage=a;class l extends a{#e=null;constructor(u){super(),this.#e=structuredClone(u.serializable)}get print(){(0,n.unreachable)("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#e}}h.PrintAnnotationStorage=l},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.AnnotationEditor=void 0;var n=o(7),i=o(1);class d{#e=this.focusin.bind(this);#t=this.focusout.bind(this);#n=!1;#r=!1;#o=!1;#c=d._zIndex++;static _colorManager=new n.ColorManager;static _zIndex=1;constructor(l){this.constructor===d&&(0,i.unreachable)("Cannot initialize AnnotationEditor."),this.parent=l.parent,this.id=l.id,this.width=this.height=null,this.pageIndex=l.parent.pageIndex,this.name=l.name,this.div=null;const[e,u]=this.parent.viewportBaseDimensions;this.x=l.x/e,this.y=l.y/u,this.rotation=this.parent.viewport.rotation,this.isAttachedToDOM=!1}static get _defaultLineColor(){return(0,i.shadow)(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#c}focusin(l){this.#n?this.#n=!1:this.parent.setSelected(this)}focusout(l){!this.isAttachedToDOM||l.relatedTarget?.closest(`#${this.id}`)||(l.preventDefault(),this.parent.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.parent.addToAnnotationStorage(this)}dragstart(l){const e=this.parent.div.getBoundingClientRect();this.startX=l.clientX-e.x,this.startY=l.clientY-e.y,l.dataTransfer.setData("text/plain",this.id),l.dataTransfer.effectAllowed="move"}setAt(l,e,u,c){const[g,v]=this.parent.viewportBaseDimensions;[u,c]=this.screenToPageTranslation(u,c),this.x=(l+u)/g,this.y=(e+c)/v,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}translate(l,e){const[u,c]=this.parent.viewportBaseDimensions;[l,e]=this.screenToPageTranslation(l,e),this.x+=l/u,this.y+=e/c,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}screenToPageTranslation(l,e){const{rotation:u}=this.parent.viewport;switch(u){case 90:return[e,-l];case 180:return[-l,-e];case 270:return[-e,l];default:return[l,e]}}setDims(l,e){const[u,c]=this.parent.viewportBaseDimensions;this.div.style.width=100*l/u+"%",this.div.style.height=100*e/c+"%"}getInitialTranslation(){return[0,0]}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.setAttribute("tabIndex",0),this.setInForeground(),this.div.addEventListener("focusin",this.#e),this.div.addEventListener("focusout",this.#t);const[l,e]=this.getInitialTranslation();return this.translate(l,e),(0,n.bindEvents)(this,this.div,["dragstart","pointerdown"]),this.div}pointerdown(l){const e=n.KeyboardManager.platform.isMac;0!==l.button||l.ctrlKey&&e?l.preventDefault():(l.ctrlKey&&!e||l.shiftKey||l.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this),this.#n=!0)}getRect(l,e){const[u,c]=this.parent.viewportBaseDimensions,[g,v]=this.parent.pageDimensions,p=g*l/u,S=v*e/c,C=this.x*g,_=this.y*v,f=this.width*g,y=this.height*v;switch(this.rotation){case 0:return[C+p,v-_-S-y,C+p+f,v-_-S];case 90:return[C+S,v-_+p,C+S+y,v-_+p+f];case 180:return[C-p-f,v-_+S,C-p,v-_+S+y];case 270:return[C-S-y,v-_-p-f,C-S,v-_-p];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(l,e){const[u,c,g,v]=l,p=g-u,S=v-c;switch(this.rotation){case 0:return[u,e-v,p,S];case 90:return[u,e-c,S,p];case 180:return[g,e-c,p,S];case 270:return[g,e-v,S,p];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){this.#o=!0}disableEditMode(){this.#o=!1}isInEditMode(){return this.#o}shouldGetKeyboardEvents(){return!1}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){this.div?.addEventListener("focusin",this.#e)}serialize(){(0,i.unreachable)("An editor must be serializable")}static deserialize(l,e){const u=new this.prototype.constructor({parent:e,id:e.getNextId()});u.rotation=l.rotation;const[c,g]=e.pageDimensions,[v,p,S,C]=u.getRectInCurrentCoords(l.rect,g);return u.x=v/c,u.y=p/g,u.width=S/c,u.height=C/g,u}remove(){this.div.removeEventListener("focusin",this.#e),this.div.removeEventListener("focusout",this.#t),this.isEmpty()||this.commit(),this.parent.remove(this)}select(){this.div?.classList.add("selectedEditor")}unselect(){this.div?.classList.remove("selectedEditor")}updateParams(l,e){}disableEditing(){}enableEditing(){}get propertiesToUpdate(){return{}}get contentDiv(){return this.div}get isEditing(){return this.#r}set isEditing(l){this.#r=l,l?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null)}}h.AnnotationEditor=d},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.KeyboardManager=h.CommandManager=h.ColorManager=h.AnnotationEditorUIManager=void 0,h.bindEvents=function d(p,S,C){for(const _ of C)S.addEventListener(_,p[_].bind(p))},h.opacityToHex=function a(p){return Math.round(Math.min(255,Math.max(1,255*p))).toString(16).padStart(2,"0")};var n=o(1),i=o(8);class l{#e=0;getId(){return`${n.AnnotationEditorPrefix}${this.#e++}`}}class e{#e=[];#t=!1;#n;#r=-1;constructor(S=128){this.#n=S}add({cmd:S,undo:C,mustExec:_,type:f=NaN,overwriteIfSameType:y=!1,keepUndo:b=!1}){if(_&&S(),this.#t)return;const E={cmd:S,undo:C,type:f};if(-1===this.#r)return this.#e.length>0&&(this.#e.length=0),this.#r=0,void this.#e.push(E);if(y&&this.#e[this.#r].type===f)return b&&(E.undo=this.#e[this.#r].undo),void(this.#e[this.#r]=E);const M=this.#r+1;M===this.#n?this.#e.splice(0,1):(this.#r=M,MC.serialize()):this.#e=[S.serialize()],this.#e=this.#e.filter(C=>!!C),0===this.#e.length&&(this.#e=null))}paste(){return this.#e}isEmpty(){return null===this.#e}destroy(){this.#e=null}}class g{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){const S=new Map([["CanvasText",null],["Canvas",null]]);return(0,i.getColorValues)(S),(0,n.shadow)(this,"_colors",S)}convert(S){const C=(0,i.getRGB)(S);if(!window.matchMedia("(forced-colors: active)").matches)return C;for(const[_,f]of this._colors)if(f.every((y,b)=>y===C[b]))return g._colorsMapping.get(_);return C}getHexCode(S){const C=this._colors.get(S);return C?n.Util.makeHexColor(...C):S}}h.ColorManager=g;class v{#e=null;#t=new Map;#n=new Map;#r=new c;#o=new e;#c=0;#a=null;#i=null;#h=new l;#u=!1;#l=n.AnnotationEditorType.NONE;#s=new Set;#g=this.keydown.bind(this);#f=this.onEditingAction.bind(this);#v=this.onPageChanging.bind(this);#p={isEditing:!1,isEmpty:!0,hasEmptyClipboard:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1};#_=null;static _keyboardManager=new u([[["ctrl+a","mac+meta+a"],v.prototype.selectAll],[["ctrl+c","mac+meta+c"],v.prototype.copy],[["ctrl+v","mac+meta+v"],v.prototype.paste],[["ctrl+x","mac+meta+x"],v.prototype.cut],[["ctrl+z","mac+meta+z"],v.prototype.undo],[["ctrl+y","ctrl+shift+Z","mac+meta+shift+Z"],v.prototype.redo],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete"],v.prototype.delete],[["Escape","mac+Escape"],v.prototype.unselectAll]]);constructor(S,C){this.#_=S,this.#i=C,this.#i._on("editingaction",this.#f),this.#i._on("pagechanging",this.#v)}destroy(){this.#b(),this.#i._off("editingaction",this.#f),this.#i._off("pagechanging",this.#v);for(const S of this.#n.values())S.destroy();this.#n.clear(),this.#t.clear(),this.#e=null,this.#s.clear(),this.#r.destroy(),this.#o.destroy()}onPageChanging({pageNumber:S}){this.#c=S-1}focusMainContainer(){this.#_.focus()}#S(){this.#_.addEventListener("keydown",this.#g)}#b(){this.#_.removeEventListener("keydown",this.#g)}keydown(S){this.getActive()?.shouldGetKeyboardEvents()||v._keyboardManager.exec(this,S)}onEditingAction(S){["undo","redo","cut","copy","paste","delete","selectAll"].includes(S.name)&&this[S.name]()}#d(S){Object.entries(S).some(([_,f])=>this.#p[_]!==f)&&this.#i.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#p,S)})}#E(S){this.#i.dispatch("annotationeditorparamschanged",{source:this,details:S})}setEditingState(S){S?(this.#S(),this.#d({isEditing:this.#l!==n.AnnotationEditorType.NONE,isEmpty:this.#y(),hasSomethingToUndo:this.#o.hasSomethingToUndo(),hasSomethingToRedo:this.#o.hasSomethingToRedo(),hasSelectedEditor:!1,hasEmptyClipboard:this.#r.isEmpty()})):(this.#b(),this.#d({isEditing:!1}))}registerEditorTypes(S){this.#a=S;for(const C of this.#a)this.#E(C.defaultPropertiesToUpdate)}getId(){return this.#h.getId()}addLayer(S){this.#n.set(S.pageIndex,S),this.#u?S.enable():S.disable()}removeLayer(S){this.#n.delete(S.pageIndex)}updateMode(S){if(this.#l=S,S===n.AnnotationEditorType.NONE)this.setEditingState(!1),this.#m();else{this.setEditingState(!0),this.#A();for(const C of this.#n.values())C.updateMode(S)}}updateToolbar(S){S!==this.#l&&this.#i.dispatch("switchannotationeditormode",{source:this,mode:S})}updateParams(S,C){for(const _ of this.#s)_.updateParams(S,C);for(const _ of this.#a)_.updateDefaultParams(S,C)}#A(){if(!this.#u){this.#u=!0;for(const S of this.#n.values())S.enable()}}#m(){if(this.unselectAll(),this.#u){this.#u=!1;for(const S of this.#n.values())S.disable()}}getEditors(S){const C=[];for(const _ of this.#t.values())_.pageIndex===S&&C.push(_);return C}getEditor(S){return this.#t.get(S)}addEditor(S){this.#t.set(S.id,S)}removeEditor(S){this.#t.delete(S.id),this.unselect(S)}#M(S){const C=this.#n.get(S.pageIndex);C?C.addOrRebuild(S):this.addEditor(S)}setActiveEditor(S){this.#e!==S&&(this.#e=S,S&&this.#E(S.propertiesToUpdate))}toggleSelected(S){if(this.#s.has(S))return this.#s.delete(S),S.unselect(),void this.#d({hasSelectedEditor:this.hasSelection});this.#s.add(S),S.select(),this.#E(S.propertiesToUpdate),this.#d({hasSelectedEditor:!0})}setSelected(S){for(const C of this.#s)C!==S&&C.unselect();this.#s.clear(),this.#s.add(S),S.select(),this.#E(S.propertiesToUpdate),this.#d({hasSelectedEditor:!0})}isSelected(S){return this.#s.has(S)}unselect(S){S.unselect(),this.#s.delete(S),this.#d({hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==this.#s.size}undo(){this.#o.undo(),this.#d({hasSomethingToUndo:this.#o.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#y()})}redo(){this.#o.redo(),this.#d({hasSomethingToUndo:!0,hasSomethingToRedo:this.#o.hasSomethingToRedo(),isEmpty:this.#y()})}addCommands(S){this.#o.add(S),this.#d({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#y()})}#y(){if(0===this.#t.size)return!0;if(1===this.#t.size)for(const S of this.#t.values())return S.isEmpty();return!1}delete(){if(this.#e&&this.#e.commitOrRemove(),!this.hasSelection)return;const S=[...this.#s];this.addCommands({cmd:()=>{for(const f of S)f.remove()},undo:()=>{for(const f of S)this.#M(f)},mustExec:!0})}copy(){if(this.#e&&this.#e.commitOrRemove(),this.hasSelection){const S=[];for(const C of this.#s)C.isEmpty()||S.push(C);if(0===S.length)return;this.#r.copy(S),this.#d({hasEmptyClipboard:!1})}}cut(){this.copy(),this.delete()}paste(){if(this.#r.isEmpty())return;this.unselectAll();const S=this.#n.get(this.#c),C=this.#r.paste().map(y=>S.deserialize(y));this.addCommands({cmd:()=>{for(const y of C)this.#M(y);this.#C(C)},undo:()=>{for(const y of C)y.remove()},mustExec:!0})}#C(S){this.#s.clear();for(const C of S)C.isEmpty()||(this.#s.add(C),C.select());this.#d({hasSelectedEditor:!0})}selectAll(){for(const S of this.#s)S.commit();this.#C(this.#t.values())}unselectAll(){if(this.#e)this.#e.commitOrRemove();else if(0!==this.#C.size){for(const S of this.#s)S.unselect();this.#s.clear(),this.#d({hasSelectedEditor:!1})}}isActive(S){return this.#e===S}getActive(){return this.#e}getMode(){return this.#l}}h.AnnotationEditorUIManager=v},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.StatTimer=h.RenderingCancelledException=h.PixelsPerInch=h.PageViewport=h.PDFDateString=h.DOMStandardFontDataFactory=h.DOMSVGFactory=h.DOMCanvasFactory=h.DOMCMapReaderFactory=h.AnnotationPrefix=void 0,h.deprecated=function I(H){console.log("Deprecated API usage: "+H)},h.getColorValues=function x(H){const G=document.createElement("span");G.style.visibility="hidden",document.body.append(G);for(const te of H.keys()){G.style.color=te;const ue=window.getComputedStyle(G).color;H.set(te,P(ue))}G.remove()},h.getCurrentTransform=function N(H){const{a:G,b:te,c:ue,d:se,e:K,f:Z}=H.getTransform();return[G,te,ue,se,K,Z]},h.getCurrentTransformInverse=function O(H){const{a:G,b:te,c:ue,d:se,e:K,f:Z}=H.getTransform().invertSelf();return[G,te,ue,se,K,Z]},h.getFilenameFromUrl=function y(H){const G=H.indexOf("#"),te=H.indexOf("?"),ue=Math.min(G>0?G:H.length,te>0?te:H.length);return H.substring(H.lastIndexOf("/",ue)+1,ue)},h.getPdfFilenameFromUrl=function b(H,G="document.pdf"){if("string"!=typeof H)return G;if(_(H))return(0,i.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),G;const ue=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,se=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(H);let K=ue.exec(se[1])||ue.exec(se[2])||ue.exec(se[3]);if(K&&(K=K[0],K.includes("%")))try{K=ue.exec(decodeURIComponent(K))[0]}catch{}return K||G},h.getRGB=P,h.getXfaPageViewport=function T(H,{scale:G=1,rotation:te=0}){const{width:ue,height:se}=H.attributes.style,K=[0,0,parseInt(ue),parseInt(se)];return new S({viewBox:K,scale:G,rotation:te})},h.isDataScheme=_,h.isPdfFile=function f(H){return"string"==typeof H&&/\.pdf$/i.test(H)},h.isValidFetchUrl=M,h.loadScript=function A(H,G=!1){return new Promise((te,ue)=>{const se=document.createElement("script");se.src=H,se.onload=function(K){G&&se.remove(),te(K)},se.onerror=function(){ue(new Error(`Cannot load script at: ${se.src}`))},(document.head||document.documentElement).append(se)})};var n=o(9),i=o(1);function u(H){return c.apply(this,arguments)}function c(){return(c=_asyncToGenerator(function*(H,G=!1){if(M(H,document.baseURI)){const te=yield fetch(H);if(!te.ok)throw new Error(te.statusText);return G?new Uint8Array(yield te.arrayBuffer()):(0,i.stringToBytes)(yield te.text())}return new Promise((te,ue)=>{const se=new XMLHttpRequest;se.open("GET",H,!0),G&&(se.responseType="arraybuffer"),se.onreadystatechange=()=>{if(se.readyState===XMLHttpRequest.DONE){if(200===se.status||0===se.status){let K;if(G&&se.response?K=new Uint8Array(se.response):!G&&se.responseText&&(K=(0,i.stringToBytes)(se.responseText)),K)return void te(K)}ue(new Error(se.statusText))}},se.send(null)})})).apply(this,arguments)}h.AnnotationPrefix="pdfjs_internal_id_",h.PixelsPerInch=class l{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF},h.DOMCanvasFactory=class e extends n.BaseCanvasFactory{constructor({ownerDocument:G=globalThis.document}={}){super(),this._document=G}_createCanvas(G,te){const ue=this._document.createElement("canvas");return ue.width=G,ue.height=te,ue}},h.DOMCMapReaderFactory=class g extends n.BaseCMapReaderFactory{_fetchData(G,te){return u(G,this.isCompressed).then(ue=>({cMapData:ue,compressionType:te}))}},h.DOMStandardFontDataFactory=class v extends n.BaseStandardFontDataFactory{_fetchData(G){return u(G,!0)}},h.DOMSVGFactory=class p extends n.BaseSVGFactory{_createSVG(G){return document.createElementNS("http://www.w3.org/2000/svg",G)}};class S{constructor({viewBox:G,scale:te,rotation:ue,offsetX:se=0,offsetY:K=0,dontFlip:Z=!1}){this.viewBox=G,this.scale=te,this.rotation=ue,this.offsetX=se,this.offsetY=K;const re=(G[2]+G[0])/2,J=(G[3]+G[1])/2;let Y,$,le,ee,we,ye,Oe,ve;switch((ue%=360)<0&&(ue+=360),ue){case 180:Y=-1,$=0,le=0,ee=1;break;case 90:Y=0,$=1,le=1,ee=0;break;case 270:Y=0,$=-1,le=-1,ee=0;break;case 0:Y=1,$=0,le=0,ee=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}Z&&(le=-le,ee=-ee),0===Y?(we=Math.abs(J-G[1])*te+se,ye=Math.abs(re-G[0])*te+K,Oe=Math.abs(G[3]-G[1])*te,ve=Math.abs(G[2]-G[0])*te):(we=Math.abs(re-G[0])*te+se,ye=Math.abs(J-G[1])*te+K,Oe=Math.abs(G[2]-G[0])*te,ve=Math.abs(G[3]-G[1])*te),this.transform=[Y*te,$*te,le*te,ee*te,we-Y*te*re-le*te*J,ye-$*te*re-ee*te*J],this.width=Oe,this.height=ve}clone({scale:G=this.scale,rotation:te=this.rotation,offsetX:ue=this.offsetX,offsetY:se=this.offsetY,dontFlip:K=!1}={}){return new S({viewBox:this.viewBox.slice(),scale:G,rotation:te,offsetX:ue,offsetY:se,dontFlip:K})}convertToViewportPoint(G,te){return i.Util.applyTransform([G,te],this.transform)}convertToViewportRectangle(G){const te=i.Util.applyTransform([G[0],G[1]],this.transform),ue=i.Util.applyTransform([G[2],G[3]],this.transform);return[te[0],te[1],ue[0],ue[1]]}convertToPdfPoint(G,te){return i.Util.applyInverseTransform([G,te],this.transform)}}function _(H){const G=H.length;let te=0;for(;te>16,(65280&G)>>8,255&G]}return H.startsWith("rgb(")?H.slice(4,-1).split(",").map(G=>parseInt(G)):H.startsWith("rgba(")?H.slice(5,-1).split(",").map(G=>parseInt(G)).slice(0,3):((0,i.warn)(`Not a valid color format: "${H}"`),[0,0,0])}h.PageViewport=S,h.RenderingCancelledException=class C extends i.BaseException{constructor(G,te){super(G,"RenderingCancelledException"),this.type=te}},h.StatTimer=class E{constructor(){this.started=Object.create(null),this.times=[]}time(G){G in this.started&&(0,i.warn)(`Timer is already running for ${G}`),this.started[G]=Date.now()}timeEnd(G){G in this.started||(0,i.warn)(`Timer has not been started for ${G}`),this.times.push({name:G,start:this.started[G],end:Date.now()}),delete this.started[G]}toString(){const G=[];let te=0;for(const ue of this.times){const se=ue.name;se.length>te&&(te=se.length)}for(const ue of this.times){const se=ue.end-ue.start;G.push(`${ue.name.padEnd(te)} ${se}ms\n`)}return G.join("")}},h.PDFDateString=class j{static toDateObject(G){if(!G||"string"!=typeof G)return null;F||(F=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const te=F.exec(G);if(!te)return null;const ue=parseInt(te[1],10);let se=parseInt(te[2],10);se=se>=1&&se<=12?se-1:0;let K=parseInt(te[3],10);K=K>=1&&K<=31?K:1;let Z=parseInt(te[4],10);Z=Z>=0&&Z<=23?Z:0;let re=parseInt(te[5],10);re=re>=0&&re<=59?re:0;let J=parseInt(te[6],10);J=J>=0&&J<=59?J:0;const Y=te[7]||"Z";let $=parseInt(te[8],10);$=$>=0&&$<=23?$:0;let le=parseInt(te[9],10)||0;return le=le>=0&&le<=59?le:0,"-"===Y?(Z+=$,re+=le):"+"===Y&&(Z-=$,re-=le),new Date(Date.UTC(ue,se,K,Z,re,J))}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.BaseStandardFontDataFactory=h.BaseSVGFactory=h.BaseCanvasFactory=h.BaseCMapReaderFactory=void 0;var n=o(1);class i{constructor(){this.constructor===i&&(0,n.unreachable)("Cannot initialize BaseCanvasFactory.")}create(u,c){if(u<=0||c<=0)throw new Error("Invalid canvas size");const g=this._createCanvas(u,c);return{canvas:g,context:g.getContext("2d")}}reset(u,c,g){if(!u.canvas)throw new Error("Canvas is not specified");if(c<=0||g<=0)throw new Error("Invalid canvas size");u.canvas.width=c,u.canvas.height=g}destroy(u){if(!u.canvas)throw new Error("Canvas is not specified");u.canvas.width=0,u.canvas.height=0,u.canvas=null,u.context=null}_createCanvas(u,c){(0,n.unreachable)("Abstract method `_createCanvas` called.")}}h.BaseCanvasFactory=i;class d{constructor({baseUrl:u=null,isCompressed:c=!1}){this.constructor===d&&(0,n.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=u,this.isCompressed=c}fetch({name:u}){var c=this;return _asyncToGenerator(function*(){if(!c.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!u)throw new Error("CMap name must be specified.");const g=c.baseUrl+u+(c.isCompressed?".bcmap":"");return c._fetchData(g,c.isCompressed?n.CMapCompressionType.BINARY:n.CMapCompressionType.NONE).catch(p=>{throw new Error(`Unable to load ${c.isCompressed?"binary ":""}CMap at: ${g}`)})})()}_fetchData(u,c){(0,n.unreachable)("Abstract method `_fetchData` called.")}}h.BaseCMapReaderFactory=d;class a{constructor({baseUrl:u=null}){this.constructor===a&&(0,n.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=u}fetch({filename:u}){var c=this;return _asyncToGenerator(function*(){if(!c.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!u)throw new Error("Font filename must be specified.");const g=`${c.baseUrl}${u}`;return c._fetchData(g).catch(v=>{throw new Error(`Unable to load font data at: ${g}`)})})()}_fetchData(u){(0,n.unreachable)("Abstract method `_fetchData` called.")}}h.BaseStandardFontDataFactory=a;class l{constructor(){this.constructor===l&&(0,n.unreachable)("Cannot initialize BaseSVGFactory.")}create(u,c,g=!1){if(u<=0||c<=0)throw new Error("Invalid SVG dimensions");const v=this._createSVG("svg:svg");return v.setAttribute("version","1.1"),g||(v.setAttribute("width",`${u}px`),v.setAttribute("height",`${c}px`)),v.setAttribute("preserveAspectRatio","none"),v.setAttribute("viewBox",`0 0 ${u} ${c}`),v}createElement(u){if("string"!=typeof u)throw new Error("Invalid SVG element type");return this._createSVG(u)}_createSVG(u){(0,n.unreachable)("Abstract method `_createSVG` called.")}}h.BaseSVGFactory=l},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.MurmurHash3_64=void 0;var n=o(1);const i=3285377520,d=4294901760,a=65535;h.MurmurHash3_64=class l{constructor(u){this.h1=u?4294967295&u:i,this.h2=u?4294967295&u:i}update(u){let c,g;if("string"==typeof u){c=new Uint8Array(2*u.length),g=0;for(let I=0,F=u.length;I>>8,c[g++]=255&j)}}else{if(!(0,n.isArrayBuffer)(u))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");c=u.slice(),g=c.byteLength}const v=g>>2,p=g-4*v,S=new Uint32Array(c.buffer,0,v);let C=0,_=0,f=this.h1,y=this.h2;const b=3432918353,E=461845907,M=b&a,A=E&a;for(let I=0;I>>17,C=C*E&d|C*A&a,f^=C,f=f<<13|f>>>19,f=5*f+3864292196):(_=S[I],_=_*b&d|_*M&a,_=_<<15|_>>>17,_=_*E&d|_*A&a,y^=_,y=y<<13|y>>>19,y=5*y+3864292196);switch(C=0,p){case 3:C^=c[4*v+2]<<16;case 2:C^=c[4*v+1]<<8;case 1:C^=c[4*v],C=C*b&d|C*M&a,C=C<<15|C>>>17,C=C*E&d|C*A&a,1&v?f^=C:y^=C}this.h1=f,this.h2=y}hexdigest(){let u=this.h1,c=this.h2;u^=c>>>1,u=3981806797*u&d|36045*u&a,c=4283543511*c&d|(2950163797*(c<<16|u>>>16)&d)>>>16,u^=c>>>1,u=444984403*u&d|60499*u&a,c=3301882366*c&d|(3120437893*(c<<16|u>>>16)&d)>>>16,u^=c>>>1;const g=(u>>>0).toString(16),v=(c>>>0).toString(16);return g.padStart(8,"0")+v.padStart(8,"0")}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.FontLoader=h.FontFaceObject=void 0;var n=o(1);class i{constructor({docId:e,onUnsupportedFeature:u,ownerDocument:c=globalThis.document,styleElement:g=null}){this.constructor===i&&(0,n.unreachable)("Cannot initialize BaseFontLoader."),this.docId=e,this._onUnsupportedFeature=u,this._document=c,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(e){this.nativeFontFaces.push(e),this._document.fonts.add(e)}insertRule(e){let u=this.styleElement;u||(u=this.styleElement=this._document.createElement("style"),u.id=`PDFJS_FONT_STYLE_TAG_${this.docId}`,this._document.documentElement.getElementsByTagName("head")[0].append(u));const c=u.sheet;c.insertRule(e,c.cssRules.length)}clear(){for(const e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}bind(e){var u=this;return _asyncToGenerator(function*(){if(e.attached||e.missingFile)return;if(e.attached=!0,u.isFontLoadingAPISupported){const g=e.createNativeFontFace();if(g){u.addNativeFontFace(g);try{yield g.loaded}catch(v){throw u._onUnsupportedFeature({featureId:n.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,n.warn)(`Failed to load font '${g.family}': '${v}'.`),e.disableFontFace=!0,v}}return}const c=e.createFontFaceRule();if(c){if(u.insertRule(c),u.isSyncFontLoadingSupported)return;yield new Promise(g=>{const v=u._queueLoadingCallback(g);u._prepareFontLoadEvent([c],[e],v)})}})()}_queueLoadingCallback(e){(0,n.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){return(0,n.shadow)(this,"isFontLoadingAPISupported",!!this._document?.fonts)}get isSyncFontLoadingSupported(){(0,n.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,n.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(e,u,c){(0,n.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let d;h.FontLoader=d,h.FontLoader=d=class extends i{constructor(e){super(e),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let e=!1;return(typeof navigator>"u"||/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent)?.[1]>=14)&&(e=!0),(0,n.shadow)(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){const c=this.loadingContext,g={id:"pdfjs-font-loading-"+c.nextRequestId++,done:!1,complete:function u(){for((0,n.assert)(!g.done,"completeRequest() cannot be called twice."),g.done=!0;c.requests.length>0&&c.requests[0].done;){const v=c.requests.shift();setTimeout(v.callback,0)}},callback:e};return c.requests.push(g),g}get _loadTestFont(){return(0,n.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(e,u,c){function g(N,O){return N.charCodeAt(O)<<24|N.charCodeAt(O+1)<<16|N.charCodeAt(O+2)<<8|255&N.charCodeAt(O+3)}function v(N,O,H,G){return N.substring(0,O)+G+N.substring(O+H)}let p,S;const C=this._document.createElement("canvas");C.width=1,C.height=1;const _=C.getContext("2d");let f=0;const b=`lt${Date.now()}${this.loadTestFontId++}`;let E=this._loadTestFont;E=v(E,976,b.length,b);const I=1482184792;let F=g(E,16);for(p=0,S=b.length-3;p30)return(0,n.warn)("Load test font never loaded."),void O();_.font="30px "+N,_.fillText(".",0,20),_.getImageData(0,0,1,1).data[3]>0?O():setTimeout(y.bind(null,N,O))}(b,()=>{x.remove(),c.complete()})}},h.FontFaceObject=class a{constructor(e,{isEvalSupported:u=!0,disableFontFace:c=!1,ignoreErrors:g=!1,onUnsupportedFeature:v,fontRegistry:p=null}){this.compiledGlyphs=Object.create(null);for(const S in e)this[S]=e[S];this.isEvalSupported=!1!==u,this.disableFontFace=!0===c,this.ignoreErrors=!0===g,this._onUnsupportedFeature=v,this.fontRegistry=p}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let e;if(this.cssFontInfo){const u={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(u.style=`oblique ${this.cssFontInfo.italicAngle}deg`),e=new FontFace(this.cssFontInfo.fontFamily,this.data,u)}else e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const e=(0,n.bytesToString)(this.data),u=`url(data:${this.mimetype};base64,${btoa(e)});`;let c;if(this.cssFontInfo){let g=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(g+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),c=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${g}src:${u}}`}else c=`@font-face {font-family:"${this.loadedName}";src:${u}}`;return this.fontRegistry&&this.fontRegistry.registerFont(this,u),c}getPathGenerator(e,u){if(void 0!==this.compiledGlyphs[u])return this.compiledGlyphs[u];let c;try{c=e.get(this.loadedName+"_path_"+u)}catch(g){if(!this.ignoreErrors)throw g;return this._onUnsupportedFeature({featureId:n.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,n.warn)(`getPathGenerator - ignoring character: "${g}".`),this.compiledGlyphs[u]=function(v,p){}}if(this.isEvalSupported&&n.FeatureTest.isEvalSupported){const g=[];for(const v of c){const p=void 0!==v.args?v.args.join(","):"";g.push("c.",v.cmd,"(",p,");\n")}return this.compiledGlyphs[u]=new Function("c","size",g.join(""))}return this.compiledGlyphs[u]=function(g,v){for(const p of c)"scale"===p.cmd&&(p.args=[v,-v]),g[p.cmd].apply(g,p.args)}}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.CanvasGraphics=void 0;var n=o(8),i=o(1),d=o(13),a=o(14),l=o(3);const c=4096,p=l.isNodeJS&&typeof Path2D>"u"?-1:1e3,S=16;class _{constructor(K){this.canvasFactory=K,this.cache=Object.create(null)}getCanvas(K,Z,re){let J;return void 0!==this.cache[K]?(J=this.cache[K],this.canvasFactory.reset(J,Z,re)):(J=this.canvasFactory.create(Z,re),this.cache[K]=J),J}delete(K){delete this.cache[K]}clear(){for(const K in this.cache)this.canvasFactory.destroy(this.cache[K]),delete this.cache[K]}}function f(se,K,Z,re,J,Y,$,le,ee,we){const[ye,Oe,ve,_e,Pe,Ze]=(0,n.getCurrentTransform)(se);if(0===Oe&&0===ve){const Qe=Math.round($*ye+Pe),Xe=Math.round(le*_e+Ze),Pt=Math.abs(Math.round(($+ee)*ye+Pe)-Qe)||1,hn=Math.abs(Math.round((le+we)*_e+Ze)-Xe)||1;return se.setTransform(Math.sign(ye),0,0,Math.sign(_e),Qe,Xe),se.drawImage(K,Z,re,J,Y,0,0,Pt,hn),se.setTransform(ye,Oe,ve,_e,Pe,Ze),[Pt,hn]}if(0===ye&&0===_e){const Qe=Math.round(le*ve+Pe),Xe=Math.round($*Oe+Ze),Pt=Math.abs(Math.round((le+we)*ve+Pe)-Qe)||1,hn=Math.abs(Math.round(($+ee)*Oe+Ze)-Xe)||1;return se.setTransform(0,Math.sign(Oe),Math.sign(ve),0,Qe,Xe),se.drawImage(K,Z,re,J,Y,0,0,hn,Pt),se.setTransform(ye,Oe,ve,_e,Pe,Ze),[hn,Pt]}return se.drawImage(K,Z,re,J,Y,$,le,ee,we),[Math.hypot(ye,Oe)*ee,Math.hypot(ve,_e)*we]}class b{constructor(K,Z){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=i.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=i.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,K,Z])}clone(){const K=Object.create(this);return K.clipBox=this.clipBox.slice(),K}setCurrentPoint(K,Z){this.x=K,this.y=Z}updatePathMinMax(K,Z,re){[Z,re]=i.Util.applyTransform([Z,re],K),this.minX=Math.min(this.minX,Z),this.minY=Math.min(this.minY,re),this.maxX=Math.max(this.maxX,Z),this.maxY=Math.max(this.maxY,re)}updateRectMinMax(K,Z){const re=i.Util.applyTransform(Z,K),J=i.Util.applyTransform(Z.slice(2),K);this.minX=Math.min(this.minX,re[0],J[0]),this.minY=Math.min(this.minY,re[1],J[1]),this.maxX=Math.max(this.maxX,re[0],J[0]),this.maxY=Math.max(this.maxY,re[1],J[1])}updateScalingPathMinMax(K,Z){i.Util.scaleMinMax(K,Z),this.minX=Math.min(this.minX,Z[0]),this.maxX=Math.max(this.maxX,Z[1]),this.minY=Math.min(this.minY,Z[2]),this.maxY=Math.max(this.maxY,Z[3])}updateCurvePathMinMax(K,Z,re,J,Y,$,le,ee,we,ye){const Oe=i.Util.bezierBoundingBox(Z,re,J,Y,$,le,ee,we);if(ye)return ye[0]=Math.min(ye[0],Oe[0],Oe[2]),ye[1]=Math.max(ye[1],Oe[0],Oe[2]),ye[2]=Math.min(ye[2],Oe[1],Oe[3]),void(ye[3]=Math.max(ye[3],Oe[1],Oe[3]));this.updateRectMinMax(K,Oe)}getPathBoundingBox(K=d.PathType.FILL,Z=null){const re=[this.minX,this.minY,this.maxX,this.maxY];if(K===d.PathType.STROKE){Z||(0,i.unreachable)("Stroke bounding box must include transform.");const J=i.Util.singularValueDecompose2dScale(Z),Y=J[0]*this.lineWidth/2,$=J[1]*this.lineWidth/2;re[0]-=Y,re[1]-=$,re[2]+=Y,re[3]+=$}return re}updateClipFromPath(){const K=i.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(K||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(K){this.clipBox=K,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(K=d.PathType.FILL,Z=null){return i.Util.intersect(this.clipBox,this.getPathBoundingBox(K,Z))}}function E(se,K,Z=null){if(typeof ImageData<"u"&&K instanceof ImageData)return void se.putImageData(K,0,0);const re=K.height,J=K.width,Y=re%S,$=(re-Y)/S,le=0===Y?$:$+1,ee=se.createImageData(J,S);let ye,we=0;const Oe=K.data,ve=ee.data;let _e,Pe,Ze,ot,tt,mt,Qe,Ct;if(Z)switch(Z.length){case 1:tt=Z[0],mt=Z[0],Qe=Z[0],Ct=Z[0];break;case 4:tt=Z[0],mt=Z[1],Qe=Z[2],Ct=Z[3]}if(K.kind===i.ImageKind.GRAYSCALE_1BPP){const Xe=Oe.byteLength,nt=new Uint32Array(ve.buffer,0,ve.byteLength>>2),Pt=nt.length,tn=J+7>>3;let hn=4294967295,wn=i.FeatureTest.isLittleEndian?4278190080:255;for(Ct&&255===Ct[0]&&0===Ct[255]&&([hn,wn]=[wn,hn]),_e=0;_etn?J:8*An-7,ht=-8&qt;let Ue=0,Ee=0;for(;_n>=1}for(;ye=$&&(Ze=Y,ot=J*Ze),ye=0,Pe=ot;Pe--;)ve[ye++]=Oe[we++],ve[ye++]=Oe[we++],ve[ye++]=Oe[we++],ve[ye++]=255;if(Xe)for(let nt=0;nt>8,se[Y-2]=se[Y-2]*$+Z*le>>8,se[Y-1]=se[Y-1]*$+re*le>>8}}}function j(se,K,Z){const re=se.length;for(let Y=3;Y>8]>>8:K[J]*Y>>16}}function N(se,K){const Z=i.Util.singularValueDecompose2dScale(se);Z[0]=Math.fround(Z[0]),Z[1]=Math.fround(Z[1]);const re=Math.fround((globalThis.devicePixelRatio||1)*n.PixelsPerInch.PDF_TO_CSS_UNITS);return void 0!==K?K:Z[0]<=re||Z[1]<=re}const O=["butt","round","square"],H=["miter","round","bevel"],G={},te={};class ue{constructor(K,Z,re,J,Y,$,le,ee){this.ctx=K,this.current=new b(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=Z,this.objs=re,this.canvasFactory=J,this.imageLayer=Y,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=[],this.optionalContentConfig=$,this.cachedCanvases=new _(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=le,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.backgroundColor=ee?.background||null,this.foregroundColor=ee?.foreground||null,this._cachedScaleForStroking=null,this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(K,Z=null){return"string"==typeof K?K.startsWith("g_")?this.commonObjs.get(K):this.objs.get(K):Z}beginDrawing({transform:K,viewport:Z,transparency:re=!1,background:J=null}){const Y=this.ctx.canvas.width,$=this.ctx.canvas.height,le=J||"#ffffff";if(this.ctx.save(),this.foregroundColor&&this.backgroundColor){this.ctx.fillStyle=this.foregroundColor;const ee=this.foregroundColor=this.ctx.fillStyle;this.ctx.fillStyle=this.backgroundColor;const we=this.backgroundColor=this.ctx.fillStyle;let ye=!0,Oe=le;if(this.ctx.fillStyle=le,Oe=this.ctx.fillStyle,ye="string"==typeof Oe&&/^#[0-9A-Fa-f]{6}$/.test(Oe),"#000000"===ee&&"#ffffff"===we||ee===we||!ye)this.foregroundColor=this.backgroundColor=null;else{const[ve,_e,Pe]=(0,n.getRGB)(Oe),Ze=tt=>(tt/=255)<=.03928?tt/12.92:((tt+.055)/1.055)**2.4,ot=Math.round(.2126*Ze(ve)+.7152*Ze(_e)+.0722*Ze(Pe));this.selectColor=(tt,mt,Qe)=>{const Ct=.2126*Ze(tt)+.7152*Ze(mt)+.0722*Ze(Qe);return Math.round(Ct)===ot?we:ee}}}if(this.ctx.fillStyle=this.backgroundColor||le,this.ctx.fillRect(0,0,Y,$),this.ctx.restore(),re){const ee=this.cachedCanvases.getCanvas("transparent",Y,$);this.compositeCtx=this.ctx,this.transparentCanvas=ee.canvas,this.ctx=ee.context,this.ctx.save(),this.ctx.transform(...(0,n.getCurrentTransform)(this.compositeCtx))}this.ctx.save(),I(this.ctx,this.foregroundColor),K&&(this.ctx.transform(...K),this.outputScaleX=K[0],this.outputScaleY=K[0]),this.ctx.transform(...Z.transform),this.viewportScale=Z.scale,this.baseTransform=(0,n.getCurrentTransform)(this.ctx),this.imageLayer&&((0,n.deprecated)("The `imageLayer` functionality will be removed in the future."),this.imageLayer.beginLayout())}executeOperatorList(K,Z,re,J){const Y=K.argsArray,$=K.fnArray;let le=Z||0;const ee=Y.length;if(ee===le)return le;const we=ee-le>10&&"function"==typeof re,ye=we?Date.now()+15:0;let Oe=0;const ve=this.commonObjs,_e=this.objs;let Pe;for(;;){if(void 0!==J&&le===J.nextBreakPoint)return J.breakIt(le,re),le;if(Pe=$[le],Pe!==i.OPS.dependency)this[Pe].apply(this,Y[le]);else for(const Ze of Y[le]){const ot=Ze.startsWith("g_")?ve:_e;if(!ot.has(Ze))return ot.get(Ze,re),le}if(le++,le===ee)return le;if(we&&++Oe>10){if(Date.now()>ye)return re(),le;Oe=0}}}#e(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){this.#e(),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const K of this._cachedBitmapsMap.values()){for(const Z of K.values())typeof HTMLCanvasElement<"u"&&Z instanceof HTMLCanvasElement&&(Z.width=Z.height=0);K.clear()}this._cachedBitmapsMap.clear(),this.imageLayer&&this.imageLayer.endLayout()}_scaleImage(K,Z){const re=K.width,J=K.height;let ye,Oe,Y=Math.max(Math.hypot(Z[0],Z[1]),1),$=Math.max(Math.hypot(Z[2],Z[3]),1),le=re,ee=J,we="prescale1";for(;Y>2&&le>1||$>2&&ee>1;){let ve=le,_e=ee;Y>2&&le>1&&(ve=Math.ceil(le/2),Y/=le/ve),$>2&&ee>1&&(_e=Math.ceil(ee/2),$/=ee/_e),ye=this.cachedCanvases.getCanvas(we,ve,_e),Oe=ye.context,Oe.clearRect(0,0,ve,_e),Oe.drawImage(K,0,0,le,ee,0,0,ve,_e),K=ye.canvas,le=ve,ee=_e,we="prescale1"===we?"prescale2":"prescale1"}return{img:K,paintWidth:le,paintHeight:ee}}_createMaskCanvas(K){const Z=this.ctx,{width:re,height:J}=K,Y=this.current.fillColor,$=this.current.patternFill,le=(0,n.getCurrentTransform)(Z);let ee,we,ye,Oe;if((K.bitmap||K.data)&&K.count>1){const Pt=K.bitmap||K.data.buffer,tn=le.slice(0,4);we=JSON.stringify($?tn:[tn,Y]),ee=this._cachedBitmapsMap.get(Pt),ee||(ee=new Map,this._cachedBitmapsMap.set(Pt,ee));const hn=ee.get(we);if(hn&&!$)return{canvas:hn,offsetX:Math.round(Math.min(le[0],le[2])+le[4]),offsetY:Math.round(Math.min(le[1],le[3])+le[5])};ye=hn}ye||(Oe=this.cachedCanvases.getCanvas("maskCanvas",re,J),M(Oe.context,K));let ve=i.Util.transform(le,[1/re,0,0,-1/J,0,0]);ve=i.Util.transform(ve,[1,0,0,1,0,-J]);const _e=i.Util.applyTransform([0,0],ve),Pe=i.Util.applyTransform([re,J],ve),Ze=i.Util.normalizeRect([_e[0],_e[1],Pe[0],Pe[1]]),ot=Math.round(Ze[2]-Ze[0])||1,tt=Math.round(Ze[3]-Ze[1])||1,mt=this.cachedCanvases.getCanvas("fillCanvas",ot,tt),Qe=mt.context,Ct=Math.min(_e[0],Pe[0]),Xe=Math.min(_e[1],Pe[1]);Qe.translate(-Ct,-Xe),Qe.transform(...ve),ye||(ye=this._scaleImage(Oe.canvas,(0,n.getCurrentTransformInverse)(Qe)),ye=ye.img,ee&&$&&ee.set(we,ye)),Qe.imageSmoothingEnabled=N((0,n.getCurrentTransform)(Qe),K.interpolate),f(Qe,ye,0,0,ye.width,ye.height,0,0,re,J),Qe.globalCompositeOperation="source-in";const nt=i.Util.transform((0,n.getCurrentTransformInverse)(Qe),[1,0,0,1,-Ct,-Xe]);return Qe.fillStyle=$?Y.getPattern(Z,this,nt,d.PathType.FILL):Y,Qe.fillRect(0,0,re,J),ee&&!$&&(this.cachedCanvases.delete("fillCanvas"),ee.set(we,mt.canvas)),{canvas:mt.canvas,offsetX:Math.round(Ct),offsetY:Math.round(Xe)}}setLineWidth(K){K!==this.current.lineWidth&&(this._cachedScaleForStroking=null),this.current.lineWidth=K,this.ctx.lineWidth=K}setLineCap(K){this.ctx.lineCap=O[K]}setLineJoin(K){this.ctx.lineJoin=H[K]}setMiterLimit(K){this.ctx.miterLimit=K}setDash(K,Z){const re=this.ctx;void 0!==re.setLineDash&&(re.setLineDash(K),re.lineDashOffset=Z)}setRenderingIntent(K){}setFlatness(K){}setGState(K){for(let Z=0,re=K.length;Z{se.save=se.__originalSave,se.restore=se.__originalRestore,se.rotate=se.__originalRotate,se.scale=se.__originalScale,se.translate=se.__originalTranslate,se.transform=se.__originalTransform,se.setTransform=se.__originalSetTransform,se.resetTransform=se.__originalResetTransform,se.clip=se.__originalClip,se.moveTo=se.__originalMoveTo,se.lineTo=se.__originalLineTo,se.bezierCurveTo=se.__originalBezierCurveTo,se.rect=se.__originalRect,se.closePath=se.__originalClosePath,se.beginPath=se.__originalBeginPath,delete se._removeMirroring},se.save=function(){K.save(),this.__originalSave()},se.restore=function(){K.restore(),this.__originalRestore()},se.translate=function(re,J){K.translate(re,J),this.__originalTranslate(re,J)},se.scale=function(re,J){K.scale(re,J),this.__originalScale(re,J)},se.transform=function(re,J,Y,$,le,ee){K.transform(re,J,Y,$,le,ee),this.__originalTransform(re,J,Y,$,le,ee)},se.setTransform=function(re,J,Y,$,le,ee){K.setTransform(re,J,Y,$,le,ee),this.__originalSetTransform(re,J,Y,$,le,ee)},se.resetTransform=function(){K.resetTransform(),this.__originalResetTransform()},se.rotate=function(re){K.rotate(re),this.__originalRotate(re)},se.clip=function(re){K.clip(re),this.__originalClip(re)},se.moveTo=function(Z,re){K.moveTo(Z,re),this.__originalMoveTo(Z,re)},se.lineTo=function(Z,re){K.lineTo(Z,re),this.__originalLineTo(Z,re)},se.bezierCurveTo=function(Z,re,J,Y,$,le){K.bezierCurveTo(Z,re,J,Y,$,le),this.__originalBezierCurveTo(Z,re,J,Y,$,le)},se.rect=function(Z,re,J,Y){K.rect(Z,re,J,Y),this.__originalRect(Z,re,J,Y)},se.closePath=function(){K.closePath(),this.__originalClosePath()},se.beginPath=function(){K.beginPath(),this.__originalBeginPath()}}(Y,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),A(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(K){this.current.activeSMask&&(K?(K[0]=Math.floor(K[0]),K[1]=Math.floor(K[1]),K[2]=Math.ceil(K[2]),K[3]=Math.ceil(K[3])):K=[0,0,this.ctx.canvas.width,this.ctx.canvas.height],function x(se,K,Z,re){const J=re[0],Y=re[1],$=re[2]-J,le=re[3]-Y;0===$||0===le||(function P(se,K,Z,re,J,Y,$,le,ee,we,ye){const Oe=!!Y,ve=Oe?Y[0]:0,_e=Oe?Y[1]:0,Pe=Oe?Y[2]:0;let Ze;Ze="Luminosity"===J?T:j;const tt=Math.min(re,Math.ceil(1048576/Z));for(let mt=0;mt100&&(we=100),this.current.fontSizeScale=Z/we,this.ctx.font=`${le} ${$} ${we}px ${ee}`}setTextRenderingMode(K){this.current.textRenderingMode=K}setTextRise(K){this.current.textRise=K}moveText(K,Z){this.current.x=this.current.lineX+=K,this.current.y=this.current.lineY+=Z}setLeadingMoveText(K,Z){this.setLeading(-Z),this.moveText(K,Z)}setTextMatrix(K,Z,re,J,Y,$){this.current.textMatrix=[K,Z,re,J,Y,$],this.current.textMatrixScale=Math.hypot(K,Z),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(K,Z,re,J){const Y=this.ctx,$=this.current,le=$.font,ee=$.textRenderingMode,we=$.fontSize/$.fontSizeScale,ye=ee&i.TextRenderingMode.FILL_STROKE_MASK,Oe=!!(ee&i.TextRenderingMode.ADD_TO_PATH_FLAG),ve=$.patternFill&&!le.missingFile;let _e;(le.disableFontFace||Oe||ve)&&(_e=le.getPathGenerator(this.commonObjs,K)),le.disableFontFace||ve?(Y.save(),Y.translate(Z,re),Y.beginPath(),_e(Y,we),J&&Y.setTransform(...J),(ye===i.TextRenderingMode.FILL||ye===i.TextRenderingMode.FILL_STROKE)&&Y.fill(),(ye===i.TextRenderingMode.STROKE||ye===i.TextRenderingMode.FILL_STROKE)&&Y.stroke(),Y.restore()):((ye===i.TextRenderingMode.FILL||ye===i.TextRenderingMode.FILL_STROKE)&&Y.fillText(K,Z,re),(ye===i.TextRenderingMode.STROKE||ye===i.TextRenderingMode.FILL_STROKE)&&Y.strokeText(K,Z,re)),Oe&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:(0,n.getCurrentTransform)(Y),x:Z,y:re,fontSize:we,addToPath:_e})}get isFontSubpixelAAEnabled(){const{context:K}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);K.scale(1.5,1),K.fillText("I",0,10);const Z=K.getImageData(0,0,10,10).data;let re=!1;for(let J=3;J0&&Z[J]<255){re=!0;break}return(0,i.shadow)(this,"isFontSubpixelAAEnabled",re)}showText(K){const Z=this.current,re=Z.font;if(re.isType3Font)return this.showType3Text(K);const J=Z.fontSize;if(0===J)return;const Y=this.ctx,$=Z.fontSizeScale,le=Z.charSpacing,ee=Z.wordSpacing,we=Z.fontDirection,ye=Z.textHScale*we,Oe=K.length,ve=re.vertical,_e=ve?1:-1,Pe=re.defaultVMetrics,Ze=J*Z.fontMatrix[0],ot=Z.textRenderingMode===i.TextRenderingMode.FILL&&!re.disableFontFace&&!Z.patternFill;let tt;if(Y.save(),Y.transform(...Z.textMatrix),Y.translate(Z.x,Z.y+Z.textRise),Y.scale(ye,we>0?-1:1),Z.patternFill){Y.save();const nt=Z.fillColor.getPattern(Y,this,(0,n.getCurrentTransformInverse)(Y),d.PathType.FILL);tt=(0,n.getCurrentTransform)(Y),Y.restore(),Y.fillStyle=nt}let mt=Z.lineWidth;const Qe=Z.textMatrixScale;if(0===Qe||0===mt){const nt=Z.textRenderingMode&i.TextRenderingMode.FILL_STROKE_MASK;(nt===i.TextRenderingMode.STROKE||nt===i.TextRenderingMode.FILL_STROKE)&&(mt=this.getSinglePixelWidth())}else mt/=Qe;1!==$&&(Y.scale($,$),mt/=$),Y.lineWidth=mt;let Xe,Ct=0;for(Xe=0;Xe0){const Ue=1e3*Y.measureText(hn).width/J*$;if(qtnew ue($,this.commonObjs,this.objs,this.canvasFactory)},J)}else Z=this._getPattern(K[1],K[2]);return Z}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(K,Z,re){const J=this.selectColor?.(K,Z,re)||i.Util.makeHexColor(K,Z,re);this.ctx.strokeStyle=J,this.current.strokeColor=J}setFillRGBColor(K,Z,re){const J=this.selectColor?.(K,Z,re)||i.Util.makeHexColor(K,Z,re);this.ctx.fillStyle=J,this.current.fillColor=J,this.current.patternFill=!1}_getPattern(K,Z=null){let re;return this.cachedPatterns.has(K)?re=this.cachedPatterns.get(K):(re=(0,d.getShadingPattern)(this.objs.get(K)),this.cachedPatterns.set(K,re)),Z&&(re.matrix=Z),re}shadingFill(K){if(!this.contentVisible)return;const Z=this.ctx;this.save();const re=this._getPattern(K);Z.fillStyle=re.getPattern(Z,this,(0,n.getCurrentTransformInverse)(Z),d.PathType.SHADING);const J=(0,n.getCurrentTransformInverse)(Z);if(J){const Y=Z.canvas,$=Y.width,le=Y.height,ee=i.Util.applyTransform([0,0],J),we=i.Util.applyTransform([0,le],J),ye=i.Util.applyTransform([$,0],J),Oe=i.Util.applyTransform([$,le],J),ve=Math.min(ee[0],we[0],ye[0],Oe[0]),_e=Math.min(ee[1],we[1],ye[1],Oe[1]),Pe=Math.max(ee[0],we[0],ye[0],Oe[0]),Ze=Math.max(ee[1],we[1],ye[1],Oe[1]);this.ctx.fillRect(ve,_e,Pe-ve,Ze-_e)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){(0,i.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,i.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(K,Z){this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(K)&&6===K.length&&this.transform(...K),this.baseTransform=(0,n.getCurrentTransform)(this.ctx),Z)&&(this.ctx.rect(Z[0],Z[1],Z[2]-Z[0],Z[3]-Z[1]),this.current.updateRectMinMax((0,n.getCurrentTransform)(this.ctx),Z),this.clip(),this.endPath())}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(K){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const Z=this.ctx;K.isolated||(0,i.info)("TODO: Support non-isolated groups."),K.knockout&&(0,i.warn)("Knockout groups not supported.");const re=(0,n.getCurrentTransform)(Z);if(K.matrix&&Z.transform(...K.matrix),!K.bbox)throw new Error("Bounding box is required.");let J=i.Util.getAxialAlignedBoundingBox(K.bbox,(0,n.getCurrentTransform)(Z));J=i.Util.intersect(J,[0,0,Z.canvas.width,Z.canvas.height])||[0,0,0,0];const $=Math.floor(J[0]),le=Math.floor(J[1]);let ee=Math.max(Math.ceil(J[2])-$,1),we=Math.max(Math.ceil(J[3])-le,1),ye=1,Oe=1;ee>c&&(ye=ee/c,ee=c),we>c&&(Oe=we/c,we=c),this.current.startNewPathAndClipBox([0,0,ee,we]);let ve="groupAt"+this.groupLevel;K.smask&&(ve+="_smask_"+this.smaskCounter++%2);const _e=this.cachedCanvases.getCanvas(ve,ee,we),Pe=_e.context;Pe.scale(1/ye,1/Oe),Pe.translate(-$,-le),Pe.transform(...re),K.smask?this.smaskStack.push({canvas:_e.canvas,context:Pe,offsetX:$,offsetY:le,scaleX:ye,scaleY:Oe,subtype:K.smask.subtype,backdrop:K.smask.backdrop,transferMap:K.smask.transferMap||null,startTransformInverse:null}):(Z.setTransform(1,0,0,1,0,0),Z.translate($,le),Z.scale(ye,Oe),Z.save()),A(Z,Pe),this.ctx=Pe,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(Z),this.groupLevel++}endGroup(K){if(!this.contentVisible)return;this.groupLevel--;const Z=this.ctx,re=this.groupStack.pop();if(this.ctx=re,this.ctx.imageSmoothingEnabled=!1,K.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const J=(0,n.getCurrentTransform)(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...J);const Y=i.Util.getAxialAlignedBoundingBox([0,0,Z.canvas.width,Z.canvas.height],J);this.ctx.drawImage(Z.canvas,0,0),this.ctx.restore(),this.compose(Y)}}beginAnnotation(K,Z,re,J,Y){if(this.#e(),I(this.ctx,this.foregroundColor),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),Array.isArray(Z)&&4===Z.length){const $=Z[2]-Z[0],le=Z[3]-Z[1];if(Y&&this.annotationCanvasMap){(re=re.slice())[4]-=Z[0],re[5]-=Z[1],(Z=Z.slice())[0]=Z[1]=0,Z[2]=$,Z[3]=le;const[ee,we]=i.Util.singularValueDecompose2dScale((0,n.getCurrentTransform)(this.ctx)),{viewportScale:ye}=this,Oe=Math.ceil($*this.outputScaleX*ye),ve=Math.ceil(le*this.outputScaleY*ye);this.annotationCanvas=this.canvasFactory.create(Oe,ve);const{canvas:_e,context:Pe}=this.annotationCanvas;this.annotationCanvasMap.set(K,_e),this.annotationCanvas.savedCtx=this.ctx,this.ctx=Pe,this.ctx.setTransform(ee,0,0,-we,0,le*we),I(this.ctx,this.foregroundColor)}else I(this.ctx,this.foregroundColor),this.ctx.rect(Z[0],Z[1],$,le),this.ctx.clip(),this.endPath()}this.current=new b(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...re),this.transform(...J)}endAnnotation(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(K){if(!this.contentVisible)return;const Z=K.count;(K=this.getObject(K.data,K)).count=Z;const re=this.ctx,J=this.processingType3;if(J&&(void 0===J.compiled&&(J.compiled=function y(se){const{width:K,height:Z}=se;if(K>p||Z>p)return null;const J=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),Y=K+1;let le,ee,we,$=new Uint8Array(Y*(Z+1));const ye=K+7&-8;let Oe=new Uint8Array(ye*Z),ve=0;for(const tt of se.data){let mt=128;for(;mt>0;)Oe[ve++]=tt&mt?0:255,mt>>=1}let _e=0;for(ve=0,0!==Oe[ve]&&($[0]=1,++_e),ee=1;ee>2)+(Oe[ve+1]?4:0)+(Oe[ve-ye+1]?8:0),J[tt]&&($[we+ee]=J[tt],++_e),ve++;if(Oe[ve-ye]!==Oe[ve]&&($[we+ee]=Oe[ve]?2:4,++_e),_e>1e3)return null}for(ve=ye*(Z-1),we=le*Y,0!==Oe[ve]&&($[we]=8,++_e),ee=1;ee1e3)return null;const Pe=new Int32Array([0,Y,-1,0,-Y,0,0,0,1]),Ze=new Path2D;for(le=0;_e&&le<=Z;le++){let tt=le*Y;const mt=tt+K;for(;tt>4,$[tt]&=Ct>>2|Ct<<2),Ze.lineTo(tt%Y,tt/Y|0),$[tt]||--_e}while(Qe!==tt);--le}return Oe=null,$=null,function(tt){tt.save(),tt.scale(1/K,-1/Z),tt.translate(0,-Z),tt.fill(Ze),tt.beginPath(),tt.restore()}}(K)),J.compiled))return void J.compiled(re);const Y=this._createMaskCanvas(K),$=Y.canvas;re.save(),re.setTransform(1,0,0,1,0,0),re.drawImage($,Y.offsetX,Y.offsetY),re.restore(),this.compose()}paintImageMaskXObjectRepeat(K,Z,re=0,J=0,Y,$){if(!this.contentVisible)return;K=this.getObject(K.data,K);const le=this.ctx;le.save();const ee=(0,n.getCurrentTransform)(le);le.transform(Z,re,J,Y,0,0);const we=this._createMaskCanvas(K);le.setTransform(1,0,0,1,0,0);for(let ye=0,Oe=$.length;yeee?le/ee:1,J=$>ee?$/ee:1}}this._cachedScaleForStroking=[re,J]}return this._cachedScaleForStroking}rescaleAndStroke(K){const{ctx:Z}=this,{lineWidth:re}=this.current,[J,Y]=this.getScaleForStroking();if(Z.lineWidth=re||1,1===J&&1===Y)return void Z.stroke();let $,le,ee;K&&($=(0,n.getCurrentTransform)(Z),le=Z.getLineDash().slice(),ee=Z.lineDashOffset),Z.scale(J,Y);const we=Math.max(J,Y);Z.setLineDash(Z.getLineDash().map(ye=>ye/we)),Z.lineDashOffset/=we,Z.stroke(),K&&(Z.setTransform(...$),Z.setLineDash(le),Z.lineDashOffset=ee)}isContentVisible(){for(let K=this.markedContentStack.length-1;K>=0;K--)if(!this.markedContentStack[K].visible)return!1;return!0}}h.CanvasGraphics=ue;for(const se in i.OPS)void 0!==ue.prototype[se]&&(ue.prototype[i.OPS[se]]=ue.prototype[se])},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.TilingPattern=h.PathType=void 0,h.getShadingPattern=function S(f){switch(f[0]){case"RadialAxial":return new u(f);case"Mesh":return new v(f);case"Dummy":return new p}throw new Error(`Unknown IR type: ${f[0]}`)};var n=o(1),i=o(8),d=o(3);const a={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function l(f,y){if(!y||d.isNodeJS)return;const b=y[2]-y[0],E=y[3]-y[1],M=new Path2D;M.rect(y[0],y[1],b,E),f.clip(M)}h.PathType=a;class e{constructor(){this.constructor===e&&(0,n.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,n.unreachable)("Abstract method `getPattern` called.")}}class u extends e{constructor(y){super(),this._type=y[1],this._bbox=y[2],this._colorStops=y[3],this._p0=y[4],this._p1=y[5],this._r0=y[6],this._r1=y[7],this.matrix=null}_createGradient(y){let b;"axial"===this._type?b=y.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(b=y.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const E of this._colorStops)b.addColorStop(E[0],E[1]);return b}getPattern(y,b,E,M){let A;if(M===a.STROKE||M===a.FILL){const I=b.current.getClippedPathBoundingBox(M,(0,i.getCurrentTransform)(y))||[0,0,0,0],F=Math.ceil(I[2]-I[0])||1,j=Math.ceil(I[3]-I[1])||1,T=b.cachedCanvases.getCanvas("pattern",F,j,!0),P=T.context;P.clearRect(0,0,P.canvas.width,P.canvas.height),P.beginPath(),P.rect(0,0,P.canvas.width,P.canvas.height),P.translate(-I[0],-I[1]),E=n.Util.transform(E,[1,0,0,1,I[0],I[1]]),P.transform(...b.baseTransform),this.matrix&&P.transform(...this.matrix),l(P,this._bbox),P.fillStyle=this._createGradient(P),P.fill(),A=y.createPattern(T.canvas,"no-repeat");const x=new DOMMatrix(E);try{A.setTransform(x)}catch(N){(0,n.warn)(`RadialAxialShadingPattern.getPattern: "${N?.message}".`)}}else l(y,this._bbox),A=this._createGradient(y);return A}}function c(f,y,b,E,M,A,I,F){const j=y.coords,T=y.colors,P=f.data,x=4*f.width;let N;j[b+1]>j[E+1]&&(N=b,b=E,E=N,N=A,A=I,I=N),j[E+1]>j[M+1]&&(N=E,E=M,M=N,N=I,I=F,F=N),j[b+1]>j[E+1]&&(N=b,b=E,E=N,N=A,A=I,I=N);const O=(j[b]+y.offsetX)*y.scaleX,H=(j[b+1]+y.offsetY)*y.scaleY,G=(j[E]+y.offsetX)*y.scaleX,te=(j[E+1]+y.offsetY)*y.scaleY,ue=(j[M]+y.offsetX)*y.scaleX,se=(j[M+1]+y.offsetY)*y.scaleY;if(H>=se)return;const K=T[A],Z=T[A+1],re=T[A+2],J=T[I],Y=T[I+1],$=T[I+2],le=T[F],ee=T[F+1],we=T[F+2],ye=Math.round(H),Oe=Math.round(se);let ve,_e,Pe,Ze,ot,tt,mt,Qe;for(let Ct=ye;Ct<=Oe;Ct++){if(Ctse?1:te===se?0:(te-Ct)/(te-se),ve=G-(G-ue)*hn,_e=J-(J-le)*hn,Pe=Y-(Y-ee)*hn,Ze=$-($-we)*hn}let Xe;Xe=Ctse?1:(H-Ct)/(H-se),ot=O-(O-ue)*Xe,tt=K-(K-le)*Xe,mt=Z-(Z-ee)*Xe,Qe=re-(re-we)*Xe;const nt=Math.round(Math.min(ve,ot)),Pt=Math.round(Math.max(ve,ot));let tn=x*Ct+4*nt;for(let hn=nt;hn<=Pt;hn++)Xe=(ve-hn)/(ve-ot),Xe<0?Xe=0:Xe>1&&(Xe=1),P[tn++]=_e-(_e-tt)*Xe|0,P[tn++]=Pe-(Pe-mt)*Xe|0,P[tn++]=Ze-(Ze-Qe)*Xe|0,P[tn++]=255}}function g(f,y,b){const E=y.coords,M=y.colors;let A,I;switch(y.type){case"lattice":const F=y.verticesPerRow,j=Math.floor(E.length/F)-1,T=F-1;for(A=0;A=M?A=M:E=A/y,{scale:E,size:A}}clipBbox(y,b,E,M,A){y.ctx.rect(b,E,M-b,A-E),y.current.updateRectMinMax((0,i.getCurrentTransform)(y.ctx),[b,E,M,A]),y.clip(),y.endPath()}setFillAndStrokeStyleToContext(y,b,E){const M=y.ctx,A=y.current;switch(b){case 1:const I=this.ctx;M.fillStyle=I.fillStyle,M.strokeStyle=I.strokeStyle,A.fillColor=I.fillStyle,A.strokeColor=I.strokeStyle;break;case 2:const F=n.Util.makeHexColor(E[0],E[1],E[2]);M.fillStyle=F,M.strokeStyle=F,A.fillColor=F,A.strokeColor=F;break;default:throw new n.FormatError(`Unsupported paint type: ${b}`)}}getPattern(y,b,E,M){let A=E;M!==a.SHADING&&(A=n.Util.transform(A,b.baseTransform),this.matrix&&(A=n.Util.transform(A,this.matrix)));const I=this.createPatternCanvas(b);let F=new DOMMatrix(A);F=F.translate(I.offsetX,I.offsetY),F=F.scale(1/I.scaleX,1/I.scaleY);const j=y.createPattern(I.canvas,"repeat");try{j.setTransform(F)}catch(T){(0,n.warn)(`TilingPattern.getPattern: "${T?.message}".`)}return j}}h.TilingPattern=_},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.applyMaskImageData=function i({src:d,srcPos:a=0,dest:l,destPos:e=0,width:u,height:c,inverseDecode:g=!1}){const v=n.FeatureTest.isLittleEndian?4278190080:255,[p,S]=g?[0,v]:[v,0],C=u>>3,_=7&u,f=d.length;l=new Uint32Array(l.buffer);for(let y=0;y{Object.defineProperty(h,"__esModule",{value:!0}),h.GlobalWorkerOptions=void 0;const o=Object.create(null);h.GlobalWorkerOptions=o,o.workerPort=void 0===o.workerPort?null:o.workerPort,o.workerSrc=void 0===o.workerSrc?"":o.workerSrc},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.MessageHandler=void 0;var n=o(1);function a(e){switch(e instanceof Error||"object"==typeof e&&null!==e||(0,n.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new n.AbortException(e.message);case"MissingPDFException":return new n.MissingPDFException(e.message);case"PasswordException":return new n.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new n.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new n.UnknownErrorException(e.message,e.details);default:return new n.UnknownErrorException(e.message,e.toString())}}h.MessageHandler=class l{constructor(u,c,g){this.sourceName=u,this.targetName=c,this.comObj=g,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=v=>{const p=v.data;if(p.targetName!==this.sourceName)return;if(p.stream)return void this._processStreamMessage(p);if(p.callback){const C=p.callbackId,_=this.callbackCapabilities[C];if(!_)throw new Error(`Cannot resolve callback ${C}`);if(delete this.callbackCapabilities[C],1===p.callback)_.resolve(p.data);else{if(2!==p.callback)throw new Error("Unexpected callback case");_.reject(a(p.reason))}return}const S=this.actionHandler[p.action];if(!S)throw new Error(`Unknown action from worker: ${p.action}`);if(p.callbackId){const C=this.sourceName,_=p.sourceName;new Promise(function(f){f(S(p.data))}).then(function(f){g.postMessage({sourceName:C,targetName:_,callback:1,callbackId:p.callbackId,data:f})},function(f){g.postMessage({sourceName:C,targetName:_,callback:2,callbackId:p.callbackId,reason:a(f)})})}else p.streamId?this._createStreamSink(p):S(p.data)},g.addEventListener("message",this._onComObjOnMessage)}on(u,c){const g=this.actionHandler;if(g[u])throw new Error(`There is already an actionName called "${u}"`);g[u]=c}send(u,c,g){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:u,data:c},g)}sendWithPromise(u,c,g){const v=this.callbackId++,p=(0,n.createPromiseCapability)();this.callbackCapabilities[v]=p;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:u,callbackId:v,data:c},g)}catch(S){p.reject(S)}return p.promise}sendWithStream(u,c,g,v){const p=this.streamId++,S=this.sourceName,C=this.targetName,_=this.comObj;return new ReadableStream({start:f=>{const y=(0,n.createPromiseCapability)();return this.streamControllers[p]={controller:f,startCall:y,pullCall:null,cancelCall:null,isClosed:!1},_.postMessage({sourceName:S,targetName:C,action:u,streamId:p,data:c,desiredSize:f.desiredSize},v),y.promise},pull:f=>{const y=(0,n.createPromiseCapability)();return this.streamControllers[p].pullCall=y,_.postMessage({sourceName:S,targetName:C,stream:6,streamId:p,desiredSize:f.desiredSize}),y.promise},cancel:f=>{(0,n.assert)(f instanceof Error,"cancel must have a valid reason");const y=(0,n.createPromiseCapability)();return this.streamControllers[p].cancelCall=y,this.streamControllers[p].isClosed=!0,_.postMessage({sourceName:S,targetName:C,stream:1,streamId:p,reason:a(f)}),y.promise}},g)}_createStreamSink(u){const c=u.streamId,g=this.sourceName,v=u.sourceName,p=this.comObj,S=this,C=this.actionHandler[u.action],_={enqueue(f,y=1,b){if(this.isCancelled)return;const E=this.desiredSize;this.desiredSize-=y,E>0&&this.desiredSize<=0&&(this.sinkCapability=(0,n.createPromiseCapability)(),this.ready=this.sinkCapability.promise),p.postMessage({sourceName:g,targetName:v,stream:4,streamId:c,chunk:f},b)},close(){this.isCancelled||(this.isCancelled=!0,p.postMessage({sourceName:g,targetName:v,stream:3,streamId:c}),delete S.streamSinks[c])},error(f){(0,n.assert)(f instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,p.postMessage({sourceName:g,targetName:v,stream:5,streamId:c,reason:a(f)}))},sinkCapability:(0,n.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:u.desiredSize,ready:null};_.sinkCapability.resolve(),_.ready=_.sinkCapability.promise,this.streamSinks[c]=_,new Promise(function(f){f(C(u.data,_))}).then(function(){p.postMessage({sourceName:g,targetName:v,stream:8,streamId:c,success:!0})},function(f){p.postMessage({sourceName:g,targetName:v,stream:8,streamId:c,reason:a(f)})})}_processStreamMessage(u){const c=u.streamId,g=this.sourceName,v=u.sourceName,p=this.comObj,S=this.streamControllers[c],C=this.streamSinks[c];switch(u.stream){case 8:u.success?S.startCall.resolve():S.startCall.reject(a(u.reason));break;case 7:u.success?S.pullCall.resolve():S.pullCall.reject(a(u.reason));break;case 6:if(!C){p.postMessage({sourceName:g,targetName:v,stream:7,streamId:c,success:!0});break}C.desiredSize<=0&&u.desiredSize>0&&C.sinkCapability.resolve(),C.desiredSize=u.desiredSize,new Promise(function(_){_(C.onPull&&C.onPull())}).then(function(){p.postMessage({sourceName:g,targetName:v,stream:7,streamId:c,success:!0})},function(_){p.postMessage({sourceName:g,targetName:v,stream:7,streamId:c,reason:a(_)})});break;case 4:if((0,n.assert)(S,"enqueue should have stream controller"),S.isClosed)break;S.controller.enqueue(u.chunk);break;case 3:if((0,n.assert)(S,"close should have stream controller"),S.isClosed)break;S.isClosed=!0,S.controller.close(),this._deleteStreamController(S,c);break;case 5:(0,n.assert)(S,"error should have stream controller"),S.controller.error(a(u.reason)),this._deleteStreamController(S,c);break;case 2:u.success?S.cancelCall.resolve():S.cancelCall.reject(a(u.reason)),this._deleteStreamController(S,c);break;case 1:if(!C)break;new Promise(function(_){_(C.onCancel&&C.onCancel(a(u.reason)))}).then(function(){p.postMessage({sourceName:g,targetName:v,stream:2,streamId:c,success:!0})},function(_){p.postMessage({sourceName:g,targetName:v,stream:2,streamId:c,reason:a(_)})}),C.sinkCapability.reject(a(u.reason)),C.isCancelled=!0,delete this.streamSinks[c];break;default:throw new Error("Unexpected stream case")}}_deleteStreamController(u,c){var g=this;return _asyncToGenerator(function*(){yield Promise.allSettled([u.startCall&&u.startCall.promise,u.pullCall&&u.pullCall.promise,u.cancelCall&&u.cancelCall.promise]),delete g.streamControllers[c]})()}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.Metadata=void 0;var n=o(1);h.Metadata=class i{#e;#t;constructor({parsedData:a,rawData:l}){this.#e=a,this.#t=l}getRaw(){return this.#t}get(a){return this.#e.get(a)??null}getAll(){return(0,n.objectFromMap)(this.#e)}has(a){return this.#e.has(a)}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.OptionalContentConfig=void 0;var n=o(1);const i=Symbol("INTERNAL");class d{#e=!0;constructor(e,u){this.name=e,this.intent=u}get visible(){return this.#e}_setVisible(e,u){e!==i&&(0,n.unreachable)("Internal method `_setVisible` called."),this.#e=u}}h.OptionalContentConfig=class a{#e=!0;#t=new Map;#n=null;#r=null;constructor(e){if(this.name=null,this.creator=null,null!==e){this.name=e.name,this.creator=e.creator,this.#r=e.order;for(const u of e.groups)this.#t.set(u.id,new d(u.name,u.intent));if("OFF"===e.baseState)for(const u of this.#t.values())u._setVisible(i,!1);for(const u of e.on)this.#t.get(u)._setVisible(i,!0);for(const u of e.off)this.#t.get(u)._setVisible(i,!1);this.#n=new Map;for(const[u,c]of this.#t)this.#n.set(u,c.visible)}}#o(e){const u=e.length;if(u<2)return!0;const c=e[0];for(let g=1;g0?(0,n.objectFromMap)(this.#t):null}getGroup(e){return this.#t.get(e)||null}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFDataTransportStream=void 0;var n=o(1),i=o(8);h.PDFDataTransportStream=class d{constructor(u,c){(0,n.assert)(c,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=u.progressiveDone||!1,this._contentDispositionFilename=u.contentDispositionFilename||null;const g=u.initialData;if(g?.length>0){const v=new Uint8Array(g).buffer;this._queuedChunks.push(v)}this._pdfDataRangeTransport=c,this._isStreamingSupported=!u.disableStream,this._isRangeSupported=!u.disableRange,this._contentLength=u.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((v,p)=>{this._onReceiveData({begin:v,chunk:p})}),this._pdfDataRangeTransport.addProgressListener((v,p)=>{this._onProgress({loaded:v,total:p})}),this._pdfDataRangeTransport.addProgressiveReadListener(v=>{this._onReceiveData({chunk:v})}),this._pdfDataRangeTransport.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),this._pdfDataRangeTransport.transportReady()}_onReceiveData(u){const c=new Uint8Array(u.chunk).buffer;if(void 0===u.begin)this._fullRequestReader?this._fullRequestReader._enqueue(c):this._queuedChunks.push(c);else{const g=this._rangeReaders.some(function(v){return v._begin===u.begin&&(v._enqueue(c),!0)});(0,n.assert)(g,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(u){if(void 0===u.total){const c=this._rangeReaders[0];c?.onProgress&&c.onProgress({loaded:u.loaded})}else{const c=this._fullRequestReader;c?.onProgress&&c.onProgress({loaded:u.loaded,total:u.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(u){const c=this._rangeReaders.indexOf(u);c>=0&&this._rangeReaders.splice(c,1)}getFullReader(){(0,n.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const u=this._queuedChunks;return this._queuedChunks=null,new a(this,u,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(u,c){if(c<=this._progressiveDataLength)return null;const g=new l(this,u,c);return this._pdfDataRangeTransport.requestDataRange(u,c),this._rangeReaders.push(g),g}cancelAllRequests(u){this._fullRequestReader&&this._fullRequestReader.cancel(u);for(const c of this._rangeReaders.slice(0))c.cancel(u);this._pdfDataRangeTransport.abort()}};class a{constructor(u,c,g=!1,v=null){this._stream=u,this._done=g||!1,this._filename=(0,i.isPdfFile)(v)?v:null,this._queuedChunks=c||[],this._loaded=0;for(const p of this._queuedChunks)this._loaded+=p.byteLength;this._requests=[],this._headersReady=Promise.resolve(),u._fullRequestReader=this,this.onProgress=null}_enqueue(u){this._done||(this._requests.length>0?this._requests.shift().resolve({value:u,done:!1}):this._queuedChunks.push(u),this._loaded+=u.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}read(){var u=this;return _asyncToGenerator(function*(){if(u._queuedChunks.length>0)return{value:u._queuedChunks.shift(),done:!1};if(u._done)return{value:void 0,done:!0};const c=(0,n.createPromiseCapability)();return u._requests.push(c),c.promise})()}cancel(u){this._done=!0;for(const c of this._requests)c.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class l{constructor(u,c,g){this._stream=u,this._begin=c,this._end=g,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(u){if(!this._done){if(0===this._requests.length)this._queuedChunk=u;else{this._requests.shift().resolve({value:u,done:!1});for(const g of this._requests)g.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}read(){var u=this;return _asyncToGenerator(function*(){if(u._queuedChunk){const g=u._queuedChunk;return u._queuedChunk=null,{value:g,done:!1}}if(u._done)return{value:void 0,done:!0};const c=(0,n.createPromiseCapability)();return u._requests.push(c),c.promise})()}cancel(u){this._done=!0;for(const c of this._requests)c.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(pe,h)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.XfaText=void 0;class o{static textContent(i){const d=[],a={items:d,styles:Object.create(null)};return function l(e){if(!e)return;let u=null;const c=e.name;if("#text"===c)u=e.value;else{if(!o.shouldBuildText(c))return;e?.attributes?.textContent?u=e.attributes.textContent:e.value&&(u=e.value)}if(null!==u&&d.push({str:u}),e.children)for(const g of e.children)l(g)}(i),a}static shouldBuildText(i){return!("textarea"===i||"input"===i||"option"===i||"select"===i)}}h.XfaText=o},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.NodeStandardFontDataFactory=h.NodeCanvasFactory=h.NodeCMapReaderFactory=void 0;var n=o(9);const i=function(e){return new Promise((u,c)=>{__webpack_require__(45344).readFile(e,(v,p)=>{!v&&p?u(new Uint8Array(p)):c(new Error(v))})})};h.NodeCanvasFactory=class d extends n.BaseCanvasFactory{_createCanvas(u,c){return __webpack_require__(22892).createCanvas(u,c)}},h.NodeCMapReaderFactory=class a extends n.BaseCMapReaderFactory{_fetchData(u,c){return i(u).then(g=>({cMapData:g,compressionType:c}))}},h.NodeStandardFontDataFactory=class l extends n.BaseStandardFontDataFactory{_fetchData(u){return i(u)}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.AnnotationEditorLayer=void 0;var n=o(7),i=o(1),d=o(23),a=o(24);h.AnnotationEditorLayer=(()=>{class e{#e;#t=!1;#n=this.pointerup.bind(this);#r=this.pointerdown.bind(this);#o=new Map;#c=!1;#a=!1;#i;static _initialized=!1;constructor(c){e._initialized||(e._initialized=!0,d.FreeTextEditor.initialize(c.l10n),a.InkEditor.initialize(c.l10n),c.uiManager.registerEditorTypes([d.FreeTextEditor,a.InkEditor])),this.#i=c.uiManager,this.annotationStorage=c.annotationStorage,this.pageIndex=c.pageIndex,this.div=c.div,this.#e=c.accessibilityManager,this.#i.addLayer(this)}updateToolbar(c){this.#i.updateToolbar(c)}updateMode(c=this.#i.getMode()){this.#s(),c===i.AnnotationEditorType.INK?(this.addInkEditorIfNeeded(!1),this.disableClick()):this.enableClick(),this.#i.unselectAll()}addInkEditorIfNeeded(c){if(c||this.#i.getMode()===i.AnnotationEditorType.INK){if(!c)for(const v of this.#o.values())if(v.isEmpty())return void v.setInBackground();this.#l({offsetX:0,offsetY:0}).setInBackground()}}setEditingState(c){this.#i.setEditingState(c)}addCommands(c){this.#i.addCommands(c)}enable(){this.div.style.pointerEvents="auto";for(const c of this.#o.values())c.enableEditing()}disable(){this.div.style.pointerEvents="none";for(const c of this.#o.values())c.disableEditing()}setActiveEditor(c){this.#i.getActive()!==c&&this.#i.setActiveEditor(c)}enableClick(){this.div.addEventListener("pointerdown",this.#r),this.div.addEventListener("pointerup",this.#n)}disableClick(){this.div.removeEventListener("pointerdown",this.#r),this.div.removeEventListener("pointerup",this.#n)}attach(c){this.#o.set(c.id,c)}detach(c){this.#o.delete(c.id),this.#e?.removePointerInTextLayer(c.contentDiv)}remove(c){this.#i.removeEditor(c),this.detach(c),this.annotationStorage.remove(c.id),c.div.style.display="none",setTimeout(()=>{c.div.style.display="",c.div.remove(),c.isAttachedToDOM=!1,document.activeElement===document.body&&this.#i.focusMainContainer()},0),this.#a||this.addInkEditorIfNeeded(!1)}#h(c){c.parent!==this&&(this.attach(c),c.pageIndex=this.pageIndex,c.parent?.detach(c),c.parent=this,c.div&&c.isAttachedToDOM&&(c.div.remove(),this.div.append(c.div)))}add(c){if(this.#h(c),this.#i.addEditor(c),this.attach(c),!c.isAttachedToDOM){const g=c.render();this.div.append(g),c.isAttachedToDOM=!0}this.moveEditorInDOM(c),c.onceAdded(),this.addToAnnotationStorage(c)}moveEditorInDOM(c){this.#e?.moveElementInDOM(this.div,c.div,c.contentDiv,!0)}addToAnnotationStorage(c){!c.isEmpty()&&!this.annotationStorage.has(c.id)&&this.annotationStorage.setValue(c.id,c)}addOrRebuild(c){c.needsToBeRebuilt()?c.rebuild():this.add(c)}addANewEditor(c){this.addCommands({cmd:()=>{this.addOrRebuild(c)},undo:()=>{c.remove()},mustExec:!0})}addUndoableEditor(c){this.addCommands({cmd:()=>{this.addOrRebuild(c)},undo:()=>{c.remove()},mustExec:!1})}getNextId(){return this.#i.getId()}#u(c){switch(this.#i.getMode()){case i.AnnotationEditorType.FREETEXT:return new d.FreeTextEditor(c);case i.AnnotationEditorType.INK:return new a.InkEditor(c)}return null}deserialize(c){switch(c.annotationType){case i.AnnotationEditorType.FREETEXT:return d.FreeTextEditor.deserialize(c,this);case i.AnnotationEditorType.INK:return a.InkEditor.deserialize(c,this)}return null}#l(c){const g=this.getNextId(),v=this.#u({parent:this,id:g,x:c.offsetX,y:c.offsetY});return v&&this.add(v),v}setSelected(c){this.#i.setSelected(c)}toggleSelected(c){this.#i.toggleSelected(c)}isSelected(c){return this.#i.isSelected(c)}unselect(c){this.#i.unselect(c)}pointerup(c){if(!(0!==c.button||c.ctrlKey&&n.KeyboardManager.platform.isMac)&&c.target===this.div&&this.#c){if(this.#c=!1,!this.#t)return void(this.#t=!0);this.#l(c)}}pointerdown(c){if(0!==c.button||c.ctrlKey&&n.KeyboardManager.platform.isMac||c.target!==this.div)return;this.#c=!0;const v=this.#i.getActive();this.#t=!v||v.isEmpty()}drop(c){const g=c.dataTransfer.getData("text/plain"),v=this.#i.getEditor(g);if(!v)return;c.preventDefault(),c.dataTransfer.dropEffect="move",this.#h(v);const p=this.div.getBoundingClientRect();v.translate(c.clientX-p.x-v.startX,c.clientY-p.y-v.startY),this.moveEditorInDOM(v),v.div.focus()}dragover(c){c.preventDefault()}destroy(){this.#i.getActive()?.parent===this&&this.#i.setActiveEditor(null);for(const c of this.#o.values())this.#e?.removePointerInTextLayer(c.contentDiv),c.isAttachedToDOM=!1,c.div.remove(),c.parent=null;this.div=null,this.#o.clear(),this.#i.removeLayer(this)}#s(){this.#a=!0;for(const c of this.#o.values())c.isEmpty()&&c.remove();this.#a=!1}render(c){this.viewport=c.viewport,(0,n.bindEvents)(this,this.div,["dragover","drop"]),this.setDimensions();for(const g of this.#i.getEditors(this.pageIndex))this.add(g);this.updateMode()}update(c){this.viewport=c.viewport,this.setDimensions(),this.updateMode()}get scaleFactor(){return this.viewport.scale}get pageDimensions(){const[c,g,v,p]=this.viewport.viewBox;return[v-c,p-g]}get viewportBaseDimensions(){const{width:c,height:g,rotation:v}=this.viewport;return v%180==0?[c,g]:[g,c]}setDimensions(){const{width:c,height:g,rotation:v}=this.viewport,p=v%180!=0,S=Math.floor(c)+"px",C=Math.floor(g)+"px";this.div.style.width=p?C:S,this.div.style.height=p?S:C,this.div.setAttribute("data-main-rotation",v)}}return e})()},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.FreeTextEditor=void 0;var n=o(1),i=o(7),d=o(6);class a extends d.AnnotationEditor{#e=this.editorDivBlur.bind(this);#t=this.editorDivFocus.bind(this);#n=this.editorDivKeydown.bind(this);#r;#o="";#c=!1;#a;static _freeTextDefaultContent="";static _l10nPromise;static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static _keyboardManager=new i.KeyboardManager([[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],a.prototype.commitOrRemove]]);static _type="freetext";constructor(e){super({...e,name:"freeTextEditor"}),this.#r=e.color||a._defaultColor||d.AnnotationEditor._defaultLineColor,this.#a=e.fontSize||a._defaultFontSize}static initialize(e){this._l10nPromise=new Map(["free_text_default_content","editor_free_text_aria_label"].map(c=>[c,e.get(c)]));const u=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(u.getPropertyValue("--freetext-padding"))}static updateDefaultParams(e,u){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:a._defaultFontSize=u;break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:a._defaultColor=u}}updateParams(e,u){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:this.#i(u);break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:this.#h(u)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,a._defaultFontSize],[n.AnnotationEditorParamsType.FREETEXT_COLOR,a._defaultColor||d.AnnotationEditor._defaultLineColor]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,this.#a],[n.AnnotationEditorParamsType.FREETEXT_COLOR,this.#r]]}#i(e){const u=g=>{this.editorDiv.style.fontSize=`calc(${g}px * var(--scale-factor))`,this.translate(0,-(g-this.#a)*this.parent.scaleFactor),this.#a=g,this.#l()},c=this.#a;this.parent.addCommands({cmd:()=>{u(e)},undo:()=>{u(c)},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#h(e){const u=this.#r;this.parent.addCommands({cmd:()=>{this.#r=e,this.editorDiv.style.color=e},undo:()=>{this.#r=u,this.editorDiv.style.color=u},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}getInitialTranslation(){return[-a._internalPadding*this.parent.scaleFactor,-(a._internalPadding+this.#a)*this.parent.scaleFactor]}rebuild(){super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this))}enableEditMode(){this.isInEditMode()||(this.parent.setEditingState(!1),this.parent.updateToolbar(n.AnnotationEditorType.FREETEXT),super.enableEditMode(),this.enableEditing(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this.div.draggable=!1,this.editorDiv.addEventListener("keydown",this.#n),this.editorDiv.addEventListener("focus",this.#t),this.editorDiv.addEventListener("blur",this.#e))}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.disableEditing(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.draggable=!0,this.editorDiv.removeEventListener("keydown",this.#n),this.editorDiv.removeEventListener("focus",this.#t),this.editorDiv.removeEventListener("blur",this.#e),this.div.focus(),this.isEditing=!1)}focusin(e){super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus()}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus())}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent.setEditingState(!0),super.remove()}#u(){const e=this.editorDiv.getElementsByTagName("div");if(0===e.length)return this.editorDiv.innerText;const u=[];for(let c=0,g=e.length;cthis.editorDiv?.setAttribute("aria-label",g)),a._l10nPromise.get("free_text_default_content").then(g=>this.editorDiv?.setAttribute("default-content",g)),this.editorDiv.contentEditable=!0;const{style:c}=this.editorDiv;if(c.fontSize=`calc(${this.#a}px * var(--scale-factor))`,c.color=this.#r,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),(0,i.bindEvents)(this,this.div,["dblclick","keydown"]),this.width){const[g,v]=this.parent.viewportBaseDimensions;this.setAt(e*g,u*v,this.width*g,this.height*v);for(const p of this.#o.split("\n")){const S=document.createElement("div");S.append(p?document.createTextNode(p):document.createElement("br")),this.editorDiv.append(S)}this.div.draggable=!0,this.editorDiv.contentEditable=!1}else this.div.draggable=!1,this.editorDiv.contentEditable=!0;return this.div}get contentDiv(){return this.editorDiv}static deserialize(e,u){const c=super.deserialize(e,u);return c.#a=e.fontSize,c.#r=n.Util.makeHexColor(...e.color),c.#o=e.value,c}serialize(){if(this.isEmpty())return null;const e=a._internalPadding*this.parent.scaleFactor,u=this.getRect(e,e),c=d.AnnotationEditor._colorManager.convert(getComputedStyle(this.editorDiv).color);return{annotationType:n.AnnotationEditorType.FREETEXT,color:c,fontSize:this.#a,value:this.#o,pageIndex:this.parent.pageIndex,rect:u,rotation:this.rotation}}}h.FreeTextEditor=a},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.InkEditor=void 0,Object.defineProperty(h,"fitCurve",{enumerable:!0,get:function(){return d.fitCurve}});var n=o(1),i=o(6),d=o(25),a=o(7);const l=16;h.InkEditor=(()=>{class u extends i.AnnotationEditor{#e=0;#t=0;#n=0;#r=this.canvasPointermove.bind(this);#o=this.canvasPointerleave.bind(this);#c=this.canvasPointerup.bind(this);#a=this.canvasPointerdown.bind(this);#i=!1;#h=!1;#u=null;#l=null;#s=0;#g=0;#f=null;static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=1;static _l10nPromise;static _type="ink";constructor(g){super({...g,name:"inkEditor"}),this.color=g.color||null,this.thickness=g.thickness||null,this.opacity=g.opacity||null,this.paths=[],this.bezierPath2D=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0}static initialize(g){this._l10nPromise=new Map(["editor_ink_canvas_aria_label","editor_ink_aria_label"].map(v=>[v,g.get(v)]))}static updateDefaultParams(g,v){switch(g){case n.AnnotationEditorParamsType.INK_THICKNESS:u._defaultThickness=v;break;case n.AnnotationEditorParamsType.INK_COLOR:u._defaultColor=v;break;case n.AnnotationEditorParamsType.INK_OPACITY:u._defaultOpacity=v/100}}updateParams(g,v){switch(g){case n.AnnotationEditorParamsType.INK_THICKNESS:this.#v(v);break;case n.AnnotationEditorParamsType.INK_COLOR:this.#p(v);break;case n.AnnotationEditorParamsType.INK_OPACITY:this.#_(v)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,u._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,u._defaultColor||i.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*u._defaultOpacity)]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,this.thickness||u._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,this.color||u._defaultColor||i.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*(this.opacity??u._defaultOpacity))]]}#v(g){const v=this.thickness;this.parent.addCommands({cmd:()=>{this.thickness=g,this.#D()},undo:()=>{this.thickness=v,this.#D()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}#p(g){const v=this.color;this.parent.addCommands({cmd:()=>{this.color=g,this.#m()},undo:()=>{this.color=v,this.#m()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}#_(g){g/=100;const v=this.opacity;this.parent.addCommands({cmd:()=>{this.opacity=g,this.#m()},undo:()=>{this.opacity=v,this.#m()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}rebuild(){super.rebuild(),null!==this.div&&(this.canvas||(this.#y(),this.#C()),this.isAttachedToDOM||(this.parent.add(this),this.#w()),this.#D())}remove(){null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,this.#l.disconnect(),this.#l=null,super.remove())}enableEditMode(){this.#i||null===this.canvas||(super.enableEditMode(),this.div.draggable=!1,this.canvas.addEventListener("pointerdown",this.#a),this.canvas.addEventListener("pointerup",this.#c))}disableEditMode(){!this.isInEditMode()||null===this.canvas||(super.disableEditMode(),this.div.draggable=!this.isEmpty(),this.div.classList.remove("editing"),this.canvas.removeEventListener("pointerdown",this.#a),this.canvas.removeEventListener("pointerup",this.#c))}onceAdded(){this.div.draggable=!this.isEmpty()}isEmpty(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}#S(){const{width:g,height:v,rotation:p}=this.parent.viewport;switch(p){case 90:return[0,g,g,v];case 180:return[g,v,g,v];case 270:return[v,0,g,v];default:return[0,0,g,v]}}#b(){this.ctx.lineWidth=this.thickness*this.parent.scaleFactor/this.scaleFactor,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.miterLimit=10,this.ctx.strokeStyle=`${this.color}${(0,a.opacityToHex)(this.opacity)}`}#d(g,v){this.isEditing=!0,this.#h||(this.#h=!0,this.#w(),this.thickness||=u._defaultThickness,this.color||=u._defaultColor||i.AnnotationEditor._defaultLineColor,this.opacity??=u._defaultOpacity),this.currentPath.push([g,v]),this.#u=null,this.#b(),this.ctx.beginPath(),this.ctx.moveTo(g,v),this.#f=()=>{this.#f&&(this.#u&&(this.isEmpty()?(this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)):this.#m(),this.ctx.lineTo(...this.#u),this.#u=null,this.ctx.stroke()),window.requestAnimationFrame(this.#f))},window.requestAnimationFrame(this.#f)}#E(g,v){const[p,S]=this.currentPath.at(-1);g===p&&v===S||(this.currentPath.push([g,v]),this.#u=[g,v])}#A(g,v){this.ctx.closePath(),this.#f=null,g=Math.min(Math.max(g,0),this.canvas.width),v=Math.min(Math.max(v,0),this.canvas.height);const[p,S]=this.currentPath.at(-1);let C;if((g!==p||v!==S)&&this.currentPath.push([g,v]),1!==this.currentPath.length)C=(0,d.fitCurve)(this.currentPath,30,null);else{const b=[g,v];C=[[b,b.slice(),b.slice(),b]]}const _=u.#k(C);this.currentPath.length=0,this.parent.addCommands({cmd:()=>{this.paths.push(C),this.bezierPath2D.push(_),this.rebuild()},undo:()=>{this.paths.pop(),this.bezierPath2D.pop(),0===this.paths.length?this.remove():(this.canvas||(this.#y(),this.#C()),this.#D())},mustExec:!0})}#m(){if(this.isEmpty())return void this.#T();this.#b();const{canvas:g,ctx:v}=this;v.setTransform(1,0,0,1,0,0),v.clearRect(0,0,g.width,g.height),this.#T();for(const p of this.bezierPath2D)v.stroke(p)}commit(){this.#i||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),this.#i=!0,this.div.classList.add("disabled"),this.#D(!0),this.parent.addInkEditorIfNeeded(!0),this.parent.moveEditorInDOM(this),this.div.focus())}focusin(g){super.focusin(g),this.enableEditMode()}canvasPointerdown(g){0!==g.button||!this.isInEditMode()||this.#i||(this.setInForeground(),"mouse"!==g.type&&this.div.focus(),g.stopPropagation(),this.canvas.addEventListener("pointerleave",this.#o),this.canvas.addEventListener("pointermove",this.#r),this.#d(g.offsetX,g.offsetY))}canvasPointermove(g){g.stopPropagation(),this.#E(g.offsetX,g.offsetY)}canvasPointerup(g){0===g.button&&this.isInEditMode()&&0!==this.currentPath.length&&(g.stopPropagation(),this.#M(g),this.setInBackground())}canvasPointerleave(g){this.#M(g),this.setInBackground()}#M(g){this.#A(g.offsetX,g.offsetY),this.canvas.removeEventListener("pointerleave",this.#o),this.canvas.removeEventListener("pointermove",this.#r),this.parent.addToAnnotationStorage(this)}#y(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",u._l10nPromise.get("editor_ink_canvas_aria_label").then(g=>this.canvas?.setAttribute("aria-label",g)),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}#C(){this.#l=new ResizeObserver(g=>{const v=g[0].contentRect;v.width&&v.height&&this.setDimensions(v.width,v.height)}),this.#l.observe(this.div)}render(){if(this.div)return this.div;let g,v;this.width&&(g=this.x,v=this.y),super.render(),u._l10nPromise.get("editor_ink_aria_label").then(f=>this.div?.setAttribute("aria-label",f));const[p,S,C,_]=this.#S();if(this.setAt(p,S,0,0),this.setDims(C,_),this.#y(),this.width){const[f,y]=this.parent.viewportBaseDimensions;this.setAt(g*f,v*y,this.width*f,this.height*y),this.#h=!0,this.#w(),this.setDims(this.width*f,this.height*y),this.#m(),this.#O(),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return this.#C(),this.div}#w(){if(!this.#h)return;const[g,v]=this.parent.viewportBaseDimensions;this.canvas.width=Math.ceil(this.width*g),this.canvas.height=Math.ceil(this.height*v),this.#T()}setDimensions(g,v){const p=Math.round(g),S=Math.round(v);if(this.#s===p&&this.#g===S)return;this.#s=p,this.#g=S,this.canvas.style.visibility="hidden",this.#e&&Math.abs(this.#e-g/v)>.01&&(v=Math.ceil(g/this.#e),this.setDims(g,v));const[C,_]=this.parent.viewportBaseDimensions;this.width=g/C,this.height=v/_,this.#i&&this.#P(g,v),this.#w(),this.#m(),this.canvas.style.visibility="visible"}#P(g,v){const p=this.#I(),S=(g-p)/this.#n,C=(v-p)/this.#t;this.scaleFactor=Math.min(S,C)}#T(){const g=this.#I()/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+g,this.translationY*this.scaleFactor+g)}static#k(g){const v=new Path2D;for(let p=0,S=g.length;p=1?(g.minHeight="16px",g.minWidth=`${Math.round(this.#e*l)}px`):(g.minWidth="16px",g.minHeight=`${Math.round(l/this.#e)}px`)}static deserialize(g,v){const p=super.deserialize(g,v);p.thickness=g.thickness,p.color=n.Util.makeHexColor(...g.color),p.opacity=g.opacity;const[S,C]=v.pageDimensions,_=p.width*S,f=p.height*C,y=v.scaleFactor,b=g.thickness/2;p.#e=_/f,p.#i=!0,p.#s=Math.round(_),p.#g=Math.round(f);for(const{bezier:M}of g.paths){const A=[];p.paths.push(A);let I=y*(M[0]-b),F=y*(f-M[1]-b);for(let T=2,P=M.length;T{Object.defineProperty(h,"__esModule",{value:!0}),h.fitCurve=void 0;const n=o(26);h.fitCurve=n},pe=>{function o(S,C,_,f,y){var E,M,A,I,F,j,T,P,x,N,O,H,G;if(2===S.length)return H=v.vectorLen(v.subtract(S[0],S[1]))/3,[E=[S[0],v.addArrays(S[0],v.mulItems(C,H)),v.addArrays(S[1],v.mulItems(_,H)),S[1]]];if(M=function l(S){var _,f,y,C=[];return S.forEach((b,E)=>{_=E?f+v.vectorLen(v.subtract(b,y)):0,C.push(_),f=_,y=b}),C=C.map(b=>b/f)}(S),[E,I,j]=n(S,M,M,C,_,y),0===I||I.9999&&te<1.0001)break}F=I,T=j}return O=[],(P=v.subtract(S[j-1],S[j+1])).every(te=>0===te)&&(P=v.subtract(S[j-1],S[j]),[P[0],P[1]]=[-P[1],P[0]]),x=v.normalize(P),N=v.mulItems(x,-1),(O=O.concat(o(S.slice(0,j+1),C,x,f,y))).concat(o(S.slice(j),N,_,f,y))}function n(S,C,_,f,y,b){var E,M,A;return E=function i(S,C,_,f){var y,b,E,M,A,I,T,P,x,N,O,H,G,te,ue,se=S[0],K=S[S.length-1];for(y=[se,null,null,K],b=v.zeros_Xx2x2(C.length),O=0,H=C.length;Oy&&(y=f,b=M);return[y,b]}(S,E,C),b&&b({bez:E,points:S,params:C,maxErr:M,maxPoint:A}),[E,M,A]}function d(S,C,_){return _.map((f,y)=>function a(S,C,_){var f=v.subtract(p.q(S,_),C),y=p.qprime(S,_),b=v.mulMatrix(f,y),E=v.sum(v.squareItems(y))+2*v.mulMatrix(f,p.qprimeprime(S,_));return 0===E?_:_-b/E}(S,C[y],f))}var u=function(S,C){for(var _,f=[0],y=S[0],b=0,E=1;E<=C;E++)_=p.q(S,E/C),b+=v.vectorLen(v.subtract(_,y)),f.push(b),y=_;return f.map(M=>M/b)};function c(S,C,_,f){if(C<0)return 0;if(C>1)return 1;for(var b,M,A,I=1;I<=f;I++)if(C<=_[I]){A=(C-(b=_[I-1]))/(_[I]-b)*(I/f-(M=(I-1)/f))+M;break}return A}function g(S,C){return v.normalize(v.subtract(S,C))}class v{static zeros_Xx2x2(C){for(var _=[];C--;)_.push([0,0]);return _}static mulItems(C,_){return C.map(f=>f*_)}static mulMatrix(C,_){return C.reduce((f,y,b)=>f+y*_[b],0)}static subtract(C,_){return C.map((f,y)=>f-_[y])}static addArrays(C,_){return C.map((f,y)=>f+_[y])}static addItems(C,_){return C.map(f=>f+_)}static sum(C){return C.reduce((_,f)=>_+f)}static dot(C,_){return v.mulMatrix(C,_)}static vectorLen(C){return Math.hypot(...C)}static divItems(C,_){return C.map(f=>f/_)}static squareItems(C){return C.map(_=>_*_)}static normalize(C){return this.divItems(C,this.vectorLen(C))}}class p{static q(C,_){var f=1-_,y=v.mulItems(C[0],f*f*f),b=v.mulItems(C[1],3*f*f*_),E=v.mulItems(C[2],3*f*_*_),M=v.mulItems(C[3],_*_*_);return v.addArrays(v.addArrays(y,b),v.addArrays(E,M))}static qprime(C,_){var f=1-_,y=v.mulItems(v.subtract(C[1],C[0]),3*f*f),b=v.mulItems(v.subtract(C[2],C[1]),6*f*_),E=v.mulItems(v.subtract(C[3],C[2]),3*_*_);return v.addArrays(v.addArrays(y,b),E)}static qprimeprime(C,_){return v.addArrays(v.mulItems(v.addArrays(v.subtract(C[2],v.mulItems(C[1],2)),C[0]),6*(1-_)),v.mulItems(v.addArrays(v.subtract(C[3],v.mulItems(C[2],2)),C[1]),6*_))}}pe.exports=function h(S,C,_){if(!Array.isArray(S))throw new TypeError("First argument should be an array");if(S.forEach(E=>{if(!Array.isArray(E)||E.some(M=>"number"!=typeof M)||E.length!==S[0].length)throw Error("Each point should be an array of numbers. Each point should have the same amount of numbers.")}),(S=S.filter((E,M)=>0===M||!E.every((A,I)=>A===S[M-1][I]))).length<2)return[];const f=S.length,y=g(S[1],S[0]),b=g(S[f-2],S[f-1]);return o(S,y,b,C,_)},pe.exports.fitCubic=o,pe.exports.createTangent=g},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.AnnotationLayer=void 0;var n=o(1),i=o(8),d=o(5),a=o(28),l=o(29);const e=1e3,c=new WeakSet;function g(J){return{width:J[2]-J[0],height:J[3]-J[1]}}class v{static create(Y){switch(Y.data.annotationType){case n.AnnotationType.LINK:return new S(Y);case n.AnnotationType.TEXT:return new C(Y);case n.AnnotationType.WIDGET:switch(Y.data.fieldType){case"Tx":return new f(Y);case"Btn":return Y.data.radioButton?new b(Y):Y.data.checkBox?new y(Y):new E(Y);case"Ch":return new M(Y)}return new _(Y);case n.AnnotationType.POPUP:return new A(Y);case n.AnnotationType.FREETEXT:return new F(Y);case n.AnnotationType.LINE:return new j(Y);case n.AnnotationType.SQUARE:return new T(Y);case n.AnnotationType.CIRCLE:return new P(Y);case n.AnnotationType.POLYLINE:return new x(Y);case n.AnnotationType.CARET:return new O(Y);case n.AnnotationType.INK:return new H(Y);case n.AnnotationType.POLYGON:return new N(Y);case n.AnnotationType.HIGHLIGHT:return new G(Y);case n.AnnotationType.UNDERLINE:return new te(Y);case n.AnnotationType.SQUIGGLY:return new ue(Y);case n.AnnotationType.STRIKEOUT:return new se(Y);case n.AnnotationType.STAMP:return new K(Y);case n.AnnotationType.FILEATTACHMENT:return new Z(Y);default:return new p(Y)}}}class p{constructor(Y,{isRenderable:$=!1,ignoreBorder:le=!1,createQuadrilaterals:ee=!1}={}){this.isRenderable=$,this.data=Y.data,this.layer=Y.layer,this.page=Y.page,this.viewport=Y.viewport,this.linkService=Y.linkService,this.downloadManager=Y.downloadManager,this.imageResourcesPath=Y.imageResourcesPath,this.renderForms=Y.renderForms,this.svgFactory=Y.svgFactory,this.annotationStorage=Y.annotationStorage,this.enableScripting=Y.enableScripting,this.hasJSActions=Y.hasJSActions,this._fieldObjects=Y.fieldObjects,this._mouseState=Y.mouseState,$&&(this.container=this._createContainer(le)),ee&&(this.quadrilaterals=this._createQuadrilaterals(le))}_createContainer(Y=!1){const $=this.data,le=this.page,ee=this.viewport,we=document.createElement("section"),{width:ye,height:Oe}=g($.rect),[ve,_e,Pe,Ze]=ee.viewBox,ot=Pe-ve,tt=Ze-_e;we.setAttribute("data-annotation-id",$.id);const mt=n.Util.normalizeRect([$.rect[0],le.view[3]-$.rect[1]+le.view[1],$.rect[2],le.view[3]-$.rect[3]+le.view[1]]);if(!Y&&$.borderStyle.width>0){we.style.borderWidth=`${$.borderStyle.width}px`;const Ct=$.borderStyle.horizontalCornerRadius,Xe=$.borderStyle.verticalCornerRadius;switch(Ct>0||Xe>0?we.style.borderRadius=`calc(${Ct}px * var(--scale-factor)) / calc(${Xe}px * var(--scale-factor))`:this instanceof b&&(we.style.borderRadius=`calc(${ye}px * var(--scale-factor)) / calc(${Oe}px * var(--scale-factor))`),$.borderStyle.style){case n.AnnotationBorderStyleType.SOLID:we.style.borderStyle="solid";break;case n.AnnotationBorderStyleType.DASHED:we.style.borderStyle="dashed";break;case n.AnnotationBorderStyleType.BEVELED:(0,n.warn)("Unimplemented border style: beveled");break;case n.AnnotationBorderStyleType.INSET:(0,n.warn)("Unimplemented border style: inset");break;case n.AnnotationBorderStyleType.UNDERLINE:we.style.borderBottomStyle="solid"}const nt=$.borderColor||null;nt?we.style.borderColor=n.Util.makeHexColor(0|nt[0],0|nt[1],0|nt[2]):we.style.borderWidth=0}we.style.left=100*(mt[0]-ve)/ot+"%",we.style.top=100*(mt[1]-_e)/tt+"%";const{rotation:Qe}=$;return $.hasOwnCanvas||0===Qe?(we.style.width=100*ye/ot+"%",we.style.height=100*Oe/tt+"%"):this.setRotation(Qe,we),we}setRotation(Y,$=this.container){const[le,ee,we,ye]=this.viewport.viewBox,Oe=we-le,ve=ye-ee,{width:_e,height:Pe}=g(this.data.rect);let Ze,ot;Y%180==0?(Ze=100*_e/Oe,ot=100*Pe/ve):(Ze=100*Pe/Oe,ot=100*_e/ve),$.style.width=`${Ze}%`,$.style.height=`${ot}%`,$.setAttribute("data-main-rotation",(360-Y)%360)}get _commonActions(){const Y=($,le,ee)=>{const we=ee.detail[$];ee.target.style[le]=a.ColorConverters[`${we[0]}_HTML`](we.slice(1))};return(0,n.shadow)(this,"_commonActions",{display:$=>{const le=$.detail.display%2==1;this.container.style.visibility=le?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:le,print:0===$.detail.display||3===$.detail.display})},print:$=>{this.annotationStorage.setValue(this.data.id,{print:$.detail.print})},hidden:$=>{this.container.style.visibility=$.detail.hidden?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:$.detail.hidden})},focus:$=>{setTimeout(()=>$.target.focus({preventScroll:!1}),0)},userName:$=>{$.target.title=$.detail.userName},readonly:$=>{$.detail.readonly?$.target.setAttribute("readonly",""):$.target.removeAttribute("readonly")},required:$=>{this._setRequired($.target,$.detail.required)},bgColor:$=>{Y("bgColor","backgroundColor",$)},fillColor:$=>{Y("fillColor","backgroundColor",$)},fgColor:$=>{Y("fgColor","color",$)},textColor:$=>{Y("textColor","color",$)},borderColor:$=>{Y("borderColor","borderColor",$)},strokeColor:$=>{Y("strokeColor","borderColor",$)},rotation:$=>{const le=$.detail.rotation;this.setRotation(le),this.annotationStorage.setValue(this.data.id,{rotation:le})}})}_dispatchEventFromSandbox(Y,$){const le=this._commonActions;for(const ee of Object.keys($.detail)){const we=Y[ee]||le[ee];we&&we($)}}_setDefaultPropertiesFromJS(Y){if(!this.enableScripting)return;const $=this.annotationStorage.getRawValue(this.data.id);if(!$)return;const le=this._commonActions;for(const[ee,we]of Object.entries($)){const ye=le[ee];ye&&(ye({detail:{[ee]:we},target:Y}),delete $[ee])}}_createQuadrilaterals(Y=!1){if(!this.data.quadPoints)return null;const $=[],le=this.data.rect;for(const ee of this.data.quadPoints)this.data.rect=[ee[2].x,ee[2].y,ee[1].x,ee[1].y],$.push(this._createContainer(Y));return this.data.rect=le,$}_createPopup(Y,$){let le=this.container;this.quadrilaterals&&(Y=Y||this.quadrilaterals,le=this.quadrilaterals[0]),Y||((Y=document.createElement("div")).className="popupTriggerArea",le.append(Y));const we=new I({container:le,trigger:Y,color:$.color,titleObj:$.titleObj,modificationDate:$.modificationDate,contentsObj:$.contentsObj,richText:$.richText,hideWrapper:!0}).render();we.style.left="100%",le.append(we)}_renderQuadrilaterals(Y){for(const $ of this.quadrilaterals)$.className=Y;return this.quadrilaterals}render(){(0,n.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(Y,$=null){const le=[];if(this._fieldObjects){const ee=this._fieldObjects[Y];if(ee)for(const{page:we,id:ye,exportValues:Oe}of ee){if(-1===we||ye===$)continue;const ve="string"==typeof Oe?Oe:null,_e=document.querySelector(`[data-element-id="${ye}"]`);!_e||c.has(_e)?le.push({id:ye,exportValue:ve,domElement:_e}):(0,n.warn)(`_getElementsByName - element not allowed: ${ye}`)}return le}for(const ee of document.getElementsByName(Y)){const{id:we,exportValue:ye}=ee;we!==$&&c.has(ee)&&le.push({id:we,exportValue:ye,domElement:ee})}return le}static get platform(){const Y=typeof navigator<"u"?navigator.platform:"";return(0,n.shadow)(this,"platform",{isWin:Y.includes("Win"),isMac:Y.includes("Mac")})}}class S extends p{constructor(Y,$=null){super(Y,{isRenderable:!0,ignoreBorder:!!$?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=Y.data.isTooltipOnly}render(){const{data:Y,linkService:$}=this,le=document.createElement("a");le.setAttribute("data-element-id",Y.id);let ee=!1;return Y.url?($.addLinkAttributes(le,Y.url,Y.newWindow),ee=!0):Y.action?(this._bindNamedAction(le,Y.action),ee=!0):Y.dest?(this._bindLink(le,Y.dest),ee=!0):(Y.actions&&(Y.actions.Action||Y.actions["Mouse Up"]||Y.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(le,Y),ee=!0),Y.resetForm?(this._bindResetFormAction(le,Y.resetForm),ee=!0):this.isTooltipOnly&&!ee&&(this._bindLink(le,""),ee=!0)),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((we,ye)=>{const Oe=0===ye?le:le.cloneNode();return we.append(Oe),we}):(this.container.className="linkAnnotation",ee&&this.container.append(le),this.container)}_bindLink(Y,$){Y.href=this.linkService.getDestinationHash($),Y.onclick=()=>($&&this.linkService.goToDestination($),!1),($||""===$)&&(Y.className="internalLink")}_bindNamedAction(Y,$){Y.href=this.linkService.getAnchorUrl(""),Y.onclick=()=>(this.linkService.executeNamedAction($),!1),Y.className="internalLink"}_bindJSAction(Y,$){Y.href=this.linkService.getAnchorUrl("");const le=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const ee of Object.keys($.actions)){const we=le.get(ee);we&&(Y[we]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:$.id,name:ee}}),!1))}Y.onclick||(Y.onclick=()=>!1),Y.className="internalLink"}_bindResetFormAction(Y,$){const le=Y.onclick;if(le||(Y.href=this.linkService.getAnchorUrl("")),Y.className="internalLink",!this._fieldObjects)return(0,n.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(le||(Y.onclick=()=>!1));Y.onclick=()=>{le&&le();const{fields:ee,refs:we,include:ye}=$,Oe=[];if(0!==ee.length||0!==we.length){const Pe=new Set(we);for(const Ze of ee){const ot=this._fieldObjects[Ze]||[];for(const{id:tt}of ot)Pe.add(tt)}for(const Ze of Object.values(this._fieldObjects))for(const ot of Ze)Pe.has(ot.id)===ye&&Oe.push(ot)}else for(const Pe of Object.values(this._fieldObjects))Oe.push(...Pe);const ve=this.annotationStorage,_e=[];for(const Pe of Oe){const{id:Ze}=Pe;switch(_e.push(Ze),Pe.type){case"text":case"combobox":case"listbox":ve.setValue(Ze,{value:Pe.defaultValue||""});break;case"checkbox":case"radiobutton":ve.setValue(Ze,{value:Pe.defaultValue===Pe.exportValues});break;default:continue}const ot=document.querySelector(`[data-element-id="${Ze}"]`);ot&&(c.has(ot)?ot.dispatchEvent(new Event("resetform")):(0,n.warn)(`_bindResetFormAction - element not allowed: ${Ze}`))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:_e,name:"ResetForm"}}),!1}}}class C extends p{constructor(Y){super(Y,{isRenderable:!!(Y.data.hasPopup||Y.data.titleObj?.str||Y.data.contentsObj?.str||Y.data.richText?.str)})}render(){this.container.className="textAnnotation";const Y=document.createElement("img");return Y.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",Y.alt="[{{type}} Annotation]",Y.dataset.l10nId="text_annotation_type",Y.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(Y,this.data),this.container.append(Y),this.container}}class _ extends p{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(Y){const{isWin:$,isMac:le}=p.platform;return $&&Y.ctrlKey||le&&Y.metaKey}_setEventListener(Y,$,le,ee){$.includes("mouse")?Y.addEventListener($,we=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:le,value:ee(we),shift:we.shiftKey,modifier:this._getKeyModifier(we)}})}):Y.addEventListener($,we=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:le,value:ee(we)}})})}_setEventListeners(Y,$,le){for(const[ee,we]of $)("Action"===we||this.data.actions?.[we])&&this._setEventListener(Y,ee,we,le)}_setBackgroundColor(Y){const $=this.data.backgroundColor||null;Y.style.backgroundColor=null===$?"transparent":n.Util.makeHexColor($[0],$[1],$[2])}_setTextStyle(Y){const{fontColor:le}=this.data.defaultAppearanceData,ee=this.data.defaultAppearanceData.fontSize||9,we=Y.style;let ye;if(this.data.multiLine){const Oe=Math.abs(this.data.rect[3]-this.data.rect[1]),ve=Math.round(Oe/(n.LINE_FACTOR*ee))||1;ye=Math.min(ee,Math.round(Oe/ve/n.LINE_FACTOR))}else{const Oe=Math.abs(this.data.rect[3]-this.data.rect[1]);ye=Math.min(ee,Math.round(Oe/n.LINE_FACTOR))}we.fontSize=`calc(${ye}px * var(--scale-factor))`,we.color=n.Util.makeHexColor(le[0],le[1],le[2]),null!==this.data.textAlignment&&(we.textAlign=["left","center","right"][this.data.textAlignment])}_setRequired(Y,$){$?Y.setAttribute("required",!0):Y.removeAttribute("required"),Y.setAttribute("aria-required",$)}}class f extends _{constructor(Y){super(Y,{isRenderable:Y.renderForms||!Y.data.hasAppearance&&!!Y.data.fieldValue})}setPropertyOnSiblings(Y,$,le,ee){const we=this.annotationStorage;for(const ye of this._getElementsByName(Y.name,Y.id))ye.domElement&&(ye.domElement[$]=le),we.setValue(ye.id,{[ee]:le})}render(){const Y=this.annotationStorage,$=this.data.id;this.container.className="textWidgetAnnotation";let le=null;if(this.renderForms){const ee=Y.getValue($,{value:this.data.fieldValue});let we=ee.formattedValue||ee.value||"";const ye=Y.getValue($,{charLimit:this.data.maxLen}).charLimit;ye&&we.length>ye&&(we=we.slice(0,ye));const Oe={userValue:we,formattedValue:null,valueOnFocus:""};this.data.multiLine?(le=document.createElement("textarea"),le.textContent=we,this.data.doNotScroll&&(le.style.overflowY="hidden")):(le=document.createElement("input"),le.type="text",le.setAttribute("value",we),this.data.doNotScroll&&(le.style.overflowX="hidden")),c.add(le),le.setAttribute("data-element-id",$),le.disabled=this.data.readOnly,le.name=this.data.fieldName,le.tabIndex=e,this._setRequired(le,this.data.required),ye&&(le.maxLength=ye),le.addEventListener("input",_e=>{Y.setValue($,{value:_e.target.value}),this.setPropertyOnSiblings(le,"value",_e.target.value,"value")}),le.addEventListener("resetform",_e=>{le.value=Oe.userValue=this.data.defaultFieldValue??"",Oe.formattedValue=null});let ve=_e=>{const{formattedValue:Pe}=Oe;null!=Pe&&(_e.target.value=Pe),_e.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){le.addEventListener("focus",Pe=>{Oe.userValue&&(Pe.target.value=Oe.userValue),Oe.valueOnFocus=Pe.target.value}),le.addEventListener("updatefromsandbox",Pe=>{this._dispatchEventFromSandbox({value(ot){Oe.userValue=ot.detail.value??"",Y.setValue($,{value:Oe.userValue.toString()}),ot.target.value=Oe.userValue},formattedValue(ot){const{formattedValue:tt}=ot.detail;Oe.formattedValue=tt,null!=tt&&ot.target!==document.activeElement&&(ot.target.value=tt),Y.setValue($,{formattedValue:tt})},selRange(ot){ot.target.setSelectionRange(...ot.detail.selRange)},charLimit:ot=>{const{charLimit:tt}=ot.detail,{target:mt}=ot;if(0===tt)return void mt.removeAttribute("maxLength");mt.setAttribute("maxLength",tt);let Qe=Oe.userValue;!Qe||Qe.length<=tt||(Qe=Qe.slice(0,tt),mt.value=Oe.userValue=Qe,Y.setValue($,{value:Qe}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:$,name:"Keystroke",value:Qe,willCommit:!0,commitKey:1,selStart:mt.selectionStart,selEnd:mt.selectionEnd}}))}},Pe)}),le.addEventListener("keydown",Pe=>{let Ze=-1;if("Escape"===Pe.key?Ze=0:"Enter"===Pe.key?Ze=2:"Tab"===Pe.key&&(Ze=3),-1===Ze)return;const{value:ot}=Pe.target;Oe.valueOnFocus!==ot&&(Oe.userValue=ot,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:$,name:"Keystroke",value:ot,willCommit:!0,commitKey:Ze,selStart:Pe.target.selectionStart,selEnd:Pe.target.selectionEnd}}))});const _e=ve;ve=null,le.addEventListener("blur",Pe=>{const{value:Ze}=Pe.target;Oe.userValue=Ze,this._mouseState.isDown&&Oe.valueOnFocus!==Ze&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:$,name:"Keystroke",value:Ze,willCommit:!0,commitKey:1,selStart:Pe.target.selectionStart,selEnd:Pe.target.selectionEnd}}),_e(Pe)}),this.data.actions?.Keystroke&&le.addEventListener("beforeinput",Pe=>{const{data:Ze,target:ot}=Pe,{value:tt,selectionStart:mt,selectionEnd:Qe}=ot;let Ct=mt,Xe=Qe;switch(Pe.inputType){case"deleteWordBackward":{const nt=tt.substring(0,mt).match(/\w*[^\w]*$/);nt&&(Ct-=nt[0].length);break}case"deleteWordForward":{const nt=tt.substring(mt).match(/^[^\w]*\w*/);nt&&(Xe+=nt[0].length);break}case"deleteContentBackward":mt===Qe&&(Ct-=1);break;case"deleteContentForward":mt===Qe&&(Xe+=1)}Pe.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:$,name:"Keystroke",value:tt,change:Ze||"",willCommit:!1,selStart:Ct,selEnd:Xe}})}),this._setEventListeners(le,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Pe=>Pe.target.value)}if(ve&&le.addEventListener("blur",ve),this.data.comb){const Pe=(this.data.rect[2]-this.data.rect[0])/ye;le.classList.add("comb"),le.style.letterSpacing=`calc(${Pe}px * var(--scale-factor) - 1ch)`}}else le=document.createElement("div"),le.textContent=this.data.fieldValue,le.style.verticalAlign="middle",le.style.display="table-cell";return this._setTextStyle(le),this._setBackgroundColor(le),this._setDefaultPropertiesFromJS(le),this.container.append(le),this.container}}class y extends _{constructor(Y){super(Y,{isRenderable:Y.renderForms})}render(){const Y=this.annotationStorage,$=this.data,le=$.id;let ee=Y.getValue(le,{value:$.exportValue===$.fieldValue}).value;"string"==typeof ee&&(ee="Off"!==ee,Y.setValue(le,{value:ee})),this.container.className="buttonWidgetAnnotation checkBox";const we=document.createElement("input");return c.add(we),we.setAttribute("data-element-id",le),we.disabled=$.readOnly,this._setRequired(we,this.data.required),we.type="checkbox",we.name=$.fieldName,ee&&we.setAttribute("checked",!0),we.setAttribute("exportValue",$.exportValue),we.tabIndex=e,we.addEventListener("change",ye=>{const{name:Oe,checked:ve}=ye.target;for(const _e of this._getElementsByName(Oe,le)){const Pe=ve&&_e.exportValue===$.exportValue;_e.domElement&&(_e.domElement.checked=Pe),Y.setValue(_e.id,{value:Pe})}Y.setValue(le,{value:ve})}),we.addEventListener("resetform",ye=>{ye.target.checked=($.defaultFieldValue||"Off")===$.exportValue}),this.enableScripting&&this.hasJSActions&&(we.addEventListener("updatefromsandbox",ye=>{this._dispatchEventFromSandbox({value(ve){ve.target.checked="Off"!==ve.detail.value,Y.setValue(le,{value:ve.target.checked})}},ye)}),this._setEventListeners(we,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],ye=>ye.target.checked)),this._setBackgroundColor(we),this._setDefaultPropertiesFromJS(we),this.container.append(we),this.container}}class b extends _{constructor(Y){super(Y,{isRenderable:Y.renderForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const Y=this.annotationStorage,$=this.data,le=$.id;let ee=Y.getValue(le,{value:$.fieldValue===$.buttonValue}).value;"string"==typeof ee&&(ee=ee!==$.buttonValue,Y.setValue(le,{value:ee}));const we=document.createElement("input");if(c.add(we),we.setAttribute("data-element-id",le),we.disabled=$.readOnly,this._setRequired(we,this.data.required),we.type="radio",we.name=$.fieldName,ee&&we.setAttribute("checked",!0),we.tabIndex=e,we.addEventListener("change",ye=>{const{name:Oe,checked:ve}=ye.target;for(const _e of this._getElementsByName(Oe,le))Y.setValue(_e.id,{value:!1});Y.setValue(le,{value:ve})}),we.addEventListener("resetform",ye=>{const Oe=$.defaultFieldValue;ye.target.checked=null!=Oe&&Oe===$.buttonValue}),this.enableScripting&&this.hasJSActions){const ye=$.buttonValue;we.addEventListener("updatefromsandbox",Oe=>{this._dispatchEventFromSandbox({value:_e=>{const Pe=ye===_e.detail.value;for(const Ze of this._getElementsByName(_e.target.name)){const ot=Pe&&Ze.id===le;Ze.domElement&&(Ze.domElement.checked=ot),Y.setValue(Ze.id,{value:ot})}}},Oe)}),this._setEventListeners(we,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Oe=>Oe.target.checked)}return this._setBackgroundColor(we),this._setDefaultPropertiesFromJS(we),this.container.append(we),this.container}}class E extends S{constructor(Y){super(Y,{ignoreBorder:Y.data.hasAppearance})}render(){const Y=super.render();Y.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(Y.title=this.data.alternativeText);const $=Y.lastChild;return this.enableScripting&&this.hasJSActions&&$&&(this._setDefaultPropertiesFromJS($),$.addEventListener("updatefromsandbox",le=>{this._dispatchEventFromSandbox({},le)})),Y}}class M extends _{constructor(Y){super(Y,{isRenderable:Y.renderForms})}render(){this.container.className="choiceWidgetAnnotation";const Y=this.annotationStorage,$=this.data.id,le=Y.getValue($,{value:this.data.fieldValue}),ee=document.createElement("select");c.add(ee),ee.setAttribute("data-element-id",$),ee.disabled=this.data.readOnly,this._setRequired(ee,this.data.required),ee.name=this.data.fieldName,ee.tabIndex=e;let we=this.data.combo&&this.data.options.length>0;this.data.combo||(ee.size=this.data.options.length,this.data.multiSelect&&(ee.multiple=!0)),ee.addEventListener("resetform",_e=>{const Pe=this.data.defaultFieldValue;for(const Ze of ee.options)Ze.selected=Ze.value===Pe});for(const _e of this.data.options){const Pe=document.createElement("option");Pe.textContent=_e.displayValue,Pe.value=_e.exportValue,le.value.includes(_e.exportValue)&&(Pe.setAttribute("selected",!0),we=!1),ee.append(Pe)}let ye=null;if(we){const _e=document.createElement("option");_e.value=" ",_e.setAttribute("hidden",!0),_e.setAttribute("selected",!0),ee.prepend(_e),ye=()=>{_e.remove(),ee.removeEventListener("input",ye),ye=null},ee.addEventListener("input",ye)}const Oe=(_e,Pe)=>{const Ze=Pe?"value":"textContent",ot=_e.target.options;return _e.target.multiple?Array.prototype.filter.call(ot,tt=>tt.selected).map(tt=>tt[Ze]):-1===ot.selectedIndex?null:ot[ot.selectedIndex][Ze]},ve=_e=>Array.prototype.map.call(_e.target.options,Ze=>({displayValue:Ze.textContent,exportValue:Ze.value}));return this.enableScripting&&this.hasJSActions?(ee.addEventListener("updatefromsandbox",_e=>{this._dispatchEventFromSandbox({value(Ze){ye?.();const ot=Ze.detail.value,tt=new Set(Array.isArray(ot)?ot:[ot]);for(const mt of ee.options)mt.selected=tt.has(mt.value);Y.setValue($,{value:Oe(Ze,!0)})},multipleSelection(Ze){ee.multiple=!0},remove(Ze){const ot=ee.options,tt=Ze.detail.remove;ot[tt].selected=!1,ee.remove(tt),ot.length>0&&-1===Array.prototype.findIndex.call(ot,Qe=>Qe.selected)&&(ot[0].selected=!0),Y.setValue($,{value:Oe(Ze,!0),items:ve(Ze)})},clear(Ze){for(;0!==ee.length;)ee.remove(0);Y.setValue($,{value:null,items:[]})},insert(Ze){const{index:ot,displayValue:tt,exportValue:mt}=Ze.detail.insert,Qe=ee.children[ot],Ct=document.createElement("option");Ct.textContent=tt,Ct.value=mt,Qe?Qe.before(Ct):ee.append(Ct),Y.setValue($,{value:Oe(Ze,!0),items:ve(Ze)})},items(Ze){const{items:ot}=Ze.detail;for(;0!==ee.length;)ee.remove(0);for(const tt of ot){const{displayValue:mt,exportValue:Qe}=tt,Ct=document.createElement("option");Ct.textContent=mt,Ct.value=Qe,ee.append(Ct)}ee.options.length>0&&(ee.options[0].selected=!0),Y.setValue($,{value:Oe(Ze,!0),items:ve(Ze)})},indices(Ze){const ot=new Set(Ze.detail.indices);for(const tt of Ze.target.options)tt.selected=ot.has(tt.index);Y.setValue($,{value:Oe(Ze,!0)})},editable(Ze){Ze.target.disabled=!Ze.detail.editable}},_e)}),ee.addEventListener("input",_e=>{const Pe=Oe(_e,!0),Ze=Oe(_e,!1);Y.setValue($,{value:Pe}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:$,name:"Keystroke",value:Ze,changeEx:Pe,willCommit:!0,commitKey:1,keyDown:!1}})}),this._setEventListeners(ee,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],_e=>_e.target.checked)):ee.addEventListener("input",function(_e){Y.setValue($,{value:Oe(_e,!0)})}),this.data.combo&&this._setTextStyle(ee),this._setBackgroundColor(ee),this._setDefaultPropertiesFromJS(ee),this.container.append(ee),this.container}}class A extends p{constructor(Y){super(Y,{isRenderable:!!(Y.data.titleObj?.str||Y.data.contentsObj?.str||Y.data.richText?.str)})}render(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;const le=this.layer.querySelectorAll(`[data-annotation-id="${this.data.parentId}"]`);if(0===le.length)return this.container;const ee=new I({container:this.container,trigger:Array.from(le),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),we=this.page,ye=n.Util.normalizeRect([this.data.parentRect[0],we.view[3]-this.data.parentRect[1]+we.view[1],this.data.parentRect[2],we.view[3]-this.data.parentRect[3]+we.view[1]]),Oe=ye[0]+this.data.parentRect[2]-this.data.parentRect[0],ve=ye[1],[_e,Pe,Ze,ot]=this.viewport.viewBox,mt=ot-Pe;return this.container.style.left=100*(Oe-_e)/(Ze-_e)+"%",this.container.style.top=100*(ve-Pe)/mt+"%",this.container.append(ee.render()),this.container}}class I{constructor(Y){this.container=Y.container,this.trigger=Y.trigger,this.color=Y.color,this.titleObj=Y.titleObj,this.modificationDate=Y.modificationDate,this.contentsObj=Y.contentsObj,this.richText=Y.richText,this.hideWrapper=Y.hideWrapper||!1,this.pinned=!1}render(){const $=document.createElement("div");$.className="popupWrapper",this.hideElement=this.hideWrapper?$:this.container,this.hideElement.hidden=!0;const le=document.createElement("div");le.className="popup";const ee=this.color;ee&&(le.style.backgroundColor=n.Util.makeHexColor(0|.7*(255-ee[0])+ee[0],0|.7*(255-ee[1])+ee[1],0|.7*(255-ee[2])+ee[2]));const we=document.createElement("h1");we.dir=this.titleObj.dir,we.textContent=this.titleObj.str,le.append(we);const ye=i.PDFDateString.toDateObject(this.modificationDate);if(ye){const Oe=document.createElement("span");Oe.className="popupDate",Oe.textContent="{{date}}, {{time}}",Oe.dataset.l10nId="annotation_date_string",Oe.dataset.l10nArgs=JSON.stringify({date:ye.toLocaleDateString(),time:ye.toLocaleTimeString()}),le.append(Oe)}if(!this.richText?.str||this.contentsObj?.str&&this.contentsObj.str!==this.richText.str){const Oe=this._formatContents(this.contentsObj);le.append(Oe)}else l.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:le}),le.lastChild.className="richText popupContent";Array.isArray(this.trigger)||(this.trigger=[this.trigger]);for(const Oe of this.trigger)Oe.addEventListener("click",this._toggle.bind(this)),Oe.addEventListener("mouseover",this._show.bind(this,!1)),Oe.addEventListener("mouseout",this._hide.bind(this,!1));return le.addEventListener("click",this._hide.bind(this,!0)),$.append(le),$}_formatContents({str:Y,dir:$}){const le=document.createElement("p");le.className="popupContent",le.dir=$;const ee=Y.split(/(?:\r\n?|\n)/);for(let we=0,ye=ee.length;we{function o(i){return Math.floor(255*Math.max(0,Math.min(1,i))).toString(16).padStart(2,"0")}Object.defineProperty(h,"__esModule",{value:!0}),h.ColorConverters=void 0,h.ColorConverters=class n{static CMYK_G([d,a,l,e]){return["G",1-Math.min(1,.3*d+.59*l+.11*a+e)]}static G_CMYK([d]){return["CMYK",0,0,0,1-d]}static G_RGB([d]){return["RGB",d,d,d]}static G_HTML([d]){const a=o(d);return`#${a}${a}${a}`}static RGB_G([d,a,l]){return["G",.3*d+.59*a+.11*l]}static RGB_HTML([d,a,l]){return`#${o(d)}${o(a)}${o(l)}`}static T_HTML(){return"#00000000"}static CMYK_RGB([d,a,l,e]){return["RGB",1-Math.min(1,d+e),1-Math.min(1,l+e),1-Math.min(1,a+e)]}static CMYK_HTML(d){const a=this.CMYK_RGB(d).slice(1);return this.RGB_HTML(a)}static RGB_CMYK([d,a,l]){const e=1-d,u=1-a,c=1-l;return["CMYK",e,u,c,Math.min(e,u,c)]}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.XfaLayer=void 0;var n=o(20);h.XfaLayer=class i{static setupStorage(a,l,e,u,c){const g=u.getValue(l,{value:null});switch(e.name){case"textarea":if(null!==g.value&&(a.textContent=g.value),"print"===c)break;a.addEventListener("input",v=>{u.setValue(l,{value:v.target.value})});break;case"input":if("radio"===e.attributes.type||"checkbox"===e.attributes.type){if(g.value===e.attributes.xfaOn?a.setAttribute("checked",!0):g.value===e.attributes.xfaOff&&a.removeAttribute("checked"),"print"===c)break;a.addEventListener("change",v=>{u.setValue(l,{value:v.target.getAttribute(v.target.checked?"xfaOn":"xfaOff")})})}else{if(null!==g.value&&a.setAttribute("value",g.value),"print"===c)break;a.addEventListener("input",v=>{u.setValue(l,{value:v.target.value})})}break;case"select":if(null!==g.value)for(const v of e.children)v.attributes.value===g.value&&(v.attributes.selected=!0);a.addEventListener("input",v=>{const p=v.target.options;u.setValue(l,{value:-1===p.selectedIndex?"":p[p.selectedIndex].value})})}}static setAttributes({html:a,element:l,storage:e=null,intent:u,linkService:c}){const{attributes:g}=l,v=a instanceof HTMLAnchorElement;"radio"===g.type&&(g.name=`${g.name}-${u}`);for(const[p,S]of Object.entries(g))if(null!=S)switch(p){case"class":S.length&&a.setAttribute(p,S.join(" "));break;case"dataId":break;case"id":a.setAttribute("data-element-id",S);break;case"style":Object.assign(a.style,S);break;case"textContent":a.textContent=S;break;default:(!v||"href"!==p&&"newWindow"!==p)&&a.setAttribute(p,S)}v&&c.addLinkAttributes(a,g.href,g.newWindow),e&&g.dataId&&this.setupStorage(a,g.dataId,l,e)}static render(a){const l=a.annotationStorage,e=a.linkService,u=a.xfaHtml,c=a.intent||"display",g=document.createElement(u.name);u.attributes&&this.setAttributes({html:g,element:u,intent:c,linkService:e});const v=[[u,-1,g]],p=a.div;if(p.append(g),a.viewport){const C=`matrix(${a.viewport.transform.join(",")})`;p.style.transform=C}"richText"!==c&&p.setAttribute("class","xfaLayer xfaFont");const S=[];for(;v.length>0;){const[C,_,f]=v.at(-1);if(_+1===C.children.length){v.pop();continue}const y=C.children[++v.at(-1)[1]];if(null===y)continue;const{name:b}=y;if("#text"===b){const M=document.createTextNode(y.value);S.push(M),f.append(M);continue}let E;if(E=y?.attributes?.xmlns?document.createElementNS(y.attributes.xmlns,b):document.createElement(b),f.append(E),y.attributes&&this.setAttributes({html:E,element:y,storage:l,intent:c,linkService:e}),y.children&&y.children.length>0)v.push([y,-1,E]);else if(y.value){const M=document.createTextNode(y.value);n.XfaText.shouldBuildText(b)&&S.push(M),E.append(M)}}for(const C of p.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))C.setAttribute("readOnly",!0);return{textDivs:S}}static update(a){const l=`matrix(${a.viewport.transform.join(",")})`;a.div.style.transform=l,a.div.hidden=!1}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.TextLayerRenderTask=void 0,h.renderTextLayer=function y(b){const E=new f({textContent:b.textContent,textContentStream:b.textContentStream,container:b.container,viewport:b.viewport,textDivs:b.textDivs,textContentItemsStr:b.textContentItemsStr,enhanceTextSelection:b.enhanceTextSelection});return E._render(b.timeout),E};var n=o(1),i=o(8);const a=30,e=new Map,u=/^\s+$/g;function g(b,E,M,A){const I=document.createElement("span"),F=b._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:""!==E.str,hasEOL:E.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1,fontSize:0}:{angle:0,canvasWidth:0,hasText:""!==E.str,hasEOL:E.hasEOL,fontSize:0};b._textDivs.push(I);const j=n.Util.transform(b._viewport.transform,E.transform);let T=Math.atan2(j[1],j[0]);const P=M[E.fontName];P.vertical&&(T+=Math.PI/2);const x=Math.hypot(j[2],j[3]),N=x*function c(b,E){const M=e.get(b);if(M)return M;E.save(),E.font=`30px ${b}`;const A=E.measureText("");let I=A.fontBoundingBoxAscent,F=Math.abs(A.fontBoundingBoxDescent);if(I){E.restore();const T=I/(I+F);return e.set(b,T),T}E.strokeStyle="red",E.clearRect(0,0,a,a),E.strokeText("g",0,0);let j=E.getImageData(0,0,a,a).data;F=0;for(let T=j.length-1-3;T>=0;T-=4)if(j[T]>0){F=Math.ceil(T/4/a);break}E.clearRect(0,0,a,a),E.strokeText("A",0,a),j=E.getImageData(0,0,a,a).data,I=0;for(let T=0,P=j.length;T0){I=a-Math.floor(T/4/a);break}if(E.restore(),I){const T=I/(I+F);return e.set(b,T),T}return e.set(b,.8),.8}(P.fontFamily,A);let O,H;0===T?(O=j[4],H=j[5]-N):(O=j[4]+N*Math.sin(T),H=j[5]-N*Math.cos(T)),I.style.left=`${O}px`,I.style.top=`${H}px`,I.style.fontSize=`${x}px`,I.style.fontFamily=P.fontFamily,F.fontSize=x,I.setAttribute("role","presentation"),I.textContent=E.str,I.dir=E.dir,b._fontInspectorEnabled&&(I.dataset.fontName=E.fontName),0!==T&&(F.angle=T*(180/Math.PI));let G=!1;if(E.str.length>1||b._enhanceTextSelection&&u.test(E.str))G=!0;else if(" "!==E.str&&E.transform[0]!==E.transform[3]){const te=Math.abs(E.transform[0]),ue=Math.abs(E.transform[3]);te!==ue&&Math.max(te,ue)/Math.min(te,ue)>1.5&&(G=!0)}if(G&&(F.canvasWidth=P.vertical?E.height*b._viewport.scale:E.width*b._viewport.scale),b._textDivProperties.set(I,F),b._textContentStream&&b._layoutText(I),b._enhanceTextSelection&&F.hasText){let te=1,ue=0;0!==T&&(te=Math.cos(T),ue=Math.sin(T));const se=(P.vertical?E.height:E.width)*b._viewport.scale,K=x;let Z,re;0!==T?(Z=[te,ue,-ue,te,O,H],re=n.Util.getAxialAlignedBoundingBox([0,0,se,K],Z)):re=[O,H,O+se,H+K],b._bounds.push({left:re[0],top:re[1],right:re[2],bottom:re[3],div:I,size:[se,K],m:Z})}}function v(b){if(b._canceled)return;const E=b._textDivs,M=b._capability,A=E.length;if(A>1e5)return b._renderingDone=!0,void M.resolve();if(!b._textContentStream)for(let I=0;I0&&(A=A?Math.min(F,A):F)}return A}function _(b,E){E.sort(function(I,F){return I.x1-F.x1||I.index-F.index});const A=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];for(const I of E){let F=0;for(;F=0&&A[j].start>=I.y2;)j--;let T,P,x,N,O=-1/0;for(x=F;x<=j;x++){let te;T=A[x],P=T.boundary,te=P.x2>I.x1?P.index>I.index?P.x1New:I.x1:void 0===P.x2New?(P.x2+I.x1)/2:P.x2New,te>O&&(O=te)}for(I.x1New=O,x=F;x<=j;x++)T=A[x],P=T.boundary,void 0===P.x2New?P.x2>I.x1?P.index>I.index&&(P.x2New=P.x2):P.x2New=O:P.x2New>O&&(P.x2New=Math.max(O,P.x2));const H=[];let G=null;for(x=F;x<=j;x++){T=A[x],P=T.boundary;const te=P.x2>I.x2?P:I;G===te?H.at(-1).end=T.end:(H.push({start:T.start,end:T.end,boundary:te}),G=te)}for(A[F].start=0&&A[N].start>=P.y1;N--)te=A[N].boundary===P;for(N=j+1;!te&&N{this._enhanceTextSelection||(this._textDivProperties=null),this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)}).catch(()=>{})}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new n.AbortException("TextLayer task cancelled.")).catch(()=>{}),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}_processItems(E,M){for(let A=0,I=E.length;A0){const T=this._devicePixelRatio*M.canvasWidth/j;this._enhanceTextSelection&&(M.scale=T),A=`scaleX(${T})`}}if(0!==M.angle&&(A=`rotate(${M.angle}deg) ${A}`),A.length>0&&(this._enhanceTextSelection&&(M.originalTransform=A),E.style.transform=A),M.hasText&&this._container.append(E),M.hasEOL){const I=document.createElement("br");I.setAttribute("role","presentation"),this._container.append(I)}}_render(E=0){const M=(0,n.createPromiseCapability)();let A=Object.create(null);const I=this._document.createElement("canvas");if(I.height=I.width=a,this._layoutTextCtx=I.getContext("2d",{alpha:!1}),this._textContent)this._processItems(this._textContent.items,this._textContent.styles),M.resolve();else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');{const F=()=>{this._reader.read().then(({value:j,done:T})=>{T?M.resolve():(Object.assign(A,j.styles),this._processItems(j.items,A),F())},M.reject)};this._reader=this._textContentStream.getReader(),F()}}M.promise.then(()=>{A=null,E?this._renderTimer=setTimeout(()=>{v(this),this._renderTimer=null},E):v(this)},this._capability.reject)}expandTextDivs(E=!1){if(!this._enhanceTextSelection||!this._renderingDone)return;null!==this._bounds&&(function S(b){const E=b._bounds,M=b._viewport,A=function C(b,E,M){const A=M.map(function(F,j){return{x1:F.left,y1:F.top,x2:F.right,y2:F.bottom,index:j,x1New:void 0,x2New:void 0}});_(b,A);const I=new Array(M.length);for(const F of A)I[F.index]={left:F.x1New,top:0,right:F.x2New,bottom:0};M.map(function(F,j){const T=I[j],P=A[j];P.x1=F.top,P.y1=b-T.right,P.x2=F.bottom,P.y2=b-T.left,P.index=j,P.x1New=void 0,P.x2New=void 0}),_(E,A);for(const F of A){const j=F.index;I[j].top=F.x1New,I[j].bottom=F.x2New}return I}(M.width,M.height,E);for(let I=0;I0?(A.push(`${T.paddingTop}px`),M.push(`translateY(${-T.paddingTop}px)`)):A.push(0),A.push(T.paddingRight>0?T.paddingRight/T.scale+"px":0),A.push(T.paddingBottom>0?`${T.paddingBottom}px`:0),T.paddingLeft>0?(A.push(T.paddingLeft/T.scale+"px"),M.push(`translateX(${-T.paddingLeft/T.scale}px)`)):A.push(0),j.style.padding=A.join(" "),M.length&&(j.style.transform=M.join(" "))):(j.style.padding=null,j.style.transform=T.originalTransform))}}}h.TextLayerRenderTask=f},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.SVGGraphics=void 0;var n=o(8),i=o(1),d=o(3);let a=class{constructor(){(0,i.unreachable)("Not implemented: SVGGraphics")}};h.SVGGraphics=a;{let C=function(M){let A=[];const I=[];for(const F of M)"save"!==F.fn?"restore"===F.fn?A=I.pop():A.push(F):(A.push({fnId:92,fn:"group",items:[]}),I.push(A),A=A.at(-1).items);return A},_=function(M){if(Number.isInteger(M))return M.toString();const A=M.toFixed(10);let I=A.length-1;if("0"!==A[I])return A;do{I--}while("0"===A[I]);return A.substring(0,"."===A[I]?I:I+1)},f=function(M){if(0===M[4]&&0===M[5]){if(0===M[1]&&0===M[2])return 1===M[0]&&1===M[3]?"":`scale(${_(M[0])} ${_(M[3])})`;if(M[0]===M[3]&&M[1]===-M[2]){const A=180*Math.acos(M[0])/Math.PI;return`rotate(${_(A)})`}}else if(1===M[0]&&0===M[1]&&0===M[2]&&1===M[3])return`translate(${_(M[4])} ${_(M[5])})`;return`matrix(${_(M[0])} ${_(M[1])} ${_(M[2])} ${_(M[3])} ${_(M[4])} ${_(M[5])})`};const l={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},e="http://www.w3.org/XML/1998/namespace",u="http://www.w3.org/1999/xlink",c=["butt","round","square"],g=["miter","round","bevel"],v=function(M,A="",I=!1){if(URL.createObjectURL&&typeof Blob<"u"&&!I)return URL.createObjectURL(new Blob([M],{type:A}));const F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let j=`data:${A};base64,`;for(let T=0,P=M.length;T>2]+F[(3&x)<<4|N>>4]+F[T+1>6:64]+F[T+2>1&2147483647:H>>1&2147483647;I[O]=H}function j(O,H,G,te){let ue=te;const se=H.length;G[ue]=se>>24&255,G[ue+1]=se>>16&255,G[ue+2]=se>>8&255,G[ue+3]=255&se,ue+=4,G[ue]=255&O.charCodeAt(0),G[ue+1]=255&O.charCodeAt(1),G[ue+2]=255&O.charCodeAt(2),G[ue+3]=255&O.charCodeAt(3),ue+=4,G.set(H,ue),ue+=H.length;const K=function F(O,H,G){let te=-1;for(let ue=H;ue>>8^I[255&(te^O[ue])];return-1^te}(G,te+4,ue);G[ue]=K>>24&255,G[ue+1]=K>>16&255,G[ue+2]=K>>8&255,G[ue+3]=255&K}function x(O){let H=O.length;const G=65535,te=Math.ceil(H/G),ue=new Uint8Array(2+H+5*te+4);let se=0;ue[se++]=120,ue[se++]=156;let K=0;for(;H>G;)ue[se++]=0,ue[se++]=255,ue[se++]=255,ue[se++]=0,ue[se++]=0,ue.set(O.subarray(K,K+G),se),se+=G,K+=G,H-=G;ue[se++]=1,ue[se++]=255&H,ue[se++]=H>>8&255,ue[se++]=255&~H,ue[se++]=(65535&~H)>>8&255,ue.set(O.subarray(K),se),se+=O.length-K;const Z=function T(O,H,G){let te=1,ue=0;for(let se=H;se>24&255,ue[se++]=Z>>16&255,ue[se++]=Z>>8&255,ue[se++]=255&Z,ue}return function(H,G,te){return function N(O,H,G,te){const ue=O.width,se=O.height;let K,Z,re;const J=O.data;switch(H){case i.ImageKind.GRAYSCALE_1BPP:Z=0,K=1,re=ue+7>>3;break;case i.ImageKind.RGB_24BPP:Z=2,K=8,re=3*ue;break;case i.ImageKind.RGBA_32BPP:Z=6,K=8,re=4*ue;break;default:throw new Error("invalid format")}const Y=new Uint8Array((1+re)*se);let $=0,le=0;for(let _e=0;_e>24&255,ue>>16&255,ue>>8&255,255&ue,se>>24&255,se>>16&255,se>>8&255,255&se,K,Z,0,0,0]),we=function P(O){if(!d.isNodeJS)return x(O);try{let H;H=parseInt(process.versions.node)>=8?O:Buffer.from(O);const G=__webpack_require__(8160).deflateSync(H,{level:9});return G instanceof Uint8Array?G:new Uint8Array(G)}catch(H){(0,i.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+H)}return x(O)}(Y),Oe=new Uint8Array(M.length+36+ee.length+we.length);let ve=0;return Oe.set(M,ve),ve+=M.length,j("IHDR",ee,Oe,ve),ve+=12+ee.length,j("IDATA",we,Oe,ve),ve+=12+we.length,j("IEND",new Uint8Array(0),Oe,ve),v(Oe,"image/png",G)}(H,void 0===H.kind?i.ImageKind.GRAYSCALE_1BPP:H.kind,G,te)}}();class S{constructor(){this.fontSizeScale=1,this.fontWeight=l.fontWeight,this.fontSize=0,this.textMatrix=i.IDENTITY_MATRIX,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=i.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=l.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(A,I){this.x=A,this.y=I}}let y=0,b=0,E=0;h.SVGGraphics=a=class{constructor(M,A,I=!1){(0,n.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."),this.svgFactory=new n.DOMSVGFactory,this.current=new S,this.transformMatrix=i.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=M,this.objs=A,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!I,this._operatorIdMapping=[];for(const F in i.OPS)this._operatorIdMapping[i.OPS[F]]=F}save(){this.transformStack.push(this.transformMatrix);const M=this.current;this.extraStack.push(M),this.current=M.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(M){this.save(),this.executeOpTree(M),this.restore()}loadDependencies(M){const A=M.fnArray,I=M.argsArray;for(let F=0,j=A.length;F{P.get(T,N)});this.current.dependencies.push(x)}return Promise.all(this.current.dependencies)}transform(M,A,I,F,j,T){this.transformMatrix=i.Util.transform(this.transformMatrix,[M,A,I,F,j,T]),this.tgrp=null}getSVG(M,A){this.viewport=A;const I=this._initialize(A);return this.loadDependencies(M).then(()=>(this.transformMatrix=i.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(M)),I))}convertOpList(M){const A=this._operatorIdMapping,I=M.argsArray,F=M.fnArray,j=[];for(let T=0,P=F.length;T0&&(this.current.lineWidth=M)}setLineCap(M){this.current.lineCap=c[M]}setLineJoin(M){this.current.lineJoin=g[M]}setMiterLimit(M){this.current.miterLimit=M}setStrokeAlpha(M){this.current.strokeAlpha=M}setStrokeRGBColor(M,A,I){this.current.strokeColor=i.Util.makeHexColor(M,A,I)}setFillAlpha(M){this.current.fillAlpha=M}setFillRGBColor(M,A,I){this.current.fillColor=i.Util.makeHexColor(M,A,I),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(M){this.current.strokeColor=this._makeColorN_Pattern(M)}setFillColorN(M){this.current.fillColor=this._makeColorN_Pattern(M)}shadingFill(M){const A=this.viewport.width,I=this.viewport.height,F=i.Util.inverseTransform(this.transformMatrix),j=i.Util.applyTransform([0,0],F),T=i.Util.applyTransform([0,I],F),P=i.Util.applyTransform([A,0],F),x=i.Util.applyTransform([A,I],F),N=Math.min(j[0],T[0],P[0],x[0]),O=Math.min(j[1],T[1],P[1],x[1]),H=Math.max(j[0],T[0],P[0],x[0]),G=Math.max(j[1],T[1],P[1],x[1]),te=this.svgFactory.createElement("svg:rect");te.setAttributeNS(null,"x",N),te.setAttributeNS(null,"y",O),te.setAttributeNS(null,"width",H-N),te.setAttributeNS(null,"height",G-O),te.setAttributeNS(null,"fill",this._makeShadingPattern(M)),this.current.fillAlpha<1&&te.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(te)}_makeColorN_Pattern(M){return"TilingPattern"===M[0]?this._makeTilingPattern(M):this._makeShadingPattern(M)}_makeTilingPattern(M){const A=M[1],I=M[2],F=M[3]||i.IDENTITY_MATRIX,[j,T,P,x]=M[4],N=M[5],O=M[6],H=M[7],G="shading"+E++,[te,ue,se,K]=i.Util.normalizeRect([...i.Util.applyTransform([j,T],F),...i.Util.applyTransform([P,x],F)]),[Z,re]=i.Util.singularValueDecompose2dScale(F),J=N*Z,Y=O*re,$=this.svgFactory.createElement("svg:pattern");$.setAttributeNS(null,"id",G),$.setAttributeNS(null,"patternUnits","userSpaceOnUse"),$.setAttributeNS(null,"width",J),$.setAttributeNS(null,"height",Y),$.setAttributeNS(null,"x",`${te}`),$.setAttributeNS(null,"y",`${ue}`);const le=this.svg,ee=this.transformMatrix,we=this.current.fillColor,ye=this.current.strokeColor,Oe=this.svgFactory.create(se-te,K-ue);if(this.svg=Oe,this.transformMatrix=F,2===H){const ve=i.Util.makeHexColor(...A);this.current.fillColor=ve,this.current.strokeColor=ve}return this.executeOpTree(this.convertOpList(I)),this.svg=le,this.transformMatrix=ee,this.current.fillColor=we,this.current.strokeColor=ye,$.append(Oe.childNodes[0]),this.defs.append($),`url(#${G})`}_makeShadingPattern(M){switch("string"==typeof M&&(M=this.objs.get(M)),M[0]){case"RadialAxial":const A="shading"+E++,I=M[3];let F;switch(M[1]){case"axial":const j=M[4],T=M[5];F=this.svgFactory.createElement("svg:linearGradient"),F.setAttributeNS(null,"id",A),F.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),F.setAttributeNS(null,"x1",j[0]),F.setAttributeNS(null,"y1",j[1]),F.setAttributeNS(null,"x2",T[0]),F.setAttributeNS(null,"y2",T[1]);break;case"radial":const P=M[4],x=M[5],N=M[6],O=M[7];F=this.svgFactory.createElement("svg:radialGradient"),F.setAttributeNS(null,"id",A),F.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),F.setAttributeNS(null,"cx",x[0]),F.setAttributeNS(null,"cy",x[1]),F.setAttributeNS(null,"r",O),F.setAttributeNS(null,"fx",P[0]),F.setAttributeNS(null,"fy",P[1]),F.setAttributeNS(null,"fr",N);break;default:throw new Error(`Unknown RadialAxial type: ${M[1]}`)}for(const j of I){const T=this.svgFactory.createElement("svg:stop");T.setAttributeNS(null,"offset",j[0]),T.setAttributeNS(null,"stop-color",j[1]),F.append(T)}return this.defs.append(F),`url(#${A})`;case"Mesh":return(0,i.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error(`Unknown IR type: ${M[0]}`)}}setDash(M,A){this.current.dashArray=M,this.current.dashPhase=A}constructPath(M,A){const I=this.current;let F=I.x,j=I.y,T=[],P=0;for(const x of M)switch(0|x){case i.OPS.rectangle:F=A[P++],j=A[P++];const H=F+A[P++],G=j+A[P++];T.push("M",_(F),_(j),"L",_(H),_(j),"L",_(H),_(G),"L",_(F),_(G),"Z");break;case i.OPS.moveTo:F=A[P++],j=A[P++],T.push("M",_(F),_(j));break;case i.OPS.lineTo:F=A[P++],j=A[P++],T.push("L",_(F),_(j));break;case i.OPS.curveTo:F=A[P+4],j=A[P+5],T.push("C",_(A[P]),_(A[P+1]),_(A[P+2]),_(A[P+3]),_(F),_(j)),P+=6;break;case i.OPS.curveTo2:T.push("C",_(F),_(j),_(A[P]),_(A[P+1]),_(A[P+2]),_(A[P+3])),F=A[P+2],j=A[P+3],P+=4;break;case i.OPS.curveTo3:F=A[P+2],j=A[P+3],T.push("C",_(A[P]),_(A[P+1]),_(F),_(j),_(F),_(j)),P+=4;break;case i.OPS.closePath:T.push("Z")}T=T.join(" "),I.path&&M.length>0&&M[0]!==i.OPS.rectangle&&M[0]!==i.OPS.moveTo?T=I.path.getAttributeNS(null,"d")+T:(I.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().append(I.path)),I.path.setAttributeNS(null,"d",T),I.path.setAttributeNS(null,"fill","none"),I.element=I.path,I.setCurrentPoint(F,j)}endPath(){const M=this.current;if(M.path=null,!this.pendingClip)return;if(!M.element)return void(this.pendingClip=null);const A="clippath"+y++,I=this.svgFactory.createElement("svg:clipPath");I.setAttributeNS(null,"id",A),I.setAttributeNS(null,"transform",f(this.transformMatrix));const F=M.element.cloneNode(!0);if(F.setAttributeNS(null,"clip-rule","evenodd"===this.pendingClip?"evenodd":"nonzero"),this.pendingClip=null,I.append(F),this.defs.append(I),M.activeClipUrl){M.clipGroup=null;for(const j of this.extraStack)j.clipGroup=null;I.setAttributeNS(null,"clip-path",M.activeClipUrl)}M.activeClipUrl=`url(#${A})`,this.tgrp=null}clip(M){this.pendingClip=M}closePath(){const M=this.current;if(M.path){const A=`${M.path.getAttributeNS(null,"d")}Z`;M.path.setAttributeNS(null,"d",A)}}setLeading(M){this.current.leading=-M}setTextRise(M){this.current.textRise=M}setTextRenderingMode(M){this.current.textRenderingMode=M}setHScale(M){this.current.textHScale=M/100}setRenderingIntent(M){}setFlatness(M){}setGState(M){for(const[A,I]of M)switch(A){case"LW":this.setLineWidth(I);break;case"LC":this.setLineCap(I);break;case"LJ":this.setLineJoin(I);break;case"ML":this.setMiterLimit(I);break;case"D":this.setDash(I[0],I[1]);break;case"RI":this.setRenderingIntent(I);break;case"FL":this.setFlatness(I);break;case"Font":this.setFont(I);break;case"CA":this.setStrokeAlpha(I);break;case"ca":this.setFillAlpha(I);break;default:(0,i.warn)(`Unimplemented graphic state operator ${A}`)}}fill(){const M=this.current;M.element&&(M.element.setAttributeNS(null,"fill",M.fillColor),M.element.setAttributeNS(null,"fill-opacity",M.fillAlpha),this.endPath())}stroke(){const M=this.current;M.element&&(this._setStrokeAttributes(M.element),M.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(M,A=1){const I=this.current;let F=I.dashArray;1!==A&&F.length>0&&(F=F.map(function(j){return A*j})),M.setAttributeNS(null,"stroke",I.strokeColor),M.setAttributeNS(null,"stroke-opacity",I.strokeAlpha),M.setAttributeNS(null,"stroke-miterlimit",_(I.miterLimit)),M.setAttributeNS(null,"stroke-linecap",I.lineCap),M.setAttributeNS(null,"stroke-linejoin",I.lineJoin),M.setAttributeNS(null,"stroke-width",_(A*I.lineWidth)+"px"),M.setAttributeNS(null,"stroke-dasharray",F.map(_).join(" ")),M.setAttributeNS(null,"stroke-dashoffset",_(A*I.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const M=this.svgFactory.createElement("svg:rect");M.setAttributeNS(null,"x","0"),M.setAttributeNS(null,"y","0"),M.setAttributeNS(null,"width","1px"),M.setAttributeNS(null,"height","1px"),M.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().append(M)}paintImageXObject(M){const A=M.startsWith("g_")?this.commonObjs.get(M):this.objs.get(M);A?this.paintInlineImageXObject(A):(0,i.warn)(`Dependent image with object ID ${M} is not ready yet`)}paintInlineImageXObject(M,A){const I=M.width,F=M.height,j=p(M,this.forceDataSchema,!!A),T=this.svgFactory.createElement("svg:rect");T.setAttributeNS(null,"x","0"),T.setAttributeNS(null,"y","0"),T.setAttributeNS(null,"width",_(I)),T.setAttributeNS(null,"height",_(F)),this.current.element=T,this.clip("nonzero");const P=this.svgFactory.createElement("svg:image");P.setAttributeNS(u,"xlink:href",j),P.setAttributeNS(null,"x","0"),P.setAttributeNS(null,"y",_(-F)),P.setAttributeNS(null,"width",_(I)+"px"),P.setAttributeNS(null,"height",_(F)+"px"),P.setAttributeNS(null,"transform",`scale(${_(1/I)} ${_(-1/F)})`),A?A.append(P):this._ensureTransformGroup().append(P)}paintImageMaskXObject(M){const A=this.current,I=M.width,F=M.height,j=A.fillColor;A.maskId="mask"+b++;const T=this.svgFactory.createElement("svg:mask");T.setAttributeNS(null,"id",A.maskId);const P=this.svgFactory.createElement("svg:rect");P.setAttributeNS(null,"x","0"),P.setAttributeNS(null,"y","0"),P.setAttributeNS(null,"width",_(I)),P.setAttributeNS(null,"height",_(F)),P.setAttributeNS(null,"fill",j),P.setAttributeNS(null,"mask",`url(#${A.maskId})`),this.defs.append(T),this._ensureTransformGroup().append(P),this.paintInlineImageXObject(M,T)}paintFormXObjectBegin(M,A){if(Array.isArray(M)&&6===M.length&&this.transform(M[0],M[1],M[2],M[3],M[4],M[5]),A){const I=A[2]-A[0],F=A[3]-A[1],j=this.svgFactory.createElement("svg:rect");j.setAttributeNS(null,"x",A[0]),j.setAttributeNS(null,"y",A[1]),j.setAttributeNS(null,"width",_(I)),j.setAttributeNS(null,"height",_(F)),this.current.element=j,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(M){const A=this.svgFactory.create(M.width,M.height),I=this.svgFactory.createElement("svg:defs");A.append(I),this.defs=I;const F=this.svgFactory.createElement("svg:g");return F.setAttributeNS(null,"transform",f(M.transform)),A.append(F),this.svg=F,A}_ensureClipGroup(){if(!this.current.clipGroup){const M=this.svgFactory.createElement("svg:g");M.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.append(M),this.current.clipGroup=M}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",f(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().append(this.tgrp):this.svg.append(this.tgrp)),this.tgrp}}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFNodeStream=void 0;var n=o(1),i=o(33);const d=__webpack_require__(45344),a=__webpack_require__(10440),l=__webpack_require__(22224),e=__webpack_require__(65724),u=/^file:\/\/\/[a-zA-Z]:\//;h.PDFNodeStream=class g{constructor(E){this.source=E,this.url=function c(b){const E=e.parse(b);return"file:"===E.protocol||E.host?E:/^[a-z]:[/\\]/i.test(b)?e.parse(`file:///${b}`):(E.host||(E.protocol="file:"),E)}(E.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&E.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new f(this):new C(this),this._fullRequestReader}getRangeReader(E,M){if(M<=this._progressiveDataLength)return null;const A=this.isFsUrl?new y(this,E,M):new _(this,E,M);return this._rangeRequestReaders.push(A),A}cancelAllRequests(E){this._fullRequestReader&&this._fullRequestReader.cancel(E);for(const M of this._rangeRequestReaders.slice(0))M.cancel(E)}};class v{constructor(E){this._url=E.url,this._done=!1,this._storedError=null,this.onProgress=null;const M=E.source;this._contentLength=M.length,this._loaded=0,this._filename=null,this._disableRange=M.disableRange||!1,this._rangeChunkSize=M.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!M.disableStream,this._isRangeSupported=!M.disableRange,this._readableStream=null,this._readCapability=(0,n.createPromiseCapability)(),this._headersCapability=(0,n.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var E=this;return _asyncToGenerator(function*(){if(yield E._readCapability.promise,E._done)return{value:void 0,done:!0};if(E._storedError)throw E._storedError;const M=E._readableStream.read();return null===M?(E._readCapability=(0,n.createPromiseCapability)(),E.read()):(E._loaded+=M.length,E.onProgress&&E.onProgress({loaded:E._loaded,total:E._contentLength}),{value:new Uint8Array(M).buffer,done:!1})})()}cancel(E){this._readableStream?this._readableStream.destroy(E):this._error(E)}_error(E){this._storedError=E,this._readCapability.resolve()}_setReadableStream(E){this._readableStream=E,E.on("readable",()=>{this._readCapability.resolve()}),E.on("end",()=>{E.destroy(),this._done=!0,this._readCapability.resolve()}),E.on("error",M=>{this._error(M)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new n.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class p{constructor(E){this._url=E.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,n.createPromiseCapability)(),this._isStreamingSupported=!E.source.disableStream}get isStreamingSupported(){return this._isStreamingSupported}read(){var E=this;return _asyncToGenerator(function*(){if(yield E._readCapability.promise,E._done)return{value:void 0,done:!0};if(E._storedError)throw E._storedError;const M=E._readableStream.read();return null===M?(E._readCapability=(0,n.createPromiseCapability)(),E.read()):(E._loaded+=M.length,E.onProgress&&E.onProgress({loaded:E._loaded}),{value:new Uint8Array(M).buffer,done:!1})})()}cancel(E){this._readableStream?this._readableStream.destroy(E):this._error(E)}_error(E){this._storedError=E,this._readCapability.resolve()}_setReadableStream(E){this._readableStream=E,E.on("readable",()=>{this._readCapability.resolve()}),E.on("end",()=>{E.destroy(),this._done=!0,this._readCapability.resolve()}),E.on("error",M=>{this._error(M)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function S(b,E){return{protocol:b.protocol,auth:b.auth,host:b.hostname,port:b.port,path:b.path,method:"GET",headers:E}}class C extends v{constructor(E){super(E);const M=A=>{if(404===A.statusCode){const T=new n.MissingPDFException(`Missing PDF "${this._url}".`);return this._storedError=T,void this._headersCapability.reject(T)}this._headersCapability.resolve(),this._setReadableStream(A);const I=T=>this._readableStream.headers[T.toLowerCase()],{allowRangeRequests:F,suggestedLength:j}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:I,isHttp:E.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=F,this._contentLength=j||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(I)};this._request=null,this._request="http:"===this._url.protocol?a.request(S(this._url,E.httpHeaders),M):l.request(S(this._url,E.httpHeaders),M),this._request.on("error",A=>{this._storedError=A,this._headersCapability.reject(A)}),this._request.end()}}class _ extends p{constructor(E,M,A){super(E),this._httpHeaders={};for(const F in E.httpHeaders){const j=E.httpHeaders[F];typeof j>"u"||(this._httpHeaders[F]=j)}this._httpHeaders.Range=`bytes=${M}-${A-1}`;const I=F=>{if(404!==F.statusCode)this._setReadableStream(F);else{const j=new n.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=j}};this._request=null,this._request="http:"===this._url.protocol?a.request(S(this._url,this._httpHeaders),I):l.request(S(this._url,this._httpHeaders),I),this._request.on("error",F=>{this._storedError=F}),this._request.end()}}class f extends v{constructor(E){super(E);let M=decodeURIComponent(this._url.path);u.test(this._url.href)&&(M=M.replace(/^\//,"")),d.lstat(M,(A,I)=>{if(A)return"ENOENT"===A.code&&(A=new n.MissingPDFException(`Missing PDF "${M}".`)),this._storedError=A,void this._headersCapability.reject(A);this._contentLength=I.size,this._setReadableStream(d.createReadStream(M)),this._headersCapability.resolve()})}}class y extends p{constructor(E,M,A){super(E);let I=decodeURIComponent(this._url.path);u.test(this._url.href)&&(I=I.replace(/^\//,"")),this._setReadableStream(d.createReadStream(I,{start:M,end:A-1}))}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.createResponseStatusError=function e(c,g){return 404===c||0===c&&g.startsWith("file:")?new n.MissingPDFException('Missing PDF "'+g+'".'):new n.UnexpectedResponseException(`Unexpected server response (${c}) while retrieving PDF "${g}".`,c)},h.extractFilenameFromHeader=function l(c){const g=c("Content-Disposition");if(g){let v=(0,i.getFilenameFromContentDispositionHeader)(g);if(v.includes("%"))try{v=decodeURIComponent(v)}catch{}if((0,d.isPdfFile)(v))return v}return null},h.validateRangeRequestCapabilities=function a({getResponseHeader:c,isHttp:g,rangeChunkSize:v,disableRange:p}){const S={allowRangeRequests:!1,suggestedLength:void 0},C=parseInt(c("Content-Length"),10);return!Number.isInteger(C)||(S.suggestedLength=C,C<=2*v)||p||!g||"bytes"!==c("Accept-Ranges")||"identity"!==(c("Content-Encoding")||"identity")||(S.allowRangeRequests=!0),S},h.validateResponseStatus=function u(c){return 200===c||206===c};var n=o(1),i=o(34),d=o(8)},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.getFilenameFromContentDispositionHeader=function i(d){let a=!0,l=e("filename\\*","i").exec(d);if(l){l=l[1];let C=v(l);return C=unescape(C),C=p(C),C=S(C),c(C)}if(l=function g(C){const _=[];let f;const y=e("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(f=y.exec(C));){let[,E,M,A]=f;if(E=parseInt(E,10),E in _){if(0===E)break}else _[E]=[M,A]}const b=[];for(let E=0;E<_.length&&E in _;++E){let[M,A]=_[E];A=v(A),M&&(A=unescape(A),0===E&&(A=p(A))),b.push(A)}return b.join("")}(d),l)return c(S(l));if(l=e("filename","i").exec(d),l){l=l[1];let C=v(l);return C=S(C),c(C)}function e(C,_){return new RegExp("(?:^|;)\\s*"+C+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',_)}function u(C,_){if(C){if(!/^[\x00-\xFF]+$/.test(_))return _;try{const f=new TextDecoder(C,{fatal:!0}),y=(0,n.stringToBytes)(_);_=f.decode(y),a=!1}catch{}}return _}function c(C){return a&&/[\x80-\xff]/.test(C)&&(C=u("utf-8",C),a&&(C=u("iso-8859-1",C))),C}function v(C){if(C.startsWith('"')){const _=C.slice(1).split('\\"');for(let f=0;f<_.length;++f){const y=_[f].indexOf('"');-1!==y&&(_[f]=_[f].slice(0,y),_.length=f+1),_[f]=_[f].replace(/\\(.)/g,"$1")}C=_.join('"')}return C}function p(C){const _=C.indexOf("'");return-1===_?C:u(C.slice(0,_),C.slice(_+1).replace(/^[^']*'/,""))}function S(C){return!C.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(C)?C:C.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(_,f,y,b){if("q"===y||"Q"===y)return u(f,b=(b=b.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,function(E,M){return String.fromCharCode(parseInt(M,16))}));try{b=atob(b)}catch{}return u(f,b)})}return""};var n=o(1)},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFNetworkStream=void 0;var n=o(1),i=o(33);class e{constructor(p,S={}){this.url=p,this.isHttp=/^https?:/i.test(p),this.httpHeaders=this.isHttp&&S.httpHeaders||Object.create(null),this.withCredentials=S.withCredentials||!1,this.getXhr=S.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(p,S,C){const _={begin:p,end:S};for(const f in C)_[f]=C[f];return this.request(_)}requestFull(p){return this.request(p)}request(p){const S=this.getXhr(),C=this.currXhrId++,_=this.pendingRequests[C]={xhr:S};S.open("GET",this.url),S.withCredentials=this.withCredentials;for(const f in this.httpHeaders){const y=this.httpHeaders[f];typeof y>"u"||S.setRequestHeader(f,y)}return this.isHttp&&"begin"in p&&"end"in p?(S.setRequestHeader("Range",`bytes=${p.begin}-${p.end-1}`),_.expectedStatus=206):_.expectedStatus=200,S.responseType="arraybuffer",p.onError&&(S.onerror=function(f){p.onError(S.status)}),S.onreadystatechange=this.onStateChange.bind(this,C),S.onprogress=this.onProgress.bind(this,C),_.onHeadersReceived=p.onHeadersReceived,_.onDone=p.onDone,_.onError=p.onError,_.onProgress=p.onProgress,S.send(null),C}onProgress(p,S){const C=this.pendingRequests[p];C&&C.onProgress?.(S)}onStateChange(p,S){const C=this.pendingRequests[p];if(!C)return;const _=C.xhr;if(_.readyState>=2&&C.onHeadersReceived&&(C.onHeadersReceived(),delete C.onHeadersReceived),4!==_.readyState||!(p in this.pendingRequests))return;if(delete this.pendingRequests[p],0===_.status&&this.isHttp)return void C.onError?.(_.status);const f=_.status||200;if((200!==f||206!==C.expectedStatus)&&f!==C.expectedStatus)return void C.onError?.(_.status);const b=function l(v){const p=v.response;return"string"!=typeof p?p:(0,n.stringToBytes)(p).buffer}(_);if(206===f){const E=_.getResponseHeader("Content-Range"),M=/bytes (\d+)-(\d+)\/(\d+)/.exec(E);C.onDone({begin:parseInt(M[1],10),chunk:b})}else b?C.onDone({begin:0,chunk:b}):C.onError?.(_.status)}getRequestXhr(p){return this.pendingRequests[p].xhr}isPendingRequest(p){return p in this.pendingRequests}abortRequest(p){const S=this.pendingRequests[p].xhr;delete this.pendingRequests[p],S.abort()}}h.PDFNetworkStream=class u{constructor(p){this._source=p,this._manager=new e(p.url,{httpHeaders:p.httpHeaders,withCredentials:p.withCredentials}),this._rangeChunkSize=p.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(p){const S=this._rangeRequestReaders.indexOf(p);S>=0&&this._rangeRequestReaders.splice(S,1)}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new c(this._manager,this._source),this._fullRequestReader}getRangeReader(p,S){const C=new g(this._manager,p,S);return C.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(C),C}cancelAllRequests(p){this._fullRequestReader?.cancel(p);for(const S of this._rangeRequestReaders.slice(0))S.cancel(p)}};class c{constructor(p,S){this._manager=p;const C={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=S.url,this._fullRequestId=p.requestFull(C),this._headersReceivedCapability=(0,n.createPromiseCapability)(),this._disableRange=S.disableRange||!1,this._contentLength=S.length,this._rangeChunkSize=S.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const p=this._fullRequestId,S=this._manager.getRequestXhr(p),C=y=>S.getResponseHeader(y),{allowRangeRequests:_,suggestedLength:f}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:C,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});_&&(this._isRangeSupported=!0),this._contentLength=f||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(C),this._isRangeSupported&&this._manager.abortRequest(p),this._headersReceivedCapability.resolve()}_onDone(p){if(p&&(this._requests.length>0?this._requests.shift().resolve({value:p.chunk,done:!1}):this._cachedChunks.push(p.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const S of this._requests)S.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(p){this._storedError=(0,i.createResponseStatusError)(p,this._url),this._headersReceivedCapability.reject(this._storedError);for(const S of this._requests)S.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(p){this.onProgress?.({loaded:p.loaded,total:p.lengthComputable?p.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}read(){var p=this;return _asyncToGenerator(function*(){if(p._storedError)throw p._storedError;if(p._cachedChunks.length>0)return{value:p._cachedChunks.shift(),done:!1};if(p._done)return{value:void 0,done:!0};const S=(0,n.createPromiseCapability)();return p._requests.push(S),S.promise})()}cancel(p){this._done=!0,this._headersReceivedCapability.reject(p);for(const S of this._requests)S.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class g{constructor(p,S,C){this._manager=p;const _={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=p.url,this._requestId=p.requestRange(S,C,_),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(p){const S=p.chunk;this._requests.length>0?this._requests.shift().resolve({value:S,done:!1}):this._queuedChunk=S,this._done=!0;for(const C of this._requests)C.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(p){this._storedError=(0,i.createResponseStatusError)(p,this._url);for(const S of this._requests)S.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(p){this.isStreamingSupported||this.onProgress?.({loaded:p.loaded})}get isStreamingSupported(){return!1}read(){var p=this;return _asyncToGenerator(function*(){if(p._storedError)throw p._storedError;if(null!==p._queuedChunk){const C=p._queuedChunk;return p._queuedChunk=null,{value:C,done:!1}}if(p._done)return{value:void 0,done:!0};const S=(0,n.createPromiseCapability)();return p._requests.push(S),S.promise})()}cancel(p){this._done=!0;for(const S of this._requests)S.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(pe,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFFetchStream=void 0;var n=o(1),i=o(33);function d(c,g,v){return{method:"GET",headers:c,signal:v.signal,mode:"cors",credentials:g?"include":"same-origin",redirect:"follow"}}function a(c){const g=new Headers;for(const v in c){const p=c[v];typeof p>"u"||g.append(v,p)}return g}h.PDFFetchStream=class l{constructor(g){this.source=g,this.isHttp=/^https?:/i.test(g.url),this.httpHeaders=this.isHttp&&g.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new e(this),this._fullRequestReader}getRangeReader(g,v){if(v<=this._progressiveDataLength)return null;const p=new u(this,g,v);return this._rangeRequestReaders.push(p),p}cancelAllRequests(g){this._fullRequestReader&&this._fullRequestReader.cancel(g);for(const v of this._rangeRequestReaders.slice(0))v.cancel(g)}};class e{constructor(g){this._stream=g,this._reader=null,this._loaded=0,this._filename=null;const v=g.source;this._withCredentials=v.withCredentials||!1,this._contentLength=v.length,this._headersCapability=(0,n.createPromiseCapability)(),this._disableRange=v.disableRange||!1,this._rangeChunkSize=v.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!v.disableStream,this._isRangeSupported=!v.disableRange,this._headers=a(this._stream.httpHeaders);const p=v.url;fetch(p,d(this._headers,this._withCredentials,this._abortController)).then(S=>{if(!(0,i.validateResponseStatus)(S.status))throw(0,i.createResponseStatusError)(S.status,p);this._reader=S.body.getReader(),this._headersCapability.resolve();const C=y=>S.headers.get(y),{allowRangeRequests:_,suggestedLength:f}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:C,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=_,this._contentLength=f||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(C),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new n.AbortException("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var g=this;return _asyncToGenerator(function*(){yield g._headersCapability.promise;const{value:v,done:p}=yield g._reader.read();return p?{value:v,done:p}:(g._loaded+=v.byteLength,g.onProgress&&g.onProgress({loaded:g._loaded,total:g._contentLength}),{value:new Uint8Array(v).buffer,done:!1})})()}cancel(g){this._reader&&this._reader.cancel(g),this._abortController.abort()}}class u{constructor(g,v,p){this._stream=g,this._reader=null,this._loaded=0;const S=g.source;this._withCredentials=S.withCredentials||!1,this._readCapability=(0,n.createPromiseCapability)(),this._isStreamingSupported=!S.disableStream,this._abortController=new AbortController,this._headers=a(this._stream.httpHeaders),this._headers.append("Range",`bytes=${v}-${p-1}`);const C=S.url;fetch(C,d(this._headers,this._withCredentials,this._abortController)).then(_=>{if(!(0,i.validateResponseStatus)(_.status))throw(0,i.createResponseStatusError)(_.status,C);this._readCapability.resolve(),this._reader=_.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}read(){var g=this;return _asyncToGenerator(function*(){yield g._readCapability.promise;const{value:v,done:p}=yield g._reader.read();return p?{value:v,done:p}:(g._loaded+=v.byteLength,g.onProgress&&g.onProgress({loaded:g._loaded}),{value:new Uint8Array(v).buffer,done:!1})})()}cancel(g){this._reader&&this._reader.cancel(g),this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(pe){var h=__webpack_module_cache__[pe];if(void 0!==h)return h.exports;var o=__webpack_module_cache__[pe]={exports:{}};return __webpack_modules__[pe](o,o.exports,__w_pdfjs_require__),o.exports}var __nested_webpack_exports__={};return(()=>{var pe=__nested_webpack_exports__;Object.defineProperty(pe,"__esModule",{value:!0}),Object.defineProperty(pe,"AnnotationEditorLayer",{enumerable:!0,get:function(){return i.AnnotationEditorLayer}}),Object.defineProperty(pe,"AnnotationEditorParamsType",{enumerable:!0,get:function(){return h.AnnotationEditorParamsType}}),Object.defineProperty(pe,"AnnotationEditorType",{enumerable:!0,get:function(){return h.AnnotationEditorType}}),Object.defineProperty(pe,"AnnotationEditorUIManager",{enumerable:!0,get:function(){return d.AnnotationEditorUIManager}}),Object.defineProperty(pe,"AnnotationLayer",{enumerable:!0,get:function(){return a.AnnotationLayer}}),Object.defineProperty(pe,"AnnotationMode",{enumerable:!0,get:function(){return h.AnnotationMode}}),Object.defineProperty(pe,"CMapCompressionType",{enumerable:!0,get:function(){return h.CMapCompressionType}}),Object.defineProperty(pe,"GlobalWorkerOptions",{enumerable:!0,get:function(){return l.GlobalWorkerOptions}}),Object.defineProperty(pe,"InvalidPDFException",{enumerable:!0,get:function(){return h.InvalidPDFException}}),Object.defineProperty(pe,"LoopbackPort",{enumerable:!0,get:function(){return o.LoopbackPort}}),Object.defineProperty(pe,"MissingPDFException",{enumerable:!0,get:function(){return h.MissingPDFException}}),Object.defineProperty(pe,"OPS",{enumerable:!0,get:function(){return h.OPS}}),Object.defineProperty(pe,"PDFDataRangeTransport",{enumerable:!0,get:function(){return o.PDFDataRangeTransport}}),Object.defineProperty(pe,"PDFDateString",{enumerable:!0,get:function(){return n.PDFDateString}}),Object.defineProperty(pe,"PDFWorker",{enumerable:!0,get:function(){return o.PDFWorker}}),Object.defineProperty(pe,"PasswordResponses",{enumerable:!0,get:function(){return h.PasswordResponses}}),Object.defineProperty(pe,"PermissionFlag",{enumerable:!0,get:function(){return h.PermissionFlag}}),Object.defineProperty(pe,"PixelsPerInch",{enumerable:!0,get:function(){return n.PixelsPerInch}}),Object.defineProperty(pe,"RenderingCancelledException",{enumerable:!0,get:function(){return n.RenderingCancelledException}}),Object.defineProperty(pe,"SVGGraphics",{enumerable:!0,get:function(){return c.SVGGraphics}}),Object.defineProperty(pe,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return h.UNSUPPORTED_FEATURES}}),Object.defineProperty(pe,"UnexpectedResponseException",{enumerable:!0,get:function(){return h.UnexpectedResponseException}}),Object.defineProperty(pe,"Util",{enumerable:!0,get:function(){return h.Util}}),Object.defineProperty(pe,"VerbosityLevel",{enumerable:!0,get:function(){return h.VerbosityLevel}}),Object.defineProperty(pe,"XfaLayer",{enumerable:!0,get:function(){return g.XfaLayer}}),Object.defineProperty(pe,"build",{enumerable:!0,get:function(){return o.build}}),Object.defineProperty(pe,"createPromiseCapability",{enumerable:!0,get:function(){return h.createPromiseCapability}}),Object.defineProperty(pe,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return h.createValidAbsoluteUrl}}),Object.defineProperty(pe,"getDocument",{enumerable:!0,get:function(){return o.getDocument}}),Object.defineProperty(pe,"getFilenameFromUrl",{enumerable:!0,get:function(){return n.getFilenameFromUrl}}),Object.defineProperty(pe,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return n.getPdfFilenameFromUrl}}),Object.defineProperty(pe,"getXfaPageViewport",{enumerable:!0,get:function(){return n.getXfaPageViewport}}),Object.defineProperty(pe,"isPdfFile",{enumerable:!0,get:function(){return n.isPdfFile}}),Object.defineProperty(pe,"loadScript",{enumerable:!0,get:function(){return n.loadScript}}),Object.defineProperty(pe,"renderTextLayer",{enumerable:!0,get:function(){return u.renderTextLayer}}),Object.defineProperty(pe,"shadow",{enumerable:!0,get:function(){return h.shadow}}),Object.defineProperty(pe,"version",{enumerable:!0,get:function(){return o.version}});var h=__w_pdfjs_require__(1),o=__w_pdfjs_require__(4),n=__w_pdfjs_require__(8),i=__w_pdfjs_require__(22),d=__w_pdfjs_require__(7),a=__w_pdfjs_require__(27),l=__w_pdfjs_require__(15),e=__w_pdfjs_require__(3),u=__w_pdfjs_require__(30),c=__w_pdfjs_require__(31),g=__w_pdfjs_require__(29);if(e.isNodeJS){const{PDFNodeStream:S}=__w_pdfjs_require__(32);(0,o.setPDFNetworkStreamFactory)(C=>new S(C))}else{const{PDFNetworkStream:S}=__w_pdfjs_require__(35),{PDFFetchStream:C}=__w_pdfjs_require__(36);(0,o.setPDFNetworkStreamFactory)(_=>(0,n.isValidFetchUrl)(_.url)?new C(_):new S(_))}})(),__nested_webpack_exports__})(),module.exports=o()},6472:(pe,h,o)=>{var n=o(1196).default;globalThis,pe.exports=(()=>{"use strict";var i=[,(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.DefaultXfaLayerFactory=u.DefaultTextLayerFactory=u.DefaultStructTreeLayerFactory=u.DefaultAnnotationLayerFactory=u.DefaultAnnotationEditorLayerFactory=void 0;var g=c(2),v=c(5),p=c(4),S=c(6),C=c(8),_=c(9),f=c(10);u.DefaultAnnotationLayerFactory=class y{createAnnotationLayerBuilder({pageDiv:F,pdfPage:j,annotationStorage:T=null,imageResourcesPath:P="",renderForms:x=!0,l10n:N=p.NullL10n,enableScripting:O=!1,hasJSActionsPromise:H=null,mouseState:G=null,fieldObjectsPromise:te=null,annotationCanvasMap:ue=null,accessibilityManager:se=null}){return new v.AnnotationLayerBuilder({pageDiv:F,pdfPage:j,imageResourcesPath:P,renderForms:x,linkService:new S.SimpleLinkService,l10n:N,annotationStorage:T,enableScripting:O,hasJSActionsPromise:H,fieldObjectsPromise:te,mouseState:G,annotationCanvasMap:ue,accessibilityManager:se})}},u.DefaultAnnotationEditorLayerFactory=class b{createAnnotationEditorLayerBuilder({uiManager:F=null,pageDiv:j,pdfPage:T,accessibilityManager:P=null,l10n:x,annotationStorage:N=null}){return new g.AnnotationEditorLayerBuilder({uiManager:F,pageDiv:j,pdfPage:T,accessibilityManager:P,l10n:x,annotationStorage:N})}},u.DefaultStructTreeLayerFactory=class E{createStructTreeLayerBuilder({pdfPage:F}){return new C.StructTreeLayerBuilder({pdfPage:F})}},u.DefaultTextLayerFactory=class M{createTextLayerBuilder({textLayerDiv:F,pageIndex:j,viewport:T,enhanceTextSelection:P=!1,eventBus:x,highlighter:N,accessibilityManager:O=null}){return new _.TextLayerBuilder({textLayerDiv:F,pageIndex:j,viewport:T,enhanceTextSelection:P,eventBus:x,highlighter:N,accessibilityManager:O})}},u.DefaultXfaLayerFactory=class A{createXfaLayerBuilder({pageDiv:F,pdfPage:j,annotationStorage:T=null}){return new f.XfaLayerBuilder({pageDiv:F,pdfPage:j,annotationStorage:T,linkService:new S.SimpleLinkService})}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AnnotationEditorLayerBuilder=void 0;var g=c(3),v=c(4);u.AnnotationEditorLayerBuilder=class p{#e;constructor(C){this.pageDiv=C.pageDiv,this.pdfPage=C.pdfPage,this.annotationStorage=C.annotationStorage||null,this.accessibilityManager=C.accessibilityManager,this.l10n=C.l10n||v.NullL10n,this.annotationEditorLayer=null,this.div=null,this._cancelled=!1,this.#e=C.uiManager}render(C,_="display"){var f=this;return n(function*(){if("display"!==_||f._cancelled)return;const y=C.clone({dontFlip:!0});if(f.div)return f.annotationEditorLayer.update({viewport:y}),void f.show();f.div=document.createElement("div"),f.div.className="annotationEditorLayer",f.div.tabIndex=0,f.pageDiv.append(f.div),f.annotationEditorLayer=new g.AnnotationEditorLayer({uiManager:f.#e,div:f.div,annotationStorage:f.annotationStorage,accessibilityManager:f.accessibilityManager,pageIndex:f.pdfPage._pageIndex,l10n:f.l10n,viewport:y}),f.annotationEditorLayer.render({viewport:y,div:f.div,annotations:null,intent:_})})()}cancel(){this._cancelled=!0,this.destroy()}hide(){this.div&&(this.div.hidden=!0)}show(){this.div&&(this.div.hidden=!1)}destroy(){this.div&&(this.pageDiv=null,this.annotationEditorLayer.destroy(),this.div.remove())}}},e=>{let u;u=typeof window<"u"&&window["pdfjs-dist/build/pdf"]?window["pdfjs-dist/build/pdf"]:o(35584),e.exports=u},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.NullL10n=void 0,u.fixupLangCode=function p(_){return v[_?.toLowerCase()]||_},u.getL10nFallback=g;const c={of_pages:"of {{pagesCount}}",page_of_pages:"({{pageNumber}} of {{pagesCount}})",document_properties_kb:"{{size_kb}} KB ({{size_b}} bytes)",document_properties_mb:"{{size_mb}} MB ({{size_b}} bytes)",document_properties_date_string:"{{date}}, {{time}}",document_properties_page_size_unit_inches:"in",document_properties_page_size_unit_millimeters:"mm",document_properties_page_size_orientation_portrait:"portrait",document_properties_page_size_orientation_landscape:"landscape",document_properties_page_size_name_a3:"A3",document_properties_page_size_name_a4:"A4",document_properties_page_size_name_letter:"Letter",document_properties_page_size_name_legal:"Legal",document_properties_page_size_dimension_string:"{{width}} \xd7 {{height}} {{unit}} ({{orientation}})",document_properties_page_size_dimension_name_string:"{{width}} \xd7 {{height}} {{unit}} ({{name}}, {{orientation}})",document_properties_linearized_yes:"Yes",document_properties_linearized_no:"No",print_progress_percent:"{{progress}}%","toggle_sidebar.title":"Toggle Sidebar","toggle_sidebar_notification2.title":"Toggle Sidebar (document contains outline/attachments/layers)",additional_layers:"Additional Layers",page_landmark:"Page {{page}}",thumb_page_title:"Page {{page}}",thumb_page_canvas:"Thumbnail of Page {{page}}",find_reached_top:"Reached top of document, continued from bottom",find_reached_bottom:"Reached end of document, continued from top","find_match_count[one]":"{{current}} of {{total}} match","find_match_count[other]":"{{current}} of {{total}} matches","find_match_count_limit[one]":"More than {{limit}} match","find_match_count_limit[other]":"More than {{limit}} matches",find_not_found:"Phrase not found",error_version_info:"PDF.js v{{version}} (build: {{build}})",error_message:"Message: {{message}}",error_stack:"Stack: {{stack}}",error_file:"File: {{file}}",error_line:"Line: {{line}}",rendering_error:"An error occurred while rendering the page.",page_scale_width:"Page Width",page_scale_fit:"Page Fit",page_scale_auto:"Automatic Zoom",page_scale_actual:"Actual Size",page_scale_percent:"{{scale}}%",loading:"Loading\u2026",loading_error:"An error occurred while loading the PDF.",invalid_file_error:"Invalid or corrupted PDF file.",missing_file_error:"Missing PDF file.",unexpected_response_error:"Unexpected server response.",printing_not_supported:"Warning: Printing is not fully supported by this browser.",printing_not_ready:"Warning: The PDF is not fully loaded for printing.",web_fonts_disabled:"Web fonts are disabled: unable to use embedded PDF fonts.",free_text_default_content:"Enter text\u2026",editor_free_text_aria_label:"FreeText Editor",editor_ink_aria_label:"Ink Editor",editor_ink_canvas_aria_label:"User-created image"};function g(_,f){switch(_){case"find_match_count":_=`find_match_count[${1===f.total?"one":"other"}]`;break;case"find_match_count_limit":_=`find_match_count_limit[${1===f.limit?"one":"other"}]`}return c[_]||""}const v={en:"en-US",es:"es-ES",fy:"fy-NL",ga:"ga-IE",gu:"gu-IN",hi:"hi-IN",hy:"hy-AM",nb:"nb-NO",ne:"ne-NP",nn:"nn-NO",pa:"pa-IN",pt:"pt-PT",sv:"sv-SE",zh:"zh-CN"};u.NullL10n={getLanguage:()=>n(function*(){return"en-us"})(),getDirection:()=>n(function*(){return"ltr"})(),get:(_,f=null,y=g(_,f))=>n(function*(){return function S(_,f){return f?_.replace(/\{\{\s*(\w+)\s*\}\}/g,(y,b)=>b in f?f[b]:"{{"+b+"}}"):_}(y,f)})(),translate:_=>n(function*(){})()}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AnnotationLayerBuilder=void 0;var g=c(3),v=c(4);u.AnnotationLayerBuilder=class p{constructor({pageDiv:C,pdfPage:_,linkService:f,downloadManager:y,annotationStorage:b=null,imageResourcesPath:E="",renderForms:M=!0,l10n:A=v.NullL10n,enableScripting:I=!1,hasJSActionsPromise:F=null,fieldObjectsPromise:j=null,mouseState:T=null,annotationCanvasMap:P=null,accessibilityManager:x=null}){this.pageDiv=C,this.pdfPage=_,this.linkService=f,this.downloadManager=y,this.imageResourcesPath=E,this.renderForms=M,this.l10n=A,this.annotationStorage=b,this.enableScripting=I,this._hasJSActionsPromise=F,this._fieldObjectsPromise=j,this._mouseState=T,this._annotationCanvasMap=P,this._accessibilityManager=x,this.div=null,this._cancelled=!1}render(C,_="display"){var f=this;return n(function*(){const[y,b=!1,E=null]=yield Promise.all([f.pdfPage.getAnnotations({intent:_}),f._hasJSActionsPromise,f._fieldObjectsPromise]);if(f._cancelled||0===y.length)return;const M={viewport:C.clone({dontFlip:!0}),div:f.div,annotations:y,page:f.pdfPage,imageResourcesPath:f.imageResourcesPath,renderForms:f.renderForms,linkService:f.linkService,downloadManager:f.downloadManager,annotationStorage:f.annotationStorage,enableScripting:f.enableScripting,hasJSActions:b,fieldObjects:E,mouseState:f._mouseState,annotationCanvasMap:f._annotationCanvasMap,accessibilityManager:f._accessibilityManager};f.div?g.AnnotationLayer.update(M):(f.div=document.createElement("div"),f.div.className="annotationLayer",f.pageDiv.append(f.div),M.div=f.div,g.AnnotationLayer.render(M),f.l10n.translate(f.div))})()}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.SimpleLinkService=u.PDFLinkService=u.LinkTarget=void 0;var g=c(7);const p={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function S(f,{url:y,target:b,rel:E,enabled:M=!0}={}){if(!y||"string"!=typeof y)throw new Error('A valid "url" parameter must provided.');const A=(0,g.removeNullCharacters)(y);M?f.href=f.title=A:(f.href="",f.title=`Disabled: ${A}`,f.onclick=()=>!1);let I="";switch(b){case p.NONE:break;case p.SELF:I="_self";break;case p.BLANK:I="_blank";break;case p.PARENT:I="_parent";break;case p.TOP:I="_top"}f.target=I,f.rel="string"==typeof E?E:"noopener noreferrer nofollow"}u.LinkTarget=p;class C{#e=new Map;constructor({eventBus:y,externalLinkTarget:b=null,externalLinkRel:E=null,ignoreDestinationZoom:M=!1}={}){this.eventBus=y,this.externalLinkTarget=b,this.externalLinkRel=E,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=M,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null}setDocument(y,b=null){this.baseUrl=b,this.pdfDocument=y,this.#e.clear()}setViewer(y){this.pdfViewer=y}setHistory(y){this.pdfHistory=y}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return this.pdfViewer.currentPageNumber}set page(y){this.pdfViewer.currentPageNumber=y}get rotation(){return this.pdfViewer.pagesRotation}set rotation(y){this.pdfViewer.pagesRotation=y}#t(y,b=null,E){const M=E[0];let A;if("object"==typeof M&&null!==M){if(A=this._cachedPageNumber(M),!A)return void this.pdfDocument.getPageIndex(M).then(I=>{this.cachePageRef(I+1,M),this.#t(y,b,E)}).catch(()=>{console.error(`PDFLinkService.#goToDestinationHelper: "${M}" is not a valid page reference, for dest="${y}".`)})}else{if(!Number.isInteger(M))return void console.error(`PDFLinkService.#goToDestinationHelper: "${M}" is not a valid destination reference, for dest="${y}".`);A=M+1}!A||A<1||A>this.pagesCount?console.error(`PDFLinkService.#goToDestinationHelper: "${A}" is not a valid page number, for dest="${y}".`):(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.push({namedDest:b,explicitDest:E,pageNumber:A})),this.pdfViewer.scrollPageIntoView({pageNumber:A,destArray:E,ignoreDestinationZoom:this._ignoreDestinationZoom}))}goToDestination(y){var b=this;return n(function*(){if(!b.pdfDocument)return;let E,M;"string"==typeof y?(E=y,M=yield b.pdfDocument.getDestination(y)):(E=null,M=yield y),Array.isArray(M)?b.#t(y,E,M):console.error(`PDFLinkService.goToDestination: "${M}" is not a valid destination array, for dest="${y}".`)})()}goToPage(y){if(!this.pdfDocument)return;const b="string"==typeof y&&this.pdfViewer.pageLabelToPageNumber(y)||0|y;Number.isInteger(b)&&b>0&&b<=this.pagesCount?(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.pushPage(b)),this.pdfViewer.scrollPageIntoView({pageNumber:b})):console.error(`PDFLinkService.goToPage: "${y}" is not a valid page.`)}addLinkAttributes(y,b,E=!1){S(y,{url:b,target:E?p.BLANK:this.externalLinkTarget,rel:this.externalLinkRel,enabled:this.externalLinkEnabled})}getDestinationHash(y){if("string"==typeof y){if(y.length>0)return this.getAnchorUrl("#"+escape(y))}else if(Array.isArray(y)){const b=JSON.stringify(y);if(b.length>0)return this.getAnchorUrl("#"+escape(b))}return this.getAnchorUrl("")}getAnchorUrl(y){return(this.baseUrl||"")+y}setHash(y){if(!this.pdfDocument)return;let b,E;if(y.includes("=")){const M=(0,g.parseQueryString)(y);if(M.has("search")&&this.eventBus.dispatch("findfromurlhash",{source:this,query:M.get("search").replace(/"/g,""),phraseSearch:"true"===M.get("phrase")}),M.has("page")&&(b=0|M.get("page")||1),M.has("zoom")){const A=M.get("zoom").split(","),I=A[0],F=parseFloat(I);I.includes("Fit")?"Fit"===I||"FitB"===I?E=[null,{name:I}]:"FitH"===I||"FitBH"===I||"FitV"===I||"FitBV"===I?E=[null,{name:I},A.length>1?0|A[1]:null]:"FitR"===I?5!==A.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):E=[null,{name:I},0|A[1],0|A[2],0|A[3],0|A[4]]:console.error(`PDFLinkService.setHash: "${I}" is not a valid zoom value.`):E=[null,{name:"XYZ"},A.length>1?0|A[1]:null,A.length>2?0|A[2]:null,F?F/100:I]}E?this.pdfViewer.scrollPageIntoView({pageNumber:b||this.page,destArray:E,allowNegativeOffset:!0}):b&&(this.page=b),M.has("pagemode")&&this.eventBus.dispatch("pagemode",{source:this,mode:M.get("pagemode")}),M.has("nameddest")&&this.goToDestination(M.get("nameddest"))}else{E=unescape(y);try{E=JSON.parse(E),Array.isArray(E)||(E=E.toString())}catch{}if("string"==typeof E||C.#n(E))return void this.goToDestination(E);console.error(`PDFLinkService.setHash: "${unescape(y)}" is not a valid destination.`)}}executeNamedAction(y){switch(y){case"GoBack":this.pdfHistory?.back();break;case"GoForward":this.pdfHistory?.forward();break;case"NextPage":this.pdfViewer.nextPage();break;case"PrevPage":this.pdfViewer.previousPage();break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:y})}cachePageRef(y,b){b&&this.#e.set(0===b.gen?`${b.num}R`:`${b.num}R${b.gen}`,y)}_cachedPageNumber(y){return y&&this.#e.get(0===y.gen?`${y.num}R`:`${y.num}R${y.gen}`)||null}isPageVisible(y){return this.pdfViewer.isPageVisible(y)}isPageCached(y){return this.pdfViewer.isPageCached(y)}static#n(y){if(!Array.isArray(y))return!1;const b=y.length;if(b<2)return!1;const E=y[0];if(!("object"==typeof E&&Number.isInteger(E.num)&&Number.isInteger(E.gen)||Number.isInteger(E)&&E>=0))return!1;const M=y[1];if("object"!=typeof M||"string"!=typeof M.name)return!1;let A=!0;switch(M.name){case"XYZ":if(5!==b)return!1;break;case"Fit":case"FitB":return 2===b;case"FitH":case"FitBH":case"FitV":case"FitBV":if(3!==b)return!1;break;case"FitR":if(6!==b)return!1;A=!1;break;default:return!1}for(let I=2;I{Object.defineProperty(u,"__esModule",{value:!0}),u.animationStarted=u.VERTICAL_PADDING=u.UNKNOWN_SCALE=u.TextLayerMode=u.SpreadMode=u.SidebarView=u.ScrollMode=u.SCROLLBAR_PADDING=u.RenderingStates=u.RendererType=u.ProgressBar=u.PresentationModeState=u.OutputScale=u.MIN_SCALE=u.MAX_SCALE=u.MAX_AUTO_SCALE=u.DEFAULT_SCALE_VALUE=u.DEFAULT_SCALE_DELTA=u.DEFAULT_SCALE=u.AutoPrintRegExp=void 0,u.apiPageLayoutToViewerModes=function tt(Qe){let Ct=F.VERTICAL,Xe=j.NONE;switch(Qe){case"SinglePage":Ct=F.PAGE;break;case"OneColumn":break;case"TwoPageLeft":Ct=F.PAGE;case"TwoColumnLeft":Xe=j.ODD;break;case"TwoPageRight":Ct=F.PAGE;case"TwoColumnRight":Xe=j.EVEN}return{scrollMode:Ct,spreadMode:Xe}},u.apiPageModeToSidebarView=function mt(Qe){switch(Qe){case"UseNone":return M.NONE;case"UseThumbs":return M.THUMBS;case"UseOutlines":return M.OUTLINE;case"UseAttachments":return M.ATTACHMENTS;case"UseOC":return M.LAYERS}return M.NONE},u.approximateFraction=function se(Qe){if(Math.floor(Qe)===Qe)return[Qe,1];const Ct=1/Qe;if(Ct>8)return[1,8];if(Math.floor(Ct)===Ct)return[1,Ct];const nt=Qe>1?Ct:Qe;let An,Pt=0,tn=1,hn=1,wn=1;for(;;){const _n=Pt+hn,qt=tn+wn;if(qt>8)break;nt<=_n/qt?(hn=_n,wn=qt):(Pt=_n,tn=qt)}return An=nt-Pt/tnwn}:function _n(He){const vt=He.div;return vt.offsetTop+vt.clientTop+vt.clientHeight>tn});Te>0&&Te=hn&&($e=Yt);else if((nt?wt:st)>$e)break;if(Yt<=tn||st>=hn||It<=wn||wt>=An)continue;const Xt=Math.max(0,tn-st)+Math.max(0,Yt-hn),St=(zt-(Math.max(0,wn-wt)+Math.max(0,It-An)))/zt;ht.push({id:vt.id,x:wt,y:st,view:vt,percent:(pt-Xt)/pt*St*100|0,widthPercent:100*St|0}),Ue.add(vt.id)}const je=ht[0],gt=ht.at(-1);return Xe&&ht.sort(function(He,vt){const ut=He.percent-vt.percent;return Math.abs(ut)>.001?-ut:He.id-vt.id}),{first:je,last:gt,views:ht,ids:Ue}},u.isPortraitOrientation=function Oe(Qe){return Qe.width<=Qe.height},u.isValidRotation=function ee(Qe){return Number.isInteger(Qe)&&Qe%90==0},u.isValidScrollMode=function we(Qe){return Number.isInteger(Qe)&&Object.values(F).includes(Qe)&&Qe!==F.UNKNOWN},u.isValidSpreadMode=function ye(Qe){return Number.isInteger(Qe)&&Object.values(j).includes(Qe)&&Qe!==j.UNKNOWN},u.noContextMenuHandler=function Y(Qe){Qe.preventDefault()},u.normalizeWheelEventDelta=function le(Qe){let Ct=$(Qe);return 0===Qe.deltaMode?Ct/=900:1===Qe.deltaMode&&(Ct/=30),Ct},u.normalizeWheelEventDirection=$,u.parseQueryString=function O(Qe){const Ct=new Map;for(const[Xe,nt]of new URLSearchParams(Qe))Ct.set(Xe.toLowerCase(),nt);return Ct},u.removeNullCharacters=function te(Qe,Ct=!1){return"string"!=typeof Qe?(console.error("The argument must be a string."),Qe):(Ct&&(Qe=Qe.replace(G," ")),Qe.replace(H,""))},u.roundToDivide=function K(Qe,Ct){const Xe=Qe%Ct;return 0===Xe?Qe:Math.round(Qe-Xe+Ct)},u.scrollIntoView=function x(Qe,Ct,Xe=!1){let nt=Qe.offsetParent;if(!nt)return void console.error("offsetParent is not set -- cannot scroll");let Pt=Qe.offsetTop+Qe.clientTop,tn=Qe.offsetLeft+Qe.clientLeft;for(;nt.clientHeight===nt.scrollHeight&&nt.clientWidth===nt.scrollWidth||Xe&&(nt.classList.contains("markedContent")||"hidden"===getComputedStyle(nt).overflow);)if(Pt+=nt.offsetTop,tn+=nt.offsetLeft,nt=nt.offsetParent,!nt)return;Ct&&(void 0!==Ct.top&&(Pt+=Ct.top),void 0!==Ct.left&&(tn+=Ct.left,nt.scrollLeft=tn)),nt.scrollTop=Pt},u.watchScroll=function N(Qe,Ct){const Xe=function(tn){Pt||(Pt=window.requestAnimationFrame(function(){Pt=null;const wn=Qe.scrollLeft,An=nt.lastX;wn!==An&&(nt.right=wn>An),nt.lastX=wn;const _n=Qe.scrollTop,qt=nt.lastY;_n!==qt&&(nt.down=_n>qt),nt.lastY=_n,Ct(nt)}))},nt={right:!0,down:!0,lastX:Qe.scrollLeft,lastY:Qe.scrollTop,_eventHandler:Xe};let Pt=null;return Qe.addEventListener("scroll",Xe,!0),nt},u.DEFAULT_SCALE_VALUE="auto",u.DEFAULT_SCALE=1,u.DEFAULT_SCALE_DELTA=1.1,u.MIN_SCALE=.1,u.MAX_SCALE=10,u.UNKNOWN_SCALE=0,u.MAX_AUTO_SCALE=1.25,u.SCROLLBAR_PADDING=40,u.VERTICAL_PADDING=5,u.RenderingStates={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3},u.PresentationModeState={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3};const M={UNKNOWN:-1,NONE:0,THUMBS:1,OUTLINE:2,ATTACHMENTS:3,LAYERS:4};u.SidebarView=M,u.RendererType={CANVAS:"canvas",SVG:"svg"},u.TextLayerMode={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};const F={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2,PAGE:3};u.ScrollMode=F;const j={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};u.SpreadMode=j,u.AutoPrintRegExp=/\bprint\s*\(/,u.OutputScale=class P{constructor(){const Ct=window.devicePixelRatio||1;this.sx=Ct,this.sy=Ct}get scaled(){return 1!==this.sx||1!==this.sy}};const H=/\x00/g,G=/[\x01-\x1F]/g;function ue(Qe,Ct,Xe=0){let nt=Xe,Pt=Qe.length-1;if(Pt<0||!Ct(Qe[Pt]))return Qe.length;if(Ct(Qe[nt]))return nt;for(;nt>1;Ct(Qe[tn])?Pt=tn:nt=tn+1}return nt}function re(Qe,Ct,Xe){if(Qe<2)return Qe;let nt=Ct[Qe].div,Pt=nt.offsetTop+nt.clientTop;Pt>=Xe&&(nt=Ct[Qe-1].div,Pt=nt.offsetTop+nt.clientTop);for(let tn=Qe-2;tn>=0&&(nt=Ct[tn].div,!(nt.offsetTop+nt.clientTop+nt.clientHeight<=Pt));--tn)Qe=tn;return Qe}function $(Qe){let Ct=Math.hypot(Qe.deltaX,Qe.deltaY);const Xe=Math.atan2(Qe.deltaY,Qe.deltaX);return-.25*Math.PI1)throw new Error("ProgressBar no longer accepts any additional options, please use CSS rules to modify its appearance instead.");const Xe=document.getElementById(Ct);this.#e=Xe.classList}get percent(){return this.#t}set percent(Ct){this.#t=function Pe(Qe,Ct,Xe){return Math.min(Math.max(Qe,Ct),Xe)}(Ct,0,100),isNaN(Ct)?this.#e.add("indeterminate"):(this.#e.remove("indeterminate"),_e.setProperty("--progressBar-percent",`${this.#t}%`))}setWidth(Ct){if(!Ct)return;const nt=Ct.parentNode.offsetWidth-Ct.offsetWidth;nt>0&&_e.setProperty("--progressBar-end-offset",`${nt}px`)}hide(){this.#n&&(this.#n=!1,this.#e.add("hidden"))}show(){this.#n||(this.#n=!0,this.#e.remove("hidden"))}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.StructTreeLayerBuilder=void 0;const c={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},g=/^H(\d+)$/;u.StructTreeLayerBuilder=class v{constructor({pdfPage:S}){this.pdfPage=S}render(S){return this._walk(S)}_setAttributes(S,C){void 0!==S.alt&&C.setAttribute("aria-label",S.alt),void 0!==S.id&&C.setAttribute("aria-owns",S.id),void 0!==S.lang&&C.setAttribute("lang",S.lang)}_walk(S){if(!S)return null;const C=document.createElement("span");if("role"in S){const{role:_}=S,f=_.match(g);f?(C.setAttribute("role","heading"),C.setAttribute("aria-level",f[1])):c[_]&&C.setAttribute("role",c[_])}if(this._setAttributes(S,C),S.children)if(1===S.children.length&&"id"in S.children[0])this._setAttributes(S.children[0],C);else for(const _ of S.children)C.append(this._walk(_));return C}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.TextLayerBuilder=void 0;var g=c(3);u.TextLayerBuilder=class p{constructor({textLayerDiv:C,eventBus:_,pageIndex:f,viewport:y,highlighter:b=null,enhanceTextSelection:E=!1,accessibilityManager:M=null}){this.textLayerDiv=C,this.eventBus=_,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageNumber=f+1,this.viewport=y,this.textDivs=[],this.textLayerRenderTask=null,this.highlighter=b,this.enhanceTextSelection=E,this.accessibilityManager=M,this._bindMouse()}_finishRendering(){if(this.renderingDone=!0,!this.enhanceTextSelection){const C=document.createElement("div");C.className="endOfContent",this.textLayerDiv.append(C)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}render(C=0){if(!this.textContent&&!this.textContentStream||this.renderingDone)return;this.cancel(),this.textDivs.length=0,this.highlighter?.setTextMapping(this.textDivs,this.textContentItemsStr),this.accessibilityManager?.setTextMapping(this.textDivs);const _=document.createDocumentFragment();this.textLayerRenderTask=(0,g.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:_,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:C,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then(()=>{this.textLayerDiv.append(_),this._finishRendering(),this.highlighter?.enable(),this.accessibilityManager?.enable()},function(f){})}cancel(){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this.highlighter?.disable(),this.accessibilityManager?.disable()}setTextContentStream(C){this.cancel(),this.textContentStream=C}setTextContent(C){this.cancel(),this.textContent=C}_bindMouse(){const C=this.textLayerDiv;let _=null;C.addEventListener("mousedown",f=>{if(this.enhanceTextSelection&&this.textLayerRenderTask)return this.textLayerRenderTask.expandTextDivs(!0),void(_&&(clearTimeout(_),_=null));const y=C.querySelector(".endOfContent");if(!y)return;let b=f.target!==C;if(b=b&&"none"!==window.getComputedStyle(y).getPropertyValue("-moz-user-select"),b){const E=C.getBoundingClientRect(),M=Math.max(0,(f.pageY-E.top)/E.height);y.style.top=(100*M).toFixed(2)+"%"}y.classList.add("active")}),C.addEventListener("mouseup",()=>{if(this.enhanceTextSelection&&this.textLayerRenderTask)return void(_=setTimeout(()=>{this.textLayerRenderTask&&this.textLayerRenderTask.expandTextDivs(!1),_=null},300));const f=C.querySelector(".endOfContent");f&&(f.style.top="",f.classList.remove("active"))})}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.XfaLayerBuilder=void 0;var g=c(3);u.XfaLayerBuilder=class v{constructor({pageDiv:S,pdfPage:C,annotationStorage:_=null,linkService:f,xfaHtml:y=null}){this.pageDiv=S,this.pdfPage=C,this.annotationStorage=_,this.linkService=f,this.xfaHtml=y,this.div=null,this._cancelled=!1}render(S,C="display"){if("print"===C){const _={viewport:S.clone({dontFlip:!0}),div:this.div,xfaHtml:this.xfaHtml,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:C},f=document.createElement("div");this.pageDiv.append(f),_.div=f;const y=g.XfaLayer.render(_);return Promise.resolve(y)}return this.pdfPage.getXfa().then(_=>{if(this._cancelled||!_)return{textDivs:[]};const f={viewport:S.clone({dontFlip:!0}),div:this.div,xfaHtml:_,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:C};return this.div?g.XfaLayer.update(f):(this.div=document.createElement("div"),this.pageDiv.append(this.div),f.div=this.div,g.XfaLayer.render(f))}).catch(_=>{console.error(_)})}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFViewer=u.PDFSinglePageViewer=void 0;var g=c(7),v=c(12);u.PDFViewer=class p extends v.BaseViewer{},u.PDFSinglePageViewer=class S extends v.BaseViewer{_resetView(){super._resetView(),this._scrollMode=g.ScrollMode.PAGE,this._spreadMode=g.SpreadMode.NONE}set scrollMode(_){}_updateScrollMode(){}set spreadMode(_){}_updateSpreadMode(){}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PagesCountLimit=u.PDFPageViewBuffer=u.BaseViewer=void 0;var g=c(3),v=c(7),p=c(2),S=c(5),C=c(4),_=c(13),f=c(16),y=c(6),b=c(8),E=c(17),M=c(9),A=c(10);const F="enablePermissions",j={FORCE_SCROLL_MODE_PAGE:15e3,FORCE_LAZY_PAGE_INIT:7500,PAUSE_EAGER_PAGE_INIT:250};function T(N){return Object.values(g.AnnotationEditorType).includes(N)&&N!==g.AnnotationEditorType.DISABLE}u.PagesCountLimit=j;class P{#e=new Set;#t=0;constructor(O){this.#t=O}push(O){const H=this.#e;H.has(O)&&H.delete(O),H.add(O),H.size>this.#t&&this.#n()}resize(O,H=null){this.#t=O;const G=this.#e;if(H){const te=G.size;let ue=1;for(const se of G)if(H.has(se.id)&&(G.delete(se),G.add(se)),++ue>te)break}for(;G.size>this.#t;)this.#n()}has(O){return this.#e.has(O)}[Symbol.iterator](){return this.#e.keys()}#n(){const O=this.#e.keys().next().value;O?.destroy(),this.#e.delete(O)}}u.PDFPageViewBuffer=P;class x{#e=null;#t=g.AnnotationEditorType.DISABLE;#n=null;#r=g.AnnotationMode.ENABLE_FORMS;#o=!1;#c=0;#a=null;#i=null;constructor(O){if(this.constructor===x)throw new Error("Cannot initialize BaseViewer.");const H="2.16.105";if(g.version!==H)throw new Error(`The API version "${g.version}" does not match the Viewer version "${H}".`);if(this.container=O.container,this.viewer=O.viewer||O.container.firstElementChild,"DIV"!==this.container?.tagName.toUpperCase()||"DIV"!==this.viewer?.tagName.toUpperCase())throw new Error("Invalid `container` and/or `viewer` option.");if(this.container.offsetParent&&"absolute"!==getComputedStyle(this.container).position)throw new Error("The `container` must be absolutely positioned.");this.eventBus=O.eventBus,this.linkService=O.linkService||new y.SimpleLinkService,this.downloadManager=O.downloadManager||null,this.findController=O.findController||null,this._scriptingManager=O.scriptingManager||null,this.removePageBorders=O.removePageBorders||!1,this.textLayerMode=O.textLayerMode??v.TextLayerMode.ENABLE,this.#r=O.annotationMode??g.AnnotationMode.ENABLE_FORMS,this.#t=O.annotationEditorMode??g.AnnotationEditorType.DISABLE,this.imageResourcesPath=O.imageResourcesPath||"",this.enablePrintAutoRotate=O.enablePrintAutoRotate||!1,this.renderer=O.renderer||v.RendererType.CANVAS,this.useOnlyCssZoom=O.useOnlyCssZoom||!1,this.maxCanvasPixels=O.maxCanvasPixels,this.l10n=O.l10n||C.NullL10n,this.#o=O.enablePermissions||!1,this.pageColors=O.pageColors||null,this.pageColors&&!(CSS.supports("color",this.pageColors.background)&&CSS.supports("color",this.pageColors.foreground))&&((this.pageColors.background||this.pageColors.foreground)&&console.warn("BaseViewer: Ignoring `pageColors`-option, since the browser doesn't support the values used."),this.pageColors=null),this.defaultRenderingQueue=!O.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new f.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=O.renderingQueue,this.scroll=(0,v.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=v.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),this.updateContainerHeightCss()}get pagesCount(){return this._pages.length}getPageView(O){return this._pages[O]}get pageViewsReady(){return!!this._pagesCapability.settled&&this._pages.every(function(O){return O?.pdfPage})}get renderForms(){return this.#r===g.AnnotationMode.ENABLE_FORMS}get enableScripting(){return!!this._scriptingManager}get currentPageNumber(){return this._currentPageNumber}set currentPageNumber(O){if(!Number.isInteger(O))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(O,!0)||console.error(`currentPageNumber: "${O}" is not a valid page.`))}_setCurrentPageNumber(O,H=!1){if(this._currentPageNumber===O)return H&&this.#f(),!0;if(!(0=0&&(H=G+1)}this._setCurrentPageNumber(H,!0)||console.error(`currentPageLabel: "${O}" is not a valid page.`)}get currentScale(){return this._currentScale!==v.UNKNOWN_SCALE?this._currentScale:v.DEFAULT_SCALE}set currentScale(O){if(isNaN(O))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(O,!1)}get currentScaleValue(){return this._currentScaleValue}set currentScaleValue(O){this.pdfDocument&&this._setScale(O,!1)}get pagesRotation(){return this._pagesRotation}set pagesRotation(O){if(!(0,v.isValidRotation)(O))throw new Error("Invalid pages rotation angle.");if(!this.pdfDocument||((O%=360)<0&&(O+=360),this._pagesRotation===O))return;this._pagesRotation=O;const H=this._currentPageNumber,G={rotation:O};for(const te of this._pages)te.update(G);this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:O,pageNumber:H}),this.defaultRenderingQueue&&this.update()}get firstPagePromise(){return this.pdfDocument?this._firstPageCapability.promise:null}get onePageRendered(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}get pagesPromise(){return this.pdfDocument?this._pagesCapability.promise:null}#h(O){const H={annotationEditorMode:this.#t,annotationMode:this.#r,textLayerMode:this.textLayerMode};return O&&(O.includes(g.PermissionFlag.COPY)||this.viewer.classList.add(F),O.includes(g.PermissionFlag.MODIFY_CONTENTS)||(H.annotationEditorMode=g.AnnotationEditorType.DISABLE),!O.includes(g.PermissionFlag.MODIFY_ANNOTATIONS)&&!O.includes(g.PermissionFlag.FILL_INTERACTIVE_FORMS)&&this.#r===g.AnnotationMode.ENABLE_FORMS&&(H.annotationMode=g.AnnotationMode.ENABLE)),H}#u(){if("hidden"===document.visibilityState||!this.container.offsetParent||0===this._getVisiblePages().views.length)return Promise.resolve();const O=new Promise(H=>{this.#i=()=>{"hidden"===document.visibilityState&&(H(),document.removeEventListener("visibilitychange",this.#i),this.#i=null)},document.addEventListener("visibilitychange",this.#i)});return Promise.race([this._onePageRenderedCapability.promise,O])}setDocument(O){var H=this;if(this.pdfDocument&&(this.eventBus.dispatch("pagesdestroy",{source:this}),this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null),this._scriptingManager&&this._scriptingManager.setDocument(null),this.#n&&(this.#n.destroy(),this.#n=null)),this.pdfDocument=O,!O)return;const G=O.isPureXfa,te=O.numPages,ue=O.getPage(1),se=O.getOptionalContentConfig(),K=this.#o?O.getPermissions():Promise.resolve();if(te>j.FORCE_SCROLL_MODE_PAGE){console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document.");const Z=this._scrollMode=v.ScrollMode.PAGE;this.eventBus.dispatch("scrollmodechanged",{source:this,mode:Z})}this._pagesCapability.promise.then(()=>{this.eventBus.dispatch("pagesloaded",{source:this,pagesCount:te})},()=>{}),this._onBeforeDraw=Z=>{const re=this._pages[Z.pageNumber-1];re&&this.#e.push(re)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=Z=>{Z.cssTransform||this._onePageRenderedCapability.settled||(this._onePageRenderedCapability.resolve({timestamp:Z.timestamp}),this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null,this.#i&&(document.removeEventListener("visibilitychange",this.#i),this.#i=null))},this.eventBus._on("pagerendered",this._onAfterDraw),Promise.all([ue,K]).then(([Z,re])=>{if(O!==this.pdfDocument)return;this._firstPageCapability.resolve(Z),this._optionalContentConfigPromise=se;const{annotationEditorMode:J,annotationMode:Y,textLayerMode:$}=this.#h(re);if(J!==g.AnnotationEditorType.DISABLE){const Ze=J;G?console.warn("Warning: XFA-editing is not implemented."):T(Ze)?(this.#n=new g.AnnotationEditorUIManager(this.container,this.eventBus),Ze!==g.AnnotationEditorType.NONE&&this.#n.updateMode(Ze)):console.error(`Invalid AnnotationEditor mode: ${Ze}`)}const le=this._scrollMode===v.ScrollMode.PAGE?null:this.viewer,ee=this.currentScale,we=Z.getViewport({scale:ee*g.PixelsPerInch.PDF_TO_CSS_UNITS}),ye=$===v.TextLayerMode.DISABLE||G?null:this,Oe=Y!==g.AnnotationMode.DISABLE?this:null,ve=G?this:null,_e=this.#n?this:null;for(let Ze=1;Ze<=te;++Ze){const ot=new _.PDFPageView({container:le,eventBus:this.eventBus,id:Ze,scale:ee,defaultViewport:we.clone(),optionalContentConfigPromise:se,renderingQueue:this.renderingQueue,textLayerFactory:ye,textLayerMode:$,annotationLayerFactory:Oe,annotationMode:Y,xfaLayerFactory:ve,annotationEditorLayerFactory:_e,textHighlighterFactory:this,structTreeLayerFactory:this,imageResourcesPath:this.imageResourcesPath,renderer:this.renderer,useOnlyCssZoom:this.useOnlyCssZoom,maxCanvasPixels:this.maxCanvasPixels,pageColors:this.pageColors,l10n:this.l10n});this._pages.push(ot)}const Pe=this._pages[0];Pe&&(Pe.setPdfPage(Z),this.linkService.cachePageRef(1,Z.ref)),this._scrollMode===v.ScrollMode.PAGE?this.#l():this._spreadMode!==v.SpreadMode.NONE&&this._updateSpreadMode(),this.#u().then(n(function*(){if(H.findController&&H.findController.setDocument(O),H._scriptingManager&&H._scriptingManager.setDocument(O),H.#n&&H.eventBus.dispatch("annotationeditormodechanged",{source:H,mode:H.#t}),O.loadingParams.disableAutoFetch||te>j.FORCE_LAZY_PAGE_INIT)return void H._pagesCapability.resolve();let Ze=te-1;if(Ze<=0)H._pagesCapability.resolve();else for(let ot=2;ot<=te;++ot){const tt=O.getPage(ot).then(mt=>{const Qe=H._pages[ot-1];Qe.pdfPage||Qe.setPdfPage(mt),H.linkService.cachePageRef(ot,mt.ref),0==--Ze&&H._pagesCapability.resolve()},mt=>{console.error(`Unable to get page ${ot} to initialize viewer`,mt),0==--Ze&&H._pagesCapability.resolve()});ot%j.PAUSE_EAGER_PAGE_INIT==0&&(yield tt)}})),this.eventBus.dispatch("pagesinit",{source:this}),O.getMetadata().then(({info:Ze})=>{O===this.pdfDocument&&Ze.Language&&(this.viewer.lang=Ze.Language)}),this.defaultRenderingQueue&&this.update()}).catch(Z=>{console.error("Unable to initialize viewer",Z),this._pagesCapability.reject(Z)})}setPageLabels(O){if(this.pdfDocument){O?Array.isArray(O)&&this.pdfDocument.numPages===O.length?this._pageLabels=O:(this._pageLabels=null,console.error("setPageLabels: Invalid page labels.")):this._pageLabels=null;for(let H=0,G=this._pages.length;H=H.previousPageNumber,H.previousPageNumber=O}_scrollUpdate(){0!==this.pagesCount&&this.update()}#s(O,H=null){const{div:G,id:te}=O;if(this._scrollMode===v.ScrollMode.PAGE&&(this._setCurrentPageNumber(te),this.#l(),this.update()),!H&&!this.isInPresentationMode){const ue=G.offsetLeft+G.clientLeft,se=ue+G.clientWidth,{scrollLeft:K,clientWidth:Z}=this.container;(this._scrollMode===v.ScrollMode.HORIZONTAL||ueK+Z)&&(H={left:0,top:0})}(0,v.scrollIntoView)(G,H)}#g(O){return O===this._currentScale||Math.abs(O-this._currentScale)<1e-15}_setScaleUpdatePages(O,H,G=!1,te=!1){if(this._currentScaleValue=H.toString(),this.#g(O))return void(te&&this.eventBus.dispatch("scalechanging",{source:this,scale:O,presetValue:H}));v.docStyle.setProperty("--scale-factor",O*g.PixelsPerInch.PDF_TO_CSS_UNITS);const ue={scale:O};for(const se of this._pages)se.update(ue);if(this._currentScale=O,!G){let K,se=this._currentPageNumber;this._location&&!(this.isInPresentationMode||this.isChangingPresentationMode)&&(se=this._location.pageNumber,K=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:se,destArray:K,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:O,presetValue:te?H:void 0}),this.defaultRenderingQueue&&this.update(),this.updateContainerHeightCss()}get _pageWidthScaleFactor(){return this._spreadMode!==v.SpreadMode.NONE&&this._scrollMode!==v.ScrollMode.HORIZONTAL?2:1}_setScale(O,H=!1){let G=parseFloat(O);if(G>0)this._setScaleUpdatePages(G,O,H,!1);else{const te=this._pages[this._currentPageNumber-1];if(!te)return;let ue=v.SCROLLBAR_PADDING,se=v.VERTICAL_PADDING;this.isInPresentationMode?ue=se=4:this.removePageBorders?ue=se=0:this._scrollMode===v.ScrollMode.HORIZONTAL&&([ue,se]=[se,ue]);const K=(this.container.clientWidth-ue)/te.width*te.scale/this._pageWidthScaleFactor,Z=(this.container.clientHeight-se)/te.height*te.scale;switch(O){case"page-actual":G=1;break;case"page-width":G=K;break;case"page-height":G=Z;break;case"page-fit":G=Math.min(K,Z);break;case"auto":const re=(0,v.isPortraitOrientation)(te)?K:Math.min(Z,K);G=Math.min(v.MAX_AUTO_SCALE,re);break;default:return void console.error(`_setScale: "${O}" is an unknown zoom value.`)}this._setScaleUpdatePages(G,O,H,!0)}}#f(){const O=this._pages[this._currentPageNumber-1];this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0),this.#s(O)}pageLabelToPageNumber(O){if(!this._pageLabels)return null;const H=this._pageLabels.indexOf(O);return H<0?null:H+1}scrollPageIntoView({pageNumber:O,destArray:H=null,allowNegativeOffset:G=!1,ignoreDestinationZoom:te=!1}){if(!this.pdfDocument)return;const ue=Number.isInteger(O)&&this._pages[O-1];if(!ue)return void console.error(`scrollPageIntoView: "${O}" is not a valid pageNumber parameter.`);if(this.isInPresentationMode||!H)return void this._setCurrentPageNumber(O,!0);let J,Y,se=0,K=0,Z=0,re=0;const $=ue.rotation%180!=0,le=($?ue.height:ue.width)/ue.scale/g.PixelsPerInch.PDF_TO_CSS_UNITS,ee=($?ue.width:ue.height)/ue.scale/g.PixelsPerInch.PDF_TO_CSS_UNITS;let we=0;switch(H[1].name){case"XYZ":se=H[2],K=H[3],we=H[4],se=null!==se?se:0,K=null!==K?K:ee;break;case"Fit":case"FitB":we="page-fit";break;case"FitH":case"FitBH":K=H[2],we="page-width",null===K&&this._location?(se=this._location.left,K=this._location.top):("number"!=typeof K||K<0)&&(K=ee);break;case"FitV":case"FitBV":se=H[2],Z=le,re=ee,we="page-height";break;case"FitR":se=H[2],K=H[3],Z=H[4]-se,re=H[5]-K,J=(this.container.clientWidth-(this.removePageBorders?0:v.SCROLLBAR_PADDING))/Z/g.PixelsPerInch.PDF_TO_CSS_UNITS,Y=(this.container.clientHeight-(this.removePageBorders?0:v.VERTICAL_PADDING))/re/g.PixelsPerInch.PDF_TO_CSS_UNITS,we=Math.min(Math.abs(J),Math.abs(Y));break;default:return void console.error(`scrollPageIntoView: "${H[1].name}" is not a valid destination type.`)}if(te||(we&&we!==this._currentScale?this.currentScaleValue=we:this._currentScale===v.UNKNOWN_SCALE&&(this.currentScaleValue=v.DEFAULT_SCALE_VALUE)),"page-fit"===we&&!H[4])return void this.#s(ue);const ye=[ue.viewport.convertToViewportPoint(se,K),ue.viewport.convertToViewportPoint(se+Z,K+re)];let Oe=Math.min(ye[0][0],ye[1][0]),ve=Math.min(ye[0][1],ye[1][1]);G||(Oe=Math.max(Oe,0),ve=Math.max(ve,0)),this.#s(ue,{left:Oe,top:ve})}_updateLocation(O){const H=this._currentScale,G=this._currentScaleValue,te=parseFloat(G)===H?Math.round(1e4*H)/100:G,ue=O.id,K=this.container,Z=this._pages[ue-1].getPagePoint(K.scrollLeft-O.x,K.scrollTop-O.y),re=Math.round(Z[0]),J=Math.round(Z[1]);let Y=`#page=${ue}`;this.isInPresentationMode||(Y+=`&zoom=${te},${re},${J}`),this._location={pageNumber:ue,scale:te,top:J,left:re,rotation:this._pagesRotation,pdfOpenParams:Y}}update(){const O=this._getVisiblePages(),H=O.views,G=H.length;if(0===G)return;const te=Math.max(10,2*G+1);this.#e.resize(te,O.ids),this.renderingQueue.renderHighestPriority(O);const ue=this._spreadMode===v.SpreadMode.NONE&&(this._scrollMode===v.ScrollMode.PAGE||this._scrollMode===v.ScrollMode.VERTICAL),se=this._currentPageNumber;let K=!1;for(const Z of H){if(Z.percent<100)break;if(Z.id===se&&ue){K=!0;break}}this._setCurrentPageNumber(K?se:H[0].id),this._updateLocation(O.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}containsElement(O){return this.container.contains(O)}focus(){this.container.focus()}get _isContainerRtl(){return"rtl"===getComputedStyle(this.container).direction}get isInPresentationMode(){return this.presentationModeState===v.PresentationModeState.FULLSCREEN}get isChangingPresentationMode(){return this.presentationModeState===v.PresentationModeState.CHANGING}get isHorizontalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}get isVerticalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}_getVisiblePages(){const O=this._scrollMode===v.ScrollMode.PAGE?this.#a.pages:this._pages,H=this._scrollMode===v.ScrollMode.HORIZONTAL;return(0,v.getVisibleElements)({scrollEl:this.container,views:O,sortByVisibility:!0,horizontal:H,rtl:H&&this._isContainerRtl})}isPageVisible(O){return!!this.pdfDocument&&(Number.isInteger(O)&&O>0&&O<=this.pagesCount?this._getVisiblePages().ids.has(O):(console.error(`isPageVisible: "${O}" is not a valid page.`),!1))}isPageCached(O){return!!this.pdfDocument&&(Number.isInteger(O)&&O>0&&O<=this.pagesCount?this.#e.has(this._pages[O-1]):(console.error(`isPageCached: "${O}" is not a valid page.`),!1))}cleanup(){for(const O of this._pages)O.renderingState!==v.RenderingStates.FINISHED&&O.reset()}_cancelRendering(){for(const O of this._pages)O.cancelRendering()}#v(O){var H=this;return n(function*(){if(O.pdfPage)return O.pdfPage;try{const G=yield H.pdfDocument.getPage(O.id);return O.pdfPage||O.setPdfPage(G),H.linkService._cachedPageNumber?.(G.ref)||H.linkService.cachePageRef(O.id,G.ref),G}catch(G){return console.error("Unable to get page for page view",G),null}})()}#p(O){if(1===O.first?.id)return!0;if(O.last?.id===this.pagesCount)return!1;switch(this._scrollMode){case v.ScrollMode.PAGE:return this.#a.scrollDown;case v.ScrollMode.HORIZONTAL:return this.scroll.right}return this.scroll.down}#_(O){for(const H of O)this._pages[H-1]?.toggleLoadingIconSpinner(!0);for(const H of this.#e)O.has(H.id)||H.toggleLoadingIconSpinner(!1)}forceRendering(O){const H=O||this._getVisiblePages(),G=this.#p(H),ue=this.renderingQueue.getHighestPriority(H,this._pages,G,this._spreadMode!==v.SpreadMode.NONE&&this._scrollMode!==v.ScrollMode.HORIZONTAL);return this.#_(H.ids),!!ue&&(this.#v(ue).then(()=>{this.renderingQueue.renderView(ue)}),!0)}createTextLayerBuilder({textLayerDiv:O,pageIndex:H,viewport:G,enhanceTextSelection:te=!1,eventBus:ue,highlighter:se,accessibilityManager:K=null}){return new M.TextLayerBuilder({textLayerDiv:O,eventBus:ue,pageIndex:H,viewport:G,enhanceTextSelection:!this.isInPresentationMode&&te,highlighter:se,accessibilityManager:K})}createTextHighlighter({pageIndex:O,eventBus:H}){return new E.TextHighlighter({eventBus:H,pageIndex:O,findController:this.isInPresentationMode?null:this.findController})}createAnnotationLayerBuilder({pageDiv:O,pdfPage:H,annotationStorage:G=this.pdfDocument?.annotationStorage,imageResourcesPath:te="",renderForms:ue=!0,l10n:se=C.NullL10n,enableScripting:K=this.enableScripting,hasJSActionsPromise:Z=this.pdfDocument?.hasJSActions(),mouseState:re=this._scriptingManager?.mouseState,fieldObjectsPromise:J=this.pdfDocument?.getFieldObjects(),annotationCanvasMap:Y=null,accessibilityManager:$=null}){return new S.AnnotationLayerBuilder({pageDiv:O,pdfPage:H,annotationStorage:G,imageResourcesPath:te,renderForms:ue,linkService:this.linkService,downloadManager:this.downloadManager,l10n:se,enableScripting:K,hasJSActionsPromise:Z,mouseState:re,fieldObjectsPromise:J,annotationCanvasMap:Y,accessibilityManager:$})}createAnnotationEditorLayerBuilder({uiManager:O=this.#n,pageDiv:H,pdfPage:G,accessibilityManager:te=null,l10n:ue,annotationStorage:se=this.pdfDocument?.annotationStorage}){return new p.AnnotationEditorLayerBuilder({uiManager:O,pageDiv:H,pdfPage:G,annotationStorage:se,accessibilityManager:te,l10n:ue})}createXfaLayerBuilder({pageDiv:O,pdfPage:H,annotationStorage:G=this.pdfDocument?.annotationStorage}){return new A.XfaLayerBuilder({pageDiv:O,pdfPage:H,annotationStorage:G,linkService:this.linkService})}createStructTreeLayerBuilder({pdfPage:O}){return new b.StructTreeLayerBuilder({pdfPage:O})}get hasEqualPageSizes(){const O=this._pages[0];for(let H=1,G=this._pages.length;H{const H=O.pdfPage.getViewport({scale:1});return!this.enablePrintAutoRotate||(0,v.isPortraitOrientation)(H)?{width:H.width,height:H.height,rotation:H.rotation}:{width:H.height,height:H.width,rotation:(H.rotation-90)%360}})}get optionalContentConfigPromise(){return this.pdfDocument?this._optionalContentConfigPromise?this._optionalContentConfigPromise:(console.error("optionalContentConfigPromise: Not initialized yet."),this.pdfDocument.getOptionalContentConfig()):Promise.resolve(null)}set optionalContentConfigPromise(O){if(!(O instanceof Promise))throw new Error(`Invalid optionalContentConfigPromise: ${O}`);if(!this.pdfDocument||!this._optionalContentConfigPromise)return;this._optionalContentConfigPromise=O;const H={optionalContentConfigPromise:O};for(const G of this._pages)G.update(H);this.update(),this.eventBus.dispatch("optionalcontentconfigchanged",{source:this,promise:O})}get scrollMode(){return this._scrollMode}set scrollMode(O){if(this._scrollMode!==O){if(!(0,v.isValidScrollMode)(O))throw new Error(`Invalid scroll mode: ${O}`);this.pagesCount>j.FORCE_SCROLL_MODE_PAGE||(this._previousScrollMode=this._scrollMode,this._scrollMode=O,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:O}),this._updateScrollMode(this._currentPageNumber))}}_updateScrollMode(O=null){const H=this._scrollMode,G=this.viewer;G.classList.toggle("scrollHorizontal",H===v.ScrollMode.HORIZONTAL),G.classList.toggle("scrollWrapped",H===v.ScrollMode.WRAPPED),this.pdfDocument&&O&&(H===v.ScrollMode.PAGE?this.#l():this._previousScrollMode===v.ScrollMode.PAGE&&this._updateSpreadMode(),this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(O,!0),this.update())}get spreadMode(){return this._spreadMode}set spreadMode(O){if(this._spreadMode!==O){if(!(0,v.isValidSpreadMode)(O))throw new Error(`Invalid spread mode: ${O}`);this._spreadMode=O,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:O}),this._updateSpreadMode(this._currentPageNumber)}}_updateSpreadMode(O=null){if(!this.pdfDocument)return;const H=this.viewer,G=this._pages;if(this._scrollMode===v.ScrollMode.PAGE)this.#l();else if(H.textContent="",this._spreadMode===v.SpreadMode.NONE)for(const te of this._pages)H.append(te.div);else{const te=this._spreadMode-1;let ue=null;for(let se=0,K=G.length;se=re;Z--){const Y=ue[Z+1]-1;if(ue[Z]Y)return Y-O}if(H){const Z=ue[0];if(ZO)return Z-O+1}break}break}case v.ScrollMode.HORIZONTAL:break;case v.ScrollMode.PAGE:case v.ScrollMode.VERTICAL:{if(this._spreadMode===v.SpreadMode.NONE)break;const G=this._spreadMode-1;if(H&&O%2!==G)break;if(!H&&O%2===G)break;const{views:te}=this._getVisiblePages(),ue=H?O-1:O+1;for(const{id:se,percent:K,widthPercent:Z}of te)if(se===ue){if(K>0&&100===Z)return 2;break}break}}return 1}nextPage(){const O=this._currentPageNumber,H=this.pagesCount;if(O>=H)return!1;const G=this._getPageAdvance(O,!1)||1;return this.currentPageNumber=Math.min(O+G,H),!0}previousPage(){const O=this._currentPageNumber;if(O<=1)return!1;const H=this._getPageAdvance(O,!0)||1;return this.currentPageNumber=Math.max(O-H,1),!0}increaseScale(O=1){let H=this._currentScale;do{H=(H*v.DEFAULT_SCALE_DELTA).toFixed(2),H=Math.ceil(10*H)/10,H=Math.min(v.MAX_SCALE,H)}while(--O>0&&H0&&H>v.MIN_SCALE);this.currentScaleValue=H}updateContainerHeightCss(){const O=this.container.clientHeight;O!==this.#c&&(this.#c=O,v.docStyle.setProperty("--viewer-container-height",`${O}px`))}get annotationEditorMode(){return this.#n?this.#t:g.AnnotationEditorType.DISABLE}set annotationEditorMode(O){if(!this.#n)throw new Error("The AnnotationEditor is not enabled.");if(this.#t!==O){if(!T(O))throw new Error(`Invalid AnnotationEditor mode: ${O}`);this.pdfDocument&&(this.#t=O,this.eventBus.dispatch("annotationeditormodechanged",{source:this,mode:O}),this.#n.updateMode(O))}}set annotationEditorParams({type:O,value:H}){if(!this.#n)throw new Error("The AnnotationEditor is not enabled.");this.#n.updateParams(O,H)}refresh(){if(!this.pdfDocument)return;const O={};for(const H of this._pages)H.update(O);this.update()}}u.BaseViewer=x},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFPageView=void 0;var g=c(3),v=c(7),p=c(14),S=c(4),C=c(15);const _=p.compatibilityParams.maxCanvasPixels||16777216;u.PDFPageView=class f{#e=g.AnnotationMode.ENABLE_FORMS;#t={initialOptionalContent:!0,regularAnnotations:!0};constructor(b){const E=b.container,M=b.defaultViewport;this.id=b.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=b.scale||v.DEFAULT_SCALE,this.viewport=M,this.pdfPageRotate=M.rotation,this._optionalContentConfigPromise=b.optionalContentConfigPromise||null,this.hasRestrictedScaling=!1,this.textLayerMode=b.textLayerMode??v.TextLayerMode.ENABLE,this.#e=b.annotationMode??g.AnnotationMode.ENABLE_FORMS,this.imageResourcesPath=b.imageResourcesPath||"",this.useOnlyCssZoom=b.useOnlyCssZoom||!1,this.maxCanvasPixels=b.maxCanvasPixels||_,this.pageColors=b.pageColors||null,this.eventBus=b.eventBus,this.renderingQueue=b.renderingQueue,this.textLayerFactory=b.textLayerFactory,this.annotationLayerFactory=b.annotationLayerFactory,this.annotationEditorLayerFactory=b.annotationEditorLayerFactory,this.xfaLayerFactory=b.xfaLayerFactory,this.textHighlighter=b.textHighlighterFactory?.createTextHighlighter({pageIndex:this.id-1,eventBus:this.eventBus}),this.structTreeLayerFactory=b.structTreeLayerFactory,this.renderer=b.renderer||v.RendererType.CANVAS,this.l10n=b.l10n||S.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=v.RenderingStates.INITIAL,this.resume=null,this._renderError=null,this._isStandalone=!this.renderingQueue?.hasViewer(),this._annotationCanvasMap=null,this.annotationLayer=null,this.annotationEditorLayer=null,this.textLayer=null,this.zoomLayer=null,this.xfaLayer=null,this.structTreeLayer=null;const A=document.createElement("div");if(A.className="page",A.style.width=Math.floor(this.viewport.width)+"px",A.style.height=Math.floor(this.viewport.height)+"px",A.setAttribute("data-page-number",this.id),A.setAttribute("role","region"),this.l10n.get("page_landmark",{page:this.id}).then(I=>{A.setAttribute("aria-label",I)}),this.div=A,E?.append(A),this._isStandalone){const{optionalContentConfigPromise:I}=b;I&&I.then(F=>{I===this._optionalContentConfigPromise&&(this.#t.initialOptionalContent=F.hasInitialVisibility)})}}setPdfPage(b){this.pdfPage=b,this.pdfPageRotate=b.rotate,this.viewport=b.getViewport({scale:this.scale*g.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.reset()}destroy(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}_renderAnnotationLayer(){var b=this;return n(function*(){let E=null;try{yield b.annotationLayer.render(b.viewport,"display")}catch(M){console.error(`_renderAnnotationLayer: "${M}".`),E=M}finally{b.eventBus.dispatch("annotationlayerrendered",{source:b,pageNumber:b.id,error:E})}})()}_renderAnnotationEditorLayer(){var b=this;return n(function*(){let E=null;try{yield b.annotationEditorLayer.render(b.viewport,"display")}catch(M){console.error(`_renderAnnotationEditorLayer: "${M}".`),E=M}finally{b.eventBus.dispatch("annotationeditorlayerrendered",{source:b,pageNumber:b.id,error:E})}})()}_renderXfaLayer(){var b=this;return n(function*(){let E=null;try{const M=yield b.xfaLayer.render(b.viewport,"display");b.textHighlighter&&b._buildXfaTextContentItems(M.textDivs)}catch(M){console.error(`_renderXfaLayer: "${M}".`),E=M}finally{b.eventBus.dispatch("xfalayerrendered",{source:b,pageNumber:b.id,error:E})}})()}_buildXfaTextContentItems(b){var E=this;return n(function*(){const M=yield E.pdfPage.getTextContent(),A=[];for(const I of M.items)A.push(I.str);E.textHighlighter.setTextMapping(b,A),E.textHighlighter.enable()})()}_resetZoomLayer(b=!1){if(!this.zoomLayer)return;const E=this.zoomLayer.firstChild;this.paintedViewportMap.delete(E),E.width=0,E.height=0,b&&this.zoomLayer.remove(),this.zoomLayer=null}reset({keepZoomLayer:b=!1,keepAnnotationLayer:E=!1,keepAnnotationEditorLayer:M=!1,keepXfaLayer:A=!1}={}){this.cancelRendering({keepAnnotationLayer:E,keepAnnotationEditorLayer:M,keepXfaLayer:A}),this.renderingState=v.RenderingStates.INITIAL;const I=this.div;I.style.width=Math.floor(this.viewport.width)+"px",I.style.height=Math.floor(this.viewport.height)+"px";const F=I.childNodes,j=b&&this.zoomLayer||null,T=E&&this.annotationLayer?.div||null,P=M&&this.annotationEditorLayer?.div||null,x=A&&this.xfaLayer?.div||null;for(let N=F.length-1;N>=0;N--){const O=F[N];switch(O){case j:case T:case P:case x:continue}O.remove()}I.removeAttribute("data-loaded"),T&&this.annotationLayer.hide(),P?this.annotationEditorLayer.hide():this.annotationEditorLayer?.destroy(),x&&this.xfaLayer.hide(),j||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon notVisible",this._isStandalone&&this.toggleLoadingIconSpinner(!0),this.loadingIconDiv.setAttribute("role","img"),this.l10n.get("loading").then(N=>{this.loadingIconDiv?.setAttribute("aria-label",N)}),I.append(this.loadingIconDiv)}update({scale:b=0,rotation:E=null,optionalContentConfigPromise:M=null}){if(this.scale=b||this.scale,"number"==typeof E&&(this.rotation=E),M instanceof Promise&&(this._optionalContentConfigPromise=M,M.then(F=>{M===this._optionalContentConfigPromise&&(this.#t.initialOptionalContent=F.hasInitialVisibility)})),this.viewport=this.viewport.clone({scale:this.scale*g.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this._isStandalone&&v.docStyle.setProperty("--scale-factor",this.viewport.scale),this.svg)return this.cssTransform({target:this.svg,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});let I=!1;if(this.canvas&&this.maxCanvasPixels>0){const F=this.outputScale;(Math.floor(this.viewport.width)*F.sx|0)*(Math.floor(this.viewport.height)*F.sy|0)>this.maxCanvasPixels&&(I=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&I)return this.cssTransform({target:this.canvas,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});!this.zoomLayer&&!this.canvas.hidden&&(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform({target:this.zoomLayer.firstChild}),this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0})}cancelRendering({keepAnnotationLayer:b=!1,keepAnnotationEditorLayer:E=!1,keepXfaLayer:M=!1}={}){this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),this.annotationLayer&&(!b||!this.annotationLayer.div)&&(this.annotationLayer.cancel(),this.annotationLayer=null,this._annotationCanvasMap=null),this.annotationEditorLayer&&(!E||!this.annotationEditorLayer.div)&&(this.annotationEditorLayer.cancel(),this.annotationEditorLayer=null),this.xfaLayer&&(!M||!this.xfaLayer.div)&&(this.xfaLayer.cancel(),this.xfaLayer=null,this.textHighlighter?.disable()),this._onTextLayerRendered&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null)}cssTransform({target:b,redrawAnnotationLayer:E=!1,redrawAnnotationEditorLayer:M=!1,redrawXfaLayer:A=!1}){const I=this.viewport.width,F=this.viewport.height,j=this.div;b.style.width=b.parentNode.style.width=j.style.width=Math.floor(I)+"px",b.style.height=b.parentNode.style.height=j.style.height=Math.floor(F)+"px";const T=this.viewport.rotation-this.paintedViewportMap.get(b).rotation,P=Math.abs(T);let x=1,N=1;if((90===P||270===P)&&(x=F/I,N=I/F),b.style.transform=`rotate(${T}deg) scale(${x}, ${N})`,this.textLayer){const O=this.textLayer.viewport,G=Math.abs(this.viewport.rotation-O.rotation);let te=I/O.width;(90===G||270===G)&&(te=I/O.height);const ue=this.textLayer.textLayerDiv;let se,K;switch(G){case 0:se=K=0;break;case 90:se=0,K="-"+ue.style.height;break;case 180:se="-"+ue.style.width,K="-"+ue.style.height;break;case 270:se="-"+ue.style.width,K=0;break;default:console.error("Bad rotation value.")}ue.style.transform=`rotate(${G}deg) scale(${te}) translate(${se}, ${K})`,ue.style.transformOrigin="0% 0%"}E&&this.annotationLayer&&this._renderAnnotationLayer(),M&&this.annotationEditorLayer&&this._renderAnnotationEditorLayer(),A&&this.xfaLayer&&this._renderXfaLayer()}get width(){return this.viewport.width}get height(){return this.viewport.height}getPagePoint(b,E){return this.viewport.convertToPdfPoint(b,E)}toggleLoadingIconSpinner(b=!1){this.loadingIconDiv?.classList.toggle("notVisible",!b)}draw(){var b=this;this.renderingState!==v.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());const{div:E,pdfPage:M}=this;if(!M)return this.renderingState=v.RenderingStates.FINISHED,this.loadingIconDiv&&(this.loadingIconDiv.remove(),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=v.RenderingStates.RUNNING;const A=document.createElement("div");A.style.width=E.style.width,A.style.height=E.style.height,A.classList.add("canvasWrapper");const I=this.annotationLayer?.div||this.annotationEditorLayer?.div;I?I.before(A):E.append(A);let F=null;if(this.textLayerMode!==v.TextLayerMode.DISABLE&&this.textLayerFactory){this._accessibilityManager||=new C.TextAccessibilityManager;const N=document.createElement("div");N.className="textLayer",N.style.width=A.style.width,N.style.height=A.style.height,I?I.before(N):E.append(N),F=this.textLayerFactory.createTextLayerBuilder({textLayerDiv:N,pageIndex:this.id-1,viewport:this.viewport,enhanceTextSelection:this.textLayerMode===v.TextLayerMode.ENABLE_ENHANCE,eventBus:this.eventBus,highlighter:this.textHighlighter,accessibilityManager:this._accessibilityManager})}this.textLayer=F,this.#e!==g.AnnotationMode.DISABLE&&this.annotationLayerFactory&&(this._annotationCanvasMap||=new Map,this.annotationLayer||=this.annotationLayerFactory.createAnnotationLayerBuilder({pageDiv:E,pdfPage:M,imageResourcesPath:this.imageResourcesPath,renderForms:this.#e===g.AnnotationMode.ENABLE_FORMS,l10n:this.l10n,annotationCanvasMap:this._annotationCanvasMap,accessibilityManager:this._accessibilityManager})),this.xfaLayer?.div&&E.append(this.xfaLayer.div);let j=null;this.renderingQueue&&(j=N=>{if(!this.renderingQueue.isHighestPriority(this))return this.renderingState=v.RenderingStates.PAUSED,void(this.resume=()=>{this.renderingState=v.RenderingStates.RUNNING,N()});N()});const T=function(){var N=n(function*(O=null){if(P===b.paintTask&&(b.paintTask=null),O instanceof g.RenderingCancelledException)b._renderError=null;else if(b._renderError=O,b.renderingState=v.RenderingStates.FINISHED,b.loadingIconDiv&&(b.loadingIconDiv.remove(),delete b.loadingIconDiv),b._resetZoomLayer(!0),b.#t.regularAnnotations=!P.separateAnnots,b.eventBus.dispatch("pagerendered",{source:b,pageNumber:b.id,cssTransform:!1,timestamp:performance.now(),error:b._renderError}),O)throw O});return function(){return N.apply(this,arguments)}}(),P=this.renderer===v.RendererType.SVG?this.paintOnSvg(A):this.paintOnCanvas(A);P.onRenderContinue=j,this.paintTask=P;const x=P.promise.then(()=>T(null).then(()=>{if(F){const N=M.streamTextContent({includeMarkedContent:!0});F.setTextContentStream(N),F.render()}this.annotationLayer&&this._renderAnnotationLayer().then(()=>{this.annotationEditorLayerFactory&&(this.annotationEditorLayer||=this.annotationEditorLayerFactory.createAnnotationEditorLayerBuilder({pageDiv:E,pdfPage:M,l10n:this.l10n,accessibilityManager:this._accessibilityManager}),this._renderAnnotationEditorLayer())})}),function(N){return T(N)});return this.xfaLayerFactory&&(this.xfaLayer||=this.xfaLayerFactory.createXfaLayerBuilder({pageDiv:E,pdfPage:M}),this._renderXfaLayer()),this.structTreeLayerFactory&&this.textLayer&&this.canvas&&(this._onTextLayerRendered=N=>{N.pageNumber===this.id&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null,this.canvas&&this.pdfPage.getStructTree().then(O=>{if(!O||!this.canvas)return;const H=this.structTreeLayer.render(O);H.classList.add("structTree"),this.canvas.append(H)}))},this.eventBus._on("textlayerrendered",this._onTextLayerRendered),this.structTreeLayer=this.structTreeLayerFactory.createStructTreeLayerBuilder({pdfPage:M})),E.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),x}paintOnCanvas(b){const E=(0,g.createPromiseCapability)(),M={promise:E.promise,onRenderContinue(te){te()},cancel(){G.cancel()},get separateAnnots(){return G.separateAnnots}},A=this.viewport,I=document.createElement("canvas");I.setAttribute("role","presentation"),I.hidden=!0;let F=!0;const j=function(){F&&(I.hidden=!1,F=!1)};b.append(I),this.canvas=I;const T=I.getContext("2d",{alpha:!1}),P=this.outputScale=new v.OutputScale;if(this.useOnlyCssZoom){const te=A.clone({scale:g.PixelsPerInch.PDF_TO_CSS_UNITS});P.sx*=te.width/A.width,P.sy*=te.height/A.height}if(this.maxCanvasPixels>0){const ue=Math.sqrt(this.maxCanvasPixels/(A.width*A.height));P.sx>ue||P.sy>ue?(P.sx=ue,P.sy=ue,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}const x=(0,v.approximateFraction)(P.sx),N=(0,v.approximateFraction)(P.sy);I.width=(0,v.roundToDivide)(A.width*P.sx,x[0]),I.height=(0,v.roundToDivide)(A.height*P.sy,N[0]),I.style.width=(0,v.roundToDivide)(A.width,x[1])+"px",I.style.height=(0,v.roundToDivide)(A.height,N[1])+"px",this.paintedViewportMap.set(I,A);const H={canvasContext:T,transform:P.scaled?[P.sx,0,0,P.sy,0,0]:null,viewport:this.viewport,annotationMode:this.#e,optionalContentConfigPromise:this._optionalContentConfigPromise,annotationCanvasMap:this._annotationCanvasMap,pageColors:this.pageColors},G=this.pdfPage.render(H);return G.onContinue=function(te){j(),M.onRenderContinue?M.onRenderContinue(te):te()},G.promise.then(function(){j(),E.resolve()},function(te){j(),E.reject(te)}),M}paintOnSvg(b){let E=!1;const M=()=>{if(E)throw new g.RenderingCancelledException(`Rendering cancelled, page ${this.id}`,"svg")},A=this.pdfPage,I=this.viewport.clone({scale:g.PixelsPerInch.PDF_TO_CSS_UNITS});return{promise:A.getOperatorList({annotationMode:this.#e}).then(j=>(M(),new g.SVGGraphics(A.commonObjs,A.objs).getSVG(j,I).then(P=>{M(),this.svg=P,this.paintedViewportMap.set(P,I),P.style.width=b.style.width,P.style.height=b.style.height,this.renderingState=v.RenderingStates.FINISHED,b.append(P)}))),onRenderContinue(j){j()},cancel(){E=!0},get separateAnnots(){return!1}}}setPageLabel(b){this.pageLabel="string"==typeof b?b:null,null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}get thumbnailCanvas(){const{initialOptionalContent:b,regularAnnotations:E}=this.#t;return b&&E?this.canvas:null}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.compatibilityParams=u.OptionKind=u.AppOptions=void 0;const c=Object.create(null);u.compatibilityParams=c;{const C=navigator.userAgent||"",_=navigator.platform||"",f=navigator.maxTouchPoints||1,y=/Android/.test(C);(/\b(iPad|iPhone|iPod)(?=;)/.test(C)||"MacIntel"===_&&f>1||y)&&(c.maxCanvasPixels=5242880)}const g={VIEWER:2,API:4,WORKER:8,PREFERENCE:128};u.OptionKind=g;const v={annotationEditorMode:{value:-1,kind:g.VIEWER+g.PREFERENCE},annotationMode:{value:2,kind:g.VIEWER+g.PREFERENCE},cursorToolOnLoad:{value:0,kind:g.VIEWER+g.PREFERENCE},defaultZoomValue:{value:"",kind:g.VIEWER+g.PREFERENCE},disableHistory:{value:!1,kind:g.VIEWER},disablePageLabels:{value:!1,kind:g.VIEWER+g.PREFERENCE},enablePermissions:{value:!1,kind:g.VIEWER+g.PREFERENCE},enablePrintAutoRotate:{value:!0,kind:g.VIEWER+g.PREFERENCE},enableScripting:{value:!0,kind:g.VIEWER+g.PREFERENCE},externalLinkRel:{value:"noopener noreferrer nofollow",kind:g.VIEWER},externalLinkTarget:{value:0,kind:g.VIEWER+g.PREFERENCE},historyUpdateUrl:{value:!1,kind:g.VIEWER+g.PREFERENCE},ignoreDestinationZoom:{value:!1,kind:g.VIEWER+g.PREFERENCE},imageResourcesPath:{value:"./images/",kind:g.VIEWER},maxCanvasPixels:{value:16777216,kind:g.VIEWER},forcePageColors:{value:!1,kind:g.VIEWER+g.PREFERENCE},pageColorsBackground:{value:"Canvas",kind:g.VIEWER+g.PREFERENCE},pageColorsForeground:{value:"CanvasText",kind:g.VIEWER+g.PREFERENCE},pdfBugEnabled:{value:!1,kind:g.VIEWER+g.PREFERENCE},printResolution:{value:150,kind:g.VIEWER},sidebarViewOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},scrollModeOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},spreadModeOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},textLayerMode:{value:1,kind:g.VIEWER+g.PREFERENCE},useOnlyCssZoom:{value:!1,kind:g.VIEWER+g.PREFERENCE},viewerCssTheme:{value:0,kind:g.VIEWER+g.PREFERENCE},viewOnLoad:{value:0,kind:g.VIEWER+g.PREFERENCE},cMapPacked:{value:!0,kind:g.API},cMapUrl:{value:"../web/cmaps/",kind:g.API},disableAutoFetch:{value:!1,kind:g.API+g.PREFERENCE},disableFontFace:{value:!1,kind:g.API+g.PREFERENCE},disableRange:{value:!1,kind:g.API+g.PREFERENCE},disableStream:{value:!1,kind:g.API+g.PREFERENCE},docBaseUrl:{value:"",kind:g.API},enableXfa:{value:!0,kind:g.API+g.PREFERENCE},fontExtraProperties:{value:!1,kind:g.API},isEvalSupported:{value:!0,kind:g.API},maxImageSize:{value:-1,kind:g.API},pdfBug:{value:!1,kind:g.API},standardFontDataUrl:{value:"../web/standard_fonts/",kind:g.API},verbosity:{value:1,kind:g.API},workerPort:{value:null,kind:g.WORKER},workerSrc:{value:"../build/pdf.worker.js",kind:g.WORKER}};v.defaultUrl={value:"compressed.tracemonkey-pldi-09.pdf",kind:g.VIEWER},v.disablePreferences={value:!1,kind:g.VIEWER},v.locale={value:navigator.language||"en-US",kind:g.VIEWER},v.renderer={value:"canvas",kind:g.VIEWER+g.PREFERENCE},v.sandboxBundleSrc={value:"../build/pdf.sandbox.js",kind:g.VIEWER};const p=Object.create(null);u.AppOptions=class S{constructor(){throw new Error("Cannot initialize AppOptions.")}static get(_){const f=p[_];if(void 0!==f)return f;const y=v[_];return void 0!==y?c[_]??y.value:void 0}static getAll(_=null){const f=Object.create(null);for(const y in v){const b=v[y];if(_){if(!(_&b.kind))continue;if(_===g.PREFERENCE){const M=b.value,A=typeof M;if("boolean"===A||"string"===A||"number"===A&&Number.isInteger(M)){f[y]=M;continue}throw new Error(`Invalid type for preference: ${y}`)}}const E=p[y];f[y]=void 0!==E?E:c[y]??b.value}return f}static set(_,f){p[_]=f}static setAll(_){for(const f in _)p[f]=_[f]}static remove(_){delete p[_]}static _hasUserOptions(){return Object.keys(p).length>0}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.TextAccessibilityManager=void 0;var g=c(7);class v{#e=!1;#t=null;#n=new Map;#r=new Map;setTextMapping(S){this.#t=S}static#o(S,C){const _=S.getBoundingClientRect(),f=C.getBoundingClientRect();if(0===_.width&&0===_.height)return 1;if(0===f.width&&0===f.height)return-1;const E=_.y+_.height/2,I=f.y+f.height/2;return E<=f.y&&I>=_.y+_.height?-1:I<=_.y&&E>=f.y+f.height?1:_.x+_.width/2-(f.x+f.width/2)}enable(){if(this.#e)throw new Error("TextAccessibilityManager is already enabled.");if(!this.#t)throw new Error("Text divs and strings have not been set.");if(this.#e=!0,this.#t=this.#t.slice(),this.#t.sort(v.#o),this.#n.size>0){const S=this.#t;for(const[C,_]of this.#n)document.getElementById(C)?this.#c(C,S[_]):this.#n.delete(C)}for(const[S,C]of this.#r)this.addPointerInTextLayer(S,C);this.#r.clear()}disable(){this.#e&&(this.#r.clear(),this.#t=null,this.#e=!1)}removePointerInTextLayer(S){if(!this.#e)return void this.#r.delete(S);const C=this.#t;if(!C||0===C.length)return;const{id:_}=S,f=this.#n.get(_);if(void 0===f)return;const y=C[f];this.#n.delete(_);let b=y.getAttribute("aria-owns");b?.includes(_)&&(b=b.split(" ").filter(E=>E!==_).join(" "),b?y.setAttribute("aria-owns",b):(y.removeAttribute("aria-owns"),y.setAttribute("role","presentation")))}#c(S,C){const _=C.getAttribute("aria-owns");_?.includes(S)||C.setAttribute("aria-owns",_?`${_} ${S}`:S),C.removeAttribute("role")}addPointerInTextLayer(S,C){const{id:_}=S;if(!_)return;if(!this.#e)return void this.#r.set(S,C);C&&this.removePointerInTextLayer(S);const f=this.#t;if(!f||0===f.length)return;const y=(0,g.binarySearchFirstItem)(f,E=>v.#o(S,E)<0),b=Math.max(0,y-1);this.#c(_,f[b]),this.#n.set(_,b)}moveElementInDOM(S,C,_,f){if(this.addPointerInTextLayer(_,f),!S.hasChildNodes())return void S.append(C);const y=Array.from(S.childNodes).filter(M=>M!==C);if(0===y.length)return;const b=_||C,E=(0,g.binarySearchFirstItem)(y,M=>v.#o(b,M)<0);0===E?y[0].before(C):y[E-1].after(C)}}u.TextAccessibilityManager=v},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFRenderingQueue=void 0;var g=c(3),v=c(7);u.PDFRenderingQueue=class S{constructor(){this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}setViewer(_){this.pdfViewer=_}setThumbnailViewer(_){this.pdfThumbnailViewer=_}isHighestPriority(_){return this.highestPriorityPage===_.renderingId}hasViewer(){return!!this.pdfViewer}renderHighestPriority(_){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),!this.pdfViewer.forceRendering(_)&&(this.isThumbnailViewEnabled&&this.pdfThumbnailViewer?.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4)))}getHighestPriority(_,f,y,b=!1){const E=_.views,M=E.length;if(0===M)return null;for(let T=0;TM){const T=_.ids;for(let P=1,x=I-A;P{this.renderHighestPriority()}).catch(f=>{f instanceof g.RenderingCancelledException||console.error(`renderView: "${f}"`)})}return!0}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.TextHighlighter=void 0,u.TextHighlighter=class c{constructor({findController:v,eventBus:p,pageIndex:S}){this.findController=v,this.matches=[],this.eventBus=p,this.pageIdx=S,this._onUpdateTextLayerMatches=null,this.textDivs=null,this.textContentItemsStr=null,this.enabled=!1}setTextMapping(v,p){this.textDivs=v,this.textContentItemsStr=p}enable(){if(!this.textDivs||!this.textContentItemsStr)throw new Error("Text divs and strings have not been set.");if(this.enabled)throw new Error("TextHighlighter is already enabled.");this.enabled=!0,this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=v=>{(v.pageIndex===this.pageIdx||-1===v.pageIndex)&&this._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches)),this._updateMatches()}disable(){this.enabled&&(this.enabled=!1,this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null))}_convertMatches(v,p){if(!v)return[];const{textContentItemsStr:S}=this;let C=0,_=0;const f=S.length-1,y=[];for(let b=0,E=v.length;b=_+S[C].length;)_+=S[C].length,C++;C===S.length&&console.error("Could not find a matching mapping");const A={begin:{divIdx:C,offset:M-_}};for(M+=p[b];C!==f&&M>_+S[C].length;)_+=S[C].length,C++;A.end={divIdx:C,offset:M-_},y.push(A)}return y}_renderMatches(v){if(0===v.length)return;const{findController:p,pageIdx:S}=this,{textContentItemsStr:C,textDivs:_}=this,f=S===p.selected.pageIdx,y=p.selected.matchIdx;let E=null;function A(T,P){const x=T.divIdx;return _[x].textContent="",I(x,0,T.offset,P)}function I(T,P,x,N){let O=_[T];if(O.nodeType===Node.TEXT_NODE){const te=document.createElement("span");O.before(te),te.append(O),_[T]=te,O=te}const H=C[T].substring(P,x),G=document.createTextNode(H);if(N){const te=document.createElement("span");return te.className=`${N} appended`,te.append(G),O.append(te),N.includes("selected")?te.offsetLeft:0}return O.append(G),0}let F=y,j=F+1;if(p.state.highlightAll)F=0,j=v.length;else if(!f)return;for(let T=F;T{Object.defineProperty(u,"__esModule",{value:!0}),u.DownloadManager=void 0;var g=c(3);function v(S,C){const _=document.createElement("a");if(!_.click)throw new Error('DownloadManager: "a.click()" is not supported.');_.href=S,_.target="_parent","download"in _&&(_.download=C),(document.body||document.documentElement).append(_),_.click(),_.remove()}u.DownloadManager=class p{constructor(){this._openBlobUrls=new WeakMap}downloadUrl(C,_){(0,g.createValidAbsoluteUrl)(C,"http://example.com")?v(C+"#pdfjs.action=download",_):console.error(`downloadUrl - not a valid URL: ${C}`)}downloadData(C,_,f){v(URL.createObjectURL(new Blob([C],{type:f})),_)}openOrDownloadData(C,_,f){const y=(0,g.isPdfFile)(f),b=y?"application/pdf":"";if(y){let M,E=this._openBlobUrls.get(C);E||(E=URL.createObjectURL(new Blob([_],{type:b})),this._openBlobUrls.set(C,E)),M="?file="+encodeURIComponent(E+"#"+f);try{return window.open(M),!0}catch(A){console.error(`openOrDownloadData: ${A}`),URL.revokeObjectURL(E),this._openBlobUrls.delete(C)}}return this.downloadData(_,f,b),!1}download(C,_,f){v(URL.createObjectURL(C),f)}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.WaitOnType=u.EventBus=u.AutomationEventBus=void 0,u.waitOnEventOrTimeout=function g({target:S,name:C,delay:_=0}){return new Promise(function(f,y){if("object"!=typeof S||!C||"string"!=typeof C||!(Number.isInteger(_)&&_>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function b(I){S instanceof v?S._off(C,E):S.removeEventListener(C,E),A&&clearTimeout(A),f(I)}const E=b.bind(null,c.EVENT);S instanceof v?S._on(C,E):S.addEventListener(C,E);const M=b.bind(null,c.TIMEOUT),A=setTimeout(M,_)})};const c={EVENT:"event",TIMEOUT:"timeout"};u.WaitOnType=c;class v{constructor(){this._listeners=Object.create(null)}on(C,_,f=null){this._on(C,_,{external:!0,once:f?.once})}off(C,_,f=null){this._off(C,_,{external:!0,once:f?.once})}dispatch(C,_){const f=this._listeners[C];if(!f||0===f.length)return;let y;for(const{listener:b,external:E,once:M}of f.slice(0))M&&this._off(C,b),E?(y||=[]).push(b):b(_);if(y){for(const b of y)b(_);y=null}}_on(C,_,f=null){(this._listeners[C]||=[]).push({listener:_,external:!0===f?.external,once:!0===f?.once})}_off(C,_,f=null){const y=this._listeners[C];if(y)for(let b=0,E=y.length;b{Object.defineProperty(u,"__esModule",{value:!0}),u.GenericL10n=void 0,c(21);var g=c(4);const v=document.webL10n;u.GenericL10n=class p{constructor(C){this._lang=C,this._ready=new Promise((_,f)=>{v.setLanguage((0,g.fixupLangCode)(C),()=>{_(v)})})}getLanguage(){var C=this;return n(function*(){return(yield C._ready).getLanguage()})()}getDirection(){var C=this;return n(function*(){return(yield C._ready).getDirection()})()}get(C,_=null,f=(0,g.getL10nFallback)(C,_)){var y=this;return n(function*(){return(yield y._ready).get(C,_,f)})()}translate(C){var _=this;return n(function*(){return(yield _._ready).translate(C)})()}}},()=>{document.webL10n=function(e,u,c){var g={},v="",p="textContent",S="",C={},_="loading",f=!0;function A(te,ue,se){ue=ue||function(re){},se=se||function(){};var K=new XMLHttpRequest;K.open("GET",te,f),K.overrideMimeType&&K.overrideMimeType("text/plain; charset=utf-8"),K.onreadystatechange=function(){4==K.readyState&&(200==K.status||0===K.status?ue(K.responseText):se())},K.onerror=se,K.ontimeout=se;try{K.send(null)}catch{se()}}function F(te,ue){te&&(te=te.toLowerCase()),ue=ue||function(){},function j(){g={},v="",S=""}(),S=te;var se=function y(){return u.querySelectorAll('link[type="application/l10n"]')}(),K=se.length;if(0!==K){var Y,$=0;Y=function(){++$>=K&&(ue(),_="complete")};for(var ee=0;ee0?(ee=le.substring(0,ye),we=le.substring(ye+1)):(ee=le,we=p),g[ee]||(g[ee]={}),g[ee][we]=$[le]}se&&se()})},K)}(Oe,ve,_e,function(){console.warn(Oe+" not found."),console.warn('"'+ve+'" resource not found'),S="",_e()})}}}function P(te,ue,se){var K=g[te];if(!K){if(console.warn("#"+te+" is undefined."),!se)return null;K=se}var Z={};for(var re in K){var J=K[re];J=N(J=x(J,ue,te,re),ue,te),Z[re]=J}return Z}function x(te,ue,se,K){var re=/\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/.exec(te);if(!re||!re.length)return te;var $,J=re[1],Y=re[2];return ue&&Y in ue?$=ue[Y]:Y in g&&($=g[Y]),J in C&&(te=(0,C[J])(te,$,se,K)),te}function N(te,ue,se){return te.replace(/\{\{\s*(.+?)\s*\}\}/g,function(Z,re){return ue&&re in ue?ue[re]:re in g?g[re]:(console.log("argument {{"+re+"}} for #"+se+" is undefined."),Z)})}function O(te){var ue=function M(te){if(!te)return{};var ue=te.getAttribute("data-l10n-id"),se=te.getAttribute("data-l10n-args"),K={};if(se)try{K=JSON.parse(se)}catch{console.warn("could not parse arguments for #"+ue)}return{id:ue,args:K}}(te);if(ue.id){var se=P(ue.id,ue.args);if(!se)return void console.warn("#"+ue.id+" is undefined.");if(se[p]){if(0===function H(te){if(te.children)return te.children.length;if(typeof te.childElementCount<"u")return te.childElementCount;for(var ue=0,se=0;se0&&(Z=te.substring(K+1),te=te.substring(0,K)),se&&((re={})[Z]=se);var J=P(te,ue,re);return J&&Z in J?J[Z]:"{{"+te+"}}"},getData:function(){return g},getText:function(){return v},getLanguage:function(){return S},setLanguage:function(te,ue){F(te,function(){ue&&ue()})},getDirection:function(){var ue=S.split("-",1)[0];return["ar","he","fa","ps","ur"].indexOf(ue)>=0?"rtl":"ltr"},translate:function G(te){for(var ue=function E(te){return te?te.querySelectorAll("*[data-l10n-id]"):[]}(te=te||u.documentElement),se=ue.length,K=0;K{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFFindController=u.FindState=void 0;var g=c(7),v=c(3),p=c(23);const S={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};u.FindState=S;const y={"\u2010":"-","\u2018":"'","\u2019":"'","\u201a":"'","\u201b":"'","\u201c":'"',"\u201d":'"',"\u201e":'"',"\u201f":'"',"\xbc":"1/4","\xbd":"1/2","\xbe":"3/4"},b=new Set([12441,12442,2381,2509,2637,2765,2893,3021,3149,3277,3387,3388,3405,3530,3642,3770,3972,4153,4154,5908,5940,6098,6752,6980,7082,7083,7154,7155,11647,43014,43052,43204,43347,43456,43766,44013,3158,3953,3954,3962,3963,3964,3965,3968,3956]),E=[...b.values()].map(te=>String.fromCharCode(te)).join(""),M=new RegExp("\\p{M}+","gu"),A=new RegExp("([.*+?^${}()|[\\]\\\\])|(\\p{P})|(\\s+)|(\\p{M})|(\\p{L})","gu"),I=new RegExp("([^\\p{M}])\\p{M}*$","u"),F=new RegExp("^\\p{M}*([^\\p{M}])","u"),j=/[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g,T=new Map;let x=null,N=null;function O(te){const ue=[];let se,K;for(;null!==(se=j.exec(te));){let{index:Oe}=se;for(const ve of se[0]){let _e=T.get(ve);_e||(_e=ve.normalize("NFD").length,T.set(ve,_e)),ue.push([_e,Oe++])}}if(0===ue.length&&x)K=x;else if(ue.length>0&&N)K=N;else{const ve=`([${Object.keys(y).join("")}])|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|(\\n)`;K=0===ue.length?x=new RegExp(ve+"|(\\u0000)","gum"):N=new RegExp(ve+"|([\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f])","gum")}const Z=[];for(;null!==(se=M.exec(te));)Z.push([se[0].length,se.index]);let re=te.normalize("NFD");const J=[[0,0]];let Y=0,$=0,le=0,ee=0,we=0,ye=!1;return re=re.replace(K,(Oe,ve,_e,Pe,Ze,ot,tt)=>{if(tt-=ee,ve){const mt=y[Oe],Qe=mt.length;for(let Ct=1;CtY[0]>=K);te[re][0]>K&&--re;let J=(0,g.binarySearchFirstItem)(te,Y=>Y[0]>=Z,re);return te[J][0]>Z&&--J,[K+te[re][1],se+te[J][1]-te[re][1]]}u.PDFFindController=class G{constructor({linkService:ue,eventBus:se}){this._linkService=ue,this._eventBus=se,this.#t(),se._on("find",this.#e.bind(this)),se._on("findbarclose",this.#_.bind(this))}get highlightMatches(){return this._highlightMatches}get pageMatches(){return this._pageMatches}get pageMatchesLength(){return this._pageMatchesLength}get selected(){return this._selected}get state(){return this._state}setDocument(ue){this._pdfDocument&&this.#t(),ue&&(this._pdfDocument=ue,this._firstPageCapability.resolve())}#e(ue){if(!ue)return;const se=this._pdfDocument,{type:K}=ue;(null===this._state||this.#r(ue))&&(this._dirtyMatch=!0),this._state=ue,"highlightallchange"!==K&&this.#d(S.PENDING),this._firstPageCapability.promise.then(()=>{if(!this._pdfDocument||se&&this._pdfDocument!==se)return;this.#h();const Z=!this._highlightMatches,re=!!this._findTimeout;this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),K?this._dirtyMatch?this.#s():"again"===K?(this.#s(),Z&&this._state.highlightAll&&this.#l()):"highlightallchange"===K?(re?this.#s():this._highlightMatches=!0,this.#l()):this.#s():this._findTimeout=setTimeout(()=>{this.#s(),this._findTimeout=null},250)})}scrollMatchIntoView({element:ue=null,selectedLeft:se=0,pageIndex:K=-1,matchIndex:Z=-1}){this._scrollMatches&&ue&&-1!==Z&&Z===this._selected.matchIdx&&-1!==K&&K===this._selected.pageIdx&&(this._scrollMatches=!1,(0,g.scrollIntoView)(ue,{top:-50,left:se+-400},!0))}#t(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._hasDiacritics=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,v.createPromiseCapability)()}get#n(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,[this._normalizedQuery]=O(this._state.query)),this._normalizedQuery}#r(ue){if(ue.query!==this._state.query)return!0;switch(ue.type){case"again":const se=this._selected.pageIdx+1,K=this._linkService;return se>=1&&se<=K.pagesCount&&se!==K.page&&!K.isPageVisible(se);case"highlightallchange":return!1}return!0}#o(ue,se,K){let Z=ue.slice(0,se).match(I);if(Z){const re=ue.charCodeAt(se),J=Z[1].charCodeAt(0);if((0,p.getCharacterType)(re)===(0,p.getCharacterType)(J))return!1}if(Z=ue.slice(se+K).match(F),Z){const re=ue.charCodeAt(se+K-1),J=Z[1].charCodeAt(0);if((0,p.getCharacterType)(re)===(0,p.getCharacterType)(J))return!1}return!0}#c(ue,se,K,Z){const re=[],J=[],Y=this._pageDiffs[K];let $;for(;null!==($=ue.exec(Z));){if(se&&!this.#o(Z,$.index,$[0].length))continue;const[le,ee]=H(Y,$.index,$[0].length);ee&&(re.push(le),J.push(ee))}this._pageMatches[K]=re,this._pageMatchesLength[K]=J}#a(ue,se){const{matchDiacritics:K}=this._state;let Z=!1;return(ue=ue.replace(A,(J,Y,$,le,ee,we)=>Y?`[ ]*\\${Y}[ ]*`:$?`[ ]*${$}[ ]*`:le?"[ ]+":K?ee||we:ee?b.has(ee.charCodeAt(0))?ee:"":se?(Z=!0,`${we}\\p{M}*`):we)).endsWith("[ ]*")&&(ue=ue.slice(0,ue.length-4)),K&&se&&(Z=!0,ue=`${ue}(?=[${E}]|[^\\p{M}]|$)`),[Z,ue]}#i(ue){let se=this.#n;if(0===se.length)return;const{caseSensitive:K,entireWord:Z,phraseSearch:re}=this._state,J=this._pageContents[ue],Y=this._hasDiacritics[ue];let $=!1;if(re)[$,se]=this.#a(se,Y);else{const we=se.match(/\S+/g);we&&(se=we.sort().reverse().map(ye=>{const[Oe,ve]=this.#a(ye,Y);return $||=Oe,`(${ve})`}).join("|"))}se=new RegExp(se,`g${$?"u":""}${K?"":"i"}`),this.#c(se,Z,ue,J),this._state.highlightAll&&this.#u(ue),this._resumePageIdx===ue&&(this._resumePageIdx=null,this.#f());const ee=this._pageMatches[ue].length;ee>0&&(this._matchesCountTotal+=ee,this.#b())}#h(){if(this._extractTextPromises.length>0)return;let ue=Promise.resolve();for(let se=0,K=this._linkService.pagesCount;sethis._pdfDocument.getPage(se+1).then(re=>re.getTextContent()).then(re=>{const J=[];for(const Y of re.items)J.push(Y.str),Y.hasEOL&&J.push("\n");[this._pageContents[se],this._pageDiffs[se],this._hasDiacritics[se]]=O(J.join("")),Z.resolve()},re=>{console.error(`Unable to get text content for page ${se+1}`,re),this._pageContents[se]="",this._pageDiffs[se]=null,this._hasDiacritics[se]=!1,Z.resolve()}))}}#u(ue){this._scrollMatches&&this._selected.pageIdx===ue&&(this._linkService.page=ue+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:ue})}#l(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}#s(){const ue=this._state.findPrevious,se=this._linkService.page-1,K=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=se,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,this.#l();for(let re=0;re{this._pendingFindMatches.delete(re),this.#i(re)}))}if(""===this.#n)return void this.#d(S.FOUND);if(this._resumePageIdx)return;const Z=this._offset;if(this._pagesToSearch=K,null!==Z.matchIdx){if(!ue&&Z.matchIdx+10)return Z.matchIdx=ue?Z.matchIdx-1:Z.matchIdx+1,void this.#p(!0);this.#v(ue)}this.#f()}#g(ue){const se=this._offset,K=ue.length,Z=this._state.findPrevious;return K?(se.matchIdx=Z?K-1:0,this.#p(!0),!0):(this.#v(Z),!!(se.wrapped&&(se.matchIdx=null,this._pagesToSearch<0))&&(this.#p(!1),!0))}#f(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");let ue=null;do{const se=this._offset.pageIdx;if(ue=this._pageMatches[se],!ue){this._resumePageIdx=se;break}}while(!this.#g(ue))}#v(ue){const se=this._offset,K=this._linkService.pagesCount;se.pageIdx=ue?se.pageIdx-1:se.pageIdx+1,se.matchIdx=null,this._pagesToSearch--,(se.pageIdx>=K||se.pageIdx<0)&&(se.pageIdx=ue?K-1:0,se.wrapped=!0)}#p(ue=!1){let se=S.NOT_FOUND;const K=this._offset.wrapped;if(this._offset.wrapped=!1,ue){const Z=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,se=K?S.WRAPPED:S.FOUND,-1!==Z&&Z!==this._selected.pageIdx&&this.#u(Z)}this.#d(se,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this.#u(this._selected.pageIdx))}#_(ue){const se=this._pdfDocument;this._firstPageCapability.promise.then(()=>{!this._pdfDocument||se&&this._pdfDocument!==se||(this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),this._resumePageIdx&&(this._resumePageIdx=null,this._dirtyMatch=!0),this.#d(S.FOUND),this._highlightMatches=!1,this.#l())})}#S(){const{pageIdx:ue,matchIdx:se}=this._selected;let K=0,Z=this._matchesCountTotal;if(-1!==se){for(let re=0;reZ)&&(K=Z=0),{current:K,total:Z}}#b(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this.#S()})}#d(ue,se=!1){this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:ue,previous:se,matchesCount:this.#S(),rawQuery:this._state?.query??null})}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.CharacterType=void 0,u.getCharacterType=function M(A){return function g(A){return A<11904}(A)?function v(A){return 0==(65408&A)}(A)?function C(A){return 32===A||9===A||13===A||10===A}(A)?c.SPACE:function p(A){return A>=97&&A<=122||A>=65&&A<=90}(A)||function S(A){return A>=48&&A<=57}(A)||95===A?c.ALPHA_LETTER:c.PUNCT:function E(A){return 3584==(65408&A)}(A)?c.THAI_LETTER:160===A?c.SPACE:c.ALPHA_LETTER:function _(A){return A>=13312&&A<=40959||A>=63744&&A<=64255}(A)?c.HAN_LETTER:function f(A){return A>=12448&&A<=12543}(A)?c.KATAKANA_LETTER:function y(A){return A>=12352&&A<=12447}(A)?c.HIRAGANA_LETTER:function b(A){return A>=65376&&A<=65439}(A)?c.HALFWIDTH_KATAKANA_LETTER:c.ALPHA_LETTER};const c={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};u.CharacterType=c},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFHistory=void 0,u.isDestArraysEqual=b,u.isDestHashesEqual=y;var g=c(7),v=c(19);function _(){return document.location.hash}function y(E,M){return"string"==typeof E&&"string"==typeof M&&(E===M||(0,g.parseQueryString)(E).get("nameddest")===M)}function b(E,M){function A(I,F){if(typeof I!=typeof F||Array.isArray(I)||Array.isArray(F))return!1;if(null!==I&&"object"==typeof I&&null!==F){if(Object.keys(I).length!==Object.keys(F).length)return!1;for(const j in I)if(!A(I[j],F[j]))return!1;return!0}return I===F||Number.isNaN(I)&&Number.isNaN(F)}if(!Array.isArray(E)||!Array.isArray(M)||E.length!==M.length)return!1;for(let I=0,F=E.length;I{this._isPagesLoaded=!1,this.eventBus._on("pagesloaded",I=>{this._isPagesLoaded=!!I.pagesCount},{once:!0})})}initialize({fingerprint:M,resetHistory:A=!1,updateUrl:I=!1}){if(!M||"string"!=typeof M)return void console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.');this._initialized&&this.reset();const F=""!==this._fingerprint&&this._fingerprint!==M;this._fingerprint=M,this._updateUrl=!0===I,this._initialized=!0,this._bindEvents();const j=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=_(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(j,!0)||A){const{hash:P,page:x,rotation:N}=this._parseCurrentHash(!0);return!P||F||A?void this._pushOrReplaceState(null,!0):void this._pushOrReplaceState({hash:P,page:x,rotation:N},!0)}const T=j.destination;this._updateInternalState(T,j.uid,!0),void 0!==T.rotation&&(this._initialRotation=T.rotation),T.dest?(this._initialBookmark=JSON.stringify(T.dest),this._destination.page=null):T.hash?this._initialBookmark=T.hash:T.page&&(this._initialBookmark=`page=${T.page}`)}reset(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}push({namedDest:M=null,explicitDest:A,pageNumber:I}){if(!this._initialized)return;if(M&&"string"!=typeof M)return void console.error(`PDFHistory.push: "${M}" is not a valid namedDest parameter.`);if(!Array.isArray(A))return void console.error(`PDFHistory.push: "${A}" is not a valid explicitDest parameter.`);if(!this._isValidPage(I)&&(null!==I||this._destination))return void console.error(`PDFHistory.push: "${I}" is not a valid pageNumber parameter.`);const F=M||JSON.stringify(A);if(!F)return;let j=!1;if(this._destination&&(y(this._destination.hash,F)||b(this._destination.dest,A))){if(this._destination.page)return;j=!0}this._popStateInProgress&&!j||(this._pushOrReplaceState({dest:A,hash:F,page:I,rotation:this.linkService.rotation},j),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1})))}pushPage(M){if(this._initialized){if(!this._isValidPage(M))return void console.error(`PDFHistory.pushPage: "${M}" is not a valid page number.`);this._destination?.page!==M&&(this._popStateInProgress||(this._pushOrReplaceState({dest:null,hash:`page=${M}`,page:M,rotation:this.linkService.rotation}),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1}))))}}pushCurrentPosition(){!this._initialized||this._popStateInProgress||this._tryPushCurrentPosition()}back(){if(!this._initialized||this._popStateInProgress)return;const M=window.history.state;this._isValidState(M)&&M.uid>0&&window.history.back()}forward(){if(!this._initialized||this._popStateInProgress)return;const M=window.history.state;this._isValidState(M)&&M.uid0)}get initialBookmark(){return this._initialized?this._initialBookmark:null}get initialRotation(){return this._initialized?this._initialRotation:null}_pushOrReplaceState(M,A=!1){const I=A||!this._destination,F={fingerprint:this._fingerprint,uid:I?this._uid:this._uid+1,destination:M};let j;if(this._updateInternalState(M,F.uid),this._updateUrl&&M?.hash){const T=document.location.href.split("#")[0];T.startsWith("file://")||(j=`${T}#${M.hash}`)}I?window.history.replaceState(F,"",j):window.history.pushState(F,"",j)}_tryPushCurrentPosition(M=!1){if(!this._position)return;let A=this._position;if(M&&(A=Object.assign(Object.create(null),this._position),A.temporary=!0),!this._destination)return void this._pushOrReplaceState(A);if(this._destination.temporary)return void this._pushOrReplaceState(A,!0);if(this._destination.hash===A.hash||!this._destination.page&&this._numPositionUpdates<=50)return;let I=!1;if(this._destination.page>=A.first&&this._destination.page<=A.page){if(void 0!==this._destination.dest||!this._destination.first)return;I=!0}this._pushOrReplaceState(A,I)}_isValidPage(M){return Number.isInteger(M)&&M>0&&M<=this.linkService.pagesCount}_isValidState(M,A=!1){if(!M)return!1;if(M.fingerprint!==this._fingerprint){if(!A)return!1;{if("string"!=typeof M.fingerprint||M.fingerprint.length!==this._fingerprint.length)return!1;const[I]=performance.getEntriesByType("navigation");if("reload"!==I?.type)return!1}}return!(!Number.isInteger(M.uid)||M.uid<0||null===M.destination||"object"!=typeof M.destination)}_updateInternalState(M,A,I=!1){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),I&&M?.temporary&&delete M.temporary,this._destination=M,this._uid=A,this._maxUid=Math.max(this._maxUid,A),this._numPositionUpdates=0}_parseCurrentHash(M=!1){const A=unescape(_()).substring(1),I=(0,g.parseQueryString)(A),F=I.get("nameddest")||"";let j=0|I.get("page");return(!this._isValidPage(j)||M&&F.length>0)&&(j=null),{hash:A,page:j,rotation:this.linkService.rotation}}_updateViewarea({location:M}){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:M.pdfOpenParams.substring(1),page:this.linkService.page,first:M.pageNumber,rotation:M.rotation},!this._popStateInProgress&&(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout(()=>{this._popStateInProgress||this._tryPushCurrentPosition(!0),this._updateViewareaTimeout=null},1e3))}_popState({state:M}){const A=_(),I=this._currentHash!==A;if(this._currentHash=A,!M){this._uid++;const{hash:j,page:T,rotation:P}=this._parseCurrentHash();return void this._pushOrReplaceState({hash:j,page:T,rotation:P},!0)}if(!this._isValidState(M))return;this._popStateInProgress=!0,I&&(this._blockHashChange++,(0,v.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:1e3}).then(()=>{this._blockHashChange--}));const F=M.destination;this._updateInternalState(F,M.uid,!0),(0,g.isValidRotation)(F.rotation)&&(this.linkService.rotation=F.rotation),F.dest?this.linkService.goToDestination(F.dest):F.hash?this.linkService.setHash(F.hash):F.page&&(this.linkService.page=F.page),Promise.resolve().then(()=>{this._popStateInProgress=!1})}_pageHide(){(!this._destination||this._destination.temporary)&&this._tryPushCurrentPosition()}_bindEvents(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}_unbindEvents(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFScriptingManager=void 0;var g=c(7),v=c(3);u.PDFScriptingManager=class p{constructor({eventBus:C,sandboxBundleSrc:_=null,scriptingFactory:f=null,docPropertiesLookup:y=null}){this._pdfDocument=null,this._pdfViewer=null,this._closeCapability=null,this._destroyCapability=null,this._scripting=null,this._mouseState=Object.create(null),this._ready=!1,this._eventBus=C,this._sandboxBundleSrc=_,this._scriptingFactory=f,this._docPropertiesLookup=y,this._scriptingFactory||window.addEventListener("updatefromsandbox",b=>{this._eventBus.dispatch("updatefromsandbox",{source:window,detail:b.detail})})}setViewer(C){this._pdfViewer=C}setDocument(C){var _=this;return n(function*(){if(_._pdfDocument&&(yield _._destroyScripting()),_._pdfDocument=C,!C)return;const[f,y,b]=yield Promise.all([C.getFieldObjects(),C.getCalculationOrderIds(),C.getJSActions()]);if(f||b){if(C===_._pdfDocument){try{_._scripting=_._createScripting()}catch(E){return console.error(`PDFScriptingManager.setDocument: "${E?.message}".`),void(yield _._destroyScripting())}_._internalEvents.set("updatefromsandbox",E=>{E?.source===window&&_._updateFromSandbox(E.detail)}),_._internalEvents.set("dispatcheventinsandbox",E=>{_._scripting?.dispatchEventInSandbox(E.detail)}),_._internalEvents.set("pagechanging",({pageNumber:E,previous:M})=>{E!==M&&(_._dispatchPageClose(M),_._dispatchPageOpen(E))}),_._internalEvents.set("pagerendered",({pageNumber:E})=>{_._pageOpenPending.has(E)&&E===_._pdfViewer.currentPageNumber&&_._dispatchPageOpen(E)}),_._internalEvents.set("pagesdestroy",function(){var E=n(function*(M){yield _._dispatchPageClose(_._pdfViewer.currentPageNumber),yield _._scripting?.dispatchEventInSandbox({id:"doc",name:"WillClose"}),_._closeCapability?.resolve()});return function(M){return E.apply(this,arguments)}}()),_._domEvents.set("mousedown",E=>{_._mouseState.isDown=!0}),_._domEvents.set("mouseup",E=>{_._mouseState.isDown=!1});for(const[E,M]of _._internalEvents)_._eventBus._on(E,M);for(const[E,M]of _._domEvents)window.addEventListener(E,M,!0);try{const E=yield _._getDocProperties();if(C!==_._pdfDocument)return;yield _._scripting.createSandbox({objects:f,calculationOrder:y,appInfo:{platform:navigator.platform,language:navigator.language},docInfo:{...E,actions:b}}),_._eventBus.dispatch("sandboxcreated",{source:_})}catch(E){return console.error(`PDFScriptingManager.setDocument: "${E?.message}".`),void(yield _._destroyScripting())}yield _._scripting?.dispatchEventInSandbox({id:"doc",name:"Open"}),yield _._dispatchPageOpen(_._pdfViewer.currentPageNumber,!0),Promise.resolve().then(()=>{C===_._pdfDocument&&(_._ready=!0)})}}else yield _._destroyScripting()})()}dispatchWillSave(C){var _=this;return n(function*(){return _._scripting?.dispatchEventInSandbox({id:"doc",name:"WillSave"})})()}dispatchDidSave(C){var _=this;return n(function*(){return _._scripting?.dispatchEventInSandbox({id:"doc",name:"DidSave"})})()}dispatchWillPrint(C){var _=this;return n(function*(){return _._scripting?.dispatchEventInSandbox({id:"doc",name:"WillPrint"})})()}dispatchDidPrint(C){var _=this;return n(function*(){return _._scripting?.dispatchEventInSandbox({id:"doc",name:"DidPrint"})})()}get mouseState(){return this._mouseState}get destroyPromise(){return this._destroyCapability?.promise||null}get ready(){return this._ready}get _internalEvents(){return(0,v.shadow)(this,"_internalEvents",new Map)}get _domEvents(){return(0,v.shadow)(this,"_domEvents",new Map)}get _pageOpenPending(){return(0,v.shadow)(this,"_pageOpenPending",new Set)}get _visitedPages(){return(0,v.shadow)(this,"_visitedPages",new Map)}_updateFromSandbox(C){var _=this;return n(function*(){const f=_._pdfViewer.isInPresentationMode||_._pdfViewer.isChangingPresentationMode,{id:y,siblings:b,command:E,value:M}=C;if(!y){switch(E){case"clear":console.clear();break;case"error":console.error(M);break;case"layout":if(f)return;const I=(0,g.apiPageLayoutToViewerModes)(M);_._pdfViewer.spreadMode=I.spreadMode;break;case"page-num":_._pdfViewer.currentPageNumber=M+1;break;case"print":yield _._pdfViewer.pagesPromise,_._eventBus.dispatch("print",{source:_});break;case"println":console.log(M);break;case"zoom":if(f)return;_._pdfViewer.currentScaleValue=M;break;case"SaveAs":_._eventBus.dispatch("download",{source:_});break;case"FirstPage":_._pdfViewer.currentPageNumber=1;break;case"LastPage":_._pdfViewer.currentPageNumber=_._pdfViewer.pagesCount;break;case"NextPage":_._pdfViewer.nextPage();break;case"PrevPage":_._pdfViewer.previousPage();break;case"ZoomViewIn":if(f)return;_._pdfViewer.increaseScale();break;case"ZoomViewOut":if(f)return;_._pdfViewer.decreaseScale()}return}if(f&&C.focus)return;delete C.id,delete C.siblings;const A=b?[y,...b]:[y];for(const I of A){const F=document.querySelector(`[data-element-id="${I}"]`);F?F.dispatchEvent(new CustomEvent("updatefromsandbox",{detail:C})):_._pdfDocument?.annotationStorage.setValue(I,C)}})()}_dispatchPageOpen(C,_=!1){var f=this;return n(function*(){const y=f._pdfDocument,b=f._visitedPages;if(_&&(f._closeCapability=(0,v.createPromiseCapability)()),!f._closeCapability)return;const E=f._pdfViewer.getPageView(C-1);if(E?.renderingState!==g.RenderingStates.FINISHED)return void f._pageOpenPending.add(C);f._pageOpenPending.delete(C);const M=n(function*(){const A=yield b.has(C)?null:E.pdfPage?.getJSActions();y===f._pdfDocument&&(yield f._scripting?.dispatchEventInSandbox({id:"page",name:"PageOpen",pageNumber:C,actions:A}))})();b.set(C,M)})()}_dispatchPageClose(C){var _=this;return n(function*(){const f=_._pdfDocument,y=_._visitedPages;if(!_._closeCapability||_._pageOpenPending.has(C))return;const b=y.get(C);b&&(y.set(C,null),yield b,f===_._pdfDocument&&(yield _._scripting?.dispatchEventInSandbox({id:"page",name:"PageClose",pageNumber:C})))})()}_getDocProperties(){var C=this;return n(function*(){if(C._docPropertiesLookup)return C._docPropertiesLookup(C._pdfDocument);const{docPropertiesLookup:_}=c(26);return _(C._pdfDocument)})()}_createScripting(){if(this._destroyCapability=(0,v.createPromiseCapability)(),this._scripting)throw new Error("_createScripting: Scripting already exists.");if(this._scriptingFactory)return this._scriptingFactory.createScripting({sandboxBundleSrc:this._sandboxBundleSrc});const{GenericScripting:C}=c(26);return new C(this._sandboxBundleSrc)}_destroyScripting(){var C=this;return n(function*(){if(!C._scripting)return C._pdfDocument=null,void C._destroyCapability?.resolve();C._closeCapability&&(yield Promise.race([C._closeCapability.promise,new Promise(_=>{setTimeout(_,1e3)})]).catch(_=>{}),C._closeCapability=null),C._pdfDocument=null;try{yield C._scripting.destroySandbox()}catch{}for(const[_,f]of C._internalEvents)C._eventBus._off(_,f);C._internalEvents.clear();for(const[_,f]of C._domEvents)window.removeEventListener(_,f,!0);C._domEvents.clear(),C._pageOpenPending.clear(),C._visitedPages.clear(),C._scripting=null,delete C._mouseState.isDown,C._ready=!1,C._destroyCapability?.resolve()})()}}},(e,u,c)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.GenericScripting=void 0,u.docPropertiesLookup=function v(C){return p.apply(this,arguments)};var g=c(3);function p(){return(p=n(function*(C){const f="".split("#")[0];let{info:y,metadata:b,contentDispositionFilename:E,contentLength:M}=yield C.getMetadata();if(!M){const{length:A}=yield C.getDownloadInfo();M=A}return{...y,baseURL:f,filesize:M,filename:E||(0,g.getPdfFilenameFromUrl)(""),metadata:b?.getRaw(),authors:b?.get("dc:creator"),numPages:C.numPages,URL:""}})).apply(this,arguments)}u.GenericScripting=class S{constructor(_){this._ready=(0,g.loadScript)(_,!0).then(()=>window.pdfjsSandbox.QuickJSSandbox())}createSandbox(_){var f=this;return n(function*(){(yield f._ready).create(_)})()}dispatchEventInSandbox(_){var f=this;return n(function*(){const y=yield f._ready;setTimeout(()=>y.dispatchEvent(_),0)})()}destroySandbox(){var _=this;return n(function*(){(yield _._ready).nukeSandbox()})()}}}],d={};function a(e){var u=d[e];if(void 0!==u)return u.exports;var c=d[e]={exports:{}};return i[e](c,c.exports,a),c.exports}var l={};return(()=>{var e=l;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return p.AnnotationLayerBuilder}}),Object.defineProperty(e,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return u.DefaultAnnotationLayerFactory}}),Object.defineProperty(e,"DefaultStructTreeLayerFactory",{enumerable:!0,get:function(){return u.DefaultStructTreeLayerFactory}}),Object.defineProperty(e,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return u.DefaultTextLayerFactory}}),Object.defineProperty(e,"DefaultXfaLayerFactory",{enumerable:!0,get:function(){return u.DefaultXfaLayerFactory}}),Object.defineProperty(e,"DownloadManager",{enumerable:!0,get:function(){return S.DownloadManager}}),Object.defineProperty(e,"EventBus",{enumerable:!0,get:function(){return C.EventBus}}),Object.defineProperty(e,"GenericL10n",{enumerable:!0,get:function(){return _.GenericL10n}}),Object.defineProperty(e,"LinkTarget",{enumerable:!0,get:function(){return c.LinkTarget}}),Object.defineProperty(e,"NullL10n",{enumerable:!0,get:function(){return f.NullL10n}}),Object.defineProperty(e,"PDFFindController",{enumerable:!0,get:function(){return y.PDFFindController}}),Object.defineProperty(e,"PDFHistory",{enumerable:!0,get:function(){return b.PDFHistory}}),Object.defineProperty(e,"PDFLinkService",{enumerable:!0,get:function(){return c.PDFLinkService}}),Object.defineProperty(e,"PDFPageView",{enumerable:!0,get:function(){return E.PDFPageView}}),Object.defineProperty(e,"PDFScriptingManager",{enumerable:!0,get:function(){return M.PDFScriptingManager}}),Object.defineProperty(e,"PDFSinglePageViewer",{enumerable:!0,get:function(){return v.PDFSinglePageViewer}}),Object.defineProperty(e,"PDFViewer",{enumerable:!0,get:function(){return v.PDFViewer}}),Object.defineProperty(e,"ProgressBar",{enumerable:!0,get:function(){return g.ProgressBar}}),Object.defineProperty(e,"RenderingStates",{enumerable:!0,get:function(){return g.RenderingStates}}),Object.defineProperty(e,"ScrollMode",{enumerable:!0,get:function(){return g.ScrollMode}}),Object.defineProperty(e,"SimpleLinkService",{enumerable:!0,get:function(){return c.SimpleLinkService}}),Object.defineProperty(e,"SpreadMode",{enumerable:!0,get:function(){return g.SpreadMode}}),Object.defineProperty(e,"StructTreeLayerBuilder",{enumerable:!0,get:function(){return A.StructTreeLayerBuilder}}),Object.defineProperty(e,"TextLayerBuilder",{enumerable:!0,get:function(){return I.TextLayerBuilder}}),Object.defineProperty(e,"XfaLayerBuilder",{enumerable:!0,get:function(){return F.XfaLayerBuilder}}),Object.defineProperty(e,"parseQueryString",{enumerable:!0,get:function(){return g.parseQueryString}});var u=a(1),c=a(6),g=a(7),v=a(11),p=a(5),S=a(18),C=a(19),_=a(20),f=a(4),y=a(22),b=a(24),E=a(13),M=a(25),A=a(8),I=a(9),F=a(10)})(),l})()},80103:function(pe,h,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(_i,xi,qr,ar){void 0===ar&&(ar=qr),Object.defineProperty(_i,ar,{enumerable:!0,get:function(){return xi[qr]}})}:function(_i,xi,qr,ar){void 0===ar&&(ar=qr),_i[ar]=xi[qr]}),i=this&&this.__exportStar||function(_i,xi){for(var qr in _i)"default"!==qr&&!Object.prototype.hasOwnProperty.call(xi,qr)&&n(xi,_i,qr)};Object.defineProperty(h,"__esModule",{value:!0}),h.interval=h.iif=h.generate=h.fromEventPattern=h.fromEvent=h.from=h.forkJoin=h.empty=h.defer=h.connectable=h.concat=h.combineLatest=h.bindNodeCallback=h.bindCallback=h.UnsubscriptionError=h.TimeoutError=h.SequenceError=h.ObjectUnsubscribedError=h.NotFoundError=h.EmptyError=h.ArgumentOutOfRangeError=h.firstValueFrom=h.lastValueFrom=h.isObservable=h.identity=h.noop=h.pipe=h.NotificationKind=h.Notification=h.Subscriber=h.Subscription=h.Scheduler=h.VirtualAction=h.VirtualTimeScheduler=h.animationFrameScheduler=h.animationFrame=h.queueScheduler=h.queue=h.asyncScheduler=h.async=h.asapScheduler=h.asap=h.AsyncSubject=h.ReplaySubject=h.BehaviorSubject=h.Subject=h.animationFrames=h.observable=h.ConnectableObservable=h.Observable=void 0,h.filter=h.expand=h.exhaustMap=h.exhaustAll=h.exhaust=h.every=h.endWith=h.elementAt=h.distinctUntilKeyChanged=h.distinctUntilChanged=h.distinct=h.dematerialize=h.delayWhen=h.delay=h.defaultIfEmpty=h.debounceTime=h.debounce=h.count=h.connect=h.concatWith=h.concatMapTo=h.concatMap=h.concatAll=h.combineLatestWith=h.combineLatestAll=h.combineAll=h.catchError=h.bufferWhen=h.bufferToggle=h.bufferTime=h.bufferCount=h.buffer=h.auditTime=h.audit=h.config=h.NEVER=h.EMPTY=h.scheduled=h.zip=h.using=h.timer=h.throwError=h.range=h.race=h.partition=h.pairs=h.onErrorResumeNext=h.of=h.never=h.merge=void 0,h.switchMap=h.switchAll=h.subscribeOn=h.startWith=h.skipWhile=h.skipUntil=h.skipLast=h.skip=h.single=h.shareReplay=h.share=h.sequenceEqual=h.scan=h.sampleTime=h.sample=h.refCount=h.retryWhen=h.retry=h.repeatWhen=h.repeat=h.reduce=h.raceWith=h.publishReplay=h.publishLast=h.publishBehavior=h.publish=h.pluck=h.pairwise=h.onErrorResumeNextWith=h.observeOn=h.multicast=h.min=h.mergeWith=h.mergeScan=h.mergeMapTo=h.mergeMap=h.flatMap=h.mergeAll=h.max=h.materialize=h.mapTo=h.map=h.last=h.isEmpty=h.ignoreElements=h.groupBy=h.first=h.findIndex=h.find=h.finalize=void 0,h.zipWith=h.zipAll=h.withLatestFrom=h.windowWhen=h.windowToggle=h.windowTime=h.windowCount=h.window=h.toArray=h.timestamp=h.timeoutWith=h.timeout=h.timeInterval=h.throwIfEmpty=h.throttleTime=h.throttle=h.tap=h.takeWhile=h.takeUntil=h.takeLast=h.take=h.switchScan=h.switchMapTo=void 0;var d=o(15448);Object.defineProperty(h,"Observable",{enumerable:!0,get:function(){return d.Observable}});var a=o(42416);Object.defineProperty(h,"ConnectableObservable",{enumerable:!0,get:function(){return a.ConnectableObservable}});var l=o(72064);Object.defineProperty(h,"observable",{enumerable:!0,get:function(){return l.observable}});var e=o(72444);Object.defineProperty(h,"animationFrames",{enumerable:!0,get:function(){return e.animationFrames}});var u=o(90120);Object.defineProperty(h,"Subject",{enumerable:!0,get:function(){return u.Subject}});var c=o(60488);Object.defineProperty(h,"BehaviorSubject",{enumerable:!0,get:function(){return c.BehaviorSubject}});var g=o(38640);Object.defineProperty(h,"ReplaySubject",{enumerable:!0,get:function(){return g.ReplaySubject}});var v=o(70408);Object.defineProperty(h,"AsyncSubject",{enumerable:!0,get:function(){return v.AsyncSubject}});var p=o(24860);Object.defineProperty(h,"asap",{enumerable:!0,get:function(){return p.asap}}),Object.defineProperty(h,"asapScheduler",{enumerable:!0,get:function(){return p.asapScheduler}});var S=o(69252);Object.defineProperty(h,"async",{enumerable:!0,get:function(){return S.async}}),Object.defineProperty(h,"asyncScheduler",{enumerable:!0,get:function(){return S.asyncScheduler}});var C=o(72056);Object.defineProperty(h,"queue",{enumerable:!0,get:function(){return C.queue}}),Object.defineProperty(h,"queueScheduler",{enumerable:!0,get:function(){return C.queueScheduler}});var _=o(70232);Object.defineProperty(h,"animationFrame",{enumerable:!0,get:function(){return _.animationFrame}}),Object.defineProperty(h,"animationFrameScheduler",{enumerable:!0,get:function(){return _.animationFrameScheduler}});var f=o(45992);Object.defineProperty(h,"VirtualTimeScheduler",{enumerable:!0,get:function(){return f.VirtualTimeScheduler}}),Object.defineProperty(h,"VirtualAction",{enumerable:!0,get:function(){return f.VirtualAction}});var y=o(25784);Object.defineProperty(h,"Scheduler",{enumerable:!0,get:function(){return y.Scheduler}});var b=o(40576);Object.defineProperty(h,"Subscription",{enumerable:!0,get:function(){return b.Subscription}});var E=o(41596);Object.defineProperty(h,"Subscriber",{enumerable:!0,get:function(){return E.Subscriber}});var M=o(12032);Object.defineProperty(h,"Notification",{enumerable:!0,get:function(){return M.Notification}}),Object.defineProperty(h,"NotificationKind",{enumerable:!0,get:function(){return M.NotificationKind}});var A=o(19512);Object.defineProperty(h,"pipe",{enumerable:!0,get:function(){return A.pipe}});var I=o(48320);Object.defineProperty(h,"noop",{enumerable:!0,get:function(){return I.noop}});var F=o(55184);Object.defineProperty(h,"identity",{enumerable:!0,get:function(){return F.identity}});var j=o(38104);Object.defineProperty(h,"isObservable",{enumerable:!0,get:function(){return j.isObservable}});var T=o(59452);Object.defineProperty(h,"lastValueFrom",{enumerable:!0,get:function(){return T.lastValueFrom}});var P=o(79632);Object.defineProperty(h,"firstValueFrom",{enumerable:!0,get:function(){return P.firstValueFrom}});var x=o(32929);Object.defineProperty(h,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return x.ArgumentOutOfRangeError}});var N=o(51544);Object.defineProperty(h,"EmptyError",{enumerable:!0,get:function(){return N.EmptyError}});var O=o(15496);Object.defineProperty(h,"NotFoundError",{enumerable:!0,get:function(){return O.NotFoundError}});var H=o(92304);Object.defineProperty(h,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return H.ObjectUnsubscribedError}});var G=o(71016);Object.defineProperty(h,"SequenceError",{enumerable:!0,get:function(){return G.SequenceError}});var te=o(20268);Object.defineProperty(h,"TimeoutError",{enumerable:!0,get:function(){return te.TimeoutError}});var ue=o(9560);Object.defineProperty(h,"UnsubscriptionError",{enumerable:!0,get:function(){return ue.UnsubscriptionError}});var se=o(1856);Object.defineProperty(h,"bindCallback",{enumerable:!0,get:function(){return se.bindCallback}});var K=o(78872);Object.defineProperty(h,"bindNodeCallback",{enumerable:!0,get:function(){return K.bindNodeCallback}});var Z=o(60128);Object.defineProperty(h,"combineLatest",{enumerable:!0,get:function(){return Z.combineLatest}});var re=o(24560);Object.defineProperty(h,"concat",{enumerable:!0,get:function(){return re.concat}});var J=o(7976);Object.defineProperty(h,"connectable",{enumerable:!0,get:function(){return J.connectable}});var Y=o(71896);Object.defineProperty(h,"defer",{enumerable:!0,get:function(){return Y.defer}});var $=o(31456);Object.defineProperty(h,"empty",{enumerable:!0,get:function(){return $.empty}});var le=o(93052);Object.defineProperty(h,"forkJoin",{enumerable:!0,get:function(){return le.forkJoin}});var ee=o(38485);Object.defineProperty(h,"from",{enumerable:!0,get:function(){return ee.from}});var we=o(85e3);Object.defineProperty(h,"fromEvent",{enumerable:!0,get:function(){return we.fromEvent}});var ye=o(46744);Object.defineProperty(h,"fromEventPattern",{enumerable:!0,get:function(){return ye.fromEventPattern}});var Oe=o(92560);Object.defineProperty(h,"generate",{enumerable:!0,get:function(){return Oe.generate}});var ve=o(46696);Object.defineProperty(h,"iif",{enumerable:!0,get:function(){return ve.iif}});var _e=o(2071);Object.defineProperty(h,"interval",{enumerable:!0,get:function(){return _e.interval}});var Pe=o(14152);Object.defineProperty(h,"merge",{enumerable:!0,get:function(){return Pe.merge}});var Ze=o(15672);Object.defineProperty(h,"never",{enumerable:!0,get:function(){return Ze.never}});var ot=o(41536);Object.defineProperty(h,"of",{enumerable:!0,get:function(){return ot.of}});var tt=o(9460);Object.defineProperty(h,"onErrorResumeNext",{enumerable:!0,get:function(){return tt.onErrorResumeNext}});var mt=o(15292);Object.defineProperty(h,"pairs",{enumerable:!0,get:function(){return mt.pairs}});var Qe=o(91792);Object.defineProperty(h,"partition",{enumerable:!0,get:function(){return Qe.partition}});var Ct=o(84048);Object.defineProperty(h,"race",{enumerable:!0,get:function(){return Ct.race}});var Xe=o(12384);Object.defineProperty(h,"range",{enumerable:!0,get:function(){return Xe.range}});var nt=o(3312);Object.defineProperty(h,"throwError",{enumerable:!0,get:function(){return nt.throwError}});var Pt=o(34168);Object.defineProperty(h,"timer",{enumerable:!0,get:function(){return Pt.timer}});var tn=o(28684);Object.defineProperty(h,"using",{enumerable:!0,get:function(){return tn.using}});var hn=o(59172);Object.defineProperty(h,"zip",{enumerable:!0,get:function(){return hn.zip}});var wn=o(44232);Object.defineProperty(h,"scheduled",{enumerable:!0,get:function(){return wn.scheduled}});var An=o(31456);Object.defineProperty(h,"EMPTY",{enumerable:!0,get:function(){return An.EMPTY}});var _n=o(15672);Object.defineProperty(h,"NEVER",{enumerable:!0,get:function(){return _n.NEVER}}),i(o(68828),h);var qt=o(90584);Object.defineProperty(h,"config",{enumerable:!0,get:function(){return qt.config}});var ht=o(18380);Object.defineProperty(h,"audit",{enumerable:!0,get:function(){return ht.audit}});var Ue=o(1393);Object.defineProperty(h,"auditTime",{enumerable:!0,get:function(){return Ue.auditTime}});var Ee=o(42744);Object.defineProperty(h,"buffer",{enumerable:!0,get:function(){return Ee.buffer}});var Te=o(57864);Object.defineProperty(h,"bufferCount",{enumerable:!0,get:function(){return Te.bufferCount}});var $e=o(42704);Object.defineProperty(h,"bufferTime",{enumerable:!0,get:function(){return $e.bufferTime}});var je=o(21964);Object.defineProperty(h,"bufferToggle",{enumerable:!0,get:function(){return je.bufferToggle}});var gt=o(16323);Object.defineProperty(h,"bufferWhen",{enumerable:!0,get:function(){return gt.bufferWhen}});var He=o(11708);Object.defineProperty(h,"catchError",{enumerable:!0,get:function(){return He.catchError}});var vt=o(25184);Object.defineProperty(h,"combineAll",{enumerable:!0,get:function(){return vt.combineAll}});var ut=o(86576);Object.defineProperty(h,"combineLatestAll",{enumerable:!0,get:function(){return ut.combineLatestAll}});var wt=o(71480);Object.defineProperty(h,"combineLatestWith",{enumerable:!0,get:function(){return wt.combineLatestWith}});var st=o(26608);Object.defineProperty(h,"concatAll",{enumerable:!0,get:function(){return st.concatAll}});var zt=o(68584);Object.defineProperty(h,"concatMap",{enumerable:!0,get:function(){return zt.concatMap}});var pt=o(38776);Object.defineProperty(h,"concatMapTo",{enumerable:!0,get:function(){return pt.concatMapTo}});var It=o(23332);Object.defineProperty(h,"concatWith",{enumerable:!0,get:function(){return It.concatWith}});var Yt=o(59056);Object.defineProperty(h,"connect",{enumerable:!0,get:function(){return Yt.connect}});var Xt=o(95572);Object.defineProperty(h,"count",{enumerable:!0,get:function(){return Xt.count}});var At=o(42568);Object.defineProperty(h,"debounce",{enumerable:!0,get:function(){return At.debounce}});var $t=o(86275);Object.defineProperty(h,"debounceTime",{enumerable:!0,get:function(){return $t.debounceTime}});var St=o(14707);Object.defineProperty(h,"defaultIfEmpty",{enumerable:!0,get:function(){return St.defaultIfEmpty}});var xt=o(99592);Object.defineProperty(h,"delay",{enumerable:!0,get:function(){return xt.delay}});var nn=o(59304);Object.defineProperty(h,"delayWhen",{enumerable:!0,get:function(){return nn.delayWhen}});var bn=o(84204);Object.defineProperty(h,"dematerialize",{enumerable:!0,get:function(){return bn.dematerialize}});var Tn=o(51256);Object.defineProperty(h,"distinct",{enumerable:!0,get:function(){return Tn.distinct}});var rn=o(21544);Object.defineProperty(h,"distinctUntilChanged",{enumerable:!0,get:function(){return rn.distinctUntilChanged}});var nr=o(61544);Object.defineProperty(h,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return nr.distinctUntilKeyChanged}});var kr=o(51808);Object.defineProperty(h,"elementAt",{enumerable:!0,get:function(){return kr.elementAt}});var Br=o(48568);Object.defineProperty(h,"endWith",{enumerable:!0,get:function(){return Br.endWith}});var sr=o(21592);Object.defineProperty(h,"every",{enumerable:!0,get:function(){return sr.every}});var Er=o(53704);Object.defineProperty(h,"exhaust",{enumerable:!0,get:function(){return Er.exhaust}});var br=o(34288);Object.defineProperty(h,"exhaustAll",{enumerable:!0,get:function(){return br.exhaustAll}});var qn=o(44632);Object.defineProperty(h,"exhaustMap",{enumerable:!0,get:function(){return qn.exhaustMap}});var Rn=o(84624);Object.defineProperty(h,"expand",{enumerable:!0,get:function(){return Rn.expand}});var oi=o(39840);Object.defineProperty(h,"filter",{enumerable:!0,get:function(){return oi.filter}});var Sr=o(99440);Object.defineProperty(h,"finalize",{enumerable:!0,get:function(){return Sr.finalize}});var pr=o(70939);Object.defineProperty(h,"find",{enumerable:!0,get:function(){return pr.find}});var Jn=o(69496);Object.defineProperty(h,"findIndex",{enumerable:!0,get:function(){return Jn.findIndex}});var er=o(11848);Object.defineProperty(h,"first",{enumerable:!0,get:function(){return er.first}});var Or=o(17909);Object.defineProperty(h,"groupBy",{enumerable:!0,get:function(){return Or.groupBy}});var pi=o(77392);Object.defineProperty(h,"ignoreElements",{enumerable:!0,get:function(){return pi.ignoreElements}});var en=o(73564);Object.defineProperty(h,"isEmpty",{enumerable:!0,get:function(){return en.isEmpty}});var jn=o(2696);Object.defineProperty(h,"last",{enumerable:!0,get:function(){return jn.last}});var Qn=o(784);Object.defineProperty(h,"map",{enumerable:!0,get:function(){return Qn.map}});var or=o(89224);Object.defineProperty(h,"mapTo",{enumerable:!0,get:function(){return or.mapTo}});var ui=o(6832);Object.defineProperty(h,"materialize",{enumerable:!0,get:function(){return ui.materialize}});var Pr=o(34808);Object.defineProperty(h,"max",{enumerable:!0,get:function(){return Pr.max}});var ct=o(50304);Object.defineProperty(h,"mergeAll",{enumerable:!0,get:function(){return ct.mergeAll}});var Rt=o(98924);Object.defineProperty(h,"flatMap",{enumerable:!0,get:function(){return Rt.flatMap}});var kt=o(33480);Object.defineProperty(h,"mergeMap",{enumerable:!0,get:function(){return kt.mergeMap}});var on=o(73232);Object.defineProperty(h,"mergeMapTo",{enumerable:!0,get:function(){return on.mergeMapTo}});var dn=o(3380);Object.defineProperty(h,"mergeScan",{enumerable:!0,get:function(){return dn.mergeScan}});var Mn=o(57308);Object.defineProperty(h,"mergeWith",{enumerable:!0,get:function(){return Mn.mergeWith}});var En=o(87832);Object.defineProperty(h,"min",{enumerable:!0,get:function(){return En.min}});var Zn=o(66752);Object.defineProperty(h,"multicast",{enumerable:!0,get:function(){return Zn.multicast}});var Yn=o(33752);Object.defineProperty(h,"observeOn",{enumerable:!0,get:function(){return Yn.observeOn}});var Tr=o(19184);Object.defineProperty(h,"onErrorResumeNextWith",{enumerable:!0,get:function(){return Tr.onErrorResumeNextWith}});var Mr=o(74612);Object.defineProperty(h,"pairwise",{enumerable:!0,get:function(){return Mr.pairwise}});var zn=o(64712);Object.defineProperty(h,"pluck",{enumerable:!0,get:function(){return zn.pluck}});var ur=o(70320);Object.defineProperty(h,"publish",{enumerable:!0,get:function(){return ur.publish}});var Mi=o(40360);Object.defineProperty(h,"publishBehavior",{enumerable:!0,get:function(){return Mi.publishBehavior}});var un=o(64960);Object.defineProperty(h,"publishLast",{enumerable:!0,get:function(){return un.publishLast}});var U=o(23944);Object.defineProperty(h,"publishReplay",{enumerable:!0,get:function(){return U.publishReplay}});var z=o(53424);Object.defineProperty(h,"raceWith",{enumerable:!0,get:function(){return z.raceWith}});var ae=o(39980);Object.defineProperty(h,"reduce",{enumerable:!0,get:function(){return ae.reduce}});var Fe=o(90532);Object.defineProperty(h,"repeat",{enumerable:!0,get:function(){return Fe.repeat}});var Ae=o(15696);Object.defineProperty(h,"repeatWhen",{enumerable:!0,get:function(){return Ae.repeatWhen}});var fe=o(584);Object.defineProperty(h,"retry",{enumerable:!0,get:function(){return fe.retry}});var De=o(46856);Object.defineProperty(h,"retryWhen",{enumerable:!0,get:function(){return De.retryWhen}});var rt=o(60300);Object.defineProperty(h,"refCount",{enumerable:!0,get:function(){return rt.refCount}});var _t=o(64968);Object.defineProperty(h,"sample",{enumerable:!0,get:function(){return _t.sample}});var Tt=o(97792);Object.defineProperty(h,"sampleTime",{enumerable:!0,get:function(){return Tt.sampleTime}});var Bt=o(17752);Object.defineProperty(h,"scan",{enumerable:!0,get:function(){return Bt.scan}});var Jt=o(43904);Object.defineProperty(h,"sequenceEqual",{enumerable:!0,get:function(){return Jt.sequenceEqual}});var mn=o(95912);Object.defineProperty(h,"share",{enumerable:!0,get:function(){return mn.share}});var vn=o(20468);Object.defineProperty(h,"shareReplay",{enumerable:!0,get:function(){return vn.shareReplay}});var Cn=o(43952);Object.defineProperty(h,"single",{enumerable:!0,get:function(){return Cn.single}});var fn=o(98196);Object.defineProperty(h,"skip",{enumerable:!0,get:function(){return fn.skip}});var Gt=o(47832);Object.defineProperty(h,"skipLast",{enumerable:!0,get:function(){return Gt.skipLast}});var Nn=o(36840);Object.defineProperty(h,"skipUntil",{enumerable:!0,get:function(){return Nn.skipUntil}});var lr=o(49856);Object.defineProperty(h,"skipWhile",{enumerable:!0,get:function(){return lr.skipWhile}});var cr=o(59612);Object.defineProperty(h,"startWith",{enumerable:!0,get:function(){return cr.startWith}});var Nr=o(67992);Object.defineProperty(h,"subscribeOn",{enumerable:!0,get:function(){return Nr.subscribeOn}});var Lr=o(63368);Object.defineProperty(h,"switchAll",{enumerable:!0,get:function(){return Lr.switchAll}});var dt=o(39876);Object.defineProperty(h,"switchMap",{enumerable:!0,get:function(){return dt.switchMap}});var lo=o(57168);Object.defineProperty(h,"switchMapTo",{enumerable:!0,get:function(){return lo.switchMapTo}});var vi=o(19980);Object.defineProperty(h,"switchScan",{enumerable:!0,get:function(){return vi.switchScan}});var _r=o(38120);Object.defineProperty(h,"take",{enumerable:!0,get:function(){return _r.take}});var In=o(32224);Object.defineProperty(h,"takeLast",{enumerable:!0,get:function(){return In.takeLast}});var Gn=o(91540);Object.defineProperty(h,"takeUntil",{enumerable:!0,get:function(){return Gn.takeUntil}});var si=o(35408);Object.defineProperty(h,"takeWhile",{enumerable:!0,get:function(){return si.takeWhile}});var Ir=o(46748);Object.defineProperty(h,"tap",{enumerable:!0,get:function(){return Ir.tap}});var ai=o(66720);Object.defineProperty(h,"throttle",{enumerable:!0,get:function(){return ai.throttle}});var Fn=o(44236);Object.defineProperty(h,"throttleTime",{enumerable:!0,get:function(){return Fn.throttleTime}});var ti=o(51056);Object.defineProperty(h,"throwIfEmpty",{enumerable:!0,get:function(){return ti.throwIfEmpty}});var Zr=o(39500);Object.defineProperty(h,"timeInterval",{enumerable:!0,get:function(){return Zr.timeInterval}});var Xr=o(20268);Object.defineProperty(h,"timeout",{enumerable:!0,get:function(){return Xr.timeout}});var Vi=o(88536);Object.defineProperty(h,"timeoutWith",{enumerable:!0,get:function(){return Vi.timeoutWith}});var hr=o(37248);Object.defineProperty(h,"timestamp",{enumerable:!0,get:function(){return hr.timestamp}});var Yi=o(29316);Object.defineProperty(h,"toArray",{enumerable:!0,get:function(){return Yi.toArray}});var ko=o(40560);Object.defineProperty(h,"window",{enumerable:!0,get:function(){return ko.window}});var go=o(79068);Object.defineProperty(h,"windowCount",{enumerable:!0,get:function(){return go.windowCount}});var Jr=o(11984);Object.defineProperty(h,"windowTime",{enumerable:!0,get:function(){return Jr.windowTime}});var zi=o(97776);Object.defineProperty(h,"windowToggle",{enumerable:!0,get:function(){return zi.windowToggle}});var qi=o(36872);Object.defineProperty(h,"windowWhen",{enumerable:!0,get:function(){return qi.windowWhen}});var ro=o(95780);Object.defineProperty(h,"withLatestFrom",{enumerable:!0,get:function(){return ro.withLatestFrom}});var Rr=o(71120);Object.defineProperty(h,"zipAll",{enumerable:!0,get:function(){return Rr.zipAll}});var mo=o(56824);Object.defineProperty(h,"zipWith",{enumerable:!0,get:function(){return mo.zipWith}})},70408:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsyncSubject=void 0;var d=function(a){function l(){var e=null!==a&&a.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return n(l,a),l.prototype._checkFinalizedStatuses=function(e){var u=this,g=u._hasValue,v=u._value,S=u.isStopped,C=u._isComplete;u.hasError?e.error(u.thrownError):(S||C)&&(g&&e.next(v),e.complete())},l.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},l.prototype.complete=function(){var e=this,u=e._hasValue,c=e._value;e._isComplete||(this._isComplete=!0,u&&a.prototype.next.call(this,c),a.prototype.complete.call(this))},l}(o(90120).Subject);h.AsyncSubject=d},60488:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.BehaviorSubject=void 0;var d=function(a){function l(e){var u=a.call(this)||this;return u._value=e,u}return n(l,a),Object.defineProperty(l.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),l.prototype._subscribe=function(e){var u=a.prototype._subscribe.call(this,e);return!u.closed&&e.next(this._value),u},l.prototype.getValue=function(){var e=this,g=e._value;if(e.hasError)throw e.thrownError;return this._throwIfClosed(),g},l.prototype.next=function(e){a.prototype.next.call(this,this._value=e)},l}(o(90120).Subject);h.BehaviorSubject=d},12032:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.observeNotification=h.Notification=h.NotificationKind=void 0;var c,n=o(31456),i=o(41536),d=o(3312),a=o(82360);(c=h.NotificationKind||(h.NotificationKind={})).NEXT="N",c.ERROR="E",c.COMPLETE="C";var e=function(){function c(g,v,p){this.kind=g,this.value=v,this.error=p,this.hasValue="N"===g}return c.prototype.observe=function(g){return u(this,g)},c.prototype.do=function(g,v,p){var S=this,C=S.kind,_=S.value,f=S.error;return"N"===C?g?.(_):"E"===C?v?.(f):p?.()},c.prototype.accept=function(g,v,p){var S;return a.isFunction(null===(S=g)||void 0===S?void 0:S.next)?this.observe(g):this.do(g,v,p)},c.prototype.toObservable=function(){var g=this,v=g.kind,S=g.error,C="N"===v?i.of(g.value):"E"===v?d.throwError(function(){return S}):"C"===v?n.EMPTY:0;if(!C)throw new TypeError("Unexpected notification kind "+v);return C},c.createNext=function(g){return new c("N",g)},c.createError=function(g){return new c("E",void 0,g)},c.createComplete=function(){return c.completeNotification},c.completeNotification=new c("C"),c}();function u(c,g){var v,p,S,_=c.kind,f=c.value,y=c.error;if("string"!=typeof _)throw new TypeError('Invalid notification, missing "kind"');"N"===_?null===(v=g.next)||void 0===v||v.call(g,f):"E"===_?null===(p=g.error)||void 0===p||p.call(g,y):null===(S=g.complete)||void 0===S||S.call(g)}h.Notification=e,h.observeNotification=u},62640:(pe,h)=>{"use strict";function i(d,a,l){return{kind:d,value:a,error:l}}Object.defineProperty(h,"__esModule",{value:!0}),h.createNotification=h.nextNotification=h.errorNotification=h.COMPLETE_NOTIFICATION=void 0,h.COMPLETE_NOTIFICATION=i("C",void 0,void 0),h.errorNotification=function o(d){return i("E",void 0,d)},h.nextNotification=function n(d){return i("N",d,void 0)},h.createNotification=i},15448:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Observable=void 0;var n=o(41596),i=o(40576),d=o(72064),a=o(19512),l=o(90584),e=o(82360),u=o(49664),c=function(){function S(C){C&&(this._subscribe=C)}return S.prototype.lift=function(C){var _=new S;return _.source=this,_.operator=C,_},S.prototype.subscribe=function(C,_,f){var y=this,b=function p(S){return S&&S instanceof n.Subscriber||function v(S){return S&&e.isFunction(S.next)&&e.isFunction(S.error)&&e.isFunction(S.complete)}(S)&&i.isSubscription(S)}(C)?C:new n.SafeSubscriber(C,_,f);return u.errorContext(function(){var M=y.operator,A=y.source;b.add(M?M.call(b,A):A?y._subscribe(b):y._trySubscribe(b))}),b},S.prototype._trySubscribe=function(C){try{return this._subscribe(C)}catch(_){C.error(_)}},S.prototype.forEach=function(C,_){var f=this;return new(_=g(_))(function(y,b){var E=new n.SafeSubscriber({next:function(M){try{C(M)}catch(A){b(A),E.unsubscribe()}},error:b,complete:y});f.subscribe(E)})},S.prototype._subscribe=function(C){var _;return null===(_=this.source)||void 0===_?void 0:_.subscribe(C)},S.prototype[d.observable]=function(){return this},S.prototype.pipe=function(){for(var C=[],_=0;_{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Scheduler=void 0;var n=o(8764),i=function(){function d(a,l){void 0===l&&(l=d.now),this.schedulerActionCtor=a,this.now=l}return d.prototype.schedule=function(a,l,e){return void 0===l&&(l=0),new this.schedulerActionCtor(this,a).schedule(e,l)},d.now=n.dateTimestampProvider.now,d}();h.Scheduler=i},90120:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var v=function(p,S){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,_){C.__proto__=_}||function(C,_){for(var f in _)Object.prototype.hasOwnProperty.call(_,f)&&(C[f]=_[f])})(p,S)};return function(p,S){if("function"!=typeof S&&null!==S)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");function C(){this.constructor=p}v(p,S),p.prototype=null===S?Object.create(S):(C.prototype=S.prototype,new C)}}(),i=this&&this.__values||function(v){var p="function"==typeof Symbol&&Symbol.iterator,S=p&&v[p],C=0;if(S)return S.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&C>=v.length&&(v=void 0),{value:v&&v[C++],done:!v}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.AnonymousSubject=h.Subject=void 0;var d=o(15448),a=o(40576),l=o(92304),e=o(39852),u=o(49664),c=function(v){function p(){var S=v.call(this)||this;return S.closed=!1,S.currentObservers=null,S.observers=[],S.isStopped=!1,S.hasError=!1,S.thrownError=null,S}return n(p,v),p.prototype.lift=function(S){var C=new g(this,this);return C.operator=S,C},p.prototype._throwIfClosed=function(){if(this.closed)throw new l.ObjectUnsubscribedError},p.prototype.next=function(S){var C=this;u.errorContext(function(){var _,f;if(C._throwIfClosed(),!C.isStopped){C.currentObservers||(C.currentObservers=Array.from(C.observers));try{for(var y=i(C.currentObservers),b=y.next();!b.done;b=y.next())b.value.next(S)}catch(M){_={error:M}}finally{try{b&&!b.done&&(f=y.return)&&f.call(y)}finally{if(_)throw _.error}}}})},p.prototype.error=function(S){var C=this;u.errorContext(function(){if(C._throwIfClosed(),!C.isStopped){C.hasError=C.isStopped=!0,C.thrownError=S;for(var _=C.observers;_.length;)_.shift().error(S)}})},p.prototype.complete=function(){var S=this;u.errorContext(function(){if(S._throwIfClosed(),!S.isStopped){S.isStopped=!0;for(var C=S.observers;C.length;)C.shift().complete()}})},p.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(p.prototype,"observed",{get:function(){var S;return(null===(S=this.observers)||void 0===S?void 0:S.length)>0},enumerable:!1,configurable:!0}),p.prototype._trySubscribe=function(S){return this._throwIfClosed(),v.prototype._trySubscribe.call(this,S)},p.prototype._subscribe=function(S){return this._throwIfClosed(),this._checkFinalizedStatuses(S),this._innerSubscribe(S)},p.prototype._innerSubscribe=function(S){var C=this,_=this,b=_.observers;return _.hasError||_.isStopped?a.EMPTY_SUBSCRIPTION:(this.currentObservers=null,b.push(S),new a.Subscription(function(){C.currentObservers=null,e.arrRemove(b,S)}))},p.prototype._checkFinalizedStatuses=function(S){var C=this,y=C.isStopped;C.hasError?S.error(C.thrownError):y&&S.complete()},p.prototype.asObservable=function(){var S=new d.Observable;return S.source=this,S},p.create=function(S,C){return new g(S,C)},p}(d.Observable);h.Subject=c;var g=function(v){function p(S,C){var _=v.call(this)||this;return _.destination=S,_.source=C,_}return n(p,v),p.prototype.next=function(S){var C,_;null===(_=null===(C=this.destination)||void 0===C?void 0:C.next)||void 0===_||_.call(C,S)},p.prototype.error=function(S){var C,_;null===(_=null===(C=this.destination)||void 0===C?void 0:C.error)||void 0===_||_.call(C,S)},p.prototype.complete=function(){var S,C;null===(C=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===C||C.call(S)},p.prototype._subscribe=function(S){var C,_;return null!==(_=null===(C=this.source)||void 0===C?void 0:C.subscribe(S))&&void 0!==_?_:a.EMPTY_SUBSCRIPTION},p}(c);h.AnonymousSubject=g},41596:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var E=function(M,A){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,F){I.__proto__=F}||function(I,F){for(var j in F)Object.prototype.hasOwnProperty.call(F,j)&&(I[j]=F[j])})(M,A)};return function(M,A){if("function"!=typeof A&&null!==A)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function I(){this.constructor=M}E(M,A),M.prototype=null===A?Object.create(A):(I.prototype=A.prototype,new I)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.EMPTY_OBSERVER=h.SafeSubscriber=h.Subscriber=void 0;var i=o(82360),d=o(40576),a=o(90584),l=o(50131),e=o(48320),u=o(62640),c=o(82480),g=o(49664),v=function(E){function M(A){var I=E.call(this)||this;return I.isStopped=!1,A?(I.destination=A,d.isSubscription(A)&&A.add(I)):I.destination=h.EMPTY_OBSERVER,I}return n(M,E),M.create=function(A,I,F){return new _(A,I,F)},M.prototype.next=function(A){this.isStopped?b(u.nextNotification(A),this):this._next(A)},M.prototype.error=function(A){this.isStopped?b(u.errorNotification(A),this):(this.isStopped=!0,this._error(A))},M.prototype.complete=function(){this.isStopped?b(u.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},M.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,E.prototype.unsubscribe.call(this),this.destination=null)},M.prototype._next=function(A){this.destination.next(A)},M.prototype._error=function(A){try{this.destination.error(A)}finally{this.unsubscribe()}},M.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},M}(d.Subscription);h.Subscriber=v;var p=Function.prototype.bind;function S(E,M){return p.call(E,M)}var C=function(){function E(M){this.partialObserver=M}return E.prototype.next=function(M){var A=this.partialObserver;if(A.next)try{A.next(M)}catch(I){f(I)}},E.prototype.error=function(M){var A=this.partialObserver;if(A.error)try{A.error(M)}catch(I){f(I)}else f(M)},E.prototype.complete=function(){var M=this.partialObserver;if(M.complete)try{M.complete()}catch(A){f(A)}},E}(),_=function(E){function M(A,I,F){var T,P,j=E.call(this)||this;return i.isFunction(A)||!A?T={next:A??void 0,error:I??void 0,complete:F??void 0}:j&&a.config.useDeprecatedNextContext?((P=Object.create(A)).unsubscribe=function(){return j.unsubscribe()},T={next:A.next&&S(A.next,P),error:A.error&&S(A.error,P),complete:A.complete&&S(A.complete,P)}):T=A,j.destination=new C(T),j}return n(M,E),M}(v);function f(E){a.config.useDeprecatedSynchronousErrorHandling?g.captureError(E):l.reportUnhandledError(E)}function b(E,M){var A=a.config.onStoppedNotification;A&&c.timeoutProvider.setTimeout(function(){return A(E,M)})}h.SafeSubscriber=_,h.EMPTY_OBSERVER={closed:!0,next:e.noop,error:function y(E){throw E},complete:e.noop}},40576:function(pe,h,o){"use strict";var n=this&&this.__values||function(v){var p="function"==typeof Symbol&&Symbol.iterator,S=p&&v[p],C=0;if(S)return S.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&C>=v.length&&(v=void 0),{value:v&&v[C++],done:!v}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(v,p){var S="function"==typeof Symbol&&v[Symbol.iterator];if(!S)return v;var _,y,C=S.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=C.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(S=C.return)&&S.call(C)}finally{if(y)throw y.error}}return f},d=this&&this.__spreadArray||function(v,p){for(var S=0,C=p.length,_=v.length;S{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.config=void 0,h.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},79632:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.firstValueFrom=void 0;var n=o(51544),i=o(41596);h.firstValueFrom=function d(a,l){var e="object"==typeof l;return new Promise(function(u,c){var g=new i.SafeSubscriber({next:function(v){u(v),g.unsubscribe()},error:c,complete:function(){e?u(l.defaultValue):c(new n.EmptyError)}});a.subscribe(g)})}},59452:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.lastValueFrom=void 0;var n=o(51544);h.lastValueFrom=function i(d,a){var l="object"==typeof a;return new Promise(function(e,u){var g,c=!1;d.subscribe({next:function(v){g=v,c=!0},error:u,complete:function(){c?e(g):l?e(a.defaultValue):u(new n.EmptyError)}})})}},42416:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var c=function(g,v){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,S){p.__proto__=S}||function(p,S){for(var C in S)Object.prototype.hasOwnProperty.call(S,C)&&(p[C]=S[C])})(g,v)};return function(g,v){if("function"!=typeof v&&null!==v)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function p(){this.constructor=g}c(g,v),g.prototype=null===v?Object.create(v):(p.prototype=v.prototype,new p)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.ConnectableObservable=void 0;var i=o(15448),d=o(40576),a=o(60300),l=o(35744),e=o(66080),u=function(c){function g(v,p){var S=c.call(this)||this;return S.source=v,S.subjectFactory=p,S._subject=null,S._refCount=0,S._connection=null,e.hasLift(v)&&(S.lift=v.lift),S}return n(g,c),g.prototype._subscribe=function(v){return this.getSubject().subscribe(v)},g.prototype.getSubject=function(){var v=this._subject;return(!v||v.isStopped)&&(this._subject=this.subjectFactory()),this._subject},g.prototype._teardown=function(){this._refCount=0;var v=this._connection;this._subject=this._connection=null,v?.unsubscribe()},g.prototype.connect=function(){var v=this,p=this._connection;if(!p){p=this._connection=new d.Subscription;var S=this.getSubject();p.add(this.source.subscribe(l.createOperatorSubscriber(S,void 0,function(){v._teardown(),S.complete()},function(C){v._teardown(),S.error(C)},function(){return v._teardown()}))),p.closed&&(this._connection=null,p=d.Subscription.EMPTY)}return p},g.prototype.refCount=function(){return a.refCount()(this)},g}(i.Observable);h.ConnectableObservable=u},1856:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.bindCallback=void 0;var n=o(98140);h.bindCallback=function i(d,a,l){return n.bindCallbackInternals(!1,d,a,l)}},98140:function(pe,h,o){"use strict";var n=this&&this.__read||function(v,p){var S="function"==typeof Symbol&&v[Symbol.iterator];if(!S)return v;var _,y,C=S.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=C.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(S=C.return)&&S.call(C)}finally{if(y)throw y.error}}return f},i=this&&this.__spreadArray||function(v,p){for(var S=0,C=p.length,_=v.length;S{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.bindNodeCallback=void 0;var n=o(98140);h.bindNodeCallback=function i(d,a,l){return n.bindCallbackInternals(!0,d,a,l)}},60128:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.combineLatestInit=h.combineLatest=void 0;var n=o(15448),i=o(75352),d=o(38485),a=o(55184),l=o(82664),e=o(69724),u=o(7788),c=o(35744),g=o(61760);function p(C,_,f){return void 0===f&&(f=a.identity),function(y){S(_,function(){for(var b=C.length,E=new Array(b),M=b,A=b,I=function(j){S(_,function(){var T=d.from(C[j],_),P=!1;T.subscribe(c.createOperatorSubscriber(y,function(x){E[j]=x,P||(P=!0,A--),A||y.next(f(E.slice()))},function(){--M||y.complete()}))},y)},F=0;F{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concat=void 0;var n=o(26608),i=o(69724),d=o(38485);h.concat=function a(){for(var l=[],e=0;e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.connectable=void 0;var n=o(90120),i=o(15448),d=o(71896),a={connector:function(){return new n.Subject},resetOnDisconnect:!0};h.connectable=function l(e,u){void 0===u&&(u=a);var c=null,g=u.connector,v=u.resetOnDisconnect,p=void 0===v||v,S=g(),C=new i.Observable(function(_){return S.subscribe(_)});return C.connect=function(){return(!c||c.closed)&&(c=d.defer(function(){return e}).subscribe(S),p&&c.add(function(){return S=g()})),c},C}},71896:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.defer=void 0;var n=o(15448),i=o(81280);h.defer=function d(a){return new n.Observable(function(l){i.innerFrom(a()).subscribe(l)})}},72444:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.animationFrames=void 0;var n=o(15448),i=o(68424),d=o(24352);function l(u){return new n.Observable(function(c){var g=u||i.performanceTimestampProvider,v=g.now(),p=0,S=function(){c.closed||(p=d.animationFrameProvider.requestAnimationFrame(function(C){p=0;var _=g.now();c.next({timestamp:u?_:C,elapsed:_-v}),S()}))};return S(),function(){p&&d.animationFrameProvider.cancelAnimationFrame(p)}})}h.animationFrames=function a(u){return u?l(u):e};var e=l()},31456:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.empty=h.EMPTY=void 0;var n=o(15448);h.EMPTY=new n.Observable(function(a){return a.complete()}),h.empty=function i(a){return a?function d(a){return new n.Observable(function(l){return a.schedule(function(){return l.complete()})})}(a):h.EMPTY}},93052:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.forkJoin=void 0;var n=o(15448),i=o(75352),d=o(81280),a=o(69724),l=o(35744),e=o(82664),u=o(7788);h.forkJoin=function c(){for(var g=[],v=0;v{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.from=void 0;var n=o(44232),i=o(81280);h.from=function d(a,l){return l?n.scheduled(a,l):i.innerFrom(a)}},85e3:function(pe,h,o){"use strict";var n=this&&this.__read||function(y,b){var E="function"==typeof Symbol&&y[Symbol.iterator];if(!E)return y;var A,F,M=E.call(y),I=[];try{for(;(void 0===b||b-- >0)&&!(A=M.next()).done;)I.push(A.value)}catch(j){F={error:j}}finally{try{A&&!A.done&&(E=M.return)&&E.call(M)}finally{if(F)throw F.error}}return I};Object.defineProperty(h,"__esModule",{value:!0}),h.fromEvent=void 0;var i=o(81280),d=o(15448),a=o(33480),l=o(18224),e=o(82360),u=o(82664),c=["addListener","removeListener"],g=["addEventListener","removeEventListener"],v=["on","off"];function S(y,b){return function(E){return function(M){return y[E](b,M)}}}h.fromEvent=function p(y,b,E,M){if(e.isFunction(E)&&(M=E,E=void 0),M)return p(y,b,E).pipe(u.mapOneOrManyArgs(M));var A=n(function f(y){return e.isFunction(y.addEventListener)&&e.isFunction(y.removeEventListener)}(y)?g.map(function(j){return function(T){return y[j](b,T,E)}}):function C(y){return e.isFunction(y.addListener)&&e.isFunction(y.removeListener)}(y)?c.map(S(y,b)):function _(y){return e.isFunction(y.on)&&e.isFunction(y.off)}(y)?v.map(S(y,b)):[],2),I=A[0],F=A[1];if(!I&&l.isArrayLike(y))return a.mergeMap(function(j){return p(j,b,E)})(i.innerFrom(y));if(!I)throw new TypeError("Invalid event target");return new d.Observable(function(j){var T=function(){for(var P=[],x=0;x{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.fromEventPattern=void 0;var n=o(15448),i=o(82360),d=o(82664);h.fromEventPattern=function a(l,e,u){return u?a(l,e).pipe(d.mapOneOrManyArgs(u)):new n.Observable(function(c){var g=function(){for(var p=[],S=0;S{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.fromSubscribable=void 0;var n=o(15448);h.fromSubscribable=function i(d){return new n.Observable(function(a){return d.subscribe(a)})}},92560:function(pe,h,o){"use strict";var n=this&&this.__generator||function(u,c){var v,p,S,C,g={label:0,sent:function(){if(1&S[0])throw S[1];return S[1]},trys:[],ops:[]};return C={next:_(0),throw:_(1),return:_(2)},"function"==typeof Symbol&&(C[Symbol.iterator]=function(){return this}),C;function _(y){return function(b){return function f(y){if(v)throw new TypeError("Generator is already executing.");for(;g;)try{if(v=1,p&&(S=2&y[0]?p.return:y[0]?p.throw||((S=p.return)&&S.call(p),0):p.next)&&!(S=S.call(p,y[1])).done)return S;switch(p=0,S&&(y=[2&y[0],S.value]),y[0]){case 0:case 1:S=y;break;case 4:return g.label++,{value:y[1],done:!1};case 5:g.label++,p=y[1],y=[0];continue;case 7:y=g.ops.pop(),g.trys.pop();continue;default:if(!(S=(S=g.trys).length>0&&S[S.length-1])&&(6===y[0]||2===y[0])){g=0;continue}if(3===y[0]&&(!S||y[1]>S[0]&&y[1]{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.iif=void 0;var n=o(71896);h.iif=function i(d,a,l){return n.defer(function(){return d()?a:l})}},81280:function(pe,h,o){"use strict";var n=this&&this.__awaiter||function(T,P,x,N){return new(x||(x=Promise))(function(H,G){function te(K){try{se(N.next(K))}catch(Z){G(Z)}}function ue(K){try{se(N.throw(K))}catch(Z){G(Z)}}function se(K){K.done?H(K.value):function O(H){return H instanceof x?H:new x(function(G){G(H)})}(K.value).then(te,ue)}se((N=N.apply(T,P||[])).next())})},i=this&&this.__generator||function(T,P){var N,O,H,G,x={label:0,sent:function(){if(1&H[0])throw H[1];return H[1]},trys:[],ops:[]};return G={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(G[Symbol.iterator]=function(){return this}),G;function te(se){return function(K){return function ue(se){if(N)throw new TypeError("Generator is already executing.");for(;x;)try{if(N=1,O&&(H=2&se[0]?O.return:se[0]?O.throw||((H=O.return)&&H.call(O),0):O.next)&&!(H=H.call(O,se[1])).done)return H;switch(O=0,H&&(se=[2&se[0],H.value]),se[0]){case 0:case 1:H=se;break;case 4:return x.label++,{value:se[1],done:!1};case 5:x.label++,O=se[1],se=[0];continue;case 7:se=x.ops.pop(),x.trys.pop();continue;default:if(!(H=(H=x.trys).length>0&&H[H.length-1])&&(6===se[0]||2===se[0])){x=0;continue}if(3===se[0]&&(!H||se[1]>H[0]&&se[1]=T.length&&(T=void 0),{value:T&&T[N++],done:!T}}};throw new TypeError(P?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.fromReadableStreamLike=h.fromAsyncIterable=h.fromIterable=h.fromPromise=h.fromArrayLike=h.fromInteropObservable=h.innerFrom=void 0;var l=o(18224),e=o(28296),u=o(15448),c=o(18440),g=o(37156),v=o(34088),p=o(30640),S=o(11416),C=o(82360),_=o(50131),f=o(72064);function b(T){return new u.Observable(function(P){var x=T[f.observable]();if(C.isFunction(x.subscribe))return x.subscribe(P);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function E(T){return new u.Observable(function(P){for(var x=0;x{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.interval=void 0;var n=o(69252),i=o(34168);h.interval=function d(a,l){return void 0===a&&(a=0),void 0===l&&(l=n.asyncScheduler),a<0&&(a=0),i.timer(a,a,l)}},14152:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.merge=void 0;var n=o(50304),i=o(81280),d=o(31456),a=o(69724),l=o(38485);h.merge=function e(){for(var u=[],c=0;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.never=h.NEVER=void 0;var n=o(15448),i=o(48320);h.NEVER=new n.Observable(i.noop),h.never=function d(){return h.NEVER}},41536:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.of=void 0;var n=o(69724),i=o(38485);h.of=function d(){for(var a=[],l=0;l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.onErrorResumeNext=void 0;var n=o(15448),i=o(50652),d=o(35744),a=o(48320),l=o(81280);h.onErrorResumeNext=function e(){for(var u=[],c=0;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pairs=void 0;var n=o(38485);h.pairs=function i(d,a){return n.from(Object.entries(d),a)}},91792:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.partition=void 0;var n=o(37700),i=o(39840),d=o(81280);h.partition=function a(l,e,u){return[i.filter(e,u)(d.innerFrom(l)),i.filter(n.not(e,u))(d.innerFrom(l))]}},84048:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.raceInit=h.race=void 0;var n=o(15448),i=o(81280),d=o(50652),a=o(35744);function e(u){return function(c){for(var g=[],v=function(S){g.push(i.innerFrom(u[S]).subscribe(a.createOperatorSubscriber(c,function(C){if(g){for(var _=0;_{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.range=void 0;var n=o(15448),i=o(31456);h.range=function d(a,l,e){if(null==l&&(l=a,a=0),l<=0)return i.EMPTY;var u=l+a;return new n.Observable(e?function(c){var g=a;return e.schedule(function(){g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throwError=void 0;var n=o(15448),i=o(82360);h.throwError=function d(a,l){var e=i.isFunction(a)?a:function(){return a},u=function(c){return c.error(e())};return new n.Observable(l?function(c){return l.schedule(u,0,c)}:u)}},34168:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timer=void 0;var n=o(15448),i=o(69252),d=o(76964),a=o(42384);h.timer=function l(e,u,c){void 0===e&&(e=0),void 0===c&&(c=i.async);var g=-1;return null!=u&&(d.isScheduler(u)?c=u:g=u),new n.Observable(function(v){var p=a.isValidDate(e)?+e-c.now():e;p<0&&(p=0);var S=0;return c.schedule(function(){v.closed||(v.next(S++),0<=g?this.schedule(void 0,g):v.complete())},p)})}},28684:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.using=void 0;var n=o(15448),i=o(81280),d=o(31456);h.using=function a(l,e){return new n.Observable(function(u){var c=l(),g=e(c);return(g?i.innerFrom(g):d.EMPTY).subscribe(u),function(){c&&c.unsubscribe()}})}},59172:function(pe,h,o){"use strict";var n=this&&this.__read||function(v,p){var S="function"==typeof Symbol&&v[Symbol.iterator];if(!S)return v;var _,y,C=S.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=C.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(S=C.return)&&S.call(C)}finally{if(y)throw y.error}}return f},i=this&&this.__spreadArray||function(v,p){for(var S=0,C=p.length,_=v.length;S{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.audit=void 0;var n=o(66080),i=o(81280),d=o(35744);h.audit=function a(l){return n.operate(function(e,u){var c=!1,g=null,v=null,p=!1,S=function(){if(v?.unsubscribe(),v=null,c){c=!1;var _=g;g=null,u.next(_)}p&&u.complete()},C=function(){v=null,p&&u.complete()};e.subscribe(d.createOperatorSubscriber(u,function(_){c=!0,g=_,v||i.innerFrom(l(_)).subscribe(v=d.createOperatorSubscriber(u,S,C))},function(){p=!0,(!c||!v||v.closed)&&u.complete()}))})}},1393:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.auditTime=void 0;var n=o(69252),i=o(18380),d=o(34168);h.auditTime=function a(l,e){return void 0===e&&(e=n.asyncScheduler),i.audit(function(){return d.timer(l,e)})}},42744:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.buffer=void 0;var n=o(66080),i=o(48320),d=o(35744),a=o(81280);h.buffer=function l(e){return n.operate(function(u,c){var g=[];return u.subscribe(d.createOperatorSubscriber(c,function(v){return g.push(v)},function(){c.next(g),c.complete()})),a.innerFrom(e).subscribe(d.createOperatorSubscriber(c,function(){var v=g;g=[],c.next(v)},i.noop)),function(){g=null}})}},57864:function(pe,h,o){"use strict";var n=this&&this.__values||function(e){var u="function"==typeof Symbol&&Symbol.iterator,c=u&&e[u],g=0;if(c)return c.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.bufferCount=void 0;var i=o(66080),d=o(35744),a=o(39852);h.bufferCount=function l(e,u){return void 0===u&&(u=null),u=u??e,i.operate(function(c,g){var v=[],p=0;c.subscribe(d.createOperatorSubscriber(g,function(S){var C,_,f,y,b=null;p++%u==0&&v.push([]);try{for(var E=n(v),M=E.next();!M.done;M=E.next())(A=M.value).push(S),e<=A.length&&(b=b??[]).push(A)}catch(j){C={error:j}}finally{try{M&&!M.done&&(_=E.return)&&_.call(E)}finally{if(C)throw C.error}}if(b)try{for(var I=n(b),F=I.next();!F.done;F=I.next()){var A;a.arrRemove(v,A=F.value),g.next(A)}}catch(j){f={error:j}}finally{try{F&&!F.done&&(y=I.return)&&y.call(I)}finally{if(f)throw f.error}}},function(){var S,C;try{for(var _=n(v),f=_.next();!f.done;f=_.next())g.next(f.value)}catch(b){S={error:b}}finally{try{f&&!f.done&&(C=_.return)&&C.call(_)}finally{if(S)throw S.error}}g.complete()},void 0,function(){v=null}))})}},42704:function(pe,h,o){"use strict";var n=this&&this.__values||function(v){var p="function"==typeof Symbol&&Symbol.iterator,S=p&&v[p],C=0;if(S)return S.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&C>=v.length&&(v=void 0),{value:v&&v[C++],done:!v}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.bufferTime=void 0;var i=o(40576),d=o(66080),a=o(35744),l=o(39852),e=o(69252),u=o(69724),c=o(61760);h.bufferTime=function g(v){for(var p,S,C=[],_=1;_=0?c.executeSchedule(M,f,j,y,!0):I=!0,j();var T=a.createOperatorSubscriber(M,function(P){var x,N,O=A.slice();try{for(var H=n(O),G=H.next();!G.done;G=H.next()){var te=G.value,ue=te.buffer;ue.push(P),b<=ue.length&&F(te)}}catch(se){x={error:se}}finally{try{G&&!G.done&&(N=H.return)&&N.call(H)}finally{if(x)throw x.error}}},function(){for(;A?.length;)M.next(A.shift().buffer);T?.unsubscribe(),M.complete(),M.unsubscribe()},void 0,function(){return A=null});E.subscribe(T)})}},21964:function(pe,h,o){"use strict";var n=this&&this.__values||function(g){var v="function"==typeof Symbol&&Symbol.iterator,p=v&&g[v],S=0;if(p)return p.call(g);if(g&&"number"==typeof g.length)return{next:function(){return g&&S>=g.length&&(g=void 0),{value:g&&g[S++],done:!g}}};throw new TypeError(v?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.bufferToggle=void 0;var i=o(40576),d=o(66080),a=o(81280),l=o(35744),e=o(48320),u=o(39852);h.bufferToggle=function c(g,v){return d.operate(function(p,S){var C=[];a.innerFrom(g).subscribe(l.createOperatorSubscriber(S,function(_){var f=[];C.push(f);var y=new i.Subscription;y.add(a.innerFrom(v(_)).subscribe(l.createOperatorSubscriber(S,function(){u.arrRemove(C,f),S.next(f),y.unsubscribe()},e.noop)))},e.noop)),p.subscribe(l.createOperatorSubscriber(S,function(_){var f,y;try{for(var b=n(C),E=b.next();!E.done;E=b.next())E.value.push(_)}catch(A){f={error:A}}finally{try{E&&!E.done&&(y=b.return)&&y.call(b)}finally{if(f)throw f.error}}},function(){for(;C.length>0;)S.next(C.shift());S.complete()}))})}},16323:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.bufferWhen=void 0;var n=o(66080),i=o(48320),d=o(35744),a=o(81280);h.bufferWhen=function l(e){return n.operate(function(u,c){var g=null,v=null,p=function(){v?.unsubscribe();var S=g;g=[],S&&c.next(S),a.innerFrom(e()).subscribe(v=d.createOperatorSubscriber(c,p,i.noop))};p(),u.subscribe(d.createOperatorSubscriber(c,function(S){return g?.push(S)},function(){g&&c.next(g),c.complete()},void 0,function(){return g=v=null}))})}},11708:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.catchError=void 0;var n=o(81280),i=o(35744),d=o(66080);h.catchError=function a(l){return d.operate(function(e,u){var v,c=null,g=!1;c=e.subscribe(i.createOperatorSubscriber(u,void 0,void 0,function(p){v=n.innerFrom(l(p,a(l)(e))),c?(c.unsubscribe(),c=null,v.subscribe(u)):g=!0})),g&&(c.unsubscribe(),c=null,v.subscribe(u))})}},25184:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.combineAll=void 0;var n=o(86576);h.combineAll=n.combineLatestAll},31384:function(pe,h,o){"use strict";var n=this&&this.__read||function(v,p){var S="function"==typeof Symbol&&v[Symbol.iterator];if(!S)return v;var _,y,C=S.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=C.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(S=C.return)&&S.call(C)}finally{if(y)throw y.error}}return f},i=this&&this.__spreadArray||function(v,p){for(var S=0,C=p.length,_=v.length;S{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.combineLatestAll=void 0;var n=o(60128),i=o(28400);h.combineLatestAll=function d(a){return i.joinAllInternals(n.combineLatest,a)}},71480:function(pe,h,o){"use strict";var n=this&&this.__read||function(l,e){var u="function"==typeof Symbol&&l[Symbol.iterator];if(!u)return l;var g,p,c=u.call(l),v=[];try{for(;(void 0===e||e-- >0)&&!(g=c.next()).done;)v.push(g.value)}catch(S){p={error:S}}finally{try{g&&!g.done&&(u=c.return)&&u.call(c)}finally{if(p)throw p.error}}return v},i=this&&this.__spreadArray||function(l,e){for(var u=0,c=e.length,g=l.length;u0)&&!(S=p.next()).done;)C.push(S.value)}catch(f){_={error:f}}finally{try{S&&!S.done&&(v=p.return)&&v.call(p)}finally{if(_)throw _.error}}return C},i=this&&this.__spreadArray||function(c,g){for(var v=0,p=g.length,S=c.length;v{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concatAll=void 0;var n=o(50304);h.concatAll=function i(){return n.mergeAll(1)}},68584:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concatMap=void 0;var n=o(33480),i=o(82360);h.concatMap=function d(a,l){return i.isFunction(l)?n.mergeMap(a,l,1):n.mergeMap(a,1)}},38776:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concatMapTo=void 0;var n=o(68584),i=o(82360);h.concatMapTo=function d(a,l){return i.isFunction(l)?n.concatMap(function(){return a},l):n.concatMap(function(){return a})}},23332:function(pe,h,o){"use strict";var n=this&&this.__read||function(l,e){var u="function"==typeof Symbol&&l[Symbol.iterator];if(!u)return l;var g,p,c=u.call(l),v=[];try{for(;(void 0===e||e-- >0)&&!(g=c.next()).done;)v.push(g.value)}catch(S){p={error:S}}finally{try{g&&!g.done&&(u=c.return)&&u.call(c)}finally{if(p)throw p.error}}return v},i=this&&this.__spreadArray||function(l,e){for(var u=0,c=e.length,g=l.length;u{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.connect=void 0;var n=o(90120),i=o(81280),d=o(66080),a=o(28544),l={connector:function(){return new n.Subject}};h.connect=function e(u,c){void 0===c&&(c=l);var g=c.connector;return d.operate(function(v,p){var S=g();i.innerFrom(u(a.fromSubscribable(S))).subscribe(p),p.add(v.subscribe(S))})}},95572:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.count=void 0;var n=o(39980);h.count=function i(d){return n.reduce(function(a,l,e){return!d||d(l,e)?a+1:a},0)}},42568:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.debounce=void 0;var n=o(66080),i=o(48320),d=o(35744),a=o(81280);h.debounce=function l(e){return n.operate(function(u,c){var g=!1,v=null,p=null,S=function(){if(p?.unsubscribe(),p=null,g){g=!1;var C=v;v=null,c.next(C)}};u.subscribe(d.createOperatorSubscriber(c,function(C){p?.unsubscribe(),g=!0,v=C,p=d.createOperatorSubscriber(c,S,i.noop),a.innerFrom(e(C)).subscribe(p)},function(){S(),c.complete()},void 0,function(){v=p=null}))})}},86275:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.debounceTime=void 0;var n=o(69252),i=o(66080),d=o(35744);h.debounceTime=function a(l,e){return void 0===e&&(e=n.asyncScheduler),i.operate(function(u,c){var g=null,v=null,p=null,S=function(){if(g){g.unsubscribe(),g=null;var _=v;v=null,c.next(_)}};function C(){var _=p+l,f=e.now();if(f<_)return g=this.schedule(void 0,_-f),void c.add(g);S()}u.subscribe(d.createOperatorSubscriber(c,function(_){v=_,p=e.now(),g||(g=e.schedule(C,l),c.add(g))},function(){S(),c.complete()},void 0,function(){v=g=null}))})}},14707:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.defaultIfEmpty=void 0;var n=o(66080),i=o(35744);h.defaultIfEmpty=function d(a){return n.operate(function(l,e){var u=!1;l.subscribe(i.createOperatorSubscriber(e,function(c){u=!0,e.next(c)},function(){u||e.next(a),e.complete()}))})}},99592:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.delay=void 0;var n=o(69252),i=o(59304),d=o(34168);h.delay=function a(l,e){void 0===e&&(e=n.asyncScheduler);var u=d.timer(l,e);return i.delayWhen(function(){return u})}},59304:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.delayWhen=void 0;var n=o(24560),i=o(38120),d=o(77392),a=o(89224),l=o(33480),e=o(81280);h.delayWhen=function u(c,g){return g?function(v){return n.concat(g.pipe(i.take(1),d.ignoreElements()),v.pipe(u(c)))}:l.mergeMap(function(v,p){return e.innerFrom(c(v,p)).pipe(i.take(1),a.mapTo(v))})}},84204:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.dematerialize=void 0;var n=o(12032),i=o(66080),d=o(35744);h.dematerialize=function a(){return i.operate(function(l,e){l.subscribe(d.createOperatorSubscriber(e,function(u){return n.observeNotification(u,e)}))})}},51256:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.distinct=void 0;var n=o(66080),i=o(35744),d=o(48320),a=o(81280);h.distinct=function l(e,u){return n.operate(function(c,g){var v=new Set;c.subscribe(i.createOperatorSubscriber(g,function(p){var S=e?e(p):p;v.has(S)||(v.add(S),g.next(p))})),u&&a.innerFrom(u).subscribe(i.createOperatorSubscriber(g,function(){return v.clear()},d.noop))})}},21544:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.distinctUntilChanged=void 0;var n=o(55184),i=o(66080),d=o(35744);function l(e,u){return e===u}h.distinctUntilChanged=function a(e,u){return void 0===u&&(u=n.identity),e=e??l,i.operate(function(c,g){var v,p=!0;c.subscribe(d.createOperatorSubscriber(g,function(S){var C=u(S);(p||!e(v,C))&&(p=!1,v=C,g.next(S))}))})}},61544:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.distinctUntilKeyChanged=void 0;var n=o(21544);h.distinctUntilKeyChanged=function i(d,a){return n.distinctUntilChanged(function(l,e){return a?a(l[d],e[d]):l[d]===e[d]})}},51808:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.elementAt=void 0;var n=o(32929),i=o(39840),d=o(51056),a=o(14707),l=o(38120);h.elementAt=function e(u,c){if(u<0)throw new n.ArgumentOutOfRangeError;var g=arguments.length>=2;return function(v){return v.pipe(i.filter(function(p,S){return S===u}),l.take(1),g?a.defaultIfEmpty(c):d.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},48568:function(pe,h,o){"use strict";var n=this&&this.__read||function(e,u){var c="function"==typeof Symbol&&e[Symbol.iterator];if(!c)return e;var v,S,g=c.call(e),p=[];try{for(;(void 0===u||u-- >0)&&!(v=g.next()).done;)p.push(v.value)}catch(C){S={error:C}}finally{try{v&&!v.done&&(c=g.return)&&c.call(g)}finally{if(S)throw S.error}}return p},i=this&&this.__spreadArray||function(e,u){for(var c=0,g=u.length,v=e.length;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.every=void 0;var n=o(66080),i=o(35744);h.every=function d(a,l){return n.operate(function(e,u){var c=0;e.subscribe(i.createOperatorSubscriber(u,function(g){a.call(l,g,c++,e)||(u.next(!1),u.complete())},function(){u.next(!0),u.complete()}))})}},53704:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.exhaust=void 0;var n=o(34288);h.exhaust=n.exhaustAll},34288:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.exhaustAll=void 0;var n=o(44632),i=o(55184);h.exhaustAll=function d(){return n.exhaustMap(i.identity)}},44632:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.exhaustMap=void 0;var n=o(784),i=o(81280),d=o(66080),a=o(35744);h.exhaustMap=function l(e,u){return u?function(c){return c.pipe(l(function(g,v){return i.innerFrom(e(g,v)).pipe(n.map(function(p,S){return u(g,p,v,S)}))}))}:d.operate(function(c,g){var v=0,p=null,S=!1;c.subscribe(a.createOperatorSubscriber(g,function(C){p||(p=a.createOperatorSubscriber(g,void 0,function(){p=null,S&&g.complete()}),i.innerFrom(e(C,v++)).subscribe(p))},function(){S=!0,!p&&g.complete()}))})}},84624:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.expand=void 0;var n=o(66080),i=o(46972);h.expand=function d(a,l,e){return void 0===l&&(l=1/0),l=(l||0)<1?1/0:l,n.operate(function(u,c){return i.mergeInternals(u,c,a,l,void 0,!0,e)})}},39840:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.filter=void 0;var n=o(66080),i=o(35744);h.filter=function d(a,l){return n.operate(function(e,u){var c=0;e.subscribe(i.createOperatorSubscriber(u,function(g){return a.call(l,g,c++)&&u.next(g)}))})}},99440:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.finalize=void 0;var n=o(66080);h.finalize=function i(d){return n.operate(function(a,l){try{a.subscribe(l)}finally{l.add(d)}})}},70939:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createFind=h.find=void 0;var n=o(66080),i=o(35744);function a(l,e,u){var c="index"===u;return function(g,v){var p=0;g.subscribe(i.createOperatorSubscriber(v,function(S){var C=p++;l.call(e,S,C,g)&&(v.next(c?C:S),v.complete())},function(){v.next(c?-1:void 0),v.complete()}))}}h.find=function d(l,e){return n.operate(a(l,e,"value"))},h.createFind=a},69496:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.findIndex=void 0;var n=o(66080),i=o(70939);h.findIndex=function d(a,l){return n.operate(i.createFind(a,l,"index"))}},11848:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.first=void 0;var n=o(51544),i=o(39840),d=o(38120),a=o(14707),l=o(51056),e=o(55184);h.first=function u(c,g){var v=arguments.length>=2;return function(p){return p.pipe(c?i.filter(function(S,C){return c(S,C,p)}):e.identity,d.take(1),v?a.defaultIfEmpty(g):l.throwIfEmpty(function(){return new n.EmptyError}))}}},98924:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.flatMap=void 0;var n=o(33480);h.flatMap=n.mergeMap},17909:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.groupBy=void 0;var n=o(15448),i=o(81280),d=o(90120),a=o(66080),l=o(35744);h.groupBy=function e(u,c,g,v){return a.operate(function(p,S){var C;c&&"function"!=typeof c?(g=c.duration,C=c.element,v=c.connector):C=c;var _=new Map,f=function(I){_.forEach(I),I(S)},y=function(I){return f(function(F){return F.error(I)})},b=0,E=!1,M=new l.OperatorSubscriber(S,function(I){try{var F=u(I),j=_.get(F);if(!j){_.set(F,j=v?v():new d.Subject);var T=function A(I,F){var j=new n.Observable(function(T){b++;var P=F.subscribe(T);return function(){P.unsubscribe(),0==--b&&E&&M.unsubscribe()}});return j.key=I,j}(F,j);if(S.next(T),g){var P=l.createOperatorSubscriber(j,function(){j.complete(),P?.unsubscribe()},void 0,void 0,function(){return _.delete(F)});M.add(i.innerFrom(g(T)).subscribe(P))}}j.next(C?C(I):I)}catch(x){y(x)}},function(){return f(function(I){return I.complete()})},y,function(){return _.clear()},function(){return E=!0,0===b});p.subscribe(M)})}},77392:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ignoreElements=void 0;var n=o(66080),i=o(35744),d=o(48320);h.ignoreElements=function a(){return n.operate(function(l,e){l.subscribe(i.createOperatorSubscriber(e,d.noop))})}},73564:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isEmpty=void 0;var n=o(66080),i=o(35744);h.isEmpty=function d(){return n.operate(function(a,l){a.subscribe(i.createOperatorSubscriber(l,function(){l.next(!1),l.complete()},function(){l.next(!0),l.complete()}))})}},28400:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.joinAllInternals=void 0;var n=o(55184),i=o(82664),d=o(19512),a=o(33480),l=o(29316);h.joinAllInternals=function e(u,c){return d.pipe(l.toArray(),a.mergeMap(function(g){return u(g)}),c?i.mapOneOrManyArgs(c):n.identity)}},2696:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.last=void 0;var n=o(51544),i=o(39840),d=o(32224),a=o(51056),l=o(14707),e=o(55184);h.last=function u(c,g){var v=arguments.length>=2;return function(p){return p.pipe(c?i.filter(function(S,C){return c(S,C,p)}):e.identity,d.takeLast(1),v?l.defaultIfEmpty(g):a.throwIfEmpty(function(){return new n.EmptyError}))}}},784:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.map=void 0;var n=o(66080),i=o(35744);h.map=function d(a,l){return n.operate(function(e,u){var c=0;e.subscribe(i.createOperatorSubscriber(u,function(g){u.next(a.call(l,g,c++))}))})}},89224:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mapTo=void 0;var n=o(784);h.mapTo=function i(d){return n.map(function(){return d})}},6832:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.materialize=void 0;var n=o(12032),i=o(66080),d=o(35744);h.materialize=function a(){return i.operate(function(l,e){l.subscribe(d.createOperatorSubscriber(e,function(u){e.next(n.Notification.createNext(u))},function(){e.next(n.Notification.createComplete()),e.complete()},function(u){e.next(n.Notification.createError(u)),e.complete()}))})}},34808:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.max=void 0;var n=o(39980),i=o(82360);h.max=function d(a){return n.reduce(i.isFunction(a)?function(l,e){return a(l,e)>0?l:e}:function(l,e){return l>e?l:e})}},38884:function(pe,h,o){"use strict";var n=this&&this.__read||function(g,v){var p="function"==typeof Symbol&&g[Symbol.iterator];if(!p)return g;var C,f,S=p.call(g),_=[];try{for(;(void 0===v||v-- >0)&&!(C=S.next()).done;)_.push(C.value)}catch(y){f={error:y}}finally{try{C&&!C.done&&(p=S.return)&&p.call(S)}finally{if(f)throw f.error}}return _},i=this&&this.__spreadArray||function(g,v){for(var p=0,S=v.length,C=g.length;p{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeAll=void 0;var n=o(33480),i=o(55184);h.mergeAll=function d(a){return void 0===a&&(a=1/0),n.mergeMap(i.identity,a)}},46972:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeInternals=void 0;var n=o(81280),i=o(61760),d=o(35744);h.mergeInternals=function a(l,e,u,c,g,v,p,S){var C=[],_=0,f=0,y=!1,b=function(){y&&!C.length&&!_&&e.complete()},E=function(A){return _{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeMap=void 0;var n=o(784),i=o(81280),d=o(66080),a=o(46972),l=o(82360);h.mergeMap=function e(u,c,g){return void 0===g&&(g=1/0),l.isFunction(c)?e(function(v,p){return n.map(function(S,C){return c(v,S,p,C)})(i.innerFrom(u(v,p)))},g):("number"==typeof c&&(g=c),d.operate(function(v,p){return a.mergeInternals(v,p,u,g)}))}},73232:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeMapTo=void 0;var n=o(33480),i=o(82360);h.mergeMapTo=function d(a,l,e){return void 0===e&&(e=1/0),i.isFunction(l)?n.mergeMap(function(){return a},l,e):("number"==typeof l&&(e=l),n.mergeMap(function(){return a},e))}},3380:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeScan=void 0;var n=o(66080),i=o(46972);h.mergeScan=function d(a,l,e){return void 0===e&&(e=1/0),n.operate(function(u,c){var g=l;return i.mergeInternals(u,c,function(v,p){return a(g,v,p)},e,function(v){g=v},!1,void 0,function(){return g=null})})}},57308:function(pe,h,o){"use strict";var n=this&&this.__read||function(l,e){var u="function"==typeof Symbol&&l[Symbol.iterator];if(!u)return l;var g,p,c=u.call(l),v=[];try{for(;(void 0===e||e-- >0)&&!(g=c.next()).done;)v.push(g.value)}catch(S){p={error:S}}finally{try{g&&!g.done&&(u=c.return)&&u.call(c)}finally{if(p)throw p.error}}return v},i=this&&this.__spreadArray||function(l,e){for(var u=0,c=e.length,g=l.length;u{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.min=void 0;var n=o(39980),i=o(82360);h.min=function d(a){return n.reduce(i.isFunction(a)?function(l,e){return a(l,e)<0?l:e}:function(l,e){return l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.multicast=void 0;var n=o(42416),i=o(82360),d=o(59056);h.multicast=function a(l,e){var u=i.isFunction(l)?l:function(){return l};return i.isFunction(e)?d.connect(e,{connector:u}):function(c){return new n.ConnectableObservable(c,u)}}},33752:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.observeOn=void 0;var n=o(61760),i=o(66080),d=o(35744);h.observeOn=function a(l,e){return void 0===e&&(e=0),i.operate(function(u,c){u.subscribe(d.createOperatorSubscriber(c,function(g){return n.executeSchedule(c,l,function(){return c.next(g)},e)},function(){return n.executeSchedule(c,l,function(){return c.complete()},e)},function(g){return n.executeSchedule(c,l,function(){return c.error(g)},e)}))})}},19184:function(pe,h,o){"use strict";var n=this&&this.__read||function(e,u){var c="function"==typeof Symbol&&e[Symbol.iterator];if(!c)return e;var v,S,g=c.call(e),p=[];try{for(;(void 0===u||u-- >0)&&!(v=g.next()).done;)p.push(v.value)}catch(C){S={error:C}}finally{try{v&&!v.done&&(c=g.return)&&c.call(g)}finally{if(S)throw S.error}}return p},i=this&&this.__spreadArray||function(e,u){for(var c=0,g=u.length,v=e.length;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pairwise=void 0;var n=o(66080),i=o(35744);h.pairwise=function d(){return n.operate(function(a,l){var e,u=!1;a.subscribe(i.createOperatorSubscriber(l,function(c){var g=e;e=c,u&&l.next([g,c]),u=!0}))})}},64712:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pluck=void 0;var n=o(784);h.pluck=function i(){for(var d=[],a=0;a{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publish=void 0;var n=o(90120),i=o(66752),d=o(59056);h.publish=function a(l){return l?function(e){return d.connect(l)(e)}:function(e){return i.multicast(new n.Subject)(e)}}},40360:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publishBehavior=void 0;var n=o(60488),i=o(42416);h.publishBehavior=function d(a){return function(l){var e=new n.BehaviorSubject(a);return new i.ConnectableObservable(l,function(){return e})}}},64960:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publishLast=void 0;var n=o(70408),i=o(42416);h.publishLast=function d(){return function(a){var l=new n.AsyncSubject;return new i.ConnectableObservable(a,function(){return l})}}},23944:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publishReplay=void 0;var n=o(38640),i=o(66752),d=o(82360);h.publishReplay=function a(l,e,u,c){u&&!d.isFunction(u)&&(c=u);var g=d.isFunction(u)?u:void 0;return function(v){return i.multicast(new n.ReplaySubject(l,e,c),g)(v)}}},53424:function(pe,h,o){"use strict";var n=this&&this.__read||function(u,c){var g="function"==typeof Symbol&&u[Symbol.iterator];if(!g)return u;var p,C,v=g.call(u),S=[];try{for(;(void 0===c||c-- >0)&&!(p=v.next()).done;)S.push(p.value)}catch(_){C={error:_}}finally{try{p&&!p.done&&(g=v.return)&&g.call(v)}finally{if(C)throw C.error}}return S},i=this&&this.__spreadArray||function(u,c){for(var g=0,v=c.length,p=u.length;g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.reduce=void 0;var n=o(56500),i=o(66080);h.reduce=function d(a,l){return i.operate(n.scanInternals(a,l,arguments.length>=2,!1,!0))}},60300:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.refCount=void 0;var n=o(66080),i=o(35744);h.refCount=function d(){return n.operate(function(a,l){var e=null;a._refCount++;var u=i.createOperatorSubscriber(l,void 0,void 0,void 0,function(){if(!a||a._refCount<=0||0<--a._refCount)e=null;else{var c=a._connection,g=e;e=null,c&&(!g||c===g)&&c.unsubscribe(),l.unsubscribe()}});a.subscribe(u),u.closed||(e=a.connect())})}},90532:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.repeat=void 0;var n=o(31456),i=o(66080),d=o(35744),a=o(81280),l=o(34168);h.repeat=function e(u){var c,v,g=1/0;return null!=u&&("object"==typeof u?(g=void 0===(c=u.count)?1/0:c,v=u.delay):g=u),g<=0?function(){return n.EMPTY}:i.operate(function(p,S){var _,C=0,f=function(){if(_?.unsubscribe(),_=null,null!=v){var b="number"==typeof v?l.timer(v):a.innerFrom(v(C)),E=d.createOperatorSubscriber(S,function(){E.unsubscribe(),y()});b.subscribe(E)}else y()},y=function(){var b=!1;_=p.subscribe(d.createOperatorSubscriber(S,void 0,function(){++C{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.repeatWhen=void 0;var n=o(81280),i=o(90120),d=o(66080),a=o(35744);h.repeatWhen=function l(e){return d.operate(function(u,c){var g,p,v=!1,S=!1,C=!1,_=function(){return C&&S&&(c.complete(),!0)},y=function(){C=!1,g=u.subscribe(a.createOperatorSubscriber(c,void 0,function(){C=!0,!_()&&(p||(p=new i.Subject,n.innerFrom(e(p)).subscribe(a.createOperatorSubscriber(c,function(){g?y():v=!0},function(){S=!0,_()}))),p).next()})),v&&(g.unsubscribe(),g=null,v=!1,y())};y()})}},584:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.retry=void 0;var n=o(66080),i=o(35744),d=o(55184),a=o(34168),l=o(81280);h.retry=function e(u){var c;void 0===u&&(u=1/0);var g=(c=u&&"object"==typeof u?u:{count:u}).count,v=void 0===g?1/0:g,p=c.delay,S=c.resetOnSuccess,C=void 0!==S&&S;return v<=0?d.identity:n.operate(function(_,f){var b,y=0,E=function(){var M=!1;b=_.subscribe(i.createOperatorSubscriber(f,function(A){C&&(y=0),f.next(A)},void 0,function(A){if(y++{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.retryWhen=void 0;var n=o(81280),i=o(90120),d=o(66080),a=o(35744);h.retryWhen=function l(e){return d.operate(function(u,c){var g,p,v=!1,S=function(){g=u.subscribe(a.createOperatorSubscriber(c,void 0,void 0,function(C){p||(p=new i.Subject,n.innerFrom(e(p)).subscribe(a.createOperatorSubscriber(c,function(){return g?S():v=!0}))),p&&p.next(C)})),v&&(g.unsubscribe(),g=null,v=!1,S())};S()})}},64968:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.sample=void 0;var n=o(81280),i=o(66080),d=o(48320),a=o(35744);h.sample=function l(e){return i.operate(function(u,c){var g=!1,v=null;u.subscribe(a.createOperatorSubscriber(c,function(p){g=!0,v=p})),n.innerFrom(e).subscribe(a.createOperatorSubscriber(c,function(){if(g){g=!1;var p=v;v=null,c.next(p)}},d.noop))})}},97792:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.sampleTime=void 0;var n=o(69252),i=o(64968),d=o(2071);h.sampleTime=function a(l,e){return void 0===e&&(e=n.asyncScheduler),i.sample(d.interval(l,e))}},17752:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scan=void 0;var n=o(66080),i=o(56500);h.scan=function d(a,l){return n.operate(i.scanInternals(a,l,arguments.length>=2,!0))}},56500:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scanInternals=void 0;var n=o(35744);h.scanInternals=function i(d,a,l,e,u){return function(c,g){var v=l,p=a,S=0;c.subscribe(n.createOperatorSubscriber(g,function(C){var _=S++;p=v?d(p,C,_):(v=!0,C),e&&g.next(p)},u&&function(){v&&g.next(p),g.complete()}))}}},43904:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.sequenceEqual=void 0;var n=o(66080),i=o(35744),d=o(81280);h.sequenceEqual=function a(e,u){return void 0===u&&(u=function(c,g){return c===g}),n.operate(function(c,g){var v={buffer:[],complete:!1},p={buffer:[],complete:!1},S=function(_){g.next(_),g.complete()},C=function(_,f){var y=i.createOperatorSubscriber(g,function(b){var E=f.buffer;0===E.length?f.complete?S(!1):_.buffer.push(b):!u(b,E.shift())&&S(!1)},function(){_.complete=!0,f.complete&&S(0===f.buffer.length),y?.unsubscribe()});return y};c.subscribe(C(v,p)),d.innerFrom(e).subscribe(C(p,v))})}},95912:function(pe,h,o){"use strict";var n=this&&this.__read||function(g,v){var p="function"==typeof Symbol&&g[Symbol.iterator];if(!p)return g;var C,f,S=p.call(g),_=[];try{for(;(void 0===v||v-- >0)&&!(C=S.next()).done;)_.push(C.value)}catch(y){f={error:y}}finally{try{C&&!C.done&&(p=S.return)&&p.call(S)}finally{if(f)throw f.error}}return _},i=this&&this.__spreadArray||function(g,v){for(var p=0,S=v.length,C=g.length;p0&&(M=new l.SafeSubscriber({next:function(te){return G.next(te)},error:function(te){T=!0,P(),A=c(x,C,te),G.error(te)},complete:function(){j=!0,P(),A=c(x,f),G.complete()}}),d.innerFrom(O).subscribe(M))})(E)}}},20468:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.shareReplay=void 0;var n=o(38640),i=o(95912);h.shareReplay=function d(a,l,e){var u,c,g,v,p=!1;return a&&"object"==typeof a?(v=void 0===(u=a.bufferSize)?1/0:u,l=void 0===(c=a.windowTime)?1/0:c,p=void 0!==(g=a.refCount)&&g,e=a.scheduler):v=a??1/0,i.share({connector:function(){return new n.ReplaySubject(v,l,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:p})}},43952:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.single=void 0;var n=o(51544),i=o(71016),d=o(15496),a=o(66080),l=o(35744);h.single=function e(u){return a.operate(function(c,g){var p,v=!1,S=!1,C=0;c.subscribe(l.createOperatorSubscriber(g,function(_){S=!0,(!u||u(_,C++,c))&&(v&&g.error(new i.SequenceError("Too many matching values")),v=!0,p=_)},function(){v?(g.next(p),g.complete()):g.error(S?new d.NotFoundError("No matching values"):new n.EmptyError)}))})}},98196:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skip=void 0;var n=o(39840);h.skip=function i(d){return n.filter(function(a,l){return d<=l})}},47832:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skipLast=void 0;var n=o(55184),i=o(66080),d=o(35744);h.skipLast=function a(l){return l<=0?n.identity:i.operate(function(e,u){var c=new Array(l),g=0;return e.subscribe(d.createOperatorSubscriber(u,function(v){var p=g++;if(p{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skipUntil=void 0;var n=o(66080),i=o(35744),d=o(81280),a=o(48320);h.skipUntil=function l(e){return n.operate(function(u,c){var g=!1,v=i.createOperatorSubscriber(c,function(){v?.unsubscribe(),g=!0},a.noop);d.innerFrom(e).subscribe(v),u.subscribe(i.createOperatorSubscriber(c,function(p){return g&&c.next(p)}))})}},49856:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skipWhile=void 0;var n=o(66080),i=o(35744);h.skipWhile=function d(a){return n.operate(function(l,e){var u=!1,c=0;l.subscribe(i.createOperatorSubscriber(e,function(g){return(u||(u=!a(g,c++)))&&e.next(g)}))})}},59612:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.startWith=void 0;var n=o(24560),i=o(69724),d=o(66080);h.startWith=function a(){for(var l=[],e=0;e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.subscribeOn=void 0;var n=o(66080);h.subscribeOn=function i(d,a){return void 0===a&&(a=0),n.operate(function(l,e){e.add(d.schedule(function(){return l.subscribe(e)},a))})}},63368:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchAll=void 0;var n=o(39876),i=o(55184);h.switchAll=function d(){return n.switchMap(i.identity)}},39876:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchMap=void 0;var n=o(81280),i=o(66080),d=o(35744);h.switchMap=function a(l,e){return i.operate(function(u,c){var g=null,v=0,p=!1,S=function(){return p&&!g&&c.complete()};u.subscribe(d.createOperatorSubscriber(c,function(C){g?.unsubscribe();var _=0,f=v++;n.innerFrom(l(C,f)).subscribe(g=d.createOperatorSubscriber(c,function(y){return c.next(e?e(C,y,f,_++):y)},function(){g=null,S()}))},function(){p=!0,S()}))})}},57168:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchMapTo=void 0;var n=o(39876),i=o(82360);h.switchMapTo=function d(a,l){return i.isFunction(l)?n.switchMap(function(){return a},l):n.switchMap(function(){return a})}},19980:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchScan=void 0;var n=o(39876),i=o(66080);h.switchScan=function d(a,l){return i.operate(function(e,u){var c=l;return n.switchMap(function(g,v){return a(c,g,v)},function(g,v){return c=v,v})(e).subscribe(u),function(){c=null}})}},38120:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.take=void 0;var n=o(31456),i=o(66080),d=o(35744);h.take=function a(l){return l<=0?function(){return n.EMPTY}:i.operate(function(e,u){var c=0;e.subscribe(d.createOperatorSubscriber(u,function(g){++c<=l&&(u.next(g),l<=c&&u.complete())}))})}},32224:function(pe,h,o){"use strict";var n=this&&this.__values||function(e){var u="function"==typeof Symbol&&Symbol.iterator,c=u&&e[u],g=0;if(c)return c.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.takeLast=void 0;var i=o(31456),d=o(66080),a=o(35744);h.takeLast=function l(e){return e<=0?function(){return i.EMPTY}:d.operate(function(u,c){var g=[];u.subscribe(a.createOperatorSubscriber(c,function(v){g.push(v),e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.takeUntil=void 0;var n=o(66080),i=o(35744),d=o(81280),a=o(48320);h.takeUntil=function l(e){return n.operate(function(u,c){d.innerFrom(e).subscribe(i.createOperatorSubscriber(c,function(){return c.complete()},a.noop)),!c.closed&&u.subscribe(c)})}},35408:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.takeWhile=void 0;var n=o(66080),i=o(35744);h.takeWhile=function d(a,l){return void 0===l&&(l=!1),n.operate(function(e,u){var c=0;e.subscribe(i.createOperatorSubscriber(u,function(g){var v=a(g,c++);(v||l)&&u.next(g),!v&&u.complete()}))})}},46748:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.tap=void 0;var n=o(82360),i=o(66080),d=o(35744),a=o(55184);h.tap=function l(e,u,c){var g=n.isFunction(e)||u||c?{next:e,error:u,complete:c}:e;return g?i.operate(function(v,p){var S;null===(S=g.subscribe)||void 0===S||S.call(g);var C=!0;v.subscribe(d.createOperatorSubscriber(p,function(_){var f;null===(f=g.next)||void 0===f||f.call(g,_),p.next(_)},function(){var _;C=!1,null===(_=g.complete)||void 0===_||_.call(g),p.complete()},function(_){var f;C=!1,null===(f=g.error)||void 0===f||f.call(g,_),p.error(_)},function(){var _,f;C&&(null===(_=g.unsubscribe)||void 0===_||_.call(g)),null===(f=g.finalize)||void 0===f||f.call(g)}))}):a.identity}},66720:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throttle=void 0;var n=o(66080),i=o(35744),d=o(81280);h.throttle=function a(l,e){return n.operate(function(u,c){var g=e??{},v=g.leading,p=void 0===v||v,S=g.trailing,C=void 0!==S&&S,_=!1,f=null,y=null,b=!1,E=function(){y?.unsubscribe(),y=null,C&&(I(),b&&c.complete())},M=function(){y=null,b&&c.complete()},A=function(F){return y=d.innerFrom(l(F)).subscribe(i.createOperatorSubscriber(c,E,M))},I=function(){if(_){_=!1;var F=f;f=null,c.next(F),!b&&A(F)}};u.subscribe(i.createOperatorSubscriber(c,function(F){_=!0,f=F,(!y||y.closed)&&(p?I():A(F))},function(){b=!0,(!(C&&_&&y)||y.closed)&&c.complete()}))})}},44236:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throttleTime=void 0;var n=o(69252),i=o(66720),d=o(34168);h.throttleTime=function a(l,e,u){void 0===e&&(e=n.asyncScheduler);var c=d.timer(l,e);return i.throttle(function(){return c},u)}},51056:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throwIfEmpty=void 0;var n=o(51544),i=o(66080),d=o(35744);function l(){return new n.EmptyError}h.throwIfEmpty=function a(e){return void 0===e&&(e=l),i.operate(function(u,c){var g=!1;u.subscribe(d.createOperatorSubscriber(c,function(v){g=!0,c.next(v)},function(){return g?c.complete():c.error(e())}))})}},39500:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.TimeInterval=h.timeInterval=void 0;var n=o(69252),i=o(66080),d=o(35744);h.timeInterval=function a(e){return void 0===e&&(e=n.asyncScheduler),i.operate(function(u,c){var g=e.now();u.subscribe(d.createOperatorSubscriber(c,function(v){var p=e.now(),S=p-g;g=p,c.next(new l(v,S))}))})};var l=function(){return function e(u,c){this.value=u,this.interval=c}}();h.TimeInterval=l},20268:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timeout=h.TimeoutError=void 0;var n=o(69252),i=o(42384),d=o(66080),a=o(81280),l=o(26624),e=o(35744),u=o(61760);function g(v){throw new h.TimeoutError(v)}h.TimeoutError=l.createErrorClass(function(v){return function(S){void 0===S&&(S=null),v(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=S}}),h.timeout=function c(v,p){var S=i.isValidDate(v)?{first:v}:"number"==typeof v?{each:v}:v,C=S.first,_=S.each,f=S.with,y=void 0===f?g:f,b=S.scheduler,E=void 0===b?p??n.asyncScheduler:b,M=S.meta,A=void 0===M?null:M;if(null==C&&null==_)throw new TypeError("No timeout provided.");return d.operate(function(I,F){var j,T,P=null,x=0,N=function(O){T=u.executeSchedule(F,E,function(){try{j.unsubscribe(),a.innerFrom(y({meta:A,lastValue:P,seen:x})).subscribe(F)}catch(H){F.error(H)}},O)};j=I.subscribe(e.createOperatorSubscriber(F,function(O){T?.unsubscribe(),x++,F.next(P=O),_>0&&N(_)},void 0,void 0,function(){T?.closed||T?.unsubscribe(),P=null})),!x&&N(null!=C?"number"==typeof C?C:+C-E.now():_)})}},88536:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timeoutWith=void 0;var n=o(69252),i=o(42384),d=o(20268);h.timeoutWith=function a(l,e,u){var c,g,v;if(u=u??n.async,i.isValidDate(l)?c=l:"number"==typeof l&&(g=l),!e)throw new TypeError("No observable provided to switch to");if(v=function(){return e},null==c&&null==g)throw new TypeError("No timeout provided.");return d.timeout({first:c,each:g,scheduler:u,with:v})}},37248:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timestamp=void 0;var n=o(8764),i=o(784);h.timestamp=function d(a){return void 0===a&&(a=n.dateTimestampProvider),i.map(function(l){return{value:l,timestamp:a.now()}})}},29316:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.toArray=void 0;var n=o(39980),i=o(66080),d=function(l,e){return l.push(e),l};h.toArray=function a(){return i.operate(function(l,e){n.reduce(d,[])(l).subscribe(e)})}},40560:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.window=void 0;var n=o(90120),i=o(66080),d=o(35744),a=o(48320),l=o(81280);h.window=function e(u){return i.operate(function(c,g){var v=new n.Subject;g.next(v.asObservable());var p=function(S){v.error(S),g.error(S)};return c.subscribe(d.createOperatorSubscriber(g,function(S){return v?.next(S)},function(){v.complete(),g.complete()},p)),l.innerFrom(u).subscribe(d.createOperatorSubscriber(g,function(){v.complete(),g.next(v=new n.Subject)},a.noop,p)),function(){v?.unsubscribe(),v=null}})}},79068:function(pe,h,o){"use strict";var n=this&&this.__values||function(e){var u="function"==typeof Symbol&&Symbol.iterator,c=u&&e[u],g=0;if(c)return c.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.windowCount=void 0;var i=o(90120),d=o(66080),a=o(35744);h.windowCount=function l(e,u){void 0===u&&(u=0);var c=u>0?u:e;return d.operate(function(g,v){var p=[new i.Subject],C=0;v.next(p[0].asObservable()),g.subscribe(a.createOperatorSubscriber(v,function(_){var f,y;try{for(var b=n(p),E=b.next();!E.done;E=b.next())E.value.next(_)}catch(F){f={error:F}}finally{try{E&&!E.done&&(y=b.return)&&y.call(b)}finally{if(f)throw f.error}}var A=C-e+1;if(A>=0&&A%c==0&&p.shift().complete(),++C%c==0){var I=new i.Subject;p.push(I),v.next(I.asObservable())}},function(){for(;p.length>0;)p.shift().complete();v.complete()},function(_){for(;p.length>0;)p.shift().error(_);v.error(_)},function(){p=null}))})}},11984:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.windowTime=void 0;var n=o(90120),i=o(69252),d=o(40576),a=o(66080),l=o(35744),e=o(39852),u=o(69724),c=o(61760);h.windowTime=function g(v){for(var p,S,C=[],_=1;_=0?c.executeSchedule(M,f,j,y,!0):I=!0,j();var T=function(x){return A.slice().forEach(x)},P=function(x){T(function(N){return x(N.window)}),x(M),M.unsubscribe()};return E.subscribe(l.createOperatorSubscriber(M,function(x){T(function(N){N.window.next(x),b<=++N.seen&&F(N)})},function(){return P(function(x){return x.complete()})},function(x){return P(function(N){return N.error(x)})})),function(){A=null}})}},97776:function(pe,h,o){"use strict";var n=this&&this.__values||function(v){var p="function"==typeof Symbol&&Symbol.iterator,S=p&&v[p],C=0;if(S)return S.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&C>=v.length&&(v=void 0),{value:v&&v[C++],done:!v}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.windowToggle=void 0;var i=o(90120),d=o(40576),a=o(66080),l=o(81280),e=o(35744),u=o(48320),c=o(39852);h.windowToggle=function g(v,p){return a.operate(function(S,C){var _=[],f=function(y){for(;0<_.length;)_.shift().error(y);C.error(y)};l.innerFrom(v).subscribe(e.createOperatorSubscriber(C,function(y){var b=new i.Subject;_.push(b);var A,E=new d.Subscription;try{A=l.innerFrom(p(y))}catch(I){return void f(I)}C.next(b.asObservable()),E.add(A.subscribe(e.createOperatorSubscriber(C,function(){c.arrRemove(_,b),b.complete(),E.unsubscribe()},u.noop,f)))},u.noop)),S.subscribe(e.createOperatorSubscriber(C,function(y){var b,E,M=_.slice();try{for(var A=n(M),I=A.next();!I.done;I=A.next())I.value.next(y)}catch(j){b={error:j}}finally{try{I&&!I.done&&(E=A.return)&&E.call(A)}finally{if(b)throw b.error}}},function(){for(;0<_.length;)_.shift().complete();C.complete()},f,function(){for(;0<_.length;)_.shift().unsubscribe()}))})}},36872:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.windowWhen=void 0;var n=o(90120),i=o(66080),d=o(35744),a=o(81280);h.windowWhen=function l(e){return i.operate(function(u,c){var g,v,p=function(C){g.error(C),c.error(C)},S=function(){var C;v?.unsubscribe(),g?.complete(),g=new n.Subject,c.next(g.asObservable());try{C=a.innerFrom(e())}catch(_){return void p(_)}C.subscribe(v=d.createOperatorSubscriber(c,S,S,p))};S(),u.subscribe(d.createOperatorSubscriber(c,function(C){return g.next(C)},function(){g.complete(),c.complete()},p,function(){v?.unsubscribe(),g=null}))})}},95780:function(pe,h,o){"use strict";var n=this&&this.__read||function(v,p){var S="function"==typeof Symbol&&v[Symbol.iterator];if(!S)return v;var _,y,C=S.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=C.next()).done;)f.push(_.value)}catch(b){y={error:b}}finally{try{_&&!_.done&&(S=C.return)&&S.call(C)}finally{if(y)throw y.error}}return f},i=this&&this.__spreadArray||function(v,p){for(var S=0,C=p.length,_=v.length;S0)&&!(v=g.next()).done;)p.push(v.value)}catch(C){S={error:C}}finally{try{v&&!v.done&&(c=g.return)&&c.call(g)}finally{if(S)throw S.error}}return p},i=this&&this.__spreadArray||function(e,u){for(var c=0,g=u.length,v=e.length;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.zipAll=void 0;var n=o(59172),i=o(28400);h.zipAll=function d(a){return i.joinAllInternals(n.zip,a)}},56824:function(pe,h,o){"use strict";var n=this&&this.__read||function(l,e){var u="function"==typeof Symbol&&l[Symbol.iterator];if(!u)return l;var g,p,c=u.call(l),v=[];try{for(;(void 0===e||e-- >0)&&!(g=c.next()).done;)v.push(g.value)}catch(S){p={error:S}}finally{try{g&&!g.done&&(u=c.return)&&u.call(c)}finally{if(p)throw p.error}}return v},i=this&&this.__spreadArray||function(l,e){for(var u=0,c=e.length,g=l.length;u{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleArray=void 0;var n=o(15448);h.scheduleArray=function i(d,a){return new n.Observable(function(l){var e=0;return a.schedule(function(){e===d.length?l.complete():(l.next(d[e++]),l.closed||this.schedule())})})}},37360:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleAsyncIterable=void 0;var n=o(15448),i=o(61760);h.scheduleAsyncIterable=function d(a,l){if(!a)throw new Error("Iterable cannot be null");return new n.Observable(function(e){i.executeSchedule(e,l,function(){var u=a[Symbol.asyncIterator]();i.executeSchedule(e,l,function(){u.next().then(function(c){c.done?e.complete():e.next(c.value)})},0,!0)})})}},66589:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleIterable=void 0;var n=o(15448),i=o(71040),d=o(82360),a=o(61760);h.scheduleIterable=function l(e,u){return new n.Observable(function(c){var g;return a.executeSchedule(c,u,function(){g=e[i.iterator](),a.executeSchedule(c,u,function(){var v,p,S;try{p=(v=g.next()).value,S=v.done}catch(C){return void c.error(C)}S?c.complete():c.next(p)},0,!0)}),function(){return d.isFunction(g?.return)&&g.return()}})}},90996:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleObservable=void 0;var n=o(81280),i=o(33752),d=o(67992);h.scheduleObservable=function a(l,e){return n.innerFrom(l).pipe(d.subscribeOn(e),i.observeOn(e))}},23219:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.schedulePromise=void 0;var n=o(81280),i=o(33752),d=o(67992);h.schedulePromise=function a(l,e){return n.innerFrom(l).pipe(d.subscribeOn(e),i.observeOn(e))}},95196:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleReadableStreamLike=void 0;var n=o(37360),i=o(11416);h.scheduleReadableStreamLike=function d(a,l){return n.scheduleAsyncIterable(i.readableStreamLikeToAsyncGenerator(a),l)}},44232:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduled=void 0;var n=o(90996),i=o(23219),d=o(24920),a=o(66589),l=o(37360),e=o(18440),u=o(28296),c=o(18224),g=o(30640),v=o(37156),p=o(34088),S=o(11416),C=o(95196);h.scheduled=function _(f,y){if(null!=f){if(e.isInteropObservable(f))return n.scheduleObservable(f,y);if(c.isArrayLike(f))return d.scheduleArray(f,y);if(u.isPromise(f))return i.schedulePromise(f,y);if(v.isAsyncIterable(f))return l.scheduleAsyncIterable(f,y);if(g.isIterable(f))return a.scheduleIterable(f,y);if(S.isReadableStreamLike(f))return C.scheduleReadableStreamLike(f,y)}throw p.createInvalidObservableTypeError(f)}},30576:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.Action=void 0;var d=function(a){function l(e,u){return a.call(this)||this}return n(l,a),l.prototype.schedule=function(e,u){return void 0===u&&(u=0),this},l}(o(40576).Subscription);h.Action=d},70079:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var l=function(e,u){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,g){c.__proto__=g}||function(c,g){for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(c[v]=g[v])})(e,u)};return function(e,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function c(){this.constructor=e}l(e,u),e.prototype=null===u?Object.create(u):(c.prototype=u.prototype,new c)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AnimationFrameAction=void 0;var i=o(6972),d=o(24352),a=function(l){function e(u,c){var g=l.call(this,u,c)||this;return g.scheduler=u,g.work=c,g}return n(e,l),e.prototype.requestAsyncId=function(u,c,g){return void 0===g&&(g=0),null!==g&&g>0?l.prototype.requestAsyncId.call(this,u,c,g):(u.actions.push(this),u._scheduled||(u._scheduled=d.animationFrameProvider.requestAnimationFrame(function(){return u.flush(void 0)})))},e.prototype.recycleAsyncId=function(u,c,g){var v;if(void 0===g&&(g=0),null!=g?g>0:this.delay>0)return l.prototype.recycleAsyncId.call(this,u,c,g);var p=u.actions;null!=c&&(null===(v=p[p.length-1])||void 0===v?void 0:v.id)!==c&&(d.animationFrameProvider.cancelAnimationFrame(c),u._scheduled=void 0)},e}(i.AsyncAction);h.AnimationFrameAction=a},41752:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AnimationFrameScheduler=void 0;var d=function(a){function l(){return null!==a&&a.apply(this,arguments)||this}return n(l,a),l.prototype.flush=function(e){this._active=!0;var u=this._scheduled;this._scheduled=void 0;var g,c=this.actions;e=e||c.shift();do{if(g=e.execute(e.state,e.delay))break}while((e=c[0])&&e.id===u&&c.shift());if(this._active=!1,g){for(;(e=c[0])&&e.id===u&&c.shift();)e.unsubscribe();throw g}},l}(o(16660).AsyncScheduler);h.AnimationFrameScheduler=d},48368:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var l=function(e,u){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,g){c.__proto__=g}||function(c,g){for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(c[v]=g[v])})(e,u)};return function(e,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function c(){this.constructor=e}l(e,u),e.prototype=null===u?Object.create(u):(c.prototype=u.prototype,new c)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsapAction=void 0;var i=o(6972),d=o(7832),a=function(l){function e(u,c){var g=l.call(this,u,c)||this;return g.scheduler=u,g.work=c,g}return n(e,l),e.prototype.requestAsyncId=function(u,c,g){return void 0===g&&(g=0),null!==g&&g>0?l.prototype.requestAsyncId.call(this,u,c,g):(u.actions.push(this),u._scheduled||(u._scheduled=d.immediateProvider.setImmediate(u.flush.bind(u,void 0))))},e.prototype.recycleAsyncId=function(u,c,g){var v;if(void 0===g&&(g=0),null!=g?g>0:this.delay>0)return l.prototype.recycleAsyncId.call(this,u,c,g);var p=u.actions;null!=c&&(null===(v=p[p.length-1])||void 0===v?void 0:v.id)!==c&&(d.immediateProvider.clearImmediate(c),u._scheduled===c&&(u._scheduled=void 0))},e}(i.AsyncAction);h.AsapAction=a},32400:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsapScheduler=void 0;var d=function(a){function l(){return null!==a&&a.apply(this,arguments)||this}return n(l,a),l.prototype.flush=function(e){this._active=!0;var u=this._scheduled;this._scheduled=void 0;var g,c=this.actions;e=e||c.shift();do{if(g=e.execute(e.state,e.delay))break}while((e=c[0])&&e.id===u&&c.shift());if(this._active=!1,g){for(;(e=c[0])&&e.id===u&&c.shift();)e.unsubscribe();throw g}},l}(o(16660).AsyncScheduler);h.AsapScheduler=d},6972:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var e=function(u,c){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var p in v)Object.prototype.hasOwnProperty.call(v,p)&&(g[p]=v[p])})(u,c)};return function(u,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function g(){this.constructor=u}e(u,c),u.prototype=null===c?Object.create(c):(g.prototype=c.prototype,new g)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsyncAction=void 0;var i=o(30576),d=o(61691),a=o(39852),l=function(e){function u(c,g){var v=e.call(this,c,g)||this;return v.scheduler=c,v.work=g,v.pending=!1,v}return n(u,e),u.prototype.schedule=function(c,g){var v;if(void 0===g&&(g=0),this.closed)return this;this.state=c;var p=this.id,S=this.scheduler;return null!=p&&(this.id=this.recycleAsyncId(S,p,g)),this.pending=!0,this.delay=g,this.id=null!==(v=this.id)&&void 0!==v?v:this.requestAsyncId(S,this.id,g),this},u.prototype.requestAsyncId=function(c,g,v){return void 0===v&&(v=0),d.intervalProvider.setInterval(c.flush.bind(c,this),v)},u.prototype.recycleAsyncId=function(c,g,v){if(void 0===v&&(v=0),null!=v&&this.delay===v&&!1===this.pending)return g;null!=g&&d.intervalProvider.clearInterval(g)},u.prototype.execute=function(c,g){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var v=this._execute(c,g);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},u.prototype._execute=function(c,g){var p,v=!1;try{this.work(c)}catch(S){v=!0,p=S||new Error("Scheduled action threw falsy error")}if(v)return this.unsubscribe(),p},u.prototype.unsubscribe=function(){if(!this.closed){var g=this.id,v=this.scheduler,p=v.actions;this.work=this.state=this.scheduler=null,this.pending=!1,a.arrRemove(p,this),null!=g&&(this.id=this.recycleAsyncId(v,g,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},u}(i.Action);h.AsyncAction=l},16660:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsyncScheduler=void 0;var i=o(25784),d=function(a){function l(e,u){void 0===u&&(u=i.Scheduler.now);var c=a.call(this,e,u)||this;return c.actions=[],c._active=!1,c}return n(l,a),l.prototype.flush=function(e){var u=this.actions;if(this._active)u.push(e);else{var c;this._active=!0;do{if(c=e.execute(e.state,e.delay))break}while(e=u.shift());if(this._active=!1,c){for(;e=u.shift();)e.unsubscribe();throw c}}},l}(i.Scheduler);h.AsyncScheduler=d},71688:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.QueueAction=void 0;var d=function(a){function l(e,u){var c=a.call(this,e,u)||this;return c.scheduler=e,c.work=u,c}return n(l,a),l.prototype.schedule=function(e,u){return void 0===u&&(u=0),u>0?a.prototype.schedule.call(this,e,u):(this.delay=u,this.state=e,this.scheduler.flush(this),this)},l.prototype.execute=function(e,u){return u>0||this.closed?a.prototype.execute.call(this,e,u):this._execute(e,u)},l.prototype.requestAsyncId=function(e,u,c){return void 0===c&&(c=0),null!=c&&c>0||null==c&&this.delay>0?a.prototype.requestAsyncId.call(this,e,u,c):(e.flush(this),0)},l}(o(6972).AsyncAction);h.QueueAction=d},36148:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(l,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(u[g]=c[g])})(l,e)};return function(l,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=l}a(l,e),l.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.QueueScheduler=void 0;var d=function(a){function l(){return null!==a&&a.apply(this,arguments)||this}return n(l,a),l}(o(16660).AsyncScheduler);h.QueueScheduler=d},45992:function(pe,h,o){"use strict";var n=this&&this.__extends||function(){var u=function(c,g){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,p){v.__proto__=p}||function(v,p){for(var S in p)Object.prototype.hasOwnProperty.call(p,S)&&(v[S]=p[S])})(c,g)};return function(c,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=c}u(c,g),c.prototype=null===g?Object.create(g):(v.prototype=g.prototype,new v)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.VirtualAction=h.VirtualTimeScheduler=void 0;var i=o(6972),d=o(40576),l=function(u){function c(g,v){void 0===g&&(g=e),void 0===v&&(v=1/0);var p=u.call(this,g,function(){return p.frame})||this;return p.maxFrames=v,p.frame=0,p.index=-1,p}return n(c,u),c.prototype.flush=function(){for(var S,C,v=this.actions,p=this.maxFrames;(C=v[0])&&C.delay<=p&&(v.shift(),this.frame=C.delay,!(S=C.execute(C.state,C.delay))););if(S){for(;C=v.shift();)C.unsubscribe();throw S}},c.frameTimeFactor=10,c}(o(16660).AsyncScheduler);h.VirtualTimeScheduler=l;var e=function(u){function c(g,v,p){void 0===p&&(p=g.index+=1);var S=u.call(this,g,v)||this;return S.scheduler=g,S.work=v,S.index=p,S.active=!0,S.index=g.index=p,S}return n(c,u),c.prototype.schedule=function(g,v){if(void 0===v&&(v=0),Number.isFinite(v)){if(!this.id)return u.prototype.schedule.call(this,g,v);this.active=!1;var p=new c(this.scheduler,this.work);return this.add(p),p.schedule(g,v)}return d.Subscription.EMPTY},c.prototype.requestAsyncId=function(g,v,p){void 0===p&&(p=0),this.delay=g.frame+p;var S=g.actions;return S.push(this),S.sort(c.sortActions),1},c.prototype.recycleAsyncId=function(g,v,p){void 0===p&&(p=0)},c.prototype._execute=function(g,v){if(!0===this.active)return u.prototype._execute.call(this,g,v)},c.sortActions=function(g,v){return g.delay===v.delay?g.index===v.index?0:g.index>v.index?1:-1:g.delay>v.delay?1:-1},c}(i.AsyncAction);h.VirtualAction=e},70232:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.animationFrame=h.animationFrameScheduler=void 0;var n=o(70079),i=o(41752);h.animationFrameScheduler=new i.AnimationFrameScheduler(n.AnimationFrameAction),h.animationFrame=h.animationFrameScheduler},24352:function(pe,h,o){"use strict";var n=this&&this.__read||function(a,l){var e="function"==typeof Symbol&&a[Symbol.iterator];if(!e)return a;var c,v,u=e.call(a),g=[];try{for(;(void 0===l||l-- >0)&&!(c=u.next()).done;)g.push(c.value)}catch(p){v={error:p}}finally{try{c&&!c.done&&(e=u.return)&&e.call(u)}finally{if(v)throw v.error}}return g},i=this&&this.__spreadArray||function(a,l){for(var e=0,u=l.length,c=a.length;e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.asap=h.asapScheduler=void 0;var n=o(48368),i=o(32400);h.asapScheduler=new i.AsapScheduler(n.AsapAction),h.asap=h.asapScheduler},69252:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.async=h.asyncScheduler=void 0;var n=o(6972),i=o(16660);h.asyncScheduler=new i.AsyncScheduler(n.AsyncAction),h.async=h.asyncScheduler},8764:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.dateTimestampProvider=void 0,h.dateTimestampProvider={now:function(){return(h.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7832:function(pe,h,o){"use strict";var n=this&&this.__read||function(e,u){var c="function"==typeof Symbol&&e[Symbol.iterator];if(!c)return e;var v,S,g=c.call(e),p=[];try{for(;(void 0===u||u-- >0)&&!(v=g.next()).done;)p.push(v.value)}catch(C){S={error:C}}finally{try{v&&!v.done&&(c=g.return)&&c.call(g)}finally{if(S)throw S.error}}return p},i=this&&this.__spreadArray||function(e,u){for(var c=0,g=u.length,v=e.length;c0)&&!(e=l.next()).done;)u.push(e.value)}catch(g){c={error:g}}finally{try{e&&!e.done&&(a=l.return)&&a.call(l)}finally{if(c)throw c.error}}return u},n=this&&this.__spreadArray||function(i,d){for(var a=0,l=d.length,e=i.length;a{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.performanceTimestampProvider=void 0,h.performanceTimestampProvider={now:function(){return(h.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},72056:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.queue=h.queueScheduler=void 0;var n=o(71688),i=o(36148);h.queueScheduler=new i.QueueScheduler(n.QueueAction),h.queue=h.queueScheduler},82480:function(pe,h){"use strict";var o=this&&this.__read||function(i,d){var a="function"==typeof Symbol&&i[Symbol.iterator];if(!a)return i;var e,c,l=a.call(i),u=[];try{for(;(void 0===d||d-- >0)&&!(e=l.next()).done;)u.push(e.value)}catch(g){c={error:g}}finally{try{e&&!e.done&&(a=l.return)&&a.call(l)}finally{if(c)throw c.error}}return u},n=this&&this.__spreadArray||function(i,d){for(var a=0,l=d.length,e=i.length;a{"use strict";function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(h,"__esModule",{value:!0}),h.iterator=h.getSymbolIterator=void 0,h.getSymbolIterator=o,h.iterator=o()},72064:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.observable=void 0,h.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},68828:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0})},32929:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ArgumentOutOfRangeError=void 0;var n=o(26624);h.ArgumentOutOfRangeError=n.createErrorClass(function(i){return function(){i(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},51544:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.EmptyError=void 0;var n=o(26624);h.EmptyError=n.createErrorClass(function(i){return function(){i(this),this.name="EmptyError",this.message="no elements in sequence"}})},6420:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.TestTools=h.Immediate=void 0;var n,o=1,i={};function d(a){return a in i&&(delete i[a],!0)}h.Immediate={setImmediate:function(a){var l=o++;return i[l]=!0,n||(n=Promise.resolve()),n.then(function(){return d(l)&&a()}),l},clearImmediate:function(a){d(a)}},h.TestTools={pending:function(){return Object.keys(i).length}}},15496:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.NotFoundError=void 0;var n=o(26624);h.NotFoundError=n.createErrorClass(function(i){return function(a){i(this),this.name="NotFoundError",this.message=a}})},92304:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ObjectUnsubscribedError=void 0;var n=o(26624);h.ObjectUnsubscribedError=n.createErrorClass(function(i){return function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},71016:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.SequenceError=void 0;var n=o(26624);h.SequenceError=n.createErrorClass(function(i){return function(a){i(this),this.name="SequenceError",this.message=a}})},9560:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.UnsubscriptionError=void 0;var n=o(26624);h.UnsubscriptionError=n.createErrorClass(function(i){return function(a){i(this),this.message=a?a.length+" errors occurred during unsubscription:\n"+a.map(function(l,e){return e+1+") "+l.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=a}})},69724:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.popNumber=h.popScheduler=h.popResultSelector=void 0;var n=o(82360),i=o(76964);function d(u){return u[u.length-1]}h.popResultSelector=function a(u){return n.isFunction(d(u))?u.pop():void 0},h.popScheduler=function l(u){return i.isScheduler(d(u))?u.pop():void 0},h.popNumber=function e(u,c){return"number"==typeof d(u)?u.pop():c}},75352:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.argsArgArrayOrObject=void 0;var o=Array.isArray,n=Object.getPrototypeOf,i=Object.prototype,d=Object.keys;h.argsArgArrayOrObject=function a(e){if(1===e.length){var u=e[0];if(o(u))return{args:u,keys:null};if(function l(e){return e&&"object"==typeof e&&n(e)===i}(u)){var c=d(u);return{args:c.map(function(g){return u[g]}),keys:c}}}return{args:e,keys:null}}},50652:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.argsOrArgArray=void 0;var o=Array.isArray;h.argsOrArgArray=function n(i){return 1===i.length&&o(i[0])?i[0]:i}},39852:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.arrRemove=void 0,h.arrRemove=function o(n,i){if(n){var d=n.indexOf(i);0<=d&&n.splice(d,1)}}},26624:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createErrorClass=void 0,h.createErrorClass=function o(n){var d=n(function(a){Error.call(a),a.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}},7788:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createObject=void 0,h.createObject=function o(n,i){return n.reduce(function(d,a,l){return d[a]=i[l],d},{})}},49664:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.captureError=h.errorContext=void 0;var n=o(90584),i=null;h.errorContext=function d(l){if(n.config.useDeprecatedSynchronousErrorHandling){var e=!i;if(e&&(i={errorThrown:!1,error:null}),l(),e){var u=i;if(i=null,u.errorThrown)throw u.error}}else l()},h.captureError=function a(l){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=l)}},61760:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.executeSchedule=void 0,h.executeSchedule=function o(n,i,d,a,l){void 0===a&&(a=0),void 0===l&&(l=!1);var e=i.schedule(function(){d(),l?n.add(this.schedule(null,a)):this.unsubscribe()},a);if(n.add(e),!l)return e}},55184:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.identity=void 0,h.identity=function o(n){return n}},18224:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isArrayLike=void 0,h.isArrayLike=function(o){return o&&"number"==typeof o.length&&"function"!=typeof o}},37156:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isAsyncIterable=void 0;var n=o(82360);h.isAsyncIterable=function i(d){return Symbol.asyncIterator&&n.isFunction(d?.[Symbol.asyncIterator])}},42384:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isValidDate=void 0,h.isValidDate=function o(n){return n instanceof Date&&!isNaN(n)}},82360:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isFunction=void 0,h.isFunction=function o(n){return"function"==typeof n}},18440:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isInteropObservable=void 0;var n=o(72064),i=o(82360);h.isInteropObservable=function d(a){return i.isFunction(a[n.observable])}},30640:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isIterable=void 0;var n=o(71040),i=o(82360);h.isIterable=function d(a){return i.isFunction(a?.[n.iterator])}},38104:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isObservable=void 0;var n=o(15448),i=o(82360);h.isObservable=function d(a){return!!a&&(a instanceof n.Observable||i.isFunction(a.lift)&&i.isFunction(a.subscribe))}},28296:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isPromise=void 0;var n=o(82360);h.isPromise=function i(d){return n.isFunction(d?.then)}},11416:function(pe,h,o){"use strict";var n=this&&this.__generator||function(u,c){var v,p,S,C,g={label:0,sent:function(){if(1&S[0])throw S[1];return S[1]},trys:[],ops:[]};return C={next:_(0),throw:_(1),return:_(2)},"function"==typeof Symbol&&(C[Symbol.iterator]=function(){return this}),C;function _(y){return function(b){return function f(y){if(v)throw new TypeError("Generator is already executing.");for(;g;)try{if(v=1,p&&(S=2&y[0]?p.return:y[0]?p.throw||((S=p.return)&&S.call(p),0):p.next)&&!(S=S.call(p,y[1])).done)return S;switch(p=0,S&&(y=[2&y[0],S.value]),y[0]){case 0:case 1:S=y;break;case 4:return g.label++,{value:y[1],done:!1};case 5:g.label++,p=y[1],y=[0];continue;case 7:y=g.ops.pop(),g.trys.pop();continue;default:if(!(S=(S=g.trys).length>0&&S[S.length-1])&&(6===y[0]||2===y[0])){g=0;continue}if(3===y[0]&&(!S||y[1]>S[0]&&y[1]1||_(M,A)})})}function _(M,A){try{!function f(M){M.value instanceof i?Promise.resolve(M.value.v).then(y,b):E(S[0][2],M)}(v[M](A))}catch(I){E(S[0][3],I)}}function y(M){_("next",M)}function b(M){_("throw",M)}function E(M,A){M(A),S.shift(),S.length&&_(S[0][0],S[0][1])}};Object.defineProperty(h,"__esModule",{value:!0}),h.isReadableStreamLike=h.readableStreamLikeToAsyncGenerator=void 0;var a=o(82360);h.readableStreamLikeToAsyncGenerator=function l(u){return d(this,arguments,function(){var g,v,p;return n(this,function(C){switch(C.label){case 0:g=u.getReader(),C.label=1;case 1:C.trys.push([1,,9,10]),C.label=2;case 2:return[4,i(g.read())];case 3:return v=C.sent(),p=v.value,v.done?[4,i(void 0)]:[3,5];case 4:return[2,C.sent()];case 5:return[4,i(p)];case 6:return[4,C.sent()];case 7:return C.sent(),[3,2];case 8:return[3,10];case 9:return g.releaseLock(),[7];case 10:return[2]}})})},h.isReadableStreamLike=function e(u){return a.isFunction(u?.getReader)}},76964:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isScheduler=void 0;var n=o(82360);h.isScheduler=function i(d){return d&&n.isFunction(d.schedule)}},66080:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.operate=h.hasLift=void 0;var n=o(82360);function i(a){return n.isFunction(a?.lift)}h.hasLift=i,h.operate=function d(a){return function(l){if(i(l))return l.lift(function(e){try{return a(e,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},82664:function(pe,h,o){"use strict";var n=this&&this.__read||function(u,c){var g="function"==typeof Symbol&&u[Symbol.iterator];if(!g)return u;var p,C,v=g.call(u),S=[];try{for(;(void 0===c||c-- >0)&&!(p=v.next()).done;)S.push(p.value)}catch(_){C={error:_}}finally{try{p&&!p.done&&(g=v.return)&&g.call(v)}finally{if(C)throw C.error}}return S},i=this&&this.__spreadArray||function(u,c){for(var g=0,v=c.length,p=u.length;g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.noop=void 0,h.noop=function o(){}},37700:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.not=void 0,h.not=function o(n,i){return function(d,a){return!n.call(i,d,a)}}},19512:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pipeFromArray=h.pipe=void 0;var n=o(55184);function d(a){return 0===a.length?n.identity:1===a.length?a[0]:function(e){return a.reduce(function(u,c){return c(u)},e)}}h.pipe=function i(){for(var a=[],l=0;l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.reportUnhandledError=void 0;var n=o(90584),i=o(82480);h.reportUnhandledError=function d(a){i.timeoutProvider.setTimeout(function(){var l=n.config.onUnhandledError;if(!l)throw a;l(a)})}},34088:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createInvalidObservableTypeError=void 0,h.createInvalidObservableTypeError=function o(n){return new TypeError("You provided "+(null!==n&&"object"==typeof n?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},46700:(pe,h,o)=>{"use strict";o.d(h,{g:()=>i});var n=o(95657);class i extends n.E{constructor(a){super(),this._value=a}get value(){return this.getValue()}_subscribe(a){const l=super._subscribe(a);return!l.closed&&a.next(this._value),l}getValue(){const{hasError:a,thrownError:l,_value:e}=this;if(a)throw l;return this._throwIfClosed(),e}next(a){super.next(this._value=a)}}},53252:(pe,h,o)=>{"use strict";o.d(h,{_:()=>c});var n=o(41760),i=o(46928),d=o(90472),a=o(83928),l=o(74491),e=o(38880),u=o(92075);let c=(()=>{class S{constructor(_){_&&(this._subscribe=_)}lift(_){const f=new S;return f.source=this,f.operator=_,f}subscribe(_,f,y){const b=function p(S){return S&&S instanceof n.yR||function v(S){return S&&(0,e.m)(S.next)&&(0,e.m)(S.error)&&(0,e.m)(S.complete)}(S)&&(0,i.GI)(S)}(_)?_:new n.ot(_,f,y);return(0,u.c)(()=>{const{operator:E,source:M}=this;b.add(E?E.call(b,M):M?this._subscribe(b):this._trySubscribe(b))}),b}_trySubscribe(_){try{return this._subscribe(_)}catch(f){_.error(f)}}forEach(_,f){return new(f=g(f))((y,b)=>{const E=new n.ot({next:M=>{try{_(M)}catch(A){b(A),E.unsubscribe()}},error:b,complete:y});this.subscribe(E)})}_subscribe(_){var f;return null===(f=this.source)||void 0===f?void 0:f.subscribe(_)}[d.a](){return this}pipe(..._){return(0,a.Y)(_)(this)}toPromise(_){return new(_=g(_))((f,y)=>{let b;this.subscribe(E=>b=E,E=>y(E),()=>f(b))})}}return S.create=C=>new S(C),S})();function g(S){var C;return null!==(C=S??l.config.Promise)&&void 0!==C?C:Promise}},22540:(pe,h,o)=>{"use strict";o.d(h,{o:()=>d});var n=o(95657),i=o(35960);class d extends n.E{constructor(l=1/0,e=1/0,u=i.K){super(),this._bufferSize=l,this._windowTime=e,this._timestampProvider=u,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,e)}next(l){const{isStopped:e,_buffer:u,_infiniteTimeWindow:c,_timestampProvider:g,_windowTime:v}=this;e||(u.push(l),!c&&u.push(g.now()+v)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(l),{_infiniteTimeWindow:u,_buffer:c}=this,g=c.slice();for(let v=0;v{"use strict";o.d(h,{E:()=>u});var n=o(53252),i=o(46928);const a=(0,o(14912).w)(g=>function(){g(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var l=o(41248),e=o(92075);let u=(()=>{class g extends n._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(p){const S=new c(this,this);return S.operator=p,S}_throwIfClosed(){if(this.closed)throw new a}next(p){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const S of this.currentObservers)S.next(p)}})}error(p){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:S}=this;for(;S.length;)S.shift().error(p)}})}complete(){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:p}=this;for(;p.length;)p.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var p;return(null===(p=this.observers)||void 0===p?void 0:p.length)>0}_trySubscribe(p){return this._throwIfClosed(),super._trySubscribe(p)}_subscribe(p){return this._throwIfClosed(),this._checkFinalizedStatuses(p),this._innerSubscribe(p)}_innerSubscribe(p){const{hasError:S,isStopped:C,observers:_}=this;return S||C?i.au:(this.currentObservers=null,_.push(p),new i.wH(()=>{this.currentObservers=null,(0,l.k)(_,p)}))}_checkFinalizedStatuses(p){const{hasError:S,thrownError:C,isStopped:_}=this;S?p.error(C):_&&p.complete()}asObservable(){const p=new n._;return p.source=this,p}}return g.create=(v,p)=>new c(v,p),g})();class c extends u{constructor(v,p){super(),this.destination=v,this.source=p}next(v){var p,S;null===(S=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===S||S.call(p,v)}error(v){var p,S;null===(S=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===S||S.call(p,v)}complete(){var v,p;null===(p=null===(v=this.destination)||void 0===v?void 0:v.complete)||void 0===p||p.call(v)}_subscribe(v){var p,S;return null!==(S=null===(p=this.source)||void 0===p?void 0:p.subscribe(v))&&void 0!==S?S:i.au}}},41760:(pe,h,o)=>{"use strict";o.d(h,{ot:()=>y,yR:()=>S});var n=o(38880),i=o(46928),d=o(74491),a=o(31984),l=o(20308);const e=g("C",void 0,void 0);function g(I,F,j){return{kind:I,value:F,error:j}}var v=o(43376),p=o(92075);class S extends i.wH{constructor(F){super(),this.isStopped=!1,F?(this.destination=F,(0,i.GI)(F)&&F.add(this)):this.destination=A}static create(F,j,T){return new y(F,j,T)}next(F){this.isStopped?M(function c(I){return g("N",I,void 0)}(F),this):this._next(F)}error(F){this.isStopped?M(function u(I){return g("E",void 0,I)}(F),this):(this.isStopped=!0,this._error(F))}complete(){this.isStopped?M(e,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(F){this.destination.next(F)}_error(F){try{this.destination.error(F)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const C=Function.prototype.bind;function _(I,F){return C.call(I,F)}class f{constructor(F){this.partialObserver=F}next(F){const{partialObserver:j}=this;if(j.next)try{j.next(F)}catch(T){b(T)}}error(F){const{partialObserver:j}=this;if(j.error)try{j.error(F)}catch(T){b(T)}else b(F)}complete(){const{partialObserver:F}=this;if(F.complete)try{F.complete()}catch(j){b(j)}}}class y extends S{constructor(F,j,T){let P;if(super(),(0,n.m)(F)||!F)P={next:F??void 0,error:j??void 0,complete:T??void 0};else{let x;this&&d.config.useDeprecatedNextContext?(x=Object.create(F),x.unsubscribe=()=>this.unsubscribe(),P={next:F.next&&_(F.next,x),error:F.error&&_(F.error,x),complete:F.complete&&_(F.complete,x)}):P=F}this.destination=new f(P)}}function b(I){d.config.useDeprecatedSynchronousErrorHandling?(0,p.q)(I):(0,a.U)(I)}function M(I,F){const{onStoppedNotification:j}=d.config;j&&v.u.setTimeout(()=>j(I,F))}const A={closed:!0,next:l.K,error:function E(I){throw I},complete:l.K}},46928:(pe,h,o)=>{"use strict";o.d(h,{au:()=>e,wH:()=>l,GI:()=>u});var n=o(38880);const d=(0,o(14912).w)(g=>function(p){g(this),this.message=p?`${p.length} errors occurred during unsubscription:\n${p.map((S,C)=>`${C+1}) ${S.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=p});var a=o(41248);class l{constructor(v){this.initialTeardown=v,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let v;if(!this.closed){this.closed=!0;const{_parentage:p}=this;if(p)if(this._parentage=null,Array.isArray(p))for(const _ of p)_.remove(this);else p.remove(this);const{initialTeardown:S}=this;if((0,n.m)(S))try{S()}catch(_){v=_ instanceof d?_.errors:[_]}const{_finalizers:C}=this;if(C){this._finalizers=null;for(const _ of C)try{c(_)}catch(f){v=v??[],f instanceof d?v=[...v,...f.errors]:v.push(f)}}if(v)throw new d(v)}}add(v){var p;if(v&&v!==this)if(this.closed)c(v);else{if(v instanceof l){if(v.closed||v._hasParent(this))return;v._addParent(this)}(this._finalizers=null!==(p=this._finalizers)&&void 0!==p?p:[]).push(v)}}_hasParent(v){const{_parentage:p}=this;return p===v||Array.isArray(p)&&p.includes(v)}_addParent(v){const{_parentage:p}=this;this._parentage=Array.isArray(p)?(p.push(v),p):p?[p,v]:v}_removeParent(v){const{_parentage:p}=this;p===v?this._parentage=null:Array.isArray(p)&&(0,a.k)(p,v)}remove(v){const{_finalizers:p}=this;p&&(0,a.k)(p,v),v instanceof l&&v._removeParent(this)}}l.EMPTY=(()=>{const g=new l;return g.closed=!0,g})();const e=l.EMPTY;function u(g){return g instanceof l||g&&"closed"in g&&(0,n.m)(g.remove)&&(0,n.m)(g.add)&&(0,n.m)(g.unsubscribe)}function c(g){(0,n.m)(g)?g():g.unsubscribe()}},74491:(pe,h,o)=>{"use strict";o.d(h,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},56040:(pe,h,o)=>{"use strict";o.d(h,{E:()=>v});var n=o(53252),i=o(64300),d=o(74496),a=o(528),l=o(74187),e=o(59472),u=o(67904),c=o(87773),g=o(69399);function v(...C){const _=(0,e.e_)(C),f=(0,e.yu)(C),{args:y,keys:b}=(0,i.Q)(C);if(0===y.length)return(0,d.Q)([],_);const E=new n._(function p(C,_,f=a.Z){return y=>{S(_,()=>{const{length:b}=C,E=new Array(b);let M=b,A=b;for(let I=0;I{const F=(0,d.Q)(C[I],_);let j=!1;F.subscribe((0,c.e)(y,T=>{E[I]=T,j||(j=!0,A--),A||y.next(f(E.slice()))},()=>{--M||y.complete()}))},y)},y)}}(y,_,b?M=>(0,u.q)(b,M):a.Z));return f?E.pipe((0,l.j)(f)):E}function S(C,_,f){C?(0,g._)(f,C,_):_()}},41424:(pe,h,o)=>{"use strict";o.d(h,{Q:()=>d});var n=o(53252),i=o(50560);function d(a){return new n._(l=>{(0,i.Uv)(a()).subscribe(l)})}},28960:(pe,h,o)=>{"use strict";o.d(h,{k:()=>i});const i=new(o(53252)._)(l=>l.complete())},74496:(pe,h,o)=>{"use strict";o.d(h,{Q:()=>T});var n=o(50560),i=o(69399),d=o(95448),a=o(87773);function l(P,x=0){return(0,d.i)((N,O)=>{N.subscribe((0,a.e)(O,H=>(0,i._)(O,P,()=>O.next(H),x),()=>(0,i._)(O,P,()=>O.complete(),x),H=>(0,i._)(O,P,()=>O.error(H),x)))})}function e(P,x=0){return(0,d.i)((N,O)=>{O.add(P.schedule(()=>N.subscribe(O),x))})}var g=o(53252),p=o(23835),S=o(38880);function _(P,x){if(!P)throw new Error("Iterable cannot be null");return new g._(N=>{(0,i._)(N,x,()=>{const O=P[Symbol.asyncIterator]();(0,i._)(N,x,()=>{O.next().then(H=>{H.done?N.complete():N.next(H.value)})},0,!0)})})}var f=o(35099),y=o(55432),b=o(45428),E=o(61688),M=o(60376),A=o(58272),I=o(45832);function T(P,x){return x?function j(P,x){if(null!=P){if((0,f.O)(P))return function u(P,x){return(0,n.Uv)(P).pipe(e(x),l(x))}(P,x);if((0,b.G)(P))return function v(P,x){return new g._(N=>{let O=0;return x.schedule(function(){O===P.length?N.complete():(N.next(P[O++]),N.closed||this.schedule())})})}(P,x);if((0,y.u)(P))return function c(P,x){return(0,n.Uv)(P).pipe(e(x),l(x))}(P,x);if((0,M.E)(P))return _(P,x);if((0,E.i)(P))return function C(P,x){return new g._(N=>{let O;return(0,i._)(N,x,()=>{O=P[p.w](),(0,i._)(N,x,()=>{let H,G;try{({value:H,done:G}=O.next())}catch(te){return void N.error(te)}G?N.complete():N.next(H)},0,!0)}),()=>(0,S.m)(O?.return)&&O.return()})}(P,x);if((0,I.K)(P))return function F(P,x){return _((0,I._)(P),x)}(P,x)}throw(0,A.W)(P)}(P,x):(0,n.Uv)(P)}},70800:(pe,h,o)=>{"use strict";o.d(h,{w:()=>v});var n=o(50560),i=o(53252),d=o(7400),a=o(45428),l=o(38880),e=o(74187);const u=["addListener","removeListener"],c=["addEventListener","removeEventListener"],g=["on","off"];function v(f,y,b,E){if((0,l.m)(b)&&(E=b,b=void 0),E)return v(f,y,b).pipe((0,e.j)(E));const[M,A]=function _(f){return(0,l.m)(f.addEventListener)&&(0,l.m)(f.removeEventListener)}(f)?c.map(I=>F=>f[I](y,F,b)):function S(f){return(0,l.m)(f.addListener)&&(0,l.m)(f.removeListener)}(f)?u.map(p(f,y)):function C(f){return(0,l.m)(f.on)&&(0,l.m)(f.off)}(f)?g.map(p(f,y)):[];if(!M&&(0,a.G)(f))return(0,d.O)(I=>v(I,y,b))((0,n.Uv)(f));if(!M)throw new TypeError("Invalid event target");return new i._(I=>{const F=(...j)=>I.next(1A(F)})}function p(f,y){return b=>E=>f[b](y,E)}},50560:(pe,h,o)=>{"use strict";o.d(h,{Uv:()=>C});var n=o(81316),i=o(45428),d=o(55432),a=o(53252),l=o(35099),e=o(60376),u=o(58272),c=o(61688),g=o(45832),v=o(38880),p=o(31984),S=o(90472);function C(I){if(I instanceof a._)return I;if(null!=I){if((0,l.O)(I))return function _(I){return new a._(F=>{const j=I[S.a]();if((0,v.m)(j.subscribe))return j.subscribe(F);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(I);if((0,i.G)(I))return function f(I){return new a._(F=>{for(let j=0;j{I.then(j=>{F.closed||(F.next(j),F.complete())},j=>F.error(j)).then(null,p.U)})}(I);if((0,e.E)(I))return E(I);if((0,c.i)(I))return function b(I){return new a._(F=>{for(const j of I)if(F.next(j),F.closed)return;F.complete()})}(I);if((0,g.K)(I))return function M(I){return E((0,g._)(I))}(I)}throw(0,u.W)(I)}function E(I){return new a._(F=>{(function A(I,F){var j,T,P,x;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(j=(0,n.__asyncValues)(I);!(T=yield j.next()).done;)if(F.next(T.value),F.closed)return}catch(N){P={error:N}}finally{try{T&&!T.done&&(x=j.return)&&(yield x.call(j))}finally{if(P)throw P.error}}F.complete()})})(I,F).catch(j=>F.error(j))})}},82700:(pe,h,o)=>{"use strict";o.d(h,{of:()=>d});var n=o(59472),i=o(74496);function d(...a){const l=(0,n.e_)(a);return(0,i.Q)(a,l)}},87773:(pe,h,o)=>{"use strict";o.d(h,{e:()=>i});var n=o(41760);function i(a,l,e,u,c){return new d(a,l,e,u,c)}class d extends n.yR{constructor(l,e,u,c,g,v){super(l),this.onFinalize=g,this.shouldUnsubscribe=v,this._next=e?function(p){try{e(p)}catch(S){l.error(S)}}:super._next,this._error=c?function(p){try{c(p)}catch(S){l.error(S)}finally{this.unsubscribe()}}:super._error,this._complete=u?function(){try{u()}catch(p){l.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var l;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(l=this.onFinalize)||void 0===l||l.call(this))}}}},39144:(pe,h,o)=>{"use strict";o.d(h,{a:()=>a});var n=o(50560),i=o(87773),d=o(95448);function a(l){return(0,d.i)((e,u)=>{let v,c=null,g=!1;c=e.subscribe((0,i.e)(u,void 0,void 0,p=>{v=(0,n.Uv)(l(p,a(l)(e))),c?(c.unsubscribe(),c=null,v.subscribe(u)):g=!0})),g&&(c.unsubscribe(),c=null,v.subscribe(u))})}},26020:(pe,h,o)=>{"use strict";o.d(h,{m:()=>d});var n=o(7400),i=o(38880);function d(a,l){return(0,i.m)(l)?(0,n.O)(a,l,1):(0,n.O)(a,1)}},22156:(pe,h,o)=>{"use strict";o.d(h,{G:()=>d});var n=o(95448),i=o(87773);function d(a){return(0,n.i)((l,e)=>{let u=!1;l.subscribe((0,i.e)(e,c=>{u=!0,e.next(c)},()=>{u||e.next(a),e.complete()}))})}},66684:(pe,h,o)=>{"use strict";o.d(h,{I:()=>d});var n=o(95448),i=o(87773);function d(a,l){return(0,n.i)((e,u)=>{let c=0;e.subscribe((0,i.e)(u,g=>a.call(l,g,c++)&&u.next(g)))})}},68824:(pe,h,o)=>{"use strict";o.d(h,{U:()=>i});var n=o(95448);function i(d){return(0,n.i)((a,l)=>{try{a.subscribe(l)}finally{l.add(d)}})}},75084:(pe,h,o)=>{"use strict";o.d(h,{K:()=>u});var n=o(37696),i=o(66684),d=o(3992),a=o(22156),l=o(98124),e=o(528);function u(c,g){const v=arguments.length>=2;return p=>p.pipe(c?(0,i.I)((S,C)=>c(S,C,p)):e.Z,(0,d.U)(1),v?(0,a.G)(g):(0,l._)(()=>new n.G))}},54704:(pe,h,o)=>{"use strict";o.d(h,{k:()=>d});var n=o(95448),i=o(87773);function d(a,l){return(0,n.i)((e,u)=>{let c=0;e.subscribe((0,i.e)(u,g=>{u.next(a.call(l,g,c++))}))})}},32700:(pe,h,o)=>{"use strict";o.d(h,{e:()=>i});var n=o(54704);function i(d){return(0,n.k)(()=>d)}},7400:(pe,h,o)=>{"use strict";o.d(h,{O:()=>c});var n=o(54704),i=o(50560),d=o(95448),a=o(69399),l=o(87773),u=o(38880);function c(g,v,p=1/0){return(0,u.m)(v)?c((S,C)=>(0,n.k)((_,f)=>v(S,_,C,f))((0,i.Uv)(g(S,C))),p):("number"==typeof v&&(p=v),(0,d.i)((S,C)=>function e(g,v,p,S,C,_,f,y){const b=[];let E=0,M=0,A=!1;const I=()=>{A&&!b.length&&!E&&v.complete()},F=T=>E{_&&v.next(T),E++;let P=!1;(0,i.Uv)(p(T,M++)).subscribe((0,l.e)(v,x=>{C?.(x),_?F(x):v.next(x)},()=>{P=!0},void 0,()=>{if(P)try{for(E--;b.length&&Ej(x)):j(x)}I()}catch(x){v.error(x)}}))};return g.subscribe((0,l.e)(v,F,()=>{A=!0,I()})),()=>{y?.()}}(S,C,g,p)))}},17368:(pe,h,o)=>{"use strict";o.d(h,{G:()=>a});var n=o(50560),i=o(95448),d=o(87773);function a(l,e){return(0,i.i)((u,c)=>{let g=null,v=0,p=!1;const S=()=>p&&!g&&c.complete();u.subscribe((0,d.e)(c,C=>{g?.unsubscribe();let _=0;const f=v++;(0,n.Uv)(l(C,f)).subscribe(g=(0,d.e)(c,y=>c.next(e?e(C,y,f,_++):y),()=>{g=null,S()}))},()=>{p=!0,S()}))})}},3992:(pe,h,o)=>{"use strict";o.d(h,{U:()=>a});var n=o(28960),i=o(95448),d=o(87773);function a(l){return l<=0?()=>n.k:(0,i.i)((e,u)=>{let c=0;e.subscribe((0,d.e)(u,g=>{++c<=l&&(u.next(g),l<=c&&u.complete())}))})}},53616:(pe,h,o)=>{"use strict";o.d(h,{a:()=>l});var n=o(95448),i=o(87773),d=o(50560),a=o(20308);function l(e){return(0,n.i)((u,c)=>{(0,d.Uv)(e).subscribe((0,i.e)(c,()=>c.complete(),a.K)),!c.closed&&u.subscribe(c)})}},19212:(pe,h,o)=>{"use strict";o.d(h,{y:()=>l});var n=o(38880),i=o(95448),d=o(87773),a=o(528);function l(e,u,c){const g=(0,n.m)(e)||u||c?{next:e,error:u,complete:c}:e;return g?(0,i.i)((v,p)=>{var S;null===(S=g.subscribe)||void 0===S||S.call(g);let C=!0;v.subscribe((0,d.e)(p,_=>{var f;null===(f=g.next)||void 0===f||f.call(g,_),p.next(_)},()=>{var _;C=!1,null===(_=g.complete)||void 0===_||_.call(g),p.complete()},_=>{var f;C=!1,null===(f=g.error)||void 0===f||f.call(g,_),p.error(_)},()=>{var _,f;C&&(null===(_=g.unsubscribe)||void 0===_||_.call(g)),null===(f=g.finalize)||void 0===f||f.call(g)}))}):a.Z}},98124:(pe,h,o)=>{"use strict";o.d(h,{_:()=>a});var n=o(37696),i=o(95448),d=o(87773);function a(e=l){return(0,i.i)((u,c)=>{let g=!1;u.subscribe((0,d.e)(c,v=>{g=!0,c.next(v)},()=>g?c.complete():c.error(e())))})}function l(){return new n.G}},35960:(pe,h,o)=>{"use strict";o.d(h,{K:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},43376:(pe,h,o)=>{"use strict";o.d(h,{u:()=>n});const n={setTimeout(i,d,...a){const{delegate:l}=n;return l?.setTimeout?l.setTimeout(i,d,...a):setTimeout(i,d,...a)},clearTimeout(i){const{delegate:d}=n;return(d?.clearTimeout||clearTimeout)(i)},delegate:void 0}},23835:(pe,h,o)=>{"use strict";o.d(h,{w:()=>i});const i=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},90472:(pe,h,o)=>{"use strict";o.d(h,{a:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},37696:(pe,h,o)=>{"use strict";o.d(h,{G:()=>i});const i=(0,o(14912).w)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"})},59472:(pe,h,o)=>{"use strict";o.d(h,{yu:()=>a,e_:()=>l});var n=o(38880);function d(u){return u[u.length-1]}function a(u){return(0,n.m)(d(u))?u.pop():void 0}function l(u){return function i(u){return u&&(0,n.m)(u.schedule)}(d(u))?u.pop():void 0}},64300:(pe,h,o)=>{"use strict";o.d(h,{Q:()=>l});const{isArray:n}=Array,{getPrototypeOf:i,prototype:d,keys:a}=Object;function l(u){if(1===u.length){const c=u[0];if(n(c))return{args:c,keys:null};if(function e(u){return u&&"object"==typeof u&&i(u)===d}(c)){const g=a(c);return{args:g.map(v=>c[v]),keys:g}}}return{args:u,keys:null}}},41248:(pe,h,o)=>{"use strict";function n(i,d){if(i){const a=i.indexOf(d);0<=a&&i.splice(a,1)}}o.d(h,{k:()=>n})},14912:(pe,h,o)=>{"use strict";function n(i){const a=i(l=>{Error.call(l),l.stack=(new Error).stack});return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}o.d(h,{w:()=>n})},67904:(pe,h,o)=>{"use strict";function n(i,d){return i.reduce((a,l,e)=>(a[l]=d[e],a),{})}o.d(h,{q:()=>n})},92075:(pe,h,o)=>{"use strict";o.d(h,{c:()=>d,q:()=>a});var n=o(74491);let i=null;function d(l){if(n.config.useDeprecatedSynchronousErrorHandling){const e=!i;if(e&&(i={errorThrown:!1,error:null}),l(),e){const{errorThrown:u,error:c}=i;if(i=null,u)throw c}}else l()}function a(l){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=l)}},69399:(pe,h,o)=>{"use strict";function n(i,d,a,l=0,e=!1){const u=d.schedule(function(){a(),e?i.add(this.schedule(null,l)):this.unsubscribe()},l);if(i.add(u),!e)return u}o.d(h,{_:()=>n})},528:(pe,h,o)=>{"use strict";function n(i){return i}o.d(h,{Z:()=>n})},45428:(pe,h,o)=>{"use strict";o.d(h,{G:()=>n});const n=i=>i&&"number"==typeof i.length&&"function"!=typeof i},60376:(pe,h,o)=>{"use strict";o.d(h,{E:()=>i});var n=o(38880);function i(d){return Symbol.asyncIterator&&(0,n.m)(d?.[Symbol.asyncIterator])}},38880:(pe,h,o)=>{"use strict";function n(i){return"function"==typeof i}o.d(h,{m:()=>n})},35099:(pe,h,o)=>{"use strict";o.d(h,{O:()=>d});var n=o(90472),i=o(38880);function d(a){return(0,i.m)(a[n.a])}},61688:(pe,h,o)=>{"use strict";o.d(h,{i:()=>d});var n=o(23835),i=o(38880);function d(a){return(0,i.m)(a?.[n.w])}},55432:(pe,h,o)=>{"use strict";o.d(h,{u:()=>i});var n=o(38880);function i(d){return(0,n.m)(d?.then)}},45832:(pe,h,o)=>{"use strict";o.d(h,{K:()=>a,_:()=>d});var n=o(81316),i=o(38880);function d(l){return(0,n.__asyncGenerator)(this,arguments,function*(){const u=l.getReader();try{for(;;){const{value:c,done:g}=yield(0,n.__await)(u.read());if(g)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(c)}}finally{u.releaseLock()}})}function a(l){return(0,i.m)(l?.getReader)}},95448:(pe,h,o)=>{"use strict";o.d(h,{e:()=>i,i:()=>d});var n=o(38880);function i(a){return(0,n.m)(a?.lift)}function d(a){return l=>{if(i(l))return l.lift(function(e){try{return a(e,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},74187:(pe,h,o)=>{"use strict";o.d(h,{j:()=>a});var n=o(54704);const{isArray:i}=Array;function a(l){return(0,n.k)(e=>function d(l,e){return i(e)?l(...e):l(e)}(l,e))}},20308:(pe,h,o)=>{"use strict";function n(){}o.d(h,{K:()=>n})},83928:(pe,h,o)=>{"use strict";o.d(h,{W:()=>i,Y:()=>d});var n=o(528);function i(...a){return d(a)}function d(a){return 0===a.length?n.Z:1===a.length?a[0]:function(e){return a.reduce((u,c)=>c(u),e)}}},31984:(pe,h,o)=>{"use strict";o.d(h,{U:()=>d});var n=o(74491),i=o(43376);function d(a){i.u.setTimeout(()=>{const{onUnhandledError:l}=n.config;if(!l)throw a;l(a)})}},58272:(pe,h,o)=>{"use strict";function n(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(h,{W:()=>n})},16213:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),Object.defineProperty(h,"NIL",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(h,"parse",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(h,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(h,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(h,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(h,"v4",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(h,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(h,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(h,"version",{enumerable:!0,get:function(){return e.default}});var n=v(o(14400)),i=v(o(86664)),d=v(o(35368)),a=v(o(52632)),l=v(o(936)),e=v(o(54424)),u=v(o(54e3)),c=v(o(6944)),g=v(o(92612));function v(p){return p&&p.__esModule?p:{default:p}}},75440:(pe,h)=>{"use strict";function i(C){return 14+(C+64>>>9<<4)+1}function l(C,_){const f=(65535&C)+(65535&_);return(C>>16)+(_>>16)+(f>>16)<<16|65535&f}function u(C,_,f,y,b,E){return l(function e(C,_){return C<<_|C>>>32-_}(l(l(_,C),l(y,E)),b),f)}function c(C,_,f,y,b,E,M){return u(_&f|~_&y,C,_,b,E,M)}function g(C,_,f,y,b,E,M){return u(_&y|f&~y,C,_,b,E,M)}function v(C,_,f,y,b,E,M){return u(_^f^y,C,_,b,E,M)}function p(C,_,f,y,b,E,M){return u(f^(_|~y),C,_,b,E,M)}Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=function o(C){if("string"==typeof C){const _=unescape(encodeURIComponent(C));C=new Uint8Array(_.length);for(let f=0;f<_.length;++f)C[f]=_.charCodeAt(f)}return function n(C){const _=[],f=32*C.length,y="0123456789abcdef";for(let b=0;b>5]>>>b%32&255,M=parseInt(y.charAt(E>>>4&15)+y.charAt(15&E),16);_.push(M)}return _}(function d(C,_){C[_>>5]|=128<<_%32,C[i(_)-1]=_;let f=1732584193,y=-271733879,b=-1732584194,E=271733878;for(let M=0;M>5]|=(255&C[y/8])<{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};h.default=n},936:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default="00000000-0000-0000-0000-000000000000"},92612:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function i(l){return l&&l.__esModule?l:{default:l}}(o(54e3));h.default=function d(l){if(!(0,n.default)(l))throw TypeError("Invalid UUID");let e;const u=new Uint8Array(16);return u[0]=(e=parseInt(l.slice(0,8),16))>>>24,u[1]=e>>>16&255,u[2]=e>>>8&255,u[3]=255&e,u[4]=(e=parseInt(l.slice(9,13),16))>>>8,u[5]=255&e,u[6]=(e=parseInt(l.slice(14,18),16))>>>8,u[7]=255&e,u[8]=(e=parseInt(l.slice(19,23),16))>>>8,u[9]=255&e,u[10]=(e=parseInt(l.slice(24,36),16))/1099511627776&255,u[11]=e/4294967296&255,u[12]=e>>>24&255,u[13]=e>>>16&255,u[14]=e>>>8&255,u[15]=255&e,u}},18280:(pe,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},98256:(pe,h)=>{"use strict";let o;Object.defineProperty(h,"__esModule",{value:!0}),h.default=function i(){if(!o&&(o=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(n)};const n=new Uint8Array(16)},18780:(pe,h)=>{"use strict";function o(a,l,e,u){switch(a){case 0:return l&e^~l&u;case 1:case 3:return l^e^u;case 2:return l&e^l&u^e&u}}function n(a,l){return a<>>32-l}Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=function i(a){const l=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof a){const v=unescape(encodeURIComponent(a));a=[];for(let p=0;p>>0;y=f,f=_,_=n(C,30)>>>0,C=S,S=M}e[0]=e[0]+S>>>0,e[1]=e[1]+C>>>0,e[2]=e[2]+_>>>0,e[3]=e[3]+f>>>0,e[4]=e[4]+y>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,255&e[0],e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,255&e[1],e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,255&e[2],e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,255&e[3],e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,255&e[4]]}},6944:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.unsafeStringify=a;var n=function i(u){return u&&u.__esModule?u:{default:u}}(o(54e3));const d=[];for(let u=0;u<256;++u)d.push((u+256).toString(16).slice(1));function a(u,c=0){return d[u[c+0]]+d[u[c+1]]+d[u[c+2]]+d[u[c+3]]+"-"+d[u[c+4]]+d[u[c+5]]+"-"+d[u[c+6]]+d[u[c+7]]+"-"+d[u[c+8]]+d[u[c+9]]+"-"+d[u[c+10]]+d[u[c+11]]+d[u[c+12]]+d[u[c+13]]+d[u[c+14]]+d[u[c+15]]}h.default=function l(u,c=0){const g=a(u,c);if(!(0,n.default)(g))throw TypeError("Stringified UUID is invalid");return g}},14400:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function d(v){return v&&v.__esModule?v:{default:v}}(o(98256)),i=o(6944);let a,l,e=0,u=0;h.default=function c(v,p,S){let C=p&&S||0;const _=p||new Array(16);let f=(v=v||{}).node||a,y=void 0!==v.clockseq?v.clockseq:l;if(null==f||null==y){const F=v.random||(v.rng||n.default)();null==f&&(f=a=[1|F[0],F[1],F[2],F[3],F[4],F[5]]),null==y&&(y=l=16383&(F[6]<<8|F[7]))}let b=void 0!==v.msecs?v.msecs:Date.now(),E=void 0!==v.nsecs?v.nsecs:u+1;const M=b-e+(E-u)/1e4;if(M<0&&void 0===v.clockseq&&(y=y+1&16383),(M<0||b>e)&&void 0===v.nsecs&&(E=0),E>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");e=b,u=E,l=y,b+=122192928e5;const A=(1e4*(268435455&b)+E)%4294967296;_[C++]=A>>>24&255,_[C++]=A>>>16&255,_[C++]=A>>>8&255,_[C++]=255&A;const I=b/4294967296*1e4&268435455;_[C++]=I>>>8&255,_[C++]=255&I,_[C++]=I>>>24&15|16,_[C++]=I>>>16&255,_[C++]=y>>>8|128,_[C++]=255&y;for(let F=0;F<6;++F)_[C+F]=f[F];return p||(0,i.unsafeStringify)(_)}},86664:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=d(o(65432)),i=d(o(75440));function d(e){return e&&e.__esModule?e:{default:e}}var l=(0,n.default)("v3",48,i.default);h.default=l},65432:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.URL=h.DNS=void 0,h.default=function u(c,g,v){function p(S,C,_,f){var y;if("string"==typeof S&&(S=function a(c){c=unescape(encodeURIComponent(c));const g=[];for(let v=0;v{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=a(o(24400)),i=a(o(98256)),d=o(6944);function a(u){return u&&u.__esModule?u:{default:u}}h.default=function l(u,c,g){if(n.default.randomUUID&&!c&&!u)return n.default.randomUUID();const v=(u=u||{}).random||(u.rng||i.default)();if(v[6]=15&v[6]|64,v[8]=63&v[8]|128,c){g=g||0;for(let p=0;p<16;++p)c[g+p]=v[p];return c}return(0,d.unsafeStringify)(v)}},52632:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=d(o(65432)),i=d(o(18780));function d(e){return e&&e.__esModule?e:{default:e}}var l=(0,n.default)("v5",80,i.default);h.default=l},54e3:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function i(l){return l&&l.__esModule?l:{default:l}}(o(18280));h.default=function d(l){return"string"==typeof l&&n.default.test(l)}},54424:(pe,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function i(l){return l&&l.__esModule?l:{default:l}}(o(54e3));h.default=function d(l){if(!(0,n.default)(l))throw TypeError("Invalid UUID");return parseInt(l.slice(14,15),16)}},21480:(pe,h,o)=>{var n={"./ion-accordion_2.entry.js":[28956,9312,8956],"./ion-action-sheet.entry.js":[6736,9312,6736],"./ion-alert.entry.js":[41644,9312,1644],"./ion-app_8.entry.js":[63936,9312,3936],"./ion-avatar_3.entry.js":[79428,9428],"./ion-back-button.entry.js":[66932,9312,6932],"./ion-backdrop.entry.js":[38019,8019],"./ion-breadcrumb_2.entry.js":[67752,9312,7752],"./ion-button_2.entry.js":[9580,9580],"./ion-card_5.entry.js":[71048,1048],"./ion-checkbox.entry.js":[43752,9312,3752],"./ion-chip.entry.js":[1492,1492],"./ion-col_3.entry.js":[49584,9584],"./ion-datetime-button.entry.js":[17864,1136,7864],"./ion-datetime_3.entry.js":[38048,1136,9312,8048],"./ion-fab_3.entry.js":[61812,9312,1812],"./ion-img.entry.js":[73296,3296],"./ion-infinite-scroll_2.entry.js":[11488,9312,1488],"./ion-input.entry.js":[93500,9312,3500],"./ion-item-option_3.entry.js":[42448,9312,2448],"./ion-item_8.entry.js":[8772,9312,8772],"./ion-loading.entry.js":[82948,9312,2948],"./ion-menu_3.entry.js":[47676,9312,7676],"./ion-modal.entry.js":[96824,9312,6824],"./ion-nav_2.entry.js":[2372,2372],"./ion-picker-column-internal.entry.js":[88232,9312,8232],"./ion-picker-internal.entry.js":[74656,4656],"./ion-popover.entry.js":[24168,9312,4168],"./ion-progress-bar.entry.js":[83264,3264],"./ion-radio_2.entry.js":[57176,9312,7176],"./ion-range.entry.js":[63180,9312,3180],"./ion-refresher_2.entry.js":[32e3,9312,2e3],"./ion-reorder_2.entry.js":[93604,9312,3604],"./ion-ripple-effect.entry.js":[43667,3667],"./ion-route_4.entry.js":[54284,4284],"./ion-searchbar.entry.js":[82580,9312,2580],"./ion-segment_2.entry.js":[47528,9312,7528],"./ion-select_3.entry.js":[44272,9312,4272],"./ion-spinner.entry.js":[71172,9312,1172],"./ion-split-pane.entry.js":[42624,2624],"./ion-tab-bar_2.entry.js":[31708,9312,1708],"./ion-tab_2.entry.js":[95956,5956],"./ion-text.entry.js":[55828,5828],"./ion-textarea.entry.js":[9440,9312,9440],"./ion-toast.entry.js":[39836,9312,9836],"./ion-toggle.entry.js":[42776,9312,2776]};function i(d){if(!o.o(n,d))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+d+"'");throw e.code="MODULE_NOT_FOUND",e});var a=n[d],l=a[0];return Promise.all(a.slice(1).map(o.e)).then(()=>o(l))}i.keys=()=>Object.keys(n),i.id=21480,pe.exports=i},92348:(pe,h,o)=>{var n={"./af":25140,"./af.js":25140,"./ar":17276,"./ar-dz":17096,"./ar-dz.js":17096,"./ar-kw":32200,"./ar-kw.js":32200,"./ar-ly":97252,"./ar-ly.js":97252,"./ar-ma":39568,"./ar-ma.js":39568,"./ar-ps":13068,"./ar-ps.js":13068,"./ar-sa":89052,"./ar-sa.js":89052,"./ar-tn":93956,"./ar-tn.js":93956,"./ar.js":17276,"./az":88240,"./az.js":88240,"./be":77796,"./be.js":77796,"./bg":89880,"./bg.js":89880,"./bm":84328,"./bm.js":84328,"./bn":60536,"./bn-bd":45104,"./bn-bd.js":45104,"./bn.js":60536,"./bo":51108,"./bo.js":51108,"./br":51296,"./br.js":51296,"./bs":2032,"./bs.js":2032,"./ca":20096,"./ca.js":20096,"./cs":41152,"./cs.js":41152,"./cv":69568,"./cv.js":69568,"./cy":78875,"./cy.js":78875,"./da":45424,"./da.js":45424,"./de":20992,"./de-at":72604,"./de-at.js":72604,"./de-ch":79168,"./de-ch.js":79168,"./de.js":20992,"./dv":67300,"./dv.js":67300,"./el":84400,"./el.js":84400,"./en-au":83536,"./en-au.js":83536,"./en-ca":39379,"./en-ca.js":39379,"./en-gb":47032,"./en-gb.js":47032,"./en-ie":71832,"./en-ie.js":71832,"./en-il":404,"./en-il.js":404,"./en-in":25716,"./en-in.js":25716,"./en-nz":15312,"./en-nz.js":15312,"./en-sg":53320,"./en-sg.js":53320,"./eo":96392,"./eo.js":96392,"./es":41964,"./es-do":38540,"./es-do.js":38540,"./es-mx":93504,"./es-mx.js":93504,"./es-us":69224,"./es-us.js":69224,"./es.js":41964,"./et":90596,"./et.js":90596,"./eu":8060,"./eu.js":8060,"./fa":68184,"./fa.js":68184,"./fi":36736,"./fi.js":36736,"./fil":49264,"./fil.js":49264,"./fo":48299,"./fo.js":48299,"./fr":51964,"./fr-ca":84584,"./fr-ca.js":84584,"./fr-ch":8024,"./fr-ch.js":8024,"./fr.js":51964,"./fy":22672,"./fy.js":22672,"./ga":26476,"./ga.js":26476,"./gd":35148,"./gd.js":35148,"./gl":32176,"./gl.js":32176,"./gom-deva":27260,"./gom-deva.js":27260,"./gom-latn":3772,"./gom-latn.js":3772,"./gu":39528,"./gu.js":39528,"./he":86832,"./he.js":86832,"./hi":95592,"./hi.js":95592,"./hr":56208,"./hr.js":56208,"./hu":33697,"./hu.js":33697,"./hy-am":2e4,"./hy-am.js":2e4,"./id":57840,"./id.js":57840,"./is":31496,"./is.js":31496,"./it":6336,"./it-ch":45736,"./it-ch.js":45736,"./it.js":6336,"./ja":58008,"./ja.js":58008,"./jv":30108,"./jv.js":30108,"./ka":61844,"./ka.js":61844,"./kk":78980,"./kk.js":78980,"./km":48544,"./km.js":48544,"./kn":70096,"./kn.js":70096,"./ko":87420,"./ko.js":87420,"./ku":60200,"./ku-kmr":4740,"./ku-kmr.js":4740,"./ku.js":60200,"./ky":44976,"./ky.js":44976,"./lb":4652,"./lb.js":4652,"./lo":53984,"./lo.js":53984,"./lt":8792,"./lt.js":8792,"./lv":6296,"./lv.js":6296,"./me":58256,"./me.js":58256,"./mi":29284,"./mi.js":29284,"./mk":33196,"./mk.js":33196,"./ml":45896,"./ml.js":45896,"./mn":32460,"./mn.js":32460,"./mr":80132,"./mr.js":80132,"./ms":73136,"./ms-my":88060,"./ms-my.js":88060,"./ms.js":73136,"./mt":46227,"./mt.js":46227,"./my":88300,"./my.js":88300,"./nb":14784,"./nb.js":14784,"./ne":75060,"./ne.js":75060,"./nl":4971,"./nl-be":94796,"./nl-be.js":94796,"./nl.js":4971,"./nn":18984,"./nn.js":18984,"./oc-lnc":59928,"./oc-lnc.js":59928,"./pa-in":76440,"./pa-in.js":76440,"./pl":96768,"./pl.js":96768,"./pt":18968,"./pt-br":51528,"./pt-br.js":51528,"./pt.js":18968,"./ro":5760,"./ro.js":5760,"./ru":19760,"./ru.js":19760,"./sd":53804,"./sd.js":53804,"./se":44100,"./se.js":44100,"./si":95301,"./si.js":95301,"./sk":79992,"./sk.js":79992,"./sl":35208,"./sl.js":35208,"./sq":27408,"./sq.js":27408,"./sr":10656,"./sr-cyrl":1128,"./sr-cyrl.js":1128,"./sr.js":10656,"./ss":10864,"./ss.js":10864,"./sv":16900,"./sv.js":16900,"./sw":81636,"./sw.js":81636,"./ta":24180,"./ta.js":24180,"./te":97008,"./te.js":97008,"./tet":50744,"./tet.js":50744,"./tg":58084,"./tg.js":58084,"./th":81672,"./th.js":81672,"./tk":57232,"./tk.js":57232,"./tl-ph":89480,"./tl-ph.js":89480,"./tlh":58512,"./tlh.js":58512,"./tr":56020,"./tr.js":56020,"./tzl":36240,"./tzl.js":36240,"./tzm":33064,"./tzm-latn":53384,"./tzm-latn.js":53384,"./tzm.js":33064,"./ug-cn":45852,"./ug-cn.js":45852,"./uk":12480,"./uk.js":12480,"./ur":63877,"./ur.js":63877,"./uz":91712,"./uz-latn":20108,"./uz-latn.js":20108,"./uz.js":91712,"./vi":9984,"./vi.js":9984,"./x-pseudo":45708,"./x-pseudo.js":45708,"./yo":78476,"./yo.js":78476,"./zh-cn":3676,"./zh-cn.js":3676,"./zh-hk":49880,"./zh-hk.js":49880,"./zh-mo":41968,"./zh-mo.js":41968,"./zh-tw":33632,"./zh-tw.js":33632};function i(a){var l=d(a);return o(l)}function d(a){if(!o.o(n,a)){var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}return n[a]}i.keys=function(){return Object.keys(n)},i.resolve=d,pe.exports=i,i.id=92348},22892:()=>{},45344:()=>{},10440:()=>{},22224:()=>{},65724:()=>{},8160:()=>{},1196:pe=>{function h(n,i,d,a,l,e,u){try{var c=n[e](u),g=c.value}catch(v){return void d(v)}c.done?i(g):Promise.resolve(g).then(a,l)}pe.exports=function o(n){return function(){var i=this,d=arguments;return new Promise(function(a,l){var e=n.apply(i,d);function u(g){h(e,a,l,u,c,"next",g)}function c(g){h(e,a,l,u,c,"throw",g)}u(void 0)})}},pe.exports.__esModule=!0,pe.exports.default=pe.exports},91368:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{APP_BASE_HREF:()=>f,AsyncPipe:()=>Gt,BrowserPlatformLocation:()=>v,CommonModule:()=>go,CurrencyPipe:()=>Xr,DATE_PIPE_DEFAULT_OPTIONS:()=>lo,DATE_PIPE_DEFAULT_TIMEZONE:()=>dt,DOCUMENT:()=>u,DatePipe:()=>vi,DecimalPipe:()=>ti,FormStyle:()=>x,FormatWidth:()=>O,HashLocationStrategy:()=>b,I18nPluralPipe:()=>In,I18nSelectPipe:()=>Gn,IMAGE_CONFIG:()=>n.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>Zi,JsonPipe:()=>si,KeyValuePipe:()=>ai,LOCATION_INITIALIZED:()=>g,Location:()=>E,LocationStrategy:()=>_,LowerCasePipe:()=>Nn,NgClass:()=>dn,NgComponentOutlet:()=>Mn,NgFor:()=>Yn,NgForOf:()=>Yn,NgForOfContext:()=>Zn,NgIf:()=>zn,NgIfContext:()=>ur,NgLocaleLocalization:()=>Pr,NgLocalization:()=>or,NgOptimizedImage:()=>yn,NgPlural:()=>De,NgPluralCase:()=>rt,NgStyle:()=>_t,NgSwitch:()=>z,NgSwitchCase:()=>ae,NgSwitchDefault:()=>Fe,NgTemplateOutlet:()=>Tt,NumberFormatStyle:()=>T,NumberSymbol:()=>H,PRECONNECT_CHECK_BLOCKLIST:()=>Zo,PathLocationStrategy:()=>y,PercentPipe:()=>Zr,PlatformLocation:()=>c,Plural:()=>P,SlicePipe:()=>Yi,TitleCasePipe:()=>cr,TranslationWidth:()=>N,UpperCasePipe:()=>Nr,VERSION:()=>qr,ViewportScroller:()=>ar,WeekDay:()=>G,XhrFactory:()=>Mo,formatCurrency:()=>pr,formatDate:()=>ht,formatNumber:()=>er,formatPercent:()=>Jn,getCurrencySymbol:()=>Xe,getLocaleCurrencyCode:()=>ve,getLocaleCurrencyName:()=>Oe,getLocaleCurrencySymbol:()=>ye,getLocaleDateFormat:()=>Y,getLocaleDateTimeFormat:()=>le,getLocaleDayNames:()=>se,getLocaleDayPeriods:()=>ue,getLocaleDirection:()=>mt,getLocaleEraNames:()=>Z,getLocaleExtraDayPeriodRules:()=>ot,getLocaleExtraDayPeriods:()=>tt,getLocaleFirstDayOfWeek:()=>re,getLocaleId:()=>te,getLocaleMonthNames:()=>K,getLocaleNumberFormat:()=>we,getLocaleNumberSymbol:()=>ee,getLocalePluralCase:()=>Pe,getLocaleTimeFormat:()=>$,getLocaleWeekEndRange:()=>J,getNumberOfCurrencyDigits:()=>Pt,isPlatformBrowser:()=>Rr,isPlatformServer:()=>mo,isPlatformWorkerApp:()=>_i,isPlatformWorkerUi:()=>xi,provideCloudflareLoader:()=>Co,provideCloudinaryLoader:()=>ns,provideImageKitLoader:()=>cs,provideImgixLoader:()=>hs,provideNetlifyLoader:()=>ft,registerLocaleData:()=>ct,\u0275DomAdapter:()=>l,\u0275NullViewportScroller:()=>yi,\u0275PLATFORM_BROWSER_ID:()=>Jr,\u0275PLATFORM_SERVER_ID:()=>zi,\u0275PLATFORM_WORKER_APP_ID:()=>qi,\u0275PLATFORM_WORKER_UI_ID:()=>ro,\u0275PlatformNavigation:()=>e,\u0275getDOM:()=>d,\u0275normalizeQueryParams:()=>C,\u0275parseCookieValue:()=>Rt,\u0275setRootDomAdapter:()=>a});var n=o(54496);let i=null;function d(){return i}function a(X){i??=X}class l{}let e=(()=>{class X{static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:()=>window.navigation,providedIn:"platform"})}return X})();const u=new n.InjectionToken("");let c=(()=>{class X{historyGo(Ce){throw new Error("")}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:()=>(0,n.inject)(v),providedIn:"platform"})}return X})();const g=new n.InjectionToken("");let v=(()=>{class X extends c{constructor(){super(),this._doc=(0,n.inject)(u),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return d().getBaseHref(this._doc)}onPopState(Ce){const Re=d().getGlobalEventTarget(this._doc,"window");return Re.addEventListener("popstate",Ce,!1),()=>Re.removeEventListener("popstate",Ce)}onHashChange(Ce){const Re=d().getGlobalEventTarget(this._doc,"window");return Re.addEventListener("hashchange",Ce,!1),()=>Re.removeEventListener("hashchange",Ce)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(Ce){this._location.pathname=Ce}pushState(Ce,Re,Mt){this._history.pushState(Ce,Re,Mt)}replaceState(Ce,Re,Mt){this._history.replaceState(Ce,Re,Mt)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Ce=0){this._history.go(Ce)}getState(){return this._history.state}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:()=>new X,providedIn:"platform"})}return X})();function p(X,Ve){if(0==X.length)return Ve;if(0==Ve.length)return X;let Ce=0;return X.endsWith("/")&&Ce++,Ve.startsWith("/")&&Ce++,2==Ce?X+Ve.substring(1):1==Ce?X+Ve:X+"/"+Ve}function S(X){const Ve=X.match(/#|\?|$/),Ce=Ve&&Ve.index||X.length;return X.slice(0,Ce-("/"===X[Ce-1]?1:0))+X.slice(Ce)}function C(X){return X&&"?"!==X[0]?"?"+X:X}let _=(()=>{class X{historyGo(Ce){throw new Error("")}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:()=>(0,n.inject)(y),providedIn:"root"})}return X})();const f=new n.InjectionToken("");let y=(()=>{class X extends _{constructor(Ce,Re){super(),this._platformLocation=Ce,this._removeListenerFns=[],this._baseHref=Re??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(u).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ce){this._removeListenerFns.push(this._platformLocation.onPopState(Ce),this._platformLocation.onHashChange(Ce))}getBaseHref(){return this._baseHref}prepareExternalUrl(Ce){return p(this._baseHref,Ce)}path(Ce=!1){const Re=this._platformLocation.pathname+C(this._platformLocation.search),Mt=this._platformLocation.hash;return Mt&&Ce?`${Re}${Mt}`:Re}pushState(Ce,Re,Mt,Zt){const an=this.prepareExternalUrl(Mt+C(Zt));this._platformLocation.pushState(Ce,Re,an)}replaceState(Ce,Re,Mt,Zt){const an=this.prepareExternalUrl(Mt+C(Zt));this._platformLocation.replaceState(Ce,Re,an)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ce=0){this._platformLocation.historyGo?.(Ce)}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275inject(c),n.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})(),b=(()=>{class X extends _{constructor(Ce,Re){super(),this._platformLocation=Ce,this._baseHref="",this._removeListenerFns=[],null!=Re&&(this._baseHref=Re)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ce){this._removeListenerFns.push(this._platformLocation.onPopState(Ce),this._platformLocation.onHashChange(Ce))}getBaseHref(){return this._baseHref}path(Ce=!1){const Re=this._platformLocation.hash??"#";return Re.length>0?Re.substring(1):Re}prepareExternalUrl(Ce){const Re=p(this._baseHref,Ce);return Re.length>0?"#"+Re:Re}pushState(Ce,Re,Mt,Zt){let an=this.prepareExternalUrl(Mt+C(Zt));0==an.length&&(an=this._platformLocation.pathname),this._platformLocation.pushState(Ce,Re,an)}replaceState(Ce,Re,Mt,Zt){let an=this.prepareExternalUrl(Mt+C(Zt));0==an.length&&(an=this._platformLocation.pathname),this._platformLocation.replaceState(Ce,Re,an)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ce=0){this._platformLocation.historyGo?.(Ce)}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275inject(c),n.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac})}return X})(),E=(()=>{class X{constructor(Ce){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Ce;const Re=this._locationStrategy.getBaseHref();this._basePath=function F(X){if(new RegExp("^(https?:)?//").test(X)){const[,Ce]=X.split(/\/\/[^\/]+/);return Ce}return X}(S(I(Re))),this._locationStrategy.onPopState(Mt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Mt.state,type:Mt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Ce=!1){return this.normalize(this._locationStrategy.path(Ce))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Ce,Re=""){return this.path()==this.normalize(Ce+C(Re))}normalize(Ce){return X.stripTrailingSlash(function A(X,Ve){if(!X||!Ve.startsWith(X))return Ve;const Ce=Ve.substring(X.length);return""===Ce||["/",";","?","#"].includes(Ce[0])?Ce:Ve}(this._basePath,I(Ce)))}prepareExternalUrl(Ce){return Ce&&"/"!==Ce[0]&&(Ce="/"+Ce),this._locationStrategy.prepareExternalUrl(Ce)}go(Ce,Re="",Mt=null){this._locationStrategy.pushState(Mt,"",Ce,Re),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ce+C(Re)),Mt)}replaceState(Ce,Re="",Mt=null){this._locationStrategy.replaceState(Mt,"",Ce,Re),this._notifyUrlChangeListeners(this.prepareExternalUrl(Ce+C(Re)),Mt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Ce=0){this._locationStrategy.historyGo?.(Ce)}onUrlChange(Ce){return this._urlChangeListeners.push(Ce),this._urlChangeSubscription??=this.subscribe(Re=>{this._notifyUrlChangeListeners(Re.url,Re.state)}),()=>{const Re=this._urlChangeListeners.indexOf(Ce);this._urlChangeListeners.splice(Re,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Ce="",Re){this._urlChangeListeners.forEach(Mt=>Mt(Ce,Re))}subscribe(Ce,Re,Mt){return this._subject.subscribe({next:Ce,error:Re,complete:Mt})}static#e=this.normalizeQueryParams=C;static#t=this.joinWithSlash=p;static#n=this.stripTrailingSlash=S;static#r=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275inject(_))};static#o=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:()=>function M(){return new E((0,n.\u0275\u0275inject)(_))}(),providedIn:"root"})}return X})();function I(X){return X.replace(/\/index.html$/,"")}const j={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var T=function(X){return X[X.Decimal=0]="Decimal",X[X.Percent=1]="Percent",X[X.Currency=2]="Currency",X[X.Scientific=3]="Scientific",X}(T||{}),P=function(X){return X[X.Zero=0]="Zero",X[X.One=1]="One",X[X.Two=2]="Two",X[X.Few=3]="Few",X[X.Many=4]="Many",X[X.Other=5]="Other",X}(P||{}),x=function(X){return X[X.Format=0]="Format",X[X.Standalone=1]="Standalone",X}(x||{}),N=function(X){return X[X.Narrow=0]="Narrow",X[X.Abbreviated=1]="Abbreviated",X[X.Wide=2]="Wide",X[X.Short=3]="Short",X}(N||{}),O=function(X){return X[X.Short=0]="Short",X[X.Medium=1]="Medium",X[X.Long=2]="Long",X[X.Full=3]="Full",X}(O||{}),H=function(X){return X[X.Decimal=0]="Decimal",X[X.Group=1]="Group",X[X.List=2]="List",X[X.PercentSign=3]="PercentSign",X[X.PlusSign=4]="PlusSign",X[X.MinusSign=5]="MinusSign",X[X.Exponential=6]="Exponential",X[X.SuperscriptingExponent=7]="SuperscriptingExponent",X[X.PerMille=8]="PerMille",X[X.Infinity=9]="Infinity",X[X.NaN=10]="NaN",X[X.TimeSeparator=11]="TimeSeparator",X[X.CurrencyDecimal=12]="CurrencyDecimal",X[X.CurrencyGroup=13]="CurrencyGroup",X}(H||{}),G=function(X){return X[X.Sunday=0]="Sunday",X[X.Monday=1]="Monday",X[X.Tuesday=2]="Tuesday",X[X.Wednesday=3]="Wednesday",X[X.Thursday=4]="Thursday",X[X.Friday=5]="Friday",X[X.Saturday=6]="Saturday",X}(G||{});function te(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.LocaleId]}function ue(X,Ve,Ce){const Re=(0,n.\u0275findLocaleData)(X),Zt=Qe([Re[n.\u0275LocaleDataIndex.DayPeriodsFormat],Re[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],Ve);return Qe(Zt,Ce)}function se(X,Ve,Ce){const Re=(0,n.\u0275findLocaleData)(X),Zt=Qe([Re[n.\u0275LocaleDataIndex.DaysFormat],Re[n.\u0275LocaleDataIndex.DaysStandalone]],Ve);return Qe(Zt,Ce)}function K(X,Ve,Ce){const Re=(0,n.\u0275findLocaleData)(X),Zt=Qe([Re[n.\u0275LocaleDataIndex.MonthsFormat],Re[n.\u0275LocaleDataIndex.MonthsStandalone]],Ve);return Qe(Zt,Ce)}function Z(X,Ve){return Qe((0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.Eras],Ve)}function re(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function J(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.WeekendRange]}function Y(X,Ve){return Qe((0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.DateFormat],Ve)}function $(X,Ve){return Qe((0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.TimeFormat],Ve)}function le(X,Ve){return Qe((0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.DateTimeFormat],Ve)}function ee(X,Ve){const Ce=(0,n.\u0275findLocaleData)(X),Re=Ce[n.\u0275LocaleDataIndex.NumberSymbols][Ve];if(typeof Re>"u"){if(Ve===H.CurrencyDecimal)return Ce[n.\u0275LocaleDataIndex.NumberSymbols][H.Decimal];if(Ve===H.CurrencyGroup)return Ce[n.\u0275LocaleDataIndex.NumberSymbols][H.Group]}return Re}function we(X,Ve){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.NumberFormats][Ve]}function ye(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function Oe(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.CurrencyName]||null}function ve(X){return(0,n.\u0275getLocaleCurrencyCode)(X)}const Pe=n.\u0275getLocalePluralCase;function Ze(X){if(!X[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${X[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ot(X){const Ve=(0,n.\u0275findLocaleData)(X);return Ze(Ve),(Ve[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Re=>"string"==typeof Re?Ct(Re):[Ct(Re[0]),Ct(Re[1])])}function tt(X,Ve,Ce){const Re=(0,n.\u0275findLocaleData)(X);Ze(Re);const Zt=Qe([Re[n.\u0275LocaleDataIndex.ExtraData][0],Re[n.\u0275LocaleDataIndex.ExtraData][1]],Ve)||[];return Qe(Zt,Ce)||[]}function mt(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.Directionality]}function Qe(X,Ve){for(let Ce=Ve;Ce>-1;Ce--)if(typeof X[Ce]<"u")return X[Ce];throw new Error("Locale data API: locale data undefined")}function Ct(X){const[Ve,Ce]=X.split(":");return{hours:+Ve,minutes:+Ce}}function Xe(X,Ve,Ce="en"){const Re=function _e(X){return(0,n.\u0275findLocaleData)(X)[n.\u0275LocaleDataIndex.Currencies]}(Ce)[X]||j[X]||[],Mt=Re[1];return"narrow"===Ve&&"string"==typeof Mt?Mt:Re[0]||X}const nt=2;function Pt(X){let Ve;const Ce=j[X];return Ce&&(Ve=Ce[2]),"number"==typeof Ve?Ve:nt}const tn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,hn={},wn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var An=function(X){return X[X.Short=0]="Short",X[X.ShortGMT=1]="ShortGMT",X[X.Long=2]="Long",X[X.Extended=3]="Extended",X}(An||{}),_n=function(X){return X[X.FullYear=0]="FullYear",X[X.Month=1]="Month",X[X.Date=2]="Date",X[X.Hours=3]="Hours",X[X.Minutes=4]="Minutes",X[X.Seconds=5]="Seconds",X[X.FractionalSeconds=6]="FractionalSeconds",X[X.Day=7]="Day",X}(_n||{}),qt=function(X){return X[X.DayPeriods=0]="DayPeriods",X[X.Days=1]="Days",X[X.Months=2]="Months",X[X.Eras=3]="Eras",X}(qt||{});function ht(X,Ve,Ce,Re){let Mt=function bn(X){if(rn(X))return X;if("number"==typeof X&&!isNaN(X))return new Date(X);if("string"==typeof X){if(X=X.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(X)){const[Mt,Zt=1,an=1]=X.split("-").map(Pn=>+Pn);return Ue(Mt,Zt-1,an)}const Ce=parseFloat(X);if(!isNaN(X-Ce))return new Date(Ce);let Re;if(Re=X.match(tn))return function Tn(X){const Ve=new Date(0);let Ce=0,Re=0;const Mt=X[8]?Ve.setUTCFullYear:Ve.setFullYear,Zt=X[8]?Ve.setUTCHours:Ve.setHours;X[9]&&(Ce=Number(X[9]+X[10]),Re=Number(X[9]+X[11])),Mt.call(Ve,Number(X[1]),Number(X[2])-1,Number(X[3]));const an=Number(X[4]||0)-Ce,Pn=Number(X[5]||0)-Re,gr=Number(X[6]||0),yr=Math.floor(1e3*parseFloat("0."+(X[7]||0)));return Zt.call(Ve,an,Pn,gr,yr),Ve}(Re)}const Ve=new Date(X);if(!rn(Ve))throw new Error(`Unable to convert "${X}" into a date`);return Ve}(X);Ve=Ee(Ce,Ve)||Ve;let Pn,an=[];for(;Ve;){if(Pn=wn.exec(Ve),!Pn){an.push(Ve);break}{an=an.concat(Pn.slice(1));const $r=an.pop();if(!$r)break;Ve=$r}}let gr=Mt.getTimezoneOffset();Re&&(gr=St(Re,gr),Mt=function nn(X,Ve,Ce){const Re=Ce?-1:1,Mt=X.getTimezoneOffset();return function xt(X,Ve){return(X=new Date(X.getTime())).setMinutes(X.getMinutes()+Ve),X}(X,Re*(St(Ve,Mt)-Mt))}(Mt,Re,!0));let yr="";return an.forEach($r=>{const Cr=function $t(X){if(At[X])return At[X];let Ve;switch(X){case"G":case"GG":case"GGG":Ve=vt(qt.Eras,N.Abbreviated);break;case"GGGG":Ve=vt(qt.Eras,N.Wide);break;case"GGGGG":Ve=vt(qt.Eras,N.Narrow);break;case"y":Ve=gt(_n.FullYear,1,0,!1,!0);break;case"yy":Ve=gt(_n.FullYear,2,0,!0,!0);break;case"yyy":Ve=gt(_n.FullYear,3,0,!1,!0);break;case"yyyy":Ve=gt(_n.FullYear,4,0,!1,!0);break;case"Y":Ve=Xt(1);break;case"YY":Ve=Xt(2,!0);break;case"YYY":Ve=Xt(3);break;case"YYYY":Ve=Xt(4);break;case"M":case"L":Ve=gt(_n.Month,1,1);break;case"MM":case"LL":Ve=gt(_n.Month,2,1);break;case"MMM":Ve=vt(qt.Months,N.Abbreviated);break;case"MMMM":Ve=vt(qt.Months,N.Wide);break;case"MMMMM":Ve=vt(qt.Months,N.Narrow);break;case"LLL":Ve=vt(qt.Months,N.Abbreviated,x.Standalone);break;case"LLLL":Ve=vt(qt.Months,N.Wide,x.Standalone);break;case"LLLLL":Ve=vt(qt.Months,N.Narrow,x.Standalone);break;case"w":Ve=Yt(1);break;case"ww":Ve=Yt(2);break;case"W":Ve=Yt(1,!0);break;case"d":Ve=gt(_n.Date,1);break;case"dd":Ve=gt(_n.Date,2);break;case"c":case"cc":Ve=gt(_n.Day,1);break;case"ccc":Ve=vt(qt.Days,N.Abbreviated,x.Standalone);break;case"cccc":Ve=vt(qt.Days,N.Wide,x.Standalone);break;case"ccccc":Ve=vt(qt.Days,N.Narrow,x.Standalone);break;case"cccccc":Ve=vt(qt.Days,N.Short,x.Standalone);break;case"E":case"EE":case"EEE":Ve=vt(qt.Days,N.Abbreviated);break;case"EEEE":Ve=vt(qt.Days,N.Wide);break;case"EEEEE":Ve=vt(qt.Days,N.Narrow);break;case"EEEEEE":Ve=vt(qt.Days,N.Short);break;case"a":case"aa":case"aaa":Ve=vt(qt.DayPeriods,N.Abbreviated);break;case"aaaa":Ve=vt(qt.DayPeriods,N.Wide);break;case"aaaaa":Ve=vt(qt.DayPeriods,N.Narrow);break;case"b":case"bb":case"bbb":Ve=vt(qt.DayPeriods,N.Abbreviated,x.Standalone,!0);break;case"bbbb":Ve=vt(qt.DayPeriods,N.Wide,x.Standalone,!0);break;case"bbbbb":Ve=vt(qt.DayPeriods,N.Narrow,x.Standalone,!0);break;case"B":case"BB":case"BBB":Ve=vt(qt.DayPeriods,N.Abbreviated,x.Format,!0);break;case"BBBB":Ve=vt(qt.DayPeriods,N.Wide,x.Format,!0);break;case"BBBBB":Ve=vt(qt.DayPeriods,N.Narrow,x.Format,!0);break;case"h":Ve=gt(_n.Hours,1,-12);break;case"hh":Ve=gt(_n.Hours,2,-12);break;case"H":Ve=gt(_n.Hours,1);break;case"HH":Ve=gt(_n.Hours,2);break;case"m":Ve=gt(_n.Minutes,1);break;case"mm":Ve=gt(_n.Minutes,2);break;case"s":Ve=gt(_n.Seconds,1);break;case"ss":Ve=gt(_n.Seconds,2);break;case"S":Ve=gt(_n.FractionalSeconds,1);break;case"SS":Ve=gt(_n.FractionalSeconds,2);break;case"SSS":Ve=gt(_n.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ve=wt(An.Short);break;case"ZZZZZ":Ve=wt(An.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ve=wt(An.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ve=wt(An.Long);break;default:return null}return At[X]=Ve,Ve}($r);yr+=Cr?Cr(Mt,Ce,gr):"''"===$r?"'":$r.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),yr}function Ue(X,Ve,Ce){const Re=new Date(0);return Re.setFullYear(X,Ve,Ce),Re.setHours(0,0,0),Re}function Ee(X,Ve){const Ce=te(X);if(hn[Ce]??={},hn[Ce][Ve])return hn[Ce][Ve];let Re="";switch(Ve){case"shortDate":Re=Y(X,O.Short);break;case"mediumDate":Re=Y(X,O.Medium);break;case"longDate":Re=Y(X,O.Long);break;case"fullDate":Re=Y(X,O.Full);break;case"shortTime":Re=$(X,O.Short);break;case"mediumTime":Re=$(X,O.Medium);break;case"longTime":Re=$(X,O.Long);break;case"fullTime":Re=$(X,O.Full);break;case"short":const Mt=Ee(X,"shortTime"),Zt=Ee(X,"shortDate");Re=Te(le(X,O.Short),[Mt,Zt]);break;case"medium":const an=Ee(X,"mediumTime"),Pn=Ee(X,"mediumDate");Re=Te(le(X,O.Medium),[an,Pn]);break;case"long":const gr=Ee(X,"longTime"),yr=Ee(X,"longDate");Re=Te(le(X,O.Long),[gr,yr]);break;case"full":const $r=Ee(X,"fullTime"),Cr=Ee(X,"fullDate");Re=Te(le(X,O.Full),[$r,Cr])}return Re&&(hn[Ce][Ve]=Re),Re}function Te(X,Ve){return Ve&&(X=X.replace(/\{([^}]+)}/g,function(Ce,Re){return null!=Ve&&Re in Ve?Ve[Re]:Ce})),X}function $e(X,Ve,Ce="-",Re,Mt){let Zt="";(X<0||Mt&&X<=0)&&(Mt?X=1-X:(X=-X,Zt=Ce));let an=String(X);for(;an.length0||Pn>-Ce)&&(Pn+=Ce),X===_n.Hours)0===Pn&&-12===Ce&&(Pn=12);else if(X===_n.FractionalSeconds)return function je(X,Ve){return $e(X,3).substring(0,Ve)}(Pn,Ve);const gr=ee(an,H.MinusSign);return $e(Pn,Ve,gr,Re,Mt)}}function vt(X,Ve,Ce=x.Format,Re=!1){return function(Mt,Zt){return function ut(X,Ve,Ce,Re,Mt,Zt){switch(Ce){case qt.Months:return K(Ve,Mt,Re)[X.getMonth()];case qt.Days:return se(Ve,Mt,Re)[X.getDay()];case qt.DayPeriods:const an=X.getHours(),Pn=X.getMinutes();if(Zt){const yr=ot(Ve),$r=tt(Ve,Mt,Re),Cr=yr.findIndex(Qr=>{if(Array.isArray(Qr)){const[Hr,Ri]=Qr,eo=an>=Hr.hours&&Pn>=Hr.minutes,Vo=an0?Math.floor(Mt/60):Math.ceil(Mt/60);switch(X){case An.Short:return(Mt>=0?"+":"")+$e(an,2,Zt)+$e(Math.abs(Mt%60),2,Zt);case An.ShortGMT:return"GMT"+(Mt>=0?"+":"")+$e(an,1,Zt);case An.Long:return"GMT"+(Mt>=0?"+":"")+$e(an,2,Zt)+":"+$e(Math.abs(Mt%60),2,Zt);case An.Extended:return 0===Re?"Z":(Mt>=0?"+":"")+$e(an,2,Zt)+":"+$e(Math.abs(Mt%60),2,Zt);default:throw new Error(`Unknown zone width "${X}"`)}}}const st=0,zt=4;function It(X){const Ve=X.getDay(),Ce=0===Ve?-3:zt-Ve;return Ue(X.getFullYear(),X.getMonth(),X.getDate()+Ce)}function Yt(X,Ve=!1){return function(Ce,Re){let Mt;if(Ve){const Zt=new Date(Ce.getFullYear(),Ce.getMonth(),1).getDay()-1,an=Ce.getDate();Mt=1+Math.floor((an+Zt)/7)}else{const Zt=It(Ce),an=function pt(X){const Ve=Ue(X,st,1).getDay();return Ue(X,0,1+(Ve<=zt?zt:zt+7)-Ve)}(Zt.getFullYear()),Pn=Zt.getTime()-an.getTime();Mt=1+Math.round(Pn/6048e5)}return $e(Mt,X,ee(Re,H.MinusSign))}}function Xt(X,Ve=!1){return function(Ce,Re){return $e(It(Ce).getFullYear(),X,ee(Re,H.MinusSign),Ve)}}const At={};function St(X,Ve){X=X.replace(/:/g,"");const Ce=Date.parse("Jan 01, 1970 00:00:00 "+X)/6e4;return isNaN(Ce)?Ve:Ce}function rn(X){return X instanceof Date&&!isNaN(X.valueOf())}const nr=/^(\d+)?\.((\d+)(-(\d+))?)?$/,kr=22,Br=".",sr="0",Er=";",br=",",qn="#",Rn="\xa4",oi="%";function Sr(X,Ve,Ce,Re,Mt,Zt,an=!1){let Pn="",gr=!1;if(isFinite(X)){let yr=function en(X){let Re,Mt,Zt,an,Pn,Ve=Math.abs(X)+"",Ce=0;for((Mt=Ve.indexOf(Br))>-1&&(Ve=Ve.replace(Br,"")),(Zt=Ve.search(/e/i))>0?(Mt<0&&(Mt=Zt),Mt+=+Ve.slice(Zt+1),Ve=Ve.substring(0,Zt)):Mt<0&&(Mt=Ve.length),Zt=0;Ve.charAt(Zt)===sr;Zt++);if(Zt===(Pn=Ve.length))Re=[0],Mt=1;else{for(Pn--;Ve.charAt(Pn)===sr;)Pn--;for(Mt-=Zt,Re=[],an=0;Zt<=Pn;Zt++,an++)Re[an]=Number(Ve.charAt(Zt))}return Mt>kr&&(Re=Re.splice(0,kr-1),Ce=Mt-1,Mt=1),{digits:Re,exponent:Ce,integerLen:Mt}}(X);an&&(yr=function pi(X){if(0===X.digits[0])return X;const Ve=X.digits.length-X.integerLen;return X.exponent?X.exponent+=2:(0===Ve?X.digits.push(0,0):1===Ve&&X.digits.push(0),X.integerLen+=2),X}(yr));let $r=Ve.minInt,Cr=Ve.minFrac,Qr=Ve.maxFrac;if(Zt){const fo=Zt.match(nr);if(null===fo)throw new Error(`${Zt} is not a valid digit info`);const so=fo[1],Yo=fo[3],hi=fo[5];null!=so&&($r=Qn(so)),null!=Yo&&(Cr=Qn(Yo)),null!=hi?Qr=Qn(hi):null!=Yo&&Cr>Qr&&(Qr=Cr)}!function jn(X,Ve,Ce){if(Ve>Ce)throw new Error(`The minimum number of digits after fraction (${Ve}) is higher than the maximum (${Ce}).`);let Re=X.digits,Mt=Re.length-X.integerLen;const Zt=Math.min(Math.max(Ve,Mt),Ce);let an=Zt+X.integerLen,Pn=Re[an];if(an>0){Re.splice(Math.max(X.integerLen,an));for(let Cr=an;Cr=5)if(an-1<0){for(let Cr=0;Cr>an;Cr--)Re.unshift(0),X.integerLen++;Re.unshift(1),X.integerLen++}else Re[an-1]++;for(;Mt=yr?Ri.pop():gr=!1),Qr>=10?1:0},0);$r&&(Re.unshift($r),X.integerLen++)}(yr,Cr,Qr);let Hr=yr.digits,Ri=yr.integerLen;const eo=yr.exponent;let Vo=[];for(gr=Hr.every(fo=>!fo);Ri<$r;Ri++)Hr.unshift(0);for(;Ri<0;Ri++)Hr.unshift(0);Ri>0?Vo=Hr.splice(Ri,Hr.length):(Vo=Hr,Hr=[0]);const gs=[];for(Hr.length>=Ve.lgSize&&gs.unshift(Hr.splice(-Ve.lgSize,Hr.length).join(""));Hr.length>Ve.gSize;)gs.unshift(Hr.splice(-Ve.gSize,Hr.length).join(""));Hr.length&&gs.unshift(Hr.join("")),Pn=gs.join(ee(Ce,Re)),Vo.length&&(Pn+=ee(Ce,Mt)+Vo.join("")),eo&&(Pn+=ee(Ce,H.Exponential)+"+"+eo)}else Pn=ee(Ce,H.Infinity);return Pn=X<0&&!gr?Ve.negPre+Pn+Ve.negSuf:Ve.posPre+Pn+Ve.posSuf,Pn}function pr(X,Ve,Ce,Re,Mt){const an=Or(we(Ve,T.Currency),ee(Ve,H.MinusSign));return an.minFrac=Pt(Re),an.maxFrac=an.minFrac,Sr(X,an,Ve,H.CurrencyGroup,H.CurrencyDecimal,Mt).replace(Rn,Ce).replace(Rn,"").trim()}function Jn(X,Ve,Ce){return Sr(X,Or(we(Ve,T.Percent),ee(Ve,H.MinusSign)),Ve,H.Group,H.Decimal,Ce,!0).replace(new RegExp(oi,"g"),ee(Ve,H.PercentSign))}function er(X,Ve,Ce){return Sr(X,Or(we(Ve,T.Decimal),ee(Ve,H.MinusSign)),Ve,H.Group,H.Decimal,Ce)}function Or(X,Ve="-"){const Ce={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Re=X.split(Er),Mt=Re[0],Zt=Re[1],an=-1!==Mt.indexOf(Br)?Mt.split(Br):[Mt.substring(0,Mt.lastIndexOf(sr)+1),Mt.substring(Mt.lastIndexOf(sr)+1)],Pn=an[0],gr=an[1]||"";Ce.posPre=Pn.substring(0,Pn.indexOf(qn));for(let $r=0;$r{class X{static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:function(Re){let Mt=null;return Re?Mt=new Re:(Zt=n.\u0275\u0275inject(n.LOCALE_ID),Mt=new Pr(Zt)),Mt;var Zt},providedIn:"root"})}return X})();function ui(X,Ve,Ce,Re){let Mt=`=${X}`;if(Ve.indexOf(Mt)>-1||(Mt=Ce.getPluralCategory(X,Re),Ve.indexOf(Mt)>-1))return Mt;if(Ve.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${X}"`)}let Pr=(()=>{class X extends or{constructor(Ce){super(),this.locale=Ce}getPluralCategory(Ce,Re){switch(Pe(Re||this.locale)(Ce)){case P.Zero:return"zero";case P.One:return"one";case P.Two:return"two";case P.Few:return"few";case P.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275inject(n.LOCALE_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac})}return X})();function ct(X,Ve,Ce){return(0,n.\u0275registerLocaleData)(X,Ve,Ce)}function Rt(X,Ve){Ve=encodeURIComponent(Ve);for(const Ce of X.split(";")){const Re=Ce.indexOf("="),[Mt,Zt]=-1==Re?[Ce,""]:[Ce.slice(0,Re),Ce.slice(Re+1)];if(Mt.trim()===Ve)return decodeURIComponent(Zt)}return null}const kt=/\s+/,on=[];let dn=(()=>{class X{constructor(Ce,Re){this._ngEl=Ce,this._renderer=Re,this.initialClasses=on,this.stateMap=new Map}set klass(Ce){this.initialClasses=null!=Ce?Ce.trim().split(kt):on}set ngClass(Ce){this.rawClass="string"==typeof Ce?Ce.trim().split(kt):Ce}ngDoCheck(){for(const Re of this.initialClasses)this._updateState(Re,!0);const Ce=this.rawClass;if(Array.isArray(Ce)||Ce instanceof Set)for(const Re of Ce)this._updateState(Re,!0);else if(null!=Ce)for(const Re of Object.keys(Ce))this._updateState(Re,!!Ce[Re]);this._applyStateDiff()}_updateState(Ce,Re){const Mt=this.stateMap.get(Ce);void 0!==Mt?(Mt.enabled!==Re&&(Mt.changed=!0,Mt.enabled=Re),Mt.touched=!0):this.stateMap.set(Ce,{enabled:Re,changed:!0,touched:!0})}_applyStateDiff(){for(const Ce of this.stateMap){const Re=Ce[0],Mt=Ce[1];Mt.changed?(this._toggleClass(Re,Mt.enabled),Mt.changed=!1):Mt.touched||(Mt.enabled&&this._toggleClass(Re,!1),this.stateMap.delete(Re)),Mt.touched=!1}}_toggleClass(Ce,Re){(Ce=Ce.trim()).length>0&&Ce.split(kt).forEach(Mt=>{Re?this._renderer.addClass(this._ngEl.nativeElement,Mt):this._renderer.removeClass(this._ngEl.nativeElement,Mt)})}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngClass",""]],inputs:{klass:[n.\u0275\u0275InputFlags.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return X})(),Mn=(()=>{class X{constructor(Ce){this._viewContainerRef=Ce,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(Ce){return void 0!==Ce.ngComponentOutletNgModule||void 0!==Ce.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(Ce){return void 0!==Ce.ngComponentOutlet||void 0!==Ce.ngComponentOutletContent||void 0!==Ce.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(Ce)}ngOnChanges(Ce){if(this._needToReCreateComponentInstance(Ce)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const Re=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(Ce)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,En(Re)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(En(Re)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:Re,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const Ce of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(Ce,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(Ce){for(const[Re,Mt]of this._inputsUsed)Mt?(Ce.setInput(Re,this.ngComponentOutletInputs[Re]),this._inputsUsed.set(Re,!1)):(Ce.setInput(Re,void 0),this._inputsUsed.delete(Re))}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return X})();function En(X){return X.get(n.NgModuleRef).injector}class Zn{constructor(Ve,Ce,Re,Mt){this.$implicit=Ve,this.ngForOf=Ce,this.index=Re,this.count=Mt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Yn=(()=>{class X{set ngForOf(Ce){this._ngForOf=Ce,this._ngForOfDirty=!0}set ngForTrackBy(Ce){this._trackByFn=Ce}get ngForTrackBy(){return this._trackByFn}constructor(Ce,Re,Mt){this._viewContainer=Ce,this._template=Re,this._differs=Mt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Ce){Ce&&(this._template=Ce)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Ce=this._ngForOf;!this._differ&&Ce&&(this._differ=this._differs.find(Ce).create(this.ngForTrackBy))}if(this._differ){const Ce=this._differ.diff(this._ngForOf);Ce&&this._applyChanges(Ce)}}_applyChanges(Ce){const Re=this._viewContainer;Ce.forEachOperation((Mt,Zt,an)=>{if(null==Mt.previousIndex)Re.createEmbeddedView(this._template,new Zn(Mt.item,this._ngForOf,-1,-1),null===an?void 0:an);else if(null==an)Re.remove(null===Zt?void 0:Zt);else if(null!==Zt){const Pn=Re.get(Zt);Re.move(Pn,an),Tr(Pn,Mt)}});for(let Mt=0,Zt=Re.length;Mt{Tr(Re.get(Mt.currentIndex),Mt)})}static ngTemplateContextGuard(Ce,Re){return!0}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return X})();function Tr(X,Ve){X.context.$implicit=Ve.item}let zn=(()=>{class X{constructor(Ce,Re){this._viewContainer=Ce,this._context=new ur,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Re}set ngIf(Ce){this._context.$implicit=this._context.ngIf=Ce,this._updateView()}set ngIfThen(Ce){Mi("ngIfThen",Ce),this._thenTemplateRef=Ce,this._thenViewRef=null,this._updateView()}set ngIfElse(Ce){Mi("ngIfElse",Ce),this._elseTemplateRef=Ce,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Ce,Re){return!0}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return X})();class ur{constructor(){this.$implicit=null,this.ngIf=null}}function Mi(X,Ve){if(Ve&&!Ve.createEmbeddedView)throw new Error(`${X} must be a TemplateRef, but received '${(0,n.\u0275stringify)(Ve)}'.`)}class U{constructor(Ve,Ce){this._viewContainerRef=Ve,this._templateRef=Ce,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ve){Ve&&!this._created?this.create():!Ve&&this._created&&this.destroy()}}let z=(()=>{class X{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Ce){this._ngSwitch=Ce,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Ce){this._defaultViews.push(Ce)}_matchCase(Ce){const Re=Ce===this._ngSwitch;return this._lastCasesMatched||=Re,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Re}_updateDefaultCases(Ce){if(this._defaultViews.length>0&&Ce!==this._defaultUsed){this._defaultUsed=Ce;for(const Re of this._defaultViews)Re.enforceState(Ce)}}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return X})(),ae=(()=>{class X{constructor(Ce,Re,Mt){this.ngSwitch=Mt,Mt._addCase(),this._view=new U(Ce,Re)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(z,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return X})(),Fe=(()=>{class X{constructor(Ce,Re,Mt){Mt._addDefault(new U(Ce,Re))}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(z,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return X})(),De=(()=>{class X{constructor(Ce){this._localization=Ce,this._caseViews={}}set ngPlural(Ce){this._updateView(Ce)}addCase(Ce,Re){this._caseViews[Ce]=Re}_updateView(Ce){this._clearViews();const Mt=ui(Ce,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[Mt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Ce){Ce&&(this._activeView=Ce,this._activeView.create())}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(or))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return X})(),rt=(()=>{class X{constructor(Ce,Re,Mt,Zt){this.value=Ce;const an=!isNaN(Number(Ce));Zt.addCase(an?`=${Ce}`:Ce,new U(Mt,Re))}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(De,1))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngPluralCase",""]],standalone:!0})}return X})(),_t=(()=>{class X{constructor(Ce,Re,Mt){this._ngEl=Ce,this._differs=Re,this._renderer=Mt,this._ngStyle=null,this._differ=null}set ngStyle(Ce){this._ngStyle=Ce,!this._differ&&Ce&&(this._differ=this._differs.find(Ce).create())}ngDoCheck(){if(this._differ){const Ce=this._differ.diff(this._ngStyle);Ce&&this._applyChanges(Ce)}}_setStyle(Ce,Re){const[Mt,Zt]=Ce.split("."),an=-1===Mt.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Re?this._renderer.setStyle(this._ngEl.nativeElement,Mt,Zt?`${Re}${Zt}`:Re,an):this._renderer.removeStyle(this._ngEl.nativeElement,Mt,an)}_applyChanges(Ce){Ce.forEachRemovedItem(Re=>this._setStyle(Re.key,null)),Ce.forEachAddedItem(Re=>this._setStyle(Re.key,Re.currentValue)),Ce.forEachChangedItem(Re=>this._setStyle(Re.key,Re.currentValue))}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return X})(),Tt=(()=>{class X{constructor(Ce){this._viewContainerRef=Ce,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Ce){if(this._shouldRecreateView(Ce)){const Re=this._viewContainerRef;if(this._viewRef&&Re.remove(Re.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Mt=this._createContextForwardProxy();this._viewRef=Re.createEmbeddedView(this.ngTemplateOutlet,Mt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Ce){return!!Ce.ngTemplateOutlet||!!Ce.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Ce,Re,Mt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Re,Mt),get:(Ce,Re,Mt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Re,Mt)}})}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return X})();function Jt(X,Ve){return new n.\u0275RuntimeError(2100,!1)}class mn{createSubscription(Ve,Ce){return(0,n.untracked)(()=>Ve.subscribe({next:Ce,error:Re=>{throw Re}}))}dispose(Ve){(0,n.untracked)(()=>Ve.unsubscribe())}}class vn{createSubscription(Ve,Ce){return Ve.then(Ce,Re=>{throw Re})}dispose(Ve){}}const Cn=new vn,fn=new mn;let Gt=(()=>{class X{constructor(Ce){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Ce}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ce){if(!this._obj){if(Ce)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Ce)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Ce!==this._obj?(this._dispose(),this.transform(Ce)):this._latestValue}_subscribe(Ce){this._obj=Ce,this._strategy=this._selectStrategy(Ce),this._subscription=this._strategy.createSubscription(Ce,Re=>this._updateLatestValue(Ce,Re))}_selectStrategy(Ce){if((0,n.\u0275isPromise)(Ce))return Cn;if((0,n.\u0275isSubscribable)(Ce))return fn;throw Jt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ce,Re){Ce===this._obj&&(this._latestValue=Re,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:X,pure:!1,standalone:!0})}return X})(),Nn=(()=>{class X{transform(Ce){if(null==Ce)return null;if("string"!=typeof Ce)throw Jt();return Ce.toLowerCase()}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:X,pure:!0,standalone:!0})}return X})();const lr=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let cr=(()=>{class X{transform(Ce){if(null==Ce)return null;if("string"!=typeof Ce)throw Jt();return Ce.replace(lr,Re=>Re[0].toUpperCase()+Re.slice(1).toLowerCase())}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:X,pure:!0,standalone:!0})}return X})(),Nr=(()=>{class X{transform(Ce){if(null==Ce)return null;if("string"!=typeof Ce)throw Jt();return Ce.toUpperCase()}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:X,pure:!0,standalone:!0})}return X})();const dt=new n.InjectionToken(""),lo=new n.InjectionToken("");let vi=(()=>{class X{constructor(Ce,Re,Mt){this.locale=Ce,this.defaultTimezone=Re,this.defaultOptions=Mt}transform(Ce,Re,Mt,Zt){if(null==Ce||""===Ce||Ce!=Ce)return null;try{return ht(Ce,Re??this.defaultOptions?.dateFormat??"mediumDate",Zt||this.locale,Mt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(an){throw Jt()}}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(dt,24),n.\u0275\u0275directiveInject(lo,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:X,pure:!0,standalone:!0})}return X})();const _r=/#/g;let In=(()=>{class X{constructor(Ce){this._localization=Ce}transform(Ce,Re,Mt){if(null==Ce)return"";if("object"!=typeof Re||null===Re)throw Jt();return Re[ui(Ce,Object.keys(Re),this._localization,Mt)].replace(_r,Ce.toString())}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(or,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:X,pure:!0,standalone:!0})}return X})(),Gn=(()=>{class X{transform(Ce,Re){if(null==Ce)return"";if("object"!=typeof Re||"string"!=typeof Ce)throw Jt();return Re.hasOwnProperty(Ce)?Re[Ce]:Re.hasOwnProperty("other")?Re.other:""}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:X,pure:!0,standalone:!0})}return X})(),si=(()=>{class X{transform(Ce){return JSON.stringify(Ce,null,2)}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:X,pure:!1,standalone:!0})}return X})(),ai=(()=>{class X{constructor(Ce){this.differs=Ce,this.keyValues=[],this.compareFn=Fn}transform(Ce,Re=Fn){if(!Ce||!(Ce instanceof Map)&&"object"!=typeof Ce)return null;this.differ??=this.differs.find(Ce).create();const Mt=this.differ.diff(Ce),Zt=Re!==this.compareFn;return Mt&&(this.keyValues=[],Mt.forEachItem(an=>{this.keyValues.push(function Ir(X,Ve){return{key:X,value:Ve}}(an.key,an.currentValue))})),(Mt||Zt)&&(this.keyValues.sort(Re),this.compareFn=Re),this.keyValues}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:X,pure:!1,standalone:!0})}return X})();function Fn(X,Ve){const Ce=X.key,Re=Ve.key;if(Ce===Re)return 0;if(void 0===Ce)return 1;if(void 0===Re)return-1;if(null===Ce)return 1;if(null===Re)return-1;if("string"==typeof Ce&&"string"==typeof Re)return Ce{class X{constructor(Ce){this._locale=Ce}transform(Ce,Re,Mt){if(!Vi(Ce))return null;Mt||=this._locale;try{return er(hr(Ce),Mt,Re)}catch(Zt){throw Jt()}}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:X,pure:!0,standalone:!0})}return X})(),Zr=(()=>{class X{constructor(Ce){this._locale=Ce}transform(Ce,Re,Mt){if(!Vi(Ce))return null;Mt||=this._locale;try{return Jn(hr(Ce),Mt,Re)}catch(Zt){throw Jt()}}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:X,pure:!0,standalone:!0})}return X})(),Xr=(()=>{class X{constructor(Ce,Re="USD"){this._locale=Ce,this._defaultCurrencyCode=Re}transform(Ce,Re=this._defaultCurrencyCode,Mt="symbol",Zt,an){if(!Vi(Ce))return null;an||=this._locale,"boolean"==typeof Mt&&(Mt=Mt?"symbol":"code");let Pn=Re||this._defaultCurrencyCode;"code"!==Mt&&(Pn="symbol"===Mt||"symbol-narrow"===Mt?Xe(Pn,"symbol"===Mt?"wide":"narrow",an):Mt);try{return pr(hr(Ce),an,Pn,Re,Zt)}catch(gr){throw Jt()}}static#e=this.\u0275fac=function(Re){return new(Re||X)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:X,pure:!0,standalone:!0})}return X})();function Vi(X){return!(null==X||""===X||X!=X)}function hr(X){if("string"==typeof X&&!isNaN(Number(X)-parseFloat(X)))return Number(X);if("number"!=typeof X)throw new Error(`${X} is not a number`);return X}let Yi=(()=>{class X{transform(Ce,Re,Mt){if(null==Ce)return null;if(!this.supports(Ce))throw Jt();return Ce.slice(Re,Mt)}supports(Ce){return"string"==typeof Ce||Array.isArray(Ce)}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:X,pure:!1,standalone:!0})}return X})(),go=(()=>{class X{static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:X});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return X})();const Jr="browser",zi="server",qi="browserWorkerApp",ro="browserWorkerUi";function Rr(X){return X===Jr}function mo(X){return X===zi}function _i(X){return X===qi}function xi(X){return X===ro}const qr=new n.Version("17.2.3");let ar=(()=>{class X{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:X,providedIn:"root",factory:()=>Rr((0,n.inject)(n.PLATFORM_ID))?new yo((0,n.inject)(u),window):new yi})}return X})();class yo{constructor(Ve,Ce){this.document=Ve,this.window=Ce,this.offset=()=>[0,0]}setOffset(Ve){this.offset=Array.isArray(Ve)?()=>Ve:Ve}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ve){this.window.scrollTo(Ve[0],Ve[1])}scrollToAnchor(Ve){const Ce=function wi(X,Ve){const Ce=X.getElementById(Ve)||X.getElementsByName(Ve)[0];if(Ce)return Ce;if("function"==typeof X.createTreeWalker&&X.body&&"function"==typeof X.body.attachShadow){const Re=X.createTreeWalker(X.body,NodeFilter.SHOW_ELEMENT);let Mt=Re.currentNode;for(;Mt;){const Zt=Mt.shadowRoot;if(Zt){const an=Zt.getElementById(Ve)||Zt.querySelector(`[name="${Ve}"]`);if(an)return an}Mt=Re.nextNode()}}return null}(this.document,Ve);Ce&&(this.scrollToElement(Ce),Ce.focus())}setHistoryScrollRestoration(Ve){this.window.history.scrollRestoration=Ve}scrollToElement(Ve){const Ce=Ve.getBoundingClientRect(),Re=Ce.left+this.window.pageXOffset,Mt=Ce.top+this.window.pageYOffset,Zt=this.offset();this.window.scrollTo(Re-Zt[0],Mt-Zt[1])}}class yi{setOffset(Ve){}getScrollPosition(){return[0,0]}scrollToPosition(Ve){}scrollToAnchor(Ve){}setHistoryScrollRestoration(Ve){}}class Mo{}function zr(X){return/^https?:\/\//.test(X)}function Ni(X){if("string"!=typeof X||""===X.trim())return!1;try{return new URL(X),!0}catch{return!1}}function Lo(X){return X.startsWith("/")?X.slice(1):X}const Oi=X=>X.src,Zi=new n.InjectionToken("",{providedIn:"root",factory:()=>Oi});function Li(X,Ve){return function(Re){return Ni(Re)||function Gi(X,Ve){throw new n.\u0275RuntimeError(2959,!1)}(),Re=function Gr(X){return X.endsWith("/")?X.slice(0,-1):X}(Re),[{provide:Zi,useValue:an=>(zr(an.src)&&function $o(X,Ve){throw new n.\u0275RuntimeError(2959,!1)}(),X(Re,{...an,src:Lo(an.src)}))}]}}const Co=Li(Ro);function Ro(X,Ve){let Ce="format=auto";return Ve.width&&(Ce+=`,width=${Ve.width}`),`${X}/cdn-cgi/image/${Ce}/${Ve.src}`}const ns=Li(rs);function rs(X,Ve){let Ce="f_auto,q_auto";return Ve.width&&(Ce+=`,w_${Ve.width}`),`${X}/image/upload/${Ce}/${Ve.src}`}const cs=Li(co);function co(X,Ve){const{src:Ce,width:Re}=Ve;let Mt;return Mt=Re?[X,`tr:w-${Re}`,Ce]:[X,Ce],Mt.join("/")}const hs=Li(Qo);function Qo(X,Ve){const Ce=new URL(`${X}/${Ve.src}`);return Ce.searchParams.set("auto","format"),Ve.width&&Ce.searchParams.set("w",Ve.width.toString()),Ce.href}function ft(X){if(X&&!Ni(X))throw new n.\u0275RuntimeError(2959,!1);return X&&(X=new URL(X).origin),[{provide:Zi,useValue:Re=>function Wn(X,Ve){const Ce=new URL(Ve??"https://a/");Ce.pathname="/.netlify/images",!zr(X.src)&&!X.src.startsWith("/")&&(X.src="/"+X.src),Ce.searchParams.set("url",X.src),X.width&&Ce.searchParams.set("w",X.width.toString());for(const[Re,Mt]of Object.entries(X.loaderParams??{}))Ot.has(Re)&&Ce.searchParams.set(Ot.get(Re),Mt.toString());return"a"===Ce.hostname?Ce.href.replace(Ce.origin,""):Ce.href}(Re,X)}]}const Ot=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]),Zo=new n.InjectionToken(""),xo=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let _o=(()=>{class X{constructor(){this.preloadedImages=(0,n.inject)(xo),this.document=(0,n.inject)(u)}createPreloadLinkTag(Ce,Re,Mt,Zt){if(this.preloadedImages.has(Re))return;this.preloadedImages.add(Re);const an=Ce.createElement("link");Ce.setAttribute(an,"as","image"),Ce.setAttribute(an,"href",Re),Ce.setAttribute(an,"rel","preload"),Ce.setAttribute(an,"fetchpriority","high"),Zt&&Ce.setAttribute(an,"imageSizes",Zt),Mt&&Ce.setAttribute(an,"imageSrcset",Mt),Ce.appendChild(this.document.head,an)}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"})}return X})();const To=/^((\s*\d+w\s*(,|$)){1,})$/,fs=[1,2];let yn=(()=>{class X{constructor(){this.imageLoader=(0,n.inject)(Zi),this.config=function $n(X){let Ve={};return X.breakpoints&&(Ve.breakpoints=X.breakpoints.sort((Ce,Re)=>Ce-Re)),Object.assign({},n.\u0275IMAGE_CONFIG_DEFAULTS,X,Ve)}((0,n.inject)(n.\u0275IMAGE_CONFIG)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=mo((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(_o),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,n.\u0275performanceMarkFeature)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const Ce=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),Ce,this.sizes)}ngOnChanges(Ce){if(Ce.ngSrc&&!Ce.ngSrc.isFirstChange()){const Re=this._renderedSrc;this.updateSrcAndSrcset(!0);const Mt=this._renderedSrc;null!==this.lcpObserver&&Re&&Mt&&Re!==Mt&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(Re,Mt)})}}callImageLoader(Ce){let Re=Ce;return this.loaderParams&&(Re.loaderParams=this.loaderParams),this.imageLoader(Re)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const Ce=To.test(this.ngSrcset);return this.ngSrcset.split(",").filter(Mt=>""!==Mt).map(Mt=>{Mt=Mt.trim();const Zt=Ce?parseFloat(Mt):parseFloat(Mt)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:Zt})} ${Mt}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:Ce}=this.config;let Re=Ce;return"100vw"===this.sizes?.trim()&&(Re=Ce.filter(Zt=>Zt>=640)),Re.map(Zt=>`${this.callImageLoader({src:this.ngSrc,width:Zt})} ${Zt}w`).join(", ")}updateSrcAndSrcset(Ce=!1){Ce&&(this._renderedSrc=null);const Re=this.getRewrittenSrc();let Mt;return this.setHostAttribute("src",Re),this.ngSrcset?Mt=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Mt=this.getAutomaticSrcset()),Mt&&this.setHostAttribute("srcset",Mt),Mt}getFixedSrcset(){return fs.map(Re=>`${this.callImageLoader({src:this.ngSrc,width:this.width*Re})} ${Re}x`).join(", ")}shouldGenerateAutomaticSrcset(){let Ce=!1;return this.sizes||(Ce=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Oi&&!Ce}generatePlaceholder(Ce){const{placeholderResolution:Re}=this.config;return!0===Ce?`url(${this.callImageLoader({src:this.ngSrc,width:Re,isPlaceholder:!0})})`:"string"==typeof Ce&&Ce.startsWith("data:")?`url(${Ce})`:null}shouldBlurPlaceholder(Ce){return!Ce||!Ce.hasOwnProperty("blur")||!!Ce.blur}removePlaceholderOnLoad(Ce){const Re=()=>{const an=this.injector.get(n.ChangeDetectorRef);Mt(),Zt(),this.placeholder=!1,an.markForCheck()},Mt=this.renderer.listen(Ce,"load",Re),Zt=this.renderer.listen(Ce,"error",Re)}ngOnDestroy(){}setHostAttribute(Ce,Re){this.renderer.setAttribute(this.imgElement,Ce,Re)}static#e=this.\u0275fac=function(Re){return new(Re||X)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(Re,Mt){2&Re&&n.\u0275\u0275styleProp("position",Mt.fill?"absolute":null)("width",Mt.fill?"100%":null)("height",Mt.fill?"100%":null)("inset",Mt.fill?"0":null)("background-size",Mt.placeholder?"cover":null)("background-position",Mt.placeholder?"50% 50%":null)("background-repeat",Mt.placeholder?"no-repeat":null)("background-image",Mt.placeholder?Mt.generatePlaceholder(Mt.placeholder):null)("filter",Mt.placeholder&&Mt.shouldBlurPlaceholder(Mt.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"ngSrc","ngSrc",jt],ngSrcset:"ngSrcset",sizes:"sizes",width:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"width","width",n.numberAttribute],height:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"height","height",n.numberAttribute],loading:"loading",priority:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fill","fill",n.booleanAttribute],placeholder:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"placeholder","placeholder",cn],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return X})();function jt(X){return"string"==typeof X?X:(0,n.\u0275unwrapSafeValue)(X)}function cn(X){return"string"==typeof X&&X.startsWith("data:")?X:(0,n.booleanAttribute)(X)}},97048:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{FetchBackend:()=>ye,HTTP_INTERCEPTORS:()=>tt,HttpBackend:()=>_,HttpClient:()=>$,HttpClientJsonpModule:()=>qn,HttpClientModule:()=>br,HttpClientXsrfModule:()=>Er,HttpContext:()=>P,HttpContextToken:()=>T,HttpErrorResponse:()=>re,HttpEventType:()=>ue,HttpFeatureKind:()=>$t,HttpHandler:()=>C,HttpHeaderResponse:()=>K,HttpHeaders:()=>f,HttpParams:()=>j,HttpRequest:()=>te,HttpResponse:()=>Z,HttpResponseBase:()=>se,HttpStatusCode:()=>J,HttpUrlEncodingCodec:()=>b,HttpXhrBackend:()=>vt,HttpXsrfTokenExtractor:()=>It,JsonpClientBackend:()=>Te,JsonpInterceptor:()=>je,provideHttpClient:()=>xt,withFetch:()=>sr,withInterceptors:()=>nn,withInterceptorsFromDi:()=>Tn,withJsonpSupport:()=>kr,withNoXsrfProtection:()=>nr,withRequestsMadeViaParent:()=>Br,withXsrfConfiguration:()=>rn,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>Qe,\u0275HttpInterceptingHandler:()=>tn,\u0275HttpInterceptorHandler:()=>tn,\u0275PRIMARY_HTTP_BACKEND:()=>Ct,\u0275withHttpTransferCache:()=>ui});var n=o(1528),i=o(54496),d=o(82700),a=o(53252),l=o(74496),e=o(26020),u=o(66684),c=o(54704),g=o(68824),v=o(17368),p=o(19212),S=o(91368);class C{}class _{}class f{constructor(Rt){this.normalizedNames=new Map,this.lazyUpdate=null,Rt?"string"==typeof Rt?this.lazyInit=()=>{this.headers=new Map,Rt.split("\n").forEach(kt=>{const on=kt.indexOf(":");if(on>0){const dn=kt.slice(0,on),Mn=dn.toLowerCase(),En=kt.slice(on+1).trim();this.maybeSetNormalizedName(dn,Mn),this.headers.has(Mn)?this.headers.get(Mn).push(En):this.headers.set(Mn,[En])}})}:typeof Headers<"u"&&Rt instanceof Headers?(this.headers=new Map,Rt.forEach((kt,on)=>{this.setHeaderEntries(on,kt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Rt).forEach(([kt,on])=>{this.setHeaderEntries(kt,on)})}:this.headers=new Map}has(Rt){return this.init(),this.headers.has(Rt.toLowerCase())}get(Rt){this.init();const kt=this.headers.get(Rt.toLowerCase());return kt&&kt.length>0?kt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Rt){return this.init(),this.headers.get(Rt.toLowerCase())||null}append(Rt,kt){return this.clone({name:Rt,value:kt,op:"a"})}set(Rt,kt){return this.clone({name:Rt,value:kt,op:"s"})}delete(Rt,kt){return this.clone({name:Rt,value:kt,op:"d"})}maybeSetNormalizedName(Rt,kt){this.normalizedNames.has(kt)||this.normalizedNames.set(kt,Rt)}init(){this.lazyInit&&(this.lazyInit instanceof f?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Rt=>this.applyUpdate(Rt)),this.lazyUpdate=null))}copyFrom(Rt){Rt.init(),Array.from(Rt.headers.keys()).forEach(kt=>{this.headers.set(kt,Rt.headers.get(kt)),this.normalizedNames.set(kt,Rt.normalizedNames.get(kt))})}clone(Rt){const kt=new f;return kt.lazyInit=this.lazyInit&&this.lazyInit instanceof f?this.lazyInit:this,kt.lazyUpdate=(this.lazyUpdate||[]).concat([Rt]),kt}applyUpdate(Rt){const kt=Rt.name.toLowerCase();switch(Rt.op){case"a":case"s":let on=Rt.value;if("string"==typeof on&&(on=[on]),0===on.length)return;this.maybeSetNormalizedName(Rt.name,kt);const dn=("a"===Rt.op?this.headers.get(kt):void 0)||[];dn.push(...on),this.headers.set(kt,dn);break;case"d":const Mn=Rt.value;if(Mn){let En=this.headers.get(kt);if(!En)return;En=En.filter(Zn=>-1===Mn.indexOf(Zn)),0===En.length?(this.headers.delete(kt),this.normalizedNames.delete(kt)):this.headers.set(kt,En)}else this.headers.delete(kt),this.normalizedNames.delete(kt)}}setHeaderEntries(Rt,kt){const on=(Array.isArray(kt)?kt:[kt]).map(Mn=>Mn.toString()),dn=Rt.toLowerCase();this.headers.set(dn,on),this.maybeSetNormalizedName(Rt,dn)}forEach(Rt){this.init(),Array.from(this.normalizedNames.keys()).forEach(kt=>Rt(this.normalizedNames.get(kt),this.headers.get(kt)))}}class b{encodeKey(Rt){return I(Rt)}encodeValue(Rt){return I(Rt)}decodeKey(Rt){return decodeURIComponent(Rt)}decodeValue(Rt){return decodeURIComponent(Rt)}}const M=/%(\d[a-f0-9])/gi,A={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function I(ct){return encodeURIComponent(ct).replace(M,(Rt,kt)=>A[kt]??Rt)}function F(ct){return`${ct}`}class j{constructor(Rt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Rt.encoder||new b,Rt.fromString){if(Rt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function E(ct,Rt){const kt=new Map;return ct.length>0&&ct.replace(/^\?/,"").split("&").forEach(dn=>{const Mn=dn.indexOf("="),[En,Zn]=-1==Mn?[Rt.decodeKey(dn),""]:[Rt.decodeKey(dn.slice(0,Mn)),Rt.decodeValue(dn.slice(Mn+1))],Yn=kt.get(En)||[];Yn.push(Zn),kt.set(En,Yn)}),kt}(Rt.fromString,this.encoder)}else Rt.fromObject?(this.map=new Map,Object.keys(Rt.fromObject).forEach(kt=>{const on=Rt.fromObject[kt],dn=Array.isArray(on)?on.map(F):[F(on)];this.map.set(kt,dn)})):this.map=null}has(Rt){return this.init(),this.map.has(Rt)}get(Rt){this.init();const kt=this.map.get(Rt);return kt?kt[0]:null}getAll(Rt){return this.init(),this.map.get(Rt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Rt,kt){return this.clone({param:Rt,value:kt,op:"a"})}appendAll(Rt){const kt=[];return Object.keys(Rt).forEach(on=>{const dn=Rt[on];Array.isArray(dn)?dn.forEach(Mn=>{kt.push({param:on,value:Mn,op:"a"})}):kt.push({param:on,value:dn,op:"a"})}),this.clone(kt)}set(Rt,kt){return this.clone({param:Rt,value:kt,op:"s"})}delete(Rt,kt){return this.clone({param:Rt,value:kt,op:"d"})}toString(){return this.init(),this.keys().map(Rt=>{const kt=this.encoder.encodeKey(Rt);return this.map.get(Rt).map(on=>kt+"="+this.encoder.encodeValue(on)).join("&")}).filter(Rt=>""!==Rt).join("&")}clone(Rt){const kt=new j({encoder:this.encoder});return kt.cloneFrom=this.cloneFrom||this,kt.updates=(this.updates||[]).concat(Rt),kt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Rt=>this.map.set(Rt,this.cloneFrom.map.get(Rt))),this.updates.forEach(Rt=>{switch(Rt.op){case"a":case"s":const kt=("a"===Rt.op?this.map.get(Rt.param):void 0)||[];kt.push(F(Rt.value)),this.map.set(Rt.param,kt);break;case"d":if(void 0===Rt.value){this.map.delete(Rt.param);break}{let on=this.map.get(Rt.param)||[];const dn=on.indexOf(F(Rt.value));-1!==dn&&on.splice(dn,1),on.length>0?this.map.set(Rt.param,on):this.map.delete(Rt.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(Rt){this.defaultValue=Rt}}class P{constructor(){this.map=new Map}set(Rt,kt){return this.map.set(Rt,kt),this}get(Rt){return this.map.has(Rt)||this.map.set(Rt,Rt.defaultValue()),this.map.get(Rt)}delete(Rt){return this.map.delete(Rt),this}has(Rt){return this.map.has(Rt)}keys(){return this.map.keys()}}function N(ct){return typeof ArrayBuffer<"u"&&ct instanceof ArrayBuffer}function O(ct){return typeof Blob<"u"&&ct instanceof Blob}function H(ct){return typeof FormData<"u"&&ct instanceof FormData}class te{constructor(Rt,kt,on,dn){let Mn;if(this.url=kt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Rt.toUpperCase(),function x(ct){switch(ct){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||dn?(this.body=void 0!==on?on:null,Mn=dn):Mn=on,Mn&&(this.reportProgress=!!Mn.reportProgress,this.withCredentials=!!Mn.withCredentials,Mn.responseType&&(this.responseType=Mn.responseType),Mn.headers&&(this.headers=Mn.headers),Mn.context&&(this.context=Mn.context),Mn.params&&(this.params=Mn.params),this.transferCache=Mn.transferCache),this.headers??=new f,this.context??=new P,this.params){const En=this.params.toString();if(0===En.length)this.urlWithParams=kt;else{const Zn=kt.indexOf("?");this.urlWithParams=kt+(-1===Zn?"?":Znzn.set(ur,Rt.setHeaders[ur]),Yn)),Rt.setParams&&(Tr=Object.keys(Rt.setParams).reduce((zn,ur)=>zn.set(ur,Rt.setParams[ur]),Tr)),new te(kt,on,Mn,{params:Tr,headers:Yn,context:Mr,reportProgress:Zn,responseType:dn,withCredentials:En})}}var ue=function(ct){return ct[ct.Sent=0]="Sent",ct[ct.UploadProgress=1]="UploadProgress",ct[ct.ResponseHeader=2]="ResponseHeader",ct[ct.DownloadProgress=3]="DownloadProgress",ct[ct.Response=4]="Response",ct[ct.User=5]="User",ct}(ue||{});class se{constructor(Rt,kt=J.Ok,on="OK"){this.headers=Rt.headers||new f,this.status=void 0!==Rt.status?Rt.status:kt,this.statusText=Rt.statusText||on,this.url=Rt.url||null,this.ok=this.status>=200&&this.status<300}}class K extends se{constructor(Rt={}){super(Rt),this.type=ue.ResponseHeader}clone(Rt={}){return new K({headers:Rt.headers||this.headers,status:void 0!==Rt.status?Rt.status:this.status,statusText:Rt.statusText||this.statusText,url:Rt.url||this.url||void 0})}}class Z extends se{constructor(Rt={}){super(Rt),this.type=ue.Response,this.body=void 0!==Rt.body?Rt.body:null}clone(Rt={}){return new Z({body:void 0!==Rt.body?Rt.body:this.body,headers:Rt.headers||this.headers,status:void 0!==Rt.status?Rt.status:this.status,statusText:Rt.statusText||this.statusText,url:Rt.url||this.url||void 0})}}class re extends se{constructor(Rt){super(Rt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Rt.url||"(unknown url)"}`:`Http failure response for ${Rt.url||"(unknown url)"}: ${Rt.status} ${Rt.statusText}`,this.error=Rt.error||null}}var J=function(ct){return ct[ct.Continue=100]="Continue",ct[ct.SwitchingProtocols=101]="SwitchingProtocols",ct[ct.Processing=102]="Processing",ct[ct.EarlyHints=103]="EarlyHints",ct[ct.Ok=200]="Ok",ct[ct.Created=201]="Created",ct[ct.Accepted=202]="Accepted",ct[ct.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",ct[ct.NoContent=204]="NoContent",ct[ct.ResetContent=205]="ResetContent",ct[ct.PartialContent=206]="PartialContent",ct[ct.MultiStatus=207]="MultiStatus",ct[ct.AlreadyReported=208]="AlreadyReported",ct[ct.ImUsed=226]="ImUsed",ct[ct.MultipleChoices=300]="MultipleChoices",ct[ct.MovedPermanently=301]="MovedPermanently",ct[ct.Found=302]="Found",ct[ct.SeeOther=303]="SeeOther",ct[ct.NotModified=304]="NotModified",ct[ct.UseProxy=305]="UseProxy",ct[ct.Unused=306]="Unused",ct[ct.TemporaryRedirect=307]="TemporaryRedirect",ct[ct.PermanentRedirect=308]="PermanentRedirect",ct[ct.BadRequest=400]="BadRequest",ct[ct.Unauthorized=401]="Unauthorized",ct[ct.PaymentRequired=402]="PaymentRequired",ct[ct.Forbidden=403]="Forbidden",ct[ct.NotFound=404]="NotFound",ct[ct.MethodNotAllowed=405]="MethodNotAllowed",ct[ct.NotAcceptable=406]="NotAcceptable",ct[ct.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",ct[ct.RequestTimeout=408]="RequestTimeout",ct[ct.Conflict=409]="Conflict",ct[ct.Gone=410]="Gone",ct[ct.LengthRequired=411]="LengthRequired",ct[ct.PreconditionFailed=412]="PreconditionFailed",ct[ct.PayloadTooLarge=413]="PayloadTooLarge",ct[ct.UriTooLong=414]="UriTooLong",ct[ct.UnsupportedMediaType=415]="UnsupportedMediaType",ct[ct.RangeNotSatisfiable=416]="RangeNotSatisfiable",ct[ct.ExpectationFailed=417]="ExpectationFailed",ct[ct.ImATeapot=418]="ImATeapot",ct[ct.MisdirectedRequest=421]="MisdirectedRequest",ct[ct.UnprocessableEntity=422]="UnprocessableEntity",ct[ct.Locked=423]="Locked",ct[ct.FailedDependency=424]="FailedDependency",ct[ct.TooEarly=425]="TooEarly",ct[ct.UpgradeRequired=426]="UpgradeRequired",ct[ct.PreconditionRequired=428]="PreconditionRequired",ct[ct.TooManyRequests=429]="TooManyRequests",ct[ct.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",ct[ct.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",ct[ct.InternalServerError=500]="InternalServerError",ct[ct.NotImplemented=501]="NotImplemented",ct[ct.BadGateway=502]="BadGateway",ct[ct.ServiceUnavailable=503]="ServiceUnavailable",ct[ct.GatewayTimeout=504]="GatewayTimeout",ct[ct.HttpVersionNotSupported=505]="HttpVersionNotSupported",ct[ct.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",ct[ct.InsufficientStorage=507]="InsufficientStorage",ct[ct.LoopDetected=508]="LoopDetected",ct[ct.NotExtended=510]="NotExtended",ct[ct.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",ct}(J||{});function Y(ct,Rt){return{body:Rt,headers:ct.headers,context:ct.context,observe:ct.observe,params:ct.params,reportProgress:ct.reportProgress,responseType:ct.responseType,withCredentials:ct.withCredentials,transferCache:ct.transferCache}}let $=(()=>{class ct{constructor(kt){this.handler=kt}request(kt,on,dn={}){let Mn;if(kt instanceof te)Mn=kt;else{let Yn,Tr;Yn=dn.headers instanceof f?dn.headers:new f(dn.headers),dn.params&&(Tr=dn.params instanceof j?dn.params:new j({fromObject:dn.params})),Mn=new te(kt,on,void 0!==dn.body?dn.body:null,{headers:Yn,context:dn.context,params:Tr,reportProgress:dn.reportProgress,responseType:dn.responseType||"json",withCredentials:dn.withCredentials,transferCache:dn.transferCache})}const En=(0,d.of)(Mn).pipe((0,e.m)(Yn=>this.handler.handle(Yn)));if(kt instanceof te||"events"===dn.observe)return En;const Zn=En.pipe((0,u.I)(Yn=>Yn instanceof Z));switch(dn.observe||"body"){case"body":switch(Mn.responseType){case"arraybuffer":return Zn.pipe((0,c.k)(Yn=>{if(null!==Yn.body&&!(Yn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Yn.body}));case"blob":return Zn.pipe((0,c.k)(Yn=>{if(null!==Yn.body&&!(Yn.body instanceof Blob))throw new Error("Response is not a Blob.");return Yn.body}));case"text":return Zn.pipe((0,c.k)(Yn=>{if(null!==Yn.body&&"string"!=typeof Yn.body)throw new Error("Response is not a string.");return Yn.body}));default:return Zn.pipe((0,c.k)(Yn=>Yn.body))}case"response":return Zn;default:throw new Error(`Unreachable: unhandled observe type ${dn.observe}}`)}}delete(kt,on={}){return this.request("DELETE",kt,on)}get(kt,on={}){return this.request("GET",kt,on)}head(kt,on={}){return this.request("HEAD",kt,on)}jsonp(kt,on){return this.request("JSONP",kt,{params:(new j).append(on,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(kt,on={}){return this.request("OPTIONS",kt,on)}patch(kt,on,dn={}){return this.request("PATCH",kt,Y(dn,on))}post(kt,on,dn={}){return this.request("POST",kt,Y(dn,on))}put(kt,on,dn={}){return this.request("PUT",kt,Y(dn,on))}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(C))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();const le=/^\)\]\}',?\n/;function we(ct){if(ct.url)return ct.url;const Rt="X-Request-URL".toLocaleLowerCase();return ct.headers.get(Rt)}let ye=(()=>{class ct{constructor(){this.fetchImpl=(0,i.inject)(Oe,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,i.inject)(i.NgZone)}handle(kt){return new a._(on=>{const dn=new AbortController;return this.doRequest(kt,dn.signal,on).then(ve,Mn=>on.error(new re({error:Mn}))),()=>dn.abort()})}doRequest(kt,on,dn){var Mn=this;return(0,n.c)(function*(){const En=Mn.createRequestInit(kt);let Zn;try{const un=Mn.fetchImpl(kt.urlWithParams,{signal:on,...En});(function _e(ct){ct.then(ve,ve)})(un),dn.next({type:ue.Sent}),Zn=yield un}catch(un){return void dn.error(new re({error:un,status:un.status??0,statusText:un.statusText,url:kt.urlWithParams,headers:un.headers}))}const Yn=new f(Zn.headers),Tr=Zn.statusText,Mr=we(Zn)??kt.urlWithParams;let zn=Zn.status,ur=null;if(kt.reportProgress&&dn.next(new K({headers:Yn,status:zn,statusText:Tr,url:Mr})),Zn.body){const un=Zn.headers.get("content-length"),U=[],z=Zn.body.getReader();let Fe,Ae,ae=0;const fe=typeof Zone<"u"&&Zone.current;yield Mn.ngZone.runOutsideAngular((0,n.c)(function*(){for(;;){const{done:rt,value:_t}=yield z.read();if(rt)break;if(U.push(_t),ae+=_t.length,kt.reportProgress){Ae="text"===kt.responseType?(Ae??"")+(Fe??=new TextDecoder).decode(_t,{stream:!0}):void 0;const Tt=()=>dn.next({type:ue.DownloadProgress,total:un?+un:void 0,loaded:ae,partialText:Ae});fe?fe.run(Tt):Tt()}}}));const De=Mn.concatChunks(U,ae);try{const rt=Zn.headers.get("Content-Type")??"";ur=Mn.parseBody(kt,De,rt)}catch(rt){return void dn.error(new re({error:rt,headers:new f(Zn.headers),status:Zn.status,statusText:Zn.statusText,url:we(Zn)??kt.urlWithParams}))}}0===zn&&(zn=ur?J.Ok:0),zn>=200&&zn<300?(dn.next(new Z({body:ur,headers:Yn,status:zn,statusText:Tr,url:Mr})),dn.complete()):dn.error(new re({error:ur,headers:Yn,status:zn,statusText:Tr,url:Mr}))})()}parseBody(kt,on,dn){switch(kt.responseType){case"json":const Mn=(new TextDecoder).decode(on).replace(le,"");return""===Mn?null:JSON.parse(Mn);case"text":return(new TextDecoder).decode(on);case"blob":return new Blob([on],{type:dn});case"arraybuffer":return on.buffer}}createRequestInit(kt){const on={},dn=kt.withCredentials?"include":void 0;if(kt.headers.forEach((Mn,En)=>on[Mn]=En.join(",")),on.Accept??="application/json, text/plain, */*",!on["Content-Type"]){const Mn=kt.detectContentTypeHeader();null!==Mn&&(on["Content-Type"]=Mn)}return{body:kt.serializeBody(),method:kt.method,headers:on,credentials:dn}}concatChunks(kt,on){const dn=new Uint8Array(on);let Mn=0;for(const En of kt)dn.set(En,Mn),Mn+=En.length;return dn}static#e=this.\u0275fac=function(on){return new(on||ct)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();class Oe{}function ve(){}function Pe(ct,Rt){return Rt(ct)}function Ze(ct,Rt){return(kt,on)=>Rt.intercept(kt,{handle:dn=>ct(dn,on)})}const tt=new i.InjectionToken(""),mt=new i.InjectionToken(""),Qe=new i.InjectionToken(""),Ct=new i.InjectionToken("");function Xe(){let ct=null;return(Rt,kt)=>{null===ct&&(ct=((0,i.inject)(tt,{optional:!0})??[]).reduceRight(Ze,Pe));const on=(0,i.inject)(i.\u0275PendingTasks),dn=on.add();return ct(Rt,kt).pipe((0,g.U)(()=>on.remove(dn)))}}let wn,tn=(()=>{class ct extends C{constructor(kt,on){super(),this.backend=kt,this.injector=on,this.chain=null,this.pendingTasks=(0,i.inject)(i.\u0275PendingTasks);const dn=(0,i.inject)(Ct,{optional:!0});this.backend=dn??kt}handle(kt){if(null===this.chain){const dn=Array.from(new Set([...this.injector.get(mt),...this.injector.get(Qe,[])]));this.chain=dn.reduceRight((Mn,En)=>function ot(ct,Rt,kt){return(on,dn)=>(0,i.runInInjectionContext)(kt,()=>Rt(on,Mn=>ct(Mn,dn)))}(Mn,En,this.injector),Pe)}const on=this.pendingTasks.add();return this.chain(kt,dn=>this.backend.handle(dn)).pipe((0,g.U)(()=>this.pendingTasks.remove(on)))}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(_),i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})(),hn=0;class Ue{}function Ee(){return"object"==typeof window?window:{}}let Te=(()=>{class ct{constructor(kt,on){this.callbackMap=kt,this.document=on,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+hn++}handle(kt){if("JSONP"!==kt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==kt.responseType)throw new Error("JSONP requests must use Json response type.");if(kt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new a._(on=>{const dn=this.nextCallback(),Mn=kt.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${dn}$1`),En=this.document.createElement("script");En.src=Mn;let Zn=null,Yn=!1;this.callbackMap[dn]=ur=>{delete this.callbackMap[dn],Zn=ur,Yn=!0};const Tr=()=>{En.parentNode&&En.parentNode.removeChild(En),delete this.callbackMap[dn]};return En.addEventListener("load",ur=>{this.resolvedPromise.then(()=>{Tr(),Yn?(on.next(new Z({body:Zn,status:J.Ok,statusText:"OK",url:Mn})),on.complete()):on.error(new re({url:Mn,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),En.addEventListener("error",ur=>{Tr(),on.error(new re({error:ur,status:0,statusText:"JSONP Error",url:Mn}))}),this.document.body.appendChild(En),on.next({type:ue.Sent}),()=>{Yn||this.removeListeners(En),Tr()}})}removeListeners(kt){wn??=this.document.implementation.createHTMLDocument(),wn.adoptNode(kt)}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(Ue),i.\u0275\u0275inject(S.DOCUMENT))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();function $e(ct,Rt){return"JSONP"===ct.method?(0,i.inject)(Te).handle(ct):Rt(ct)}let je=(()=>{class ct{constructor(kt){this.injector=kt}intercept(kt,on){return(0,i.runInInjectionContext)(this.injector,()=>$e(kt,dn=>on.handle(dn)))}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();const gt=/^\)\]\}',?\n/;let vt=(()=>{class ct{constructor(kt){this.xhrFactory=kt}handle(kt){if("JSONP"===kt.method)throw new i.\u0275RuntimeError(-2800,!1);const on=this.xhrFactory;return(on.\u0275loadImpl?(0,l.Q)(on.\u0275loadImpl()):(0,d.of)(null)).pipe((0,v.G)(()=>new a._(Mn=>{const En=on.build();if(En.open(kt.method,kt.urlWithParams),kt.withCredentials&&(En.withCredentials=!0),kt.headers.forEach((U,z)=>En.setRequestHeader(U,z.join(","))),kt.headers.has("Accept")||En.setRequestHeader("Accept","application/json, text/plain, */*"),!kt.headers.has("Content-Type")){const U=kt.detectContentTypeHeader();null!==U&&En.setRequestHeader("Content-Type",U)}if(kt.responseType){const U=kt.responseType.toLowerCase();En.responseType="json"!==U?U:"text"}const Zn=kt.serializeBody();let Yn=null;const Tr=()=>{if(null!==Yn)return Yn;const U=En.statusText||"OK",z=new f(En.getAllResponseHeaders()),ae=function He(ct){return"responseURL"in ct&&ct.responseURL?ct.responseURL:/^X-Request-URL:/m.test(ct.getAllResponseHeaders())?ct.getResponseHeader("X-Request-URL"):null}(En)||kt.url;return Yn=new K({headers:z,status:En.status,statusText:U,url:ae}),Yn},Mr=()=>{let{headers:U,status:z,statusText:ae,url:Fe}=Tr(),Ae=null;z!==J.NoContent&&(Ae=typeof En.response>"u"?En.responseText:En.response),0===z&&(z=Ae?J.Ok:0);let fe=z>=200&&z<300;if("json"===kt.responseType&&"string"==typeof Ae){const De=Ae;Ae=Ae.replace(gt,"");try{Ae=""!==Ae?JSON.parse(Ae):null}catch(rt){Ae=De,fe&&(fe=!1,Ae={error:rt,text:Ae})}}fe?(Mn.next(new Z({body:Ae,headers:U,status:z,statusText:ae,url:Fe||void 0})),Mn.complete()):Mn.error(new re({error:Ae,headers:U,status:z,statusText:ae,url:Fe||void 0}))},zn=U=>{const{url:z}=Tr(),ae=new re({error:U,status:En.status||0,statusText:En.statusText||"Unknown Error",url:z||void 0});Mn.error(ae)};let ur=!1;const Mi=U=>{ur||(Mn.next(Tr()),ur=!0);let z={type:ue.DownloadProgress,loaded:U.loaded};U.lengthComputable&&(z.total=U.total),"text"===kt.responseType&&En.responseText&&(z.partialText=En.responseText),Mn.next(z)},un=U=>{let z={type:ue.UploadProgress,loaded:U.loaded};U.lengthComputable&&(z.total=U.total),Mn.next(z)};return En.addEventListener("load",Mr),En.addEventListener("error",zn),En.addEventListener("timeout",zn),En.addEventListener("abort",zn),kt.reportProgress&&(En.addEventListener("progress",Mi),null!==Zn&&En.upload&&En.upload.addEventListener("progress",un)),En.send(Zn),Mn.next({type:ue.Sent}),()=>{En.removeEventListener("error",zn),En.removeEventListener("abort",zn),En.removeEventListener("load",Mr),En.removeEventListener("timeout",zn),kt.reportProgress&&(En.removeEventListener("progress",Mi),null!==Zn&&En.upload&&En.upload.removeEventListener("progress",un)),En.readyState!==En.DONE&&En.abort()}})))}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(S.XhrFactory))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();const ut=new i.InjectionToken(""),wt="XSRF-TOKEN",st=new i.InjectionToken("",{providedIn:"root",factory:()=>wt}),zt="X-XSRF-TOKEN",pt=new i.InjectionToken("",{providedIn:"root",factory:()=>zt});class It{}let Yt=(()=>{class ct{constructor(kt,on,dn){this.doc=kt,this.platform=on,this.cookieName=dn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const kt=this.doc.cookie||"";return kt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,S.\u0275parseCookieValue)(kt,this.cookieName),this.lastCookieString=kt),this.lastToken}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(S.DOCUMENT),i.\u0275\u0275inject(i.PLATFORM_ID),i.\u0275\u0275inject(st))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();function Xt(ct,Rt){const kt=ct.url.toLowerCase();if(!(0,i.inject)(ut)||"GET"===ct.method||"HEAD"===ct.method||kt.startsWith("http://")||kt.startsWith("https://"))return Rt(ct);const on=(0,i.inject)(It).getToken(),dn=(0,i.inject)(pt);return null!=on&&!ct.headers.has(dn)&&(ct=ct.clone({headers:ct.headers.set(dn,on)})),Rt(ct)}let At=(()=>{class ct{constructor(kt){this.injector=kt}intercept(kt,on){return(0,i.runInInjectionContext)(this.injector,()=>Xt(kt,dn=>on.handle(dn)))}static#e=this.\u0275fac=function(on){return new(on||ct)(i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();var $t=function(ct){return ct[ct.Interceptors=0]="Interceptors",ct[ct.LegacyInterceptors=1]="LegacyInterceptors",ct[ct.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ct[ct.NoXsrfProtection=3]="NoXsrfProtection",ct[ct.JsonpSupport=4]="JsonpSupport",ct[ct.RequestsMadeViaParent=5]="RequestsMadeViaParent",ct[ct.Fetch=6]="Fetch",ct}($t||{});function St(ct,Rt){return{\u0275kind:ct,\u0275providers:Rt}}function xt(...ct){const Rt=[$,vt,tn,{provide:C,useExisting:tn},{provide:_,useExisting:vt},{provide:mt,useValue:Xt,multi:!0},{provide:ut,useValue:!0},{provide:It,useClass:Yt}];for(const kt of ct)Rt.push(...kt.\u0275providers);return(0,i.makeEnvironmentProviders)(Rt)}function nn(ct){return St($t.Interceptors,ct.map(Rt=>({provide:mt,useValue:Rt,multi:!0})))}const bn=new i.InjectionToken("");function Tn(){return St($t.LegacyInterceptors,[{provide:bn,useFactory:Xe},{provide:mt,useExisting:bn,multi:!0}])}function rn({cookieName:ct,headerName:Rt}){const kt=[];return void 0!==ct&&kt.push({provide:st,useValue:ct}),void 0!==Rt&&kt.push({provide:pt,useValue:Rt}),St($t.CustomXsrfConfiguration,kt)}function nr(){return St($t.NoXsrfProtection,[{provide:ut,useValue:!1}])}function kr(){return St($t.JsonpSupport,[Te,{provide:Ue,useFactory:Ee},{provide:mt,useValue:$e,multi:!0}])}function Br(){return St($t.RequestsMadeViaParent,[{provide:_,useFactory:()=>(0,i.inject)(C,{skipSelf:!0,optional:!0})}])}function sr(){return St($t.Fetch,[ye,{provide:_,useExisting:ye},{provide:Ct,useExisting:ye}])}let Er=(()=>{class ct{static disable(){return{ngModule:ct,providers:[nr().\u0275providers]}}static withOptions(kt={}){return{ngModule:ct,providers:rn(kt).\u0275providers}}static#e=this.\u0275fac=function(on){return new(on||ct)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[At,{provide:tt,useExisting:At,multi:!0},{provide:It,useClass:Yt},rn({cookieName:wt,headerName:zt}).\u0275providers,{provide:ut,useValue:!0}]})}return ct})(),br=(()=>{class ct{static#e=this.\u0275fac=function(on){return new(on||ct)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[xt(Tn())]})}return ct})(),qn=(()=>{class ct{static#e=this.\u0275fac=function(on){return new(on||ct)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[kr().\u0275providers]})}return ct})();const Rn="b",oi="h",Sr="s",pr="st",Jn="u",er="rt",Or=new i.InjectionToken(""),pi=["GET","HEAD"];function en(ct,Rt){const{isCacheActive:kt,...on}=(0,i.inject)(Or),{transferCache:dn,method:Mn}=ct;if(!kt||"POST"===Mn&&!on.includePostRequests&&!dn||"POST"!==Mn&&!pi.includes(Mn)||!1===dn||!1===on.filter?.(ct))return Rt(ct);const En=(0,i.inject)(i.TransferState),Zn=function Qn(ct){const{params:Rt,method:kt,responseType:on,url:dn,body:Mn}=ct,Tr=function or(ct){let Rt=0;for(const kt of ct)Rt=Math.imul(31,Rt)+kt.charCodeAt(0)<<0;return Rt+=2147483648,Rt.toString()}([kt,on,dn,"string"==typeof Mn?Mn:"",Rt.keys().sort().map(Mr=>`${Mr}=${Rt.getAll(Mr)}`).join("&")].join("|"));return(0,i.makeStateKey)(Tr)}(ct),Yn=En.get(Zn,null);let Tr=on.includeHeaders;if("object"==typeof dn&&dn.includeHeaders&&(Tr=dn.includeHeaders),Yn){const{[Rn]:Mr,[er]:zn,[oi]:ur,[Sr]:Mi,[pr]:un,[Jn]:U}=Yn;let z=Mr;switch(zn){case"arraybuffer":z=(new TextEncoder).encode(Mr).buffer;break;case"blob":z=new Blob([Mr])}let ae=new f(ur);return(0,d.of)(new Z({body:z,headers:ae,status:Mi,statusText:un,url:U}))}return Rt(ct).pipe((0,p.y)(Mr=>{Mr instanceof Z&&En.set(Zn,{[Rn]:Mr.body,[oi]:jn(Mr.headers,Tr),[Sr]:Mr.status,[pr]:Mr.statusText,[Jn]:Mr.url||"",[er]:ct.responseType})}))}function jn(ct,Rt){if(!Rt)return{};const kt={};for(const on of Rt){const dn=ct.getAll(on);null!==dn&&(kt[on]=dn)}return kt}function ui(ct){return[{provide:Or,useFactory:()=>((0,i.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...ct})},{provide:Qe,useValue:en,multi:!0,deps:[i.TransferState,Or]},{provide:i.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Rt=(0,i.inject)(i.ApplicationRef),kt=(0,i.inject)(Or);return()=>{(0,i.\u0275whenStable)(Rt).then(()=>{kt.isCacheActive=!1})}}}]}},54496:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{ANIMATION_MODULE_TYPE:()=>di,APP_BOOTSTRAP_LISTENER:()=>hy,APP_ID:()=>Lt,APP_INITIALIZER:()=>fw,AfterRenderPhase:()=>Ka,ApplicationInitStatus:()=>_g,ApplicationModule:()=>Ey,ApplicationRef:()=>ja,Attribute:()=>am,COMPILER_OPTIONS:()=>yw,CSP_NONCE:()=>vo,CUSTOM_ELEMENTS_SCHEMA:()=>jb,ChangeDetectionStrategy:()=>Er,ChangeDetectorRef:()=>Cp,Compiler:()=>vw,CompilerFactory:()=>bw,Component:()=>NI,ComponentFactory:()=>Ju,ComponentFactoryResolver:()=>qu,ComponentRef:()=>Xh,ContentChild:()=>YA,ContentChildren:()=>VA,DEFAULT_CURRENCY_CODE:()=>ww,DebugElement:()=>Ld,DebugEventListener:()=>Fw,DebugNode:()=>Eg,DefaultIterableDiffer:()=>z0,DestroyRef:()=>xc,Directive:()=>WM,ENVIRONMENT_INITIALIZER:()=>Ps,ElementRef:()=>as,EmbeddedViewRef:()=>Rw,EnvironmentInjector:()=>Js,ErrorHandler:()=>Fs,EventEmitter:()=>Ue,Host:()=>Kd,HostBinding:()=>BI,HostListener:()=>iy,INJECTOR:()=>Qd,Inject:()=>Ya,InjectFlags:()=>gt,Injectable:()=>gb,InjectionToken:()=>it,Injector:()=>Rs,Input:()=>jI,IterableDiffers:()=>bp,KeyValueDiffers:()=>nd,LOCALE_ID:()=>bg,MissingTranslationStrategy:()=>Aw,ModuleWithComponentFactories:()=>_w,NO_ERRORS_SCHEMA:()=>Bb,NgModule:()=>UI,NgModuleFactory:()=>JC,NgModuleRef:()=>kl,NgProbeToken:()=>tP,NgZone:()=>Oo,Optional:()=>$d,Output:()=>du,PACKAGE_ROOT_URL:()=>xr,PLATFORM_ID:()=>Xn,PLATFORM_INITIALIZER:()=>ln,Pipe:()=>$M,PlatformRef:()=>py,Query:()=>Fc,QueryList:()=>il,Renderer2:()=>fp,RendererFactory2:()=>B0,RendererStyleFlags2:()=>Ah,Sanitizer:()=>gp,SecurityContext:()=>El,Self:()=>Tu,SimpleChange:()=>Hy,SkipSelf:()=>Gd,TRANSLATIONS:()=>iP,TRANSLATIONS_FORMAT:()=>Dw,TemplateRef:()=>Ku,Testability:()=>eP,TestabilityRegistry:()=>hw,TransferState:()=>Eu,Type:()=>rh,VERSION:()=>KM,Version:()=>GM,ViewChild:()=>WA,ViewChildren:()=>zA,ViewContainerRef:()=>lf,ViewEncapsulation:()=>br,ViewRef:()=>Lw,afterNextRender:()=>iC,afterRender:()=>wp,asNativeElements:()=>lP,assertInInjectionContext:()=>pl,assertNotInReactiveContext:()=>bA,assertPlatform:()=>Iw,booleanAttribute:()=>Tk,computed:()=>aA,contentChild:()=>UA,contentChildren:()=>RC,createComponent:()=>Bk,createEnvironmentInjector:()=>zp,createNgModule:()=>qC,createNgModuleRef:()=>eS,createPlatform:()=>vy,createPlatformFactory:()=>Tw,defineInjectable:()=>ql,destroyPlatform:()=>oP,effect:()=>Sp,enableProdMode:()=>sP,forwardRef:()=>to,getDebugNode:()=>Ui,getModuleFactory:()=>Ow,getNgModuleById:()=>aP,getPlatform:()=>Od,importProvidersFrom:()=>ds,inject:()=>lt,input:()=>je,isDevMode:()=>xw,isSignal:()=>mp,isStandalone:()=>lr,makeEnvironmentProviders:()=>Iu,makeStateKey:()=>Xs,mergeApplicationConfig:()=>Hk,model:()=>jC,numberAttribute:()=>Ik,platformCore:()=>Ds,provideZoneChangeDetection:()=>Mw,reflectComponentType:()=>Uk,resolveForwardRef:()=>Dr,runInInjectionContext:()=>Xg,setTestabilityGetter:()=>ly,signal:()=>Io,untracked:()=>uA,viewChild:()=>LC,viewChildren:()=>jA,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>_y,\u0275AfterRenderEventManager:()=>Pl,\u0275CONTAINER_HEADER_OFFSET:()=>zr,\u0275ChangeDetectionScheduler:()=>hp,\u0275ComponentFactory:()=>Ju,\u0275Console:()=>QM,\u0275DEFAULT_LOCALE_ID:()=>qa,\u0275DEFER_BLOCK_CONFIG:()=>CS,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>fT,\u0275DeferBlockBehavior:()=>Ef,\u0275DeferBlockState:()=>Po,\u0275EffectScheduler:()=>q0,\u0275IMAGE_CONFIG:()=>Hs,\u0275IMAGE_CONFIG_DEFAULTS:()=>da,\u0275INJECTOR_SCOPE:()=>qd,\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE:()=>An,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>_c,\u0275LContext:()=>Mh,\u0275LifecycleHooksFeature:()=>gC,\u0275LocaleDataIndex:()=>qc,\u0275NG_COMP_DEF:()=>pi,\u0275NG_DIR_DEF:()=>en,\u0275NG_ELEMENT_ID:()=>ui,\u0275NG_INJ_DEF:()=>de,\u0275NG_MOD_DEF:()=>Qn,\u0275NG_PIPE_DEF:()=>jn,\u0275NG_PROV_DEF:()=>be,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>ed,\u0275NO_CHANGE:()=>ri,\u0275NgModuleFactory:()=>_f,\u0275NoopNgZone:()=>Mp,\u0275PendingTasks:()=>fd,\u0275ReflectionCapabilities:()=>Uy,\u0275Render3ComponentFactory:()=>Lc,\u0275Render3ComponentRef:()=>af,\u0275Render3NgModuleRef:()=>pf,\u0275RuntimeError:()=>nt,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>wu,\u0275TESTABILITY:()=>ay,\u0275TESTABILITY_GETTER:()=>dw,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>sd,\u0275ViewRef:()=>Tl,\u0275XSS_SECURITY_URL:()=>Xe,\u0275_sanitizeHtml:()=>Ib,\u0275_sanitizeUrl:()=>yh,\u0275allowSanitizationBypassAndThrow:()=>Cl,\u0275annotateForHydration:()=>vk,\u0275bypassSanitizationTrustHtml:()=>Eb,\u0275bypassSanitizationTrustResourceUrl:()=>fm,\u0275bypassSanitizationTrustScript:()=>PD,\u0275bypassSanitizationTrustStyle:()=>ID,\u0275bypassSanitizationTrustUrl:()=>kD,\u0275clearResolutionOfComponentResourcesQueue:()=>Bp,\u0275compileComponent:()=>LM,\u0275compileDirective:()=>ny,\u0275compileNgModule:()=>AM,\u0275compileNgModuleDefs:()=>Jv,\u0275compileNgModuleFactory:()=>Cw,\u0275compilePipe:()=>zM,\u0275convertToBitFlags:()=>Vt,\u0275createInjector:()=>mh,\u0275defaultIterableDiffers:()=>ks,\u0275defaultKeyValueDiffers:()=>vA,\u0275depsTracker:()=>Oc,\u0275devModeEqual:()=>Q0,\u0275findLocaleData:()=>Qf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>DM,\u0275formatRuntimeError:()=>Pt,\u0275generateStandaloneInDeclarationsError:()=>TM,\u0275getAsyncClassMetadataFn:()=>iT,\u0275getDebugNode:()=>Ui,\u0275getDeferBlocks:()=>Ag,\u0275getDirectives:()=>oM,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>Ao,\u0275getHostElement:()=>Dd,\u0275getInjectableDef:()=>Ma,\u0275getLContext:()=>Es,\u0275getLocaleCurrencyCode:()=>BT,\u0275getLocalePluralCase:()=>Zf,\u0275getSanitizationBypassType:()=>Sb,\u0275getUnknownElementStrictMode:()=>_a,\u0275getUnknownPropertyStrictMode:()=>e1,\u0275global:()=>Rn,\u0275injectChangeDetectorRef:()=>kc,\u0275internalAfterNextRender:()=>rf,\u0275internalCreateApplication:()=>Ho,\u0275isBoundToModule:()=>Na,\u0275isComponentDefPendingResolution:()=>HC,\u0275isEnvironmentProviders:()=>nc,\u0275isInjectable:()=>Un,\u0275isNgModule:()=>Qa,\u0275isPromise:()=>uy,\u0275isSubscribable:()=>dy,\u0275noSideEffects:()=>qn,\u0275output:()=>Ee,\u0275patchComponentDefWithScope:()=>ey,\u0275performanceMarkFeature:()=>zs,\u0275provideZonelessChangeDetection:()=>Ua,\u0275queueStateUpdate:()=>jr,\u0275readHydrationInfo:()=>Ug,\u0275registerLocaleData:()=>jT,\u0275renderDeferBlockState:()=>Ra,\u0275resetCompiledComponents:()=>kI,\u0275resetJitOptions:()=>wM,\u0275resolveComponentResources:()=>UC,\u0275restoreComponentResolutionQueue:()=>GA,\u0275setAllowDuplicateNgModuleIdsForTest:()=>ZA,\u0275setAlternateWeakRefImpl:()=>gi,\u0275setClassDebugInfo:()=>EM,\u0275setClassMetadata:()=>rS,\u0275setClassMetadataAsync:()=>hd,\u0275setCurrentInjector:()=>V,\u0275setDocument:()=>pu,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>ho,\u0275setInjectorProfilerContext:()=>tc,\u0275setLocaleId:()=>j_,\u0275setUnknownElementStrictMode:()=>Dl,\u0275setUnknownPropertyStrictMode:()=>qD,\u0275store:()=>WE,\u0275stringify:()=>He,\u0275transitiveScopesFor:()=>Yl,\u0275triggerResourceLoading:()=>kf,\u0275truncateMiddle:()=>ut,\u0275unregisterLocaleData:()=>hE,\u0275unwrapSafeValue:()=>Ia,\u0275unwrapWritableSignal:()=>lA,\u0275whenStable:()=>pw,\u0275withDomHydration:()=>Dk,\u0275\u0275CopyDefinitionFeature:()=>KC,\u0275\u0275FactoryTarget:()=>_l,\u0275\u0275HostDirectivesFeature:()=>dd,\u0275\u0275InheritDefinitionFeature:()=>gf,\u0275\u0275InputFlags:()=>ct,\u0275\u0275InputTransformsFeature:()=>XC,\u0275\u0275NgOnChangesFeature:()=>qg,\u0275\u0275ProvidersFeature:()=>Rv,\u0275\u0275StandaloneFeature:()=>Fv,\u0275\u0275advance:()=>o0,\u0275\u0275attribute:()=>l_,\u0275\u0275attributeInterpolate1:()=>c_,\u0275\u0275attributeInterpolate2:()=>xf,\u0275\u0275attributeInterpolate3:()=>u_,\u0275\u0275attributeInterpolate4:()=>d_,\u0275\u0275attributeInterpolate5:()=>Of,\u0275\u0275attributeInterpolate6:()=>h_,\u0275\u0275attributeInterpolate7:()=>f_,\u0275\u0275attributeInterpolate8:()=>Lf,\u0275\u0275attributeInterpolateV:()=>g_,\u0275\u0275classMap:()=>E_,\u0275\u0275classMapInterpolate1:()=>A_,\u0275\u0275classMapInterpolate2:()=>XS,\u0275\u0275classMapInterpolate3:()=>Hf,\u0275\u0275classMapInterpolate4:()=>JS,\u0275\u0275classMapInterpolate5:()=>T_,\u0275\u0275classMapInterpolate6:()=>qS,\u0275\u0275classMapInterpolate7:()=>eE,\u0275\u0275classMapInterpolate8:()=>Ul,\u0275\u0275classMapInterpolateV:()=>tE,\u0275\u0275classProp:()=>S_,\u0275\u0275componentInstance:()=>nE,\u0275\u0275conditional:()=>iE,\u0275\u0275contentQuery:()=>uv,\u0275\u0275contentQuerySignal:()=>YE,\u0275\u0275defer:()=>SS,\u0275\u0275deferEnableTimerScheduling:()=>t_,\u0275\u0275deferOnHover:()=>AS,\u0275\u0275deferOnIdle:()=>MS,\u0275\u0275deferOnImmediate:()=>wS,\u0275\u0275deferOnInteraction:()=>TS,\u0275\u0275deferOnTimer:()=>DS,\u0275\u0275deferOnViewport:()=>Pf,\u0275\u0275deferPrefetchOnHover:()=>o_,\u0275\u0275deferPrefetchOnIdle:()=>r_,\u0275\u0275deferPrefetchOnImmediate:()=>If,\u0275\u0275deferPrefetchOnInteraction:()=>IS,\u0275\u0275deferPrefetchOnTimer:()=>i_,\u0275\u0275deferPrefetchOnViewport:()=>PS,\u0275\u0275deferPrefetchWhen:()=>ES,\u0275\u0275deferWhen:()=>n_,\u0275\u0275defineComponent:()=>_t,\u0275\u0275defineDirective:()=>vn,\u0275\u0275defineInjectable:()=>ni,\u0275\u0275defineInjector:()=>Us,\u0275\u0275defineNgModule:()=>Jt,\u0275\u0275definePipe:()=>Cn,\u0275\u0275directiveInject:()=>Mc,\u0275\u0275disableBindings:()=>Ti,\u0275\u0275element:()=>F_,\u0275\u0275elementContainer:()=>Gf,\u0275\u0275elementContainerEnd:()=>$f,\u0275\u0275elementContainerStart:()=>Jc,\u0275\u0275elementEnd:()=>vd,\u0275\u0275elementStart:()=>Wf,\u0275\u0275enableBindings:()=>Ai,\u0275\u0275getComponentDepsFactory:()=>Zv,\u0275\u0275getCurrentView:()=>uE,\u0275\u0275getInheritedFactory:()=>ob,\u0275\u0275hostProperty:()=>N_,\u0275\u0275i18n:()=>tv,\u0275\u0275i18nApply:()=>LE,\u0275\u0275i18nAttributes:()=>OE,\u0275\u0275i18nEnd:()=>ev,\u0275\u0275i18nExp:()=>eg,\u0275\u0275i18nPostprocess:()=>RE,\u0275\u0275i18nStart:()=>q_,\u0275\u0275inject:()=>ke,\u0275\u0275injectAttribute:()=>fh,\u0275\u0275invalidFactory:()=>a0,\u0275\u0275invalidFactoryDep:()=>ze,\u0275\u0275listener:()=>nv,\u0275\u0275loadQuery:()=>VE,\u0275\u0275namespaceHTML:()=>Ks,\u0275\u0275namespaceMathML:()=>$l,\u0275\u0275namespaceSVG:()=>ss,\u0275\u0275nextContext:()=>jE,\u0275\u0275ngDeclareClassMetadata:()=>kk,\u0275\u0275ngDeclareComponent:()=>xk,\u0275\u0275ngDeclareDirective:()=>Pk,\u0275\u0275ngDeclareFactory:()=>Ok,\u0275\u0275ngDeclareInjectable:()=>Rk,\u0275\u0275ngDeclareInjector:()=>Fk,\u0275\u0275ngDeclareNgModule:()=>Nk,\u0275\u0275ngDeclarePipe:()=>jk,\u0275\u0275pipe:()=>_M,\u0275\u0275pipeBind1:()=>yM,\u0275\u0275pipeBind2:()=>Kv,\u0275\u0275pipeBind3:()=>bM,\u0275\u0275pipeBind4:()=>Qv,\u0275\u0275pipeBindV:()=>CM,\u0275\u0275projection:()=>UE,\u0275\u0275projectionDef:()=>BE,\u0275\u0275property:()=>b_,\u0275\u0275propertyInterpolate:()=>iv,\u0275\u0275propertyInterpolate1:()=>wd,\u0275\u0275propertyInterpolate2:()=>ov,\u0275\u0275propertyInterpolate3:()=>tg,\u0275\u0275propertyInterpolate4:()=>sv,\u0275\u0275propertyInterpolate5:()=>ng,\u0275\u0275propertyInterpolate6:()=>av,\u0275\u0275propertyInterpolate7:()=>lv,\u0275\u0275propertyInterpolate8:()=>rg,\u0275\u0275propertyInterpolateV:()=>cv,\u0275\u0275pureFunction0:()=>Hv,\u0275\u0275pureFunction1:()=>cM,\u0275\u0275pureFunction2:()=>Vv,\u0275\u0275pureFunction3:()=>uM,\u0275\u0275pureFunction4:()=>Yv,\u0275\u0275pureFunction5:()=>dM,\u0275\u0275pureFunction6:()=>zv,\u0275\u0275pureFunction7:()=>hM,\u0275\u0275pureFunction8:()=>Wv,\u0275\u0275pureFunctionV:()=>fM,\u0275\u0275queryAdvance:()=>hv,\u0275\u0275queryRefresh:()=>dv,\u0275\u0275reference:()=>fv,\u0275\u0275registerNgModuleType:()=>ff,\u0275\u0275repeater:()=>zf,\u0275\u0275repeaterCreate:()=>O_,\u0275\u0275repeaterTrackByIdentity:()=>x_,\u0275\u0275repeaterTrackByIndex:()=>sE,\u0275\u0275resetView:()=>Ii,\u0275\u0275resolveBody:()=>Dh,\u0275\u0275resolveDocument:()=>Pm,\u0275\u0275resolveWindow:()=>Vb,\u0275\u0275restoreView:()=>Qi,\u0275\u0275sanitizeHtml:()=>_m,\u0275\u0275sanitizeResourceUrl:()=>Ch,\u0275\u0275sanitizeScript:()=>bm,\u0275\u0275sanitizeStyle:()=>vm,\u0275\u0275sanitizeUrl:()=>ym,\u0275\u0275sanitizeUrlOrResourceUrl:()=>xa,\u0275\u0275setComponentScope:()=>tM,\u0275\u0275setNgModuleScope:()=>Nv,\u0275\u0275styleMap:()=>xs,\u0275\u0275styleMapInterpolate1:()=>$E,\u0275\u0275styleMapInterpolate2:()=>gv,\u0275\u0275styleMapInterpolate3:()=>GE,\u0275\u0275styleMapInterpolate4:()=>mv,\u0275\u0275styleMapInterpolate5:()=>KE,\u0275\u0275styleMapInterpolate6:()=>pv,\u0275\u0275styleMapInterpolate7:()=>QE,\u0275\u0275styleMapInterpolate8:()=>ZE,\u0275\u0275styleMapInterpolateV:()=>_v,\u0275\u0275styleProp:()=>jf,\u0275\u0275stylePropInterpolate1:()=>vv,\u0275\u0275stylePropInterpolate2:()=>ig,\u0275\u0275stylePropInterpolate3:()=>yv,\u0275\u0275stylePropInterpolate4:()=>bv,\u0275\u0275stylePropInterpolate5:()=>Cv,\u0275\u0275stylePropInterpolate6:()=>ou,\u0275\u0275stylePropInterpolate7:()=>Sv,\u0275\u0275stylePropInterpolate8:()=>og,\u0275\u0275stylePropInterpolateV:()=>Ev,\u0275\u0275syntheticHostListener:()=>Md,\u0275\u0275syntheticHostProperty:()=>Kf,\u0275\u0275template:()=>Bc,\u0275\u0275templateRefExtractor:()=>SM,\u0275\u0275text:()=>Mv,\u0275\u0275textInterpolate:()=>sg,\u0275\u0275textInterpolate1:()=>ag,\u0275\u0275textInterpolate2:()=>su,\u0275\u0275textInterpolate3:()=>wv,\u0275\u0275textInterpolate4:()=>Dv,\u0275\u0275textInterpolate5:()=>Av,\u0275\u0275textInterpolate6:()=>Tv,\u0275\u0275textInterpolate7:()=>Iv,\u0275\u0275textInterpolate8:()=>lg,\u0275\u0275textInterpolateV:()=>Pv,\u0275\u0275trustConstantHtml:()=>Pb,\u0275\u0275trustConstantResourceUrl:()=>Cm,\u0275\u0275twoWayBindingSet:()=>JE,\u0275\u0275twoWayListener:()=>ug,\u0275\u0275twoWayProperty:()=>cg,\u0275\u0275validateIframeAttribute:()=>ud,\u0275\u0275viewQuery:()=>HE,\u0275\u0275viewQuerySignal:()=>zE});var n=o(1528);function i(t,r){return Object.is(t,r)}let d=null,a=!1,l=1;const e=Symbol("SIGNAL");function u(t){const r=d;return d=t,r}const p={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function S(t){if(a)throw new Error("");if(null===d)return;d.consumerOnSignalRead(t);const r=d.nextProducerIndex++;P(d),rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function A(t){P(t);for(let r=0;r0}function P(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function x(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function N(t){const r=Object.create(te);r.computation=t;const s=()=>{if(_(r),S(r),r.value===G)throw r.error;return r.value};return s[e]=r,s}const O=Symbol("UNSET"),H=Symbol("COMPUTING"),G=Symbol("ERRORED"),te={...p,value:O,dirty:!0,error:null,equal:i,producerMustRecompute:t=>t.value===O||t.value===H,producerRecomputeValue(t){if(t.value===H)throw new Error("Detected cycle in computations.");const r=t.value;t.value=H;const s=E(t);let m;try{m=t.computation()}catch(D){m=G,t.error=D}finally{M(t,s)}r!==O&&r!==G&&m!==G&&t.equal(r,m)?t.value=r:(t.value=m,t.version++)}};let se=function ue(){throw new Error};function K(){se()}let re=null;function le(t,r){y()||K(),t.equal(t.value,r)||(t.value=r,function ye(t){t.version++,function C(){l++}(),f(t),re?.()}(t))}const we={...p,equal:i,value:void 0};const ve=()=>{},_e={...p,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:ve};var Ze=o(95657),ot=o(46928),tt=o(46700),mt=o(54704),Qe=o(75084);const Xe="https://g.co/ng/security#xss";class nt extends Error{constructor(r,s){super(Pt(r,s)),this.code=r}}function Pt(t,r){return`NG0${Math.abs(t)}${r?": "+r:""}`}const tn=Symbol("InputSignalNode#UNSET"),hn={...we,transformFn:void 0,applyValueToInputSignal(t,r){le(t,r)}},An=Symbol();function _n(t,r){const s=Object.create(hn);function m(){if(S(s),s.value===tn)throw new nt(-950,!1);return s.value}return s.value=t,s.transformFn=r?.transform,m[e]=s,m}function ht(t){return r=>{setTimeout(t,void 0,r)}}const Ue=class qt extends Ze.E{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,s,m){let D=r,L=s||(()=>null),W=m;if(r&&"object"==typeof r){const me=r;D=me.next?.bind(me),L=me.error?.bind(me),W=me.complete?.bind(me)}this.__isAsync&&(L=ht(L),D&&(D=ht(D)),W&&(W=ht(W)));const ie=super.subscribe({next:D,error:L,complete:W});return r instanceof ot.wH&&r.add(ie),ie}};function Ee(t){return new Ue}function Te(t,r){return _n(t,r)}const je=(Te.required=function $e(t){return _n(tn,t)},Te);var gt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(gt||{});function He(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(He).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const r=t.toString();if(null==r)return""+r;const s=r.indexOf("\n");return-1===s?r:r.substring(0,s)}function vt(t,r){return null==t||""===t?null===r?"":r:null==r||""===r?t:t+" "+r}function ut(t,r=100){if(!t||r<1||t.length<=r)return t;if(1==r)return t.substring(0,1)+"...";const s=Math.round(r/2);return t.substring(0,s)+"..."+t.substring(t.length-s)}function rn(t,r,s,m){throw new Error(`ASSERTION ERROR: ${t}`+(null==m?"":` [Expected=> ${s} ${m} ${r} <=Actual]`))}var Er=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Er||{}),br=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(br||{});function qn(t){return{toString:t}.toString()}const Rn=globalThis,pr={},Jn=[];function er(t){for(let r in t)if(t[r]===er)return r;throw Error("Could not find renamed property on target object.")}function Or(t,r){for(const s in r)r.hasOwnProperty(s)&&!t.hasOwnProperty(s)&&(t[s]=r[s])}const pi=er({\u0275cmp:er}),en=er({\u0275dir:er}),jn=er({\u0275pipe:er}),Qn=er({\u0275mod:er}),or=er({\u0275fac:er}),ui=er({__NG_ELEMENT_ID__:er}),Pr=er({__NG_ENV_ID__:er});var ct=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(ct||{});function Rt(t,r,s){let m=t.length;for(;;){const D=t.indexOf(r,s);if(-1===D)return D;if(0===D||t.charCodeAt(D-1)<=32){const L=r.length;if(D+L===m||t.charCodeAt(D+L)<=32)return D}s=D+1}}function kt(t,r,s){let m=0;for(;mr){W=L-1;break}}}for(;LL?"":D[Et+1].toLowerCase();const Qt=8&m?Ut:null;if(Qt&&-1!==Rt(Qt,Ne,0)||2&m&&Ne!==Ut){if(ur(m))return!1;W=!0}}}}else{if(!W&&!ur(m)&&!ur(me))return!1;if(W&&ur(me))continue;W=!1,m=me|1&m}}return ur(m)||W}function ur(t){return 0==(1&t)}function Mi(t,r,s,m){if(null===r)return-1;let D=0;if(m||!s){let L=!1;for(;D-1)for(s++;s0?'="'+ie+'"':"")+"]"}else 8&m?D+="."+W:4&m&&(D+=" "+W);else""!==D&&!ur(W)&&(r+=Ae(L,D),D=""),m=W,L=L||!ur(m);s++}return""!==D&&(r+=Ae(L,D)),r}function _t(t){return qn(()=>{const r=Nr(t),s={...r,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Er.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||br.Emulated,styles:t.styles||Jn,_:null,schemas:t.schemas||null,tView:null,id:""};Lr(s);const m=t.dependencies;return s.directiveDefs=dt(m,!1),s.pipeDefs=dt(m,!0),s.id=function vi(t){let r=0;const s=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const D of s)r=Math.imul(31,r)+D.charCodeAt(0)<<0;return r+=2147483648,"c"+r}(s),s})}function Tt(t){return fn(t)||Gt(t)}function Bt(t){return null!==t}function Jt(t){return qn(()=>({type:t.type,bootstrap:t.bootstrap||Jn,declarations:t.declarations||Jn,imports:t.imports||Jn,exports:t.exports||Jn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function mn(t,r){if(null==t)return pr;const s={};for(const m in t)if(t.hasOwnProperty(m)){const D=t[m];let L,W,ie=ct.None;Array.isArray(D)?(ie=D[0],L=D[1],W=D[2]??L):(L=D,W=D),r?(s[L]=ie!==ct.None?[m,ie]:m,r[L]=W):s[L]=m}return s}function vn(t){return qn(()=>{const r=Nr(t);return Lr(r),r})}function Cn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function fn(t){return t[pi]||null}function Gt(t){return t[en]||null}function Nn(t){return t[jn]||null}function lr(t){const r=fn(t)||Gt(t)||Nn(t);return null!==r&&r.standalone}function cr(t,r){const s=t[Qn]||null;if(!s&&!0===r)throw new Error(`Type ${He(t)} does not have '\u0275mod' property.`);return s}function Nr(t){const r={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputTransforms:null,inputConfig:t.inputs||pr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Jn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:mn(t.inputs,r),outputs:mn(t.outputs),debugInfo:null}}function Lr(t){t.features?.forEach(r=>r(t))}function dt(t,r){if(!t)return null;const s=r?Nn:Tt;return()=>("function"==typeof t?t():t).map(m=>s(m)).filter(Bt)}const lo=new Map,_r=0,In=1,Gn=2,si=3,Ir=4,ai=5,Fn=6,ti=7,Zr=8,Xr=9,Vi=10,hr=11,Yi=12,ko=13,go=14,Jr=15,zi=16,qi=17,ro=18,Rr=19,mo=20,_i=21,xi=22,qr=23,ar=25,yo=1,wi=6,yi=7,po=9,zr=10;var bo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(bo||{});function Ni(t){return Array.isArray(t)&&"object"==typeof t[yo]}function Gr(t){return Array.isArray(t)&&!0===t[yo]}function Lo(t){return 0!=(4&t.flags)}function Oi(t){return t.componentOffset>-1}function Zi(t){return 1==(1&t.flags)}function Li(t){return!!t.template}function Gi(t){return 0!=(512&t[Gn])}function $o(t){return 16==(16&t.type)}function Ro(t){return 256==(256&t[Gn])}const Vn="svg",Wi="math";let Eo=!1;function Ao(){return Eo}function ho(t){Eo=t}function Ur(t){for(;Array.isArray(t);)t=t[_r];return t}function Zo(t){for(;Array.isArray(t);){if("object"==typeof t[yo])return t;t=t[_r]}return null}function is(t,r){return Ur(r[t])}function Xi(t,r){return Ur(r[t.index])}function xo(t,r){return t.data[r]}function _o(t,r){return t[r]}function Di(t,r){const s=r[t];return Ni(s)?s:s[_r]}function Cs(t){return 128==(128&t[Gn])}function io(t,r){return null==r?null:t[r]}function fs(t){t[qi]=0}function et(t){1024&t[Gn]||(t[Gn]|=1024,Cs(t)&&qe(t))}function ne(t,r){for(;t>0;)r=r[go],t--;return r}function ge(t){return!!(9216&t[Gn]||t[qr]?.dirty)}function Le(t){ge(t)?qe(t):64&t[Gn]&&(Ao()?(t[Gn]|=1024,qe(t)):t[Vi].changeDetectionScheduler?.notify())}function qe(t){t[Vi].changeDetectionScheduler?.notify();let r=Ht(t);for(;null!==r&&!(8192&r[Gn])&&(r[Gn]|=8192,Cs(r));)r=Ht(r)}function Dt(t,r){if(256==(256&t[Gn]))throw new nt(911,!1);null===t[_i]&&(t[_i]=[]),t[_i].push(r)}function Nt(t,r){if(null===t[_i])return;const s=t[_i].indexOf(r);-1!==s&&t[_i].splice(s,1)}function Ht(t){const r=t[si];return Gr(r)?r[si]:r}const Wt={lFrame:Ri(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function tr(){return Wt.bindingsEnabled}function vr(){return null!==Wt.skipHydrationRootTNode}function Ai(){Wt.bindingsEnabled=!0}function Ti(){Wt.bindingsEnabled=!1}function Sn(){return Wt.lFrame.lView}function wr(){return Wt.lFrame.tView}function Qi(t){return Wt.lFrame.contextLView=t,t[Zr]}function Ii(t){return Wt.lFrame.contextLView=null,t}function ei(){let t=oo();for(;null!==t&&64===t.type;)t=t.parent;return t}function oo(){return Wt.lFrame.currentTNode}function Be(){const t=Wt.lFrame,r=t.currentTNode;return t.isParent?r:r.parent}function at(t,r){const s=Wt.lFrame;s.currentTNode=t,s.isParent=r}function R(){return Wt.lFrame.isParent}function q(){Wt.lFrame.isParent=!1}function yt(){const t=Wt.lFrame;let r=t.bindingRootIndex;return-1===r&&(r=t.bindingRootIndex=t.tView.bindingStartIndex),r}function jt(){return Wt.lFrame.bindingIndex}function cn(t){return Wt.lFrame.bindingIndex=t}function X(){return Wt.lFrame.bindingIndex++}function Ve(t){const r=Wt.lFrame,s=r.bindingIndex;return r.bindingIndex=r.bindingIndex+t,s}function Re(t){Wt.lFrame.inI18n=t}function Mt(t,r){const s=Wt.lFrame;s.bindingIndex=s.bindingRootIndex=t,an(r)}function an(t){Wt.lFrame.currentDirectiveIndex=t}function Pn(t){const r=Wt.lFrame.currentDirectiveIndex;return-1===r?null:t[r]}function gr(){return Wt.lFrame.currentQueryIndex}function yr(t){Wt.lFrame.currentQueryIndex=t}function $r(t){const r=t[In];return 2===r.type?r.declTNode:1===r.type?t[ai]:null}function Cr(t,r,s){if(s>.SkipSelf){let D=r,L=t;for(;!(D=D.parent,null!==D||s>.Host||(D=$r(L),null===D||(L=L[go],10&D.type))););if(null===D)return!1;r=D,t=L}const m=Wt.lFrame=Hr();return m.currentTNode=r,m.lView=t,!0}function Qr(t){const r=Hr(),s=t[In];Wt.lFrame=r,r.currentTNode=s.firstChild,r.lView=t,r.tView=s,r.contextLView=t,r.bindingIndex=s.bindingStartIndex,r.inI18n=!1}function Hr(){const t=Wt.lFrame,r=null===t?null:t.child;return null===r?Ri(t):r}function Ri(t){const r={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=r),r}function eo(){const t=Wt.lFrame;return Wt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Vo=eo;function gs(){const t=eo();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function so(){return Wt.lFrame.selectedIndex}function Yo(t){Wt.lFrame.selectedIndex=t}function hi(){const t=Wt.lFrame;return xo(t.tView,t.selectedIndex)}function ss(){Wt.lFrame.currentNamespace=Vn}function $l(){Wt.lFrame.currentNamespace=Wi}function Ks(){!function Gl(){Wt.lFrame.currentNamespace=null}()}function el(){return Wt.lFrame.currentNamespace}let tl=!0;function Qs(){return tl}function Os(t){tl=t}function fu(){return Jo(ei(),Sn())}function Jo(t,r){return new as(Xi(t,r))}let as=(()=>{class t{constructor(s){this.nativeElement=s}static#e=this.__NG_ELEMENT_ID__=fu}return t})();function Kl(t){return t instanceof as?t.nativeElement:t}function ls(t){return t.flat(Number.POSITIVE_INFINITY)}function oa(t,r){t.forEach(s=>Array.isArray(s)?oa(s,r):r(s))}function nl(t,r,s){r>=t.length?t.push(s):t.splice(r,0,s)}function Sa(t,r){return r>=t.length-1?t.pop():t.splice(r,1)[0]}function sa(t,r){const s=[];for(let m=0;mr;)t[D]=t[D-2],D--;t[r]=s,t[r+1]=m}}function zo(t,r,s){let m=ca(t,r);return m>=0?t[1|m]=s:(m=~m,Ql(t,m,r,s)),m}function la(t,r){const s=ca(t,r);if(s>=0)return t[1|s]}function ca(t,r){return function rl(t,r,s){let m=0,D=t.length>>s;for(;D!==m;){const L=m+(D-m>>1),W=t[L<r?D=L:m=L+1}return~(D<gn}),gn="ng",ln=new it(""),Xn=new it("",{providedIn:"platform",factory:()=>"unknown"}),xr=new it(""),di=new it(""),vo=new it("",{providedIn:"root",factory:()=>No().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),da={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Hs=new it("",{providedIn:"root",factory:()=>da}),ha=er({__forward_ref__:er});function to(t){return t.__forward_ref__=to,t.toString=function(){return He(this())},t}function Dr(t){return Ha(t)?t():t}function Ha(t){return"function"==typeof t&&t.hasOwnProperty(ha)&&t.__forward_ref__===to}let _u,ll;function tc(t){rn("setInjectorProfilerContext should never be called in production mode");const r=_u;return _u=t,r}function nc(t){return t&&!!t.\u0275providers}function Vr(t){return"string"==typeof t?t:null==t?"":String(t)}function Bi(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Vr(t)}function bu(t,r){throw new nt(-201,!1)}function Ud(){return ll}function Wo(t){const r=ll;return ll=t,r}function Hd(t,r,s){const m=Ma(t);return m&&"root"==m.providedIn?void 0===m.value?m.value=m.factory():m.value:s>.Optional?null:void 0!==r?r:void bu()}const ul={},Cu="__NG_DI_FLAG__",rc="ngTempTokenPath",xg=/\n/gm,Da="__source";let Zs;function V(t){const r=Zs;return Zs=t,r}function he(t,r=gt.Default){if(void 0===Zs)throw new nt(-203,!1);return null===Zs?Hd(t,void 0,r):Zs.get(t,r>.Optional?null:void 0,r)}function ke(t,r=gt.Default){return(Ud()||he)(Dr(t),r)}function ze(t){throw new nt(202,!1)}function lt(t,r=gt.Default){return ke(t,Vt(r))}function Vt(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Dn(t){const r=[];for(let s=0;s{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:ga});get(s,m){return void 0!==this.store[s]?this.store[s]:m}set(s,m){this.store[s]=m}remove(s){delete this.store[s]}hasKey(s){return this.store.hasOwnProperty(s)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(s,m){this.onSerializeCallbacks[s]=m}toJson(){for(const s in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(s))try{this.store[s]=this.onSerializeCallbacks[s]()}catch(m){console.warn("Exception in onSerialize callback: ",m)}return JSON.stringify(this.store).replace(/null;function Kw(t,r,s=!1){let m=t.getAttribute(Mu);if(null==m)return null;const[D,L]=m.split("|");if(m=s?L:D,!m)return null;const ie=s?D:L?`|${L}`:"";let me={};if(""!==m){const Je=r.get(Eu,null,{optional:!0});null!==Je&&(me=Je.get(jg,[])[Number(m)])}const Ne={data:me,firstChild:t.firstChild??null};return s&&(Ne.firstChild=t,Yd(Ne,0,t.nextSibling)),ie?t.setAttribute(Mu,ie):t.removeAttribute(Mu),Ne}function Bg(t,r,s=!1){return ky(t,r,s)}function xy(t){let r=t._lView;return 2===r[In].type?null:(Gi(r)&&(r=r[ar]),r)}const fl="__ngDebugHydrationInfo__";function Ug(t){return t[fl]??null}function Yd(t,r,s){t.segmentHeads??={},t.segmentHeads[r]=s}function Hg(t,r){return t.segmentHeads?.[r]??null}function Ry(t,r){return t.data[ma]?.[r]??null}function zd(t,r){const s=Ry(t,r)??[];let m=0;for(let D of s)m+=D[oc]*(D[dl]??1);return m}function Wd(t,r){if(typeof t.disconnectedNodes>"u"){const s=t.data[Vd];t.disconnectedNodes=s?new Set(s):null}return!!t.disconnectedNodes?.has(r)}const Si="__annotations__",lc="__parameters__",Ls="__prop__metadata__";function Au(t,r,s,m,D){return qn(()=>{const L=Vg(r);function W(...ie){if(this instanceof W)return L.call(this,...ie),this;const me=new W(...ie);return function(Je){return D&&D(Je,...ie),(Je.hasOwnProperty(Si)?Je[Si]:Object.defineProperty(Je,Si,{value:[]})[Si]).push(me),m&&m(Je),Je}}return s&&(W.prototype=Object.create(s.prototype)),W.prototype.ngMetadataName=t,W.annotationCls=W,W})}function Vg(t){return function(...s){if(t){const m=t(...s);for(const D in m)this[D]=m[D]}}}function Ss(t,r,s){return qn(()=>{const m=Vg(r);function D(...L){if(this instanceof D)return m.apply(this,L),this;const W=new D(...L);return ie.annotation=W,ie;function ie(me,Ne,Je){const Et=me.hasOwnProperty(lc)?me[lc]:Object.defineProperty(me,lc,{value:[]})[lc];for(;Et.length<=Je;)Et.push(null);return(Et[Je]=Et[Je]||[]).push(W),me}}return s&&(D.prototype=Object.create(s.prototype)),D.prototype.ngMetadataName=t,D.annotationCls=D,D})}function Va(t,r,s,m){return qn(()=>{const D=Vg(r);function L(...W){if(this instanceof L)return D.apply(this,W),this;const ie=new L(...W);return function me(Ne,Je){if(void 0===Ne)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const Et=Ne.constructor,Ut=Et.hasOwnProperty(Ls)?Et[Ls]:Object.defineProperty(Et,Ls,{value:{}})[Ls];Ut[Je]=Ut.hasOwnProperty(Je)&&Ut[Je]||[],Ut[Je].unshift(ie),m&&m(Ne,Je,...W)}}return s&&(L.prototype=Object.create(s.prototype)),L.prototype.ngMetadataName=t,L.annotationCls=L,L})}const Ya=rr(Ss("Inject",t=>({token:t})),-1),$d=rr(Ss("Optional"),8),Tu=rr(Ss("Self"),2),Gd=rr(Ss("SkipSelf"),4),Kd=rr(Ss("Host"),1);function gl(t,r){return t.hasOwnProperty(or)?t[or]:null}const Ps=new it(""),Qd=new it("",-1),Yg=new it("");class Zd{get(r,s=ul){if(s===ul){const m=new Error(`NullInjectorError: No provider for ${He(r)}!`);throw m.name="NullInjectorError",m}return s}}function Iu(t){return{\u0275providers:t}}function ds(...t){return{\u0275providers:zg(0,t),\u0275fromNgModule:!0}}function zg(t,...r){const s=[],m=new Set;let D;const L=W=>{s.push(W)};return oa(r,W=>{const ie=W;Jd(ie,L,[],m)&&(D||=[],D.push(ie))}),void 0!==D&&Xd(D,L),s}function Xd(t,r){for(let s=0;s{r(L,m)})}}function Jd(t,r,s,m){if(!(t=Dr(t)))return!1;let D=null,L=oe(t);const W=!L&&fn(t);if(L||W){if(W&&!W.standalone)return!1;D=t}else{const me=t.ngModule;if(L=oe(me),!L)return!1;D=me}const ie=m.has(D);if(W){if(ie)return!1;if(m.add(D),W.dependencies){const me="function"==typeof W.dependencies?W.dependencies():W.dependencies;for(const Ne of me)Jd(Ne,r,s,m)}}else{if(!L)return!1;{if(null!=L.imports&&!ie){let Ne;m.add(D);try{oa(L.imports,Je=>{Jd(Je,r,s,m)&&(Ne||=[],Ne.push(Je))})}finally{}void 0!==Ne&&Xd(Ne,r)}if(!ie){const Ne=gl(D)||(()=>new D);r({provide:D,useFactory:Ne,deps:Jn},D),r({provide:Yg,useValue:D,multi:!0},D),r({provide:Ps,useValue:()=>ke(D),multi:!0},D)}const me=L.providers;if(null!=me&&!ie){const Ne=t;Wg(me,Je=>{r(Je,Ne)})}}}return D!==t&&void 0!==t.providers}function Wg(t,r){for(let s of t)nc(s)&&(s=s.\u0275providers),Array.isArray(s)?Wg(s,r):r(s)}const Fy=er({provide:String,useValue:er});function $g(t){return null!==t&&"object"==typeof t&&Fy in t}function ml(t){return"function"==typeof t}const qd=new it(""),eh={},tD={};let Gg;function Aa(){return void 0===Gg&&(Gg=new Zd),Gg}class Js{}class cc extends Js{get destroyed(){return this._destroyed}constructor(r,s,m,D){super(),this.parent=s,this.source=m,this.scopes=D,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zg(r,W=>this.processProvider(W)),this.records.set(Qd,uc(void 0,this)),D.has("environment")&&this.records.set(Js,uc(void 0,this));const L=this.records.get(qd);null!=L&&"string"==typeof L.value&&this.scopes.add(L.value),this.injectorDefTypes=new Set(this.get(Yg,Jn,gt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const s of this._ngOnDestroyHooks)s.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const s of r)s()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const s=V(this),m=Wo(void 0);try{return r()}finally{V(s),Wo(m)}}get(r,s=ul,m=gt.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Pr))return r[Pr](this);m=Vt(m);const L=V(this),W=Wo(void 0);try{if(!(m>.SkipSelf)){let me=this.records.get(r);if(void 0===me){const Ne=function iD(t){return"function"==typeof t||"object"==typeof t&&t instanceof it}(r)&&Ma(r);me=Ne&&this.injectableDefInScope(Ne)?uc(Kg(r),eh):null,this.records.set(r,me)}if(null!=me)return this.hydrate(r,me)}return(m>.Self?Aa():this.parent).get(r,s=m>.Optional&&s===ul?null:s)}catch(ie){if("NullInjectorError"===ie.name){if((ie[rc]=ie[rc]||[]).unshift(He(r)),L)throw ie;return function fi(t,r,s,m){const D=t[rc];throw r[Da]&&D.unshift(r[Da]),t.message=function us(t,r,s,m=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let D=He(r);if(Array.isArray(r))D=r.map(He).join(" -> ");else if("object"==typeof r){let L=[];for(let W in r)if(r.hasOwnProperty(W)){let ie=r[W];L.push(W+":"+("string"==typeof ie?JSON.stringify(ie):He(ie)))}D=`{${L.join(", ")}}`}return`${s}${m?"("+m+")":""}[${D}]: ${t.replace(xg,"\n ")}`}("\n"+t.message,D,s,m),t.ngTokenPath=D,t[rc]=null,t}(ie,r,"R3InjectorError",this.source)}throw ie}finally{Wo(W),V(L)}}resolveInjectorInitializers(){const r=V(this),s=Wo(void 0);try{const D=this.get(Ps,Jn,gt.Self);for(const L of D)L()}finally{V(r),Wo(s)}}toString(){const r=[],s=this.records;for(const m of s.keys())r.push(He(m));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new nt(205,!1)}processProvider(r){let s=ml(r=Dr(r))?r:Dr(r&&r.provide);const m=function nD(t){return $g(t)?uc(void 0,t.useValue):uc(nh(t),eh)}(r);if(!ml(r)&&!0===r.multi){let D=this.records.get(s);D||(D=uc(void 0,eh,!0),D.factory=()=>Dn(D.multi),this.records.set(s,D)),s=r,D.multi.push(r)}this.records.set(s,m)}hydrate(r,s){return s.value===eh&&(s.value=tD,s.value=s.factory()),"object"==typeof s.value&&s.value&&function Qg(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(s.value)&&this._ngOnDestroyHooks.add(s.value),s.value}injectableDefInScope(r){if(!r.providedIn)return!1;const s=Dr(r.providedIn);return"string"==typeof s?"any"===s||this.scopes.has(s):this.injectorDefTypes.has(s)}removeOnDestroy(r){const s=this._onDestroyHooks.indexOf(r);-1!==s&&this._onDestroyHooks.splice(s,1)}}function Kg(t){const r=Ma(t),s=null!==r?r.factory:gl(t);if(null!==s)return s;if(t instanceof it)throw new nt(204,!1);if(t instanceof Function)return function th(t){if(t.length>0)throw new nt(204,!1);const s=function ms(t){return t&&(t[be]||t[Se])||null}(t);return null!==s?()=>s.factory(t):()=>new t}(t);throw new nt(204,!1)}function nh(t,r,s){let m;if(ml(t)){const D=Dr(t);return gl(D)||Kg(D)}if($g(t))m=()=>Dr(t.useValue);else if(function Ny(t){return!(!t||!t.useFactory)}(t))m=()=>t.useFactory(...Dn(t.deps||[]));else if(function Pu(t){return!(!t||!t.useExisting)}(t))m=()=>ke(Dr(t.useExisting));else{const D=Dr(t&&(t.useClass||t.provide));if(!function rD(t){return!!t.deps}(t))return gl(D)||Kg(D);m=()=>new D(...Dn(t.deps))}return m}function uc(t,r,s=!1){return{factory:t,value:r,multi:s?[]:void 0}}function Zg(t,r){for(const s of t)Array.isArray(s)?Zg(s,r):s&&nc(s)?Zg(s.\u0275providers,r):r(s)}function Xg(t,r){t instanceof cc&&t.assertNotDestroyed();const m=V(t),D=Wo(void 0);try{return r()}finally{V(m),Wo(D)}}function pl(t){if(!Ud()&&!function Ci(){return Zs}())throw new nt(-203,!1)}var _l=function(t){return t[t.Directive=0]="Directive",t[t.Component=1]="Component",t[t.Injectable=2]="Injectable",t[t.Pipe=3]="Pipe",t[t.NgModule=4]="NgModule",t}(_l||{});function qo(t){const r=Rn.ng;if(r&&r.\u0275compilerFacade)return r.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const By={\u0275\u0275defineInjectable:ni,\u0275\u0275defineInjector:Us,\u0275\u0275inject:ke,\u0275\u0275invalidFactoryDep:ze,resolveForwardRef:Dr},rh=Function;function dc(t){return"function"==typeof t}const sD=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Vs=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,aD=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Wa=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Uy{constructor(r){this._reflect=r||Rn.Reflect}factory(r){return(...s)=>new r(...s)}_zipTypesAndAnnotations(r,s){let m;m=sa(typeof r>"u"?s.length:r.length);for(let D=0;D"u"?[]:r[D]&&r[D]!=Object?[r[D]]:[],s&&null!=s[D]&&(m[D]=m[D].concat(s[D]));return m}_ownParameters(r,s){if(function lD(t){return sD.test(t)||Wa.test(t)||Vs.test(t)&&!aD.test(t)}(r.toString()))return null;if(r.parameters&&r.parameters!==s.parameters)return r.parameters;const D=r.ctorParameters;if(D&&D!==s.ctorParameters){const ie="function"==typeof D?D():D,me=ie.map(Je=>Je&&Je.type),Ne=ie.map(Je=>Je&&Jg(Je.decorators));return this._zipTypesAndAnnotations(me,Ne)}const L=r.hasOwnProperty(lc)&&r[lc],W=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",r);return W||L?this._zipTypesAndAnnotations(W,L):sa(r.length)}parameters(r){if(!dc(r))return[];const s=ih(r);let m=this._ownParameters(r,s);return!m&&s!==Object&&(m=this.parameters(s)),m||[]}_ownAnnotations(r,s){if(r.annotations&&r.annotations!==s.annotations){let m=r.annotations;return"function"==typeof m&&m.annotations&&(m=m.annotations),m}return r.decorators&&r.decorators!==s.decorators?Jg(r.decorators):r.hasOwnProperty(Si)?r[Si]:null}annotations(r){if(!dc(r))return[];const s=ih(r),m=this._ownAnnotations(r,s)||[];return(s!==Object?this.annotations(s):[]).concat(m)}_ownPropMetadata(r,s){if(r.propMetadata&&r.propMetadata!==s.propMetadata){let m=r.propMetadata;return"function"==typeof m&&m.propMetadata&&(m=m.propMetadata),m}if(r.propDecorators&&r.propDecorators!==s.propDecorators){const m=r.propDecorators,D={};return Object.keys(m).forEach(L=>{D[L]=Jg(m[L])}),D}return r.hasOwnProperty(Ls)?r[Ls]:null}propMetadata(r){if(!dc(r))return{};const s=ih(r),m={};if(s!==Object){const L=this.propMetadata(s);Object.keys(L).forEach(W=>{m[W]=L[W]})}const D=this._ownPropMetadata(r,s);return D&&Object.keys(D).forEach(L=>{const W=[];m.hasOwnProperty(L)&&W.push(...m[L]),W.push(...D[L]),m[L]=W}),m}ownPropMetadata(r){return dc(r)&&this._ownPropMetadata(r,ih(r))||{}}hasLifecycleHook(r,s){return r instanceof rh&&s in r.prototype}}function Jg(t){return t?t.map(r=>new(0,r.type.annotationCls)(...r.args?r.args:[])):[]}function ih(t){const r=t.prototype?Object.getPrototypeOf(t.prototype):null;return(r?r.constructor:null)||Object}class Hy{constructor(r,s,m){this.previousValue=r,this.currentValue=s,this.firstChange=m}isFirstChange(){return this.firstChange}}function Vy(t,r,s,m){null!==r?r.applyValueToInputSignal(r,m):t[s]=m}function qg(){return Yy}function Yy(t){return t.type.prototype.ngOnChanges&&(t.setInput=hc),cD}function cD(){const t=Wy(this),r=t?.current;if(r){const s=t.previous;if(s===pr)t.previous=r;else for(let m in r)s[m]=r[m];t.current=null,this.ngOnChanges(r)}}function hc(t,r,s,m,D){const L=this.declaredInputs[m],W=Wy(t)||function $y(t,r){return t[zy]=r}(t,{previous:pr,current:null}),ie=W.current||(W.current={}),me=W.previous,Ne=me[L];ie[L]=new Hy(Ne&&Ne.currentValue,s,me===pr),Vy(t,r,D,s)}qg.ngInherit=!0;const zy="__ngSimpleChanges__";function Wy(t){return t[zy]||null}const pa=function(t,r,s){};function oh(t,r){for(let s=r.directiveStart,m=r.directiveEnd;s=m)break}else r[me]<0&&(t[qi]+=65536),(ie>14>16&&(3&t[Gn])===r&&(t[Gn]+=16384,tm(ie,L)):tm(ie,L)}const vl=-1;class xu{constructor(r,s,m){this.factory=r,this.resolving=!1,this.canSeeViewProviders=s,this.injectImpl=m}}function hD(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function nm(t){return t!==vl}function Ou(t){return 32767&t}function Lu(t,r){let s=function qs(t){return t>>16}(t),m=r;for(;s>0;)m=m[go],s--;return m}let lh=!0;function ch(t){const r=lh;return lh=t,r}const Zy=255,uh=5;let mD=0;const Ys={};function gc(t,r){const s=Xy(t,r);if(-1!==s)return s;const m=r[In];m.firstCreatePass&&(t.injectorIndex=r.length,im(m.data,t),im(r,null),im(m.blueprint,null));const D=dh(t,r),L=t.injectorIndex;if(nm(D)){const W=Ou(D),ie=Lu(D,r),me=ie[In].data;for(let Ne=0;Ne<8;Ne++)r[L+Ne]=ie[W+Ne]|me[W+Ne]}return r[L+8]=D,L}function im(t,r){t.push(0,0,0,0,0,0,0,0,r)}function Xy(t,r){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===r[t.injectorIndex+8]?-1:t.injectorIndex}function dh(t,r){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let s=0,m=null,D=r;for(;null!==D;){if(m=sb(D),null===m)return vl;if(s++,D=D[go],-1!==m.injectorIndex)return m.injectorIndex|s<<16}return vl}function om(t,r,s){!function pD(t,r,s){let m;"string"==typeof s?m=s.charCodeAt(0)||0:s.hasOwnProperty(ui)&&(m=s[ui]),null==m&&(m=s[ui]=mD++);const D=m&Zy;r.data[t+(D>>uh)]|=1<=0?r&Zy:ib:r}(s);if("function"==typeof L){if(!Cr(r,t,m))return m>.Host?Jy(D,0,m):qy(r,s,m,D);try{let W;if(W=L(m),null!=W||m>.Optional)return W;bu()}finally{Vo()}}else if("number"==typeof L){let W=null,ie=Xy(t,r),me=vl,Ne=m>.Host?r[Jr][ai]:null;for((-1===ie||m>.SkipSelf)&&(me=-1===ie?dh(t,r):r[ie+8],me!==vl&&rb(m,!1)?(W=r[In],ie=Ou(me),r=Lu(me,r)):ie=-1);-1!==ie;){const Je=r[In];if(nb(L,ie,Je.data)){const Et=vD(ie,r,s,W,m,Ne);if(Et!==Ys)return Et}me=r[ie+8],me!==vl&&rb(m,r[In].data[ie+8]===Ne)&&nb(L,ie,r)?(W=Je,ie=Ou(me),r=Lu(me,r)):ie=-1}}return D}function vD(t,r,s,m,D,L){const W=r[In],ie=W.data[t+8],Je=hh(ie,W,s,null==m?Oi(ie)&&lh:m!=W&&0!=(3&ie.type),D>.Host&&L===ie);return null!==Je?Ta(r,W,Je,ie):Ys}function hh(t,r,s,m,D){const L=t.providerIndexes,W=r.data,ie=1048575&L,me=t.directiveStart,Je=L>>20,Ut=D?ie+Je:t.directiveEnd;for(let Qt=m?ie:ie+Je;Qt=me&&pn.type===s)return Qt}if(D){const Qt=W[me];if(Qt&&Li(Qt)&&Qt.type===s)return me}return null}function Ta(t,r,s,m){let D=t[s];const L=r.data;if(function Qy(t){return t instanceof xu}(D)){const W=D;W.resolving&&function Bd(t,r){throw r&&r.join(" > "),new nt(-200,t)}(Bi(L[s]));const ie=ch(W.canSeeViewProviders);W.resolving=!0;const Ne=W.injectImpl?Wo(W.injectImpl):null;Cr(t,m,gt.Default);try{D=t[s]=W.factory(void 0,L,t,m),r.firstCreatePass&&s>=m.directiveStart&&function dD(t,r,s){const{ngOnChanges:m,ngOnInit:D,ngDoCheck:L}=r.type.prototype;if(m){const W=Yy(r);(s.preOrderHooks??=[]).push(t,W),(s.preOrderCheckHooks??=[]).push(t,W)}D&&(s.preOrderHooks??=[]).push(0-t,D),L&&((s.preOrderHooks??=[]).push(t,L),(s.preOrderCheckHooks??=[]).push(t,L))}(s,L[s],r)}finally{null!==Ne&&Wo(Ne),ch(ie),W.resolving=!1,Vo()}}return D}function nb(t,r,s){return!!(s[r+(t>>uh)]&1<{const r=t.prototype.constructor,s=r[or]||sm(r),m=Object.prototype;let D=Object.getPrototypeOf(t.prototype).constructor;for(;D&&D!==m;){const L=D[or]||sm(D);if(L&&L!==s)return L;D=Object.getPrototypeOf(D)}return L=>new L})}function sm(t){return Ha(t)?()=>{const r=sm(Dr(t));return r&&r()}:gl(t)}function sb(t){const r=t[In],s=r.type;return 2===s?r.declTNode:1===s?t[ai]:null}function fh(t){return function _D(t,r){if("class"===r)return t.classes;if("style"===r)return t.styles;const s=t.attrs;if(s){const m=s.length;let D=0;for(;D({attributeName:t,__NG_ELEMENT_ID__:()=>fh(t)}));let ab=null;function lm(){return ab=ab||new Uy}function gh(t){return lb(lm().parameters(t))}function lb(t){return t.map(r=>function cb(t){const r={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let s=0;sfunction CD(t,r){let s=null,m=null;t.hasOwnProperty(be)||Object.defineProperty(t,be,{get:()=>(null===s&&(s=qo().compileInjectable(By,`ng:///${t.name}/\u0275prov.js`,function SD(t,r){const s=r||{providedIn:null},m={name:t.name,type:t,typeArgumentCount:0,providedIn:s.providedIn};return(cm(s)||hb(s))&&void 0!==s.deps&&(m.deps=lb(s.deps)),cm(s)?m.useClass=s.useClass:function db(t){return ub in t}(s)?m.useValue=s.useValue:hb(s)?m.useFactory=s.useFactory:function fb(t){return void 0!==t.useExisting}(s)&&(m.useExisting=s.useExisting),m}(t,r))),s)}),t.hasOwnProperty(or)||Object.defineProperty(t,or,{get:()=>{if(null===m){const D=qo();m=D.compileFactory(By,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:gh(t),target:D.FactoryTarget.Injectable})}return m},configurable:!0})}(t,r));function mh(t,r=null,s=null,m){const D=mb(t,r,s,m);return D.resolveInjectorInitializers(),D}function mb(t,r=null,s=null,m,D=new Set){const L=[s||Jn,ds(t)];return m=m||("object"==typeof t?void 0:He(t)),new cc(L,r||Aa(),m||null,D)}let Rs=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=ul;static#t=this.NULL=new Zd;static create(s,m){if(Array.isArray(s))return mh({name:""},m,s,"");{const D=s.name??"";return mh({name:D},s.parent,s.providers,D)}}static#n=this.\u0275prov=ni({token:t,providedIn:"any",factory:()=>ke(Qd)});static#r=this.__NG_ELEMENT_ID__=-1}return t})();function ph(t){return t.ngOriginalError}class Fs{constructor(){this._console=console}handleError(r){const s=this._findOriginalError(r);this._console.error("ERROR",r),s&&this._console.error("ORIGINAL ERROR",s)}_findOriginalError(r){let s=r&&ph(r);for(;s&&ph(s);)s=ph(s);return s||null}}const _b=new it("",{providedIn:"root",factory:()=>lt(Fs).handleError.bind(void 0)}),_c=new it(""),um=new it("",{providedIn:"root",factory:()=>!1});let Ru,vh;function _h(){if(void 0===Ru&&(Ru=null,Rn.trustedTypes))try{Ru=Rn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ru}function yl(t){return _h()?.createHTML(t)||t}function dm(){if(void 0===vh&&(vh=null,Rn.trustedTypes))try{vh=Rn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return vh}function yb(t){return dm()?.createHTML(t)||t}function bb(t){return dm()?.createScript(t)||t}function Cb(t){return dm()?.createScriptURL(t)||t}class bl{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Xe})`}}class hm extends bl{getTypeName(){return"HTML"}}class DD extends bl{getTypeName(){return"Style"}}class AD extends bl{getTypeName(){return"Script"}}class TD extends bl{getTypeName(){return"URL"}}class vc extends bl{getTypeName(){return"ResourceURL"}}function Ia(t){return t instanceof bl?t.changingThisBreaksApplicationSecurity:t}function Cl(t,r){const s=Sb(t);if(null!=s&&s!==r){if("ResourceURL"===s&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${s} (see ${Xe})`)}return s===r}function Sb(t){return t instanceof bl&&t.getTypeName()||null}function Eb(t){return new hm(t)}function ID(t){return new DD(t)}function PD(t){return new AD(t)}function kD(t){return new TD(t)}function fm(t){return new vc(t)}function Mb(t){const r=new xD(t);return function gm(){try{return!!(new window.DOMParser).parseFromString(yl(""),"text/html")}catch{return!1}}()?new wb(r):r}class wb{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const s=(new window.DOMParser).parseFromString(yl(r),"text/html").body;return null===s?this.inertDocumentHelper.getInertBodyElement(r):(s.removeChild(s.firstChild),s)}catch{return null}}}class xD{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const s=this.inertDocument.createElement("template");return s.innerHTML=yl(r),s}}const OD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yh(t){return(t=String(t)).match(OD)?t:"unsafe:"+t}function Pa(t){const r={};for(const s of t.split(","))r[s]=!0;return r}function yc(...t){const r={};for(const s of t)for(const m in s)s.hasOwnProperty(m)&&(r[m]=!0);return r}const Db=Pa("area,br,col,hr,img,wbr"),$a=Pa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ab=Pa("rp,rt"),mm=yc(Db,yc($a,Pa("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),yc(Ab,Pa("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),yc(Ab,$a)),pm=Pa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Tb=yc(pm,Pa("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Pa("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),RD=Pa("script,style,template");class FD{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let s=r.firstChild,m=!0;for(;s;)if(s.nodeType===Node.ELEMENT_NODE?m=this.startElement(s):s.nodeType===Node.TEXT_NODE?this.chars(s.nodeValue):this.sanitizedSomething=!0,m&&s.firstChild)s=s.firstChild;else for(;s;){s.nodeType===Node.ELEMENT_NODE&&this.endElement(s);let D=this.checkClobberedElement(s,s.nextSibling);if(D){s=D;break}s=this.checkClobberedElement(s,s.parentNode)}return this.buf.join("")}startElement(r){const s=r.nodeName.toLowerCase();if(!mm.hasOwnProperty(s))return this.sanitizedSomething=!0,!RD.hasOwnProperty(s);this.buf.push("<"),this.buf.push(s);const m=r.attributes;for(let D=0;D"),!0}endElement(r){const s=r.nodeName.toLowerCase();mm.hasOwnProperty(s)&&!Db.hasOwnProperty(s)&&(this.buf.push(""))}chars(r){this.buf.push(Sl(r))}checkClobberedElement(r,s){if(s&&(r.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${r.outerHTML}`);return s}}const ND=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jD=/([^\#-~ |!])/g;function Sl(t){return t.replace(/&/g,"&").replace(ND,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(jD,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let ka;function Ib(t,r){let s=null;try{ka=ka||Mb(t);let m=r?String(r):"";s=ka.getInertBodyElement(m);let D=5,L=m;do{if(0===D)throw new Error("Failed to sanitize html because the input is unstable");D--,m=L,L=s.innerHTML,s=ka.getInertBodyElement(m)}while(m!==L);return yl((new FD).sanitizeChildren(bh(s)||s))}finally{if(s){const m=bh(s)||s;for(;m.firstChild;)m.removeChild(m.firstChild)}}}function bh(t){return"content"in t&&function BD(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var El=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(El||{});function _m(t){const r=Fu();return r?yb(r.sanitize(El.HTML,t)||""):Cl(t,"HTML")?yb(Ia(t)):Ib(No(),Vr(t))}function vm(t){const r=Fu();return r?r.sanitize(El.STYLE,t)||"":Cl(t,"Style")?Ia(t):Vr(t)}function ym(t){const r=Fu();return r?r.sanitize(El.URL,t)||"":Cl(t,"URL")?Ia(t):yh(Vr(t))}function Ch(t){const r=Fu();if(r)return Cb(r.sanitize(El.RESOURCE_URL,t)||"");if(Cl(t,"ResourceURL"))return Cb(Ia(t));throw new nt(904,!1)}function bm(t){const r=Fu();if(r)return bb(r.sanitize(El.SCRIPT,t)||"");if(Cl(t,"Script"))return bb(Ia(t));throw new nt(905,!1)}function Pb(t){return yl(t[0])}function Cm(t){return function wD(t){return _h()?.createScriptURL(t)||t}(t[0])}function xa(t,r,s){return function UD(t,r){return"src"===r&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===r&&("base"===t||"link"===t)?Ch:ym}(r,s)(t)}function Fu(){const t=Sn();return t&&t[Vi].sanitizer}const HD=/^>|^->||--!>|)/g,VD="\u200b$1\u200b";const Eh=new Map;let GD=0;function Em(t){return Eh.get(t)||null}class Mh{get lView(){return Em(this.lViewId)}constructor(r,s,m){this.lViewId=r,this.nodeIndex=s,this.native=m}}function Es(t){let r=Ml(t);if(r){if(Ni(r)){const s=r;let m,D,L;if(wl(t)){if(m=function Mm(t,r){const s=t[In].components;if(s)for(let m=0;m=0){const ie=Ur(L[W]),me=Nu(L,W,ie);_s(ie,me),r=me;break}}}}return r||null}function Nu(t,r,s){return new Mh(t[Rr],r,s)}const ju="__ngContext__";function _s(t,r){Ni(r)?(t[ju]=r[Rr],function QD(t){Eh.set(t[Rr],t)}(r)):t[ju]=r}function Ml(t){const r=t[ju];return"number"==typeof r?Em(r):r||null}function wl(t){return t&&t.constructor&&t.constructor.\u0275cmp}function Rb(t,r){const s=t[In];for(let m=ar;mr.replace(kb,VD))}(r))}function Ih(t,r,s){return t.createElement(r,s)}function $b(t,r){Lh(t,r,r[hr],2,null,null)}function Rm(t,r){const s=t[po],m=s.indexOf(r);s.splice(m,1)}function Bu(t,r){if(t.length<=zr)return;const s=zr+r,m=t[s];if(m){const D=m[zi];null!==D&&D!==t&&Rm(D,m),r>0&&(t[s-1][Ir]=m[Ir]);const L=Sa(t,zr+r);!function i1(t,r){$b(t,r),r[_r]=null,r[ai]=null}(m[In],m);const W=L[ro];null!==W&&W.detachView(L[In]),m[si]=null,m[Ir]=null,m[Gn]&=-129}return m}function Ph(t,r){if(!(256&r[Gn])){const s=r[hr];s.destroyNode&&Lh(t,r,s,3,null,null),function s1(t){let r=t[Yi];if(!r)return Fm(t[In],t);for(;r;){let s=null;if(Ni(r))s=r[Yi];else{const m=r[zr];m&&(s=m)}if(!s){for(;r&&!r[Ir]&&r!==t;)Ni(r)&&Fm(r[In],r),r=r[si];null===r&&(r=t),Ni(r)&&Fm(r[In],r),s=r&&r[Ir]}r=s}}(r)}}function Fm(t,r){if(!(256&r[Gn])){r[Gn]&=-129,r[Gn]|=256,r[qr]&&I(r[qr]),function c1(t,r){let s;if(null!=t&&null!=(s=t.destroyHooks))for(let m=0;m=0?m[W]():m[-W].unsubscribe(),L+=2}else s[L].call(m[s[L+1]]);null!==m&&(r[ti]=null);const D=r[_i];if(null!==D){r[_i]=null;for(let L=0;L-1){const{encapsulation:L}=t.data[m.directiveStart+D];if(L===br.None||L===br.Emulated)return null}return Xi(m,s)}}function Al(t,r,s,m,D){t.insertBefore(r,s,m,D)}function Qb(t,r,s){t.appendChild(r,s)}function Nm(t,r,s,m,D){null!==m?Al(t,r,s,m,D):Qb(t,r,s)}function kh(t,r){return t.parentNode(r)}function Xb(t,r,s){return Jb(t,r,s)}function jm(t,r,s){return 40&t.type?Xi(t,s):null}let Bm,Jb=jm;function qb(t,r){Jb=t,Bm=r}function xh(t,r,s,m){const D=Uu(t,m,r),L=r[hr],ie=Xb(m.parent||r[ai],m,r);if(null!=D)if(Array.isArray(s))for(let me=0;mear&&s0(t,r,ar,!1),pa(W?2:0,D),s(m,D)}finally{Yo(L),pa(W?3:1,D)}}function Rh(t,r,s){if(Lo(r)){const m=u(null);try{const L=r.directiveEnd;for(let W=r.directiveStart;Wnull;function b1(t){Jl(t)?Hm(t):function Xw(t){const r=No(),s=r.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(L){const W=function Zw(t){return t.textContent?.replace(/\s/gm,"")}(L);return"ngetn"===W||"ngtns"===W?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let m;const D=[];for(;m=s.nextNode();)D.push(m);for(const L of D)"ngetn"===L.textContent?L.replaceWith(r.createTextNode("")):L.remove()}(t)}function Nh(t,r,s,m,D){for(let L in r){if(!r.hasOwnProperty(L))continue;const W=r[L];if(void 0===W)continue;m??={};let ie,me=ct.None;Array.isArray(W)?(ie=W[0],me=W[1]):ie=W;let Ne=L;if(null!==D){if(!D.hasOwnProperty(L))continue;Ne=D[L]}0===t?h0(m,s,Ne,ie,me):h0(m,s,Ne,ie)}return m}function h0(t,r,s,m,D){let L;t.hasOwnProperty(s)?(L=t[s]).push(r,m):L=t[s]=[r,m],void 0!==D&&L.push(D)}function Ms(t,r,s,m,D,L,W,ie){const me=Xi(r,s);let Je,Ne=r.inputs;!ie&&null!=Ne&&(Je=Ne[m])?(Zm(t,s,Je,m,D),Oi(r)&&function M1(t,r){const s=Di(r,t);16&s[Gn]||(s[Gn]|=64)}(s,r.index)):3&r.type&&(m=function E1(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(m),D=null!=W?W(D,r.value||"",m):D,L.setProperty(me,m,D))}function $m(t,r,s,m){if(tr()){const D=null===m?null:{"":-1},L=function Vu(t,r){const s=t.directiveRegistry;let m=null,D=null;if(s)for(let L=0;L0;){const s=t[--r];if("number"==typeof s&&s<0)return s}return 0})(W)!=ie&&W.push(ie),W.push(s,m,L)}}(t,r,m,Hu(t,s,D.hostVars,ri),D)}function va(t,r,s,m,D,L){const W=Xi(t,r);wc(r[hr],W,L,t.value,s,m,D)}function wc(t,r,s,m,D,L,W){if(null==L)t.removeAttribute(r,D,s);else{const ie=null==W?Vr(L):W(L,m||"",D);t.setAttribute(r,D,ie,s)}}function k1(t,r,s,m,D,L){const W=L[r];if(null!==W)for(let ie=0;ie0&&(s[D-1][Ir]=r),m{qe(t.lView)},consumerOnSignalRead(){this.lView[qr]=this}};function $u(t){return D0(t[Yi])}function w0(t){return D0(t[Ir])}function D0(t){for(;null!==t&&!Gr(t);)t=t[Ir];return t}function Ac(t,r=!0,s=0){const m=t[Vi],D=m.rendererFactory;D.begin?.();try{!function N1(t,r){ip(t,r);let s=0;for(;ge(t);){if(100===s)throw new nt(103,!1);s++,ip(t,1)}}(t,s)}catch(W){throw r&&Vh(t,W),W}finally{D.end?.(),m.inlineEffectRunner?.flush()}}function B1(t,r,s,m){const D=r[Gn];if(256==(256&D))return;r[Vi].inlineEffectRunner?.flush(),Qr(r);let W=null,ie=null;(function np(t){return 2!==t.type})(t)&&(ie=function Yh(t){return t[qr]??function L1(t){const r=tp.pop()??Object.create(R1);return r.lView=t,r}(t)}(r),W=E(ie));try{fs(r),cn(t.bindingStartIndex),null!==s&&c0(t,r,s,2,m);const me=3==(3&D);if(me){const Et=t.preOrderCheckHooks;null!==Et&&sh(r,Et,null)}else{const Et=t.preOrderHooks;null!==Et&&fc(r,Et,0,null),ku(r,0)}if(function I0(t){for(let r=$u(t);null!==r;r=w0(r)){if(!(r[Gn]&bo.HasTransplantedViews))continue;const s=r[po];for(let m=0;m-1&&(Bu(r,m),Sa(s,m))}this._attachedToViewContainer=!1}Ph(this._lView[In],this._lView)}onDestroy(r){Dt(this._lView,r)}markForCheck(){Gu(this._cdRefInjectingView||this._lView)}detach(){this._lView[Gn]&=-129}reattach(){Le(this._lView),this._lView[Gn]|=128}detectChanges(){this._lView[Gn]|=1024,Ac(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new nt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,$b(this._lView[In],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new nt(902,!1);this._appRef=r,Le(this._lView)}}let Ku=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=V1}return t})();const zh=Ku,H1=class extends zh{constructor(r,s,m){super(),this._declarationLView=r,this._declarationTContainer=s,this.elementRef=m}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,s){return this.createEmbeddedViewImpl(r,s)}createEmbeddedViewImpl(r,s,m){const D=Yu(this._declarationLView,this._declarationTContainer,r,{injector:s,dehydratedView:m});return new Tl(D)}};function V1(){return Wh(ei(),Sn())}function Wh(t,r){return 4&t.type?new H1(r,t,Jo(t,r)):null}const $h="<-- AT THIS LOCATION";function $1(t){const m=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function Gh(t){const r=" ";let s="";const m=t;return m.previousSibling&&(s+=" \u2026\n",s+=r+Tc(m.previousSibling)+"\n"),s+=r+Tc(m)+` ${$h}\n`,t.nextSibling&&(s+=" \u2026\n"),t.parentNode&&(s=Tc(m.parentNode,"\n"+s)),s}(t)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new nt(-503,m)}const K1=new Set(["ngh","ng-version","ng-server-context"]);function op(t,r="\u2026"){switch(t.type){case 1:return"#text"+(t.value?`(${t.value})`:"");case 2:const m=function G1(t){const r=[];if(t.attrs)for(let s=0;s${r}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function Y1(t){switch(t){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}(t.type)})`}}function Tc(t,r="\u2026"){const s=t;switch(s.nodeType){case Node.ELEMENT_NODE:const m=s.tagName.toLowerCase(),D=function O0(t){const r=[];for(let s=0;s${r}`;case Node.TEXT_NODE:const L=s.textContent?Ic(s.textContent):"";return"#text"+(L?`(${L})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${Ic(s.textContent??"")} --\x3e`;default:return`#node(${s.nodeType})`}}function Ic(t,r=50){return t?(t=function Q1(t){return t.replace(/\s+/gm,"")}(t)).length>r?`${t.substring(0,r-1)}\u2026`:t:""}function R0(t){const r=t[wi]??[],m=t[si][hr];for(const D of r)Z1(D,m);t[wi]=Jn}function Z1(t,r){let s=0,m=t.firstChild;if(m){const D=t.data[oc];for(;s0&&s[D-1]===m?s[D]=(s[D]||1)+1:s.push(m,"")}return s.join("")}(s,m)}function j0(t,r){let m,D,L,s=t.parent;for(;null!==s&&Xu(s,r);)s=s.parent;null!==s&&3&s.type?(m=s.index,D=Ur(r[m]),L=Vr(m-ar)):(m=L=Og,D=r[Jr][_r]);let W=Ur(r[t.index]);if(12&t.type){const me=Ec(r,t);me&&(W=me)}let ie=N0(D,W,L);if(null===ie&&D!==W&&(ie=N0(D.ownerDocument.body,W,Lg),null===ie))throw function W1(t,r){const m=`${function sp(t,r,s){const m=" ";let D="";r.prev?(D+=" \u2026\n",D+=m+op(r.prev)+"\n"):r.type&&12&r.type&&(D+=" \u2026\n"),s?(D+=m+op(r)+"\n",D+=m+`\x3c!-- container --\x3e ${$h}\n`):D+=m+op(r)+` ${$h}\n`,D+=" \u2026\n";const L=r.type?Uu(t[In],r,t):null;return L&&(D=Tc(L,"\n"+D)),D}(t,r,!1)}\n\n`,D=function Qu(t){return`To fix this problem:\n * check ${t?`the "${t}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new nt(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+m+D)}(r,t);return ie}let up=()=>null;function rA(t,r){const s=t[wi];return r&&null!==s&&0!==s.length?s[0].data[hl]===r?s.shift():(R0(t),null):null}function Il(t,r){return up(t,r)}class hp{}class Xh{}class Ju{}class oA{resolveComponentFactory(r){throw function iA(t){const r=Error(`No component factory found for ${He(t)}.`);return r.ngComponent=t,r}(r)}}let qu=(()=>{class t{static#e=this.NULL=new oA}return t})();class B0{}let fp=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function sA(){const t=Sn(),s=Di(ei().index,t);return(Ni(s)?s:t)[hr]}()}return t})(),gp=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>null})}return t})();const ed={};function mp(t){return"function"==typeof t&&void 0!==t[e]}const U0=new Set;function zs(t){U0.has(t)||(U0.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function aA(t,r){zs("NgSignals");const s=N(t);return r?.equal&&(s[e].equal=r.equal),s}function lA(t){return null}function Io(t,r){zs("NgSignals");const s=function J(t){const r=Object.create(we);r.value=t;const s=()=>(S(r),r.value);return s[e]=r,s}(t),m=s[e];return r?.equal&&(m.equal=r.equal),s.set=D=>le(m,D),s.update=D=>function ee(t,r){y()||K(),le(t,r(t.value))}(m,D),s.asReadonly=cA.bind(s),s}function cA(){const t=this[e];if(void 0===t.readonlyFn){const r=()=>this();r[e]=t,t.readonlyFn=r}return t.readonlyFn}function Jh(t){return mp(t)&&"function"==typeof t.set}function uA(t){const r=u(null);try{return t()}finally{u(r)}}function qh(t){return!!td(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function td(t){return null!==t&&("function"==typeof t||"object"==typeof t)}class pp{constructor(){}supports(r){return qh(r)}create(r){return new z0(r)}}const hA=(t,r)=>r;class z0{constructor(r){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=r||hA}forEachItem(r){let s;for(s=this._itHead;null!==s;s=s._next)r(s)}forEachOperation(r){let s=this._itHead,m=this._removalsHead,D=0,L=null;for(;s||m;){const W=!m||s&&s.currentIndex{W=this._trackByFn(D,ie),null!==s&&Object.is(s.trackById,W)?(m&&(s=this._verifyReinsertion(s,ie,W,D)),Object.is(s.item,ie)||this._addIdentityChange(s,ie)):(s=this._mismatch(s,ie,W,D),m=!0),s=s._next,D++}),this.length=D;return this._truncate(s),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,s,m,D){let L;return null===r?L=this._itTail:(L=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(m,null))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._reinsertAfter(r,L,D)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(m,D))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._moveAfter(r,L,D)):r=this._addAfter(new _p(s,m),L,D),r}_verifyReinsertion(r,s,m,D){let L=null===this._unlinkedRecords?null:this._unlinkedRecords.get(m,null);return null!==L?r=this._reinsertAfter(L,r._prev,D):r.currentIndex!=D&&(r.currentIndex=D,this._addToMoves(r,D)),r}_truncate(r){for(;null!==r;){const s=r._next;this._addToRemovals(this._unlink(r)),r=s}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(r,s,m){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const D=r._prevRemoved,L=r._nextRemoved;return null===D?this._removalsHead=L:D._nextRemoved=L,null===L?this._removalsTail=D:L._prevRemoved=D,this._insertAfter(r,s,m),this._addToMoves(r,m),r}_moveAfter(r,s,m){return this._unlink(r),this._insertAfter(r,s,m),this._addToMoves(r,m),r}_addAfter(r,s,m){return this._insertAfter(r,s,m),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,s,m){const D=null===s?this._itHead:s._next;return r._next=D,r._prev=s,null===D?this._itTail=r:D._prev=r,null===s?this._itHead=r:s._next=r,null===this._linkedRecords&&(this._linkedRecords=new vp),this._linkedRecords.put(r),r.currentIndex=m,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const s=r._prev,m=r._next;return null===s?this._itHead=m:s._next=m,null===m?this._itTail=s:m._prev=s,r}_addToMoves(r,s){return r.previousIndex===s||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new vp),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,s){return r.item=s,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class _p{constructor(r,s){this.item=r,this.trackById=s,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class fA{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,s){let m;for(m=this._head;null!==m;m=m._nextDup)if((null===s||s<=m.currentIndex)&&Object.is(m.trackById,r))return m;return null}remove(r){const s=r._prevDup,m=r._nextDup;return null===s?this._head=m:s._nextDup=m,null===m?this._tail=s:m._prevDup=s,null===this._head}}class vp{constructor(){this.map=new Map}put(r){const s=r.trackById;let m=this.map.get(s);m||(m=new fA,this.map.set(s,m)),m.add(r)}get(r,s){const D=this.map.get(r);return D?D.get(r,s):null}remove(r){const s=r.trackById;return this.map.get(s).remove(r)&&this.map.delete(s),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function W0(t,r,s){const m=t.previousIndex;if(null===m)return m;let D=0;return s&&m{if(s&&s.key===D)this._maybeAddToChanges(s,m),this._appendAfter=s,s=s._next;else{const L=this._getOrCreateRecordForKey(D,m);s=this._insertBeforeOrAppend(s,L)}}),s){s._prev&&(s._prev._next=null),this._removalsHead=s;for(let m=s;null!==m;m=m._nextRemoved)m===this._mapHead&&(this._mapHead=null),this._records.delete(m.key),m._nextRemoved=m._next,m.previousValue=m.currentValue,m.currentValue=null,m._prev=null,m._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,s){if(r){const m=r._prev;return s._next=r,s._prev=m,r._prev=s,m&&(m._next=s),r===this._mapHead&&(this._mapHead=s),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=s,s._prev=this._appendAfter):this._mapHead=s,this._appendAfter=s,null}_getOrCreateRecordForKey(r,s){if(this._records.has(r)){const D=this._records.get(r);this._maybeAddToChanges(D,s);const L=D._prev,W=D._next;return L&&(L._next=W),W&&(W._prev=L),D._next=null,D._prev=null,D}const m=new gA(r);return this._records.set(r,m),m.currentValue=s,this._addToAdditions(m),m}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,s){Object.is(s,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=s,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,s){r instanceof Map?r.forEach(s):Object.keys(r).forEach(m=>s(r[m],m))}}class gA{constructor(r){this.key=r,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function yp(){return new bp([new pp])}let bp=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:yp});constructor(s){this.factories=s}static create(s,m){if(null!=m){const D=m.factories.slice();s=s.concat(D)}return new t(s)}static extend(s){return{provide:t,useFactory:m=>t.create(s,m||yp()),deps:[[t,new Gd,new $d]]}}find(s){const m=this.factories.find(D=>D.supports(s));if(null!=m)return m;throw new nt(901,!1)}}return t})();function K0(){return new nd([new $0])}let nd=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:K0});constructor(s){this.factories=s}static create(s,m){if(m){const D=m.factories.slice();s=s.concat(D)}return new t(s)}static extend(s){return{provide:t,useFactory:m=>t.create(s,m||K0()),deps:[[t,new Gd,new $d]]}}find(s){const m=this.factories.find(D=>D.supports(s));if(m)return m;throw new nt(901,!1)}}return t})();function Q0(t,r){const s=qh(t),m=qh(r);return s&&m?function dA(t,r,s){const m=t[Symbol.iterator](),D=r[Symbol.iterator]();for(;;){const L=m.next(),W=D.next();if(L.done&&W.done)return!0;if(L.done||W.done||!s(L.value,W.value))return!1}}(t,r,Q0):!(s||!t||"object"!=typeof t&&"function"!=typeof t||m||!r||"object"!=typeof r&&"function"!=typeof r)||Object.is(t,r)}let Cp=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=kc}return t})();function kc(t){return function pA(t,r,s){if(Oi(t)&&!s){const m=Di(t.index,r);return new Tl(m,m)}return 47&t.type?new Tl(r[Jr],r):null}(ei(),Sn(),16==(16&t))}const Z0=[new $0],ks=new bp([new pp]),vA=new nd(Z0);let xc=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=X0;static#t=this.__NG_ENV_ID__=s=>s}return t})();class yA extends xc{constructor(r){super(),this._lView=r}onDestroy(r){return Dt(this._lView,r),()=>Nt(this._lView,r)}}function X0(){return new yA(Sn())}function bA(t,r){if(null!==function c(){return d}())throw new nt(-602,!1)}const J0=new it("",{providedIn:"root",factory:()=>lt(q0)});let q0=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new eC})}return t})();class eC{constructor(){this.hasQueuedFlush=!1,this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(r){this.enqueue(r),this.hasQueuedFlush||(queueMicrotask(()=>this.flush()),this.hasQueuedFlush=!1)}enqueue(r){const s=r.creationZone;this.queues.has(s)||this.queues.set(s,new Set);const m=this.queues.get(s);m.has(r)||(this.queuedEffectCount++,m.add(r))}flush(){for(;this.queuedEffectCount>0;)for(const[r,s]of this.queues)null===r?this.flushQueue(s):r.run(()=>this.flushQueue(s))}flushQueue(r){for(const s of r)r.delete(s),this.queuedEffectCount--,s.run()}}class CA{constructor(r,s,m,D,L,W){this.scheduler=r,this.effectFn=s,this.creationZone=m,this.injector=L,this.watcher=function Oe(t,r,s){const m=Object.create(_e);s&&(m.consumerAllowSignalWrites=!0),m.fn=t,m.schedule=r;const D=me=>{m.cleanupFn=me};return m.ref={notify:()=>b(m),run:()=>{if(null===m.fn)return;if(function g(){return a}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(m.dirty=!1,m.hasRun&&!A(m))return;m.hasRun=!0;const me=E(m);try{m.cleanupFn(),m.cleanupFn=ve,m.fn(D)}finally{M(m,me)}},cleanup:()=>m.cleanupFn(),destroy:()=>function W(me){(function L(me){return null===me.fn&&null===me.schedule})(me)||(I(me),me.cleanupFn(),me.fn=null,me.schedule=null,me.cleanupFn=ve)}(m),[e]:m},m.ref}(ie=>this.runEffect(ie),()=>this.schedule(),W),this.unregisterOnDestroy=D?.onDestroy(()=>this.destroy())}runEffect(r){try{this.effectFn(r)}catch(s){this.injector.get(Fs,null,{optional:!0})?.handleError(s)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Sp(t,r){zs("NgSignals"),!r?.injector&&pl();const s=r?.injector??lt(Rs),m=!0!==r?.manualCleanup?s.get(xc):null,D=new CA(s.get(J0),t,typeof Zone>"u"?null:Zone.current,m,s,r?.allowSignalWrites??!1),L=s.get(Cp,null,{optional:!0});return L&&8&L._lView[Gn]?(L._lView[xi]??=[]).push(D.watcher.notify):D.watcher.notify(),D}function tC(...t){}class Oo{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:m=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ue(!1),this.onMicrotaskEmpty=new Ue(!1),this.onStable=new Ue(!1),this.onError=new Ue(!1),typeof Zone>"u")throw new nt(908,!1);Zone.assertZonePatched();const D=this;D._nesting=0,D._outer=D._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(D._inner=D._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(D._inner=D._inner.fork(Zone.longStackTraceZoneSpec)),D.shouldCoalesceEventChangeDetection=!m&&s,D.shouldCoalesceRunChangeDetection=m,D.lastRequestAnimationFrameId=-1,D.nativeRequestAnimationFrame=function ef(){const t="function"==typeof Rn.requestAnimationFrame;let r=Rn[t?"requestAnimationFrame":"setTimeout"],s=Rn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&s){const m=r[Zone.__symbol__("OriginalDelegate")];m&&(r=m);const D=s[Zone.__symbol__("OriginalDelegate")];D&&(s=D)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:s}}().nativeRequestAnimationFrame,function ba(t){const r=()=>{!function EA(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Rn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Ep(t),t.isCheckStableRunning=!0,tf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Ep(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(s,m,D,L,W,ie)=>{if(function MA(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(ie))return s.invokeTask(D,L,W,ie);try{return rd(t),s.invokeTask(D,L,W,ie)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===L.type||t.shouldCoalesceRunChangeDetection)&&r(),nC(t)}},onInvoke:(s,m,D,L,W,ie,me)=>{try{return rd(t),s.invoke(D,L,W,ie,me)}finally{t.shouldCoalesceRunChangeDetection&&r(),nC(t)}},onHasTask:(s,m,D,L)=>{s.hasTask(D,L),m===D&&("microTask"==L.change?(t._hasPendingMicrotasks=L.microTask,Ep(t),tf(t)):"macroTask"==L.change&&(t.hasPendingMacrotasks=L.macroTask))},onHandleError:(s,m,D,L)=>(s.handleError(D,L),t.runOutsideAngular(()=>t.onError.emit(L)),!1)})}(D)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Oo.isInAngularZone())throw new nt(909,!1)}static assertNotInAngularZone(){if(Oo.isInAngularZone())throw new nt(909,!1)}run(r,s,m){return this._inner.run(r,s,m)}runTask(r,s,m,D){const L=this._inner,W=L.scheduleEventTask("NgZoneEvent: "+D,r,SA,tC,tC);try{return L.runTask(W,s,m)}finally{L.cancelTask(W)}}runGuarded(r,s,m){return this._inner.runGuarded(r,s,m)}runOutsideAngular(r){return this._outer.run(r)}}const SA={};function tf(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Ep(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function rd(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function nC(t){t._nesting--,tf(t)}class Mp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ue,this.onMicrotaskEmpty=new Ue,this.onStable=new Ue,this.onError=new Ue}run(r,s,m){return r.apply(s,m)}runGuarded(r,s,m){return r.apply(s,m)}runOutsideAngular(r){return r()}runTask(r,s,m,D){return r.apply(s,m)}}var Ka=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Ka||{});const nf={destroy(){}};function rf(t,r){const s=r?.injector??lt(Rs);(r?.runOnServer||Ga(s))&&s.get(Pl).internalCallbacks.push(t)}function wp(t,r){!r&&pl();const s=r?.injector??lt(Rs);if(!Ga(s))return nf;zs("NgAfterRender");const m=s.get(Pl),D=m.handler??=new oC,L=r?.phase??Ka.MixedReadWrite,W=()=>{D.unregister(me),ie()},ie=s.get(xc).onDestroy(W),me=new id(s,L,t);return D.register(me),{destroy:W}}function iC(t,r){!r&&pl();const s=r?.injector??lt(Rs);if(!Ga(s))return nf;zs("NgAfterNextRender");const m=s.get(Pl),D=m.handler??=new oC,L=r?.phase??Ka.MixedReadWrite,W=()=>{D.unregister(me),ie()},ie=s.get(xc).onDestroy(W),me=new id(s,L,()=>{W(),t()});return D.register(me),{destroy:W}}class id{constructor(r,s,m){this.phase=s,this.callbackFn=m,this.zone=r.get(Oo),this.errorHandler=r.get(Fs,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){this.errorHandler?.handleError(r)}}}class oC{constructor(){this.executingCallbacks=!1,this.buckets={[Ka.EarlyRead]:new Set,[Ka.Write]:new Set,[Ka.MixedReadWrite]:new Set,[Ka.Read]:new Set},this.deferredCallbacks=new Set}register(r){(this.executingCallbacks?this.deferredCallbacks:this.buckets[r.phase]).add(r)}unregister(r){this.buckets[r.phase].delete(r),this.deferredCallbacks.delete(r)}execute(){this.executingCallbacks=!0;for(const r of Object.values(this.buckets))for(const s of r)s.invoke();this.executingCallbacks=!1;for(const r of this.deferredCallbacks)this.buckets[r.phase].add(r);this.deferredCallbacks.clear()}destroy(){for(const r of Object.values(this.buckets))r.clear();this.deferredCallbacks.clear()}}let Pl=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const s=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const m of s)m()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();function Dp(t){return void 0!==t.ngModule}function Qa(t){return!!cr(t)}function of(t){return!!Nn(t)}function sC(t){return!!Gt(t)}function od(t){return!!fn(t)}function DA(t,r){if(Ha(t)&&!(t=Dr(t)))throw new Error(`Expected forwardRef function, imported from "${Bi(r)}", to return a standalone entity or NgModule but got "${Bi(t)||t}".`);if(null==cr(t)){const s=fn(t)||Gt(t)||Nn(t);if(null==s)throw Dp(t)?new Error(`A module with providers was imported from "${Bi(r)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Bi(t)}" type, imported from "${Bi(r)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!s.standalone)throw new Error(`The "${Bi(t)}" ${function wA(t){return fn(t)?"component":Gt(t)?"directive":Nn(t)?"pipe":"type"}(t)}, imported from "${Bi(r)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const sd=!0;class aC{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const r of this.ngModulesWithSomeUnresolvedDecls){const s=cr(r);if(s?.declarations)for(const m of Ns(s.declarations))od(m)&&this.ownerNgModule.set(m,r)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(r,s){this.resolveNgModulesDecls();const m=fn(r);if(null===m)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${r}`);if(m.standalone){const D=this.getStandaloneComponentScope(r,s);return D.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...D.compilation.directives,...D.compilation.pipes,...D.compilation.ngModules]}}{if(!this.ownerNgModule.has(r))return{dependencies:[]};const D=this.getNgModuleScope(this.ownerNgModule.get(r));return D.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...D.compilation.directives,...D.compilation.pipes]}}}registerNgModule(r,s){if(!Qa(r))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${r}`);this.ngModulesWithSomeUnresolvedDecls.add(r)}clearScopeCacheFor(r){this.ngModulesScopeCache.delete(r),this.standaloneComponentsScopeCache.delete(r)}getNgModuleScope(r){if(this.ngModulesScopeCache.has(r))return this.ngModulesScopeCache.get(r);const s=this.computeNgModuleScope(r);return this.ngModulesScopeCache.set(r,s),s}computeNgModuleScope(r){const s=cr(r,!0),m={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const D of Ns(s.imports))if(Qa(D)){const L=this.getNgModuleScope(D);na(L.exported.directives,m.compilation.directives),na(L.exported.pipes,m.compilation.pipes)}else{if(!lr(D)){m.compilation.isPoisoned=!0;break}if(sC(D)||od(D))m.compilation.directives.add(D);else{if(!of(D))throw new nt(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");m.compilation.pipes.add(D)}}if(!m.compilation.isPoisoned)for(const D of Ns(s.declarations)){if(Qa(D)||lr(D)){m.compilation.isPoisoned=!0;break}of(D)?m.compilation.pipes.add(D):m.compilation.directives.add(D)}for(const D of Ns(s.exports))if(Qa(D)){const L=this.getNgModuleScope(D);na(L.exported.directives,m.exported.directives),na(L.exported.pipes,m.exported.pipes),na(L.exported.directives,m.compilation.directives),na(L.exported.pipes,m.compilation.pipes)}else of(D)?m.exported.pipes.add(D):m.exported.directives.add(D);return m}getStandaloneComponentScope(r,s){if(this.standaloneComponentsScopeCache.has(r))return this.standaloneComponentsScopeCache.get(r);const m=this.computeStandaloneComponentScope(r,s);return this.standaloneComponentsScopeCache.set(r,m),m}computeStandaloneComponentScope(r,s){const m={compilation:{directives:new Set([r]),pipes:new Set,ngModules:new Set}};for(const D of ls(s??[])){const L=Dr(D);try{DA(L,r)}catch{return m.compilation.isPoisoned=!0,m}if(Qa(L)){m.compilation.ngModules.add(L);const W=this.getNgModuleScope(L);if(W.exported.isPoisoned)return m.compilation.isPoisoned=!0,m;na(W.exported.directives,m.compilation.directives),na(W.exported.pipes,m.compilation.pipes)}else if(of(L))m.compilation.pipes.add(L);else{if(!sC(L)&&!od(L))return m.compilation.isPoisoned=!0,m;m.compilation.directives.add(L)}}return m}isOrphanComponent(r){const s=fn(r);return!(!s||s.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(r)))}}function na(t,r){for(const s of t)r.add(s)}const Oc=new aC;function sf(t,r,s){let m=s?t.styles:null,D=s?t.classes:null,L=0;if(null!==r)for(let W=0;W0&&n0(t,s,L.join(" "))}}(Ut,Fi,pn,m),void 0!==s&&function fC(t,r,s){const m=t.projection=[];for(let D=0;D{class t{static#e=this.__NG_ELEMENT_ID__=kA}return t})();function kA(){return vC(ei(),Sn())}const mC=lf,pC=class extends mC{constructor(r,s,m){super(),this._lContainer=r,this._hostTNode=s,this._hostLView=m}get element(){return Jo(this._hostTNode,this._hostLView)}get injector(){return new es(this._hostTNode,this._hostLView)}get parentInjector(){const r=dh(this._hostTNode,this._hostLView);if(nm(r)){const s=Lu(r,this._hostLView),m=Ou(r);return new es(s[In].data[m+8],s)}return new es(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const s=_C(this._lContainer);return null!==s&&s[r]||null}get length(){return this._lContainer.length-zr}createEmbeddedView(r,s,m){let D,L;"number"==typeof m?D=m:null!=m&&(D=m.index,L=m.injector);const W=Il(this._lContainer,r.ssrId),ie=r.createEmbeddedViewImpl(s||{},L,W);return this.insertImpl(ie,D,Dc(this._hostTNode,W)),ie}createComponent(r,s,m,D,L){const W=r&&!dc(r);let ie;if(W)ie=s;else{const pn=s||{};ie=pn.index,m=pn.injector,D=pn.projectableNodes,L=pn.environmentInjector||pn.ngModuleRef}const me=W?r:new Lc(fn(r)),Ne=m||this.parentInjector;if(!L&&null==me.ngModule){const kn=(W?Ne:this.parentInjector).get(Js,null);kn&&(L=kn)}const Je=fn(me.componentType??{}),Et=Il(this._lContainer,Je?.id??null),Qt=me.create(Ne,D,Et?.firstChild??null,L);return this.insertImpl(Qt.hostView,ie,Dc(this._hostTNode,Et)),Qt}insert(r,s){return this.insertImpl(r,s,!0)}insertImpl(r,s,m){const D=r._lView;if(function os(t){return Gr(t[si])}(D)){const ie=this.indexOf(r);if(-1!==ie)this.detach(ie);else{const me=D[si],Ne=new pC(me,me[ai],me[si]);Ne.detach(Ne.indexOf(r))}}const L=this._adjustIndex(s),W=this._lContainer;return zu(W,D,L,m),r.attachToViewContainerRef(),nl(ad(W),L,r),r}move(r,s){return this.insert(r,s)}indexOf(r){const s=_C(this._lContainer);return null!==s?s.indexOf(r):-1}remove(r){const s=this._adjustIndex(r,-1),m=Bu(this._lContainer,s);m&&(Sa(ad(this._lContainer),s),Ph(m[In],m))}detach(r){const s=this._adjustIndex(r,-1),m=Bu(this._lContainer,s);return m&&null!=Sa(ad(this._lContainer),s)?new Tl(m):null}_adjustIndex(r,s=0){return r??this.length+s}};function _C(t){return t[8]}function ad(t){return t[8]||(t[8]=[])}function vC(t,r){let s;const m=r[t.index];return Gr(m)?s=m:(s=p0(m,r,null,t),r[t.index]=s,Hh(r,s)),yC(s,r,t,m),new pC(s,t,r)}let yC=Tp,cf=()=>!1;function bC(t,r,s){return cf(t,r,s)}function Tp(t,r,s,m){if(t[yi])return;let D;D=8&s.type?Ur(m):function xA(t,r){const s=t[hr],m=s.createComment(""),D=Xi(r,t);return Al(s,kh(s,D),m,function d1(t,r){return t.nextSibling(r)}(s,D),!1),m}(r,s),t[yi]=D}function OA(t,r,s){if(t[yi]&&t[wi])return!0;const m=s[Fn],D=r.index-ar;if(!m||$i(r)||Wd(m,D))return!1;const W=Hg(m,D),ie=m.data[ma]?.[D],[me,Ne]=function nA(t,r){const s=[];for(const m of r)for(let D=0;D<(m[dl]??1);D++){const L={data:m,firstChild:null};m[oc]>0&&(L.firstChild=t,t=Qh(m[oc],t)),s.push(L)}return[t,s]}(W,ie);return t[yi]=me,t[wi]=Ne,!0}function CC(t,r,s,m){cf(t,s,r)||Tp(t,r,s,m)}class uf{constructor(r){this.queryList=r,this.matches=null}clone(){return new uf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ip{constructor(r=[]){this.queries=r}createEmbeddedView(r){const s=r.queries;if(null!==s){const m=null!==r.contentQueries?r.contentQueries[0]:s.length,D=[];for(let L=0;Lr.trim())}(r):r}}class ld{constructor(r=[]){this.queries=r}elementStart(r,s){for(let m=0;m0)m.push(W[ie/2]);else{const Ne=L[ie+1],Je=r[-me];for(let Et=zr;Et{s._dirtyCounter();const D=function xC(t,r){const s=t._lView,m=t._queryIndex;if(void 0===s||void 0===m||4&s[Gn])return r?void 0:Jn;const D=Op(s,m),L=cd(s,m);return D.reset(L,Kl),r?D.first:D._changesDetected||void 0===t._flatValue?t._flatValue=D.toArray():t._flatValue}(s,t);if(r&&void 0===D)throw new nt(-951,!1);return D});return s=m[e],s._dirtyCounter=Io(0),s._flatValue=void 0,m}function Fp(){return Rp(!0,!1)}function PC(){return Rp(!0,!0)}function Rc(){return Rp(!1,!1)}function kC(t,r){const s=t[e];s._lView=Sn(),s._queryIndex=r,s._queryList=Op(s._lView,r),s._queryList.onDirty(()=>s._dirtyCounter.update(m=>m+1))}function OC(t,r){return Fp()}const LC=(OC.required=function NA(t,r){return PC()},OC);function jA(t,r){return Rc()}function Np(t,r){return Fp()}const UA=(Np.required=function BA(t,r){return PC()},Np);function RC(t,r){return Rc()}function FC(t){const r=[],s=Object.create(hn);function m(){return S(s),jp(s.value),s.value}return s.value=t,m[e]=s,m.asReadonly=()=>m(),m.set=L=>{s.equal(s.value,L)||(le(s,L),function D(L){for(let W=0;W{jp(s.value),m.set(L(s.value))},m.subscribe=L=>(r.push(L),()=>{const W=r.indexOf(L);W>-1&&r.splice(W,1)}),m}function jp(t){if(t===tn)throw new nt(-952,!1)}function NC(t){return FC(t)}const jC=(NC.required=function HA(){return FC(tn)},NC);class Fc{}const VA=Va("ContentChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...r}),Fc),YA=Va("ContentChild",(t,r={})=>({selector:t,first:!0,isViewQuery:!1,descendants:!0,...r}),Fc),zA=Va("ViewChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...r}),Fc),WA=Va("ViewChild",(t,r)=>({selector:t,first:!0,isViewQuery:!0,descendants:!0,...r}),Fc);function UC(t){const r=[],s=new Map;function m(D){let L=s.get(D);if(!L){const W=t(D);s.set(D,L=W.then(KA))}return L}return Nc.forEach((D,L)=>{const W=[];D.templateUrl&&W.push(m(D.templateUrl).then(Ne=>{D.template=Ne}));const ie="string"==typeof D.styles?[D.styles]:D.styles||[];if(D.styles=ie,D.styleUrl&&D.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(D.styleUrls?.length){const Ne=D.styles.length,Je=D.styleUrls;D.styleUrls.forEach((Et,Ut)=>{ie.push(""),W.push(m(Et).then(Qt=>{ie[Ne+Ut]=Qt,Je.splice(Je.indexOf(Et),1),0==Je.length&&(D.styleUrls=void 0)}))})}else D.styleUrl&&W.push(m(D.styleUrl).then(Ne=>{ie.push(Ne),D.styleUrl=void 0}));const me=Promise.all(W).then(()=>function zC(t){jc.delete(t)}(L));r.push(me)}),Bp(),Promise.all(r).then(()=>{})}let Nc=new Map;const jc=new Set;function HC(t){return jc.has(t)}function VC(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length||t.styleUrl)}function Bp(){const t=Nc;return Nc=new Map,t}function GA(t){jc.clear(),t.forEach((r,s)=>jc.add(s)),Nc=t}function KA(t){return"string"==typeof t?t:t.text()}const hf=new Map;let Up=!0;function ff(t,r){(function QA(t,r,s){if(r&&r!==s&&Up)throw new Error(`Duplicate module registered for ${t} - ${He(r)} vs ${He(r.name)}`)})(r,hf.get(r)||null,t),hf.set(r,t)}function Hp(t){return hf.get(t)}function ZA(t){Up=!t}function ud(t,r,s){const m=Sn(),D=hi(),L=Xi(D,m);if(2===D.type&&"iframe"===r.toLowerCase()){const W=L;throw W.src="",W.srcdoc=yl(""),Oh(m[hr],W),new nt(-910,!1)}return t}function WC(t){return Object.getPrototypeOf(t.prototype).constructor}function gf(t){let r=WC(t.type),s=!0;const m=[t];for(;r;){let D;if(Li(t))D=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new nt(903,!1);D=r.\u0275dir}if(D){if(s){m.push(D);const W=t;W.inputs=mf(t.inputs),W.inputTransforms=mf(t.inputTransforms),W.declaredInputs=mf(t.declaredInputs),W.outputs=mf(t.outputs);const ie=D.hostBindings;ie&&GC(t,ie);const me=D.viewQuery,Ne=D.contentQueries;if(me&&JA(t,me),Ne&&qA(t,Ne),XA(t,D),Or(t.outputs,D.outputs),Li(D)&&D.data.animation){const Je=t.data;Je.animation=(Je.animation||[]).concat(D.data.animation)}}const L=D.features;if(L)for(let W=0;W=0;m--){const D=t[m];D.hostVars=r+=D.hostVars,D.hostAttrs=Mn(D.hostAttrs,s=Mn(s,D.hostAttrs))}}(m)}function XA(t,r){for(const s in r.inputs){if(!r.inputs.hasOwnProperty(s)||t.inputs.hasOwnProperty(s))continue;const m=r.inputs[s];if(void 0!==m&&(t.inputs[s]=m,t.declaredInputs[s]=r.declaredInputs[s],null!==r.inputTransforms)){const D=Array.isArray(m)?m[0]:m;if(!r.inputTransforms.hasOwnProperty(D))continue;t.inputTransforms??={},t.inputTransforms[D]=r.inputTransforms[D]}}}function mf(t){return t===pr?{}:t===Jn?[]:t}function JA(t,r){const s=t.viewQuery;t.viewQuery=s?(m,D)=>{r(m,D),s(m,D)}:r}function qA(t,r){const s=t.contentQueries;t.contentQueries=s?(m,D,L)=>{r(m,D,L),s(m,D,L)}:r}function GC(t,r){const s=t.hostBindings;t.hostBindings=s?(m,D)=>{r(m,D),s(m,D)}:r}const eT=["providersResolver"],Vp=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function KC(t){let s,r=WC(t.type);s=Li(t)?r.\u0275cmp:r.\u0275dir;const m=t;for(const D of eT)m[D]=s[D];if(Li(s))for(const D of Vp)m[D]=s[D]}function dd(t){const r=s=>{const m=(Array.isArray(t)?t:t()).map(D=>"function"==typeof D?{directive:Dr(D),inputs:pr,outputs:pr}:{directive:Dr(D.directive),inputs:Yp(D.inputs),outputs:Yp(D.outputs)});null===s.hostDirectives?(s.findHostDirectiveDefs=QC,s.hostDirectives=m):s.hostDirectives.unshift(...m)};return r.ngInherit=!0,r}function QC(t,r,s){if(null!==t.hostDirectives)for(const m of t.hostDirectives){const D=Gt(m.directive);tT(D.declaredInputs,m.inputs),QC(D,r,s),s.set(D,m),r.push(D)}}function Yp(t){if(void 0===t||0===t.length)return pr;const r={};for(let s=0;ss()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class _f extends JC{constructor(r){super(),this.moduleType=r}create(r){return new pf(this.moduleType,r,[])}}class tS extends kl{constructor(r){super(),this.componentFactoryResolver=new lC(this),this.instance=null;const s=new cc([...r.providers,{provide:kl,useValue:this},{provide:qu,useValue:this.componentFactoryResolver}],r.parent||Aa(),r.debugName,new Set(["environment"]));this.injector=s,r.runEnvironmentInitializers&&s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function zp(t,r,s=null){return new tS({providers:t,parent:r,debugName:s,runEnvironmentInitializers:!0}).injector}let nS=(()=>{class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(s,m,D,L){if(!this.cachedInjectors.has(s)){const W=D.length>0?zp(D,m,L):null;this.cachedInjectors.set(s,W)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ni({token:t,providedIn:"environment",factory:()=>new t})}return t})();const vf="__ngAsyncComponentMetadataFn__";function iT(t){return t[vf]??null}function hd(t,r,s){const m=t;return m[vf]=()=>Promise.all(r()).then(D=>(s(...D),m[vf]=null,D)),m[vf]}function rS(t,r,s,m){return qn(()=>{const D=t;null!==r&&(D.hasOwnProperty("decorators")&&void 0!==D.decorators?D.decorators.push(...r):D.decorators=r),null!==s&&(D.ctorParameters=s),null!==m&&(D.propDecorators=D.hasOwnProperty("propDecorators")&&void 0!==D.propDecorators?{...D.propDecorators,...m}:m)})}let fd=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new tt.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const s=this.taskId++;return this.pendingTasks.add(s),s}remove(s){this.pendingTasks.delete(s),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vs(t,r,s){return t[r]=s}function gd(t,r){return t[r]}function jo(t,r,s){return!Object.is(t[r],s)&&(t[r]=s,!0)}function Za(t,r,s,m){const D=jo(t,r,s);return jo(t,r+1,m)||D}function yf(t,r,s,m,D){const L=Za(t,r,s,m);return jo(t,r+2,D)||L}function Ws(t,r,s,m,D,L){const W=Za(t,r,s,m);return Za(t,r+2,D,L)||W}function Bc(t,r,s,m,D,L,W,ie){const me=Sn(),Ne=wr(),Je=t+ar,Et=Ne.firstCreatePass?function oS(t,r,s,m,D,L,W,ie,me){const Ne=r.consts,Je=Oa(r,t,4,W||null,io(Ne,ie));$m(r,s,Je,io(Ne,me)),oh(r,Je);const Et=Je.tView=Fh(2,Je,m,D,L,r.directiveRegistry,r.pipeRegistry,null,r.schemas,Ne,null);return null!==r.queries&&(r.queries.template(r,Je),Et.queries=r.queries.embeddedTView(Je)),Je}(Je,Ne,me,r,s,m,D,L,W):Ne.data[Je];at(Et,!1);const Ut=Wp(Ne,me,Et,t);Qs()&&xh(Ne,me,Ut,Et),_s(Ut,me);const Qt=p0(Ut,me,Ut,Et);return me[Je]=Qt,Hh(me,Qt),bC(Qt,Et,me),Zi(Et)&&Ym(Ne,me,Et),null!=W&&zm(me,Et,ie),Bc}let Wp=sS;function sS(t,r,s,m){return Os(!0),r[hr].createComment("")}function oT(t,r,s,m){const D=r[Fn],L=!D||vr()||Wd(D,m);if(Os(L),L)return sS(0,r);const W=D.data[Fg]?.[m]??null;null!==W&&null!==s.tView&&null===s.tView.ssrId&&(s.tView.ssrId=W);const ie=ta(D,t,r,s);return Yd(D,m,ie),Qh(zd(D,m),ie)}var Bo=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(Bo||{});const bf=0,sT=1;var Po=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(Po||{}),md=function(t){return t[t.Initial=-1]="Initial",t}(md||{});const xl=0,Cf=1,Uc=2,Sf=3,aS=4,lS=5;var Ef=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(Ef||{});function Mf(t,r,s){const m=1===t?lS:aS;null===r[m]&&(r[m]=[]),r[m].push(s)}function Gp(t,r){const s=1===t?lS:aS,m=r[s];if(null!==m){for(const D of m)D();r[s]=null}}function cS(t){Gp(1,t),Gp(0,t)}function pd(t){return t+1}function Xa(t,r){return t[pd(r.index)]}function js(t,r){const s=pd(r.index);return t.data[s]}function Kp(t,r){return r===Po.Placeholder?t.placeholderBlockConfig?.[bf]??null:r===Po.Loading?t.loadingBlockConfig?.[bf]??null:null}function Qp(t){return t.loadingBlockConfig?.[sT]??null}function dS(t,r){if(!t||0===t.length)return r;const s=new Set(t);for(const m of r)s.add(m);return t.length===s.size?t:Array.from(s)}function hS(t){return null!==t&&"object"==typeof t&&"number"==typeof t.primaryTmplIndex}const wf={passive:!0,capture:!0},Df=new WeakMap,Zp=new WeakMap,Hc=new WeakMap,fS=["click","keydown"],Xp=["mouseenter","focusin"];let Vc=null,Af=0;class Jp{constructor(){this.callbacks=new Set,this.listener=()=>{for(const r of this.callbacks)r()}}}function gS(t,r){let s=Zp.get(t);if(!s){s=new Jp,Zp.set(t,s);for(const m of fS)t.addEventListener(m,s.listener,wf)}return s.callbacks.add(r),()=>{const{callbacks:m,listener:D}=s;if(m.delete(r),0===m.size){Zp.delete(t);for(const L of fS)t.removeEventListener(L,D,wf)}}}function qp(t,r){let s=Df.get(t);if(!s){s=new Jp,Df.set(t,s);for(const m of Xp)t.addEventListener(m,s.listener,wf)}return s.callbacks.add(r),()=>{const{callbacks:m,listener:D}=s;if(m.delete(r),0===m.size){for(const L of Xp)t.removeEventListener(L,D,wf);Df.delete(t)}}}function mS(t,r,s){const m=s.get(Oo);let D=Hc.get(t);return Vc=Vc||m.runOutsideAngular(()=>new IntersectionObserver(L=>{for(const W of L)W.isIntersecting&&Hc.has(W.target)&&m.run(Hc.get(W.target).listener)})),D||(D=new Jp,m.runOutsideAngular(()=>Vc.observe(t)),Hc.set(t,D),Af++),D.callbacks.add(r),()=>{Hc.has(t)&&(D.callbacks.delete(r),0===D.callbacks.size&&(Vc?.unobserve(t),Hc.delete(t),Af--),0===Af&&(Vc?.disconnect(),Vc=null))}}function Ol(t,r,s,m,D,L,W){const ie=t[Xr];rf(function me(){if(Ro(t))return;const Ne=Xa(t,r),Je=Ne[Cf];if(Je!==md.Initial&&Je!==Po.Placeholder)return;const Et=function cT(t,r,s){return null==s?t:s>=0?ne(s,t):t[r.index][zr]??null}(t,r,m);if(!Et)return void rf(me,{injector:ie});if(Ro(Et))return;const Ut=function uT(t,r){return is(ar+r,t)}(Et,s),Qt=D(Ut,()=>{t!==Et&&Nt(Et,Qt),L()},ie);t!==Et&&Dt(Et,Qt),Mf(W,Ne,Qt)},{injector:ie})}function pS(t,r){const m=r[Xr].get(vS);return m.add(t),()=>m.remove(t)}let vS=(()=>{class t{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=lt(Oo),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(s){(this.executingCallbacks?this.deferred:this.current).add(s),null===this.idleId&&this.scheduleIdleCallback()}remove(s){const{current:m,deferred:D}=this;m.delete(s),D.delete(s),0===m.size&&0===D.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const s=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const m of this.current)m();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const m of this.deferred)this.current.add(m);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(s))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();function yS(t){return(r,s)=>bS(t,r,s)}function bS(t,r,s){const D=s[Xr].get(hT);return D.add(t,r),()=>D.remove(r)}let hT=(()=>{class t{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(s,m){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+s,m),this.scheduleTimer()}remove(s){const{current:m,deferred:D}=this;-1===this.removeFromQueue(m,s)&&this.removeFromQueue(D,s),0===m.length&&0===D.length&&this.clearTimeout()}addToQueue(s,m,D){let L=s.length;for(let W=0;Wm){L=W;break}Ql(s,L,m,D)}removeFromQueue(s,m){let D=-1;for(let L=0;L-1&&aa(s,D,2),D}scheduleTimer(){const s=()=>{this.clearTimeout(),this.executingCallbacks=!0;const D=[...this.current],L=Date.now();for(let ie=0;ie=0&&aa(this.current,0,W+1),this.executingCallbacks=!1,this.deferred.length>0){for(let ie=0;ie0){const D=Date.now(),L=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-L>16){this.clearTimeout();const W=Math.max(L-D,16);this.invokeTimerAt=L,this.timeoutId=setTimeout(s,W)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();const fT=new it("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),CS=new it("");function Tf(t){return t.get(CS,null,{optional:!0})?.behavior!==Ef.Manual&&Ga(t)}let e_=null;function t_(t,r,s,m){const D=t.consts;null!=s&&(r.placeholderBlockConfig=io(D,s)),null!=m&&(r.loadingBlockConfig=io(D,m)),null===e_&&(e_=gT)}function SS(t,r,s,m,D,L,W,ie,me){const Ne=Sn(),Je=wr(),Et=t+ar;if(Bc(t,null,0,0),Je.firstCreatePass){zs("NgDefer");const Hn={primaryTmplIndex:r,loadingTmplIndex:m??null,placeholderTmplIndex:D??null,errorTmplIndex:L??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:s??null,loadingState:Bo.NOT_STARTED,loadingPromise:null,providers:null};me?.(Je,Hn,ie,W),function lT(t,r,s){const m=pd(r);t.data[m]=s}(Je,Et,Hn)}const Ut=ei();bC(Ne[Et],Ut,Ne);const pn=[null,md.Initial,null,null,null,null];!function aT(t,r,s){t[pd(r)]=s}(Ne,Et,pn);const kn=()=>cS(pn);Mf(0,pn,()=>Nt(Ne,kn)),Dt(Ne,kn)}function n_(t){const r=Sn();if(jo(r,X(),t)){const m=u(null);try{const D=!!t,L=hi(),ie=Xa(r,L)[Cf];!1===D&&ie===md.Initial?Ll(r,L):!0===D&&(ie===md.Initial||ie===Po.Placeholder)&&zc(r,L)}finally{u(m)}}}function ES(t){const r=Sn();if(jo(r,X(),t)){const m=u(null);try{const D=!!t,L=r[In],W=hi(),ie=js(L,W);!0===D&&ie.loadingState===Bo.NOT_STARTED&&Yc(ie,r,W)}finally{u(m)}}}function MS(){s_(pS)}function r_(){kS(pS)}function wS(){const t=Sn(),r=ei(),m=t[Xr],D=js(t[In],r);(!Tf(m)||null===D.loadingTmplIndex)&&Ll(t,r),zc(t,r)}function If(){const t=Sn(),r=ei(),m=js(t[In],r);m.loadingState===Bo.NOT_STARTED&&kf(m,t,r)}function DS(t){s_(yS(t))}function i_(t){kS(yS(t))}function AS(t,r){const s=Sn(),m=ei();Ll(s,m),Ol(s,m,t,r,qp,()=>zc(s,m),0)}function o_(t,r){const s=Sn(),m=ei(),L=js(s[In],m);L.loadingState===Bo.NOT_STARTED&&Ol(s,m,t,r,qp,()=>Yc(L,s,m),1)}function TS(t,r){const s=Sn(),m=ei();Ll(s,m),Ol(s,m,t,r,gS,()=>zc(s,m),0)}function IS(t,r){const s=Sn(),m=ei(),L=js(s[In],m);L.loadingState===Bo.NOT_STARTED&&Ol(s,m,t,r,gS,()=>Yc(L,s,m),1)}function Pf(t,r){const s=Sn(),m=ei();Ll(s,m),Ol(s,m,t,r,mS,()=>zc(s,m),0)}function PS(t,r){const s=Sn(),m=ei(),L=js(s[In],m);L.loadingState===Bo.NOT_STARTED&&Ol(s,m,t,r,mS,()=>Yc(L,s,m),1)}function s_(t){const r=Sn(),s=ei();Ll(r,s);const m=t(()=>zc(r,s),r);Mf(0,Xa(r,s),m)}function kS(t){const r=Sn(),s=ei(),D=js(r[In],s);D.loadingState===Bo.NOT_STARTED&&Mf(1,Xa(r,s),t(()=>Yc(D,r,s),r))}function Ra(t,r,s,m=!1){const D=s[si],L=D[In];if(Ro(D))return;const W=Xa(D,r);if(OS(W[Cf],t)&&OS(W[xl]??-1,t)){const me=js(L,r),Je=m||null===Qp(me)&&null===Kp(me,Po.Loading)&&!Kp(me,Po.Placeholder)?xS:e_;try{Je(t,W,s,r,D)}catch(Et){Vh(D,Et)}}}function xS(t,r,s,m,D){const L=function uS(t,r,s){const D=js(r[In],s);switch(t){case Po.Complete:return D.primaryTmplIndex;case Po.Loading:return D.loadingTmplIndex;case Po.Error:return D.errorTmplIndex;case Po.Placeholder:return D.placeholderTmplIndex;default:return null}}(t,D,m);if(null!==L){r[Cf]=t;const W=D[In],me=xo(W,L+ar),Ne=0;let Je;if(qm(s,Ne),t===Po.Complete){const Qt=js(W,m),pn=Qt.providers;if(pn&&pn.length>0){const Hn=D[Xr].get(Js);Je=Hn.get(nS).getOrCreateInjector(Qt,Hn,pn,"")}}const Et=Il(s,me.tView.ssrId),Ut=Yu(D,me,null,{dehydratedView:Et,injector:Je});zu(s,Ut,Ne,Dc(me,Et)),Gu(Ut)}}function gT(t,r,s,m,D){const L=Date.now(),ie=js(D[In],m);if(null===r[Uc]||r[Uc]<=L){r[Uc]=null;const me=Qp(ie),Ne=null!==r[Sf];if(t!==Po.Loading||null===me||Ne){t>Po.Loading&&Ne&&(r[Sf](),r[Sf]=null,r[xl]=null),xS(t,r,s,m,D);const Je=Kp(ie,t);null!==Je&&(r[Uc]=L+Je,a_(Je,r,m,s,D))}else{r[xl]=t;const Je=a_(me,r,m,s,D);r[Sf]=Je}}else r[xl]=t}function a_(t,r,s,m,D){return bS(t,()=>{const W=r[xl];r[Uc]=null,r[xl]=null,null!==W&&Ra(W,s,m)},D)}function OS(t,r){return t{let Et=!1;const Ut=[],Qt=[];for(const pn of Je){if("fulfilled"!==pn.status){Et=!0;break}{const kn=pn.value,Hn=fn(kn)||Gt(kn);if(Hn)Ut.push(Hn);else{const dr=Nn(kn);dr&&Qt.push(dr)}}}if(t.loadingPromise=null,me.remove(Ne),Et){if(t.loadingState=Bo.FAILED,null===t.errorTmplIndex){Im(r);const kn=new nt(750,!1);Vh(r,kn)}}else{t.loadingState=Bo.COMPLETE;const pn=W.tView;if(Ut.length>0){pn.directiveRegistry=dS(pn.directiveRegistry,Ut);const Hn=zg(!1,...Ut.map(dr=>dr.type));t.providers=Hn}Qt.length>0&&(pn.pipeRegistry=dS(pn.pipeRegistry,Qt))}}):Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Bo.COMPLETE,me.remove(Ne)})}function Ll(t,r){Ra(Po.Placeholder,r,t[r.index])}function LS(t,r,s){t.loadingPromise.then(()=>{t.loadingState===Bo.COMPLETE?Ra(Po.Complete,r,s):t.loadingState===Bo.FAILED&&Ra(Po.Error,r,s)})}function zc(t,r){const s=t[In],m=t[r.index];if(!Tf(t[Xr]))return;const L=Xa(t,r),W=js(s,r);switch(cS(L),W.loadingState){case Bo.NOT_STARTED:Ra(Po.Loading,r,m),kf(W,t,r),W.loadingState===Bo.IN_PROGRESS&&LS(W,r,m);break;case Bo.IN_PROGRESS:Ra(Po.Loading,r,m),LS(W,r,m);break;case Bo.COMPLETE:Ra(Po.Complete,r,m);break;case Bo.FAILED:Ra(Po.Error,r,m)}}function l_(t,r,s,m){const D=Sn();return jo(D,X(),r)&&(wr(),va(hi(),D,t,r,s,m)),l_}function Rl(t,r){let s=!1,m=jt();for(let L=1;L>17&32767}function Ff(t){return 2|t}function Bl(t){return(131068&t)>>2}function Nf(t,r){return-131069&t|r<<2}function m_(t){return 1|t}function NS(t,r,s,m){const D=t[s+1],L=null===r;let W=m?Ja(D):Bl(D),ie=!1;for(;0!==W&&(!1===ie||L);){const Ne=t[W+1];jS(t[W],r)&&(ie=!0,t[W+1]=m?m_(Ne):Ff(Ne)),W=m?Ja(Ne):Bl(Ne)}ie&&(t[s+1]=m?Ff(D):m_(D))}function jS(t,r){return null===t||null==r||(Array.isArray(t)?t[1]:t)===r||!(!Array.isArray(t)||"string"!=typeof r)&&ca(t,r)>=0}const ts={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function p_(t){return t.substring(ts.key,ts.keyEnd)}function vT(t){return t.substring(ts.value,ts.valueEnd)}function BS(t,r){const s=ts.textEnd;return s===r?-1:(r=ts.keyEnd=function VS(t,r,s){for(;r32;)r++;return r}(t,ts.key=r,s),Qc(t,r,s))}function HS(t,r){const s=ts.textEnd;let m=ts.key=Qc(t,r,s);return s===m?-1:(m=ts.keyEnd=function yT(t,r,s){let m;for(;r=65&&(-33&m)<=90||m>=48&&m<=57);)r++;return r}(t,m,s),m=y_(t,m,s),m=ts.value=Qc(t,m,s),m=ts.valueEnd=function bT(t,r,s){let m=-1,D=-1,L=-1,W=r,ie=W;for(;W32&&(ie=W),L=D,D=m,m=-33&me}return ie}(t,m,s),y_(t,m,s))}function v_(t){ts.key=0,ts.keyEnd=0,ts.value=0,ts.valueEnd=0,ts.textEnd=t.length}function Qc(t,r,s){for(;r=0;s=HS(r,s))w_(t,p_(r),vT(r))}function E_(t){ra(DT,Ca,t,!0)}function Ca(t,r){for(let s=function __(t){return v_(t),BS(t,Qc(t,0,ts.textEnd))}(r);s>=0;s=BS(r,s))zo(t,p_(r),!0)}function $s(t,r,s,m){const D=Sn(),L=wr(),W=Ve(2);L.firstUpdatePass&&zS(L,t,W,m),r!==ri&&jo(D,W,r)&&KS(L,L.data[so()],D,D[hr],t,D[W+1]=function QS(t,r){return null==t||""===t||("string"==typeof r?t+=r:"object"==typeof t&&(t=He(Ia(t)))),t}(r,s),m,W)}function ra(t,r,s,m){const D=wr(),L=Ve(2);D.firstUpdatePass&&zS(D,null,L,m);const W=Sn();if(s!==ri&&jo(W,L,s)){const ie=D.data[so()];if(ZS(ie,m)&&!Bf(D,L)){let me=m?ie.classesWithoutHost:ie.stylesWithoutHost;null!==me&&(s=vt(me,s||"")),C_(D,ie,W,s,m)}else!function GS(t,r,s,m,D,L,W,ie){D===ri&&(D=Jn);let me=0,Ne=0,Je=0=t.expandoStartIndex}function zS(t,r,s,m){const D=t.data;if(null===D[s+1]){const L=D[so()],W=Bf(t,s);ZS(L,m)&&null===r&&!W&&(r=!1),r=function ET(t,r,s,m){const D=Pn(t);let L=m?r.residualClasses:r.residualStyles;if(null===D)0===(m?r.classBindings:r.styleBindings)&&(s=Zc(s=M_(null,t,r,s,m),r.attrs,m),L=null);else{const W=r.directiveStylingLast;if(-1===W||t[W]!==D)if(s=M_(D,t,r,s,m),null===L){let me=function WS(t,r,s){const m=s?r.classBindings:r.styleBindings;if(0!==Bl(m))return t[Ja(m)]}(t,r,m);void 0!==me&&Array.isArray(me)&&(me=M_(null,t,r,me[1],m),me=Zc(me,r.attrs,m),function MT(t,r,s,m){t[Ja(s?r.classBindings:r.styleBindings)]=m}(t,r,m,me))}else L=function $S(t,r,s){let m;const D=r.directiveEnd;for(let L=1+r.directiveStylingLast;L0)&&(Ne=!0)):Je=s,D)if(0!==me){const Ut=Ja(t[ie+1]);t[m+1]=Rf(Ut,ie),0!==Ut&&(t[Ut+1]=Nf(t[Ut+1],m)),t[ie+1]=function mT(t,r){return 131071&t|r<<17}(t[ie+1],m)}else t[m+1]=Rf(ie,0),0!==ie&&(t[ie+1]=Nf(t[ie+1],m)),ie=m;else t[m+1]=Rf(me,0),0===ie?ie=m:t[me+1]=Nf(t[me+1],m),me=m;Ne&&(t[m+1]=Ff(t[m+1])),NS(t,Je,m,!0),NS(t,Je,m,!1),function FS(t,r,s,m,D){const L=D?t.residualClasses:t.residualStyles;null!=L&&"string"==typeof r&&ca(L,r)>=0&&(s[m+1]=m_(s[m+1]))}(r,Je,t,m,L),W=Rf(ie,me),L?r.classBindings=W:r.styleBindings=W}(D,L,r,s,W,m)}}function M_(t,r,s,m,D){let L=null;const W=s.directiveEnd;let ie=s.directiveStylingLast;for(-1===ie?ie=s.directiveStart:ie++;ie0;){const me=t[D],Ne=Array.isArray(me),Je=Ne?me[1]:me,Et=null===Je;let Ut=s[D+1];Ut===ri&&(Ut=Et?Jn:void 0);let Qt=Et?la(Ut,m):Je===m?Ut:void 0;if(Ne&&!Uf(Qt)&&(Qt=la(me,m)),Uf(Qt)&&(ie=Qt,W))return ie;const pn=t[D+1];D=W?Ja(pn):Bl(pn)}if(null!==r){let me=L?r.residualClasses:r.residualStyles;null!=me&&(ie=la(me,m))}return ie}function Uf(t){return void 0!==t}function ZS(t,r){return 0!=(t.flags&(r?8:16))}function A_(t,r,s){ra(zo,Ca,Wc(Sn(),t,r,s),!0)}function XS(t,r,s,m,D){ra(zo,Ca,Fa(Sn(),t,r,s,m,D),!0)}function Hf(t,r,s,m,D,L,W){ra(zo,Ca,Fl(Sn(),t,r,s,m,D,L,W),!0)}function JS(t,r,s,m,D,L,W,ie,me){ra(zo,Ca,$c(Sn(),t,r,s,m,D,L,W,ie,me),!0)}function T_(t,r,s,m,D,L,W,ie,me,Ne,Je){ra(zo,Ca,Nl(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je),!0)}function qS(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut){ra(zo,Ca,Gc(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut),!0)}function eE(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn){ra(zo,Ca,jl(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn),!0)}function Ul(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn){ra(zo,Ca,Kc(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn),!0)}function tE(t){ra(zo,Ca,Rl(Sn(),t),!0)}function nE(){return Sn()[Jr][Zr]}class AT{destroy(r){}updateValue(r,s){}swap(r,s){const m=Math.min(r,s),D=Math.max(r,s),L=this.detach(D);if(D-m>1){const W=this.detach(m);this.attach(m,L),this.attach(D,W)}else this.attach(m,L)}move(r,s){this.attach(s,this.detach(r))}}function I_(t,r,s,m,D){return t===s&&Object.is(r,m)?1:Object.is(D(t,r),D(s,m))?-1:0}function k_(t,r,s,m){return!(void 0===r||!r.has(m)||(t.attach(s,r.get(m)),r.delete(m),0))}function Vf(t,r,s,m,D){if(k_(t,r,m,s(m,D)))t.updateValue(m,D);else{const L=t.create(m,D);t.attach(m,L)}}function rE(t,r,s,m){const D=new Set;for(let L=r;L<=s;L++)D.add(m(L,t.at(L)));return D}class Yf{constructor(){this.kvMap=new Map,this._vMap=void 0}has(r){return this.kvMap.has(r)}delete(r){if(!this.has(r))return!1;const s=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(s)?(this.kvMap.set(r,this._vMap.get(s)),this._vMap.delete(s)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,s){if(this.kvMap.has(r)){let m=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const D=this._vMap;for(;D.has(m);)m=D.get(m);D.set(m,s)}else this.kvMap.set(r,s)}forEach(r){for(let[s,m]of this.kvMap)if(r(m,s),void 0!==this._vMap){const D=this._vMap;for(;D.has(m);)m=D.get(m),r(m,s)}}}function iE(t,r,s){zs("NgControlFlow");const m=Sn(),D=X(),L=L_(m,ar+t);if(jo(m,D,r)){const ie=u(null);try{if(qm(L,0),-1!==r){const me=R_(m[In],ar+r),Ne=Il(L,me.tView.ssrId);zu(L,Yu(m,me,s,{dehydratedView:Ne}),0,Dc(me,Ne))}}finally{u(ie)}}else{const ie=S0(L,0);void 0!==ie&&(ie[Zr]=s)}}class oE{constructor(r,s,m){this.lContainer=r,this.$implicit=s,this.$index=m}get $count(){return this.lContainer.length-zr}}function sE(t){return t}function x_(t,r){return r}class TT{constructor(r,s,m){this.hasEmptyBlock=r,this.trackByFn=s,this.liveCollection=m}}function O_(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut){zs("NgControlFlow");const Qt=void 0!==me,pn=Sn(),kn=ie?W.bind(pn[Jr][Zr]):W,Hn=new TT(Qt,kn);pn[ar+t]=Hn,Bc(t+1,r,s,m,D,L),Qt&&Bc(t+2,me,Ne,Je,Et,Ut)}class IT extends AT{constructor(r,s,m){super(),this.lContainer=r,this.hostLView=s,this.templateTNode=m,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-zr}at(r){return this.getLView(r)[Zr].$implicit}attach(r,s){const m=s[Fn];this.needsIndexUpdate||=r!==this.length,zu(this.lContainer,s,r,Dc(this.templateTNode,m))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function PT(t,r){return Bu(t,r)}(this.lContainer,r)}create(r,s){const m=Il(this.lContainer,this.templateTNode.tView.ssrId);return Yu(this.hostLView,this.templateTNode,new oE(this.lContainer,s,r),{dehydratedView:m})}destroy(r){Ph(r[In],r)}updateValue(r,s){this.getLView(r)[Zr].$implicit=s}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r{t.destroy(ie)})}(W,t,L.trackByFn),W.updateIndexes(),L.hasEmptyBlock){const ie=X(),me=0===W.length;if(jo(m,ie,me)){const Ne=s+2,Je=L_(m,Ne);if(me){const Et=R_(D,Ne),Ut=Il(Je,Et.tView.ssrId);zu(Je,Yu(m,Et,void 0,{dehydratedView:Ut}),0,Dc(Et,Ut))}else qm(Je,0)}}}finally{u(r)}}function L_(t,r){return t[r]}function R_(t,r){return xo(t,r)}function Wf(t,r,s,m){const D=Sn(),L=wr(),W=ar+t,ie=D[hr],me=L.firstCreatePass?function xT(t,r,s,m,D,L){const W=r.consts,me=Oa(r,t,2,m,io(W,D));return $m(r,s,me,io(W,L)),null!==me.attrs&&sf(me,me.attrs,!1),null!==me.mergedAttrs&&sf(me,me.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,me),me}(W,L,D,r,s,m):L.data[W],Ne=Xc(L,D,me,ie,r,t);D[W]=Ne;const Je=Zi(me);return at(me,!0),r0(ie,Ne,me),32!=(32&me.flags)&&Qs()&&xh(L,D,Ne,me),0===function Kn(){return Wt.lFrame.elementDepthCount}()&&_s(Ne,D),function Wr(){Wt.lFrame.elementDepthCount++}(),Je&&(Ym(L,D,me),Rh(L,me,D)),null!==m&&zm(D,me),Wf}function vd(){let t=ei();R()?q():(t=t.parent,at(t,!1));const r=t;(function mi(t){return Wt.skipHydrationRootTNode===t})(r)&&function Ji(){Wt.skipHydrationRootTNode=null}(),function fr(){Wt.lFrame.elementDepthCount--}();const s=wr();return s.firstCreatePass&&(oh(s,t),Lo(t)&&s.queries.elementEnd(t)),null!=r.classesWithoutHost&&function fD(t){return 0!=(8&t.flags)}(r)&&C_(s,r,Sn(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function gD(t){return 0!=(16&t.flags)}(r)&&C_(s,r,Sn(),r.stylesWithoutHost,!1),vd}function F_(t,r,s,m){return Wf(t,r,s,m),vd(),F_}let Xc=(t,r,s,m,D,L)=>(Os(!0),Ih(m,D,el()));function OT(t,r,s,m,D,L){const W=r[Fn],ie=!W||vr()||Wd(W,L);if(Os(ie),ie)return Ih(m,D,el());const me=ta(W,t,r,s);return Ry(W,L)&&Yd(W,L,me.nextSibling),W&&(Xl(s)||Jl(me))&&Oi(s)&&(function ji(t){Wt.skipHydrationRootTNode=t}(s),Hm(me)),me}function Jc(t,r,s){const m=Sn(),D=wr(),L=t+ar,W=D.firstCreatePass?function LT(t,r,s,m,D){const L=r.consts,W=io(L,m),ie=Oa(r,t,8,"ng-container",W);return null!==W&&sf(ie,W,!0),$m(r,s,ie,io(L,D)),null!==r.queries&&r.queries.elementStart(r,ie),ie}(L,D,m,r,s):D.data[L];at(W,!0);const ie=lE(D,m,W,t);return m[L]=ie,Qs()&&xh(D,m,ie,W),_s(ie,m),Zi(W)&&(Ym(D,m,W),Rh(D,W,m)),null!=s&&zm(m,W),Jc}function $f(){let t=ei();const r=wr();return R()?q():(t=t.parent,at(t,!1)),r.firstCreatePass&&(oh(r,t),Lo(t)&&r.queries.elementEnd(t)),$f}function Gf(t,r,s){return Jc(t,r,s),$f(),Gf}let lE=(t,r,s,m)=>(Os(!0),Lm(r[hr],""));function cE(t,r,s,m){let D;const L=r[Fn],W=!L||vr();if(Os(W),W)return Lm(r[hr],"");const ie=ta(L,t,r,s),me=function qw(t,r){const s=t.data;let m=s[Rg]?.[r]??null;return null===m&&s[ma]?.[r]&&(m=zd(t,r)),m}(L,m);return Yd(L,m,ie),D=Qh(me,ie),D}function uE(){return Sn()}function N_(t,r,s){const m=Sn();return jo(m,X(),r)&&Ms(wr(),hi(),m,t,r,m[hr],s,!0),N_}function Kf(t,r,s){const m=Sn();if(jo(m,X(),r)){const L=wr(),W=hi();Ms(L,W,m,t,r,b0(Pn(L.data),W,m),s,!0)}return Kf}const Hl=void 0;var NT=["en",[["a","p"],["AM","PM"],Hl],[["AM","PM"],Hl,Hl],[["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"]],Hl,[["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"]],Hl,[["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}",Hl,"{1} 'at' {0}",Hl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FT(t){const s=Math.floor(Math.abs(t)),m=t.toString().replace(/^[^.]*\.?/,"").length;return 1===s&&0===m?1:5}];let Vl={};function jT(t,r,s){"string"!=typeof r&&(s=r,r=t[qc.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),Vl[r]=t,s&&(Vl[r][qc.ExtraData]=s)}function Qf(t){const r=function UT(t){return t.toLowerCase().replace(/_/g,"-")}(t);let s=dE(r);if(s)return s;const m=r.split("-")[0];if(s=dE(m),s)return s;if("en"===m)return NT;throw new nt(701,!1)}function BT(t){return Qf(t)[qc.CurrencyCode]||null}function Zf(t){return Qf(t)[qc.PluralCase]}function dE(t){return t in Vl||(Vl[t]=Rn.ng&&Rn.ng.common&&Rn.ng.common.locales&&Rn.ng.common.locales[t]),Vl[t]}function hE(){Vl={}}var qc=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(qc||{});const HT=["zero","one","two","few","many"],qa="en-US",yd={marker:"element"},Xf={marker:"ICU"};var ws=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(ws||{});let fE=qa;function j_(t){"string"==typeof t&&(fE=t.toLowerCase().replace(/_/g,"-"))}function Jf(t,r,s){const m=r.insertBeforeIndex,D=Array.isArray(m)?m[0]:m;return null===D?jm(t,0,s):Ur(s[D])}function gE(t,r,s,m,D){const L=r.insertBeforeIndex;if(Array.isArray(L)){let W=m,ie=null;if(3&r.type||(ie=W,W=D),null!==W&&-1===r.componentOffset)for(let me=1;me1)for(let s=t.length-2;s>=0;s--){const m=t[s];B_(m)||WT(m,r)&&null===$T(m)&>(m,r.index)}}function B_(t){return!(64&t.type)}function WT(t,r){return B_(r)||t.index>r.index}function $T(t){const r=t.insertBeforeIndex;return Array.isArray(r)?r[0]:r}function GT(t,r){const s=t.insertBeforeIndex;Array.isArray(s)?s[0]=r:(qb(Jf,gE),t.insertBeforeIndex=r)}function bd(t,r){const s=t.data[r];return null===s||"string"==typeof s?null:s.hasOwnProperty("currentCaseLViewIndex")?s:s.value}function U_(t,r,s){const m=ea(t,s,64,null,null);return mE(r,m),m}function eu(t,r){const s=r[t.currentCaseLViewIndex];return null===s?s:s<0?~s:s}function pE(t){return t>>>17}function H_(t){return(131070&t)>>>1}let Cd=0,tu=0;function yE(t,r,s,m){const D=s[hr];let W,L=null;for(let ie=0;ie>>1,s),null,null,Qt,pn,null)}else switch(me){case Xf:const Ne=r[++ie],Je=r[++ie];null===s[Je]&&_s(s[Je]=Lm(D,Ne),s);break;case yd:const Et=r[++ie],Ut=r[++ie];null===s[Ut]&&_s(s[Ut]=Ih(D,Et,null),s)}}}function Y_(t,r,s,m,D){for(let L=0;L>>2;switch(3&Je){case 1:const Ut=s[++Ne],Qt=s[++Ne],pn=t.data[Et];"string"==typeof pn?wc(r[hr],r[Et],null,pn,Ut,me,Qt):Ms(t,pn,r,Ut,me,r[hr],Qt,!1);break;case 0:const kn=r[Et];null!==kn&&Wb(r[hr],kn,me);break;case 2:JT(t,bd(t,Et),r,me);break;case 3:bE(t,bd(t,Et),m,r)}}}}else{const me=s[L+1];if(me>0&&3==(3&me)){const Je=bd(t,me>>>2);r[Je.currentCaseLViewIndex]<0&&bE(t,Je,m,r)}}L+=ie}}function bE(t,r,s,m){let D=m[r.currentCaseLViewIndex];if(null!==D){let L=Cd;D<0&&(D=m[r.currentCaseLViewIndex]=~D,L=-1),Y_(t,m,r.update[D],s,L)}}function JT(t,r,s,m){const D=function nu(t,r){let s=t.cases.indexOf(r);if(-1===s)switch(t.type){case 1:{const m=function VT(t,r){const s=Zf(r)(parseInt(t,10)),m=HT[s];return void 0!==m?m:"other"}(r,function zT(){return fE}());s=t.cases.indexOf(m),-1===s&&"other"!==m&&(s=t.cases.indexOf("other"));break}case 0:s=t.cases.indexOf("other")}return-1===s?null:s}(r,m);if(eu(r,s)!==D&&(CE(t,r,s),s[r.currentCaseLViewIndex]=null===D?null:~D,null!==D)){const W=s[r.anchorIdx];W&&yE(t,r.create[D],s,W)}}function CE(t,r,s){let m=eu(r,s);if(null!==m){const D=r.remove[m];for(let L=0;L0){const ie=is(W,s);null!==ie&&Oh(s[hr],ie)}else CE(t,bd(t,~W),s)}}}function qT(){const t=[];let s,m,r=-1;function L(ie,me){r=0;const Ne=eu(ie,me);m=null!==Ne?ie.remove[Ne]:Jn}function W(){if(r0?s[ie]:(t.push(r,m),L(s[In].data[~ie],s),W())}return 0===t.length?null:(m=t.pop(),r=t.pop(),W())}return function D(ie,me){for(s=me;t.length;)t.pop();return L(ie.value,me),W}}const Sd=/\ufffd(\d+):?\d*\ufffd/gi,eI=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,EE=/\ufffd(\d+)\ufffd/,ME=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ru="\ufffd",tI=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,nI=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,rI=/\uE500/g;function qf(t,r,s,m,D,L,W){const ie=Hu(t,m,1,null);let me=ie<s.length&&s.push(me)}return{type:m,mainBinding:D,cases:r,values:s}}function Ed(t){if(!t)return[];let r=0;const s=[],m=[],D=/[{}]/g;let L;for(D.lastIndex=0;L=D.exec(t);){const ie=L.index;if("}"==L[0]){if(s.pop(),0==s.length){const me=t.substring(r,ie);ME.test(me)?m.push(lI(me)):m.push(me),r=ie+1}}else{if(0==s.length){const me=t.substring(r,ie);m.push(me),r=ie+1}s.push("{")}}const W=t.substring(r);return m.push(W),m}function cI(t,r,s,m,D,L,W,ie){const me=[],Ne=[],Je=[];r.cases.push(L),r.create.push(me),r.remove.push(Ne),r.update.push(Je);const Ut=Mb(No()).getInertBodyElement(W),Qt=bh(Ut)||Ut;return Qt?Q_(t,r,s,m,me,Ne,Je,Qt,D,ie,0):0}function Q_(t,r,s,m,D,L,W,ie,me,Ne,Je){let Et=0,Ut=ie.firstChild;for(;Ut;){const Qt=Hu(t,s,1,null);switch(Ut.nodeType){case Node.ELEMENT_NODE:const pn=Ut,kn=pn.tagName.toLowerCase();if(mm.hasOwnProperty(kn)){Z_(D,yd,kn,me,Qt),t.data[Qt]=kn;const ci=pn.attributes;for(let ki=0;ki>>ws.SHIFT;let Et=t[Je];null===Et&&(Et=t[Je]=(W&ws.COMMENT)===ws.COMMENT?D.createComment(ie):Th(D,ie)),Ne&&null!==s&&Al(D,s,Et,m,!1)}})(D,me.create,Je,ie&&8&ie.type?D[ie.index]:null),Re(!0)}function ev(){Re(!1)}function tv(t,r,s){q_(t,r,s),ev()}function OE(t,r){const s=wr(),m=io(s.consts,r);!function $_(t,r,s){const D=ei().index,L=[];if(t.firstCreatePass&&null===t.data[r]){for(let W=0;W0){const m=t.data[s];Y_(t,r,Array.isArray(m)?m:m.update,jt()-tu-1,Cd)}Cd=0,tu=0}(wr(),Sn(),t+ar)}function RE(t,r={}){return function mI(t,r={}){let s=t;if(J_.test(t)){const m={},D=[IE];s=s.replace(hI,(L,W,ie)=>{const me=W||ie,Ne=m[me]||[];if(Ne.length||(me.split("|").forEach(kn=>{const Hn=kn.match(xE),dr=Hn?parseInt(Hn[1],10):IE,Ln=gI.test(kn);Ne.push([dr,Ln,kn])}),m[me]=Ne),!Ne.length)throw new Error(`i18n postprocess: unmatched placeholder - ${me}`);const Je=D[D.length-1];let Et=0;for(let kn=0;knr.hasOwnProperty(L)?`${D}${r[L]}${me}`:m),s=s.replace(fI,(m,D)=>r.hasOwnProperty(D)?r[D]:m),s=s.replace(kE,(m,D)=>{if(r.hasOwnProperty(D)){const L=r[D];if(!L.length)throw new Error(`i18n postprocess: unmatched ICU - ${m} with key: ${D}`);return L.shift()}return m})),s}(t,r)}function nv(t,r,s,m){const D=Sn(),L=wr(),W=ei();return rv(L,D,D[hr],W,t,r,m),nv}function Md(t,r){const s=ei(),m=Sn(),D=wr();return rv(D,m,b0(Pn(D.data),s,m),s,t,r),Md}function rv(t,r,s,m,D,L,W){const ie=Zi(m),Ne=t.firstCreatePass&&y0(t),Je=r[Zr],Et=v0(r);let Ut=!0;if(3&m.type||W){const kn=Xi(m,r),Hn=W?W(kn):kn,dr=Et.length,Ln=W?ki=>W(Ur(ki[m.index])):m.index;let ci=null;if(!W&&ie&&(ci=function pI(t,r,s,m){const D=t.cleanup;if(null!=D)for(let L=0;Lme?ie[me]:null}"string"==typeof W&&(L+=2)}return null}(t,r,D,m.index)),null!==ci)(ci.__ngLastListenerFn__||ci).__ngNextListenerFn__=L,ci.__ngLastListenerFn__=L,Ut=!1;else{L=NE(m,r,Je,L,!1);const ki=s.listen(Hn,D,L);Et.push(L,ki),Ne&&Ne.push(D,Ln,dr,dr+1)}}else L=NE(m,r,Je,L,!1);const Qt=m.outputs;let pn;if(Ut&&null!==Qt&&(pn=Qt[D])){const kn=pn.length;if(kn)for(let Hn=0;Hn-1?Di(t.index,r):r);let me=FE(r,s,m,W),Ne=L.__ngNextListenerFn__;for(;Ne;)me=FE(r,s,Ne,W)&&me,Ne=Ne.__ngNextListenerFn__;return D&&!1===me&&W.preventDefault(),me}}function jE(t=1){return function fo(t){return(Wt.lFrame.contextLView=ne(t,Wt.lFrame.contextLView))[Zr]}(t)}function vI(t,r){let s=null;const m=function U(t){const r=t.attrs;if(null!=r){const s=r.indexOf(5);if(!(1&s))return r[s+1]}return null}(t);for(let D=0;D=t.data.length&&(t.data[s]=null,t.blueprint[s]=null),r[s]=m}function fv(t){return _o(function B(){return Wt.lFrame.contextLView}(),ar+t)}function $E(t,r,s){xs(Wc(Sn(),t,r,s))}function gv(t,r,s,m,D){xs(Fa(Sn(),t,r,s,m,D))}function GE(t,r,s,m,D,L,W){xs(Fl(Sn(),t,r,s,m,D,L,W))}function mv(t,r,s,m,D,L,W,ie,me){xs($c(Sn(),t,r,s,m,D,L,W,ie,me))}function KE(t,r,s,m,D,L,W,ie,me,Ne,Je){xs(Nl(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je))}function pv(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut){xs(Gc(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut))}function QE(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn){xs(jl(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn))}function ZE(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn){xs(Kc(Sn(),t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn))}function _v(t){xs(Rl(Sn(),t))}function vv(t,r,s,m,D){return $s(t,Wc(Sn(),r,s,m),D,!1),vv}function ig(t,r,s,m,D,L,W){return $s(t,Fa(Sn(),r,s,m,D,L),W,!1),ig}function yv(t,r,s,m,D,L,W,ie,me){return $s(t,Fl(Sn(),r,s,m,D,L,W,ie),me,!1),yv}function bv(t,r,s,m,D,L,W,ie,me,Ne,Je){return $s(t,$c(Sn(),r,s,m,D,L,W,ie,me,Ne),Je,!1),bv}function Cv(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut){return $s(t,Nl(Sn(),r,s,m,D,L,W,ie,me,Ne,Je,Et),Ut,!1),Cv}function ou(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn){return $s(t,Gc(Sn(),r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt),pn,!1),ou}function Sv(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn){return $s(t,jl(Sn(),r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn),Hn,!1),Sv}function og(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn,dr,Ln){return $s(t,Kc(Sn(),r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn,dr),Ln,!1),og}function Ev(t,r,s){return $s(t,Rl(Sn(),r),s,!1),Ev}function Mv(t,r=""){const s=Sn(),m=wr(),D=t+ar,L=m.firstCreatePass?Oa(m,D,1,r,null):m.data[D],W=XE(m,s,L,r,t);s[D]=W,Qs()&&xh(m,s,W,L),at(L,!1)}let XE=(t,r,s,m,D)=>(Os(!0),Th(r[hr],m));function yI(t,r,s,m,D){const L=r[Fn],W=!L||vr()||Wd(L,D);return Os(W),W?Th(r[hr],m):ta(L,t,r,s)}function sg(t){return ag("",t,""),sg}function ag(t,r,s){const m=Sn(),D=Wc(m,t,r,s);return D!==ri&&La(m,so(),D),ag}function su(t,r,s,m,D){const L=Sn(),W=Fa(L,t,r,s,m,D);return W!==ri&&La(L,so(),W),su}function wv(t,r,s,m,D,L,W){const ie=Sn(),me=Fl(ie,t,r,s,m,D,L,W);return me!==ri&&La(ie,so(),me),wv}function Dv(t,r,s,m,D,L,W,ie,me){const Ne=Sn(),Je=$c(Ne,t,r,s,m,D,L,W,ie,me);return Je!==ri&&La(Ne,so(),Je),Dv}function Av(t,r,s,m,D,L,W,ie,me,Ne,Je){const Et=Sn(),Ut=Nl(Et,t,r,s,m,D,L,W,ie,me,Ne,Je);return Ut!==ri&&La(Et,so(),Ut),Av}function Tv(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut){const Qt=Sn(),pn=Gc(Qt,t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut);return pn!==ri&&La(Qt,so(),pn),Tv}function Iv(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn){const kn=Sn(),Hn=jl(kn,t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn);return Hn!==ri&&La(kn,so(),Hn),Iv}function lg(t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn){const dr=Sn(),Ln=Kc(dr,t,r,s,m,D,L,W,ie,me,Ne,Je,Et,Ut,Qt,pn,kn,Hn);return Ln!==ri&&La(dr,so(),Ln),lg}function Pv(t){const r=Sn(),s=Rl(r,t);return s!==ri&&La(r,so(),s),Pv}function cg(t,r,s){Jh(r)&&(r=r());const m=Sn();return jo(m,X(),r)&&Ms(wr(),hi(),m,t,r,m[hr],s,!1),cg}function JE(t,r){const s=Jh(t);return s&&t.set(r),s}function ug(t,r){const s=Sn(),m=wr(),D=ei();return rv(m,s,s[hr],D,t,r),ug}function kv(t,r,s,m,D){if(t=Dr(t),Array.isArray(t))for(let L=0;L>20;if(ml(t)||!t.multi){const Qt=new xu(Ne,D,Mc),pn=Ov(me,r,D?Je:Je+Ut,Et);-1===pn?(om(gc(ie,W),L,me),xv(L,t,r.length),r.push(me),ie.directiveStart++,ie.directiveEnd++,D&&(ie.providerIndexes+=1048576),s.push(Qt),W.push(Qt)):(s[pn]=Qt,W[pn]=Qt)}else{const Qt=Ov(me,r,Je+Ut,Et),pn=Ov(me,r,Je,Je+Ut),Hn=pn>=0&&s[pn];if(D&&!Hn||!D&&!(Qt>=0&&s[Qt])){om(gc(ie,W),L,me);const dr=function EI(t,r,s,m,D){const L=new xu(t,s,Mc);return L.multi=[],L.index=r,L.componentProviders=0,qE(L,D,m&&!s),L}(D?SI:eM,s.length,D,m,Ne);!D&&Hn&&(s[pn].providerFactory=dr),xv(L,t,r.length,0),r.push(me),ie.directiveStart++,ie.directiveEnd++,D&&(ie.providerIndexes+=1048576),s.push(dr),W.push(dr)}else xv(L,t,Qt>-1?Qt:pn,qE(s[D?pn:Qt],Ne,!D&&m));!D&&m&&Hn&&s[pn].componentProviders++}}}function xv(t,r,s,m){const D=ml(r),L=function eD(t){return!!t.useClass}(r);if(D||L){const me=(L?Dr(r.useClass):r).prototype.ngOnDestroy;if(me){const Ne=t.destroyHooks||(t.destroyHooks=[]);if(!D&&r.multi){const Je=Ne.indexOf(s);-1===Je?Ne.push(s,[m,me]):Ne[Je+1].push(m,me)}else Ne.push(s,me)}}}function qE(t,r,s){return s&&t.componentProviders++,t.multi.push(r)-1}function Ov(t,r,s,m){for(let D=s;D{s.providersResolver=(m,D)=>function CI(t,r,s){const m=wr();if(m.firstCreatePass){const D=Li(t);kv(s,m.data,m.blueprint,D,!0),kv(r,m.data,m.blueprint,D,!1)}}(m,D?D(t):t,r)}}let MI=(()=>{class t{constructor(s){this._injector=s,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(s){if(!s.standalone)return null;if(!this.cachedInjectors.has(s)){const m=zg(0,s.type),D=m.length>0?zp([m],this._injector,`Standalone[${s.type.name}]`):null;this.cachedInjectors.set(s,D)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ni({token:t,providedIn:"environment",factory:()=>new t(ke(Js))})}return t})();function Fv(t){zs("NgStandalone"),t.getStandaloneInjector=r=>r.get(MI).getOrCreateStandaloneInjector(t)}function tM(t,r,s){const m=t.\u0275cmp;m.directiveDefs=dt(r,!1),m.pipeDefs=dt(s,!0)}function Nv(t,r){return qn(()=>{const s=cr(t,!0);s.declarations=dg(r.declarations||Jn),s.imports=dg(r.imports||Jn),s.exports=dg(r.exports||Jn),r.bootstrap&&(s.bootstrap=dg(r.bootstrap)),Oc.registerNgModule(t,r)})}function dg(t){if("function"==typeof t)return t;const r=ls(t);return r.some(Ha)?()=>r.map(Dr).map(nM):r.map(nM)}function nM(t){return Dp(t)?t.ngModule:t}function jv(t){const r=Es(t);if(null===r)return null;if(void 0===r.component){const s=r.lView;if(null===s)return null;r.component=function XD(t,r){const s=r[In].data[t],{directiveStart:m,componentOffset:D}=s;return D>-1?r[m+D]:null}(r.nodeIndex,s)}return r.component}function oM(t){if(t instanceof Text)return[];const r=Es(t),s=r?r.lView:null;if(null===s)return[];const m=s[In],D=r.nodeIndex;return m?.data[D]?(void 0===r.directives&&(r.directives=wm(D,s)),null===r.directives?[]:[...r.directives]):[]}function Dd(t){return Es(t).native}function TI(t,r){return t.name==r.name?0:t.name=0;s--){const m=r[s];if(t===m.name)return m}}(r,s.pipeRegistry),s.data[D]=m,m.onDestroy&&(s.destroyHooks??=[]).push(D,m.onDestroy)):m=s.data[D];const L=m.factory||(m.factory=gl(m.type)),ie=Wo(Mc);try{const me=ch(!1),Ne=L();return ch(me),WE(s,Sn(),D,Ne),Ne}finally{Wo(ie)}}function yM(t,r,s){const m=t+ar,D=Sn(),L=_o(D,m);return lu(D,m)?gM(D,yt(),r,L.transform,s,L):L.transform(s)}function Kv(t,r,s,m){const D=t+ar,L=Sn(),W=_o(L,D);return lu(L,D)?$v(L,yt(),r,W.transform,s,m,W):W.transform(s,m)}function bM(t,r,s,m,D){const L=t+ar,W=Sn(),ie=_o(W,L);return lu(W,L)?mM(W,yt(),r,ie.transform,s,m,D,ie):ie.transform(s,m,D)}function Qv(t,r,s,m,D,L){const W=t+ar,ie=Sn(),me=_o(ie,W);return lu(ie,W)?Gv(ie,yt(),r,me.transform,s,m,D,L,me):me.transform(s,m,D,L)}function CM(t,r,s){const m=t+ar,D=Sn(),L=_o(D,m);return lu(D,m)?pM(D,yt(),r,L.transform,s,L):L.transform.apply(L,s)}function lu(t,r){return t[In].data[r].pure}function SM(t,r){return Wh(t,r)}function Zv(t,r){return()=>{try{return Oc.getComponentDependencies(t,r).dependencies}catch(s){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,s),s}}}function EM(t,r){const s=fn(t);null!==s&&(s.debugInfo=r)}const ys={\u0275\u0275attribute:l_,\u0275\u0275attributeInterpolate1:c_,\u0275\u0275attributeInterpolate2:xf,\u0275\u0275attributeInterpolate3:u_,\u0275\u0275attributeInterpolate4:d_,\u0275\u0275attributeInterpolate5:Of,\u0275\u0275attributeInterpolate6:h_,\u0275\u0275attributeInterpolate7:f_,\u0275\u0275attributeInterpolate8:Lf,\u0275\u0275attributeInterpolateV:g_,\u0275\u0275defineComponent:_t,\u0275\u0275defineDirective:vn,\u0275\u0275defineInjectable:ni,\u0275\u0275defineInjector:Us,\u0275\u0275defineNgModule:Jt,\u0275\u0275definePipe:Cn,\u0275\u0275directiveInject:Mc,\u0275\u0275getInheritedFactory:ob,\u0275\u0275inject:ke,\u0275\u0275injectAttribute:fh,\u0275\u0275invalidFactory:a0,\u0275\u0275invalidFactoryDep:ze,\u0275\u0275templateRefExtractor:SM,\u0275\u0275resetView:Ii,\u0275\u0275HostDirectivesFeature:dd,\u0275\u0275NgOnChangesFeature:qg,\u0275\u0275ProvidersFeature:Rv,\u0275\u0275CopyDefinitionFeature:KC,\u0275\u0275InheritDefinitionFeature:gf,\u0275\u0275InputTransformsFeature:XC,\u0275\u0275StandaloneFeature:Fv,\u0275\u0275nextContext:jE,\u0275\u0275namespaceHTML:Ks,\u0275\u0275namespaceMathML:$l,\u0275\u0275namespaceSVG:ss,\u0275\u0275enableBindings:Ai,\u0275\u0275disableBindings:Ti,\u0275\u0275elementStart:Wf,\u0275\u0275elementEnd:vd,\u0275\u0275element:F_,\u0275\u0275elementContainerStart:Jc,\u0275\u0275elementContainerEnd:$f,\u0275\u0275elementContainer:Gf,\u0275\u0275pureFunction0:Hv,\u0275\u0275pureFunction1:cM,\u0275\u0275pureFunction2:Vv,\u0275\u0275pureFunction3:uM,\u0275\u0275pureFunction4:Yv,\u0275\u0275pureFunction5:dM,\u0275\u0275pureFunction6:zv,\u0275\u0275pureFunction7:hM,\u0275\u0275pureFunction8:Wv,\u0275\u0275pureFunctionV:fM,\u0275\u0275getCurrentView:uE,\u0275\u0275restoreView:Qi,\u0275\u0275listener:nv,\u0275\u0275projection:UE,\u0275\u0275syntheticHostProperty:Kf,\u0275\u0275syntheticHostListener:Md,\u0275\u0275pipeBind1:yM,\u0275\u0275pipeBind2:Kv,\u0275\u0275pipeBind3:bM,\u0275\u0275pipeBind4:Qv,\u0275\u0275pipeBindV:CM,\u0275\u0275projectionDef:BE,\u0275\u0275hostProperty:N_,\u0275\u0275property:b_,\u0275\u0275propertyInterpolate:iv,\u0275\u0275propertyInterpolate1:wd,\u0275\u0275propertyInterpolate2:ov,\u0275\u0275propertyInterpolate3:tg,\u0275\u0275propertyInterpolate4:sv,\u0275\u0275propertyInterpolate5:ng,\u0275\u0275propertyInterpolate6:av,\u0275\u0275propertyInterpolate7:lv,\u0275\u0275propertyInterpolate8:rg,\u0275\u0275propertyInterpolateV:cv,\u0275\u0275pipe:_M,\u0275\u0275queryRefresh:dv,\u0275\u0275queryAdvance:hv,\u0275\u0275viewQuery:HE,\u0275\u0275viewQuerySignal:zE,\u0275\u0275loadQuery:VE,\u0275\u0275contentQuery:uv,\u0275\u0275contentQuerySignal:YE,\u0275\u0275reference:fv,\u0275\u0275classMap:E_,\u0275\u0275classMapInterpolate1:A_,\u0275\u0275classMapInterpolate2:XS,\u0275\u0275classMapInterpolate3:Hf,\u0275\u0275classMapInterpolate4:JS,\u0275\u0275classMapInterpolate5:T_,\u0275\u0275classMapInterpolate6:qS,\u0275\u0275classMapInterpolate7:eE,\u0275\u0275classMapInterpolate8:Ul,\u0275\u0275classMapInterpolateV:tE,\u0275\u0275styleMap:xs,\u0275\u0275styleMapInterpolate1:$E,\u0275\u0275styleMapInterpolate2:gv,\u0275\u0275styleMapInterpolate3:GE,\u0275\u0275styleMapInterpolate4:mv,\u0275\u0275styleMapInterpolate5:KE,\u0275\u0275styleMapInterpolate6:pv,\u0275\u0275styleMapInterpolate7:QE,\u0275\u0275styleMapInterpolate8:ZE,\u0275\u0275styleMapInterpolateV:_v,\u0275\u0275styleProp:jf,\u0275\u0275stylePropInterpolate1:vv,\u0275\u0275stylePropInterpolate2:ig,\u0275\u0275stylePropInterpolate3:yv,\u0275\u0275stylePropInterpolate4:bv,\u0275\u0275stylePropInterpolate5:Cv,\u0275\u0275stylePropInterpolate6:ou,\u0275\u0275stylePropInterpolate7:Sv,\u0275\u0275stylePropInterpolate8:og,\u0275\u0275stylePropInterpolateV:Ev,\u0275\u0275classProp:S_,\u0275\u0275advance:o0,\u0275\u0275template:Bc,\u0275\u0275conditional:iE,\u0275\u0275defer:SS,\u0275\u0275deferWhen:n_,\u0275\u0275deferOnIdle:MS,\u0275\u0275deferOnImmediate:wS,\u0275\u0275deferOnTimer:DS,\u0275\u0275deferOnHover:AS,\u0275\u0275deferOnInteraction:TS,\u0275\u0275deferOnViewport:Pf,\u0275\u0275deferPrefetchWhen:ES,\u0275\u0275deferPrefetchOnIdle:r_,\u0275\u0275deferPrefetchOnImmediate:If,\u0275\u0275deferPrefetchOnTimer:i_,\u0275\u0275deferPrefetchOnHover:o_,\u0275\u0275deferPrefetchOnInteraction:IS,\u0275\u0275deferPrefetchOnViewport:PS,\u0275\u0275deferEnableTimerScheduling:t_,\u0275\u0275repeater:zf,\u0275\u0275repeaterCreate:O_,\u0275\u0275repeaterTrackByIndex:sE,\u0275\u0275repeaterTrackByIdentity:x_,\u0275\u0275componentInstance:nE,\u0275\u0275text:Mv,\u0275\u0275textInterpolate:sg,\u0275\u0275textInterpolate1:ag,\u0275\u0275textInterpolate2:su,\u0275\u0275textInterpolate3:wv,\u0275\u0275textInterpolate4:Dv,\u0275\u0275textInterpolate5:Av,\u0275\u0275textInterpolate6:Tv,\u0275\u0275textInterpolate7:Iv,\u0275\u0275textInterpolate8:lg,\u0275\u0275textInterpolateV:Pv,\u0275\u0275i18n:tv,\u0275\u0275i18nAttributes:OE,\u0275\u0275i18nExp:eg,\u0275\u0275i18nStart:q_,\u0275\u0275i18nEnd:ev,\u0275\u0275i18nApply:LE,\u0275\u0275i18nPostprocess:RE,\u0275\u0275resolveWindow:Vb,\u0275\u0275resolveDocument:Pm,\u0275\u0275resolveBody:Dh,\u0275\u0275setComponentScope:tM,\u0275\u0275setNgModuleScope:Nv,\u0275\u0275registerNgModuleType:ff,\u0275\u0275getComponentDepsFactory:Zv,\u0275setClassDebugInfo:EM,\u0275\u0275sanitizeHtml:_m,\u0275\u0275sanitizeStyle:vm,\u0275\u0275sanitizeResourceUrl:Ch,\u0275\u0275sanitizeScript:bm,\u0275\u0275sanitizeUrl:ym,\u0275\u0275sanitizeUrlOrResourceUrl:xa,\u0275\u0275trustConstantHtml:Pb,\u0275\u0275trustConstantResourceUrl:Cm,\u0275\u0275validateIframeAttribute:ud,forwardRef:to,resolveForwardRef:Dr,\u0275\u0275twoWayProperty:cg,\u0275\u0275twoWayBindingSet:JE,\u0275\u0275twoWayListener:ug,\u0275\u0275InputFlags:ct};let cu=null;function wM(){cu=null}const uu=[];let fg=!1;function DM(){if(!fg){fg=!0;try{for(let t=uu.length-1;t>=0;t--){const{moduleType:r,ngModule:s}=uu[t];s.declarations&&s.declarations.every(Xv)&&(uu.splice(t,1),kM(r,s))}}finally{fg=!1}}}function Xv(t){return Array.isArray(t)?t.every(Xv):!!Dr(t)}function AM(t,r={}){Jv(t,r),void 0!==r.id&&ff(t,r.id),function PI(t,r){uu.push({moduleType:t,ngModule:r})}(t,r)}function Jv(t,r,s=!1){const m=ls(r.declarations||Jn);let D=null;Object.defineProperty(t,Qn,{configurable:!0,get:()=>(null===D&&(D=qo().compileNgModule(ys,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:ls(r.bootstrap||Jn).map(Dr),declarations:m.map(Dr),imports:ls(r.imports||Jn).map(Dr).map(OM),exports:ls(r.exports||Jn).map(Dr).map(OM),schemas:r.schemas?ls(r.schemas):null,id:r.id||null}),D.schemas||(D.schemas=[])),D)});let L=null;Object.defineProperty(t,or,{get:()=>{if(null===L){const ie=qo();L=ie.compileFactory(ys,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:gh(t),target:ie.FactoryTarget.NgModule,typeArgumentCount:0})}return L},configurable:!1});let W=null;Object.defineProperty(t,de,{get:()=>{if(null===W){const ie={name:t.name,type:t,providers:r.providers||Jn,imports:[(r.imports||Jn).map(Dr),(r.exports||Jn).map(Dr)]};W=qo().compileInjector(ys,`ng:///${t.name}/\u0275inj.js`,ie)}return W},configurable:!1})}function TM(t,r){return`Unexpected "${Bi(t)}" found in the "declarations" array of the ${r}, "${Bi(t)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}let mg=new WeakMap,pg=new WeakMap;function kI(){mg=new WeakMap,pg=new WeakMap,uu.length=0,lo.clear()}function kM(t,r){const s=ls(r.declarations||Jn),m=Yl(t);s.forEach(D=>{(D=Dr(D)).hasOwnProperty(pi)?ey(fn(D),m):!D.hasOwnProperty(en)&&!D.hasOwnProperty(jn)&&(D.ngSelectorScope=t)})}function ey(t,r){t.directiveDefs=()=>Array.from(r.compilation.directives).map(s=>s.hasOwnProperty(pi)?fn(s):Gt(s)).filter(s=>!!s),t.pipeDefs=()=>Array.from(r.compilation.pipes).map(s=>Nn(s)),t.schemas=r.schemas,t.tView=null}function Yl(t){if(Qa(t)){if(sd){const r=Oc.getNgModuleScope(t);return{schemas:cr(t,!0).schemas||null,...r}}return function xM(t){const r=cr(t,!0);if(null!==r.transitiveCompileScopes)return r.transitiveCompileScopes;const s={schemas:r.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Ns(r.imports).forEach(m=>{const D=Yl(m);D.exported.directives.forEach(L=>s.compilation.directives.add(L)),D.exported.pipes.forEach(L=>s.compilation.pipes.add(L))}),Ns(r.declarations).forEach(m=>{Nn(m)?s.compilation.pipes.add(m):s.compilation.directives.add(m)}),Ns(r.exports).forEach(m=>{const D=m;if(Qa(D)){const L=Yl(D);L.exported.directives.forEach(W=>{s.compilation.directives.add(W),s.exported.directives.add(W)}),L.exported.pipes.forEach(W=>{s.compilation.pipes.add(W),s.exported.pipes.add(W)})}else Nn(D)?s.exported.pipes.add(D):s.exported.directives.add(D)}),r.transitiveCompileScopes=s,s}(t)}if(lr(t)){if(null!==(fn(t)||Gt(t)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([t]),pipes:new Set}};if(null!==Nn(t))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([t])}}}throw new Error(`${t.name} does not have a module def (\u0275mod property)`)}function OM(t){return Dp(t)?t.ngModule:t}let ty=0;function LM(t,r){let s=null;(function $A(t,r){VC(r)&&(Nc.set(t,r),jc.add(t))})(t,r),NM(t,r),Object.defineProperty(t,pi,{get:()=>{if(null===s){const m=qo();if(VC(r)){const Ne=[`Component '${t.name}' is not resolved:`];throw r.templateUrl&&Ne.push(` - templateUrl: ${r.templateUrl}`),r.styleUrls&&r.styleUrls.length&&Ne.push(` - styleUrls: ${JSON.stringify(r.styleUrls)}`),r.styleUrl&&Ne.push(` - styleUrl: ${r.styleUrl}`),Ne.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(Ne.join("\n"))}const D=function II(){return cu}();let L=r.preserveWhitespaces;void 0===L&&(L=null!==D&&void 0!==D.preserveWhitespaces&&D.preserveWhitespaces);let W=r.encapsulation;void 0===W&&(W=null!==D&&void 0!==D.defaultEncapsulation?D.defaultEncapsulation:br.Emulated);const ie=r.templateUrl||`ng:///${t.name}/template.html`,me={...jM(t,r),typeSourceSpan:m.createParseSourceSpan("Component",t.name,ie),template:r.template||"",preserveWhitespaces:L,styles:"string"==typeof r.styles?[r.styles]:r.styles||Jn,animations:r.animations,declarations:[],changeDetection:r.changeDetection,encapsulation:W,interpolation:r.interpolation,viewProviders:r.viewProviders||null};ty++;try{if(me.usesInheritance&&Ad(t),s=m.compileComponent(ys,ie,me),r.standalone){const Ne=ls(r.imports||Jn),{directiveDefs:Je,pipeDefs:Et}=function xI(t,r){let s=null,m=null;return{directiveDefs:()=>{if(sd)return od(t)?[...Oc.getStandaloneComponentScope(t,r).compilation.directives].map(ie=>fn(ie)||Gt(ie)).filter(ie=>null!==ie):[];if(null===s){s=[fn(t)];const W=new Set([t]);for(const ie of r){const me=Dr(ie);if(!W.has(me))if(W.add(me),cr(me)){const Ne=Yl(me);for(const Je of Ne.exported.directives){const Et=fn(Je)||Gt(Je);Et&&!W.has(Je)&&(W.add(Je),s.push(Et))}}else{const Ne=fn(me)||Gt(me);Ne&&s.push(Ne)}}}return s},pipeDefs:()=>{if(sd)return od(t)?[...Oc.getStandaloneComponentScope(t,r).compilation.pipes].map(ie=>Nn(ie)).filter(ie=>null!==ie):[];if(null===m){m=[];const W=new Set;for(const ie of r){const me=Dr(ie);if(!W.has(me))if(W.add(me),cr(me)){const Ne=Yl(me);for(const Je of Ne.exported.pipes){const Et=Nn(Je);Et&&!W.has(Je)&&(W.add(Je),m.push(Et))}}else{const Ne=Nn(me);Ne&&m.push(Ne)}}}return m}}}(t,Ne);s.directiveDefs=Je,s.pipeDefs=Et,s.dependencies=()=>Ne.map(Dr)}}finally{ty--}if(0===ty&&DM(),function RM(t){return void 0!==t.ngSelectorScope}(t)){const Ne=Yl(t.ngSelectorScope);ey(s,Ne)}if(r.schemas){if(!r.standalone)throw new Error(`The 'schemas' was specified for the ${Bi(t)} but is only valid on a component that is standalone.`);s.schemas=r.schemas}else r.standalone&&(s.schemas=[])}return s},configurable:!1})}function ny(t,r){let s=null;NM(t,r||{}),Object.defineProperty(t,en,{get:()=>{if(null===s){const m=FM(t,r||{});s=qo().compileDirective(ys,m.sourceMapUrl,m.metadata)}return s},configurable:!1})}function FM(t,r){const s=t&&t.name,m=`ng:///${s}/\u0275dir.js`,D=qo(),L=jM(t,r);return L.typeSourceSpan=D.createParseSourceSpan("Directive",s,m),L.usesInheritance&&Ad(t),{metadata:L,sourceMapUrl:m}}function NM(t,r){let s=null;Object.defineProperty(t,or,{get:()=>{if(null===s){const m=FM(t,r),D=qo();s=D.compileFactory(ys,`ng:///${t.name}/\u0275fac.js`,{name:m.metadata.name,type:m.metadata.type,typeArgumentCount:0,deps:gh(t),target:D.FactoryTarget.Directive})}return s},configurable:!1})}function qP(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function jM(t,r){const s=lm(),m=s.ownPropMetadata(t);return{name:t.name,type:t,selector:void 0!==r.selector?r.selector:null,host:r.host||pr,propMetadata:m,inputs:r.inputs||Jn,outputs:r.outputs||Jn,queries:BM(t,m,UM),lifecycle:{usesOnChanges:s.hasLifecycleHook(t,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!qP(t),exportAs:RI(r.exportAs),providers:r.providers||null,viewQueries:BM(t,m,HM),isStandalone:!!r.standalone,isSignal:!!r.signals,hostDirectives:r.hostDirectives?.map(D=>"function"==typeof D?{directive:D}:D)||null}}function Ad(t){const r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;)!Gt(s)&&!fn(s)&&YM(s)&&ny(s,null),s=Object.getPrototypeOf(s)}function OI(t){return"string"==typeof t?VM(t):Dr(t)}function LI(t,r){return{propertyName:t,predicate:OI(r.selector),descendants:r.descendants,first:r.first,read:r.read?r.read:null,static:!!r.static,emitDistinctChangesOnly:!!r.emitDistinctChangesOnly,isSignal:!!r.isSignal}}function BM(t,r,s){const m=[];for(const D in r)if(r.hasOwnProperty(D)){const L=r[D];L.forEach(W=>{if(s(W)){if(!W.selector)throw new Error(`Can't construct a query for the property "${D}" of "${Bi(t)}" since the query selector wasn't defined.`);if(L.some(Td))throw new Error("Cannot combine @Input decorators with query decorators");m.push(LI(D,W))}})}return m}function RI(t){return void 0===t?null:VM(t)}function UM(t){const r=t.ngMetadataName;return"ContentChild"===r||"ContentChildren"===r}function HM(t){const r=t.ngMetadataName;return"ViewChild"===r||"ViewChildren"===r}function Td(t){return"Input"===t.ngMetadataName}function VM(t){return t.split(",").map(r=>r.trim())}const FI=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function YM(t){const r=lm();if(FI.some(m=>r.hasLifecycleHook(t,m)))return!0;const s=r.propMetadata(t);for(const m in s){const D=s[m];for(let L=0;L{if(null===m){const D=ry(t,r),L=qo();m=L.compileFactory(ys,`ng:///${D.name}/\u0275fac.js`,{name:D.name,type:D.type,typeArgumentCount:0,deps:gh(t),target:L.FactoryTarget.Pipe})}return m},configurable:!1}),Object.defineProperty(t,jn,{get:()=>{if(null===s){const D=ry(t,r);s=qo().compilePipe(ys,`ng:///${D.name}/\u0275pipe.js`,D)}return s},configurable:!1})}function ry(t,r){return{type:t,name:t.name,pipeName:r.name,pure:void 0===r.pure||r.pure,isStandalone:!!r.standalone}}const WM=Au("Directive",(t={})=>t,void 0,void 0,(t,r)=>ny(t,r)),NI=Au("Component",(t={})=>({changeDetection:Er.Default,...t}),WM,void 0,(t,r)=>LM(t,r)),$M=Au("Pipe",t=>({pure:!0,...t}),void 0,void 0,(t,r)=>zM(t,r)),jI=Va("Input",t=>t?"string"==typeof t?{alias:t}:t:{}),du=Va("Output",t=>({alias:t})),BI=Va("HostBinding",t=>({hostPropertyName:t})),iy=Va("HostListener",(t,r)=>({eventName:t,args:r})),UI=Au("NgModule",t=>t,void 0,void 0,(t,r)=>AM(t,r));class GM{constructor(r){this.full=r;const s=r.split(".");this.major=s[0],this.minor=s[1],this.patch=s.slice(2).join(".")}}const KM=new GM("17.2.3");let QM=(()=>{class t{log(s){console.log(s)}warn(s){console.warn(s)}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const ay=new it(""),dw=new it("");let cy,eP=(()=>{class t{constructor(s,m,D){this._ngZone=s,this.registry=m,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,cy||(ly(D),D.addToWindow(m)),this._watchAngularEvents(),s.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Oo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let s=this._callbacks.pop();clearTimeout(s.timeoutId),s.doneCb()}});else{let s=this.getPendingTasks();this._callbacks=this._callbacks.filter(m=>!m.updateCb||!m.updateCb(s)||(clearTimeout(m.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(s=>({source:s.source,creationLocation:s.creationLocation,data:s.data})):[]}addCallback(s,m,D){let L=-1;m&&m>0&&(L=setTimeout(()=>{this._callbacks=this._callbacks.filter(W=>W.timeoutId!==L),s()},m)),this._callbacks.push({doneCb:s,timeoutId:L,updateCb:D})}whenStable(s,m,D){if(D&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(s,m,D),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(s){this.registry.registerApplication(s,this)}unregisterApplication(s){this.registry.unregisterApplication(s)}findProviders(s,m,D){return[]}static#e=this.\u0275fac=function(m){return new(m||t)(ke(Oo),ke(hw),ke(dw))};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac})}return t})(),hw=(()=>{class t{constructor(){this._applications=new Map}registerApplication(s,m){this._applications.set(s,m)}unregisterApplication(s){this._applications.delete(s)}unregisterAllApplications(){this._applications.clear()}getTestability(s){return this._applications.get(s)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(s,m=!0){return cy?.findTestabilityInTree(this,s,m)??null}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function ly(t){cy=t}function uy(t){return!!t&&"function"==typeof t.then}function dy(t){return!!t&&"function"==typeof t.subscribe}const fw=new it("");let _g=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,m)=>{this.resolve=s,this.reject=m}),this.appInits=lt(fw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const s=[];for(const D of this.appInits){const L=D();if(uy(L))s.push(L);else if(dy(L)){const W=new Promise((ie,me)=>{L.subscribe({complete:ie,error:me})});s.push(W)}}const m=()=>{this.done=!0,this.resolve()};Promise.all(s).then(()=>{m()}).catch(D=>{this.reject(D)}),0===s.length&&m(),this.initialized=!0}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hy=new it("");function gw(){!function Z(t){se=t}(()=>{throw new nt(600,!1)})}function Na(t){return t.isBoundToModule}class tP{constructor(r,s){this.name=r,this.token=s}}function fy(t,r,s){try{const m=s();return uy(m)?m.catch(D=>{throw r.runOutsideAngular(()=>t.handleError(D)),D}):m}catch(m){throw r.runOutsideAngular(()=>t.handleError(m)),m}}function mw(t,r){return Array.isArray(r)?r.reduce(mw,t):{...t,...r}}let kd,ja=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=lt(_b),this.afterRenderEffectManager=lt(Pl),this.componentTypes=[],this.components=[],this.isStable=lt(fd).hasPendingTasks.pipe((0,mt.k)(s=>!s)),this._injector=lt(Js)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(s,m){const D=s instanceof Ju;if(!this._injector.get(_g).done)throw!D&&lr(s),new nt(405,!1);let W;W=D?s:this._injector.get(qu).resolveComponentFactory(s),this.componentTypes.push(W.componentType);const ie=Na(W)?void 0:this._injector.get(kl),Ne=W.create(Rs.NULL,[],m||W.selector,ie),Je=Ne.location.nativeElement,Et=Ne.injector.get(ay,null);return Et?.registerApplication(Je),Ne.onDestroy(()=>{this.detachView(Ne.hostView),vg(this.components,Ne),Et?.unregisterApplication(Je)}),this._loadComponent(Ne),Ne}tick(){if(this._runningTick)throw new nt(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(s){this.internalErrorHandler(s)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let s=0;const m=this.afterRenderEffectManager;for(;;){if(100===s)throw new nt(103,!1);const D=0===s;for(let{_lView:L,notifyErrorHandler:W}of this._views)!D&&!yg(L)||this.detectChangesInView(L,W,D);if(s++,m.executeInternalCallbacks(),!this._views.some(({_lView:L})=>yg(L))&&(m.execute(),!this._views.some(({_lView:L})=>yg(L))))break}}detectChangesInView(s,m,D){let L;D?(L=0,s[Gn]|=1024):L=64&s[Gn]?0:1,Ac(s,m,L)}attachView(s){const m=s;this._views.push(m),m.attachToAppRef(this)}detachView(s){const m=s;vg(this._views,m),m.detachFromAppRef()}_loadComponent(s){this.attachView(s.hostView),this.tick(),this.components.push(s);const m=this._injector.get(hy,[]);[...this._bootstrapListeners,...m].forEach(D=>D(s))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(s=>s()),this._views.slice().forEach(s=>s.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(s){return this._destroyListeners.push(s),()=>vg(this._destroyListeners,s)}destroy(){if(this._destroyed)throw new nt(406,!1);const s=this._injector;s.destroy&&!s.destroyed&&s.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vg(t,r){const s=t.indexOf(r);s>-1&&t.splice(s,1)}function pw(t){kd??=new WeakMap;const r=kd.get(t);if(r)return r;const s=t.isStable.pipe((0,Qe.K)(m=>m)).toPromise().then(()=>{});return kd.set(t,s),t.onDestroy(()=>kd?.delete(t)),s}function yg(t){return ge(t)}class _w{constructor(r,s){this.ngModuleFactory=r,this.componentFactories=s}}let vw=(()=>{class t{compileModuleSync(s){return new _f(s)}compileModuleAsync(s){return Promise.resolve(this.compileModuleSync(s))}compileModuleAndAllComponentsSync(s){const m=this.compileModuleSync(s),L=Ns(cr(s).declarations).reduce((W,ie)=>{const me=fn(ie);return me&&W.push(new Lc(me)),W},[]);return new _w(m,L)}compileModuleAndAllComponentsAsync(s){return Promise.resolve(this.compileModuleAndAllComponentsSync(s))}clearCache(){}clearCacheFor(s){}getModuleId(s){}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const yw=new it("");class bw{}function Cw(t,r,s){const m=new _f(s);return Promise.resolve(m)}let Ew=(()=>{class t{constructor(){this.zone=lt(Oo),this.applicationRef=lt(ja)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gy(t){return[{provide:Oo,useFactory:t},{provide:Ps,multi:!0,useFactory:()=>{const r=lt(Ew,{optional:!0});return()=>r.initialize()}},{provide:Ps,multi:!0,useFactory:()=>{const r=lt(rP);return()=>{r.initialize()}}},{provide:_b,useFactory:nP}]}function nP(){const t=lt(Oo),r=lt(Fs);return s=>t.runOutsideAngular(()=>r.handleError(s))}function Mw(t){return Iu([[],gy(()=>new Oo(xd(t)))])}function xd(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let rP=(()=>{class t{constructor(){this.subscription=new ot.wH,this.initialized=!1,this.zone=lt(Oo),this.pendingTasks=lt(fd)}initialize(){if(this.initialized)return;this.initialized=!0;let s=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(s=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Oo.assertNotInAngularZone(),queueMicrotask(()=>{null!==s&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(s),s=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Oo.assertInAngularZone(),s??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const bg=new it("",{providedIn:"root",factory:()=>lt(bg,gt.Optional|gt.SkipSelf)||function my(){return typeof $localize<"u"&&$localize.locale||qa}()}),ww=new it("",{providedIn:"root",factory:()=>"USD"}),iP=new it(""),Dw=new it("");var Aw=function(t){return t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore",t}(Aw||{});const Cg=new it("");let py=(()=>{class t{constructor(s){this._injector=s,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(s,m){const D=function rC(t="zone.js",r){return"noop"===t?new Mp:"zone.js"===t?new Oo(r):t}(m?.ngZone,xd({eventCoalescing:m?.ngZoneEventCoalescing,runCoalescing:m?.ngZoneRunCoalescing}));return D.run(()=>{const L=function rT(t,r,s){return new pf(t,r,s)}(s.moduleType,this.injector,gy(()=>D)),W=L.injector.get(Fs,null);return D.runOutsideAngular(()=>{const ie=D.onError.subscribe({next:me=>{W.handleError(me)}});L.onDestroy(()=>{vg(this._modules,L),ie.unsubscribe()})}),fy(W,D,()=>{const ie=L.injector.get(_g);return ie.runInitializers(),ie.donePromise.then(()=>(j_(L.injector.get(bg,qa)||qa),this._moduleDoBootstrap(L),L))})})}bootstrapModule(s,m=[]){const D=mw({},m);return Cw(0,0,s).then(L=>this.bootstrapModuleFactory(L,D))}_moduleDoBootstrap(s){const m=s.injector.get(ja);if(s._bootstrapComponents.length>0)s._bootstrapComponents.forEach(D=>m.bootstrap(D));else{if(!s.instance.ngDoBootstrap)throw new nt(-403,!1);s.instance.ngDoBootstrap(m)}this._modules.push(s)}onDestroy(s){this._destroyListeners.push(s)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new nt(404,!1);this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m());const s=this._injector.get(Cg,null);s&&(s.forEach(m=>m()),s.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(m){return new(m||t)(ke(Rs))};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),Ba=null;const _y=new it("");function vy(t){if(Ba&&!Ba.get(_y,!1))throw new nt(400,!1);gw(),Ba=t;const r=t.get(py);return kw(t),r}function Tw(t,r,s=[]){const m=`Platform: ${r}`,D=new it(m);return(L=[])=>{let W=Od();if(!W||W.injector.get(_y,!1)){const ie=[...s,...L,{provide:D,useValue:!0}];t?t(ie):vy(yy(ie,m))}return Iw()}}function yy(t=[],r){return Rs.create({name:r,providers:[{provide:qd,useValue:"platform"},{provide:Cg,useValue:new Set([()=>Ba=null])},...t]})}function Iw(t){const r=Od();if(!r)throw new nt(401,!1);return r}function Od(){return Ba?.get(py)??null}function oP(){Od()?.destroy()}function kw(t){t.get(ln,null)?.forEach(s=>s())}function xw(){return!1}function sP(){}function Ow(t){const r=Hp(t);if(!r)throw Sg(t);return new _f(r)}function aP(t){const r=Hp(t);if(!r)throw Sg(t);return r}function Sg(t){return new Error(`No module with ID ${t} loaded`)}class Lw extends Cp{}class Rw extends Lw{}class Fw{constructor(r,s){this.name=r,this.callback=s}}function lP(t){return t.map(r=>r.nativeElement)}class Eg{constructor(r){this.nativeNode=r}get parent(){const r=this.nativeNode.parentNode;return r?new Ld(r):null}get injector(){return function iM(t){const r=Es(t),s=r?r.lView:null;return null===s?Rs.NULL:new es(s[In].data[r.nodeIndex],s)}(this.nativeNode)}get componentInstance(){const r=this.nativeNode;return r&&(jv(r)||function rM(t){const r=Es(t);let m,s=r?r.lView:null;if(null===s)return null;for(;2===s[In].type&&(m=Ht(s));)s=m;return 512&s[Gn]?null:s[Zr]}(r))}get context(){return jv(this.nativeNode)||function Bv(t){!function aM(t){if(typeof Element<"u"&&!(t instanceof Element))throw new Error("Expecting instance of DOM Element")}(t);const r=Es(t),s=r?r.lView:null;return null===s?null:s[Zr]}(this.nativeNode)}get listeners(){return function sM(t){const r=Es(t),s=null===r?null:r.lView;if(null===s)return[];const D=s[ti],L=s[In].cleanup,W=[];if(L&&D)for(let ie=0;ie=0?"dom":"output"})}}return W.sort(TI),W}(this.nativeNode).filter(r=>"dom"===r.type)}get references(){return function AI(t){const r=Es(t);if(null===r)return{};if(void 0===r.localRefs){const s=r.lView;if(null===s)return{};r.localRefs=function JD(t,r){const s=t[In].data[r];if(s&&s.localNames){const m={};let D=s.index+1;for(let L=0;L1){let Je=me[1];for(let Et=1;Etr[L]=!0),r}get childNodes(){const r=this.nativeNode.childNodes,s=[];for(let m=0;m{if(L.name===r){const W=L.callback;W.call(m,s),D.push(W)}}),"function"==typeof m.eventListeners&&m.eventListeners(r).forEach(L=>{if(-1!==L.toString().indexOf("__ngUnwrap__")){const W=L("__ngUnwrap__");return-1===D.indexOf(W)&&W.call(m,s)}})}}function cP(t){return"string"==typeof t||"boolean"==typeof t||"number"==typeof t||null===t}function by(t,r,s,m){const D=Es(t.nativeNode),L=D?D.lView:null;null!==L?Wl(L[In].data[D.nodeIndex],L,r,s,m,t.nativeNode):Mg(t.nativeNode,r,s,m)}function Wl(t,r,s,m,D,L){const W=function Xo(t,r){const s=null===t?-1:t.index;return-1!==s?Ur(r[s]):null}(t,r);if(11&t.type){if(Sy(W,s,m,D,L),Oi(t)){const me=Di(t.index,r);me&&me[In].firstChild&&Wl(me[In].firstChild,me,s,m,D,L)}else t.child&&Wl(t.child,r,s,m,D,L),W&&Mg(W,s,m,D);const ie=r[t.index];Gr(ie)&&Cy(ie,s,m,D,L)}else if(4&t.type){const ie=r[t.index];Sy(ie[yi],s,m,D,L),Cy(ie,s,m,D,L)}else if(16&t.type){const ie=r[Jr],Ne=ie[ai].projection[t.projection];if(Array.isArray(Ne))for(let Je of Ne)Sy(Je,s,m,D,L);else if(Ne){const Je=ie[si];Wl(Je[In].data[Ne.index],Je,s,m,D,L)}}else t.child&&Wl(t.child,r,s,m,D,L);if(L!==W){const ie=2&t.flags?t.projectionNext:t.next;ie&&Wl(ie,r,s,m,D,L)}}function Cy(t,r,s,m,D){for(let L=zr;L{class t{constructor(s){}static#e=this.\u0275fac=function(m){return new(m||t)(ke(ja))};static#t=this.\u0275mod=Jt({type:t});static#n=this.\u0275inj=Us({})}return t})();function gi(t){}function jr(t,r){!r&&pl();const s=r?.injector??lt(Rs),m=s.get(ja);let D=!1;const L=()=>{D||m.destroyed||(D=!0,t())};rf(L,{injector:s,runOnServer:!0}),queueMicrotask(()=>{L()})}function Ho(t){try{const{rootComponent:r,appProviders:s,platformProviders:m}=t,D=function Pw(t=[]){if(Ba)return Ba;const r=yy(t);return Ba=r,gw(),kw(r),r}(m),L=[Mw(),...s||[]],ie=new tS({providers:L,parent:D,debugName:"",runEnvironmentInitializers:!1}).injector,me=ie.get(Oo);return me.run(()=>{ie.resolveInjectorInitializers();const Ne=ie.get(Fs,null);let Je;me.runOutsideAngular(()=>{Je=me.onError.subscribe({next:Qt=>{Ne.handleError(Qt)}})});const Et=()=>ie.destroy(),Ut=D.get(Cg);return Ut.add(Et),ie.onDestroy(()=>{Je.unsubscribe(),Ut.delete(Et)}),fy(Ne,me,()=>{const Qt=ie.get(_g);return Qt.runInitializers(),Qt.donePromise.then(()=>{j_(ie.get(bg,qa)||qa);const kn=ie.get(ja);return void 0!==r&&kn.bootstrap(r),kn})})})}catch(r){return Promise.reject(r)}}let ia=(()=>{class t{constructor(){this.appRef=lt(ja),this.taskService=lt(fd),this.pendingRenderTaskId=null}notify(){null===this.pendingRenderTaskId&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){var s=this;return(0,n.c)(function*(){const m=new Promise(L=>setTimeout(L)),D="function"==typeof Rn.requestAnimationFrame?new Promise(L=>requestAnimationFrame(()=>L())):null;yield Promise.race([m,D]),s.tick()})()}tick(){try{this.appRef.destroyed||this.appRef.tick()}finally{const s=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(s)}}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ua(){return Iu([{provide:hp,useExisting:ia},{provide:Oo,useClass:Mp}])}function Ag(t,r){const s=t[In];for(let m=ar;m0&&Ne===m){const Je=s[s.length-1];Je[dl]??=1,Je[dl]++}else m=Ne,s.push(me)}return s}function Ww(t,r,s){const m=r.index-ar;t[Ng]??={},t[Ng][m]=j0(r,s)}function hk(t,r){const s=r.index-ar;t[Vd]??=[],t[Vd].includes(s)||t[Vd].push(s)}function fk(t,r){const s={},m=t[In];for(let D=ar;D{let t=!0;return Ga()&&(t=!!lt(Eu,{optional:!0})?.get(jg,null)),t&&zs("NgHydration"),t}},{provide:Ps,useValue:()=>{Ga()&<(_c)&&(function Ak(){const t=No();let r;for(const s of t.body.childNodes)if(s.nodeType===Node.COMMENT_NODE&&s.textContent?.trim()===wu){r=s;break}if(!r)throw new nt(-507,!1)}(),function Mk(){gk||(gk=!0,function Qw(){ky=Kw}(),function aE(){Xc=OT}(),function bI(){XE=yI}(),function RT(){lE=cE}(),function $p(){Wp=oT}(),function LA(){yC=CC,cf=OA}(),function dp(){up=rA}(),function C1(){Wm=b1}())}())},multi:!0},{provide:um,useFactory:()=>Ga()&<(_c)},{provide:hy,useFactory:()=>{if(Ga()&<(_c)){const t=lt(ja);return lt(Rs),()=>{(function wk(t,r){return pw(t)})(t).then(()=>{Oo.assertInAngularZone(),function X1(t){const r=t._views;for(const s of r){const m=xy(s);null!==m&&null!==m[_r]&&(Ni(m)?Zu(m):(Zu(m[_r]),F0(m)))}}(t)})}}return()=>{}},multi:!0}])}function Tk(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function Ik(t,r=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?r:Number(t)}function Pk(t){return qo().compileDirectiveDeclaration(ys,`ng:///${t.type.name}/\u0275fac.js`,t)}function kk(t){rS(t.type,t.decorators,t.ctorParameters??null,t.propDecorators??null)}function xk(t){return qo().compileComponentDeclaration(ys,`ng:///${t.type.name}/\u0275cmp.js`,t)}function Ok(t){return qo(function Lk(t){switch(t){case _l.Directive:return"directive";case _l.Component:return"component";case _l.Injectable:return"injectable";case _l.Pipe:return"pipe";case _l.NgModule:return"NgModule"}}(t.target)).compileFactoryDeclaration(ys,`ng:///${t.type.name}/\u0275fac.js`,t)}function Rk(t){return qo().compileInjectableDeclaration(ys,`ng:///${t.type.name}/\u0275prov.js`,t)}function Fk(t){return qo().compileInjectorDeclaration(ys,`ng:///${t.type.name}/\u0275inj.js`,t)}function Nk(t){return qo().compileNgModuleDeclaration(ys,`ng:///${t.type.name}/\u0275mod.js`,t)}function jk(t){return qo().compilePipeDeclaration(ys,`ng:///${t.type.name}/\u0275pipe.js`,t)}function Bk(t,r){const s=fn(t),m=r.elementInjector||Aa();return new Lc(s).create(m,r.projectableNodes,r.hostElement,r.environmentInjector)}function Uk(t){const r=fn(t);if(!r)return null;const s=new Lc(r);return{get selector(){return s.selector},get type(){return s.componentType},get inputs(){return s.inputs},get outputs(){return s.outputs},get ngContentSelectors(){return s.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}function Hk(...t){return t.reduce((r,s)=>Object.assign(r,s,{providers:[...r.providers,...s.providers]}),{providers:[]})}},44716:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{AbstractControl:()=>Br,AbstractControlDirective:()=>Xe,AbstractFormGroupDirective:()=>rt,COMPOSITION_BUFFER_MODE:()=>A,CheckboxControlValueAccessor:()=>b,CheckboxRequiredValidator:()=>Lo,ControlContainer:()=>nt,DefaultValueAccessor:()=>I,EmailValidator:()=>Zi,FormArray:()=>Ki,FormArrayName:()=>Xr,FormBuilder:()=>co,FormControl:()=>Ae,FormControlDirective:()=>si,FormControlName:()=>Yi,FormGroup:()=>sr,FormGroupDirective:()=>ai,FormGroupName:()=>ti,FormRecord:()=>Rn,FormsModule:()=>hs,MaxLengthValidator:()=>Co,MaxValidator:()=>Mo,MinLengthValidator:()=>Gi,MinValidator:()=>zr,NG_ASYNC_VALIDATORS:()=>P,NG_VALIDATORS:()=>T,NG_VALUE_ACCESSOR:()=>f,NgControl:()=>Pt,NgControlStatus:()=>An,NgControlStatusGroup:()=>_n,NgForm:()=>z,NgModel:()=>Gt,NgModelGroup:()=>vn,NgSelectOption:()=>qi,NonNullableFormBuilder:()=>Fo,NumberValueAccessor:()=>cr,PatternValidator:()=>wo,RadioControlValueAccessor:()=>lo,RangeValueAccessor:()=>_r,ReactiveFormsModule:()=>Qo,RequiredValidator:()=>Gr,SelectControlValueAccessor:()=>zi,SelectMultipleControlValueAccessor:()=>xi,UntypedFormArray:()=>uo,UntypedFormBuilder:()=>Do,UntypedFormControl:()=>fe,UntypedFormGroup:()=>br,VERSION:()=>Ko,Validators:()=>N,isFormArray:()=>So,isFormControl:()=>De,isFormGroup:()=>qn,isFormRecord:()=>oi,\u0275InternalFormsSharedModule:()=>rs,\u0275NgNoValidate:()=>Nn,\u0275NgSelectMultipleOption:()=>qr});var n=o(54496),i=o(91368),d=o(74496),a=o(53252),l=o(64300),e=o(50560),u=o(59472),c=o(87773),g=o(74187),v=o(67904),S=o(54704);let C=(()=>{class Ye{constructor(Ie,ft){this._renderer=Ie,this._elementRef=ft,this.onChange=Ot=>{},this.onTouched=()=>{}}setProperty(Ie,ft){this._renderer.setProperty(this._elementRef.nativeElement,Ie,ft)}registerOnTouched(Ie){this.onTouched=Ie}registerOnChange(Ie){this.onChange=Ie}setDisabledState(Ie){this.setProperty("disabled",Ie)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye})}return Ye})(),_=(()=>{class Ye extends C{static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,features:[n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const f=new n.InjectionToken(""),y={provide:f,useExisting:(0,n.forwardRef)(()=>b),multi:!0};let b=(()=>{class Ye extends _{writeValue(Ie){this.setProperty("checked",Ie)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("change",function(Vn){return Ot.onChange(Vn.target.checked)})("blur",function(){return Ot.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([y]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const E={provide:f,useExisting:(0,n.forwardRef)(()=>I),multi:!0},A=new n.InjectionToken("");let I=(()=>{class Ye extends C{constructor(Ie,ft,Ot){super(Ie,ft),this._compositionMode=Ot,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function M(){const Ye=(0,i.\u0275getDOM)()?(0,i.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(Ye.toLowerCase())}())}writeValue(Ie){this.setProperty("value",Ie??"")}_handleInput(Ie){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ie)}_compositionStart(){this._composing=!0}_compositionEnd(Ie){this._composing=!1,this._compositionMode&&this.onChange(Ie)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(A,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,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(ft,Ot){1&ft&&n.\u0275\u0275listener("input",function(Vn){return Ot._handleInput(Vn.target.value)})("blur",function(){return Ot.onTouched()})("compositionstart",function(){return Ot._compositionStart()})("compositionend",function(Vn){return Ot._compositionEnd(Vn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([E]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();function F(Ye){return null==Ye||("string"==typeof Ye||Array.isArray(Ye))&&0===Ye.length}function j(Ye){return null!=Ye&&"number"==typeof Ye.length}const T=new n.InjectionToken(""),P=new n.InjectionToken(""),x=/^(?=.{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])?)*$/;class N{static min(Ke){return O(Ke)}static max(Ke){return H(Ke)}static required(Ke){return G(Ke)}static requiredTrue(Ke){return te(Ke)}static email(Ke){return ue(Ke)}static minLength(Ke){return se(Ke)}static maxLength(Ke){return K(Ke)}static pattern(Ke){return Z(Ke)}static nullValidator(Ke){return null}static compose(Ke){return ye(Ke)}static composeAsync(Ke){return ve(Ke)}}function O(Ye){return Ke=>{if(F(Ke.value)||F(Ye))return null;const Ie=parseFloat(Ke.value);return!isNaN(Ie)&&Ie{if(F(Ke.value)||F(Ye))return null;const Ie=parseFloat(Ke.value);return!isNaN(Ie)&&Ie>Ye?{max:{max:Ye,actual:Ke.value}}:null}}function G(Ye){return F(Ye.value)?{required:!0}:null}function te(Ye){return!0===Ye.value?null:{required:!0}}function ue(Ye){return F(Ye.value)||x.test(Ye.value)?null:{email:!0}}function se(Ye){return Ke=>F(Ke.value)||!j(Ke.value)?null:Ke.value.lengthj(Ke.value)&&Ke.value.length>Ye?{maxlength:{requiredLength:Ye,actualLength:Ke.value.length}}:null}function Z(Ye){if(!Ye)return re;let Ke,Ie;return"string"==typeof Ye?(Ie="","^"!==Ye.charAt(0)&&(Ie+="^"),Ie+=Ye,"$"!==Ye.charAt(Ye.length-1)&&(Ie+="$"),Ke=new RegExp(Ie)):(Ie=Ye.toString(),Ke=Ye),ft=>{if(F(ft.value))return null;const Ot=ft.value;return Ke.test(Ot)?null:{pattern:{requiredPattern:Ie,actualValue:Ot}}}}function re(Ye){return null}function J(Ye){return null!=Ye}function Y(Ye){return(0,n.\u0275isPromise)(Ye)?(0,d.Q)(Ye):Ye}function $(Ye){let Ke={};return Ye.forEach(Ie=>{Ke=null!=Ie?{...Ke,...Ie}:Ke}),0===Object.keys(Ke).length?null:Ke}function le(Ye,Ke){return Ke.map(Ie=>Ie(Ye))}function we(Ye){return Ye.map(Ke=>function ee(Ye){return!Ye.validate}(Ke)?Ke:Ie=>Ke.validate(Ie))}function ye(Ye){if(!Ye)return null;const Ke=Ye.filter(J);return 0==Ke.length?null:function(Ie){return $(le(Ie,Ke))}}function Oe(Ye){return null!=Ye?ye(we(Ye)):null}function ve(Ye){if(!Ye)return null;const Ke=Ye.filter(J);return 0==Ke.length?null:function(Ie){return function p(...Ye){const Ke=(0,u.yu)(Ye),{args:Ie,keys:ft}=(0,l.Q)(Ye),Ot=new a._(Wn=>{const{length:Vn}=Ie;if(!Vn)return void Wn.complete();const Wi=new Array(Vn);let Eo=Vn,Ao=Vn;for(let ho=0;ho{Ur||(Ur=!0,Ao--),Wi[ho]=Zo},()=>Eo--,void 0,()=>{(!Eo||!Ur)&&(Ao||Wn.next(ft?(0,v.q)(ft,Wi):Wi),Wn.complete())}))}});return Ke?Ot.pipe((0,g.j)(Ke)):Ot}(le(Ie,Ke).map(Y)).pipe((0,S.k)($))}}function _e(Ye){return null!=Ye?ve(we(Ye)):null}function Pe(Ye,Ke){return null===Ye?[Ke]:Array.isArray(Ye)?[...Ye,Ke]:[Ye,Ke]}function Ze(Ye){return Ye._rawValidators}function ot(Ye){return Ye._rawAsyncValidators}function tt(Ye){return Ye?Array.isArray(Ye)?Ye:[Ye]:[]}function mt(Ye,Ke){return Array.isArray(Ye)?Ye.includes(Ke):Ye===Ke}function Qe(Ye,Ke){const Ie=tt(Ke);return tt(Ye).forEach(Ot=>{mt(Ie,Ot)||Ie.push(Ot)}),Ie}function Ct(Ye,Ke){return tt(Ke).filter(Ie=>!mt(Ye,Ie))}class Xe{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(Ke){this._rawValidators=Ke||[],this._composedValidatorFn=Oe(this._rawValidators)}_setAsyncValidators(Ke){this._rawAsyncValidators=Ke||[],this._composedAsyncValidatorFn=_e(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ke){this._onDestroyCallbacks.push(Ke)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ke=>Ke()),this._onDestroyCallbacks=[]}reset(Ke=void 0){this.control&&this.control.reset(Ke)}hasError(Ke,Ie){return!!this.control&&this.control.hasError(Ke,Ie)}getError(Ke,Ie){return this.control?this.control.getError(Ke,Ie):null}}class nt extends Xe{get formDirective(){return null}get path(){return null}}class Pt extends Xe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class tn{constructor(Ke){this._cd=Ke}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let An=(()=>{class Ye extends tn{constructor(Ie){super(Ie)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(Pt,2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275classProp("ng-untouched",Ot.isUntouched)("ng-touched",Ot.isTouched)("ng-pristine",Ot.isPristine)("ng-dirty",Ot.isDirty)("ng-valid",Ot.isValid)("ng-invalid",Ot.isInvalid)("ng-pending",Ot.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),_n=(()=>{class Ye extends tn{constructor(Ie){super(Ie)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(nt,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275classProp("ng-untouched",Ot.isUntouched)("ng-touched",Ot.isTouched)("ng-pristine",Ot.isPristine)("ng-dirty",Ot.isDirty)("ng-valid",Ot.isValid)("ng-invalid",Ot.isInvalid)("ng-pending",Ot.isPending)("ng-submitted",Ot.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Xt="VALID",At="INVALID",$t="PENDING",St="DISABLED";function xt(Ye){return(rn(Ye)?Ye.validators:Ye)||null}function bn(Ye,Ke){return(rn(Ke)?Ke.asyncValidators:Ye)||null}function rn(Ye){return null!=Ye&&!Array.isArray(Ye)&&"object"==typeof Ye}function nr(Ye,Ke,Ie){const ft=Ye.controls;if(!(Ke?Object.keys(ft):ft).length)throw new n.\u0275RuntimeError(1e3,"");if(!ft[Ie])throw new n.\u0275RuntimeError(1001,"")}function kr(Ye,Ke,Ie){Ye._forEachChild((ft,Ot)=>{if(void 0===Ie[Ot])throw new n.\u0275RuntimeError(1002,"")})}class Br{constructor(Ke,Ie){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Ke),this._assignAsyncValidators(Ie)}get validator(){return this._composedValidatorFn}set validator(Ke){this._rawValidators=this._composedValidatorFn=Ke}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ke){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ke}get parent(){return this._parent}get valid(){return this.status===Xt}get invalid(){return this.status===At}get pending(){return this.status==$t}get disabled(){return this.status===St}get enabled(){return this.status!==St}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ke){this._assignValidators(Ke)}setAsyncValidators(Ke){this._assignAsyncValidators(Ke)}addValidators(Ke){this.setValidators(Qe(Ke,this._rawValidators))}addAsyncValidators(Ke){this.setAsyncValidators(Qe(Ke,this._rawAsyncValidators))}removeValidators(Ke){this.setValidators(Ct(Ke,this._rawValidators))}removeAsyncValidators(Ke){this.setAsyncValidators(Ct(Ke,this._rawAsyncValidators))}hasValidator(Ke){return mt(this._rawValidators,Ke)}hasAsyncValidator(Ke){return mt(this._rawAsyncValidators,Ke)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ke={}){this.touched=!0,this._parent&&!Ke.onlySelf&&this._parent.markAsTouched(Ke)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ke=>Ke.markAllAsTouched())}markAsUntouched(Ke={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ie=>{Ie.markAsUntouched({onlySelf:!0})}),this._parent&&!Ke.onlySelf&&this._parent._updateTouched(Ke)}markAsDirty(Ke={}){this.pristine=!1,this._parent&&!Ke.onlySelf&&this._parent.markAsDirty(Ke)}markAsPristine(Ke={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ie=>{Ie.markAsPristine({onlySelf:!0})}),this._parent&&!Ke.onlySelf&&this._parent._updatePristine(Ke)}markAsPending(Ke={}){this.status=$t,!1!==Ke.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ke.onlySelf&&this._parent.markAsPending(Ke)}disable(Ke={}){const Ie=this._parentMarkedDirty(Ke.onlySelf);this.status=St,this.errors=null,this._forEachChild(ft=>{ft.disable({...Ke,onlySelf:!0})}),this._updateValue(),!1!==Ke.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ke,skipPristineCheck:Ie}),this._onDisabledChange.forEach(ft=>ft(!0))}enable(Ke={}){const Ie=this._parentMarkedDirty(Ke.onlySelf);this.status=Xt,this._forEachChild(ft=>{ft.enable({...Ke,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ke.emitEvent}),this._updateAncestors({...Ke,skipPristineCheck:Ie}),this._onDisabledChange.forEach(ft=>ft(!1))}_updateAncestors(Ke){this._parent&&!Ke.onlySelf&&(this._parent.updateValueAndValidity(Ke),Ke.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ke){this._parent=Ke}getRawValue(){return this.value}updateValueAndValidity(Ke={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Xt||this.status===$t)&&this._runAsyncValidator(Ke.emitEvent)),!1!==Ke.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ke.onlySelf&&this._parent.updateValueAndValidity(Ke)}_updateTreeValidity(Ke={emitEvent:!0}){this._forEachChild(Ie=>Ie._updateTreeValidity(Ke)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ke.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?St:Xt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ke){if(this.asyncValidator){this.status=$t,this._hasOwnPendingAsyncValidator=!0;const Ie=Y(this.asyncValidator(this));this._asyncValidationSubscription=Ie.subscribe(ft=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ft,{emitEvent:Ke})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ke,Ie={}){this.errors=Ke,this._updateControlsErrors(!1!==Ie.emitEvent)}get(Ke){let Ie=Ke;return null==Ie||(Array.isArray(Ie)||(Ie=Ie.split(".")),0===Ie.length)?null:Ie.reduce((ft,Ot)=>ft&&ft._find(Ot),this)}getError(Ke,Ie){const ft=Ie?this.get(Ie):this;return ft&&ft.errors?ft.errors[Ke]:null}hasError(Ke,Ie){return!!this.getError(Ke,Ie)}get root(){let Ke=this;for(;Ke._parent;)Ke=Ke._parent;return Ke}_updateControlsErrors(Ke){this.status=this._calculateStatus(),Ke&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ke)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?St:this.errors?At:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($t)?$t:this._anyControlsHaveStatus(At)?At:Xt}_anyControlsHaveStatus(Ke){return this._anyControls(Ie=>Ie.status===Ke)}_anyControlsDirty(){return this._anyControls(Ke=>Ke.dirty)}_anyControlsTouched(){return this._anyControls(Ke=>Ke.touched)}_updatePristine(Ke={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ke.onlySelf&&this._parent._updatePristine(Ke)}_updateTouched(Ke={}){this.touched=this._anyControlsTouched(),this._parent&&!Ke.onlySelf&&this._parent._updateTouched(Ke)}_registerOnCollectionChange(Ke){this._onCollectionChange=Ke}_setUpdateStrategy(Ke){rn(Ke)&&null!=Ke.updateOn&&(this._updateOn=Ke.updateOn)}_parentMarkedDirty(Ke){return!Ke&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Ke){return null}_assignValidators(Ke){this._rawValidators=Array.isArray(Ke)?Ke.slice():Ke,this._composedValidatorFn=function nn(Ye){return Array.isArray(Ye)?Oe(Ye):Ye||null}(this._rawValidators)}_assignAsyncValidators(Ke){this._rawAsyncValidators=Array.isArray(Ke)?Ke.slice():Ke,this._composedAsyncValidatorFn=function Tn(Ye){return Array.isArray(Ye)?_e(Ye):Ye||null}(this._rawAsyncValidators)}}class sr extends Br{constructor(Ke,Ie,ft){super(xt(Ie),bn(ft,Ie)),this.controls=Ke,this._initObservables(),this._setUpdateStrategy(Ie),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ke,Ie){return this.controls[Ke]?this.controls[Ke]:(this.controls[Ke]=Ie,Ie.setParent(this),Ie._registerOnCollectionChange(this._onCollectionChange),Ie)}addControl(Ke,Ie,ft={}){this.registerControl(Ke,Ie),this.updateValueAndValidity({emitEvent:ft.emitEvent}),this._onCollectionChange()}removeControl(Ke,Ie={}){this.controls[Ke]&&this.controls[Ke]._registerOnCollectionChange(()=>{}),delete this.controls[Ke],this.updateValueAndValidity({emitEvent:Ie.emitEvent}),this._onCollectionChange()}setControl(Ke,Ie,ft={}){this.controls[Ke]&&this.controls[Ke]._registerOnCollectionChange(()=>{}),delete this.controls[Ke],Ie&&this.registerControl(Ke,Ie),this.updateValueAndValidity({emitEvent:ft.emitEvent}),this._onCollectionChange()}contains(Ke){return this.controls.hasOwnProperty(Ke)&&this.controls[Ke].enabled}setValue(Ke,Ie={}){kr(this,0,Ke),Object.keys(Ke).forEach(ft=>{nr(this,!0,ft),this.controls[ft].setValue(Ke[ft],{onlySelf:!0,emitEvent:Ie.emitEvent})}),this.updateValueAndValidity(Ie)}patchValue(Ke,Ie={}){null!=Ke&&(Object.keys(Ke).forEach(ft=>{const Ot=this.controls[ft];Ot&&Ot.patchValue(Ke[ft],{onlySelf:!0,emitEvent:Ie.emitEvent})}),this.updateValueAndValidity(Ie))}reset(Ke={},Ie={}){this._forEachChild((ft,Ot)=>{ft.reset(Ke?Ke[Ot]:null,{onlySelf:!0,emitEvent:Ie.emitEvent})}),this._updatePristine(Ie),this._updateTouched(Ie),this.updateValueAndValidity(Ie)}getRawValue(){return this._reduceChildren({},(Ke,Ie,ft)=>(Ke[ft]=Ie.getRawValue(),Ke))}_syncPendingControls(){let Ke=this._reduceChildren(!1,(Ie,ft)=>!!ft._syncPendingControls()||Ie);return Ke&&this.updateValueAndValidity({onlySelf:!0}),Ke}_forEachChild(Ke){Object.keys(this.controls).forEach(Ie=>{const ft=this.controls[Ie];ft&&Ke(ft,Ie)})}_setUpControls(){this._forEachChild(Ke=>{Ke.setParent(this),Ke._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ke){for(const[Ie,ft]of Object.entries(this.controls))if(this.contains(Ie)&&Ke(ft))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ie,ft,Ot)=>((ft.enabled||this.disabled)&&(Ie[Ot]=ft.value),Ie))}_reduceChildren(Ke,Ie){let ft=Ke;return this._forEachChild((Ot,Wn)=>{ft=Ie(ft,Ot,Wn)}),ft}_allControlsDisabled(){for(const Ke of Object.keys(this.controls))if(this.controls[Ke].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ke){return this.controls.hasOwnProperty(Ke)?this.controls[Ke]:null}}const br=sr,qn=Ye=>Ye instanceof sr;class Rn extends sr{}const oi=Ye=>Ye instanceof Rn,Sr=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>pr}),pr="always";function Jn(Ye,Ke){return[...Ke.path,Ye]}function er(Ye,Ke,Ie=pr){jn(Ye,Ke),Ke.valueAccessor.writeValue(Ye.value),(Ye.disabled||"always"===Ie)&&Ke.valueAccessor.setDisabledState?.(Ye.disabled),function or(Ye,Ke){Ke.valueAccessor.registerOnChange(Ie=>{Ye._pendingValue=Ie,Ye._pendingChange=!0,Ye._pendingDirty=!0,"change"===Ye.updateOn&&Pr(Ye,Ke)})}(Ye,Ke),function ct(Ye,Ke){const Ie=(ft,Ot)=>{Ke.valueAccessor.writeValue(ft),Ot&&Ke.viewToModelUpdate(ft)};Ye.registerOnChange(Ie),Ke._registerOnDestroy(()=>{Ye._unregisterOnChange(Ie)})}(Ye,Ke),function ui(Ye,Ke){Ke.valueAccessor.registerOnTouched(()=>{Ye._pendingTouched=!0,"blur"===Ye.updateOn&&Ye._pendingChange&&Pr(Ye,Ke),"submit"!==Ye.updateOn&&Ye.markAsTouched()})}(Ye,Ke),function en(Ye,Ke){if(Ke.valueAccessor.setDisabledState){const Ie=ft=>{Ke.valueAccessor.setDisabledState(ft)};Ye.registerOnDisabledChange(Ie),Ke._registerOnDestroy(()=>{Ye._unregisterOnDisabledChange(Ie)})}}(Ye,Ke)}function Or(Ye,Ke,Ie=!0){const ft=()=>{};Ke.valueAccessor&&(Ke.valueAccessor.registerOnChange(ft),Ke.valueAccessor.registerOnTouched(ft)),Qn(Ye,Ke),Ye&&(Ke._invokeOnDestroyCallbacks(),Ye._registerOnCollectionChange(()=>{}))}function pi(Ye,Ke){Ye.forEach(Ie=>{Ie.registerOnValidatorChange&&Ie.registerOnValidatorChange(Ke)})}function jn(Ye,Ke){const Ie=Ze(Ye);null!==Ke.validator?Ye.setValidators(Pe(Ie,Ke.validator)):"function"==typeof Ie&&Ye.setValidators([Ie]);const ft=ot(Ye);null!==Ke.asyncValidator?Ye.setAsyncValidators(Pe(ft,Ke.asyncValidator)):"function"==typeof ft&&Ye.setAsyncValidators([ft]);const Ot=()=>Ye.updateValueAndValidity();pi(Ke._rawValidators,Ot),pi(Ke._rawAsyncValidators,Ot)}function Qn(Ye,Ke){let Ie=!1;if(null!==Ye){if(null!==Ke.validator){const Ot=Ze(Ye);if(Array.isArray(Ot)&&Ot.length>0){const Wn=Ot.filter(Vn=>Vn!==Ke.validator);Wn.length!==Ot.length&&(Ie=!0,Ye.setValidators(Wn))}}if(null!==Ke.asyncValidator){const Ot=ot(Ye);if(Array.isArray(Ot)&&Ot.length>0){const Wn=Ot.filter(Vn=>Vn!==Ke.asyncValidator);Wn.length!==Ot.length&&(Ie=!0,Ye.setAsyncValidators(Wn))}}}const ft=()=>{};return pi(Ke._rawValidators,ft),pi(Ke._rawAsyncValidators,ft),Ie}function Pr(Ye,Ke){Ye._pendingDirty&&Ye.markAsDirty(),Ye.setValue(Ye._pendingValue,{emitModelToViewChange:!1}),Ke.viewToModelUpdate(Ye._pendingValue),Ye._pendingChange=!1}function Rt(Ye,Ke){jn(Ye,Ke)}function Yn(Ye,Ke){if(!Ye.hasOwnProperty("model"))return!1;const Ie=Ye.model;return!!Ie.isFirstChange()||!Object.is(Ke,Ie.currentValue)}function Mr(Ye,Ke){Ye._syncPendingControls(),Ke.forEach(Ie=>{const ft=Ie.control;"submit"===ft.updateOn&&ft._pendingChange&&(Ie.viewToModelUpdate(ft._pendingValue),ft._pendingChange=!1)})}function zn(Ye,Ke){if(!Ke)return null;let Ie,ft,Ot;return Array.isArray(Ke),Ke.forEach(Wn=>{Wn.constructor===I?Ie=Wn:function Tr(Ye){return Object.getPrototypeOf(Ye.constructor)===_}(Wn)?ft=Wn:Ot=Wn}),Ot||ft||Ie||null}const un={provide:nt,useExisting:(0,n.forwardRef)(()=>z)},U=Promise.resolve();let z=(()=>{class Ye extends nt{constructor(Ie,ft,Ot){super(),this.callSetDisabledState=Ot,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new sr({},Oe(Ie),_e(ft))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ie){U.then(()=>{const ft=this._findContainer(Ie.path);Ie.control=ft.registerControl(Ie.name,Ie.control),er(Ie.control,Ie,this.callSetDisabledState),Ie.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Ie)})}getControl(Ie){return this.form.get(Ie.path)}removeControl(Ie){U.then(()=>{const ft=this._findContainer(Ie.path);ft&&ft.removeControl(Ie.name),this._directives.delete(Ie)})}addFormGroup(Ie){U.then(()=>{const ft=this._findContainer(Ie.path),Ot=new sr({});Rt(Ot,Ie),ft.registerControl(Ie.name,Ot),Ot.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ie){U.then(()=>{const ft=this._findContainer(Ie.path);ft&&ft.removeControl(Ie.name)})}getFormGroup(Ie){return this.form.get(Ie.path)}updateModel(Ie,ft){U.then(()=>{this.form.get(Ie.path).setValue(ft)})}setValue(Ie){this.control.setValue(Ie)}onSubmit(Ie){return this.submitted=!0,Mr(this.form,this._directives),this.ngSubmit.emit(Ie),"dialog"===Ie?.target?.method}onReset(){this.resetForm()}resetForm(Ie=void 0){this.form.reset(Ie),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Ie){return Ie.pop(),Ie.length?this.form.get(Ie):this.form}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("submit",function(Vn){return Ot.onSubmit(Vn)})("reset",function(){return Ot.onReset()})},inputs:{options:[n.\u0275\u0275InputFlags.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([un]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();function ae(Ye,Ke){const Ie=Ye.indexOf(Ke);Ie>-1&&Ye.splice(Ie,1)}function Fe(Ye){return"object"==typeof Ye&&null!==Ye&&2===Object.keys(Ye).length&&"value"in Ye&&"disabled"in Ye}const Ae=class extends Br{constructor(Ke=null,Ie,ft){super(xt(Ie),bn(ft,Ie)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ke),this._setUpdateStrategy(Ie),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rn(Ie)&&(Ie.nonNullable||Ie.initialValueIsDefault)&&(this.defaultValue=Fe(Ke)?Ke.value:Ke)}setValue(Ke,Ie={}){this.value=this._pendingValue=Ke,this._onChange.length&&!1!==Ie.emitModelToViewChange&&this._onChange.forEach(ft=>ft(this.value,!1!==Ie.emitViewToModelChange)),this.updateValueAndValidity(Ie)}patchValue(Ke,Ie={}){this.setValue(Ke,Ie)}reset(Ke=this.defaultValue,Ie={}){this._applyFormState(Ke),this.markAsPristine(Ie),this.markAsUntouched(Ie),this.setValue(this.value,Ie),this._pendingChange=!1}_updateValue(){}_anyControls(Ke){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ke){this._onChange.push(Ke)}_unregisterOnChange(Ke){ae(this._onChange,Ke)}registerOnDisabledChange(Ke){this._onDisabledChange.push(Ke)}_unregisterOnDisabledChange(Ke){ae(this._onDisabledChange,Ke)}_forEachChild(Ke){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(Ke){Fe(Ke)?(this.value=this._pendingValue=Ke.value,Ke.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ke}},fe=Ae,De=Ye=>Ye instanceof Ae;let rt=(()=>{class Ye extends nt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Jn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,features:[n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const mn={provide:nt,useExisting:(0,n.forwardRef)(()=>vn)};let vn=(()=>{class Ye extends rt{constructor(Ie,ft,Ot){super(),this.name="",this._parent=Ie,this._setValidators(ft),this._setAsyncValidators(Ot)}_checkParentType(){}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(nt,5),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","ngModelGroup",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([mn]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Cn={provide:Pt,useExisting:(0,n.forwardRef)(()=>Gt)},fn=Promise.resolve();let Gt=(()=>{class Ye extends Pt{constructor(Ie,ft,Ot,Wn,Vn,Wi){super(),this._changeDetectorRef=Vn,this.callSetDisabledState=Wi,this.control=new Ae,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=Ie,this._setValidators(ft),this._setAsyncValidators(Ot),this.valueAccessor=zn(0,Wn)}ngOnChanges(Ie){if(this._checkForErrors(),!this._registered||"name"in Ie){if(this._registered&&(this._checkName(),this.formDirective)){const ft=Ie.name.previousValue;this.formDirective.removeControl({name:ft,path:this._getPath(ft)})}this._setUpControl()}"isDisabled"in Ie&&this._updateDisabled(Ie),Yn(Ie,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(Ie){this.viewModel=Ie,this.update.emit(Ie)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){er(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()}_updateValue(Ie){fn.then(()=>{this.control.setValue(Ie,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ie){const ft=Ie.isDisabled.currentValue,Ot=0!==ft&&(0,n.booleanAttribute)(ft);fn.then(()=>{Ot&&!this.control.disabled?this.control.disable():!Ot&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ie){return this._parent?Jn(Ie,this._parent):[Ie]}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(nt,9),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"],options:[n.\u0275\u0275InputFlags.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([Cn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ye})(),Nn=(()=>{class Ye{static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return Ye})();const lr={provide:f,useExisting:(0,n.forwardRef)(()=>cr),multi:!0};let cr=(()=>{class Ye extends _{writeValue(Ie){this.setProperty("value",Ie??"")}registerOnChange(Ie){this.onChange=ft=>{Ie(""==ft?null:parseFloat(ft))}}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("input",function(Vn){return Ot.onChange(Vn.target.value)})("blur",function(){return Ot.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([lr]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Nr={provide:f,useExisting:(0,n.forwardRef)(()=>lo),multi:!0};let dt=(()=>{class Ye{constructor(){this._accessors=[]}add(Ie,ft){this._accessors.push([Ie,ft])}remove(Ie){for(let ft=this._accessors.length-1;ft>=0;--ft)if(this._accessors[ft][1]===Ie)return void this._accessors.splice(ft,1)}select(Ie){this._accessors.forEach(ft=>{this._isSameGroup(ft,Ie)&&ft[1]!==Ie&&ft[1].fireUncheck(Ie.value)})}_isSameGroup(Ie,ft){return!!Ie[0].control&&Ie[0]._parent===ft._control._parent&&Ie[1].name===ft.name}static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})(),lo=(()=>{class Ye extends _{constructor(Ie,ft,Ot,Wn){super(Ie,ft),this._registry=Ot,this._injector=Wn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(Sr,{optional:!0})??pr}ngOnInit(){this._control=this._injector.get(Pt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(Ie){this._state=Ie===this.value,this.setProperty("checked",this._state)}registerOnChange(Ie){this._fn=Ie,this.onChange=()=>{Ie(this.value),this._registry.select(this)}}setDisabledState(Ie){(this.setDisabledStateFired||Ie||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",Ie),this.setDisabledStateFired=!0}fireUncheck(Ie){this.writeValue(Ie)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(dt),n.\u0275\u0275directiveInject(n.Injector))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("change",function(){return Ot.onChange()})("blur",function(){return Ot.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Nr]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const vi={provide:f,useExisting:(0,n.forwardRef)(()=>_r),multi:!0};let _r=(()=>{class Ye extends _{writeValue(Ie){this.setProperty("value",parseFloat(Ie))}registerOnChange(Ie){this.onChange=ft=>{Ie(""==ft?null:parseFloat(ft))}}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("change",function(Vn){return Ot.onChange(Vn.target.value)})("input",function(Vn){return Ot.onChange(Vn.target.value)})("blur",function(){return Ot.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([vi]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const In=new n.InjectionToken(""),Gn={provide:Pt,useExisting:(0,n.forwardRef)(()=>si)};let si=(()=>{class Ye extends Pt{set isDisabled(Ie){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ie,ft,Ot,Wn,Vn){super(),this._ngModelWarningConfig=Wn,this.callSetDisabledState=Vn,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(Ie),this._setAsyncValidators(ft),this.valueAccessor=zn(0,Ot)}ngOnChanges(Ie){if(this._isControlChanged(Ie)){const ft=Ie.form.previousValue;ft&&Or(ft,this,!1),er(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Yn(Ie,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Or(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ie){this.viewModel=Ie,this.update.emit(Ie)}_isControlChanged(Ie){return Ie.hasOwnProperty("form")}static#t=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(In,8),n.\u0275\u0275directiveInject(Sr,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formControl",""]],inputs:{form:[n.\u0275\u0275InputFlags.None,"formControl","form"],isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Gn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ye})();const Ir={provide:nt,useExisting:(0,n.forwardRef)(()=>ai)};let ai=(()=>{class Ye extends nt{constructor(Ie,ft,Ot){super(),this.callSetDisabledState=Ot,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(Ie),this._setAsyncValidators(ft)}ngOnChanges(Ie){this._checkFormPresent(),Ie.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Qn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ie){const ft=this.form.get(Ie.path);return er(ft,Ie,this.callSetDisabledState),ft.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ie),ft}getControl(Ie){return this.form.get(Ie.path)}removeControl(Ie){Or(Ie.control||null,Ie,!1),function ur(Ye,Ke){const Ie=Ye.indexOf(Ke);Ie>-1&&Ye.splice(Ie,1)}(this.directives,Ie)}addFormGroup(Ie){this._setUpFormContainer(Ie)}removeFormGroup(Ie){this._cleanUpFormContainer(Ie)}getFormGroup(Ie){return this.form.get(Ie.path)}addFormArray(Ie){this._setUpFormContainer(Ie)}removeFormArray(Ie){this._cleanUpFormContainer(Ie)}getFormArray(Ie){return this.form.get(Ie.path)}updateModel(Ie,ft){this.form.get(Ie.path).setValue(ft)}onSubmit(Ie){return this.submitted=!0,Mr(this.form,this.directives),this.ngSubmit.emit(Ie),"dialog"===Ie?.target?.method}onReset(){this.resetForm()}resetForm(Ie=void 0){this.form.reset(Ie),this.submitted=!1}_updateDomValue(){this.directives.forEach(Ie=>{const ft=Ie.control,Ot=this.form.get(Ie.path);ft!==Ot&&(Or(ft||null,Ie),De(Ot)&&(er(Ot,Ie,this.callSetDisabledState),Ie.control=Ot))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ie){const ft=this.form.get(Ie.path);Rt(ft,Ie),ft.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ie){if(this.form){const ft=this.form.get(Ie.path);ft&&function kt(Ye,Ke){return Qn(Ye,Ke)}(ft,Ie)&&ft.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){jn(this.form,this),this._oldForm&&Qn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formGroup",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("submit",function(Vn){return Ot.onSubmit(Vn)})("reset",function(){return Ot.onReset()})},inputs:{form:[n.\u0275\u0275InputFlags.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Ir]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ye})();const Fn={provide:nt,useExisting:(0,n.forwardRef)(()=>ti)};let ti=(()=>{class Ye extends rt{constructor(Ie,ft,Ot){super(),this.name=null,this._parent=Ie,this._setValidators(ft),this._setAsyncValidators(Ot)}_checkParentType(){Vi(this._parent)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(nt,13),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formGroupName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([Fn]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Zr={provide:nt,useExisting:(0,n.forwardRef)(()=>Xr)};let Xr=(()=>{class Ye extends nt{constructor(Ie,ft,Ot){super(),this.name=null,this._parent=Ie,this._setValidators(ft),this._setAsyncValidators(Ot)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Jn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Vi(this._parent)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(nt,13),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formArrayName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Zr]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();function Vi(Ye){return!(Ye instanceof ti||Ye instanceof ai||Ye instanceof Xr)}const hr={provide:Pt,useExisting:(0,n.forwardRef)(()=>Yi)};let Yi=(()=>{class Ye extends Pt{set isDisabled(Ie){}static#e=this._ngModelWarningSentOnce=!1;constructor(Ie,ft,Ot,Wn,Vn){super(),this._ngModelWarningConfig=Vn,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=Ie,this._setValidators(ft),this._setAsyncValidators(Ot),this.valueAccessor=zn(0,Wn)}ngOnChanges(Ie){this._added||this._setUpControl(),Yn(Ie,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ie){this.viewModel=Ie,this.update.emit(Ie)}get path(){return Jn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(nt,13),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(In,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","formControlName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formControlName","name"],isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([hr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Ye})();const ko={provide:f,useExisting:(0,n.forwardRef)(()=>zi),multi:!0};function go(Ye,Ke){return null==Ye?`${Ke}`:(Ke&&"object"==typeof Ke&&(Ke="Object"),`${Ye}: ${Ke}`.slice(0,50))}let zi=(()=>{class Ye extends _{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Ie){this._compareWith=Ie}writeValue(Ie){this.value=Ie;const Ot=go(this._getOptionId(Ie),Ie);this.setProperty("value",Ot)}registerOnChange(Ie){this.onChange=ft=>{this.value=this._getOptionValue(ft),Ie(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(Ie){for(const ft of this._optionMap.keys())if(this._compareWith(this._optionMap.get(ft),Ie))return ft;return null}_getOptionValue(Ie){const ft=function Jr(Ye){return Ye.split(":")[0]}(Ie);return this._optionMap.has(ft)?this._optionMap.get(ft):Ie}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("change",function(Vn){return Ot.onChange(Vn.target.value)})("blur",function(){return Ot.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ko]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),qi=(()=>{class Ye{constructor(Ie,ft,Ot){this._element=Ie,this._renderer=ft,this._select=Ot,this._select&&(this.id=this._select._registerOption())}set ngValue(Ie){null!=this._select&&(this._select._optionMap.set(this.id,Ie),this._setElementValue(go(this.id,Ie)),this._select.writeValue(this._select.value))}set value(Ie){this._setElementValue(Ie),this._select&&this._select.writeValue(this._select.value)}_setElementValue(Ie){this._renderer.setProperty(this._element.nativeElement,"value",Ie)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(zi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Ye})();const ro={provide:f,useExisting:(0,n.forwardRef)(()=>xi),multi:!0};function Rr(Ye,Ke){return null==Ye?`${Ke}`:("string"==typeof Ke&&(Ke=`'${Ke}'`),Ke&&"object"==typeof Ke&&(Ke="Object"),`${Ye}: ${Ke}`.slice(0,50))}let xi=(()=>{class Ye extends _{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Ie){this._compareWith=Ie}writeValue(Ie){let ft;if(this.value=Ie,Array.isArray(Ie)){const Ot=Ie.map(Wn=>this._getOptionId(Wn));ft=(Wn,Vn)=>{Wn._setSelected(Ot.indexOf(Vn.toString())>-1)}}else ft=(Ot,Wn)=>{Ot._setSelected(!1)};this._optionMap.forEach(ft)}registerOnChange(Ie){this.onChange=ft=>{const Ot=[],Wn=ft.selectedOptions;if(void 0!==Wn){const Vn=Wn;for(let Wi=0;Wi{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(ft,Ot){1&ft&&n.\u0275\u0275listener("change",function(Vn){return Ot.onChange(Vn.target)})("blur",function(){return Ot.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ro]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),qr=(()=>{class Ye{constructor(Ie,ft,Ot){this._element=Ie,this._renderer=ft,this._select=Ot,this._select&&(this.id=this._select._registerOption(this))}set ngValue(Ie){null!=this._select&&(this._value=Ie,this._setElementValue(Rr(this.id,Ie)),this._select.writeValue(this._select.value))}set value(Ie){this._select?(this._value=Ie,this._setElementValue(Rr(this.id,Ie)),this._select.writeValue(this._select.value)):this._setElementValue(Ie)}_setElementValue(Ie){this._renderer.setProperty(this._element.nativeElement,"value",Ie)}_setSelected(Ie){this._renderer.setProperty(this._element.nativeElement,"selected",Ie)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(ft){return new(ft||Ye)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(xi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Ye})();function ar(Ye){return"number"==typeof Ye?Ye:parseInt(Ye,10)}function yo(Ye){return"number"==typeof Ye?Ye:parseFloat(Ye)}let wi=(()=>{class Ye{constructor(){this._validator=re}ngOnChanges(Ie){if(this.inputName in Ie){const ft=this.normalizeInput(Ie[this.inputName].currentValue);this._enabled=this.enabled(ft),this._validator=this._enabled?this.createValidator(ft):re,this._onChange&&this._onChange()}}validate(Ie){return this._validator(Ie)}registerOnValidatorChange(Ie){this._onChange=Ie}enabled(Ie){return null!=Ie}static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,features:[n.\u0275\u0275NgOnChangesFeature]})}return Ye})();const yi={provide:T,useExisting:(0,n.forwardRef)(()=>Mo),multi:!0};let Mo=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ie=>yo(Ie),this.createValidator=Ie=>H(Ie)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("max",Ot._enabled?Ot.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([yi]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const po={provide:T,useExisting:(0,n.forwardRef)(()=>zr),multi:!0};let zr=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ie=>yo(Ie),this.createValidator=Ie=>O(Ie)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("min",Ot._enabled?Ot.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([po]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const bo={provide:T,useExisting:(0,n.forwardRef)(()=>Gr),multi:!0},Ni={provide:T,useExisting:(0,n.forwardRef)(()=>Lo),multi:!0};let Gr=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=Ie=>G}enabled(Ie){return Ie}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("required",Ot._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([bo]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),Lo=(()=>{class Ye extends Gr{constructor(){super(...arguments),this.createValidator=Ie=>te}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("required",Ot._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([Ni]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Oi={provide:T,useExisting:(0,n.forwardRef)(()=>Zi),multi:!0};let Zi=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=Ie=>ue}enabled(Ie){return Ie}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Oi]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Li={provide:T,useExisting:(0,n.forwardRef)(()=>Gi),multi:!0};let Gi=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=Ie=>ar(Ie),this.createValidator=Ie=>se(Ie)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("minlength",Ot._enabled?Ot.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([Li]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const $o={provide:T,useExisting:(0,n.forwardRef)(()=>Co),multi:!0};let Co=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=Ie=>ar(Ie),this.createValidator=Ie=>K(Ie)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("maxlength",Ot._enabled?Ot.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([$o]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})();const Ro={provide:T,useExisting:(0,n.forwardRef)(()=>wo),multi:!0};let wo=(()=>{class Ye extends wi{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=Ie=>Ie,this.createValidator=Ie=>Z(Ie)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(ft,Ot){2&ft&&n.\u0275\u0275attribute("pattern",Ot._enabled?Ot.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([Ro]),n.\u0275\u0275InheritDefinitionFeature]})}return Ye})(),rs=(()=>{class Ye{static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Ye})();class Ki extends Br{constructor(Ke,Ie,ft){super(xt(Ie),bn(ft,Ie)),this.controls=Ke,this._initObservables(),this._setUpdateStrategy(Ie),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ke){return this.controls[this._adjustIndex(Ke)]}push(Ke,Ie={}){this.controls.push(Ke),this._registerControl(Ke),this.updateValueAndValidity({emitEvent:Ie.emitEvent}),this._onCollectionChange()}insert(Ke,Ie,ft={}){this.controls.splice(Ke,0,Ie),this._registerControl(Ie),this.updateValueAndValidity({emitEvent:ft.emitEvent})}removeAt(Ke,Ie={}){let ft=this._adjustIndex(Ke);ft<0&&(ft=0),this.controls[ft]&&this.controls[ft]._registerOnCollectionChange(()=>{}),this.controls.splice(ft,1),this.updateValueAndValidity({emitEvent:Ie.emitEvent})}setControl(Ke,Ie,ft={}){let Ot=this._adjustIndex(Ke);Ot<0&&(Ot=0),this.controls[Ot]&&this.controls[Ot]._registerOnCollectionChange(()=>{}),this.controls.splice(Ot,1),Ie&&(this.controls.splice(Ot,0,Ie),this._registerControl(Ie)),this.updateValueAndValidity({emitEvent:ft.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ke,Ie={}){kr(this,0,Ke),Ke.forEach((ft,Ot)=>{nr(this,!1,Ot),this.at(Ot).setValue(ft,{onlySelf:!0,emitEvent:Ie.emitEvent})}),this.updateValueAndValidity(Ie)}patchValue(Ke,Ie={}){null!=Ke&&(Ke.forEach((ft,Ot)=>{this.at(Ot)&&this.at(Ot).patchValue(ft,{onlySelf:!0,emitEvent:Ie.emitEvent})}),this.updateValueAndValidity(Ie))}reset(Ke=[],Ie={}){this._forEachChild((ft,Ot)=>{ft.reset(Ke[Ot],{onlySelf:!0,emitEvent:Ie.emitEvent})}),this._updatePristine(Ie),this._updateTouched(Ie),this.updateValueAndValidity(Ie)}getRawValue(){return this.controls.map(Ke=>Ke.getRawValue())}clear(Ke={}){this.controls.length<1||(this._forEachChild(Ie=>Ie._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ke.emitEvent}))}_adjustIndex(Ke){return Ke<0?Ke+this.length:Ke}_syncPendingControls(){let Ke=this.controls.reduce((Ie,ft)=>!!ft._syncPendingControls()||Ie,!1);return Ke&&this.updateValueAndValidity({onlySelf:!0}),Ke}_forEachChild(Ke){this.controls.forEach((Ie,ft)=>{Ke(Ie,ft)})}_updateValue(){this.value=this.controls.filter(Ke=>Ke.enabled||this.disabled).map(Ke=>Ke.value)}_anyControls(Ke){return this.controls.some(Ie=>Ie.enabled&&Ke(Ie))}_setUpControls(){this._forEachChild(Ke=>this._registerControl(Ke))}_allControlsDisabled(){for(const Ke of this.controls)if(Ke.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ke){Ke.setParent(this),Ke._registerOnCollectionChange(this._onCollectionChange)}_find(Ke){return this.at(Ke)??null}}const uo=Ki,So=Ye=>Ye instanceof Ki;function cs(Ye){return!!Ye&&(void 0!==Ye.asyncValidators||void 0!==Ye.validators||void 0!==Ye.updateOn)}let co=(()=>{class Ye{constructor(){this.useNonNullable=!1}get nonNullable(){const Ie=new Ye;return Ie.useNonNullable=!0,Ie}group(Ie,ft=null){const Ot=this._reduceControls(Ie);let Wn={};return cs(ft)?Wn=ft:null!==ft&&(Wn.validators=ft.validator,Wn.asyncValidators=ft.asyncValidator),new sr(Ot,Wn)}record(Ie,ft=null){const Ot=this._reduceControls(Ie);return new Rn(Ot,ft)}control(Ie,ft,Ot){let Wn={};return this.useNonNullable?(cs(ft)?Wn=ft:(Wn.validators=ft,Wn.asyncValidators=Ot),new Ae(Ie,{...Wn,nonNullable:!0})):new Ae(Ie,ft,Ot)}array(Ie,ft,Ot){const Wn=Ie.map(Vn=>this._createControl(Vn));return new Ki(Wn,ft,Ot)}_reduceControls(Ie){const ft={};return Object.keys(Ie).forEach(Ot=>{ft[Ot]=this._createControl(Ie[Ot])}),ft}_createControl(Ie){return Ie instanceof Ae||Ie instanceof Br?Ie:Array.isArray(Ie)?this.control(Ie[0],Ie.length>1?Ie[1]:null,Ie.length>2?Ie[2]:null):this.control(Ie)}static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})(),Fo=(()=>{class Ye{static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:()=>(0,n.inject)(co).nonNullable,providedIn:"root"})}return Ye})(),Do=(()=>{class Ye extends co{group(Ie,ft=null){return super.group(Ie,ft)}control(Ie,ft,Ot){return super.control(Ie,ft,Ot)}array(Ie,ft,Ot){return super.array(Ie,ft,Ot)}static#e=this.\u0275fac=(()=>{let Ie;return function(Ot){return(Ie||(Ie=n.\u0275\u0275getInheritedFactory(Ye)))(Ot||Ye)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})();const Ko=new n.Version("17.2.3");let hs=(()=>{class Ye{static withConfig(Ie){return{ngModule:Ye,providers:[{provide:Sr,useValue:Ie.callSetDisabledState??pr}]}}static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[rs]})}return Ye})(),Qo=(()=>{class Ye{static withConfig(Ie){return{ngModule:Ye,providers:[{provide:In,useValue:Ie.warnOnNgModelWithFormControl??"always"},{provide:Sr,useValue:Ie.callSetDisabledState??pr}]}}static#e=this.\u0275fac=function(ft){return new(ft||Ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[rs]})}return Ye})()},44556:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>Cs,NoopAnimationsModule:()=>io,provideAnimations:()=>os,provideNoopAnimations:()=>fs,\u0275InjectableAnimationEngine:()=>Xi});var n=o(54496),i=o(14476),d=function(et){return et[et.State=0]="State",et[et.Transition=1]="Transition",et[et.Sequence=2]="Sequence",et[et.Group=3]="Group",et[et.Animate=4]="Animate",et[et.Keyframes=5]="Keyframes",et[et.Style=6]="Style",et[et.Trigger=7]="Trigger",et[et.Reference=8]="Reference",et[et.AnimateChild=9]="AnimateChild",et[et.AnimateRef=10]="AnimateRef",et[et.Query=11]="Query",et[et.Stagger=12]="Stagger",et}(d||{});const a="*";function g(et){return{type:d.Style,styles:et,offset:null}}class x{constructor(ne=0,ge=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ne+ge}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}onStart(ne){this._originalOnStartFns.push(ne),this._onStartFns.push(ne)}onDone(ne){this._originalOnDoneFns.push(ne),this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ne=>ne()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ne=>ne()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ne){this._position=this.totalTime?ne*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ne){const ge="start"==ne?this._onStartFns:this._onDoneFns;ge.forEach(Le=>Le()),ge.length=0}}class N{constructor(ne){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ne;let ge=0,Le=0,qe=0;const Dt=this.players.length;0==Dt?queueMicrotask(()=>this._onFinish()):this.players.forEach(Nt=>{Nt.onDone(()=>{++ge==Dt&&this._onFinish()}),Nt.onDestroy(()=>{++Le==Dt&&this._onDestroy()}),Nt.onStart(()=>{++qe==Dt&&this._onStart()})}),this.totalTime=this.players.reduce((Nt,Ht)=>Math.max(Nt,Ht.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}init(){this.players.forEach(ne=>ne.init())}onStart(ne){this._onStartFns.push(ne)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ne=>ne()),this._onStartFns=[])}onDone(ne){this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ne=>ne.play())}pause(){this.players.forEach(ne=>ne.pause())}restart(){this.players.forEach(ne=>ne.restart())}finish(){this._onFinish(),this.players.forEach(ne=>ne.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ne=>ne.destroy()),this._onDestroyFns.forEach(ne=>ne()),this._onDestroyFns=[])}reset(){this.players.forEach(ne=>ne.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ne){const ge=ne*this.totalTime;this.players.forEach(Le=>{const qe=Le.totalTime?Math.min(1,ge/Le.totalTime):1;Le.setPosition(qe)})}getPosition(){const ne=this.players.reduce((ge,Le)=>null===ge||Le.totalTime>ge.totalTime?Le:ge,null);return null!=ne?ne.getPosition():0}beforeDestroy(){this.players.forEach(ne=>{ne.beforeDestroy&&ne.beforeDestroy()})}triggerCallback(ne){const ge="start"==ne?this._onStartFns:this._onDoneFns;ge.forEach(Le=>Le()),ge.length=0}}function G(et){return new n.\u0275RuntimeError(3e3,!1)}function $e(et){switch(et.length){case 0:return new x;case 1:return et[0];default:return new N(et)}}function je(et,ne,ge=new Map,Le=new Map){const qe=[],Dt=[];let Nt=-1,Ht=null;if(ne.forEach(Wt=>{const yn=Wt.get("offset"),$n=yn==Nt,Kn=$n&&Ht||new Map;Wt.forEach((Wr,fr)=>{let tr=fr,vr=Wr;if("offset"!==fr)switch(tr=et.normalizePropertyName(tr,qe),vr){case"!":vr=ge.get(fr);break;case a:vr=Le.get(fr);break;default:vr=et.normalizeStyleValue(fr,tr,vr,qe)}Kn.set(tr,vr)}),$n||Dt.push(Kn),Ht=Kn,Nt=yn}),qe.length)throw function Xe(et){return new n.\u0275RuntimeError(3502,!1)}();return Dt}function gt(et,ne,ge,Le){switch(ne){case"start":et.onStart(()=>Le(ge&&He(ge,"start",et)));break;case"done":et.onDone(()=>Le(ge&&He(ge,"done",et)));break;case"destroy":et.onDestroy(()=>Le(ge&&He(ge,"destroy",et)))}}function He(et,ne,ge){const Dt=vt(et.element,et.triggerName,et.fromState,et.toState,ne||et.phaseName,ge.totalTime??et.totalTime,!!ge.disabled),Nt=et._data;return null!=Nt&&(Dt._data=Nt),Dt}function vt(et,ne,ge,Le,qe="",Dt=0,Nt){return{element:et,triggerName:ne,fromState:ge,toState:Le,phaseName:qe,totalTime:Dt,disabled:!!Nt}}function ut(et,ne,ge){let Le=et.get(ne);return Le||et.set(ne,Le=ge),Le}function wt(et){const ne=et.indexOf(":");return[et.substring(1,ne),et.slice(ne+1)]}const st=typeof document>"u"?null:document.documentElement;function zt(et){const ne=et.parentNode||et.host||null;return ne===st?null:ne}let It=null,Yt=!1;function St(et,ne){for(;ne;){if(ne===et)return!0;ne=zt(ne)}return!1}function xt(et,ne,ge){if(ge)return Array.from(et.querySelectorAll(ne));const Le=et.querySelector(ne);return Le?[Le]:[]}let bn=(()=>{class et{validateStyleProperty(ge){return function Xt(et){It||(It=function $t(){return typeof document<"u"?document.body:null}()||{},Yt=!!It.style&&"WebkitAppearance"in It.style);let ne=!0;return It.style&&!function pt(et){return"ebkit"==et.substring(1,6)}(et)&&(ne=et in It.style,!ne&&Yt&&(ne="Webkit"+et.charAt(0).toUpperCase()+et.slice(1)in It.style)),ne}(ge)}matchesElement(ge,Le){return!1}containsElement(ge,Le){return St(ge,Le)}getParentElement(ge){return zt(ge)}query(ge,Le,qe){return xt(ge,Le,qe)}computeStyle(ge,Le,qe){return qe||""}animate(ge,Le,qe,Dt,Nt,Ht=[],Wt){return new x(qe,Dt)}static#e=this.\u0275fac=function(Le){return new(Le||et)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac})}return et})();class Tn{static#e=this.NOOP=new bn}class rn{}const kr=1e3,Er="ng-enter",br="ng-leave",qn="ng-trigger",Rn=".ng-trigger",oi="ng-animating",Sr=".ng-animating";function pr(et){if("number"==typeof et)return et;const ne=et.match(/^(-?[\.\d]+)(m?s)/);return!ne||ne.length<2?0:Jn(parseFloat(ne[1]),ne[2])}function Jn(et,ne){return"s"===ne?et*kr:et}function er(et,ne,ge){return et.hasOwnProperty("duration")?et:function Or(et,ne,ge){let qe,Dt=0,Nt="";if("string"==typeof et){const Ht=et.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ht)return ne.push(G()),{duration:0,delay:0,easing:""};qe=Jn(parseFloat(Ht[1]),Ht[2]);const Wt=Ht[3];null!=Wt&&(Dt=Jn(parseFloat(Wt),Ht[4]));const yn=Ht[5];yn&&(Nt=yn)}else qe=et;if(!ge){let Ht=!1,Wt=ne.length;qe<0&&(ne.push(function te(){return new n.\u0275RuntimeError(3100,!1)}()),Ht=!0),Dt<0&&(ne.push(function ue(){return new n.\u0275RuntimeError(3101,!1)}()),Ht=!0),Ht&&ne.splice(Wt,0,G())}return{duration:qe,delay:Dt,easing:Nt}}(et,ne,ge)}function jn(et,ne,ge){ne.forEach((Le,qe)=>{const Dt=on(qe);ge&&!ge.has(qe)&&ge.set(qe,et.style[Dt]),et.style[Dt]=Le})}function Qn(et,ne){ne.forEach((ge,Le)=>{const qe=on(Le);et.style[qe]=""})}function or(et){return Array.isArray(et)?1==et.length?et[0]:function c(et,ne=null){return{type:d.Sequence,steps:et,options:ne}}(et):et}const Pr=new RegExp("{{\\s*(.+?)\\s*}}","g");function ct(et){let ne=[];if("string"==typeof et){let ge;for(;ge=Pr.exec(et);)ne.push(ge[1]);Pr.lastIndex=0}return ne}function Rt(et,ne,ge){const Le=`${et}`,qe=Le.replace(Pr,(Dt,Nt)=>{let Ht=ne[Nt];return null==Ht&&(ge.push(function K(et){return new n.\u0275RuntimeError(3003,!1)}()),Ht=""),Ht.toString()});return qe==Le?et:qe}const kt=/-+([a-z0-9])/g;function on(et){return et.replace(kt,(...ne)=>ne[1].toUpperCase())}function Zn(et,ne,ge){switch(ne.type){case d.Trigger:return et.visitTrigger(ne,ge);case d.State:return et.visitState(ne,ge);case d.Transition:return et.visitTransition(ne,ge);case d.Sequence:return et.visitSequence(ne,ge);case d.Group:return et.visitGroup(ne,ge);case d.Animate:return et.visitAnimate(ne,ge);case d.Keyframes:return et.visitKeyframes(ne,ge);case d.Style:return et.visitStyle(ne,ge);case d.Reference:return et.visitReference(ne,ge);case d.AnimateChild:return et.visitAnimateChild(ne,ge);case d.AnimateRef:return et.visitAnimateRef(ne,ge);case d.Query:return et.visitQuery(ne,ge);case d.Stagger:return et.visitStagger(ne,ge);default:throw function Z(et){return new n.\u0275RuntimeError(3004,!1)}()}}function Yn(et,ne){return window.getComputedStyle(et)[ne]}const Tr=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"]);class Mr extends rn{normalizePropertyName(ne,ge){return on(ne)}normalizeStyleValue(ne,ge,Le,qe){let Dt="";const Nt=Le.toString().trim();if(Tr.has(ge)&&0!==Le&&"0"!==Le)if("number"==typeof Le)Dt="px";else{const Ht=Le.match(/^[+-]?[\d\.]+([a-z]*)$/);Ht&&0==Ht[1].length&&qe.push(function re(et,ne){return new n.\u0275RuntimeError(3005,!1)}())}return Nt+Dt}}const ae="*";const De=new Set(["true","1"]),rt=new Set(["false","0"]);function _t(et,ne){const ge=De.has(et)||rt.has(et),Le=De.has(ne)||rt.has(ne);return(qe,Dt)=>{let Nt=et==ae||et==qe,Ht=ne==ae||ne==Dt;return!Nt&&ge&&"boolean"==typeof qe&&(Nt=qe?De.has(et):rt.has(et)),!Ht&&Le&&"boolean"==typeof Dt&&(Ht=Dt?De.has(ne):rt.has(ne)),Nt&&Ht}}const Bt=new RegExp("s*:selfs*,?","g");function Jt(et,ne,ge,Le){return new vn(et).build(ne,ge,Le)}class vn{constructor(ne){this._driver=ne}build(ne,ge,Le){const qe=new Gt(ge);return this._resetContextStyleTimingState(qe),Zn(this,or(ne),qe)}_resetContextStyleTimingState(ne){ne.currentQuerySelector="",ne.collectedStyles=new Map,ne.collectedStyles.set("",new Map),ne.currentTime=0}visitTrigger(ne,ge){let Le=ge.queryCount=0,qe=ge.depCount=0;const Dt=[],Nt=[];return"@"==ne.name.charAt(0)&&ge.errors.push(function J(){return new n.\u0275RuntimeError(3006,!1)}()),ne.definitions.forEach(Ht=>{if(this._resetContextStyleTimingState(ge),Ht.type==d.State){const Wt=Ht,yn=Wt.name;yn.toString().split(/\s*,\s*/).forEach($n=>{Wt.name=$n,Dt.push(this.visitState(Wt,ge))}),Wt.name=yn}else if(Ht.type==d.Transition){const Wt=this.visitTransition(Ht,ge);Le+=Wt.queryCount,qe+=Wt.depCount,Nt.push(Wt)}else ge.errors.push(function Y(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:d.Trigger,name:ne.name,states:Dt,transitions:Nt,queryCount:Le,depCount:qe,options:null}}visitState(ne,ge){const Le=this.visitStyle(ne.styles,ge),qe=ne.options&&ne.options.params||null;if(Le.containsDynamicStyles){const Dt=new Set,Nt=qe||{};Le.styles.forEach(Ht=>{Ht instanceof Map&&Ht.forEach(Wt=>{ct(Wt).forEach(yn=>{Nt.hasOwnProperty(yn)||Dt.add(yn)})})}),Dt.size&&ge.errors.push(function $(et,ne){return new n.\u0275RuntimeError(3008,!1)}(0,Dt.values()))}return{type:d.State,name:ne.name,style:Le,options:qe?{params:qe}:null}}visitTransition(ne,ge){ge.queryCount=0,ge.depCount=0;const Le=Zn(this,or(ne.animation),ge),qe=function Fe(et,ne){const ge=[];return"string"==typeof et?et.split(/\s*,\s*/).forEach(Le=>function Ae(et,ne,ge){if(":"==et[0]){const Wt=function fe(et,ne){switch(et){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(ge,Le)=>parseFloat(Le)>parseFloat(ge);case":decrement":return(ge,Le)=>parseFloat(Le) *"}}(et,ge);if("function"==typeof Wt)return void ne.push(Wt);et=Wt}const Le=et.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Le||Le.length<4)return ge.push(function ot(et){return new n.\u0275RuntimeError(3015,!1)}()),ne;const qe=Le[1],Dt=Le[2],Nt=Le[3];ne.push(_t(qe,Nt)),"<"==Dt[0]&&(qe!=ae||Nt!=ae)&&ne.push(_t(Nt,qe))}(Le,ge,ne)):ge.push(et),ge}(ne.expr,ge.errors);return{type:d.Transition,matchers:qe,animation:Le,queryCount:ge.queryCount,depCount:ge.depCount,options:cr(ne.options)}}visitSequence(ne,ge){return{type:d.Sequence,steps:ne.steps.map(Le=>Zn(this,Le,ge)),options:cr(ne.options)}}visitGroup(ne,ge){const Le=ge.currentTime;let qe=0;const Dt=ne.steps.map(Nt=>{ge.currentTime=Le;const Ht=Zn(this,Nt,ge);return qe=Math.max(qe,ge.currentTime),Ht});return ge.currentTime=qe,{type:d.Group,steps:Dt,options:cr(ne.options)}}visitAnimate(ne,ge){const Le=function lr(et,ne){if(et.hasOwnProperty("duration"))return et;if("number"==typeof et)return Nr(er(et,ne).duration,0,"");const ge=et;if(ge.split(/\s+/).some(Dt=>"{"==Dt.charAt(0)&&"{"==Dt.charAt(1))){const Dt=Nr(0,0,"");return Dt.dynamic=!0,Dt.strValue=ge,Dt}const qe=er(ge,ne);return Nr(qe.duration,qe.delay,qe.easing)}(ne.timings,ge.errors);ge.currentAnimateTimings=Le;let qe,Dt=ne.styles?ne.styles:g({});if(Dt.type==d.Keyframes)qe=this.visitKeyframes(Dt,ge);else{let Nt=ne.styles,Ht=!1;if(!Nt){Ht=!0;const yn={};Le.easing&&(yn.easing=Le.easing),Nt=g(yn)}ge.currentTime+=Le.duration+Le.delay;const Wt=this.visitStyle(Nt,ge);Wt.isEmptyStep=Ht,qe=Wt}return ge.currentAnimateTimings=null,{type:d.Animate,timings:Le,style:qe,options:null}}visitStyle(ne,ge){const Le=this._makeStyleAst(ne,ge);return this._validateStyleAst(Le,ge),Le}_makeStyleAst(ne,ge){const Le=[],qe=Array.isArray(ne.styles)?ne.styles:[ne.styles];for(let Ht of qe)"string"==typeof Ht?Ht===a?Le.push(Ht):ge.errors.push(new n.\u0275RuntimeError(3002,!1)):Le.push(new Map(Object.entries(Ht)));let Dt=!1,Nt=null;return Le.forEach(Ht=>{if(Ht instanceof Map&&(Ht.has("easing")&&(Nt=Ht.get("easing"),Ht.delete("easing")),!Dt))for(let Wt of Ht.values())if(Wt.toString().indexOf("{{")>=0){Dt=!0;break}}),{type:d.Style,styles:Le,easing:Nt,offset:ne.offset,containsDynamicStyles:Dt,options:null}}_validateStyleAst(ne,ge){const Le=ge.currentAnimateTimings;let qe=ge.currentTime,Dt=ge.currentTime;Le&&Dt>0&&(Dt-=Le.duration+Le.delay),ne.styles.forEach(Nt=>{"string"!=typeof Nt&&Nt.forEach((Ht,Wt)=>{const yn=ge.collectedStyles.get(ge.currentQuerySelector),$n=yn.get(Wt);let Kn=!0;$n&&(Dt!=qe&&Dt>=$n.startTime&&qe<=$n.endTime&&(ge.errors.push(function we(et,ne,ge,Le,qe){return new n.\u0275RuntimeError(3010,!1)}()),Kn=!1),Dt=$n.startTime),Kn&&yn.set(Wt,{startTime:Dt,endTime:qe}),ge.options&&function ui(et,ne,ge){const Le=ne.params||{},qe=ct(et);qe.length&&qe.forEach(Dt=>{Le.hasOwnProperty(Dt)||ge.push(function se(et){return new n.\u0275RuntimeError(3001,!1)}())})}(Ht,ge.options,ge.errors)})})}visitKeyframes(ne,ge){const Le={type:d.Keyframes,styles:[],options:null};if(!ge.currentAnimateTimings)return ge.errors.push(function ye(){return new n.\u0275RuntimeError(3011,!1)}()),Le;let Dt=0;const Nt=[];let Ht=!1,Wt=!1,yn=0;const $n=ne.steps.map(Ai=>{const ji=this._makeStyleAst(Ai,ge);let Ti=null!=ji.offset?ji.offset:function Nn(et){if("string"==typeof et)return null;let ne=null;if(Array.isArray(et))et.forEach(ge=>{if(ge instanceof Map&&ge.has("offset")){const Le=ge;ne=parseFloat(Le.get("offset")),Le.delete("offset")}});else if(et instanceof Map&&et.has("offset")){const ge=et;ne=parseFloat(ge.get("offset")),ge.delete("offset")}return ne}(ji.styles),Ji=0;return null!=Ti&&(Dt++,Ji=ji.offset=Ti),Wt=Wt||Ji<0||Ji>1,Ht=Ht||Ji0&&Dt{const Ti=Wr>0?ji==fr?1:Wr*ji:Nt[ji],Ji=Ti*mi;ge.currentTime=tr+vr.delay+Ji,vr.duration=Ji,this._validateStyleAst(Ai,ge),Ai.offset=Ti,Le.styles.push(Ai)}),Le}visitReference(ne,ge){return{type:d.Reference,animation:Zn(this,or(ne.animation),ge),options:cr(ne.options)}}visitAnimateChild(ne,ge){return ge.depCount++,{type:d.AnimateChild,options:cr(ne.options)}}visitAnimateRef(ne,ge){return{type:d.AnimateRef,animation:this.visitReference(ne.animation,ge),options:cr(ne.options)}}visitQuery(ne,ge){const Le=ge.currentQuerySelector,qe=ne.options||{};ge.queryCount++,ge.currentQuery=ne;const[Dt,Nt]=function Cn(et){const ne=!!et.split(/\s*,\s*/).find(ge=>":self"==ge);return ne&&(et=et.replace(Bt,"")),et=et.replace(/@\*/g,Rn).replace(/@\w+/g,ge=>Rn+"-"+ge.slice(1)).replace(/:animating/g,Sr),[et,ne]}(ne.selector);ge.currentQuerySelector=Le.length?Le+" "+Dt:Dt,ut(ge.collectedStyles,ge.currentQuerySelector,new Map);const Ht=Zn(this,or(ne.animation),ge);return ge.currentQuery=null,ge.currentQuerySelector=Le,{type:d.Query,selector:Dt,limit:qe.limit||0,optional:!!qe.optional,includeSelf:Nt,animation:Ht,originalSelector:ne.selector,options:cr(ne.options)}}visitStagger(ne,ge){ge.currentQuery||ge.errors.push(function Pe(){return new n.\u0275RuntimeError(3013,!1)}());const Le="full"===ne.timings?{duration:0,delay:0,easing:"full"}:er(ne.timings,ge.errors,!0);return{type:d.Stagger,animation:Zn(this,or(ne.animation),ge),timings:Le,options:null}}}class Gt{constructor(ne){this.errors=ne,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 cr(et){return et?(et={...et}).params&&(et.params=function fn(et){return et?{...et}:null}(et.params)):et={},et}function Nr(et,ne,ge){return{duration:et,delay:ne,easing:ge}}function Lr(et,ne,ge,Le,qe,Dt,Nt=null,Ht=!1){return{type:1,element:et,keyframes:ne,preStyleProps:ge,postStyleProps:Le,duration:qe,delay:Dt,totalTime:qe+Dt,easing:Nt,subTimeline:Ht}}class dt{constructor(){this._map=new Map}get(ne){return this._map.get(ne)||[]}append(ne,ge){let Le=this._map.get(ne);Le||this._map.set(ne,Le=[]),Le.push(...ge)}has(ne){return this._map.has(ne)}clear(){this._map.clear()}}const _r=new RegExp(":enter","g"),Gn=new RegExp(":leave","g");function si(et,ne,ge,Le,qe,Dt=new Map,Nt=new Map,Ht,Wt,yn=[]){return(new Ir).buildKeyframes(et,ne,ge,Le,qe,Dt,Nt,Ht,Wt,yn)}class Ir{buildKeyframes(ne,ge,Le,qe,Dt,Nt,Ht,Wt,yn,$n=[]){yn=yn||new dt;const Kn=new Fn(ne,ge,yn,qe,Dt,$n,[]);Kn.options=Wt;const Wr=Wt.delay?pr(Wt.delay):0;Kn.currentTimeline.delayNextStep(Wr),Kn.currentTimeline.setStyles([Nt],null,Kn.errors,Wt),Zn(this,Le,Kn);const fr=Kn.timelines.filter(tr=>tr.containsAnimation());if(fr.length&&Ht.size){let tr;for(let vr=fr.length-1;vr>=0;vr--){const mi=fr[vr];if(mi.element===ge){tr=mi;break}}tr&&!tr.allowOnlyTimelineStyles()&&tr.setStyles([Ht],null,Kn.errors,Wt)}return fr.length?fr.map(tr=>tr.buildKeyframes()):[Lr(ge,[],[],[],0,Wr,"",!1)]}visitTrigger(ne,ge){}visitState(ne,ge){}visitTransition(ne,ge){}visitAnimateChild(ne,ge){const Le=ge.subInstructions.get(ge.element);if(Le){const qe=ge.createSubContext(ne.options),Dt=ge.currentTimeline.currentTime,Nt=this._visitSubInstructions(Le,qe,qe.options);Dt!=Nt&&ge.transformIntoNewTimeline(Nt)}ge.previousNode=ne}visitAnimateRef(ne,ge){const Le=ge.createSubContext(ne.options);Le.transformIntoNewTimeline(),this._applyAnimationRefDelays([ne.options,ne.animation.options],ge,Le),this.visitReference(ne.animation,Le),ge.transformIntoNewTimeline(Le.currentTimeline.currentTime),ge.previousNode=ne}_applyAnimationRefDelays(ne,ge,Le){for(const qe of ne){const Dt=qe?.delay;if(Dt){const Nt="number"==typeof Dt?Dt:pr(Rt(Dt,qe?.params??{},ge.errors));Le.delayNextStep(Nt)}}}_visitSubInstructions(ne,ge,Le){let Dt=ge.currentTimeline.currentTime;const Nt=null!=Le.duration?pr(Le.duration):null,Ht=null!=Le.delay?pr(Le.delay):null;return 0!==Nt&&ne.forEach(Wt=>{const yn=ge.appendInstructionToTimeline(Wt,Nt,Ht);Dt=Math.max(Dt,yn.duration+yn.delay)}),Dt}visitReference(ne,ge){ge.updateOptions(ne.options,!0),Zn(this,ne.animation,ge),ge.previousNode=ne}visitSequence(ne,ge){const Le=ge.subContextCount;let qe=ge;const Dt=ne.options;if(Dt&&(Dt.params||Dt.delay)&&(qe=ge.createSubContext(Dt),qe.transformIntoNewTimeline(),null!=Dt.delay)){qe.previousNode.type==d.Style&&(qe.currentTimeline.snapshotCurrentStyles(),qe.previousNode=ai);const Nt=pr(Dt.delay);qe.delayNextStep(Nt)}ne.steps.length&&(ne.steps.forEach(Nt=>Zn(this,Nt,qe)),qe.currentTimeline.applyStylesToKeyframe(),qe.subContextCount>Le&&qe.transformIntoNewTimeline()),ge.previousNode=ne}visitGroup(ne,ge){const Le=[];let qe=ge.currentTimeline.currentTime;const Dt=ne.options&&ne.options.delay?pr(ne.options.delay):0;ne.steps.forEach(Nt=>{const Ht=ge.createSubContext(ne.options);Dt&&Ht.delayNextStep(Dt),Zn(this,Nt,Ht),qe=Math.max(qe,Ht.currentTimeline.currentTime),Le.push(Ht.currentTimeline)}),Le.forEach(Nt=>ge.currentTimeline.mergeTimelineCollectedStyles(Nt)),ge.transformIntoNewTimeline(qe),ge.previousNode=ne}_visitTiming(ne,ge){if(ne.dynamic){const Le=ne.strValue;return er(ge.params?Rt(Le,ge.params,ge.errors):Le,ge.errors)}return{duration:ne.duration,delay:ne.delay,easing:ne.easing}}visitAnimate(ne,ge){const Le=ge.currentAnimateTimings=this._visitTiming(ne.timings,ge),qe=ge.currentTimeline;Le.delay&&(ge.incrementTime(Le.delay),qe.snapshotCurrentStyles());const Dt=ne.style;Dt.type==d.Keyframes?this.visitKeyframes(Dt,ge):(ge.incrementTime(Le.duration),this.visitStyle(Dt,ge),qe.applyStylesToKeyframe()),ge.currentAnimateTimings=null,ge.previousNode=ne}visitStyle(ne,ge){const Le=ge.currentTimeline,qe=ge.currentAnimateTimings;!qe&&Le.hasCurrentStyleProperties()&&Le.forwardFrame();const Dt=qe&&qe.easing||ne.easing;ne.isEmptyStep?Le.applyEmptyStep(Dt):Le.setStyles(ne.styles,Dt,ge.errors,ge.options),ge.previousNode=ne}visitKeyframes(ne,ge){const Le=ge.currentAnimateTimings,qe=ge.currentTimeline.duration,Dt=Le.duration,Ht=ge.createSubContext().currentTimeline;Ht.easing=Le.easing,ne.styles.forEach(Wt=>{Ht.forwardTime((Wt.offset||0)*Dt),Ht.setStyles(Wt.styles,Wt.easing,ge.errors,ge.options),Ht.applyStylesToKeyframe()}),ge.currentTimeline.mergeTimelineCollectedStyles(Ht),ge.transformIntoNewTimeline(qe+Dt),ge.previousNode=ne}visitQuery(ne,ge){const Le=ge.currentTimeline.currentTime,qe=ne.options||{},Dt=qe.delay?pr(qe.delay):0;Dt&&(ge.previousNode.type===d.Style||0==Le&&ge.currentTimeline.hasCurrentStyleProperties())&&(ge.currentTimeline.snapshotCurrentStyles(),ge.previousNode=ai);let Nt=Le;const Ht=ge.invokeQuery(ne.selector,ne.originalSelector,ne.limit,ne.includeSelf,!!qe.optional,ge.errors);ge.currentQueryTotal=Ht.length;let Wt=null;Ht.forEach((yn,$n)=>{ge.currentQueryIndex=$n;const Kn=ge.createSubContext(ne.options,yn);Dt&&Kn.delayNextStep(Dt),yn===ge.element&&(Wt=Kn.currentTimeline),Zn(this,ne.animation,Kn),Kn.currentTimeline.applyStylesToKeyframe(),Nt=Math.max(Nt,Kn.currentTimeline.currentTime)}),ge.currentQueryIndex=0,ge.currentQueryTotal=0,ge.transformIntoNewTimeline(Nt),Wt&&(ge.currentTimeline.mergeTimelineCollectedStyles(Wt),ge.currentTimeline.snapshotCurrentStyles()),ge.previousNode=ne}visitStagger(ne,ge){const Le=ge.parentContext,qe=ge.currentTimeline,Dt=ne.timings,Nt=Math.abs(Dt.duration),Ht=Nt*(ge.currentQueryTotal-1);let Wt=Nt*ge.currentQueryIndex;switch(Dt.duration<0?"reverse":Dt.easing){case"reverse":Wt=Ht-Wt;break;case"full":Wt=Le.currentStaggerTime}const $n=ge.currentTimeline;Wt&&$n.delayNextStep(Wt);const Kn=$n.currentTime;Zn(this,ne.animation,ge),ge.previousNode=ne,Le.currentStaggerTime=qe.currentTime-Kn+(qe.startTime-Le.currentTimeline.startTime)}}const ai={};class Fn{constructor(ne,ge,Le,qe,Dt,Nt,Ht,Wt){this._driver=ne,this.element=ge,this.subInstructions=Le,this._enterClassName=qe,this._leaveClassName=Dt,this.errors=Nt,this.timelines=Ht,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ai,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Wt||new ti(this._driver,ge,0),Ht.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(ne,ge){if(!ne)return;const Le=ne;let qe=this.options;null!=Le.duration&&(qe.duration=pr(Le.duration)),null!=Le.delay&&(qe.delay=pr(Le.delay));const Dt=Le.params;if(Dt){let Nt=qe.params;Nt||(Nt=this.options.params={}),Object.keys(Dt).forEach(Ht=>{(!ge||!Nt.hasOwnProperty(Ht))&&(Nt[Ht]=Rt(Dt[Ht],Nt,this.errors))})}}_copyOptions(){const ne={};if(this.options){const ge=this.options.params;if(ge){const Le=ne.params={};Object.keys(ge).forEach(qe=>{Le[qe]=ge[qe]})}}return ne}createSubContext(ne=null,ge,Le){const qe=ge||this.element,Dt=new Fn(this._driver,qe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(qe,Le||0));return Dt.previousNode=this.previousNode,Dt.currentAnimateTimings=this.currentAnimateTimings,Dt.options=this._copyOptions(),Dt.updateOptions(ne),Dt.currentQueryIndex=this.currentQueryIndex,Dt.currentQueryTotal=this.currentQueryTotal,Dt.parentContext=this,this.subContextCount++,Dt}transformIntoNewTimeline(ne){return this.previousNode=ai,this.currentTimeline=this.currentTimeline.fork(this.element,ne),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(ne,ge,Le){const qe={duration:ge??ne.duration,delay:this.currentTimeline.currentTime+(Le??0)+ne.delay,easing:""},Dt=new Zr(this._driver,ne.element,ne.keyframes,ne.preStyleProps,ne.postStyleProps,qe,ne.stretchStartingKeyframe);return this.timelines.push(Dt),qe}incrementTime(ne){this.currentTimeline.forwardTime(this.currentTimeline.duration+ne)}delayNextStep(ne){ne>0&&this.currentTimeline.delayNextStep(ne)}invokeQuery(ne,ge,Le,qe,Dt,Nt){let Ht=[];if(qe&&Ht.push(this.element),ne.length>0){ne=(ne=ne.replace(_r,"."+this._enterClassName)).replace(Gn,"."+this._leaveClassName);let yn=this._driver.query(this.element,ne,1!=Le);0!==Le&&(yn=Le<0?yn.slice(yn.length+Le,yn.length):yn.slice(0,Le)),Ht.push(...yn)}return!Dt&&0==Ht.length&&Nt.push(function Ze(et){return new n.\u0275RuntimeError(3014,!1)}()),Ht}}class ti{constructor(ne,ge,Le,qe){this._driver=ne,this.element=ge,this.startTime=Le,this._elementTimelineStylesLookup=qe,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(ge),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(ge,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(ne){const ge=1===this._keyframes.size&&this._pendingStyles.size;this.duration||ge?(this.forwardTime(this.currentTime+ne),ge&&this.snapshotCurrentStyles()):this.startTime+=ne}fork(ne,ge){return this.applyStylesToKeyframe(),new ti(this._driver,ne,ge||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+=1,this._loadKeyframe()}forwardTime(ne){this.applyStylesToKeyframe(),this.duration=ne,this._loadKeyframe()}_updateStyle(ne,ge){this._localTimelineStyles.set(ne,ge),this._globalTimelineStyles.set(ne,ge),this._styleSummary.set(ne,{time:this.currentTime,value:ge})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(ne){ne&&this._previousKeyframe.set("easing",ne);for(let[ge,Le]of this._globalTimelineStyles)this._backFill.set(ge,Le||a),this._currentKeyframe.set(ge,a);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(ne,ge,Le,qe){ge&&this._previousKeyframe.set("easing",ge);const Dt=qe&&qe.params||{},Nt=function Vi(et,ne){const ge=new Map;let Le;return et.forEach(qe=>{if("*"===qe){Le??=ne.keys();for(let Dt of Le)ge.set(Dt,a)}else for(let[Dt,Nt]of qe)ge.set(Dt,Nt)}),ge}(ne,this._globalTimelineStyles);for(let[Ht,Wt]of Nt){const yn=Rt(Wt,Dt,Le);this._pendingStyles.set(Ht,yn),this._localTimelineStyles.has(Ht)||this._backFill.set(Ht,this._globalTimelineStyles.get(Ht)??a),this._updateStyle(Ht,yn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((ne,ge)=>{this._currentKeyframe.set(ge,ne)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((ne,ge)=>{this._currentKeyframe.has(ge)||this._currentKeyframe.set(ge,ne)}))}snapshotCurrentStyles(){for(let[ne,ge]of this._localTimelineStyles)this._pendingStyles.set(ne,ge),this._updateStyle(ne,ge)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const ne=[];for(let ge in this._currentKeyframe)ne.push(ge);return ne}mergeTimelineCollectedStyles(ne){ne._styleSummary.forEach((ge,Le)=>{const qe=this._styleSummary.get(Le);(!qe||ge.time>qe.time)&&this._updateStyle(Le,ge.value)})}buildKeyframes(){this.applyStylesToKeyframe();const ne=new Set,ge=new Set,Le=1===this._keyframes.size&&0===this.duration;let qe=[];this._keyframes.forEach((Ht,Wt)=>{const yn=new Map([...this._backFill,...Ht]);yn.forEach(($n,Kn)=>{"!"===$n?ne.add(Kn):$n===a&&ge.add(Kn)}),Le||yn.set("offset",Wt/this.duration),qe.push(yn)});const Dt=[...ne.values()],Nt=[...ge.values()];if(Le){const Ht=qe[0],Wt=new Map(Ht);Ht.set("offset",0),Wt.set("offset",1),qe=[Ht,Wt]}return Lr(this.element,qe,Dt,Nt,this.duration,this.startTime,this.easing,!1)}}class Zr extends ti{constructor(ne,ge,Le,qe,Dt,Nt,Ht=!1){super(ne,ge,Nt.delay),this.keyframes=Le,this.preStyleProps=qe,this.postStyleProps=Dt,this._stretchStartingKeyframe=Ht,this.timings={duration:Nt.duration,delay:Nt.delay,easing:Nt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let ne=this.keyframes,{delay:ge,duration:Le,easing:qe}=this.timings;if(this._stretchStartingKeyframe&&ge){const Dt=[],Nt=Le+ge,Ht=ge/Nt,Wt=new Map(ne[0]);Wt.set("offset",0),Dt.push(Wt);const yn=new Map(ne[0]);yn.set("offset",Xr(Ht)),Dt.push(yn);const $n=ne.length-1;for(let Kn=1;Kn<=$n;Kn++){let Wr=new Map(ne[Kn]);const fr=Wr.get("offset");Wr.set("offset",Xr((ge+fr*Le)/Nt)),Dt.push(Wr)}Le=Nt,ge=0,qe="",ne=Dt}return Lr(this.element,ne,this.preStyleProps,this.postStyleProps,Le,ge,qe,!0)}}function Xr(et,ne=3){const ge=Math.pow(10,ne-1);return Math.round(et*ge)/ge}function hr(et,ne,ge,Le,qe,Dt,Nt,Ht,Wt,yn,$n,Kn,Wr){return{type:0,element:et,triggerName:ne,isRemovalTransition:qe,fromState:ge,fromStyles:Dt,toState:Le,toStyles:Nt,timelines:Ht,queriedElements:Wt,preStyleProps:yn,postStyleProps:$n,totalTime:Kn,errors:Wr}}const Yi={};class ko{constructor(ne,ge,Le){this._triggerName=ne,this.ast=ge,this._stateStyles=Le}match(ne,ge,Le,qe){return function Jr(et,ne,ge,Le,qe){return et.some(Dt=>Dt(ne,ge,Le,qe))}(this.ast.matchers,ne,ge,Le,qe)}buildStyles(ne,ge,Le){let qe=this._stateStyles.get("*");return void 0!==ne&&(qe=this._stateStyles.get(ne?.toString())||qe),qe?qe.buildStyles(ge,Le):new Map}build(ne,ge,Le,qe,Dt,Nt,Ht,Wt,yn,$n){const Kn=[],Wr=this.ast.options&&this.ast.options.params||Yi,tr=this.buildStyles(Le,Ht&&Ht.params||Yi,Kn),vr=Wt&&Wt.params||Yi,mi=this.buildStyles(qe,vr,Kn),Ai=new Set,ji=new Map,Ti=new Map,Ji="void"===qe,Sn={params:zi(vr,Wr),delay:this.ast.options?.delay},wr=$n?[]:si(ne,ge,this.ast.animation,Dt,Nt,tr,mi,Sn,yn,Kn);let Qi=0;return wr.forEach(Ii=>{Qi=Math.max(Ii.duration+Ii.delay,Qi)}),Kn.length?hr(ge,this._triggerName,Le,qe,Ji,tr,mi,[],[],ji,Ti,Qi,Kn):(wr.forEach(Ii=>{const ei=Ii.element,oo=ut(ji,ei,new Set);Ii.preStyleProps.forEach(at=>oo.add(at));const Be=ut(Ti,ei,new Set);Ii.postStyleProps.forEach(at=>Be.add(at)),ei!==ge&&Ai.add(ei)}),hr(ge,this._triggerName,Le,qe,Ji,tr,mi,wr,[...Ai.values()],ji,Ti,Qi))}}function zi(et,ne){const ge={...ne};return Object.entries(et).forEach(([Le,qe])=>{null!=qe&&(ge[Le]=qe)}),ge}class qi{constructor(ne,ge,Le){this.styles=ne,this.defaultParams=ge,this.normalizer=Le}buildStyles(ne,ge){const Le=new Map,qe=zi(ne,this.defaultParams);return this.styles.styles.forEach(Dt=>{"string"!=typeof Dt&&Dt.forEach((Nt,Ht)=>{Nt&&(Nt=Rt(Nt,qe,ge));const Wt=this.normalizer.normalizePropertyName(Ht,ge);Nt=this.normalizer.normalizeStyleValue(Ht,Wt,Nt,ge),Le.set(Ht,Nt)})}),Le}}class Rr{constructor(ne,ge,Le){this.name=ne,this.ast=ge,this._normalizer=Le,this.transitionFactories=[],this.states=new Map,ge.states.forEach(qe=>{this.states.set(qe.name,new qi(qe.style,qe.options&&qe.options.params||{},Le))}),_i(this.states,"true","1"),_i(this.states,"false","0"),ge.transitions.forEach(qe=>{this.transitionFactories.push(new ko(ne,qe,this.states))}),this.fallbackTransition=function mo(et,ne,ge){return new ko(et,{type:d.Transition,animation:{type:d.Sequence,steps:[],options:null},matchers:[(Nt,Ht)=>!0],options:null,queryCount:0,depCount:0},ne)}(ne,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(ne,ge,Le,qe){return this.transitionFactories.find(Nt=>Nt.match(ne,ge,Le,qe))||null}matchStyles(ne,ge,Le){return this.fallbackTransition.buildStyles(ne,ge,Le)}}function _i(et,ne,ge){et.has(ne)?et.has(ge)||et.set(ge,et.get(ne)):et.has(ge)&&et.set(ne,et.get(ge))}const xi=new dt;class qr{constructor(ne,ge,Le){this.bodyNode=ne,this._driver=ge,this._normalizer=Le,this._animations=new Map,this._playersById=new Map,this.players=[]}register(ne,ge){const Le=[],Dt=Jt(this._driver,ge,Le,[]);if(Le.length)throw function nt(et){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(ne,Dt)}_buildPlayer(ne,ge,Le){const qe=ne.element,Dt=je(this._normalizer,ne.keyframes,ge,Le);return this._driver.animate(qe,Dt,ne.duration,ne.delay,ne.easing,[],!0)}create(ne,ge,Le={}){const qe=[],Dt=this._animations.get(ne);let Nt;const Ht=new Map;if(Dt?(Nt=si(this._driver,ge,Dt,Er,br,new Map,new Map,Le,xi,qe),Nt.forEach($n=>{const Kn=ut(Ht,$n.element,new Map);$n.postStyleProps.forEach(Wr=>Kn.set(Wr,null))})):(qe.push(function Pt(){return new n.\u0275RuntimeError(3300,!1)}()),Nt=[]),qe.length)throw function tn(et){return new n.\u0275RuntimeError(3504,!1)}();Ht.forEach(($n,Kn)=>{$n.forEach((Wr,fr)=>{$n.set(fr,this._driver.computeStyle(Kn,fr,a))})});const yn=$e(Nt.map($n=>{const Kn=Ht.get($n.element);return this._buildPlayer($n,new Map,Kn)}));return this._playersById.set(ne,yn),yn.onDestroy(()=>this.destroy(ne)),this.players.push(yn),yn}destroy(ne){const ge=this._getPlayer(ne);ge.destroy(),this._playersById.delete(ne);const Le=this.players.indexOf(ge);Le>=0&&this.players.splice(Le,1)}_getPlayer(ne){const ge=this._playersById.get(ne);if(!ge)throw function hn(et){return new n.\u0275RuntimeError(3301,!1)}();return ge}listen(ne,ge,Le,qe){const Dt=vt(ge,"","","");return gt(this._getPlayer(ne),Le,Dt,qe),()=>{}}command(ne,ge,Le,qe){if("register"==Le)return void this.register(ne,qe[0]);if("create"==Le)return void this.create(ne,ge,qe[0]||{});const Dt=this._getPlayer(ne);switch(Le){case"play":Dt.play();break;case"pause":Dt.pause();break;case"reset":Dt.reset();break;case"restart":Dt.restart();break;case"finish":Dt.finish();break;case"init":Dt.init();break;case"setPosition":Dt.setPosition(parseFloat(qe[0]));break;case"destroy":this.destroy(ne)}}}const ar="ng-animate-queued",wi="ng-animate-disabled",zr=[],bo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ni={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gr="__ng_removed";class Lo{get params(){return this.options.params}constructor(ne,ge=""){this.namespaceId=ge;const Le=ne&&ne.hasOwnProperty("value");if(this.value=function Ro(et){return et??null}(Le?ne.value:ne),Le){const{value:Dt,...Nt}=ne;this.options=Nt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(ne){const ge=ne.params;if(ge){const Le=this.options.params;Object.keys(ge).forEach(qe=>{null==Le[qe]&&(Le[qe]=ge[qe])})}}}const Oi="void",Zi=new Lo(Oi);class Li{constructor(ne,ge,Le){this.id=ne,this.hostElement=ge,this._engine=Le,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+ne,Ki(ge,this._hostClassName)}listen(ne,ge,Le,qe){if(!this._triggers.has(ge))throw function wn(et,ne){return new n.\u0275RuntimeError(3302,!1)}();if(null==Le||0==Le.length)throw function An(et){return new n.\u0275RuntimeError(3303,!1)}();if(!function bs(et){return"start"==et||"done"==et}(Le))throw function _n(et,ne){return new n.\u0275RuntimeError(3400,!1)}();const Dt=ut(this._elementListeners,ne,[]),Nt={name:ge,phase:Le,callback:qe};Dt.push(Nt);const Ht=ut(this._engine.statesByElement,ne,new Map);return Ht.has(ge)||(Ki(ne,qn),Ki(ne,qn+"-"+ge),Ht.set(ge,Zi)),()=>{this._engine.afterFlush(()=>{const Wt=Dt.indexOf(Nt);Wt>=0&&Dt.splice(Wt,1),this._triggers.has(ge)||Ht.delete(ge)})}}register(ne,ge){return!this._triggers.has(ne)&&(this._triggers.set(ne,ge),!0)}_getTrigger(ne){const ge=this._triggers.get(ne);if(!ge)throw function qt(et){return new n.\u0275RuntimeError(3401,!1)}();return ge}trigger(ne,ge,Le,qe=!0){const Dt=this._getTrigger(ge),Nt=new $o(this.id,ge,ne);let Ht=this._engine.statesByElement.get(ne);Ht||(Ki(ne,qn),Ki(ne,qn+"-"+ge),this._engine.statesByElement.set(ne,Ht=new Map));let Wt=Ht.get(ge);const yn=new Lo(Le,this.id);if(!(Le&&Le.hasOwnProperty("value"))&&Wt&&yn.absorbOptions(Wt.options),Ht.set(ge,yn),Wt||(Wt=Zi),yn.value!==Oi&&Wt.value===yn.value){if(!function Fo(et,ne){const ge=Object.keys(et),Le=Object.keys(ne);if(ge.length!=Le.length)return!1;for(let qe=0;qe{Qn(ne,mi),jn(ne,Ai)})}return}const Wr=ut(this._engine.playersByElement,ne,[]);Wr.forEach(vr=>{vr.namespaceId==this.id&&vr.triggerName==ge&&vr.queued&&vr.destroy()});let fr=Dt.matchTransition(Wt.value,yn.value,ne,yn.params),tr=!1;if(!fr){if(!qe)return;fr=Dt.fallbackTransition,tr=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:ne,triggerName:ge,transition:fr,fromState:Wt,toState:yn,player:Nt,isFallbackTransition:tr}),tr||(Ki(ne,ar),Nt.onStart(()=>{uo(ne,ar)})),Nt.onDone(()=>{let vr=this.players.indexOf(Nt);vr>=0&&this.players.splice(vr,1);const mi=this._engine.playersByElement.get(ne);if(mi){let Ai=mi.indexOf(Nt);Ai>=0&&mi.splice(Ai,1)}}),this.players.push(Nt),Wr.push(Nt),Nt}deregister(ne){this._triggers.delete(ne),this._engine.statesByElement.forEach(ge=>ge.delete(ne)),this._elementListeners.forEach((ge,Le)=>{this._elementListeners.set(Le,ge.filter(qe=>qe.name!=ne))})}clearElementCache(ne){this._engine.statesByElement.delete(ne),this._elementListeners.delete(ne);const ge=this._engine.playersByElement.get(ne);ge&&(ge.forEach(Le=>Le.destroy()),this._engine.playersByElement.delete(ne))}_signalRemovalForInnerTriggers(ne,ge){const Le=this._engine.driver.query(ne,Rn,!0);Le.forEach(qe=>{if(qe[Gr])return;const Dt=this._engine.fetchNamespacesByElement(qe);Dt.size?Dt.forEach(Nt=>Nt.triggerLeaveAnimation(qe,ge,!1,!0)):this.clearElementCache(qe)}),this._engine.afterFlushAnimationsDone(()=>Le.forEach(qe=>this.clearElementCache(qe)))}triggerLeaveAnimation(ne,ge,Le,qe){const Dt=this._engine.statesByElement.get(ne),Nt=new Map;if(Dt){const Ht=[];if(Dt.forEach((Wt,yn)=>{if(Nt.set(yn,Wt.value),this._triggers.has(yn)){const $n=this.trigger(ne,yn,Oi,qe);$n&&Ht.push($n)}}),Ht.length)return this._engine.markElementAsRemoved(this.id,ne,!0,ge,Nt),Le&&$e(Ht).onDone(()=>this._engine.processLeaveNode(ne)),!0}return!1}prepareLeaveAnimationListeners(ne){const ge=this._elementListeners.get(ne),Le=this._engine.statesByElement.get(ne);if(ge&&Le){const qe=new Set;ge.forEach(Dt=>{const Nt=Dt.name;if(qe.has(Nt))return;qe.add(Nt);const Wt=this._triggers.get(Nt).fallbackTransition,yn=Le.get(Nt)||Zi,$n=new Lo(Oi),Kn=new $o(this.id,Nt,ne);this._engine.totalQueuedPlayers++,this._queue.push({element:ne,triggerName:Nt,transition:Wt,fromState:yn,toState:$n,player:Kn,isFallbackTransition:!0})})}}removeNode(ne,ge){const Le=this._engine;if(ne.childElementCount&&this._signalRemovalForInnerTriggers(ne,ge),this.triggerLeaveAnimation(ne,ge,!0))return;let qe=!1;if(Le.totalAnimations){const Dt=Le.players.length?Le.playersByQueriedElement.get(ne):[];if(Dt&&Dt.length)qe=!0;else{let Nt=ne;for(;Nt=Nt.parentNode;)if(Le.statesByElement.get(Nt)){qe=!0;break}}}if(this.prepareLeaveAnimationListeners(ne),qe)Le.markElementAsRemoved(this.id,ne,!1,ge);else{const Dt=ne[Gr];(!Dt||Dt===bo)&&(Le.afterFlush(()=>this.clearElementCache(ne)),Le.destroyInnerAnimations(ne),Le._onRemovalComplete(ne,ge))}}insertNode(ne,ge){Ki(ne,this._hostClassName)}drainQueuedTransitions(ne){const ge=[];return this._queue.forEach(Le=>{const qe=Le.player;if(qe.destroyed)return;const Dt=Le.element,Nt=this._elementListeners.get(Dt);Nt&&Nt.forEach(Ht=>{if(Ht.name==Le.triggerName){const Wt=vt(Dt,Le.triggerName,Le.fromState.value,Le.toState.value);Wt._data=ne,gt(Le.player,Ht.phase,Wt,Ht.callback)}}),qe.markedForDestroy?this._engine.afterFlush(()=>{qe.destroy()}):ge.push(Le)}),this._queue=[],ge.sort((Le,qe)=>{const Dt=Le.transition.ast.depCount,Nt=qe.transition.ast.depCount;return 0==Dt||0==Nt?Dt-Nt:this._engine.driver.containsElement(Le.element,qe.element)?1:-1})}destroy(ne){this.players.forEach(ge=>ge.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,ne)}}class Gi{_onRemovalComplete(ne,ge){this.onRemovalComplete(ne,ge)}constructor(ne,ge,Le,qe){this.bodyNode=ne,this.driver=ge,this._normalizer=Le,this.scheduler=qe,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=(Dt,Nt)=>{}}get queuedPlayers(){const ne=[];return this._namespaceList.forEach(ge=>{ge.players.forEach(Le=>{Le.queued&&ne.push(Le)})}),ne}createNamespace(ne,ge){const Le=new Li(ne,ge,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,ge)?this._balanceNamespaceList(Le,ge):(this.newHostElements.set(ge,Le),this.collectEnterElement(ge)),this._namespaceLookup[ne]=Le}_balanceNamespaceList(ne,ge){const Le=this._namespaceList,qe=this.namespacesByHostElement;if(Le.length-1>=0){let Nt=!1,Ht=this.driver.getParentElement(ge);for(;Ht;){const Wt=qe.get(Ht);if(Wt){const yn=Le.indexOf(Wt);Le.splice(yn+1,0,ne),Nt=!0;break}Ht=this.driver.getParentElement(Ht)}Nt||Le.unshift(ne)}else Le.push(ne);return qe.set(ge,ne),ne}register(ne,ge){let Le=this._namespaceLookup[ne];return Le||(Le=this.createNamespace(ne,ge)),Le}registerTrigger(ne,ge,Le){let qe=this._namespaceLookup[ne];qe&&qe.register(ge,Le)&&this.totalAnimations++}destroy(ne,ge){ne&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const Le=this._fetchNamespace(ne);this.namespacesByHostElement.delete(Le.hostElement);const qe=this._namespaceList.indexOf(Le);qe>=0&&this._namespaceList.splice(qe,1),Le.destroy(ge),delete this._namespaceLookup[ne]}))}_fetchNamespace(ne){return this._namespaceLookup[ne]}fetchNamespacesByElement(ne){const ge=new Set,Le=this.statesByElement.get(ne);if(Le)for(let qe of Le.values())if(qe.namespaceId){const Dt=this._fetchNamespace(qe.namespaceId);Dt&&ge.add(Dt)}return ge}trigger(ne,ge,Le,qe){if(wo(ge)){const Dt=this._fetchNamespace(ne);if(Dt)return Dt.trigger(ge,Le,qe),!0}return!1}insertNode(ne,ge,Le,qe){if(!wo(ge))return;const Dt=ge[Gr];if(Dt&&Dt.setForRemoval){Dt.setForRemoval=!1,Dt.setForMove=!0;const Nt=this.collectedLeaveElements.indexOf(ge);Nt>=0&&this.collectedLeaveElements.splice(Nt,1)}if(ne){const Nt=this._fetchNamespace(ne);Nt&&Nt.insertNode(ge,Le)}qe&&this.collectEnterElement(ge)}collectEnterElement(ne){this.collectedEnterElements.push(ne)}markElementAsDisabled(ne,ge){ge?this.disabledNodes.has(ne)||(this.disabledNodes.add(ne),Ki(ne,wi)):this.disabledNodes.has(ne)&&(this.disabledNodes.delete(ne),uo(ne,wi))}removeNode(ne,ge,Le){if(wo(ge)){this.scheduler?.notify();const qe=ne?this._fetchNamespace(ne):null;qe?qe.removeNode(ge,Le):this.markElementAsRemoved(ne,ge,!1,Le);const Dt=this.namespacesByHostElement.get(ge);Dt&&Dt.id!==ne&&Dt.removeNode(ge,Le)}else this._onRemovalComplete(ge,Le)}markElementAsRemoved(ne,ge,Le,qe,Dt){this.collectedLeaveElements.push(ge),ge[Gr]={namespaceId:ne,setForRemoval:qe,hasAnimation:Le,removedBeforeQueried:!1,previousTriggersValues:Dt}}listen(ne,ge,Le,qe,Dt){return wo(ge)?this._fetchNamespace(ne).listen(ge,Le,qe,Dt):()=>{}}_buildInstruction(ne,ge,Le,qe,Dt){return ne.transition.build(this.driver,ne.element,ne.fromState.value,ne.toState.value,Le,qe,ne.fromState.options,ne.toState.options,ge,Dt)}destroyInnerAnimations(ne){let ge=this.driver.query(ne,Rn,!0);ge.forEach(Le=>this.destroyActiveAnimationsForElement(Le)),0!=this.playersByQueriedElement.size&&(ge=this.driver.query(ne,Sr,!0),ge.forEach(Le=>this.finishActiveQueriedAnimationOnElement(Le)))}destroyActiveAnimationsForElement(ne){const ge=this.playersByElement.get(ne);ge&&ge.forEach(Le=>{Le.queued?Le.markedForDestroy=!0:Le.destroy()})}finishActiveQueriedAnimationOnElement(ne){const ge=this.playersByQueriedElement.get(ne);ge&&ge.forEach(Le=>Le.finish())}whenRenderingDone(){return new Promise(ne=>{if(this.players.length)return $e(this.players).onDone(()=>ne());ne()})}processLeaveNode(ne){const ge=ne[Gr];if(ge&&ge.setForRemoval){if(ne[Gr]=bo,ge.namespaceId){this.destroyInnerAnimations(ne);const Le=this._fetchNamespace(ge.namespaceId);Le&&Le.clearElementCache(ne)}this._onRemovalComplete(ne,ge.setForRemoval)}ne.classList?.contains(wi)&&this.markElementAsDisabled(ne,!1),this.driver.query(ne,".ng-animate-disabled",!0).forEach(Le=>{this.markElementAsDisabled(Le,!1)})}flush(ne=-1){let ge=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Le,qe)=>this._balanceNamespaceList(Le,qe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Le=0;LeLe()),this._flushFns=[],this._whenQuietFns.length){const Le=this._whenQuietFns;this._whenQuietFns=[],ge.length?$e(ge).onDone(()=>{Le.forEach(qe=>qe())}):Le.forEach(qe=>qe())}}reportError(ne){throw function ht(et){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(ne,ge){const Le=new dt,qe=[],Dt=new Map,Nt=[],Ht=new Map,Wt=new Map,yn=new Map,$n=new Set;this.disabledNodes.forEach(ce=>{$n.add(ce);const xe=this.driver.query(ce,".ng-animate-queued",!0);for(let yt=0;yt{const yt=Er+vr++;tr.set(xe,yt),ce.forEach(jt=>Ki(jt,yt))});const mi=[],Ai=new Set,ji=new Set;for(let ce=0;ceAi.add(jt)):ji.add(xe))}const Ti=new Map,Ji=rs(Wr,Array.from(Ai));Ji.forEach((ce,xe)=>{const yt=br+vr++;Ti.set(xe,yt),ce.forEach(jt=>Ki(jt,yt))}),ne.push(()=>{fr.forEach((ce,xe)=>{const yt=tr.get(xe);ce.forEach(jt=>uo(jt,yt))}),Ji.forEach((ce,xe)=>{const yt=Ti.get(xe);ce.forEach(jt=>uo(jt,yt))}),mi.forEach(ce=>{this.processLeaveNode(ce)})});const Sn=[],wr=[];for(let ce=this._namespaceList.length-1;ce>=0;ce--)this._namespaceList[ce].drainQueuedTransitions(ge).forEach(yt=>{const jt=yt.player,cn=yt.element;if(Sn.push(jt),this.collectedEnterElements.length){const an=cn[Gr];if(an&&an.setForMove){if(an.previousTriggersValues&&an.previousTriggersValues.has(yt.triggerName)){const Pn=an.previousTriggersValues.get(yt.triggerName),gr=this.statesByElement.get(yt.element);if(gr&&gr.has(yt.triggerName)){const yr=gr.get(yt.triggerName);yr.value=Pn,gr.set(yt.triggerName,yr)}}return void jt.destroy()}}const X=!Kn||!this.driver.containsElement(Kn,cn),Ve=Ti.get(cn),Ce=tr.get(cn),Re=this._buildInstruction(yt,Le,Ce,Ve,X);if(Re.errors&&Re.errors.length)return void wr.push(Re);if(X)return jt.onStart(()=>Qn(cn,Re.fromStyles)),jt.onDestroy(()=>jn(cn,Re.toStyles)),void qe.push(jt);if(yt.isFallbackTransition)return jt.onStart(()=>Qn(cn,Re.fromStyles)),jt.onDestroy(()=>jn(cn,Re.toStyles)),void qe.push(jt);const Mt=[];Re.timelines.forEach(an=>{an.stretchStartingKeyframe=!0,this.disabledNodes.has(an.element)||Mt.push(an)}),Re.timelines=Mt,Le.append(cn,Re.timelines),Nt.push({instruction:Re,player:jt,element:cn}),Re.queriedElements.forEach(an=>ut(Ht,an,[]).push(jt)),Re.preStyleProps.forEach((an,Pn)=>{if(an.size){let gr=Wt.get(Pn);gr||Wt.set(Pn,gr=new Set),an.forEach((yr,$r)=>gr.add($r))}}),Re.postStyleProps.forEach((an,Pn)=>{let gr=yn.get(Pn);gr||yn.set(Pn,gr=new Set),an.forEach((yr,$r)=>gr.add($r))})});if(wr.length){const ce=[];wr.forEach(xe=>{ce.push(function Ee(et,ne){return new n.\u0275RuntimeError(3505,!1)}())}),Sn.forEach(xe=>xe.destroy()),this.reportError(ce)}const Qi=new Map,Ii=new Map;Nt.forEach(ce=>{const xe=ce.element;Le.has(xe)&&(Ii.set(xe,xe),this._beforeAnimationBuild(ce.player.namespaceId,ce.instruction,Qi))}),qe.forEach(ce=>{const xe=ce.element;this._getPreviousPlayers(xe,!1,ce.namespaceId,ce.triggerName,null).forEach(jt=>{ut(Qi,xe,[]).push(jt),jt.destroy()})});const ei=mi.filter(ce=>Do(ce,Wt,yn)),oo=new Map;ns(oo,this.driver,ji,yn,a).forEach(ce=>{Do(ce,Wt,yn)&&ei.push(ce)});const at=new Map;fr.forEach((ce,xe)=>{ns(at,this.driver,new Set(ce),Wt,"!")}),ei.forEach(ce=>{const xe=oo.get(ce),yt=at.get(ce);oo.set(ce,new Map([...xe?.entries()??[],...yt?.entries()??[]]))});const R=[],q=[],B={};Nt.forEach(ce=>{const{element:xe,player:yt,instruction:jt}=ce;if(Le.has(xe)){if($n.has(xe))return yt.onDestroy(()=>jn(xe,jt.toStyles)),yt.disabled=!0,yt.overrideTotalTime(jt.totalTime),void qe.push(yt);let cn=B;if(Ii.size>1){let Ve=xe;const Ce=[];for(;Ve=Ve.parentNode;){const Re=Ii.get(Ve);if(Re){cn=Re;break}Ce.push(Ve)}Ce.forEach(Re=>Ii.set(Re,cn))}const X=this._buildAnimation(yt.namespaceId,jt,Qi,Dt,at,oo);if(yt.setRealPlayer(X),cn===B)R.push(yt);else{const Ve=this.playersByElement.get(cn);Ve&&Ve.length&&(yt.parentPlayer=$e(Ve)),qe.push(yt)}}else Qn(xe,jt.fromStyles),yt.onDestroy(()=>jn(xe,jt.toStyles)),q.push(yt),$n.has(xe)&&qe.push(yt)}),q.forEach(ce=>{const xe=Dt.get(ce.element);if(xe&&xe.length){const yt=$e(xe);ce.setRealPlayer(yt)}}),qe.forEach(ce=>{ce.parentPlayer?ce.syncPlayerEvents(ce.parentPlayer):ce.destroy()});for(let ce=0;ce!X.destroyed);cn.length?So(this,xe,cn):this.processLeaveNode(xe)}return mi.length=0,R.forEach(ce=>{this.players.push(ce),ce.onDone(()=>{ce.destroy();const xe=this.players.indexOf(ce);this.players.splice(xe,1)}),ce.play()}),R}afterFlush(ne){this._flushFns.push(ne)}afterFlushAnimationsDone(ne){this._whenQuietFns.push(ne)}_getPreviousPlayers(ne,ge,Le,qe,Dt){let Nt=[];if(ge){const Ht=this.playersByQueriedElement.get(ne);Ht&&(Nt=Ht)}else{const Ht=this.playersByElement.get(ne);if(Ht){const Wt=!Dt||Dt==Oi;Ht.forEach(yn=>{yn.queued||!Wt&&yn.triggerName!=qe||Nt.push(yn)})}}return(Le||qe)&&(Nt=Nt.filter(Ht=>!(Le&&Le!=Ht.namespaceId||qe&&qe!=Ht.triggerName))),Nt}_beforeAnimationBuild(ne,ge,Le){const Dt=ge.element,Nt=ge.isRemovalTransition?void 0:ne,Ht=ge.isRemovalTransition?void 0:ge.triggerName;for(const Wt of ge.timelines){const yn=Wt.element,$n=yn!==Dt,Kn=ut(Le,yn,[]);this._getPreviousPlayers(yn,$n,Nt,Ht,ge.toState).forEach(fr=>{const tr=fr.getRealPlayer();tr.beforeDestroy&&tr.beforeDestroy(),fr.destroy(),Kn.push(fr)})}Qn(Dt,ge.fromStyles)}_buildAnimation(ne,ge,Le,qe,Dt,Nt){const Ht=ge.triggerName,Wt=ge.element,yn=[],$n=new Set,Kn=new Set,Wr=ge.timelines.map(tr=>{const vr=tr.element;$n.add(vr);const mi=vr[Gr];if(mi&&mi.removedBeforeQueried)return new x(tr.duration,tr.delay);const Ai=vr!==Wt,ji=function cs(et){const ne=[];return co(et,ne),ne}((Le.get(vr)||zr).map(Qi=>Qi.getRealPlayer())).filter(Qi=>!!Qi.element&&Qi.element===vr),Ti=Dt.get(vr),Ji=Nt.get(vr),Sn=je(this._normalizer,tr.keyframes,Ti,Ji),wr=this._buildPlayer(tr,Sn,ji);if(tr.subTimeline&&qe&&Kn.add(vr),Ai){const Qi=new $o(ne,Ht,vr);Qi.setRealPlayer(wr),yn.push(Qi)}return wr});yn.forEach(tr=>{ut(this.playersByQueriedElement,tr.element,[]).push(tr),tr.onDone(()=>function Co(et,ne,ge){let Le=et.get(ne);if(Le){if(Le.length){const qe=Le.indexOf(ge);Le.splice(qe,1)}0==Le.length&&et.delete(ne)}return Le}(this.playersByQueriedElement,tr.element,tr))}),$n.forEach(tr=>Ki(tr,oi));const fr=$e(Wr);return fr.onDestroy(()=>{$n.forEach(tr=>uo(tr,oi)),jn(Wt,ge.toStyles)}),Kn.forEach(tr=>{ut(qe,tr,[]).push(fr)}),fr}_buildPlayer(ne,ge,Le){return ge.length>0?this.driver.animate(ne.element,ge,ne.duration,ne.delay,ne.easing,Le):new x(ne.duration,ne.delay)}}class $o{constructor(ne,ge,Le){this.namespaceId=ne,this.triggerName=ge,this.element=Le,this._player=new x,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(ne){this._containsRealPlayer||(this._player=ne,this._queuedCallbacks.forEach((ge,Le)=>{ge.forEach(qe=>gt(ne,Le,void 0,qe))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(ne.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(ne){this.totalTime=ne}syncPlayerEvents(ne){const ge=this._player;ge.triggerCallback&&ne.onStart(()=>ge.triggerCallback("start")),ne.onDone(()=>this.finish()),ne.onDestroy(()=>this.destroy())}_queueEvent(ne,ge){ut(this._queuedCallbacks,ne,[]).push(ge)}onDone(ne){this.queued&&this._queueEvent("done",ne),this._player.onDone(ne)}onStart(ne){this.queued&&this._queueEvent("start",ne),this._player.onStart(ne)}onDestroy(ne){this.queued&&this._queueEvent("destroy",ne),this._player.onDestroy(ne)}init(){this._player.init()}hasStarted(){return!this.queued&&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(ne){this.queued||this._player.setPosition(ne)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(ne){const ge=this._player;ge.triggerCallback&&ge.triggerCallback(ne)}}function wo(et){return et&&1===et.nodeType}function Go(et,ne){const ge=et.style.display;return et.style.display=ne??"none",ge}function ns(et,ne,ge,Le,qe){const Dt=[];ge.forEach(Wt=>Dt.push(Go(Wt)));const Nt=[];Le.forEach((Wt,yn)=>{const $n=new Map;Wt.forEach(Kn=>{const Wr=ne.computeStyle(yn,Kn,qe);$n.set(Kn,Wr),(!Wr||0==Wr.length)&&(yn[Gr]=Ni,Nt.push(yn))}),et.set(yn,$n)});let Ht=0;return ge.forEach(Wt=>Go(Wt,Dt[Ht++])),Nt}function rs(et,ne){const ge=new Map;if(et.forEach(Ht=>ge.set(Ht,[])),0==ne.length)return ge;const qe=new Set(ne),Dt=new Map;function Nt(Ht){if(!Ht)return 1;let Wt=Dt.get(Ht);if(Wt)return Wt;const yn=Ht.parentNode;return Wt=ge.has(yn)?yn:qe.has(yn)?1:Nt(yn),Dt.set(Ht,Wt),Wt}return ne.forEach(Ht=>{const Wt=Nt(Ht);1!==Wt&&ge.get(Wt).push(Ht)}),ge}function Ki(et,ne){et.classList?.add(ne)}function uo(et,ne){et.classList?.remove(ne)}function So(et,ne,ge){$e(ge).onDone(()=>et.processLeaveNode(ne))}function co(et,ne){for(let ge=0;geqe.add(Dt)):ne.set(et,Le),ge.delete(et),!0}class Ko{constructor(ne,ge,Le,qe){this._driver=ge,this._normalizer=Le,this._triggerCache={},this.onRemovalComplete=(Dt,Nt)=>{},this._transitionEngine=new Gi(ne.body,ge,Le,qe),this._timelineEngine=new qr(ne.body,ge,Le),this._transitionEngine.onRemovalComplete=(Dt,Nt)=>this.onRemovalComplete(Dt,Nt)}registerTrigger(ne,ge,Le,qe,Dt){const Nt=ne+"-"+qe;let Ht=this._triggerCache[Nt];if(!Ht){const Wt=[],$n=Jt(this._driver,Dt,Wt,[]);if(Wt.length)throw function Ct(et,ne){return new n.\u0275RuntimeError(3404,!1)}();Ht=function ro(et,ne,ge){return new Rr(et,ne,ge)}(qe,$n,this._normalizer),this._triggerCache[Nt]=Ht}this._transitionEngine.registerTrigger(ge,qe,Ht)}register(ne,ge){this._transitionEngine.register(ne,ge)}destroy(ne,ge){this._transitionEngine.destroy(ne,ge)}onInsert(ne,ge,Le,qe){this._transitionEngine.insertNode(ne,ge,Le,qe)}onRemove(ne,ge,Le){this._transitionEngine.removeNode(ne,ge,Le)}disableAnimations(ne,ge){this._transitionEngine.markElementAsDisabled(ne,ge)}process(ne,ge,Le,qe){if("@"==Le.charAt(0)){const[Dt,Nt]=wt(Le);this._timelineEngine.command(Dt,ge,Nt,qe)}else this._transitionEngine.trigger(ne,ge,Le,qe)}listen(ne,ge,Le,qe,Dt){if("@"==Le.charAt(0)){const[Nt,Ht]=wt(Le);return this._timelineEngine.listen(Nt,ge,Ht,Dt)}return this._transitionEngine.listen(ne,ge,Le,qe,Dt)}flush(ne=-1){this._transitionEngine.flush(ne)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(ne){this._transitionEngine.afterFlushAnimationsDone(ne)}}class Qo{static#e=this.initialStylesByElement=new WeakMap;constructor(ne,ge,Le){this._element=ne,this._startStyles=ge,this._endStyles=Le,this._state=0;let qe=Qo.initialStylesByElement.get(ne);qe||Qo.initialStylesByElement.set(ne,qe=new Map),this._initialStyles=qe}start(){this._state<1&&(this._startStyles&&jn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(jn(this._element,this._initialStyles),this._endStyles&&(jn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Qo.initialStylesByElement.delete(this._element),this._startStyles&&(Qn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Qn(this._element,this._endStyles),this._endStyles=null),jn(this._element,this._initialStyles),this._state=3)}}function Ye(et){let ne=null;return et.forEach((ge,Le)=>{(function Ke(et){return"display"===et||"position"===et})(Le)&&(ne=ne||new Map,ne.set(Le,ge))}),ne}class Ie{constructor(ne,ge,Le,qe){this.element=ne,this.keyframes=ge,this.options=Le,this._specialStyles=qe,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=Le.duration,this._delay=Le.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const ne=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,ne,this.options),this._finalKeyframe=ne.length?ne[ne.length-1]:new Map;const ge=()=>this._onFinish();this.domPlayer.addEventListener("finish",ge),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",ge)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(ne){const ge=[];return ne.forEach(Le=>{ge.push(Object.fromEntries(Le))}),ge}_triggerWebAnimation(ne,ge,Le){return ne.animate(this._convertKeyframesToObject(ge),Le)}onStart(ne){this._originalOnStartFns.push(ne),this._onStartFns.push(ne)}onDone(ne){this._originalOnDoneFns.push(ne),this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(ne=>ne()),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(ne=>ne()),this._onDestroyFns=[])}setPosition(ne){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=ne*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const ne=new Map;this.hasStarted()&&this._finalKeyframe.forEach((Le,qe)=>{"offset"!==qe&&ne.set(qe,this._finished?Le:Yn(this.element,qe))}),this.currentSnapshot=ne}triggerCallback(ne){const ge="start"===ne?this._onStartFns:this._onDoneFns;ge.forEach(Le=>Le()),ge.length=0}}class ft{validateStyleProperty(ne){return!0}validateAnimatableStyleProperty(ne){return!0}matchesElement(ne,ge){return!1}containsElement(ne,ge){return St(ne,ge)}getParentElement(ne){return zt(ne)}query(ne,ge,Le){return xt(ne,ge,Le)}computeStyle(ne,ge,Le){return Yn(ne,ge)}animate(ne,ge,Le,qe,Dt,Nt=[]){const Wt={duration:Le,delay:qe,fill:0==qe?"both":"forwards"};Dt&&(Wt.easing=Dt);const yn=new Map,$n=Nt.filter(fr=>fr instanceof Ie);(function Mn(et,ne){return 0===et||0===ne})(Le,qe)&&$n.forEach(fr=>{fr.currentSnapshot.forEach((tr,vr)=>yn.set(vr,tr))});let Kn=function pi(et){return et.length?et[0]instanceof Map?et:et.map(ne=>new Map(Object.entries(ne))):[]}(ge).map(fr=>new Map(fr));Kn=function En(et,ne,ge){if(ge.size&&ne.length){let Le=ne[0],qe=[];if(ge.forEach((Dt,Nt)=>{Le.has(Nt)||qe.push(Nt),Le.set(Nt,Dt)}),qe.length)for(let Dt=1;DtNt.set(Ht,Yn(et,Ht)))}}return ne}(ne,Kn,yn);const Wr=function hs(et,ne){let ge=null,Le=null;return Array.isArray(ne)&&ne.length?(ge=Ye(ne[0]),ne.length>1&&(Le=Ye(ne[ne.length-1]))):ne instanceof Map&&(ge=Ye(ne)),ge||Le?new Qo(et,ge,Le):null}(ne,Kn);return new Ie(ne,Kn,Wt,Wr)}}const Wi="@.disabled";class Eo{constructor(ne,ge,Le,qe){this.namespaceId=ne,this.delegate=ge,this.engine=Le,this._onDestroy=qe,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(ne){this.delegate.destroyNode?.(ne)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(ne,ge){return this.delegate.createElement(ne,ge)}createComment(ne){return this.delegate.createComment(ne)}createText(ne){return this.delegate.createText(ne)}appendChild(ne,ge){this.delegate.appendChild(ne,ge),this.engine.onInsert(this.namespaceId,ge,ne,!1)}insertBefore(ne,ge,Le,qe=!0){this.delegate.insertBefore(ne,ge,Le),this.engine.onInsert(this.namespaceId,ge,ne,qe)}removeChild(ne,ge,Le){this.engine.onRemove(this.namespaceId,ge,this.delegate)}selectRootElement(ne,ge){return this.delegate.selectRootElement(ne,ge)}parentNode(ne){return this.delegate.parentNode(ne)}nextSibling(ne){return this.delegate.nextSibling(ne)}setAttribute(ne,ge,Le,qe){this.delegate.setAttribute(ne,ge,Le,qe)}removeAttribute(ne,ge,Le){this.delegate.removeAttribute(ne,ge,Le)}addClass(ne,ge){this.delegate.addClass(ne,ge)}removeClass(ne,ge){this.delegate.removeClass(ne,ge)}setStyle(ne,ge,Le,qe){this.delegate.setStyle(ne,ge,Le,qe)}removeStyle(ne,ge,Le){this.delegate.removeStyle(ne,ge,Le)}setProperty(ne,ge,Le){"@"==ge.charAt(0)&&ge==Wi?this.disableAnimations(ne,!!Le):this.delegate.setProperty(ne,ge,Le)}setValue(ne,ge){this.delegate.setValue(ne,ge)}listen(ne,ge,Le){return this.delegate.listen(ne,ge,Le)}disableAnimations(ne,ge){this.engine.disableAnimations(ne,ge)}}class Ao extends Eo{constructor(ne,ge,Le,qe,Dt){super(ge,Le,qe,Dt),this.factory=ne,this.namespaceId=ge}setProperty(ne,ge,Le){"@"==ge.charAt(0)?"."==ge.charAt(1)&&ge==Wi?this.disableAnimations(ne,Le=void 0===Le||!!Le):this.engine.process(this.namespaceId,ne,ge.slice(1),Le):this.delegate.setProperty(ne,ge,Le)}listen(ne,ge,Le){if("@"==ge.charAt(0)){const qe=function ho(et){switch(et){case"body":return document.body;case"document":return document;case"window":return window;default:return et}}(ne);let Dt=ge.slice(1),Nt="";return"@"!=Dt.charAt(0)&&([Dt,Nt]=function Ur(et){const ne=et.indexOf(".");return[et.substring(0,ne),et.slice(ne+1)]}(Dt)),this.engine.listen(this.namespaceId,qe,Dt,Nt,Ht=>{this.factory.scheduleListenerCallback(Ht._data||-1,Le,Ht)})}return this.delegate.listen(ne,ge,Le)}}class Zo{constructor(ne,ge,Le){this.delegate=ne,this.engine=ge,this._zone=Le,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ge.onRemovalComplete=(qe,Dt)=>{const Nt=Dt?.parentNode(qe);Nt&&Dt.removeChild(Nt,qe)}}createRenderer(ne,ge){const qe=this.delegate.createRenderer(ne,ge);if(!ne||!ge?.data?.animation){const yn=this._rendererCache;let $n=yn.get(qe);return $n||($n=new Eo("",qe,this.engine,()=>yn.delete(qe)),yn.set(qe,$n)),$n}const Dt=ge.id,Nt=ge.id+"-"+this._currentId;this._currentId++,this.engine.register(Nt,ne);const Ht=yn=>{Array.isArray(yn)?yn.forEach(Ht):this.engine.registerTrigger(Dt,Nt,ne,yn.name,yn)};return ge.data.animation.forEach(Ht),new Ao(this,Nt,qe,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(ne,ge,Le){if(ne>=0&&nege(Le));const qe=this._animationCallbacksBuffer;0==qe.length&&queueMicrotask(()=>{this._zone.run(()=>{qe.forEach(Dt=>{const[Nt,Ht]=Dt;Nt(Ht)}),this._animationCallbacksBuffer=[]})}),qe.push([ge,Le])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}var is=o(91368);let Xi=(()=>{class et extends Ko{constructor(ge,Le,qe){super(ge,Le,qe,(0,n.inject)(n.\u0275ChangeDetectionScheduler,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(Le){return new(Le||et)(n.\u0275\u0275inject(is.DOCUMENT),n.\u0275\u0275inject(Tn),n.\u0275\u0275inject(rn))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac})}return et})();const _o=[{provide:rn,useFactory:function Xo(){return new Mr}},{provide:Ko,useClass:Xi},{provide:n.RendererFactory2,useFactory:function xo(et,ne,ge){return new Zo(et,ne,ge)},deps:[i.\u0275DomRendererFactory2,Ko,n.NgZone]}],Di=[{provide:Tn,useFactory:()=>new ft},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},..._o],To=[{provide:Tn,useClass:bn},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},..._o];let Cs=(()=>{class et{static withConfig(ge){return{ngModule:et,providers:ge.disableAnimations?To:Di}}static#e=this.\u0275fac=function(Le){return new(Le||et)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:et});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:Di,imports:[i.BrowserModule]})}return et})();function os(){return(0,n.\u0275performanceMarkFeature)("NgEagerAnimations"),[...Di]}let io=(()=>{class et{static#e=this.\u0275fac=function(Le){return new(Le||et)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:et});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:To,imports:[i.BrowserModule]})}return et})();function fs(){return[...To]}},14476:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{BrowserModule:()=>mt,By:()=>_n,DomSanitizer:()=>gt,EVENT_MANAGER_PLUGINS:()=>p,EventManager:()=>S,EventManagerPlugin:()=>C,HAMMER_GESTURE_CONFIG:()=>Ue,HAMMER_LOADER:()=>Ee,HammerGestureConfig:()=>Te,HammerModule:()=>je,HydrationFeatureKind:()=>vt,Meta:()=>Qe,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>F,Title:()=>Xe,TransferState:()=>Xt,VERSION:()=>It,bootstrapApplication:()=>$,createApplication:()=>le,disableDebugTools:()=>An,enableDebugTools:()=>wn,makeStateKey:()=>Yt,platformBrowser:()=>Pe,provideClientHydration:()=>pt,provideProtractorTestingSupport:()=>we,withHttpTransferCacheOptions:()=>st,withNoHttpTransferCache:()=>wt,\u0275BrowserDomAdapter:()=>l,\u0275BrowserGetTestability:()=>g,\u0275DomEventsPlugin:()=>K,\u0275DomRendererFactory2:()=>x,\u0275DomSanitizerImpl:()=>He,\u0275HammerGesturesPlugin:()=>$e,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>_e,\u0275KeyEventsPlugin:()=>Y,\u0275SharedStylesHost:()=>f,\u0275getDOM:()=>i.\u0275getDOM,\u0275initDomAdapter:()=>ye});var n=o(54496),i=o(91368),d=o(97048);class a extends i.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class l extends a{static makeCurrent(){(0,i.\u0275setRootDomAdapter)(new l)}onAndCancel($t,St,xt){return $t.addEventListener(St,xt),()=>{$t.removeEventListener(St,xt)}}dispatchEvent($t,St){$t.dispatchEvent(St)}remove($t){$t.parentNode&&$t.parentNode.removeChild($t)}createElement($t,St){return(St=St||this.getDefaultDocument()).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,St){return"window"===St?window:"document"===St?$t:"body"===St?$t.body:null}getBaseHref($t){const St=function u(){return e=e||document.querySelector("base"),e?e.getAttribute("href"):null}();return null==St?null:function c(At){return new URL(At,document.baseURI).pathname}(St)}resetBaseElement(){e=null}getUserAgent(){return window.navigator.userAgent}getCookie($t){return(0,i.\u0275parseCookieValue)(document.cookie,$t)}}let e=null;class g{addToWindow($t){n.\u0275global.getAngularTestability=(xt,nn=!0)=>{const bn=$t.findTestabilityInTree(xt,nn);if(null==bn)throw new n.\u0275RuntimeError(5103,!1);return bn},n.\u0275global.getAllAngularTestabilities=()=>$t.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>$t.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(xt=>{const nn=n.\u0275global.getAllAngularTestabilities();let bn=nn.length;const Tn=function(){bn--,0==bn&&xt()};nn.forEach(rn=>{rn.whenStable(Tn)})})}findTestabilityInTree($t,St,xt){return null==St?null:$t.getTestability(St)??(xt?(0,i.\u0275getDOM)().isShadowRoot(St)?this.findTestabilityInTree($t,St.host,!0):this.findTestabilityInTree($t,St.parentElement,!0):null)}}let v=(()=>{class At{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(xt){return new(xt||At)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})();const p=new n.InjectionToken("");let S=(()=>{class At{constructor(St,xt){this._zone=xt,this._eventNameToPlugin=new Map,St.forEach(nn=>{nn.manager=this}),this._plugins=St.slice().reverse()}addEventListener(St,xt,nn){return this._findPluginFor(xt).addEventListener(St,xt,nn)}getZone(){return this._zone}_findPluginFor(St){let xt=this._eventNameToPlugin.get(St);if(xt)return xt;if(xt=this._plugins.find(bn=>bn.supports(St)),!xt)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(St,xt),xt}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})();class C{constructor($t){this._doc=$t}}const _="ng-app-id";let f=(()=>{class At{constructor(St,xt,nn,bn={}){this.doc=St,this.appId=xt,this.nonce=nn,this.platformId=bn,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,i.isPlatformServer)(bn),this.resetHostNodes()}addStyles(St){for(const xt of St)1===this.changeUsageCount(xt,1)&&this.onStyleAdded(xt)}removeStyles(St){for(const xt of St)this.changeUsageCount(xt,-1)<=0&&this.onStyleRemoved(xt)}ngOnDestroy(){const St=this.styleNodesInDOM;St&&(St.forEach(xt=>xt.remove()),St.clear());for(const xt of this.getAllStyles())this.onStyleRemoved(xt);this.resetHostNodes()}addHost(St){this.hostNodes.add(St);for(const xt of this.getAllStyles())this.addStyleToHost(St,xt)}removeHost(St){this.hostNodes.delete(St)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(St){for(const xt of this.hostNodes)this.addStyleToHost(xt,St)}onStyleRemoved(St){const xt=this.styleRef;xt.get(St)?.elements?.forEach(nn=>nn.remove()),xt.delete(St)}collectServerRenderedStyles(){const St=this.doc.head?.querySelectorAll(`style[${_}="${this.appId}"]`);if(St?.length){const xt=new Map;return St.forEach(nn=>{null!=nn.textContent&&xt.set(nn.textContent,nn)}),xt}return null}changeUsageCount(St,xt){const nn=this.styleRef;if(nn.has(St)){const bn=nn.get(St);return bn.usage+=xt,bn.usage}return nn.set(St,{usage:xt,elements:[]}),xt}getStyleElement(St,xt){const nn=this.styleNodesInDOM,bn=nn?.get(xt);if(bn?.parentNode===St)return nn.delete(xt),bn.removeAttribute(_),bn;{const Tn=this.doc.createElement("style");return this.nonce&&Tn.setAttribute("nonce",this.nonce),Tn.textContent=xt,this.platformIsServer&&Tn.setAttribute(_,this.appId),St.appendChild(Tn),Tn}}addStyleToHost(St,xt){const nn=this.getStyleElement(St,xt),bn=this.styleRef,Tn=bn.get(xt)?.elements;Tn?Tn.push(nn):bn.set(xt,{elements:[nn],usage:1})}resetHostNodes(){const St=this.hostNodes;St.clear(),St.add(this.doc.head)}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})();const y={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/"},b=/%COMP%/g,E="%COMP%",M=`_nghost-${E}`,A=`_ngcontent-${E}`,F=new n.InjectionToken("",{providedIn:"root",factory:()=>!0});function P(At,$t){return $t.map(St=>St.replace(b,At))}let x=(()=>{class At{constructor(St,xt,nn,bn,Tn,rn,nr,kr=null){this.eventManager=St,this.sharedStylesHost=xt,this.appId=nn,this.removeStylesOnCompDestroy=bn,this.doc=Tn,this.platformId=rn,this.ngZone=nr,this.nonce=kr,this.rendererByCompId=new Map,this.platformIsServer=(0,i.isPlatformServer)(rn),this.defaultRenderer=new N(St,Tn,nr,this.platformIsServer)}createRenderer(St,xt){if(!St||!xt)return this.defaultRenderer;this.platformIsServer&&xt.encapsulation===n.ViewEncapsulation.ShadowDom&&(xt={...xt,encapsulation:n.ViewEncapsulation.Emulated});const nn=this.getOrCreateRenderer(St,xt);return nn instanceof se?nn.applyToHost(St):nn instanceof ue&&nn.applyStyles(),nn}getOrCreateRenderer(St,xt){const nn=this.rendererByCompId;let bn=nn.get(xt.id);if(!bn){const Tn=this.doc,rn=this.ngZone,nr=this.eventManager,kr=this.sharedStylesHost,Br=this.removeStylesOnCompDestroy,sr=this.platformIsServer;switch(xt.encapsulation){case n.ViewEncapsulation.Emulated:bn=new se(nr,kr,xt,this.appId,Br,Tn,rn,sr);break;case n.ViewEncapsulation.ShadowDom:return new te(nr,kr,St,xt,Tn,rn,this.nonce,sr);default:bn=new ue(nr,kr,xt,Br,Tn,rn,sr)}nn.set(xt.id,bn)}return bn}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(S),n.\u0275\u0275inject(f),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(F),n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})();class N{constructor($t,St,xt,nn){this.eventManager=$t,this.doc=St,this.ngZone=xt,this.platformIsServer=nn,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement($t,St){return St?this.doc.createElementNS(y[St]||St,$t):this.doc.createElement($t)}createComment($t){return this.doc.createComment($t)}createText($t){return this.doc.createTextNode($t)}appendChild($t,St){(G($t)?$t.content:$t).appendChild(St)}insertBefore($t,St,xt){$t&&(G($t)?$t.content:$t).insertBefore(St,xt)}removeChild($t,St){$t&&$t.removeChild(St)}selectRootElement($t,St){let xt="string"==typeof $t?this.doc.querySelector($t):$t;if(!xt)throw new n.\u0275RuntimeError(-5104,!1);return St||(xt.textContent=""),xt}parentNode($t){return $t.parentNode}nextSibling($t){return $t.nextSibling}setAttribute($t,St,xt,nn){if(nn){St=nn+":"+St;const bn=y[nn];bn?$t.setAttributeNS(bn,St,xt):$t.setAttribute(St,xt)}else $t.setAttribute(St,xt)}removeAttribute($t,St,xt){if(xt){const nn=y[xt];nn?$t.removeAttributeNS(nn,St):$t.removeAttribute(`${xt}:${St}`)}else $t.removeAttribute(St)}addClass($t,St){$t.classList.add(St)}removeClass($t,St){$t.classList.remove(St)}setStyle($t,St,xt,nn){nn&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?$t.style.setProperty(St,xt,nn&n.RendererStyleFlags2.Important?"important":""):$t.style[St]=xt}removeStyle($t,St,xt){xt&n.RendererStyleFlags2.DashCase?$t.style.removeProperty(St):$t.style[St]=""}setProperty($t,St,xt){null!=$t&&($t[St]=xt)}setValue($t,St){$t.nodeValue=St}listen($t,St,xt){if("string"==typeof $t&&!($t=(0,i.\u0275getDOM)().getGlobalEventTarget(this.doc,$t)))throw new Error(`Unsupported event target ${$t} for event ${St}`);return this.eventManager.addEventListener($t,St,this.decoratePreventDefault(xt))}decoratePreventDefault($t){return St=>{if("__ngUnwrap__"===St)return $t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>$t(St)):$t(St))&&St.preventDefault()}}}function G(At){return"TEMPLATE"===At.tagName&&void 0!==At.content}class te extends N{constructor($t,St,xt,nn,bn,Tn,rn,nr){super($t,bn,Tn,nr),this.sharedStylesHost=St,this.hostEl=xt,this.shadowRoot=xt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const kr=P(nn.id,nn.styles);for(const Br of kr){const sr=document.createElement("style");rn&&sr.setAttribute("nonce",rn),sr.textContent=Br,this.shadowRoot.appendChild(sr)}}nodeOrShadowRoot($t){return $t===this.hostEl?this.shadowRoot:$t}appendChild($t,St){return super.appendChild(this.nodeOrShadowRoot($t),St)}insertBefore($t,St,xt){return super.insertBefore(this.nodeOrShadowRoot($t),St,xt)}removeChild($t,St){return super.removeChild(this.nodeOrShadowRoot($t),St)}parentNode($t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot($t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ue extends N{constructor($t,St,xt,nn,bn,Tn,rn,nr){super($t,bn,Tn,rn),this.sharedStylesHost=St,this.removeStylesOnCompDestroy=nn,this.styles=nr?P(nr,xt.styles):xt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class se extends ue{constructor($t,St,xt,nn,bn,Tn,rn,nr){const kr=nn+"-"+xt.id;super($t,St,xt,bn,Tn,rn,nr,kr),this.contentAttr=function j(At){return A.replace(b,At)}(kr),this.hostAttr=function T(At){return M.replace(b,At)}(kr)}applyToHost($t){this.applyStyles(),this.setAttribute($t,this.hostAttr,"")}createElement($t,St){const xt=super.createElement($t,St);return super.setAttribute(xt,this.contentAttr,""),xt}}let K=(()=>{class At extends C{constructor(St){super(St)}supports(St){return!0}addEventListener(St,xt,nn){return St.addEventListener(xt,nn,!1),()=>this.removeEventListener(St,xt,nn)}removeEventListener(St,xt,nn){return St.removeEventListener(xt,nn)}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})();const Z=["alt","control","meta","shift"],re={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},J={alt:At=>At.altKey,control:At=>At.ctrlKey,meta:At=>At.metaKey,shift:At=>At.shiftKey};let Y=(()=>{class At extends C{constructor(St){super(St)}supports(St){return null!=At.parseEventName(St)}addEventListener(St,xt,nn){const bn=At.parseEventName(xt),Tn=At.eventCallback(bn.fullKey,nn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.\u0275getDOM)().onAndCancel(St,bn.domEventName,Tn))}static parseEventName(St){const xt=St.toLowerCase().split("."),nn=xt.shift();if(0===xt.length||"keydown"!==nn&&"keyup"!==nn)return null;const bn=At._normalizeKey(xt.pop());let Tn="",rn=xt.indexOf("code");if(rn>-1&&(xt.splice(rn,1),Tn="code."),Z.forEach(kr=>{const Br=xt.indexOf(kr);Br>-1&&(xt.splice(Br,1),Tn+=kr+".")}),Tn+=bn,0!=xt.length||0===bn.length)return null;const nr={};return nr.domEventName=nn,nr.fullKey=Tn,nr}static matchEventFullKeyCode(St,xt){let nn=re[St.key]||St.key,bn="";return xt.indexOf("code.")>-1&&(nn=St.code,bn="code."),!(null==nn||!nn)&&(nn=nn.toLowerCase()," "===nn?nn="space":"."===nn&&(nn="dot"),Z.forEach(Tn=>{Tn!==nn&&(0,J[Tn])(St)&&(bn+=Tn+".")}),bn+=nn,bn===xt)}static eventCallback(St,xt,nn){return bn=>{At.matchEventFullKeyCode(bn,St)&&nn.runGuarded(()=>xt(bn))}}static _normalizeKey(St){return"esc"===St?"escape":St}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})();function $(At,$t){return(0,n.\u0275internalCreateApplication)({rootComponent:At,...ee($t)})}function le(At){return(0,n.\u0275internalCreateApplication)(ee(At))}function ee(At){return{appProviders:[...tt,...At?.providers??[]],platformProviders:_e}}function we(){return[...ot]}function ye(){l.makeCurrent()}const _e=[{provide:n.PLATFORM_ID,useValue:i.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:ye,multi:!0},{provide:i.DOCUMENT,useFactory:function ve(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Pe=(0,n.createPlatformFactory)(n.platformCore,"browser",_e),Ze=new n.InjectionToken(""),ot=[{provide:n.\u0275TESTABILITY_GETTER,useClass:g,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],tt=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Oe(){return new n.ErrorHandler},deps:[]},{provide:p,useClass:K,multi:!0,deps:[i.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:p,useClass:Y,multi:!0,deps:[i.DOCUMENT]},x,f,S,{provide:n.RendererFactory2,useExisting:x},{provide:i.XhrFactory,useClass:v,deps:[]},[]];let mt=(()=>{class At{constructor(St){}static withServerTransition(St){return{ngModule:At,providers:[{provide:n.APP_ID,useValue:St.appId}]}}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(Ze,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:At});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...tt,...ot],imports:[i.CommonModule,n.ApplicationModule]})}return At})(),Qe=(()=>{class At{constructor(St){this._doc=St,this._dom=(0,i.\u0275getDOM)()}addTag(St,xt=!1){return St?this._getOrCreateElement(St,xt):null}addTags(St,xt=!1){return St?St.reduce((nn,bn)=>(bn&&nn.push(this._getOrCreateElement(bn,xt)),nn),[]):[]}getTag(St){return St&&this._doc.querySelector(`meta[${St}]`)||null}getTags(St){if(!St)return[];const xt=this._doc.querySelectorAll(`meta[${St}]`);return xt?[].slice.call(xt):[]}updateTag(St,xt){if(!St)return null;xt=xt||this._parseSelector(St);const nn=this.getTag(xt);return nn?this._setMetaElementAttributes(St,nn):this._getOrCreateElement(St,!0)}removeTag(St){this.removeTagElement(this.getTag(St))}removeTagElement(St){St&&this._dom.remove(St)}_getOrCreateElement(St,xt=!1){if(!xt){const Tn=this._parseSelector(St),rn=this.getTags(Tn).filter(nr=>this._containsAttributes(St,nr))[0];if(void 0!==rn)return rn}const nn=this._dom.createElement("meta");return this._setMetaElementAttributes(St,nn),this._doc.getElementsByTagName("head")[0].appendChild(nn),nn}_setMetaElementAttributes(St,xt){return Object.keys(St).forEach(nn=>xt.setAttribute(this._getMetaKeyMap(nn),St[nn])),xt}_parseSelector(St){const xt=St.name?"name":"property";return`${xt}="${St[xt]}"`}_containsAttributes(St,xt){return Object.keys(St).every(nn=>xt.getAttribute(this._getMetaKeyMap(nn))===St[nn])}_getMetaKeyMap(St){return Ct[St]||St}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})();const Ct={httpEquiv:"http-equiv"};let Xe=(()=>{class At{constructor(St){this._doc=St}getTitle(){return this._doc.title}setTitle(St){this._doc.title=St||""}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})();function nt(At,$t){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[At]=$t)}class Pt{constructor($t,St){this.msPerTick=$t,this.numTicks=St}}class tn{constructor($t){this.appRef=$t.injector.get(n.ApplicationRef)}timeChangeDetection($t){const St=$t&&$t.record,xt="Change Detection";St&&"profile"in console&&"function"==typeof console.profile&&console.profile(xt);const nn=performance.now();let bn=0;for(;bn<5||performance.now()-nn<500;)this.appRef.tick(),bn++;const Tn=performance.now();St&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(xt);const rn=(Tn-nn)/bn;return console.log(`ran ${bn} change detection cycles`),console.log(`${rn.toFixed(2)} ms per check`),new Pt(rn,bn)}}const hn="profiler";function wn(At){return nt(hn,new tn(At)),At}function An(){nt(hn,null)}class _n{static all(){return()=>!0}static css($t){return St=>null!=St.nativeElement&&function qt(At,$t){return!!(0,i.\u0275getDOM)().isElementNode(At)&&(At.matches&&At.matches($t)||At.msMatchesSelector&&At.msMatchesSelector($t)||At.webkitMatchesSelector&&At.webkitMatchesSelector($t))}(St.nativeElement,$t)}static directive($t){return St=>-1!==St.providerTokens.indexOf($t)}}const ht={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Ue=new n.InjectionToken("HammerGestureConfig"),Ee=new n.InjectionToken("HammerLoader");let Te=(()=>{class At{constructor(){this.events=[],this.overrides={}}buildHammer(St){const xt=new Hammer(St,this.options);xt.get("pinch").set({enable:!0}),xt.get("rotate").set({enable:!0});for(const nn in this.overrides)xt.get(nn).set(this.overrides[nn]);return xt}static#e=this.\u0275fac=function(xt){return new(xt||At)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})(),$e=(()=>{class At extends C{constructor(St,xt,nn,bn){super(St),this._config=xt,this.console=nn,this.loader=bn,this._loaderPromise=null}supports(St){return!(!ht.hasOwnProperty(St.toLowerCase())&&!this.isCustomEvent(St)||!window.Hammer&&!this.loader)}addEventListener(St,xt,nn){const bn=this.manager.getZone();if(xt=xt.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||bn.runOutsideAngular(()=>this.loader());let Tn=!1,rn=()=>{Tn=!0};return bn.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Tn||(rn=this.addEventListener(St,xt,nn)):rn=()=>{}}).catch(()=>{rn=()=>{}})),()=>{rn()}}return bn.runOutsideAngular(()=>{const Tn=this._config.buildHammer(St),rn=function(nr){bn.runGuarded(function(){nn(nr)})};return Tn.on(xt,rn),()=>{Tn.off(xt,rn),"function"==typeof Tn.destroy&&Tn.destroy()}})}isCustomEvent(St){return this._config.events.indexOf(St)>-1}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(Ue),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(Ee,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac})}return At})(),je=(()=>{class At{static#e=this.\u0275fac=function(xt){return new(xt||At)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:At});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:p,useClass:$e,multi:!0,deps:[i.DOCUMENT,Ue,n.\u0275Console,[new n.Optional,Ee]]},{provide:Ue,useClass:Te,deps:[]}]})}return At})(),gt=(()=>{class At{static#e=this.\u0275fac=function(xt){return new(xt||At)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:function(xt){let nn=null;return nn=xt?new(xt||At):n.\u0275\u0275inject(He),nn},providedIn:"root"})}return At})(),He=(()=>{class At extends gt{constructor(St){super(),this._doc=St}sanitize(St,xt){if(null==xt)return null;switch(St){case n.SecurityContext.NONE:return xt;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(xt,"HTML")?(0,n.\u0275unwrapSafeValue)(xt):(0,n.\u0275_sanitizeHtml)(this._doc,String(xt)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(xt,"Style")?(0,n.\u0275unwrapSafeValue)(xt):xt;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(xt,"Script"))return(0,n.\u0275unwrapSafeValue)(xt);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(xt,"URL")?(0,n.\u0275unwrapSafeValue)(xt):(0,n.\u0275_sanitizeUrl)(String(xt));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(xt,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(xt);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(St){return(0,n.\u0275bypassSanitizationTrustHtml)(St)}bypassSecurityTrustStyle(St){return(0,n.\u0275bypassSanitizationTrustStyle)(St)}bypassSecurityTrustScript(St){return(0,n.\u0275bypassSanitizationTrustScript)(St)}bypassSecurityTrustUrl(St){return(0,n.\u0275bypassSanitizationTrustUrl)(St)}bypassSecurityTrustResourceUrl(St){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(St)}static#e=this.\u0275fac=function(xt){return new(xt||At)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})();var vt=function(At){return At[At.NoHttpTransferCache=0]="NoHttpTransferCache",At[At.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",At}(vt||{});function ut(At,$t=[],St={}){return{\u0275kind:At,\u0275providers:$t}}function wt(){return ut(vt.NoHttpTransferCache)}function st(At){return ut(vt.HttpTransferCacheOptions,(0,d.\u0275withHttpTransferCache)(At))}function pt(...At){const $t=[],St=new Set,xt=St.has(vt.HttpTransferCacheOptions);for(const{\u0275providers:nn,\u0275kind:bn}of At)St.add(bn),nn.length&&$t.push(nn);return(0,n.makeEnvironmentProviders)([[],(0,n.\u0275withDomHydration)(),St.has(vt.NoHttpTransferCache)||xt?[]:(0,d.\u0275withHttpTransferCache)({}),$t])}const It=new n.Version("17.2.3"),Yt=n.makeStateKey,Xt=n.TransferState},56568:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{ActivatedRoute:()=>ai,ActivatedRouteSnapshot:()=>ti,ActivationEnd:()=>fn,ActivationStart:()=>Cn,BaseRouteReuseStrategy:()=>yr,ChildActivationEnd:()=>vn,ChildActivationStart:()=>mn,ChildrenOutletContexts:()=>Lr,DefaultTitleStrategy:()=>q,DefaultUrlSerializer:()=>wt,EventType:()=>zn,GuardsCheckEnd:()=>rt,GuardsCheckStart:()=>De,NavigationCancel:()=>ae,NavigationCancellationCode:()=>U,NavigationEnd:()=>un,NavigationError:()=>Ae,NavigationSkipped:()=>Fe,NavigationSkippedCode:()=>z,NavigationStart:()=>Mi,NoPreloading:()=>el,OutletContext:()=>Nr,PRIMARY_OUTLET:()=>_e,PreloadAllModules:()=>Gl,PreloadingStrategy:()=>Ks,ROUTER_CONFIGURATION:()=>B,ROUTER_INITIALIZER:()=>No,ROUTES:()=>ce,ResolveEnd:()=>Tt,ResolveStart:()=>_t,RouteConfigLoadEnd:()=>Jt,RouteConfigLoadStart:()=>Bt,RouteReuseStrategy:()=>gr,Router:()=>fo,RouterEvent:()=>ur,RouterLink:()=>hi,RouterLinkActive:()=>ss,RouterLinkWithHref:()=>hi,RouterModule:()=>Xl,RouterOutlet:()=>go,RouterPreloader:()=>tl,RouterState:()=>Gn,RouterStateSnapshot:()=>Zr,RoutesRecognized:()=>fe,Scroll:()=>Gt,TitleStrategy:()=>R,UrlHandlingStrategy:()=>X,UrlSegment:()=>je,UrlSegmentGroup:()=>$e,UrlSerializer:()=>ut,UrlTree:()=>Te,VERSION:()=>ms,convertToParamMap:()=>ot,createUrlTreeFromSnapshot:()=>Jn,defaultUrlMatcher:()=>tt,mapToCanActivate:()=>Us,mapToCanActivateChild:()=>Ma,mapToCanDeactivate:()=>Un,mapToCanMatch:()=>ql,mapToResolve:()=>ec,provideRouter:()=>fu,provideRoutes:()=>ls,withComponentInputBinding:()=>rl,withDebugTracing:()=>Ql,withDisabledInitialNavigation:()=>gu,withEnabledBlockingInitialNavigation:()=>aa,withHashLocation:()=>ca,withInMemoryScrolling:()=>oa,withNavigationErrorHandler:()=>jd,withPreloading:()=>zo,withRouterConfig:()=>la,withViewTransitions:()=>Zl,\u0275EmptyOutletComponent:()=>yi,\u0275ROUTER_PROVIDERS:()=>ol,\u0275afterNextNavigation:()=>Ri,\u0275loadChildren:()=>yt});var n=o(54496),i=o(53252),d=o(38880),l=o(74496),e=o(82700),u=o(46700),c=o(56040),g=o(37696),v=o(7400),p=o(528);function S(oe=1/0){return(0,v.O)(p.Z,oe)}var _=o(59472);function f(...oe){return function C(){return S(1)}()((0,l.Q)(oe,(0,_.e_)(oe)))}var y=o(41424),b=o(83928);function E(oe,be){const de=(0,d.m)(oe)?oe:()=>oe,Se=We=>We.error(de());return new i._(be?We=>be.schedule(Se,0,We):Se)}var M=o(28960),A=o(46928),I=o(95448),F=o(87773);function j(){return(0,I.i)((oe,be)=>{let de=null;oe._refCount++;const Se=(0,F.e)(be,void 0,void 0,void 0,()=>{if(!oe||oe._refCount<=0||0<--oe._refCount)return void(de=null);const We=oe._connection,it=de;de=null,We&&(!it||We===it)&&We.unsubscribe(),be.unsubscribe()});oe.subscribe(Se),Se.closed||(de=oe.connect())})}class T extends i._{constructor(be,de){super(),this.source=be,this.subjectFactory=de,this._subject=null,this._refCount=0,this._connection=null,(0,I.e)(be)&&(this.lift=be.lift)}_subscribe(be){return this.getSubject().subscribe(be)}getSubject(){const be=this._subject;return(!be||be.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:be}=this;this._subject=this._connection=null,be?.unsubscribe()}connect(){let be=this._connection;if(!be){be=this._connection=new A.wH;const de=this.getSubject();be.add(this.source.subscribe((0,F.e)(de,void 0,()=>{this._teardown(),de.complete()},Se=>{this._teardown(),de.error(Se)},()=>this._teardown()))),be.closed&&(this._connection=null,be=A.wH.EMPTY)}return be}refCount(){return j()(this)}}var P=o(95657),x=o(91368),N=o(54704),O=o(17368),H=o(3992),te=o(66684),ue=o(75084),se=o(26020),K=o(19212),Z=o(39144);var Y=o(22156);function $(oe){return oe<=0?()=>M.k:(0,I.i)((be,de)=>{let Se=[];be.subscribe((0,F.e)(de,We=>{Se.push(We),oe{for(const We of Se)de.next(We);de.complete()},void 0,()=>{Se=null}))})}var le=o(98124),we=o(32700),ye=o(68824),Oe=o(53616),ve=o(14476);const _e="primary",Pe=Symbol("RouteTitle");class Ze{constructor(be){this.params=be||{}}has(be){return Object.prototype.hasOwnProperty.call(this.params,be)}get(be){if(this.has(be)){const de=this.params[be];return Array.isArray(de)?de[0]:de}return null}getAll(be){if(this.has(be)){const de=this.params[be];return Array.isArray(de)?de:[de]}return[]}get keys(){return Object.keys(this.params)}}function ot(oe){return new Ze(oe)}function tt(oe,be,de){const Se=de.path.split("/");if(Se.length>oe.length||"full"===de.pathMatch&&(be.hasChildren()||Se.lengthSe[it]===We)}return oe===be}function nt(oe){return oe.length>0?oe[oe.length-1]:null}function Pt(oe){return function a(oe){return!!oe&&(oe instanceof i._||(0,d.m)(oe.lift)&&(0,d.m)(oe.subscribe))}(oe)?oe:(0,n.\u0275isPromise)(oe)?(0,l.Q)(Promise.resolve(oe)):(0,e.of)(oe)}const tn={exact:function _n(oe,be,de){if(!He(oe.segments,be.segments)||!Ee(oe.segments,be.segments,de)||oe.numberOfChildren!==be.numberOfChildren)return!1;for(const Se in be.children)if(!oe.children[Se]||!_n(oe.children[Se],be.children[Se],de))return!1;return!0},subset:ht},hn={exact:function An(oe,be){return Qe(oe,be)},subset:function qt(oe,be){return Object.keys(be).length<=Object.keys(oe).length&&Object.keys(be).every(de=>Xe(oe[de],be[de]))},ignored:()=>!0};function wn(oe,be,de){return tn[de.paths](oe.root,be.root,de.matrixParams)&&hn[de.queryParams](oe.queryParams,be.queryParams)&&!("exact"===de.fragment&&oe.fragment!==be.fragment)}function ht(oe,be,de){return Ue(oe,be,be.segments,de)}function Ue(oe,be,de,Se){if(oe.segments.length>de.length){const We=oe.segments.slice(0,de.length);return!(!He(We,de)||be.hasChildren()||!Ee(We,de,Se))}if(oe.segments.length===de.length){if(!He(oe.segments,de)||!Ee(oe.segments,de,Se))return!1;for(const We in be.children)if(!oe.children[We]||!ht(oe.children[We],be.children[We],Se))return!1;return!0}{const We=de.slice(0,oe.segments.length),it=de.slice(oe.segments.length);return!!(He(oe.segments,We)&&Ee(oe.segments,We,Se)&&oe.children[_e])&&Ue(oe.children[_e],be,it,Se)}}function Ee(oe,be,de){return be.every((Se,We)=>hn[de](oe[We].parameters,Se.parameters))}class Te{constructor(be=new $e([],{}),de={},Se=null){this.root=be,this.queryParams=de,this.fragment=Se}get queryParamMap(){return this._queryParamMap??=ot(this.queryParams),this._queryParamMap}toString(){return st.serialize(this)}}class $e{constructor(be,de){this.segments=be,this.children=de,this.parent=null,Object.values(de).forEach(Se=>Se.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return zt(this)}}class je{constructor(be,de){this.path=be,this.parameters=de}get parameterMap(){return this._parameterMap??=ot(this.parameters),this._parameterMap}toString(){return xt(this)}}function He(oe,be){return oe.length===be.length&&oe.every((de,Se)=>de.path===be[Se].path)}let ut=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>new wt,providedIn:"root"})}return oe})();class wt{parse(be){const de=new qn(be);return new Te(de.parseRootSegment(),de.parseQueryParams(),de.parseFragment())}serialize(be){const de=`/${pt(be.root,!0)}`,Se=function bn(oe){const be=Object.entries(oe).map(([de,Se])=>Array.isArray(Se)?Se.map(We=>`${Yt(de)}=${Yt(We)}`).join("&"):`${Yt(de)}=${Yt(Se)}`).filter(de=>de);return be.length?`?${be.join("&")}`:""}(be.queryParams);return`${de}${Se}${"string"==typeof be.fragment?`#${function Xt(oe){return encodeURI(oe)}(be.fragment)}`:""}`}}const st=new wt;function zt(oe){return oe.segments.map(be=>xt(be)).join("/")}function pt(oe,be){if(!oe.hasChildren())return zt(oe);if(be){const de=oe.children[_e]?pt(oe.children[_e],!1):"",Se=[];return Object.entries(oe.children).forEach(([We,it])=>{We!==_e&&Se.push(`${We}:${pt(it,!1)}`)}),Se.length>0?`${de}(${Se.join("//")})`:de}{const de=function vt(oe,be){let de=[];return Object.entries(oe.children).forEach(([Se,We])=>{Se===_e&&(de=de.concat(be(We,Se)))}),Object.entries(oe.children).forEach(([Se,We])=>{Se!==_e&&(de=de.concat(be(We,Se)))}),de}(oe,(Se,We)=>We===_e?[pt(oe.children[_e],!1)]:[`${We}:${pt(Se,!1)}`]);return 1===Object.keys(oe.children).length&&null!=oe.children[_e]?`${zt(oe)}/${de[0]}`:`${zt(oe)}/(${de.join("//")})`}}function It(oe){return encodeURIComponent(oe).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Yt(oe){return It(oe).replace(/%3B/gi,";")}function At(oe){return It(oe).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $t(oe){return decodeURIComponent(oe)}function St(oe){return $t(oe.replace(/\+/g,"%20"))}function xt(oe){return`${At(oe.path)}${function nn(oe){return Object.entries(oe).map(([be,de])=>`;${At(be)}=${At(de)}`).join("")}(oe.parameters)}`}const Tn=/^[^\/()?;#]+/;function rn(oe){const be=oe.match(Tn);return be?be[0]:""}const nr=/^[^\/()?;=#]+/,Br=/^[^=?&#]+/,Er=/^[^&#]+/;class qn{constructor(be){this.url=be,this.remaining=be}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new $e([],{}):new $e([],this.parseChildren())}parseQueryParams(){const be={};if(this.consumeOptional("?"))do{this.parseQueryParam(be)}while(this.consumeOptional("&"));return be}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const be=[];for(this.peekStartsWith("(")||be.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),be.push(this.parseSegment());let de={};this.peekStartsWith("/(")&&(this.capture("/"),de=this.parseParens(!0));let Se={};return this.peekStartsWith("(")&&(Se=this.parseParens(!1)),(be.length>0||Object.keys(de).length>0)&&(Se[_e]=new $e(be,de)),Se}parseSegment(){const be=rn(this.remaining);if(""===be&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(be),new je($t(be),this.parseMatrixParams())}parseMatrixParams(){const be={};for(;this.consumeOptional(";");)this.parseParam(be);return be}parseParam(be){const de=function kr(oe){const be=oe.match(nr);return be?be[0]:""}(this.remaining);if(!de)return;this.capture(de);let Se="";if(this.consumeOptional("=")){const We=rn(this.remaining);We&&(Se=We,this.capture(Se))}be[$t(de)]=$t(Se)}parseQueryParam(be){const de=function sr(oe){const be=oe.match(Br);return be?be[0]:""}(this.remaining);if(!de)return;this.capture(de);let Se="";if(this.consumeOptional("=")){const Lt=function br(oe){const be=oe.match(Er);return be?be[0]:""}(this.remaining);Lt&&(Se=Lt,this.capture(Se))}const We=St(de),it=St(Se);if(be.hasOwnProperty(We)){let Lt=be[We];Array.isArray(Lt)||(Lt=[Lt],be[We]=Lt),Lt.push(it)}else be[We]=it}parseParens(be){const de={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Se=rn(this.remaining),We=this.remaining[Se.length];if("/"!==We&&")"!==We&&";"!==We)throw new n.\u0275RuntimeError(4010,!1);let it;Se.indexOf(":")>-1?(it=Se.slice(0,Se.indexOf(":")),this.capture(it),this.capture(":")):be&&(it=_e);const Lt=this.parseChildren();de[it]=1===Object.keys(Lt).length?Lt[_e]:new $e([],Lt),this.consumeOptional("//")}return de}peekStartsWith(be){return this.remaining.startsWith(be)}consumeOptional(be){return!!this.peekStartsWith(be)&&(this.remaining=this.remaining.substring(be.length),!0)}capture(be){if(!this.consumeOptional(be))throw new n.\u0275RuntimeError(4011,!1)}}function Rn(oe){return oe.segments.length>0?new $e([],{[_e]:oe}):oe}function oi(oe){const be={};for(const[Se,We]of Object.entries(oe.children)){const it=oi(We);if(Se===_e&&0===it.segments.length&&it.hasChildren())for(const[Lt,gn]of Object.entries(it.children))be[Lt]=gn;else(it.segments.length>0||it.hasChildren())&&(be[Se]=it)}return function Sr(oe){if(1===oe.numberOfChildren&&oe.children[_e]){const be=oe.children[_e];return new $e(oe.segments.concat(be.segments),be.children)}return oe}(new $e(oe.segments,be))}function pr(oe){return oe instanceof Te}function Jn(oe,be,de=null,Se=null){return Or(er(oe),be,de,Se)}function er(oe){let be;const We=Rn(function de(it){const Lt={};for(const ln of it.children){const Xn=de(ln);Lt[ln.outlet]=Xn}const gn=new $e(it.url,Lt);return it===oe&&(be=gn),gn}(oe.root));return be??We}function Or(oe,be,de,Se){let We=oe;for(;We.parent;)We=We.parent;if(0===be.length)return jn(We,We,We,de,Se);const it=function ui(oe){if("string"==typeof oe[0]&&1===oe.length&&"/"===oe[0])return new or(!0,0,oe);let be=0,de=!1;const Se=oe.reduce((We,it,Lt)=>{if("object"==typeof it&&null!=it){if(it.outlets){const gn={};return Object.entries(it.outlets).forEach(([ln,Xn])=>{gn[ln]="string"==typeof Xn?Xn.split("/"):Xn}),[...We,{outlets:gn}]}if(it.segmentPath)return[...We,it.segmentPath]}return"string"!=typeof it?[...We,it]:0===Lt?(it.split("/").forEach((gn,ln)=>{0==ln&&"."===gn||(0==ln&&""===gn?de=!0:".."===gn?be++:""!=gn&&We.push(gn))}),We):[...We,it]},[]);return new or(de,be,Se)}(be);if(it.toRoot())return jn(We,We,new $e([],{}),de,Se);const Lt=function ct(oe,be,de){if(oe.isAbsolute)return new Pr(be,!0,0);if(!de)return new Pr(be,!1,NaN);if(null===de.parent)return new Pr(de,!0,0);const Se=pi(oe.commands[0])?0:1;return function Rt(oe,be,de){let Se=oe,We=be,it=de;for(;it>We;){if(it-=We,Se=Se.parent,!Se)throw new n.\u0275RuntimeError(4005,!1);We=Se.segments.length}return new Pr(Se,!1,We-it)}(de,de.segments.length-1+Se,oe.numberOfDoubleDots)}(it,We,oe),gn=Lt.processChildren?dn(Lt.segmentGroup,Lt.index,it.commands):on(Lt.segmentGroup,Lt.index,it.commands);return jn(We,Lt.segmentGroup,gn,de,Se)}function pi(oe){return"object"==typeof oe&&null!=oe&&!oe.outlets&&!oe.segmentPath}function en(oe){return"object"==typeof oe&&null!=oe&&oe.outlets}function jn(oe,be,de,Se,We){let Lt,it={};Se&&Object.entries(Se).forEach(([ln,Xn])=>{it[ln]=Array.isArray(Xn)?Xn.map(xr=>`${xr}`):`${Xn}`}),Lt=oe===be?de:Qn(oe,be,de);const gn=Rn(oi(Lt));return new Te(gn,it,We)}function Qn(oe,be,de){const Se={};return Object.entries(oe.children).forEach(([We,it])=>{Se[We]=it===be?de:Qn(it,be,de)}),new $e(oe.segments,Se)}class or{constructor(be,de,Se){if(this.isAbsolute=be,this.numberOfDoubleDots=de,this.commands=Se,be&&Se.length>0&&pi(Se[0]))throw new n.\u0275RuntimeError(4003,!1);const We=Se.find(en);if(We&&We!==nt(Se))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Pr{constructor(be,de,Se){this.segmentGroup=be,this.processChildren=de,this.index=Se}}function on(oe,be,de){if(oe??=new $e([],{}),0===oe.segments.length&&oe.hasChildren())return dn(oe,be,de);const Se=function Mn(oe,be,de){let Se=0,We=be;const it={match:!1,pathIndex:0,commandIndex:0};for(;We=de.length)return it;const Lt=oe.segments[We],gn=de[Se];if(en(gn))break;const ln=`${gn}`,Xn=Se0&&void 0===ln)break;if(ln&&Xn&&"object"==typeof Xn&&void 0===Xn.outlets){if(!Tr(ln,Xn,Lt))return it;Se+=2}else{if(!Tr(ln,{},Lt))return it;Se++}We++}return{match:!0,pathIndex:We,commandIndex:Se}}(oe,be,de),We=de.slice(Se.commandIndex);if(Se.match&&Se.pathIndexit!==_e)&&oe.children[_e]&&1===oe.numberOfChildren&&0===oe.children[_e].segments.length){const it=dn(oe.children[_e],be,de);return new $e(oe.segments,it.children)}return Object.entries(Se).forEach(([it,Lt])=>{"string"==typeof Lt&&(Lt=[Lt]),null!==Lt&&(We[it]=on(oe.children[it],be,Lt))}),Object.entries(oe.children).forEach(([it,Lt])=>{void 0===Se[it]&&(We[it]=Lt)}),new $e(oe.segments,We)}}function En(oe,be,de){const Se=oe.segments.slice(0,be);let We=0;for(;We{"string"==typeof Se&&(Se=[Se]),null!==Se&&(be[de]=En(new $e([],{}),0,Se))}),be}function Yn(oe){const be={};return Object.entries(oe).forEach(([de,Se])=>be[de]=`${Se}`),be}function Tr(oe,be,de){return oe==de.path&&Qe(be,de.parameters)}const Mr="imperative";var zn=function(oe){return oe[oe.NavigationStart=0]="NavigationStart",oe[oe.NavigationEnd=1]="NavigationEnd",oe[oe.NavigationCancel=2]="NavigationCancel",oe[oe.NavigationError=3]="NavigationError",oe[oe.RoutesRecognized=4]="RoutesRecognized",oe[oe.ResolveStart=5]="ResolveStart",oe[oe.ResolveEnd=6]="ResolveEnd",oe[oe.GuardsCheckStart=7]="GuardsCheckStart",oe[oe.GuardsCheckEnd=8]="GuardsCheckEnd",oe[oe.RouteConfigLoadStart=9]="RouteConfigLoadStart",oe[oe.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",oe[oe.ChildActivationStart=11]="ChildActivationStart",oe[oe.ChildActivationEnd=12]="ChildActivationEnd",oe[oe.ActivationStart=13]="ActivationStart",oe[oe.ActivationEnd=14]="ActivationEnd",oe[oe.Scroll=15]="Scroll",oe[oe.NavigationSkipped=16]="NavigationSkipped",oe}(zn||{});class ur{constructor(be,de){this.id=be,this.url=de}}class Mi extends ur{constructor(be,de,Se="imperative",We=null){super(be,de),this.type=zn.NavigationStart,this.navigationTrigger=Se,this.restoredState=We}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class un extends ur{constructor(be,de,Se){super(be,de),this.urlAfterRedirects=Se,this.type=zn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var U=function(oe){return oe[oe.Redirect=0]="Redirect",oe[oe.SupersededByNewNavigation=1]="SupersededByNewNavigation",oe[oe.NoDataFromResolver=2]="NoDataFromResolver",oe[oe.GuardRejected=3]="GuardRejected",oe}(U||{}),z=function(oe){return oe[oe.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",oe[oe.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",oe}(z||{});class ae extends ur{constructor(be,de,Se,We){super(be,de),this.reason=Se,this.code=We,this.type=zn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Fe extends ur{constructor(be,de,Se,We){super(be,de),this.reason=Se,this.code=We,this.type=zn.NavigationSkipped}}class Ae extends ur{constructor(be,de,Se,We){super(be,de),this.error=Se,this.target=We,this.type=zn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class fe extends ur{constructor(be,de,Se,We){super(be,de),this.urlAfterRedirects=Se,this.state=We,this.type=zn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class De extends ur{constructor(be,de,Se,We){super(be,de),this.urlAfterRedirects=Se,this.state=We,this.type=zn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rt extends ur{constructor(be,de,Se,We,it){super(be,de),this.urlAfterRedirects=Se,this.state=We,this.shouldActivate=it,this.type=zn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class _t extends ur{constructor(be,de,Se,We){super(be,de),this.urlAfterRedirects=Se,this.state=We,this.type=zn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tt extends ur{constructor(be,de,Se,We){super(be,de),this.urlAfterRedirects=Se,this.state=We,this.type=zn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bt{constructor(be){this.route=be,this.type=zn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Jt{constructor(be){this.route=be,this.type=zn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class mn{constructor(be){this.snapshot=be,this.type=zn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vn{constructor(be){this.snapshot=be,this.type=zn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cn{constructor(be){this.snapshot=be,this.type=zn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fn{constructor(be){this.snapshot=be,this.type=zn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Gt{constructor(be,de,Se){this.routerEvent=be,this.position=de,this.anchor=Se,this.type=zn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Nn{}class lr{constructor(be){this.url=be}}class Nr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Lr,this.attachRef=null}}let Lr=(()=>{class oe{constructor(){this.contexts=new Map}onChildOutletCreated(de,Se){const We=this.getOrCreateContext(de);We.outlet=Se,this.contexts.set(de,We)}onChildOutletDestroyed(de){const Se=this.getContext(de);Se&&(Se.outlet=null,Se.attachRef=null)}onOutletDeactivated(){const de=this.contexts;return this.contexts=new Map,de}onOutletReAttached(de){this.contexts=de}getOrCreateContext(de){let Se=this.getContext(de);return Se||(Se=new Nr,this.contexts.set(de,Se)),Se}getContext(de){return this.contexts.get(de)||null}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();class dt{constructor(be){this._root=be}get root(){return this._root.value}parent(be){const de=this.pathFromRoot(be);return de.length>1?de[de.length-2]:null}children(be){const de=lo(be,this._root);return de?de.children.map(Se=>Se.value):[]}firstChild(be){const de=lo(be,this._root);return de&&de.children.length>0?de.children[0].value:null}siblings(be){const de=vi(be,this._root);return de.length<2?[]:de[de.length-2].children.map(We=>We.value).filter(We=>We!==be)}pathFromRoot(be){return vi(be,this._root).map(de=>de.value)}}function lo(oe,be){if(oe===be.value)return be;for(const de of be.children){const Se=lo(oe,de);if(Se)return Se}return null}function vi(oe,be){if(oe===be.value)return[be];for(const de of be.children){const Se=vi(oe,de);if(Se.length)return Se.unshift(be),Se}return[]}class _r{constructor(be,de){this.value=be,this.children=de}toString(){return`TreeNode(${this.value})`}}function In(oe){const be={};return oe&&oe.children.forEach(de=>be[de.value.outlet]=de),be}class Gn extends dt{constructor(be,de){super(be),this.snapshot=de,Xr(this,be)}toString(){return this.snapshot.toString()}}function si(oe){const be=function Ir(oe){const it=new ti([],{},{},"",{},_e,oe,null,{});return new Zr("",new _r(it,[]))}(oe),de=new u.g([new je("",{})]),Se=new u.g({}),We=new u.g({}),it=new u.g({}),Lt=new u.g(""),gn=new ai(de,Se,it,Lt,We,_e,oe,be.root);return gn.snapshot=be.root,new Gn(new _r(gn,[]),be)}class ai{constructor(be,de,Se,We,it,Lt,gn,ln){this.urlSubject=be,this.paramsSubject=de,this.queryParamsSubject=Se,this.fragmentSubject=We,this.dataSubject=it,this.outlet=Lt,this.component=gn,this._futureSnapshot=ln,this.title=this.dataSubject?.pipe((0,N.k)(Xn=>Xn[Pe]))??(0,e.of)(void 0),this.url=be,this.params=de,this.queryParams=Se,this.fragment=We,this.data=it}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,N.k)(be=>ot(be))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,N.k)(be=>ot(be))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Fn(oe,be,de="emptyOnly"){let Se;const{routeConfig:We}=oe;return Se=null===be||"always"!==de&&""!==We?.path&&(be.component||be.routeConfig?.loadComponent)?{params:{...oe.params},data:{...oe.data},resolve:{...oe.data,...oe._resolvedData??{}}}:{params:{...be.params,...oe.params},data:{...be.data,...oe.data},resolve:{...oe.data,...be.data,...We?.data,...oe._resolvedData}},We&&ko(We)&&(Se.resolve[Pe]=We.title),Se}class ti{get title(){return this.data?.[Pe]}constructor(be,de,Se,We,it,Lt,gn,ln,Xn){this.url=be,this.params=de,this.queryParams=Se,this.fragment=We,this.data=it,this.outlet=Lt,this.component=gn,this.routeConfig=ln,this._resolve=Xn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ot(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ot(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Se=>Se.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Zr extends dt{constructor(be,de){super(de),this.url=be,Xr(this,de)}toString(){return Vi(this._root)}}function Xr(oe,be){be.value._routerState=oe,be.children.forEach(de=>Xr(oe,de))}function Vi(oe){const be=oe.children.length>0?` { ${oe.children.map(Vi).join(", ")} } `:"";return`${oe.value}${be}`}function hr(oe){if(oe.snapshot){const be=oe.snapshot,de=oe._futureSnapshot;oe.snapshot=de,Qe(be.queryParams,de.queryParams)||oe.queryParamsSubject.next(de.queryParams),be.fragment!==de.fragment&&oe.fragmentSubject.next(de.fragment),Qe(be.params,de.params)||oe.paramsSubject.next(de.params),function mt(oe,be){if(oe.length!==be.length)return!1;for(let de=0;deQe(de.parameters,be[Se].parameters))}(oe.url,be.url);return de&&!(!oe.parent!=!be.parent)&&(!oe.parent||Yi(oe.parent,be.parent))}function ko(oe){return"string"==typeof oe.title||null===oe.title}let go=(()=>{class oe{constructor(){this.activated=null,this._activatedRoute=null,this.name=_e,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(Lr),this.location=(0,n.inject)(n.ViewContainerRef),this.changeDetector=(0,n.inject)(n.ChangeDetectorRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(zi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(de){if(de.name){const{firstChange:Se,previousValue:We}=de.name;if(Se)return;this.isTrackedInParentContexts(We)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(We)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(de){return this.parentContexts.getContext(de)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const de=this.parentContexts.getContext(this.name);de?.route&&(de.attachRef?this.attach(de.attachRef,de.route):this.activateWith(de.route,de.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);this.location.detach();const de=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(de.instance),de}attach(de,Se){this.activated=de,this._activatedRoute=Se,this.location.insert(de.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(de.instance)}deactivate(){if(this.activated){const de=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(de)}}activateWith(de,Se){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=de;const We=this.location,Lt=de.snapshot.component,gn=this.parentContexts.getOrCreateContext(this.name).children,ln=new Jr(de,gn,We.injector);this.activated=We.createComponent(Lt,{index:We.length,injector:ln,environmentInjector:Se??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return oe})();class Jr{constructor(be,de,Se){this.route=be,this.childContexts=de,this.parent=Se}get(be,de){return be===ai?this.route:be===Lr?this.childContexts:this.parent.get(be,de)}}const zi=new n.InjectionToken("");let qi=(()=>{class oe{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(de){this.unsubscribeFromRouteData(de),this.subscribeToRouteData(de)}unsubscribeFromRouteData(de){this.outletDataSubscriptions.get(de)?.unsubscribe(),this.outletDataSubscriptions.delete(de)}subscribeToRouteData(de){const{activatedRoute:Se}=de,We=(0,c.E)([Se.queryParams,Se.params,Se.data]).pipe((0,O.G)(([it,Lt,gn],ln)=>(gn={...it,...Lt,...gn},0===ln?(0,e.of)(gn):Promise.resolve(gn)))).subscribe(it=>{if(!de.isActivated||!de.activatedComponentRef||de.activatedRoute!==Se||null===Se.component)return void this.unsubscribeFromRouteData(de);const Lt=(0,n.reflectComponentType)(Se.component);if(Lt)for(const{templateName:gn}of Lt.inputs)de.activatedComponentRef.setInput(gn,it[gn]);else this.unsubscribeFromRouteData(de)});this.outletDataSubscriptions.set(de,We)}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac})}return oe})();function Rr(oe,be,de){if(de&&oe.shouldReuseRoute(be.value,de.value.snapshot)){const Se=de.value;Se._futureSnapshot=be.value;const We=function mo(oe,be,de){return be.children.map(Se=>{for(const We of de.children)if(oe.shouldReuseRoute(Se.value,We.value.snapshot))return Rr(oe,Se,We);return Rr(oe,Se)})}(oe,be,de);return new _r(Se,We)}{if(oe.shouldAttach(be.value)){const it=oe.retrieve(be.value);if(null!==it){const Lt=it.route;return Lt.value._futureSnapshot=be.value,Lt.children=be.children.map(gn=>Rr(oe,gn)),Lt}}const Se=function _i(oe){return new ai(new u.g(oe.url),new u.g(oe.params),new u.g(oe.queryParams),new u.g(oe.fragment),new u.g(oe.data),oe.outlet,oe.component,oe)}(be.value),We=be.children.map(it=>Rr(oe,it));return new _r(Se,We)}}const xi="ngNavigationCancelingError";function qr(oe,be){const{redirectTo:de,navigationBehaviorOptions:Se}=pr(be)?{redirectTo:be,navigationBehaviorOptions:void 0}:be,We=ar(!1,U.Redirect);return We.url=de,We.navigationBehaviorOptions=Se,We}function ar(oe,be){const de=new Error(`NavigationCancelingError: ${oe||""}`);return de[xi]=!0,de.cancellationCode=be,de}function wi(oe){return!!oe&&oe[xi]}let yi=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(Se,We){1&Se&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[go],encapsulation:2})}return oe})();function Li(oe){const be=oe.children&&oe.children.map(Li),de=be?{...oe,children:be}:{...oe};return!de.component&&!de.loadComponent&&(be||de.loadChildren)&&de.outlet&&de.outlet!==_e&&(de.component=yi),de}function Gi(oe){return oe.outlet||_e}function Co(oe){if(!oe)return null;if(oe.routeConfig?._injector)return oe.routeConfig._injector;for(let be=oe.parent;be;be=be.parent){const de=be.routeConfig;if(de?._loadedInjector)return de._loadedInjector;if(de?._injector)return de._injector}return null}class bs{constructor(be,de,Se,We,it){this.routeReuseStrategy=be,this.futureState=de,this.currState=Se,this.forwardEvent=We,this.inputBindingEnabled=it}activate(be){const de=this.futureState._root,Se=this.currState?this.currState._root:null;this.deactivateChildRoutes(de,Se,be),hr(this.futureState.root),this.activateChildRoutes(de,Se,be)}deactivateChildRoutes(be,de,Se){const We=In(de);be.children.forEach(it=>{const Lt=it.value.outlet;this.deactivateRoutes(it,We[Lt],Se),delete We[Lt]}),Object.values(We).forEach(it=>{this.deactivateRouteAndItsChildren(it,Se)})}deactivateRoutes(be,de,Se){const We=be.value,it=de?de.value:null;if(We===it)if(We.component){const Lt=Se.getContext(We.outlet);Lt&&this.deactivateChildRoutes(be,de,Lt.children)}else this.deactivateChildRoutes(be,de,Se);else it&&this.deactivateRouteAndItsChildren(de,Se)}deactivateRouteAndItsChildren(be,de){be.value.component&&this.routeReuseStrategy.shouldDetach(be.value.snapshot)?this.detachAndStoreRouteSubtree(be,de):this.deactivateRouteAndOutlet(be,de)}detachAndStoreRouteSubtree(be,de){const Se=de.getContext(be.value.outlet),We=Se&&be.value.component?Se.children:de,it=In(be);for(const Lt of Object.values(it))this.deactivateRouteAndItsChildren(Lt,We);if(Se&&Se.outlet){const Lt=Se.outlet.detach(),gn=Se.children.onOutletDeactivated();this.routeReuseStrategy.store(be.value.snapshot,{componentRef:Lt,route:be,contexts:gn})}}deactivateRouteAndOutlet(be,de){const Se=de.getContext(be.value.outlet),We=Se&&be.value.component?Se.children:de,it=In(be);for(const Lt of Object.values(it))this.deactivateRouteAndItsChildren(Lt,We);Se&&(Se.outlet&&(Se.outlet.deactivate(),Se.children.onOutletDeactivated()),Se.attachRef=null,Se.route=null)}activateChildRoutes(be,de,Se){const We=In(de);be.children.forEach(it=>{this.activateRoutes(it,We[it.value.outlet],Se),this.forwardEvent(new fn(it.value.snapshot))}),be.children.length&&this.forwardEvent(new vn(be.value.snapshot))}activateRoutes(be,de,Se){const We=be.value,it=de?de.value:null;if(hr(We),We===it)if(We.component){const Lt=Se.getOrCreateContext(We.outlet);this.activateChildRoutes(be,de,Lt.children)}else this.activateChildRoutes(be,de,Se);else if(We.component){const Lt=Se.getOrCreateContext(We.outlet);if(this.routeReuseStrategy.shouldAttach(We.snapshot)){const gn=this.routeReuseStrategy.retrieve(We.snapshot);this.routeReuseStrategy.store(We.snapshot,null),Lt.children.onOutletReAttached(gn.contexts),Lt.attachRef=gn.componentRef,Lt.route=gn.route.value,Lt.outlet&&Lt.outlet.attach(gn.componentRef,gn.route.value),hr(gn.route.value),this.activateChildRoutes(be,null,Lt.children)}else{const gn=Co(We.snapshot);Lt.attachRef=null,Lt.route=We,Lt.injector=gn,Lt.outlet&&Lt.outlet.activateWith(We,Lt.injector),this.activateChildRoutes(be,null,Lt.children)}}else this.activateChildRoutes(be,null,Se)}}class Go{constructor(be){this.path=be,this.route=this.path[this.path.length-1]}}class ns{constructor(be,de){this.component=be,this.route=de}}function rs(oe,be,de){const Se=oe._root;return So(Se,be?be._root:null,de,[Se.value])}function uo(oe,be){const de=Symbol(),Se=be.get(oe,de);return Se===de?"function"!=typeof oe||(0,n.\u0275isInjectable)(oe)?be.get(oe):oe:Se}function So(oe,be,de,Se,We={canDeactivateChecks:[],canActivateChecks:[]}){const it=In(be);return oe.children.forEach(Lt=>{(function cs(oe,be,de,Se,We={canDeactivateChecks:[],canActivateChecks:[]}){const it=oe.value,Lt=be?be.value:null,gn=de?de.getContext(oe.value.outlet):null;if(Lt&&it.routeConfig===Lt.routeConfig){const ln=function co(oe,be,de){if("function"==typeof de)return de(oe,be);switch(de){case"pathParamsChange":return!He(oe.url,be.url);case"pathParamsOrQueryParamsChange":return!He(oe.url,be.url)||!Qe(oe.queryParams,be.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yi(oe,be)||!Qe(oe.queryParams,be.queryParams);default:return!Yi(oe,be)}}(Lt,it,it.routeConfig.runGuardsAndResolvers);ln?We.canActivateChecks.push(new Go(Se)):(it.data=Lt.data,it._resolvedData=Lt._resolvedData),So(oe,be,it.component?gn?gn.children:null:de,Se,We),ln&&gn&&gn.outlet&&gn.outlet.isActivated&&We.canDeactivateChecks.push(new ns(gn.outlet.component,Lt))}else Lt&&Fo(be,gn,We),We.canActivateChecks.push(new Go(Se)),So(oe,null,it.component?gn?gn.children:null:de,Se,We)})(Lt,it[Lt.value.outlet],de,Se.concat([Lt.value]),We),delete it[Lt.value.outlet]}),Object.entries(it).forEach(([Lt,gn])=>Fo(gn,de.getContext(Lt),We)),We}function Fo(oe,be,de){const Se=In(oe),We=oe.value;Object.entries(Se).forEach(([it,Lt])=>{Fo(Lt,We.component?be?be.children.getContext(it):null:be,de)}),de.canDeactivateChecks.push(new ns(We.component&&be&&be.outlet&&be.outlet.isActivated?be.outlet.component:null,We))}function Do(oe){return"function"==typeof oe}function ft(oe){return oe instanceof g.G||"EmptyError"===oe?.name}const Ot=Symbol("INITIAL_VALUE");function Wn(){return(0,O.G)(oe=>(0,c.E)(oe.map(be=>be.pipe((0,H.U)(1),function G(...oe){const be=(0,_.e_)(oe);return(0,I.i)((de,Se)=>{(be?f(oe,de,be):f(oe,de)).subscribe(Se)})}(Ot)))).pipe((0,N.k)(be=>{for(const de of be)if(!0!==de){if(de===Ot)return Ot;if(!1===de||de instanceof Te)return de}return!0}),(0,te.I)(be=>be!==Ot),(0,H.U)(1)))}function Xo(oe){return(0,b.W)((0,K.y)(be=>{if(pr(be))throw qr(0,be)}),(0,N.k)(be=>!0===be))}class _o{constructor(be){this.segmentGroup=be||null}}class Di extends Error{constructor(be){super(),this.urlTree=be}}function To(oe){return E(new _o(oe))}class fs{constructor(be,de){this.urlSerializer=be,this.urlTree=de}lineralizeSegments(be,de){let Se=[],We=de.root;for(;;){if(Se=Se.concat(We.segments),0===We.numberOfChildren)return(0,e.of)(Se);if(We.numberOfChildren>1||!We.children[_e])return E(new n.\u0275RuntimeError(4e3,!1));We=We.children[_e]}}applyRedirectCommands(be,de,Se){const We=this.applyRedirectCreateUrlTree(de,this.urlSerializer.parse(de),be,Se);if(de.startsWith("/"))throw new Di(We);return We}applyRedirectCreateUrlTree(be,de,Se,We){const it=this.createSegmentGroup(be,de.root,Se,We);return new Te(it,this.createQueryParams(de.queryParams,this.urlTree.queryParams),de.fragment)}createQueryParams(be,de){const Se={};return Object.entries(be).forEach(([We,it])=>{if("string"==typeof it&&it.startsWith(":")){const gn=it.substring(1);Se[We]=de[gn]}else Se[We]=it}),Se}createSegmentGroup(be,de,Se,We){const it=this.createSegments(be,de.segments,Se,We);let Lt={};return Object.entries(de.children).forEach(([gn,ln])=>{Lt[gn]=this.createSegmentGroup(be,ln,Se,We)}),new $e(it,Lt)}createSegments(be,de,Se,We){return de.map(it=>it.path.startsWith(":")?this.findPosParam(be,it,We):this.findOrReturn(it,Se))}findPosParam(be,de,Se){const We=Se[de.path.substring(1)];if(!We)throw new n.\u0275RuntimeError(4001,!1);return We}findOrReturn(be,de){let Se=0;for(const We of de){if(We.path===be.path)return de.splice(Se),We;Se++}return be}}const et={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ne(oe,be,de,Se,We){const it=ge(oe,be,de);return it.matched?(Se=function Mo(oe,be){return oe.providers&&!oe._injector&&(oe._injector=(0,n.createEnvironmentInjector)(oe.providers,be,`Route: ${oe.path}`)),oe._injector??be}(be,Se),function xo(oe,be,de,Se){const We=be.canMatch;if(!We||0===We.length)return(0,e.of)(!0);const it=We.map(Lt=>{const gn=uo(Lt,oe);return Pt(function Ie(oe){return oe&&Do(oe.canMatch)}(gn)?gn.canMatch(be,de):(0,n.runInInjectionContext)(oe,()=>gn(be,de)))});return(0,e.of)(it).pipe(Wn(),Xo())}(Se,be,de).pipe((0,N.k)(Lt=>!0===Lt?it:{...et}))):(0,e.of)(it)}function ge(oe,be,de){if("**"===be.path)return function Le(oe){return{matched:!0,parameters:oe.length>0?nt(oe).parameters:{},consumedSegments:oe,remainingSegments:[],positionalParamSegments:{}}}(de);if(""===be.path)return"full"===be.pathMatch&&(oe.hasChildren()||de.length>0)?{...et}:{matched:!0,consumedSegments:[],remainingSegments:de,parameters:{},positionalParamSegments:{}};const We=(be.matcher||tt)(de,oe,be);if(!We)return{...et};const it={};Object.entries(We.posParams??{}).forEach(([gn,ln])=>{it[gn]=ln.path});const Lt=We.consumed.length>0?{...it,...We.consumed[We.consumed.length-1].parameters}:it;return{matched:!0,consumedSegments:We.consumed,remainingSegments:de.slice(We.consumed.length),parameters:Lt,positionalParamSegments:We.posParams??{}}}function qe(oe,be,de,Se){return de.length>0&&function Ht(oe,be,de){return de.some(Se=>yn(oe,be,Se)&&Gi(Se)!==_e)}(oe,de,Se)?{segmentGroup:new $e(be,Nt(Se,new $e(de,oe.children))),slicedSegments:[]}:0===de.length&&function Wt(oe,be,de){return de.some(Se=>yn(oe,be,Se))}(oe,de,Se)?{segmentGroup:new $e(oe.segments,Dt(oe,de,Se,oe.children)),slicedSegments:de}:{segmentGroup:new $e(oe.segments,oe.children),slicedSegments:de}}function Dt(oe,be,de,Se){const We={};for(const it of de)if(yn(oe,be,it)&&!Se[Gi(it)]){const Lt=new $e([],{});We[Gi(it)]=Lt}return{...Se,...We}}function Nt(oe,be){const de={};de[_e]=be;for(const Se of oe)if(""===Se.path&&Gi(Se)!==_e){const We=new $e([],{});de[Gi(Se)]=We}return de}function yn(oe,be,de){return(!(oe.hasChildren()||be.length>0)||"full"!==de.pathMatch)&&""===de.path}class Wr{}class vr{constructor(be,de,Se,We,it,Lt,gn){this.injector=be,this.configLoader=de,this.rootComponentType=Se,this.config=We,this.urlTree=it,this.paramsInheritanceStrategy=Lt,this.urlSerializer=gn,this.applyRedirects=new fs(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(be){return new n.\u0275RuntimeError(4002,`'${be.segmentGroup}'`)}recognize(){const be=qe(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(be).pipe((0,N.k)(de=>{const Se=new ti([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},_e,this.rootComponentType,null,{}),We=new _r(Se,de),it=new Zr("",We),Lt=Jn(Se,[],this.urlTree.queryParams,this.urlTree.fragment);return Lt.queryParams=this.urlTree.queryParams,it.url=this.urlSerializer.serialize(Lt),this.inheritParamsAndData(it._root,null),{state:it,tree:Lt}}))}match(be){return this.processSegmentGroup(this.injector,this.config,be,_e).pipe((0,Z.a)(Se=>{if(Se instanceof Di)return this.urlTree=Se.urlTree,this.match(Se.urlTree.root);throw Se instanceof _o?this.noMatchError(Se):Se}))}inheritParamsAndData(be,de){const Se=be.value,We=Fn(Se,de,this.paramsInheritanceStrategy);Se.params=Object.freeze(We.params),Se.data=Object.freeze(We.data),be.children.forEach(it=>this.inheritParamsAndData(it,Se))}processSegmentGroup(be,de,Se,We){return 0===Se.segments.length&&Se.hasChildren()?this.processChildren(be,de,Se):this.processSegment(be,de,Se,Se.segments,We,!0).pipe((0,N.k)(it=>it instanceof _r?[it]:[]))}processChildren(be,de,Se){const We=[];for(const it of Object.keys(Se.children))"primary"===it?We.unshift(it):We.push(it);return(0,l.Q)(We).pipe((0,se.m)(it=>{const Lt=Se.children[it],gn=function $o(oe,be){const de=oe.filter(Se=>Gi(Se)===be);return de.push(...oe.filter(Se=>Gi(Se)!==be)),de}(de,it);return this.processSegmentGroup(be,gn,Lt,it)}),function J(oe,be){return(0,I.i)(function re(oe,be,de,Se,We){return(it,Lt)=>{let gn=de,ln=be,Xn=0;it.subscribe((0,F.e)(Lt,xr=>{const di=Xn++;ln=gn?oe(ln,xr,di):(gn=!0,xr),Se&&Lt.next(ln)},We&&(()=>{gn&&Lt.next(ln),Lt.complete()})))}}(oe,be,arguments.length>=2,!0))}((it,Lt)=>(it.push(...Lt),it)),(0,Y.G)(null),function ee(oe,be){const de=arguments.length>=2;return Se=>Se.pipe(oe?(0,te.I)((We,it)=>oe(We,it,Se)):p.Z,$(1),de?(0,Y.G)(be):(0,le._)(()=>new g.G))}(),(0,v.O)(it=>{if(null===it)return To(Se);const Lt=ji(it);return function mi(oe){oe.sort((be,de)=>be.value.outlet===_e?-1:de.value.outlet===_e?1:be.value.outlet.localeCompare(de.value.outlet))}(Lt),(0,e.of)(Lt)}))}processSegment(be,de,Se,We,it,Lt){return(0,l.Q)(de).pipe((0,se.m)(gn=>this.processSegmentAgainstRoute(gn._injector??be,de,gn,Se,We,it,Lt).pipe((0,Z.a)(ln=>{if(ln instanceof _o)return(0,e.of)(null);throw ln}))),(0,ue.K)(gn=>!!gn),(0,Z.a)(gn=>{if(ft(gn))return function Kn(oe,be,de){return 0===be.length&&!oe.children[de]}(Se,We,it)?(0,e.of)(new Wr):To(Se);throw gn}))}processSegmentAgainstRoute(be,de,Se,We,it,Lt,gn){return function $n(oe,be,de,Se){return!!(Gi(oe)===Se||Se!==_e&&yn(be,de,oe))&&ge(be,oe,de).matched}(Se,We,it,Lt)?void 0===Se.redirectTo?this.matchSegmentAgainstRoute(be,We,Se,it,Lt):this.allowRedirects&&gn?this.expandSegmentAgainstRouteUsingRedirect(be,We,de,Se,it,Lt):To(We):To(We)}expandSegmentAgainstRouteUsingRedirect(be,de,Se,We,it,Lt){const{matched:gn,consumedSegments:ln,positionalParamSegments:Xn,remainingSegments:xr}=ge(de,We,it);if(!gn)return To(de);We.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const di=this.applyRedirects.applyRedirectCommands(ln,We.redirectTo,Xn);return this.applyRedirects.lineralizeSegments(We,di).pipe((0,v.O)(vo=>this.processSegment(be,Se,de,vo.concat(xr),Lt,!1)))}matchSegmentAgainstRoute(be,de,Se,We,it){const Lt=ne(de,Se,We,be);return"**"===Se.path&&(de.children={}),Lt.pipe((0,O.G)(gn=>gn.matched?this.getChildConfig(be=Se._injector??be,Se,We).pipe((0,O.G)(({routes:ln})=>{const Xn=Se._loadedInjector??be,{consumedSegments:xr,remainingSegments:di,parameters:vo}=gn,da=new ti(xr,vo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Ji(oe){return oe.data||{}}(Se),Gi(Se),Se.component??Se._loadedComponent??null,Se,function Sn(oe){return oe.resolve||{}}(Se)),{segmentGroup:Hs,slicedSegments:ha}=qe(de,xr,di,ln);if(0===ha.length&&Hs.hasChildren())return this.processChildren(Xn,ln,Hs).pipe((0,N.k)(Dr=>null===Dr?null:new _r(da,Dr)));if(0===ln.length&&0===ha.length)return(0,e.of)(new _r(da,[]));const to=Gi(Se)===it;return this.processSegment(Xn,ln,Hs,ha,to?_e:it,!0).pipe((0,N.k)(Dr=>new _r(da,Dr instanceof _r?[Dr]:[])))})):To(de)))}getChildConfig(be,de,Se){return de.children?(0,e.of)({routes:de.children,injector:be}):de.loadChildren?void 0!==de._loadedRoutes?(0,e.of)({routes:de._loadedRoutes,injector:de._loadedInjector}):function Xi(oe,be,de,Se){const We=be.canLoad;if(void 0===We||0===We.length)return(0,e.of)(!0);const it=We.map(Lt=>{const gn=uo(Lt,oe);return Pt(function hs(oe){return oe&&Do(oe.canLoad)}(gn)?gn.canLoad(be,de):(0,n.runInInjectionContext)(oe,()=>gn(be,de)))});return(0,e.of)(it).pipe(Wn(),Xo())}(be,de,Se).pipe((0,v.O)(We=>We?this.configLoader.loadChildren(be,de).pipe((0,K.y)(it=>{de._loadedRoutes=it.routes,de._loadedInjector=it.injector})):function io(oe){return E(ar(!1,U.GuardRejected))}())):(0,e.of)({routes:[],injector:be})}}function Ai(oe){const be=oe.value.routeConfig;return be&&""===be.path}function ji(oe){const be=[],de=new Set;for(const Se of oe){if(!Ai(Se)){be.push(Se);continue}const We=be.find(it=>Se.value.routeConfig===it.value.routeConfig);void 0!==We?(We.children.push(...Se.children),de.add(We)):be.push(Se)}for(const Se of de){const We=ji(Se.children);be.push(new _r(Se.value,We))}return be.filter(Se=>!de.has(Se))}function Ii(oe){const be=oe.children.map(de=>Ii(de)).flat();return[oe,...be]}function at(oe){return(0,O.G)(be=>{const de=oe(be);return de?(0,l.Q)(de).pipe((0,N.k)(()=>be)):(0,e.of)(be)})}let R=(()=>{class oe{buildTitle(de){let Se,We=de.root;for(;void 0!==We;)Se=this.getResolvedTitleForRoute(We)??Se,We=We.children.find(it=>it.outlet===_e);return Se}getResolvedTitleForRoute(de){return de.data[Pe]}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(q),providedIn:"root"})}return oe})(),q=(()=>{class oe extends R{constructor(de){super(),this.title=de}updateTitle(de){const Se=this.buildTitle(de);void 0!==Se&&this.title.setTitle(Se)}static#e=this.\u0275fac=function(Se){return new(Se||oe)(n.\u0275\u0275inject(ve.Title))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const B=new n.InjectionToken("",{providedIn:"root",factory:()=>({})}),ce=new n.InjectionToken("");let xe=(()=>{class oe{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(de){if(this.componentLoaders.get(de))return this.componentLoaders.get(de);if(de._loadedComponent)return(0,e.of)(de._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(de);const Se=Pt(de.loadComponent()).pipe((0,N.k)(cn),(0,K.y)(it=>{this.onLoadEndListener&&this.onLoadEndListener(de),de._loadedComponent=it}),(0,ye.U)(()=>{this.componentLoaders.delete(de)})),We=new T(Se,()=>new P.E).pipe(j());return this.componentLoaders.set(de,We),We}loadChildren(de,Se){if(this.childrenLoaders.get(Se))return this.childrenLoaders.get(Se);if(Se._loadedRoutes)return(0,e.of)({routes:Se._loadedRoutes,injector:Se._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Se);const it=yt(Se,this.compiler,de,this.onLoadEndListener).pipe((0,ye.U)(()=>{this.childrenLoaders.delete(Se)})),Lt=new T(it,()=>new P.E).pipe(j());return this.childrenLoaders.set(Se,Lt),Lt}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();function yt(oe,be,de,Se){return Pt(oe.loadChildren()).pipe((0,N.k)(cn),(0,v.O)(We=>We instanceof n.NgModuleFactory||Array.isArray(We)?(0,e.of)(We):(0,l.Q)(be.compileModuleAsync(We))),(0,N.k)(We=>{Se&&Se(oe);let it,Lt;return Array.isArray(We)?Lt=We:(it=We.create(de).injector,Lt=it.get(ce,[],{optional:!0,self:!0}).flat()),{routes:Lt.map(Li),injector:it}}))}function cn(oe){return function jt(oe){return oe&&"object"==typeof oe&&"default"in oe}(oe)?oe.default:oe}let X=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(Ve),providedIn:"root"})}return oe})(),Ve=(()=>{class oe{shouldProcessUrl(de){return!0}extract(de){return de}merge(de,Se){return de}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const Ce=new n.InjectionToken(""),Re=new n.InjectionToken("");function Mt(oe,be,de){const Se=oe.get(Re),We=oe.get(x.DOCUMENT);return oe.get(n.NgZone).runOutsideAngular(()=>{if(!We.startViewTransition||Se.skipNextTransition)return Se.skipNextTransition=!1,Promise.resolve();let it;const Lt=new Promise(Xn=>{it=Xn}),gn=We.startViewTransition(()=>(it(),function Zt(oe){return new Promise(be=>{(0,n.afterNextRender)(be,{injector:oe})})}(oe))),{onViewTransitionCreated:ln}=Se;return ln&&(0,n.runInInjectionContext)(oe,()=>ln({transition:gn,from:be,to:de})),Lt})}let an=(()=>{class oe{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new P.E,this.transitionAbortSubject=new P.E,this.configLoader=(0,n.inject)(xe),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(ut),this.rootContexts=(0,n.inject)(Lr),this.location=(0,n.inject)(x.Location),this.inputBindingEnabled=null!==(0,n.inject)(zi,{optional:!0}),this.titleStrategy=(0,n.inject)(R),this.options=(0,n.inject)(B,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.inject)(X),this.createViewTransition=(0,n.inject)(Ce,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,e.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=We=>this.events.next(new Jt(We)),this.configLoader.onLoadStartListener=We=>this.events.next(new Bt(We))}complete(){this.transitions?.complete()}handleNavigationRequest(de){const Se=++this.navigationId;this.transitions?.next({...this.transitions.value,...de,id:Se})}setupNavigations(de,Se,We){return this.transitions=new u.g({id:0,currentUrlTree:Se,currentRawUrl:Se,extractedUrl:this.urlHandlingStrategy.extract(Se),urlAfterRedirects:this.urlHandlingStrategy.extract(Se),rawUrl:Se,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Mr,restoredState:null,currentSnapshot:We.snapshot,targetSnapshot:null,currentRouterState:We,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,te.I)(it=>0!==it.id),(0,N.k)(it=>({...it,extractedUrl:this.urlHandlingStrategy.extract(it.rawUrl)})),(0,O.G)(it=>{this.currentTransition=it;let Lt=!1,gn=!1;return(0,e.of)(it).pipe((0,K.y)(ln=>{this.currentNavigation={id:ln.id,initialUrl:ln.rawUrl,extractedUrl:ln.extractedUrl,trigger:ln.source,extras:ln.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,O.G)(ln=>{const Xn=!de.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Xn&&"reload"!==(ln.extras.onSameUrlNavigation??de.onSameUrlNavigation)){const di="";return this.events.next(new Fe(ln.id,this.urlSerializer.serialize(ln.rawUrl),di,z.IgnoredSameUrlNavigation)),ln.resolve(null),M.k}if(this.urlHandlingStrategy.shouldProcessUrl(ln.rawUrl))return(0,e.of)(ln).pipe((0,O.G)(di=>{const vo=this.transitions?.getValue();return this.events.next(new Mi(di.id,this.urlSerializer.serialize(di.extractedUrl),di.source,di.restoredState)),vo!==this.transitions?.getValue()?M.k:Promise.resolve(di)}),function wr(oe,be,de,Se,We,it){return(0,v.O)(Lt=>function fr(oe,be,de,Se,We,it,Lt="emptyOnly"){return new vr(oe,be,de,Se,We,Lt,it).recognize()}(oe,be,de,Se,Lt.extractedUrl,We,it).pipe((0,N.k)(({state:gn,tree:ln})=>({...Lt,targetSnapshot:gn,urlAfterRedirects:ln}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,de.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,K.y)(di=>{it.targetSnapshot=di.targetSnapshot,it.urlAfterRedirects=di.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:di.urlAfterRedirects};const vo=new fe(di.id,this.urlSerializer.serialize(di.extractedUrl),this.urlSerializer.serialize(di.urlAfterRedirects),di.targetSnapshot);this.events.next(vo)}));if(Xn&&this.urlHandlingStrategy.shouldProcessUrl(ln.currentRawUrl)){const{id:di,extractedUrl:vo,source:da,restoredState:Hs,extras:ha}=ln,to=new Mi(di,this.urlSerializer.serialize(vo),da,Hs);this.events.next(to);const Dr=si(this.rootComponentType).snapshot;return this.currentTransition=it={...ln,targetSnapshot:Dr,urlAfterRedirects:vo,extras:{...ha,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=vo,(0,e.of)(it)}{const di="";return this.events.next(new Fe(ln.id,this.urlSerializer.serialize(ln.extractedUrl),di,z.IgnoredByUrlHandlingStrategy)),ln.resolve(null),M.k}}),(0,K.y)(ln=>{const Xn=new De(ln.id,this.urlSerializer.serialize(ln.extractedUrl),this.urlSerializer.serialize(ln.urlAfterRedirects),ln.targetSnapshot);this.events.next(Xn)}),(0,N.k)(ln=>(this.currentTransition=it={...ln,guards:rs(ln.targetSnapshot,ln.currentSnapshot,this.rootContexts)},it)),function Vn(oe,be){return(0,v.O)(de=>{const{targetSnapshot:Se,currentSnapshot:We,guards:{canActivateChecks:it,canDeactivateChecks:Lt}}=de;return 0===Lt.length&&0===it.length?(0,e.of)({...de,guardsResult:!0}):function Wi(oe,be,de,Se){return(0,l.Q)(oe).pipe((0,v.O)(We=>function is(oe,be,de,Se,We){const it=be&&be.routeConfig?be.routeConfig.canDeactivate:null;if(!it||0===it.length)return(0,e.of)(!0);const Lt=it.map(gn=>{const ln=Co(be)??We,Xn=uo(gn,ln);return Pt(function Ke(oe){return oe&&Do(oe.canDeactivate)}(Xn)?Xn.canDeactivate(oe,be,de,Se):(0,n.runInInjectionContext)(ln,()=>Xn(oe,be,de,Se))).pipe((0,ue.K)())});return(0,e.of)(Lt).pipe(Wn())}(We.component,We.route,de,be,Se)),(0,ue.K)(We=>!0!==We,!0))}(Lt,Se,We,oe).pipe((0,v.O)(gn=>gn&&function Ko(oe){return"boolean"==typeof oe}(gn)?function Eo(oe,be,de,Se){return(0,l.Q)(be).pipe((0,se.m)(We=>f(function ho(oe,be){return null!==oe&&be&&be(new mn(oe)),(0,e.of)(!0)}(We.route.parent,Se),function Ao(oe,be){return null!==oe&&be&&be(new Cn(oe)),(0,e.of)(!0)}(We.route,Se),function Zo(oe,be,de){const Se=be[be.length-1],it=be.slice(0,be.length-1).reverse().map(Lt=>function Ki(oe){const be=oe.routeConfig?oe.routeConfig.canActivateChild:null;return be&&0!==be.length?{node:oe,guards:be}:null}(Lt)).filter(Lt=>null!==Lt).map(Lt=>(0,y.Q)(()=>{const gn=Lt.guards.map(ln=>{const Xn=Co(Lt.node)??de,xr=uo(ln,Xn);return Pt(function Ye(oe){return oe&&Do(oe.canActivateChild)}(xr)?xr.canActivateChild(Se,oe):(0,n.runInInjectionContext)(Xn,()=>xr(Se,oe))).pipe((0,ue.K)())});return(0,e.of)(gn).pipe(Wn())}));return(0,e.of)(it).pipe(Wn())}(oe,We.path,de),function Ur(oe,be,de){const Se=be.routeConfig?be.routeConfig.canActivate:null;if(!Se||0===Se.length)return(0,e.of)(!0);const We=Se.map(it=>(0,y.Q)(()=>{const Lt=Co(be)??de,gn=uo(it,Lt);return Pt(function Qo(oe){return oe&&Do(oe.canActivate)}(gn)?gn.canActivate(be,oe):(0,n.runInInjectionContext)(Lt,()=>gn(be,oe))).pipe((0,ue.K)())}));return(0,e.of)(We).pipe(Wn())}(oe,We.route,de))),(0,ue.K)(We=>!0!==We,!0))}(Se,it,oe,be):(0,e.of)(gn)),(0,N.k)(gn=>({...de,guardsResult:gn})))})}(this.environmentInjector,ln=>this.events.next(ln)),(0,K.y)(ln=>{if(it.guardsResult=ln.guardsResult,pr(ln.guardsResult))throw qr(0,ln.guardsResult);const Xn=new rt(ln.id,this.urlSerializer.serialize(ln.extractedUrl),this.urlSerializer.serialize(ln.urlAfterRedirects),ln.targetSnapshot,!!ln.guardsResult);this.events.next(Xn)}),(0,te.I)(ln=>!!ln.guardsResult||(this.cancelNavigationTransition(ln,"",U.GuardRejected),!1)),at(ln=>{if(ln.guards.canActivateChecks.length)return(0,e.of)(ln).pipe((0,K.y)(Xn=>{const xr=new _t(Xn.id,this.urlSerializer.serialize(Xn.extractedUrl),this.urlSerializer.serialize(Xn.urlAfterRedirects),Xn.targetSnapshot);this.events.next(xr)}),(0,O.G)(Xn=>{let xr=!1;return(0,e.of)(Xn).pipe(function Qi(oe,be){return(0,v.O)(de=>{const{targetSnapshot:Se,guards:{canActivateChecks:We}}=de;if(!We.length)return(0,e.of)(de);const it=new Set(We.map(ln=>ln.route)),Lt=new Set;for(const ln of it)if(!Lt.has(ln))for(const Xn of Ii(ln))Lt.add(Xn);let gn=0;return(0,l.Q)(Lt).pipe((0,se.m)(ln=>it.has(ln)?function ei(oe,be,de,Se){const We=oe.routeConfig,it=oe._resolve;return void 0!==We?.title&&!ko(We)&&(it[Pe]=We.title),function oo(oe,be,de,Se){const We=Ct(oe);if(0===We.length)return(0,e.of)({});const it={};return(0,l.Q)(We).pipe((0,v.O)(Lt=>function Be(oe,be,de,Se){const We=Co(be)??Se,it=uo(oe,We);return Pt(it.resolve?it.resolve(be,de):(0,n.runInInjectionContext)(We,()=>it(be,de)))}(oe[Lt],be,de,Se).pipe((0,ue.K)(),(0,K.y)(gn=>{it[Lt]=gn}))),$(1),(0,we.e)(it),(0,Z.a)(Lt=>ft(Lt)?M.k:E(Lt)))}(it,oe,be,Se).pipe((0,N.k)(Lt=>(oe._resolvedData=Lt,oe.data=Fn(oe,oe.parent,de).resolve,null)))}(ln,Se,oe,be):(ln.data=Fn(ln,ln.parent,oe).resolve,(0,e.of)(void 0))),(0,K.y)(()=>gn++),$(1),(0,v.O)(ln=>gn===Lt.size?(0,e.of)(de):M.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,K.y)({next:()=>xr=!0,complete:()=>{xr||this.cancelNavigationTransition(Xn,"",U.NoDataFromResolver)}}))}),(0,K.y)(Xn=>{const xr=new Tt(Xn.id,this.urlSerializer.serialize(Xn.extractedUrl),this.urlSerializer.serialize(Xn.urlAfterRedirects),Xn.targetSnapshot);this.events.next(xr)}))}),at(ln=>{const Xn=xr=>{const di=[];xr.routeConfig?.loadComponent&&!xr.routeConfig._loadedComponent&&di.push(this.configLoader.loadComponent(xr.routeConfig).pipe((0,K.y)(vo=>{xr.component=vo}),(0,N.k)(()=>{})));for(const vo of xr.children)di.push(...Xn(vo));return di};return(0,c.E)(Xn(ln.targetSnapshot.root)).pipe((0,Y.G)(null),(0,H.U)(1))}),at(()=>this.afterPreactivation()),(0,O.G)(()=>{const{currentSnapshot:ln,targetSnapshot:Xn}=it,xr=this.createViewTransition?.(this.environmentInjector,ln.root,Xn.root);return xr?(0,l.Q)(xr).pipe((0,N.k)(()=>it)):(0,e.of)(it)}),(0,N.k)(ln=>{const Xn=function ro(oe,be,de){const Se=Rr(oe,be._root,de?de._root:void 0);return new Gn(Se,be)}(de.routeReuseStrategy,ln.targetSnapshot,ln.currentRouterState);return this.currentTransition=it={...ln,targetRouterState:Xn},this.currentNavigation.targetRouterState=Xn,it}),(0,K.y)(()=>{this.events.next(new Nn)}),((oe,be,de,Se)=>(0,N.k)(We=>(new bs(be,We.targetRouterState,We.currentRouterState,de,Se).activate(oe),We)))(this.rootContexts,de.routeReuseStrategy,ln=>this.events.next(ln),this.inputBindingEnabled),(0,H.U)(1),(0,K.y)({next:ln=>{Lt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new un(ln.id,this.urlSerializer.serialize(ln.extractedUrl),this.urlSerializer.serialize(ln.urlAfterRedirects))),this.titleStrategy?.updateTitle(ln.targetRouterState.snapshot),ln.resolve(!0)},complete:()=>{Lt=!0}}),(0,Oe.a)(this.transitionAbortSubject.pipe((0,K.y)(ln=>{throw ln}))),(0,ye.U)(()=>{!Lt&&!gn&&this.cancelNavigationTransition(it,"",U.SupersededByNewNavigation),this.currentTransition?.id===it.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Z.a)(ln=>{if(gn=!0,wi(ln))this.events.next(new ae(it.id,this.urlSerializer.serialize(it.extractedUrl),ln.message,ln.cancellationCode)),function yo(oe){return wi(oe)&&pr(oe.url)}(ln)?this.events.next(new lr(ln.url)):it.resolve(!1);else{this.events.next(new Ae(it.id,this.urlSerializer.serialize(it.extractedUrl),ln,it.targetSnapshot??void 0));try{it.resolve(de.errorHandler(ln))}catch(Xn){this.options.resolveNavigationPromiseOnError?it.resolve(!1):it.reject(Xn)}}return M.k}))}))}cancelNavigationTransition(de,Se,We){const it=new ae(de.id,this.urlSerializer.serialize(de.extractedUrl),Se,We);this.events.next(it),de.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();function Pn(oe){return oe!==Mr}let gr=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)($r),providedIn:"root"})}return oe})();class yr{shouldDetach(be){return!1}store(be,de){}shouldAttach(be){return!1}retrieve(be){return null}shouldReuseRoute(be,de){return be.routeConfig===de.routeConfig}}let $r=(()=>{class oe extends yr{static#e=this.\u0275fac=(()=>{let de;return function(We){return(de||(de=n.\u0275\u0275getInheritedFactory(oe)))(We||oe)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),Cr=(()=>{class oe{static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(Qr),providedIn:"root"})}return oe})(),Qr=(()=>{class oe extends Cr{constructor(){super(...arguments),this.location=(0,n.inject)(x.Location),this.urlSerializer=(0,n.inject)(ut),this.options=(0,n.inject)(B,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.inject)(X),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Te,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=si(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(de){return this.location.subscribe(Se=>{"popstate"===Se.type&&de(Se.url,Se.state)})}handleRouterEvent(de,Se){if(de instanceof Mi)this.stateMemento=this.createStateMemento();else if(de instanceof Fe)this.rawUrlTree=Se.initialUrl;else if(de instanceof fe){if("eager"===this.urlUpdateStrategy&&!Se.extras.skipLocationChange){const We=this.urlHandlingStrategy.merge(Se.finalUrl,Se.initialUrl);this.setBrowserUrl(We,Se)}}else de instanceof Nn?(this.currentUrlTree=Se.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Se.finalUrl,Se.initialUrl),this.routerState=Se.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Se.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Se))):de instanceof ae&&(de.code===U.GuardRejected||de.code===U.NoDataFromResolver)?this.restoreHistory(Se):de instanceof Ae?this.restoreHistory(Se,!0):de instanceof un&&(this.lastSuccessfulId=de.id,this.currentPageId=this.browserPageId)}setBrowserUrl(de,Se){const We=this.urlSerializer.serialize(de);if(this.location.isCurrentPathEqualTo(We)||Se.extras.replaceUrl){const Lt={...Se.extras.state,...this.generateNgRouterState(Se.id,this.browserPageId)};this.location.replaceState(We,"",Lt)}else{const it={...Se.extras.state,...this.generateNgRouterState(Se.id,this.browserPageId+1)};this.location.go(We,"",it)}}restoreHistory(de,Se=!1){if("computed"===this.canceledNavigationResolution){const it=this.currentPageId-this.browserPageId;0!==it?this.location.historyGo(it):this.currentUrlTree===de.finalUrl&&0===it&&(this.resetState(de),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Se&&this.resetState(de),this.resetUrlToCurrentUrlTree())}resetState(de){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,de.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(de,Se){return"computed"===this.canceledNavigationResolution?{navigationId:de,\u0275routerPageId:Se}:{navigationId:de}}static#e=this.\u0275fac=(()=>{let de;return function(We){return(de||(de=n.\u0275\u0275getInheritedFactory(oe)))(We||oe)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();var Hr=function(oe){return oe[oe.COMPLETE=0]="COMPLETE",oe[oe.FAILED=1]="FAILED",oe[oe.REDIRECTING=2]="REDIRECTING",oe}(Hr||{});function Ri(oe,be){oe.events.pipe((0,te.I)(de=>de instanceof un||de instanceof ae||de instanceof Ae||de instanceof Fe),(0,N.k)(de=>de instanceof un||de instanceof Fe?Hr.COMPLETE:de instanceof ae&&(de.code===U.Redirect||de.code===U.SupersededByNewNavigation)?Hr.REDIRECTING:Hr.FAILED),(0,te.I)(de=>de!==Hr.REDIRECTING),(0,H.U)(1)).subscribe(()=>{be()})}function eo(oe){throw oe}const Vo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let fo=(()=>{class oe{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,n.inject)(n.\u0275Console),this.stateManager=(0,n.inject)(Cr),this.options=(0,n.inject)(B,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.inject)(an),this.urlSerializer=(0,n.inject)(ut),this.location=(0,n.inject)(x.Location),this.urlHandlingStrategy=(0,n.inject)(X),this._events=new P.E,this.errorHandler=this.options.errorHandler||eo,this.navigated=!1,this.routeReuseStrategy=(0,n.inject)(gr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.inject)(ce,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.inject)(zi,{optional:!0}),this.eventsSubscription=new A.wH,this.isNgZoneEnabled=(0,n.inject)(n.NgZone)instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:de=>{this.console.warn(de)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const de=this.navigationTransitions.events.subscribe(Se=>{try{const We=this.navigationTransitions.currentTransition,it=this.navigationTransitions.currentNavigation;if(null!==We&&null!==it)if(this.stateManager.handleRouterEvent(Se,it),Se instanceof ae&&Se.code!==U.Redirect&&Se.code!==U.SupersededByNewNavigation)this.navigated=!0;else if(Se instanceof un)this.navigated=!0;else if(Se instanceof lr){const Lt=this.urlHandlingStrategy.merge(Se.url,We.currentRawUrl),gn={info:We.extras.info,skipLocationChange:We.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Pn(We.source)};this.scheduleNavigation(Lt,Mr,null,gn,{resolve:We.resolve,reject:We.reject,promise:We.promise})}(function Yo(oe){return!(oe instanceof Nn||oe instanceof lr)})(Se)&&this._events.next(Se)}catch(We){this.navigationTransitions.transitionAbortSubject.next(We)}});this.eventsSubscription.add(de)}resetRootComponentType(de){this.routerState.root.component=de,this.navigationTransitions.rootComponentType=de}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Mr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((de,Se)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(de,"popstate",Se)},0)})}navigateToSyncWithBrowser(de,Se,We){const it={replaceUrl:!0},Lt=We?.navigationId?We:null;if(We){const ln={...We};delete ln.navigationId,delete ln.\u0275routerPageId,0!==Object.keys(ln).length&&(it.state=ln)}const gn=this.parseUrl(de);this.scheduleNavigation(gn,Se,Lt,it)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(de){this.config=de.map(Li),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(de,Se={}){const{relativeTo:We,queryParams:it,fragment:Lt,queryParamsHandling:gn,preserveFragment:ln}=Se,Xn=ln?this.currentUrlTree.fragment:Lt;let di,xr=null;switch(gn){case"merge":xr={...this.currentUrlTree.queryParams,...it};break;case"preserve":xr=this.currentUrlTree.queryParams;break;default:xr=it||null}null!==xr&&(xr=this.removeEmptyProps(xr));try{di=er(We?We.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof de[0]||!de[0].startsWith("/"))&&(de=[]),di=this.currentUrlTree.root}return Or(di,de,xr,Xn??null)}navigateByUrl(de,Se={skipLocationChange:!1}){const We=pr(de)?de:this.parseUrl(de),it=this.urlHandlingStrategy.merge(We,this.rawUrlTree);return this.scheduleNavigation(it,Mr,null,Se)}navigate(de,Se={skipLocationChange:!1}){return function so(oe){for(let be=0;be(null!=it&&(Se[We]=it),Se),{})}scheduleNavigation(de,Se,We,it,Lt){if(this.disposed)return Promise.resolve(!1);let gn,ln,Xn;Lt?(gn=Lt.resolve,ln=Lt.reject,Xn=Lt.promise):Xn=new Promise((di,vo)=>{gn=di,ln=vo});const xr=this.pendingTasks.add();return Ri(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(xr))}),this.navigationTransitions.handleNavigationRequest({source:Se,restoredState:We,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:de,extras:it,resolve:gn,reject:ln,promise:Xn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Xn.catch(di=>Promise.reject(di))}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),hi=(()=>{class oe{constructor(de,Se,We,it,Lt,gn){this.router=de,this.route=Se,this.tabIndexAttribute=We,this.renderer=it,this.el=Lt,this.locationStrategy=gn,this.href=null,this.commands=null,this.onChanges=new P.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ln=Lt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ln||"area"===ln,this.isAnchorElement?this.subscription=de.events.subscribe(Xn=>{Xn instanceof un&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(de){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",de)}ngOnChanges(de){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(de){null!=de?(this.commands=Array.isArray(de)?de:[de],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(de,Se,We,it,Lt){const gn=this.urlTree;return!!(null===gn||this.isAnchorElement&&(0!==de||Se||We||it||Lt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(gn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const de=this.urlTree;this.href=null!==de&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(de)):null;const Se=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Se)}applyAttributeValue(de,Se){const We=this.renderer,it=this.el.nativeElement;null!==Se?We.setAttribute(it,de,Se):We.removeAttribute(it,de)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(Se){return new(Se||oe)(n.\u0275\u0275directiveInject(fo),n.\u0275\u0275directiveInject(ai),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(x.LocationStrategy))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Se,We){1&Se&&n.\u0275\u0275listener("click",function(Lt){return We.onClick(Lt.button,Lt.ctrlKey,Lt.shiftKey,Lt.altKey,Lt.metaKey)}),2&Se&&n.\u0275\u0275attribute("target",We.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"preserveFragment","preserveFragment",n.booleanAttribute],skipLocationChange:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",n.booleanAttribute],replaceUrl:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"replaceUrl","replaceUrl",n.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return oe})(),ss=(()=>{class oe{get isActive(){return this._isActive}constructor(de,Se,We,it,Lt){this.router=de,this.element=Se,this.renderer=We,this.cdr=it,this.link=Lt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=de.events.subscribe(gn=>{gn instanceof un&&this.update()})}ngAfterContentInit(){(0,e.of)(this.links.changes,(0,e.of)(null)).pipe(S()).subscribe(de=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const de=[...this.links.toArray(),this.link].filter(Se=>!!Se).map(Se=>Se.onChanges);this.linkInputChangesSubscription=(0,l.Q)(de).pipe(S()).subscribe(Se=>{this._isActive!==this.isLinkActive(this.router)(Se)&&this.update()})}set routerLinkActive(de){const Se=Array.isArray(de)?de:de.split(" ");this.classes=Se.filter(We=>!!We)}ngOnChanges(de){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const de=this.hasActiveLinks();this._isActive!==de&&(this._isActive=de,this.cdr.markForCheck(),this.classes.forEach(Se=>{de?this.renderer.addClass(this.element.nativeElement,Se):this.renderer.removeClass(this.element.nativeElement,Se)}),de&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(de))})}isLinkActive(de){const Se=function $l(oe){return!!oe.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return We=>{const it=We.urlTree;return!!it&&de.isActive(it,Se)}}hasActiveLinks(){const de=this.isLinkActive(this.router);return this.link&&de(this.link)||this.links.some(de)}static#e=this.\u0275fac=function(Se){return new(Se||oe)(n.\u0275\u0275directiveInject(fo),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(hi,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","routerLinkActive",""]],contentQueries:function(Se,We,it){if(1&Se&&n.\u0275\u0275contentQuery(it,hi,5),2&Se){let Lt;n.\u0275\u0275queryRefresh(Lt=n.\u0275\u0275loadQuery())&&(We.links=Lt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return oe})();class Ks{}let Gl=(()=>{class oe{preload(de,Se){return Se().pipe((0,Z.a)(()=>(0,e.of)(null)))}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),el=(()=>{class oe{preload(de,Se){return(0,e.of)(null)}static#e=this.\u0275fac=function(Se){return new(Se||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),tl=(()=>{class oe{constructor(de,Se,We,it,Lt){this.router=de,this.injector=We,this.preloadingStrategy=it,this.loader=Lt}setUpPreloading(){this.subscription=this.router.events.pipe((0,te.I)(de=>de instanceof un),(0,se.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(de,Se){const We=[];for(const it of Se){it.providers&&!it._injector&&(it._injector=(0,n.createEnvironmentInjector)(it.providers,de,`Route: ${it.path}`));const Lt=it._injector??de,gn=it._loadedInjector??Lt;(it.loadChildren&&!it._loadedRoutes&&void 0===it.canLoad||it.loadComponent&&!it._loadedComponent)&&We.push(this.preloadConfig(Lt,it)),(it.children||it._loadedRoutes)&&We.push(this.processRoutes(gn,it.children??it._loadedRoutes))}return(0,l.Q)(We).pipe(S())}preloadConfig(de,Se){return this.preloadingStrategy.preload(Se,()=>{let We;We=Se.loadChildren&&void 0===Se.canLoad?this.loader.loadChildren(de,Se):(0,e.of)(null);const it=We.pipe((0,v.O)(Lt=>null===Lt?(0,e.of)(void 0):(Se._loadedRoutes=Lt.routes,Se._loadedInjector=Lt.injector,this.processRoutes(Lt.injector??de,Lt.routes))));if(Se.loadComponent&&!Se._loadedComponent){const Lt=this.loader.loadComponent(Se);return(0,l.Q)([it,Lt]).pipe(S())}return it})}static#e=this.\u0275fac=function(Se){return new(Se||oe)(n.\u0275\u0275inject(fo),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(Ks),n.\u0275\u0275inject(xe))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const Qs=new n.InjectionToken("");let Os=(()=>{class oe{constructor(de,Se,We,it,Lt={}){this.urlSerializer=de,this.transitions=Se,this.viewportScroller=We,this.zone=it,this.options=Lt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Lt.scrollPositionRestoration||="disabled",Lt.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(de=>{de instanceof Mi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=de.navigationTrigger,this.restoredId=de.restoredState?de.restoredState.navigationId:0):de instanceof un?(this.lastId=de.id,this.scheduleScrollEvent(de,this.urlSerializer.parse(de.urlAfterRedirects).fragment)):de instanceof Fe&&de.code===z.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(de,this.urlSerializer.parse(de.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(de=>{de instanceof Gt&&(de.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(de.position):de.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(de.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(de,Se){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Gt(de,"popstate"===this.lastSource?this.store[this.restoredId]:null,Se))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Se){n.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac})}return oe})();function fu(oe,...be){return(0,n.makeEnvironmentProviders)([{provide:ce,multi:!0,useValue:oe},[],{provide:ai,useFactory:Jo,deps:[fo]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:nl},be.map(de=>de.\u0275providers)])}function Jo(oe){return oe.routerState.root}function as(oe,be){return{\u0275kind:oe,\u0275providers:be}}function ls(oe){return[{provide:ce,multi:!0,useValue:oe},[]]}function oa(oe={}){return as(4,[{provide:Qs,useFactory:()=>{const de=(0,n.inject)(x.ViewportScroller),Se=(0,n.inject)(n.NgZone),We=(0,n.inject)(an),it=(0,n.inject)(ut);return new Os(it,We,de,Se,oe)}}])}function nl(){const oe=(0,n.inject)(n.Injector);return be=>{const de=oe.get(n.ApplicationRef);if(be!==de.components[0])return;const Se=oe.get(fo),We=oe.get(Sa);1===oe.get(sa)&&Se.initialNavigation(),oe.get(mu,null,n.InjectFlags.Optional)?.setUpPreloading(),oe.get(Qs,null,n.InjectFlags.Optional)?.init(),Se.resetRootComponentType(de.componentTypes[0]),We.closed||(We.next(),We.complete(),We.unsubscribe())}}const Sa=new n.InjectionToken("",{factory:()=>new P.E}),sa=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function aa(){return as(2,[{provide:sa,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:be=>{const de=be.get(x.LOCATION_INITIALIZED,Promise.resolve());return()=>de.then(()=>new Promise(Se=>{const We=be.get(fo),it=be.get(Sa);Ri(We,()=>{Se(!0)}),be.get(an).afterPreactivation=()=>(Se(!0),it.closed?(0,e.of)(void 0):it),We.initialNavigation()}))}}])}function gu(){return as(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const be=(0,n.inject)(fo);return()=>{be.setUpLocationChangeListener()}}},{provide:sa,useValue:2}])}function Ql(){let oe=[];return oe=[],as(1,oe)}const mu=new n.InjectionToken("");function zo(oe){return as(0,[{provide:mu,useExisting:tl},{provide:Ks,useExisting:oe}])}function la(oe){return as(5,[{provide:B,useValue:oe}])}function ca(){return as(6,[{provide:x.LocationStrategy,useClass:x.HashLocationStrategy}])}function jd(oe){return as(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const de=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(fo).events.subscribe(Se=>{Se instanceof Ae&&(0,n.runInInjectionContext)(de,()=>oe(Se))})}}])}function rl(){return as(8,[qi,{provide:zi,useExisting:qi}])}function Zl(oe){return as(9,[{provide:Ce,useValue:Mt},{provide:Re,useValue:{skipNextTransition:!!oe?.skipInitialTransition,...oe}}])}const ua=new n.InjectionToken("ROUTER_FORROOT_GUARD"),ol=[x.Location,{provide:ut,useClass:wt},fo,Lr,{provide:ai,useFactory:Jo,deps:[fo]},xe,[]];let Xl=(()=>{class oe{constructor(de){}static forRoot(de,Se){return{ngModule:oe,providers:[ol,[],{provide:ce,multi:!0,useValue:de},{provide:ua,useFactory:sl,deps:[[fo,new n.Optional,new n.SkipSelf]]},{provide:B,useValue:Se||{}},Se?.useHash?{provide:x.LocationStrategy,useClass:x.HashLocationStrategy}:{provide:x.LocationStrategy,useClass:x.PathLocationStrategy},{provide:Qs,useFactory:()=>{const oe=(0,n.inject)(x.ViewportScroller),be=(0,n.inject)(n.NgZone),de=(0,n.inject)(B),Se=(0,n.inject)(an),We=(0,n.inject)(ut);return de.scrollOffset&&oe.setOffset(de.scrollOffset),new Os(We,Se,oe,be,de)}},Se?.preloadingStrategy?zo(Se.preloadingStrategy).\u0275providers:[],Se?.initialNavigation?pu(Se):[],Se?.bindToComponentInputs?rl().\u0275providers:[],Se?.enableViewTransitions?Zl().\u0275providers:[],[{provide:No,useFactory:nl},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:No}]]}}static forChild(de){return{ngModule:oe,providers:[{provide:ce,multi:!0,useValue:de}]}}static#e=this.\u0275fac=function(Se){return new(Se||oe)(n.\u0275\u0275inject(ua,8))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:oe});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return oe})();function sl(oe){return"guarded"}function pu(oe){return["disabled"===oe.initialNavigation?gu().\u0275providers:[],"enabledBlocking"===oe.initialNavigation?aa().\u0275providers:[]]}const No=new n.InjectionToken("");function ql(oe){return oe.map(be=>(...de)=>(0,n.inject)(be).canMatch(...de))}function Us(oe){return oe.map(be=>(...de)=>(0,n.inject)(be).canActivate(...de))}function Ma(oe){return oe.map(be=>(...de)=>(0,n.inject)(be).canActivateChild(...de))}function Un(oe){return oe.map(be=>(...de)=>(0,n.inject)(be).canDeactivate(...de))}function ec(oe){return(...be)=>(0,n.inject)(oe).resolve(...be)}const ms=new n.Version("17.2.3")},9028:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{MSAL_BROADCAST_CONFIG:()=>H,MSAL_GUARD_CONFIG:()=>N,MSAL_INSTANCE:()=>x,MSAL_INTERCEPTOR_CONFIG:()=>O,MsalBroadcastService:()=>te,MsalCustomNavigationClient:()=>re,MsalGuard:()=>ue,MsalInterceptor:()=>se,MsalModule:()=>Z,MsalRedirectComponent:()=>K,MsalService:()=>G,version:()=>P});var n=o(1528),i=o(54496),d=o(26956),a=o(88904),l=o(72592),e=o(67648),u=o(84644),c=o(7828),g=o(64952),v=o(74496),p=o(22540),S=o(95657),C=o(46700),_=o(82700),f=o(28960),y=o(91368),b=o(54704),E=o(26020),M=o(39144),A=o(17368),I=o(3992),F=o(66684),j=o(56568);const T="@azure/msal-angular",P="3.0.13",x=new i.InjectionToken("MSAL_INSTANCE"),N=new i.InjectionToken("MSAL_GUARD_CONFIG"),O=new i.InjectionToken("MSAL_INTERCEPTOR_CONFIG"),H=new i.InjectionToken("MSAL_BROADCAST_CONFIG");let G=(()=>{class J{constructor($,le){this.instance=$,this.location=le;const ee=this.location.path(!0).split("#").pop();ee&&(this.redirectHash=`#${ee}`),this.instance.initializeWrapperLibrary(d.Lm.Angular,P)}initialize(){return(0,v.Q)(this.instance.initialize())}acquireTokenPopup($){return(0,v.Q)(this.instance.acquireTokenPopup($))}acquireTokenRedirect($){return(0,v.Q)(this.instance.acquireTokenRedirect($))}acquireTokenSilent($){return(0,v.Q)(this.instance.acquireTokenSilent($))}handleRedirectObservable($){return(0,v.Q)(this.instance.initialize().then(()=>this.instance.handleRedirectPromise($||this.redirectHash)))}loginPopup($){return(0,v.Q)(this.instance.loginPopup($))}loginRedirect($){return(0,v.Q)(this.instance.loginRedirect($))}logout($){return(0,v.Q)(this.instance.logout($))}logoutRedirect($){return(0,v.Q)(this.instance.logoutRedirect($))}logoutPopup($){return(0,v.Q)(this.instance.logoutPopup($))}ssoSilent($){return(0,v.Q)(this.instance.ssoSilent($))}getLogger(){return this.logger||(this.logger=this.instance.getLogger().clone(T,P)),this.logger}setLogger($){this.logger=$.clone(T,P),this.instance.setLogger($)}}return J.\u0275fac=function($){return new($||J)(i.\u0275\u0275inject(x),i.\u0275\u0275inject(y.Location))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),te=(()=>{class J{constructor($,le,ee){this.msalInstance=$,this.authService=le,this.msalBroadcastConfig=ee,this.msalBroadcastConfig&&this.msalBroadcastConfig.eventsToReplay>0?(this.authService.getLogger().verbose(`BroadcastService - eventsToReplay set on BroadcastConfig, replaying the last ${this.msalBroadcastConfig.eventsToReplay} events`),this._msalSubject=new p.o(this.msalBroadcastConfig.eventsToReplay)):this._msalSubject=new S.E,this.msalSubject$=this._msalSubject.asObservable(),this._inProgress=new C.g(d.Yz.Startup),this.inProgress$=this._inProgress.asObservable(),this.msalInstance.addEventCallback(we=>{this._msalSubject.next(we);const ye=a.M.getInteractionStatusFromEvent(we,this._inProgress.value);null!==ye&&(this.authService.getLogger().verbose(`BroadcastService - ${we.eventType} results in setting inProgress from ${this._inProgress.value} to ${ye}`),this._inProgress.next(ye))})}}return J.\u0275fac=function($){return new($||J)(i.\u0275\u0275inject(x),i.\u0275\u0275inject(G),i.\u0275\u0275inject(H,8))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),ue=(()=>{class J{constructor($,le,ee,we,ye){this.msalGuardConfig=$,this.msalBroadcastService=le,this.authService=ee,this.location=we,this.router=ye,this.msalBroadcastService.inProgress$.subscribe()}parseUrl($){return this.router.parseUrl($)}getDestinationUrl($){this.authService.getLogger().verbose("Guard - getting destination url");const le=document.getElementsByTagName("base"),ee=this.location.normalize(le.length?le[0].href:window.location.origin),we=this.location.prepareExternalUrl($);return we.startsWith("#")?(this.authService.getLogger().verbose("Guard - destination by hash routing"),`${ee}/${we}`):`${ee}${$}`}loginInteractively($){const le="function"==typeof this.msalGuardConfig.authRequest?this.msalGuardConfig.authRequest(this.authService,$):{...this.msalGuardConfig.authRequest};if(this.msalGuardConfig.interactionType===d.wV.Popup)return this.authService.getLogger().verbose("Guard - logging in by popup"),this.authService.loginPopup(le).pipe((0,b.k)(we=>(this.authService.getLogger().verbose("Guard - login by popup successful, can activate, setting active account"),this.authService.instance.setActiveAccount(we.account),!0)));this.authService.getLogger().verbose("Guard - logging in by redirect");const ee=this.getDestinationUrl($.url);return this.authService.loginRedirect({redirectStartPage:ee,...le}).pipe((0,b.k)(()=>!1))}activateHelper($){if(this.msalGuardConfig.interactionType!==d.wV.Popup&&this.msalGuardConfig.interactionType!==d.wV.Redirect)throw new l.aO("invalid_interaction_type","Invalid interaction type provided to MSAL Guard. InteractionType.Popup or InteractionType.Redirect must be provided in the MsalGuardConfiguration");if(this.authService.getLogger().verbose("MSAL Guard activated"),!(typeof window<"u"))return this.authService.getLogger().info("Guard - window is undefined, MSAL does not support server-side token acquisition"),(0,_.of)(!0);if(e._.hashContainsKnownProperties(window.location.hash)&&u.isInIframe()&&!this.authService.instance.getConfiguration().system.allowRedirectInIframe)return this.authService.getLogger().warning("Guard - redirectUri set to page with MSAL Guard. It is recommended to not set redirectUri to a page that requires authentication."),(0,_.of)(!1);this.msalGuardConfig.loginFailedRoute&&(this.loginFailedRoute=this.parseUrl(this.msalGuardConfig.loginFailedRoute));const le=this.location.path(!0);return this.authService.initialize().pipe((0,E.m)(()=>this.authService.handleRedirectObservable()),(0,E.m)(()=>{if(!this.authService.instance.getAllAccounts().length)return $?(this.authService.getLogger().verbose("Guard - no accounts retrieved, log in required to activate"),this.loginInteractively($)):(this.authService.getLogger().verbose("Guard - no accounts retrieved, no state, cannot load"),(0,_.of)(!1));if(this.authService.getLogger().verbose("Guard - at least 1 account exists, can activate or load"),$){const ee=this.includesCode($.url),we=!!$.root&&!!$.root.fragment&&this.includesCode(`#${$.root.fragment}`),ye=0===this.location.prepareExternalUrl($.url).indexOf("#");if(ee&&(we||ye))return this.authService.getLogger().info("Guard - Hash contains known code response, stopping navigation."),le.indexOf("#")>-1?(0,_.of)(this.parseUrl(this.location.path())):(0,_.of)(this.parseUrl(""))}return(0,_.of)(!0)}),(0,M.a)(ee=>(this.authService.getLogger().error("Guard - error while logging in, unable to activate"),this.authService.getLogger().errorPii(`Guard - error: ${ee.message}`),this.loginFailedRoute&&$?(this.authService.getLogger().verbose("Guard - loginFailedRoute set, redirecting"),(0,_.of)(this.loginFailedRoute)):(0,_.of)(!1))))}includesCode($){return $.lastIndexOf("/code")>-1&&$.lastIndexOf("/code")===$.length-5||$.indexOf("#code=")>-1||$.indexOf("&code=")>-1}canActivate($,le){return this.authService.getLogger().verbose("Guard - canActivate"),this.activateHelper(le)}canActivateChild($,le){return this.authService.getLogger().verbose("Guard - canActivateChild"),this.activateHelper(le)}canMatch(){return this.authService.getLogger().verbose("Guard - canLoad"),this.activateHelper()}}return J.\u0275fac=function($){return new($||J)(i.\u0275\u0275inject(N),i.\u0275\u0275inject(te),i.\u0275\u0275inject(G),i.\u0275\u0275inject(y.Location),i.\u0275\u0275inject(j.Router))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),se=(()=>{class J{constructor($,le,ee,we,ye){this.msalInterceptorConfig=$,this.authService=le,this.location=ee,this.msalBroadcastService=we,this._document=ye}intercept($,le){if(this.msalInterceptorConfig.interactionType!==d.wV.Popup&&this.msalInterceptorConfig.interactionType!==d.wV.Redirect)throw new l.aO("invalid_interaction_type","Invalid interaction type provided to MSAL Interceptor. InteractionType.Popup, InteractionType.Redirect must be provided in the msalInterceptorConfiguration");this.authService.getLogger().verbose("MSAL Interceptor activated");const ee=this.getScopesForEndpoint($.url,$.method);if(!ee||0===ee.length)return this.authService.getLogger().verbose("Interceptor - no scopes for endpoint"),le.handle($);let we;this.authService.instance.getActiveAccount()?(this.authService.getLogger().verbose("Interceptor - active account selected"),we=this.authService.instance.getActiveAccount()):(this.authService.getLogger().verbose("Interceptor - no active account, fallback to first account"),we=this.authService.instance.getAllAccounts()[0]);const ye="function"==typeof this.msalInterceptorConfig.authRequest?this.msalInterceptorConfig.authRequest(this.authService,$,{account:we}):{...this.msalInterceptorConfig.authRequest,account:we};return this.authService.getLogger().info(`Interceptor - ${ee.length} scopes found for endpoint`),this.authService.getLogger().infoPii(`Interceptor - [${ee}] scopes found for ${$.url}`),this.acquireToken(ye,ee,we).pipe((0,A.G)(Oe=>{this.authService.getLogger().verbose("Interceptor - setting authorization headers");const ve=$.headers.set("Authorization",`Bearer ${Oe.accessToken}`),_e=$.clone({headers:ve});return le.handle(_e)}))}acquireToken($,le,ee){return this.authService.acquireTokenSilent({...$,scopes:le,account:ee}).pipe((0,M.a)(()=>(this.authService.getLogger().error("Interceptor - acquireTokenSilent rejected with error. Invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,I.U)(1),(0,A.G)(we=>we===d.Yz.None?this.acquireTokenInteractively($,le):this.msalBroadcastService.inProgress$.pipe((0,F.I)(ye=>ye===d.Yz.None),(0,I.U)(1),(0,A.G)(()=>this.acquireToken($,le,ee))))))),(0,A.G)(we=>we.accessToken?(0,_.of)(we):(this.authService.getLogger().error("Interceptor - acquireTokenSilent resolved with null access token. Known issue with B2C tenants, invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,F.I)(ye=>ye===d.Yz.None),(0,I.U)(1),(0,A.G)(()=>this.acquireTokenInteractively($,le))))))}acquireTokenInteractively($,le){if(this.msalInterceptorConfig.interactionType===d.wV.Popup)return this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by popup"),this.authService.acquireTokenPopup({...$,scopes:le});this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by redirect");const ee=window.location.href;return this.authService.acquireTokenRedirect({...$,scopes:le,redirectStartPage:ee}),f.k}getScopesForEndpoint($,le){this.authService.getLogger().verbose("Interceptor - getting scopes for endpoint");const ee=this.location.normalize($),we=Array.from(this.msalInterceptorConfig.protectedResourceMap.keys()),ye=this.matchResourcesToEndpoint(we,ee);return ye.absoluteResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,ye.absoluteResources,le):ye.relativeResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,ye.relativeResources,le):null}matchResourcesToEndpoint($,le){const ee={absoluteResources:[],relativeResources:[]};return $.forEach(we=>{const ye=this.location.normalize(we);c.e.matchPattern(ye,le)&&ee.absoluteResources.push(we);const Oe=this.getAbsoluteUrl(we),ve=new e._(Oe).getUrlComponents(),_e=this.getAbsoluteUrl(le),Pe=new e._(_e).getUrlComponents(),Ze=ve.QueryString?`${ve.AbsolutePath}?${ve.QueryString}`:this.location.normalize(ve.AbsolutePath);ve.HostNameAndPort===Pe.HostNameAndPort&&c.e.matchPattern(Ze,_e)&&""!==Ze&&"/*"!==Ze&&ee.relativeResources.push(we)}),ee}getAbsoluteUrl($){const le=this._document.createElement("a");return le.href=$,le.href}matchScopesToEndpoint($,le,ee){const we=[];return le.forEach(ye=>{const Oe=[],ve=$.get(ye);null!==ve?(ve.forEach(_e=>{if("string"==typeof _e)Oe.push(_e);else{const Pe=ee.toLowerCase();_e.httpMethod.toLowerCase()===Pe&&(null===_e.scopes?we.push(null):_e.scopes.forEach(ot=>{Oe.push(ot)}))}}),Oe.length>0&&we.push(Oe)):we.push(null)}),we.length>0?(we.length>1&&this.authService.getLogger().warning("Interceptor - More than 1 matching scopes for endpoint found."),we[0]):null}}return J.\u0275fac=function($){return new($||J)(i.\u0275\u0275inject(O),i.\u0275\u0275inject(G),i.\u0275\u0275inject(y.Location),i.\u0275\u0275inject(te),i.\u0275\u0275inject(y.DOCUMENT))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),K=(()=>{class J{constructor($){this.authService=$}ngOnInit(){this.authService.getLogger().verbose("MsalRedirectComponent activated"),this.authService.handleRedirectObservable().subscribe()}}return J.\u0275fac=function($){return new($||J)(i.\u0275\u0275directiveInject(G))},J.\u0275cmp=i.\u0275\u0275defineComponent({type:J,selectors:[["app-redirect"]],decls:0,vars:0,template:function($,le){},encapsulation:2}),J})(),Z=(()=>{class J{static forRoot($,le,ee){return{ngModule:J,providers:[{provide:x,useValue:$},{provide:N,useValue:le},{provide:O,useValue:ee},G]}}}return J.\u0275fac=function($){return new($||J)},J.\u0275mod=i.\u0275\u0275defineNgModule({type:J}),J.\u0275inj=i.\u0275\u0275defineInjector({providers:[ue,te],imports:[y.CommonModule]}),J})(),re=(()=>{class J extends g.m{constructor($,le,ee){super(),this.authService=$,this.router=le,this.location=ee}navigateInternal($,le){var ee=()=>super.navigateInternal,we=this;return(0,n.c)(function*(){if(we.authService.getLogger().trace("MsalCustomNavigationClient called"),we.authService.getLogger().verbose("MsalCustomNavigationClient - navigating"),we.authService.getLogger().verbosePii(`MsalCustomNavigationClient - navigating to url: ${$}`),le.noHistory)return ee().call(we,$,le);{const ye=new e._($).getUrlComponents(),Oe=ye.QueryString?`${ye.AbsolutePath}?${ye.QueryString}`:we.location.normalize(ye.AbsolutePath);yield we.router.navigateByUrl(Oe,{replaceUrl:le.noHistory})}return Promise.resolve(le.noHistory)})()}}return J.\u0275fac=function($){return new($||J)(i.\u0275\u0275inject(G),i.\u0275\u0275inject(j.Router),i.\u0275\u0275inject(y.Location))},J.\u0275prov=i.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})()},69812:(pe,h,o)=>{"use strict";o.d(h,{S:()=>T,Y:()=>j});var n=o(1528),i=o(6536),d=o(34739),a=o(72584),l=o(98416),e=o(28876),u=o(71408),c=o(85348),g=o(7828),v=o(86144),p=o(16256),S=o(6400),C=o(9488),_=o(65172),f=o(4792),y=o(26956),b=o(71720),E=o(61744),M=o(99632),A=o(55084),I=o(37988),F=o(32828);class j extends i.B{constructor(x,N,O,H,G){super(x,O,H,G),this.COOKIE_LIFE_MULTIPLIER=864e5,this.cacheConfig=N,this.logger=H,this.internalStorage=new E.W,this.browserStorage=this.setupBrowserStorage(this.cacheConfig.cacheLocation),this.temporaryCacheStorage=this.setupTemporaryCacheStorage(this.cacheConfig.temporaryCacheLocation,this.cacheConfig.cacheLocation),N.cacheMigrationEnabled&&(this.migrateCacheEntries(),this.createKeyMaps())}setupBrowserStorage(x){switch(x){case y.Ir.LocalStorage:case y.Ir.SessionStorage:try{return new b.K(x)}catch(N){this.logger.verbose(N);break}}return this.cacheConfig.cacheLocation=y.Ir.MemoryStorage,new E.W}setupTemporaryCacheStorage(x,N){switch(N){case y.Ir.LocalStorage:case y.Ir.SessionStorage:try{return new b.K(x||y.Ir.SessionStorage)}catch(O){return this.logger.verbose(O),this.internalStorage}default:return this.internalStorage}}migrateCacheEntries(){const N=`${d.Mv.CACHE_PREFIX}.${d.IH.CLIENT_INFO}`,O=`${d.Mv.CACHE_PREFIX}.${d.IH.ERROR}`,H=`${d.Mv.CACHE_PREFIX}.${d.IH.ERROR_DESC}`,K=[this.browserStorage.getItem(`${d.Mv.CACHE_PREFIX}.${d.IH.ID_TOKEN}`),this.browserStorage.getItem(N),this.browserStorage.getItem(O),this.browserStorage.getItem(H)];[d.IH.ID_TOKEN,d.IH.CLIENT_INFO,d.IH.ERROR,d.IH.ERROR_DESC].forEach((re,J)=>this.migrateCacheEntry(re,K[J]))}migrateCacheEntry(x,N){N&&this.setTemporaryCache(x,N,!0)}createKeyMaps(){this.logger.trace("BrowserCacheManager - createKeyMaps called.");const x=this.getItem(y.UZ.ACCOUNT_KEYS),N=this.getItem(`${y.UZ.TOKEN_KEYS}.${this.clientId}`);x&&N?this.logger.verbose("BrowserCacheManager:createKeyMaps - account and token key maps already exist, skipping migration."):this.browserStorage.getKeys().forEach(H=>{if(this.isCredentialKey(H)){const G=this.getItem(H);if(G){const te=this.validateAndParseJson(G);if(te&&te.hasOwnProperty("credentialType"))switch(te.credentialType){case d.yu.ID_TOKEN:if(a.LS(te)){this.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - idToken with key: ${H} found, saving key to token key map`);const se=this.updateCredentialCacheKey(H,te);return void this.addTokenKey(se,d.yu.ID_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching idToken schema with value containing idToken credentialType field but value failed IdTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed idToken validation on key: ${H}`);break;case d.yu.ACCESS_TOKEN:case d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:if(a.Ul(te)){this.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - accessToken with key: ${H} found, saving key to token key map`);const se=this.updateCredentialCacheKey(H,te);return void this.addTokenKey(se,d.yu.ACCESS_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching accessToken schema with value containing accessToken credentialType field but value failed AccessTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed accessToken validation on key: ${H}`);break;case d.yu.REFRESH_TOKEN:if(a.U5(te)){this.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - refreshToken with key: ${H} found, saving key to token key map`);const se=this.updateCredentialCacheKey(H,te);return void this.addTokenKey(se,d.yu.REFRESH_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching refreshToken schema with value containing refreshToken credentialType field but value failed RefreshTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed refreshToken validation on key: ${H}`)}}}if(this.isAccountKey(H)){const G=this.getItem(H);if(G){const te=this.validateAndParseJson(G);te&&l.M.isAccountEntity(te)&&(this.logger.trace("BrowserCacheManager:createKeyMaps - account found, saving key to account key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - account with key: ${H} found, saving key to account key map`),this.addAccountKeyToMap(H))}}})}validateAndParseJson(x){try{const N=JSON.parse(x);return N&&"object"==typeof N?N:null}catch{return null}}getItem(x){return this.browserStorage.getItem(x)}setItem(x,N){this.browserStorage.setItem(x,N)}getAccount(x,N){this.logger.trace("BrowserCacheManager.getAccount called");const O=this.getCachedAccountEntity(x);return this.updateOutdatedCachedAccount(x,O,N)}getCachedAccountEntity(x){const N=this.getItem(x);if(!N)return this.removeAccountKeyFromMap(x),null;const O=this.validateAndParseJson(N);return O&&l.M.isAccountEntity(O)?i.B.toObject(new l.M,O):(this.removeAccountKeyFromMap(x),null)}setAccount(x){this.logger.trace("BrowserCacheManager.setAccount called");const N=x.generateAccountKey();this.setItem(N,JSON.stringify(x)),this.addAccountKeyToMap(N)}getAccountKeys(){this.logger.trace("BrowserCacheManager.getAccountKeys called");const x=this.getItem(y.UZ.ACCOUNT_KEYS);return x?JSON.parse(x):(this.logger.verbose("BrowserCacheManager.getAccountKeys - No account keys found"),[])}addAccountKeyToMap(x){this.logger.trace("BrowserCacheManager.addAccountKeyToMap called"),this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${x}`);const N=this.getAccountKeys();-1===N.indexOf(x)?(N.push(x),this.setItem(y.UZ.ACCOUNT_KEYS,JSON.stringify(N)),this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")):this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map")}removeAccountKeyFromMap(x){this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called"),this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${x}`);const N=this.getAccountKeys(),O=N.indexOf(x);O>-1?(N.splice(O,1),this.setItem(y.UZ.ACCOUNT_KEYS,JSON.stringify(N)),this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")):this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map")}removeAccount(x){var N=()=>super.removeAccount,O=this;return(0,n.c)(function*(){N().call(O,x),O.removeAccountKeyFromMap(x)})()}removeOutdatedAccount(x){this.removeItem(x),this.removeAccountKeyFromMap(x)}removeIdToken(x){super.removeIdToken(x),this.removeTokenKey(x,d.yu.ID_TOKEN)}removeAccessToken(x){var N=()=>super.removeAccessToken,O=this;return(0,n.c)(function*(){N().call(O,x),O.removeTokenKey(x,d.yu.ACCESS_TOKEN)})()}removeRefreshToken(x){super.removeRefreshToken(x),this.removeTokenKey(x,d.yu.REFRESH_TOKEN)}getTokenKeys(){this.logger.trace("BrowserCacheManager.getTokenKeys called");const x=this.getItem(`${y.UZ.TOKEN_KEYS}.${this.clientId}`);if(x){const N=this.validateAndParseJson(x);if(N&&N.hasOwnProperty("idToken")&&N.hasOwnProperty("accessToken")&&N.hasOwnProperty("refreshToken"))return N;this.logger.error("BrowserCacheManager.getTokenKeys - Token keys found but in an unknown format. Returning empty key map.")}else this.logger.verbose("BrowserCacheManager.getTokenKeys - No token keys found");return{idToken:[],accessToken:[],refreshToken:[]}}addTokenKey(x,N){this.logger.trace("BrowserCacheManager addTokenKey called");const O=this.getTokenKeys();switch(N){case d.yu.ID_TOKEN:-1===O.idToken.indexOf(x)&&(this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map"),O.idToken.push(x));break;case d.yu.ACCESS_TOKEN:-1===O.accessToken.indexOf(x)&&(this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map"),O.accessToken.push(x));break;case d.yu.REFRESH_TOKEN:-1===O.refreshToken.indexOf(x)&&(this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map"),O.refreshToken.push(x));break;default:throw this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${N}`),(0,e.mQ)(u.unexpectedCredentialType)}this.setItem(`${y.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(O))}removeTokenKey(x,N){this.logger.trace("BrowserCacheManager removeTokenKey called");const O=this.getTokenKeys();switch(N){case d.yu.ID_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: ${x} from map`);const H=O.idToken.indexOf(x);H>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map"),O.idToken.splice(H,1)):this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");break;case d.yu.ACCESS_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: ${x} from map`);const G=O.accessToken.indexOf(x);G>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map"),O.accessToken.splice(G,1)):this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");break;case d.yu.REFRESH_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: ${x} from map`);const te=O.refreshToken.indexOf(x);te>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map"),O.refreshToken.splice(te,1)):this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");break;default:throw this.logger.error(`BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: ${N}`),(0,e.mQ)(u.unexpectedCredentialType)}this.setItem(`${y.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(O))}getIdTokenCredential(x){const N=this.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.ID_TOKEN),null;const O=this.validateAndParseJson(N);return O&&a.LS(O)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),O):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.ID_TOKEN),null)}setIdTokenCredential(x){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");const N=a.AZ(x);this.setItem(N,JSON.stringify(x)),this.addTokenKey(N,d.yu.ID_TOKEN)}getAccessTokenCredential(x){const N=this.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.ACCESS_TOKEN),null;const O=this.validateAndParseJson(N);return O&&a.Ul(O)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),O):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.ACCESS_TOKEN),null)}setAccessTokenCredential(x){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");const N=a.AZ(x);this.setItem(N,JSON.stringify(x)),this.addTokenKey(N,d.yu.ACCESS_TOKEN)}getRefreshTokenCredential(x){const N=this.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.REFRESH_TOKEN),null;const O=this.validateAndParseJson(N);return O&&a.U5(O)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),O):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(x,d.yu.REFRESH_TOKEN),null)}setRefreshTokenCredential(x){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");const N=a.AZ(x);this.setItem(N,JSON.stringify(x)),this.addTokenKey(N,d.yu.REFRESH_TOKEN)}getAppMetadata(x){const N=this.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;const O=this.validateAndParseJson(N);return O&&a.q6(x,O)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),O):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)}setAppMetadata(x){this.logger.trace("BrowserCacheManager.setAppMetadata called");const N=a.S(x);this.setItem(N,JSON.stringify(x))}getServerTelemetry(x){const N=this.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;const O=this.validateAndParseJson(N);return O&&a.sX(x,O)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),O):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)}setServerTelemetry(x,N){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(x,JSON.stringify(N))}getAuthorityMetadata(x){const N=this.internalStorage.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;const O=this.validateAndParseJson(N);return O&&a.aA(x,O)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),O):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(N=>this.isAuthorityMetadata(N))}setWrapperMetadata(x,N){this.internalStorage.setItem(y.CM.WRAPPER_SKU,x),this.internalStorage.setItem(y.CM.WRAPPER_VER,N)}getWrapperMetadata(){return[this.internalStorage.getItem(y.CM.WRAPPER_SKU)||d.Mv.EMPTY_STRING,this.internalStorage.getItem(y.CM.WRAPPER_VER)||d.Mv.EMPTY_STRING]}setAuthorityMetadata(x,N){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(x,JSON.stringify(N))}getActiveAccount(){const x=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT_FILTERS),N=this.getItem(x);if(!N){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");const H=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT),G=this.getItem(H);if(!G)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;const te=this.getAccountInfoFilteredBy({localAccountId:G});return te?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(te),te):null}const O=this.validateAndParseJson(N);return O?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoFilteredBy({homeAccountId:O.homeAccountId,localAccountId:O.localAccountId,tenantId:O.tenantId})):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)}setActiveAccount(x){const N=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT_FILTERS),O=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT);x?(this.logger.verbose("setActiveAccount: Active account set"),this.browserStorage.setItem(N,JSON.stringify({homeAccountId:x.homeAccountId,localAccountId:x.localAccountId,tenantId:x.tenantId})),this.browserStorage.setItem(O,x.localAccountId)):(this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(N),this.browserStorage.removeItem(O))}getThrottlingCache(x){const N=this.getItem(x);if(!N)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;const O=this.validateAndParseJson(N);return O&&a.s7(x,O)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),O):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)}setThrottlingCache(x,N){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(x,JSON.stringify(N))}getTemporaryCache(x,N){const O=N?this.generateCacheKey(x):x;if(this.cacheConfig.storeAuthStateInCookie){const G=this.getItemCookie(O);if(G)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),G}const H=this.temporaryCacheStorage.getItem(O);if(!H){if(this.cacheConfig.cacheLocation===y.Ir.LocalStorage){const G=this.browserStorage.getItem(O);if(G)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),G}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),H}setTemporaryCache(x,N,O){const H=O?this.generateCacheKey(x):x;this.temporaryCacheStorage.setItem(H,N),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(H,N))}removeItem(x){this.browserStorage.removeItem(x),this.temporaryCacheStorage.removeItem(x),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(x))}containsKey(x){return this.browserStorage.containsKey(x)||this.temporaryCacheStorage.containsKey(x)}getKeys(){return[...this.browserStorage.getKeys(),...this.temporaryCacheStorage.getKeys()]}clear(){var x=this;return(0,n.c)(function*(){yield x.removeAllAccounts(),x.removeAppMetadata(),x.getKeys().forEach(N=>{(x.browserStorage.containsKey(N)||x.temporaryCacheStorage.containsKey(N))&&(-1!==N.indexOf(d.Mv.CACHE_PREFIX)||-1!==N.indexOf(x.clientId))&&x.removeItem(N)}),x.internalStorage.clear()})()}clearTokensAndKeysWithClaims(x){var N=this;return(0,n.c)(function*(){x.addQueueMeasurement(c.Xv.ClearTokensAndKeysWithClaims);const O=N.getTokenKeys(),H=[];O.accessToken.forEach(G=>{const te=N.getAccessTokenCredential(G);te?.requestedClaimsHash&&G.includes(te.requestedClaimsHash.toLowerCase())&&H.push(N.removeAccessToken(G))}),yield Promise.all(H),H.length>0&&N.logger.warning(`${H.length} access tokens with claims in the cache keys have been removed from the cache.`)})()}setItemCookie(x,N,O){let H=`${encodeURIComponent(x)}=${encodeURIComponent(N)};path=/;SameSite=Lax;`;O&&(H+=`expires=${this.getCookieExpirationTime(O)};`),this.cacheConfig.secureCookies&&(H+="Secure;"),document.cookie=H}getItemCookie(x){const N=`${encodeURIComponent(x)}=`,O=document.cookie.split(";");for(let H=0;H{for(;" "===O.charAt(0);)O=O.substring(1);if(0===O.indexOf(x)){const H=O.split("=")[0];this.clearItemCookie(H)}})}clearItemCookie(x){this.setItemCookie(x,d.Mv.EMPTY_STRING,-1)}getCookieExpirationTime(x){return new Date((new Date).getTime()+x*this.COOKIE_LIFE_MULTIPLIER).toUTCString()}getCache(){return this.browserStorage}setCache(){}generateCacheKey(x){return this.validateAndParseJson(x)?JSON.stringify(x):g.e.startsWith(x,d.Mv.CACHE_PREFIX)||g.e.startsWith(x,d.IH.ADAL_ID_TOKEN)?x:`${d.Mv.CACHE_PREFIX}.${this.clientId}.${x}`}generateAuthorityKey(x){const{libraryState:{id:N}}=v.c.parseRequestState(this.cryptoImpl,x);return this.generateCacheKey(`${y.zH.AUTHORITY}.${N}`)}generateNonceKey(x){const{libraryState:{id:N}}=v.c.parseRequestState(this.cryptoImpl,x);return this.generateCacheKey(`${y.zH.NONCE_IDTOKEN}.${N}`)}generateStateKey(x){const{libraryState:{id:N}}=v.c.parseRequestState(this.cryptoImpl,x);return this.generateCacheKey(`${y.zH.REQUEST_STATE}.${N}`)}getCachedAuthority(x){const N=this.generateStateKey(x),O=this.getTemporaryCache(N);if(!O)return null;const H=this.generateAuthorityKey(O);return this.getTemporaryCache(H)}updateCacheEntries(x,N,O,H,G){this.logger.trace("BrowserCacheManager.updateCacheEntries called");const te=this.generateStateKey(x);this.setTemporaryCache(te,x,!1);const ue=this.generateNonceKey(x);this.setTemporaryCache(ue,N,!1);const se=this.generateAuthorityKey(x);this.setTemporaryCache(se,O,!1),G?this.setTemporaryCache(y.zH.CCS_CREDENTIAL,JSON.stringify({credential:G.homeAccountId,type:p.s.HOME_ACCOUNT_ID}),!0):H&&this.setTemporaryCache(y.zH.CCS_CREDENTIAL,JSON.stringify({credential:H,type:p.s.UPN}),!0)}resetRequestCache(x){this.logger.trace("BrowserCacheManager.resetRequestCache called"),x&&(this.getKeys().forEach(N=>{-1!==N.indexOf(x)&&this.removeItem(N)}),this.removeItem(this.generateStateKey(x)),this.removeItem(this.generateNonceKey(x)),this.removeItem(this.generateAuthorityKey(x))),this.removeItem(this.generateCacheKey(y.zH.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(y.zH.ORIGIN_URI)),this.removeItem(this.generateCacheKey(y.zH.URL_HASH)),this.removeItem(this.generateCacheKey(y.zH.CORRELATION_ID)),this.removeItem(this.generateCacheKey(y.zH.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(y.zH.NATIVE_REQUEST)),this.setInteractionInProgress(!1)}cleanRequestByState(x){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),x){const N=this.generateStateKey(x),O=this.temporaryCacheStorage.getItem(N);this.logger.infoPii(`BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: ${O}`),this.resetRequestCache(O||d.Mv.EMPTY_STRING)}this.clearMsalCookies()}cleanRequestByInteractionType(x){this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach(N=>{if(-1===N.indexOf(y.zH.REQUEST_STATE))return;const O=this.temporaryCacheStorage.getItem(N);if(!O)return;const H=(0,M.Q)(this.cryptoImpl,O);H&&H.interactionType===x&&(this.logger.infoPii(`BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: ${O}`),this.resetRequestCache(O))}),this.clearMsalCookies(),this.setInteractionInProgress(!1)}cacheCodeRequest(x){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");const N=(0,I.c9)(JSON.stringify(x));this.setTemporaryCache(y.zH.REQUEST_PARAMS,N,!0)}getCachedRequest(x){this.logger.trace("BrowserCacheManager.getCachedRequest called");const N=this.getTemporaryCache(y.zH.REQUEST_PARAMS,!0);if(!N)throw(0,f.Wq)(F.noTokenRequestCacheError);let O;try{O=JSON.parse((0,A.W)(N))}catch(H){throw this.logger.errorPii(`Attempted to parse: ${N}`),this.logger.error(`Parsing cached token request threw with error: ${H}`),(0,f.Wq)(F.unableToParseTokenRequestCacheError)}if(this.removeItem(this.generateCacheKey(y.zH.REQUEST_PARAMS)),!O.authority){const H=this.generateAuthorityKey(x),G=this.getTemporaryCache(H);if(!G)throw(0,f.Wq)(F.noCachedAuthorityError);O.authority=G}return O}getCachedNativeRequest(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");const x=this.getTemporaryCache(y.zH.NATIVE_REQUEST,!0);return x?this.validateAndParseJson(x)||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null):(this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null)}isInteractionInProgress(x){const N=this.getInteractionInProgress();return x?N===this.clientId:!!N}getInteractionInProgress(){return this.getTemporaryCache(`${d.Mv.CACHE_PREFIX}.${y.zH.INTERACTION_STATUS_KEY}`,!1)}setInteractionInProgress(x){const N=`${d.Mv.CACHE_PREFIX}.${y.zH.INTERACTION_STATUS_KEY}`;if(x){if(this.getInteractionInProgress())throw(0,f.Wq)(F.interactionInProgress);this.setTemporaryCache(N,this.clientId,!1)}else!x&&this.getInteractionInProgress()===this.clientId&&this.removeItem(N)}getLegacyLoginHint(){const x=this.getTemporaryCache(d.IH.ADAL_ID_TOKEN);x&&(this.browserStorage.removeItem(d.IH.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));const N=this.getTemporaryCache(d.IH.ID_TOKEN,!0);N&&(this.removeItem(this.generateCacheKey(d.IH.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));const O=N||x;if(O){const H=S.aw(O,A.W);if(H.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),H.preferred_username;if(H.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),H.upn;this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, however, no account hint claim found. Enable preferred_username or upn id token claim to get SSO.")}return null}updateCredentialCacheKey(x,N){const O=a.AZ(N);if(x!==O){const H=this.getItem(x);if(H)return this.removeItem(x),this.setItem(O,H),this.logger.verbose(`Updated an outdated ${N.credentialType} cache key`),O;this.logger.error(`Attempted to update an outdated ${N.credentialType} cache key but no item matching the outdated key was found in storage`)}return x}getRedirectRequestContext(){return this.getTemporaryCache(y.zH.REDIRECT_CONTEXT,!0)}setRedirectRequestContext(x){this.setTemporaryCache(y.zH.REDIRECT_CONTEXT,x,!0)}hydrateCache(x,N){var O=this;return(0,n.c)(function*(){const H=a.YF(x.account?.homeAccountId,x.account?.environment,x.idToken,O.clientId,x.tenantId);let G;N.claims&&(G=yield O.cryptoImpl.hashString(N.claims));const te=a.MJ(x.account?.homeAccountId,x.account.environment,x.accessToken,O.clientId,x.tenantId,x.scopes.join(" "),x.expiresOn?.getTime()||0,x.extExpiresOn?.getTime()||0,A.W,void 0,x.tokenType,void 0,N.sshKid,N.claims,G),ue=new C.O(void 0,H,te);return O.saveCacheRecord(ue)})()}}const T=(P,x)=>new j(P,{cacheLocation:y.Ir.MemoryStorage,temporaryCacheLocation:y.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},_.K,x)},71720:(pe,h,o)=>{"use strict";o.d(h,{K:()=>a});var n=o(72592),i=o(26956),d=o(85288);class a{constructor(e){this.validateWindowStorage(e),this.windowStorage=window[e]}validateWindowStorage(e){if(e!==i.Ir.LocalStorage&&e!==i.Ir.SessionStorage||!window[e])throw(0,n.cf)(d.storageNotSupported)}getItem(e){return this.windowStorage.getItem(e)}setItem(e,u){this.windowStorage.setItem(e,u)}removeItem(e){this.windowStorage.removeItem(e)}getKeys(){return Object.keys(this.windowStorage)}containsKey(e){return this.windowStorage.hasOwnProperty(e)}}},61744:(pe,h,o)=>{"use strict";o.d(h,{W:()=>n});class n{constructor(){this.cache=new Map}getItem(d){return this.cache.get(d)||null}setItem(d,a){this.cache.set(d,a)}removeItem(d){this.cache.delete(d)}getKeys(){const d=[];return this.cache.forEach((a,l)=>{d.push(l)}),d}containsKey(d){return this.cache.has(d)}clear(){this.cache.clear()}}},48124:(pe,h,o)=>{"use strict";o.d(h,{Ks:()=>M,k5:()=>F});var n=o(34739),i=o(65072),d=o(67952),a=o(73364),l=o(80660),e=o(28876),u=o(71408);const c={sendGetRequestAsync:()=>Promise.reject((0,e.mQ)(u.methodNotImplemented)),sendPostRequestAsync:()=>Promise.reject((0,e.mQ)(u.methodNotImplemented))};var g=o(35128),v=o(59684),p=o(32336),S=o(26956),C=o(64952),_=o(1528),f=o(4792),y=o(32828);class b{sendGetRequestAsync(T,P){var x=this;return(0,_.c)(function*(){let N;try{N=yield fetch(T,{method:S.yI.GET,headers:x.getFetchHeaders(P)})}catch{throw window.navigator.onLine?(0,f.Wq)(y.getRequestFailed):(0,f.Wq)(y.noNetworkConnectivity)}try{return{headers:x.getHeaderDict(N.headers),body:yield N.json(),status:N.status}}catch{throw(0,f.Wq)(y.failedToParseResponse)}})()}sendPostRequestAsync(T,P){var x=this;return(0,_.c)(function*(){const N=P&&P.body||n.Mv.EMPTY_STRING;let O;try{O=yield fetch(T,{method:S.yI.POST,headers:x.getFetchHeaders(P),body:N})}catch{throw window.navigator.onLine?(0,f.Wq)(y.postRequestFailed):(0,f.Wq)(y.noNetworkConnectivity)}try{return{headers:x.getHeaderDict(O.headers),body:yield O.json(),status:O.status}}catch{throw(0,f.Wq)(y.failedToParseResponse)}})()}getFetchHeaders(T){const P=new Headers;if(!T||!T.headers)return P;const x=T.headers;return Object.keys(x).forEach(N=>{P.append(N,x[N])}),P}getHeaderDict(T){const P={};return T.forEach((x,N)=>{P[N]=x}),P}}const E=6e4,M=1e4,A=3e4,I=2e3;function F({auth:j,cache:T,system:P,telemetry:x},N){const O={clientId:n.Mv.EMPTY_STRING,authority:`${n.Mv.DEFAULT_AUTHORITY}`,knownAuthorities:[],cloudDiscoveryMetadata:n.Mv.EMPTY_STRING,authorityMetadata:n.Mv.EMPTY_STRING,redirectUri:n.Mv.EMPTY_STRING,postLogoutRedirectUri:n.Mv.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:i.g.AAD,OIDCOptions:{serverResponseType:n.eE.FRAGMENT,defaultScopes:[n.Mv.OPENID_SCOPE,n.Mv.PROFILE_SCOPE,n.Mv.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:d.C.None,tenant:n.Mv.EMPTY_STRING},skipAuthorityMetadataCache:!1,supportsNestedAppAuth:!1},H={cacheLocation:S.Ir.SessionStorage,temporaryCacheLocation:S.Ir.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!(!T||T.cacheLocation!==S.Ir.LocalStorage),claimsBasedCachingEnabled:!1},G={loggerCallback:()=>{},logLevel:a.G.Info,piiLoggingEnabled:!1},ue={...{...l.k5,loggerOptions:G,networkClient:N?new b:c,navigationClient:new C.m,loadFrameTimeout:0,windowHashTimeout:P?.loadFrameTimeout||E,iframeHashTimeout:P?.loadFrameTimeout||M,navigateFrameWait:0,redirectNavigationTimeout:A,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:P?.nativeBrokerHandshakeTimeout||I,pollIntervalMilliseconds:S.ig.DEFAULT_POLL_INTERVAL_MS},...P,loggerOptions:P?.loggerOptions||G},se={application:{appName:n.Mv.EMPTY_STRING,appVersion:n.Mv.EMPTY_STRING},client:new g._};if(j?.protocolMode!==i.g.OIDC&&j?.OIDCOptions&&new a.Y(ue.loggerOptions).warning(JSON.stringify((0,v.QN)(p.cannotSetOIDCOptions))),j?.protocolMode&&j.protocolMode!==i.g.AAD&&ue?.allowNativeBroker)throw(0,v.QN)(p.cannotAllowNativeBroker);return{auth:{...O,...j,OIDCOptions:{...O.OIDCOptions,...j?.OIDCOptions}},cache:{...H,...T},system:ue,telemetry:{...se,...x}}}},65304:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{StandardController:()=>ur});var n=o(1528),i=o(7184),d=o(65172),a=o(25988),e=o(67648),u=o(28876),c=o(34739),g=o(74968),v=o(59684),p=o(65072),S=o(67952),f=o(85348),y=o(14035);let b=(()=>{class un{constructor(z,ae,Fe,Ae){this.networkInterface=z,this.logger=ae,this.performanceClient=Fe,this.correlationId=Ae}detectRegion(z,ae){var Fe=this;return(0,n.c)(function*(){Fe.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryDetectRegion,Fe.correlationId);let Ae=z;if(Ae)ae.region_source=c.Q$.ENVIRONMENT_VARIABLE;else{const fe=un.IMDS_OPTIONS;try{const De=yield(0,y.C)(Fe.getRegionFromIMDS.bind(Fe),f.Xv.RegionDiscoveryGetRegionFromIMDS,Fe.logger,Fe.performanceClient,Fe.correlationId)(c.Mv.IMDS_VERSION,fe);if(De.status===c.sL.httpSuccess&&(Ae=De.body,ae.region_source=c.Q$.IMDS),De.status===c.sL.httpBadRequest){const rt=yield(0,y.C)(Fe.getCurrentVersion.bind(Fe),f.Xv.RegionDiscoveryGetCurrentVersion,Fe.logger,Fe.performanceClient,Fe.correlationId)(fe);if(!rt)return ae.region_source=c.Q$.FAILED_AUTO_DETECTION,null;const _t=yield(0,y.C)(Fe.getRegionFromIMDS.bind(Fe),f.Xv.RegionDiscoveryGetRegionFromIMDS,Fe.logger,Fe.performanceClient,Fe.correlationId)(rt,fe);_t.status===c.sL.httpSuccess&&(Ae=_t.body,ae.region_source=c.Q$.IMDS)}}catch{return ae.region_source=c.Q$.FAILED_AUTO_DETECTION,null}}return Ae||(ae.region_source=c.Q$.FAILED_AUTO_DETECTION),Ae||null})()}getRegionFromIMDS(z,ae){var Fe=this;return(0,n.c)(function*(){return Fe.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryGetRegionFromIMDS,Fe.correlationId),Fe.networkInterface.sendGetRequestAsync(`${c.Mv.IMDS_ENDPOINT}?api-version=${z}&format=text`,ae,c.Mv.IMDS_TIMEOUT)})()}getCurrentVersion(z){var ae=this;return(0,n.c)(function*(){ae.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryGetCurrentVersion,ae.correlationId);try{const Fe=yield ae.networkInterface.sendGetRequestAsync(`${c.Mv.IMDS_ENDPOINT}?format=json`,z);return Fe.status===c.sL.httpBadRequest&&Fe.body&&Fe.body["newest-versions"]&&Fe.body["newest-versions"].length>0?Fe.body["newest-versions"][0]:null}catch{return null}})()}}return un.IMDS_OPTIONS={headers:{Metadata:"true"}},un})();var E=o(66936),M=o(72584),A=o(71408),I=o(32336);class F{constructor(U,z,ae,Fe,Ae,fe,De){this.canonicalAuthority=U,this._canonicalAuthority.validateAsUri(),this.networkInterface=z,this.cacheManager=ae,this.authorityOptions=Fe,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=Ae,this.performanceClient=De,this.correlationId=fe,this.regionDiscovery=new b(z,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(U){if(U.HostNameAndPort.endsWith(c.Mv.CIAM_AUTH_URL))return a.O.Ciam;const z=U.PathSegments;if(z.length)switch(z[0].toLowerCase()){case c.Mv.ADFS:return a.O.Adfs;case c.Mv.DSTS:return a.O.Dsts}return a.O.Default}get authorityType(){return this.getAuthorityType(this.canonicalAuthorityUrlComponents)}get protocolMode(){return this.authorityOptions.protocolMode}get options(){return this.authorityOptions}get canonicalAuthority(){return this._canonicalAuthority.urlString}set canonicalAuthority(U){this._canonicalAuthority=new e._(U),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null}get canonicalAuthorityUrlComponents(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents}get hostnameAndPort(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()}get tenant(){return this.canonicalAuthorityUrlComponents.PathSegments[0]}get authorizationEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.authorization_endpoint);throw(0,u.mQ)(A.endpointResolutionError)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw(0,u.mQ)(A.endpointResolutionError)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw(0,u.mQ)(A.endpointResolutionError)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw(0,u.mQ)(A.endSessionEndpointNotSupported);return this.replacePath(this.metadata.end_session_endpoint)}throw(0,u.mQ)(A.endpointResolutionError)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw(0,u.mQ)(A.endpointResolutionError)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw(0,u.mQ)(A.endpointResolutionError)}canReplaceTenant(U){return 1===U.PathSegments.length&&!F.reservedTenantDomains.has(U.PathSegments[0])&&this.getAuthorityType(U)===a.O.Default&&this.protocolMode===p.g.AAD}replaceTenant(U){return U.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(U){let z=U;const Fe=new e._(this.metadata.canonical_authority).getUrlComponents(),Ae=Fe.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((De,rt)=>{let _t=Ae[rt];if(0===rt&&this.canReplaceTenant(Fe)){const Tt=new e._(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];_t!==Tt&&(this.logger.verbose(`Replacing tenant domain name ${_t} with id ${Tt}`),_t=Tt)}De!==_t&&(z=z.replace(`/${_t}/`,`/${De}/`))}),this.replaceTenant(z)}get defaultOpenIdConfigurationEndpoint(){const U=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===a.O.Adfs||this.protocolMode!==p.g.AAD&&!this.isAliasOfKnownMicrosoftAuthority(U)?`${this.canonicalAuthority}.well-known/openid-configuration`:`${this.canonicalAuthority}v2.0/.well-known/openid-configuration`}discoveryComplete(){return!!this.metadata}resolveEndpointsAsync(){var U=this;return(0,n.c)(function*(){U.performanceClient?.addQueueMeasurement(f.Xv.AuthorityResolveEndpointsAsync,U.correlationId);const z=U.getCurrentMetadataEntity(),ae=yield(0,y.C)(U.updateCloudDiscoveryMetadata.bind(U),f.Xv.AuthorityUpdateCloudDiscoveryMetadata,U.logger,U.performanceClient,U.correlationId)(z);U.canonicalAuthority=U.canonicalAuthority.replace(U.hostnameAndPort,z.preferred_network);const Fe=yield(0,y.C)(U.updateEndpointMetadata.bind(U),f.Xv.AuthorityUpdateEndpointMetadata,U.logger,U.performanceClient,U.correlationId)(z);U.updateCachedMetadata(z,ae,{source:Fe}),U.performanceClient?.addFields({cloudDiscoverySource:ae,authorityEndpointSource:Fe},U.correlationId)})()}getCurrentMetadataEntity(){let U=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort);return U||(U={aliases:[],preferred_cache:this.hostnameAndPort,preferred_network:this.hostnameAndPort,canonical_authority:this.canonicalAuthority,authorization_endpoint:"",token_endpoint:"",end_session_endpoint:"",issuer:"",aliasesFromNetwork:!1,endpointsFromNetwork:!1,expiresAt:(0,M.gv)(),jwks_uri:""}),U}updateCachedMetadata(U,z,ae){z!==c.cv.CACHE&&ae?.source!==c.cv.CACHE&&(U.expiresAt=(0,M.gv)(),U.canonical_authority=this.canonicalAuthority);const Fe=this.cacheManager.generateAuthorityMetadataCacheKey(U.preferred_cache);this.cacheManager.setAuthorityMetadata(Fe,U),this.metadata=U}updateEndpointMetadata(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateEndpointMetadata,z.correlationId);const ae=z.updateEndpointMetadataFromLocalSources(U);if(ae){if(ae.source===c.cv.HARDCODED_VALUES&&z.authorityOptions.azureRegionConfiguration?.azureRegion&&ae.metadata){const Ae=yield(0,y.C)(z.updateMetadataWithRegionalInformation.bind(z),f.Xv.AuthorityUpdateMetadataWithRegionalInformation,z.logger,z.performanceClient,z.correlationId)(ae.metadata);(0,M.sH)(U,Ae,!1),U.canonical_authority=z.canonicalAuthority}return ae.source}let Fe=yield(0,y.C)(z.getEndpointMetadataFromNetwork.bind(z),f.Xv.AuthorityGetEndpointMetadataFromNetwork,z.logger,z.performanceClient,z.correlationId)();if(Fe)return z.authorityOptions.azureRegionConfiguration?.azureRegion&&(Fe=yield(0,y.C)(z.updateMetadataWithRegionalInformation.bind(z),f.Xv.AuthorityUpdateMetadataWithRegionalInformation,z.logger,z.performanceClient,z.correlationId)(Fe)),(0,M.sH)(U,Fe,!0),c.cv.NETWORK;throw(0,u.mQ)(A.openIdConfigError,z.defaultOpenIdConfigurationEndpoint)})()}updateEndpointMetadataFromLocalSources(U){this.logger.verbose("Attempting to get endpoint metadata from authority configuration");const z=this.getEndpointMetadataFromConfig();if(z)return this.logger.verbose("Found endpoint metadata in authority configuration"),(0,M.sH)(U,z,!1),{source:c.cv.CONFIG};if(this.logger.verbose("Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values."),this.authorityOptions.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get endpoint metadata from the network metadata cache.");else{const Fe=this.getEndpointMetadataFromHardcodedValues();if(Fe)return(0,M.sH)(U,Fe,!1),{source:c.cv.HARDCODED_VALUES,metadata:Fe};this.logger.verbose("Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.")}const ae=(0,M.mk)(U);return this.isAuthoritySameType(U)&&U.endpointsFromNetwork&&!ae?(this.logger.verbose("Found endpoint metadata in the cache."),{source:c.cv.CACHE}):(ae&&this.logger.verbose("The metadata entity is expired."),null)}isAuthoritySameType(U){return new e._(U.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw(0,v.QN)(I.invalidAuthorityMetadata)}return null}getEndpointMetadataFromNetwork(){var U=this;return(0,n.c)(function*(){U.performanceClient?.addQueueMeasurement(f.Xv.AuthorityGetEndpointMetadataFromNetwork,U.correlationId);const z={},ae=U.defaultOpenIdConfigurationEndpoint;U.logger.verbose(`Authority.getEndpointMetadataFromNetwork: attempting to retrieve OAuth endpoints from ${ae}`);try{const Fe=yield U.networkInterface.sendGetRequestAsync(ae,z);return function l(un){return un.hasOwnProperty("authorization_endpoint")&&un.hasOwnProperty("token_endpoint")&&un.hasOwnProperty("issuer")&&un.hasOwnProperty("jwks_uri")}(Fe.body)?Fe.body:(U.logger.verbose("Authority.getEndpointMetadataFromNetwork: could not parse response as OpenID configuration"),null)}catch(Fe){return U.logger.verbose(`Authority.getEndpointMetadataFromNetwork: ${Fe}`),null}})()}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in g.gB?g.gB[this.hostnameAndPort]:null}updateMetadataWithRegionalInformation(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateMetadataWithRegionalInformation,z.correlationId);const ae=z.authorityOptions.azureRegionConfiguration?.azureRegion;if(ae){if(ae!==c.Mv.AZURE_REGION_AUTO_DISCOVER_FLAG)return z.regionDiscoveryMetadata.region_outcome=c.wR.CONFIGURED_NO_AUTO_DETECTION,z.regionDiscoveryMetadata.region_used=ae,F.replaceWithRegionalInformation(U,ae);const Fe=yield(0,y.C)(z.regionDiscovery.detectRegion.bind(z.regionDiscovery),f.Xv.RegionDiscoveryDetectRegion,z.logger,z.performanceClient,z.correlationId)(z.authorityOptions.azureRegionConfiguration?.environmentRegion,z.regionDiscoveryMetadata);if(Fe)return z.regionDiscoveryMetadata.region_outcome=c.wR.AUTO_DETECTION_REQUESTED_SUCCESSFUL,z.regionDiscoveryMetadata.region_used=Fe,F.replaceWithRegionalInformation(U,Fe);z.regionDiscoveryMetadata.region_outcome=c.wR.AUTO_DETECTION_REQUESTED_FAILED}return U})()}updateCloudDiscoveryMetadata(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateCloudDiscoveryMetadata,z.correlationId);const ae=z.updateCloudDiscoveryMetadataFromLocalSources(U);if(ae)return ae;const Fe=yield(0,y.C)(z.getCloudDiscoveryMetadataFromNetwork.bind(z),f.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,z.logger,z.performanceClient,z.correlationId)();if(Fe)return(0,M.cb)(U,Fe,!0),c.cv.NETWORK;throw(0,v.QN)(I.untrustedAuthority)})()}updateCloudDiscoveryMetadataFromLocalSources(U){this.logger.verbose("Attempting to get cloud discovery metadata from authority configuration"),this.logger.verbosePii(`Known Authorities: ${this.authorityOptions.knownAuthorities||c.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Authority Metadata: ${this.authorityOptions.authorityMetadata||c.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Canonical Authority: ${U.canonical_authority||c.Mv.NOT_APPLICABLE}`);const z=this.getCloudDiscoveryMetadataFromConfig();if(z)return this.logger.verbose("Found cloud discovery metadata in authority configuration"),(0,M.cb)(U,z,!1),c.cv.CONFIG;if(this.logger.verbose("Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values."),this.options.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded cloud discovery metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get cloud discovery metadata from the network metadata cache.");else{const Fe=(0,g.UD)(this.hostnameAndPort);if(Fe)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),(0,M.cb)(U,Fe,!1),c.cv.HARDCODED_VALUES;this.logger.verbose("Did not find cloud discovery metadata in hardcoded values... Attempting to get cloud discovery metadata from the network metadata cache.")}const ae=(0,M.mk)(U);return this.isAuthoritySameType(U)&&U.aliasesFromNetwork&&!ae?(this.logger.verbose("Found cloud discovery metadata in the cache."),c.cv.CACHE):(ae&&this.logger.verbose("The metadata entity is expired."),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===a.O.Ciam)return this.logger.verbose("CIAM authorities do not support cloud discovery metadata, generate the aliases from authority host."),F.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");try{this.logger.verbose("Attempting to parse the cloud discovery metadata.");const U=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),z=(0,g._8)(U.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),z)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),z;this.logger.verbose("There is no metadata attached to the parsed cloud discovery metadata.")}catch{throw this.logger.verbose("Unable to parse the cloud discovery metadata. Throwing Invalid Cloud Discovery Metadata Error."),(0,v.QN)(I.invalidCloudDiscoveryMetadata)}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),F.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}getCloudDiscoveryMetadataFromNetwork(){var U=this;return(0,n.c)(function*(){U.performanceClient?.addQueueMeasurement(f.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,U.correlationId);const z=`${c.Mv.AAD_INSTANCE_DISCOVERY_ENDPT}${U.canonicalAuthority}oauth2/v2.0/authorize`,ae={};let Fe=null;try{const Ae=yield U.networkInterface.sendGetRequestAsync(z,ae);let fe,De;if(function C(un){return un.hasOwnProperty("tenant_discovery_endpoint")&&un.hasOwnProperty("metadata")}(Ae.body))fe=Ae.body,De=fe.metadata,U.logger.verbosePii(`tenant_discovery_endpoint is: ${fe.tenant_discovery_endpoint}`);else{if(!function _(un){return un.hasOwnProperty("error")&&un.hasOwnProperty("error_description")}(Ae.body))return U.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),null;if(U.logger.warning(`A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: ${Ae.status}`),fe=Ae.body,fe.error===c.Mv.INVALID_INSTANCE)return U.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),null;U.logger.warning(`The CloudInstanceDiscoveryErrorResponse error is ${fe.error}`),U.logger.warning(`The CloudInstanceDiscoveryErrorResponse error description is ${fe.error_description}`),U.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),De=[]}U.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),Fe=(0,g._8)(De,U.hostnameAndPort)}catch(Ae){return U.logger.error(Ae instanceof E.WM?`There was a network error while attempting to get the cloud discovery instance metadata.\nError: ${Ae.errorCode}\nError Description: ${Ae.errorMessage}`:`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.\nError: ${Ae.name}\nError Description: ${Ae.message}`),null}return Fe||(U.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),U.logger.verbose("Creating custom Authority for custom domain scenario."),Fe=F.createCloudDiscoveryMetadataFromHost(U.hostnameAndPort)),Fe})()}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(z=>z&&e._.getDomainFromUrl(z).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(U,z){let ae;return z&&z.azureCloudInstance!==S.C.None&&(ae=`${z.azureCloudInstance}/${z.tenant?z.tenant:c.Mv.DEFAULT_COMMON_TENANT}/`),ae||U}static createCloudDiscoveryMetadataFromHost(U){return{preferred_network:U,preferred_cache:U,aliases:[U]}}getPreferredCache(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw(0,u.mQ)(A.endpointResolutionError)}isAlias(U){return this.metadata.aliases.indexOf(U)>-1}isAliasOfKnownMicrosoftAuthority(U){return g.IP.has(U)}static isPublicCloudAuthority(U){return c.Mv.KNOWN_PUBLIC_CLOUDS.indexOf(U)>=0}static buildRegionalAuthorityString(U,z,ae){const Fe=new e._(U);Fe.validateAsUri();const Ae=Fe.getUrlComponents();let fe=`${z}.${Ae.HostNameAndPort}`;this.isPublicCloudAuthority(Ae.HostNameAndPort)&&(fe=`${z}.${c.Mv.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX}`);const De=e._.constructAuthorityUriFromObject({...Fe.getUrlComponents(),HostNameAndPort:fe}).urlString;return ae?`${De}?${ae}`:De}static replaceWithRegionalInformation(U,z){const ae={...U};return ae.authorization_endpoint=F.buildRegionalAuthorityString(ae.authorization_endpoint,z),ae.token_endpoint=F.buildRegionalAuthorityString(ae.token_endpoint,z),ae.end_session_endpoint&&(ae.end_session_endpoint=F.buildRegionalAuthorityString(ae.end_session_endpoint,z)),ae}static transformCIAMAuthority(U){let z=U;const Fe=new e._(U).getUrlComponents();return 0===Fe.PathSegments.length&&Fe.HostNameAndPort.endsWith(c.Mv.CIAM_AUTH_URL)&&(z=`${z}${Fe.HostNameAndPort.split(".")[0]}${c.Mv.AAD_TENANT_DOMAIN_SUFFIX}`),z}}function T(un){return un.endsWith(c.Mv.FORWARD_SLASH)?un:`${un}${c.Mv.FORWARD_SLASH}`}F.reservedTenantDomains=new Set(["{tenant}","{tenantid}",c.sN.COMMON,c.sN.CONSUMERS,c.sN.ORGANIZATIONS]);var x=o(53408),N=o(98416),O=o(72896),H=o(69812),G=o(26956),te=o(84644),ue=o(28612),se=o(72592),K=o(85968),Z=o(76944);class re{static generateThrottlingStorageKey(U){return`${c.gr.THROTTLING_PREFIX}.${JSON.stringify(U)}`}static preProcess(U,z){const ae=re.generateThrottlingStorageKey(z),Fe=U.getThrottlingCache(ae);if(Fe){if(Fe.throttleTime=500&&U.status<600}static checkResponseForRetryAfter(U){return!!U.headers&&U.headers.hasOwnProperty(c.MF.RETRY_AFTER)&&(U.status<200||U.status>=300)}static calculateThrottleTime(U){const z=U<=0?0:U,ae=Date.now()/1e3;return Math.floor(1e3*Math.min(ae+(z||c.gr.DEFAULT_THROTTLE_TIME_SECONDS),ae+c.gr.DEFAULT_MAX_THROTTLE_TIME_SECONDS))}static removeThrottle(U,z,ae,Fe){const fe=this.generateThrottlingStorageKey({clientId:z,authority:ae.authority,scopes:ae.scopes,homeAccountIdentifier:Fe,claims:ae.claims,authenticationScheme:ae.authenticationScheme,resourceRequestMethod:ae.resourceRequestMethod,resourceRequestUri:ae.resourceRequestUri,shrClaims:ae.shrClaims,sshKid:ae.sshKid});U.removeItem(fe)}}var J=o(86144),Y=o(80660);class ${constructor(U,z){this.networkClient=U,this.cacheManager=z}sendPostRequest(U,z,ae){var Fe=this;return(0,n.c)(function*(){let Ae;re.preProcess(Fe.cacheManager,U);try{Ae=yield Fe.networkClient.sendPostRequestAsync(z,ae)}catch(fe){throw fe instanceof E.WM?fe:(0,u.mQ)(A.networkError)}return re.postProcess(Fe.cacheManager,U,Ae),Ae})()}}var le=o(73364),ee=o(75205),we=o(16256),ye=o(22045),Oe=o(33363);function ve(un,U,z,ae,Fe,Ae,fe){return _e.apply(this,arguments)}function _e(){return(_e=(0,n.c)(function*(un,U,z,ae,Fe,Ae,fe){fe?.addQueueMeasurement(f.Xv.AuthorityFactoryCreateDiscoveredInstance,Ae);const De=F.transformCIAMAuthority(T(un)),rt=new F(De,U,z,ae,Fe,Ae,fe);try{return yield(0,y.C)(rt.resolveEndpointsAsync.bind(rt),f.Xv.AuthorityResolveEndpointsAsync,Fe,fe,Ae)(),rt}catch{throw(0,u.mQ)(A.endpointResolutionError)}})).apply(this,arguments)}class Pe{constructor(U,z){this.config=(0,Y.cJ)(U),this.logger=new le.Y(this.config.loggerOptions,ee.N,ee.W),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new $(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=z}createTokenRequestHeaders(U){const z={};if(z[c.MF.CONTENT_TYPE]=c.Mv.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&U)switch(U.type){case we.s.HOME_ACCOUNT_ID:try{const ae=(0,ye.k)(U.credential);z[c.MF.CCS_HEADER]=`Oid:${ae.uid}@${ae.utid}`}catch(ae){this.logger.verbose("Could not parse home account ID for CCS Header: "+ae)}break;case we.s.UPN:z[c.MF.CCS_HEADER]=`UPN: ${U.credential}`}return z}executePostToTokenEndpoint(U,z,ae,Fe,Ae,fe){var De=this;return(0,n.c)(function*(){fe&&De.performanceClient?.addQueueMeasurement(fe,Ae);const rt=yield De.networkManager.sendPostRequest(Fe,U,{body:z,headers:ae});return De.performanceClient?.addFields({refreshTokenSize:rt.body.refresh_token?.length||0,httpVerToken:rt.headers?.[c.MF.X_MS_HTTP_VERSION]||""},Ae),De.config.serverTelemetryManager&&rt.status<500&&429!==rt.status&&De.config.serverTelemetryManager.clearTelemetryCache(),rt})()}updateAuthority(U,z){var ae=this;return(0,n.c)(function*(){ae.performanceClient?.addQueueMeasurement(f.Xv.UpdateTokenEndpointAuthority,z);const Fe=`https://${U}/${ae.authority.tenant}/`,Ae=yield ve(Fe,ae.networkClient,ae.cacheManager,ae.authority.options,ae.logger,z,ae.performanceClient);ae.authority=Ae})()}createTokenQueryParameters(U){const z=new Oe.I;return U.tokenQueryParameters&&z.addExtraQueryParameters(U.tokenQueryParameters),z.createQueryString()}}var Ze=o(91076),ot=o(95248),tt=o(9488),mt=o(46392);class Qe{constructor(U,z){this.cache=U,this.hasChanged=z}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}}var Ct=o(6400),Xe=o(79032),nt=o(60928);class Pt{constructor(U,z,ae,Fe,Ae,fe,De){this.clientId=U,this.cacheStorage=z,this.cryptoObj=ae,this.logger=Fe,this.serializableCache=Ae,this.persistencePlugin=fe,this.performanceClient=De}validateServerAuthorizationCodeResponse(U,z){if(!U.state||!z)throw(0,u.mQ)(A.stateNotFound,U.state?"Cached State":"Server State");let ae,Fe;try{ae=decodeURIComponent(U.state)}catch{throw(0,u.mQ)(A.invalidState,U.state)}try{Fe=decodeURIComponent(z)}catch{throw(0,u.mQ)(A.invalidState,U.state)}if(ae!==Fe)throw(0,u.mQ)(A.stateMismatch);if(U.error||U.error_description||U.suberror)throw(0,x.aq)(U.error,U.error_description,U.suberror)?new x.uw(U.error||"",U.error_description,U.suberror,U.timestamp||"",U.trace_id||"",U.correlation_id||"",U.claims||""):new Z.s(U.error||"",U.error_description,U.suberror)}validateTokenResponse(U,z){if(U.error||U.error_description||U.suberror){const Fe=new Z.s(U.error,`${U.error_codes} - [${U.timestamp}]: ${U.error_description} - Correlation ID: ${U.correlation_id} - Trace ID: ${U.trace_id}`,U.suberror);if(z&&U.status&&U.status>=c.Q3.SERVER_ERROR_RANGE_START&&U.status<=c.Q3.SERVER_ERROR_RANGE_END)return void this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently unavailable and the access token is unable to be refreshed.\n${Fe}`);if(z&&U.status&&U.status>=c.Q3.CLIENT_ERROR_RANGE_START&&U.status<=c.Q3.CLIENT_ERROR_RANGE_END)return void this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently available but is unable to refresh the access token.\n${Fe}`);throw(0,x.aq)(U.error,U.error_description,U.suberror)?new x.uw(U.error,U.error_description,U.suberror,U.timestamp||c.Mv.EMPTY_STRING,U.trace_id||c.Mv.EMPTY_STRING,U.correlation_id||c.Mv.EMPTY_STRING,U.claims||c.Mv.EMPTY_STRING):Fe}}handleServerTokenResponse(U,z,ae,Fe,Ae,fe,De,rt,_t){var Tt=this;return(0,n.c)(function*(){let Bt,Jt;if(Tt.performanceClient?.addQueueMeasurement(f.Xv.HandleServerTokenResponse,U.correlation_id),U.id_token){if(Bt=(0,Ct.aw)(U.id_token||c.Mv.EMPTY_STRING,Tt.cryptoObj.base64Decode),Ae&&Ae.nonce&&Bt.nonce!==Ae.nonce)throw(0,u.mQ)(A.nonceMismatch);if(Fe.maxAge||0===Fe.maxAge){const Cn=Bt.auth_time;if(!Cn)throw(0,u.mQ)(A.authTimeNotFound);(0,Ct.UH)(Cn,Fe.maxAge)}}Tt.homeAccountIdentifier=N.M.generateHomeAccountId(U.client_info||c.Mv.EMPTY_STRING,z.authorityType,Tt.logger,Tt.cryptoObj,Bt),Ae&&Ae.state&&(Jt=J.c.parseRequestState(Tt.cryptoObj,Ae.state)),U.key_id=U.key_id||Fe.sshKid||void 0;const mn=Tt.generateCacheRecord(U,z,ae,Fe,Bt,fe,Ae);let vn;try{if(Tt.persistencePlugin&&Tt.serializableCache&&(Tt.logger.verbose("Persistence enabled, calling beforeCacheAccess"),vn=new Qe(Tt.serializableCache,!0),yield Tt.persistencePlugin.beforeCacheAccess(vn)),De&&!rt&&mn.account){const Cn=mn.account.generateAccountKey();if(!Tt.cacheStorage.getAccount(Cn,Tt.logger))return Tt.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),yield Pt.generateAuthenticationResult(Tt.cryptoObj,z,mn,!1,Fe,Bt,Jt,void 0,_t)}yield Tt.cacheStorage.saveCacheRecord(mn,Fe.storeInCache)}finally{Tt.persistencePlugin&&Tt.serializableCache&&vn&&(Tt.logger.verbose("Persistence enabled, calling afterCacheAccess"),yield Tt.persistencePlugin.afterCacheAccess(vn))}return Pt.generateAuthenticationResult(Tt.cryptoObj,z,mn,!1,Fe,Bt,Jt,U,_t)})()}generateCacheRecord(U,z,ae,Fe,Ae,fe,De){const rt=z.getPreferredCache();if(!rt)throw(0,u.mQ)(A.invalidCacheEnvironment);const _t=(0,Xe.c)(Ae);let Tt,Bt;U.id_token&&Ae&&(Tt=(0,M.YF)(this.homeAccountIdentifier,rt,U.id_token,this.clientId,_t||""),Bt=tn(this.cacheStorage,z,this.homeAccountIdentifier,Ae,this.cryptoObj.base64Decode,U.client_info,rt,_t,De,void 0,this.logger));let Jt=null;if(U.access_token){const Cn=U.scope?ot.k.fromString(U.scope):new ot.k(Fe.scopes||[]),fn=("string"==typeof U.expires_in?parseInt(U.expires_in,10):U.expires_in)||0,Gt=("string"==typeof U.ext_expires_in?parseInt(U.ext_expires_in,10):U.ext_expires_in)||0,Nn=("string"==typeof U.refresh_in?parseInt(U.refresh_in,10):U.refresh_in)||void 0,lr=ae+fn,cr=lr+Gt,Nr=Nn&&Nn>0?ae+Nn:void 0;Jt=(0,M.MJ)(this.homeAccountIdentifier,rt,U.access_token,this.clientId,_t||z.tenant||"",Cn.printScopes(),lr,cr,this.cryptoObj.base64Decode,Nr,U.token_type,fe,U.key_id,Fe.claims,Fe.requestedClaimsHash)}let mn=null;if(U.refresh_token){let Cn;U.refresh_token_expires_in&&(Cn=ae+("string"==typeof U.refresh_token_expires_in?parseInt(U.refresh_token_expires_in,10):U.refresh_token_expires_in)),mn=(0,M._c)(this.homeAccountIdentifier,rt,U.refresh_token,this.clientId,U.foci,fe,Cn)}let vn=null;return U.foci&&(vn={clientId:this.clientId,environment:rt,familyId:U.foci}),new tt.O(Bt,Tt,Jt,mn,vn)}static generateAuthenticationResult(U,z,ae,Fe,Ae,fe,De,rt,_t){return(0,n.c)(function*(){let mn,vn,Tt=c.Mv.EMPTY_STRING,Bt=[],Jt=null,Cn=c.Mv.EMPTY_STRING;if(ae.accessToken){if(ae.accessToken.tokenType===c.me.POP){const lr=new mt.w(U),{secret:cr,keyId:Nr}=ae.accessToken;if(!Nr)throw(0,u.mQ)(A.keyIdMissing);Tt=yield lr.signPopToken(cr,Nr,Ae)}else Tt=ae.accessToken.secret;Bt=ot.k.fromString(ae.accessToken.target).asArray(),Jt=new Date(1e3*Number(ae.accessToken.expiresOn)),mn=new Date(1e3*Number(ae.accessToken.extendedExpiresOn)),ae.accessToken.refreshOn&&(vn=new Date(1e3*Number(ae.accessToken.refreshOn)))}ae.appMetadata&&(Cn=ae.appMetadata.familyId===c.wj?c.wj:"");const fn=fe?.oid||fe?.sub||"",Gt=fe?.tid||"";rt?.spa_accountid&&ae.account&&(ae.account.nativeAccountId=rt?.spa_accountid);const Nn=ae.account?(0,nt.Ho)(ae.account.getAccountInfo(),void 0,fe,ae.idToken?.secret):null;return{authority:z.canonicalAuthority,uniqueId:fn,tenantId:Gt,scopes:Bt,account:Nn,idToken:ae?.idToken?.secret||"",idTokenClaims:fe||{},accessToken:Tt,fromCache:Fe,expiresOn:Jt,extExpiresOn:mn,refreshOn:vn,correlationId:Ae.correlationId,requestId:_t||c.Mv.EMPTY_STRING,familyId:Cn,tokenType:ae.accessToken?.tokenType||c.Mv.EMPTY_STRING,state:De?De.userRequestState:c.Mv.EMPTY_STRING,cloudGraphHostName:ae.account?.cloudGraphHostName||c.Mv.EMPTY_STRING,msGraphHost:ae.account?.msGraphHost||c.Mv.EMPTY_STRING,code:rt?.spa_code,fromNativeBroker:!1}})()}}function tn(un,U,z,ae,Fe,Ae,fe,De,rt,_t,Tt){Tt?.verbose("setCachedAccount called");const Jt=un.getAccountKeys().find(fn=>fn.startsWith(z));let mn=null;Jt&&(mn=un.getAccount(Jt,Tt));const vn=mn||N.M.createAccount({homeAccountId:z,idTokenClaims:ae,clientInfo:Ae,environment:fe,cloudGraphHostName:rt?.cloud_graph_host_name,msGraphHost:rt?.msgraph_host,nativeAccountId:_t},U,Fe),Cn=vn.tenantProfiles||[];if(De&&!Cn.find(fn=>fn.tenantId===De)){const fn=(0,nt.EJ)(z,ae);Cn.push(fn)}return vn.tenantProfiles=Cn,vn}var hn=o(7828),wn=o(50160),An=o(77768);class _n extends Pe{constructor(U,z){super(U,z),this.includeRedirectUri=!0,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}getAuthCodeUrl(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.GetAuthCodeUrl,U.correlationId);const ae=yield(0,y.C)(z.createAuthCodeUrlQueryString.bind(z),f.Xv.AuthClientCreateQueryString,z.logger,z.performanceClient,U.correlationId)(U);return e._.appendQueryString(z.authority.authorizationEndpoint,ae)})()}acquireToken(U,z){var ae=this;return(0,n.c)(function*(){if(ae.performanceClient?.addQueueMeasurement(f.Xv.AuthClientAcquireToken,U.correlationId),!U.code)throw(0,u.mQ)(A.requestCannotBeMade);const Fe=(0,wn.GO)(),Ae=yield(0,y.C)(ae.executeTokenRequest.bind(ae),f.Xv.AuthClientExecuteTokenRequest,ae.logger,ae.performanceClient,U.correlationId)(ae.authority,U),fe=Ae.headers?.[c.MF.X_MS_REQUEST_ID],De=new Pt(ae.config.authOptions.clientId,ae.cacheManager,ae.cryptoUtils,ae.logger,ae.config.serializableCache,ae.config.persistencePlugin,ae.performanceClient);return De.validateTokenResponse(Ae.body),(0,y.C)(De.handleServerTokenResponse.bind(De),f.Xv.HandleServerTokenResponse,ae.logger,ae.performanceClient,U.correlationId)(Ae.body,ae.authority,Fe,U,z,void 0,void 0,void 0,fe)})()}handleFragmentResponse(U,z){if(new Pt(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null).validateServerAuthorizationCodeResponse(U,z),!U.code)throw(0,u.mQ)(A.authorizationCodeMissingFromServerResponse);return U}getLogoutUri(U){if(!U)throw(0,v.QN)(I.logoutRequestEmpty);const z=this.createLogoutUrlQueryString(U);return e._.appendQueryString(this.authority.endSessionEndpoint,z)}executeTokenRequest(U,z){var ae=this;return(0,n.c)(function*(){ae.performanceClient?.addQueueMeasurement(f.Xv.AuthClientExecuteTokenRequest,z.correlationId);const Fe=ae.createTokenQueryParameters(z),Ae=e._.appendQueryString(U.tokenEndpoint,Fe),fe=yield(0,y.C)(ae.createTokenRequestBody.bind(ae),f.Xv.AuthClientCreateTokenRequestBody,ae.logger,ae.performanceClient,z.correlationId)(z);let De;if(z.clientInfo)try{const Tt=(0,ye.G)(z.clientInfo,ae.cryptoUtils.base64Decode);De={credential:`${Tt.uid}${c.Mj.CLIENT_INFO_SEPARATOR}${Tt.utid}`,type:we.s.HOME_ACCOUNT_ID}}catch(Tt){ae.logger.verbose("Could not parse client info for CCS Header: "+Tt)}const rt=ae.createTokenRequestHeaders(De||z.ccsCredential),_t={clientId:z.tokenBodyParameters?.clientId||ae.config.authOptions.clientId,authority:U.canonicalAuthority,scopes:z.scopes,claims:z.claims,authenticationScheme:z.authenticationScheme,resourceRequestMethod:z.resourceRequestMethod,resourceRequestUri:z.resourceRequestUri,shrClaims:z.shrClaims,sshKid:z.sshKid};return(0,y.C)(ae.executePostToTokenEndpoint.bind(ae),f.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint,ae.logger,ae.performanceClient,z.correlationId)(Ae,fe,rt,_t,z.correlationId,f.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint)})()}createTokenRequestBody(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthClientCreateTokenRequestBody,U.correlationId);const ae=new Oe.I;if(ae.addClientId(U.tokenBodyParameters?.[Ze._k]||z.config.authOptions.clientId),z.includeRedirectUri?ae.addRedirectUri(U.redirectUri):An.e.validateRedirectUri(U.redirectUri),ae.addScopes(U.scopes,!0,z.oidcDefaultScopes),ae.addAuthorizationCode(U.code),ae.addLibraryInfo(z.config.libraryInfo),ae.addApplicationTelemetry(z.config.telemetry.application),ae.addThrottling(),z.serverTelemetryManager&&!(0,Y.qW)(z.config)&&ae.addServerTelemetry(z.serverTelemetryManager),U.codeVerifier&&ae.addCodeVerifier(U.codeVerifier),z.config.clientCredentials.clientSecret&&ae.addClientSecret(z.config.clientCredentials.clientSecret),z.config.clientCredentials.clientAssertion){const fe=z.config.clientCredentials.clientAssertion;ae.addClientAssertion(fe.assertion),ae.addClientAssertionType(fe.assertionType)}if(ae.addGrantType(c.Ku.AUTHORIZATION_CODE_GRANT),ae.addClientInfo(),U.authenticationScheme===c.me.POP){const fe=new mt.w(z.cryptoUtils,z.performanceClient),De=yield(0,y.C)(fe.generateCnf.bind(fe),f.Xv.PopTokenGenerateCnf,z.logger,z.performanceClient,U.correlationId)(U,z.logger);ae.addPopToken(De.reqCnfString)}else if(U.authenticationScheme===c.me.SSH){if(!U.sshJwk)throw(0,v.QN)(I.missingSshJwk);ae.addSshJwk(U.sshJwk)}const Fe=U.correlationId||z.config.cryptoInterface.createNewGuid();let Ae;if(ae.addCorrelationId(Fe),(!hn.e.isEmptyObj(U.claims)||z.config.authOptions.clientCapabilities&&z.config.authOptions.clientCapabilities.length>0)&&ae.addClaims(U.claims,z.config.authOptions.clientCapabilities),U.clientInfo)try{const fe=(0,ye.G)(U.clientInfo,z.cryptoUtils.base64Decode);Ae={credential:`${fe.uid}${c.Mj.CLIENT_INFO_SEPARATOR}${fe.utid}`,type:we.s.HOME_ACCOUNT_ID}}catch(fe){z.logger.verbose("Could not parse client info for CCS Header: "+fe)}else Ae=U.ccsCredential;if(z.config.systemOptions.preventCorsPreflight&&Ae)switch(Ae.type){case we.s.HOME_ACCOUNT_ID:try{const fe=(0,ye.k)(Ae.credential);ae.addCcsOid(fe)}catch(fe){z.logger.verbose("Could not parse home account ID for CCS Header: "+fe)}break;case we.s.UPN:ae.addCcsUpn(Ae.credential)}return U.tokenBodyParameters&&ae.addExtraQueryParameters(U.tokenBodyParameters),U.enableSpaAuthorizationCode&&(!U.tokenBodyParameters||!U.tokenBodyParameters[Ze.SS])&&ae.addExtraQueryParameters({[Ze.SS]:"1"}),ae.createQueryString()})()}createAuthCodeUrlQueryString(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthClientCreateQueryString,U.correlationId);const ae=new Oe.I;ae.addClientId(U.extraQueryParameters?.[Ze._k]||z.config.authOptions.clientId);const Fe=[...U.scopes||[],...U.extraScopesToConsent||[]];ae.addScopes(Fe,!0,z.oidcDefaultScopes),ae.addRedirectUri(U.redirectUri);const Ae=U.correlationId||z.config.cryptoInterface.createNewGuid();if(ae.addCorrelationId(Ae),ae.addResponseMode(U.responseMode),ae.addResponseTypeCode(),ae.addLibraryInfo(z.config.libraryInfo),(0,Y.qW)(z.config)||ae.addApplicationTelemetry(z.config.telemetry.application),ae.addClientInfo(),U.codeChallenge&&U.codeChallengeMethod&&ae.addCodeChallengeParams(U.codeChallenge,U.codeChallengeMethod),U.prompt&&ae.addPrompt(U.prompt),U.domainHint&&ae.addDomainHint(U.domainHint),U.prompt!==c.GI.SELECT_ACCOUNT)if(U.sid&&U.prompt===c.GI.NONE)z.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),ae.addSid(U.sid);else if(U.account){const fe=z.extractAccountSid(U.account),De=z.extractLoginHint(U.account);if(De){z.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),ae.addLoginHint(De);try{const rt=(0,ye.k)(U.account.homeAccountId);ae.addCcsOid(rt)}catch{z.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(fe&&U.prompt===c.GI.NONE){z.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),ae.addSid(fe);try{const rt=(0,ye.k)(U.account.homeAccountId);ae.addCcsOid(rt)}catch{z.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(U.loginHint)z.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),ae.addLoginHint(U.loginHint),ae.addCcsUpn(U.loginHint);else if(U.account.username){z.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),ae.addLoginHint(U.account.username);try{const rt=(0,ye.k)(U.account.homeAccountId);ae.addCcsOid(rt)}catch{z.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else U.loginHint&&(z.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),ae.addLoginHint(U.loginHint),ae.addCcsUpn(U.loginHint));else z.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");if(U.nonce&&ae.addNonce(U.nonce),U.state&&ae.addState(U.state),(U.claims||z.config.authOptions.clientCapabilities&&z.config.authOptions.clientCapabilities.length>0)&&ae.addClaims(U.claims,z.config.authOptions.clientCapabilities),U.extraQueryParameters&&ae.addExtraQueryParameters(U.extraQueryParameters),U.nativeBroker&&(ae.addNativeBroker(),U.authenticationScheme===c.me.POP)){const fe=new mt.w(z.cryptoUtils),De=yield(0,y.C)(fe.generateCnf.bind(fe),f.Xv.PopTokenGenerateCnf,z.logger,z.performanceClient,U.correlationId)(U,z.logger);ae.addPopToken(De.reqCnfHash)}return ae.createQueryString()})()}createLogoutUrlQueryString(U){const z=new Oe.I;return U.postLogoutRedirectUri&&z.addPostLogoutRedirectUri(U.postLogoutRedirectUri),U.correlationId&&z.addCorrelationId(U.correlationId),U.idTokenHint&&z.addIdTokenHint(U.idTokenHint),U.state&&z.addState(U.state),U.logoutHint&&z.addLogoutHint(U.logoutHint),U.extraQueryParameters&&z.addExtraQueryParameters(U.extraQueryParameters),z.createQueryString()}extractAccountSid(U){return U.idTokenClaims?.sid||null}extractLoginHint(U){return U.idTokenClaims?.login_hint||null}}class qt{constructor(U,z){this.cacheOutcome=c.Mf.NOT_APPLICABLE,this.cacheManager=z,this.apiId=U.apiId,this.correlationId=U.correlationId,this.wrapperSKU=U.wrapperSKU||c.Mv.EMPTY_STRING,this.wrapperVer=U.wrapperVer||c.Mv.EMPTY_STRING,this.telemetryCacheKey=c.ic.CACHE_KEY+c.Mj.CACHE_KEY_SEPARATOR+U.clientId}generateCurrentRequestHeaderValue(){const U=`${this.apiId}${c.ic.VALUE_SEPARATOR}${this.cacheOutcome}`,z=[this.wrapperSKU,this.wrapperVer].join(c.ic.VALUE_SEPARATOR),Fe=[U,this.getRegionDiscoveryFields()].join(c.ic.VALUE_SEPARATOR);return[c.ic.SCHEMA_VERSION,Fe,z].join(c.ic.CATEGORY_SEPARATOR)}generateLastRequestHeaderValue(){const U=this.getLastRequests(),z=qt.maxErrorsToSend(U),ae=U.failedRequests.slice(0,2*z).join(c.ic.VALUE_SEPARATOR),Fe=U.errors.slice(0,z).join(c.ic.VALUE_SEPARATOR),Ae=U.errors.length,De=[Ae,z=c.ic.MAX_CACHED_ERRORS&&(z.failedRequests.shift(),z.failedRequests.shift(),z.errors.shift()),z.failedRequests.push(this.apiId,this.correlationId),U instanceof Error&&U&&U.toString()?z.errors.push(U instanceof E.WM?U.subError?U.subError:U.errorCode?U.errorCode:U.toString():U.toString()):z.errors.push(c.ic.UNKNOWN_ERROR),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,z)}incrementCacheHits(){const U=this.getLastRequests();return U.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,U),U.cacheHits}getLastRequests(){return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||{failedRequests:[],errors:[],cacheHits:0}}clearTelemetryCache(){const U=this.getLastRequests(),z=qt.maxErrorsToSend(U);if(z===U.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{const Fe={failedRequests:U.failedRequests.slice(2*z),errors:U.errors.slice(z),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,Fe)}}static maxErrorsToSend(U){let z,ae=0,Fe=0;const Ae=U.errors.length;for(z=0;z0)&&Fe.addClaims(U.claims,z.config.authOptions.clientCapabilities),z.config.systemOptions.preventCorsPreflight&&U.ccsCredential)switch(U.ccsCredential.type){case we.s.HOME_ACCOUNT_ID:try{const Ae=(0,ye.k)(U.ccsCredential.credential);Fe.addCcsOid(Ae)}catch(Ae){z.logger.verbose("Could not parse home account ID for CCS Header: "+Ae)}break;case we.s.UPN:Fe.addCcsUpn(U.ccsCredential.credential)}return U.tokenBodyParameters&&Fe.addExtraQueryParameters(U.tokenBodyParameters),Fe.createQueryString()})()}}class Er extends Pe{constructor(U,z){super(U,z)}acquireToken(U){var z=this;return(0,n.c)(function*(){try{const[ae,Fe]=yield z.acquireCachedToken(U);return Fe===c.Mf.PROACTIVELY_REFRESHED&&(z.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'. It's not expired, but must be refreshed."),new sr(z.config,z.performanceClient).acquireTokenByRefreshToken(U).catch(()=>{})),ae}catch(ae){if(ae instanceof u.oJ&&ae.errorCode===A.tokenRefreshRequired)return new sr(z.config,z.performanceClient).acquireTokenByRefreshToken(U);throw ae}})()}acquireCachedToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.SilentFlowClientAcquireCachedToken,U.correlationId);let ae=c.Mf.NOT_APPLICABLE;if(U.forceRefresh||!z.config.cacheOptions.claimsBasedCachingEnabled&&!hn.e.isEmptyObj(U.claims))throw z.setCacheOutcome(c.Mf.FORCE_REFRESH_OR_CLAIMS,U.correlationId),(0,u.mQ)(A.tokenRefreshRequired);if(!U.account)throw(0,u.mQ)(A.noAccountInSilentRequest);const Fe=U.account.tenantId||function j(un){const ae=new e._(un).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(ae){case c.sN.COMMON:case c.sN.ORGANIZATIONS:case c.sN.CONSUMERS:return;default:return ae}}(U.authority),Ae=z.cacheManager.getTokenKeys(),fe=z.cacheManager.getAccessToken(U.account,U,Ae,Fe,z.performanceClient,U.correlationId);if(!fe)throw z.setCacheOutcome(c.Mf.NO_CACHED_ACCESS_TOKEN,U.correlationId),(0,u.mQ)(A.tokenRefreshRequired);if((0,wn.G4)(fe.cachedAt)||(0,wn.WY)(fe.expiresOn,z.config.systemOptions.tokenRenewalOffsetSeconds))throw z.setCacheOutcome(c.Mf.CACHED_ACCESS_TOKEN_EXPIRED,U.correlationId),(0,u.mQ)(A.tokenRefreshRequired);fe.refreshOn&&(0,wn.WY)(fe.refreshOn,0)&&(ae=c.Mf.PROACTIVELY_REFRESHED);const De=U.authority||z.authority.getPreferredCache(),rt={account:z.cacheManager.readAccountFromCache(U.account),accessToken:fe,idToken:z.cacheManager.getIdToken(U.account,Ae,Fe,z.performanceClient,U.correlationId),refreshToken:null,appMetadata:z.cacheManager.readAppMetadataFromCache(De)};return z.setCacheOutcome(ae,U.correlationId),z.config.serverTelemetryManager&&z.config.serverTelemetryManager.incrementCacheHits(),[yield(0,y.C)(z.generateResultFromCacheRecord.bind(z),f.Xv.SilentFlowClientGenerateResultFromCacheRecord,z.logger,z.performanceClient,U.correlationId)(rt,U),ae]})()}setCacheOutcome(U,z){this.serverTelemetryManager?.setCacheOutcome(U),this.performanceClient?.addFields({cacheOutcome:U},z),U!==c.Mf.NOT_APPLICABLE&&this.logger.info(`Token refresh is required due to cache outcome: ${U}`)}generateResultFromCacheRecord(U,z){var ae=this;return(0,n.c)(function*(){let Fe;if(ae.performanceClient?.addQueueMeasurement(f.Xv.SilentFlowClientGenerateResultFromCacheRecord,z.correlationId),U.idToken&&(Fe=(0,Ct.aw)(U.idToken.secret,ae.config.cryptoInterface.base64Decode)),z.maxAge||0===z.maxAge){const Ae=Fe?.auth_time;if(!Ae)throw(0,u.mQ)(A.authTimeNotFound);(0,Ct.UH)(Ae,z.maxAge)}return Pt.generateAuthenticationResult(ae.cryptoUtils,ae.authority,U,!0,z,Fe)})()}}class br extends zt{acquireToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.SilentCacheClientAcquireToken,U.correlationId);const ae=z.initializeServerTelemetryManager(G.Ed.acquireTokenSilent_silentFlow),Fe=yield z.createSilentFlowClient(ae,U.authority,U.azureCloudOptions,U.account);z.logger.verbose("Silent auth client created");try{const fe=(yield(0,y.C)(Fe.acquireCachedToken.bind(Fe),f.Xv.SilentFlowClientAcquireCachedToken,z.logger,z.performanceClient,U.correlationId)(U))[0];return z.performanceClient.addFields({fromCache:!0},U.correlationId),fe}catch(Ae){throw Ae instanceof Te.G&&Ae.errorCode===je.cryptoKeyNotFound&&z.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),Ae}})()}logout(U){this.logger.verbose("logoutRedirect called");const z=this.initializeLogoutRequest(U);return this.clearCacheOnLogout(z?.account)}createSilentFlowClient(U,z,ae,Fe){var Ae=this;return(0,n.c)(function*(){const fe=yield(0,y.C)(Ae.getClientConfiguration.bind(Ae),f.Xv.StandardInteractionClientGetClientConfiguration,Ae.logger,Ae.performanceClient,Ae.correlationId)(U,z,ae,Fe);return new Er(fe,Ae.performanceClient)})()}initializeSilentRequest(U,z){var ae=this;return(0,n.c)(function*(){ae.performanceClient.addQueueMeasurement(f.Xv.InitializeSilentRequest,ae.correlationId);const Fe=yield(0,y.C)(ae.initializeBaseRequest.bind(ae),f.Xv.InitializeBaseRequest,ae.logger,ae.performanceClient,ae.correlationId)(U);return{...U,...Fe,account:z,forceRefresh:U.forceRefresh||!1}})()}}var qn=o(55084);class oi extends Ee{constructor(U,z,ae,Fe,Ae,fe,De,rt,_t,Tt,Bt,Jt){super(U,z,ae,Fe,Ae,fe,rt,_t,Jt),this.apiId=De,this.accountId=Tt,this.nativeMessageHandler=_t,this.nativeStorageManager=Bt,this.silentCacheClient=new br(U,this.nativeStorageManager,ae,Fe,Ae,fe,rt,_t,Jt)}acquireToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.NativeInteractionClientAcquireToken,U.correlationId),z.logger.trace("NativeInteractionClient - acquireToken called.");const ae=z.performanceClient.startMeasurement(f.Xv.NativeInteractionClientAcquireToken,U.correlationId),Fe=wn.GO(),Ae=yield z.initializeNativeRequest(U);try{const _t=yield z.acquireTokensFromCache(z.accountId,Ae);return ae.end({success:!0,isNativeBroker:!1,fromCache:!0}),_t}catch{z.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call")}const fe={method:G.Ce.GetToken,request:Ae},De=yield z.nativeMessageHandler.sendMessage(fe),rt=z.validateNativeResponse(De);return z.handleNativeResponse(rt,Ae,Fe).then(_t=>(ae.end({success:!0,isNativeBroker:!0,requestId:_t.requestId}),_t)).catch(_t=>{throw ae.end({success:!1,errorCode:_t.errorCode,subErrorCode:_t.subError,isNativeBroker:!0}),_t})})()}createSilentCacheRequest(U,z){return{authority:U.authority,correlationId:this.correlationId,scopes:ot.k.fromString(U.scope).asArray(),account:z,forceRefresh:!1}}acquireTokensFromCache(U,z){var ae=this;return(0,n.c)(function*(){if(!U)throw ae.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"),(0,u.mQ)(A.noAccountFound);const Fe=ae.browserStorage.getBaseAccountInfo({nativeAccountId:U});if(!Fe)throw(0,u.mQ)(A.noAccountFound);try{const Ae=ae.createSilentCacheRequest(z,Fe),fe=yield ae.silentCacheClient.acquireToken(Ae),De={...Fe,idTokenClaims:fe?.idTokenClaims,idToken:fe?.idToken};return{...fe,account:De}}catch(Ae){throw Ae}})()}acquireTokenRedirect(U){var z=this;return(0,n.c)(function*(){z.logger.trace("NativeInteractionClient - acquireTokenRedirect called.");const ae=yield z.initializeNativeRequest(U),Fe={method:G.Ce.GetToken,request:ae};try{const De=yield z.nativeMessageHandler.sendMessage(Fe);z.validateNativeResponse(De)}catch(De){if(De instanceof rn&&nr(De))throw De}z.browserStorage.setTemporaryCache(G.zH.NATIVE_REQUEST,JSON.stringify(ae),!0);const Ae={apiId:G.Ed.acquireTokenRedirect,timeout:z.config.system.redirectNavigationTimeout,noHistory:!1},fe=z.config.auth.navigateToLoginRequestUrl?window.location.href:z.getRedirectUri(U.redirectUri);yield z.navigationClient.navigateExternal(fe,Ae)})()}handleRedirectPromise(U,z){var ae=this;return(0,n.c)(function*(){if(ae.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!ae.browserStorage.isInteractionInProgress(!0))return ae.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const Fe=ae.browserStorage.getCachedNativeRequest();if(!Fe)return ae.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),U&&z&&U?.addFields({errorCode:"no_cached_request"},z),null;const{prompt:Ae,...fe}=Fe;Ae&&ae.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."),ae.browserStorage.removeItem(ae.browserStorage.generateCacheKey(G.zH.NATIVE_REQUEST));const De={method:G.Ce.GetToken,request:fe},rt=wn.GO();try{ae.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker.");const _t=yield ae.nativeMessageHandler.sendMessage(De);ae.validateNativeResponse(_t);const Tt=ae.handleNativeResponse(_t,fe,rt);return ae.browserStorage.setInteractionInProgress(!1),yield Tt}catch(_t){throw ae.browserStorage.setInteractionInProgress(!1),_t}})()}logout(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")}handleNativeResponse(U,z,ae){var Fe=this;return(0,n.c)(function*(){Fe.logger.trace("NativeInteractionClient - handleNativeResponse called.");const Ae=Ct.aw(U.id_token,qn.W),fe=Fe.createHomeAccountIdentifier(U,Ae),De=Fe.browserStorage.getAccountInfoFilteredBy({nativeAccountId:z.accountId})?.homeAccountId;if(fe!==De&&U.account.id!==z.accountId)throw kr(Yt);const rt=yield Fe.getDiscoveredAuthority(z.authority),_t=tn(Fe.browserStorage,rt,fe,Ae,qn.W,U.client_info,void 0,Ae.tid,void 0,U.account.id,Fe.logger),Tt=yield Fe.generateAuthenticationResult(U,z,Ae,_t,rt.canonicalAuthority,ae);return Fe.cacheAccount(_t),Fe.cacheNativeTokens(U,z,fe,Ae,Tt.accessToken,Tt.tenantId,ae),Tt})()}createHomeAccountIdentifier(U,z){return N.M.generateHomeAccountId(U.client_info||c.Mv.EMPTY_STRING,a.O.Default,this.logger,this.browserCrypto,z)}generateScopes(U,z){return ot.k.fromString(U.scope?U.scope:z.scope)}generatePopAccessToken(U,z){var ae=this;return(0,n.c)(function*(){if(z.tokenType===c.me.POP){if(U.shr)return ae.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),U.shr;const Fe=new mt.w(ae.browserCrypto),Ae={resourceRequestMethod:z.resourceRequestMethod,resourceRequestUri:z.resourceRequestUri,shrClaims:z.shrClaims,shrNonce:z.shrNonce};if(!z.keyId)throw(0,u.mQ)(A.keyIdMissing);return Fe.signPopToken(U.access_token,z.keyId,Ae)}return U.access_token})()}generateAuthenticationResult(U,z,ae,Fe,Ae,fe){var De=this;return(0,n.c)(function*(){const rt=De.addTelemetryFromNativeResponse(U),_t=ot.k.fromString(U.scope?U.scope:z.scope),Tt=U.account.properties||{},Bt=Tt.UID||ae.oid||ae.sub||c.Mv.EMPTY_STRING,Jt=Tt.TenantId||ae.tid||c.Mv.EMPTY_STRING,mn=(0,nt.Ho)(Fe.getAccountInfo(),void 0,ae,U.id_token);mn.nativeAccountId!==U.account.id&&(mn.nativeAccountId=U.account.id);const vn=yield De.generatePopAccessToken(U,z),Cn=z.tokenType===c.me.POP?c.me.POP:c.me.BEARER;return{authority:Ae,uniqueId:Bt,tenantId:Jt,scopes:_t.asArray(),account:mn,idToken:U.id_token,idTokenClaims:ae,accessToken:vn,fromCache:!!rt&&De.isResponseFromCache(rt),expiresOn:new Date(1e3*Number(fe+U.expires_in)),tokenType:Cn,correlationId:De.correlationId,state:U.state,fromNativeBroker:!0}})()}cacheAccount(U){this.browserStorage.setAccount(U),this.browserStorage.removeAccountContext(U).catch(z=>{this.logger.error(`Error occurred while removing account context from browser storage. ${z}`)})}cacheNativeTokens(U,z,ae,Fe,Ae,fe,De){const rt=M.YF(ae,z.authority,U.id_token||"",z.clientId,Fe.tid||""),Tt=De+(z.tokenType===c.me.POP?c.Mv.SHR_NONCE_VALIDITY:("string"==typeof U.expires_in?parseInt(U.expires_in,10):U.expires_in)||0),Bt=this.generateScopes(U,z),Jt=M.MJ(ae,z.authority,Ae,z.clientId,Fe.tid||fe,Bt.printScopes(),Tt,0,qn.W),mn=new tt.O(void 0,rt,Jt);this.nativeStorageManager.saveCacheRecord(mn,z.storeInCache)}addTelemetryFromNativeResponse(U){const z=this.getMATSFromResponse(U);return z?(this.performanceClient.addFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:z.broker_version,matsAccountJoinOnStart:z.account_join_on_start,matsAccountJoinOnEnd:z.account_join_on_end,matsDeviceJoin:z.device_join,matsPromptBehavior:z.prompt_behavior,matsApiErrorCode:z.api_error_code,matsUiVisible:z.ui_visible,matsSilentCode:z.silent_code,matsSilentBiSubCode:z.silent_bi_sub_code,matsSilentMessage:z.silent_message,matsSilentStatus:z.silent_status,matsHttpStatus:z.http_status,matsHttpEventCount:z.http_event_count},this.correlationId),z):null}validateNativeResponse(U){if(U.hasOwnProperty("access_token")&&U.hasOwnProperty("id_token")&&U.hasOwnProperty("client_info")&&U.hasOwnProperty("account")&&U.hasOwnProperty("scope")&&U.hasOwnProperty("expires_in"))return U;throw(0,E.Ub)(pt.unexpectedError,"Response missing expected properties.")}getMATSFromResponse(U){if(U.properties.MATS)try{return JSON.parse(U.properties.MATS)}catch{this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null}isResponseFromCache(U){return typeof U.is_cached>"u"?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!U.is_cached}initializeNativeRequest(U){var z=this;return(0,n.c)(function*(){z.logger.trace("NativeInteractionClient - initializeNativeRequest called");const ae=U.authority||z.config.auth.authority;U.account&&(yield z.getDiscoveredAuthority(ae,U.azureCloudOptions,U.account));const Fe=new e._(ae);Fe.validateAsUri();const{scopes:Ae,...fe}=U,De=new ot.k(Ae||[]);De.appendScopes(c.ac);const _t={...fe,accountId:z.accountId,clientId:z.config.auth.clientId,authority:Fe.urlString,scope:De.printScopes(),redirectUri:z.getRedirectUri(U.redirectUri),prompt:(()=>{switch(z.apiId){case G.Ed.ssoSilent:case G.Ed.acquireTokenSilent_silentFlow:return z.logger.trace("initializeNativeRequest: silent request sets prompt to none"),c.GI.NONE}if(U.prompt)switch(U.prompt){case c.GI.NONE:case c.GI.CONSENT:case c.GI.LOGIN:return z.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),U.prompt;default:throw z.logger.trace(`initializeNativeRequest: prompt = ${U.prompt} is not compatible with native flow`),(0,Te.Wq)(je.nativePromptNotSupported)}else z.logger.trace("initializeNativeRequest: prompt was not provided")})(),correlationId:z.correlationId,tokenType:U.authenticationScheme,windowTitleSubstring:document.title,extraParameters:{...U.extraQueryParameters,...U.tokenQueryParameters},extendedExpiryToken:!1};if(z.handleExtraBrokerParams(_t),_t.extraParameters=_t.extraParameters||{},_t.extraParameters.telemetry=G.sJ.MATS_TELEMETRY,U.authenticationScheme===c.me.POP){const Tt={resourceRequestUri:U.resourceRequestUri,resourceRequestMethod:U.resourceRequestMethod,shrClaims:U.shrClaims,shrNonce:U.shrNonce},Bt=new mt.w(z.browserCrypto),Jt=yield(0,y.C)(Bt.generateCnf.bind(Bt),f.Xv.PopTokenGenerateCnf,z.logger,z.performanceClient,z.correlationId)(Tt,z.logger);_t.reqCnf=Jt.reqCnfHash,_t.keyId=Jt.kid}return _t})()}handleExtraBrokerParams(U){if(U.extraParameters&&U.extraParameters.hasOwnProperty("brk_client_id")&&U.extraParameters.hasOwnProperty("brk_redirect_uri")&&U.extraParameters.hasOwnProperty(Ze._k)){const Fe=U.extraParameters.brk_redirect_uri;U.extraParameters={child_client_id:U.extraParameters[Ze._k],child_redirect_uri:U.redirectUri},U.redirectUri=Fe}}}class Sr{constructor(U,z,ae,Fe){this.logger=U,this.handshakeTimeoutMs=z,this.extensionId=Fe,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=ae,this.handshakeEvent=ae.startMeasurement(f.Xv.NativeMessageHandlerHandshake)}sendMessage(U){var z=this;return(0,n.c)(function*(){z.logger.trace("NativeMessageHandler - sendMessage called.");const ae={channel:G.sJ.CHANNEL_ID,extensionId:z.extensionId,responseId:(0,Ue.E5)(),body:U};return z.logger.trace("NativeMessageHandler - Sending request to browser extension"),z.logger.tracePii(`NativeMessageHandler - Sending request to browser extension: ${JSON.stringify(ae)}`),z.messageChannel.port1.postMessage(ae),new Promise((Fe,Ae)=>{z.resolvers.set(ae.responseId,{resolve:Fe,reject:Ae})})})()}static createProvider(U,z,ae){return(0,n.c)(function*(){U.trace("NativeMessageHandler - createProvider called.");try{const Fe=new Sr(U,z,ae,G.sJ.PREFERRED_EXTENSION_ID);return yield Fe.sendHandshakeRequest(),Fe}catch{const Ae=new Sr(U,z,ae);return yield Ae.sendHandshakeRequest(),Ae}})()}sendHandshakeRequest(){var U=this;return(0,n.c)(function*(){U.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",U.windowListener,!1);const z={channel:G.sJ.CHANNEL_ID,extensionId:U.extensionId,responseId:(0,Ue.E5)(),body:{method:G.Ce.HandshakeRequest}};return U.handshakeEvent.add({extensionId:U.extensionId,extensionHandshakeTimeoutMs:U.handshakeTimeoutMs}),U.messageChannel.port1.onmessage=ae=>{U.onChannelMessage(ae)},window.postMessage(z,window.origin,[U.messageChannel.port2]),new Promise((ae,Fe)=>{U.handshakeResolvers.set(z.responseId,{resolve:ae,reject:Fe}),U.timeoutId=window.setTimeout(()=>{window.removeEventListener("message",U.windowListener,!1),U.messageChannel.port1.close(),U.messageChannel.port2.close(),U.handshakeEvent.end({extensionHandshakeTimedOut:!0,success:!1}),Fe((0,Te.Wq)(je.nativeHandshakeTimeout)),U.handshakeResolvers.delete(z.responseId)},U.handshakeTimeoutMs)})})()}onWindowMessage(U){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),U.source!==window)return;const z=U.data;if(z.channel&&z.channel===G.sJ.CHANNEL_ID&&(!z.extensionId||z.extensionId===this.extensionId)&&z.body.method===G.Ce.HandshakeRequest){const ae=this.handshakeResolvers.get(z.responseId);if(!ae)return void this.logger.trace(`NativeMessageHandler.onWindowMessage - resolver can't be found for request ${z.responseId}`);this.logger.verbose(z.extensionId?`Extension with id: ${z.extensionId} not installed`:"No extension installed"),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1),this.handshakeEvent.end({success:!1,extensionInstalled:!1}),ae.reject((0,Te.Wq)(je.nativeExtensionNotInstalled))}}onChannelMessage(U){this.logger.trace("NativeMessageHandler - onChannelMessage called.");const z=U.data,ae=this.resolvers.get(z.responseId),Fe=this.handshakeResolvers.get(z.responseId);try{const Ae=z.body.method;if(Ae===G.Ce.Response){if(!ae)return;const fe=z.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii(`NativeMessageHandler - Received response from browser extension: ${JSON.stringify(fe)}`),"Success"!==fe.status)ae.reject(kr(fe.code,fe.description,fe.ext));else{if(!fe.result)throw(0,E.Ub)(pt.unexpectedError,"Event does not contain result.");fe.result.code&&fe.result.description?ae.reject(kr(fe.result.code,fe.result.description,fe.result.ext)):ae.resolve(fe.result)}this.resolvers.delete(z.responseId)}else if(Ae===G.Ce.HandshakeResponse){if(!Fe)return void this.logger.trace(`NativeMessageHandler.onChannelMessage - resolver can't be found for request ${z.responseId}`);clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=z.extensionId,this.extensionVersion=z.body.version,this.logger.verbose(`NativeMessageHandler - Received HandshakeResponse from extension: ${this.extensionId}`),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),Fe.resolve(),this.handshakeResolvers.delete(z.responseId)}}catch(Ae){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii(`Error parsing response from WAM Extension: ${Ae}`),this.logger.errorPii(`Unable to parse ${U}`),ae?ae.reject(Ae):Fe&&Fe.reject(Ae)}}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}static isNativeAvailable(U,z,ae,Fe){if(z.trace("isNativeAvailable called"),!U.system.allowNativeBroker)return z.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!ae)return z.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(Fe)switch(Fe){case c.me.BEARER:case c.me.POP:return z.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return z.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0}}class pr{constructor(U,z,ae,Fe,Ae){this.authModule=U,this.browserStorage=z,this.authCodeRequest=ae,this.logger=Fe,this.performanceClient=Ae}handleCodeResponse(U,z){var ae=this;return(0,n.c)(function*(){let Fe;ae.performanceClient.addQueueMeasurement(f.Xv.HandleCodeResponse,z.correlationId);try{Fe=ae.authModule.handleFragmentResponse(U,z.state)}catch(Ae){throw Ae instanceof Z.s&&Ae.subError===je.userCancelled?(0,Te.Wq)(je.userCancelled):Ae}return(0,y.C)(ae.handleCodeResponseFromServer.bind(ae),f.Xv.HandleCodeResponseFromServer,ae.logger,ae.performanceClient,z.correlationId)(Fe,z)})()}handleCodeResponseFromServer(U,z,ae=!0){var Fe=this;return(0,n.c)(function*(){if(Fe.performanceClient.addQueueMeasurement(f.Xv.HandleCodeResponseFromServer,z.correlationId),Fe.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),Fe.authCodeRequest.code=U.code,U.cloud_instance_host_name&&(yield(0,y.C)(Fe.authModule.updateAuthority.bind(Fe.authModule),f.Xv.UpdateTokenEndpointAuthority,Fe.logger,Fe.performanceClient,z.correlationId)(U.cloud_instance_host_name,z.correlationId)),ae&&(U.nonce=z.nonce||void 0),U.state=z.state,U.client_info)Fe.authCodeRequest.clientInfo=U.client_info;else{const fe=Fe.createCcsCredentials(z);fe&&(Fe.authCodeRequest.ccsCredential=fe)}return yield(0,y.C)(Fe.authModule.acquireToken.bind(Fe.authModule),f.Xv.AuthClientAcquireToken,Fe.logger,Fe.performanceClient,z.correlationId)(Fe.authCodeRequest,U)})()}createCcsCredentials(U){return U.account?{credential:U.account.homeAccountId,type:we.s.HOME_ACCOUNT_ID}:U.loginHint?{credential:U.loginHint,type:we.s.UPN}:null}}var Jn=o(33680),er=o(99632);function Or(un,U,z){const ae=Jn.u(un);if(!ae)throw Jn.w(un)?(z.error(`A ${U} is present in the iframe but it does not contain known properties. It's likely that the ${U} has been replaced by code running on the redirectUri page.`),z.errorPii(`The ${U} detected is: ${un}`),(0,Te.Wq)(je.hashDoesNotContainKnownProperties)):(z.error(`The request has returned to the redirectUri but a ${U} is not present. It's likely that the ${U} has been removed or the page has been redirected by code running on the redirectUri page.`),(0,Te.Wq)(je.hashEmptyError));return ae}class en extends zt{constructor(U,z,ae,Fe,Ae,fe,De,rt,_t,Tt){super(U,z,ae,Fe,Ae,fe,De,_t,Tt),this.unloadWindow=this.unloadWindow.bind(this),this.nativeStorage=rt}acquireToken(U){try{const z=this.generatePopupName(U.scopes||c.ac,U.authority||this.config.auth.authority),ae=U.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(U,z,ae);{this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");const Fe=this.openSizedPopup("about:blank",z,ae);return this.acquireTokenPopupAsync(U,z,ae,Fe)}}catch(z){return Promise.reject(z)}}logout(U){try{this.logger.verbose("logoutPopup called");const z=this.initializeLogoutRequest(U),ae=this.generateLogoutPopupName(z),Fe=U&&U.authority,Ae=U&&U.mainWindowRedirectUri,fe=U?.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(z,ae,fe,Fe,void 0,Ae);{this.logger.verbose("asyncPopup set to false, opening popup");const De=this.openSizedPopup("about:blank",ae,fe);return this.logoutPopupAsync(z,ae,fe,Fe,De,Ae)}}catch(z){return Promise.reject(z)}}acquireTokenPopupAsync(U,z,ae,Fe){var Ae=this;return(0,n.c)(function*(){Ae.logger.verbose("acquireTokenPopupAsync called");const fe=Ae.initializeServerTelemetryManager(G.Ed.acquireTokenPopup),De=yield(0,y.C)(Ae.initializeAuthorizationRequest.bind(Ae),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,Ae.logger,Ae.performanceClient,Ae.correlationId)(U,G.wV.Popup);(0,te.preconnect)(De.authority);try{const rt=yield(0,y.C)(Ae.initializeAuthorizationCodeRequest.bind(Ae),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,Ae.logger,Ae.performanceClient,Ae.correlationId)(De),_t=yield(0,y.C)(Ae.createAuthCodeClient.bind(Ae),f.Xv.StandardInteractionClientCreateAuthCodeClient,Ae.logger,Ae.performanceClient,Ae.correlationId)(fe,De.authority,De.azureCloudOptions,De.account),Tt=Sr.isNativeAvailable(Ae.config,Ae.logger,Ae.nativeMessageHandler,U.authenticationScheme);let Bt;Tt&&(Bt=Ae.performanceClient.startMeasurement(f.Xv.FetchAccountIdWithNativeBroker,U.correlationId));const Jt=yield _t.getAuthCodeUrl({...De,nativeBroker:Tt}),mn=new pr(_t,Ae.browserStorage,rt,Ae.logger,Ae.performanceClient),Cn=Ae.initiateAuthRequest(Jt,{popup:Fe,popupName:z,popupWindowAttributes:ae});Ae.eventHandler.emitEvent(ue.W.POPUP_OPENED,G.wV.Popup,{popupWindow:Cn},null);const fn=yield Ae.monitorPopupForHash(Cn),Gt=(0,y.q)(Or,f.Xv.DeserializeResponse,Ae.logger,Ae.performanceClient,Ae.correlationId)(fn,Ae.config.auth.OIDCOptions.serverResponseType,Ae.logger);if(re.removeThrottle(Ae.browserStorage,Ae.config.auth.clientId,rt),Gt.accountId){if(Ae.logger.verbose("Account id found in hash, calling WAM for token"),Bt&&Bt.end({success:!0,isNativeBroker:!0}),!Ae.nativeMessageHandler)throw(0,Te.Wq)(je.nativeConnectionNotEstablished);const lr=new oi(Ae.config,Ae.browserStorage,Ae.browserCrypto,Ae.logger,Ae.eventHandler,Ae.navigationClient,G.Ed.acquireTokenPopup,Ae.performanceClient,Ae.nativeMessageHandler,Gt.accountId,Ae.nativeStorage,De.correlationId),{userRequestState:cr}=J.c.parseRequestState(Ae.browserCrypto,De.state);return yield lr.acquireToken({...De,state:cr,prompt:void 0})}return yield mn.handleCodeResponse(Gt,De)}catch(rt){throw Fe&&Fe.close(),rt instanceof E.WM&&(rt.setCorrelationId(Ae.correlationId),fe.cacheFailedRequest(rt)),rt}})()}logoutPopupAsync(U,z,ae,Fe,Ae,fe){var De=this;return(0,n.c)(function*(){De.logger.verbose("logoutPopupAsync called"),De.eventHandler.emitEvent(ue.W.LOGOUT_START,G.wV.Popup,U);const rt=De.initializeServerTelemetryManager(G.Ed.logoutPopup);try{yield De.clearCacheOnLogout(U.account);const Tt=(yield(0,y.C)(De.createAuthCodeClient.bind(De),f.Xv.StandardInteractionClientCreateAuthCodeClient,De.logger,De.performanceClient,De.correlationId)(rt,Fe,void 0,U.account||void 0)).getLogoutUri(U);De.eventHandler.emitEvent(ue.W.LOGOUT_SUCCESS,G.wV.Popup,U);const Bt=De.openPopup(Tt,{popupName:z,popupWindowAttributes:ae,popup:Ae});if(De.eventHandler.emitEvent(ue.W.POPUP_OPENED,G.wV.Popup,{popupWindow:Bt},null),yield De.monitorPopupForHash(Bt).catch(()=>{}),fe){const Jt={apiId:G.Ed.logoutPopup,timeout:De.config.system.redirectNavigationTimeout,noHistory:!1},mn=e._.getAbsoluteUrl(fe,(0,te.getCurrentUri)());De.logger.verbose("Redirecting main window to url specified in the request"),De.logger.verbosePii(`Redirecting main window to: ${mn}`),yield De.navigationClient.navigateInternal(mn,Jt)}else De.logger.verbose("No main window navigation requested")}catch(_t){throw Ae&&Ae.close(),_t instanceof E.WM&&(_t.setCorrelationId(De.correlationId),rt.cacheFailedRequest(_t)),De.browserStorage.setInteractionInProgress(!1),De.eventHandler.emitEvent(ue.W.LOGOUT_FAILURE,G.wV.Popup,null,_t),De.eventHandler.emitEvent(ue.W.LOGOUT_END,G.wV.Popup),_t}De.eventHandler.emitEvent(ue.W.LOGOUT_END,G.wV.Popup)})()}initiateAuthRequest(U,z){if(U)return this.logger.infoPii(`Navigate to: ${U}`),this.openPopup(U,z);throw this.logger.error("Navigate url is empty"),(0,Te.Wq)(je.emptyNavigateUri)}monitorPopupForHash(U){return new Promise((z,ae)=>{this.logger.verbose("PopupHandler.monitorPopupForHash - polling started");const Fe=setInterval(()=>{if(U.closed)return this.logger.error("PopupHandler.monitorPopupForHash - window closed"),clearInterval(Fe),void ae((0,Te.Wq)(je.userCancelled));let Ae="";try{Ae=U.location.href}catch{}if(!Ae||"about:blank"===Ae)return;clearInterval(Fe);let fe="";U&&(fe=this.config.auth.OIDCOptions.serverResponseType===c.eE.QUERY?U.location.search:U.location.hash),this.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),z(fe)},this.config.system.pollIntervalMilliseconds)}).finally(()=>{this.cleanPopup(U)})}openPopup(U,z){try{let ae;if(z.popup?(ae=z.popup,this.logger.verbosePii(`Navigating popup window to: ${U}`),ae.location.assign(U)):typeof z.popup>"u"&&(this.logger.verbosePii(`Opening popup window to: ${U}`),ae=this.openSizedPopup(U,z.popupName,z.popupWindowAttributes)),!ae)throw(0,Te.Wq)(je.emptyWindowError);return ae.focus&&ae.focus(),this.currentWindow=ae,window.addEventListener("beforeunload",this.unloadWindow),ae}catch(ae){throw this.logger.error("error opening popup "+ae.message),this.browserStorage.setInteractionInProgress(!1),(0,Te.Wq)(je.popupWindowError)}}openSizedPopup(U,z,ae){const Fe=window.screenLeft?window.screenLeft:window.screenX,Ae=window.screenTop?window.screenTop:window.screenY,fe=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,De=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;let rt=ae.popupSize?.width,_t=ae.popupSize?.height,Tt=ae.popupPosition?.top,Bt=ae.popupPosition?.left;return(!rt||rt<0||rt>fe)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),rt=G.ig.POPUP_WIDTH),(!_t||_t<0||_t>De)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),_t=G.ig.POPUP_HEIGHT),(!Tt||Tt<0||Tt>De)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),Tt=Math.max(0,De/2-G.ig.POPUP_HEIGHT/2+Ae)),(!Bt||Bt<0||Bt>fe)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),Bt=Math.max(0,fe/2-G.ig.POPUP_WIDTH/2+Fe)),window.open(U,z,`width=${rt}, height=${_t}, top=${Tt}, left=${Bt}, scrollbars=yes`)}unloadWindow(U){this.browserStorage.cleanRequestByInteractionType(G.wV.Popup),this.currentWindow&&this.currentWindow.close(),U.preventDefault()}cleanPopup(U){U&&U.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)}generatePopupName(U,z){return`${G.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${U.join("-")}.${z}.${this.correlationId}`}generateLogoutPopupName(U){return`${G.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${U.account&&U.account.homeAccountId}.${this.correlationId}`}}class jn{constructor(U,z,ae,Fe,Ae){this.authModule=U,this.browserStorage=z,this.authCodeRequest=ae,this.logger=Fe,this.performanceClient=Ae}initiateAuthRequest(U,z){var ae=this;return(0,n.c)(function*(){if(ae.logger.verbose("RedirectHandler.initiateAuthRequest called"),U){z.redirectStartPage&&(ae.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),ae.browserStorage.setTemporaryCache(G.zH.ORIGIN_URI,z.redirectStartPage,!0)),ae.browserStorage.setTemporaryCache(G.zH.CORRELATION_ID,ae.authCodeRequest.correlationId,!0),ae.browserStorage.cacheCodeRequest(ae.authCodeRequest),ae.logger.infoPii(`RedirectHandler.initiateAuthRequest: Navigate to: ${U}`);const Fe={apiId:G.Ed.acquireTokenRedirect,timeout:z.redirectTimeout,noHistory:!1};return"function"==typeof z.onRedirectNavigate?(ae.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1!==z.onRedirectNavigate(U)?(ae.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),void(yield z.navigationClient.navigateExternal(U,Fe))):void ae.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation")):(ae.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),void(yield z.navigationClient.navigateExternal(U,Fe)))}throw ae.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),(0,Te.Wq)(je.emptyNavigateUri)})()}handleCodeResponse(U,z){var ae=this;return(0,n.c)(function*(){ae.logger.verbose("RedirectHandler.handleCodeResponse called"),ae.browserStorage.setInteractionInProgress(!1);const Fe=ae.browserStorage.generateStateKey(z),Ae=ae.browserStorage.getTemporaryCache(Fe);if(!Ae)throw(0,u.mQ)(A.stateNotFound,"Cached State");let fe;try{fe=ae.authModule.handleFragmentResponse(U,Ae)}catch(Tt){throw Tt instanceof Z.s&&Tt.subError===je.userCancelled?(0,Te.Wq)(je.userCancelled):Tt}const De=ae.browserStorage.generateNonceKey(Ae),rt=ae.browserStorage.getTemporaryCache(De);if(ae.authCodeRequest.code=fe.code,fe.cloud_instance_host_name&&(yield(0,y.C)(ae.authModule.updateAuthority.bind(ae.authModule),f.Xv.UpdateTokenEndpointAuthority,ae.logger,ae.performanceClient,ae.authCodeRequest.correlationId)(fe.cloud_instance_host_name,ae.authCodeRequest.correlationId)),fe.nonce=rt||void 0,fe.state=Ae,fe.client_info)ae.authCodeRequest.clientInfo=fe.client_info;else{const Tt=ae.checkCcsCredentials();Tt&&(ae.authCodeRequest.ccsCredential=Tt)}const _t=yield ae.authModule.acquireToken(ae.authCodeRequest,fe);return ae.browserStorage.cleanRequestByState(z),_t})()}checkCcsCredentials(){const U=this.browserStorage.getTemporaryCache(G.zH.CCS_CREDENTIAL,!0);if(U)try{return JSON.parse(U)}catch{this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii(`Cache credential could not be parsed: ${U}`)}return null}}class Qn extends zt{constructor(U,z,ae,Fe,Ae,fe,De,rt,_t,Tt){super(U,z,ae,Fe,Ae,fe,De,_t,Tt),this.nativeStorage=rt}acquireToken(U){var z=this;return(0,n.c)(function*(){const ae=yield(0,y.C)(z.initializeAuthorizationRequest.bind(z),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,z.logger,z.performanceClient,z.correlationId)(U,G.wV.Redirect);z.browserStorage.updateCacheEntries(ae.state,ae.nonce,ae.authority,ae.loginHint||"",ae.account||null);const Fe=z.initializeServerTelemetryManager(G.Ed.acquireTokenRedirect),Ae=fe=>{fe.persisted&&(z.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),z.browserStorage.cleanRequestByState(ae.state),z.eventHandler.emitEvent(ue.W.RESTORE_FROM_BFCACHE,G.wV.Redirect))};try{const fe=yield(0,y.C)(z.initializeAuthorizationCodeRequest.bind(z),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,z.logger,z.performanceClient,z.correlationId)(ae),De=yield(0,y.C)(z.createAuthCodeClient.bind(z),f.Xv.StandardInteractionClientCreateAuthCodeClient,z.logger,z.performanceClient,z.correlationId)(Fe,ae.authority,ae.azureCloudOptions,ae.account),rt=new jn(De,z.browserStorage,fe,z.logger,z.performanceClient),_t=yield De.getAuthCodeUrl({...ae,nativeBroker:Sr.isNativeAvailable(z.config,z.logger,z.nativeMessageHandler,U.authenticationScheme)}),Tt=z.getRedirectStartPage(U.redirectStartPage);return z.logger.verbosePii(`Redirect start page: ${Tt}`),window.addEventListener("pageshow",Ae),yield rt.initiateAuthRequest(_t,{navigationClient:z.navigationClient,redirectTimeout:z.config.system.redirectNavigationTimeout,redirectStartPage:Tt,onRedirectNavigate:U.onRedirectNavigate})}catch(fe){throw fe instanceof E.WM&&(fe.setCorrelationId(z.correlationId),Fe.cacheFailedRequest(fe)),window.removeEventListener("pageshow",Ae),z.browserStorage.cleanRequestByState(ae.state),fe}})()}handleRedirectPromise(U,z,ae){var Fe=this;return(0,n.c)(function*(){const Ae=Fe.initializeServerTelemetryManager(G.Ed.handleRedirectPromise);try{if(!Fe.browserStorage.isInteractionInProgress(!0))return Fe.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const[fe,De]=Fe.getRedirectResponse(U||"");if(!fe)return Fe.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."),Fe.browserStorage.cleanRequestByInteractionType(G.wV.Redirect),z&&ae&&z?.addFields({errorCode:"no_server_response"},ae),null;const rt=Fe.browserStorage.getTemporaryCache(G.zH.ORIGIN_URI,!0)||c.Mv.EMPTY_STRING;if(e._.removeHashFromUrl(rt)===e._.removeHashFromUrl(window.location.href)&&Fe.config.auth.navigateToLoginRequestUrl)return Fe.logger.verbose("Current page is loginRequestUrl, handling response"),rt.indexOf("#")>-1&&(0,te.replaceHash)(rt),yield Fe.handleResponse(fe,Ae);if(!Fe.config.auth.navigateToLoginRequestUrl)return Fe.logger.verbose("NavigateToLoginRequestUrl set to false, handling response"),yield Fe.handleResponse(fe,Ae);if(!(0,te.isInIframe)()||Fe.config.system.allowRedirectInIframe){Fe.browserStorage.setTemporaryCache(G.zH.URL_HASH,De,!0);const Bt={apiId:G.Ed.handleRedirectPromise,timeout:Fe.config.system.redirectNavigationTimeout,noHistory:!0};let Jt=!0;if(rt&&"null"!==rt)Fe.logger.verbose(`Navigating to loginRequestUrl: ${rt}`),Jt=yield Fe.navigationClient.navigateInternal(rt,Bt);else{const mn=(0,te.getHomepage)();Fe.browserStorage.setTemporaryCache(G.zH.ORIGIN_URI,mn,!0),Fe.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),Jt=yield Fe.navigationClient.navigateInternal(mn,Bt)}if(!Jt)return yield Fe.handleResponse(fe,Ae)}return null}catch(fe){throw fe instanceof E.WM&&(fe.setCorrelationId(Fe.correlationId),Ae.cacheFailedRequest(fe)),Fe.browserStorage.cleanRequestByInteractionType(G.wV.Redirect),fe}})()}getRedirectResponse(U){this.logger.verbose("getRedirectResponseHash called");let z=U;z||(z=this.config.auth.OIDCOptions.serverResponseType===c.eE.QUERY?window.location.search:window.location.hash);let ae=Jn.u(z);if(ae){try{!function pi(un,U,z){if(!un.state)throw(0,Te.Wq)(je.noStateInHash);const ae=(0,er.Q)(U,un.state);if(!ae)throw(0,Te.Wq)(je.unableToParseState);if(ae.interactionType!==z)throw(0,Te.Wq)(je.stateInteractionTypeMismatch)}(ae,this.browserCrypto,G.wV.Redirect)}catch(Ae){return Ae instanceof E.WM&&this.logger.error(`Interaction type validation failed due to ${Ae.errorCode}: ${Ae.errorMessage}`),[null,""]}return(0,te.clearHash)(window),this.logger.verbose("Hash contains known properties, returning response hash"),[ae,z]}const Fe=this.browserStorage.getTemporaryCache(G.zH.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(G.zH.URL_HASH)),Fe&&(ae=Jn.u(Fe),ae)?(this.logger.verbose("Hash does not contain known properties, returning cached hash"),[ae,Fe]):[null,""]}handleResponse(U,z){var ae=this;return(0,n.c)(function*(){const Fe=U.state;if(!Fe)throw(0,Te.Wq)(je.noStateInHash);const Ae=ae.browserStorage.getCachedRequest(Fe);if(ae.logger.verbose("handleResponse called, retrieved cached request"),U.accountId){if(ae.logger.verbose("Account id found in hash, calling WAM for token"),!ae.nativeMessageHandler)throw(0,Te.Wq)(je.nativeConnectionNotEstablished);const _t=new oi(ae.config,ae.browserStorage,ae.browserCrypto,ae.logger,ae.eventHandler,ae.navigationClient,G.Ed.acquireTokenPopup,ae.performanceClient,ae.nativeMessageHandler,U.accountId,ae.nativeStorage,Ae.correlationId),{userRequestState:Tt}=J.c.parseRequestState(ae.browserCrypto,Fe);return _t.acquireToken({...Ae,state:Tt,prompt:void 0}).finally(()=>{ae.browserStorage.cleanRequestByState(Fe)})}const fe=ae.browserStorage.getCachedAuthority(Fe);if(!fe)throw(0,Te.Wq)(je.noCachedAuthorityError);const De=yield(0,y.C)(ae.createAuthCodeClient.bind(ae),f.Xv.StandardInteractionClientCreateAuthCodeClient,ae.logger,ae.performanceClient,ae.correlationId)(z,fe);return re.removeThrottle(ae.browserStorage,ae.config.auth.clientId,Ae),new jn(De,ae.browserStorage,Ae,ae.logger,ae.performanceClient).handleCodeResponse(U,Fe)})()}logout(U){var z=this;return(0,n.c)(function*(){z.logger.verbose("logoutRedirect called");const ae=z.initializeLogoutRequest(U),Fe=z.initializeServerTelemetryManager(G.Ed.logout);try{z.eventHandler.emitEvent(ue.W.LOGOUT_START,G.wV.Redirect,U),yield z.clearCacheOnLogout(ae.account);const Ae={apiId:G.Ed.logout,timeout:z.config.system.redirectNavigationTimeout,noHistory:!1},De=(yield(0,y.C)(z.createAuthCodeClient.bind(z),f.Xv.StandardInteractionClientCreateAuthCodeClient,z.logger,z.performanceClient,z.correlationId)(Fe,U&&U.authority,void 0,U&&U.account||void 0)).getLogoutUri(ae);if(z.eventHandler.emitEvent(ue.W.LOGOUT_SUCCESS,G.wV.Redirect,ae),!U||"function"!=typeof U.onRedirectNavigate)return z.browserStorage.getInteractionInProgress()||z.browserStorage.setInteractionInProgress(!0),void(yield z.navigationClient.navigateExternal(De,Ae));if(!1!==U.onRedirectNavigate(De))return z.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),z.browserStorage.getInteractionInProgress()||z.browserStorage.setInteractionInProgress(!0),void(yield z.navigationClient.navigateExternal(De,Ae));z.browserStorage.setInteractionInProgress(!1),z.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation")}catch(Ae){throw Ae instanceof E.WM&&(Ae.setCorrelationId(z.correlationId),Fe.cacheFailedRequest(Ae)),z.eventHandler.emitEvent(ue.W.LOGOUT_FAILURE,G.wV.Redirect,null,Ae),z.eventHandler.emitEvent(ue.W.LOGOUT_END,G.wV.Redirect),Ae}z.eventHandler.emitEvent(ue.W.LOGOUT_END,G.wV.Redirect)})()}getRedirectStartPage(U){const z=U||window.location.href;return e._.getAbsoluteUrl(z,(0,te.getCurrentUri)())}}var or=o(48124);function ui(un,U,z,ae,Fe){return Pr.apply(this,arguments)}function Pr(){return(Pr=(0,n.c)(function*(un,U,z,ae,Fe){if(U.addQueueMeasurement(f.Xv.SilentHandlerInitiateAuthRequest,ae),!un)throw z.info("Navigate url is empty"),(0,Te.Wq)(je.emptyNavigateUri);return Fe?(0,y.C)(kt,f.Xv.SilentHandlerLoadFrame,z,U,ae)(un,Fe,U,ae):(0,y.q)(on,f.Xv.SilentHandlerLoadFrameSync,z,U,ae)(un)})).apply(this,arguments)}function ct(un,U,z,ae,Fe,Ae,fe){return Rt.apply(this,arguments)}function Rt(){return(Rt=(0,n.c)(function*(un,U,z,ae,Fe,Ae,fe){return ae.addQueueMeasurement(f.Xv.SilentHandlerMonitorIframeForHash,Ae),new Promise((De,rt)=>{U{window.clearInterval(Tt),rt((0,Te.Wq)(je.monitorWindowTimeout))},U),Tt=window.setInterval(()=>{let Bt="";const Jt=un.contentWindow;try{Bt=Jt?Jt.location.href:""}catch{}if(!Bt||"about:blank"===Bt)return;let mn="";Jt&&(mn=fe===c.eE.QUERY?Jt.location.search:Jt.location.hash),window.clearTimeout(_t),window.clearInterval(Tt),De(mn)},z)}).finally(()=>{(0,y.q)(Mn,f.Xv.RemoveHiddenIframe,Fe,ae,Ae)(un)})})).apply(this,arguments)}function kt(un,U,z,ae){return z.addQueueMeasurement(f.Xv.SilentHandlerLoadFrame,ae),new Promise((Fe,Ae)=>{const fe=dn();window.setTimeout(()=>{fe?(fe.src=un,Fe(fe)):Ae("Unable to load iframe")},U)})}function on(un){const U=dn();return U.src=un,U}function dn(){const un=document.createElement("iframe");return un.style.visibility="hidden",un.style.position="absolute",un.style.width=un.style.height="0",un.style.border="0",un.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.body.appendChild(un),un}function Mn(un){document.body===un.parentNode&&document.body.removeChild(un)}class En extends zt{constructor(U,z,ae,Fe,Ae,fe,De,rt,_t,Tt,Bt){super(U,z,ae,Fe,Ae,fe,rt,Tt,Bt),this.apiId=De,this.nativeStorage=_t}acquireToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.SilentIframeClientAcquireToken,U.correlationId),!U.loginHint&&!U.sid&&(!U.account||!U.account.username)&&z.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");const ae={...U};ae.prompt?ae.prompt!==c.GI.NONE&&ae.prompt!==c.GI.NO_SESSION&&(z.logger.warning(`SilentIframeClient. Replacing invalid prompt ${ae.prompt} with ${c.GI.NONE}`),ae.prompt=c.GI.NONE):ae.prompt=c.GI.NONE;const Fe=yield(0,y.C)(z.initializeAuthorizationRequest.bind(z),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,z.logger,z.performanceClient,U.correlationId)(ae,G.wV.Silent);(0,te.preconnect)(Fe.authority);const Ae=z.initializeServerTelemetryManager(z.apiId);try{const fe=yield(0,y.C)(z.createAuthCodeClient.bind(z),f.Xv.StandardInteractionClientCreateAuthCodeClient,z.logger,z.performanceClient,U.correlationId)(Ae,Fe.authority,Fe.azureCloudOptions,Fe.account);return yield(0,y.C)(z.silentTokenHelper.bind(z),f.Xv.SilentIframeClientTokenHelper,z.logger,z.performanceClient,U.correlationId)(fe,Fe)}catch(fe){throw fe instanceof E.WM&&(fe.setCorrelationId(z.correlationId),Ae.cacheFailedRequest(fe)),fe}})()}logout(){return Promise.reject((0,Te.Wq)(je.silentLogoutUnsupported))}silentTokenHelper(U,z){var ae=this;return(0,n.c)(function*(){const Fe=z.correlationId;ae.performanceClient.addQueueMeasurement(f.Xv.SilentIframeClientTokenHelper,Fe);const Ae=yield(0,y.C)(ae.initializeAuthorizationCodeRequest.bind(ae),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,ae.logger,ae.performanceClient,Fe)(z),fe=yield(0,y.C)(U.getAuthCodeUrl.bind(U),f.Xv.GetAuthCodeUrl,ae.logger,ae.performanceClient,Fe)({...z,nativeBroker:Sr.isNativeAvailable(ae.config,ae.logger,ae.nativeMessageHandler,z.authenticationScheme)}),De=new pr(U,ae.browserStorage,Ae,ae.logger,ae.performanceClient),rt=yield(0,y.C)(ui,f.Xv.SilentHandlerInitiateAuthRequest,ae.logger,ae.performanceClient,Fe)(fe,ae.performanceClient,ae.logger,Fe,ae.config.system.navigateFrameWait),_t=ae.config.auth.OIDCOptions.serverResponseType,Tt=yield(0,y.C)(ct,f.Xv.SilentHandlerMonitorIframeForHash,ae.logger,ae.performanceClient,Fe)(rt,ae.config.system.iframeHashTimeout,ae.config.system.pollIntervalMilliseconds,ae.performanceClient,ae.logger,Fe,_t),Bt=(0,y.q)(Or,f.Xv.DeserializeResponse,ae.logger,ae.performanceClient,ae.correlationId)(Tt,_t,ae.logger);if(Bt.accountId){if(ae.logger.verbose("Account id found in hash, calling WAM for token"),!ae.nativeMessageHandler)throw(0,Te.Wq)(je.nativeConnectionNotEstablished);const Jt=new oi(ae.config,ae.browserStorage,ae.browserCrypto,ae.logger,ae.eventHandler,ae.navigationClient,ae.apiId,ae.performanceClient,ae.nativeMessageHandler,Bt.accountId,ae.browserStorage,Fe),{userRequestState:mn}=J.c.parseRequestState(ae.browserCrypto,z.state);return(0,y.C)(Jt.acquireToken.bind(Jt),f.Xv.NativeInteractionClientAcquireToken,ae.logger,ae.performanceClient,Fe)({...z,state:mn,prompt:z.prompt||c.GI.NONE})}return(0,y.C)(De.handleCodeResponse.bind(De),f.Xv.HandleCodeResponse,ae.logger,ae.performanceClient,Fe)(Bt,z)})()}}class Zn extends zt{acquireToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.SilentRefreshClientAcquireToken,U.correlationId);const ae=yield(0,y.C)(z.initializeBaseRequest.bind(z),f.Xv.InitializeBaseRequest,z.logger,z.performanceClient,U.correlationId)(U),Fe={...U,...ae};U.redirectUri&&(Fe.redirectUri=z.getRedirectUri(U.redirectUri));const Ae=z.initializeServerTelemetryManager(G.Ed.acquireTokenSilent_silentFlow),fe=yield z.createRefreshTokenClient(Ae,Fe.authority,Fe.azureCloudOptions,Fe.account);return(0,y.C)(fe.acquireTokenByRefreshToken.bind(fe),f.Xv.RefreshTokenClientAcquireTokenByRefreshToken,z.logger,z.performanceClient,U.correlationId)(Fe).catch(De=>{throw De.setCorrelationId(z.correlationId),Ae.cacheFailedRequest(De),De})})()}logout(){return Promise.reject((0,Te.Wq)(je.silentLogoutUnsupported))}createRefreshTokenClient(U,z,ae,Fe){var Ae=this;return(0,n.c)(function*(){const fe=yield(0,y.C)(Ae.getClientConfiguration.bind(Ae),f.Xv.StandardInteractionClientGetClientConfiguration,Ae.logger,Ae.performanceClient,Ae.correlationId)(U,z,ae,Fe);return new sr(fe,Ae.performanceClient)})()}}class Yn{constructor(U,z,ae,Fe){this.isBrowserEnvironment=typeof window<"u",this.config=U,this.storage=z,this.logger=ae,this.cryptoObj=Fe}loadExternalTokens(U,z,ae){if(this.logger.info("TokenCache - loadExternalTokens called"),!z.id_token)throw(0,Te.Wq)(je.unableToLoadToken);const Fe=Ct.aw(z.id_token,qn.W);let Ae,fe,De;if(U.account)De=N.M.createFromAccountInfo(U.account),Ae=new tt.O(De,this.loadIdToken(z.id_token,De.homeAccountId,U.account.environment,U.account.tenantId),this.loadAccessToken(U,z,De.homeAccountId,U.account.environment,U.account.tenantId,ae),this.loadRefreshToken(U,z,De.homeAccountId,U.account.environment));else{if(!U.authority)throw(0,Te.Wq)(je.unableToLoadToken);{const rt=F.generateAuthority(U.authority,U.azureCloudOptions);if(fe=new F(rt,this.config.system.networkClient,this.storage,{protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},this.logger,U.correlationId||(0,Ue.E5)()),ae.clientInfo)this.logger.trace("TokenCache - homeAccountId from options"),De=this.loadAccount(Fe,fe,ae.clientInfo),Ae=new tt.O(De,this.loadIdToken(z.id_token,De.homeAccountId,fe.hostnameAndPort,fe.tenant),this.loadAccessToken(U,z,De.homeAccountId,fe.hostnameAndPort,fe.tenant,ae),this.loadRefreshToken(U,z,De.homeAccountId,fe.hostnameAndPort));else{if(!z.client_info)throw(0,Te.Wq)(je.unableToLoadToken);this.logger.trace("TokenCache - homeAccountId from response"),De=this.loadAccount(Fe,fe,z.client_info),Ae=new tt.O(De,this.loadIdToken(z.id_token,De.homeAccountId,fe.hostnameAndPort,fe.tenant),this.loadAccessToken(U,z,De.homeAccountId,fe.hostnameAndPort,fe.tenant,ae),this.loadRefreshToken(U,z,De.homeAccountId,fe.hostnameAndPort))}}}return this.generateAuthenticationResult(U,Fe,Ae,De,fe)}loadAccount(U,z,ae,Fe){if(this.isBrowserEnvironment){let Ae;if(this.logger.verbose("TokenCache - loading account"),Fe?Ae=Fe:void 0!==z.authorityType&&ae&&(Ae=N.M.generateHomeAccountId(ae,z.authorityType,this.logger,this.cryptoObj,U)),!Ae)throw(0,Te.Wq)(je.unableToLoadToken);const De=tn(this.storage,z,Ae,U,qn.W,ae,z.hostnameAndPort,U.tid,void 0,void 0,this.logger);return this.storage.setAccount(De),De}throw(0,Te.Wq)(je.unableToLoadToken)}loadIdToken(U,z,ae,Fe){const Ae=M.YF(z,ae,U,this.config.auth.clientId,Fe);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(Ae),Ae;throw(0,Te.Wq)(je.unableToLoadToken)}loadAccessToken(U,z,ae,Fe,Ae,fe){if(!z.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!z.expires_in||!fe.extendedExpiresOn)throw(0,Te.Wq)(je.unableToLoadToken);const De=new ot.k(U.scopes).printScopes(),rt=fe.expiresOn||z.expires_in+(new Date).getTime()/1e3,Tt=M.MJ(ae,Fe,z.access_token,this.config.auth.clientId,Ae,De,rt,fe.extendedExpiresOn,qn.W);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(Tt),Tt;throw(0,Te.Wq)(je.unableToLoadToken)}loadRefreshToken(U,z,ae,Fe){if(!z.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;const Ae=M._c(ae,Fe,z.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(Ae),Ae;throw(0,Te.Wq)(je.unableToLoadToken)}generateAuthenticationResult(U,z,ae,Fe,Ae){let _t,fe=c.Mv.EMPTY_STRING,De=[],rt=null;return ae?.accessToken&&(fe=ae.accessToken.secret,De=ot.k.fromString(ae.accessToken.target).asArray(),rt=new Date(1e3*Number(ae.accessToken.expiresOn)),_t=new Date(1e3*Number(ae.accessToken.extendedExpiresOn))),{authority:Ae?Ae.canonicalAuthority:c.Mv.EMPTY_STRING,uniqueId:z.oid||z.sub||c.Mv.EMPTY_STRING,tenantId:z.tid||c.Mv.EMPTY_STRING,scopes:De,account:Fe.getAccountInfo(),idToken:ae.idToken?.secret||"",idTokenClaims:z||{},accessToken:fe,fromCache:!0,expiresOn:rt,correlationId:U.correlationId||c.Mv.EMPTY_STRING,requestId:c.Mv.EMPTY_STRING,extExpiresOn:_t,familyId:c.Mv.EMPTY_STRING,tokenType:ae?.accessToken?.tokenType||c.Mv.EMPTY_STRING,state:c.Mv.EMPTY_STRING,cloudGraphHostName:Fe.cloudGraphHostName||c.Mv.EMPTY_STRING,msGraphHost:Fe.msGraphHost||c.Mv.EMPTY_STRING,code:void 0,fromNativeBroker:!1}}}class Tr extends _n{constructor(U){super(U),this.includeRedirectUri=!1}}class Mr extends zt{constructor(U,z,ae,Fe,Ae,fe,De,rt,_t,Tt){super(U,z,ae,Fe,Ae,fe,rt,_t,Tt),this.apiId=De}acquireToken(U){var z=this;return(0,n.c)(function*(){if(!U.code)throw(0,Te.Wq)(je.authCodeRequired);const ae=yield(0,y.C)(z.initializeAuthorizationRequest.bind(z),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,z.logger,z.performanceClient,U.correlationId)(U,G.wV.Silent),Fe=z.initializeServerTelemetryManager(z.apiId);try{const Ae={...ae,code:U.code},fe=yield(0,y.C)(z.getClientConfiguration.bind(z),f.Xv.StandardInteractionClientGetClientConfiguration,z.logger,z.performanceClient,U.correlationId)(Fe,ae.authority,ae.azureCloudOptions,ae.account),De=new Tr(fe);z.logger.verbose("Auth code client created");const rt=new pr(De,z.browserStorage,Ae,z.logger,z.performanceClient);return yield(0,y.C)(rt.handleCodeResponseFromServer.bind(rt),f.Xv.HandleCodeResponseFromServer,z.logger,z.performanceClient,U.correlationId)({code:U.code,msgraph_host:U.msGraphHost,cloud_graph_host_name:U.cloudGraphHostName,cloud_instance_host_name:U.cloudInstanceHostName},ae,!1)}catch(Ae){throw Ae instanceof E.WM&&(Ae.setCorrelationId(z.correlationId),Fe.cacheFailedRequest(Ae)),Ae}})()}logout(){return Promise.reject((0,Te.Wq)(je.silentLogoutUnsupported))}}var zn=o(85288);class ur{constructor(U){this.atsAsyncMeasurement=void 0,this.operatingContext=U,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=U.getConfig(),this.initialized=!1,this.logger=this.operatingContext.getLogger(),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new i.A(this.logger,this.performanceClient):d.K,this.eventHandler=new K.c(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new H.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,function P(un){const U=un.cloudDiscoveryMetadata;let z;if(U)try{z=JSON.parse(U)}catch{throw(0,v.QN)(I.invalidCloudDiscoveryMetadata)}return{canonicalAuthority:un.authority?T(un.authority):void 0,knownAuthorities:un.knownAuthorities,cloudDiscoveryMetadata:z}}(this.config.auth)):(0,H.S)(this.config.auth.clientId,this.logger),this.nativeInternalStorage=new H.Y(this.config.auth.clientId,{cacheLocation:G.Ir.MemoryStorage,temporaryCacheLocation:G.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},this.browserCrypto,this.logger),this.tokenCache=new Yn(this.config,this.browserStorage,this.logger,this.browserCrypto),this.activeSilentTokenRequests=new Map,this.trackPageVisibility=this.trackPageVisibility.bind(this),this.trackPageVisibilityWithMeasurement=this.trackPageVisibilityWithMeasurement.bind(this)}static createController(U){return(0,n.c)(function*(){const z=new ur(U);return yield z.initialize(),z})()}trackPageVisibility(){this.atsAsyncMeasurement&&(this.logger.info("Perf: Visibility change detected"),this.atsAsyncMeasurement.increment({visibilityChangeCount:1}))}initialize(){var U=this;return(0,n.c)(function*(){if(U.logger.trace("initialize called"),U.initialized)return void U.logger.info("initialize has already been called, exiting early.");const z=U.config.system.allowNativeBroker,ae=U.performanceClient.startMeasurement(f.Xv.InitializeClientApplication);if(U.eventHandler.emitEvent(ue.W.INITIALIZE_START),z)try{U.nativeExtensionProvider=yield Sr.createProvider(U.logger,U.config.system.nativeBrokerHandshakeTimeout,U.performanceClient)}catch(Fe){U.logger.verbose(Fe)}U.config.cache.claimsBasedCachingEnabled||(U.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims"),yield(0,y.C)(U.browserStorage.clearTokensAndKeysWithClaims.bind(U.browserStorage),f.Xv.ClearTokensAndKeysWithClaims,U.logger,U.performanceClient)(U.performanceClient)),U.initialized=!0,U.eventHandler.emitEvent(ue.W.INITIALIZE_END),ae.end({allowNativeBroker:z,success:!0})})()}handleRedirectPromise(U){var z=this;return(0,n.c)(function*(){z.logger.verbose("handleRedirectPromise called"),(0,te.blockAPICallsBeforeInitialize)(z.initialized);const ae=z.getAllAccounts();if(z.isBrowserEnvironment){const Fe=U||"";let Ae=z.redirectResponse.get(Fe);if(typeof Ae>"u"){const fe=z.browserStorage.getCachedNativeRequest(),De=fe&&Sr.isNativeAvailable(z.config,z.logger,z.nativeExtensionProvider)&&z.nativeExtensionProvider&&!U,rt=De?fe?.correlationId:z.browserStorage.getTemporaryCache(G.zH.CORRELATION_ID,!0)||"",_t=z.performanceClient.startMeasurement("acquireTokenRedirect",rt);let Tt;if(z.eventHandler.emitEvent(ue.W.HANDLE_REDIRECT_START,G.wV.Redirect),z.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),De&&z.nativeExtensionProvider){z.logger.trace("handleRedirectPromise - acquiring token from native platform");const Bt=new oi(z.config,z.browserStorage,z.browserCrypto,z.logger,z.eventHandler,z.navigationClient,G.Ed.handleRedirectPromise,z.performanceClient,z.nativeExtensionProvider,fe.accountId,z.nativeInternalStorage,fe.correlationId);Tt=(0,y.C)(Bt.handleRedirectPromise.bind(Bt),f.Xv.HandleNativeRedirectPromiseMeasurement,z.logger,z.performanceClient,_t.event.correlationId)(z.performanceClient,_t.event.correlationId)}else{z.logger.trace("handleRedirectPromise - acquiring token from web flow");const Bt=z.createRedirectClient(rt);Tt=(0,y.C)(Bt.handleRedirectPromise.bind(Bt),f.Xv.HandleRedirectPromiseMeasurement,z.logger,z.performanceClient,_t.event.correlationId)(U,z.performanceClient,_t.event.correlationId)}Ae=Tt.then(Bt=>(Bt&&(ae.length{const Jt=Bt;throw z.eventHandler.emitEvent(ae.length>0?ue.W.ACQUIRE_TOKEN_FAILURE:ue.W.LOGIN_FAILURE,G.wV.Redirect,null,Jt),z.eventHandler.emitEvent(ue.W.HANDLE_REDIRECT_END,G.wV.Redirect),_t.end(Jt instanceof E.WM?{success:!1,errorCode:Jt.errorCode,subErrorCode:Jt.subError}:{success:!1}),Bt}),z.redirectResponse.set(Fe,Ae)}else z.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call");return Ae}return z.logger.verbose("handleRedirectPromise returns null, not browser environment"),null})()}acquireTokenRedirect(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);z.logger.verbose("acquireTokenRedirect called",ae),z.preflightBrowserEnvironmentCheck(G.wV.Redirect);const Fe=z.getAllAccounts().length>0;let Ae;return z.eventHandler.emitEvent(Fe?ue.W.ACQUIRE_TOKEN_START:ue.W.LOGIN_START,G.wV.Redirect,U),Ae=z.nativeExtensionProvider&&z.canUseNative(U)?new oi(z.config,z.browserStorage,z.browserCrypto,z.logger,z.eventHandler,z.navigationClient,G.Ed.acquireTokenRedirect,z.performanceClient,z.nativeExtensionProvider,z.getNativeAccountId(U),z.nativeInternalStorage,ae).acquireTokenRedirect(U).catch(De=>{if(De instanceof rn&&nr(De))return z.nativeExtensionProvider=void 0,z.createRedirectClient(ae).acquireToken(U);if(De instanceof x.uw)return z.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow"),z.createRedirectClient(ae).acquireToken(U);throw z.getBrowserStorage().setInteractionInProgress(!1),De}):z.createRedirectClient(ae).acquireToken(U),Ae.catch(fe=>{throw z.eventHandler.emitEvent(Fe?ue.W.ACQUIRE_TOKEN_FAILURE:ue.W.LOGIN_FAILURE,G.wV.Redirect,null,fe),fe})})()}acquireTokenPopup(U){const z=this.getRequestCorrelationId(U),ae=this.performanceClient.startMeasurement(f.Xv.AcquireTokenPopup,z);try{this.logger.verbose("acquireTokenPopup called",z),this.preflightBrowserEnvironmentCheck(G.wV.Popup)}catch(fe){return Promise.reject(fe)}const Fe=this.getAllAccounts();let Ae;return this.eventHandler.emitEvent(Fe.length>0?ue.W.ACQUIRE_TOKEN_START:ue.W.LOGIN_START,G.wV.Popup,U),Ae=this.canUseNative(U)?this.acquireTokenNative({...U,correlationId:z},G.Ed.acquireTokenPopup).then(fe=>(this.getBrowserStorage().setInteractionInProgress(!1),ae.end({success:!0,isNativeBroker:!0,requestId:fe.requestId}),fe)).catch(fe=>{if(fe instanceof rn&&nr(fe))return this.nativeExtensionProvider=void 0,this.createPopupClient(z).acquireToken(U);if(fe instanceof x.uw)return this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"),this.createPopupClient(z).acquireToken(U);throw this.getBrowserStorage().setInteractionInProgress(!1),fe}):this.createPopupClient(z).acquireToken(U),Ae.then(fe=>(Fe.length(this.eventHandler.emitEvent(Fe.length>0?ue.W.ACQUIRE_TOKEN_FAILURE:ue.W.LOGIN_FAILURE,G.wV.Popup,null,fe),ae.end({errorCode:fe.errorCode,subErrorCode:fe.subError,success:!1}),Promise.reject(fe)))}trackPageVisibilityWithMeasurement(){const U=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;U&&(this.logger.info("Perf: Visibility change detected in ",U.event.name),U.increment({visibilityChangeCount:1}))}ssoSilent(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U),Fe={...U,prompt:U.prompt,correlationId:ae};let Ae;return z.preflightBrowserEnvironmentCheck(G.wV.Silent),z.ssoSilentMeasurement=z.performanceClient.startMeasurement(f.Xv.SsoSilent,ae),z.ssoSilentMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement),z.logger.verbose("ssoSilent called",ae),z.eventHandler.emitEvent(ue.W.SSO_SILENT_START,G.wV.Silent,Fe),Ae=z.canUseNative(Fe)?z.acquireTokenNative(Fe,G.Ed.ssoSilent).catch(fe=>{if(fe instanceof rn&&nr(fe))return z.nativeExtensionProvider=void 0,z.createSilentIframeClient(Fe.correlationId).acquireToken(Fe);throw fe}):z.createSilentIframeClient(Fe.correlationId).acquireToken(Fe),Ae.then(fe=>(z.eventHandler.emitEvent(ue.W.SSO_SILENT_SUCCESS,G.wV.Silent,fe),z.ssoSilentMeasurement?.add({accessTokenSize:fe.accessToken.length,idTokenSize:fe.idToken.length}),z.ssoSilentMeasurement?.end({success:!0,isNativeBroker:fe.fromNativeBroker,requestId:fe.requestId}),fe)).catch(fe=>{throw z.eventHandler.emitEvent(ue.W.SSO_SILENT_FAILURE,G.wV.Silent,null,fe),z.ssoSilentMeasurement?.end({errorCode:fe.errorCode,subErrorCode:fe.subError,success:!1}),fe}).finally(()=>{document.removeEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement)})})()}acquireTokenByCode(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);z.preflightBrowserEnvironmentCheck(G.wV.Silent),z.logger.trace("acquireTokenByCode called",ae),z.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_BY_CODE_START,G.wV.Silent,U);const Fe=z.performanceClient.startMeasurement(f.Xv.AcquireTokenByCode,ae);try{if(U.code&&U.nativeAccountId)throw(0,Te.Wq)(je.spaCodeAndNativeAccountIdPresent);if(U.code){const Ae=U.code;let fe=z.hybridAuthCodeResponses.get(Ae);return fe?(z.logger.verbose("Existing acquireTokenByCode request found",ae),Fe.discard()):(z.logger.verbose("Initiating new acquireTokenByCode request",ae),fe=z.acquireTokenByCodeAsync({...U,correlationId:ae}).then(De=>(z.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_BY_CODE_SUCCESS,G.wV.Silent,De),z.hybridAuthCodeResponses.delete(Ae),Fe.add({accessTokenSize:De.accessToken.length,idTokenSize:De.idToken.length}),Fe.end({success:!0,isNativeBroker:De.fromNativeBroker,requestId:De.requestId}),De)).catch(De=>{throw z.hybridAuthCodeResponses.delete(Ae),z.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,G.wV.Silent,null,De),Fe.end({errorCode:De.errorCode,subErrorCode:De.subError,success:!1}),De}),z.hybridAuthCodeResponses.set(Ae,fe)),yield fe}if(U.nativeAccountId){if(z.canUseNative(U,U.nativeAccountId))return yield z.acquireTokenNative({...U,correlationId:ae},G.Ed.acquireTokenByCode,U.nativeAccountId).catch(Ae=>{throw Ae instanceof rn&&nr(Ae)&&(z.nativeExtensionProvider=void 0),Ae});throw(0,Te.Wq)(je.unableToAcquireTokenFromNativePlatform)}throw(0,Te.Wq)(je.authCodeOrNativeAccountIdRequired)}catch(Ae){throw z.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,G.wV.Silent,null,Ae),Fe.end({errorCode:Ae instanceof E.WM&&Ae.errorCode||void 0,subErrorCode:Ae instanceof E.WM&&Ae.subError||void 0,success:!1}),Ae}})()}acquireTokenByCodeAsync(U){var z=this;return(0,n.c)(function*(){return z.logger.trace("acquireTokenByCodeAsync called",U.correlationId),z.acquireTokenByCodeAsyncMeasurement=z.performanceClient.startMeasurement(f.Xv.AcquireTokenByCodeAsync,U.correlationId),z.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement),yield z.createSilentAuthCodeClient(U.correlationId).acquireToken(U).then(Ae=>(z.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:Ae.fromCache,isNativeBroker:Ae.fromNativeBroker,requestId:Ae.requestId}),Ae)).catch(Ae=>{throw z.acquireTokenByCodeAsyncMeasurement?.end({errorCode:Ae.errorCode,subErrorCode:Ae.subError,success:!1}),Ae}).finally(()=>{document.removeEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement)})})()}acquireTokenFromCache(U,z,ae){var Fe=this;return(0,n.c)(function*(){switch(Fe.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenFromCache,z.correlationId),ae){case G.wd.Default:case G.wd.AccessToken:case G.wd.AccessTokenAndRefreshToken:return(0,y.C)(U.acquireToken.bind(U),f.Xv.SilentCacheClientAcquireToken,Fe.logger,Fe.performanceClient,z.correlationId)(z);default:throw(0,u.mQ)(A.tokenRefreshRequired)}})()}acquireTokenByRefreshToken(U,z){var ae=this;return(0,n.c)(function*(){switch(ae.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenByRefreshToken,U.correlationId),z){case G.wd.Default:case G.wd.AccessTokenAndRefreshToken:case G.wd.RefreshToken:case G.wd.RefreshTokenAndNetwork:const Fe=ae.createSilentRefreshClient(U.correlationId);return(0,y.C)(Fe.acquireToken.bind(Fe),f.Xv.SilentRefreshClientAcquireToken,ae.logger,ae.performanceClient,U.correlationId)(U);default:throw(0,u.mQ)(A.tokenRefreshRequired)}})()}acquireTokenBySilentIframe(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenBySilentIframe,U.correlationId);const ae=z.createSilentIframeClient(U.correlationId);return(0,y.C)(ae.acquireToken.bind(ae),f.Xv.SilentIframeClientAcquireToken,z.logger,z.performanceClient,U.correlationId)(U)})()}logout(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);return z.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",ae),z.logoutRedirect({correlationId:ae,...U})})()}logoutRedirect(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);return z.preflightBrowserEnvironmentCheck(G.wV.Redirect),z.createRedirectClient(ae).logout(U)})()}logoutPopup(U){try{const z=this.getRequestCorrelationId(U);return this.preflightBrowserEnvironmentCheck(G.wV.Popup),this.createPopupClient(z).logout(U)}catch(z){return Promise.reject(z)}}clearCache(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);return z.createSilentCacheClient(ae).logout(U)})()}getAllAccounts(U){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts(U):[]}getAccount(U){if(this.logger.trace("getAccount called"),0===Object.keys(U).length)return this.logger.warning("getAccount: No accountFilter provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy(U);return z?(this.logger.verbose("getAccount: Account matching provided filter found, returning"),z):(this.logger.verbose("getAccount: No matching account found, returning null"),null)}getAccountByUsername(U){if(this.logger.trace("getAccountByUsername called"),!U)return this.logger.warning("getAccountByUsername: No username provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy({username:U});return z?(this.logger.verbose("getAccountByUsername: Account matching username found, returning"),this.logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${U}`),z):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)}getAccountByHomeId(U){if(this.logger.trace("getAccountByHomeId called"),!U)return this.logger.warning("getAccountByHomeId: No homeAccountId provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy({homeAccountId:U});return z?(this.logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning"),this.logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${U}`),z):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)}getAccountByLocalId(U){if(this.logger.trace("getAccountByLocalId called"),!U)return this.logger.warning("getAccountByLocalId: No localAccountId provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy({localAccountId:U});return z?(this.logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning"),this.logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${U}`),z):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)}setActiveAccount(U){this.browserStorage.setActiveAccount(U)}getActiveAccount(){return this.browserStorage.getActiveAccount()}hydrateCache(U,z){var ae=this;return(0,n.c)(function*(){ae.logger.verbose("hydrateCache called");const Fe=N.M.createFromAccountInfo(U.account,U.cloudGraphHostName,U.msGraphHost);return ae.browserStorage.setAccount(Fe),U.fromNativeBroker?(ae.logger.verbose("Response was from native broker, storing in-memory"),ae.nativeInternalStorage.hydrateCache(U,z)):ae.browserStorage.hydrateCache(U,z)})()}preflightBrowserEnvironmentCheck(U,z=!1){if(this.logger.verbose("preflightBrowserEnvironmentCheck started"),(0,te.blockNonBrowserEnvironment)(this.isBrowserEnvironment),(0,te.blockRedirectInIframe)(U,this.config.system.allowRedirectInIframe),(0,te.blockReloadInHiddenIframes)(),(0,te.blockAcquireTokenInPopups)(),(0,te.blockAPICallsBeforeInitialize)(this.initialized),U===G.wV.Redirect&&this.config.cache.cacheLocation===G.Ir.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw(0,se.cf)(zn.inMemRedirectUnavailable);(U===G.wV.Redirect||U===G.wV.Popup)&&this.preflightInteractiveRequest(!z)}preflightInteractiveRequest(U){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),(0,te.blockReloadInHiddenIframes)(),U&&this.getBrowserStorage().setInteractionInProgress(!0)}acquireTokenNative(U,z,ae){var Fe=this;return(0,n.c)(function*(){if(Fe.logger.trace("acquireTokenNative called"),!Fe.nativeExtensionProvider)throw(0,Te.Wq)(je.nativeConnectionNotEstablished);return new oi(Fe.config,Fe.browserStorage,Fe.browserCrypto,Fe.logger,Fe.eventHandler,Fe.navigationClient,z,Fe.performanceClient,Fe.nativeExtensionProvider,ae||Fe.getNativeAccountId(U),Fe.nativeInternalStorage,U.correlationId).acquireToken(U)})()}canUseNative(U,z){if(this.logger.trace("canUseNative called"),!Sr.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,U.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(U.prompt)switch(U.prompt){case c.GI.NONE:case c.GI.CONSENT:case c.GI.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace(`canUseNative: prompt = ${U.prompt} is not compatible with native flow, returning false`),!1}return!(!z&&!this.getNativeAccountId(U)&&(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),1))}getNativeAccountId(U){const z=U.account||this.getAccount({loginHint:U.loginHint,sid:U.sid})||this.getActiveAccount();return z&&z.nativeAccountId||""}createPopupClient(U){return new en(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,U)}createRedirectClient(U){return new Qn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,U)}createSilentIframeClient(U){return new En(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,G.Ed.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,U)}createSilentCacheClient(U){return new br(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,U)}createSilentRefreshClient(U){return new Zn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,U)}createSilentAuthCodeClient(U){return new Mr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,G.Ed.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,U)}addEventCallback(U){return this.eventHandler.addEventCallback(U)}removeEventCallback(U){this.eventHandler.removeEventCallback(U)}addPerformanceCallback(U){return this.performanceClient.addPerformanceCallback(U)}removePerformanceCallback(U){return this.performanceClient.removePerformanceCallback(U)}enableAccountStorageEvents(){this.eventHandler.enableAccountStorageEvents()}disableAccountStorageEvents(){this.eventHandler.disableAccountStorageEvents()}getTokenCache(){return this.tokenCache}getLogger(){return this.logger}setLogger(U){this.logger=U}initializeWrapperLibrary(U,z){this.browserStorage.setWrapperMetadata(U,z)}setNavigationClient(U){this.navigationClient=U}getConfiguration(){return this.config}getPerformanceClient(){return this.performanceClient}getBrowserStorage(){return this.browserStorage}isBrowserEnv(){return this.isBrowserEnvironment}getEventHandler(){return this.eventHandler}getRequestCorrelationId(U){return U?.correlationId?U.correlationId:this.isBrowserEnvironment?(0,Ue.E5)():c.Mv.EMPTY_STRING}loginRedirect(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);return z.logger.verbose("loginRedirect called",ae),z.acquireTokenRedirect({correlationId:ae,...U||G.wv})})()}loginPopup(U){const z=this.getRequestCorrelationId(U);return this.logger.verbose("loginPopup called",z),this.acquireTokenPopup({correlationId:z,...U||G.wv})}acquireTokenSilent(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U),Fe=z.performanceClient.startMeasurement(f.Xv.AcquireTokenSilent,ae);Fe.add({cacheLookupPolicy:U.cacheLookupPolicy}),z.preflightBrowserEnvironmentCheck(G.wV.Silent),z.logger.verbose("acquireTokenSilent called",ae);const Ae=U.account||z.getActiveAccount();if(!Ae)throw(0,Te.Wq)(je.noAccountError);const De=JSON.stringify({clientId:z.config.auth.clientId,authority:U.authority||c.Mv.EMPTY_STRING,scopes:U.scopes,homeAccountIdentifier:Ae.homeAccountId,claims:U.claims,authenticationScheme:U.authenticationScheme,resourceRequestMethod:U.resourceRequestMethod,resourceRequestUri:U.resourceRequestUri,shrClaims:U.shrClaims,sshKid:U.sshKid,shrOptions:U.shrOptions}),rt=z.activeSilentTokenRequests.get(De);if(typeof rt>"u"){z.logger.verbose("acquireTokenSilent called for the first time, storing active request",ae);const _t=(0,y.C)(z.acquireTokenSilentAsync.bind(z),f.Xv.AcquireTokenSilentAsync,z.logger,z.performanceClient,ae)({...U,correlationId:ae},Ae).then(Tt=>(z.activeSilentTokenRequests.delete(De),Fe.add({accessTokenSize:Tt.accessToken.length,idTokenSize:Tt.idToken.length}),Fe.end({success:!0,fromCache:Tt.fromCache,isNativeBroker:Tt.fromNativeBroker,cacheLookupPolicy:U.cacheLookupPolicy,requestId:Tt.requestId}),Tt)).catch(Tt=>{throw z.activeSilentTokenRequests.delete(De),Fe.end({errorCode:Tt.errorCode,subErrorCode:Tt.subError,success:!1}),Tt});return z.activeSilentTokenRequests.set(De,_t),{...yield _t,state:U.state}}return z.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",ae),Fe.discard(),{...yield rt,state:U.state}})()}acquireTokenSilentAsync(U,z){var ae=this;return(0,n.c)(function*(){let Fe;if(ae.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenSilentAsync,U.correlationId),ae.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_START,G.wV.Silent,U),ae.atsAsyncMeasurement=ae.performanceClient.startMeasurement(f.Xv.AcquireTokenSilentAsync,U.correlationId),ae.atsAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",ae.trackPageVisibility),Sr.isNativeAvailable(ae.config,ae.logger,ae.nativeExtensionProvider,U.authenticationScheme)&&z.nativeAccountId){ae.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform");const Ae={...U,account:z};Fe=ae.acquireTokenNative(Ae,G.Ed.acquireTokenSilent_silentFlow).catch(function(){var fe=(0,n.c)(function*(De){if(De instanceof rn&&nr(De))return ae.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),ae.nativeExtensionProvider=void 0,ae.createSilentIframeClient(U.correlationId).acquireToken(U);throw De});return function(De){return fe.apply(this,arguments)}}())}else{ae.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow");const Ae=ae.createSilentCacheClient(U.correlationId),fe=yield(0,y.C)(Ae.initializeSilentRequest.bind(Ae),f.Xv.InitializeSilentRequest,ae.logger,ae.performanceClient,U.correlationId)(U,z),De=U.cacheLookupPolicy||G.wd.Default;Fe=(0,y.C)(ae.acquireTokenFromCache.bind(ae),f.Xv.AcquireTokenFromCache,ae.logger,ae.performanceClient,fe.correlationId)(Ae,fe,De).catch(rt=>{if(U.cacheLookupPolicy===G.wd.AccessToken)throw rt;return(0,te.blockReloadInHiddenIframes)(),ae.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_NETWORK_START,G.wV.Silent,fe),(0,y.C)(ae.acquireTokenByRefreshToken.bind(ae),f.Xv.AcquireTokenByRefreshToken,ae.logger,ae.performanceClient,fe.correlationId)(fe,De).catch(_t=>{if(function Mi(un,U,z){const Ae=!(un instanceof x.uw&&un.subError!==O.badToken)&&(un.errorCode===G.ig.INVALID_GRANT_ERROR||un.errorCode===A.tokenRefreshRequired)||un.errorCode===O.noTokensFound||un.errorCode===O.refreshTokenExpired,fe=G.a.includes(z);return Ae&&fe}(_t,0,De))return ae.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",fe.correlationId),(0,y.C)(ae.acquireTokenBySilentIframe.bind(ae),f.Xv.AcquireTokenBySilentIframe,ae.logger,ae.performanceClient,fe.correlationId)(fe);throw _t})})}return Fe.then(Ae=>(ae.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_SUCCESS,G.wV.Silent,Ae),ae.atsAsyncMeasurement?.end({success:!0,fromCache:Ae.fromCache,isNativeBroker:Ae.fromNativeBroker,requestId:Ae.requestId}),Ae)).catch(Ae=>{throw ae.eventHandler.emitEvent(ue.W.ACQUIRE_TOKEN_FAILURE,G.wV.Silent,null,Ae),ae.atsAsyncMeasurement?.end({errorCode:Ae.errorCode,subErrorCode:Ae.subError,success:!1}),Ae}).finally(()=>{document.removeEventListener("visibilitychange",ae.trackPageVisibility)})})()}}},27880:(pe,h,o)=>{"use strict";o.d(h,{E5:()=>E,G0:()=>M,IT:()=>y,YD:()=>_,_k:()=>j,eY:()=>C,em:()=>I,kq:()=>P});var n=o(1528),i=o(4792),d=o(85348),a=o(26956),l=o(32828);const u="SHA-256",g=new Uint8Array([1,0,1]),v="0123456789abcdef",p=new Uint32Array(1),S={name:"RSASSA-PKCS1-v1_5",hash:u,modulusLength:2048,publicExponent:g};function C(N){if(!("crypto"in window))throw N.error("BrowserCrypto: crypto interface is unavailable"),(0,i.Wq)(l.cryptoNonExistent);N.verbose("BrowserCrypto: modern crypto interface available")}function _(N,O,H){return f.apply(this,arguments)}function f(){return(f=(0,n.c)(function*(N,O,H){O?.addQueueMeasurement(d.Xv.Sha256Digest,H);const te=(new TextEncoder).encode(N);return window.crypto.subtle.digest(u,te)})).apply(this,arguments)}function y(N){return window.crypto.getRandomValues(N)}function b(){return window.crypto.getRandomValues(p),p[0]}function E(){const N=Date.now(),O=1024*b()+(1023&b()),H=new Uint8Array(16),G=Math.trunc(O/2**30),te=O&2**30-1,ue=b();H[0]=N/2**40,H[1]=N/2**32,H[2]=N/2**24,H[3]=N/65536,H[4]=N/256,H[5]=N,H[6]=112|G>>>8,H[7]=G,H[8]=128|te>>>24,H[9]=te>>>16,H[10]=te>>>8,H[11]=te,H[12]=ue>>>24,H[13]=ue>>>16,H[14]=ue>>>8,H[15]=ue;let se="";for(let K=0;K>>4),se+=v.charAt(15&H[K]),(3===K||5===K||7===K||9===K)&&(se+="-");return se}function M(N,O){return A.apply(this,arguments)}function A(){return(A=(0,n.c)(function*(N,O){return window.crypto.subtle.generateKey(S,N,O)})).apply(this,arguments)}function I(N){return F.apply(this,arguments)}function F(){return(F=(0,n.c)(function*(N){return window.crypto.subtle.exportKey(a.eG,N)})).apply(this,arguments)}function j(N,O,H){return T.apply(this,arguments)}function T(){return(T=(0,n.c)(function*(N,O,H){return window.crypto.subtle.importKey(a.eG,N,S,O,H)})).apply(this,arguments)}function P(N,O){return x.apply(this,arguments)}function x(){return(x=(0,n.c)(function*(N,O){return window.crypto.subtle.sign(S,N,O)})).apply(this,arguments)}},7184:(pe,h,o)=>{"use strict";o.d(h,{A:()=>F});var n=o(1528),i=o(85348),d=o(66936);const a="missing_kid_error",l="missing_alg_error",e={[a]:"The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided.",[l]:"The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."};class u extends d.WM{constructor(P,x){super(P,x),this.name="JoseHeaderError",Object.setPrototypeOf(this,u.prototype)}}function c(T){return new u(T,e[T])}var g=o(34739);class v{constructor(P){this.typ=P.typ,this.alg=P.alg,this.kid=P.kid}static getShrHeaderString(P){if(!P.kid)throw c(a);if(!P.alg)throw c(l);const x=new v({typ:P.typ||g.Gu.Pop,kid:P.kid,alg:P.alg});return JSON.stringify(x)}}var p=o(37988),S=o(55084),C=o(27880),_=o(4792),f=o(26956),y=o(32828);class b{constructor(){this.dbName=f.f6,this.version=f.gV,this.tableName=f.eQ,this.dbOpen=!1}open(){var P=this;return(0,n.c)(function*(){return new Promise((x,N)=>{const O=window.indexedDB.open(P.dbName,P.version);O.addEventListener("upgradeneeded",H=>{H.target.result.createObjectStore(P.tableName)}),O.addEventListener("success",H=>{P.db=H.target.result,P.dbOpen=!0,x()}),O.addEventListener("error",()=>N((0,_.Wq)(y.databaseUnavailable)))})})()}closeConnection(){const P=this.db;P&&this.dbOpen&&(P.close(),this.dbOpen=!1)}validateDbIsOpen(){var P=this;return(0,n.c)(function*(){if(!P.dbOpen)return P.open()})()}getItem(P){var x=this;return(0,n.c)(function*(){return yield x.validateDbIsOpen(),new Promise((N,O)=>{if(!x.db)return O((0,_.Wq)(y.databaseNotOpen));const te=x.db.transaction([x.tableName],"readonly").objectStore(x.tableName).get(P);te.addEventListener("success",ue=>{const se=ue;x.closeConnection(),N(se.target.result)}),te.addEventListener("error",ue=>{x.closeConnection(),O(ue)})})})()}setItem(P,x){var N=this;return(0,n.c)(function*(){return yield N.validateDbIsOpen(),new Promise((O,H)=>{if(!N.db)return H((0,_.Wq)(y.databaseNotOpen));const ue=N.db.transaction([N.tableName],"readwrite").objectStore(N.tableName).put(x,P);ue.addEventListener("success",()=>{N.closeConnection(),O()}),ue.addEventListener("error",se=>{N.closeConnection(),H(se)})})})()}removeItem(P){var x=this;return(0,n.c)(function*(){return yield x.validateDbIsOpen(),new Promise((N,O)=>{if(!x.db)return O((0,_.Wq)(y.databaseNotOpen));const te=x.db.transaction([x.tableName],"readwrite").objectStore(x.tableName).delete(P);te.addEventListener("success",()=>{x.closeConnection(),N()}),te.addEventListener("error",ue=>{x.closeConnection(),O(ue)})})})()}getKeys(){var P=this;return(0,n.c)(function*(){return yield P.validateDbIsOpen(),new Promise((x,N)=>{if(!P.db)return N((0,_.Wq)(y.databaseNotOpen));const G=P.db.transaction([P.tableName],"readonly").objectStore(P.tableName).getAllKeys();G.addEventListener("success",te=>{const ue=te;P.closeConnection(),x(ue.target.result)}),G.addEventListener("error",te=>{P.closeConnection(),N(te)})})})()}containsKey(P){var x=this;return(0,n.c)(function*(){return yield x.validateDbIsOpen(),new Promise((N,O)=>{if(!x.db)return O((0,_.Wq)(y.databaseNotOpen));const te=x.db.transaction([x.tableName],"readonly").objectStore(x.tableName).count(P);te.addEventListener("success",ue=>{const se=ue;x.closeConnection(),N(1===se.target.result)}),te.addEventListener("error",ue=>{x.closeConnection(),O(ue)})})})()}deleteDatabase(){var P=this;return(0,n.c)(function*(){return P.db&&P.dbOpen&&P.closeConnection(),new Promise((x,N)=>{const O=window.indexedDB.deleteDatabase(f.f6);O.addEventListener("success",()=>x(!0)),O.addEventListener("blocked",()=>x(!0)),O.addEventListener("error",()=>N(!1))})})()}}var E=o(61744);class M{constructor(P,x){this.inMemoryCache=new E.W,this.indexedDBCache=new b,this.logger=P,this.storeName=x}handleDatabaseAccessError(P){if(!(P instanceof _.G&&P.errorCode===y.databaseUnavailable))throw P;this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.")}getItem(P){var x=this;return(0,n.c)(function*(){const N=x.inMemoryCache.getItem(P);if(!N)try{return x.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),yield x.indexedDBCache.getItem(P)}catch(O){x.handleDatabaseAccessError(O)}return N})()}setItem(P,x){var N=this;return(0,n.c)(function*(){N.inMemoryCache.setItem(P,x);try{yield N.indexedDBCache.setItem(P,x)}catch(O){N.handleDatabaseAccessError(O)}})()}removeItem(P){var x=this;return(0,n.c)(function*(){x.inMemoryCache.removeItem(P);try{yield x.indexedDBCache.removeItem(P)}catch(N){x.handleDatabaseAccessError(N)}})()}getKeys(){var P=this;return(0,n.c)(function*(){const x=P.inMemoryCache.getKeys();if(0===x.length)try{return P.logger.verbose("In-memory cache is empty, now querying persistent storage."),yield P.indexedDBCache.getKeys()}catch(N){P.handleDatabaseAccessError(N)}return x})()}containsKey(P){var x=this;return(0,n.c)(function*(){const N=x.inMemoryCache.containsKey(P);if(!N)try{return x.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),yield x.indexedDBCache.containsKey(P)}catch(O){x.handleDatabaseAccessError(O)}return N})()}clearInMemory(){this.logger.verbose(`Deleting in-memory keystore ${this.storeName}`),this.inMemoryCache.clear(),this.logger.verbose(`In-memory keystore ${this.storeName} deleted`)}clearPersistent(){var P=this;return(0,n.c)(function*(){try{P.logger.verbose("Deleting persistent keystore");const x=yield P.indexedDBCache.deleteDatabase();return x&&P.logger.verbose("Persistent keystore deleted"),x}catch(x){return P.handleDatabaseAccessError(x),!1}})()}}class I{constructor(P){this.logger=P,this.asymmetricKeys=new M(this.logger,"asymmetricKeys"),this.symmetricKeys=new M(this.logger,"symmetricKeys")}clear(){var P=this;return(0,n.c)(function*(){P.asymmetricKeys.clearInMemory(),P.symmetricKeys.clearInMemory();try{return yield P.asymmetricKeys.clearPersistent(),!0}catch(x){return x instanceof Error?P.logger.error(`Clearing keystore failed with error: ${x.message}`):P.logger.error("Clearing keystore failed with unknown error"),!1}})()}}let F=(()=>{class T{constructor(x,N){this.logger=x,(0,C.eY)(x),this.cache=new I(this.logger),this.performanceClient=N}createNewGuid(){return(0,C.E5)()}base64Encode(x){return(0,p.c9)(x)}base64Decode(x){return(0,S.W)(x)}getPublicKeyThumbprint(x){var N=this;return(0,n.c)(function*(){const O=N.performanceClient?.startMeasurement(i.Xv.CryptoOptsGetPublicKeyThumbprint,x.correlationId),H=yield(0,C.G0)(T.EXTRACTABLE,T.POP_KEY_USAGES),G=yield(0,C.em)(H.publicKey),ue=j({e:G.e,kty:G.kty,n:G.n}),se=yield N.hashString(ue),K=yield(0,C.em)(H.privateKey),Z=yield(0,C._k)(K,!1,["sign"]);return yield N.cache.asymmetricKeys.setItem(se,{privateKey:Z,publicKey:H.publicKey,requestMethod:x.resourceRequestMethod,requestUri:x.resourceRequestUri}),O&&O.end({success:!0}),se})()}removeTokenBindingKey(x){var N=this;return(0,n.c)(function*(){return yield N.cache.asymmetricKeys.removeItem(x),!(yield N.cache.asymmetricKeys.containsKey(x))})()}clearKeystore(){var x=this;return(0,n.c)(function*(){return x.cache.clear()})()}signJwt(x,N,O,H){var G=this;return(0,n.c)(function*(){const te=G.performanceClient?.startMeasurement(i.Xv.CryptoOptsSignJwt,H),ue=yield G.cache.asymmetricKeys.getItem(N);if(!ue)throw(0,_.Wq)(y.cryptoKeyNotFound);const se=yield(0,C.em)(ue.publicKey),K=j(se),Z=(0,p.OW)(JSON.stringify({kid:N})),re=v.getShrHeaderString({...O?.header,alg:se.alg,kid:Z}),J=(0,p.OW)(re);x.cnf={jwk:JSON.parse(K)};const $=`${J}.${(0,p.OW)(JSON.stringify(x))}`,ee=(new TextEncoder).encode($),we=yield(0,C.kq)(ue.privateKey,ee),Oe=`${$}.${(0,p.gV)(new Uint8Array(we))}`;return te&&te.end({success:!0}),Oe})()}hashString(x){return(0,n.c)(function*(){const N=yield(0,C.YD)(x),O=new Uint8Array(N);return(0,p.gV)(O)})()}}return T.POP_KEY_USAGES=["sign","verify"],T.EXTRACTABLE=!0,T})();function j(T){return JSON.stringify(T,Object.keys(T).sort())}},55084:(pe,h,o)=>{"use strict";o.d(h,{W:()=>d});var n=o(4792),i=o(32828);function d(l){return(new TextDecoder).decode(function a(l){let e=l.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw(0,n.Wq)(i.invalidBase64String)}const u=atob(e);return Uint8Array.from(u,c=>c.codePointAt(0)||0)}(l))}},37988:(pe,h,o)=>{"use strict";function n(l){return encodeURIComponent(d(l).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function i(l){return a(l).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function d(l){return a((new TextEncoder).encode(l))}function a(l){const e=Array.from(l,u=>String.fromCodePoint(u)).join("");return btoa(e)}o.d(h,{OW:()=>n,c9:()=>d,gV:()=>i})},4792:(pe,h,o)=>{"use strict";o.d(h,{G:()=>e,Wq:()=>u,aC:()=>l});var n=o(66936),i=o(32828);const d="For more visit: aka.ms/msaljs/browser-errors",a={[i.pkceNotCreated]:"The PKCE code challenge and verifier could not be generated.",[i.cryptoNonExistent]:"The crypto object or function is not available.",[i.emptyNavigateUri]:"Navigation URI is empty. Please check stack trace for more info.",[i.hashEmptyError]:`Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. ${d}`,[i.noStateInHash]:"Hash does not contain state. Please verify that the request originated from msal.",[i.hashDoesNotContainKnownProperties]:`Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. ${d}`,[i.unableToParseState]:"Unable to parse state. Please verify that the request originated from msal.",[i.stateInteractionTypeMismatch]:"Hash contains state but the interaction type does not match the caller.",[i.interactionInProgress]:`Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. ${d}`,[i.popupWindowError]:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser.",[i.emptyWindowError]:"window.open returned null or undefined window object.",[i.userCancelled]:"User cancelled the flow.",[i.monitorPopupTimeout]:`Token acquisition in popup failed due to timeout. ${d}`,[i.monitorWindowTimeout]:`Token acquisition in iframe failed due to timeout. ${d}`,[i.redirectInIframe]:"Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs.",[i.blockIframeReload]:`Request was blocked inside an iframe because MSAL detected an authentication response. ${d}`,[i.blockNestedPopups]:"Request was blocked inside a popup because MSAL detected it was running in a popup.",[i.iframeClosedPrematurely]:"The iframe being monitored was closed prematurely.",[i.silentLogoutUnsupported]:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead.",[i.noAccountError]:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.",[i.silentPromptValueError]:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'.",[i.noTokenRequestCacheError]:"No token request found in cache.",[i.unableToParseTokenRequestCacheError]:"The cached token request could not be parsed.",[i.noCachedAuthorityError]:"No cached authority found.",[i.authRequestNotSetError]:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler",[i.invalidCacheType]:"Invalid cache type",[i.nonBrowserEnvironment]:"Login and token requests are not supported in non-browser environments.",[i.databaseNotOpen]:"Database is not open!",[i.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[i.postRequestFailed]:"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'",[i.getRequestFailed]:"Network request failed. Please check the network trace to determine root cause.",[i.failedToParseResponse]:"Failed to parse network response. Check network trace.",[i.unableToLoadToken]:"Error loading token to cache.",[i.cryptoKeyNotFound]:"Cryptographic Key or Keypair not found in browser storage.",[i.authCodeRequired]:"An authorization code must be provided (as the `code` property on the request) to this flow.",[i.authCodeOrNativeAccountIdRequired]:"An authorization code or nativeAccountId must be provided to this flow.",[i.spaCodeAndNativeAccountIdPresent]:"Request cannot contain both spa code and native account id.",[i.databaseUnavailable]:"IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts.",[i.unableToAcquireTokenFromNativePlatform]:`Unable to acquire token from native platform. ${d}`,[i.nativeHandshakeTimeout]:"Timed out while attempting to establish connection to browser extension",[i.nativeExtensionNotInstalled]:"Native extension is not installed. If you think this is a mistake call the initialize function.",[i.nativeConnectionNotEstablished]:`Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). ${d}`,[i.uninitializedPublicClientApplication]:`You must call and await the initialize function before attempting to call any other MSAL API. ${d}`,[i.nativePromptNotSupported]:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow.",[i.invalidBase64String]:"Invalid base64 encoded string."},l={pkceNotGenerated:{code:i.pkceNotCreated,desc:a[i.pkceNotCreated]},cryptoDoesNotExist:{code:i.cryptoNonExistent,desc:a[i.cryptoNonExistent]},emptyNavigateUriError:{code:i.emptyNavigateUri,desc:a[i.emptyNavigateUri]},hashEmptyError:{code:i.hashEmptyError,desc:a[i.hashEmptyError]},hashDoesNotContainStateError:{code:i.noStateInHash,desc:a[i.noStateInHash]},hashDoesNotContainKnownPropertiesError:{code:i.hashDoesNotContainKnownProperties,desc:a[i.hashDoesNotContainKnownProperties]},unableToParseStateError:{code:i.unableToParseState,desc:a[i.unableToParseState]},stateInteractionTypeMismatchError:{code:i.stateInteractionTypeMismatch,desc:a[i.stateInteractionTypeMismatch]},interactionInProgress:{code:i.interactionInProgress,desc:a[i.interactionInProgress]},popupWindowError:{code:i.popupWindowError,desc:a[i.popupWindowError]},emptyWindowError:{code:i.emptyWindowError,desc:a[i.emptyWindowError]},userCancelledError:{code:i.userCancelled,desc:a[i.userCancelled]},monitorPopupTimeoutError:{code:i.monitorPopupTimeout,desc:a[i.monitorPopupTimeout]},monitorIframeTimeoutError:{code:i.monitorWindowTimeout,desc:a[i.monitorWindowTimeout]},redirectInIframeError:{code:i.redirectInIframe,desc:a[i.redirectInIframe]},blockTokenRequestsInHiddenIframeError:{code:i.blockIframeReload,desc:a[i.blockIframeReload]},blockAcquireTokenInPopupsError:{code:i.blockNestedPopups,desc:a[i.blockNestedPopups]},iframeClosedPrematurelyError:{code:i.iframeClosedPrematurely,desc:a[i.iframeClosedPrematurely]},silentLogoutUnsupportedError:{code:i.silentLogoutUnsupported,desc:a[i.silentLogoutUnsupported]},noAccountError:{code:i.noAccountError,desc:a[i.noAccountError]},silentPromptValueError:{code:i.silentPromptValueError,desc:a[i.silentPromptValueError]},noTokenRequestCacheError:{code:i.noTokenRequestCacheError,desc:a[i.noTokenRequestCacheError]},unableToParseTokenRequestCacheError:{code:i.unableToParseTokenRequestCacheError,desc:a[i.unableToParseTokenRequestCacheError]},noCachedAuthorityError:{code:i.noCachedAuthorityError,desc:a[i.noCachedAuthorityError]},authRequestNotSet:{code:i.authRequestNotSetError,desc:a[i.authRequestNotSetError]},invalidCacheType:{code:i.invalidCacheType,desc:a[i.invalidCacheType]},notInBrowserEnvironment:{code:i.nonBrowserEnvironment,desc:a[i.nonBrowserEnvironment]},databaseNotOpen:{code:i.databaseNotOpen,desc:a[i.databaseNotOpen]},noNetworkConnectivity:{code:i.noNetworkConnectivity,desc:a[i.noNetworkConnectivity]},postRequestFailed:{code:i.postRequestFailed,desc:a[i.postRequestFailed]},getRequestFailed:{code:i.getRequestFailed,desc:a[i.getRequestFailed]},failedToParseNetworkResponse:{code:i.failedToParseResponse,desc:a[i.failedToParseResponse]},unableToLoadTokenError:{code:i.unableToLoadToken,desc:a[i.unableToLoadToken]},signingKeyNotFoundInStorage:{code:i.cryptoKeyNotFound,desc:a[i.cryptoKeyNotFound]},authCodeRequired:{code:i.authCodeRequired,desc:a[i.authCodeRequired]},authCodeOrNativeAccountRequired:{code:i.authCodeOrNativeAccountIdRequired,desc:a[i.authCodeOrNativeAccountIdRequired]},spaCodeAndNativeAccountPresent:{code:i.spaCodeAndNativeAccountIdPresent,desc:a[i.spaCodeAndNativeAccountIdPresent]},databaseUnavailable:{code:i.databaseUnavailable,desc:a[i.databaseUnavailable]},unableToAcquireTokenFromNativePlatform:{code:i.unableToAcquireTokenFromNativePlatform,desc:a[i.unableToAcquireTokenFromNativePlatform]},nativeHandshakeTimeout:{code:i.nativeHandshakeTimeout,desc:a[i.nativeHandshakeTimeout]},nativeExtensionNotInstalled:{code:i.nativeExtensionNotInstalled,desc:a[i.nativeExtensionNotInstalled]},nativeConnectionNotEstablished:{code:i.nativeConnectionNotEstablished,desc:a[i.nativeConnectionNotEstablished]},uninitializedPublicClientApplication:{code:i.uninitializedPublicClientApplication,desc:a[i.uninitializedPublicClientApplication]},nativePromptNotSupported:{code:i.nativePromptNotSupported,desc:a[i.nativePromptNotSupported]},invalidBase64StringError:{code:i.invalidBase64String,desc:a[i.invalidBase64String]}};class e extends n.WM{constructor(g){super(g,a[g]),Object.setPrototypeOf(this,e.prototype),this.name="BrowserAuthError"}}function u(c){return new e(c)}},32828:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{authCodeOrNativeAccountIdRequired:()=>re,authCodeRequired:()=>Z,authRequestNotSetError:()=>P,blockIframeReload:()=>y,blockNestedPopups:()=>b,cryptoKeyNotFound:()=>K,cryptoNonExistent:()=>i,databaseNotOpen:()=>O,databaseUnavailable:()=>Y,emptyNavigateUri:()=>d,emptyWindowError:()=>p,failedToParseResponse:()=>ue,getRequestFailed:()=>te,hashDoesNotContainKnownProperties:()=>e,hashEmptyError:()=>a,iframeClosedPrematurely:()=>E,interactionInProgress:()=>g,invalidBase64String:()=>ve,invalidCacheType:()=>x,monitorPopupTimeout:()=>C,monitorWindowTimeout:()=>_,nativeConnectionNotEstablished:()=>we,nativeExtensionNotInstalled:()=>ee,nativeHandshakeTimeout:()=>le,nativePromptNotSupported:()=>Oe,noAccountError:()=>A,noCachedAuthorityError:()=>T,noNetworkConnectivity:()=>H,noStateInHash:()=>l,noTokenRequestCacheError:()=>F,nonBrowserEnvironment:()=>N,pkceNotCreated:()=>n,popupWindowError:()=>v,postRequestFailed:()=>G,redirectInIframe:()=>f,silentLogoutUnsupported:()=>M,silentPromptValueError:()=>I,spaCodeAndNativeAccountIdPresent:()=>J,stateInteractionTypeMismatch:()=>c,unableToAcquireTokenFromNativePlatform:()=>$,unableToLoadToken:()=>se,unableToParseState:()=>u,unableToParseTokenRequestCacheError:()=>j,uninitializedPublicClientApplication:()=>ye,userCancelled:()=>S});const n="pkce_not_created",i="crypto_nonexistent",d="empty_navigate_uri",a="hash_empty_error",l="no_state_in_hash",e="hash_does_not_contain_known_properties",u="unable_to_parse_state",c="state_interaction_type_mismatch",g="interaction_in_progress",v="popup_window_error",p="empty_window_error",S="user_cancelled",C="monitor_popup_timeout",_="monitor_window_timeout",f="redirect_in_iframe",y="block_iframe_reload",b="block_nested_popups",E="iframe_closed_prematurely",M="silent_logout_unsupported",A="no_account_error",I="silent_prompt_value_error",F="no_token_request_cache_error",j="unable_to_parse_token_request_cache_error",T="no_cached_authority_error",P="auth_request_not_set_error",x="invalid_cache_type",N="non_browser_environment",O="database_not_open",H="no_network_connectivity",G="post_request_failed",te="get_request_failed",ue="failed_to_parse_response",se="unable_to_load_token",K="crypto_key_not_found",Z="auth_code_required",re="auth_code_or_nativeAccountId_required",J="spa_code_and_nativeAccountId_present",Y="database_unavailable",$="unable_to_acquire_token_from_native_platform",le="native_handshake_timeout",ee="native_extension_not_installed",we="native_connection_not_established",ye="uninitialized_public_client_application",Oe="native_prompt_not_supported",ve="invalid_base64_string"},72592:(pe,h,o)=>{"use strict";o.d(h,{aO:()=>l,c9:()=>a,cf:()=>e});var n=o(66936),i=o(85288);const d={[i.storageNotSupported]:"Given storage configuration option was not supported.",[i.stubbedPublicClientApplicationCalled]:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",[i.inMemRedirectUnavailable]:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."},a={storageNotSupportedError:{code:i.storageNotSupported,desc:d[i.storageNotSupported]},stubPcaInstanceCalled:{code:i.stubbedPublicClientApplicationCalled,desc:d[i.stubbedPublicClientApplicationCalled]},inMemRedirectUnavailable:{code:i.inMemRedirectUnavailable,desc:d[i.inMemRedirectUnavailable]}};class l extends n.WM{constructor(c,g){super(c,g),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,l.prototype)}}function e(u){return new l(u,d[u])}},85288:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{inMemRedirectUnavailable:()=>d,storageNotSupported:()=>n,stubbedPublicClientApplicationCalled:()=>i});const n="storage_not_supported",i="stubbed_public_client_application_called",d="in_mem_redirect_unavailable"},85968:(pe,h,o)=>{"use strict";o.d(h,{c:()=>e});var n=o(34739),i=o(98416),d=o(6536),a=o(28612),l=o(27880);class e{constructor(c,g){this.eventCallbacks=new Map,this.logger=c,this.browserCrypto=g,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}addEventCallback(c){if(typeof window<"u"){const g=(0,l.E5)();return this.eventCallbacks.set(g,c),this.logger.verbose(`Event callback registered with id: ${g}`),g}return null}removeEventCallback(c){this.eventCallbacks.delete(c),this.logger.verbose(`Event callback ${c} removed.`)}enableAccountStorageEvents(){typeof window>"u"||(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))}disableAccountStorageEvents(){typeof window>"u"||(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))}emitEvent(c,g,v,p){if(typeof window<"u"){const S={eventType:c,interactionType:g||null,payload:v||null,error:p||null,timestamp:Date.now()};this.logger.info(`Emitting event: ${c}`),this.eventCallbacks.forEach((C,_)=>{this.logger.verbose(`Emitting event to callback ${_}: ${c}`),C.apply(null,[S])})}}handleAccountCacheChange(c){try{c.key?.includes(n.IH.ACTIVE_ACCOUNT_FILTERS)&&this.emitEvent(a.W.ACTIVE_ACCOUNT_CHANGED);const g=c.newValue||c.oldValue;if(!g)return;const v=JSON.parse(g);if("object"!=typeof v||!i.M.isAccountEntity(v))return;const S=d.B.toObject(new i.M,v).getAccountInfo();!c.oldValue&&c.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(a.W.ACCOUNT_ADDED,void 0,S)):!c.newValue&&c.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(a.W.ACCOUNT_REMOVED,void 0,S))}catch{return}}}},88904:(pe,h,o)=>{"use strict";o.d(h,{M:()=>d});var n=o(28612),i=o(26956);class d{static getInteractionStatusFromEvent(l,e){switch(l.eventType){case n.W.LOGIN_START:return i.Yz.Login;case n.W.SSO_SILENT_START:return i.Yz.SsoSilent;case n.W.ACQUIRE_TOKEN_START:if(l.interactionType===i.wV.Redirect||l.interactionType===i.wV.Popup)return i.Yz.AcquireToken;break;case n.W.HANDLE_REDIRECT_START:return i.Yz.HandleRedirect;case n.W.LOGOUT_START:return i.Yz.Logout;case n.W.SSO_SILENT_SUCCESS:case n.W.SSO_SILENT_FAILURE:if(e&&e!==i.Yz.SsoSilent)break;return i.Yz.None;case n.W.LOGOUT_END:if(e&&e!==i.Yz.Logout)break;return i.Yz.None;case n.W.HANDLE_REDIRECT_END:if(e&&e!==i.Yz.HandleRedirect)break;return i.Yz.None;case n.W.LOGIN_SUCCESS:case n.W.LOGIN_FAILURE:case n.W.ACQUIRE_TOKEN_SUCCESS:case n.W.ACQUIRE_TOKEN_FAILURE:case n.W.RESTORE_FROM_BFCACHE:if(l.interactionType===i.wV.Redirect||l.interactionType===i.wV.Popup){if(e&&e!==i.Yz.Login&&e!==i.Yz.AcquireToken)break;return i.Yz.None}}return null}}},28612:(pe,h,o)=>{"use strict";o.d(h,{W:()=>n});const n={INITIALIZE_START:"msal:initializeStart",INITIALIZE_END:"msal:initializeEnd",ACCOUNT_ADDED:"msal:accountAdded",ACCOUNT_REMOVED:"msal:accountRemoved",ACTIVE_ACCOUNT_CHANGED:"msal:activeAccountChanged",LOGIN_START:"msal:loginStart",LOGIN_SUCCESS:"msal:loginSuccess",LOGIN_FAILURE:"msal:loginFailure",ACQUIRE_TOKEN_START:"msal:acquireTokenStart",ACQUIRE_TOKEN_SUCCESS:"msal:acquireTokenSuccess",ACQUIRE_TOKEN_FAILURE:"msal:acquireTokenFailure",ACQUIRE_TOKEN_NETWORK_START:"msal:acquireTokenFromNetworkStart",SSO_SILENT_START:"msal:ssoSilentStart",SSO_SILENT_SUCCESS:"msal:ssoSilentSuccess",SSO_SILENT_FAILURE:"msal:ssoSilentFailure",ACQUIRE_TOKEN_BY_CODE_START:"msal:acquireTokenByCodeStart",ACQUIRE_TOKEN_BY_CODE_SUCCESS:"msal:acquireTokenByCodeSuccess",ACQUIRE_TOKEN_BY_CODE_FAILURE:"msal:acquireTokenByCodeFailure",HANDLE_REDIRECT_START:"msal:handleRedirectStart",HANDLE_REDIRECT_END:"msal:handleRedirectEnd",POPUP_OPENED:"msal:popupOpened",LOGOUT_START:"msal:logoutStart",LOGOUT_SUCCESS:"msal:logoutSuccess",LOGOUT_FAILURE:"msal:logoutFailure",LOGOUT_END:"msal:logoutEnd",RESTORE_FROM_BFCACHE:"msal:restoreFromBFCache"}},21112:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{AccountEntity:()=>ot.M,ApiId:()=>e.Ed,AuthError:()=>tt.WM,AuthErrorCodes:()=>mt,AuthErrorMessage:()=>tt.GM,AuthenticationHeaderParser:()=>Ze,AuthenticationScheme:()=>$.me,AzureCloudInstance:()=>Qe.C,BrowserAuthError:()=>P.G,BrowserAuthErrorCodes:()=>_n,BrowserAuthErrorMessage:()=>P.aC,BrowserCacheLocation:()=>e.Ir,BrowserConfigurationAuthError:()=>x.aO,BrowserConfigurationAuthErrorCodes:()=>N,BrowserConfigurationAuthErrorMessage:()=>x.c9,BrowserPerformanceClient:()=>Oe,BrowserPerformanceMeasurement:()=>ve.BrowserPerformanceMeasurement,BrowserStorage:()=>te.K,BrowserUtils:()=>n,CacheLookupPolicy:()=>e.wd,ClientAuthError:()=>Ct.oJ,ClientAuthErrorCodes:()=>Xe,ClientAuthErrorMessage:()=>Ct.m6,ClientConfigurationError:()=>_e.Ou,ClientConfigurationErrorCodes:()=>Pe,ClientConfigurationErrorMessage:()=>_e.OA,DEFAULT_IFRAME_TIMEOUT_MS:()=>a.Ks,EventMessageUtils:()=>ue.M,EventType:()=>se.W,InteractionRequiredAuthError:()=>nt.uw,InteractionRequiredAuthErrorCodes:()=>Pt,InteractionRequiredAuthErrorMessage:()=>nt.gx,InteractionStatus:()=>e.Yz,InteractionType:()=>e.wV,JsonWebTokenTypes:()=>$.Gu,LogLevel:()=>d.G,Logger:()=>d.Y,MemoryStorage:()=>G.W,NavigationClient:()=>H.m,OIDC_DEFAULT_SCOPES:()=>$.ac,PerformanceEvents:()=>re.Xv,PromptValue:()=>$.GI,ProtocolMode:()=>tn.g,PublicClientApplication:()=>b,PublicClientNext:()=>T,ServerError:()=>hn.s,ServerResponseType:()=>$.eE,SignedHttpRequest:()=>Z,StringUtils:()=>wn.e,UrlString:()=>An._,WrapperSKU:()=>e.Lm,stubbedPublicClientApplication:()=>O,version:()=>l.W});var n=o(84644),i=o(1528),d=o(73364),a=o(48124),l=o(69096),e=o(26956);class u{static loggerCallback(ht,Ue){switch(ht){case d.G.Error:return void console.error(Ue);case d.G.Info:return void console.info(Ue);case d.G.Verbose:return void console.debug(Ue);case d.G.Warning:return void console.warn(Ue);default:return void console.log(Ue)}}constructor(ht){let Ue;this.browserEnvironment=typeof window<"u",this.config=(0,a.k5)(ht,this.browserEnvironment);try{Ue=window[e.Ir.SessionStorage]}catch{}const Ee=Ue?.getItem(e.Ip),Te=Ue?.getItem(e.k9)?.toLowerCase(),$e="true"===Te||"false"!==Te&&void 0,je={...this.config.system.loggerOptions},gt=Ee&&Object.keys(d.G).includes(Ee)?d.G[Ee]:void 0;gt&&(je.loggerCallback=u.loggerCallback,je.logLevel=gt),void 0!==$e&&(je.piiLoggingEnabled=$e),this.logger=new d.Y(je,l.N,l.W),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}}var c=o(59048);let g=(()=>{class qt{static initializeNestedAppAuthBridge(){return(0,i.c)(function*(){if(void 0===window)throw new Error("window is undefined");if(void 0===window.nestedAppAuthBridge)throw new Error("window.nestedAppAuthBridge is undefined");if(void 0===window.crypto)throw new Error("window.crypto is undefined");try{qt.crypto=window.crypto,window.nestedAppAuthBridge.addEventListener("message",Ee=>{const $e=JSON.parse("string"==typeof Ee?Ee:Ee.data),je=qt.bridgeRequests.find(gt=>gt.requestId===$e.requestId);void 0!==je&&(qt.bridgeRequests.splice(qt.bridgeRequests.indexOf(je),1),$e.success?je.resolve($e):je.reject($e.error))});const Ue=yield new Promise((Ee,Te)=>{const $e={messageType:"NestedAppAuthRequest",method:"GetInitContext",requestId:qt.getRandomId()};qt.bridgeRequests.push({requestId:$e.requestId,method:$e.method,resolve:Ee,reject:Te}),window.nestedAppAuthBridge.postMessage(JSON.stringify($e))});return qt.validateBridgeResultOrThrow(Ue.initContext)}catch(Ue){throw window.console.log(Ue),Ue}})()}static getRandomId(){return qt.crypto.randomUUID()}getTokenInteractive(Ue){return this.getToken("GetTokenPopup",Ue)}getTokenSilent(Ue){return this.getToken("GetToken",Ue)}getToken(Ue,Ee){var Te=this;return(0,i.c)(function*(){const $e=yield Te.sendRequest(Ue,{tokenParams:Ee});return{token:qt.validateBridgeResultOrThrow($e.token),account:qt.validateBridgeResultOrThrow($e.account)}})()}getActiveAccount(){var Ue=this;return(0,i.c)(function*(){const Ee=yield Ue.sendRequest("GetActiveAccount");return qt.validateBridgeResultOrThrow(Ee.account)})()}getHostCapabilities(){return this.capabilities??null}sendRequest(Ue,Ee){const Te={messageType:"NestedAppAuthRequest",method:Ue,requestId:qt.getRandomId(),...Ee};return new Promise((je,gt)=>{qt.bridgeRequests.push({requestId:Te.requestId,method:Te.method,resolve:je,reject:gt}),window.nestedAppAuthBridge.postMessage(JSON.stringify(Te))})}static validateBridgeResultOrThrow(Ue){if(void 0===Ue)throw{status:c.I.NestedAppAuthUnavailable};return Ue}constructor(Ue,Ee,Te){this.sdkName=Ue,this.sdkVersion=Ee,this.capabilities=Te}static create(){return(0,i.c)(function*(){const Ue=yield qt.initializeNestedAppAuthBridge();return new qt(Ue.sdkName,Ue.sdkVersion,Ue.capabilities)})()}}return qt.bridgeRequests=[],qt})(),v=(()=>{class qt extends u{constructor(){super(...arguments),this.bridgeProxy=void 0,this.activeAccount=void 0}getModuleName(){return qt.MODULE_NAME}getId(){return qt.ID}getBridgeProxy(){return this.bridgeProxy}getActiveAccount(){return this.activeAccount}setActiveAccount(Ue){this.activeAccount=Ue}initialize(){var Ue=this;return(0,i.c)(function*(){try{if(typeof window<"u"){const Ee=yield g.create();try{Ee.getHostCapabilities()?.queryAccount&&(Ue.activeAccount=yield Ee.getActiveAccount())}catch{Ue.activeAccount=void 0}Ue.bridgeProxy=Ee,Ue.available=void 0!==Ee}else Ue.available=!1}catch{Ue.available=!1}finally{return Ue.available}})()}}return qt.MODULE_NAME="",qt.ID="TeamsAppOperatingContext",qt})(),p=(()=>{class qt extends u{getModuleName(){return qt.MODULE_NAME}getId(){return qt.ID}initialize(){var Ue=this;return(0,i.c)(function*(){return Ue.available=typeof window<"u",Ue.available})()}}return qt.MODULE_NAME="",qt.ID="StandardOperatingContext",qt})();function C(){return(C=(0,i.c)(function*(qt){const ht=new p(qt);return yield ht.initialize(),(yield Promise.resolve().then(o.bind(o,65304))).StandardController.createController(ht)})).apply(this,arguments)}function _(qt){return f.apply(this,arguments)}function f(){return(f=(0,i.c)(function*(qt){const ht=new p(qt),Ue=new v(qt),Ee=[ht.initialize(),Ue.initialize()];return yield Promise.all(Ee),Ue.isAvailable()&&Ue.getConfig().auth.supportsNestedAppAuth?(yield o.e(1620).then(o.bind(o,61620))).NestedAppAuthController.createController(Ue):ht.isAvailable()?(yield Promise.resolve().then(o.bind(o,65304))).StandardController.createController(ht):null})).apply(this,arguments)}var y=o(65304);class b{static createPublicClientApplication(ht){return(0,i.c)(function*(){const Ue=yield function S(qt){return C.apply(this,arguments)}(ht);return new b(ht,Ue)})()}constructor(ht,Ue){if(Ue)this.controller=Ue;else{const Ee=new p(ht);this.controller=new y.StandardController(Ee)}}initialize(){var ht=this;return(0,i.c)(function*(){return ht.controller.initialize()})()}acquireTokenPopup(ht){var Ue=this;return(0,i.c)(function*(){return Ue.controller.acquireTokenPopup(ht)})()}acquireTokenRedirect(ht){return this.controller.acquireTokenRedirect(ht)}acquireTokenSilent(ht){return this.controller.acquireTokenSilent(ht)}acquireTokenByCode(ht){return this.controller.acquireTokenByCode(ht)}addEventCallback(ht){return this.controller.addEventCallback(ht)}removeEventCallback(ht){return this.controller.removeEventCallback(ht)}addPerformanceCallback(ht){return this.controller.addPerformanceCallback(ht)}removePerformanceCallback(ht){return this.controller.removePerformanceCallback(ht)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(ht){return this.controller.getAccount(ht)}getAccountByHomeId(ht){return this.controller.getAccountByHomeId(ht)}getAccountByLocalId(ht){return this.controller.getAccountByLocalId(ht)}getAccountByUsername(ht){return this.controller.getAccountByUsername(ht)}getAllAccounts(ht){return this.controller.getAllAccounts(ht)}handleRedirectPromise(ht){return this.controller.handleRedirectPromise(ht)}loginPopup(ht){return this.controller.loginPopup(ht)}loginRedirect(ht){return this.controller.loginRedirect(ht)}logout(ht){return this.controller.logout(ht)}logoutRedirect(ht){return this.controller.logoutRedirect(ht)}logoutPopup(ht){return this.controller.logoutPopup(ht)}ssoSilent(ht){return this.controller.ssoSilent(ht)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(ht){this.controller.setLogger(ht)}setActiveAccount(ht){this.controller.setActiveAccount(ht)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(ht,Ue){return this.controller.initializeWrapperLibrary(ht,Ue)}setNavigationClient(ht){this.controller.setNavigationClient(ht)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(ht,Ue){var Ee=this;return(0,i.c)(function*(){return Ee.controller.hydrateCache(ht,Ue)})()}clearCache(ht){return this.controller.clearCache(ht)}}var E=o(65172),M=o(69812),A=o(7184),I=o(85968);class F{constructor(ht){this.initialized=!1,this.operatingContext=ht,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=ht.getConfig(),this.logger=ht.getLogger(),this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new A.A(this.logger,this.performanceClient):E.K,this.browserStorage=this.isBrowserEnvironment?new M.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):(0,M.S)(this.config.auth.clientId,this.logger),this.eventHandler=new I.c(this.logger,this.browserCrypto)}getBrowserStorage(){return this.browserStorage}getEventHandler(){return this.eventHandler}getAccount(ht){return null}getAccountByHomeId(ht){return null}getAccountByLocalId(ht){return null}getAccountByUsername(ht){return null}getAllAccounts(){return[]}initialize(){return this.initialized=!0,Promise.resolve()}acquireTokenPopup(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenRedirect(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),Promise.resolve()}acquireTokenSilent(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByCode(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenNative(ht,Ue,Ee){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByRefreshToken(ht,Ue){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}addEventCallback(ht){return this.eventHandler.addEventCallback(ht)}removeEventCallback(ht){this.eventHandler.removeEventCallback(ht)}addPerformanceCallback(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),""}removePerformanceCallback(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),!0}enableAccountStorageEvents(){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}disableAccountStorageEvents(){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}handleRedirectPromise(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),Promise.resolve(null)}loginPopup(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}loginRedirect(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logout(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutRedirect(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutPopup(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}ssoSilent(ht){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getTokenCache(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getLogger(){return this.logger}setLogger(ht){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}setActiveAccount(ht){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getActiveAccount(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),null}initializeWrapperLibrary(ht,Ue){this.browserStorage.setWrapperMetadata(ht,Ue)}setNavigationClient(ht){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getConfiguration(){return this.config}isBrowserEnv(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),!0}getBrowserCrypto(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getPerformanceClient(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getRedirectResponse(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}preflightBrowserEnvironmentCheck(ht,Ue){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}clearCache(ht){var Ue=this;return(0,i.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(Ue.initialized),(0,n.blockNonBrowserEnvironment)(Ue.isBrowserEnvironment)})()}hydrateCache(ht,Ue){var Ee=this;return(0,i.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(Ee.initialized),(0,n.blockNonBrowserEnvironment)(Ee.isBrowserEnvironment)})()}}let j=(()=>{class qt extends u{getModuleName(){return qt.MODULE_NAME}getId(){return qt.ID}initialize(){return(0,i.c)(function*(){return!0})()}}return qt.MODULE_NAME="",qt.ID="UnknownOperatingContext",qt})();class T{static createPublicClientApplication(ht){return(0,i.c)(function*(){const Ue=yield _(ht);let Ee;return Ee=null!==Ue?new T(ht,Ue):new T(ht),Ee})()}constructor(ht,Ue){if(this.configuration=ht,Ue)this.controller=Ue;else{const Ee=new j(ht);this.controller=new F(Ee)}}initialize(){var ht=this;return(0,i.c)(function*(){if(ht.controller instanceof F){const Ue=yield _(ht.configuration);return null!==Ue&&(ht.controller=Ue),ht.controller.initialize()}return Promise.resolve()})()}acquireTokenPopup(ht){var Ue=this;return(0,i.c)(function*(){return Ue.controller.acquireTokenPopup(ht)})()}acquireTokenRedirect(ht){return this.controller.acquireTokenRedirect(ht)}acquireTokenSilent(ht){return this.controller.acquireTokenSilent(ht)}acquireTokenByCode(ht){return this.controller.acquireTokenByCode(ht)}addEventCallback(ht){return this.controller.addEventCallback(ht)}removeEventCallback(ht){return this.controller.removeEventCallback(ht)}addPerformanceCallback(ht){return this.controller.addPerformanceCallback(ht)}removePerformanceCallback(ht){return this.controller.removePerformanceCallback(ht)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(ht){return this.controller.getAccount(ht)}getAccountByHomeId(ht){return this.controller.getAccountByHomeId(ht)}getAccountByLocalId(ht){return this.controller.getAccountByLocalId(ht)}getAccountByUsername(ht){return this.controller.getAccountByUsername(ht)}getAllAccounts(ht){return this.controller.getAllAccounts(ht)}handleRedirectPromise(ht){return this.controller.handleRedirectPromise(ht)}loginPopup(ht){return this.controller.loginPopup(ht)}loginRedirect(ht){return this.controller.loginRedirect(ht)}logout(ht){return this.controller.logout(ht)}logoutRedirect(ht){return this.controller.logoutRedirect(ht)}logoutPopup(ht){return this.controller.logoutPopup(ht)}ssoSilent(ht){return this.controller.ssoSilent(ht)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(ht){this.controller.setLogger(ht)}setActiveAccount(ht){this.controller.setActiveAccount(ht)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(ht,Ue){return this.controller.initializeWrapperLibrary(ht,Ue)}setNavigationClient(ht){this.controller.setNavigationClient(ht)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(ht,Ue){var Ee=this;return(0,i.c)(function*(){return Ee.controller.hydrateCache(ht,Ue)})()}clearCache(ht){return this.controller.clearCache(ht)}}var P=o(4792),x=o(72592),N=o(85288);const O={initialize:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),acquireTokenPopup:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),acquireTokenRedirect:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),acquireTokenSilent:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),acquireTokenByCode:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),getAllAccounts:()=>[],getAccountByHomeId:()=>null,getAccountByUsername:()=>null,getAccountByLocalId:()=>null,handleRedirectPromise:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),loginPopup:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),loginRedirect:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),logout:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),logoutRedirect:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),logoutPopup:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),ssoSilent:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),addEventCallback:()=>null,removeEventCallback:()=>{},addPerformanceCallback:()=>"",removePerformanceCallback:()=>!1,enableAccountStorageEvents:()=>{},disableAccountStorageEvents:()=>{},getTokenCache:()=>{throw(0,x.cf)(N.stubbedPublicClientApplicationCalled)},getLogger:()=>{throw(0,x.cf)(N.stubbedPublicClientApplicationCalled)},setLogger:()=>{},setActiveAccount:()=>{},getActiveAccount:()=>null,initializeWrapperLibrary:()=>{},setNavigationClient:()=>{},getConfiguration:()=>{throw(0,x.cf)(N.stubbedPublicClientApplicationCalled)},hydrateCache:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled)),clearCache:()=>Promise.reject((0,x.cf)(N.stubbedPublicClientApplicationCalled))};var H=o(64952),G=o(61744),te=o(71720),ue=o(88904),se=o(28612),K=o(46392);class Z{constructor(ht,Ue){this.logger=new d.Y(Ue&&Ue.loggerOptions||{},l.N,l.W),this.cryptoOps=new A.A(this.logger),this.popTokenGenerator=new K.w(this.cryptoOps),this.shrParameters=ht}generatePublicKeyThumbprint(){var ht=this;return(0,i.c)(function*(){const{kid:Ue}=yield ht.popTokenGenerator.generateKid(ht.shrParameters);return Ue})()}signRequest(ht,Ue,Ee){var Te=this;return(0,i.c)(function*(){return Te.popTokenGenerator.signPayload(ht,Ue,Te.shrParameters,Ee)})()}removeKeys(ht){var Ue=this;return(0,i.c)(function*(){return Ue.cryptoOps.removeTokenBindingKey(ht)})()}}var re=o(85348),J=o(35128);class Y{constructor(ht,Ue,Ee,Te,$e,je,gt){this.authority=Ue,this.libraryName=Te,this.libraryVersion=$e,this.applicationTelemetry=je,this.clientId=ht,this.logger=Ee,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.queueMeasurements=new Map,this.preQueueTimeByCorrelationId=new Map,this.intFields=gt||new Set;for(const He of re.ol)this.intFields.add(He)}startPerformanceMeasurement(ht,Ue){return{}}getPreQueueTime(ht,Ue){const Ee=this.preQueueTimeByCorrelationId.get(Ue);if(Ee){if(Ee.name===ht)return Ee.time;this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue time found for ${ht}, unable to add queue measurement`)}else this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue times found for correlationId: ${Ue}, unable to add queue measurement`)}calculateQueuedTime(ht,Ue){return ht<1?(this.logger.trace(`PerformanceClient: preQueueTime should be a positive integer and not ${ht}`),0):Ue<1?(this.logger.trace(`PerformanceClient: currentTime should be a positive integer and not ${Ue}`),0):Uethis.endMeasurement({...Te,...$e}),discard:()=>this.discardMeasurements(Te.correlationId),add:$e=>this.addFields($e,Te.correlationId),increment:$e=>this.incrementFields($e,Te.correlationId),event:Te,measurement:new J.W}}endMeasurement(ht){const Ue=this.eventsByCorrelationId.get(ht.correlationId);if(!Ue)return this.logger.trace(`PerformanceClient: Measurement not found for ${ht.eventId}`,ht.correlationId),null;const Ee=ht.eventId===Ue.eventId;let Te={totalQueueTime:0,totalQueueCount:0,manuallyCompletedCount:0};Ee?(Te=this.getQueueInfo(ht.correlationId),this.discardCache(Ue.correlationId)):Ue.incompleteSubMeasurements?.delete(ht.eventId);const $e=ht.durationMs||this.getDurationMs(ht.startTimeMs);if(this.logger.trace(`PerformanceClient: Performance measurement ended for ${ht.name}: ${$e} ms`,ht.correlationId),!Ee)return Ue[ht.name+"DurationMs"]=Math.floor($e),{...Ue};let je={...Ue,...ht},gt=0;return je.incompleteSubMeasurements?.forEach(He=>{this.logger.trace(`PerformanceClient: Incomplete submeasurement ${He.name} found for ${ht.name}`,je.correlationId),gt++}),je.incompleteSubMeasurements=void 0,je={...je,durationMs:Math.round($e),queuedTimeMs:Te.totalQueueTime,queuedCount:Te.totalQueueCount,queuedManuallyCompletedCount:Te.manuallyCompletedCount,status:re.W8.Completed,incompleteSubsCount:gt},this.truncateIntegralFields(je),this.emitEvents([je],ht.correlationId),je}addFields(ht,Ue){this.logger.trace("PerformanceClient: Updating static fields");const Ee=this.eventsByCorrelationId.get(Ue);Ee?this.eventsByCorrelationId.set(Ue,{...Ee,...ht}):this.logger.trace("PerformanceClient: Event not found for",Ue)}incrementFields(ht,Ue){this.logger.trace("PerformanceClient: Updating counters");const Ee=this.eventsByCorrelationId.get(Ue);if(Ee)for(const Te in ht){if(Ee.hasOwnProperty(Te)){if(isNaN(Number(Ee[Te])))return}else Ee[Te]=0;Ee[Te]+=ht[Te]}else this.logger.trace("PerformanceClient: Event not found for",Ue)}cacheEventByCorrelationId(ht){const Ue=this.eventsByCorrelationId.get(ht.correlationId);Ue?(this.logger.trace(`PerformanceClient: Performance measurement for ${ht.name} added/updated`,ht.correlationId),Ue.incompleteSubMeasurements=Ue.incompleteSubMeasurements||new Map,Ue.incompleteSubMeasurements.set(ht.eventId,{name:ht.name,startTimeMs:ht.startTimeMs})):(this.logger.trace(`PerformanceClient: Performance measurement for ${ht.name} started`,ht.correlationId),this.eventsByCorrelationId.set(ht.correlationId,{...ht}))}getQueueInfo(ht){const Ue=this.queueMeasurements.get(ht);Ue||this.logger.trace(`PerformanceClient: no queue measurements found for for correlationId: ${ht}`);let Ee=0,Te=0,$e=0;return Ue?.forEach(je=>{Ee+=je.queueTime,Te++,$e+=je.manuallyCompleted?1:0}),{totalQueueTime:Ee,totalQueueCount:Te,manuallyCompletedCount:$e}}discardMeasurements(ht){this.logger.trace("PerformanceClient: Performance measurements discarded",ht),this.eventsByCorrelationId.delete(ht)}discardCache(ht){this.discardMeasurements(ht),this.logger.trace("PerformanceClient: QueueMeasurements discarded",ht),this.queueMeasurements.delete(ht),this.logger.trace("PerformanceClient: Pre-queue times discarded",ht),this.preQueueTimeByCorrelationId.delete(ht)}addPerformanceCallback(ht){const Ue=this.generateId();return this.callbacks.set(Ue,ht),this.logger.verbose(`PerformanceClient: Performance callback registered with id: ${Ue}`),Ue}removePerformanceCallback(ht){const Ue=this.callbacks.delete(ht);return this.logger.verbose(Ue?`PerformanceClient: Performance callback ${ht} removed.`:`PerformanceClient: Performance callback ${ht} not removed.`),Ue}emitEvents(ht,Ue){this.logger.verbose("PerformanceClient: Emitting performance events",Ue),this.callbacks.forEach((Ee,Te)=>{this.logger.trace(`PerformanceClient: Emitting event to callback ${Te}`,Ue),Ee.apply(null,[ht])})}truncateIntegralFields(ht){this.intFields.forEach(Ue=>{Ue in ht&&"number"==typeof ht[Ue]&&(ht[Ue]=Math.floor(ht[Ue]))})}getDurationMs(ht){const Ue=Date.now()-ht;return Ue<0?Ue:0}}var $=o(34739),le=o(27880);function ee(){let qt;try{qt=window[e.Ir.SessionStorage];const ht=qt?.getItem(e.OG);if(1===Number(ht))return Promise.resolve().then(o.bind(o,18156))}catch{}}function we(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.now}function ye(qt){if(qt&&we())return Math.round(window.performance.now()-qt)}class Oe extends Y{constructor(ht,Ue){super(ht.auth.clientId,ht.auth.authority||`${$.Mv.DEFAULT_AUTHORITY}`,new d.Y(ht.system?.loggerOptions||{},l.N,l.W),l.N,l.W,ht.telemetry?.application||{appName:"",appVersion:""},Ue)}generateId(){return(0,le.E5)()}getPageVisibility(){return document.visibilityState?.toString()||null}deleteIncompleteSubMeasurements(ht){ee()?.then(Ue=>{const Ee=this.eventsByCorrelationId.get(ht.event.correlationId),$e=[];Ee&&Ee.eventId===ht.event.eventId&&Ee?.incompleteSubMeasurements&&Ee.incompleteSubMeasurements.forEach(je=>{$e.push({...je})}),Ue.BrowserPerformanceMeasurement.flushMeasurements(ht.event.correlationId,$e)})}startMeasurement(ht,Ue){const Ee=this.getPageVisibility(),Te=super.startMeasurement(ht,Ue),$e=we()?window.performance.now():void 0,je=ee()?.then(gt=>new gt.BrowserPerformanceMeasurement(ht,Te.event.correlationId));return je?.then(gt=>gt.startMeasurement()),{...Te,end:gt=>{const He=Te.end({...gt,startPageVisibility:Ee,endPageVisibility:this.getPageVisibility(),durationMs:ye($e)});return je?.then(vt=>vt.endMeasurement()),this.deleteIncompleteSubMeasurements(Te),He},discard:()=>{Te.discard(),je?.then(gt=>gt.flushMeasurement()),this.deleteIncompleteSubMeasurements(Te)}}}setPreQueueTime(ht,Ue){if(!we())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for ${ht}`);if(!Ue)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${ht} not provided, unable to set telemetry queue time`);const Ee=this.preQueueTimeByCorrelationId.get(Ue);Ee&&(this.logger.trace(`BrowserPerformanceClient: Incomplete pre-queue ${Ee.name} found`,Ue),this.addQueueMeasurement(Ee.name,Ue,void 0,!0)),this.preQueueTimeByCorrelationId.set(Ue,{name:ht,time:window.performance.now()})}addQueueMeasurement(ht,Ue,Ee,Te){if(!we())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to add queue measurement for ${ht}`);if(!Ue)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${ht} not provided, unable to add queue measurement`);const $e=super.getPreQueueTime(ht,Ue);if(!$e)return;const je=window.performance.now(),gt=Ee||super.calculateQueuedTime($e,je);return super.addQueueMeasurement(ht,Ue,gt,Te)}}var ve=o(18156),_e=o(59684),Pe=o(32336);class Ze{constructor(ht){this.headers=ht}getShrNonce(){const ht=this.headers[$.MF.AuthenticationInfo];if(ht){const Ee=this.parseChallenges(ht);if(Ee.nextnonce)return Ee.nextnonce;throw(0,_e.QN)(Pe.invalidAuthenticationHeader)}const Ue=this.headers[$.MF.WWWAuthenticate];if(Ue){const Ee=this.parseChallenges(Ue);if(Ee.nonce)return Ee.nonce;throw(0,_e.QN)(Pe.invalidAuthenticationHeader)}throw(0,_e.QN)(Pe.missingNonceAuthenticationHeader)}parseChallenges(ht){const Ue=ht.indexOf(" "),Ee=ht.substr(Ue+1).split(","),Te={};return Ee.forEach($e=>{const[je,gt]=$e.split("=");Te[je]=unescape(gt.replace(/['"]+/g,$.Mv.EMPTY_STRING))}),Te}}var ot=o(98416),tt=o(66936),mt=o(83228),Qe=o(67952),Ct=o(28876),Xe=o(71408),nt=o(53408),Pt=o(72896),tn=o(65072),hn=o(76944),wn=o(7828),An=o(67648),_n=o(32828)},59048:(pe,h,o)=>{"use strict";o.d(h,{I:()=>n});const n={UserInteractionRequired:"USER_INTERACTION_REQUIRED",UserCancel:"USER_CANCEL",NoNetwork:"NO_NETWORK",TransientError:"TRANSIENT_ERROR",PersistentError:"PERSISTENT_ERROR",Disabled:"DISABLED",AccountUnavailable:"ACCOUNT_UNAVAILABLE",NestedAppAuthUnavailable:"NESTED_APP_AUTH_UNAVAILABLE"}},64952:(pe,h,o)=>{"use strict";o.d(h,{m:()=>n});class n{navigateInternal(d,a){return n.defaultNavigateWindow(d,a)}navigateExternal(d,a){return n.defaultNavigateWindow(d,a)}static defaultNavigateWindow(d,a){return a.noHistory?window.location.replace(d):window.location.assign(d),new Promise(l=>{setTimeout(()=>{l(!0)},a.timeout)})}}},69096:(pe,h,o)=>{"use strict";o.d(h,{N:()=>n,W:()=>i});const n="@azure/msal-browser",i="3.10.0"},18156:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{BrowserPerformanceMeasurement:()=>n});class n{constructor(d,a){this.correlationId=a,this.measureName=n.makeMeasureName(d,a),this.startMark=n.makeStartMark(d,a),this.endMark=n.makeEndMark(d,a)}static makeMeasureName(d,a){return`msal.measure.${d}.${a}`}static makeStartMark(d,a){return`msal.start.${d}.${a}`}static makeEndMark(d,a){return`msal.end.${d}.${a}`}static supportsBrowserPerformance(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.mark&&"function"==typeof window.performance.measure&&"function"==typeof window.performance.clearMarks&&"function"==typeof window.performance.clearMeasures&&"function"==typeof window.performance.getEntriesByName}static flushMeasurements(d,a){if(n.supportsBrowserPerformance())try{a.forEach(l=>{const e=n.makeMeasureName(l.name,d);window.performance.getEntriesByName(e,"measure").length>0&&(window.performance.clearMeasures(e),window.performance.clearMarks(n.makeStartMark(e,d)),window.performance.clearMarks(n.makeEndMark(e,d)))})}catch{}}startMeasurement(){if(n.supportsBrowserPerformance())try{window.performance.mark(this.startMark)}catch{}}endMeasurement(){if(n.supportsBrowserPerformance())try{window.performance.mark(this.endMark),window.performance.measure(this.measureName,this.startMark,this.endMark)}catch{}}flushMeasurement(){if(n.supportsBrowserPerformance())try{const d=window.performance.getEntriesByName(this.measureName,"measure");if(d.length>0){const a=d[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),a}}catch{}return null}}},26956:(pe,h,o)=>{"use strict";o.d(h,{CM:()=>g,Ce:()=>a,Ed:()=>v,Ip:()=>I,Ir:()=>l,Lm:()=>f,OG:()=>j,UZ:()=>c,Yz:()=>S,a:()=>A,eG:()=>_,eQ:()=>E,f6:()=>y,gV:()=>b,ig:()=>i,k9:()=>F,sJ:()=>d,wV:()=>p,wd:()=>M,wv:()=>C,yI:()=>e,zH:()=>u});var n=o(34739);const i={INTERACTION_IN_PROGRESS_VALUE:"interaction_in_progress",INVALID_GRANT_ERROR:"invalid_grant",POPUP_WIDTH:483,POPUP_HEIGHT:600,POPUP_NAME_PREFIX:"msal",DEFAULT_POLL_INTERVAL_MS:30,MSAL_SKU:"msal.js.browser"},d={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"},a={HandshakeRequest:"Handshake",HandshakeResponse:"HandshakeResponse",GetToken:"GetToken",Response:"Response"},l={LocalStorage:"localStorage",SessionStorage:"sessionStorage",MemoryStorage:"memoryStorage"},e={GET:"GET",POST:"POST"},u={AUTHORITY:"authority",ACQUIRE_TOKEN_ACCOUNT:"acquireToken.account",SESSION_STATE:"session.state",REQUEST_STATE:"request.state",NONCE_IDTOKEN:"nonce.id_token",ORIGIN_URI:"request.origin",RENEW_STATUS:"token.renew.status",URL_HASH:"urlHash",REQUEST_PARAMS:"request.params",SCOPES:"scopes",INTERACTION_STATUS_KEY:"interaction.status",CCS_CREDENTIAL:"ccs.credential",CORRELATION_ID:"request.correlationId",NATIVE_REQUEST:"request.native",REDIRECT_CONTEXT:"request.redirect.context"},c={ACCOUNT_KEYS:"msal.account.keys",TOKEN_KEYS:"msal.token.keys"},g={WRAPPER_SKU:"wrapper.sku",WRAPPER_VER:"wrapper.version"},v={acquireTokenRedirect:861,acquireTokenPopup:862,ssoSilent:863,acquireTokenSilent_authCode:864,handleRedirectPromise:865,acquireTokenByCode:866,acquireTokenSilent_silentFlow:61,logout:961,logoutPopup:962};var p=function(T){return T.Redirect="redirect",T.Popup="popup",T.Silent="silent",T.None="none",T}(p||{});const S={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},C={scopes:n.ac},_="jwk",f={React:"@azure/msal-react",Angular:"@azure/msal-angular"},y="msal.db",b=1,E=`${y}.keys`,M={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},A=[M.Default,M.Skip,M.RefreshTokenAndNetwork],I="msal.browser.log.level",F="msal.browser.log.pii",j="msal.browser.performance.enabled"},99632:(pe,h,o)=>{"use strict";o.d(h,{Q:()=>a});var n=o(86144),i=o(28876),d=o(71408);function a(l,e){if(!e)return null;try{return n.c.parseRequestState(l,e).libraryState.meta}catch{throw(0,i.mQ)(d.invalidState)}}},84644:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{blockAPICallsBeforeInitialize:()=>y,blockAcquireTokenInPopups:()=>_,blockNonBrowserEnvironment:()=>f,blockRedirectInIframe:()=>C,blockReloadInHiddenIframes:()=>S,clearHash:()=>e,createGuid:()=>E,getCurrentUri:()=>v,getHomepage:()=>p,isInIframe:()=>c,isInPopup:()=>g,preconnect:()=>b,replaceHash:()=>u});var n=o(67648),i=o(4792),d=o(26956),a=o(27880),l=o(32828);function e(M){M.location.hash="","function"==typeof M.history.replaceState&&M.history.replaceState(null,"",`${M.location.origin}${M.location.pathname}${M.location.search}`)}function u(M){const A=M.split("#");A.shift(),window.location.hash=A.length>0?A.join("#"):""}function c(){return window.parent!==window}function g(){return typeof window<"u"&&!!window.opener&&window.opener!==window&&"string"==typeof window.name&&0===window.name.indexOf(`${d.ig.POPUP_NAME_PREFIX}.`)}function v(){return window.location.href.split("?")[0].split("#")[0]}function p(){const A=new n._(window.location.href).getUrlComponents();return`${A.Protocol}//${A.HostNameAndPort}/`}function S(){if(n._.hashContainsKnownProperties(window.location.hash)&&c())throw(0,i.Wq)(l.blockIframeReload)}function C(M,A){const I=c();if(M===d.wV.Redirect&&I&&!A)throw(0,i.Wq)(l.redirectInIframe)}function _(){if(g())throw(0,i.Wq)(l.blockNestedPopups)}function f(M){if(!M)throw(0,i.Wq)(l.nonBrowserEnvironment)}function y(M){if(!M)throw(0,i.Wq)(l.uninitializedPublicClientApplication)}function b(M){const A=document.createElement("link");A.rel="preconnect",A.href=new URL(M).origin,A.crossOrigin="anonymous",document.head.appendChild(A),window.setTimeout(()=>{try{document.head.removeChild(A)}catch{}},1e4)}function E(){return(0,a.E5)()}},60928:(pe,h,o)=>{"use strict";function n(a,l){return!!a&&!!l&&a===l.split(".")[1]}function i(a,l){const{oid:e,sub:u,tid:c,name:g,tfp:v,acr:p}=l,S=c||v||p||"";return{tenantId:S,localAccountId:e||u||"",name:g,isHomeTenant:n(S,a)}}function d(a,l,e,u){let c=a;if(l){const{isHomeTenant:g,...v}=l;c={...a,...v}}if(e){const{isHomeTenant:g,...v}=i(a.homeAccountId,e);return c={...c,...v,idTokenClaims:e,idToken:u},c}return c}o.d(h,{EJ:()=>i,Ho:()=>d,Wo:()=>n})},6400:(pe,h,o)=>{"use strict";o.d(h,{UH:()=>l,aw:()=>d});var n=o(28876),i=o(71408);function d(e,u){const c=function a(e){if(!e)throw(0,n.mQ)(i.nullOrEmptyToken);const c=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!c||c.length<4)throw(0,n.mQ)(i.tokenParsingError);return c[2]}(e);try{const g=u(c);return JSON.parse(g)}catch{throw(0,n.mQ)(i.tokenParsingError)}}function l(e,u){if(0===u||Date.now()-3e5>e+u)throw(0,n.mQ)(i.maxAgeTranspired)}},16256:(pe,h,o)=>{"use strict";o.d(h,{s:()=>n});const n={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"}},22045:(pe,h,o)=>{"use strict";o.d(h,{G:()=>a,k:()=>l});var n=o(28876),i=o(34739),d=o(71408);function a(e,u){if(!e)throw(0,n.mQ)(d.clientInfoEmptyError);try{const c=u(e);return JSON.parse(c)}catch{throw(0,n.mQ)(d.clientInfoDecodingError)}}function l(e){if(!e)throw(0,n.mQ)(d.clientInfoDecodingError);const u=e.split(i.Mj.CLIENT_INFO_SEPARATOR,2);return{uid:u[0],utid:u.length<2?i.Mv.EMPTY_STRING:u[1]}}},79032:(pe,h,o)=>{"use strict";function n(i){return i&&(i.tid||i.tfp||i.acr)||null}o.d(h,{c:()=>n})},74968:(pe,h,o)=>{"use strict";o.d(h,{ET:()=>u,IP:()=>e,UD:()=>g,_8:()=>v,gB:()=>a});var n=o(67648),i=o(34739);const a={"login.microsoftonline.com":{token_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.com/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/logout"},"login.chinacloudapi.cn":{token_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.chinacloudapi.cn/{tenantid}/discovery/v2.0/keys",issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",authorization_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/logout"},"login.microsoftonline.us":{token_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.us/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/logout"}},l={tenant_discovery_endpoint:"https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},e=new Set;function u(p,S){let C;const _=p.canonicalAuthority;if(_){const f=new n._(_).getUrlComponents().HostNameAndPort;C=c(f,p.cloudDiscoveryMetadata?.metadata,i.cv.CONFIG,S)||c(f,l.metadata,i.cv.HARDCODED_VALUES,S)||p.knownAuthorities}return C||[]}function c(p,S,C,_){if(_?.trace(`getAliasesFromMetadata called with source: ${C}`),p&&S){const f=v(S,p);if(f)return _?.trace(`getAliasesFromMetadata: found cloud discovery metadata in ${C}, returning aliases`),f.aliases;_?.trace(`getAliasesFromMetadata: did not find cloud discovery metadata in ${C}`)}return null}function g(p){return v(l.metadata,p)}function v(p,S){for(let C=0;C{p.aliases.forEach(S=>{e.add(S)})})},67952:(pe,h,o)=>{"use strict";o.d(h,{C:()=>n});const n={None:"none",AzurePublic:"https://login.microsoftonline.com",AzurePpe:"https://login.windows-ppe.net",AzureChina:"https://login.chinacloudapi.cn",AzureGermany:"https://login.microsoftonline.de",AzureUsGovernment:"https://login.microsoftonline.us"}},25988:(pe,h,o)=>{"use strict";o.d(h,{O:()=>n});const n={Default:0,Adfs:1,Dsts:2,Ciam:3}},65072:(pe,h,o)=>{"use strict";o.d(h,{g:()=>n});const n={AAD:"AAD",OIDC:"OIDC"}},6536:(pe,h,o)=>{"use strict";o.d(h,{B:()=>S,K:()=>C});var n=o(1528),i=o(34739),d=o(72584),a=o(95248),l=o(98416),e=o(28876),u=o(60928),c=o(6400),g=o(75205),v=o(74968),p=o(71408);class S{constructor(f,y,b,E){this.clientId=f,this.cryptoImpl=y,this.commonLogger=b.clone(g.N,g.W),this.staticAuthorityOptions=E}getAllAccounts(f){return this.buildTenantProfiles(this.getAccountsFilteredBy(f||{}),f)}getAccountInfoFilteredBy(f){const y=this.getAllAccounts(f);return y.length>1?y.sort(E=>E.idTokenClaims?-1:1)[0]:1===y.length?y[0]:null}getBaseAccountInfo(f){const y=this.getAccountsFilteredBy(f);return y.length>0?y[0].getAccountInfo():null}buildTenantProfiles(f,y){return f.flatMap(b=>this.getAccountInfoForTenantProfiles(b,y))}getAccountInfoForTenantProfiles(f,y){return this.getTenantProfilesFromAccountEntity(f,y?.tenantId,y)}getTenantedAccountInfoByFilter(f,y,b,E){let A,M=null;if(E&&!this.tenantProfileMatchesFilter(b,E))return null;const I=this.getIdToken(f,y,b.tenantId);return I&&(A=(0,c.aw)(I.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(A,E))?null:(M=(0,u.Ho)(f,b,A,I?.secret),M)}getTenantProfilesFromAccountEntity(f,y,b){const E=f.getAccountInfo();let M=E.tenantProfiles||new Map;const A=this.getTokenKeys();if(y){const F=M.get(y);if(!F)return[];M=new Map([[y,F]])}const I=[];return M.forEach(F=>{const j=this.getTenantedAccountInfoByFilter(E,A,F,b);j&&I.push(j)}),I}tenantProfileMatchesFilter(f,y){return!(y.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(f,y.localAccountId)||y.name&&f.name!==y.name||void 0!==y.isHomeTenant&&f.isHomeTenant!==y.isHomeTenant)}idTokenClaimsMatchTenantProfileFilter(f,y){return!(y&&(y.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(f,y.localAccountId)||y.loginHint&&!this.matchLoginHintFromTokenClaims(f,y.loginHint)||y.username&&!this.matchUsername(f.preferred_username,y.username)||y.name&&!this.matchName(f,y.name)||y.sid&&!this.matchSid(f,y.sid)))}saveCacheRecord(f,y){var b=this;return(0,n.c)(function*(){if(!f)throw(0,e.mQ)(p.invalidCacheRecord);f.account&&b.setAccount(f.account),f.idToken&&!1!==y?.idToken&&b.setIdTokenCredential(f.idToken),f.accessToken&&!1!==y?.accessToken&&(yield b.saveAccessToken(f.accessToken)),f.refreshToken&&!1!==y?.refreshToken&&b.setRefreshTokenCredential(f.refreshToken),f.appMetadata&&b.setAppMetadata(f.appMetadata)})()}saveAccessToken(f){var y=this;return(0,n.c)(function*(){const b={clientId:f.clientId,credentialType:f.credentialType,environment:f.environment,homeAccountId:f.homeAccountId,realm:f.realm,tokenType:f.tokenType,requestedClaimsHash:f.requestedClaimsHash},E=y.getTokenKeys(),M=a.k.fromString(f.target),A=[];E.accessToken.forEach(I=>{if(!y.accessTokenKeyMatchesFilter(I,b,!1))return;const F=y.getAccessTokenCredential(I);F&&y.credentialMatchesFilter(F,b)&&a.k.fromString(F.target).intersectingScopeSets(M)&&A.push(y.removeAccessToken(I))}),yield Promise.all(A),y.setAccessTokenCredential(f)})()}getAccountsFilteredBy(f){const y=this.getAccountKeys(),b=[];return y.forEach(E=>{if(!this.isAccountKey(E,f.homeAccountId))return;const M=this.getAccount(E,this.commonLogger);if(!M||f.homeAccountId&&!this.matchHomeAccountId(M,f.homeAccountId)||f.username&&!this.matchUsername(M.username,f.username)||f.environment&&!this.matchEnvironment(M,f.environment)||f.realm&&!this.matchRealm(M,f.realm)||f.nativeAccountId&&!this.matchNativeAccountId(M,f.nativeAccountId)||f.authorityType&&!this.matchAuthorityType(M,f.authorityType))return;const A={localAccountId:f?.localAccountId,name:f?.name},I=M.tenantProfiles?.filter(F=>this.tenantProfileMatchesFilter(F,A));I&&0===I.length||b.push(M)}),b}isAccountKey(f,y,b){return!(f.split(i.Mj.CACHE_KEY_SEPARATOR).length<3||y&&!f.toLowerCase().includes(y.toLowerCase())||b&&!f.toLowerCase().includes(b.toLowerCase()))}isCredentialKey(f){if(f.split(i.Mj.CACHE_KEY_SEPARATOR).length<6)return!1;const y=f.toLowerCase();if(-1===y.indexOf(i.yu.ID_TOKEN.toLowerCase())&&-1===y.indexOf(i.yu.ACCESS_TOKEN.toLowerCase())&&-1===y.indexOf(i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())&&-1===y.indexOf(i.yu.REFRESH_TOKEN.toLowerCase()))return!1;if(y.indexOf(i.yu.REFRESH_TOKEN.toLowerCase())>-1){const E=`${i.yu.REFRESH_TOKEN}${i.Mj.CACHE_KEY_SEPARATOR}${i.wj}${i.Mj.CACHE_KEY_SEPARATOR}`;if(-1===y.indexOf(`${i.yu.REFRESH_TOKEN}${i.Mj.CACHE_KEY_SEPARATOR}${this.clientId}${i.Mj.CACHE_KEY_SEPARATOR}`.toLowerCase())&&-1===y.indexOf(E.toLowerCase()))return!1}else if(-1===y.indexOf(this.clientId.toLowerCase()))return!1;return!0}credentialMatchesFilter(f,y){return!(y.clientId&&!this.matchClientId(f,y.clientId)||y.userAssertionHash&&!this.matchUserAssertionHash(f,y.userAssertionHash)||"string"==typeof y.homeAccountId&&!this.matchHomeAccountId(f,y.homeAccountId)||y.environment&&!this.matchEnvironment(f,y.environment)||y.realm&&!this.matchRealm(f,y.realm)||y.credentialType&&!this.matchCredentialType(f,y.credentialType)||y.familyId&&!this.matchFamilyId(f,y.familyId)||y.target&&!this.matchTarget(f,y.target)||(y.requestedClaimsHash||f.requestedClaimsHash)&&f.requestedClaimsHash!==y.requestedClaimsHash||f.credentialType===i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(y.tokenType&&!this.matchTokenType(f,y.tokenType)||y.tokenType===i.me.SSH&&y.keyId&&!this.matchKeyId(f,y.keyId)))}getAppMetadataFilteredBy(f){return this.getAppMetadataFilteredByInternal(f.environment,f.clientId)}getAppMetadataFilteredByInternal(f,y){const b=this.getKeys(),E={};return b.forEach(M=>{if(!this.isAppMetadata(M))return;const A=this.getAppMetadata(M);A&&(f&&!this.matchEnvironment(A,f)||y&&!this.matchClientId(A,y)||(E[M]=A))}),E}getAuthorityMetadataByAlias(f){const y=this.getAuthorityMetadataKeys();let b=null;return y.forEach(E=>{if(!this.isAuthorityMetadata(E)||-1===E.indexOf(this.clientId))return;const M=this.getAuthorityMetadata(E);M&&-1!==M.aliases.indexOf(f)&&(b=M)}),b}removeAllAccounts(){var f=this;return(0,n.c)(function*(){const y=f.getAccountKeys(),b=[];y.forEach(E=>{b.push(f.removeAccount(E))}),yield Promise.all(b)})()}removeAccount(f){var y=this;return(0,n.c)(function*(){const b=y.getAccount(f,y.commonLogger);b&&(yield y.removeAccountContext(b),y.removeItem(f))})()}removeAccountContext(f){var y=this;return(0,n.c)(function*(){const b=y.getTokenKeys(),E=f.generateAccountId(),M=[];b.idToken.forEach(A=>{0===A.indexOf(E)&&y.removeIdToken(A)}),b.accessToken.forEach(A=>{0===A.indexOf(E)&&M.push(y.removeAccessToken(A))}),b.refreshToken.forEach(A=>{0===A.indexOf(E)&&y.removeRefreshToken(A)}),yield Promise.all(M)})()}updateOutdatedCachedAccount(f,y,b){if(y&&y.isSingleTenant()){this.commonLogger?.verbose("updateOutdatedCachedAccount: Found a single-tenant (outdated) account entity in the cache, migrating to multi-tenant account entity");const E=this.getAccountKeys().filter(j=>j.startsWith(y.homeAccountId)),M=[];E.forEach(j=>{const T=this.getCachedAccountEntity(j);T&&M.push(T)});const A=M.find(j=>(0,u.Wo)(j.realm,j.homeAccountId))||M[0];A.tenantProfiles=M.map(j=>({tenantId:j.realm,localAccountId:j.localAccountId,name:j.name,isHomeTenant:(0,u.Wo)(j.realm,j.homeAccountId)}));const I=S.toObject(new l.M,{...A}),F=I.generateAccountKey();return E.forEach(j=>{j!==F&&this.removeOutdatedAccount(f)}),this.setAccount(I),b?.verbose("Updated an outdated account entity in the cache"),I}return y}removeAccessToken(f){var y=this;return(0,n.c)(function*(){const b=y.getAccessTokenCredential(f);if(b){if(b.credentialType.toLowerCase()===i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&b.tokenType===i.me.POP){const M=b.keyId;if(M)try{yield y.cryptoImpl.removeTokenBindingKey(M)}catch{throw(0,e.mQ)(p.bindingKeyNotRemoved)}}return y.removeItem(f)}})()}removeAppMetadata(){return this.getKeys().forEach(y=>{this.isAppMetadata(y)&&this.removeItem(y)}),!0}readAccountFromCache(f){const y=l.M.generateAccountCacheKey(f);return this.getAccount(y,this.commonLogger)}getIdToken(f,y,b,E,M){this.commonLogger.trace("CacheManager - getIdToken called");const I=this.getIdTokensByFilter({homeAccountId:f.homeAccountId,environment:f.environment,credentialType:i.yu.ID_TOKEN,clientId:this.clientId,realm:b},y),F=I.size;if(F<1)return this.commonLogger.info("CacheManager:getIdToken - No token found"),null;if(F>1){let j=I;if(!b){const T=new Map;I.forEach((x,N)=>{x.realm===f.tenantId&&T.set(N,x)});const P=T.size;if(P<1)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account but none match account entity tenant id, returning first result"),I.values().next().value;if(1===P)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account, defaulting to home tenant profile"),T.values().next().value;j=T}return this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them"),j.forEach((T,P)=>{this.removeIdToken(P)}),E&&M&&E.addFields({multiMatchedID:I.size},M),null}return this.commonLogger.info("CacheManager:getIdToken - Returning ID token"),I.values().next().value}getIdTokensByFilter(f,y){const b=y&&y.idToken||this.getTokenKeys().idToken,E=new Map;return b.forEach(M=>{if(!this.idTokenKeyMatchesFilter(M,{clientId:this.clientId,...f}))return;const A=this.getIdTokenCredential(M);A&&this.credentialMatchesFilter(A,f)&&E.set(M,A)}),E}idTokenKeyMatchesFilter(f,y){const b=f.toLowerCase();return!(y.clientId&&-1===b.indexOf(y.clientId.toLowerCase())||y.homeAccountId&&-1===b.indexOf(y.homeAccountId.toLowerCase()))}removeIdToken(f){this.removeItem(f)}removeRefreshToken(f){this.removeItem(f)}getAccessToken(f,y,b,E,M,A){this.commonLogger.trace("CacheManager - getAccessToken called");const I=a.k.createSearchScopes(y.scopes),F=y.authenticationScheme||i.me.BEARER,j=F&&F.toLowerCase()!==i.me.BEARER.toLowerCase()?i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:i.yu.ACCESS_TOKEN,T={homeAccountId:f.homeAccountId,environment:f.environment,credentialType:j,clientId:this.clientId,realm:E||f.tenantId,target:I,tokenType:F,keyId:y.sshKid,requestedClaimsHash:y.requestedClaimsHash},P=b&&b.accessToken||this.getTokenKeys().accessToken,x=[];P.forEach(O=>{if(this.accessTokenKeyMatchesFilter(O,T,!0)){const H=this.getAccessTokenCredential(O);H&&this.credentialMatchesFilter(H,T)&&x.push(H)}});const N=x.length;return N<1?(this.commonLogger.info("CacheManager:getAccessToken - No token found"),null):N>1?(this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"),x.forEach(O=>{this.removeAccessToken((0,d.AZ)(O))}),M&&A&&M.addFields({multiMatchedAT:x.length},A),null):(this.commonLogger.info("CacheManager:getAccessToken - Returning access token"),x[0])}accessTokenKeyMatchesFilter(f,y,b){const E=f.toLowerCase();if(y.clientId&&-1===E.indexOf(y.clientId.toLowerCase())||y.homeAccountId&&-1===E.indexOf(y.homeAccountId.toLowerCase())||y.realm&&-1===E.indexOf(y.realm.toLowerCase())||y.requestedClaimsHash&&-1===E.indexOf(y.requestedClaimsHash.toLowerCase()))return!1;if(y.target){const M=y.target.asArray();for(let A=0;A{if(!this.accessTokenKeyMatchesFilter(E,f,!0))return;const M=this.getAccessTokenCredential(E);M&&this.credentialMatchesFilter(M,f)&&b.push(M)}),b}getRefreshToken(f,y,b,E,M){this.commonLogger.trace("CacheManager - getRefreshToken called");const I={homeAccountId:f.homeAccountId,environment:f.environment,credentialType:i.yu.REFRESH_TOKEN,clientId:this.clientId,familyId:y?i.wj:void 0},F=b&&b.refreshToken||this.getTokenKeys().refreshToken,j=[];F.forEach(P=>{if(this.refreshTokenKeyMatchesFilter(P,I)){const x=this.getRefreshTokenCredential(P);x&&this.credentialMatchesFilter(x,I)&&j.push(x)}});const T=j.length;return T<1?(this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."),null):(T>1&&E&&M&&E.addFields({multiMatchedRT:T},M),this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"),j[0])}refreshTokenKeyMatchesFilter(f,y){const b=f.toLowerCase();return!(y.familyId&&-1===b.indexOf(y.familyId.toLowerCase())||!y.familyId&&y.clientId&&-1===b.indexOf(y.clientId.toLowerCase())||y.homeAccountId&&-1===b.indexOf(y.homeAccountId.toLowerCase()))}readAppMetadataFromCache(f){const b=this.getAppMetadataFilteredBy({environment:f,clientId:this.clientId}),E=Object.keys(b).map(A=>b[A]),M=E.length;if(M<1)return null;if(M>1)throw(0,e.mQ)(p.multipleMatchingAppMetadata);return E[0]}isAppMetadataFOCI(f){const y=this.readAppMetadataFromCache(f);return!(!y||y.familyId!==i.wj)}matchHomeAccountId(f,y){return"string"==typeof f.homeAccountId&&y===f.homeAccountId}matchLocalAccountIdFromTokenClaims(f,y){return y===(f.oid||f.sub)}matchLocalAccountIdFromTenantProfile(f,y){return f.localAccountId===y}matchName(f,y){return y.toLowerCase()===f.name?.toLowerCase()}matchUsername(f,y){return!(!f||"string"!=typeof f||y?.toLowerCase()!==f.toLowerCase())}matchUserAssertionHash(f,y){return!(!f.userAssertionHash||y!==f.userAssertionHash)}matchEnvironment(f,y){if(this.staticAuthorityOptions){const E=(0,v.ET)(this.staticAuthorityOptions,this.commonLogger);if(E.includes(y)&&E.includes(f.environment))return!0}const b=this.getAuthorityMetadataByAlias(y);return!!(b&&b.aliases.indexOf(f.environment)>-1)}matchCredentialType(f,y){return f.credentialType&&y.toLowerCase()===f.credentialType.toLowerCase()}matchClientId(f,y){return!(!f.clientId||y!==f.clientId)}matchFamilyId(f,y){return!(!f.familyId||y!==f.familyId)}matchRealm(f,y){return f.realm?.toLowerCase()===y.toLowerCase()}matchNativeAccountId(f,y){return!(!f.nativeAccountId||y!==f.nativeAccountId)}matchLoginHintFromTokenClaims(f,y){return f.login_hint===y||f.preferred_username===y||f.upn===y}matchSid(f,y){return f.sid===y}matchAuthorityType(f,y){return!(!f.authorityType||y.toLowerCase()!==f.authorityType.toLowerCase())}matchTarget(f,y){return!(f.credentialType!==i.yu.ACCESS_TOKEN&&f.credentialType!==i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME||!f.target)&&a.k.fromString(f.target).containsScopeSet(y)}matchTokenType(f,y){return!(!f.tokenType||f.tokenType!==y)}matchKeyId(f,y){return!(!f.keyId||f.keyId!==y)}isAppMetadata(f){return-1!==f.indexOf(i.cz)}isAuthorityMetadata(f){return-1!==f.indexOf(i.Ni.CACHE_KEY)}generateAuthorityMetadataCacheKey(f){return`${i.Ni.CACHE_KEY}-${this.clientId}-${f}`}static toObject(f,y){for(const b in y)f[b]=y[b];return f}}class C extends S{setAccount(){throw(0,e.mQ)(p.methodNotImplemented)}getAccount(){throw(0,e.mQ)(p.methodNotImplemented)}getCachedAccountEntity(){throw(0,e.mQ)(p.methodNotImplemented)}setIdTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}getIdTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}setAccessTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}getAccessTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}setRefreshTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}getRefreshTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}setAppMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}getAppMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}setServerTelemetry(){throw(0,e.mQ)(p.methodNotImplemented)}getServerTelemetry(){throw(0,e.mQ)(p.methodNotImplemented)}setAuthorityMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}getAuthorityMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}getAuthorityMetadataKeys(){throw(0,e.mQ)(p.methodNotImplemented)}setThrottlingCache(){throw(0,e.mQ)(p.methodNotImplemented)}getThrottlingCache(){throw(0,e.mQ)(p.methodNotImplemented)}removeItem(){throw(0,e.mQ)(p.methodNotImplemented)}containsKey(){throw(0,e.mQ)(p.methodNotImplemented)}getKeys(){throw(0,e.mQ)(p.methodNotImplemented)}getAccountKeys(){throw(0,e.mQ)(p.methodNotImplemented)}getTokenKeys(){throw(0,e.mQ)(p.methodNotImplemented)}clear(){return(0,n.c)(function*(){throw(0,e.mQ)(p.methodNotImplemented)})()}updateCredentialCacheKey(){throw(0,e.mQ)(p.methodNotImplemented)}removeOutdatedAccount(){throw(0,e.mQ)(p.methodNotImplemented)}}},98416:(pe,h,o)=>{"use strict";o.d(h,{M:()=>g});var n=o(34739),i=o(22045),d=o(60928),a=o(28876),l=o(25988),e=o(79032),u=o(65072),c=o(71408);class g{generateAccountId(){return[this.homeAccountId,this.environment].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}generateAccountKey(){return g.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})}getAccountInfo(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,nativeAccountId:this.nativeAccountId,authorityType:this.authorityType,tenantProfiles:new Map((this.tenantProfiles||[]).map(p=>[p.tenantId,p]))}}isSingleTenant(){return!this.tenantProfiles}static generateAccountCacheKey(p){const S=p.homeAccountId.split(".")[1];return[p.homeAccountId,p.environment||"",S||p.tenantId||""].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}static createAccount(p,S,C){const _=new g;let f;_.authorityType=S.authorityType===l.O.Adfs?n.A9.ADFS_ACCOUNT_TYPE:S.protocolMode===u.g.AAD?n.A9.MSSTS_ACCOUNT_TYPE:n.A9.GENERIC_ACCOUNT_TYPE,p.clientInfo&&C&&(f=(0,i.G)(p.clientInfo,C)),_.clientInfo=p.clientInfo,_.homeAccountId=p.homeAccountId,_.nativeAccountId=p.nativeAccountId;const y=p.environment||S&&S.getPreferredCache();if(!y)throw(0,a.mQ)(c.invalidCacheEnvironment);if(_.environment=y,_.realm=f?.utid||(0,e.c)(p.idTokenClaims)||"",_.localAccountId=f?.uid||p.idTokenClaims.oid||p.idTokenClaims.sub||"",_.username=p.idTokenClaims.preferred_username||p.idTokenClaims.upn||(p.idTokenClaims.emails?p.idTokenClaims.emails[0]:null)||"",_.name=p.idTokenClaims.name,_.cloudGraphHostName=p.cloudGraphHostName,_.msGraphHost=p.msGraphHost,p.tenantProfiles)_.tenantProfiles=p.tenantProfiles;else{const M=[];if(p.idTokenClaims){const A=(0,d.EJ)(p.homeAccountId,p.idTokenClaims);M.push(A)}_.tenantProfiles=M}return _}static createFromAccountInfo(p,S,C){const _=new g;return _.authorityType=p.authorityType||n.A9.GENERIC_ACCOUNT_TYPE,_.homeAccountId=p.homeAccountId,_.localAccountId=p.localAccountId,_.nativeAccountId=p.nativeAccountId,_.realm=p.tenantId,_.environment=p.environment,_.username=p.username,_.name=p.name,_.cloudGraphHostName=S,_.msGraphHost=C,_.tenantProfiles=Array.from(p.tenantProfiles?.values()||[]),_}static generateHomeAccountId(p,S,C,_,f){if(S!==l.O.Adfs&&S!==l.O.Dsts){if(p)try{const y=(0,i.G)(p,_.base64Decode);if(y.uid&&y.utid)return`${y.uid}.${y.utid}`}catch{}C.warning("No client info in response")}return f?.sub||""}static isAccountEntity(p){return!!p&&p.hasOwnProperty("homeAccountId")&&p.hasOwnProperty("environment")&&p.hasOwnProperty("realm")&&p.hasOwnProperty("localAccountId")&&p.hasOwnProperty("username")&&p.hasOwnProperty("authorityType")}static accountInfoIsEqual(p,S,C){if(!p||!S)return!1;let _=!0;if(C){const f=p.idTokenClaims||{},y=S.idTokenClaims||{};_=f.iat===y.iat&&f.nonce===y.nonce}return p.homeAccountId===S.homeAccountId&&p.localAccountId===S.localAccountId&&p.username===S.username&&p.tenantId===S.tenantId&&p.environment===S.environment&&p.nativeAccountId===S.nativeAccountId&&_}}},9488:(pe,h,o)=>{"use strict";o.d(h,{O:()=>n});class n{constructor(d,a,l,e,u){this.account=d||null,this.idToken=a||null,this.accessToken=l||null,this.refreshToken=e||null,this.appMetadata=u||null}}},72584:(pe,h,o)=>{"use strict";o.d(h,{AZ:()=>e,LS:()=>S,MJ:()=>c,S:()=>I,U5:()=>C,Ul:()=>p,YF:()=>u,_c:()=>g,aA:()=>j,cb:()=>x,gv:()=>T,mk:()=>N,q6:()=>F,s7:()=>A,sH:()=>P,sX:()=>M});var n=o(6400),i=o(28876),d=o(34739),a=o(50160),l=o(71408);function e(O){return[_(O),f(O),y(O),b(O),E(O)].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function u(O,H,G,te,ue){return{credentialType:d.yu.ID_TOKEN,homeAccountId:O,environment:H,clientId:te,secret:G,realm:ue}}function c(O,H,G,te,ue,se,K,Z,re,J,Y,$,le,ee,we){const ye={homeAccountId:O,credentialType:d.yu.ACCESS_TOKEN,secret:G,cachedAt:(0,a.GO)().toString(),expiresOn:K.toString(),extendedExpiresOn:Z.toString(),environment:H,clientId:te,realm:ue,target:se,tokenType:Y||d.me.BEARER};if($&&(ye.userAssertionHash=$),J&&(ye.refreshOn=J.toString()),ee&&(ye.requestedClaims=ee,ye.requestedClaimsHash=we),ye.tokenType?.toLowerCase()!==d.me.BEARER.toLowerCase())switch(ye.credentialType=d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME,ye.tokenType){case d.me.POP:const Oe=(0,n.aw)(G,re);if(!Oe?.cnf?.kid)throw(0,i.mQ)(l.tokenClaimsCnfRequiredForSignedJwt);ye.keyId=Oe.cnf.kid;break;case d.me.SSH:ye.keyId=le}return ye}function g(O,H,G,te,ue,se,K){const Z={credentialType:d.yu.REFRESH_TOKEN,homeAccountId:O,environment:H,clientId:te,secret:G};return se&&(Z.userAssertionHash=se),ue&&(Z.familyId=ue),K&&(Z.expiresOn=K.toString()),Z}function v(O){return O.hasOwnProperty("homeAccountId")&&O.hasOwnProperty("environment")&&O.hasOwnProperty("credentialType")&&O.hasOwnProperty("clientId")&&O.hasOwnProperty("secret")}function p(O){return!!O&&v(O)&&O.hasOwnProperty("realm")&&O.hasOwnProperty("target")&&(O.credentialType===d.yu.ACCESS_TOKEN||O.credentialType===d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME)}function S(O){return!!O&&v(O)&&O.hasOwnProperty("realm")&&O.credentialType===d.yu.ID_TOKEN}function C(O){return!!O&&v(O)&&O.credentialType===d.yu.REFRESH_TOKEN}function _(O){return[O.homeAccountId,O.environment].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function f(O){return[O.credentialType,O.credentialType===d.yu.REFRESH_TOKEN&&O.familyId||O.clientId,O.realm||""].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function y(O){return(O.target||"").toLowerCase()}function b(O){return(O.requestedClaimsHash||"").toLowerCase()}function E(O){return O.tokenType&&O.tokenType.toLowerCase()!==d.me.BEARER.toLowerCase()?O.tokenType.toLowerCase():""}function M(O,H){const G=0===O.indexOf(d.ic.CACHE_KEY);let te=!0;return H&&(te=H.hasOwnProperty("failedRequests")&&H.hasOwnProperty("errors")&&H.hasOwnProperty("cacheHits")),G&&te}function A(O,H){let G=!1;O&&(G=0===O.indexOf(d.gr.THROTTLING_PREFIX));let te=!0;return H&&(te=H.hasOwnProperty("throttleTime")),G&&te}function I({environment:O,clientId:H}){return[d.cz,O,H].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function F(O,H){return!!H&&0===O.indexOf(d.cz)&&H.hasOwnProperty("clientId")&&H.hasOwnProperty("environment")}function j(O,H){return!!H&&0===O.indexOf(d.Ni.CACHE_KEY)&&H.hasOwnProperty("aliases")&&H.hasOwnProperty("preferred_cache")&&H.hasOwnProperty("preferred_network")&&H.hasOwnProperty("canonical_authority")&&H.hasOwnProperty("authorization_endpoint")&&H.hasOwnProperty("token_endpoint")&&H.hasOwnProperty("issuer")&&H.hasOwnProperty("aliasesFromNetwork")&&H.hasOwnProperty("endpointsFromNetwork")&&H.hasOwnProperty("expiresAt")&&H.hasOwnProperty("jwks_uri")}function T(){return(0,a.GO)()+d.Ni.REFRESH_TIME_SECONDS}function P(O,H,G){O.authorization_endpoint=H.authorization_endpoint,O.token_endpoint=H.token_endpoint,O.end_session_endpoint=H.end_session_endpoint,O.issuer=H.issuer,O.endpointsFromNetwork=G,O.jwks_uri=H.jwks_uri}function x(O,H,G){O.aliases=H.aliases,O.preferred_cache=H.preferred_cache,O.preferred_network=H.preferred_network,O.aliasesFromNetwork=G}function N(O){return O.expiresAt<=(0,a.GO)()}},80660:(pe,h,o)=>{"use strict";o.d(h,{cJ:()=>A,k5:()=>S,qW:()=>F});var n=o(1528),i=o(65172),d=o(73364),a=o(34739),l=o(75205),e=o(67952),u=o(6536),c=o(65072),g=o(28876),v=o(71408);const S={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},C={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:d.G.Info,correlationId:a.Mv.EMPTY_STRING},_={claimsBasedCachingEnabled:!1},f={sendGetRequestAsync:()=>(0,n.c)(function*(){throw(0,g.mQ)(v.methodNotImplemented)})(),sendPostRequestAsync:()=>(0,n.c)(function*(){throw(0,g.mQ)(v.methodNotImplemented)})()},y={sku:a.Mv.SKU,version:l.W,cpu:a.Mv.EMPTY_STRING,os:a.Mv.EMPTY_STRING},b={clientSecret:a.Mv.EMPTY_STRING,clientAssertion:void 0},E={azureCloudInstance:e.C.None,tenant:`${a.Mv.DEFAULT_COMMON_TENANT}`},M={application:{appName:"",appVersion:""}};function A({authOptions:j,systemOptions:T,loggerOptions:P,cacheOptions:x,storageInterface:N,networkInterface:O,cryptoInterface:H,clientCredentials:G,libraryInfo:te,telemetry:ue,serverTelemetryManager:se,persistencePlugin:K,serializableCache:Z}){const re={...C,...P};return{authOptions:I(j),systemOptions:{...S,...T},loggerOptions:re,cacheOptions:{..._,...x},storageInterface:N||new u.K(j.clientId,i.K,new d.Y(re)),networkInterface:O||f,cryptoInterface:H||i.K,clientCredentials:G||b,libraryInfo:{...y,...te},telemetry:{...M,...ue},serverTelemetryManager:se||null,persistencePlugin:K||null,serializableCache:Z||null}}function I(j){return{clientCapabilities:[],azureCloudOptions:E,skipAuthorityMetadataCache:!1,...j}}function F(j){return j.authOptions.authority.options.protocolMode===c.g.OIDC}},91076:(pe,h,o)=>{"use strict";o.d(h,{Bz:()=>u,CS:()=>Z,E$:()=>b,Gs:()=>ye,Ku:()=>a,MZ:()=>A,N2:()=>tt,O0:()=>ue,Ok:()=>Qe,S1:()=>S,SS:()=>Pe,U3:()=>d,UJ:()=>F,WG:()=>I,WM:()=>mt,YR:()=>J,Yc:()=>Ze,Yr:()=>x,_E:()=>te,_k:()=>n,aw:()=>K,cD:()=>l,cf:()=>ee,cx:()=>N,e6:()=>P,e8:()=>e,eU:()=>T,eo:()=>re,gL:()=>$,gt:()=>j,iK:()=>Y,k1:()=>we,kB:()=>i,kT:()=>le,n:()=>y,op:()=>se,qA:()=>G,sp:()=>ot,sx:()=>H,uQ:()=>O,y2:()=>f});const n="client_id",i="redirect_uri",d="response_type",a="response_mode",l="grant_type",e="claims",u="scope",S="refresh_token",f="state",y="nonce",b="prompt",A="code",I="code_challenge",F="code_challenge_method",j="code_verifier",T="client-request-id",P="x-client-SKU",x="x-client-VER",N="x-client-OS",O="x-client-CPU",H="x-client-current-telemetry",G="x-client-last-telemetry",te="x-ms-lib-capability",ue="x-app-name",se="x-app-ver",K="post_logout_redirect_uri",Z="id_token_hint",re="device_code",J="client_secret",Y="client_assertion",$="client_assertion_type",le="token_type",ee="req_cnf",we="assertion",ye="requested_token_use",Pe="return_spa_code",Ze="nativebroker",ot="logout_hint",tt="sid",mt="login_hint",Qe="domain_hint"},65172:(pe,h,o)=>{"use strict";o.d(h,{K:()=>a});var n=o(1528),i=o(28876),d=o(71408);const a={createNewGuid:()=>{throw(0,i.mQ)(d.methodNotImplemented)},base64Decode:()=>{throw(0,i.mQ)(d.methodNotImplemented)},base64Encode:()=>{throw(0,i.mQ)(d.methodNotImplemented)},getPublicKeyThumbprint:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),removeTokenBindingKey:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),clearKeystore:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),signJwt:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),hashString:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})()}},46392:(pe,h,o)=>{"use strict";o.d(h,{w:()=>u});var n=o(1528),i=o(50160),d=o(67648),a=o(85348),l=o(14035);class u{constructor(g,v){this.cryptoUtils=g,this.performanceClient=v}generateCnf(g,v){var p=this;return(0,n.c)(function*(){p.performanceClient?.addQueueMeasurement(a.Xv.PopTokenGenerateCnf,g.correlationId);const S=yield(0,l.C)(p.generateKid.bind(p),a.Xv.PopTokenGenerateCnf,v,p.performanceClient,g.correlationId)(g),C=p.cryptoUtils.base64Encode(JSON.stringify(S));return{kid:S.kid,reqCnfString:C,reqCnfHash:yield p.cryptoUtils.hashString(C)}})()}generateKid(g){var v=this;return(0,n.c)(function*(){return v.performanceClient?.addQueueMeasurement(a.Xv.PopTokenGenerateKid,g.correlationId),{kid:yield v.cryptoUtils.getPublicKeyThumbprint(g),xms_ksl:"sw"}})()}signPopToken(g,v,p){var S=this;return(0,n.c)(function*(){return S.signPayload(g,v,p)})()}signPayload(g,v,p,S){var C=this;return(0,n.c)(function*(){const{resourceRequestMethod:_,resourceRequestUri:f,shrClaims:y,shrNonce:b,shrOptions:E}=p,A=(f?new d._(f):void 0)?.getUrlComponents();return C.cryptoUtils.signJwt({at:g,ts:(0,i.GO)(),m:_?.toUpperCase(),u:A?.HostNameAndPort,nonce:b||C.cryptoUtils.createNewGuid(),p:A?.AbsolutePath,q:A?.QueryString?[[],A.QueryString]:void 0,client_claims:y||void 0,...S},v,E,p.correlationId)})()}}},66936:(pe,h,o)=>{"use strict";o.d(h,{GM:()=>a,Ub:()=>e,WM:()=>l});var n=o(34739),i=o(83228);const d={[i.unexpectedError]:"Unexpected error in authentication.",[i.postRequestFailed]:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."},a={unexpectedError:{code:i.unexpectedError,desc:d[i.unexpectedError]},postRequestFailed:{code:i.postRequestFailed,desc:d[i.postRequestFailed]}};class l extends Error{constructor(c,g,v){super(g?`${c}: ${g}`:c),Object.setPrototypeOf(this,l.prototype),this.errorCode=c||n.Mv.EMPTY_STRING,this.errorMessage=g||n.Mv.EMPTY_STRING,this.subError=v||n.Mv.EMPTY_STRING,this.name="AuthError"}setCorrelationId(c){this.correlationId=c}}function e(u,c){return new l(u,c?`${d[u]} ${c}`:d[u])}},83228:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{postRequestFailed:()=>i,unexpectedError:()=>n});const n="unexpected_error",i="post_request_failed"},28876:(pe,h,o)=>{"use strict";o.d(h,{m6:()=>a,mQ:()=>e,oJ:()=>l});var n=o(66936),i=o(71408);const d={[i.clientInfoDecodingError]:"The client info could not be parsed/decoded correctly",[i.clientInfoEmptyError]:"The client info was empty",[i.tokenParsingError]:"Token cannot be parsed",[i.nullOrEmptyToken]:"The token is null or empty",[i.endpointResolutionError]:"Endpoints cannot be resolved",[i.networkError]:"Network request failed",[i.openIdConfigError]:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",[i.hashNotDeserialized]:"The hash parameters could not be deserialized",[i.invalidState]:"State was not the expected format",[i.stateMismatch]:"State mismatch error",[i.stateNotFound]:"State not found",[i.nonceMismatch]:"Nonce mismatch error",[i.authTimeNotFound]:"Max Age was requested and the ID token is missing the auth_time variable. auth_time is an optional claim and is not enabled by default - it must be enabled. See https://aka.ms/msaljs/optional-claims for more information.",[i.maxAgeTranspired]:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication.",[i.multipleMatchingTokens]:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account.",[i.multipleMatchingAccounts]:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account",[i.multipleMatchingAppMetadata]:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata",[i.requestCannotBeMade]:"Token request cannot be made without authorization code or refresh token.",[i.cannotRemoveEmptyScope]:"Cannot remove null or empty scope from ScopeSet",[i.cannotAppendScopeSet]:"Cannot append ScopeSet",[i.emptyInputScopeSet]:"Empty input ScopeSet cannot be processed",[i.deviceCodePollingCancelled]:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.",[i.deviceCodeExpired]:"Device code is expired.",[i.deviceCodeUnknownError]:"Device code stopped polling for unknown reasons.",[i.noAccountInSilentRequest]:"Please pass an account object, silent flow is not supported without account information",[i.invalidCacheRecord]:"Cache record object was null or undefined.",[i.invalidCacheEnvironment]:"Invalid environment when attempting to create cache entry",[i.noAccountFound]:"No account found in cache for given key.",[i.noCryptoObject]:"No crypto object detected.",[i.unexpectedCredentialType]:"Unexpected credential type.",[i.invalidAssertion]:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515",[i.invalidClientCredential]:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential",[i.tokenRefreshRequired]:"Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.",[i.userTimeoutReached]:"User defined timeout for device code polling reached",[i.tokenClaimsCnfRequiredForSignedJwt]:"Cannot generate a POP jwt if the token_claims are not populated",[i.authorizationCodeMissingFromServerResponse]:"Server response does not contain an authorization code to proceed",[i.bindingKeyNotRemoved]:"Could not remove the credential's binding key from storage.",[i.endSessionEndpointNotSupported]:"The provided authority does not support logout",[i.keyIdMissing]:"A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key.",[i.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[i.userCanceled]:"User cancelled the flow.",[i.missingTenantIdError]:"A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.",[i.methodNotImplemented]:"This method has not been implemented",[i.nestedAppAuthBridgeDisabled]:"The nested app auth bridge is disabled"},a={clientInfoDecodingError:{code:i.clientInfoDecodingError,desc:d[i.clientInfoDecodingError]},clientInfoEmptyError:{code:i.clientInfoEmptyError,desc:d[i.clientInfoEmptyError]},tokenParsingError:{code:i.tokenParsingError,desc:d[i.tokenParsingError]},nullOrEmptyToken:{code:i.nullOrEmptyToken,desc:d[i.nullOrEmptyToken]},endpointResolutionError:{code:i.endpointResolutionError,desc:d[i.endpointResolutionError]},networkError:{code:i.networkError,desc:d[i.networkError]},unableToGetOpenidConfigError:{code:i.openIdConfigError,desc:d[i.openIdConfigError]},hashNotDeserialized:{code:i.hashNotDeserialized,desc:d[i.hashNotDeserialized]},invalidStateError:{code:i.invalidState,desc:d[i.invalidState]},stateMismatchError:{code:i.stateMismatch,desc:d[i.stateMismatch]},stateNotFoundError:{code:i.stateNotFound,desc:d[i.stateNotFound]},nonceMismatchError:{code:i.nonceMismatch,desc:d[i.nonceMismatch]},authTimeNotFoundError:{code:i.authTimeNotFound,desc:d[i.authTimeNotFound]},maxAgeTranspired:{code:i.maxAgeTranspired,desc:d[i.maxAgeTranspired]},multipleMatchingTokens:{code:i.multipleMatchingTokens,desc:d[i.multipleMatchingTokens]},multipleMatchingAccounts:{code:i.multipleMatchingAccounts,desc:d[i.multipleMatchingAccounts]},multipleMatchingAppMetadata:{code:i.multipleMatchingAppMetadata,desc:d[i.multipleMatchingAppMetadata]},tokenRequestCannotBeMade:{code:i.requestCannotBeMade,desc:d[i.requestCannotBeMade]},removeEmptyScopeError:{code:i.cannotRemoveEmptyScope,desc:d[i.cannotRemoveEmptyScope]},appendScopeSetError:{code:i.cannotAppendScopeSet,desc:d[i.cannotAppendScopeSet]},emptyInputScopeSetError:{code:i.emptyInputScopeSet,desc:d[i.emptyInputScopeSet]},DeviceCodePollingCancelled:{code:i.deviceCodePollingCancelled,desc:d[i.deviceCodePollingCancelled]},DeviceCodeExpired:{code:i.deviceCodeExpired,desc:d[i.deviceCodeExpired]},DeviceCodeUnknownError:{code:i.deviceCodeUnknownError,desc:d[i.deviceCodeUnknownError]},NoAccountInSilentRequest:{code:i.noAccountInSilentRequest,desc:d[i.noAccountInSilentRequest]},invalidCacheRecord:{code:i.invalidCacheRecord,desc:d[i.invalidCacheRecord]},invalidCacheEnvironment:{code:i.invalidCacheEnvironment,desc:d[i.invalidCacheEnvironment]},noAccountFound:{code:i.noAccountFound,desc:d[i.noAccountFound]},noCryptoObj:{code:i.noCryptoObject,desc:d[i.noCryptoObject]},unexpectedCredentialType:{code:i.unexpectedCredentialType,desc:d[i.unexpectedCredentialType]},invalidAssertion:{code:i.invalidAssertion,desc:d[i.invalidAssertion]},invalidClientCredential:{code:i.invalidClientCredential,desc:d[i.invalidClientCredential]},tokenRefreshRequired:{code:i.tokenRefreshRequired,desc:d[i.tokenRefreshRequired]},userTimeoutReached:{code:i.userTimeoutReached,desc:d[i.userTimeoutReached]},tokenClaimsRequired:{code:i.tokenClaimsCnfRequiredForSignedJwt,desc:d[i.tokenClaimsCnfRequiredForSignedJwt]},noAuthorizationCodeFromServer:{code:i.authorizationCodeMissingFromServerResponse,desc:d[i.authorizationCodeMissingFromServerResponse]},bindingKeyNotRemovedError:{code:i.bindingKeyNotRemoved,desc:d[i.bindingKeyNotRemoved]},logoutNotSupported:{code:i.endSessionEndpointNotSupported,desc:d[i.endSessionEndpointNotSupported]},keyIdMissing:{code:i.keyIdMissing,desc:d[i.keyIdMissing]},noNetworkConnectivity:{code:i.noNetworkConnectivity,desc:d[i.noNetworkConnectivity]},userCanceledError:{code:i.userCanceled,desc:d[i.userCanceled]},missingTenantIdError:{code:i.missingTenantIdError,desc:d[i.missingTenantIdError]},nestedAppAuthBridgeDisabled:{code:i.nestedAppAuthBridgeDisabled,desc:d[i.nestedAppAuthBridgeDisabled]}};class l extends n.WM{constructor(c,g){super(c,g?`${d[c]}: ${g}`:d[c]),this.name="ClientAuthError",Object.setPrototypeOf(this,l.prototype)}}function e(u,c){return new l(u,c)}},71408:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{authTimeNotFound:()=>C,authorizationCodeMissingFromServerResponse:()=>re,bindingKeyNotRemoved:()=>J,cannotAppendScopeSet:()=>A,cannotRemoveEmptyScope:()=>M,clientInfoDecodingError:()=>n,clientInfoEmptyError:()=>i,deviceCodeExpired:()=>j,deviceCodePollingCancelled:()=>F,deviceCodeUnknownError:()=>T,emptyInputScopeSet:()=>I,endSessionEndpointNotSupported:()=>Y,endpointResolutionError:()=>l,hashNotDeserialized:()=>c,invalidAssertion:()=>te,invalidCacheEnvironment:()=>N,invalidCacheRecord:()=>x,invalidClientCredential:()=>ue,invalidState:()=>g,keyIdMissing:()=>$,maxAgeTranspired:()=>_,methodNotImplemented:()=>ye,missingTenantIdError:()=>we,multipleMatchingAccounts:()=>y,multipleMatchingAppMetadata:()=>b,multipleMatchingTokens:()=>f,nestedAppAuthBridgeDisabled:()=>Oe,networkError:()=>e,noAccountFound:()=>O,noAccountInSilentRequest:()=>P,noCryptoObject:()=>H,noNetworkConnectivity:()=>le,nonceMismatch:()=>S,nullOrEmptyToken:()=>a,openIdConfigError:()=>u,requestCannotBeMade:()=>E,stateMismatch:()=>v,stateNotFound:()=>p,tokenClaimsCnfRequiredForSignedJwt:()=>Z,tokenParsingError:()=>d,tokenRefreshRequired:()=>se,unexpectedCredentialType:()=>G,userCanceled:()=>ee,userTimeoutReached:()=>K});const n="client_info_decoding_error",i="client_info_empty_error",d="token_parsing_error",a="null_or_empty_token",l="endpoints_resolution_error",e="network_error",u="openid_config_error",c="hash_not_deserialized",g="invalid_state",v="state_mismatch",p="state_not_found",S="nonce_mismatch",C="auth_time_not_found",_="max_age_transpired",f="multiple_matching_tokens",y="multiple_matching_accounts",b="multiple_matching_appMetadata",E="request_cannot_be_made",M="cannot_remove_empty_scope",A="cannot_append_scopeset",I="empty_input_scopeset",F="device_code_polling_cancelled",j="device_code_expired",T="device_code_unknown_error",P="no_account_in_silent_request",x="invalid_cache_record",N="invalid_cache_environment",O="no_account_found",H="no_crypto_object",G="unexpected_credential_type",te="invalid_assertion",ue="invalid_client_credential",se="token_refresh_required",K="user_timeout_reached",Z="token_claims_cnf_required_for_signedjwt",re="authorization_code_missing_from_server_response",J="binding_key_not_removed",Y="end_session_endpoint_not_supported",$="key_id_missing",le="no_network_connectivity",ee="user_canceled",we="missing_tenant_id_error",ye="method_not_implemented",Oe="nested_app_auth_bridge_disabled"},59684:(pe,h,o)=>{"use strict";o.d(h,{OA:()=>a,Ou:()=>l,QN:()=>e});var n=o(66936),i=o(32336);const d={[i.redirectUriEmpty]:"A redirect URI is required for all calls, and none has been set.",[i.claimsRequestParsingError]:"Could not parse the given claims request object.",[i.authorityUriInsecure]:"Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options",[i.urlParseError]:"URL could not be parsed into appropriate segments.",[i.urlEmptyError]:"URL was empty or null.",[i.emptyInputScopesError]:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",[i.invalidPromptValue]:"Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",[i.invalidClaims]:"Given claims parameter must be a stringified JSON object.",[i.tokenRequestEmpty]:"Token request was empty and not found in cache.",[i.logoutRequestEmpty]:"The logout request was null or undefined.",[i.invalidCodeChallengeMethod]:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".',[i.pkceParamsMissing]:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request",[i.invalidCloudDiscoveryMetadata]:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields",[i.invalidAuthorityMetadata]:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.",[i.untrustedAuthority]:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",[i.missingSshJwk]:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.",[i.missingSshKid]:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.",[i.missingNonceAuthenticationHeader]:"Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce.",[i.invalidAuthenticationHeader]:"Invalid authentication header provided",[i.cannotSetOIDCOptions]:"Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.",[i.cannotAllowNativeBroker]:"Cannot set allowNativeBroker parameter to true when not in AAD protocol mode.",[i.authorityMismatch]:"Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority."},a={redirectUriNotSet:{code:i.redirectUriEmpty,desc:d[i.redirectUriEmpty]},claimsRequestParsingError:{code:i.claimsRequestParsingError,desc:d[i.claimsRequestParsingError]},authorityUriInsecure:{code:i.authorityUriInsecure,desc:d[i.authorityUriInsecure]},urlParseError:{code:i.urlParseError,desc:d[i.urlParseError]},urlEmptyError:{code:i.urlEmptyError,desc:d[i.urlEmptyError]},emptyScopesError:{code:i.emptyInputScopesError,desc:d[i.emptyInputScopesError]},invalidPrompt:{code:i.invalidPromptValue,desc:d[i.invalidPromptValue]},invalidClaimsRequest:{code:i.invalidClaims,desc:d[i.invalidClaims]},tokenRequestEmptyError:{code:i.tokenRequestEmpty,desc:d[i.tokenRequestEmpty]},logoutRequestEmptyError:{code:i.logoutRequestEmpty,desc:d[i.logoutRequestEmpty]},invalidCodeChallengeMethod:{code:i.invalidCodeChallengeMethod,desc:d[i.invalidCodeChallengeMethod]},invalidCodeChallengeParams:{code:i.pkceParamsMissing,desc:d[i.pkceParamsMissing]},invalidCloudDiscoveryMetadata:{code:i.invalidCloudDiscoveryMetadata,desc:d[i.invalidCloudDiscoveryMetadata]},invalidAuthorityMetadata:{code:i.invalidAuthorityMetadata,desc:d[i.invalidAuthorityMetadata]},untrustedAuthority:{code:i.untrustedAuthority,desc:d[i.untrustedAuthority]},missingSshJwk:{code:i.missingSshJwk,desc:d[i.missingSshJwk]},missingSshKid:{code:i.missingSshKid,desc:d[i.missingSshKid]},missingNonceAuthenticationHeader:{code:i.missingNonceAuthenticationHeader,desc:d[i.missingNonceAuthenticationHeader]},invalidAuthenticationHeader:{code:i.invalidAuthenticationHeader,desc:d[i.invalidAuthenticationHeader]},cannotSetOIDCOptions:{code:i.cannotSetOIDCOptions,desc:d[i.cannotSetOIDCOptions]},cannotAllowNativeBroker:{code:i.cannotAllowNativeBroker,desc:d[i.cannotAllowNativeBroker]},authorityMismatch:{code:i.authorityMismatch,desc:d[i.authorityMismatch]}};class l extends n.WM{constructor(c){super(c,d[c]),this.name="ClientConfigurationError",Object.setPrototypeOf(this,l.prototype)}}function e(u){return new l(u)}},32336:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{authorityMismatch:()=>F,authorityUriInsecure:()=>d,cannotAllowNativeBroker:()=>I,cannotSetOIDCOptions:()=>A,claimsRequestParsingError:()=>i,emptyInputScopesError:()=>e,invalidAuthenticationHeader:()=>M,invalidAuthorityMetadata:()=>_,invalidClaims:()=>c,invalidCloudDiscoveryMetadata:()=>C,invalidCodeChallengeMethod:()=>p,invalidPromptValue:()=>u,logoutRequestEmpty:()=>v,missingNonceAuthenticationHeader:()=>E,missingSshJwk:()=>y,missingSshKid:()=>b,pkceParamsMissing:()=>S,redirectUriEmpty:()=>n,tokenRequestEmpty:()=>g,untrustedAuthority:()=>f,urlEmptyError:()=>l,urlParseError:()=>a});const n="redirect_uri_empty",i="claims_request_parsing_error",d="authority_uri_insecure",a="url_parse_error",l="empty_url_error",e="empty_input_scopes_error",u="invalid_prompt_value",c="invalid_claims",g="token_request_empty",v="logout_request_empty",p="invalid_code_challenge_method",S="pkce_params_missing",C="invalid_cloud_discovery_metadata",_="invalid_authority_metadata",f="untrusted_authority",y="missing_ssh_jwk",b="missing_ssh_kid",E="missing_nonce_authentication_header",M="invalid_authentication_header",A="cannot_set_OIDCOptions",I="cannot_allow_native_broker",F="authority_mismatch"},53408:(pe,h,o)=>{"use strict";o.d(h,{A6:()=>v,aq:()=>g,gx:()=>u,uw:()=>c});var n=o(34739),i=o(66936),d=o(72896);const a=[d.interactionRequired,d.consentRequired,d.loginRequired,d.badToken],l=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token"],e={[d.noTokensFound]:"No refresh token found in the cache. Please sign-in.",[d.nativeAccountUnavailable]:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API.",[d.refreshTokenExpired]:"Refresh token has expired.",[d.badToken]:"Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve."},u={noTokensFoundError:{code:d.noTokensFound,desc:e[d.noTokensFound]},native_account_unavailable:{code:d.nativeAccountUnavailable,desc:e[d.nativeAccountUnavailable]},bad_token:{code:d.badToken,desc:e[d.badToken]}};class c extends i.WM{constructor(S,C,_,f,y,b,E){super(S,C,_),Object.setPrototypeOf(this,c.prototype),this.timestamp=f||n.Mv.EMPTY_STRING,this.traceId=y||n.Mv.EMPTY_STRING,this.correlationId=b||n.Mv.EMPTY_STRING,this.claims=E||n.Mv.EMPTY_STRING,this.name="InteractionRequiredAuthError"}}function g(p,S,C){const _=!!p&&a.indexOf(p)>-1,f=!!C&&l.indexOf(C)>-1,y=!!S&&a.some(b=>S.indexOf(b)>-1);return _||y||f}function v(p){return new c(p,e[p])}},72896:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{badToken:()=>u,consentRequired:()=>l,interactionRequired:()=>a,loginRequired:()=>e,nativeAccountUnavailable:()=>i,noTokensFound:()=>n,refreshTokenExpired:()=>d});const n="no_tokens_found",i="native_account_unavailable",d="refresh_token_expired",a="interaction_required",l="consent_required",e="login_required",u="bad_token"},76944:(pe,h,o)=>{"use strict";o.d(h,{s:()=>i});var n=o(66936);class i extends n.WM{constructor(a,l,e){super(a,l,e),this.name="ServerError",Object.setPrototypeOf(this,i.prototype)}}},73364:(pe,h,o)=>{"use strict";o.d(h,{G:()=>i,Y:()=>d});var n=o(34739),i=function(a){return a[a.Error=0]="Error",a[a.Warning=1]="Warning",a[a.Info=2]="Info",a[a.Verbose=3]="Verbose",a[a.Trace=4]="Trace",a}(i||{});class d{constructor(l,e,u){this.level=i.Info;const g=l||d.createDefaultLoggerOptions();this.localCallback=g.loggerCallback||(()=>{}),this.piiLoggingEnabled=g.piiLoggingEnabled||!1,this.level="number"==typeof g.logLevel?g.logLevel:i.Info,this.correlationId=g.correlationId||n.Mv.EMPTY_STRING,this.packageName=e||n.Mv.EMPTY_STRING,this.packageVersion=u||n.Mv.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:i.Info}}clone(l,e,u){return new d({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:u||this.correlationId},l,e)}logMessage(l,e){if(e.logLevel>this.level||!this.piiLoggingEnabled&&e.containsPii)return;const g=`[${(new Date).toUTCString()}] : [${e.correlationId||this.correlationId||""}] : ${this.packageName}@${this.packageVersion} : ${i[e.logLevel]} - ${l}`;this.executeCallback(e.logLevel,g,e.containsPii||!1)}executeCallback(l,e,u){this.localCallback&&this.localCallback(l,e,u)}error(l,e){this.logMessage(l,{logLevel:i.Error,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}errorPii(l,e){this.logMessage(l,{logLevel:i.Error,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}warning(l,e){this.logMessage(l,{logLevel:i.Warning,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}warningPii(l,e){this.logMessage(l,{logLevel:i.Warning,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}info(l,e){this.logMessage(l,{logLevel:i.Info,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}infoPii(l,e){this.logMessage(l,{logLevel:i.Info,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}verbose(l,e){this.logMessage(l,{logLevel:i.Verbose,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}verbosePii(l,e){this.logMessage(l,{logLevel:i.Verbose,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}trace(l,e){this.logMessage(l,{logLevel:i.Trace,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}tracePii(l,e){this.logMessage(l,{logLevel:i.Trace,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}},75205:(pe,h,o)=>{"use strict";o.d(h,{N:()=>n,W:()=>i});const n="@azure/msal-common",i="14.7.1"},33363:(pe,h,o)=>{"use strict";o.d(h,{I:()=>u});var n=o(34739),i=o(91076),d=o(95248),a=o(59684),l=o(77768),e=o(32336);class u{constructor(){this.parameters=new Map}addResponseTypeCode(){this.parameters.set(i.U3,encodeURIComponent(n.Mv.CODE_RESPONSE_TYPE))}addResponseTypeForTokenAndIdToken(){this.parameters.set(i.U3,encodeURIComponent(`${n.Mv.TOKEN_RESPONSE_TYPE} ${n.Mv.ID_TOKEN_RESPONSE_TYPE}`))}addResponseMode(g){this.parameters.set(i.Ku,encodeURIComponent(g||n.oh.QUERY))}addNativeBroker(){this.parameters.set(i.Yc,encodeURIComponent("1"))}addScopes(g,v=!0,p=n.ac){v&&!p.includes("openid")&&!g.includes("openid")&&p.push("openid");const S=v?[...g||[],...p]:g||[],C=new d.k(S);this.parameters.set(i.Bz,encodeURIComponent(C.printScopes()))}addClientId(g){this.parameters.set(i._k,encodeURIComponent(g))}addRedirectUri(g){l.e.validateRedirectUri(g),this.parameters.set(i.kB,encodeURIComponent(g))}addPostLogoutRedirectUri(g){l.e.validateRedirectUri(g),this.parameters.set(i.aw,encodeURIComponent(g))}addIdTokenHint(g){this.parameters.set(i.CS,encodeURIComponent(g))}addDomainHint(g){this.parameters.set(i.Ok,encodeURIComponent(g))}addLoginHint(g){this.parameters.set(i.WM,encodeURIComponent(g))}addCcsUpn(g){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`UPN:${g}`))}addCcsOid(g){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`Oid:${g.uid}@${g.utid}`))}addSid(g){this.parameters.set(i.N2,encodeURIComponent(g))}addClaims(g,v){const p=this.addClientCapabilitiesToClaims(g,v);l.e.validateClaims(p),this.parameters.set(i.e8,encodeURIComponent(p))}addCorrelationId(g){this.parameters.set(i.eU,encodeURIComponent(g))}addLibraryInfo(g){this.parameters.set(i.e6,g.sku),this.parameters.set(i.Yr,g.version),g.os&&this.parameters.set(i.cx,g.os),g.cpu&&this.parameters.set(i.uQ,g.cpu)}addApplicationTelemetry(g){g?.appName&&this.parameters.set(i.O0,g.appName),g?.appVersion&&this.parameters.set(i.op,g.appVersion)}addPrompt(g){l.e.validatePrompt(g),this.parameters.set(`${i.E$}`,encodeURIComponent(g))}addState(g){g&&this.parameters.set(i.y2,encodeURIComponent(g))}addNonce(g){this.parameters.set(i.n,encodeURIComponent(g))}addCodeChallengeParams(g,v){if(l.e.validateCodeChallengeParams(g,v),!g||!v)throw(0,a.QN)(e.pkceParamsMissing);this.parameters.set(i.WG,encodeURIComponent(g)),this.parameters.set(i.UJ,encodeURIComponent(v))}addAuthorizationCode(g){this.parameters.set(i.MZ,encodeURIComponent(g))}addDeviceCode(g){this.parameters.set(i.eo,encodeURIComponent(g))}addRefreshToken(g){this.parameters.set(i.S1,encodeURIComponent(g))}addCodeVerifier(g){this.parameters.set(i.gt,encodeURIComponent(g))}addClientSecret(g){this.parameters.set(i.YR,encodeURIComponent(g))}addClientAssertion(g){g&&this.parameters.set(i.iK,encodeURIComponent(g))}addClientAssertionType(g){g&&this.parameters.set(i.gL,encodeURIComponent(g))}addOboAssertion(g){this.parameters.set(i.k1,encodeURIComponent(g))}addRequestTokenUse(g){this.parameters.set(i.Gs,encodeURIComponent(g))}addGrantType(g){this.parameters.set(i.cD,encodeURIComponent(g))}addClientInfo(){this.parameters.set(n.Y$,"1")}addExtraQueryParameters(g){const v=l.e.sanitizeEQParams(g,this.parameters);Object.keys(v).forEach(p=>{this.parameters.set(p,g[p])})}addClientCapabilitiesToClaims(g,v){let p;if(g)try{p=JSON.parse(g)}catch{throw(0,a.QN)(e.invalidClaims)}else p={};return v&&v.length>0&&(p.hasOwnProperty(n.ai.ACCESS_TOKEN)||(p[n.ai.ACCESS_TOKEN]={}),p[n.ai.ACCESS_TOKEN][n.ai.XMS_CC]={values:v}),JSON.stringify(p)}addUsername(g){this.parameters.set(n.uU.username,encodeURIComponent(g))}addPassword(g){this.parameters.set(n.uU.password,encodeURIComponent(g))}addPopToken(g){g&&(this.parameters.set(i.kT,n.me.POP),this.parameters.set(i.cf,encodeURIComponent(g)))}addSshJwk(g){g&&(this.parameters.set(i.kT,n.me.SSH),this.parameters.set(i.cf,encodeURIComponent(g)))}addServerTelemetry(g){this.parameters.set(i.sx,g.generateCurrentRequestHeaderValue()),this.parameters.set(i.qA,g.generateLastRequestHeaderValue())}addThrottling(){this.parameters.set(i._E,n.gr.X_MS_LIB_CAPABILITY_VALUE)}addLogoutHint(g){this.parameters.set(i.sp,encodeURIComponent(g))}createQueryString(){const g=new Array;return this.parameters.forEach((v,p)=>{g.push(`${p}=${v}`)}),g.join("&")}}},77768:(pe,h,o)=>{"use strict";o.d(h,{e:()=>a});var n=o(59684),i=o(34739),d=o(32336);class a{static validateRedirectUri(e){if(!e)throw(0,n.QN)(d.redirectUriEmpty)}static validatePrompt(e){const u=[];for(const c in i.GI)u.push(i.GI[c]);if(u.indexOf(e)<0)throw(0,n.QN)(d.invalidPromptValue)}static validateClaims(e){try{JSON.parse(e)}catch{throw(0,n.QN)(d.invalidClaims)}}static validateCodeChallengeParams(e,u){if(!e||!u)throw(0,n.QN)(d.pkceParamsMissing);this.validateCodeChallengeMethod(u)}static validateCodeChallengeMethod(e){if([i.a2.PLAIN,i.a2.S256].indexOf(e)<0)throw(0,n.QN)(d.invalidCodeChallengeMethod)}static sanitizeEQParams(e,u){return e?(u.forEach((c,g)=>{e[g]&&delete e[g]}),Object.fromEntries(Object.entries(e).filter(c=>""!==c[1]))):{}}}},95248:(pe,h,o)=>{"use strict";o.d(h,{k:()=>u});var n=o(59684),i=o(7828),d=o(28876),a=o(34739),l=o(32336),e=o(71408);class u{constructor(g){const v=g?i.e.trimArrayEntries([...g]):[],p=v?i.e.removeEmptyStringsFromArray(v):[];this.validateInputScopes(p),this.scopes=new Set,p.forEach(S=>this.scopes.add(S))}static fromString(g){const p=(g||a.Mv.EMPTY_STRING).split(" ");return new u(p)}static createSearchScopes(g){const v=new u(g);return v.containsOnlyOIDCScopes()?v.removeScope(a.Mv.OFFLINE_ACCESS_SCOPE):v.removeOIDCScopes(),v}validateInputScopes(g){if(!g||g.length<1)throw(0,n.QN)(l.emptyInputScopesError)}containsScope(g){const v=this.printScopesLowerCase().split(" "),p=new u(v);return!!g&&p.scopes.has(g.toLowerCase())}containsScopeSet(g){return!(!g||g.scopes.size<=0)&&this.scopes.size>=g.scopes.size&&g.asArray().every(v=>this.containsScope(v))}containsOnlyOIDCScopes(){let g=0;return a.sj.forEach(v=>{this.containsScope(v)&&(g+=1)}),this.scopes.size===g}appendScope(g){g&&this.scopes.add(g.trim())}appendScopes(g){try{g.forEach(v=>this.appendScope(v))}catch{throw(0,d.mQ)(e.cannotAppendScopeSet)}}removeScope(g){if(!g)throw(0,d.mQ)(e.cannotRemoveEmptyScope);this.scopes.delete(g.trim())}removeOIDCScopes(){a.sj.forEach(g=>{this.scopes.delete(g)})}unionScopeSets(g){if(!g)throw(0,d.mQ)(e.emptyInputScopeSet);const v=new Set;return g.scopes.forEach(p=>v.add(p.toLowerCase())),this.scopes.forEach(p=>v.add(p.toLowerCase())),v}intersectingScopeSets(g){if(!g)throw(0,d.mQ)(e.emptyInputScopeSet);g.containsOnlyOIDCScopes()||g.removeOIDCScopes();const v=this.unionScopeSets(g),p=g.getScopeCount(),S=this.getScopeCount();return v.sizeg.push(v)),g}printScopes(){return this.scopes?this.asArray().join(" "):a.Mv.EMPTY_STRING}printScopesLowerCase(){return this.printScopes().toLowerCase()}}},85348:(pe,h,o)=>{"use strict";o.d(h,{W8:()=>i,Xv:()=>n,ol:()=>d});const n={AcquireTokenByCode:"acquireTokenByCode",AcquireTokenByRefreshToken:"acquireTokenByRefreshToken",AcquireTokenSilent:"acquireTokenSilent",AcquireTokenSilentAsync:"acquireTokenSilentAsync",AcquireTokenPopup:"acquireTokenPopup",AcquireTokenRedirect:"acquireTokenRedirect",CryptoOptsGetPublicKeyThumbprint:"cryptoOptsGetPublicKeyThumbprint",CryptoOptsSignJwt:"cryptoOptsSignJwt",SilentCacheClientAcquireToken:"silentCacheClientAcquireToken",SilentIframeClientAcquireToken:"silentIframeClientAcquireToken",SilentRefreshClientAcquireToken:"silentRefreshClientAcquireToken",SsoSilent:"ssoSilent",StandardInteractionClientGetDiscoveredAuthority:"standardInteractionClientGetDiscoveredAuthority",FetchAccountIdWithNativeBroker:"fetchAccountIdWithNativeBroker",NativeInteractionClientAcquireToken:"nativeInteractionClientAcquireToken",BaseClientCreateTokenRequestHeaders:"baseClientCreateTokenRequestHeaders",RefreshTokenClientExecutePostToTokenEndpoint:"refreshTokenClientExecutePostToTokenEndpoint",AuthorizationCodeClientExecutePostToTokenEndpoint:"authorizationCodeClientExecutePostToTokenEndpoint",BrokerHandhshake:"brokerHandshake",AcquireTokenByRefreshTokenInBroker:"acquireTokenByRefreshTokenInBroker",AcquireTokenByBroker:"acquireTokenByBroker",RefreshTokenClientExecuteTokenRequest:"refreshTokenClientExecuteTokenRequest",RefreshTokenClientAcquireToken:"refreshTokenClientAcquireToken",RefreshTokenClientAcquireTokenWithCachedRefreshToken:"refreshTokenClientAcquireTokenWithCachedRefreshToken",RefreshTokenClientAcquireTokenByRefreshToken:"refreshTokenClientAcquireTokenByRefreshToken",RefreshTokenClientCreateTokenRequestBody:"refreshTokenClientCreateTokenRequestBody",AcquireTokenFromCache:"acquireTokenFromCache",SilentFlowClientAcquireCachedToken:"silentFlowClientAcquireCachedToken",SilentFlowClientGenerateResultFromCacheRecord:"silentFlowClientGenerateResultFromCacheRecord",AcquireTokenBySilentIframe:"acquireTokenBySilentIframe",InitializeBaseRequest:"initializeBaseRequest",InitializeSilentRequest:"initializeSilentRequest",InitializeClientApplication:"initializeClientApplication",SilentIframeClientTokenHelper:"silentIframeClientTokenHelper",SilentHandlerInitiateAuthRequest:"silentHandlerInitiateAuthRequest",SilentHandlerMonitorIframeForHash:"silentHandlerMonitorIframeForHash",SilentHandlerLoadFrame:"silentHandlerLoadFrame",SilentHandlerLoadFrameSync:"silentHandlerLoadFrameSync",StandardInteractionClientCreateAuthCodeClient:"standardInteractionClientCreateAuthCodeClient",StandardInteractionClientGetClientConfiguration:"standardInteractionClientGetClientConfiguration",StandardInteractionClientInitializeAuthorizationRequest:"standardInteractionClientInitializeAuthorizationRequest",StandardInteractionClientInitializeAuthorizationCodeRequest:"standardInteractionClientInitializeAuthorizationCodeRequest",GetAuthCodeUrl:"getAuthCodeUrl",HandleCodeResponseFromServer:"handleCodeResponseFromServer",HandleCodeResponse:"handleCodeResponse",UpdateTokenEndpointAuthority:"updateTokenEndpointAuthority",AuthClientAcquireToken:"authClientAcquireToken",AuthClientExecuteTokenRequest:"authClientExecuteTokenRequest",AuthClientCreateTokenRequestBody:"authClientCreateTokenRequestBody",AuthClientCreateQueryString:"authClientCreateQueryString",PopTokenGenerateCnf:"popTokenGenerateCnf",PopTokenGenerateKid:"popTokenGenerateKid",HandleServerTokenResponse:"handleServerTokenResponse",DeserializeResponse:"deserializeResponse",AuthorityFactoryCreateDiscoveredInstance:"authorityFactoryCreateDiscoveredInstance",AuthorityResolveEndpointsAsync:"authorityResolveEndpointsAsync",AuthorityResolveEndpointsFromLocalSources:"authorityResolveEndpointsFromLocalSources",AuthorityGetCloudDiscoveryMetadataFromNetwork:"authorityGetCloudDiscoveryMetadataFromNetwork",AuthorityUpdateCloudDiscoveryMetadata:"authorityUpdateCloudDiscoveryMetadata",AuthorityGetEndpointMetadataFromNetwork:"authorityGetEndpointMetadataFromNetwork",AuthorityUpdateEndpointMetadata:"authorityUpdateEndpointMetadata",AuthorityUpdateMetadataWithRegionalInformation:"authorityUpdateMetadataWithRegionalInformation",RegionDiscoveryDetectRegion:"regionDiscoveryDetectRegion",RegionDiscoveryGetRegionFromIMDS:"regionDiscoveryGetRegionFromIMDS",RegionDiscoveryGetCurrentVersion:"regionDiscoveryGetCurrentVersion",AcquireTokenByCodeAsync:"acquireTokenByCodeAsync",GetEndpointMetadataFromNetwork:"getEndpointMetadataFromNetwork",GetCloudDiscoveryMetadataFromNetworkMeasurement:"getCloudDiscoveryMetadataFromNetworkMeasurement",HandleRedirectPromiseMeasurement:"handleRedirectPromise",HandleNativeRedirectPromiseMeasurement:"handleNativeRedirectPromise",UpdateCloudDiscoveryMetadataMeasurement:"updateCloudDiscoveryMetadataMeasurement",UsernamePasswordClientAcquireToken:"usernamePasswordClientAcquireToken",NativeMessageHandlerHandshake:"nativeMessageHandlerHandshake",NativeGenerateAuthResult:"nativeGenerateAuthResult",RemoveHiddenIframe:"removeHiddenIframe",ClearTokensAndKeysWithClaims:"clearTokensAndKeysWithClaims",CacheManagerGetRefreshToken:"cacheManagerGetRefreshToken",GeneratePkceCodes:"generatePkceCodes",GenerateCodeVerifier:"generateCodeVerifier",GenerateCodeChallengeFromVerifier:"generateCodeChallengeFromVerifier",Sha256Digest:"sha256Digest",GetRandomValues:"getRandomValues"},i={NotStarted:0,InProgress:1,Completed:2},d=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status","multiMatchedAT","multiMatchedID","multiMatchedRT"])},35128:(pe,h,o)=>{"use strict";o.d(h,{W:()=>i,_:()=>d});var n=o(85348);class i{startMeasurement(){}endMeasurement(){}flushMeasurement(){return null}}class d{generateId(){return"callback-id"}startMeasurement(l,e){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:n.W8.InProgress,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:l,startTimeMs:Date.now(),correlationId:e||""},measurement:new i}}startPerformanceMeasurement(){return new i}calculateQueuedTime(){return 0}addQueueMeasurement(){}setPreQueueTime(){}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}}},67648:(pe,h,o)=>{"use strict";o.d(h,{_:()=>e});var n=o(59684),i=o(7828),d=o(34739),a=o(33680),l=o(32336);class e{get urlString(){return this._urlString}constructor(c){if(this._urlString=c,!this._urlString)throw(0,n.QN)(l.urlEmptyError);c.includes("#")||(this._urlString=e.canonicalizeUri(c))}static canonicalizeUri(c){if(c){let g=c.toLowerCase();return i.e.endsWith(g,"?")?g=g.slice(0,-1):i.e.endsWith(g,"?/")&&(g=g.slice(0,-2)),i.e.endsWith(g,"/")||(g+="/"),g}return c}validateAsUri(){let c;try{c=this.getUrlComponents()}catch{throw(0,n.QN)(l.urlParseError)}if(!c.HostNameAndPort||!c.PathSegments)throw(0,n.QN)(l.urlParseError);if(!c.Protocol||"https:"!==c.Protocol.toLowerCase())throw(0,n.QN)(l.authorityUriInsecure)}static appendQueryString(c,g){return g?c.indexOf("?")<0?`${c}?${g}`:`${c}&${g}`:c}static removeHashFromUrl(c){return e.canonicalizeUri(c.split("#")[0])}replaceTenantPath(c){const g=this.getUrlComponents(),v=g.PathSegments;return c&&0!==v.length&&(v[0]===d.sN.COMMON||v[0]===d.sN.ORGANIZATIONS)&&(v[0]=c),e.constructAuthorityUriFromObject(g)}getUrlComponents(){const c=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),g=this.urlString.match(c);if(!g)throw(0,n.QN)(l.urlParseError);const v={Protocol:g[1],HostNameAndPort:g[4],AbsolutePath:g[5],QueryString:g[7]};let p=v.AbsolutePath.split("/");return p=p.filter(S=>S&&S.length>0),v.PathSegments=p,v.QueryString&&v.QueryString.endsWith("/")&&(v.QueryString=v.QueryString.substring(0,v.QueryString.length-1)),v}static getDomainFromUrl(c){const g=RegExp("^([^:/?#]+://)?([^/?#]*)"),v=c.match(g);if(!v)throw(0,n.QN)(l.urlParseError);return v[2]}static getAbsoluteUrl(c,g){if(c[0]===d.Mv.FORWARD_SLASH){const p=new e(g).getUrlComponents();return p.Protocol+"//"+p.HostNameAndPort+c}return c}static constructAuthorityUriFromObject(c){return new e(c.Protocol+"//"+c.HostNameAndPort+"/"+c.PathSegments.join("/"))}static hashContainsKnownProperties(c){return!!(0,a.u)(c)}}},34739:(pe,h,o)=>{"use strict";o.d(h,{A9:()=>_,GI:()=>g,Gu:()=>ue,IH:()=>e,Ku:()=>C,MF:()=>l,Mf:()=>te,Mj:()=>f,Mv:()=>n,Ni:()=>I,Q$:()=>H,Q3:()=>i,Y$:()=>M,a2:()=>v,ac:()=>d,ai:()=>c,cv:()=>F,cz:()=>E,eE:()=>p,gr:()=>P,ic:()=>j,me:()=>T,oh:()=>S,rF:()=>x,sL:()=>O,sN:()=>u,sj:()=>a,uU:()=>N,wR:()=>G,wj:()=>A,yu:()=>y});const n={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},i={SUCCESS_RANGE_START:200,SUCCESS_RANGE_END:299,REDIRECT:302,CLIENT_ERROR_RANGE_START:400,CLIENT_ERROR_RANGE_END:499,SERVER_ERROR_RANGE_START:500,SERVER_ERROR_RANGE_END:599},d=[n.OPENID_SCOPE,n.PROFILE_SCOPE,n.OFFLINE_ACCESS_SCOPE],a=[...d,n.EMAIL_SCOPE],l={CONTENT_TYPE:"Content-Type",RETRY_AFTER:"Retry-After",CCS_HEADER:"X-AnchorMailbox",WWWAuthenticate:"WWW-Authenticate",AuthenticationInfo:"Authentication-Info",X_MS_REQUEST_ID:"x-ms-request-id",X_MS_HTTP_VERSION:"x-ms-httpver"},e={ID_TOKEN:"idtoken",CLIENT_INFO:"client.info",ADAL_ID_TOKEN:"adal.idtoken",ERROR:"error",ERROR_DESC:"error.description",ACTIVE_ACCOUNT:"active-account",ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},u={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},c={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},g={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},v={PLAIN:"plain",S256:"S256"},p={QUERY:"query",FRAGMENT:"fragment"},S={...p,FORM_POST:"form_post"},C={IMPLICIT_GRANT:"implicit",AUTHORIZATION_CODE_GRANT:"authorization_code",CLIENT_CREDENTIALS_GRANT:"client_credentials",RESOURCE_OWNER_PASSWORD_GRANT:"password",REFRESH_TOKEN_GRANT:"refresh_token",DEVICE_CODE_GRANT:"device_code",JWT_BEARER:"urn:ietf:params:oauth:grant-type:jwt-bearer"},_={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},f={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."},y={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},E="appmetadata",M="client_info",A="1",I={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:86400},F={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},j={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"},T={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},P={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},x={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"},N={username:"username",password:"password"},O={httpSuccess:200,httpBadRequest:400},H={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},G={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},te={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},ue={Jwt:"JWT",Jwk:"JWK",Pop:"pop"}},14035:(pe,h,o)=>{"use strict";o.d(h,{C:()=>i,q:()=>n});const n=(d,a,l,e,u)=>(...c)=>{l.trace(`Executing function ${a}`);const g=e?.startMeasurement(a,u);if(u){const v=a+"CallCount";e?.incrementFields({[v]:1},u)}try{const v=d(...c);return g?.end({success:!0}),l.trace(`Returning result from ${a}`),v}catch(v){l.trace(`Error occurred in ${a}`);try{l.trace(JSON.stringify(v))}catch{l.trace("Unable to print error message.")}throw g?.end({success:!1}),v}},i=(d,a,l,e,u)=>(...c)=>{l.trace(`Executing function ${a}`);const g=e?.startMeasurement(a,u);if(u){const v=a+"CallCount";e?.incrementFields({[v]:1},u)}return e?.setPreQueueTime(a,u),d(...c).then(v=>(l.trace(`Returning result from ${a}`),g?.end({success:!0}),v)).catch(v=>{l.trace(`Error occurred in ${a}`);try{l.trace(JSON.stringify(v))}catch{l.trace("Unable to print error message.")}throw g?.end({success:!1}),v})}},86144:(pe,h,o)=>{"use strict";o.d(h,{c:()=>a});var n=o(34739),i=o(28876),d=o(71408);class a{static setRequestState(e,u,c){const g=a.generateLibraryState(e,c);return u?`${g}${n.Mv.RESOURCE_DELIM}${u}`:g}static generateLibraryState(e,u){if(!e)throw(0,i.mQ)(d.noCryptoObject);const c={id:e.createNewGuid()};u&&(c.meta=u);const g=JSON.stringify(c);return e.base64Encode(g)}static parseRequestState(e,u){if(!e)throw(0,i.mQ)(d.noCryptoObject);if(!u)throw(0,i.mQ)(d.invalidState);try{const c=u.split(n.Mv.RESOURCE_DELIM),g=c[0],v=c.length>1?c.slice(1).join(n.Mv.RESOURCE_DELIM):n.Mv.EMPTY_STRING,p=e.base64Decode(g),S=JSON.parse(p);return{userRequestState:v||n.Mv.EMPTY_STRING,libraryState:S}}catch{throw(0,i.mQ)(d.invalidState)}}}},7828:(pe,h,o)=>{"use strict";o.d(h,{e:()=>n});class n{static isEmptyObj(d){if(d)try{const a=JSON.parse(d);return 0===Object.keys(a).length}catch{}return!0}static startsWith(d,a){return 0===d.indexOf(a)}static endsWith(d,a){return d.length>=a.length&&d.lastIndexOf(a)===d.length-a.length}static queryStringToObject(d){const a={},l=d.split("&"),e=u=>decodeURIComponent(u.replace(/\+/g," "));return l.forEach(u=>{if(u.trim()){const[c,g]=u.split(/=(.+)/g,2);c&&g&&(a[e(c)]=e(g))}}),a}static trimArrayEntries(d){return d.map(a=>a.trim())}static removeEmptyStringsFromArray(d){return d.filter(a=>!!a)}static jsonParseHelper(d){try{return JSON.parse(d)}catch{return null}}static matchPattern(d,a){return new RegExp(d.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(a)}}},50160:(pe,h,o)=>{"use strict";function n(){return Math.round((new Date).getTime()/1e3)}function i(l,e){const u=Number(l)||0;return n()+e>u}function d(l){return Number(l)>n()}o.d(h,{G4:()=>d,GO:()=>n,WY:()=>i})},33680:(pe,h,o)=>{"use strict";o.d(h,{u:()=>a,w:()=>d});var n=o(28876),i=o(71408);function d(l){return l.startsWith("#/")?l.substring(2):l.startsWith("#")||l.startsWith("?")?l.substring(1):l}function a(l){if(!l||l.indexOf("=")<0)return null;try{const e=d(l),u=Object.fromEntries(new URLSearchParams(e));if(u.code||u.error||u.error_description||u.state)return u}catch{throw(0,n.mQ)(i.hashNotDeserialized)}return null}},57848:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{FaConfig:()=>mi,FaDuotoneIconComponent:()=>Sn,FaIconComponent:()=>Ji,FaIconLibrary:()=>Ai,FaLayersComponent:()=>Qi,FaLayersCounterComponent:()=>Ii,FaLayersTextComponent:()=>ei,FaStackComponent:()=>Ti,FaStackItemSizeDirective:()=>ji,FontAwesomeModule:()=>oo});var n=o(54496);function i(Be,at){var R=Object.keys(Be);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(Be);at&&(q=q.filter(function(B){return Object.getOwnPropertyDescriptor(Be,B).enumerable})),R.push.apply(R,q)}return R}function d(Be){for(var at=1;atBe.length)&&(at=Be.length);for(var R=0,q=new Array(at);R0;)at+=bn[62*Math.random()|0];return at}function rn(Be){for(var at=[],R=(Be||[]).length>>>0;R--;)at[R]=Be[R];return at}function nr(Be){return Be.classList?rn(Be.classList):(Be.getAttribute("class")||"").split(" ").filter(function(at){return at})}function kr(Be){return"".concat(Be).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function sr(Be){return Object.keys(Be||{}).reduce(function(at,R){return at+"".concat(R,": ").concat(Be[R].trim(),";")},"")}function Er(Be){return Be.size!==xt.size||Be.x!==xt.x||Be.y!==xt.y||Be.rotate!==xt.rotate||Be.flipX||Be.flipY}var Rn=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function oi(){var Be=Oe,at=ve,R=Xt.cssPrefix,q=Xt.replacementClass,B=Rn;if(R!==Be||q!==at){var ce=new RegExp("\\.".concat(Be,"\\-"),"g"),xe=new RegExp("\\--".concat(Be,"\\-"),"g"),yt=new RegExp("\\.".concat(at),"g");B=B.replace(ce,".".concat(R,"-")).replace(xe,"--".concat(R,"-")).replace(yt,".".concat(q))}return B}var Sr=!1;function pr(){Xt.autoAddCss&&!Sr&&(function nn(Be){if(Be&&Z){var at=te.createElement("style");at.setAttribute("type","text/css"),at.innerHTML=Be;for(var R=te.head.childNodes,q=null,B=R.length-1;B>-1;B--){var ce=R[B],xe=(ce.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(xe)>-1&&(q=ce)}te.head.insertBefore(at,q)}}(oi()),Sr=!0)}var Jn={mixout:function(){return{dom:{css:oi,insertCss:pr}}},hooks:function(){return{beforeDOMElementCreation:function(){pr()},beforeI2svg:function(){pr()}}}},er=G||{};er[we]||(er[we]={}),er[we].styles||(er[we].styles={}),er[we].hooks||(er[we].hooks={}),er[we].shims||(er[we].shims=[]);var Or=er[we],pi=[],jn=!1;function or(Be){var at=Be.tag,R=Be.attributes,q=void 0===R?{}:R,B=Be.children,ce=void 0===B?[]:B;return"string"==typeof Be?kr(Be):"<".concat(at," ").concat(function Br(Be){return Object.keys(Be||{}).reduce(function(at,R){return at+"".concat(R,'="').concat(kr(Be[R]),'" ')},"").trim()}(q),">").concat(ce.map(or).join(""),"")}function ui(Be,at,R){if(Be&&Be[at]&&Be[at][R])return{prefix:at,iconName:R,icon:Be[at][R]}}Z&&((jn=(te.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(te.readyState))||te.addEventListener("DOMContentLoaded",function Be(){te.removeEventListener("DOMContentLoaded",Be),jn=1,pi.map(function(at){return at()})}));var ct=function(at,R,q,B){var jt,cn,X,ce=Object.keys(at),xe=ce.length,yt=void 0!==B?function(at,R){return function(q,B,ce,xe){return at.call(R,q,B,ce,xe)}}(R,B):R;for(void 0===q?(jt=1,X=at[ce[0]]):(jt=0,X=q);jt=55296&&B<=56319&&R2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,B=void 0!==q&&q,ce=dn(at);"function"!=typeof Or.hooks.addPack||B?Or.styles[Be]=d(d({},Or.styles[Be]||{}),ce):Or.hooks.addPack(Be,dn(at)),"fas"===Be&&Mn("fa",at)}var Zn,Yn,Tr,Mr=Or.styles,zn=Or.shims,ur=(g(Zn={},nt,Object.values(_n[nt])),g(Zn,Pt,Object.values(_n[Pt])),Zn),Mi=null,un={},U={},z={},ae={},Fe={},Ae=(g(Yn={},nt,Object.keys(wn[nt])),g(Yn,Pt,Object.keys(wn[Pt])),Yn);var rt=function(){var at=function(ce){return ct(Mr,function(xe,yt,jt){return xe[jt]=ct(yt,ce,{}),xe},{})};un=at(function(B,ce,xe){return ce[3]&&(B[ce[3]]=xe),ce[2]&&ce[2].filter(function(jt){return"number"==typeof jt}).forEach(function(jt){B[jt.toString(16)]=xe}),B}),U=at(function(B,ce,xe){return B[xe]=xe,ce[2]&&ce[2].filter(function(jt){return"string"==typeof jt}).forEach(function(jt){B[jt]=xe}),B}),Fe=at(function(B,ce,xe){var yt=ce[2];return B[xe]=xe,yt.forEach(function(jt){B[jt]=xe}),B});var R="far"in Mr||Xt.autoFetchSvg,q=ct(zn,function(B,ce){var xe=ce[0],yt=ce[1],jt=ce[2];return"far"===yt&&!R&&(yt="fas"),"string"==typeof xe&&(B.names[xe]={prefix:yt,iconName:jt}),"number"==typeof xe&&(B.unicodes[xe.toString(16)]={prefix:yt,iconName:jt}),B},{names:{},unicodes:{}});z=q.names,ae=q.unicodes,Mi=fn(Xt.styleDefault,{family:Xt.familyDefault})};function _t(Be,at){return(un[Be]||{})[at]}function Bt(Be,at){return(Fe[Be]||{})[at]}function Jt(Be){return z[Be]||{prefix:null,iconName:null}}function vn(){return Mi}(function $t(Be){At.push(Be)})(function(Be){Mi=fn(Be.styleDefault,{family:Xt.familyDefault})}),rt();var Cn=function(){return{prefix:null,iconName:null,rest:[]}};function fn(Be){var R=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,q=void 0===R?nt:R;return An[q][Be]||An[q][wn[q][Be]]||(Be in Or.styles?Be:null)||null}var Gt=(g(Tr={},nt,Object.keys(_n[nt])),g(Tr,Pt,Object.keys(_n[Pt])),Tr);function Nn(Be){var at,q=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,B=void 0!==q&&q,ce=(g(at={},nt,"".concat(Xt.cssPrefix,"-").concat(nt)),g(at,Pt,"".concat(Xt.cssPrefix,"-").concat(Pt)),at),xe=null,yt=nt;(Be.includes(ce[nt])||Be.some(function(cn){return Gt[nt].includes(cn)}))&&(yt=nt),(Be.includes(ce[Pt])||Be.some(function(cn){return Gt[Pt].includes(cn)}))&&(yt=Pt);var jt=Be.reduce(function(cn,X){var Ve=function De(Be,at){var R=at.split("-"),q=R[0],B=R.slice(1).join("-");return q!==Be||""===B||function fe(Be){return~ut.indexOf(Be)}(B)?null:B}(Xt.cssPrefix,X);if(Mr[X]?(X=ur[yt].includes(X)?qt[yt][X]:X,xe=X,cn.prefix=X):Ae[yt].indexOf(X)>-1?(xe=X,cn.prefix=fn(X,{family:yt})):Ve?cn.iconName=Ve:X!==Xt.replacementClass&&X!==ce[nt]&&X!==ce[Pt]&&cn.rest.push(X),!B&&cn.prefix&&cn.iconName){var Ce="fa"===xe?Jt(cn.iconName):{},Re=Bt(cn.prefix,cn.iconName);Ce.prefix&&(xe=null),cn.iconName=Ce.iconName||Re||cn.iconName,cn.prefix=Ce.prefix||cn.prefix,"far"===cn.prefix&&!Mr.far&&Mr.fas&&!Xt.autoFetchSvg&&(cn.prefix="fas")}return cn},Cn());return(Be.includes("fa-brands")||Be.includes("fab"))&&(jt.prefix="fab"),(Be.includes("fa-duotone")||Be.includes("fad"))&&(jt.prefix="fad"),!jt.prefix&&yt===Pt&&(Mr.fass||Xt.autoFetchSvg)&&(jt.prefix="fass",jt.iconName=Bt(jt.prefix,jt.iconName)||jt.iconName),("fa"===jt.prefix||"fa"===xe)&&(jt.prefix=vn()||"fas"),jt}var lr=function(){function Be(){(function e(Be,at){if(!(Be instanceof at))throw new TypeError("Cannot call a class as a function")})(this,Be),this.definitions={}}return function c(Be,at,R){at&&u(Be.prototype,at),R&&u(Be,R),Object.defineProperty(Be,"prototype",{writable:!1})}(Be,[{key:"add",value:function(){for(var R=this,q=arguments.length,B=new Array(q),ce=0;ce0&&X.forEach(function(Ve){"string"==typeof Ve&&(R[yt][Ve]=cn)}),R[yt][jt]=cn}),R}}]),Be}(),cr=[],Nr={},Lr={},dt=Object.keys(Lr);function vi(Be,at){for(var R=arguments.length,q=new Array(R>2?R-2:0),B=2;B1?at-1:0),q=1;q0&&void 0!==arguments[0]?arguments[0]:{};return Z?(_r("beforeI2svg",at),In("pseudoElements2svg",at),In("i2svg",at)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var at=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},R=at.autoReplaceSvgRoot;!1===Xt.autoReplaceSvg&&(Xt.autoReplaceSvg=!0),Xt.observeMutations=!0,function Qn(Be){Z&&(jn?setTimeout(Be,0):pi.push(Be))}(function(){Zr({autoReplaceSvgRoot:R}),_r("watch",at)})}},ti={noAuto:function(){Xt.autoReplaceSvg=!1,Xt.observeMutations=!1,_r("noAuto")},config:Xt,dom:ai,parse:{icon:function(at){if(null===at)return null;if("object"===a(at)&&at.prefix&&at.iconName)return{prefix:at.prefix,iconName:Bt(at.prefix,at.iconName)||at.iconName};if(Array.isArray(at)&&2===at.length){var R=0===at[1].indexOf("fa-")?at[1].slice(3):at[1],q=fn(at[0]);return{prefix:q,iconName:Bt(q,R)||R}}if("string"==typeof at&&(at.indexOf("".concat(Xt.cssPrefix,"-"))>-1||at.match(ht))){var B=Nn(at.split(" "),{skipLookups:!0});return{prefix:B.prefix||vn(),iconName:Bt(B.prefix,B.iconName)||B.iconName}}if("string"==typeof at){var ce=vn();return{prefix:ce,iconName:Bt(ce,at)||at}}}},library:si,findIconDefinition:Gn,toHtml:or},Zr=function(){var R=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,q=void 0===R?te:R;(Object.keys(Or.styles).length>0||Xt.autoFetchSvg)&&Z&&Xt.autoReplaceSvg&&ti.dom.i2svg({node:q})};function Xr(Be,at){return Object.defineProperty(Be,"abstract",{get:at}),Object.defineProperty(Be,"html",{get:function(){return Be.abstract.map(function(q){return or(q)})}}),Object.defineProperty(Be,"node",{get:function(){if(Z){var q=te.createElement("div");return q.innerHTML=Be.html,q.children}}}),Be}function Yi(Be){var at=Be.icons,R=at.main,q=at.mask,B=Be.prefix,ce=Be.iconName,xe=Be.transform,yt=Be.symbol,jt=Be.title,cn=Be.maskId,X=Be.titleId,Ve=Be.extra,Ce=Be.watchable,Re=void 0!==Ce&&Ce,Mt=q.found?q:R,Zt=Mt.width,an=Mt.height,Pn="fak"===B,gr=[Xt.replacementClass,ce?"".concat(Xt.cssPrefix,"-").concat(ce):""].filter(function(eo){return-1===Ve.classes.indexOf(eo)}).filter(function(eo){return""!==eo||!!eo}).concat(Ve.classes).join(" "),yr={children:[],attributes:d(d({},Ve.attributes),{},{"data-prefix":B,"data-icon":ce,class:gr,role:Ve.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Zt," ").concat(an)})},$r=Pn&&!~Ve.classes.indexOf("fa-fw")?{width:"".concat(Zt/an*16*.0625,"em")}:{};Re&&(yr.attributes[_e]=""),jt&&(yr.children.push({tag:"title",attributes:{id:yr.attributes["aria-labelledby"]||"title-".concat(X||Tn())},children:[jt]}),delete yr.attributes.title);var Cr=d(d({},yr),{},{prefix:B,iconName:ce,main:R,mask:q,maskId:cn,transform:xe,symbol:yt,styles:d(d({},$r),Ve.styles)}),Qr=q.found&&R.found?In("generateAbstractMask",Cr)||{children:[],attributes:{}}:In("generateAbstractIcon",Cr)||{children:[],attributes:{}},Ri=Qr.attributes;return Cr.children=Qr.children,Cr.attributes=Ri,yt?function hr(Be){var R=Be.iconName,q=Be.children,B=Be.attributes,ce=Be.symbol,xe=!0===ce?"".concat(Be.prefix,"-").concat(Xt.cssPrefix,"-").concat(R):ce;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:d(d({},B),{},{id:xe}),children:q}]}]}(Cr):function Vi(Be){var at=Be.children,R=Be.main,q=Be.mask,B=Be.attributes,ce=Be.styles,xe=Be.transform;if(Er(xe)&&R.found&&!q.found){var cn={x:R.width/R.height/2,y:.5};B.style=sr(d(d({},ce),{},{"transform-origin":"".concat(cn.x+xe.x/16,"em ").concat(cn.y+xe.y/16,"em")}))}return[{tag:"svg",attributes:B,children:at}]}(Cr)}function ko(Be){var at=Be.content,R=Be.width,q=Be.height,B=Be.transform,ce=Be.title,xe=Be.extra,yt=Be.watchable,jt=void 0!==yt&&yt,cn=d(d(d({},xe.attributes),ce?{title:ce}:{}),{},{class:xe.classes.join(" ")});jt&&(cn[_e]="");var X=d({},xe.styles);Er(B)&&(X.transform=function qn(Be){var at=Be.transform,R=Be.width,B=Be.height,ce=void 0===B?16:B,xe=Be.startCentered,yt=void 0!==xe&&xe,jt="";return jt+=yt&&re?"translate(".concat(at.x/16-(void 0===R?16:R)/2,"em, ").concat(at.y/16-ce/2,"em) "):yt?"translate(calc(-50% + ".concat(at.x/16,"em), calc(-50% + ").concat(at.y/16,"em)) "):"translate(".concat(at.x/16,"em, ").concat(at.y/16,"em) "),(jt+="scale(".concat(at.size/16*(at.flipX?-1:1),", ").concat(at.size/16*(at.flipY?-1:1),") "))+"rotate(".concat(at.rotate,"deg) ")}({transform:B,startCentered:!0,width:R,height:q}),X["-webkit-transform"]=X.transform);var Ve=sr(X);Ve.length>0&&(cn.style=Ve);var Ce=[];return Ce.push({tag:"span",attributes:cn,children:[at]}),ce&&Ce.push({tag:"span",attributes:{class:"sr-only"},children:[ce]}),Ce}var Jr=Or.styles;function zi(Be){var at=Be[0],R=Be[1],ce=S(Be.slice(4),1)[0];return{found:!0,width:at,height:R,icon:Array.isArray(ce)?{tag:"g",attributes:{class:"".concat(Xt.cssPrefix,"-").concat(He.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Xt.cssPrefix,"-").concat(He.SECONDARY),fill:"currentColor",d:ce[0]}},{tag:"path",attributes:{class:"".concat(Xt.cssPrefix,"-").concat(He.PRIMARY),fill:"currentColor",d:ce[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:ce}}}}var qi={found:!1,width:512,height:512};function Rr(Be,at){var R=at;return"fa"===at&&null!==Xt.styleDefault&&(at=vn()),new Promise(function(q,B){if(In("missingIconAbstract"),"fa"===R){var xe=Jt(Be)||{};Be=xe.iconName||Be,at=xe.prefix||at}if(Be&&at&&Jr[at]&&Jr[at][Be])return q(zi(Jr[at][Be]));(function ro(Be,at){!Xe&&!Xt.showMissingIcons&&Be&&console.error('Icon with name "'.concat(Be,'" and prefix "').concat(at,'" is missing.'))})(Be,at),q(d(d({},qi),{},{icon:Xt.showMissingIcons&&Be&&In("missingIconAbstract")||{}}))})}var mo=function(){},_i=Xt.measurePerformance&&se&&se.mark&&se.measure?se:{mark:mo,measure:mo},xi='FA "6.5.1"',ar=function(at){_i.mark("".concat(xi," ").concat(at," ends")),_i.measure("".concat(xi," ").concat(at),"".concat(xi," ").concat(at," begins"),"".concat(xi," ").concat(at," ends"))},yo={begin:function(at){return _i.mark("".concat(xi," ").concat(at," begins")),function(){return ar(at)}},end:ar},wi=function(){};function yi(Be){return"string"==typeof(Be.getAttribute?Be.getAttribute(_e):null)}function bo(Be){return te.createElementNS("http://www.w3.org/2000/svg",Be)}function Ni(Be){return te.createElement(Be)}function Gr(Be){var R=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,q=void 0===R?"svg"===Be.tag?bo:Ni:R;if("string"==typeof Be)return te.createTextNode(Be);var B=q(Be.tag);return Object.keys(Be.attributes||[]).forEach(function(xe){B.setAttribute(xe,Be.attributes[xe])}),(Be.children||[]).forEach(function(xe){B.appendChild(Gr(xe,{ceFn:q}))}),B}var Oi={replace:function(at){var R=at[0];if(R.parentNode)if(at[1].forEach(function(B){R.parentNode.insertBefore(Gr(B),R)}),null===R.getAttribute(_e)&&Xt.keepOriginalSource){var q=te.createComment(function Lo(Be){var at=" ".concat(Be.outerHTML," ");return"".concat(at,"Font Awesome fontawesome.com ")}(R));R.parentNode.replaceChild(q,R)}else R.remove()},nest:function(at){var R=at[0],q=at[1];if(~nr(R).indexOf(Xt.replacementClass))return Oi.replace(at);var B=new RegExp("".concat(Xt.cssPrefix,"-.*"));if(delete q[0].attributes.id,q[0].attributes.class){var ce=q[0].attributes.class.split(" ").reduce(function(yt,jt){return jt===Xt.replacementClass||jt.match(B)?yt.toSvg.push(jt):yt.toNode.push(jt),yt},{toNode:[],toSvg:[]});q[0].attributes.class=ce.toSvg.join(" "),0===ce.toNode.length?R.removeAttribute("class"):R.setAttribute("class",ce.toNode.join(" "))}var xe=q.map(function(yt){return or(yt)}).join("\n");R.setAttribute(_e,""),R.innerHTML=xe}};function Zi(Be){Be()}function Li(Be,at){var R="function"==typeof at?at:wi;if(0===Be.length)R();else{var q=Zi;Xt.mutateApproach===Qe&&(q=G.requestAnimationFrame||Zi),q(function(){var B=function zr(){return!0===Xt.autoReplaceSvg?Oi.replace:Oi[Xt.autoReplaceSvg]||Oi.replace}(),ce=yo.begin("mutate");Be.map(B),ce(),R()})}}var Gi=!1;function $o(){Gi=!0}function Co(){Gi=!1}var Ro=null;function wo(Be){if(ue&&Xt.observeMutations){var at=Be.treeCallback,R=void 0===at?wi:at,q=Be.nodeCallback,B=void 0===q?wi:q,ce=Be.pseudoElementsCallback,xe=void 0===ce?wi:ce,yt=Be.observeMutationsRoot,jt=void 0===yt?te:yt;Ro=new ue(function(cn){if(!Gi){var X=vn();rn(cn).forEach(function(Ve){if("childList"===Ve.type&&Ve.addedNodes.length>0&&!yi(Ve.addedNodes[0])&&(Xt.searchPseudoElements&&xe(Ve.target),R(Ve.target)),"attributes"===Ve.type&&Ve.target.parentNode&&Xt.searchPseudoElements&&xe(Ve.target.parentNode),"attributes"===Ve.type&&yi(Ve.target)&&~gt.indexOf(Ve.attributeName))if("class"===Ve.attributeName&&function Mo(Be){var at=Be.getAttribute?Be.getAttribute(ot):null,R=Be.getAttribute?Be.getAttribute(tt):null;return at&&R}(Ve.target)){var Ce=Nn(nr(Ve.target)),Mt=Ce.iconName;Ve.target.setAttribute(ot,Ce.prefix||X),Mt&&Ve.target.setAttribute(tt,Mt)}else(function po(Be){return Be&&Be.classList&&Be.classList.contains&&Be.classList.contains(Xt.replacementClass)})(Ve.target)&&B(Ve.target)})}}),Z&&Ro.observe(jt,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function uo(Be){var at=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},R=function ns(Be){var at=Be.getAttribute("data-prefix"),R=Be.getAttribute("data-icon"),q=void 0!==Be.innerText?Be.innerText.trim():"",B=Nn(nr(Be));return B.prefix||(B.prefix=vn()),at&&R&&(B.prefix=at,B.iconName=R),B.iconName&&B.prefix||(B.prefix&&q.length>0&&(B.iconName=function Tt(Be,at){return(U[Be]||{})[at]}(B.prefix,Be.innerText)||_t(B.prefix,kt(Be.innerText))),!B.iconName&&Xt.autoFetchSvg&&Be.firstChild&&Be.firstChild.nodeType===Node.TEXT_NODE&&(B.iconName=Be.firstChild.data)),B}(Be),q=R.iconName,B=R.prefix,ce=R.rest,xe=function rs(Be){var at=rn(Be.attributes).reduce(function(B,ce){return"class"!==B.name&&"style"!==B.name&&(B[ce.name]=ce.value),B},{}),R=Be.getAttribute("title"),q=Be.getAttribute("data-fa-title-id");return Xt.autoA11y&&(R?at["aria-labelledby"]="".concat(Xt.replacementClass,"-title-").concat(q||Tn()):(at["aria-hidden"]="true",at.focusable="false")),at}(Be),yt=vi("parseNodeAttributes",{},Be),jt=at.styleParser?function Go(Be){var at=Be.getAttribute("style"),R=[];return at&&(R=at.split(";").reduce(function(q,B){var ce=B.split(":"),xe=ce[0],yt=ce.slice(1);return xe&&yt.length>0&&(q[xe]=yt.join(":").trim()),q},{})),R}(Be):[];return d({iconName:q,title:Be.getAttribute("title"),titleId:Be.getAttribute("data-fa-title-id"),prefix:B,transform:xt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:ce,styles:jt,attributes:xe}},yt)}var So=Or.styles;function cs(Be){var at="nest"===Xt.autoReplaceSvg?uo(Be,{styleParser:!1}):uo(Be);return~at.extra.classes.indexOf(Ue)?In("generateLayersText",Be,at):In("generateSvgReplacementMutation",Be,at)}var co=new Set;function Fo(Be){var at=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Z)return Promise.resolve();var R=te.documentElement.classList,q=function(Ve){return R.add("".concat(mt,"-").concat(Ve))},B=function(Ve){return R.remove("".concat(mt,"-").concat(Ve))},ce=Xt.autoFetchSvg?co:tn.map(function(X){return"fa-".concat(X)}).concat(Object.keys(So));ce.includes("fa")||ce.push("fa");var xe=[".".concat(Ue,":not([").concat(_e,"])")].concat(ce.map(function(X){return".".concat(X,":not([").concat(_e,"])")})).join(", ");if(0===xe.length)return Promise.resolve();var yt=[];try{yt=rn(Be.querySelectorAll(xe))}catch{}if(!(yt.length>0))return Promise.resolve();q("pending"),B("complete");var jt=yo.begin("onTree"),cn=yt.reduce(function(X,Ve){try{var Ce=cs(Ve);Ce&&X.push(Ce)}catch(Re){Xe||"MissingIcon"===Re.name&&console.error(Re)}return X},[]);return new Promise(function(X,Ve){Promise.all(cn).then(function(Ce){Li(Ce,function(){q("active"),q("complete"),B("pending"),"function"==typeof at&&at(),jt(),X()})}).catch(function(Ce){jt(),Ve(Ce)})})}function Do(Be){var at=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;cs(Be).then(function(R){R&&Li([R],at)})}tn.map(function(Be){co.add("fa-".concat(Be))}),Object.keys(wn[nt]).map(co.add.bind(co)),Object.keys(wn[Pt]).map(co.add.bind(co)),co=C(co);var hs=function(at){var R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},q=R.transform,B=void 0===q?xt:q,ce=R.symbol,xe=void 0!==ce&&ce,yt=R.mask,jt=void 0===yt?null:yt,cn=R.maskId,X=void 0===cn?null:cn,Ve=R.title,Ce=void 0===Ve?null:Ve,Re=R.titleId,Mt=void 0===Re?null:Re,Zt=R.classes,an=void 0===Zt?[]:Zt,Pn=R.attributes,gr=void 0===Pn?{}:Pn,yr=R.styles,$r=void 0===yr?{}:yr;if(at){var Cr=at.prefix,Qr=at.iconName,Hr=at.icon;return Xr(d({type:"icon"},at),function(){return _r("beforeDOMElementCreation",{iconDefinition:at,params:R}),Xt.autoA11y&&(Ce?gr["aria-labelledby"]="".concat(Xt.replacementClass,"-title-").concat(Mt||Tn()):(gr["aria-hidden"]="true",gr.focusable="false")),Yi({icons:{main:zi(Hr),mask:jt?zi(jt.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Cr,iconName:Qr,transform:d(d({},xt),B),symbol:xe,title:Ce,maskId:X,titleId:Mt,extra:{attributes:gr,styles:$r,classes:an}})})}},Qo={mixout:function(){return{icon:(Be=hs,function(at){var R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},q=(at||{}).icon?at:Gn(at||{}),B=R.mask;return B&&(B=(B||{}).icon?B:Gn(B||{})),Be(q,d(d({},R),{},{mask:B}))})};var Be},hooks:function(){return{mutationObserverCallbacks:function(R){return R.treeCallback=Fo,R.nodeCallback=Do,R}}},provides:function(at){at.i2svg=function(R){var q=R.node,ce=R.callback;return Fo(void 0===q?te:q,void 0===ce?function(){}:ce)},at.generateSvgReplacementMutation=function(R,q){var B=q.iconName,ce=q.title,xe=q.titleId,yt=q.prefix,jt=q.transform,cn=q.symbol,X=q.mask,Ve=q.maskId,Ce=q.extra;return new Promise(function(Re,Mt){Promise.all([Rr(B,yt),X.iconName?Rr(X.iconName,X.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(Zt){var an=S(Zt,2);Re([R,Yi({icons:{main:an[0],mask:an[1]},prefix:yt,iconName:B,transform:jt,symbol:cn,maskId:Ve,title:ce,titleId:xe,extra:Ce,watchable:!0})])}).catch(Mt)})},at.generateAbstractIcon=function(R){var cn,q=R.children,B=R.attributes,ce=R.main,xe=R.transform,jt=sr(R.styles);return jt.length>0&&(B.style=jt),Er(xe)&&(cn=In("generateAbstractTransformGrouping",{main:ce,transform:xe,containerWidth:ce.width,iconWidth:ce.width})),q.push(cn||ce.icon),{children:q,attributes:B}}}},Ye={mixout:function(){return{layer:function(R){var q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},B=q.classes,ce=void 0===B?[]:B;return Xr({type:"layer"},function(){_r("beforeDOMElementCreation",{assembler:R,params:q});var xe=[];return R(function(yt){Array.isArray(yt)?yt.map(function(jt){xe=xe.concat(jt.abstract)}):xe=xe.concat(yt.abstract)}),[{tag:"span",attributes:{class:["".concat(Xt.cssPrefix,"-layers")].concat(C(ce)).join(" ")},children:xe}]})}}}},Ke={mixout:function(){return{counter:function(R){var q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},B=q.title,ce=void 0===B?null:B,xe=q.classes,yt=void 0===xe?[]:xe,jt=q.attributes,cn=void 0===jt?{}:jt,X=q.styles,Ve=void 0===X?{}:X;return Xr({type:"counter",content:R},function(){return _r("beforeDOMElementCreation",{content:R,params:q}),function go(Be){var at=Be.content,R=Be.title,q=Be.extra,B=d(d(d({},q.attributes),R?{title:R}:{}),{},{class:q.classes.join(" ")}),ce=sr(q.styles);ce.length>0&&(B.style=ce);var xe=[];return xe.push({tag:"span",attributes:B,children:[at]}),R&&xe.push({tag:"span",attributes:{class:"sr-only"},children:[R]}),xe}({content:R.toString(),title:ce,extra:{attributes:cn,styles:Ve,classes:["".concat(Xt.cssPrefix,"-layers-counter")].concat(C(yt))}})})}}}},Ie={mixout:function(){return{text:function(R){var q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},B=q.transform,ce=void 0===B?xt:B,xe=q.title,yt=void 0===xe?null:xe,jt=q.classes,cn=void 0===jt?[]:jt,X=q.attributes,Ve=void 0===X?{}:X,Ce=q.styles,Re=void 0===Ce?{}:Ce;return Xr({type:"text",content:R},function(){return _r("beforeDOMElementCreation",{content:R,params:q}),ko({content:R,transform:d(d({},xt),ce),title:yt,extra:{attributes:Ve,styles:Re,classes:["".concat(Xt.cssPrefix,"-layers-text")].concat(C(cn))}})})}}},provides:function(at){at.generateLayersText=function(R,q){var B=q.title,ce=q.transform,xe=q.extra,yt=null,jt=null;if(re){var cn=parseInt(getComputedStyle(R).fontSize,10),X=R.getBoundingClientRect();yt=X.width/cn,jt=X.height/cn}return Xt.autoA11y&&!B&&(xe.attributes["aria-hidden"]="true"),Promise.resolve([R,ko({content:R.innerHTML,width:yt,height:jt,transform:ce,title:B,extra:xe,watchable:!0})])}}},ft=new RegExp('"',"ug"),Ot=[1105920,1112319];function Vn(Be,at){var R="".concat(Ze).concat(at.replace(":","-"));return new Promise(function(q,B){if(null!==Be.getAttribute(R))return q();var xe=rn(Be.children).filter(function(Hr){return Hr.getAttribute(Pe)===at})[0],yt=G.getComputedStyle(Be,at),jt=yt.getPropertyValue("font-family").match(Ee),cn=yt.getPropertyValue("font-weight"),X=yt.getPropertyValue("content");if(xe&&!jt)return Be.removeChild(xe),q();if(jt&&"none"!==X&&""!==X){var Ve=yt.getPropertyValue("content"),Ce=~["Sharp"].indexOf(jt[2])?Pt:nt,Re=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(jt[2])?An[Ce][jt[2].toLowerCase()]:Te[Ce][cn],Mt=function Wn(Be){var at=Be.replace(ft,""),R=function on(Be,at){var B,R=Be.length,q=Be.charCodeAt(at);return q>=55296&&q<=56319&&R>at+1&&(B=Be.charCodeAt(at+1))>=56320&&B<=57343?1024*(q-55296)+B-56320+65536:q}(at,0),q=R>=Ot[0]&&R<=Ot[1],B=2===at.length&&at[0]===at[1];return{value:kt(B?at[0]:at),isSecondary:q||B}}(Ve),Zt=Mt.value,an=Mt.isSecondary,Pn=jt[0].startsWith("FontAwesome"),gr=_t(Re,Zt),yr=gr;if(Pn){var $r=function mn(Be){var at=ae[Be],R=_t("fas",Be);return at||(R?{prefix:"fas",iconName:R}:null)||{prefix:null,iconName:null}}(Zt);$r.iconName&&$r.prefix&&(gr=$r.iconName,Re=$r.prefix)}if(!gr||an||xe&&xe.getAttribute(ot)===Re&&xe.getAttribute(tt)===yr)q();else{Be.setAttribute(R,yr),xe&&Be.removeChild(xe);var Cr=function Ki(){return{iconName:null,title:null,titleId:null,prefix:null,transform:xt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Qr=Cr.extra;Qr.attributes[Pe]=at,Rr(gr,Re).then(function(Hr){var Ri=Yi(d(d({},Cr),{},{icons:{main:Hr,mask:Cn()},prefix:Re,iconName:yr,extra:Qr,watchable:!0})),eo=te.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===at?Be.insertBefore(eo,Be.firstChild):Be.appendChild(eo),eo.outerHTML=Ri.map(function(Vo){return or(Vo)}).join("\n"),Be.removeAttribute(R),q()}).catch(B)}}else q()})}function Wi(Be){return Promise.all([Vn(Be,"::before"),Vn(Be,"::after")])}function Eo(Be){return!(Be.parentNode===document.head||~Ct.indexOf(Be.tagName.toUpperCase())||Be.getAttribute(Pe)||Be.parentNode&&"svg"===Be.parentNode.tagName)}function Ao(Be){if(Z)return new Promise(function(at,R){var q=rn(Be.querySelectorAll("*")).filter(Eo).map(Wi),B=yo.begin("searchPseudoElements");$o(),Promise.all(q).then(function(){B(),Co(),at()}).catch(function(){B(),Co(),R()})})}var Ur=!1,is=function(at){return at.toLowerCase().split(" ").reduce(function(q,B){var ce=B.toLowerCase().split("-"),xe=ce[0],yt=ce.slice(1).join("-");if(xe&&"h"===yt)return q.flipX=!0,q;if(xe&&"v"===yt)return q.flipY=!0,q;if(yt=parseFloat(yt),isNaN(yt))return q;switch(xe){case"grow":q.size=q.size+yt;break;case"shrink":q.size=q.size-yt;break;case"left":q.x=q.x-yt;break;case"right":q.x=q.x+yt;break;case"up":q.y=q.y-yt;break;case"down":q.y=q.y+yt;break;case"rotate":q.rotate=q.rotate+yt}return q},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Xo={x:0,y:0,width:"100%",height:"100%"};function xo(Be){return Be.attributes&&(Be.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Be.attributes.fill="black"),Be}!function lo(Be,at){var R=at.mixoutsTo;cr=Be,Nr={},Object.keys(Lr).forEach(function(q){-1===dt.indexOf(q)&&delete Lr[q]}),cr.forEach(function(q){var B=q.mixout?q.mixout():{};if(Object.keys(B).forEach(function(xe){"function"==typeof B[xe]&&(R[xe]=B[xe]),"object"===a(B[xe])&&Object.keys(B[xe]).forEach(function(yt){R[xe]||(R[xe]={}),R[xe][yt]=B[xe][yt]})}),q.hooks){var ce=q.hooks();Object.keys(ce).forEach(function(xe){Nr[xe]||(Nr[xe]=[]),Nr[xe].push(ce[xe])})}q.provides&&q.provides(Lr)})}([Jn,Qo,Ye,Ke,Ie,{hooks:function(){return{mutationObserverCallbacks:function(R){return R.pseudoElementsCallback=Ao,R}}},provides:function(at){at.pseudoElements2svg=function(R){var q=R.node;Xt.searchPseudoElements&&Ao(void 0===q?te:q)}}},{mixout:function(){return{dom:{unwatch:function(){$o(),Ur=!0}}}},hooks:function(){return{bootstrap:function(){wo(vi("mutationObserverCallbacks",{}))},noAuto:function(){!function bs(){Ro&&Ro.disconnect()}()},watch:function(R){var q=R.observeMutationsRoot;Ur?Co():wo(vi("mutationObserverCallbacks",{observeMutationsRoot:q}))}}}},{mixout:function(){return{parse:{transform:function(R){return is(R)}}}},hooks:function(){return{parseNodeAttributes:function(R,q){var B=q.getAttribute("data-fa-transform");return B&&(R.transform=is(B)),R}}},provides:function(at){at.generateAbstractTransformGrouping=function(R){var q=R.main,B=R.transform,xe=R.iconWidth,yt={transform:"translate(".concat(R.containerWidth/2," 256)")},jt="translate(".concat(32*B.x,", ").concat(32*B.y,") "),cn="scale(".concat(B.size/16*(B.flipX?-1:1),", ").concat(B.size/16*(B.flipY?-1:1),") "),X="rotate(".concat(B.rotate," 0 0)"),Re={outer:yt,inner:{transform:"".concat(jt," ").concat(cn," ").concat(X)},path:{transform:"translate(".concat(xe/2*-1," -256)")}};return{tag:"g",attributes:d({},Re.outer),children:[{tag:"g",attributes:d({},Re.inner),children:[{tag:q.icon.tag,children:q.icon.children,attributes:d(d({},q.icon.attributes),Re.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(R,q){var B=q.getAttribute("data-fa-mask"),ce=B?Nn(B.split(" ").map(function(xe){return xe.trim()})):Cn();return ce.prefix||(ce.prefix=vn()),R.mask=ce,R.maskId=q.getAttribute("data-fa-mask-id"),R}}},provides:function(at){at.generateAbstractMask=function(R){var Be,q=R.children,B=R.attributes,ce=R.main,xe=R.mask,yt=R.maskId,X=ce.icon,Ce=xe.icon,Re=function br(Be){var at=Be.transform,q=Be.iconWidth,B={transform:"translate(".concat(Be.containerWidth/2," 256)")},ce="translate(".concat(32*at.x,", ").concat(32*at.y,") "),xe="scale(".concat(at.size/16*(at.flipX?-1:1),", ").concat(at.size/16*(at.flipY?-1:1),") "),yt="rotate(".concat(at.rotate," 0 0)");return{outer:B,inner:{transform:"".concat(ce," ").concat(xe," ").concat(yt)},path:{transform:"translate(".concat(q/2*-1," -256)")}}}({transform:R.transform,containerWidth:xe.width,iconWidth:ce.width}),Mt={tag:"rect",attributes:d(d({},Xo),{},{fill:"white"})},Zt=X.children?{children:X.children.map(xo)}:{},an={tag:"g",attributes:d({},Re.inner),children:[xo(d({tag:X.tag,attributes:d(d({},X.attributes),Re.path)},Zt))]},Pn={tag:"g",attributes:d({},Re.outer),children:[an]},gr="mask-".concat(yt||Tn()),yr="clip-".concat(yt||Tn()),$r={tag:"mask",attributes:d(d({},Xo),{},{id:gr,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Mt,Pn]},Cr={tag:"defs",children:[{tag:"clipPath",attributes:{id:yr},children:(Be=Ce,"g"===Be.tag?Be.children:[Be])},$r]};return q.push(Cr,{tag:"rect",attributes:d({fill:"currentColor","clip-path":"url(#".concat(yr,")"),mask:"url(#".concat(gr,")")},Xo)}),{children:q,attributes:B}}}},{provides:function(at){var R=!1;G.matchMedia&&(R=G.matchMedia("(prefers-reduced-motion: reduce)").matches),at.missingIconAbstract=function(){var q=[],B={fill:"currentColor"},ce={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};q.push({tag:"path",attributes:d(d({},B),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var xe=d(d({},ce),{},{attributeName:"opacity"}),yt={tag:"circle",attributes:d(d({},B),{},{cx:"256",cy:"364",r:"28"}),children:[]};return R||yt.children.push({tag:"animate",attributes:d(d({},ce),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:d(d({},xe),{},{values:"1;0;1;1;0;1;"})}),q.push(yt),q.push({tag:"path",attributes:d(d({},B),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:R?[]:[{tag:"animate",attributes:d(d({},xe),{},{values:"1;0;0;0;0;1;"})}]}),R||q.push({tag:"path",attributes:d(d({},B),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:d(d({},xe),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:q}}}},{hooks:function(){return{parseNodeAttributes:function(R,q){var B=q.getAttribute("data-fa-symbol");return R.symbol=null!==B&&(""===B||B),R}}}}],{mixoutsTo:ti});var ge=ti.parse,Dt=ti.icon,Ht=ti.text,Wt=ti.counter,yn=o(14476);const $n=["*"],fr=Be=>{const at={[`fa-${Be.animation}`]:null!=Be.animation&&!Be.animation.startsWith("spin"),"fa-spin":"spin"===Be.animation||"spin-reverse"===Be.animation,"fa-spin-pulse":"spin-pulse"===Be.animation||"spin-pulse-reverse"===Be.animation,"fa-spin-reverse":"spin-reverse"===Be.animation||"spin-pulse-reverse"===Be.animation,"fa-pulse":"spin-pulse"===Be.animation||"spin-pulse-reverse"===Be.animation,"fa-fw":Be.fixedWidth,"fa-border":Be.border,"fa-inverse":Be.inverse,"fa-layers-counter":Be.counter,"fa-flip-horizontal":"horizontal"===Be.flip||"both"===Be.flip,"fa-flip-vertical":"vertical"===Be.flip||"both"===Be.flip,[`fa-${Be.size}`]:null!==Be.size,[`fa-rotate-${Be.rotate}`]:null!==Be.rotate,[`fa-pull-${Be.pull}`]:null!==Be.pull,[`fa-stack-${Be.stackItemSize}`]:null!=Be.stackItemSize};return Object.keys(at).map(R=>at[R]?R:null).filter(R=>R)};let mi=(()=>{class Be{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(q){return new(q||Be)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})(),Ai=(()=>{class Be{constructor(){this.definitions={}}addIcons(...R){for(const q of R){q.prefix in this.definitions||(this.definitions[q.prefix]={}),this.definitions[q.prefix][q.iconName]=q;for(const B of q.icon[2])"string"==typeof B&&(this.definitions[q.prefix][B]=q)}}addIconPacks(...R){for(const q of R){const B=Object.keys(q).map(ce=>q[ce]);this.addIcons(...B)}}getIconDefinition(R,q){return R in this.definitions&&q in this.definitions[R]?this.definitions[R][q]:null}static#e=this.\u0275fac=function(q){return new(q||Be)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Be,factory:Be.\u0275fac,providedIn:"root"})}return Be})(),ji=(()=>{class Be{constructor(){this.stackItemSize="1x"}ngOnChanges(R){if("size"in R)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static#e=this.\u0275fac=function(q){return new(q||Be)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Be,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Be})(),Ti=(()=>{class Be{constructor(R,q){this.renderer=R,this.elementRef=q}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(R){"size"in R&&(null!=R.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${R.size.currentValue}`),null!=R.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${R.size.previousValue}`))}static#e=this.\u0275fac=function(q){return new(q||Be)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:$n,decls:1,vars:0,template:function(q,B){1&q&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Be})(),Ji=(()=>{class Be{set spin(R){this.animation=R?"spin":void 0}set pulse(R){this.animation=R?"spin-pulse":void 0}constructor(R,q,B,ce,xe){this.sanitizer=R,this.config=q,this.iconLibrary=B,this.stackItem=ce,this.classes=[],null!=xe&&null==ce&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(R){if(null!=this.icon||null!=this.config.fallbackIcon){if(R){const B=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=B){const ce=this.buildParams();this.renderIcon(B,ce)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(R){const q=((Be,at)=>(Be=>void 0!==Be.prefix&&void 0!==Be.iconName)(Be)?Be:"string"==typeof Be?{prefix:at,iconName:Be}:{prefix:Be[0],iconName:Be[1]})(R,this.config.defaultPrefix);return"icon"in q?q:this.iconLibrary.getIconDefinition(q.prefix,q.iconName)??((Be=>{throw new Error(`Could not find icon with iconName=${Be.iconName} and prefix=${Be.prefix} in the icon library.`)})(q),null)}buildParams(){const R={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},q="string"==typeof this.transform?ge.transform(this.transform):this.transform;return{title:this.title,transform:q,classes:[...fr(R),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(R,q){const B=Dt(R,q);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(B.html.join("\n"))}static#e=this.\u0275fac=function(q){return new(q||Be)(n.\u0275\u0275directiveInject(yn.DomSanitizer),n.\u0275\u0275directiveInject(mi),n.\u0275\u0275directiveInject(Ai),n.\u0275\u0275directiveInject(ji,8),n.\u0275\u0275directiveInject(Ti,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(q,B){2&q&&(n.\u0275\u0275hostProperty("innerHTML",B.renderedIconHTML,n.\u0275\u0275sanitizeHtml),n.\u0275\u0275attribute("title",B.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(q,B){},encapsulation:2})}return Be})(),Sn=(()=>{class Be extends Ji{findIconDefinition(R){const q=super.findIconDefinition(R);if(null!=q&&!Array.isArray(q.icon[4]))throw new Error(`The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: or use: instead.`);return q}buildParams(){const R=super.buildParams();return(!0===this.swapOpacity||"true"===this.swapOpacity)&&R.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(R.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(R.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(R.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(R.styles["--fa-secondary-color"]=this.secondaryColor),R}static#e=this.\u0275fac=(()=>{let R;return function(B){return(R||(R=n.\u0275\u0275getInheritedFactory(Be)))(B||Be)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-duotone-icon"]],inputs:{swapOpacity:"swapOpacity",primaryOpacity:"primaryOpacity",secondaryOpacity:"secondaryOpacity",primaryColor:"primaryColor",secondaryColor:"secondaryColor"},standalone:!0,features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(q,B){},encapsulation:2})}return Be})();const wr=(Be,at,R)=>{if(!Be)throw new Error(`${R} should be used as child of ${at} only.`)};let Qi=(()=>{class Be{constructor(R,q,B){this.renderer=R,this.elementRef=q,this.config=B}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}ngOnChanges(R){"size"in R&&(null!=R.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${R.size.currentValue}`),null!=R.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${R.size.previousValue}`))}static#e=this.\u0275fac=function(q){return new(q||Be)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(mi))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(q,B){2&q&&n.\u0275\u0275classProp("fa-fw",B.fixedWidth)},inputs:{size:"size",fixedWidth:"fixedWidth"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:$n,decls:1,vars:0,template:function(q,B){1&q&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Be})(),Ii=(()=>{class Be{constructor(R,q){this.parent=R,this.sanitizer=q,this.classes=[],wr(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(R){if(R){const q=this.buildParams();this.updateContent(q)}}buildParams(){const R=[];return null!=this.classes&&R.push(...this.classes),null!=this.position&&R.push(`fa-layers-${this.position}`),{title:this.title,classes:R,styles:this.styles}}updateContent(R){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Wt(this.content||"",R).html.join(""))}static#e=this.\u0275fac=function(q){return new(q||Be)(n.\u0275\u0275directiveInject(Qi,8),n.\u0275\u0275directiveInject(yn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(q,B){2&q&&n.\u0275\u0275hostProperty("innerHTML",B.renderedHTML,n.\u0275\u0275sanitizeHtml)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",position:"position"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(q,B){},encapsulation:2})}return Be})(),ei=(()=>{class Be{set spin(R){this.animation=R?"spin":void 0}set pulse(R){this.animation=R?"spin-pulse":void 0}constructor(R,q){this.parent=R,this.sanitizer=q,this.classes=[],wr(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(R){if(R){const q=this.buildParams();this.updateContent(q)}}buildParams(){const R={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?ge.transform(this.transform):this.transform,classes:[...fr(R),...this.classes],title:this.title,styles:this.styles}}updateContent(R){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Ht(this.content||"",R).html.join("\n"))}static#e=this.\u0275fac=function(q){return new(q||Be)(n.\u0275\u0275directiveInject(Qi,8),n.\u0275\u0275directiveInject(yn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Be,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(q,B){2&q&&n.\u0275\u0275hostProperty("innerHTML",B.renderedHTML,n.\u0275\u0275sanitizeHtml)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",spin:"spin",pulse:"pulse",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(q,B){},encapsulation:2})}return Be})(),oo=(()=>{class Be{static#e=this.\u0275fac=function(q){return new(q||Be)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Be});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Be})()},10716:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{ActionSheetController:()=>Ai,AlertController:()=>vr,AngularDelegate:()=>gt,AnimationController:()=>mi,BooleanValueAccessor:()=>dt,Config:()=>Ee,DomController:()=>Pt,GestureController:()=>ji,ION_MAX_VALIDATOR:()=>Kn,ION_MIN_VALIDATOR:()=>fr,IonAccordion:()=>ti,IonAccordionGroup:()=>Zr,IonActionSheet:()=>Xr,IonAlert:()=>Vi,IonApp:()=>hr,IonAvatar:()=>Yi,IonBackButton:()=>Dt,IonBackButtonDelegate:()=>Dt,IonBackdrop:()=>ko,IonBadge:()=>go,IonBreadcrumb:()=>Jr,IonBreadcrumbs:()=>zi,IonButton:()=>qi,IonButtons:()=>ro,IonCard:()=>Rr,IonCardContent:()=>mo,IonCardHeader:()=>_i,IonCardSubtitle:()=>xi,IonCardTitle:()=>qr,IonCheckbox:()=>ar,IonChip:()=>yo,IonCol:()=>wi,IonContent:()=>yi,IonDatetime:()=>Mo,IonDatetimeButton:()=>po,IonFab:()=>zr,IonFabButton:()=>bo,IonFabList:()=>Ni,IonFooter:()=>Gr,IonGrid:()=>Lo,IonHeader:()=>Oi,IonIcon:()=>Zi,IonImg:()=>Li,IonInfiniteScroll:()=>Gi,IonInfiniteScrollContent:()=>$o,IonInput:()=>Co,IonItem:()=>Ro,IonItemDivider:()=>wo,IonItemGroup:()=>bs,IonItemOption:()=>Go,IonItemOptions:()=>ns,IonItemSliding:()=>rs,IonLabel:()=>Ki,IonList:()=>uo,IonListHeader:()=>So,IonLoading:()=>cs,IonMaxValidator:()=>Wr,IonMenu:()=>co,IonMenuButton:()=>Fo,IonMenuToggle:()=>Do,IonMinValidator:()=>tr,IonModal:()=>yn,IonNav:()=>Nt,IonNavLink:()=>Ko,IonNote:()=>hs,IonPicker:()=>Qo,IonPopover:()=>$n,IonProgressBar:()=>Ye,IonRadio:()=>Ke,IonRadioGroup:()=>Ie,IonRange:()=>ft,IonRefresher:()=>Ot,IonRefresherContent:()=>Wn,IonReorder:()=>Vn,IonReorderGroup:()=>Wi,IonRippleEffect:()=>Eo,IonRouterOutlet:()=>Le,IonRow:()=>Ao,IonSearchbar:()=>ho,IonSegment:()=>Ur,IonSegmentButton:()=>Zo,IonSelect:()=>is,IonSelectOption:()=>Xi,IonSkeletonText:()=>Xo,IonSpinner:()=>xo,IonSplitPane:()=>_o,IonTabBar:()=>Di,IonTabButton:()=>To,IonTabs:()=>qe,IonText:()=>Cs,IonTextarea:()=>os,IonThumbnail:()=>io,IonTitle:()=>fs,IonToast:()=>et,IonToggle:()=>ne,IonToolbar:()=>ge,IonicModule:()=>at,IonicRouteStrategy:()=>Mr,IonicSafeString:()=>Ae.I,IonicSlides:()=>mn,LoadingController:()=>Ti,MenuController:()=>Ji,ModalController:()=>Sn,NavController:()=>_n,NavParams:()=>je,NumericValueAccessor:()=>lo,PickerController:()=>wr,Platform:()=>hn,PopoverController:()=>Qi,RadioValueAccessor:()=>vi,RouterLinkDelegate:()=>Ht,RouterLinkWithHrefDelegate:()=>Wt,SelectValueAccessor:()=>_r,TextValueAccessor:()=>In,ToastController:()=>Ii,createAnimation:()=>ur.c,createGesture:()=>ae.createGesture,getIonPageElement:()=>Mi.g,getPlatforms:()=>Fe.g,getTimeGivenProgression:()=>z.g,iosTransitionAnimation:()=>un.iosTransitionAnimation,isPlatform:()=>Fe.a,mdTransitionAnimation:()=>U.mdTransitionAnimation,openURL:()=>fe.o});var n=o(54496),i=o(44716),d=o(1528),a=o(56568),l=o(91368);class e{constructor(){this.m=new Map}reset(q){this.m=new Map(Object.entries(q))}get(q,B){const ce=this.m.get(q);return void 0!==ce?ce:B}getBoolean(q,B=!1){const ce=this.m.get(q);return void 0===ce?B:"string"==typeof ce?"true"===ce:!!ce}getNumber(q,B){const ce=parseFloat(this.m.get(q));return isNaN(ce)?void 0!==B?B:NaN:ce}set(q,B){this.m.set(q,B)}}const u=new e,_=R=>y(R),y=(R=window)=>{if(typeof R>"u")return[];R.Ionic=R.Ionic||{};let q=R.Ionic.platforms;return null==q&&(q=R.Ionic.platforms=b(R),q.forEach(B=>R.document.documentElement.classList.add(`plt-${B}`))),q},b=R=>{const q=u.get("platform");return Object.keys(Z).filter(B=>{const ce=q?.[B];return"function"==typeof ce?ce(R):Z[B](R)})},M=R=>!!(se(R,/iPad/i)||se(R,/Macintosh/i)&&x(R)),F=R=>se(R,/android|sink/i),x=R=>K(R,"(any-pointer:coarse)"),O=R=>H(R)||G(R),H=R=>!!(R.cordova||R.phonegap||R.PhoneGap),G=R=>{const q=R.Capacitor;return!!q?.isNative},se=(R,q)=>q.test(R.navigator.userAgent),K=(R,q)=>{var B;return null===(B=R.matchMedia)||void 0===B?void 0:B.call(R,q).matches},Z={ipad:M,iphone:R=>se(R,/iPhone/i),ios:R=>se(R,/iPhone|iPod/i)||M(R),android:F,phablet:R=>{const q=R.innerWidth,B=R.innerHeight,ce=Math.min(q,B),xe=Math.max(q,B);return ce>390&&ce<520&&xe>620&&xe<800},tablet:R=>{const q=R.innerWidth,B=R.innerHeight,ce=Math.min(q,B),xe=Math.max(q,B);return M(R)||(R=>F(R)&&!se(R,/mobile/i))(R)||ce>460&&ce<820&&xe>780&&xe<1400},cordova:H,capacitor:G,electron:R=>se(R,/electron/i),pwa:R=>{var q;return!!(null!==(q=R.matchMedia)&&void 0!==q&&q.call(R,"(display-mode: standalone)").matches||R.navigator.standalone)},mobile:x,mobileweb:R=>x(R)&&!O(R),desktop:R=>!x(R),hybrid:O};var $=o(51896),le=o(19248),ee=o(95657),we=o(70800),ye=o(46700),Oe=o(56040),ve=o(82700),_e=o(81316),Pe=o(66684),Ze=o(17368),ot=o(528),tt=o(95448),mt=o(87773);function Ct(R,q){return R===q}const Xe=["tabsInner"];class nt{constructor(q){this.menuController=q}open(q){return this.menuController.open(q)}close(q){return this.menuController.close(q)}toggle(q){return this.menuController.toggle(q)}enable(q,B){return this.menuController.enable(q,B)}swipeGesture(q,B){return this.menuController.swipeGesture(q,B)}isOpen(q){return this.menuController.isOpen(q)}isEnabled(q){return this.menuController.isEnabled(q)}get(q){return this.menuController.get(q)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(q,B){return this.menuController.registerAnimation(q,B)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(q,B){return this.menuController._createAnimation(q,B)}_register(q){return this.menuController._register(q)}_unregister(q){return this.menuController._unregister(q)}_setOpen(q,B,ce){return this.menuController._setOpen(q,B,ce)}}let Pt=(()=>{class R{read(B){tn().read(B)}write(B){tn().write(B)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const tn=()=>{const R=typeof window<"u"?window:null;if(null!=R){const q=R.Ionic;return q?.queue?q.queue:{read:B=>R.requestAnimationFrame(B),write:B=>R.requestAnimationFrame(B)}}return{read:q=>q(),write:q=>q()}};let hn=(()=>{class R{constructor(B,ce){this.doc=B,this.backButton=new ee.E,this.keyboardDidShow=new ee.E,this.keyboardDidHide=new ee.E,this.pause=new ee.E,this.resume=new ee.E,this.resize=new ee.E,ce.run(()=>{let xe;this.win=B.defaultView,this.backButton.subscribeWithPriority=function(yt,jt){return this.subscribe(cn=>cn.register(yt,X=>ce.run(()=>jt(X))))},An(this.pause,B,"pause",ce),An(this.resume,B,"resume",ce),An(this.backButton,B,"ionBackButton",ce),An(this.resize,this.win,"resize",ce),An(this.keyboardDidShow,this.win,"ionKeyboardDidShow",ce),An(this.keyboardDidHide,this.win,"ionKeyboardDidHide",ce),this._readyPromise=new Promise(yt=>{xe=yt}),this.win?.cordova?B.addEventListener("deviceready",()=>{xe("cordova")},{once:!0}):xe("dom")})}is(B){return((R,q)=>("string"==typeof R&&(q=R,R=void 0),_(R).includes(q)))(this.win,B)}platforms(){return _(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(B){return wn(this.win.location.href,B)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(B){const ce=this.win.navigator;return!!(ce?.userAgent&&ce.userAgent.indexOf(B)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275inject(l.DOCUMENT),n.\u0275\u0275inject(n.NgZone))},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const wn=(R,q)=>{q=q.replace(/[[\]\\]/g,"\\$&");const ce=new RegExp("[\\?&]"+q+"=([^&#]*)").exec(R);return ce?decodeURIComponent(ce[1].replace(/\+/g," ")):null},An=(R,q,B,ce)=>{q&&q.addEventListener(B,xe=>{ce.run(()=>{const yt=xe?.detail;R.next(yt)})})};let _n=(()=>{class R{constructor(B,ce,xe,yt){this.location=ce,this.serializer=xe,this.router=yt,this.direction=ht,this.animated=Ue,this.guessDirection="forward",this.lastNavId=-1,yt&&yt.events.subscribe(jt=>{if(jt instanceof a.NavigationStart){const cn=jt.restoredState?jt.restoredState.navigationId:jt.id;this.guessDirection=cn{this.pop(),jt()})}navigateForward(B,ce={}){return this.setDirection("forward",ce.animated,ce.animationDirection,ce.animation),this.navigate(B,ce)}navigateBack(B,ce={}){return this.setDirection("back",ce.animated,ce.animationDirection,ce.animation),this.navigate(B,ce)}navigateRoot(B,ce={}){return this.setDirection("root",ce.animated,ce.animationDirection,ce.animation),this.navigate(B,ce)}back(B={animated:!0,animationDirection:"back"}){return this.setDirection("back",B.animated,B.animationDirection,B.animation),this.location.back()}pop(){var B=this;return(0,d.c)(function*(){let ce=B.topOutlet;for(;ce;){if(yield ce.pop())return!0;ce=ce.parentOutlet}return!1})()}setDirection(B,ce,xe,yt){this.direction=B,this.animated=qt(B,ce,xe),this.animationBuilder=yt}setTopOutlet(B){this.topOutlet=B}consumeTransition(){let ce,B="root";const xe=this.animationBuilder;return"auto"===this.direction?(B=this.guessDirection,ce=this.guessAnimation):(ce=this.animated,B=this.direction),this.direction=ht,this.animated=Ue,this.animationBuilder=void 0,{direction:B,animation:ce,animationBuilder:xe}}navigate(B,ce){if(Array.isArray(B))return this.router.navigate(B,ce);{const xe=this.serializer.parse(B.toString());return void 0!==ce.queryParams&&(xe.queryParams={...ce.queryParams}),void 0!==ce.fragment&&(xe.fragment=ce.fragment),this.router.navigateByUrl(xe,ce)}}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275inject(hn),n.\u0275\u0275inject(l.Location),n.\u0275\u0275inject(a.UrlSerializer),n.\u0275\u0275inject(a.Router,8))},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const qt=(R,q,B)=>{if(!1!==q){if(void 0!==B)return B;if("forward"===R||"back"===R)return R;if("root"===R&&!0===q)return"forward"}},ht="auto",Ue=void 0;let Ee=(()=>{class R{get(B,ce){const xe=$e();return xe?xe.get(B,ce):null}getBoolean(B,ce){const xe=$e();return!!xe&&xe.getBoolean(B,ce)}getNumber(B,ce){const xe=$e();return xe?xe.getNumber(B,ce):0}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const Te=new n.InjectionToken("USERCONFIG"),$e=()=>{if(typeof window<"u"){const R=window.Ionic;if(R?.config)return R.config}return null};class je{constructor(q={}){this.data=q}get(q){return this.data[q]}}let gt=(()=>{class R{constructor(){this.zone=(0,n.inject)(n.NgZone),this.applicationRef=(0,n.inject)(n.ApplicationRef)}create(B,ce,xe){return new He(B,ce,this.applicationRef,this.zone,xe)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})();class He{constructor(q,B,ce,xe,yt){this.environmentInjector=q,this.injector=B,this.applicationRef=ce,this.zone=xe,this.elementReferenceKey=yt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(q,B,ce,xe){return this.zone.run(()=>new Promise(yt=>{const jt={...ce};void 0!==this.elementReferenceKey&&(jt[this.elementReferenceKey]=q),yt(vt(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,q,B,jt,xe,this.elementReferenceKey))}))}removeViewFromDom(q,B){return this.zone.run(()=>new Promise(ce=>{const xe=this.elRefMap.get(B);if(xe){xe.destroy(),this.elRefMap.delete(B);const yt=this.elEventsMap.get(B);yt&&(yt(),this.elEventsMap.delete(B))}ce()}))}}const vt=(R,q,B,ce,xe,yt,jt,cn,X,Ve,Ce)=>{const Re=n.Injector.create({providers:zt(X),parent:B}),Mt=(0,n.createComponent)(cn,{environmentInjector:q,elementInjector:Re}),Zt=Mt.instance,an=Mt.location.nativeElement;if(X&&(Ce&&void 0!==Zt[Ce]&&console.error(`[Ionic Error]: ${Ce} is a reserved property when using ${jt.tagName.toLowerCase()}. Rename or remove the "${Ce}" property from ${cn.name}.`),Object.assign(Zt,X)),Ve)for(const gr of Ve)an.classList.add(gr);const Pn=wt(R,Zt,an);return jt.appendChild(an),ce.attachView(Mt.hostView),xe.set(an,Mt),yt.set(an,Pn),an},ut=[$.L,$.a,$.b,$.c,$.d],wt=(R,q,B)=>R.run(()=>{const ce=ut.filter(xe=>"function"==typeof q[xe]).map(xe=>{const yt=jt=>q[xe](jt.detail);return B.addEventListener(xe,yt),()=>B.removeEventListener(xe,yt)});return()=>ce.forEach(xe=>xe())}),st=new n.InjectionToken("NavParamsToken"),zt=R=>[{provide:st,useValue:R},{provide:je,useFactory:pt,deps:[st]}],pt=R=>new je(R),It=(R,q)=>{const B=R.prototype;q.forEach(ce=>{Object.defineProperty(B,ce,{get(){return this.el[ce]},set(xe){this.z.runOutsideAngular(()=>this.el[ce]=xe)}})})},Yt=(R,q)=>{const B=R.prototype;q.forEach(ce=>{B[ce]=function(){const xe=arguments;return this.z.runOutsideAngular(()=>this.el[ce].apply(this.el,xe))}})},Xt=(R,q,B)=>{B.forEach(ce=>R[ce]=(0,we.w)(q,ce))};function At(R){return function(B){const{defineCustomElementFn:ce,inputs:xe,methods:yt}=R;return void 0!==ce&&ce(),xe&&It(B,xe),yt&&Yt(B,yt),B}}const $t=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],St=["present","dismiss","onDidDismiss","onWillDismiss"];let xt=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,this.isCmpOpen=!1,this.el=ce.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,B.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,B.detectChanges()}),Xt(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-popover"]],contentQueries:function(B,ce,xe){if(1&B&&n.\u0275\u0275contentQuery(xe,n.TemplateRef,5),2&B){let yt;n.\u0275\u0275queryRefresh(yt=n.\u0275\u0275loadQuery())&&(ce.template=yt.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),R=(0,_e.__decorate)([At({inputs:$t,methods:St})],R),R})();const nn=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],bn=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let Tn=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,this.isCmpOpen=!1,this.el=ce.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,B.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,B.detectChanges()}),Xt(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-modal"]],contentQueries:function(B,ce,xe){if(1&B&&n.\u0275\u0275contentQuery(xe,n.TemplateRef,5),2&B){let yt;n.\u0275\u0275queryRefresh(yt=n.\u0275\u0275loadQuery())&&(ce.template=yt.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),R=(0,_e.__decorate)([At({inputs:nn,methods:bn})],R),R})();const nr=(R,q)=>((R=R.filter(B=>B.stackId!==q.stackId)).push(q),R),sr=(R,q)=>{const B=R.createUrlTree(["."],{relativeTo:q});return R.serializeUrl(B)},Er=(R,q)=>!q||R.stackId!==q.stackId,br=(R,q)=>{if(!R)return;const B=qn(q);for(let ce=0;ce=R.length)return B[ce];if(B[ce]!==R[ce])return}},qn=R=>R.split("/").map(q=>q.trim()).filter(q=>""!==q),Rn=R=>{R&&(R.ref.destroy(),R.unlistenEvents())};class oi{constructor(q,B,ce,xe,yt,jt){this.containerEl=B,this.router=ce,this.navCtrl=xe,this.zone=yt,this.location=jt,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==q?qn(q):void 0}createView(q,B){const ce=sr(this.router,B),xe=q?.location?.nativeElement,yt=wt(this.zone,q.instance,xe);return{id:this.nextId++,stackId:br(this.tabsPrefix,ce),unlistenEvents:yt,element:xe,ref:q,url:ce}}getExistingView(q){const B=sr(this.router,q),ce=this.views.find(xe=>xe.url===B);return ce&&ce.ref.changeDetectorRef.reattach(),ce}setActive(q){const B=this.navCtrl.consumeTransition();let{direction:ce,animation:xe,animationBuilder:yt}=B;const jt=this.activeView,cn=Er(q,jt);cn&&(ce="back",xe=void 0);const X=this.views.slice();let Ve;const Ce=this.router;Ce.getCurrentNavigation?Ve=Ce.getCurrentNavigation():Ce.navigations?.value&&(Ve=Ce.navigations.value),Ve?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const Re=this.views.includes(q),Mt=this.insertView(q,ce);Re||q.ref.changeDetectorRef.detectChanges();const Zt=q.animationBuilder;return void 0===yt&&"back"===ce&&!cn&&void 0!==Zt&&(yt=Zt),jt&&(jt.animationBuilder=yt),this.zone.runOutsideAngular(()=>this.wait(()=>(jt&&jt.ref.changeDetectorRef.detach(),q.ref.changeDetectorRef.reattach(),this.transition(q,jt,xe,this.canGoBack(1),!1,yt).then(()=>Sr(q,Mt,X,this.location,this.zone)).then(()=>({enteringView:q,direction:ce,animation:xe,tabSwitch:cn})))))}canGoBack(q,B=this.getActiveStackId()){return this.getStack(B).length>q}pop(q,B=this.getActiveStackId()){return this.zone.run(()=>{const ce=this.getStack(B);if(ce.length<=q)return Promise.resolve(!1);const xe=ce[ce.length-q-1];let yt=xe.url;const jt=xe.savedData;if(jt){const X=jt.get("primary");X?.route?._routerState?.snapshot.url&&(yt=X.route._routerState.snapshot.url)}const{animationBuilder:cn}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(yt,{...xe.savedExtras,animation:cn}).then(()=>!0)})}startBackTransition(){const q=this.activeView;if(q){const B=this.getStack(q.stackId),ce=B[B.length-2],xe=ce.animationBuilder;return this.wait(()=>this.transition(ce,q,"back",this.canGoBack(2),!0,xe))}return Promise.resolve()}endBackTransition(q){q?(this.skipTransition=!0,this.pop(1)):this.activeView&&pr(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(q){const B=this.getStack(q);return B.length>0?B[B.length-1]:void 0}getRootUrl(q){const B=this.getStack(q);return B.length>0?B[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Rn),this.activeView=void 0,this.views=[]}getStack(q){return this.views.filter(B=>B.stackId===q)}insertView(q,B){return this.activeView=q,this.views=((R,q,B)=>"root"===B?nr(R,q):"forward"===B?((R,q)=>(R.indexOf(q)>=0?R=R.filter(ce=>ce.stackId!==q.stackId||ce.id<=q.id):R.push(q),R))(R,q):((R,q)=>R.indexOf(q)>=0?R.filter(ce=>ce.stackId!==q.stackId||ce.id<=q.id):nr(R,q))(R,q))(this.views,q,B),this.views.slice()}transition(q,B,ce,xe,yt,jt){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(B===q)return Promise.resolve(!1);const cn=q?q.element:void 0,X=B?B.element:void 0,Ve=this.containerEl;return cn&&cn!==X&&(cn.classList.add("ion-page"),cn.classList.add("ion-page-invisible"),cn.parentElement!==Ve&&Ve.appendChild(cn),Ve.commit)?Ve.commit(cn,X,{duration:void 0===ce?0:void 0,direction:ce,showGoBack:xe,progressAnimation:yt,animationBuilder:jt}):Promise.resolve(!1)}wait(q){var B=this;return(0,d.c)(function*(){void 0!==B.runningTask&&(yield B.runningTask,B.runningTask=void 0);const ce=B.runningTask=q();return ce.finally(()=>B.runningTask=void 0),ce})()}}const Sr=(R,q,B,ce,xe)=>"function"==typeof requestAnimationFrame?new Promise(yt=>{requestAnimationFrame(()=>{pr(R,q,B,ce,xe),yt()})}):Promise.resolve(),pr=(R,q,B,ce,xe)=>{xe.run(()=>B.filter(yt=>!q.includes(yt)).forEach(Rn)),q.forEach(yt=>{const cn=ce.path().split("?")[0].split("#")[0];if(yt!==R&&yt.url!==cn){const X=yt.element;X.setAttribute("aria-hidden","true"),X.classList.add("ion-page-hidden"),yt.ref.changeDetectorRef.detach()}})};let Jn=(()=>{class R{constructor(B,ce,xe,yt,jt,cn,X,Ve){this.parentOutlet=Ve,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new ye.g(null),this.activated=null,this._activatedRoute=null,this.name=a.PRIMARY_OUTLET,this.stackWillChange=new n.EventEmitter,this.stackDidChange=new n.EventEmitter,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(a.ChildrenOutletContexts),this.location=(0,n.inject)(n.ViewContainerRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(Or,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,n.inject)(Ee),this.navCtrl=(0,n.inject)(_n),this.nativeEl=yt.nativeElement,this.name=B||a.PRIMARY_OUTLET,this.tabsPrefix="true"===ce?sr(jt,X):void 0,this.stackCtrl=new oi(this.tabsPrefix,this.nativeEl,jt,this.navCtrl,cn,xe),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(B){this.nativeEl.animation=B}set animated(B){this.nativeEl.animated=B}set swipeGesture(B){this._swipeGesture=B,this.nativeEl.swipeHandler=B?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:ce=>this.stackCtrl.endBackTransition(ce)}:void 0}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const B=this.getContext();B?.route&&this.activateWith(B.route,B.injector)}new Promise(B=>(0,le.c)(this.nativeEl,B)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(B,ce){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const ce=this.getContext();this.activatedView.savedData=new Map(ce.children.contexts);const xe=this.activatedView.savedData.get("primary");if(xe&&ce.route&&(xe.route={...ce.route}),this.activatedView.savedExtras={},ce.route){const yt=ce.route.snapshot;this.activatedView.savedExtras.queryParams=yt.queryParams,this.activatedView.savedExtras.fragment=yt.fragment}}const B=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(B)}}activateWith(B,ce){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=B;let xe,yt=this.stackCtrl.getExistingView(B);if(yt){xe=this.activated=yt.ref;const cn=yt.savedData;cn&&(this.getContext().children.contexts=cn),this.updateActivatedRouteProxy(xe.instance,B)}else{const cn=B._futureSnapshot,X=this.parentContexts.getOrCreateContext(this.name).children,Ve=new ye.g(null),Ce=this.createActivatedRouteProxy(Ve,B),Re=new er(Ce,X,this.location.injector);xe=this.activated=this.location.createComponent(cn.routeConfig.component??cn.component,{index:this.location.length,injector:Re,environmentInjector:ce??this.environmentInjector}),Ve.next(xe.instance),yt=this.stackCtrl.createView(this.activated,B),this.proxyMap.set(xe.instance,Ce),this.currentActivatedRoute$.next({component:xe.instance,activatedRoute:B})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=yt,this.navCtrl.setTopOutlet(this);const jt=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:yt,tabSwitch:Er(yt,jt)}),this.stackCtrl.setActive(yt).then(cn=>{this.activateEvents.emit(xe.instance),this.stackDidChange.emit(cn)})}canGoBack(B=1,ce){return this.stackCtrl.canGoBack(B,ce)}pop(B=1,ce){return this.stackCtrl.pop(B,ce)}getLastUrl(B){const ce=this.stackCtrl.getLastUrl(B);return ce?ce.url:void 0}getLastRouteView(B){return this.stackCtrl.getLastUrl(B)}getRootView(B){return this.stackCtrl.getRootUrl(B)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(B,ce){const xe=new a.ActivatedRoute;return xe._futureSnapshot=ce._futureSnapshot,xe._routerState=ce._routerState,xe.snapshot=ce.snapshot,xe.outlet=ce.outlet,xe.component=ce.component,xe._paramMap=this.proxyObservable(B,"paramMap"),xe._queryParamMap=this.proxyObservable(B,"queryParamMap"),xe.url=this.proxyObservable(B,"url"),xe.params=this.proxyObservable(B,"params"),xe.queryParams=this.proxyObservable(B,"queryParams"),xe.fragment=this.proxyObservable(B,"fragment"),xe.data=this.proxyObservable(B,"data"),xe}proxyObservable(B,ce){return B.pipe((0,Pe.I)(xe=>!!xe),(0,Ze.G)(xe=>this.currentActivatedRoute$.pipe((0,Pe.I)(yt=>null!==yt&&yt.component===xe),(0,Ze.G)(yt=>yt&&yt.activatedRoute[ce]),function Qe(R,q=ot.Z){return R=R??Ct,(0,tt.i)((B,ce)=>{let xe,yt=!0;B.subscribe((0,mt.e)(ce,jt=>{const cn=q(jt);(yt||!R(xe,cn))&&(yt=!1,xe=cn,ce.next(jt))}))})}())))}updateActivatedRouteProxy(B,ce){const xe=this.proxyMap.get(B);if(!xe)throw new Error("Could not find activated route proxy for view");xe._futureSnapshot=ce._futureSnapshot,xe._routerState=ce._routerState,xe.snapshot=ce.snapshot,xe.outlet=ce.outlet,xe.component=ce.component,this.currentActivatedRoute$.next({component:B,activatedRoute:ce})}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(l.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(a.ActivatedRoute),n.\u0275\u0275directiveInject(R,12))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),R})();class er{constructor(q,B,ce){this.route=q,this.childContexts=B,this.parent=ce}get(q,B){return q===a.ActivatedRoute?this.route:q===a.ChildrenOutletContexts?this.childContexts:this.parent.get(q,B)}}const Or=new n.InjectionToken("");let pi=(()=>{class R{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(B){this.unsubscribeFromRouteData(B),this.subscribeToRouteData(B)}unsubscribeFromRouteData(B){this.outletDataSubscriptions.get(B)?.unsubscribe(),this.outletDataSubscriptions.delete(B)}subscribeToRouteData(B){const{activatedRoute:ce}=B,xe=(0,Oe.E)([ce.queryParams,ce.params,ce.data]).pipe((0,Ze.G)(([yt,jt,cn],X)=>(cn={...yt,...jt,...cn},0===X?(0,ve.of)(cn):Promise.resolve(cn)))).subscribe(yt=>{if(!B.isActivated||!B.activatedComponentRef||B.activatedRoute!==ce||null===ce.component)return void this.unsubscribeFromRouteData(B);const jt=(0,n.reflectComponentType)(ce.component);if(jt)for(const{templateName:cn}of jt.inputs)B.activatedComponentRef.setInput(cn,yt[cn]);else this.unsubscribeFromRouteData(B)});this.outletDataSubscriptions.set(B,xe)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})();function jn(R){return R?.componentInputBindingEnabled?new pi:null}const Qn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let or=(()=>{let R=class{constructor(B,ce,xe,yt,jt,cn){this.routerOutlet=B,this.navCtrl=ce,this.config=xe,this.r=yt,this.z=jt,cn.detach(),this.el=this.r.nativeElement}onClick(B){const ce=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),B.preventDefault()):null!=ce&&(this.navCtrl.navigateBack(ce,{animation:this.routerAnimation}),B.preventDefault())}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(Jn,8),n.\u0275\u0275directiveInject(_n),n.\u0275\u0275directiveInject(Ee),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("click",function(yt){return ce.onClick(yt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),R=(0,_e.__decorate)([At({inputs:Qn})],R),R})(),ui=(()=>{class R{constructor(B,ce,xe,yt,jt){this.locationStrategy=B,this.navCtrl=ce,this.elementRef=xe,this.router=yt,this.routerLink=jt,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const B=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=B}}onClick(B){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),B.preventDefault()}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(l.LocationStrategy),n.\u0275\u0275directiveInject(_n),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(a.RouterLink,8))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("click",function(yt){return ce.onClick(yt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),R})(),Pr=(()=>{class R{constructor(B,ce,xe,yt,jt){this.locationStrategy=B,this.navCtrl=ce,this.elementRef=xe,this.router=yt,this.routerLink=jt,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const B=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=B}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(l.LocationStrategy),n.\u0275\u0275directiveInject(_n),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(a.RouterLink,8))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("click",function(){return ce.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),R})();const ct=["animated","animation","root","rootParams","swipeGesture"],Rt=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let kt=(()=>{let R=class{constructor(B,ce,xe,yt,jt,cn){this.z=jt,cn.detach(),this.el=B.nativeElement,B.nativeElement.delegate=yt.create(ce,xe),Xt(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(gt),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),R=(0,_e.__decorate)([At({inputs:ct,methods:Rt})],R),R})(),on=(()=>{class R{constructor(B){this.navCtrl=B,this.ionTabsWillChange=new n.EventEmitter,this.ionTabsDidChange=new n.EventEmitter,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:B,tabSwitch:ce}){const xe=B.stackId;ce&&void 0!==xe&&this.ionTabsWillChange.emit({tab:xe})}onStackDidChange({enteringView:B,tabSwitch:ce}){const xe=B.stackId;ce&&void 0!==xe&&(this.tabBar&&(this.tabBar.selectedTab=xe),this.ionTabsDidChange.emit({tab:xe}))}select(B){const ce="string"==typeof B,xe=ce?B:B.detail.tab,yt=this.outlet.getActiveStackId()===xe,jt=`${this.outlet.tabsPrefix}/${xe}`;if(ce||B.stopPropagation(),yt){const cn=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(cn)?.url===jt)return;const Ve=this.outlet.getRootView(xe);return this.navCtrl.navigateRoot(jt,{...Ve&&jt===Ve.url&&Ve.savedExtras,animated:!0,animationDirection:"back"})}{const cn=this.outlet.getLastRouteView(xe),X=cn?.url||jt,Ve=cn?.savedExtras;return this.navCtrl.navigateRoot(X,{...Ve,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(B=>{const ce=B.el.getAttribute("slot");ce!==this.tabBarSlot&&(this.tabBarSlot=ce,this.relocateTabBar())})}relocateTabBar(){const B=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(B):this.tabsInner.nativeElement.after(B)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(_n))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-tabs"]],viewQuery:function(B,ce){if(1&B&&n.\u0275\u0275viewQuery(Xe,7,n.ElementRef),2&B){let xe;n.\u0275\u0275queryRefresh(xe=n.\u0275\u0275loadQuery())&&(ce.tabsInner=xe.first)}},hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionTabButtonClick",function(yt){return ce.select(yt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),R})();const dn=R=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(R):"function"==typeof requestAnimationFrame?requestAnimationFrame(R):setTimeout(R);let Mn=(()=>{class R{constructor(B,ce){this.injector=B,this.elementRef=ce,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(B){this.elementRef.nativeElement.value=this.lastValue=B,En(this.elementRef)}handleValueChange(B,ce){B===this.elementRef.nativeElement&&(ce!==this.lastValue&&(this.lastValue=ce,this.onChange(ce)),En(this.elementRef))}_handleBlurEvent(B){B===this.elementRef.nativeElement&&(this.onTouched(),En(this.elementRef))}registerOnChange(B){this.onChange=B}registerOnTouched(B){this.onTouched=B}setDisabledState(B){this.elementRef.nativeElement.disabled=B}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let B;try{B=this.injector.get(i.NgControl)}catch{}if(!B)return;B.statusChanges&&(this.statusChanges=B.statusChanges.subscribe(()=>En(this.elementRef)));const ce=B.control;ce&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(yt=>{if(typeof ce[yt]<"u"){const jt=ce[yt].bind(ce);ce[yt]=(...cn)=>{jt(...cn),En(this.elementRef)}}})}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionBlur",function(yt){return ce._handleBlurEvent(yt.target)})}}),R})();const En=R=>{dn(()=>{const q=R.nativeElement,B=null!=q.value&&q.value.toString().length>0,ce=Zn(q);Yn(q,ce);const xe=q.closest("ion-item");xe&&Yn(xe,B?[...ce,"item-has-value"]:ce)})},Zn=R=>{const q=R.classList,B=[];for(let ce=0;ce{const B=R.classList;B.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),B.add(...q)},Tr=(R,q)=>R.substring(0,q.length)===q;class Mr{shouldDetach(q){return!1}shouldAttach(q){return!1}store(q,B){}retrieve(q){return null}shouldReuseRoute(q,B){if(q.routeConfig!==B.routeConfig)return!1;const ce=q.params,xe=B.params,yt=Object.keys(ce),jt=Object.keys(xe);if(yt.length!==jt.length)return!1;for(const cn of yt)if(xe[cn]!==ce[cn])return!1;return!0}}class zn{constructor(q){this.ctrl=q}create(q){return this.ctrl.create(q||{})}dismiss(q,B,ce){return this.ctrl.dismiss(q,B,ce)}getTop(){return this.ctrl.getTop()}}var ur=o(30388),Mi=o(76256),un=o(68512),U=o(96556),z=o(86944),ae=o(62528),Fe=o(88523),Ae=o(59637),fe=o(45256),De=o(43452),rt=o(63816),Tt=(o(14829),o(62992));o(66560),o(72784);const mn=R=>{const{swiper:q,extendParams:B}=R,ce={effect:void 0,direction:"horizontal",initialSlide:0,loop:!1,parallax:!1,slidesPerView:1,spaceBetween:0,speed:300,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,touchEventsTarget:"container",freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,zoom:{maxRatio:3,minRatio:1,toggle:!1},touchRatio:1,touchAngle:45,simulateTouch:!0,touchStartPreventDefault:!1,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loopAdditionalSlides:0,noSwiping:!0,runCallbacksOnInit:!0,coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flipEffect:{slideShadows:!0,limitRotation:!0},cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fadeEffect:{crossFade:!1},a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide"}};q.pagination&&(ce.pagination={type:"bullets",clickable:!1,hideOnClick:!1}),q.scrollbar&&(ce.scrollbar={hide:!0}),B(ce)},Cn=Fe.i,fn=function(){var R=(0,d.c)(function*(q,B){if(!(typeof window>"u"))return yield Cn(),(0,Tt.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"],"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),B)});return function(B,ce){return R.apply(this,arguments)}}(),Gt=["*"],Nn=["outlet"],lr=[[["","slot","top"]],"*"],cr=["[slot=top]","*"];function Nr(R,q){if(1&R&&(n.\u0275\u0275elementStart(0,"div",1),n.\u0275\u0275elementContainer(1,2),n.\u0275\u0275elementEnd()),2&R){const B=n.\u0275\u0275nextContext();n.\u0275\u0275advance(),n.\u0275\u0275property("ngTemplateOutlet",B.template)}}function Lr(R,q){if(1&R&&n.\u0275\u0275elementContainer(0,1),2&R){const B=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngTemplateOutlet",B.template)}}let dt=(()=>{class R extends Mn{constructor(B,ce){super(B,ce)}writeValue(B){this.elementRef.nativeElement.checked=this.lastValue=B,En(this.elementRef)}_handleIonChange(B){this.handleValueChange(B,B.checked)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionChange",function(yt){return ce._handleIonChange(yt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),lo=(()=>{class R extends Mn{constructor(B,ce){super(B,ce)}handleInputEvent(B){this.handleValueChange(B,B.value)}registerOnChange(B){super.registerOnChange(ce=>{B(""===ce?null:parseFloat(ce))})}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input","type","number"]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionInput",function(yt){return ce.handleInputEvent(yt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),vi=(()=>{class R extends Mn{constructor(B,ce){super(B,ce)}_handleIonSelect(B){this.handleValueChange(B,B.checked)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-radio"]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionSelect",function(yt){return ce._handleIonSelect(yt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),_r=(()=>{class R extends Mn{constructor(B,ce){super(B,ce)}_handleChangeEvent(B){this.handleValueChange(B,B.value)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionChange",function(yt){return ce._handleChangeEvent(yt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),In=(()=>{class R extends Mn{constructor(B,ce){super(B,ce)}_handleInputEvent(B){this.handleValueChange(B,B.value)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(B,ce){1&B&&n.\u0275\u0275listener("ionInput",function(yt){return ce._handleInputEvent(yt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})();const Gn=(R,q)=>{const B=R.prototype;q.forEach(ce=>{Object.defineProperty(B,ce,{get(){return this.el[ce]},set(xe){this.z.runOutsideAngular(()=>this.el[ce]=xe)},configurable:!0})})},si=(R,q)=>{const B=R.prototype;q.forEach(ce=>{B[ce]=function(){const xe=arguments;return this.z.runOutsideAngular(()=>this.el[ce].apply(this.el,xe))}})},Ir=(R,q,B)=>{B.forEach(ce=>R[ce]=(0,we.w)(q,ce))};function Fn(R){return function(B){const{defineCustomElementFn:ce,inputs:xe,methods:yt}=R;return void 0!==ce&&ce(),xe&&Gn(B,xe),yt&&si(B,yt),B}}let ti=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-accordion"]],inputs:{disabled:"disabled",mode:"mode",readonly:"readonly",toggleIcon:"toggleIcon",toggleIconSlot:"toggleIconSlot",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled","mode","readonly","toggleIcon","toggleIconSlot","value"]})],R),R})(),Zr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-accordion-group"]],inputs:{animated:"animated",disabled:"disabled",expand:"expand",mode:"mode",multiple:"multiple",readonly:"readonly",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","disabled","expand","mode","multiple","readonly","value"]})],R),R})(),Xr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionActionSheetDidPresent","ionActionSheetWillPresent","ionActionSheetWillDismiss","ionActionSheetDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-action-sheet"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),Vi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionAlertDidPresent","ionAlertWillPresent","ionAlertWillDismiss","ionAlertDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-alert"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",inputs:"inputs",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","inputs","isOpen","keyboardClose","leaveAnimation","message","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),hr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-app"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({})],R),R})(),Yi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-avatar"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({})],R),R})(),ko=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionBackdropTap"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",tappable:"tappable",visible:"visible"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["stopPropagation","tappable","visible"]})],R),R})(),go=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode"]})],R),R})(),Jr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-breadcrumb"]],inputs:{active:"active",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",separator:"separator",target:"target"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["active","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","separator","target"]})],R),R})(),zi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionCollapsedClick"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-breadcrumbs"]],inputs:{color:"color",itemsAfterCollapse:"itemsAfterCollapse",itemsBeforeCollapse:"itemsBeforeCollapse",maxItems:"maxItems",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","itemsAfterCollapse","itemsBeforeCollapse","maxItems","mode"]})],R),R})(),qi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],R),R})(),ro=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["collapse"]})],R),R})(),Rr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],R),R})(),mo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["mode"]})],R),R})(),_i=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode","translucent"]})],R),R})(),xi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode"]})],R),R})(),qr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode"]})],R),R})(),ar=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange","ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],R),R})(),yo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","disabled","mode","outline"]})],R),R})(),wi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],R),R})(),yi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],R),R})(),Mo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",clearText:"clearText",color:"color",dayValues:"dayValues",disabled:"disabled",doneText:"doneText",firstDayOfWeek:"firstDayOfWeek",highlightedDates:"highlightedDates",hourCycle:"hourCycle",hourValues:"hourValues",isDateEnabled:"isDateEnabled",locale:"locale",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthValues:"monthValues",multiple:"multiple",name:"name",preferWheel:"preferWheel",presentation:"presentation",readonly:"readonly",showClearButton:"showClearButton",showDefaultButtons:"showDefaultButtons",showDefaultTimeLabel:"showDefaultTimeLabel",showDefaultTitle:"showDefaultTitle",size:"size",titleSelectedDatesFormatter:"titleSelectedDatesFormatter",value:"value",yearValues:"yearValues"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["cancelText","clearText","color","dayValues","disabled","doneText","firstDayOfWeek","highlightedDates","hourCycle","hourValues","isDateEnabled","locale","max","min","minuteValues","mode","monthValues","multiple","name","preferWheel","presentation","readonly","showClearButton","showDefaultButtons","showDefaultTimeLabel","showDefaultTitle","size","titleSelectedDatesFormatter","value","yearValues"],methods:["confirm","reset","cancel"]})],R),R})(),po=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-datetime-button"]],inputs:{color:"color",datetime:"datetime",disabled:"disabled",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","datetime","disabled","mode"]})],R),R})(),zr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],R),R})(),bo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],R),R})(),Ni=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["activated","side"]})],R),R})(),Gr=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["collapse","mode","translucent"]})],R),R})(),Lo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["fixed"]})],R),R})(),Oi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["collapse","mode","translucent"]})],R),R})(),Zi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],R),R})(),Li=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["alt","src"]})],R),R})(),Gi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionInfinite"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled","position","threshold"],methods:["complete"]})],R),R})(),$o=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["loadingSpinner","loadingText"]})],R),R})(),Co=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],R),R})(),Ro=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],R),R})(),wo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode","sticky"]})],R),R})(),bs=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-group"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({})],R),R})(),Go=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],R),R})(),ns=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionSwipe"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["side"]})],R),R})(),rs=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionDrag"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],R),R})(),Ki=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode","position"]})],R),R})(),uo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],R),R})(),So=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","lines","mode"]})],R),R})(),cs=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionLoadingDidPresent","ionLoadingWillPresent","ionLoadingWillDismiss","ionLoadingDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-loading"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",showBackdrop:"showBackdrop",spinner:"spinner",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","backdropDismiss","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","message","mode","showBackdrop","spinner","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),co=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],R),R})(),Fo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["autoHide","color","disabled","menu","mode","type"]})],R),R})(),Do=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["autoHide","menu"]})],R),R})(),Ko=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-nav-link"]],inputs:{component:"component",componentProps:"componentProps",routerAnimation:"routerAnimation",routerDirection:"routerDirection"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["component","componentProps","routerAnimation","routerDirection"]})],R),R})(),hs=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode"]})],R),R})(),Qo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionPickerDidPresent","ionPickerWillPresent","ionPickerWillDismiss","ionPickerDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-picker"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",columns:"columns",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","backdropDismiss","buttons","columns","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss","getColumn"]})],R),R})(),Ye=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["buffer","color","mode","reversed","type","value"]})],R),R})(),Ke=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],R),R})(),Ie=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["allowEmptySelection","compareWith","name","value"]})],R),R})(),ft=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","legacy","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],R),R})(),Ot=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionRefresh","ionPull","ionStart"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],R),R})(),Wn=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],R),R})(),Vn=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-reorder"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({})],R),R})(),Wi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionItemReorder"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled"],methods:["complete"]})],R),R})(),Eo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["type"],methods:["addRipple"]})],R),R})(),Ao=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-row"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({})],R),R})(),ho=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",name:"name",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],R),R})(),Ur=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],R),R})(),Zo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled","layout","mode","type","value"]})],R),R})(),is=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],R),R})(),Xi=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled","value"]})],R),R})(),Xo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated"]})],R),R})(),xo=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","duration","name","paused"]})],R),R})(),_o=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionSplitPaneVisible"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["contentId","disabled","when"]})],R),R})(),Di=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode","selectedTab","translucent"]})],R),R})(),To=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],R),R})(),Cs=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode"]})],R),R})(),os=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-textarea"]],inputs:{autoGrow:"autoGrow",autocapitalize:"autocapitalize",autofocus:"autofocus",clearOnEdit:"clearOnEdit",color:"color",cols:"cols",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",rows:"rows",shape:"shape",spellcheck:"spellcheck",value:"value",wrap:"wrap"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","maxlength","minlength","mode","name","placeholder","readonly","required","rows","shape","spellcheck","value","wrap"],methods:["setFocus","getInputElement"]})],R),R})(),io=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-thumbnail"]],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({})],R),R})(),fs=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","size"]})],R),R})(),et=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionToastDidPresent","ionToastWillPresent","ionToastWillDismiss","ionToastDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-toast"]],inputs:{animated:"animated",buttons:"buttons",color:"color",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",icon:"icon",isOpen:"isOpen",keyboardClose:"keyboardClose",layout:"layout",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",position:"position",positionAnchor:"positionAnchor",swipeGesture:"swipeGesture",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["animated","buttons","color","cssClass","duration","enterAnimation","header","htmlAttributes","icon","isOpen","keyboardClose","layout","leaveAnimation","message","mode","position","positionAnchor","swipeGesture","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),ne=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement,Ir(this,this.el,["ionChange","ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-toggle"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","legacy","mode","name","value"]})],R),R})(),ge=(()=>{let R=class{constructor(B,ce,xe){this.z=xe,B.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,_e.__decorate)([Fn({inputs:["color","mode"]})],R),R})(),Le=(()=>{class R extends Jn{constructor(B,ce,xe,yt,jt,cn,X,Ve){super(B,ce,xe,yt,jt,cn,X,Ve),this.parentOutlet=Ve}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(l.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(a.ActivatedRoute),n.\u0275\u0275directiveInject(R,12))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-router-outlet"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),R})(),qe=(()=>{class R extends on{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-tabs"]],contentQueries:function(B,ce,xe){if(1&B&&(n.\u0275\u0275contentQuery(xe,Di,5),n.\u0275\u0275contentQuery(xe,Di,4)),2&B){let yt;n.\u0275\u0275queryRefresh(yt=n.\u0275\u0275loadQuery())&&(ce.tabBar=yt.first),n.\u0275\u0275queryRefresh(yt=n.\u0275\u0275loadQuery())&&(ce.tabBars=yt)}},viewQuery:function(B,ce){if(1&B&&n.\u0275\u0275viewQuery(Nn,5,Le),2&B){let xe;n.\u0275\u0275queryRefresh(xe=n.\u0275\u0275loadQuery())&&(ce.outlet=xe.first)}},features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:cr,decls:6,vars:0,consts:[[1,"tabs-inner"],["tabsInner",""],["tabs","true",3,"stackWillChange","stackDidChange"],["outlet",""]],template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(lr),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0,1)(3,"ion-router-outlet",2,3),n.\u0275\u0275listener("stackWillChange",function(yt){return ce.onStackWillChange(yt)})("stackDidChange",function(yt){return ce.onStackDidChange(yt)}),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(5,1))},dependencies:[Le],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]}),R})(),Dt=(()=>{class R extends or{constructor(B,ce,xe,yt,jt,cn){super(B,ce,xe,yt,jt,cn)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(Le,8),n.\u0275\u0275directiveInject(_n),n.\u0275\u0275directiveInject(Ee),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-back-button"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R})(),Nt=(()=>{class R extends kt{constructor(B,ce,xe,yt,jt,cn){super(B,ce,xe,yt,jt,cn)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(gt),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-nav"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Gt,decls:1,vars:0,template:function(B,ce){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R})(),Ht=(()=>{class R extends ui{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["","routerLink","",5,"a",5,"area"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),R})(),Wt=(()=>{class R extends Pr{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["a","routerLink",""],["area","routerLink",""]],features:[n.\u0275\u0275InheritDefinitionFeature]}),R})(),yn=(()=>{class R extends Tn{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-modal"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(B,ce){1&B&&n.\u0275\u0275template(0,Nr,2,1,"div",0),2&B&&n.\u0275\u0275property("ngIf",ce.isCmpOpen||ce.keepContentsMounted)},dependencies:[l.NgIf,l.NgTemplateOutlet],encapsulation:2,changeDetection:0}),R})(),$n=(()=>{class R extends xt{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-popover"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(B,ce){1&B&&n.\u0275\u0275template(0,Lr,1,1,"ng-container",0),2&B&&n.\u0275\u0275property("ngIf",ce.isCmpOpen||ce.keepContentsMounted)},dependencies:[l.NgIf,l.NgTemplateOutlet],encapsulation:2,changeDetection:0}),R})();const Kn={provide:i.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>Wr),multi:!0};let Wr=(()=>{class R extends i.MaxValidator{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(B,ce){2&B&&n.\u0275\u0275attribute("max",ce._enabled?ce.max:null)},features:[n.\u0275\u0275ProvidersFeature([Kn]),n.\u0275\u0275InheritDefinitionFeature]}),R})();const fr={provide:i.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>tr),multi:!0};let tr=(()=>{class R extends i.MinValidator{}return R.\u0275fac=(()=>{let q;return function(ce){return(q||(q=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(B,ce){2&B&&n.\u0275\u0275attribute("min",ce._enabled?ce.min:null)},features:[n.\u0275\u0275ProvidersFeature([fr]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),vr=(()=>{class R extends zn{constructor(){super(rt.a)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),mi=(()=>{class R{create(B){return(0,ur.c)(B)}easingTime(B,ce,xe,yt,jt){return(0,z.g)(B,ce,xe,yt,jt)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ai=(()=>{class R extends zn{constructor(){super(rt.b)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),ji=(()=>{class R{constructor(B){this.zone=B}create(B,ce=!1){return ce&&Object.getOwnPropertyNames(B).forEach(xe=>{if("function"==typeof B[xe]){const yt=B[xe];B[xe]=(...jt)=>this.zone.run(()=>yt(...jt))}}),(0,ae.createGesture)(B)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275inject(n.NgZone))},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ti=(()=>{class R extends zn{constructor(){super(rt.l)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ji=(()=>{class R extends nt{constructor(){super(De.m)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Sn=(()=>{class R extends zn{constructor(){super(rt.m),this.angularDelegate=(0,n.inject)(gt),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(B){return super.create({...B,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})(),wr=(()=>{class R extends zn{constructor(){super(rt.p)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();class Qi extends zn{constructor(){super(rt.c),this.angularDelegate=(0,n.inject)(gt),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(q){return super.create({...q,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let Ii=(()=>{class R extends zn{constructor(){super(rt.t)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const ei=(R,q,B)=>()=>{const ce=q.defaultView;if(ce&&typeof window<"u"){(0,Ae.s)({...R,_zoneGate:yt=>B.run(yt)});const xe="__zone_symbol__addEventListener"in q.body?"__zone_symbol__addEventListener":"addEventListener";return function vn(){var R=[];if(typeof window<"u"){var q=window;(!q.customElements||q.Element&&(!q.Element.prototype.closest||!q.Element.prototype.matches||!q.Element.prototype.remove||!q.Element.prototype.getRootNode))&&R.push(o.e(4448).then(o.t.bind(o,70812,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||q.NodeList&&!q.NodeList.prototype.forEach||!q.fetch||!function(){try{var ce=new URL("b","http://a");return ce.pathname="c%20d","http://a/c%20d"===ce.href&&ce.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&R.push(o.e(488).then(o.t.bind(o,36304,23)))}return Promise.all(R)}().then(()=>fn(ce,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:dn,jmp:yt=>B.runOutsideAngular(yt),ael(yt,jt,cn,X){yt[xe](jt,cn,X)},rel(yt,jt,cn,X){yt.removeEventListener(jt,cn,X)}}))}};let at=(()=>{class R{static forRoot(B){return{ngModule:R,providers:[{provide:Te,useValue:B},{provide:n.APP_INITIALIZER,useFactory:ei,multi:!0,deps:[Te,l.DOCUMENT,n.NgZone]},{provide:Or,useFactory:jn,deps:[a.Router]}]}}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275mod=n.\u0275\u0275defineNgModule({type:R}),R.\u0275inj=n.\u0275\u0275defineInjector({providers:[gt,Sn,Qi],imports:[l.CommonModule]}),R})()},2300:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{EditorComponent:()=>J,EditorModule:()=>Y,TINYMCE_SCRIPT_SRC:()=>Z});var n=o(54496),i=o(91368),d=o(44716),a=o(70800),l=o(41424),e=o(95657),u=o(53616),c=o(3992),g=o(32700),v=o(22540),p=o(50560),S=o(41760),C=o(95448);function f($,le,...ee){if(!0===le)return void $();if(!1===le)return;const we=new S.ot({next:()=>{we.unsubscribe(),$()}});return(0,p.Uv)(le(...ee)).subscribe(we)}function b($,le){}const E=()=>{const $=typeof window<"u"?window:void 0;return $&&$.tinymce?$.tinymce:null};let M=(()=>{class ${constructor(){this.onBeforePaste=new n.EventEmitter,this.onBlur=new n.EventEmitter,this.onClick=new n.EventEmitter,this.onContextMenu=new n.EventEmitter,this.onCopy=new n.EventEmitter,this.onCut=new n.EventEmitter,this.onDblclick=new n.EventEmitter,this.onDrag=new n.EventEmitter,this.onDragDrop=new n.EventEmitter,this.onDragEnd=new n.EventEmitter,this.onDragGesture=new n.EventEmitter,this.onDragOver=new n.EventEmitter,this.onDrop=new n.EventEmitter,this.onFocus=new n.EventEmitter,this.onFocusIn=new n.EventEmitter,this.onFocusOut=new n.EventEmitter,this.onKeyDown=new n.EventEmitter,this.onKeyPress=new n.EventEmitter,this.onKeyUp=new n.EventEmitter,this.onMouseDown=new n.EventEmitter,this.onMouseEnter=new n.EventEmitter,this.onMouseLeave=new n.EventEmitter,this.onMouseMove=new n.EventEmitter,this.onMouseOut=new n.EventEmitter,this.onMouseOver=new n.EventEmitter,this.onMouseUp=new n.EventEmitter,this.onPaste=new n.EventEmitter,this.onSelectionChange=new n.EventEmitter,this.onActivate=new n.EventEmitter,this.onAddUndo=new n.EventEmitter,this.onBeforeAddUndo=new n.EventEmitter,this.onBeforeExecCommand=new n.EventEmitter,this.onBeforeGetContent=new n.EventEmitter,this.onBeforeRenderUI=new n.EventEmitter,this.onBeforeSetContent=new n.EventEmitter,this.onChange=new n.EventEmitter,this.onClearUndos=new n.EventEmitter,this.onDeactivate=new n.EventEmitter,this.onDirty=new n.EventEmitter,this.onExecCommand=new n.EventEmitter,this.onGetContent=new n.EventEmitter,this.onHide=new n.EventEmitter,this.onInit=new n.EventEmitter,this.onInitNgModel=new n.EventEmitter,this.onLoadContent=new n.EventEmitter,this.onNodeChange=new n.EventEmitter,this.onPostProcess=new n.EventEmitter,this.onPostRender=new n.EventEmitter,this.onPreInit=new n.EventEmitter,this.onPreProcess=new n.EventEmitter,this.onProgressState=new n.EventEmitter,this.onRedo=new n.EventEmitter,this.onRemove=new n.EventEmitter,this.onReset=new n.EventEmitter,this.onResizeEditor=new n.EventEmitter,this.onSaveContent=new n.EventEmitter,this.onSetAttrib=new n.EventEmitter,this.onObjectResizeStart=new n.EventEmitter,this.onObjectResized=new n.EventEmitter,this.onObjectSelected=new n.EventEmitter,this.onSetContent=new n.EventEmitter,this.onShow=new n.EventEmitter,this.onSubmit=new n.EventEmitter,this.onUndo=new n.EventEmitter,this.onVisualAid=new n.EventEmitter}}return $.\u0275fac=function(ee){return new(ee||$)},$.\u0275dir=n.\u0275\u0275defineDirective({type:$,outputs:{onBeforePaste:"onBeforePaste",onBlur:"onBlur",onClick:"onClick",onContextMenu:"onContextMenu",onCopy:"onCopy",onCut:"onCut",onDblclick:"onDblclick",onDrag:"onDrag",onDragDrop:"onDragDrop",onDragEnd:"onDragEnd",onDragGesture:"onDragGesture",onDragOver:"onDragOver",onDrop:"onDrop",onFocus:"onFocus",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onKeyDown:"onKeyDown",onKeyPress:"onKeyPress",onKeyUp:"onKeyUp",onMouseDown:"onMouseDown",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave",onMouseMove:"onMouseMove",onMouseOut:"onMouseOut",onMouseOver:"onMouseOver",onMouseUp:"onMouseUp",onPaste:"onPaste",onSelectionChange:"onSelectionChange",onActivate:"onActivate",onAddUndo:"onAddUndo",onBeforeAddUndo:"onBeforeAddUndo",onBeforeExecCommand:"onBeforeExecCommand",onBeforeGetContent:"onBeforeGetContent",onBeforeRenderUI:"onBeforeRenderUI",onBeforeSetContent:"onBeforeSetContent",onChange:"onChange",onClearUndos:"onClearUndos",onDeactivate:"onDeactivate",onDirty:"onDirty",onExecCommand:"onExecCommand",onGetContent:"onGetContent",onHide:"onHide",onInit:"onInit",onInitNgModel:"onInitNgModel",onLoadContent:"onLoadContent",onNodeChange:"onNodeChange",onPostProcess:"onPostProcess",onPostRender:"onPostRender",onPreInit:"onPreInit",onPreProcess:"onPreProcess",onProgressState:"onProgressState",onRedo:"onRedo",onRemove:"onRemove",onReset:"onReset",onResizeEditor:"onResizeEditor",onSaveContent:"onSaveContent",onSetAttrib:"onSetAttrib",onObjectResizeStart:"onObjectResizeStart",onObjectResized:"onObjectResized",onObjectSelected:"onObjectSelected",onSetContent:"onSetContent",onShow:"onShow",onSubmit:"onSubmit",onUndo:"onUndo",onVisualAid:"onVisualAid"}}),$})();const A=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onResizeEditor","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],I=($,le,ee)=>(0,a.w)($,le).pipe((0,u.a)(ee)),T=($,le)=>"string"==typeof $?$.split(",").map(ee=>ee.trim()):Array.isArray($)?$:le;let P=0;const N=$=>typeof $<"u"&&"textarea"===$.tagName.toLowerCase(),O=$=>typeof $>"u"||""===$?[]:Array.isArray($)?$:$.split(" "),H=($,le)=>O($).concat(O(le)),G=()=>{},te=$=>null==$,K=(()=>{let $={script$:null};return{load:(we,ye)=>$.script$||($.script$=(0,l.Q)(()=>{const Oe=we.createElement("script");return Oe.referrerPolicy="origin",Oe.type="application/javascript",Oe.src=ye,we.head.appendChild(Oe),(0,a.w)(Oe,"load").pipe((0,c.U)(1),(0,g.e)(void 0))}).pipe(function y($,le,ee){let we,ye=!1;return $&&"object"==typeof $?({bufferSize:we=1/0,windowTime:le=1/0,refCount:ye=!1,scheduler:ee}=$):we=$??1/0,function _($={}){const{connector:le=(()=>new e.E),resetOnError:ee=!0,resetOnComplete:we=!0,resetOnRefCountZero:ye=!0}=$;return Oe=>{let ve,_e,Pe,Ze=0,ot=!1,tt=!1;const mt=()=>{_e?.unsubscribe(),_e=void 0},Qe=()=>{mt(),ve=Pe=void 0,ot=tt=!1},Ct=()=>{const Xe=ve;Qe(),Xe?.unsubscribe()};return(0,C.i)((Xe,nt)=>{Ze++,!tt&&!ot&&mt();const Pt=Pe=Pe??le();nt.add(()=>{Ze--,0===Ze&&!tt&&!ot&&(_e=f(Ct,ye))}),Pt.subscribe(nt),!ve&&Ze>0&&(ve=new S.ot({next:tn=>Pt.next(tn),error:tn=>{tt=!0,mt(),_e=f(Qe,ee,tn),Pt.error(tn)},complete:()=>{ot=!0,mt(),_e=f(Qe,we),Pt.complete()}}),(0,p.Uv)(Xe).subscribe(ve))})(Oe)}}({connector:()=>new v.o(we,le,ee),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ye})}({bufferSize:1,refCount:!0}))),reinitialize:()=>{$={script$:null}}}})(),Z=new n.InjectionToken("TINYMCE_SCRIPT_SRC"),re={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>J),multi:!0};let J=(()=>{class $ extends M{constructor(ee,we,ye,Oe){super(),this.platformId=ye,this.tinymceScriptSrc=Oe,this.cloudChannel="6",this.apiKey="no-api-key",this.id="",this.modelEvents="change input undo redo",this.onTouchedCallback=G,this.destroy$=new e.E,this.initialise=()=>{const ve={...this.init,selector:void 0,target:this._element,inline:this.inline,readonly:this.disabled,plugins:H(this.init&&this.init.plugins,this.plugins),toolbar:this.toolbar||this.init&&this.init.toolbar,setup:_e=>{this._editor=_e,I(_e,"init",this.destroy$).subscribe(()=>{this.initEditor(_e)}),(($,le,ee)=>{($=>{const le=T($.ignoreEvents,[]);return T($.allowedEvents,A).filter(we=>A.includes(we)&&!le.includes(we))})($).forEach(ye=>{const Oe=$[ye];I(le,ye.substring(2),ee).subscribe(ve=>{Oe.observers.length>0&&$.ngZone.run(()=>Oe.emit({event:ve,editor:le}))})})})(this,_e,this.destroy$),this.init&&"function"==typeof this.init.setup&&this.init.setup(_e)}};N(this._element)&&(this._element.style.visibility=""),this.ngZone.runOutsideAngular(()=>{E().init(ve)})},this._elementRef=ee,this.ngZone=we}set disabled(ee){this._disabled=ee,this._editor&&this._editor.initialized&&("function"==typeof this._editor.mode?.set?this._editor.mode.set(ee?"readonly":"design"):this._editor.setMode(ee?"readonly":"design"))}get disabled(){return this._disabled}get editor(){return this._editor}writeValue(ee){this._editor&&this._editor.initialized?this._editor.setContent(te(ee)?"":ee):this.initialValue=null===ee?void 0:ee}registerOnChange(ee){this.onChangeCallback=ee}registerOnTouched(ee){this.onTouchedCallback=ee}setDisabledState(ee){this.disabled=ee}ngAfterViewInit(){(0,i.isPlatformBrowser)(this.platformId)&&(this.id=this.id||($=>{const ee=(new Date).getTime(),we=Math.floor(1e9*Math.random());return P++,"tiny-angular_"+we+P+String(ee)})(),this.inline=void 0!==this.inline?!1!==this.inline:!!this.init?.inline,this.createElement(),null!==E()?this.initialise():this._element&&this._element.ownerDocument&&K.load(this._element.ownerDocument,this.getScriptSrc()).pipe((0,u.a)(this.destroy$)).subscribe(this.initialise))}ngOnDestroy(){this.destroy$.next(),null!==E()&&E().remove(this._editor)}createElement(){this._element=document.createElement(this.inline?"string"==typeof this.tagName?this.tagName:"div":"textarea"),this._element&&(document.getElementById(this.id)&&console.warn(`TinyMCE-Angular: an element with id [${this.id}] already exists. Editors with duplicate Id will not be able to mount`),this._element.id=this.id,N(this._element)&&(this._element.style.visibility="hidden"),this._elementRef.nativeElement.appendChild(this._element))}getScriptSrc(){return te(this.tinymceScriptSrc)?`https://cdn.tiny.cloud/1/${this.apiKey}/tinymce/${this.cloudChannel}/tinymce.min.js`:this.tinymceScriptSrc}initEditor(ee){I(ee,"blur",this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.onTouchedCallback())}),I(ee,this.modelEvents,this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.emitOnChange(ee))}),"string"==typeof this.initialValue&&this.ngZone.run(()=>{ee.setContent(this.initialValue),ee.getContent()!==this.initialValue&&this.emitOnChange(ee),void 0!==this.onInitNgModel&&this.onInitNgModel.emit(ee)})}emitOnChange(ee){this.onChangeCallback&&this.onChangeCallback(ee.getContent({format:this.outputFormat}))}}return $.\u0275fac=function(ee){return new(ee||$)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.PLATFORM_ID),n.\u0275\u0275directiveInject(Z,8))},$.\u0275cmp=n.\u0275\u0275defineComponent({type:$,selectors:[["editor"]],inputs:{cloudChannel:"cloudChannel",apiKey:"apiKey",init:"init",id:"id",initialValue:"initialValue",outputFormat:"outputFormat",inline:"inline",tagName:"tagName",plugins:"plugins",toolbar:"toolbar",modelEvents:"modelEvents",allowedEvents:"allowedEvents",ignoreEvents:"ignoreEvents",disabled:"disabled"},standalone:!0,features:[n.\u0275\u0275ProvidersFeature([re]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(ee,we){1&ee&&n.\u0275\u0275template(0,b,0,0,"ng-template")},dependencies:[i.CommonModule,d.FormsModule],styles:["[_nghost-%COMP%]{display:block}"]}),$})(),Y=(()=>{class ${}return $.\u0275fac=function(ee){return new(ee||$)},$.\u0275mod=n.\u0275\u0275defineNgModule({type:$}),$.\u0275inj=n.\u0275\u0275defineInjector({imports:[J]}),$})()},17964:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{add:()=>ye,after:()=>$e,ary:()=>wr,assign:()=>Is,assignIn:()=>Vr,assignInWith:()=>al,assignWith:()=>Bd,at:()=>Fy,attempt:()=>nh,before:()=>Qg,bind:()=>pl,bindAll:()=>jy,bindKey:()=>dc,camelCase:()=>Cl,capitalize:()=>uh,castArray:()=>Eb,ceil:()=>wb,chain:()=>gm,chunk:()=>yc,clamp:()=>LD,clone:()=>Rh,cloneDeep:()=>Fh,cloneDeepWith:()=>Wm,cloneWith:()=>d0,commit:()=>Nh,compact:()=>f0,concat:()=>Ms,cond:()=>O0,conforms:()=>ap,conformsTo:()=>Ic,constant:()=>Jr,countBy:()=>j0,create:()=>up,curry:()=>Il,curryRight:()=>Ju,debounce:()=>fp,deburr:()=>Ta,default:()=>vP,defaultTo:()=>gp,defaults:()=>zs,defaultsDeep:()=>vp,defer:()=>yp,delay:()=>mA,difference:()=>Z0,differenceBy:()=>xc,differenceWith:()=>X0,divide:()=>J0,drop:()=>eC,dropRight:()=>Sp,dropRightWhile:()=>Oo,dropWhile:()=>tf,each:()=>rd,eachRight:()=>id,endsWith:()=>Pl,entries:()=>na,entriesIn:()=>Ap,eq:()=>oo,escape:()=>af,escapeRegExp:()=>hC,every:()=>mC,extend:()=>Vr,extendWith:()=>al,fill:()=>cf,filter:()=>CC,find:()=>EC,findIndex:()=>ld,findKey:()=>kp,findLast:()=>AC,findLastIndex:()=>df,findLastKey:()=>IC,first:()=>cd,flatMap:()=>xC,flatMapDeep:()=>LC,flatMapDepth:()=>Np,flatten:()=>Xd,flattenDeep:()=>RC,flattenDepth:()=>jp,flip:()=>jC,floor:()=>Fc,flow:()=>HC,flowRight:()=>Bp,forEach:()=>rd,forEachRight:()=>id,forIn:()=>YC,forInRight:()=>zC,forOwn:()=>Up,forOwnRight:()=>ff,fromPairs:()=>Hp,functions:()=>gf,functionsIn:()=>$C,get:()=>Tu,groupBy:()=>GC,gt:()=>Yp,gte:()=>nT,has:()=>eS,hasIn:()=>zh,head:()=>cd,identity:()=>gt,inRange:()=>nS,includes:()=>Za,indexOf:()=>oS,initial:()=>Wp,intersection:()=>Po,intersectionBy:()=>xl,intersectionWith:()=>Uc,invert:()=>pd,invertBy:()=>uS,invoke:()=>hS,invokeMap:()=>Df,isArguments:()=>ss,isArray:()=>K,isArrayBuffer:()=>Af,isArrayLike:()=>Zt,isArrayLikeObject:()=>Io,isBoolean:()=>qp,isBuffer:()=>Jo,isDate:()=>_S,isElement:()=>vS,isEmpty:()=>Tf,isEqual:()=>t_,isEqualWith:()=>n_,isError:()=>th,isFinite:()=>r_,isFunction:()=>zt,isInteger:()=>If,isLength:()=>Re,isMap:()=>Uu,isMatch:()=>i_,isMatchWith:()=>o_,isNaN:()=>s_,isNative:()=>a_,isNil:()=>Yc,isNull:()=>Ll,isNumber:()=>Pf,isObject:()=>mt,isObjectLike:()=>T,isPlainObject:()=>Aa,isRegExp:()=>Fa,isSafeInteger:()=>Nl,isSet:()=>Zb,isString:()=>hd,isSymbol:()=>N,isTypedArray:()=>de,isUndefined:()=>jl,isWeakMap:()=>xf,isWeakSet:()=>Of,iteratee:()=>Lf,join:()=>RS,kebabCase:()=>Ff,keyBy:()=>Nf,keys:()=>to,keysIn:()=>ps,last:()=>ks,lastIndexOf:()=>FS,lodash:()=>dt,lowerCase:()=>jS,lowerFirst:()=>p_,lt:()=>US,lte:()=>v_,map:()=>Rc,mapKeys:()=>VS,mapValues:()=>y_,matches:()=>CT,matchesProperty:()=>jf,max:()=>E_,maxBy:()=>$s,mean:()=>$S,meanBy:()=>Zc,memoize:()=>Ly,merge:()=>w_,mergeWith:()=>_p,method:()=>GS,methodOf:()=>D_,min:()=>QS,minBy:()=>A_,mixin:()=>Hf,multiply:()=>T_,negate:()=>Ul,next:()=>Yf,noop:()=>Ae,now:()=>Pc,nth:()=>x_,nthArg:()=>O_,omit:()=>vd,omitBy:()=>Gf,once:()=>cE,orderBy:()=>Qf,over:()=>hE,overArgs:()=>qa,overEvery:()=>yd,overSome:()=>ws,pad:()=>Sd,padEnd:()=>EE,padStart:()=>ru,parseInt:()=>wE,partial:()=>qf,partialRight:()=>iu,partition:()=>G_,pick:()=>K_,pickBy:()=>Jc,plant:()=>Ed,property:()=>x0,propertyOf:()=>Q_,pull:()=>PE,pullAll:()=>J_,pullAllBy:()=>kE,pullAllWith:()=>xE,pullAt:()=>eg,random:()=>_I,range:()=>tg,rangeRight:()=>ng,rearg:()=>rg,reduce:()=>dv,reduceRight:()=>hv,reject:()=>fv,remove:()=>gv,repeat:()=>mv,replace:()=>pv,rest:()=>_v,result:()=>ig,reverse:()=>ou,round:()=>og,sample:()=>sg,sampleSize:()=>lg,set:()=>cg,setWith:()=>ug,shuffle:()=>eM,size:()=>Rv,slice:()=>Fv,snakeCase:()=>Nv,some:()=>Bv,sortBy:()=>Uv,sortedIndex:()=>aM,sortedIndexBy:()=>Hv,sortedIndexOf:()=>Vv,sortedLastIndex:()=>Yv,sortedLastIndexBy:()=>zv,sortedLastIndexOf:()=>Wv,sortedUniq:()=>$v,sortedUniqBy:()=>Gv,split:()=>vM,spread:()=>Kv,startCase:()=>Qv,startsWith:()=>lu,stubArray:()=>Sm,stubFalse:()=>Ks,stubObject:()=>Zv,stubString:()=>ys,stubTrue:()=>MM,subtract:()=>wM,sum:()=>uu,sumBy:()=>fg,tail:()=>Xv,take:()=>Jv,takeRight:()=>gg,takeRightWhile:()=>PM,takeWhile:()=>pg,tap:()=>qv,template:()=>ry,templateSettings:()=>Ad,throttle:()=>$M,thru:()=>du,times:()=>KM,toArray:()=>Vf,toFinite:()=>qt,toInteger:()=>Ue,toIterator:()=>oy,toJSON:()=>zl,toLength:()=>ad,toLower:()=>ZM,toNumber:()=>hn,toPairs:()=>na,toPairsIn:()=>Ap,toPath:()=>XM,toPlainObject:()=>V0,toSafeInteger:()=>ew,toString:()=>Si,toUpper:()=>tw,transform:()=>nw,trim:()=>ow,trimEnd:()=>sw,trimStart:()=>lw,truncate:()=>JI,unary:()=>ay,unescape:()=>dy,union:()=>fy,unionBy:()=>ja,unionWith:()=>kd,uniq:()=>yg,uniqBy:()=>vw,uniqWith:()=>bw,uniqueId:()=>Ew,unset:()=>gy,unzip:()=>xd,unzipWith:()=>my,update:()=>Dw,updateWith:()=>Cg,upperCase:()=>Ba,upperFirst:()=>rm,value:()=>zl,valueOf:()=>zl,values:()=>vs,valuesIn:()=>vy,without:()=>yy,words:()=>hm,wrap:()=>Od,wrapperAt:()=>Pw,wrapperChain:()=>xw,wrapperCommit:()=>Nh,wrapperLodash:()=>dt,wrapperNext:()=>Yf,wrapperPlant:()=>Ed,wrapperReverse:()=>Ow,wrapperToIterator:()=>oy,wrapperValue:()=>zl,xor:()=>Rw,xorBy:()=>Fw,xorWith:()=>Eg,zip:()=>Nw,zipObject:()=>Cy,zipObjectDeep:()=>Mg,zipWith:()=>wg});const i="object"==typeof global&&global&&global.Object===Object&&global;var d="object"==typeof self&&self&&self.Object===Object&&self;const l=i||d||Function("return this")(),u=l.Symbol;var c=Object.prototype,g=c.hasOwnProperty,v=c.toString,p=u?u.toStringTag:void 0;var f=Object.prototype.toString;var A=u?u.toStringTag:void 0;const F=function I(w){return null==w?void 0===w?"[object Undefined]":"[object Null]":A&&A in Object(w)?function S(w){var k=g.call(w,p),Q=w[p];try{w[p]=void 0;var Me=!0}catch{}var Ge=v.call(w);return Me&&(k?w[p]=Q:delete w[p]),Ge}(w):function y(w){return f.call(w)}(w)},T=function j(w){return null!=w&&"object"==typeof w},N=function x(w){return"symbol"==typeof w||T(w)&&"[object Symbol]"==F(w)},G=function H(w){return"number"==typeof w?w:N(w)?NaN:+w},ue=function te(w,k){for(var Q=-1,Me=null==w?0:w.length,Ge=Array(Me);++Q0){if(++k>=800)return arguments[0]}else k=0;return w.apply(void 0,arguments)}},Fn=Ir(en);var ti=/\{\n\/\* \[wrapped with (.+)\] \*/,Zr=/,? & /;var hr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;const Jr=function go(w){return function(){return w}};var zi=function(){try{var w=Sr(Object,"defineProperty");return w({},"",{}),w}catch{}}();const qi=zi;var ro=qi?function(w,k){return qi(w,"toString",{configurable:!0,enumerable:!1,value:Jr(k),writable:!0})}:gt;const _i=Ir(ro),qr=function xi(w,k){for(var Q=-1,Me=null==w?0:w.length;++Q-1};var bs=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];const Ki=function rs(w,k,Q){var Me=k+"";return _i(w,function Yi(w,k){var Q=k.length;if(!Q)return w;var Me=Q-1;return k[Me]=(Q>1?"& ":"")+k[Me],k=k.join(Q>2?", ":" "),w.replace(hr,"{\n/* [wrapped with "+k+"] */\n")}(Me,function Go(w,k){return qr(bs,function(Q){var Me="_."+Q[0];k&Q[1]&&!Gr(w,Me)&&w.push(Me)}),w.sort()}(function Xr(w){var k=w.match(ti);return k?k[1].split(Zr):[]}(Me),Q)))},hs=function Ko(w,k,Q,Me,Ge,bt,Ft,Kt,sn,xn){var On=8&k;k|=On?32:64,4&(k&=~(On?64:32))||(k&=-4);var gi=[w,k,Ge,On?bt:void 0,On?Ft:void 0,On?void 0:bt,On?void 0:Ft,Kt,sn,xn],jr=Q.apply(void 0,gi);return vi(w)&&Fn(jr,gi),jr.placeholder=Me,Ki(jr,w,k)},Ye=function Qo(w){return w.placeholder};var Ie=/^(?:0|[1-9]\d*)$/;const Ot=function ft(w,k){var Q=typeof w;return!!(k=k??9007199254740991)&&("number"==Q||"symbol"!=Q&&Ie.test(w))&&w>-1&&w%1==0&&w1&&Ei.reverse(),On&&sn-1&&w%1==0&&w<=9007199254740991},Zt=function Mt(w){return null!=w&&Re(w.length)&&!zt(w)},Pn=function an(w,k,Q){if(!mt(Q))return!1;var Me=typeof k;return!!("number"==Me?Zt(Q)&&Ot(k,Q.length):"string"==Me&&k in Q)&&oo(Q[k],w)},yr=function gr(w){return X(function(k,Q){var Me=-1,Ge=Q.length,bt=Ge>1?Q[Ge-1]:void 0,Ft=Ge>2?Q[2]:void 0;for(bt=w.length>3&&"function"==typeof bt?(Ge--,bt):void 0,Ft&&Pn(Q[0],Q[1],Ft)&&(bt=Ge<3?void 0:bt,Ge=1),k=Object(k);++Me-1},ma.prototype.set=function Rg(w,k){var Q=this.__data__,Me=fi(Q,w);return Me<0?(++this.size,Q.push([w,k])):Q[Me][1]=k,this};const dl=ma,hl=Sr(l,"Map"),wu=function Mu(w,k){var Q=w.__data__;return function yP(w){var k=typeof w;return"string"==k||"number"==k||"symbol"==k||"boolean"==k?"__proto__"!==w:null===w}(k)?Q["string"==typeof k?"string":"hash"]:Q.map};function fl(w){var k=-1,Q=null==w?0:w.length;for(this.clear();++k0&&Q(Kt)?k>1?Iu(Kt,k-1,Q,Me,Ge):Ps(Ge,Kt):Me||(Ge[Ge.length]=Kt)}return Ge},Xd=function zg(w){return null!=w&&w.length?ds(w,1):[]},za=function Jd(w){return _i(jt(w,void 0,Xd),w+"")},Fy=za(Kd),Pu=ln(Object.getPrototypeOf,Object);var qd=Function.prototype.toString,eh=Object.prototype.hasOwnProperty,tD=qd.call(Object);const Aa=function Gg(w){if(!T(w)||"[object Object]"!=F(w))return!1;var k=Pu(w);if(null===k)return!0;var Q=eh.call(k,"constructor")&&k.constructor;return"function"==typeof Q&&Q instanceof Q&&qd.call(Q)==tD},th=function Kg(w){if(!T(w))return!1;var k=F(w);return"[object Error]"==k||"[object DOMException]"==k||"string"==typeof w.message&&"string"==typeof w.name&&!Aa(w)};var nD=X(function(w,k){try{return dn(w,void 0,k)}catch(Q){return th(Q)?Q:new Error(Q)}});const nh=nD,Qg=function rD(w,k){var Q;if("function"!=typeof k)throw new TypeError("Expected a function");return w=Ue(w),function(){return--w>0&&(Q=k.apply(this,arguments)),w<=1&&(k=void 0),Q}};var Xg=X(function(w,k,Q){var Me=1;if(Q.length){var Ge=ho(Q,Ye(Xg));Me|=32}return Ti(w,Me,k,Q,Ge)});Xg.placeholder={};const pl=Xg;var _l=za(function(w,k){return qr(k,function(Q){Q=Ss(Q),Ii(w,Q,pl(w[Q],w))}),w});const jy=_l;var rh=X(function(w,k,Q){var Me=3;if(Q.length){var Ge=ho(Q,Ye(rh));Me|=32}return Ti(k,Me,w,Q,Ge)});rh.placeholder={};const dc=rh,Vs=function sD(w,k,Q){var Me=-1,Ge=w.length;k<0&&(k=-k>Ge?0:Ge+k),(Q=Q>Ge?Ge:Q)<0&&(Q+=Ge),Ge=k>Q?0:Q-k>>>0,k>>>=0;for(var bt=Array(Ge);++Me=Me?w:Vs(w,k,Q)};var Yy=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const hc=function cD(w){return Yy.test(w)};var $y="\\ud800-\\udfff",sh="["+$y+"]",fc="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ku="\\ud83c[\\udffb-\\udfff]",tm="[^"+$y+"]",Ky="(?:\\ud83c[\\udde6-\\uddff]){2}",vl="[\\ud800-\\udbff][\\udc00-\\udfff]",Qy="(?:"+fc+"|"+ku+")?",ah="[\\ufe0e\\ufe0f]?",fD=ah+Qy+"(?:\\u200d(?:"+[tm,Ky,vl].join("|")+")"+ah+Qy+")*",gD="(?:"+[tm+fc+"?",fc,Ky,vl,sh].join("|")+")",bP=RegExp(ku+"(?="+ku+")|"+gD+fD,"g");const qs=function Ou(w){return hc(w)?function CP(w){return w.match(bP)||[]}(w):function zy(w){return w.split("")}(w)},lh=function Lu(w){return function(k){k=Si(k);var Q=hc(k)?qs(k):void 0,Me=Q?Q[0]:k.charAt(0),Ge=Q?Wa(Q,1).join(""):k.slice(1);return Me[w]()+Ge}},rm=lh("toUpperCase"),uh=function Zy(w){return rm(Si(w).toLowerCase())},Ys=function mD(w,k,Q,Me){var Ge=-1,bt=null==w?0:w.length;for(Me&&bt&&(Q=w[++Ge]);++Ge=k?w:k)),w},LD=function Ab(w,k,Q){return void 0===Q&&(Q=k,k=void 0),void 0!==Q&&(Q=(Q=hn(Q))==Q?Q:0),void 0!==k&&(k=(k=hn(k))==k?k:0),$a(hn(w),k,Q)};function Sl(w){var k=this.__data__=new dl(w);this.size=k.size}Sl.prototype.clear=function EP(){this.__data__=new dl,this.size=0},Sl.prototype.delete=function mm(w){var k=this.__data__,Q=k.delete(w);return this.size=k.size,Q},Sl.prototype.get=function wP(w){return this.__data__.get(w)},Sl.prototype.has=function Tb(w){return this.__data__.has(w)},Sl.prototype.set=function ND(w,k){var Q=this.__data__;if(Q instanceof dl){var Me=Q.__data__;if(!hl||Me.length<199)return Me.push([w,k]),this.size=++Q.size,this;Q=this.__data__=new ac(Me)}return Q.set(w,k),this.size=Q.size,this};const ka=Sl,bh=function Ib(w,k){return w&&ce(k,to(k),w)};var _m="object"==typeof exports&&exports&&!exports.nodeType&&exports,vm=_m&&"object"==typeof module&&module&&!module.nodeType&&module,Ch=vm&&vm.exports===_m?l.Buffer:void 0,bm=Ch?Ch.allocUnsafe:void 0;const Cm=function Pb(w,k){if(k)return w.slice();var Q=w.length,Me=bm?bm(Q):new w.constructor(Q);return w.copy(Me),Me},xa=function UD(w,k){for(var Q=-1,Me=null==w?0:w.length,Ge=0,bt=[];++QKt))return!1;var xn=bt.get(w),On=bt.get(k);if(xn&&On)return xn==k&&On==w;var Bn=-1,ir=!0,Ar=2&Q?new Bh:void 0;for(bt.set(w,k),bt.set(k,w);++Bn=k||ia<0||Bn&&Ho-xn>=bt}function bi(){var Ho=Pc();if(jr(Ho))return Ei(Ho);Kt=setTimeout(bi,function gi(Ho){var Ag=k-(Ho-sn);return Bn?qu(Ag,bt-(Ho-xn)):Ag}(Ho))}function Ei(Ho){return Kt=void 0,ir&&Me?Ar(Ho):(Me=Ge=void 0,Ft)}function Bs(){var Ho=Pc(),ia=jr(Ho);if(Me=arguments,Ge=this,sn=Ho,ia){if(void 0===Kt)return function Yr(Ho){return xn=Ho,Kt=setTimeout(bi,k),On?Ar(Ho):Ft}(sn);if(Bn)return clearTimeout(Kt),Kt=setTimeout(bi,k),Ar(sn)}return void 0===Kt&&(Kt=setTimeout(bi,k)),Ft}return k=hn(k)||0,mt(Q)&&(On=!!Q.leading,bt=(Bn="maxWait"in Q)?oA(hn(Q.maxWait)||0,k):bt,ir="trailing"in Q?!!Q.trailing:ir),Bs.cancel=function Gs(){void 0!==Kt&&clearTimeout(Kt),xn=0,Me=sn=Ge=Kt=void 0},Bs.flush=function As(){return void 0===Kt?Ft:Ei(Pc())},Bs},gp=function sA(w,k){return null==w||w!=w?k:w};var ed=Object.prototype,mp=ed.hasOwnProperty,U0=X(function(w,k){w=Object(w);var Q=-1,Me=k.length,Ge=Me>2?k[2]:void 0;for(Ge&&Pn(k[0],k[1],Ge)&&(Me=1);++Q=200&&(bt=Vu,Ft=!1,k=new Bh(k));e:for(;++Ge=0&&w.slice(Q,Ge)==k},sd=function DA(w){return function(k){var Q=_a(k);return"[object Map]"==Q?Km(k):"[object Set]"==Q?function of(w){var k=-1,Q=Array(w.size);return w.forEach(function(Me){Q[++k]=[Me,Me]}),Q}(k):function Dp(w,k){return ue(k,function(Q){return[Q,w[Q]]})}(k,w(k))}},na=sd(to),Ap=sd(ps),cC=gc({"&":"&","<":"<",">":">",'"':""","'":"'"});var uC=/[&<>"']/g,AA=RegExp(uC.source);const af=function Lc(w){return(w=Si(w))&&AA.test(w)?w.replace(uC,cC):w};var dC=/[\\^$.*+?()[\]{}|]/g,TA=RegExp(dC.source);const hC=function IA(w){return(w=Si(w))&&TA.test(w)?w.replace(dC,"\\$&"):w},fC=function PA(w,k){for(var Q=-1,Me=null==w?0:w.length;++QGe?0:Ge+Q),(Me=void 0===Me||Me>Ge?Ge:Ue(Me))<0&&(Me+=Ge),Me=Q>Me?0:ad(Me);Q-1?Ge[bt?k[Ft]:Ft]:void 0}};var Ip=Math.max;const ld=function SC(w,k,Q){var Me=null==w?0:w.length;if(!Me)return-1;var Ge=null==Q?0:Ue(Q);return Ge<0&&(Ge=Ip(Me+Ge,0)),yo(w,li(k),Ge)},EC=uf(ld),MC=function RA(w,k,Q){var Me;return Q(w,function(Ge,bt,Ft){if(k(Ge,bt,Ft))return Me=bt,!1}),Me},kp=function FA(w,k){return MC(w,li(k),ya)};var xp=Math.max,Op=Math.min;const df=function wC(w,k,Q){var Me=null==w?0:w.length;if(!Me)return-1;var Ge=Me-1;return void 0!==Q&&(Ge=Ue(Q),Ge=Q<0?xp(Me+Ge,0):Op(Ge,Me-1)),yo(w,li(k),Ge,!0)},AC=uf(df),IC=function TC(w,k){return MC(w,li(k),nf)},cd=function Lp(w){return w&&w.length?w[0]:void 0},Fp=function Rp(w,k){var Q=-1,Me=Zt(w)?Array(w.length):[];return ta(w,function(Ge,bt,Ft){Me[++Q]=k(Ge,bt,Ft)}),Me},Rc=function PC(w,k){return(K(w)?ue:Fp)(w,li(k))},xC=function kC(w,k){return ds(Rc(w,k),1)},LC=function NA(w,k){return ds(Rc(w,k),1/0)},Np=function jA(w,k,Q){return Q=void 0===Q?1:Ue(Q),ds(Rc(w,k),Q)},RC=function UA(w){return null!=w&&w.length?ds(w,1/0):[]},jp=function FC(w,k){return null!=w&&w.length?(k=void 0===k?1:Ue(k),ds(w,k)):[]},jC=function HA(w){return Ti(w,512)},Fc=fm("floor"),jc=function Nc(w){return za(function(k){var Q=k.length,Me=Q,Ge=Cn.prototype.thru;for(w&&k.reverse();Me--;){var bt=k[Me];if("function"!=typeof bt)throw new TypeError("Expected a function");if(Ge&&!Ft&&"wrapper"==mn(bt))var Ft=new Cn([],!0)}for(Me=Ft?Me:Q;++Mek},dd=function KC(w){return function(k,Q){return"string"==typeof k&&"string"==typeof Q||(k=hn(k),Q=hn(Q)),w(k,Q)}},Yp=dd(Vp);var tT=dd(function(w,k){return w>=k});const nT=tT;var XC=Object.prototype.hasOwnProperty;const JC=function kl(w,k){return null!=w&&XC.call(w,k)},eS=function qC(w,k){return null!=w&&Tl(w,k,JC)};var pf=Math.max,_f=Math.min;const nS=function zp(w,k,Q){return k=qt(k),void 0===Q?(Q=k,k=0):Q=qt(Q),function rT(w,k,Q){return w>=_f(k,Q)&&w-1:!!Ge&&bo(w,k,Q)>-1};var yf=Math.max;const oS=function Ws(w,k,Q){var Me=null==w?0:w.length;if(!Me)return-1;var Ge=null==Q?0:Ue(Q);return Ge<0&&(Ge=yf(Me+Ge,0)),bo(w,k,Ge)},Wp=function Bc(w){return null!=w&&w.length?Vs(w,0,-1):[]};var sS=Math.min;const $p=function oT(w,k,Q){for(var Me=Q?nd:Gr,Ge=w[0].length,bt=w.length,Ft=bt,Kt=Array(bt),sn=1/0,xn=[];Ft--;){var On=w[Ft];Ft&&k&&(On=ue(On,ni(k))),sn=sS(On.length,sn),Kt[Ft]=!Q&&(k||Ge>=120&&On.length>=120)?new Bh(Ft&&On):void 0}On=w[0];var Bn=-1,ir=Kt[0];e:for(;++Bn=-Fl&&w<=Fl},jl=function Gc(w){return void 0===w},xf=function c_(w){return T(w)&&"[object WeakMap]"==_a(w)},Of=function d_(w){return T(w)&&"[object WeakSet]"==F(w)},Lf=function f_(w){return li("function"==typeof w?w:ea(w,1))};var Rf=Array.prototype.join;const RS=function Ja(w,k){return null==w?"":Rf.call(w,k)};var mT=vc(function(w,k,Q){return w+(Q?"-":"")+k.toLowerCase()});const Ff=mT;var Bl=Zh(function(w,k,Q){Ii(w,Q,k)});const Nf=Bl;var VP=Math.max,YP=Math.min;const FS=function _T(w,k,Q){var Me=null==w?0:w.length;if(!Me)return-1;var Ge=Me;return void 0!==Q&&(Ge=(Ge=Ue(Q))<0?VP(Me+Ge,0):YP(Ge,Me-1)),k==k?function pT(w,k,Q){for(var Me=Q+1;Me--;)if(w[Me]===k)return Me;return Me}(w,k,Ge):yo(w,yi,Ge,!0)};var NS=vc(function(w,k,Q){return w+(Q?" ":"")+k.toLowerCase()});const jS=NS,p_=lh("toLowerCase"),__=function vT(w,k){return w=this.__values__.length;return{done:w,value:w?void 0:this.__values__[this.__index__++]}},oE=function iE(w,k){var Q=w.length;if(Q)return Ot(k+=k<0?Q:0,Q)?w[k]:void 0},x_=function sE(w,k){return w&&w.length?oE(w,Ue(k)):void 0},O_=function TT(w){return w=Ue(w),X(function(k){return oE(k,w)})},zf=function IT(w,k){return k=Ls(k,w),null==(w=Qp(w,k))||delete w[Ss(ks(k))]},PT=function L_(w){return Aa(w)?void 0:w};var Wf=za(function(w,k){var Q={};if(null==w)return Q;var Me=!1;k=ue(k,function(bt){return bt=Ls(bt,w),Me||(Me=bt.length>1),bt}),ce(w,Nu(w),Q),Me&&(Q=ea(Q,7,PT));for(var Ge=k.length;Ge--;)zf(Q,k[Ge]);return Q});const vd=Wf,Xc=function F_(w,k,Q,Me){if(!mt(w))return w;for(var Ge=-1,bt=(k=Ls(k,w)).length,Ft=bt-1,Kt=w;null!=Kt&&++Gek||bt&&Ft&&sn&&!Kt&&!xn||Me&&Ft&&sn||!Q&&sn||!Ge)return 1;if(!Me&&!bt&&!xn&&w=Kt?sn:sn*("desc"==Q[Me]?-1:1)}return w.index-k.index}(bt,Ft,Q)})},Qf=function jT(w,k,Q,Me){return null==w?[]:(K(k)||(k=null==k?[]:[k]),K(Q=Me?void 0:Q)||(Q=null==Q?[]:[Q]),Vl(w,k,Q))},Zf=function BT(w){return za(function(k){return k=ue(k,ni(li)),X(function(Q){var Me=this;return w(k,function(Ge){return dn(Ge,Me,Q)})})})},hE=Zf(ue);var HT=Math.min,VT=X(function(w,k){var Q=(k=1==k.length&&K(k[0])?ue(k[0],ni(li)):ue(ds(k,1),ni(li))).length;return X(function(Me){for(var Ge=-1,bt=HT(Me.length,Q);++Ge9007199254740991)return Q;do{k%2&&(Q+=w),(k=j_(k/2))&&(w+=w)}while(k);return Q},mE=k0("length");var B_="\\ud800-\\udfff",QT="["+B_+"]",U_="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",eu="\\ud83c[\\udffb-\\udfff]",H_="[^"+B_+"]",V_="(?:\\ud83c[\\udde6-\\uddff]){2}",_E="[\\ud800-\\udbff][\\udc00-\\udfff]",tu="(?:"+U_+"|"+eu+")?",vE="[\\ufe0e\\ufe0f]?",XT=vE+tu+"(?:\\u200d(?:"+[H_,V_,_E].join("|")+")"+vE+tu+")*",yE="(?:"+[H_+U_+"?",U_,V_,_E,QT].join("|")+")",Y_=RegExp(eu+"(?="+eu+")|"+yE+XT,"g");const nu=function CE(w){return hc(w)?function bE(w){for(var k=Y_.lastIndex=0;Y_.test(w);)++k;return k}(w):mE(w)};var qT=Math.ceil;const z_=function zP(w,k){var Q=(k=void 0===k?" ":$(k)).length;if(Q<2)return Q?Jf(k,w):k;var Me=Jf(k,qT(w/nu(k)));return hc(k)?Wa(qs(Me),0,w).join(""):Me.slice(0,w)};var WP=Math.ceil,$P=Math.floor;const Sd=function SE(w,k,Q){w=Si(w);var Me=(k=Ue(k))?nu(w):0;if(!k||Me>=k)return w;var Ge=(k-Me)/2;return z_($P(Ge),Q)+w+z_(WP(Ge),Q)},EE=function eI(w,k,Q){w=Si(w);var Me=(k=Ue(k))?nu(w):0;return k&&Me-1;)Kt!==w&&TE.call(Kt,sn,1),TE.call(w,sn,1);return w},J_=function IE(w,k){return w&&w.length&&k&&k.length?X_(w,k):w},PE=X(J_),kE=function fI(w,k,Q){return w&&w.length&&k&&k.length?X_(w,k,li(Q)):w},xE=function gI(w,k,Q){return w&&w.length&&k&&k.length?X_(w,k,void 0,Q):w};var q_=Array.prototype.splice;const tv=function ev(w,k){for(var Q=w?k.length:0,Me=Q-1;Q--;){var Ge=k[Q];if(Q==Me||Ge!==bt){var bt=Ge;Ot(Ge)?q_.call(w,Ge,1):zf(w,Ge)}}return w};var OE=za(function(w,k){var Q=null==w?0:w.length,Me=Kd(w,k);return tv(w,ue(k,function(Ge){return Ot(Ge,Q)?+Ge:Ge}).sort(Kf)),Me});const eg=OE;var LE=Math.floor,RE=Math.random;const Md=function nv(w,k){return w+LE(RE()*(k-w+1))};var pI=parseFloat,rv=Math.min,FE=Math.random;const _I=function NE(w,k,Q){if(Q&&"boolean"!=typeof Q&&Pn(w,k,Q)&&(k=Q=void 0),void 0===Q&&("boolean"==typeof k?(Q=k,k=void 0):"boolean"==typeof w&&(Q=w,w=void 0)),void 0===w&&void 0===k?(w=0,k=1):(w=qt(w),void 0===k?(k=w,w=0):k=qt(k)),w>k){var Me=w;w=k,k=Me}if(Q||w%1||k%1){var Ge=FE();return rv(w+Ge*(k-w+pI("1e-"+((Ge+"").length-1))),k)}return Md(w,k)};var jE=Math.ceil,vI=Math.max;const wd=function iv(w){return function(k,Q,Me){return Me&&"number"!=typeof Me&&Pn(k,Q,Me)&&(Q=Me=void 0),k=qt(k),void 0===Q?(Q=k,k=0):Q=qt(Q),function BE(w,k,Q,Me){for(var Ge=-1,bt=vI(jE((k-w)/(Q||1)),0),Ft=Array(bt);bt--;)Ft[Me?bt:++Ge]=w,w+=Q;return Ft}(k,Q,Me=void 0===Me?k1&&Pn(w,k[0],k[1])?k=[]:Q>2&&Pn(k[0],k[1],k[2])&&(k=[k[0]]),Vl(w,ds(k,1),[])});const Uv=rM;var oM=Math.floor,DI=Math.min;const Dd=function AI(w,k,Q,Me){var Ge=0,bt=null==w?0:w.length;if(0===bt)return 0;for(var Ft=(k=Q(k))!=k,Kt=null===k,sn=N(k),xn=void 0===k;Ge>>1,Ft=w[bt];null!==Ft&&!N(Ft)&&(Q?Ft<=k:Ft>>0)?(w=Si(w))&&("string"==typeof k||null!=k&&!Fa(k))&&!(k=$(k))&&hc(w)?Wa(qs(w),0,Q):w.split(k,Q):[]};var XP=Math.max;const Kv=function yM(w,k){if("function"!=typeof w)throw new TypeError("Expected a function");return k=null==k?0:XP(Ue(k),0),X(function(Q){var Me=Q[k],Ge=Wa(Q,0,k);return Me&&Ps(Ge,Me),dn(w,this,Ge)})};var bM=vc(function(w,k,Q){return w+(Q?" ":"")+rm(k)});const Qv=bM,lu=function CM(w,k,Q){return w=Si(w),Q=null==Q?0:$a(Ue(Q),0,w.length),k=$(k),w.slice(Q,Q+k.length)==k},Zv=function SM(){return{}},ys=function EM(){return""},MM=function cu(){return!0};var II=ee(function(w,k){return w-k},0);const wM=II,uu=function JP(w){return w&&w.length?Bf(w,gt):0},fg=function PI(w,k){return w&&w.length?Bf(w,li(k)):0},Xv=function DM(w){var k=null==w?0:w.length;return k?Vs(w,1,k):[]},Jv=function AM(w,k,Q){return w&&w.length?(k=Q||void 0===k?1:Ue(k),Vs(w,0,k<0?0:k)):[]},gg=function TM(w,k,Q){var Me=null==w?0:w.length;return Me?(k=Q||void 0===k?1:Ue(k),Vs(w,(k=Me-k)<0?0:k,Me)):[]},PM=function IM(w,k){return w&&w.length?ef(w,li(k),!1,!0):[]},pg=function mg(w,k){return w&&w.length?ef(w,li(k)):[]},qv=function kI(w,k){return k(w),w};var kM=Object.prototype,ey=kM.hasOwnProperty;const xM=function Yl(w,k,Q,Me){return void 0===w||oo(w,kM[Q])&&!ey.call(Me,Q)?k:w};var OM={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};const LM=function ty(w){return"\\"+OM[w]},RM=/<%=([\s\S]+?)%>/g,Ad={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:RM,variable:"",imports:{_:{escape:af}}};var LI=/\b__p \+= '';/g,BM=/\b(__p \+=) '' \+/g,RI=/(__e\(.*?\)|\b__t\)) \+\n'';/g,UM=/[()=,{}\[\]\/\s]/,HM=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Td=/($^)/,VM=/['\n\r\u2028\u2029\\]/g,YM=Object.prototype.hasOwnProperty;const ry=function zM(w,k,Q){var Me=Ad.imports._.templateSettings||Ad;Q&&Pn(w,k,Q)&&(k=void 0),w=Si(w),k=al({},k,Me,xM);var Kt,sn,Ge=al({},k.imports,Me.imports,xM),bt=to(Ge),Ft=iS(Ge,bt),xn=0,On=k.interpolate||Td,Bn="__p += '",ir=RegExp((k.escape||Td).source+"|"+On.source+"|"+(On===RM?HM:Td).source+"|"+(k.evaluate||Td).source+"|$","g"),Ar=YM.call(k,"sourceURL")?"//# sourceURL="+(k.sourceURL+"").replace(/\s/g," ")+"\n":"";w.replace(ir,function(jr,bi,Ei,Gs,As,Bs){return Ei||(Ei=Gs),Bn+=w.slice(xn,Bs).replace(VM,LM),bi&&(Kt=!0,Bn+="' +\n__e("+bi+") +\n'"),As&&(sn=!0,Bn+="';\n"+As+";\n__p += '"),Ei&&(Bn+="' +\n((__t = ("+Ei+")) == null ? '' : __t) +\n'"),xn=Bs+jr.length,jr}),Bn+="';\n";var Yr=YM.call(k,"variable")&&k.variable;if(Yr){if(UM.test(Yr))throw new Error("Invalid `variable` option passed into `_.template`")}else Bn="with (obj) {\n"+Bn+"\n}\n";Bn=(sn?Bn.replace(LI,""):Bn).replace(BM,"$1").replace(RI,"$1;"),Bn="function("+(Yr||"obj")+") {\n"+(Yr?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Kt?", __e = _.escape":"")+(sn?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Bn+"return __p\n}";var gi=nh(function(){return Function(bt,Ar+"return "+Bn).apply(void 0,Ft)});if(gi.source=Bn,th(gi))throw gi;return gi},$M=function NI(w,k,Q){var Me=!0,Ge=!0;if("function"!=typeof w)throw new TypeError("Expected a function");return mt(Q)&&(Me="leading"in Q?!!Q.leading:Me,Ge="trailing"in Q?!!Q.trailing:Ge),fp(w,k,{leading:Me,maxWait:k,trailing:Ge})},du=function jI(w,k){return k(w)};var iy=4294967295,UI=Math.min;const KM=function GM(w,k){if((w=Ue(w))<1||w>9007199254740991)return[];var Q=iy,Me=UI(w,iy);k=ba(k),w-=iy;for(var Ge=Ri(Me,k);++Q-1;);return Q},iw=function GI(w,k){for(var Q=-1,Me=w.length;++Q-1;);return Q},ow=function KI(w,k,Q){if((w=Si(w))&&(Q||void 0===k))return ot(w);if(!w||!(k=$(k)))return w;var Me=qs(w),Ge=qs(k),bt=iw(Me,Ge),Ft=rw(Me,Ge)+1;return Wa(Me,bt,Ft).join("")},sw=function QI(w,k,Q){if((w=Si(w))&&(Q||void 0===k))return w.slice(0,_e(w)+1);if(!w||!(k=$(k)))return w;var Me=qs(w),Ge=rw(Me,qs(k))+1;return Wa(Me,0,Ge).join("")};var aw=/^\s+/;const lw=function sy(w,k,Q){if((w=Si(w))&&(Q||void 0===k))return w.replace(aw,"");if(!w||!(k=$(k)))return w;var Me=qs(w),Ge=iw(Me,qs(k));return Wa(Me,Ge).join("")};var XI=/\w*$/;const JI=function uw(w,k){var Q=30,Me="...";if(mt(k)){var Ge="separator"in k?k.separator:Ge;Q="length"in k?Ue(k.length):Q,Me="omission"in k?$(k.omission):Me}var bt=(w=Si(w)).length;if(hc(w)){var Ft=qs(w);bt=Ft.length}if(Q>=bt)return w;var Kt=Q-nu(Me);if(Kt<1)return Me;var sn=Ft?Wa(Ft,0,Kt).join(""):w.slice(0,Kt);if(void 0===Ge)return sn+Me;if(Ft&&(Kt+=sn.length-Kt),Fa(Ge)){if(w.slice(Kt).search(Ge)){var xn,On=sn;for(Ge.global||(Ge=RegExp(Ge.source,Si(XI.exec(Ge))+"g")),Ge.lastIndex=0;xn=Ge.exec(On);)var Bn=xn.index;sn=sn.slice(0,void 0===Bn?Kt:Bn)}}else if(w.indexOf($(Ge),Kt)!=Kt){var ir=sn.lastIndexOf(Ge);ir>-1&&(sn=sn.slice(0,ir))}return sn+Me},ay=function qI(w){return wr(w,1)},hw=gc({"&":"&","<":"<",">":">",""":'"',"'":"'"});var ly=/&(?:amp|lt|gt|quot|#39);/g,cy=RegExp(ly.source);const dy=function uy(w){return(w=Si(w))&&cy.test(w)?w.replace(ly,hw):w};var _g=wl&&1/wc(new wl([,-0]))[1]==1/0?function(w){return new wl(w)}:Ae;const hy=_g,Na=function gw(w,k,Q){var Me=-1,Ge=Gr,bt=w.length,Ft=!0,Kt=[],sn=Kt;if(Q)Ft=!1,Ge=nd;else if(bt>=200){var xn=k?null:hy(w);if(xn)return wc(xn);Ft=!1,Ge=Vu,sn=new Bh}else sn=k?[]:Kt;e:for(;++Me1||this.__actions__.length)&&Me instanceof ae&&Ot(Q)?((Me=Me.slice(Q,+Q+(k?1:0))).__actions__.push({func:du,args:[Ge],thisArg:void 0}),new Cn(Me,this.__chain__).thru(function(bt){return k&&!bt.length&&bt.push(void 0),bt})):this.thru(Ge)});const Pw=oP,xw=function kw(){return gm(this)},Ow=function sP(){var w=this.__wrapped__;if(w instanceof ae){var k=w;return this.__actions__.length&&(k=new ae(this)),(k=k.reverse()).__actions__.push({func:du,args:[ou],thisArg:void 0}),new Cn(k,this.__chain__)}return this.thru(ou)},Sg=function aP(w,k,Q){var Me=w.length;if(Me<2)return Me?Na(w[0]):[];for(var Ge=-1,bt=Array(Me);++Ge1?w[k-1]:void 0;return Q="function"==typeof Q?(w.pop(),Q):void 0,my(w,Q)});const wg=uP,mr={chunk:yc,compact:f0,concat:Ms,difference:Z0,differenceBy:xc,differenceWith:X0,drop:eC,dropRight:Sp,dropRightWhile:Oo,dropWhile:tf,fill:cf,findIndex:ld,findLastIndex:df,first:cd,flatten:Xd,flattenDeep:RC,flattenDepth:jp,fromPairs:Hp,head:cd,indexOf:oS,initial:Wp,intersection:Po,intersectionBy:xl,intersectionWith:Uc,join:RS,last:ks,lastIndexOf:FS,nth:x_,pull:PE,pullAll:J_,pullAllBy:kE,pullAllWith:xE,pullAt:eg,remove:gv,reverse:ou,slice:Fv,sortedIndex:aM,sortedIndexBy:Hv,sortedIndexOf:Vv,sortedLastIndex:Yv,sortedLastIndexBy:zv,sortedLastIndexOf:Wv,sortedUniq:$v,sortedUniqBy:Gv,tail:Xv,take:Jv,takeRight:gg,takeRightWhile:PM,takeWhile:pg,union:fy,unionBy:ja,unionWith:kd,uniq:yg,uniqBy:vw,uniqWith:bw,unzip:xd,unzipWith:my,without:yy,xor:Rw,xorBy:Fw,xorWith:Eg,zip:Nw,zipObject:Cy,zipObjectDeep:Mg,zipWith:wg},Ui={countBy:j0,each:rd,eachRight:id,every:mC,filter:CC,find:EC,findLast:AC,flatMap:xC,flatMapDeep:LC,flatMapDepth:Np,forEach:rd,forEachRight:id,groupBy:GC,includes:Za,invokeMap:Df,keyBy:Nf,map:Rc,orderBy:Qf,partition:G_,reduce:dv,reduceRight:hv,reject:fv,sample:sg,sampleSize:lg,shuffle:eM,size:Rv,some:Bv,sortBy:Uv},rk={now:Pc},Uo={after:$e,ary:wr,before:Qg,bind:pl,bindKey:dc,curry:Il,curryRight:Ju,debounce:fp,defer:yp,delay:mA,flip:jC,memoize:Ly,negate:Ul,once:cE,overArgs:qa,partial:qf,partialRight:iu,rearg:rg,rest:_v,spread:Kv,throttle:$M,unary:ay,wrap:Od},Fr={castArray:Eb,clone:Rh,cloneDeep:Fh,cloneDeepWith:Wm,cloneWith:d0,conformsTo:Ic,eq:oo,gt:Yp,gte:nT,isArguments:ss,isArray:K,isArrayBuffer:Af,isArrayLike:Zt,isArrayLikeObject:Io,isBoolean:qp,isBuffer:Jo,isDate:_S,isElement:vS,isEmpty:Tf,isEqual:t_,isEqualWith:n_,isError:th,isFinite:r_,isFunction:zt,isInteger:If,isLength:Re,isMap:Uu,isMatch:i_,isMatchWith:o_,isNaN:s_,isNative:a_,isNil:Yc,isNull:Ll,isNumber:Pf,isObject:mt,isObjectLike:T,isPlainObject:Aa,isRegExp:Fa,isSafeInteger:Nl,isSet:Zb,isString:hd,isSymbol:N,isTypedArray:de,isUndefined:jl,isWeakMap:xf,isWeakSet:Of,lt:US,lte:v_,toArray:Vf,toFinite:qt,toInteger:Ue,toLength:ad,toNumber:hn,toPlainObject:V0,toSafeInteger:ew,toString:Si},Ds={add:ye,ceil:wb,divide:J0,floor:Fc,max:E_,maxBy:$s,mean:$S,meanBy:Zc,min:QS,minBy:A_,multiply:T_,round:og,subtract:wM,sum:uu,sumBy:fg},Ey={clamp:LD,inRange:nS,random:_I},ii={assign:Is,assignIn:Vr,assignInWith:al,assignWith:Bd,at:Fy,create:up,defaults:zs,defaultsDeep:vp,entries:na,entriesIn:Ap,extend:Vr,extendWith:al,findKey:kp,findLastKey:IC,forIn:YC,forInRight:zC,forOwn:Up,forOwnRight:ff,functions:gf,functionsIn:$C,get:Tu,has:eS,hasIn:zh,invert:pd,invertBy:uS,invoke:hS,keys:to,keysIn:ps,mapKeys:VS,mapValues:y_,merge:w_,mergeWith:_p,omit:vd,omitBy:Gf,pick:K_,pickBy:Jc,result:ig,set:cg,setWith:ug,toPairs:na,toPairsIn:Ap,transform:nw,unset:gy,update:Dw,updateWith:Cg,values:vs,valuesIn:vy},ao={at:Pw,chain:gm,commit:Nh,lodash:dt,next:Yf,plant:Ed,reverse:Ow,tap:qv,thru:du,toIterator:oy,toJSON:zl,value:zl,valueOf:zl,wrapperChain:xw},Pi={camelCase:Cl,capitalize:uh,deburr:Ta,endsWith:Pl,escape:af,escapeRegExp:hC,kebabCase:Ff,lowerCase:jS,lowerFirst:p_,pad:Sd,padEnd:EE,padStart:ru,parseInt:wE,repeat:mv,replace:pv,snakeCase:Nv,split:vM,startCase:Qv,startsWith:lu,template:ry,templateSettings:Ad,toLower:ZM,toUpper:tw,trim:ow,trimEnd:sw,trimStart:lw,truncate:JI,unescape:dy,upperCase:Ba,upperFirst:rm,words:hm},Hi={attempt:nh,bindAll:jy,cond:O0,conforms:ap,constant:Jr,defaultTo:gp,flow:HC,flowRight:Bp,identity:gt,iteratee:Lf,matches:CT,matchesProperty:jf,method:GS,methodOf:D_,mixin:Hf,noop:Ae,nthArg:O_,over:hE,overEvery:yd,overSome:ws,property:x0,propertyOf:Q_,range:tg,rangeRight:ng,stubArray:Sm,stubFalse:Ks,stubObject:Zv,stubString:ys,stubTrue:MM,times:KM,toPath:XM,uniqueId:Ew};var ok=Math.max,sk=Math.min;var Hw=Math.min;var Rd=4294967295,Fd=Array.prototype,wy=Object.prototype.hasOwnProperty,pP=u?u.iterator:void 0,ak=Math.max,_P=Math.min,Dy=function(w){return function(k,Q,Me){if(null==Me){var Ge=mt(Q),bt=Ge&&to(Q),Ft=bt&&bt.length&&ud(Q,bt);(Ft?Ft.length:Ge)||(Me=Q,Q=k,k=this)}return w(k,Q,Me)}}(Hf);dt.after=Uo.after,dt.ary=Uo.ary,dt.assign=ii.assign,dt.assignIn=ii.assignIn,dt.assignInWith=ii.assignInWith,dt.assignWith=ii.assignWith,dt.at=ii.at,dt.before=Uo.before,dt.bind=Uo.bind,dt.bindAll=Hi.bindAll,dt.bindKey=Uo.bindKey,dt.castArray=Fr.castArray,dt.chain=ao.chain,dt.chunk=mr.chunk,dt.compact=mr.compact,dt.concat=mr.concat,dt.cond=Hi.cond,dt.conforms=Hi.conforms,dt.constant=Hi.constant,dt.countBy=Ui.countBy,dt.create=ii.create,dt.curry=Uo.curry,dt.curryRight=Uo.curryRight,dt.debounce=Uo.debounce,dt.defaults=ii.defaults,dt.defaultsDeep=ii.defaultsDeep,dt.defer=Uo.defer,dt.delay=Uo.delay,dt.difference=mr.difference,dt.differenceBy=mr.differenceBy,dt.differenceWith=mr.differenceWith,dt.drop=mr.drop,dt.dropRight=mr.dropRight,dt.dropRightWhile=mr.dropRightWhile,dt.dropWhile=mr.dropWhile,dt.fill=mr.fill,dt.filter=Ui.filter,dt.flatMap=Ui.flatMap,dt.flatMapDeep=Ui.flatMapDeep,dt.flatMapDepth=Ui.flatMapDepth,dt.flatten=mr.flatten,dt.flattenDeep=mr.flattenDeep,dt.flattenDepth=mr.flattenDepth,dt.flip=Uo.flip,dt.flow=Hi.flow,dt.flowRight=Hi.flowRight,dt.fromPairs=mr.fromPairs,dt.functions=ii.functions,dt.functionsIn=ii.functionsIn,dt.groupBy=Ui.groupBy,dt.initial=mr.initial,dt.intersection=mr.intersection,dt.intersectionBy=mr.intersectionBy,dt.intersectionWith=mr.intersectionWith,dt.invert=ii.invert,dt.invertBy=ii.invertBy,dt.invokeMap=Ui.invokeMap,dt.iteratee=Hi.iteratee,dt.keyBy=Ui.keyBy,dt.keys=to,dt.keysIn=ii.keysIn,dt.map=Ui.map,dt.mapKeys=ii.mapKeys,dt.mapValues=ii.mapValues,dt.matches=Hi.matches,dt.matchesProperty=Hi.matchesProperty,dt.memoize=Uo.memoize,dt.merge=ii.merge,dt.mergeWith=ii.mergeWith,dt.method=Hi.method,dt.methodOf=Hi.methodOf,dt.mixin=Dy,dt.negate=Ul,dt.nthArg=Hi.nthArg,dt.omit=ii.omit,dt.omitBy=ii.omitBy,dt.once=Uo.once,dt.orderBy=Ui.orderBy,dt.over=Hi.over,dt.overArgs=Uo.overArgs,dt.overEvery=Hi.overEvery,dt.overSome=Hi.overSome,dt.partial=Uo.partial,dt.partialRight=Uo.partialRight,dt.partition=Ui.partition,dt.pick=ii.pick,dt.pickBy=ii.pickBy,dt.property=Hi.property,dt.propertyOf=Hi.propertyOf,dt.pull=mr.pull,dt.pullAll=mr.pullAll,dt.pullAllBy=mr.pullAllBy,dt.pullAllWith=mr.pullAllWith,dt.pullAt=mr.pullAt,dt.range=Hi.range,dt.rangeRight=Hi.rangeRight,dt.rearg=Uo.rearg,dt.reject=Ui.reject,dt.remove=mr.remove,dt.rest=Uo.rest,dt.reverse=mr.reverse,dt.sampleSize=Ui.sampleSize,dt.set=ii.set,dt.setWith=ii.setWith,dt.shuffle=Ui.shuffle,dt.slice=mr.slice,dt.sortBy=Ui.sortBy,dt.sortedUniq=mr.sortedUniq,dt.sortedUniqBy=mr.sortedUniqBy,dt.split=Pi.split,dt.spread=Uo.spread,dt.tail=mr.tail,dt.take=mr.take,dt.takeRight=mr.takeRight,dt.takeRightWhile=mr.takeRightWhile,dt.takeWhile=mr.takeWhile,dt.tap=ao.tap,dt.throttle=Uo.throttle,dt.thru=du,dt.toArray=Fr.toArray,dt.toPairs=ii.toPairs,dt.toPairsIn=ii.toPairsIn,dt.toPath=Hi.toPath,dt.toPlainObject=Fr.toPlainObject,dt.transform=ii.transform,dt.unary=Uo.unary,dt.union=mr.union,dt.unionBy=mr.unionBy,dt.unionWith=mr.unionWith,dt.uniq=mr.uniq,dt.uniqBy=mr.uniqBy,dt.uniqWith=mr.uniqWith,dt.unset=ii.unset,dt.unzip=mr.unzip,dt.unzipWith=mr.unzipWith,dt.update=ii.update,dt.updateWith=ii.updateWith,dt.values=ii.values,dt.valuesIn=ii.valuesIn,dt.without=mr.without,dt.words=Pi.words,dt.wrap=Uo.wrap,dt.xor=mr.xor,dt.xorBy=mr.xorBy,dt.xorWith=mr.xorWith,dt.zip=mr.zip,dt.zipObject=mr.zipObject,dt.zipObjectDeep=mr.zipObjectDeep,dt.zipWith=mr.zipWith,dt.entries=ii.toPairs,dt.entriesIn=ii.toPairsIn,dt.extend=ii.assignIn,dt.extendWith=ii.assignInWith,Dy(dt,dt),dt.add=Ds.add,dt.attempt=Hi.attempt,dt.camelCase=Pi.camelCase,dt.capitalize=Pi.capitalize,dt.ceil=Ds.ceil,dt.clamp=Ey.clamp,dt.clone=Fr.clone,dt.cloneDeep=Fr.cloneDeep,dt.cloneDeepWith=Fr.cloneDeepWith,dt.cloneWith=Fr.cloneWith,dt.conformsTo=Fr.conformsTo,dt.deburr=Pi.deburr,dt.defaultTo=Hi.defaultTo,dt.divide=Ds.divide,dt.endsWith=Pi.endsWith,dt.eq=Fr.eq,dt.escape=Pi.escape,dt.escapeRegExp=Pi.escapeRegExp,dt.every=Ui.every,dt.find=Ui.find,dt.findIndex=mr.findIndex,dt.findKey=ii.findKey,dt.findLast=Ui.findLast,dt.findLastIndex=mr.findLastIndex,dt.findLastKey=ii.findLastKey,dt.floor=Ds.floor,dt.forEach=Ui.forEach,dt.forEachRight=Ui.forEachRight,dt.forIn=ii.forIn,dt.forInRight=ii.forInRight,dt.forOwn=ii.forOwn,dt.forOwnRight=ii.forOwnRight,dt.get=ii.get,dt.gt=Fr.gt,dt.gte=Fr.gte,dt.has=ii.has,dt.hasIn=ii.hasIn,dt.head=mr.head,dt.identity=gt,dt.includes=Ui.includes,dt.indexOf=mr.indexOf,dt.inRange=Ey.inRange,dt.invoke=ii.invoke,dt.isArguments=Fr.isArguments,dt.isArray=K,dt.isArrayBuffer=Fr.isArrayBuffer,dt.isArrayLike=Fr.isArrayLike,dt.isArrayLikeObject=Fr.isArrayLikeObject,dt.isBoolean=Fr.isBoolean,dt.isBuffer=Fr.isBuffer,dt.isDate=Fr.isDate,dt.isElement=Fr.isElement,dt.isEmpty=Fr.isEmpty,dt.isEqual=Fr.isEqual,dt.isEqualWith=Fr.isEqualWith,dt.isError=Fr.isError,dt.isFinite=Fr.isFinite,dt.isFunction=Fr.isFunction,dt.isInteger=Fr.isInteger,dt.isLength=Fr.isLength,dt.isMap=Fr.isMap,dt.isMatch=Fr.isMatch,dt.isMatchWith=Fr.isMatchWith,dt.isNaN=Fr.isNaN,dt.isNative=Fr.isNative,dt.isNil=Fr.isNil,dt.isNull=Fr.isNull,dt.isNumber=Fr.isNumber,dt.isObject=mt,dt.isObjectLike=Fr.isObjectLike,dt.isPlainObject=Fr.isPlainObject,dt.isRegExp=Fr.isRegExp,dt.isSafeInteger=Fr.isSafeInteger,dt.isSet=Fr.isSet,dt.isString=Fr.isString,dt.isSymbol=Fr.isSymbol,dt.isTypedArray=Fr.isTypedArray,dt.isUndefined=Fr.isUndefined,dt.isWeakMap=Fr.isWeakMap,dt.isWeakSet=Fr.isWeakSet,dt.join=mr.join,dt.kebabCase=Pi.kebabCase,dt.last=ks,dt.lastIndexOf=mr.lastIndexOf,dt.lowerCase=Pi.lowerCase,dt.lowerFirst=Pi.lowerFirst,dt.lt=Fr.lt,dt.lte=Fr.lte,dt.max=Ds.max,dt.maxBy=Ds.maxBy,dt.mean=Ds.mean,dt.meanBy=Ds.meanBy,dt.min=Ds.min,dt.minBy=Ds.minBy,dt.stubArray=Hi.stubArray,dt.stubFalse=Hi.stubFalse,dt.stubObject=Hi.stubObject,dt.stubString=Hi.stubString,dt.stubTrue=Hi.stubTrue,dt.multiply=Ds.multiply,dt.nth=mr.nth,dt.noop=Hi.noop,dt.now=rk.now,dt.pad=Pi.pad,dt.padEnd=Pi.padEnd,dt.padStart=Pi.padStart,dt.parseInt=Pi.parseInt,dt.random=Ey.random,dt.reduce=Ui.reduce,dt.reduceRight=Ui.reduceRight,dt.repeat=Pi.repeat,dt.replace=Pi.replace,dt.result=ii.result,dt.round=Ds.round,dt.sample=Ui.sample,dt.size=Ui.size,dt.snakeCase=Pi.snakeCase,dt.some=Ui.some,dt.sortedIndex=mr.sortedIndex,dt.sortedIndexBy=mr.sortedIndexBy,dt.sortedIndexOf=mr.sortedIndexOf,dt.sortedLastIndex=mr.sortedLastIndex,dt.sortedLastIndexBy=mr.sortedLastIndexBy,dt.sortedLastIndexOf=mr.sortedLastIndexOf,dt.startCase=Pi.startCase,dt.startsWith=Pi.startsWith,dt.subtract=Ds.subtract,dt.sum=Ds.sum,dt.sumBy=Ds.sumBy,dt.template=Pi.template,dt.times=Hi.times,dt.toFinite=Fr.toFinite,dt.toInteger=Ue,dt.toLength=Fr.toLength,dt.toLower=Pi.toLower,dt.toNumber=Fr.toNumber,dt.toSafeInteger=Fr.toSafeInteger,dt.toString=Fr.toString,dt.toUpper=Pi.toUpper,dt.trim=Pi.trim,dt.trimEnd=Pi.trimEnd,dt.trimStart=Pi.trimStart,dt.truncate=Pi.truncate,dt.unescape=Pi.unescape,dt.uniqueId=Hi.uniqueId,dt.upperCase=Pi.upperCase,dt.upperFirst=Pi.upperFirst,dt.each=Ui.forEach,dt.eachRight=Ui.forEachRight,dt.first=mr.head,Dy(dt,function(){var w={};return ya(dt,function(k,Q){wy.call(dt.prototype,Q)||(w[Q]=k)}),w}(),{chain:!1}),dt.VERSION="4.17.21",(dt.templateSettings=Pi.templateSettings).imports._=dt,qr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){dt[w].placeholder=dt}),qr(["drop","take"],function(w,k){ae.prototype[w]=function(Q){Q=void 0===Q?1:ak(Ue(Q),0);var Me=this.__filtered__&&!k?new ae(this):this.clone();return Me.__filtered__?Me.__takeCount__=_P(Q,Me.__takeCount__):Me.__views__.push({size:_P(Q,Rd),type:w+(Me.__dir__<0?"Right":"")}),Me},ae.prototype[w+"Right"]=function(Q){return this.reverse()[w](Q).reverse()}}),qr(["filter","map","takeWhile"],function(w,k){var Q=k+1,Me=1==Q||3==Q;ae.prototype[w]=function(Ge){var bt=this.clone();return bt.__iteratees__.push({iteratee:li(Ge),type:Q}),bt.__filtered__=bt.__filtered__||Me,bt}}),qr(["head","last"],function(w,k){var Q="take"+(k?"Right":"");ae.prototype[w]=function(){return this[Q](1).value()[0]}}),qr(["initial","tail"],function(w,k){var Q="drop"+(k?"":"Right");ae.prototype[w]=function(){return this.__filtered__?new ae(this):this[Q](1)}}),ae.prototype.compact=function(){return this.filter(gt)},ae.prototype.find=function(w){return this.filter(w).head()},ae.prototype.findLast=function(w){return this.reverse().find(w)},ae.prototype.invokeMap=X(function(w,k){return"function"==typeof w?new ae(this):this.map(function(Q){return _d(Q,w,k)})}),ae.prototype.reject=function(w){return this.filter(Ul(li(w)))},ae.prototype.slice=function(w,k){w=Ue(w);var Q=this;return Q.__filtered__&&(w>0||k<0)?new ae(Q):(w<0?Q=Q.takeRight(-w):w&&(Q=Q.drop(w)),void 0!==k&&(Q=(k=Ue(k))<0?Q.dropRight(-k):Q.take(k-w)),Q)},ae.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},ae.prototype.toArray=function(){return this.take(Rd)},ya(ae.prototype,function(w,k){var Q=/^(?:filter|find|map|reject)|While$/.test(k),Me=/^(?:head|last)$/.test(k),Ge=dt[Me?"take"+("last"==k?"Right":""):k],bt=Me||/^find/.test(k);Ge&&(dt.prototype[k]=function(){var Ft=this.__wrapped__,Kt=Me?[1]:arguments,sn=Ft instanceof ae,xn=Kt[0],On=sn||K(Ft),Bn=function(bi){var Ei=Ge.apply(dt,Ps([bi],Kt));return Me&&ir?Ei[0]:Ei};On&&Q&&"function"==typeof xn&&1!=xn.length&&(sn=On=!1);var ir=this.__chain__,Yr=bt&&!ir,gi=sn&&!this.__actions__.length;if(!bt&&On){Ft=gi?Ft:new ae(this);var jr=w.apply(Ft,Kt);return jr.__actions__.push({func:du,args:[Bn],thisArg:void 0}),new Cn(jr,ir)}return Yr&&gi?w.apply(this,Kt):(jr=this.thru(Bn),Yr?Me?jr.value()[0]:jr.value():jr)})}),qr(["pop","push","shift","sort","splice","unshift"],function(w){var k=Fd[w],Q=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",Me=/^(?:pop|shift)$/.test(w);dt.prototype[w]=function(){var Ge=arguments;if(Me&&!this.__chain__){var bt=this.value();return k.apply(K(bt)?bt:[],Ge)}return this[Q](function(Ft){return k.apply(K(Ft)?Ft:[],Ge)})}}),ya(ae.prototype,function(w,k){var Q=dt[k];if(Q){var Me=Q.name+"";wy.call(_t,Me)||(_t[Me]=[]),_t[Me].push({name:k,func:Q})}}),_t[Di(void 0,2).name]=[{name:"wrapper",func:void 0}],ae.prototype.clone=function Dg(){var w=new ae(this.__wrapped__);return w.__actions__=Gt(this.__actions__),w.__dir__=this.__dir__,w.__filtered__=this.__filtered__,w.__iteratees__=Gt(this.__iteratees__),w.__takeCount__=this.__takeCount__,w.__views__=Gt(this.__views__),w},ae.prototype.reverse=function ik(){if(this.__filtered__){var w=new ae(this);w.__dir__=-1,w.__filtered__=!0}else(w=this.clone()).__dir__*=-1;return w},ae.prototype.value=function Vw(){var w=this.__wrapped__.value(),k=this.__dir__,Q=K(w),Me=k<0,Ge=Q?w.length:0,bt=function My(w,k,Q){for(var Me=-1,Ge=Q.length;++Me{"use strict";o.r(h),o.d(h,{PdfViewerComponent:()=>G,PdfViewerModule:()=>te,RenderTextMode:()=>H});var n=o(54496),i=o(70800),d=o(95657),a=o(74496),l=o(53616),e=o(46928);class u extends e.wH{constructor(se,K){super()}schedule(se,K=0){return this}}const c={setInterval(ue,se,...K){const{delegate:Z}=c;return Z?.setInterval?Z.setInterval(ue,se,...K):setInterval(ue,se,...K)},clearInterval(ue){const{delegate:se}=c;return(se?.clearInterval||clearInterval)(ue)},delegate:void 0};var g=o(41248),p=o(35960);class S{constructor(se,K=S.now){this.schedulerActionCtor=se,this.now=K}schedule(se,K=0,Z){return new this.schedulerActionCtor(this,se).schedule(Z,K)}}S.now=p.K.now;const _=new class C extends S{constructor(se,K=S.now){super(se,K),this.actions=[],this._active=!1}flush(se){const{actions:K}=this;if(this._active)return void K.push(se);let Z;this._active=!0;do{if(Z=se.execute(se.state,se.delay))break}while(se=K.shift());if(this._active=!1,Z){for(;se=K.shift();)se.unsubscribe();throw Z}}}(class v extends u{constructor(se,K){super(se,K),this.scheduler=se,this.work=K,this.pending=!1}schedule(se,K=0){var Z;if(this.closed)return this;this.state=se;const re=this.id,J=this.scheduler;return null!=re&&(this.id=this.recycleAsyncId(J,re,K)),this.pending=!0,this.delay=K,this.id=null!==(Z=this.id)&&void 0!==Z?Z:this.requestAsyncId(J,this.id,K),this}requestAsyncId(se,K,Z=0){return c.setInterval(se.flush.bind(se,this),Z)}recycleAsyncId(se,K,Z=0){if(null!=Z&&this.delay===Z&&!1===this.pending)return K;null!=K&&c.clearInterval(K)}execute(se,K){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Z=this._execute(se,K);if(Z)return Z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(se,K){let re,Z=!1;try{this.work(se)}catch(J){Z=!0,re=J||new Error("Scheduled action threw falsy error")}if(Z)return this.unsubscribe(),re}unsubscribe(){if(!this.closed){const{id:se,scheduler:K}=this,{actions:Z}=K;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.k)(Z,this),null!=se&&(this.id=this.recycleAsyncId(K,se,null)),this.delay=null,super.unsubscribe()}}});var y=o(95448),b=o(87773),M=o(66684),A=o(35584),I=o.t(A,2),F=o(6472),j=o.t(F,2);const T=["pdfViewerContainer"];function N(ue,se,K){ue[se]=K}function O(){return typeof window>"u"}O()||N(I,"verbosity",A.VerbosityLevel.INFOS);var H=function(ue){return ue[ue.DISABLED=0]="DISABLED",ue[ue.ENABLED=1]="ENABLED",ue[ue.ENHANCED=2]="ENHANCED",ue}(H||{});let G=(()=>{class ue{element;ngZone;static CSS_UNITS=96/72;static BORDER_WIDTH=9;pdfViewerContainer;eventBus;pdfLinkService;pdfFindController;pdfViewer;isVisible=!1;_cMapsUrl=typeof I<"u"?`https://unpkg.com/pdfjs-dist@${A.version}/cmaps/`:null;_imageResourcesPath=typeof I<"u"?`https://unpkg.com/pdfjs-dist@${A.version}/web/images/`:void 0;_renderText=!0;_renderTextMode=H.ENABLED;_stickToPage=!1;_originalSize=!0;_pdf;_page=1;_zoom=1;_zoomScale="page-width";_rotation=0;_showAll=!0;_canAutoResize=!0;_fitToPage=!1;_externalLinkTarget="blank";_showBorders=!1;lastLoaded;_latestScrolledPage;resizeTimeout=null;pageScrollTimeout=null;isInitialized=!1;loadingTask;destroy$=new d.E;afterLoadComplete=new n.EventEmitter;pageRendered=new n.EventEmitter;pageInitialized=new n.EventEmitter;textLayerRendered=new n.EventEmitter;onError=new n.EventEmitter;onProgress=new n.EventEmitter;pageChange=new n.EventEmitter(!0);src;set cMapsUrl(K){this._cMapsUrl=K}set page(K){const Z=K=parseInt(K,10)||1;this._pdf&&(K=this.getValidPageNumber(K)),this._page=K,Z!==K&&this.pageChange.emit(K)}set renderText(K){this._renderText=K}set renderTextMode(K){this._renderTextMode=K}set originalSize(K){this._originalSize=K}set showAll(K){this._showAll=K}set stickToPage(K){this._stickToPage=K}set zoom(K){K<=0||(this._zoom=K)}get zoom(){return this._zoom}set zoomScale(K){this._zoomScale=K}get zoomScale(){return this._zoomScale}set rotation(K){"number"==typeof K&&K%90==0?this._rotation=K:console.warn("Invalid pages rotation angle.")}set externalLinkTarget(K){this._externalLinkTarget=K}set autoresize(K){this._canAutoResize=!!K}set fitToPage(K){this._fitToPage=!!K}set showBorders(K){this._showBorders=!!K}static getLinkTarget(K){switch(K){case"blank":return F.LinkTarget.BLANK;case"none":return F.LinkTarget.NONE;case"self":return F.LinkTarget.SELF;case"parent":return F.LinkTarget.PARENT;case"top":return F.LinkTarget.TOP}return null}constructor(K,Z){if(this.element=K,this.ngZone=Z,O())return;let re;const J=A.version;re=window[`pdfWorkerSrc${J}`]||(window.hasOwnProperty("pdfWorkerSrc")&&"string"==typeof window.pdfWorkerSrc&&window.pdfWorkerSrc?window.pdfWorkerSrc:`https://cdn.jsdelivr.net/npm/pdfjs-dist@${J}/legacy/build/pdf.worker.min.js`),N(A.GlobalWorkerOptions,"workerSrc",re)}ngAfterViewChecked(){if(this.isInitialized)return;const K=this.pdfViewerContainer.nativeElement.offsetParent;!0!==this.isVisible||null!=K?!1===this.isVisible&&null!=K&&(this.isVisible=!0,setTimeout(()=>{this.initialize(),this.ngOnChanges({src:this.src})})):this.isVisible=!1}ngOnInit(){this.initialize(),this.setupResizeListener()}ngOnDestroy(){this.clear(),this.destroy$.next(),this.loadingTask=null}ngOnChanges(K){if(!O()&&this.isVisible)if("src"in K)this.loadPDF();else if(this._pdf){if("renderText"in K?(this.pdfViewer.textLayerMode=this._renderText?this._renderTextMode:H.DISABLED,this.resetPdfDocument()):"showAll"in K&&(this.setupViewer(),this.resetPdfDocument()),"page"in K){const{page:Z}=K;if(Z.currentValue===this._latestScrolledPage)return;this.pdfViewer.scrollPageIntoView({pageNumber:this._page})}this.update()}}updateSize(){(0,a.Q)(this._pdf.getPage(this.pdfViewer.currentPageNumber)).pipe((0,l.a)(this.destroy$)).subscribe({next:K=>{const Z=this._rotation+K.rotate,re=K.getViewport({scale:this._zoom,rotation:Z}).width*ue.CSS_UNITS;let J=this._zoom,Y=!0;if(!this._originalSize||this._fitToPage&&re>this.pdfViewerContainer.nativeElement.clientWidth){const $=K.getViewport({scale:1,rotation:Z});J=this.getScale($.width,$.height),Y=!this._stickToPage}this.pdfViewer._setScale(J,Y)}})}clear(){this.loadingTask&&!this.loadingTask.destroyed&&this.loadingTask.destroy(),this._pdf&&(this._latestScrolledPage=0,this._pdf.destroy(),this._pdf=void 0),this.pdfViewer&&this.pdfViewer.setDocument(null),this.pdfLinkService&&this.pdfLinkService.setDocument(null,null),this.pdfFindController&&this.pdfFindController.setDocument(null)}getPDFLinkServiceConfig(){const K=ue.getLinkTarget(this._externalLinkTarget);return K?{externalLinkTarget:K}:{}}initEventBus(){this.eventBus=function P(ue,se){const K=new ue.EventBus;return function x(ue,se){(0,i.w)(ue,"documentload").pipe((0,l.a)(se)).subscribe(()=>{const K=document.createEvent("CustomEvent");K.initCustomEvent("documentload",!0,!0,{}),window.dispatchEvent(K)}),(0,i.w)(ue,"pagerendered").pipe((0,l.a)(se)).subscribe(({pageNumber:K,cssTransform:Z,source:re})=>{const J=document.createEvent("CustomEvent");J.initCustomEvent("pagerendered",!0,!0,{pageNumber:K,cssTransform:Z}),re.div.dispatchEvent(J)}),(0,i.w)(ue,"textlayerrendered").pipe((0,l.a)(se)).subscribe(({pageNumber:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("textlayerrendered",!0,!0,{pageNumber:K}),Z.textLayerDiv.dispatchEvent(re)}),(0,i.w)(ue,"pagechanging").pipe((0,l.a)(se)).subscribe(({pageNumber:K,source:Z})=>{const re=document.createEvent("UIEvents");re.initEvent("pagechanging",!0,!0),re.pageNumber=K,Z.container.dispatchEvent(re)}),(0,i.w)(ue,"pagesinit").pipe((0,l.a)(se)).subscribe(({source:K})=>{const Z=document.createEvent("CustomEvent");Z.initCustomEvent("pagesinit",!0,!0,null),K.container.dispatchEvent(Z)}),(0,i.w)(ue,"pagesloaded").pipe((0,l.a)(se)).subscribe(({pagesCount:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("pagesloaded",!0,!0,{pagesCount:K}),Z.container.dispatchEvent(re)}),(0,i.w)(ue,"scalechange").pipe((0,l.a)(se)).subscribe(({scale:K,presetValue:Z,source:re})=>{const J=document.createEvent("UIEvents");J.initEvent("scalechange",!0,!0),J.scale=K,J.presetValue=Z,re.container.dispatchEvent(J)}),(0,i.w)(ue,"updateviewarea").pipe((0,l.a)(se)).subscribe(({location:K,source:Z})=>{const re=document.createEvent("UIEvents");re.initEvent("updateviewarea",!0,!0),re.location=K,Z.container.dispatchEvent(re)}),(0,i.w)(ue,"find").pipe((0,l.a)(se)).subscribe(({source:K,type:Z,query:re,phraseSearch:J,caseSensitive:Y,highlightAll:$,findPrevious:le})=>{if(K===window)return;const ee=document.createEvent("CustomEvent");ee.initCustomEvent("find"+Z,!0,!0,{query:re,phraseSearch:J,caseSensitive:Y,highlightAll:$,findPrevious:le}),window.dispatchEvent(ee)}),(0,i.w)(ue,"attachmentsloaded").pipe((0,l.a)(se)).subscribe(({attachmentsCount:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("attachmentsloaded",!0,!0,{attachmentsCount:K}),Z.container.dispatchEvent(re)}),(0,i.w)(ue,"sidebarviewchanged").pipe((0,l.a)(se)).subscribe(({view:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("sidebarviewchanged",!0,!0,{view:K}),Z.outerContainer.dispatchEvent(re)}),(0,i.w)(ue,"pagemode").pipe((0,l.a)(se)).subscribe(({mode:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("pagemode",!0,!0,{mode:K}),Z.pdfViewer.container.dispatchEvent(re)}),(0,i.w)(ue,"namedaction").pipe((0,l.a)(se)).subscribe(({action:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("namedaction",!0,!0,{action:K}),Z.pdfViewer.container.dispatchEvent(re)}),(0,i.w)(ue,"presentationmodechanged").pipe((0,l.a)(se)).subscribe(({active:K,switchInProgress:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("presentationmodechanged",!0,!0,{active:K,switchInProgress:Z}),window.dispatchEvent(re)}),(0,i.w)(ue,"outlineloaded").pipe((0,l.a)(se)).subscribe(({outlineCount:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("outlineloaded",!0,!0,{outlineCount:K}),Z.container.dispatchEvent(re)})}(K,se),K}(j,this.destroy$),(0,i.w)(this.eventBus,"pagerendered").pipe((0,l.a)(this.destroy$)).subscribe(K=>{this.pageRendered.emit(K)}),(0,i.w)(this.eventBus,"pagesinit").pipe((0,l.a)(this.destroy$)).subscribe(K=>{this.pageInitialized.emit(K)}),(0,i.w)(this.eventBus,"pagechanging").pipe((0,l.a)(this.destroy$)).subscribe(({pageNumber:K})=>{this.pageScrollTimeout&&clearTimeout(this.pageScrollTimeout),this.pageScrollTimeout=window.setTimeout(()=>{this._latestScrolledPage=K,this.pageChange.emit(K)},100)}),(0,i.w)(this.eventBus,"textlayerrendered").pipe((0,l.a)(this.destroy$)).subscribe(K=>{this.textLayerRendered.emit(K)})}initPDFServices(){this.pdfLinkService=new F.PDFLinkService({eventBus:this.eventBus,...this.getPDFLinkServiceConfig()}),this.pdfFindController=new F.PDFFindController({eventBus:this.eventBus,linkService:this.pdfLinkService})}getPDFOptions(){return{eventBus:this.eventBus,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfLinkService,textLayerMode:this._renderText?this._renderTextMode:H.DISABLED,findController:this.pdfFindController,l10n:new F.GenericL10n("en"),imageResourcesPath:this._imageResourcesPath}}setupViewer(){N(I,"disableTextLayer",!this._renderText),this.initPDFServices(),this.pdfViewer=this._showAll?new F.PDFViewer(this.getPDFOptions()):new F.PDFSinglePageViewer(this.getPDFOptions()),this.pdfLinkService.setViewer(this.pdfViewer),this.pdfViewer._currentPageNumber=this._page}getValidPageNumber(K){return K<1?1:K>this._pdf.numPages?this._pdf.numPages:K}getDocumentParams(){const K=typeof this.src;if(!this._cMapsUrl)return this.src;const Z={cMapUrl:this._cMapsUrl,cMapPacked:!0,enableXfa:!0};return"string"===K?Z.url=this.src:"object"===K&&(void 0!==this.src.byteLength?Z.data=this.src:Object.assign(Z,this.src)),Z}loadPDF(){if(!this.src)return;if(this.lastLoaded===this.src)return void this.update();this.clear(),this.setupViewer(),this.loadingTask=A.getDocument(this.getDocumentParams()),this.loadingTask.onProgress=Z=>{this.onProgress.emit(Z)};const K=this.src;(0,a.Q)(this.loadingTask.promise).pipe((0,l.a)(this.destroy$)).subscribe({next:Z=>{this._pdf=Z,this.lastLoaded=K,this.afterLoadComplete.emit(Z),this.resetPdfDocument(),this.update()},error:Z=>{this.lastLoaded=null,this.onError.emit(Z)}})}update(){this.page=this._page,this.render()}render(){this._page=this.getValidPageNumber(this._page),(0!==this._rotation||this.pdfViewer.pagesRotation!==this._rotation)&&setTimeout(()=>{this.pdfViewer.pagesRotation=this._rotation}),this._stickToPage&&setTimeout(()=>{this.pdfViewer.currentPageNumber=this._page}),this.updateSize()}getScale(K,Z){const re=this._showBorders?2*ue.BORDER_WIDTH:0,J=this.pdfViewerContainer.nativeElement.clientWidth-re,Y=this.pdfViewerContainer.nativeElement.clientHeight-re;if(0===Y||0===Z||0===J||0===K)return 1;let $=1;switch(this._zoomScale){case"page-fit":$=Math.min(Y/Z,J/K);break;case"page-height":$=Y/Z;break;default:$=J/K}return this._zoom*$/ue.CSS_UNITS}resetPdfDocument(){this.pdfLinkService.setDocument(this._pdf,null),this.pdfFindController.setDocument(this._pdf),this.pdfViewer.setDocument(this._pdf)}initialize(){O()||!this.isVisible||(this.isInitialized=!0,this.initEventBus(),this.setupViewer())}setupResizeListener(){O()||this.ngZone.runOutsideAngular(()=>{(0,i.w)(window,"resize").pipe(function E(ue,se=_){return(0,y.i)((K,Z)=>{let re=null,J=null,Y=null;const $=()=>{if(re){re.unsubscribe(),re=null;const ee=J;J=null,Z.next(ee)}};function le(){const ee=Y+ue,we=se.now();if(we{J=ee,Y=se.now(),re||(re=se.schedule(le,ue),Z.add(re))},()=>{$(),Z.complete()},void 0,()=>{J=re=null}))})}(100),(0,M.I)(()=>this._canAutoResize&&!!this._pdf),(0,l.a)(this.destroy$)).subscribe(()=>{this.updateSize()})})}static \u0275fac=function(Z){return new(Z||ue)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))};static \u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["pdf-viewer"]],viewQuery:function(Z,re){if(1&Z&&n.\u0275\u0275viewQuery(T,5),2&Z){let J;n.\u0275\u0275queryRefresh(J=n.\u0275\u0275loadQuery())&&(re.pdfViewerContainer=J.first)}},inputs:{src:"src",cMapsUrl:[n.\u0275\u0275InputFlags.None,"c-maps-url","cMapsUrl"],page:"page",renderText:[n.\u0275\u0275InputFlags.None,"render-text","renderText"],renderTextMode:[n.\u0275\u0275InputFlags.None,"render-text-mode","renderTextMode"],originalSize:[n.\u0275\u0275InputFlags.None,"original-size","originalSize"],showAll:[n.\u0275\u0275InputFlags.None,"show-all","showAll"],stickToPage:[n.\u0275\u0275InputFlags.None,"stick-to-page","stickToPage"],zoom:"zoom",zoomScale:[n.\u0275\u0275InputFlags.None,"zoom-scale","zoomScale"],rotation:"rotation",externalLinkTarget:[n.\u0275\u0275InputFlags.None,"external-link-target","externalLinkTarget"],autoresize:"autoresize",fitToPage:[n.\u0275\u0275InputFlags.None,"fit-to-page","fitToPage"],showBorders:[n.\u0275\u0275InputFlags.None,"show-borders","showBorders"]},outputs:{afterLoadComplete:"after-load-complete",pageRendered:"page-rendered",pageInitialized:"pages-initialized",textLayerRendered:"text-layer-rendered",onError:"error",onProgress:"on-progress",pageChange:"pageChange"},features:[n.\u0275\u0275NgOnChangesFeature],decls:3,vars:0,consts:[[1,"ng2-pdf-viewer-container"],["pdfViewerContainer",""],[1,"pdfViewer"]],template:function(Z,re){1&Z&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275element(2,"div",2),n.\u0275\u0275elementEnd())},styles:['.ng2-pdf-viewer-container[_ngcontent-%COMP%]{overflow-x:auto;position:absolute;height:100%;width:100%;-webkit-overflow-scrolling:touch}[_nghost-%COMP%]{display:block;position:relative}[_nghost-%COMP%] {--pdfViewer-padding-bottom: 0;--page-margin: 1px auto -8px;--page-border: 9px solid transparent;--spreadHorizontalWrapped-margin-LR: -3.5px;--viewer-container-height: 0;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,");--xfa-unfocused-field-background: var( --annotation-unfocused-field-background );--page-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAA1ElEQVQ4jbWUWw6EIAxFy2NFs/8NzR4UJhpqLsdi5mOmSSMUOfYWqv3S0gMr4XlYH/64gZa/gN3ANYA7KAXALt4ktoQ5MI9YxqaG8bWmsIysMuT6piSQCa4whZThCu8CM4zP9YJaKci9jicPq3NcBWYoPMGUlhG7ivtkB+gVyFY75wXghOvh8t5mto1Mdim6e+MBqH6XsY+YAwjpq3vGF7weTWQptLEDVCZvPTMl5JZZsdh47FHW6qFMyvLYqjcnmdFfY9Xk/KDOlzCusX2mi/ofM7MPkzBcSp4Q1/wAAAAASUVORK5CYII=) 9 9 repeat;--scale-factor: 1;--focus-outline: solid 2px blue;--hover-outline: dashed 2px blue;--freetext-line-height: 1.35;--freetext-padding: 2px;--editorInk-editing-cursor: pointer}@media screen and (forced-colors: active){[_nghost-%COMP%] {--pdfViewer-padding-bottom: 9px;--page-margin: 8px auto -1px;--page-border: 1px solid CanvasText;--page-border-image: none;--spreadHorizontalWrapped-margin-LR: 3.5px}}@media (forced-colors: active){[_nghost-%COMP%] {--focus-outline: solid 3px ButtonText;--hover-outline: dashed 3px ButtonText}}[_nghost-%COMP%] .textLayer{position:absolute;text-align:initial;inset:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}[_nghost-%COMP%] .textLayer span, [_nghost-%COMP%] .textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}[_nghost-%COMP%] .textLayer span.markedContent{top:0;height:0}[_nghost-%COMP%] .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}[_nghost-%COMP%] .textLayer .highlight.appended{position:initial}[_nghost-%COMP%] .textLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .textLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .textLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .textLayer .highlight.selected{background-color:#006400}[_nghost-%COMP%] .textLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%] .textLayer br::selection{background:transparent}[_nghost-%COMP%] .textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}[_nghost-%COMP%] .textLayer .endOfContent.active{top:0}@media (forced-colors: active){[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%] .annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0}[_nghost-%COMP%] .annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0}[_nghost-%COMP%] .annotationLayer .linkAnnotation>a, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>canvas{width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .linkAnnotation>a:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgb(255,255,0);box-shadow:0 2px 10px #ff0}[_nghost-%COMP%] .annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid red}[_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select option{padding:0}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea{resize:none}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input[disabled], [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea[disabled], [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:hover, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:hover, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgb(0,0,0)}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input :focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea :focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select :focus, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox :focus, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;appearance:none}[_nghost-%COMP%] .annotationLayer .popupTriggerArea{height:100%;width:100%}[_nghost-%COMP%] .annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}[_nghost-%COMP%] .annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}[_nghost-%COMP%] .annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .popup h1{display:inline-block}[_nghost-%COMP%] .annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .popupContent{border-top:1px solid rgb(51,51,51);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .highlightAnnotation, [_nghost-%COMP%] .annotationLayer .underlineAnnotation, [_nghost-%COMP%] .annotationLayer .squigglyAnnotation, [_nghost-%COMP%] .annotationLayer .strikeoutAnnotation, [_nghost-%COMP%] .annotationLayer .freeTextAnnotation, [_nghost-%COMP%] .annotationLayer .lineAnnotation svg line, [_nghost-%COMP%] .annotationLayer .squareAnnotation svg rect, [_nghost-%COMP%] .annotationLayer .circleAnnotation svg ellipse, [_nghost-%COMP%] .annotationLayer .polylineAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .polygonAnnotation svg polygon, [_nghost-%COMP%] .annotationLayer .caretAnnotation, [_nghost-%COMP%] .annotationLayer .inkAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .stampAnnotation, [_nghost-%COMP%] .annotationLayer .fileAttachmentAnnotation{cursor:pointer}[_nghost-%COMP%] .annotationLayer section svg{position:absolute;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}[_nghost-%COMP%] .annotationLayer .annotationTextContent span{width:100%;display:inline-block}@media (forced-colors: active){[_nghost-%COMP%] .xfaLayer *:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%] .xfaLayer .highlight{margin:-1px;padding:1px;background-color:#efcbed;border-radius:4px}[_nghost-%COMP%] .xfaLayer .highlight.appended{position:initial}[_nghost-%COMP%] .xfaLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .xfaLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .xfaLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .xfaLayer .highlight.selected{background-color:#cbdfcb}[_nghost-%COMP%] .xfaLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%] .xfaPage{overflow:hidden;position:relative}[_nghost-%COMP%] .xfaContentarea{position:absolute}[_nghost-%COMP%] .xfaPrintOnly{display:none}[_nghost-%COMP%] .xfaLayer{position:absolute;text-align:initial;top:0;left:0;transform-origin:0 0;line-height:1.2}[_nghost-%COMP%] .xfaLayer *{color:inherit;font:inherit;font-style:inherit;font-weight:inherit;font-kerning:inherit;letter-spacing:-.01px;text-align:inherit;text-decoration:inherit;box-sizing:border-box;background-color:transparent;padding:0;margin:0;pointer-events:auto;line-height:inherit}[_nghost-%COMP%] .xfaLayer *:required{outline:1.5px solid red}[_nghost-%COMP%] .xfaLayer div{pointer-events:none}[_nghost-%COMP%] .xfaLayer svg{pointer-events:none}[_nghost-%COMP%] .xfaLayer svg *{pointer-events:none}[_nghost-%COMP%] .xfaLayer a{color:#00f}[_nghost-%COMP%] .xfaRich li{margin-left:3em}[_nghost-%COMP%] .xfaFont{color:#000;font-weight:400;font-kerning:none;font-size:10px;font-style:normal;letter-spacing:0;text-decoration:none;vertical-align:0}[_nghost-%COMP%] .xfaCaption{overflow:hidden;flex:0 0 auto}[_nghost-%COMP%] .xfaCaptionForCheckButton{overflow:hidden;flex:1 1 auto}[_nghost-%COMP%] .xfaLabel{height:100%;width:100%}[_nghost-%COMP%] .xfaLeft{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .xfaRight{display:flex;flex-direction:row-reverse;align-items:center}[_nghost-%COMP%] .xfaLeft>.xfaCaption, [_nghost-%COMP%] .xfaLeft>.xfaCaptionForCheckButton, [_nghost-%COMP%] .xfaRight>.xfaCaption, [_nghost-%COMP%] .xfaRight>.xfaCaptionForCheckButton{max-height:100%}[_nghost-%COMP%] .xfaTop{display:flex;flex-direction:column;align-items:flex-start}[_nghost-%COMP%] .xfaBottom{display:flex;flex-direction:column-reverse;align-items:flex-start}[_nghost-%COMP%] .xfaTop>.xfaCaption, [_nghost-%COMP%] .xfaTop>.xfaCaptionForCheckButton, [_nghost-%COMP%] .xfaBottom>.xfaCaption, [_nghost-%COMP%] .xfaBottom>.xfaCaptionForCheckButton{width:100%}[_nghost-%COMP%] .xfaBorder{background-color:transparent;position:absolute;pointer-events:none}[_nghost-%COMP%] .xfaWrapped{width:100%;height:100%}[_nghost-%COMP%] .xfaTextfield:focus, [_nghost-%COMP%] .xfaSelect:focus{background-image:none;background-color:transparent;outline:auto;outline-offset:-1px}[_nghost-%COMP%] .xfaCheckbox:focus, [_nghost-%COMP%] .xfaRadio:focus{outline:auto}[_nghost-%COMP%] .xfaTextfield, [_nghost-%COMP%] .xfaSelect{height:100%;width:100%;flex:1 1 auto;border:none;resize:none;background-image:var(--xfa-unfocused-field-background)}[_nghost-%COMP%] .xfaTop>.xfaTextfield, [_nghost-%COMP%] .xfaTop>.xfaSelect, [_nghost-%COMP%] .xfaBottom>.xfaTextfield, [_nghost-%COMP%] .xfaBottom>.xfaSelect{flex:0 1 auto}[_nghost-%COMP%] .xfaButton{cursor:pointer;width:100%;height:100%;border:none;text-align:center}[_nghost-%COMP%] .xfaLink{width:100%;height:100%;position:absolute;top:0;left:0}[_nghost-%COMP%] .xfaCheckbox, [_nghost-%COMP%] .xfaRadio{width:100%;height:100%;flex:0 0 auto;border:none}[_nghost-%COMP%] .xfaRich{white-space:pre-wrap;width:100%;height:100%}[_nghost-%COMP%] .xfaImage{object-position:left top;object-fit:contain;width:100%;height:100%}[_nghost-%COMP%] .xfaLrTb, [_nghost-%COMP%] .xfaRlTb, [_nghost-%COMP%] .xfaTb{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%] .xfaLr{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%] .xfaRl{display:flex;flex-direction:row-reverse;align-items:stretch}[_nghost-%COMP%] .xfaTb>div{justify-content:left}[_nghost-%COMP%] .xfaPosition{position:relative}[_nghost-%COMP%] .xfaArea{position:relative}[_nghost-%COMP%] .xfaValignMiddle{display:flex;align-items:center}[_nghost-%COMP%] .xfaTable{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%] .xfaTable .xfaRow{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%] .xfaTable .xfaRlRow{display:flex;flex-direction:row-reverse;align-items:stretch;flex:1}[_nghost-%COMP%] .xfaTable .xfaRlRow>div{flex:1}[_nghost-%COMP%] .xfaNonInteractive input, [_nghost-%COMP%] .xfaNonInteractive textarea, [_nghost-%COMP%] .xfaDisabled input, [_nghost-%COMP%] .xfaDisabled textarea, [_nghost-%COMP%] .xfaReadOnly input, [_nghost-%COMP%] .xfaReadOnly textarea{background:initial}@media print{[_nghost-%COMP%] .xfaTextfield, [_nghost-%COMP%] .xfaSelect{background:transparent}[_nghost-%COMP%] .xfaSelect{-webkit-appearance:none;appearance:none;text-indent:1px;text-overflow:""}}[_nghost-%COMP%] [data-editor-rotation="90"]{transform:rotate(90deg)}[_nghost-%COMP%] [data-editor-rotation="180"]{transform:rotate(180deg)}[_nghost-%COMP%] [data-editor-rotation="270"]{transform:rotate(270deg)}[_nghost-%COMP%] .annotationEditorLayer{background:transparent;position:absolute;top:0;left:0;font-size:calc(100px * var(--scale-factor));transform-origin:0 0}[_nghost-%COMP%] .annotationEditorLayer .selectedEditor{outline:var(--focus-outline);resize:none}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor{position:absolute;background:transparent;border-radius:3px;padding:calc(var(--freetext-padding) * var(--scale-factor));resize:none;width:auto;height:auto;z-index:1;transform-origin:0 0;touch-action:none}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal{background:transparent;border:none;top:0;left:0;overflow:visible;white-space:nowrap;resize:none;font:10px sans-serif;line-height:var(--freetext-line-height)}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .overlay{position:absolute;display:none;background:transparent;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .overlay.enabled{display:block}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal:empty:before{content:attr(default-content);color:gray}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal:focus{outline:none}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.disabled{resize:none}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.disabled.selectedEditor{resize:horizontal}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor), [_nghost-%COMP%] .annotationEditorLayer .inkEditor:hover:not(.selectedEditor){outline:var(--hover-outline)}[_nghost-%COMP%] .annotationEditorLayer .inkEditor{position:absolute;background:transparent;border-radius:3px;overflow:auto;width:100%;height:100%;z-index:1;transform-origin:0 0;cursor:auto}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.editing{resize:none;cursor:var(--editorInk-editing-cursor),pointer}[_nghost-%COMP%] .annotationEditorLayer .inkEditor .inkEditorCanvas{position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none}[_nghost-%COMP%] [data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[_nghost-%COMP%] [data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[_nghost-%COMP%] [data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}[_nghost-%COMP%] .pdfViewer{padding-bottom:var(--pdfViewer-padding-bottom)}[_nghost-%COMP%] .pdfViewer .canvasWrapper{overflow:hidden}[_nghost-%COMP%] .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:var(--page-margin);position:relative;overflow:visible;border:var(--page-border);border-image:var(--page-border-image);background-clip:content-box;background-color:#fff}[_nghost-%COMP%] .pdfViewer .dummyPage{position:relative;width:0;height:var(--viewer-container-height)}[_nghost-%COMP%] .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}[_nghost-%COMP%] .pdfViewer.singlePageView{display:inline-block}[_nghost-%COMP%] .pdfViewer.singlePageView .page{margin:0;border:none}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .pdfViewer.scrollWrapped, [_nghost-%COMP%] .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .spread{white-space:nowrap}[_nghost-%COMP%] .pdfViewer.removePageBorders, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}[_nghost-%COMP%] .spread .page, [_nghost-%COMP%] .spread .dummyPage, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{display:inline-block;vertical-align:middle}[_nghost-%COMP%] .spread .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page{margin-left:var(--spreadHorizontalWrapped-margin-LR);margin-right:var(--spreadHorizontalWrapped-margin-LR)}[_nghost-%COMP%] .pdfViewer.removePageBorders .spread .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}[_nghost-%COMP%] .pdfViewer .page canvas{margin:0;display:block}[_nghost-%COMP%] .pdfViewer .page canvas[hidden]{display:none}[_nghost-%COMP%] .pdfViewer .page .loadingIcon{position:absolute;display:block;inset:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQQAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/ilPcHRpbWl6ZWQgd2l0aCBodHRwczovL2V6Z2lmLmNvbS9vcHRpbWl6ZQAh+QQJBwAQACwAAAAAGAAYAAAFmiAkjiTkOGVaBgjZNGSgkgKjjM8zLoI8iy+BKCdiCX8iBeMAhEEIPRXLxViYUE9CbCQoFAzFhHY3zkaT3oPvBz1zE4UBsr1eWZH4vAowOBwGAHk8AoQLfH6Agm0Ed3qOAXWOIgQKiWyFJQgDgJEpdG+WEACNEFNFmKVlVzJQk6qdkwqBoi1mebJ3ALNGeIZHtGSwNDS1RZKueCEAIfkECQcAEAAsAAAAABgAGAAABZcgJI4kpChlWgYCWRQkEKgjURgjw4zOg9CjVwuiEyEeO6CxkBC9nA+HiuUqLEyoBZI0Mx4SAFFgQCDZuguBoGv6Dtg0gvpqdhxQQDkBzuUr/4A1JwMKP39pc2mDhYCIc4GQYn6QCwCMeY91l0p6dBAEJ0OfcFRimZ91Mwt0alxxAIZyRmuAsKxDLKKvZbM1tJxmvGKRpn8hACH5BAkHABAALAAAAAAYABgAAAWhICSOJGQYZVoGAnkcJBKoI3EAY1GMCtPSosSBINKJBIwGkHdwBGGQA0OhYpEGQxNqkYzNIITBACEKKBaxxNfBeOCO4vMy0Hg8nDHFeCktkKtfNAtoS4UqAicKBj9zBAKPC4iKi4aRkISGmWWBmjUIAIyHkCUEAKCVo2WmREecVqoCgZhgP4NHrGWCj7e3szSpuxAsoVWxnp6cVV4kyZW+KSEAIfkECQcAEAAsAAAAABgAGAAABZkgJI4kBABlWgYEOQykEKgjMSDjcYxG0dKi108nEhQKQN4rCIMkCgbawjWYnSCLY2yGVSgEooBhWqsGGwxc0RtNBgoMhmJ1QgETjANYFeBKyUmBKQQIdT9JDmgPDQ6EhoKJD4sOgpWWgiwChyqEBH5hmptSoSOZgJ4kLKWkYTF7C2SaqaM/hEWygay4mYG8t6uffFuzl1iANCEAIfkECQcAEAAsAAAAABgAGAAABZ0gJI4khCBlmhKkopBCoI6LIozDMAIHO4uuBVBnOiR+I4FrCDwAZsKdQnaCLIwwmRUA8JmioprWUCjcwlwUMnAoG0qL03k2KCS8cC0UjOzDCQKBfHQFDAwFU4CCfgqFhy9+kZJWgzSKSAcPZn+BfQENDw8OljGWJAFeDoZPYTBnC1GdSXqnsoBolSulX2GyP6hgvnG0KrS3NJNhuSQhACH5BAkHABAALAAAAAAYABgAAAWaICSOJCQIZZoupGGQRKCOC0CMijIiwz2LABtQZxoMfjQhxAXszWQ7gOwECRhh0MCJJRJARTUoIHFAgbfI6uBwAJS01J/i4PClVYHvfV8lbLlIBmwFbQt+aGmChG18jXeGT4dICQxlb4g/AQUMDER9XjR6BAdiDQwINDBmkAsPDVh4cX4imw53iLKuaVqAcUsPqEiidkt6j4AzIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiREEGWaBiSCtCoZCMsIAKOg1LEo0KKbaKFQ9EYLoOkFuQlirNxzCQkUW9GZ0hQd4nyDAWr4G/esYSbyZFYZwu3jqiuvr8u8I2BwOAwASXh1e31/doeHC3klWnElfAlTd46MfQUGk2stCVEGBQWSdCciDg5VDAVYKoEiDQ0iBwxGcj9RDw8+qHIzebc2DJJQJK6qiKVyIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiS0LGWaBiRBtCoZCKgoCCMB1DF0sz6cCQDo5W62l28XAyZFpyECBv3lnCbhUqHMIo0Qg4Jbmn1jRCa4iV27TzfXGjEecOFWMN1OdvvfPGUuXSoKBw6EXokrAwcHRVU0UAeEBANAAAmUI1gNDyhjJgUHLW0iDg8FIqOnBQZrDA9TELE2rEYIDw4jta2LMpCrqld/YQpgIQAh+QQJBwAQACwAAAAAGAAYAAAFmyAkjiS0LGWaBiRBkKw6BgIqCsJcyyMe4yJajhcEml5H26o1PN2QQd3uFiv2AADlAgflIbDdZLgkABOJgep5LfWty4p4zeU+w+XsvJWXliEKDwdEBgMKYQ4PDw1qK3EDCCMAiQ5BCV0LCj+FSDQkgCgGBiYHAy2MIgoMghAHqw4HAGsNDEMFBTekdgwKI7aRB2MwkL2rVHoQoWchACH5BAkHABAALAAAAAAYABgAAAWWICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkfbqjU83ZBB3e4WK0qrCxyU55peid0qcUwuixyNx6PhILsAcAJazXYj4lvz2MkLiFsHDAlEcABKZwwMBX8pBgoKQxAIigpBA1sLBj+PSDQkB4uSACYDlTMyBgWDEKVnl2QFBUigN61gBQYjtLV5JZ4jtlR6omMhACH5BAkHABAALAAAAAAYABgAAAWaICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkdbidYanm7I4AjwYDh6saJuJ3JUG1mZi9srPA7EcRimJLrfJYWZUVC8TziXnEG3u/E+cIJaPAFrPQl1aQAIbRAGBZGHJQiMUQKRBkEKbQsAPZaEXQcslSYKmjMyAAdXj34ACkNEiUgDA5t+PAQHn6Ogjkuzry2DNwhuIQAh+QQFBwAQACwAAAAAGAAYAAAFnCAkjiS0LGVaBgBJEGSguo8zCsK4CPIsMg+ECCcKEH0ix6MwhJl4KiOp8UCdmrEbo6EoHpxF8A6aBBZ6vhf5dmAkkGr0CoWs21WGQ2FvsI9xC3l7B311fy93iWGKJQQOhHCAJQB6A3IqcWwJLU90i2FkUiMKlhBELEI6MwgDXRAGhQgAYD6tTqRFAJxpA6mvrqazSKJJhUWMpjlIIQA7) center no-repeat}[_nghost-%COMP%] .pdfViewer .page .loadingIcon.notVisible{background:none}[_nghost-%COMP%] .pdfViewer.enablePermissions .textLayer span{-webkit-user-select:none!important;user-select:none!important;cursor:not-allowed}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer{padding-bottom:0}[_nghost-%COMP%] .pdfPresentationMode .spread{margin:0}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer .page{margin:0 auto;border:2px solid transparent}']})}return ue})(),te=(()=>{class ue{static \u0275fac=function(Z){return new(Z||ue)};static \u0275mod=n.\u0275\u0275defineNgModule({type:ue});static \u0275inj=n.\u0275\u0275defineInjector({})}return ue})()},1528:(pe,h,o)=>{"use strict";function n(d,a,l,e,u,c,g){try{var v=d[c](g),p=v.value}catch(S){return void l(S)}v.done?a(p):Promise.resolve(p).then(e,u)}function i(d){return function(){var a=this,l=arguments;return new Promise(function(e,u){var c=d.apply(a,l);function g(p){n(c,e,u,g,v,"next",p)}function v(p){n(c,e,u,g,v,"throw",p)}g(void 0)})}}o.d(h,{c:()=>i})},81316:(pe,h,o)=>{"use strict";o.r(h),o.d(h,{__addDisposableResource:()=>ue,__assign:()=>d,__asyncDelegator:()=>j,__asyncGenerator:()=>F,__asyncValues:()=>T,__await:()=>I,__awaiter:()=>S,__classPrivateFieldGet:()=>H,__classPrivateFieldIn:()=>te,__classPrivateFieldSet:()=>G,__createBinding:()=>_,__decorate:()=>l,__disposeResources:()=>K,__esDecorate:()=>u,__exportStar:()=>f,__extends:()=>i,__generator:()=>C,__importDefault:()=>O,__importStar:()=>N,__makeTemplateObject:()=>P,__metadata:()=>p,__param:()=>e,__propKey:()=>g,__read:()=>b,__rest:()=>a,__runInitializers:()=>c,__setFunctionName:()=>v,__spread:()=>E,__spreadArray:()=>A,__spreadArrays:()=>M,__values:()=>y,default:()=>Z});var n=function(re,J){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Y,$){Y.__proto__=$}||function(Y,$){for(var le in $)Object.prototype.hasOwnProperty.call($,le)&&(Y[le]=$[le])})(re,J)};function i(re,J){if("function"!=typeof J&&null!==J)throw new TypeError("Class extends value "+String(J)+" is not a constructor or null");function Y(){this.constructor=re}n(re,J),re.prototype=null===J?Object.create(J):(Y.prototype=J.prototype,new Y)}var d=function(){return d=Object.assign||function(J){for(var Y,$=1,le=arguments.length;$=0;ye--)(we=re[ye])&&(ee=(le<3?we(ee):le>3?we(J,Y,ee):we(J,Y))||ee);return le>3&&ee&&Object.defineProperty(J,Y,ee),ee}function e(re,J){return function(Y,$){J(Y,$,re)}}function u(re,J,Y,$,le,ee){function we(Ct){if(void 0!==Ct&&"function"!=typeof Ct)throw new TypeError("Function expected");return Ct}for(var Pe,ye=$.kind,Oe="getter"===ye?"get":"setter"===ye?"set":"value",ve=!J&&re?$.static?re:re.prototype:null,_e=J||(ve?Object.getOwnPropertyDescriptor(ve,$.name):{}),Ze=!1,ot=Y.length-1;ot>=0;ot--){var tt={};for(var mt in $)tt[mt]="access"===mt?{}:$[mt];for(var mt in $.access)tt.access[mt]=$.access[mt];tt.addInitializer=function(Ct){if(Ze)throw new TypeError("Cannot add initializers after decoration has completed");ee.push(we(Ct||null))};var Qe=(0,Y[ot])("accessor"===ye?{get:_e.get,set:_e.set}:_e[Oe],tt);if("accessor"===ye){if(void 0===Qe)continue;if(null===Qe||"object"!=typeof Qe)throw new TypeError("Object expected");(Pe=we(Qe.get))&&(_e.get=Pe),(Pe=we(Qe.set))&&(_e.set=Pe),(Pe=we(Qe.init))&&le.unshift(Pe)}else(Pe=we(Qe))&&("field"===ye?le.unshift(Pe):_e[Oe]=Pe)}ve&&Object.defineProperty(ve,$.name,_e),Ze=!0}function c(re,J,Y){for(var $=arguments.length>2,le=0;le0&&ee[ee.length-1])&&(6===ve[0]||2===ve[0])){Y=0;continue}if(3===ve[0]&&(!ee||ve[1]>ee[0]&&ve[1]=re.length&&(re=void 0),{value:re&&re[$++],done:!re}}};throw new TypeError(J?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(re,J){var Y="function"==typeof Symbol&&re[Symbol.iterator];if(!Y)return re;var le,we,$=Y.call(re),ee=[];try{for(;(void 0===J||J-- >0)&&!(le=$.next()).done;)ee.push(le.value)}catch(ye){we={error:ye}}finally{try{le&&!le.done&&(Y=$.return)&&Y.call($)}finally{if(we)throw we.error}}return ee}function E(){for(var re=[],J=0;J1||ye(Ze,ot)})})}function ye(Ze,ot){try{!function Oe(Ze){Ze.value instanceof I?Promise.resolve(Ze.value.v).then(ve,_e):Pe(ee[0][2],Ze)}($[Ze](ot))}catch(tt){Pe(ee[0][3],tt)}}function ve(Ze){ye("next",Ze)}function _e(Ze){ye("throw",Ze)}function Pe(Ze,ot){Ze(ot),ee.shift(),ee.length&&ye(ee[0][0],ee[0][1])}}function j(re){var J,Y;return J={},$("next"),$("throw",function(le){throw le}),$("return"),J[Symbol.iterator]=function(){return this},J;function $(le,ee){J[le]=re[le]?function(we){return(Y=!Y)?{value:I(re[le](we)),done:!1}:ee?ee(we):we}:ee}}function T(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Y,J=re[Symbol.asyncIterator];return J?J.call(re):(re=y(re),Y={},$("next"),$("throw"),$("return"),Y[Symbol.asyncIterator]=function(){return this},Y);function $(ee){Y[ee]=re[ee]&&function(we){return new Promise(function(ye,Oe){!function le(ee,we,ye,Oe){Promise.resolve(Oe).then(function(ve){ee({value:ve,done:ye})},we)}(ye,Oe,(we=re[ee](we)).done,we.value)})}}}function P(re,J){return Object.defineProperty?Object.defineProperty(re,"raw",{value:J}):re.raw=J,re}var x=Object.create?function(re,J){Object.defineProperty(re,"default",{enumerable:!0,value:J})}:function(re,J){re.default=J};function N(re){if(re&&re.__esModule)return re;var J={};if(null!=re)for(var Y in re)"default"!==Y&&Object.prototype.hasOwnProperty.call(re,Y)&&_(J,re,Y);return x(J,re),J}function O(re){return re&&re.__esModule?re:{default:re}}function H(re,J,Y,$){if("a"===Y&&!$)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof J?re!==J||!$:!J.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===Y?$:"a"===Y?$.call(re):$?$.value:J.get(re)}function G(re,J,Y,$,le){if("m"===$)throw new TypeError("Private method is not writable");if("a"===$&&!le)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof J?re!==J||!le:!J.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===$?le.call(re,Y):le?le.value=Y:J.set(re,Y),Y}function te(re,J){if(null===J||"object"!=typeof J&&"function"!=typeof J)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof re?J===re:re.has(J)}function ue(re,J,Y){if(null!=J){if("object"!=typeof J&&"function"!=typeof J)throw new TypeError("Object expected.");var $;if(Y){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");$=J[Symbol.asyncDispose]}if(void 0===$){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");$=J[Symbol.dispose]}if("function"!=typeof $)throw new TypeError("Object not disposable.");re.stack.push({value:J,dispose:$,async:Y})}else Y&&re.stack.push({async:!0});return J}var se="function"==typeof SuppressedError?SuppressedError:function(re,J,Y){var $=new Error(Y);return $.name="SuppressedError",$.error=re,$.suppressed=J,$};function K(re){function J($){re.error=re.hasError?new se($,re.error,"An error was suppressed during disposal."):$,re.hasError=!0}return function Y(){for(;re.stack.length;){var $=re.stack.pop();try{var le=$.dispose&&$.dispose.call($.value);if($.async)return Promise.resolve(le).then(Y,function(ee){return J(ee),Y()})}catch(ee){J(ee)}}if(re.hasError)throw re.error}()}const Z={__extends:i,__assign:d,__rest:a,__decorate:l,__param:e,__metadata:p,__awaiter:S,__generator:C,__createBinding:_,__exportStar:f,__values:y,__read:b,__spread:E,__spreadArrays:M,__spreadArray:A,__await:I,__asyncGenerator:F,__asyncDelegator:j,__asyncValues:T,__makeTemplateObject:P,__importStar:N,__importDefault:O,__classPrivateFieldGet:H,__classPrivateFieldSet:G,__classPrivateFieldIn:te,__addDisposableResource:ue,__disposeResources:K}}},pe=>{pe(pe.s=27460)}]); \ No newline at end of file