(self.webpackChunkusaepay_developer=self.webpackChunkusaepay_developer||[]).push([[792],{7428:(U,J,k)=>{"use strict";function T(n,e){return Object.is(n,e)}let v=null,w=!1,M=1;const C=Symbol("SIGNAL");function I(n){const e=v;return v=n,e}function N(){return v}const $={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 Z(n){if(w)throw new Error("");if(null===v)return;v.consumerOnSignalRead(n);const e=v.nextProducerIndex++;if(Fe(v),en.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function Xe(n){Fe(n);for(let e=0;e0}function Fe(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function ne(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}function re(n){return void 0!==n.producerNode}function fe(n){const e=Object.create(ls);e.computation=n;const t=()=>{if(se(e),Z(e),e.value===St)throw e.error;return e.value};return t[C]=e,t}const Te=Symbol("UNSET"),He=Symbol("COMPUTING"),St=Symbol("ERRORED"),ls={...$,value:Te,dirty:!0,error:null,equal:T,producerMustRecompute:n=>n.value===Te||n.value===He,producerRecomputeValue(n){if(n.value===He)throw new Error("Detected cycle in computations.");const e=n.value;n.value=He;const t=lt(n);let s;try{s=n.computation()}catch(i){s=St,n.error=i}finally{Je(n,t)}e!==Te&&e!==St&&s!==St&&n.equal(e,s)?n.value=e:(n.value=s,n.version++)}};let gr=function Ks(){throw new Error};function Jt(){gr()}let ht=null;function Me(n,e){_e()||Jt(),n.equal(n.value,e)||(n.value=e,function Rs(n){n.version++,function oe(){M++}(),ve(n),ht?.()}(n))}const Wn={...$,equal:T,value:void 0};const Yt=()=>{};function jt(n){return"function"==typeof n}let fs=!1;const At={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else fs&&console.log("RxJS: Back to a better error behavior. Thank you. <3");fs=n},get useDeprecatedSynchronousErrorHandling(){return fs}};function Nt(n){setTimeout(()=>{throw n},0)}const Qt={closed:!0,next(n){},error(n){if(At.useDeprecatedSynchronousErrorHandling)throw n;Nt(n)},complete(){}},Os=Array.isArray||(n=>n&&"number"==typeof n.length);function on(n){return null!==n&&"object"==typeof n}const En=(()=>{function n(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,s)=>`${s+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return n.prototype=Object.create(Error.prototype),n})();class gt{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:t,_unsubscribe:s,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof gt)t.remove(this);else if(null!==t)for(let o=0;oe.concat(t instanceof En?t.errors:t),[])}gt.EMPTY=((n=new gt).closed=!0,n);const Oe="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Xt extends gt{constructor(e,t,s){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Qt;break;case 1:if(!e){this.destination=Qt;break}if("object"==typeof e){e instanceof Xt?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new Vt(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new Vt(this,e,t,s)}}[Oe](){return this}static create(e,t,s){const i=new Xt(e,t,s);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class Vt extends Xt{constructor(e,t,s,i){super(),this._parentSubscriber=e;let o,c=this;jt(t)?o=t:t&&(o=t.next,s=t.error,i=t.complete,t!==Qt&&(c=Object.create(t),jt(c.unsubscribe)&&this.add(c.unsubscribe.bind(c)),c.unsubscribe=this.unsubscribe.bind(this))),this._context=c,this._next=o,this._error=s,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;At.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:s}=At;if(this._error)s&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)s?(t.syncErrorValue=e,t.syncErrorThrown=!0):Nt(e),this.unsubscribe();else{if(this.unsubscribe(),s)throw e;Nt(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);At.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(s){if(this.unsubscribe(),At.useDeprecatedSynchronousErrorHandling)throw s;Nt(s)}}__tryOrSetError(e,t,s){if(!At.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,s)}catch(i){return At.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(Nt(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const _r="function"==typeof Symbol&&Symbol.observable||"@@observable";function kt(n){return n}function yr(n){return 0===n.length?kt:1===n.length?n[0]:function(t){return n.reduce((s,i)=>i(s),t)}}class Ct{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const t=new Ct;return t.source=this,t.operator=e,t}subscribe(e,t,s){const{operator:i}=this,o=function qn(n,e,t){if(n){if(n instanceof Xt)return n;if(n[Oe])return n[Oe]()}return n||e||t?new Xt(n,e,t):new Xt(Qt)}(e,t,s);if(i?o.add(i.call(o,this.source)):o.add(this.source||At.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),At.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){At.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function Be(n){for(;n;){const{closed:e,destination:t,isStopped:s}=n;if(e||s)return!1;n=t&&t instanceof Xt?t:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=Pn(t))((s,i)=>{let o;o=this.subscribe(c=>{try{e(c)}catch(d){i(d),o&&o.unsubscribe()}},i,s)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[_r](){return this}pipe(...e){return 0===e.length?this:yr(e)(this)}toPromise(e){return new(e=Pn(e))((t,s)=>{let i;this.subscribe(o=>i=o,o=>s(o),()=>t(i))})}}function Pn(n){if(n||(n=At.Promise||Promise),!n)throw new Error("no Promise impl found");return n}Ct.create=n=>new Ct(n);const ii=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class Es extends gt{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const s=t.indexOf(this.subscriber);-1!==s&&t.splice(s,1)}}class Gn extends Xt{constructor(e){super(e),this.destination=e}}class ct extends Ct{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[Oe](){return new Gn(this)}lift(e){const t=new Ya(this,this);return t.operator=e,t}next(e){if(this.closed)throw new ii;if(!this.isStopped){const{observers:t}=this,s=t.length,i=t.slice();for(let o=0;onew Ya(n,e);class Ya extends ct{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):gt.EMPTY}}class Us extends ct{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ii;return this._value}next(e){super.next(this._value=e)}}function Ht(n,e){return function(s){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return s.lift(new Pu(n,e))}}class Pu{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new Ec(e,this.project,this.thisArg))}}class Ec extends Xt{constructor(e,t,s){super(e),this.project=t,this.count=0,this.thisArg=s||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(s){return void this.destination.error(s)}this.destination.next(t)}}const Tl=(()=>{function n(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return n.prototype=Object.create(Error.prototype),n})();function ms(n,e){return function(s){return s.lift(new lw(n,e))}}class lw{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new Il(e,this.predicate,this.thisArg))}}class Il extends Xt{constructor(e,t,s){super(e),this.predicate=t,this.thisArg=s,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(s){return void this.destination.error(s)}t&&this.destination.next(e)}}const Ue=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})(),Ba=new Ct(n=>n.complete());function yi(n){return n?function vr(n){return new Ct(e=>n.schedule(()=>e.complete()))}(n):Ba}function Ir(n){return e=>0===n?yi():e.lift(new Dt(n))}class Dt{constructor(e){if(this.total=e,this.total<0)throw new Ue}call(e,t){return t.subscribe(new oi(e,this.total))}}class oi extends Xt{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,s=++this.count;s<=t&&(this.destination.next(e),s===t&&(this.destination.complete(),this.unsubscribe()))}}function Ki(n=null){return e=>e.lift(new xs(n))}class xs{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new Ut(e,this.defaultValue))}}class Ut extends Xt{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function gs(n=ai){return e=>e.lift(new Kn(n))}class Kn{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new ks(e,this.errorFactory))}}class ks extends Xt{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function ai(){return new Tl}function cs(n,e){const t=arguments.length>=2;return s=>s.pipe(n?ms((i,o)=>n(i,o,s)):kt,Ir(1),t?Ki(e):gs(()=>new Tl))}const ja="https://g.co/ng/security#xss";class ae extends Error{constructor(e,t){super(ut(e,t)),this.code=e}}function ut(n,e){return`NG0${Math.abs(n)}${e?": "+e:""}`}const _a=Symbol("InputSignalNode#UNSET"),yh={...Wn,transformFn:void 0,applyValueToInputSignal(n,e){Me(n,e)}};function Al(n,e){const t=Object.create(yh);function s(){if(Z(t),t.value===_a)throw new ae(-950,!1);return t.value}return t.value=n,t.transformFn=e?.transform,s[C]=t,s}function Qs(n){return{toString:n}.toString()}const rr="__annotations__",jo="__parameters__",kc="__prop__metadata__";function Ru(n,e,t,s,i){return Qs(()=>{const o=Ou(e);function c(...d){if(this instanceof c)return o.call(this,...d),this;const h=new c(...d);return function(g){return i&&i(g,...d),(g.hasOwnProperty(rr)?g[rr]:Object.defineProperty(g,rr,{value:[]})[rr]).push(h),s&&s(g),g}}return t&&(c.prototype=Object.create(t.prototype)),c.prototype.ngMetadataName=n,c.annotationCls=c,c})}function Ou(n){return function(...t){if(n){const s=n(...t);for(const i in s)this[i]=s[i]}}}function _t(n,e,t){return Qs(()=>{const s=Ou(e);function i(...o){if(this instanceof i)return s.apply(this,o),this;const c=new i(...o);return d.annotation=c,d;function d(h,m,g){const b=h.hasOwnProperty(jo)?h[jo]:Object.defineProperty(h,jo,{value:[]})[jo];for(;b.length<=g;)b.push(null);return(b[g]=b[g]||[]).push(c),h}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i})}function Le(n,e,t,s){return Qs(()=>{const i=Ou(e);function o(...c){if(this instanceof o)return i.apply(this,c),this;const d=new o(...c);return function h(m,g){if(void 0===m)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const b=m.constructor,E=b.hasOwnProperty(kc)?b[kc]:Object.defineProperty(b,kc,{value:{}})[kc];E[g]=E.hasOwnProperty(g)&&E[g]||[],E[g].unshift(d),s&&s(m,g,...c)}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=n,o.annotationCls=o,o})}const _s=globalThis;function bn(n){for(let e in n)if(n[e]===bn)return e;throw Error("Could not find renamed property on target object.")}function $t(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function hn(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(hn).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const e=n.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}function If(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const Vo=bn({__forward_ref__:bn});function Et(n){return n.__forward_ref__=Et,n.toString=function(){return hn(this())},n}function dt(n){return Oi(n)?n():n}function Oi(n){return"function"==typeof n&&n.hasOwnProperty(Vo)&&n.__forward_ref__===Et}function Va(n,e,t){n!=e&&Mt(t,n,e,"==")}function Mt(n,e,t,s){throw new Error(`ASSERTION ERROR: ${n}`+(null==s?"":` [Expected=> ${t} ${s} ${e} <=Actual]`))}function Ce(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Ts(n){return{providers:n.providers||[],imports:n.imports||[]}}function Af(n){return x_(n,Ha)||x_(n,k_)}function x_(n,e){return n.hasOwnProperty(e)?n[e]:null}function Tc(n){return n&&(n.hasOwnProperty(Lf)||n.hasOwnProperty(gw))?n[Lf]:null}const Ha=bn({\u0275prov:bn}),Lf=bn({\u0275inj:bn}),k_=bn({ngInjectableDef:bn}),gw=bn({ngInjectorDef:bn});class Ie{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=Ce({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ac(n){return n&&!!n.\u0275providers}const Lr=bn({\u0275cmp:bn}),Lc=bn({\u0275dir:bn}),Pc=bn({\u0275pipe:bn}),bo=bn({\u0275mod:bn}),Ua=bn({\u0275fac:bn}),Rc=bn({__NG_ELEMENT_ID__:bn}),I_=bn({__NG_ENV_ID__:bn});function Wt(n){return"string"==typeof n?n:null==n?"":String(n)}function jn(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Wt(n)}function va(n,e){throw new ae(-201,!1)}var an;let Pl;function Qi(){return Pl}function ir(n){const e=Pl;return Pl=n,e}function Ff(n,e,t){const s=Af(n);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:t&an.Optional?null:void 0!==e?e:void va()}!function(n){n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional"}(an||(an={}));const Uo={},Yf="__NG_DI_FLAG__",Rl="ngTempTokenPath",Bf=/\n/gm,jf="\u0275",Oc="__source";let ys;function Xs(n){const e=ys;return ys=n,e}function Ol(n,e=an.Default){if(void 0===ys)throw new ae(-203,!1);return null===ys?Ff(n,void 0,e):ys.get(n,e&an.Optional?null:void 0,e)}function be(n,e=an.Default){return(Qi()||Ol)(dt(n),e)}function Vn(n){throw new ae(202,!1)}function de(n,e=an.Default){return be(n,$o(e))}function $o(n){return typeof n>"u"||"number"==typeof n?n:(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Nl(n){const e=[];for(let t=0;t ");else if("object"==typeof e){let o=[];for(let c in e)if(e.hasOwnProperty(c)){let d=e[c];o.push(c+":"+("string"==typeof d?JSON.stringify(d):hn(d)))}i=`{${o.join(", ")}}`}return`${t}${s?"("+s+")":""}[${i}]: ${n.replace(Bf,"\n ")}`}("\n"+n.message,i,t,s),n.ngTokenPath=i,n[Rl]=null,n}const Wa=$a(_t("Inject",n=>({token:n})),-1),wr=$a(_t("Optional"),8),Fl=$a(_t("Self"),2),zo=$a(_t("SkipSelf"),4),Wo=$a(_t("Host"),1);function or(n,e){return n.hasOwnProperty(Ua)?n[Ua]:null}function Sr(n){return n.flat(Number.POSITIVE_INFINITY)}function Go(n,e){n.forEach(t=>Array.isArray(t)?Go(t,e):e(t))}function Yl(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function ba(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function zr(n,e){const t=[];for(let s=0;se;){const o=i-2;n[i]=n[o],i--}n[e]=t,n[e+1]=s}}function Zi(n,e,t){let s=qa(n,e);return s>=0?n[1|s]=t:(s=~s,P_(n,s,e,t)),s}function O_(n,e){const t=qa(n,e);if(t>=0)return n[1|t]}function qa(n,e){return vi(n,e,1)}function vi(n,e,t){let s=0,i=n.length>>t;for(;i!==s;){const o=s+(i-s>>1),c=n[o<e?i=o:s=o+1}return~(i<e){c=o-1;break}}}for(;o-1){let o;for(;++io?"":i[g+1].toLowerCase(),2&s&&m!==b){if(So(s))return!1;c=!0}}}}else{if(!c&&!So(s)&&!So(h))return!1;if(c&&So(h))continue;c=!1,s=h|1&s}}return So(s)||c}function So(n){return!(1&n)}function bw(n,e,t,s){if(null===e)return-1;let i=0;if(s||!t){let o=!1;for(;i-1)for(t++;t0?'="'+d+'"':"")+"]"}else 8&s?i+="."+c:4&s&&(i+=" "+c);else""!==i&&!So(c)&&(e+=jl(o,i),i=""),s=c,o=o||!So(s);t++}return""!==i&&(e+=jl(o,i)),e}function Uu(n){return Qs(()=>{const e=Qa(n),t={...e,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===wa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||Wr.Emulated,styles:n.styles||In,_:null,schemas:n.schemas||null,tView:null,id:""};Gf(t);const s=n.dependencies;return t.directiveDefs=Qn(s,!1),t.pipeDefs=Qn(s,!0),t.id=function Xo(n){let e=0;const t=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const i of t)e=Math.imul(31,e)+i.charCodeAt(0)|0;return e+=2147483648,"c"+e}(t),t})}function Wf(n){return tn(n)||On(n)}function Eh(n){return null!==n}function vs(n){return Qs(()=>({type:n.type,bootstrap:n.bootstrap||In,declarations:n.declarations||In,imports:n.imports||In,exports:n.exports||In,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function qf(n,e){if(null==n)return wo;const t={};for(const s in n)if(n.hasOwnProperty(s)){const i=n[s];let o,c,d=Ko.None;Array.isArray(i)?(d=i[0],o=i[1],c=i[2]??o):(o=i,c=i),e?(t[o]=d!==Ko.None?[s,d]:s,e[o]=c):t[o]=s}return t}function Ge(n){return Qs(()=>{const e=Qa(n);return Gf(e),e})}function qr(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function tn(n){return n[Lr]||null}function On(n){return n[Lc]||null}function bs(n){return n[Pc]||null}function Gr(n){const e=tn(n)||On(n)||bs(n);return null!==e&&e.standalone}function Dr(n,e){const t=n[bo]||null;if(!t&&!0===e)throw new Error(`Type ${hn(n)} does not have '\u0275mod' property.`);return t}function Qa(n){const e={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:n.inputs||wo,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||In,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qf(n.inputs,e),outputs:qf(n.outputs),debugInfo:null}}function Gf(n){n.features?.forEach(e=>e(n))}function Qn(n,e){if(!n)return null;const t=e?bs:Wf;return()=>("function"==typeof n?n():n).map(s=>t(s)).filter(Eh)}function li(n){return{\u0275providers:n}}function Fc(...n){return{\u0275providers:Zo(!0,n),\u0275fromNgModule:!0}}function Zo(n,...e){const t=[],s=new Set;let i;const o=c=>{t.push(c)};return Go(e,c=>{const d=c;Da(d,o,[],s)&&(i||=[],i.push(d))}),void 0!==i&&Jo(i,o),t}function Jo(n,e){for(let t=0;t{e(o,s)})}}function Da(n,e,t,s){if(!(n=dt(n)))return!1;let i=null,o=Tc(n);const c=!o&&tn(n);if(o||c){if(c&&!c.standalone)return!1;i=n}else{const h=n.ngModule;if(o=Tc(h),!o)return!1;i=h}const d=s.has(i);if(c){if(d)return!1;if(s.add(i),c.dependencies){const h="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const m of h)Da(m,e,t,s)}}else{if(!o)return!1;{if(null!=o.imports&&!d){let m;s.add(i);try{Go(o.imports,g=>{Da(g,e,t,s)&&(m||=[],m.push(g))})}finally{}void 0!==m&&Jo(m,e)}if(!d){const m=or(i)||(()=>new i);e({provide:i,useFactory:m,deps:In},i),e({provide:Ns,useValue:i,multi:!0},i),e({provide:_n,useValue:()=>be(i),multi:!0},i)}const h=o.providers;if(null!=h&&!d){const m=n;Y_(h,g=>{e(g,m)})}}}return i!==n&&void 0!==n.providers}function Y_(n,e){for(let t of n)Ac(t)&&(t=t.\u0275providers),Array.isArray(t)?Y_(t,e):e(t)}const Sw=bn({provide:String,useValue:bn});function Kf(n){return null!==n&&"object"==typeof n&&Sw in n}function B_(n){return!(!n||!n.useExisting)}function j_(n){return!(!n||!n.useFactory)}function Xa(n){return"function"==typeof n}const Qf=new Ie(""),Yc={},Xf={};let Zf;function Tt(){return void 0===Zf&&(Zf=new ar),Zf}class It{}class ln extends It{get destroyed(){return this._destroyed}constructor(e,t,s,i){super(),this.parent=t,this.source=s,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,em(e,c=>this.processProvider(c)),this.records.set(Vf,Za(void 0,this)),i.has("environment")&&this.records.set(It,Za(void 0,this));const o=this.records.get(Qf);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ns,In,an.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const e=I(null);try{for(const s of this._ngOnDestroyHooks)s.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const s of t)s()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),I(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const t=Xs(this),s=ir(void 0);try{return e()}finally{Xs(t),ir(s)}}get(e,t=Uo,s=an.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(I_))return e[I_](this);s=$o(s);const o=Xs(this),c=ir(void 0);try{if(!(s&an.SkipSelf)){let h=this.records.get(e);if(void 0===h){const m=function Cw(n){return"function"==typeof n||"object"==typeof n&&n instanceof Ie}(e)&&Af(e);h=m&&this.injectableDefInScope(m)?Za($u(e),Yc):null,this.records.set(e,h)}if(null!=h)return this.hydrate(e,h)}const d=s&an.Self?Tt():this.parent;return t=s&an.Optional&&t===Uo?null:t,d.get(e,t)}catch(d){if("NullInjectorError"===d.name){if((d[Rl]=d[Rl]||[]).unshift(hn(e)),o)throw d;return Dh(d,e,"R3InjectorError",this.source)}throw d}finally{ir(c),Xs(o)}}resolveInjectorInitializers(){const e=I(null),t=Xs(this),s=ir(void 0);try{const o=this.get(_n,In,an.Self);for(const c of o)c()}finally{Xs(t),ir(s),I(e)}}toString(){const e=[],t=this.records;for(const s of t.keys())e.push(hn(s));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ae(205,!1)}processProvider(e){let t=Xa(e=dt(e))?e:dt(e&&e.provide);const s=function Mw(n){if(Kf(n))return Za(void 0,n.useValue);return Za(Jf(n),Yc)}(e);if(!Xa(e)&&!0===e.multi){let i=this.records.get(t);i||(i=Za(void 0,Yc,!0),i.factory=()=>Nl(i.multi),this.records.set(t,i)),t=e,i.multi.push(e)}this.records.set(t,s)}hydrate(e,t){const s=I(null);try{return t.value===Yc&&(t.value=Xf,t.value=t.factory()),"object"==typeof t.value&&t.value&&function Hl(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{I(s)}}injectableDefInScope(e){if(!e.providedIn)return!1;const t=dt(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){const t=this._onDestroyHooks.indexOf(e);-1!==t&&this._onDestroyHooks.splice(t,1)}}function $u(n){const e=Af(n),t=null!==e?e.factory:or(n);if(null!==t)return t;if(n instanceof Ie)throw new ae(204,!1);if(n instanceof Function)return function xh(n){if(n.length>0)throw new ae(204,!1);const t=function bh(n){return n&&(n[Ha]||n[k_])||null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new ae(204,!1)}function Jf(n,e,t){let s;if(Xa(n)){const i=dt(n);return or(i)||$u(i)}if(Kf(n))s=()=>dt(n.useValue);else if(j_(n))s=()=>n.useFactory(...Nl(n.deps||[]));else if(B_(n))s=()=>be(dt(n.useExisting));else{const i=dt(n&&(n.useClass||n.provide));if(!function ea(n){return!!n.deps}(n))return or(i)||$u(i);s=()=>new i(...Nl(n.deps))}return s}function Za(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function em(n,e){for(const t of n)Array.isArray(t)?em(t,e):t&&Ac(t)?em(t.\u0275providers,e):e(t)}function eo(n,e){n instanceof ln&&n.assertNotDestroyed();const s=Xs(n),i=ir(void 0);try{return e()}finally{Xs(s),ir(i)}}function V_(){return void 0!==Qi()||null!=function Sh(){return ys}()}function kh(n){if(!V_())throw new ae(-203,!1)}var Ja,Th,tm;function $s(n){const e=_s.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}!function(n){n[n.Directive=0]="Directive",n[n.Component=1]="Component",n[n.Injectable=2]="Injectable",n[n.Pipe=3]="Pipe",n[n.NgModule=4]="NgModule"}(Ja||(Ja={})),function(n){n[n.Directive=0]="Directive",n[n.Pipe=1]="Pipe",n[n.NgModule=2]="NgModule"}(Th||(Th={})),function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(tm||(tm={}));const H_={\u0275\u0275defineInjectable:Ce,\u0275\u0275defineInjector:Ts,\u0275\u0275inject:be,\u0275\u0275invalidFactoryDep:Vn,resolveForwardRef:dt},U_=Function;function zu(n){return"function"==typeof n}const Ma=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Ew=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,nm=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Wu=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Pe{constructor(e){this._reflect=e||_s.Reflect}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let s;s=zr(typeof e>"u"?t.length:e.length);for(let i=0;i"u"?s[i]=[]:e[i]&&e[i]!=Object?s[i]=[e[i]]:s[i]=[],t&&null!=t[i]&&(s[i]=s[i].concat(t[i]));return s}_ownParameters(e,t){if(function sm(n){return Ma.test(n)||Wu.test(n)||Ew.test(n)&&!nm.test(n)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const i=e.ctorParameters;if(i&&i!==t.ctorParameters){const d="function"==typeof i?i():i,h=d.map(g=>g&&g.type),m=d.map(g=>g&&Ul(g.decorators));return this._zipTypesAndAnnotations(h,m)}const o=e.hasOwnProperty(jo)&&e[jo],c=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return c||o?this._zipTypesAndAnnotations(c,o):zr(e.length)}parameters(e){if(!zu(e))return[];const t=Bc(e);let s=this._ownParameters(e,t);return!s&&t!==Object&&(s=this.parameters(t)),s||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let s=e.annotations;return"function"==typeof s&&s.annotations&&(s=s.annotations),s}return e.decorators&&e.decorators!==t.decorators?Ul(e.decorators):e.hasOwnProperty(rr)?e[rr]:null}annotations(e){if(!zu(e))return[];const t=Bc(e),s=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(s)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let s=e.propMetadata;return"function"==typeof s&&s.propMetadata&&(s=s.propMetadata),s}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const s=e.propDecorators,i={};return Object.keys(s).forEach(o=>{i[o]=Ul(s[o])}),i}return e.hasOwnProperty(kc)?e[kc]:null}propMetadata(e){if(!zu(e))return{};const t=Bc(e),s={};if(t!==Object){const o=this.propMetadata(t);Object.keys(o).forEach(c=>{s[c]=o[c]})}const i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach(o=>{const c=[];s.hasOwnProperty(o)&&c.push(...s[o]),c.push(...i[o]),s[o]=c}),s}ownPropMetadata(e){return zu(e)&&this._ownPropMetadata(e,Bc(e))||{}}hasLifecycleHook(e,t){return e instanceof U_&&t in e.prototype}}function Ul(n){return n?n.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function Bc(n){const e=n.prototype?Object.getPrototypeOf(n.prototype):null;return(e?e.constructor:null)||Object}const ds=0,we=1,We=2,Fs=3,Rn=4,Yr=5,ci=6,$l=7,os=8,Zs=9,Mr=10,Ot=11,jc=12,qu=13,Br=14,hs=15,Ys=16,zl=17,Fi=18,to=19,rm=20,jr=21,Vc=22,Yi=23,st=25,Wl=1,no=7,Ca=9,ws=10;var Bi;function Xn(n){return Array.isArray(n)&&"object"==typeof n[Wl]}function zs(n){return Array.isArray(n)&&!0===n[Wl]}function Ah(n){return!!(4&n.flags)}function Pr(n){return n.componentOffset>-1}function ql(n){return!(1&~n.flags)}function Kr(n){return!!n.template}function ji(n){return!!(512&n[We])}function el(n){return!(256&~n[We])}!function(n){n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews"}(Bi||(Bi={}));class Xr{constructor(e,t,s){this.previousValue=e,this.currentValue=t,this.firstChange=s}isFirstChange(){return this.firstChange}}function Do(n,e,t,s){null!==e?e.applyValueToInputSignal(e,s):n[t]=s}function Ss(){return kw}function kw(n){return n.type.prototype.ngOnChanges&&(n.setInput=om),m0}function m0(){const n=Tw(this),e=n?.current;if(e){const t=n.previous;if(t===wo)n.previous=e;else for(let s in e)t[s]=e[s];n.current=null,this.ngOnChanges(e)}}function om(n,e,t,s,i){const o=this.declaredInputs[s],c=Tw(n)||function so(n,e){return n[xa]=e}(n,{previous:wo,current:null}),d=c.current||(c.current={}),h=c.previous,m=h[o];d[o]=new Xr(m&&m.currentValue,t,h===wo),Do(n,e,i,t)}Ss.ngInherit=!0;const xa="__ngSimpleChanges__";function Tw(n){return n[xa]||null}let W_=null;const Gl=function(n,e,t){W_?.(n,e,t)};function xn(n){for(;Array.isArray(n);)n=n[ds];return n}function ta(n){for(;Array.isArray(n);){if("object"==typeof n[Wl])return n;n=n[ds]}return null}function Kl(n,e){return xn(e[n])}function Ui(n,e){return xn(e[n.index])}function Ph(n,e){return n.data[e]}function ka(n,e){return n[e]}function Vr(n,e){const t=e[n];return Xn(t)?t:t[ds]}function qt(n){return!(128&~n[We])}function yt(n,e){return null==e?null:n[e]}function _0(n){n[zl]=0}function y0(n){1024&n[We]||(n[We]|=1024,qt(n)&&K_(n))}function v0(n,e){for(;n>0;)e=e[Br],n--;return e}function Uc(n){return!!(9216&n[We]||n[Yi]?.dirty)}function G_(n){n[Mr].changeDetectionScheduler?.notify(8),64&n[We]&&(n[We]|=1024),Uc(n)&&K_(n)}function K_(n){n[Mr].changeDetectionScheduler?.notify(0);let e=Xl(n);for(;null!==e&&!(8192&e[We])&&(e[We]|=8192,qt(e));)e=Xl(e)}function Qu(n,e){if(!(256&~n[We]))throw new ae(911,!1);null===n[jr]&&(n[jr]=[]),n[jr].push(e)}function Lw(n,e){if(null===n[jr])return;const t=n[jr].indexOf(e);-1!==t&&n[jr].splice(t,1)}function Xl(n){const e=n[Fs];return zs(e)?e[Fs]:e}const Ft={lFrame:Hw(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var am;!function(n){n[n.Off=0]="Off",n[n.Exhaustive=1]="Exhaustive",n[n.OnlyDirtyViews=2]="OnlyDirtyViews"}(am||(am={}));let b0=!1;function Ta(){return Ft.bindingsEnabled}function Xu(){return null!==Ft.skipHydrationRootTNode}function me(){return Ft.lFrame.lView}function pn(){return Ft.lFrame.tView}function as(){let n=Ow();for(;null!==n&&64===n.type;)n=n.parent;return n}function Ow(){return Ft.lFrame.currentTNode}function cm(){const n=Ft.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}function Ia(n,e){const t=Ft.lFrame;t.currentTNode=n,t.isParent=e}function Nw(){return Ft.lFrame.isParent}function Q_(){Ft.lFrame.isParent=!1}function um(){return Ft.lFrame.contextLView}function E0(){return b0}function x0(n){b0=n}function Cr(){const n=Ft.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function tl(){return Ft.lFrame.bindingIndex}function k0(n){return Ft.lFrame.bindingIndex=n}function na(){return Ft.lFrame.bindingIndex++}function Zl(n){const e=Ft.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}function T0(n){Ft.lFrame.inI18n=n}function kP(n,e){const t=Ft.lFrame;t.bindingIndex=t.bindingRootIndex=n,Fw(e)}function Fw(n){Ft.lFrame.currentDirectiveIndex=n}function Yw(n){const e=Ft.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}function dm(){return Ft.lFrame.currentQueryIndex}function X_(n){Ft.lFrame.currentQueryIndex=n}function Bw(n){const e=n[we];return 2===e.type?e.declTNode:1===e.type?n[Yr]:null}function I0(n,e,t){if(t&an.SkipSelf){let i=e,o=n;for(;(i=i.parent,null===i&&!(t&an.Host))&&(i=Bw(o),!(null===i||(o=o[Br],10&i.type))););if(null===i)return!1;e=i,n=o}const s=Ft.lFrame=Vw();return s.currentTNode=e,s.lView=n,!0}function jw(n){const e=Vw(),t=n[we];Ft.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function Vw(){const n=Ft.lFrame,e=null===n?null:n.child;return null===e?Hw(n):e}function Hw(n){const e={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:n,child:null,inI18n:!1};return null!==n&&(n.child=e),e}function Uw(){const n=Ft.lFrame;return Ft.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const A0=Uw;function $w(){const n=Uw();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function Hr(){return Ft.lFrame.selectedIndex}function nl(n){Ft.lFrame.selectedIndex=n}function Is(){const n=Ft.lFrame;return Ph(n.tView,n.selectedIndex)}function zw(){return Ft.lFrame.currentNamespace}let L0=!0;function hm(){return L0}function Y(n){L0=n}function wi(n,e){for(let t=e.directiveStart,s=e.directiveEnd;t=s)break}else e[h]<0&&(n[zl]+=65536),(d>14>16&&(3&n[We])===e&&(n[We]+=16384,zc(d,o)):zc(d,o)}const cr=-1;class Zn{constructor(e,t,s){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=s}}const Di={};class ra{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,s){s=$o(s);const i=this.injector.get(e,Di,s);return i!==Di||t===Di?i:this.parentInjector.get(e,t,s)}}function Nh(n){return n!==cr}function Ju(n){return 32767&n}function ro(n,e){let t=function P0(n){return n>>16}(n),s=e;for(;t>0;)s=s[Br],t--;return s}let Gt=!0;function J_(n){const e=Gt;return Gt=n,e}const Gc=255,R0=5;let OP=0;const sl={};function ey(n,e){const t=O0(n,e);if(-1!==t)return t;const s=e[we];s.firstCreatePass&&(n.injectorIndex=e.length,Gw(s.data,n),Gw(e,null),Gw(s.blueprint,null));const i=ty(n,e),o=n.injectorIndex;if(Nh(i)){const c=Ju(i),d=ro(i,e),h=d[we].data;for(let m=0;m<8;m++)e[o+m]=d[c+m]|h[c+m]}return e[o+8]=i,o}function Gw(n,e){n.push(0,0,0,0,0,0,0,0,e)}function O0(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function ty(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,s=null,i=e;for(;null!==i;){if(s=sd(i),null===s)return cr;if(t++,i=i[Br],-1!==s.injectorIndex)return s.injectorIndex|t<<16}return cr}function ny(n,e,t){!function NP(n,e,t){let s;"string"==typeof t?s=t.charCodeAt(0)||0:t.hasOwnProperty(Rc)&&(s=t[Rc]),null==s&&(s=t[Rc]=OP++);const i=s&Gc,o=1<>R0)]|=o}(n,e,t)}function N0(n,e,t){if(t&an.Optional||void 0!==n)return n;va()}function Kw(n,e,t,s){if(t&an.Optional&&void 0===s&&(s=null),!(t&(an.Self|an.Host))){const i=n[Zs],o=ir(void 0);try{return i?i.get(e,s,t&an.Optional):Ff(e,s,t&an.Optional)}finally{ir(o)}}return N0(s,0,t)}function F0(n,e,t,s=an.Default,i){if(null!==n){if(2048&e[We]&&!(s&an.Self)){const c=function Fh(n,e,t,s,i){let o=n,c=e;for(;null!==o&&null!==c&&2048&c[We]&&!(512&c[We]);){const d=Y0(o,c,t,s|an.Self,sl);if(d!==sl)return d;let h=o.parent;if(!h){const m=c[rm];if(m){const g=m.get(t,sl,s);if(g!==sl)return g}h=sd(c),c=c[Br]}o=h}return i}(n,e,t,s,sl);if(c!==sl)return c}const o=Y0(n,e,t,s,sl);if(o!==sl)return o}return Kw(e,t,s,i)}function Y0(n,e,t,s,i){const o=function j0(n){if("string"==typeof n)return n.charCodeAt(0)||0;const e=n.hasOwnProperty(Rc)?n[Rc]:void 0;return"number"==typeof e?e>=0?e&Gc:ps:e}(t);if("function"==typeof o){if(!I0(e,n,s))return s&an.Host?N0(i,0,s):Kw(e,t,s,i);try{let c;if(c=o(s),null!=c||s&an.Optional)return c;va()}finally{A0()}}else if("number"==typeof o){let c=null,d=O0(n,e),h=cr,m=s&an.Host?e[hs][Yr]:null;for((-1===d||s&an.SkipSelf)&&(h=-1===d?ty(n,e):e[d+8],h!==cr&&Xw(s,!1)?(c=e[we],d=Ju(h),e=ro(h,e)):d=-1);-1!==d;){const g=e[we];if(Qw(o,d,g.data)){const b=B0(d,e,t,c,s,m);if(b!==sl)return b}h=e[d+8],h!==cr&&Xw(s,e[we].data[d+8]===m)&&Qw(o,d,e)?(c=g,d=Ju(h),e=ro(h,e)):d=-1}}return i}function B0(n,e,t,s,i,o){const c=e[we],d=c.data[n+8],g=pm(d,c,t,null==s?Pr(d)&&Gt:s!=c&&!!(3&d.type),i&an.Host&&o===d);return null!==g?Kc(e,c,g,d):sl}function pm(n,e,t,s,i){const o=n.providerIndexes,c=e.data,d=1048575&o,h=n.directiveStart,m=n.directiveEnd,g=o>>20,E=i?d+g:m;for(let x=s?d:d+g;x=h&&P.type===t)return x}if(i){const x=c[h];if(x&&Kr(x)&&x.type===t)return h}return null}function Kc(n,e,t,s){let i=n[t];const o=e.data;if(function Wc(n){return n instanceof Zn}(i)){const c=i;c.resolving&&function br(n,e){throw e&&e.join(" > "),new ae(-200,n)}(jn(o[t]));const d=J_(c.canSeeViewProviders);c.resolving=!0;const m=c.injectImpl?ir(c.injectImpl):null;I0(n,s,an.Default);try{i=n[t]=c.factory(void 0,o,n,s),e.firstCreatePass&&t>=s.directiveStart&&function et(n,e,t){const{ngOnChanges:s,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(s){const c=kw(e);(t.preOrderHooks??=[]).push(n,c),(t.preOrderCheckHooks??=[]).push(n,c)}i&&(t.preOrderHooks??=[]).push(0-n,i),o&&((t.preOrderHooks??=[]).push(n,o),(t.preOrderCheckHooks??=[]).push(n,o))}(t,o[t],e)}finally{null!==m&&ir(m),J_(d),c.resolving=!1,A0()}}return i}function Qw(n,e,t){const s=1<>R0)]&s)}function Xw(n,e){return!(n&an.Self||n&an.Host&&e)}class ts{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,s){return F0(this._tNode,this._lView,e,$o(s),t)}}function ps(){return new ts(as(),me())}function An(n){return Qs(()=>{const e=n.prototype.constructor,t=e[Ua]||nd(e),s=Object.prototype;let i=Object.getPrototypeOf(n.prototype).constructor;for(;i&&i!==s;){const o=i[Ua]||nd(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function nd(n){return Oi(n)?()=>{const e=nd(dt(n));return e&&e()}:or(n)}function sd(n){const e=n[we],t=e.type;return 2===t?e.declTNode:1===t?n[Yr]:null}function io(n){return function FP(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const s=t.length;let i=0;for(;i({attributeName:n,__NG_ELEMENT_ID__:()=>io(n)}));let Yh=null;function Bh(){return Yh=Yh||new Pe}function Qc(n){return mm(Bh().parameters(n))}function mm(n){return n.map(e=>function sy(n){const e={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(n)&&n.length>0)for(let t=0;t(null===t&&(t=$s().compileInjectable(H_,`ng:///${n.name}/\u0275prov.js`,function Vh(n,e){const t=e||{providedIn:null},s={name:n.name,type:n,typeArgumentCount:0,providedIn:t.providedIn};return(Zc(t)||gm(t))&&void 0!==t.deps&&(s.deps=mm(t.deps)),Zc(t)?s.useClass=t.useClass:function rd(n){return Xc in n}(t)?s.useValue=t.useValue:gm(t)?s.useFactory=t.useFactory:function jh(n){return void 0!==n.useExisting}(t)&&(s.useExisting=t.useExisting),s}(n,e))),t)}),n.hasOwnProperty(Ua)||Object.defineProperty(n,Ua,{get:()=>{if(null===s){const i=$s();s=i.compileFactory(H_,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,typeArgumentCount:0,deps:Qc(n),target:i.FactoryTarget.Injectable})}return s},configurable:!0})}const Xc=bn({provide:String,useValue:bn});function Zc(n){return void 0!==n.useClass}function gm(n){return void 0!==n.useFactory}const Ds=Ru("Injectable",void 0,void 0,void 0,(n,e)=>rl(n,e));function id(n,e=null,t=null,s){const i=od(n,e,t,s);return i.resolveInjectorInitializers(),i}function od(n,e=null,t=null,s,i=new Set){const o=[t||In,Fc(n)];return s=s||("object"==typeof n?void 0:hn(n)),new ln(o,e||Tt(),s||null,i)}class ns{static#e=this.THROW_IF_NOT_FOUND=Uo;static#t=this.NULL=new ar;static create(e,t){if(Array.isArray(e))return id({name:""},t,e,"");{const s=e.name??"";return id({name:s},e.parent,e.providers,s)}}static#n=this.\u0275prov=Ce({token:ns,providedIn:"any",factory:()=>be(Vf)});static#s=this.__NG_ELEMENT_ID__=-1}new Ie("").__NG_ELEMENT_ID__=n=>{const e=as();if(null===e)throw new ae(204,!1);if(2&e.type)return e.value;if(n&an.Optional)return null;throw new ae(204,!1)};const ad="ngOriginalError";function Mn(n){return n[ad]}const iy=!0;class Js{static#e=this.__NG_ELEMENT_ID__=ym;static#t=this.__NG_ENV_ID__=e=>e}class $e extends Js{constructor(e){super(),this._lView=e}onDestroy(e){return Qu(this._lView,e),()=>Lw(this._lView,e)}}function ym(){return new $e(me())}class oo{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Us(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=Ce({token:oo,providedIn:"root",factory:()=>new oo})}class pe{constructor(){this.internalPendingTasks=de(oo)}add(){const e=this.internalPendingTasks.add();return()=>this.internalPendingTasks.remove(e)}static#e=this.\u0275prov=Ce({token:pe,providedIn:"root",factory:()=>new pe})}const je=class ia extends ct{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,V_()&&(this.destroyRef=de(Js,{optional:!0})??void 0,this.pendingTasks=de(oo,{optional:!0})??void 0)}emit(e){const t=I(null);try{super.next(e)}finally{I(t)}}subscribe(e,t,s){let i=e,o=t||(()=>null),c=s;if(e&&"object"==typeof e){const h=e;i=h.next?.bind(h),o=h.error?.bind(h),c=h.complete?.bind(h)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),c&&(c=this.wrapInTimeout(c)));const d=super.subscribe({next:i,error:o,complete:c});return e instanceof gt&&e.add(d),d}wrapInTimeout(e){return t=>{const s=this.pendingTasks?.add();setTimeout(()=>{e(t),void 0!==s&&this.pendingTasks?.remove(s)})}}};function Aa(...n){}function V0(n){let e,t;function s(){n=Aa;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{n(),s()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{n(),s()})),()=>s()}function vm(n){return queueMicrotask(()=>n()),()=>{n=Aa}}const Zw="isAngularZone",oy=Zw+"_ID";let YP=0;class vt{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new je(!1),this.onMicrotaskEmpty=new je(!1),this.onStable=new je(!1),this.onError=new je(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=iy}=e;if(typeof Zone>"u")throw new ae(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!i&&s,c.shouldCoalesceRunChangeDetection=i,c.callbackScheduled=!1,c.scheduleInRootZone=o,function BP(n){const e=()=>{!function H0(n){if(n.isCheckStableRunning||n.callbackScheduled)return;function e(){V0(()=>{n.callbackScheduled=!1,eS(n),n.isCheckStableRunning=!0,ay(n),n.isCheckStableRunning=!1})}n.callbackScheduled=!0,n.scheduleInRootZone?Zone.root.run(()=>{e()}):n._outer.run(()=>{e()}),eS(n)}(n)},t=YP++;n._inner=n._inner.fork({name:"angular",properties:{[Zw]:!0,[oy]:t,[oy+t]:!0},onInvokeTask:(s,i,o,c,d,h)=>{if(function ld(n){return $0(n,"__ignore_ng_zone__")}(h))return s.invokeTask(o,c,d,h);try{return U0(n),s.invokeTask(o,c,d,h)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||n.shouldCoalesceRunChangeDetection)&&e(),Mo(n)}},onInvoke:(s,i,o,c,d,h,m)=>{try{return U0(n),s.invoke(o,c,d,h,m)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!function jP(n){return $0(n,"__scheduler_tick__")}(h)&&e(),Mo(n)}},onHasTask:(s,i,o,c)=>{s.hasTask(o,c),i===o&&("microTask"==c.change?(n._hasPendingMicrotasks=c.microTask,eS(n),ay(n)):"macroTask"==c.change&&(n.hasPendingMacrotasks=c.macroTask))},onHandleError:(s,i,o,c)=>(s.handleError(o,c),n.runOutsideAngular(()=>n.onError.emit(c)),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Zw)}static assertInAngularZone(){if(!vt.isInAngularZone())throw new ae(909,!1)}static assertNotInAngularZone(){if(vt.isInAngularZone())throw new ae(909,!1)}run(e,t,s){return this._inner.run(e,t,s)}runTask(e,t,s,i){const o=this._inner,c=o.scheduleEventTask("NgZoneEvent: "+i,e,Jw,Aa,Aa);try{return o.runTask(c,t,s)}finally{o.cancelTask(c)}}runGuarded(e,t,s){return this._inner.runGuarded(e,t,s)}runOutsideAngular(e){return this._outer.run(e)}}const Jw={};function ay(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function eS(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&!0===n.callbackScheduled?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function U0(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Mo(n){n._nesting--,ay(n)}class tS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new je,this.onMicrotaskEmpty=new je,this.onStable=new je,this.onError=new je}run(e,t,s){return e.apply(t,s)}runGuarded(e,t,s){return e.apply(t,s)}runOutsideAngular(e){return e()}runTask(e,t,s,i){return e.apply(t,s)}}function $0(n,e){return!(!Array.isArray(n)||1!==n.length)&&!0===n[0]?.data?.[e]}class Co{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e);this._console.error("ERROR",e),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&Mn(e);for(;t&&Mn(t);)t=Mn(t);return t||null}}const VP=new Ie("",{providedIn:"root",factory:()=>{const n=de(vt),e=de(Co);return t=>n.runOutsideAngular(()=>e.handleError(t))}});class z0{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=de(Co,{optional:!0}),this.destroyRef=de(Js),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new ae(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{const t=this.listeners?.indexOf(e);void 0!==t&&-1!==t&&this.listeners?.splice(t,1)}}}emit(e){if(this.destroyed)throw new ae(953,!1);if(null===this.listeners)return;const t=I(null);try{for(const s of this.listeners)try{s(e)}catch(i){this.errorHandler?.handleError(i)}}finally{I(t)}}}function nS(n,e){return Al(n,e)}nS.required=function HP(n){return Al(_a,n)};function Ve(){return cd(as(),me())}function cd(n,e){return new fn(Ui(n,e))}class fn{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=Ve}function sS(n){return n instanceof fn?n.nativeElement:n}function eu(){return this._results[Symbol.iterator]()}class Hh{static#e=Symbol.iterator;get changes(){return this._changes??=new je}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=Hh.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=eu)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;const s=Sr(e);(this._changesDetected=!function qo(n,e,t){if(n.length!==e.length)return!1;for(let s=0;su2}),u2="ng",lx=new Ie(""),lo=new Ie("",{providedIn:"platform",factory:()=>"unknown"}),py=(new Ie(""),new Ie("")),cS=new Ie("",{providedIn:"root",factory:()=>tu().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),pd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},cx=new Ie("",{providedIn:"root",factory:()=>pd});function d2(){const n=new il;return"browser"===de(lo)&&(n.store=function h2(n,e){const t=n.getElementById(e+"-state");if(t?.textContent)try{return JSON.parse(t.textContent)}catch(s){console.warn("Exception while restoring TransferState for app "+e,s)}return{}}(tu(),de(hd))),n}class il{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Ce({token:il,providedIn:"root",factory:d2});get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store).replace(/null;function xm(n,e,t=!1){return md(n,e,t)}var $i;!function(n){n.Hydrated="hydrated",n.Skipped="skipped",n.Mismatched="mismatched"}($i||($i={}));new Ie("");const fx=new Ie("",{providedIn:"root",factory:()=>false});new Ie(""),new Ie("");let _y,gd;function yy(){if(void 0===_y&&(_y=null,_s.trustedTypes))try{_y=_s.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return _y}function Zh(n){return yy()?.createHTML(n)||n}function Am(){if(void 0===gd&&(gd=null,_s.trustedTypes))try{gd=_s.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return gd}function Jr(n){return Am()?.createHTML(n)||n}function Jh(n){return Am()?.createScript(n)||n}function DS(n){return Am()?.createScriptURL(n)||n}class tc{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ja})`}}class yx extends tc{getTypeName(){return"HTML"}}class vx extends tc{getTypeName(){return"Style"}}class bx extends tc{getTypeName(){return"Script"}}class f2 extends tc{getTypeName(){return"URL"}}class wx extends tc{getTypeName(){return"ResourceURL"}}function co(n){return n instanceof tc?n.changingThisBreaksApplicationSecurity:n}function ol(n,e){const t=function m2(n){return n instanceof tc&&n.getTypeName()||null}(n);if(null!=t&&t!==e){if("ResourceURL"===t&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${t} (see ${ja})`)}return t===e}function Dx(n){const e=new Cx(n);return function Qj(){try{return!!(new window.DOMParser).parseFromString(Zh(""),"text/html")}catch{return!1}}()?new Mx(e):e}class Mx{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(Zh(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}}class Cx{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const t=this.inertDocument.createElement("template");return t.innerHTML=Zh(e),t}}const su=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function nn(n){return(n=String(n)).match(su)?n:"unsafe:"+n}function nc(n){const e={};for(const t of n.split(","))e[t]=!0;return e}function _d(...n){const e={};for(const t of n)for(const s in t)t.hasOwnProperty(s)&&(e[s]=!0);return e}const al=nc("area,br,col,hr,img,wbr"),MS=nc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ex=nc("rp,rt"),v2=_d(Ex,MS),b2=_d(MS,nc("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")),CS=_d(Ex,nc("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")),ES=_d(al,b2,CS,v2),xS=nc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),w2=nc("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"),kS=nc("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"),TS=_d(xS,w2,kS),IS=nc("script,style,template");class Xj{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,s=!0,i=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?s=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,s&&t.firstChild)i.push(t),t=D2(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=S2(t);if(o){t=o;break}t=i.pop()}return this.buf.join("")}startElement(e){const t=xx(e).toLowerCase();if(!ES.hasOwnProperty(t))return this.sanitizedSomething=!0,!IS.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const s=e.attributes;for(let i=0;i"),!0}endElement(e){const t=xx(e).toLowerCase();ES.hasOwnProperty(t)&&!al.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(LS(e))}}function S2(n){const e=n.nextSibling;if(e&&n!==e.previousSibling)throw kx(e);return e}function D2(n){const e=n.firstChild;if(e&&function AS(n,e){return(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(n,e))throw kx(e);return e}function xx(n){const e=n.nodeName;return"string"==typeof e?e:"FORM"}function kx(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}const M2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,C2=/([^\#-~ |!])/g;function LS(n){return n.replace(/&/g,"&").replace(M2,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(C2,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let sc;function ep(n,e){let t=null;try{sc=sc||Dx(n);let s=e?String(e):"";t=sc.getInertBodyElement(s);let i=5,o=s;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,s=o,o=t.innerHTML,t=sc.getInertBodyElement(s)}while(s!==o);return Zh((new Xj).sanitizeChildren(PS(t)||t))}finally{if(t){const s=PS(t)||t;for(;s.firstChild;)s.firstChild.remove()}}}function PS(n){return"content"in n&&function E2(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Ei;function Ix(n){const e=Lm();return e?e.sanitize(Ei.URL,n)||"":ol(n,"URL")?co(n):nn(Wt(n))}function Ax(n){const e=Lm();if(e)return DS(e.sanitize(Ei.RESOURCE_URL,n)||"");if(ol(n,"ResourceURL"))return DS(co(n));throw new ae(904,!1)}function Lx(n,e,t){return function I2(n,e){return"src"===e&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===e&&("base"===n||"link"===n)?Ax:Ix}(e,t)(n)}function Lm(){const n=me();return n&&n[Mr].sanitizer}!function(n){n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL"}(Ei||(Ei={}));const Sy=/^>|^->||--!>|)/g,mn="\u200b$1\u200b";function RS(n){return n.replace(Sy,e=>e.replace(L2,mn))}function Bx(n){return n.ownerDocument.body}function xo(n){return n instanceof Function?n():n}function ko(n){return"browser"===(n??de(ns)).get(lo)}var rc;let Cy;function YS(n,e){return Cy(n,e)}function sp(n,e,t,s,i){if(null!=s){let o,c=!1;zs(s)?o=s:Xn(s)&&(c=!0,s=s[ds]);const d=xn(s);0===n&&null!==t?null==i?WS(e,t,d):yd(e,t,d,i||null,!0):1===n&&null!==t?yd(e,t,d,i||null,!0):2===n?ip(e,d,c):3===n&&e.destroyNode(d),null!=o&&function W2(n,e,t,s,i){const o=t[no],c=xn(t);o!==c&&sp(e,n,s,o,i);for(let d=ws;d0&&(n[t-1][Rn]=s[Rn]);const o=ba(n,ws+e);!function j2(n,e){Hx(n,e),e[ds]=null,e[Yr]=null}(s[we],s);const c=o[Fi];null!==c&&c.detachView(o[we]),s[Fs]=null,s[Rn]=null,s[We]&=-129}return s}function xy(n,e){if(!(256&e[We])){const t=e[Ot];t.destroyNode&&Om(n,e,t,3,null,null),function H2(n){let e=n[jc];if(!e)return US(n[we],n);for(;e;){let t=null;if(Xn(e))t=e[jc];else{const s=e[ws];s&&(t=s)}if(!t){for(;e&&!e[Rn]&&e!==n;)Xn(e)&&US(e[we],e),e=e[Fs];null===e&&(e=n),Xn(e)&&US(e[we],e),t=e&&e[Rn]}e=t}}(e)}}function US(n,e){if(256&e[We])return;const t=I(null);try{e[We]&=-129,e[We]|=256,e[Yi]&&De(e[Yi]),function $2(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let s=0;s=0?s[c]():s[-c].unsubscribe(),o+=2}else{const c=s[t[o+1]];t[o].call(c)}null!==s&&(e[$l]=null);const i=e[jr];if(null!==i){e[jr]=null;for(let o=0;o-1){const{encapsulation:o}=n.data[s.directiveStart+i];if(o===Wr.None||o===Wr.Emulated)return null}return Ui(s,t)}}function yd(n,e,t,s,i){n.insertBefore(e,t,s,i)}function WS(n,e,t){n.appendChild(e,t)}function $x(n,e,t,s,i){null!==s?yd(n,e,t,s,i):WS(n,e,t)}function qS(n,e){return n.parentNode(e)}function zx(n,e,t){return ll(n,e,t)}function Wx(n,e,t){return 40&n.type?Ui(n,t):null}!function(n){n[n.Important=1]="Important",n[n.DashCase=2]="DashCase"}(rc||(rc={}));let vd,ll=Wx;function qx(n,e){ll=n,vd=e}function ky(n,e,t,s){const i=$S(n,s,e),o=e[Ot],d=zx(s.parent||e[Yr],s,e);if(null!=i)if(Array.isArray(t))for(let h=0;hst&&KS(n,e,st,!1),Gl(c?2:0,i),t(s,i)}finally{nl(o),Gl(c?3:1,i)}}function op(n,e,t){if(Ah(e)){const s=I(null);try{const i=e.directiveStart,o=e.directiveEnd;for(let c=i;cnull;function ok(n,e,t,s,i){for(let o in e){if(!e.hasOwnProperty(o))continue;const c=e[o];if(void 0===c)continue;s??={};let d,h=Ko.None;Array.isArray(c)?(d=c[0],h=c[1]):d=c;let m=o;if(null!==i){if(!i.hasOwnProperty(o))continue;m=i[o]}0===n?ak(s,t,m,d,h):ak(s,t,m,d)}return s}function ak(n,e,t,s,i){let o;n.hasOwnProperty(t)?(o=n[t]).push(e,s):o=n[t]=[e,s],void 0!==i&&o.push(i)}function uo(n,e,t,s,i,o,c,d){const h=Ui(e,t);let g,m=e.inputs;!d&&null!=m&&(g=m[s])?(iD(n,t,g,s,i),Pr(e)&&function rR(n,e){const t=Vr(e,n);16&t[We]||(t[We]|=64)}(t,e.index)):3&e.type?(s=function sR(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(s),i=null!=c?c(i,e.value||"",s):i,o.setProperty(h,s,i)):e.type}function eD(n,e,t,s){if(Ta()){const i=null===s?null:{"":-1},o=function uR(n,e){const t=n.directiveRegistry;let s=null,i=null;if(t)for(let o=0;o0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(c)!=d&&c.push(d),c.push(t,s,o)}}(n,e,s,Nm(n,t,i.hostVars,Zt),i)}function cl(n,e,t,s,i,o){const c=Ui(n,e);nD(e[Ot],c,o,n.value,t,s,i)}function nD(n,e,t,s,i,o,c){if(null==o)n.removeAttribute(e,i,t);else{const d=null==c?Wt(o):c(o,s||"",i);n.setAttribute(e,i,d,t)}}function gR(n,e,t,s,i,o){const c=o[e];if(null!==c)for(let d=0;d0&&(t[i-1][Rn]=e),s{K_(n.lView)},consumerOnSignalRead(){this.lView[Yi]=this}};const ER={...$,consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let e=Xl(n.lView);for(;e&&!aD(e[we]);)e=Xl(e);e&&y0(e)},consumerOnSignalRead(){this.lView[Yi]=this}};function aD(n){return 2!==n.type}const cp=100;function Ry(n,e=!0,t=0){const s=n[Mr],i=s.rendererFactory;i.begin?.();try{!function xR(n,e){const t=E0();try{x0(!0),cD(n,e);let s=0;for(;Uc(n);){if(s===cp)throw new ae(103,!1);s++,cD(n,1)}}finally{x0(t)}}(n,t)}catch(c){throw e&&Py(n,c),c}finally{i.end?.(),s.inlineEffectRunner?.flush()}}function TR(n,e,t,s){const i=e[We];if(!(256&~i))return;e[Mr].inlineEffectRunner?.flush(),jw(e);let d=!0,h=null,m=null;aD(n)?(m=wR(e),h=lt(m)):null===N()?(d=!1,m=function CR(n){const e=n[Yi]??Object.create(ER);return e.lView=n,e}(e),h=lt(m)):e[Yi]&&(De(e[Yi]),e[Yi]=null);try{_0(e),k0(n.bindingStartIndex),null!==t&&nk(n,e,t,2,s);const g=!(3&~i);if(g){const x=n.preOrderCheckHooks;null!==x&&lr(e,x,null)}else{const x=n.preOrderHooks;null!==x&&ui(e,x,0,null),tt(e,0)}if(function _k(n){for(let e=ex(n);null!==e;e=tx(e)){if(!(e[We]&Bi.HasTransplantedViews))continue;const t=e[Ca];for(let s=0;s-1&&(rp(e,s),ba(t,s))}this._attachedToViewContainer=!1}xy(this._lView[we],this._lView)}onDestroy(e){Qu(this._lView,e)}markForCheck(){Fm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[We]&=-129}reattach(){G_(this._lView),this._lView[We]|=128}detectChanges(){this._lView[We]|=1024,Ry(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ae(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=ji(this._lView),t=this._lView[Ys];null!==t&&!e&&HS(t,this._lView),Hx(this._lView[we],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new ae(902,!1);this._appRef=e;const t=ji(this._lView),s=this._lView[Ys];null!==s&&!t&&Ux(s,this._lView),G_(this._lView)}}class di{static#e=this.__NG_ELEMENT_ID__=ou}const wk=di,IR=class extends wk{constructor(e,t,s){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=s}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,s){const i=ap(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:s});return new Dd(i)}};function ou(){return Ym(as(),me())}function Ym(n,e){return 4&n.type?new IR(e,n,cd(n,e)):null}function pD(n,e,t){const s=e.insertBeforeIndex,i=Array.isArray(s)?s[0]:s;return null===i?Wx(n,0,t):xn(t[i])}function Ek(n,e,t,s,i){const o=e.insertBeforeIndex;if(Array.isArray(o)){let c=s,d=null;if(3&e.type||(d=c,c=i),null!==c&&-1===e.componentOffset)for(let h=1;h1)for(let t=n.length-2;t>=0;t--){const s=n[t];kk(s)||YR(s,e)&&null===BR(s)&&jR(s,e.index)}}function kk(n){return!(64&n.type)}function YR(n,e){return kk(e)||n.index>e.index}function BR(n){const e=n.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function jR(n,e){const t=n.insertBeforeIndex;Array.isArray(t)?t[0]=e:(qx(pD,Ek),n.insertBeforeIndex=e)}function hp(n,e){const t=n.data[e];return null===t||"string"==typeof t?null:t.hasOwnProperty("currentCaseLViewIndex")?t:t.value}function Rr(n,e,t){const s=QS(n,t,64,null,null);return xk(e,s),s}function pp(n,e){const t=e[n.currentCaseLViewIndex];return null===t?t:t<0?~t:t}function Fy(n){return n>>>17}function Yy(n){return(131070&n)>>>1}function Ik(n){return-1===n}function By(n,e,t){n.index=0;const s=pp(e,t);n.removes=null!==s?e.remove[s]:In}function jy(n){if(n.index0)return n.lView[e];{n.stack.push(n.index,n.removes);const t=~e;return By(n,n.lView[we].data[t],n.lView),jy(n)}}return 0===n.stack.length?null:(n.removes=n.stack.pop(),n.index=n.stack.pop(),jy(n))}function $R(){const n={stack:[],index:-1};return function e(t,s){for(n.lView=s;n.stack.length;)n.stack.pop();return By(n,t.value,s),jy.bind(null,n)}}new RegExp(`^(\\d+)*(${uS}|${Dm})*(.*)`);let Pk=()=>{};let dl=()=>{};let jk=()=>null;function oc(n,e){return jk(n,e)}class xd{}const zm=new Ie("",{providedIn:"root",factory:()=>!1}),vD=(new Ie("",{providedIn:"root",factory:()=>!1}),new Ie("")),qy=new Ie("");class lO{}class Hk{}const Uk="ngComponent";class uO{resolveComponentFactory(e){throw function cO(n){const e=Error(`No component factory found for ${hn(n)}.`);return e[Uk]=n,e}(e)}}class bD{static#e=this.NULL=new uO}class kd{}class ei{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function au(){const n=me(),t=Vr(as().index,n);return(Xn(t)?t:n)[Ot]}()}class wD{static#e=this.\u0275prov=Ce({token:wD,providedIn:"root",factory:()=>null})}function SD(n){return void 0!==n.ngModule}function lu(n){return!!Dr(n)}function Gy(n){return!!bs(n)}function zk(n){return!!On(n)}function Wm(n){return!!tn(n)}function hO(n,e){if(Oi(n)&&!(n=dt(n)))throw new Error(`Expected forwardRef function, imported from "${jn(e)}", to return a standalone entity or NgModule but got "${jn(n)||n}".`);if(null==Dr(n)){const t=tn(n)||On(n)||bs(n);if(null==t)throw SD(n)?new Error(`A module with providers was imported from "${jn(e)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${jn(n)}" type, imported from "${jn(e)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!t.standalone)throw new Error(`The "${jn(n)}" ${function dO(n){return tn(n)?"component":On(n)?"directive":bs(n)?"pipe":"type"}(n)}, imported from "${jn(e)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const DD=!0;class Wk{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 e of this.ngModulesWithSomeUnresolvedDecls){const t=Dr(e);if(t?.declarations)for(const s of xo(t.declarations))Wm(s)&&this.ownerNgModule.set(s,e)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(e,t){this.resolveNgModulesDecls();const s=tn(e);if(null===s)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${e}`);if(s.standalone){const i=this.getStandaloneComponentScope(e,t);return i.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...i.compilation.directives,...i.compilation.pipes,...i.compilation.ngModules]}}{if(!this.ownerNgModule.has(e))return{dependencies:[]};const i=this.getNgModuleScope(this.ownerNgModule.get(e));return i.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...i.compilation.directives,...i.compilation.pipes]}}}registerNgModule(e,t){if(!lu(e))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${e}`);this.ngModulesWithSomeUnresolvedDecls.add(e)}clearScopeCacheFor(e){this.ngModulesScopeCache.delete(e),this.standaloneComponentsScopeCache.delete(e)}getNgModuleScope(e){if(this.ngModulesScopeCache.has(e))return this.ngModulesScopeCache.get(e);const t=this.computeNgModuleScope(e);return this.ngModulesScopeCache.set(e,t),t}computeNgModuleScope(e){const t=Dr(e,!0),s={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const i of xo(t.imports))if(lu(i)){const o=this.getNgModuleScope(i);cu(o.exported.directives,s.compilation.directives),cu(o.exported.pipes,s.compilation.pipes)}else{if(!Gr(i)){s.compilation.isPoisoned=!0;break}if(zk(i)||Wm(i))s.compilation.directives.add(i);else{if(!Gy(i))throw new ae(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");s.compilation.pipes.add(i)}}if(!s.compilation.isPoisoned)for(const i of xo(t.declarations)){if(lu(i)||Gr(i)){s.compilation.isPoisoned=!0;break}Gy(i)?s.compilation.pipes.add(i):s.compilation.directives.add(i)}for(const i of xo(t.exports))if(lu(i)){const o=this.getNgModuleScope(i);cu(o.exported.directives,s.exported.directives),cu(o.exported.pipes,s.exported.pipes),cu(o.exported.directives,s.compilation.directives),cu(o.exported.pipes,s.compilation.pipes)}else Gy(i)?s.exported.pipes.add(i):s.exported.directives.add(i);return s}getStandaloneComponentScope(e,t){if(this.standaloneComponentsScopeCache.has(e))return this.standaloneComponentsScopeCache.get(e);const s=this.computeStandaloneComponentScope(e,t);return this.standaloneComponentsScopeCache.set(e,s),s}computeStandaloneComponentScope(e,t){const s={compilation:{directives:new Set([e]),pipes:new Set,ngModules:new Set}};for(const i of Sr(t??[])){const o=dt(i);try{hO(o,e)}catch{return s.compilation.isPoisoned=!0,s}if(lu(o)){s.compilation.ngModules.add(o);const c=this.getNgModuleScope(o);if(c.exported.isPoisoned)return s.compilation.isPoisoned=!0,s;cu(c.exported.directives,s.compilation.directives),cu(c.exported.pipes,s.compilation.pipes)}else if(Gy(o))s.compilation.pipes.add(o);else{if(!zk(o)&&!Wm(o))return s.compilation.isPoisoned=!0,s;s.compilation.directives.add(o)}}return s}isOrphanComponent(e){const t=tn(e);return!(!t||t.standalone)&&(this.resolveNgModulesDecls(),!this.ownerNgModule.has(e))}}function cu(n,e){for(const t of n)e.add(t)}const yp=new Wk;function Ky(n,e,t){let s=t?n.styles:null,i=t?n.classes:null,o=0;if(null!==e)for(let c=0;c0&&Xx(n,t,o.join(" "))}}(E,xe,P,s),void 0!==t&&function mO(n,e,t){const s=n.projection=[];for(let i=0;i0;)this.remove(this.length-1)}get(e){const t=Jk(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-ws}createEmbeddedView(e,t,s){let i,o;"number"==typeof s?i=s:null!=s&&(i=s.index,o=s.injector);const c=oc(this._lContainer,e.ssrId),d=e.createEmbeddedViewImpl(t||{},o,c);return this.insertImpl(d,i,Sd(this._hostTNode,c)),d}createComponent(e,t,s,i,o){const c=e&&!zu(e);let d;if(c)d=t;else{const P=t||{};d=P.index,s=P.injector,i=P.projectableNodes,o=P.environmentInjector||P.ngModuleRef}const h=c?e:new qm(tn(e)),m=s||this.parentInjector;if(!o&&null==h.ngModule){const F=(c?m:this.parentInjector).get(It,null);F&&(o=F)}const g=tn(h.componentType??{}),b=oc(this._lContainer,g?.id??null),E=b?.firstChild??null,x=h.create(m,i,E,o);return this.insertImpl(x.hostView,d,Sd(this._hostTNode,b)),x}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,s){const i=e._lView;if(function Ql(n){return zs(n[Fs])}(i)){const d=this.indexOf(e);if(-1!==d)this.detach(d);else{const h=i[Fs],m=new Zk(h,h[Yr],h[Fs]);m.detach(m.indexOf(e))}}const o=this._adjustIndex(t),c=this._lContainer;return lp(c,i,o,s),e.attachToViewContainerRef(),Yl(Td(c),o,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=Jk(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),s=rp(this._lContainer,t);s&&(ba(Td(this._lContainer),t),xy(s[we],s))}detach(e){const t=this._adjustIndex(e,-1),s=rp(this._lContainer,t);return s&&null!=ba(Td(this._lContainer),t)?new Dd(s):null}_adjustIndex(e,t=0){return e??this.length+t}};function Jk(n){return n[8]}function Td(n){return n[8]||(n[8]=[])}function CD(n,e){let t;const s=e[n.index];return zs(s)?t=s:(t=uk(s,e,null,n),e[n.index]=t,Ly(e,t)),eT(t,e,n,s),new Zk(t,n,e)}let eT=ki,ED=()=>!1;function xD(n,e,t){return ED(n,e,t)}function ki(n,e,t,s){if(n[no])return;let i;i=8&t.type?xn(s):function vO(n,e){const t=n[Ot],s=t.createComment(""),i=Ui(e,n);return yd(t,qS(t,i),s,function z2(n,e){return n.nextSibling(e)}(t,i),!1),s}(e,t),n[no]=i}class kD{constructor(e){this.queryList=e,this.matches=null}clone(){return new kD(this.queryList)}setDirty(){this.queryList.setDirty()}}class Qy{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const s=null!==e.contentQueries?e.contentQueries[0]:t.length,i=[];for(let o=0;oe.trim())}(e):e}}class TD{constructor(e=[]){this.queries=e}elementStart(e,t){for(let s=0;s0)s.push(c[d/2]);else{const m=o[d+1],g=e[-h];for(let b=ws;b(Z(e),e.value);return t[C]=e,t}(n),s=t[C];return e?.equal&&(s.equal=e.equal),t.set=i=>Me(s,i),t.update=i=>function Cs(n,e){_e()||Jt(),Me(n,e(n.value))}(s,i),t.asReadonly=ND.bind(t),t}function ND(){const n=this[C];if(void 0===n.readonlyFn){const e=()=>this();e[C]=n,n.readonlyFn=e}return n.readonlyFn}function FD(n){return Xy(n)&&"function"==typeof n.set}function Zy(n,e){let t;const s=fe(()=>{t._dirtyCounter();const i=function dT(n,e){const t=n._lView,s=n._queryIndex;if(void 0===t||void 0===s||4&t[We])return e?void 0:In;const i=LD(t,s),o=lT(t,s);return i.reset(o,sS),e?i.first:i._changesDetected||void 0===n._flatValue?n._flatValue=i.toArray():n._flatValue}(t,n);if(e&&void 0===i)throw new ae(-951,!1);return i});return t=s[C],t._dirtyCounter=Id(0),t._flatValue=void 0,s}function YD(){return Zy(!0,!1)}function uT(){return Zy(!0,!0)}function ac(n,e){const t=n[C];t._lView=me(),t._queryIndex=e,t._queryList=LD(t._lView,e),t._queryList.onDirty(()=>t._dirtyCounter.update(s=>s+1))}function hT(n,e){return YD()}hT.required=function MO(n,e){return uT()};function BD(n,e){return YD()}BD.required=function jD(n,e){return uT()};function VD(n){const e=Object.create(yh),t=new z0;function s(){return Z(e),pT(e.value),e.value}return e.value=n,s[C]=e,s.asReadonly=ND.bind(s),s.set=i=>{e.equal(e.value,i)||(Me(e,i),t.emit(i))},s.update=i=>{pT(e.value),s.set(i(e.value))},s.subscribe=t.subscribe.bind(t),s.destroyRef=t.destroyRef,s}function pT(n){if(n===_a)throw new ae(952,!1)}function Km(n){return VD(n)}Km.required=function fT(){return VD(_a)};class Qm{}const UD=Le("ContentChildren",(n,e={})=>({selector:n,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true,...e}),Qm),Sp=Le("ContentChild",(n,e={})=>({selector:n,first:!0,isViewQuery:!1,descendants:!0,...e}),Qm),EO=Le("ViewChildren",(n,e={})=>({selector:n,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true,...e}),Qm),ze=Le("ViewChild",(n,e)=>({selector:n,first:!0,isViewQuery:!0,descendants:!0,...e}),Qm);function xO(n){const e=[],t=new Map;function s(i){let o=t.get(i);if(!o){const c=n(i);t.set(i,o=c.then(IO))}return o}return Dp.forEach((i,o)=>{const c=[];i.templateUrl&&c.push(s(i.templateUrl).then(m=>{i.template=m}));const d="string"==typeof i.styles?[i.styles]:i.styles||[];if(i.styles=d,i.styleUrl&&i.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(i.styleUrls?.length){const m=i.styles.length,g=i.styleUrls;i.styleUrls.forEach((b,E)=>{d.push(""),c.push(s(b).then(x=>{d[m+E]=x,g.splice(g.indexOf(b),1),0==g.length&&(i.styleUrls=void 0)}))})}else i.styleUrl&&c.push(s(i.styleUrl).then(m=>{d.push(m),i.styleUrl=void 0}));const h=Promise.all(c).then(()=>function AO(n){Ad.delete(n)}(o));e.push(h)}),function gT(){const n=Dp;return Dp=new Map,n}(),Promise.all(e).then(()=>{})}let Dp=new Map;const Ad=new Set;function mT(n){return!!(n.templateUrl&&!n.hasOwnProperty("template")||n.styleUrls&&n.styleUrls.length||n.styleUrl)}function IO(n){return"string"==typeof n?n:n.text()}const Jy=new Map;let LO=!0;function yT(n,e){(function _T(n,e,t){if(e&&e!==t&&LO)throw new Error(`Duplicate module registered for ${n} - ${hn(e)} vs ${hn(e.name)}`)})(e,Jy.get(e)||null,n),Jy.set(e,n)}function WD(n){return Object.getPrototypeOf(n.prototype).constructor}function kn(n){let e=WD(n.type),t=!0;const s=[n];for(;e;){let i;if(Kr(n))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new ae(903,!1);i=e.\u0275dir}if(i){if(t){s.push(i);const c=n;c.inputs=tv(n.inputs),c.inputTransforms=tv(n.inputTransforms),c.declaredInputs=tv(n.declaredInputs),c.outputs=tv(n.outputs);const d=i.hostBindings;d&&NO(n,d);const h=i.viewQuery,m=i.contentQueries;if(h&&OO(n,h),m&&vT(n,m),qD(n,i),$t(n.outputs,i.outputs),Kr(i)&&i.data.animation){const g=n.data;g.animation=(g.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let c=0;c=0;s--){const i=n[s];i.hostVars=e+=i.hostVars,i.hostAttrs=Ka(i.hostAttrs,t=Ka(t,i.hostAttrs))}}(s)}function qD(n,e){for(const t in e.inputs){if(!e.inputs.hasOwnProperty(t)||n.inputs.hasOwnProperty(t))continue;const s=e.inputs[t];if(void 0!==s&&(n.inputs[t]=s,n.declaredInputs[t]=e.declaredInputs[t],null!==e.inputTransforms)){const i=Array.isArray(s)?s[0]:s;if(!e.inputTransforms.hasOwnProperty(i))continue;n.inputTransforms??={},n.inputTransforms[i]=e.inputTransforms[i]}}}function tv(n){return n===wo?{}:n===In?[]:n}function OO(n,e){const t=n.viewQuery;n.viewQuery=t?(s,i)=>{e(s,i),t(s,i)}:e}function vT(n,e){const t=n.contentQueries;n.contentQueries=t?(s,i,o)=>{e(s,i,o),t(s,i,o)}:e}function NO(n,e){const t=n.hostBindings;n.hostBindings=t?(s,i)=>{e(s,i),t(s,i)}:e}const bT=["providersResolver"],wT=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function GD(n,e,t){if(null!==n.hostDirectives)for(const s of n.hostDirectives)if("function"==typeof s){const i=s();for(const o of i)MT(nv(o),e,t)}else MT(s,e,t)}function MT(n,e,t){const s=On(n.directive);(function FO(n,e){for(const t in e)if(e.hasOwnProperty(t)){const s=e[t],i=n[t];n[s]=i}})(s.declaredInputs,n.inputs),GD(s,e,t),t.set(s,n),e.push(s)}function nv(n){return"function"==typeof n?{directive:dt(n),inputs:wo,outputs:wo}:{directive:dt(n.directive),inputs:CT(n.inputs),outputs:CT(n.outputs)}}function CT(n){if(void 0===n||0===n.length)return wo;const e={};for(let t=0;tt()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class QD extends KD{constructor(e){super(),this.moduleType=e}create(e){return new rv(this.moduleType,e,[])}}class XD extends Ld{constructor(e){super(),this.componentFactoryResolver=new qk(this),this.instance=null;const t=new ln([...e.providers,{provide:Ld,useValue:this},{provide:bD,useValue:this.componentFactoryResolver}],e.parent||Tt(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function Xm(n,e,t=null){return new XD({providers:n,parent:e,debugName:t,runEnvironmentInitializers:!0}).injector}class iv{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(e,t,s,i){if(!this.cachedInjectors.has(e)){const o=s.length>0?Xm(s,t,i):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Ce({token:iv,providedIn:"environment",factory:()=>new iv})}function ov(n){return!!ZD(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function ZD(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function hl(n,e,t){return n[e]=t}function Zm(n,e){return n[e]}function er(n,e,t){const s=n[e];return!Object.is(s,t)&&(n[e]=t,!0)}function uu(n,e,t,s){const i=er(n,e,t);return er(n,e+1,s)||i}function av(n,e,t,s,i){const o=uu(n,e,t,s);return er(n,e+2,i)||o}function aa(n,e,t,s,i,o){const c=uu(n,e,t,s);return uu(n,e+2,i,o)||c}function Cp(n){return!(32&~n.flags)}function Jm(n,e,t,s,i,o,c,d,h,m){const g=t+st,b=e.firstCreatePass?function SV(n,e,t,s,i,o,c,d,h){const m=e.consts,g=wd(e,n,4,c||null,d||null);eD(e,t,g,yt(m,h)),wi(e,g);const b=g.tView=JS(2,g,s,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,m,null);return null!==e.queries&&(e.queries.template(e,g),b.queries=e.queries.embeddedTView(g)),g}(g,e,n,s,i,o,c,d,h):e.data[g];Ia(b,!1);const E=JD(e,n,b,t);hm()&&ky(e,n,E,b),Ci(E,n);const x=uk(E,n,E,b);return n[g]=x,Ly(n,x),xD(x,b,n),ql(b)&&XS(e,n,b),null!=h&&ZS(n,b,m),b}let JD=Ep;function Ep(n,e,t,s){return Y(!0),e[Ot].createComment("")}var dr;!function(n){n[n.NOT_STARTED=0]="NOT_STARTED",n[n.IN_PROGRESS=1]="IN_PROGRESS",n[n.COMPLETE=2]="COMPLETE",n[n.FAILED=3]="FAILED"}(dr||(dr={}));const eM=0,$O=1;var hr,xp;!function(n){n[n.Placeholder=0]="Placeholder",n[n.Loading=1]="Loading",n[n.Complete=2]="Complete",n[n.Error=3]="Error"}(hr||(hr={})),function(n){n[n.Initial=-1]="Initial"}(xp||(xp={}));const Ii=0,eg=1,tg=2,lv=3,kT=4,tM=5;var nM,Rd;function cv(n,e,t){const s=1===n?tM:kT;null===e[s]&&(e[s]=[]),e[s].push(t)}function sM(n,e){const t=1===n?tM:kT,s=e[t];if(null!==s){for(const i of s)i();e[t]=null}}function Pd(n){sM(1,n),sM(0,n)}!function(n){n[n.Manual=0]="Manual",n[n.Playthrough=1]="Playthrough"}(nM||(nM={})),function(n){n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read"}(Rd||(Rd={}));class ng{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=Ce({token:ng,providedIn:"root",factory:()=>new ng})}class Io{constructor(){this.ngZone=de(vt),this.scheduler=de(xd),this.errorHandler=de(Co,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Rd.EarlyRead,Rd.Write,Rd.MixedReadWrite,Rd.Read];execute(){this.executing=!0;for(const e of Io.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[e])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[e](t.pipelinedValue))}catch(s){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(s)}this.executing=!1;for(const e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(const e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static#t=this.\u0275prov=Ce({token:Io,providedIn:"root",factory:()=>new Io})}class zO{constructor(e,t,s,i){this.impl=e,this.hooks=t,this.once=s,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function sg(n,e){!e?.injector&&kh();const t=e?.injector??de(ns);return ko(t)?(Ti("NgAfterNextRender"),TT(n,t,e,!0)):IT}function TT(n,e,t,s){const i=e.get(ng);i.impl??=e.get(Io);const o=t?.phase??Rd.MixedReadWrite,c=!0!==t?.manualCleanup?e.get(Js):null,d=new zO(i.impl,function qO(n,e){if(n instanceof Function){const t=[void 0,void 0,void 0,void 0];return t[e]=n,t}return[n.earlyRead,n.write,n.mixedReadWrite,n.read]}(n,o),s,c);return i.impl.register(d),d}const IT={destroy(){}};function kp(n){return n+1}function Od(n,e){n[we];return n[kp(e.index)]}function Ao(n,e){const t=kp(e.index);return n.data[t]}function rM(n,e){return e===hr.Placeholder?n.placeholderBlockConfig?.[eM]??null:e===hr.Loading?n.loadingBlockConfig?.[eM]??null:null}function LT(n){return n.loadingBlockConfig?.[$O]??null}function PT(n,e){if(!n||0===n.length)return e;const t=new Set(n);for(const s of e)t.add(s);return n.length===t.size?n:Array.from(t)}const Tp={passive:!0,capture:!0},iM=new WeakMap,uv=new WeakMap,Fd=new WeakMap,RT=["click","keydown"],dv=["mouseenter","focusin"];let Ip=null,oM=0;class aM{constructor(){this.callbacks=new Set,this.listener=()=>{for(const e of this.callbacks)e()}}}function OT(n,e){let t=uv.get(n);if(!t){t=new aM,uv.set(n,t);for(const s of RT)n.addEventListener(s,t.listener,Tp)}return t.callbacks.add(e),()=>{const{callbacks:s,listener:i}=t;if(s.delete(e),0===s.size){uv.delete(n);for(const o of RT)n.removeEventListener(o,i,Tp)}}}function NT(n,e){let t=iM.get(n);if(!t){t=new aM,iM.set(n,t);for(const s of dv)n.addEventListener(s,t.listener,Tp)}return t.callbacks.add(e),()=>{const{callbacks:s,listener:i}=t;if(s.delete(e),0===s.size){for(const o of dv)n.removeEventListener(o,i,Tp);iM.delete(n)}}}function lM(n,e,t){const s=t.get(vt);let i=Fd.get(n);return Ip=Ip||s.runOutsideAngular(()=>new IntersectionObserver(o=>{for(const c of o)c.isIntersecting&&Fd.has(c.target)&&s.run(Fd.get(c.target).listener)})),i||(i=new aM,s.runOutsideAngular(()=>Ip.observe(n)),Fd.set(n,i),oM++),i.callbacks.add(e),()=>{Fd.has(n)&&(i.callbacks.delete(e),0===i.callbacks.size&&(Ip?.unobserve(n),Fd.delete(n),oM--),0===oM&&(Ip?.disconnect(),Ip=null))}}function Ap(n,e,t,s,i,o,c){const d=n[Zs],h=d.get(vt);sg({read:function m(){if(el(n))return;const g=Od(n,e),b=g[eg];if(b!==xp.Initial&&b!==hr.Placeholder)return;const E=function FT(n,e,t){return null==t?n:t>=0?v0(t,n):n[e.index][ws]??null}(n,e,s);if(!E)return void sg({read:m},{injector:d});if(el(E))return;const x=function YT(n,e){return Kl(st+e,n)}(E,t),P=i(x,()=>{h.run(()=>{n!==E&&Lw(E,P),o()})},d);n!==E&&Qu(E,P),cv(c,g,P)}},{injector:d})}function BT(n,e){const s=e[Zs].get(Yd);return s.add(n),()=>s.remove(n)}class Yd{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=de(vt),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(e){(this.executingCallbacks?this.deferred:this.current).add(e),null===this.idleId&&this.scheduleIdleCallback()}remove(e){const{current:t,deferred:s}=this;t.delete(e),s.delete(e),0===t.size&&0===s.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const e=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const t of this.current)t();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const t of this.deferred)this.current.add(t);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(e))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=Ce({token:Yd,providedIn:"root",factory:()=>new Yd})}function jT(n){return(e,t)=>JO(n,e,t)}function JO(n,e,t){const i=t[Zs].get(hv);return i.add(n,e),()=>i.remove(e)}class hv{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(e,t){const s=this.executingCallbacks?this.deferred:this.current;this.addToQueue(s,Date.now()+e,t),this.scheduleTimer()}remove(e){const{current:t,deferred:s}=this;-1===this.removeFromQueue(t,e)&&this.removeFromQueue(s,e),0===t.length&&0===s.length&&this.clearTimeout()}addToQueue(e,t,s){let i=e.length;for(let o=0;ot){i=o;break}P_(e,i,t,s)}removeFromQueue(e,t){let s=-1;for(let i=0;i-1&&Xi(e,s,2),s}scheduleTimer(){const e=()=>{this.clearTimeout(),this.executingCallbacks=!0;const s=[...this.current],i=Date.now();for(let c=0;c=0&&Xi(this.current,0,o+1),this.executingCallbacks=!1,this.deferred.length>0){for(let c=0;c0){const s=Date.now(),i=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-i>16){this.clearTimeout();const o=Math.max(i-s,16);this.invokeTimerAt=i,this.timeoutId=setTimeout(e,o)}}}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=Ce({token:hv,providedIn:"root",factory:()=>new hv})}new Ie("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR");const eN=new Ie("");function pv(n){return n.get(eN,null,{optional:!0})?.behavior!==nM.Manual&&ko(n)}let cM=null;function WT(n){const e=me(),t=as();if(Lp(e,t),ko(e[Zs])){const s=n(()=>Pp(e,t),e);cv(0,Od(e,t),s)}}function dM(n){const e=me();if(ko(e[Zs])){const t=as(),i=Ao(e[we],t);if(i.loadingState===dr.NOT_STARTED){cv(1,Od(e,t),n(()=>ig(i,e,t),e))}}}function lc(n,e,t,s=!1){const i=t[Fs],o=i[we];if(el(i))return;const c=Od(i,e);if(GT(c[eg],n)&>(c[Ii]??-1,n)){const h=i[Zs],m=Ao(o,e),b=s||!ko(h)||null===LT(m)&&null===rM(m,hr.Loading)&&!rM(m,hr.Placeholder)?qT:cM;try{b(n,c,t,e,i)}catch(E){Py(i,E)}}}function hM(n,e,t){return n.get(iv).getOrCreateInjector(e,n,t,"")}function qT(n,e,t,s,i){const o=function KO(n,e,t){const i=Ao(e[we],t);switch(n){case hr.Complete:return i.primaryTmplIndex;case hr.Loading:return i.loadingTmplIndex;case hr.Error:return i.errorTmplIndex;case hr.Placeholder:return i.placeholderTmplIndex;default:return null}}(n,i,s);if(null!==o){e[eg]=n;const c=i[we],h=Ph(c,o+st),m=0;let g;if(iu(t,m),n===hr.Complete){const x=Ao(c,s),P=x.providers;P&&P.length>0&&(g=function iN(n,e,t){if(n instanceof ra){const i=n.injector,c=hM(n.parentInjector,e,t);return new ra(i,c)}const s=n.get(It);if(s!==n){const i=hM(s,e,t);return new ra(n,i)}return hM(n,e,t)}(i[Zs],x,P))}const b=oc(t,h.tView.ssrId),E=ap(i,h,null,{dehydratedView:b,injector:g});lp(t,E,m,Sd(h,b)),Fm(E,2)}}function oN(n,e,t,s,i){const o=Date.now(),d=Ao(i[we],s);if(null===e[tg]||e[tg]<=o){e[tg]=null;const h=LT(d),m=null!==e[lv];if(n!==hr.Loading||null===h||m){n>hr.Loading&&m&&(e[lv](),e[lv]=null,e[Ii]=null),qT(n,e,t,s,i);const g=rM(d,n);null!==g&&(e[tg]=o+g,aN(g,e,s,t,i))}else{e[Ii]=n;const g=aN(h,e,s,t,i);e[lv]=g}}else e[Ii]=n}function aN(n,e,t,s,i){return JO(n,()=>{const c=e[Ii];e[tg]=null,e[Ii]=null,null!==c&&lc(c,t,s)},i)}function GT(n,e){return n{let b=!1;const E=[],x=[];for(const P of g){if("fulfilled"!==P.status){b=!0;break}{const F=P.value,H=tn(F)||On(F);if(H)E.push(H);else{const W=bs(F);W&&x.push(W)}}}if(n.loadingPromise=null,h.remove(m),b){if(n.loadingState=dr.FAILED,null===n.errorTmplIndex){const F=new ae(750,!1);Py(e,F)}}else{n.loadingState=dr.COMPLETE;const P=c.tView;if(E.length>0){P.directiveRegistry=PT(P.directiveRegistry,E);const H=Zo(!1,...E.map(W=>W.type));n.providers=H}x.length>0&&(P.pipeRegistry=PT(P.pipeRegistry,x))}}),n.loadingPromise):(n.loadingPromise=Promise.resolve().then(()=>{n.loadingPromise=null,n.loadingState=dr.COMPLETE,h.remove(m)}),n.loadingPromise)}function Lp(n,e){const t=n[e.index];lc(hr.Placeholder,e,t)}function KT(n,e,t){n.loadingPromise.then(()=>{n.loadingState===dr.COMPLETE?lc(hr.Complete,e,t):n.loadingState===dr.FAILED&&lc(hr.Error,e,t)})}function Pp(n,e){const t=n[we],s=n[e.index];if(!pv(n[Zs]))return;const o=Od(n,e),c=Ao(t,e);switch(Pd(o),c.loadingState){case dr.NOT_STARTED:lc(hr.Loading,e,s),pM(c,n,e),c.loadingState===dr.IN_PROGRESS&&KT(c,e,s);break;case dr.IN_PROGRESS:lc(hr.Loading,e,s),KT(c,e,s);break;case dr.COMPLETE:lc(hr.Complete,e,s);break;case dr.FAILED:lc(hr.Error,e,s)}}function Pa(n,e,t,s){const i=me();if(er(i,na(),e)){pn();cl(Is(),i,n,e,t,s)}return Pa}function Rp(n,e){let t=!1,s=tl();for(let o=1;o>17&32767}function j(n){return 2|n}function q(n){return(131068&n)>>2}function le(n,e){return-131069&n|e<<2}function Ae(n){return 1|n}function ot(n,e,t,s,i,o){let c=o?e.classBindings:e.styleBindings,d=D(c),h=q(c);n[s]=t;let g,m=!1;if(Array.isArray(t)){const b=t;g=b[1],(null===g||qa(b,g)>0)&&(m=!0)}else g=t;if(i)if(0!==h){const E=D(n[d+1]);n[s+1]=y(E,d),0!==E&&(n[E+1]=le(n[E+1],s)),n[d+1]=function R(n,e){return 131071&n|e<<17}(n[d+1],s)}else n[s+1]=y(d,0),0!==d&&(n[d+1]=le(n[d+1],s)),d=s;else n[s+1]=y(h,0),0===d?d=s:n[h+1]=le(n[h+1],s),h=s;m&&(n[s+1]=j(n[s+1])),ti(n,g,s,!0),ti(n,g,s,!1),function gn(n,e,t,s,i){const o=i?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof e&&qa(o,e)>=0&&(t[s+1]=Ae(t[s+1]))}(e,g,n,s,o),c=y(d,h),o?e.classBindings=c:e.styleBindings=c}function ti(n,e,t,s){const i=n[t+1],o=null===e;let c=s?D(i):q(i),d=!1;for(;0!==c&&(!1===d||o);){const h=n[c],m=n[c+1];la(h,e)&&(d=!0,n[c+1]=s?Ae(m):j(m)),c=s?D(m):q(m)}d&&(n[t+1]=s?j(i):Ae(i))}function la(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&qa(n,e)>=0}const Hn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function cg(n){return n.substring(Hn.key,Hn.keyEnd)}function cN(n){return n.substring(Hn.value,Hn.valueEnd)}function IV(n,e){const t=Hn.textEnd;return t===e?-1:(e=Hn.keyEnd=function i7(n,e,t){for(;e32;)e++;return e}(n,Hn.key=e,t),fv(n,e,t))}function AV(n,e){const t=Hn.textEnd;let s=Hn.key=fv(n,e,t);return t===s?-1:(s=Hn.keyEnd=function o7(n,e,t){let s;for(;e=65&&(-33&s)<=90||s>=48&&s<=57);)e++;return e}(n,s,t),s=PV(n,s,t,58),s=Hn.value=fv(n,s,t),s=Hn.valueEnd=function a7(n,e,t){let s=-1,i=-1,o=-1,c=e,d=c;for(;c32&&(d=c),o=i,i=s,s=-33&h}return d}(n,s,t),PV(n,s,t,59))}function LV(n){Hn.key=0,Hn.keyEnd=0,Hn.value=0,Hn.valueEnd=0,Hn.textEnd=n.length}function fv(n,e,t){for(;e=0;t=AV(e,t))YV(n,cg(e),cN(e))}function hu(n,e){for(let t=function ug(n){return LV(n),IV(n,fv(n,0,Hn.textEnd))}(e);t>=0;t=IV(e,t))Zi(n,cg(e),!0)}function cc(n,e,t,s){const i=me(),o=pn(),c=Zl(2);if(o.firstUpdatePass&&FV(o,n,c,s),e!==Zt&&er(i,c,e)){BV(o,o.data[Hr()],i,i[Ot],n,i[c+1]=function _7(n,e){return null==n||""===n||("string"==typeof e?n+=e:"object"==typeof n&&(n=hn(co(n)))),n}(e,t),s,c)}}function uc(n,e,t,s){const i=pn(),o=Zl(2);i.firstUpdatePass&&FV(i,null,o,s);const c=me();if(t!==Zt&&er(c,o,t)){const d=i.data[Hr()];if(VV(d,s)&&!NV(i,o)){let h=s?d.classesWithoutHost:d.stylesWithoutHost;null!==h&&(t=If(h,t||"")),uN(i,d,c,t,s)}else!function g7(n,e,t,s,i,o,c,d){i===Zt&&(i=In);let h=0,m=0,g=0=n.expandoStartIndex}function FV(n,e,t,s){const i=n.data;if(null===i[t+1]){const o=i[Hr()],c=NV(n,t);VV(o,s)&&null===e&&!c&&(e=!1),e=function u7(n,e,t,s){const i=Yw(n);let o=s?e.residualClasses:e.residualStyles;if(null===i)0===(s?e.classBindings:e.styleBindings)&&(t=dN(null,n,e,t,s),t=fM(t,e.attrs,s),o=null);else{const c=e.directiveStylingLast;if(-1===c||n[c]!==i)if(t=dN(i,n,e,t,s),null===o){let h=function d7(n,e,t){const s=t?e.classBindings:e.styleBindings;if(0!==q(s))return n[D(s)]}(n,e,s);void 0!==h&&Array.isArray(h)&&(h=dN(null,n,e,h[1],s),h=fM(h,e.attrs,s),function h7(n,e,t,s){const i=t?e.classBindings:e.styleBindings;n[D(i)]=s}(n,e,s,h))}else o=function p7(n,e,t){let s;const i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){const h=n[i],m=Array.isArray(h),g=m?h[1]:h,b=null===g;let E=t[i+1];E===Zt&&(E=b?In:void 0);let x=b?O_(E,s):g===s?E:void 0;if(m&&!JT(x)&&(x=O_(h,s)),JT(x)&&(d=x,c))return d;const P=n[i+1];i=c?D(P):q(P)}if(null!==e){let h=o?e.residualClasses:e.residualStyles;null!=h&&(d=O_(h,s))}return d}function JT(n){return void 0!==n}function VV(n,e){return!!(n.flags&(e?8:16))}class k7{destroy(e){}updateValue(e,t){}swap(e,t){const s=Math.min(e,t),i=Math.max(e,t),o=this.detach(i);if(i-s>1){const c=this.detach(s);this.attach(s,o),this.attach(i,c)}else this.attach(s,o)}move(e,t){this.attach(t,this.detach(e))}}function hN(n,e,t,s,i){return n===t&&Object.is(e,s)?1:Object.is(i(n,e),i(t,s))?-1:0}function pN(n,e,t,s){return!(void 0===e||!e.has(s))&&(n.attach(t,e.get(s)),e.delete(s),!0)}function HV(n,e,t,s,i){if(pN(n,e,s,t(s,i)))n.updateValue(s,i);else{const o=n.create(s,i);n.attach(s,o)}}function UV(n,e,t,s){const i=new Set;for(let o=e;o<=t;o++)i.add(s(o,n.at(o)));return i}class $V{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;const t=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let s=this.kvMap.get(e);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(s);)s=i.get(s);i.set(s,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,s]of this.kvMap)if(e(s,t),void 0!==this._vMap){const i=this._vMap;for(;i.has(s);)s=i.get(s),e(s,t)}}}class A7{constructor(e,t,s){this.lContainer=e,this.$implicit=t,this.$index=s}get $count(){return this.lContainer.length-ws}}class R7{constructor(e,t,s){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=s}}class N7 extends k7{constructor(e,t,s){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=s,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ws}at(e){return this.getLView(e)[os].$implicit}attach(e,t){const s=t[ci];this.needsIndexUpdate||=e!==this.length,lp(this.lContainer,t,e,Sd(this.templateTNode,s))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,function Y7(n,e){return rp(n,e)}(this.lContainer,e)}create(e,t){const s=oc(this.lContainer,this.templateTNode.tView.ssrId),i=ap(this.hostLView,this.templateTNode,new A7(this.lContainer,t,e),{dehydratedView:s});return this.operationsCounter?.recordCreate(),i}destroy(e){xy(e[we],e),this.operationsCounter?.recordDestroy()}updateValue(e,t){this.getLView(e)[os].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(Y(!0),Ey(s,i,zw()));function mN(n,e,t){const s=me(),i=pn(),o=n+st,c=i.firstCreatePass?function U7(n,e,t,s,i){const o=e.consts,c=yt(o,s),d=wd(e,n,8,"ng-container",c);return null!==c&&Ky(d,c,!0),eD(e,t,d,yt(o,i)),null!==e.queries&&e.queries.elementStart(e,d),d}(o,i,s,e,t):i.data[o];Ia(c,!0);const d=qV(i,s,c,n);return s[o]=d,hm()&&ky(i,s,d,c),Ci(d,s),ql(c)&&(XS(i,s,c),op(i,c,s)),null!=t&&ZS(s,c),mN}function gN(){let n=as();const e=pn();return Nw()?Q_():(n=n.parent,Ia(n,!1)),e.firstCreatePass&&(wi(e,n),Ah(n)&&e.queries.elementEnd(n)),gN}let qV=(n,e,t,s)=>(Y(!0),VS(e[Ot],""));const hg=void 0;var G7=["en",[["a","p"],["AM","PM"],hg],[["AM","PM"],hg,hg],[["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"]],hg,[["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"]],hg,[["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}",hg,"{1} 'at' {0}",hg],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function q7(n){const t=Math.floor(Math.abs(n)),s=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===s?1:5}];let mv={};function Lo(n){const e=function K7(n){return n.toLowerCase().replace(/_/g,"-")}(n);let t=XV(e);if(t)return t;const s=e.split("-")[0];if(t=XV(s),t)return t;if("en"===s)return G7;throw new ae(701,!1)}function QV(n){return Lo(n)[Bs.PluralCase]}function XV(n){return n in mv||(mv[n]=_s.ng&&_s.ng.common&&_s.ng.common.locales&&_s.ng.common.locales[n]),mv[n]}var Bs;!function(n){n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencyCode=15]="CurrencyCode",n[n.CurrencySymbol=16]="CurrencySymbol",n[n.CurrencyName=17]="CurrencyName",n[n.Currencies=18]="Currencies",n[n.Directionality=19]="Directionality",n[n.PluralCase=20]="PluralCase",n[n.ExtraData=21]="ExtraData"}(Bs||(Bs={}));const Q7=["zero","one","two","few","many"];const rI="en-US",iI={marker:"element"},oI={marker:"ICU"};var Po;!function(n){n[n.SHIFT=2]="SHIFT",n[n.APPEND_EAGERLY=1]="APPEND_EAGERLY",n[n.COMMENT=2]="COMMENT"}(Po||(Po={}));let ZV=rI;let mM=0,gM=0;function JV(n,e,t){const s=n[Ot];switch(t){case Node.COMMENT_NODE:return VS(s,e);case Node.TEXT_NODE:return BS(s,e);case Node.ELEMENT_NODE:return Ey(s,e,null)}}let _M=(n,e,t,s)=>(Y(!0),JV(n,t,s));function eH(n,e,t,s){const i=t[Ot];let c,o=null;for(let d=0;d>>1,x=e[++d],P=e[++d];nD(i,Kl(E,t),null,null,x,P,null)}else switch(h){case oI:const m=e[++d],g=e[++d];if(null===t[g]){Ci(t[g]=_M(t,g,m,Node.COMMENT_NODE),t)}break;case iI:const b=e[++d],E=e[++d];if(null===t[E]){Ci(t[E]=_M(t,E,b,Node.ELEMENT_NODE),t)}}}}function tH(n,e,t,s,i){for(let o=0;o>>2;switch(3&g){case 1:const E=t[++m],x=t[++m],P=n.data[b];"string"==typeof P?nD(e[Ot],e[b],null,P,E,h,x):uo(n,P,e,E,h,e[Ot],x,!1);break;case 0:const F=e[b];null!==F&&jS(e[Ot],F,h);break;case 2:o9(n,hp(n,b),e,h);break;case 3:nH(n,hp(n,b),s,e)}}}}else{const h=t[o+1];if(h>0&&!(3&~h)){const g=hp(n,h>>>2);e[g.currentCaseLViewIndex]<0&&nH(n,g,s,e)}}o+=d}}function nH(n,e,t,s){let i=s[e.currentCaseLViewIndex];if(null!==i){let o=mM;i<0&&(i=s[e.currentCaseLViewIndex]=~i,o=-1),tH(n,s,e.update[i],t,o)}}function o9(n,e,t,s){const i=function a9(n,e){let t=n.cases.indexOf(e);if(-1===t)switch(n.type){case 1:{const s=function X7(n,e){const t=QV(e)(parseInt(n,10)),s=Q7[t];return void 0!==s?s:"other"}(e,function e9(){return ZV}());t=n.cases.indexOf(s),-1===t&&"other"!==s&&(t=n.cases.indexOf("other"));break}case 0:t=n.cases.indexOf("other")}return-1===t?null:t}(e,s);if(pp(e,t)!==i&&(sH(n,e,t),t[e.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const c=t[e.anchorIdx];c&&eH(n,e.create[i],t,c),function iO(n,e,t){dl(n,e,t)}(t,e.anchorIdx,i)}}function sH(n,e,t){let s=pp(e,t);if(null!==s){const i=e.remove[s];for(let o=0;o0){const d=Kl(c,t);null!==d&&ip(t[Ot],d)}else sH(n,hp(n,~c),t)}}}const aI=/\ufffd(\d+):?\d*\ufffd/gi,l9=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,c9=/\ufffd(\d+)\ufffd/,iH=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,yM="\ufffd",u9=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,d9=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,h9=/\uE500/g;function f9(n,e,t,s,i,o){const c=cm(),d=[],h=[],m=[[]],g=[[]];i=function y9(n,e){if(Ik(e))return lH(n);{const t=n.indexOf(`:${e}${yM}`)+2+e.toString().length,s=n.search(new RegExp(`${yM}\\/\\*\\d+:${e}${yM}`));return lH(n.substring(t,s))}}(i,o);const b=function p9(n){return n.replace(h9," ")}(i).split(d9);for(let E=0;Et.length&&t.push(h)}return{type:s,mainBinding:i,cases:e,values:t}}function _N(n){if(!n)return[];let e=0;const t=[],s=[],i=/[{}]/g;let o;for(i.lastIndex=0;o=i.exec(n);){const d=o.index;if("}"==o[0]){if(t.pop(),0==t.length){const h=n.substring(e,d);iH.test(h)?s.push(v9(h)):s.push(h),e=d+1}}else{if(0==t.length){const h=n.substring(e,d);s.push(h),e=d+1}t.push("{")}}const c=n.substring(e);return s.push(c),s}function b9(n,e,t,s,i,o,c,d,h){const m=[],g=[],b=[];t.cases.push(c),t.create.push(m),t.remove.push(g),t.update.push(b);const x=Dx(tu()).getInertBodyElement(d),P=PS(x)||x;return P?uH(n,e,t,s,i,m,g,b,P,o,h,0):0}function uH(n,e,t,s,i,o,c,d,h,m,g,b){let E=0,x=h.firstChild;for(;x;){const P=Nm(e,s,1,null);switch(x.nodeType){case Node.ELEMENT_NODE:const F=x,H=F.tagName.toLowerCase();if(ES.hasOwnProperty(H)){yN(o,iI,H,m,P),e.data[P]=H;const ce=F.attributes;for(let xe=0;xe>>Po.SHIFT;let b=n[g],E=!1;null===b&&(b=n[g]=_M(n,g,d,h?Node.COMMENT_NODE:Node.TEXT_NODE),E=hm()),m&&null!==t&&E&&yd(i,t,b,s,!1)}}(i,h.create,g,b),T0(!0)}function fH(){T0(!1)}let gH=(n,e,t)=>{};function pl(n,e,t,s){const i=me(),o=pn(),c=as();return vN(o,i,i[Ot],c,n,e,s),pl}function vN(n,e,t,s,i,o,c){const d=ql(s),m=n.firstCreatePass&&hk(n),g=e[os],b=rD(e);let E=!0;if(3&s.type||c){const F=Ui(s,e),H=c?c(F):F,W=b.length,z=c?ce=>c(xn(ce[s.index])):s.index;let ie=null;if(!c&&d&&(ie=function F9(n,e,t,s){const i=n.cleanup;if(null!=i)for(let o=0;oh?d[h]:null}"string"==typeof c&&(o+=2)}return null}(n,e,i,s.index)),null!==ie){(ie.__ngLastListenerFn__||ie).__ngNextListenerFn__=o,ie.__ngLastListenerFn__=o,E=!1}else{o=bH(s,e,g,o),gH(F,i,o);const ce=t.listen(H,i,o);b.push(o,ce),m&&m.push(i,z,W,W+1)}}else o=bH(s,e,g,o);const x=s.outputs;let P;if(E&&null!==x&&(P=x[i])){const F=P.length;if(F)for(let H=0;H-1?Vr(n.index,e):e,5);let d=vH(e,t,s,o),h=i.__ngNextListenerFn__;for(;h;)d=vH(e,t,h,o)&&d,h=h.__ngNextListenerFn__;return d}}function B9(n,e){let t=null;const s=function ww(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(!(1&t))return e[t+1]}return null}(n);for(let i=0;i=n.data.length&&(n.data[t]=null,n.blueprint[t]=null),e[t]=s}let UH=(n,e,t,s,i)=>(Y(!0),BS(e[Ot],s));function MN(n,e,t){const s=me(),i=og(s,n,e,t);return i!==Zt&&ic(s,Hr(),i),MN}const t8={};function CN(n,e,t,s,i){if(n=dt(n),Array.isArray(n))for(let o=0;o>20;if(Xa(n)||!n.multi){const x=new Zn(m,i,ue),P=xN(h,e,i?g:g+E,b);-1===P?(ny(ey(d,c),o,h),EN(o,n,e.length),e.push(h),d.directiveStart++,d.directiveEnd++,i&&(d.providerIndexes+=1048576),t.push(x),c.push(x)):(t[P]=x,c[P]=x)}else{const x=xN(h,e,g+E,b),P=xN(h,e,g,g+E),F=x>=0&&t[x],H=P>=0&&t[P];if(i&&!H||!i&&!F){ny(ey(d,c),o,h);const W=function cq(n,e,t,s,i){const o=new Zn(n,t,ue);return o.multi=[],o.index=e,o.componentProviders=0,s8(o,i,s&&!t),o}(i?lq:aq,t.length,i,s,m);!i&&H&&(t[P].providerFactory=W),EN(o,n,e.length,0),e.push(h),d.directiveStart++,d.directiveEnd++,i&&(d.providerIndexes+=1048576),t.push(W),c.push(W)}else{EN(o,n,x>-1?x:P,s8(t[i?P:x],m,!i&&s))}!i&&s&&H&&t[P].componentProviders++}}}function EN(n,e,t,s){const i=Xa(e),o=function Dw(n){return!!n.useClass}(e);if(i||o){const h=(o?dt(e.useClass):e).prototype.ngOnDestroy;if(h){const m=n.destroyHooks||(n.destroyHooks=[]);if(!i&&e.multi){const g=m.indexOf(t);-1===g?m.push(t,[s,h]):m[g+1].push(s,h)}else m.push(t,h)}}}function s8(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function xN(n,e,t,s){for(let i=t;i{t.providersResolver=(s,i)=>function oq(n,e,t){const s=pn();if(s.firstCreatePass){const i=Kr(n);CN(t,s.data,s.blueprint,i,!0),CN(e,s.data,s.blueprint,i,!1)}}(s,i?i(n):n,e)}}class lI{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const t=Zo(0,e.type),s=t.length>0?Xm([t],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,s)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Ce({token:lI,providedIn:"environment",factory:()=>new lI(be(It))})}function cI(n){Ti("NgStandalone"),n.getStandaloneInjector=e=>e.get(lI).getOrCreateStandaloneInjector(n)}function uI(n){if("function"==typeof n)return n;const e=Sr(n);return e.some(Oi)?()=>e.map(dt).map(r8):e.map(r8)}function r8(n){return SD(n)?n.ngModule:n}function bM(n,e){const t=n[e];return t===Zt?void 0:t}function o8(n,e,t,s,i,o){const c=e+t;return er(n,c,i)?hl(n,c+1,o?s.call(o,i):s(i)):bM(n,c+1)}function a8(n,e,t,s,i,o,c){const d=e+t;return uu(n,d,i,o)?hl(n,d+2,c?s.call(c,i,o):s(i,o)):bM(n,d+2)}function l8(n,e,t,s,i,o,c,d){const h=e+t;return av(n,h,i,o,c)?hl(n,h+3,d?s.call(d,i,o,c):s(i,o,c)):bM(n,h+3)}function c8(n,e,t,s,i,o,c,d,h){const m=e+t;return aa(n,m,i,o,c,d)?hl(n,m+4,h?s.call(h,i,o,c,d):s(i,o,c,d)):bM(n,m+4)}function u8(n,e,t,s,i,o){let c=e+t,d=!1;for(let h=0;h{const s=Array.isArray(n);null===t.hostDirectives?(t.findHostDirectiveDefs=GD,t.hostDirectives=s?n.map(nv):[n]):s?t.hostDirectives.unshift(...n.map(nv)):t.hostDirectives.unshift(n)};return e.ngInherit=!0,e},\u0275\u0275NgOnChangesFeature:Ss,\u0275\u0275ProvidersFeature:Nn,\u0275\u0275CopyDefinitionFeature:function ST(n){let t,e=WD(n.type);t=Kr(n)?e.\u0275cmp:e.\u0275dir;const s=n;for(const i of bT)s[i]=t[i];if(Kr(t))for(const i of wT)s[i]=t[i]},\u0275\u0275InheritDefinitionFeature:kn,\u0275\u0275InputTransformsFeature:La,\u0275\u0275StandaloneFeature:cI,\u0275\u0275nextContext:function Y9(n=1){return function IP(n){return(Ft.lFrame.contextLView=v0(n,Ft.lFrame.contextLView))[os]}(n)},\u0275\u0275namespaceHTML:function PP(){!function RP(){Ft.lFrame.currentNamespace=null}()},\u0275\u0275namespaceMathML:function LP(){Ft.lFrame.currentNamespace="math"},\u0275\u0275namespaceSVG:function AP(){Ft.lFrame.currentNamespace="svg"},\u0275\u0275enableBindings:function S0(){Ft.bindingsEnabled=!0},\u0275\u0275disableBindings:function Rw(){Ft.bindingsEnabled=!1},\u0275\u0275elementStart:tI,\u0275\u0275elementEnd:nI,\u0275\u0275element:sI,\u0275\u0275elementContainerStart:mN,\u0275\u0275elementContainerEnd:gN,\u0275\u0275elementContainer:function WV(n,e,t){return mN(n,e,t),gN(),WV},\u0275\u0275pureFunction0:function pq(n,e,t){const s=Cr()+n,i=me();return i[s]===Zt?hl(i,s,t?e.call(t):e()):Zm(i,s)},\u0275\u0275pureFunction1:function fq(n,e,t,s){return o8(me(),Cr(),n,e,t,s)},\u0275\u0275pureFunction2:function mq(n,e,t,s,i){return a8(me(),Cr(),n,e,t,s,i)},\u0275\u0275pureFunction3:function gq(n,e,t,s,i,o){return l8(me(),Cr(),n,e,t,s,i,o)},\u0275\u0275pureFunction4:function _q(n,e,t,s,i,o,c){return c8(me(),Cr(),n,e,t,s,i,o,c)},\u0275\u0275pureFunction5:function yq(n,e,t,s,i,o,c,d){const h=Cr()+n,m=me(),g=aa(m,h,t,s,i,o);return er(m,h+4,c)||g?hl(m,h+5,d?e.call(d,t,s,i,o,c):e(t,s,i,o,c)):Zm(m,h+5)},\u0275\u0275pureFunction6:function vq(n,e,t,s,i,o,c,d,h){const m=Cr()+n,g=me(),b=aa(g,m,t,s,i,o);return uu(g,m+4,c,d)||b?hl(g,m+6,h?e.call(h,t,s,i,o,c,d):e(t,s,i,o,c,d)):Zm(g,m+6)},\u0275\u0275pureFunction7:function bq(n,e,t,s,i,o,c,d,h,m){const g=Cr()+n,b=me();let E=aa(b,g,t,s,i,o);return av(b,g+4,c,d,h)||E?hl(b,g+7,m?e.call(m,t,s,i,o,c,d,h):e(t,s,i,o,c,d,h)):Zm(b,g+7)},\u0275\u0275pureFunction8:function wq(n,e,t,s,i,o,c,d,h,m,g){const b=Cr()+n,E=me(),x=aa(E,b,t,s,i,o);return aa(E,b+4,c,d,h,m)||x?hl(E,b+8,g?e.call(g,t,s,i,o,c,d,h,m):e(t,s,i,o,c,d,h,m)):Zm(E,b+8)},\u0275\u0275pureFunctionV:function Sq(n,e,t,s){return u8(me(),Cr(),n,e,t,s)},\u0275\u0275getCurrentView:function W7(){return me()},\u0275\u0275restoreView:function $c(n){return Ft.lFrame.contextLView=n,n[os]},\u0275\u0275listener:pl,\u0275\u0275projection:SH,\u0275\u0275syntheticHostProperty:function KV(n,e,t){const s=me();if(er(s,na(),e)){const o=pn(),c=Is();uo(o,c,s,n,e,pk(Yw(o.data),c,s),t,!0)}return KV},\u0275\u0275syntheticHostListener:function yH(n,e){const t=as(),s=me(),i=pn();return vN(i,s,pk(Yw(i.data),t,s),t,n,e),yH},\u0275\u0275pipeBind1:function Cq(n,e,t){const s=n+st,i=me(),o=ka(i,s);return wM(i,s)?o8(i,Cr(),e,o.transform,t,o):o.transform(t)},\u0275\u0275pipeBind2:function Eq(n,e,t,s){const i=n+st,o=me(),c=ka(o,i);return wM(o,i)?a8(o,Cr(),e,c.transform,t,s,c):c.transform(t,s)},\u0275\u0275pipeBind3:function xq(n,e,t,s,i){const o=n+st,c=me(),d=ka(c,o);return wM(c,o)?l8(c,Cr(),e,d.transform,t,s,i,d):d.transform(t,s,i)},\u0275\u0275pipeBind4:function kq(n,e,t,s,i,o){const c=n+st,d=me(),h=ka(d,c);return wM(d,c)?c8(d,Cr(),e,h.transform,t,s,i,o,h):h.transform(t,s,i,o)},\u0275\u0275pipeBindV:function Tq(n,e,t){const s=n+st,i=me(),o=ka(i,s);return wM(i,s)?u8(i,Cr(),e,o.transform,t,o):o.transform.apply(o,t)},\u0275\u0275projectionDef:wH,\u0275\u0275hostProperty:function GV(n,e,t){const s=me();if(er(s,na(),e)){uo(pn(),Is(),s,n,e,s[Ot],t,!0)}return GV},\u0275\u0275property:function OV(n,e,t){const s=me();if(er(s,na(),e)){uo(pn(),Is(),s,n,e,s[Ot],t,!1)}return OV},\u0275\u0275propertyInterpolate:function DH(n,e,t){return bN(n,"",e,"",t),DH},\u0275\u0275propertyInterpolate1:bN,\u0275\u0275propertyInterpolate2:function MH(n,e,t,s,i,o,c){const d=me(),h=Op(d,e,t,s,i,o);if(h!==Zt){uo(pn(),Is(),d,n,h,d[Ot],c,!1)}return MH},\u0275\u0275propertyInterpolate3:function CH(n,e,t,s,i,o,c,d,h){const m=me(),g=Np(m,e,t,s,i,o,c,d);if(g!==Zt){uo(pn(),Is(),m,n,g,m[Ot],h,!1)}return CH},\u0275\u0275propertyInterpolate4:function EH(n,e,t,s,i,o,c,d,h,m,g){const b=me(),E=ag(b,e,t,s,i,o,c,d,h,m);if(E!==Zt){uo(pn(),Is(),b,n,E,b[Ot],g,!1)}return EH},\u0275\u0275propertyInterpolate5:function xH(n,e,t,s,i,o,c,d,h,m,g,b,E){const x=me(),P=Fp(x,e,t,s,i,o,c,d,h,m,g,b);if(P!==Zt){uo(pn(),Is(),x,n,P,x[Ot],E,!1)}return xH},\u0275\u0275propertyInterpolate6:function kH(n,e,t,s,i,o,c,d,h,m,g,b,E,x,P){const F=me(),H=Yp(F,e,t,s,i,o,c,d,h,m,g,b,E,x);if(H!==Zt){uo(pn(),Is(),F,n,H,F[Ot],P,!1)}return kH},\u0275\u0275propertyInterpolate7:function TH(n,e,t,s,i,o,c,d,h,m,g,b,E,x,P,F,H){const W=me(),z=lg(W,e,t,s,i,o,c,d,h,m,g,b,E,x,P,F);if(z!==Zt){uo(pn(),Is(),W,n,z,W[Ot],H,!1)}return TH},\u0275\u0275propertyInterpolate8:function IH(n,e,t,s,i,o,c,d,h,m,g,b,E,x,P,F,H,W,z){const ie=me(),ce=Bp(ie,e,t,s,i,o,c,d,h,m,g,b,E,x,P,F,H,W);if(ce!==Zt){uo(pn(),Is(),ie,n,ce,ie[Ot],z,!1)}return IH},\u0275\u0275propertyInterpolateV:function AH(n,e,t){const s=me(),i=Rp(s,e);if(i!==Zt){uo(pn(),Is(),s,n,i,s[Ot],t,!1)}return AH},\u0275\u0275pipe:function Dq(n,e){const t=pn();let s;const i=n+st;t.firstCreatePass?(s=function Mq(n,e){if(e)for(let t=e.length-1;t>=0;t--){const s=e[t];if(n===s.name)return s}}(e,t.pipeRegistry),t.data[i]=s,s.onDestroy&&(t.destroyHooks??=[]).push(i,s.onDestroy)):s=t.data[i];const o=s.factory||(s.factory=or(s.type)),d=ir(ue);try{const h=J_(!1),m=o();return J_(h),DN(t,me(),i,m),m}finally{ir(d)}},\u0275\u0275queryRefresh:wN,\u0275\u0275queryAdvance:function U9(n=1){X_(dm()+n)},\u0275\u0275viewQuery:PH,\u0275\u0275viewQuerySignal:function H9(n,e,t,s){ac(n,PD(e,t,s))},\u0275\u0275loadQuery:SN,\u0275\u0275contentQuery:LH,\u0275\u0275contentQuerySignal:function V9(n,e,t,s,i){ac(e,oT(n,t,s,i))},\u0275\u0275reference:function $9(n){return ka(um(),st+n)},\u0275\u0275classMap:function c7(n){uc(m7,hu,n,!0)},\u0275\u0275classMapInterpolate1:function y7(n,e,t){uc(Zi,hu,og(me(),n,e,t),!0)},\u0275\u0275classMapInterpolate2:function v7(n,e,t,s,i){uc(Zi,hu,Op(me(),n,e,t,s,i),!0)},\u0275\u0275classMapInterpolate3:function b7(n,e,t,s,i,o,c){uc(Zi,hu,Np(me(),n,e,t,s,i,o,c),!0)},\u0275\u0275classMapInterpolate4:function w7(n,e,t,s,i,o,c,d,h){uc(Zi,hu,ag(me(),n,e,t,s,i,o,c,d,h),!0)},\u0275\u0275classMapInterpolate5:function S7(n,e,t,s,i,o,c,d,h,m,g){uc(Zi,hu,Fp(me(),n,e,t,s,i,o,c,d,h,m,g),!0)},\u0275\u0275classMapInterpolate6:function D7(n,e,t,s,i,o,c,d,h,m,g,b,E){uc(Zi,hu,Yp(me(),n,e,t,s,i,o,c,d,h,m,g,b,E),!0)},\u0275\u0275classMapInterpolate7:function M7(n,e,t,s,i,o,c,d,h,m,g,b,E,x,P){uc(Zi,hu,lg(me(),n,e,t,s,i,o,c,d,h,m,g,b,E,x,P),!0)},\u0275\u0275classMapInterpolate8:function C7(n,e,t,s,i,o,c,d,h,m,g,b,E,x,P,F,H){uc(Zi,hu,Bp(me(),n,e,t,s,i,o,c,d,h,m,g,b,E,x,P,F,H),!0)},\u0275\u0275classMapInterpolateV:function E7(n){uc(Zi,hu,Rp(me(),n),!0)},\u0275\u0275styleMap:du,\u0275\u0275styleMapInterpolate1:function z9(n,e,t){du(og(me(),n,e,t))},\u0275\u0275styleMapInterpolate2:function W9(n,e,t,s,i){du(Op(me(),n,e,t,s,i))},\u0275\u0275styleMapInterpolate3:function q9(n,e,t,s,i,o,c){du(Np(me(),n,e,t,s,i,o,c))},\u0275\u0275styleMapInterpolate4:function G9(n,e,t,s,i,o,c,d,h){du(ag(me(),n,e,t,s,i,o,c,d,h))},\u0275\u0275styleMapInterpolate5:function K9(n,e,t,s,i,o,c,d,h,m,g){du(Fp(me(),n,e,t,s,i,o,c,d,h,m,g))},\u0275\u0275styleMapInterpolate6:function Q9(n,e,t,s,i,o,c,d,h,m,g,b,E){du(Yp(me(),n,e,t,s,i,o,c,d,h,m,g,b,E))},\u0275\u0275styleMapInterpolate7:function X9(n,e,t,s,i,o,c,d,h,m,g,b,E,x,P){du(lg(me(),n,e,t,s,i,o,c,d,h,m,g,b,E,x,P))},\u0275\u0275styleMapInterpolate8:function Z9(n,e,t,s,i,o,c,d,h,m,g,b,E,x,P,F,H){du(Bp(me(),n,e,t,s,i,o,c,d,h,m,g,b,E,x,P,F,H))},\u0275\u0275styleMapInterpolateV:function J9(n){du(Rp(me(),n))},\u0275\u0275styleProp:ZT,\u0275\u0275stylePropInterpolate1:function RH(n,e,t,s,i){return cc(n,og(me(),e,t,s),i,!1),RH},\u0275\u0275stylePropInterpolate2:function OH(n,e,t,s,i,o,c){return cc(n,Op(me(),e,t,s,i,o),c,!1),OH},\u0275\u0275stylePropInterpolate3:function NH(n,e,t,s,i,o,c,d,h){return cc(n,Np(me(),e,t,s,i,o,c,d),h,!1),NH},\u0275\u0275stylePropInterpolate4:function FH(n,e,t,s,i,o,c,d,h,m,g){return cc(n,ag(me(),e,t,s,i,o,c,d,h,m),g,!1),FH},\u0275\u0275stylePropInterpolate5:function YH(n,e,t,s,i,o,c,d,h,m,g,b,E){return cc(n,Fp(me(),e,t,s,i,o,c,d,h,m,g,b),E,!1),YH},\u0275\u0275stylePropInterpolate6:function BH(n,e,t,s,i,o,c,d,h,m,g,b,E,x,P){return cc(n,Yp(me(),e,t,s,i,o,c,d,h,m,g,b,E,x),P,!1),BH},\u0275\u0275stylePropInterpolate7:function jH(n,e,t,s,i,o,c,d,h,m,g,b,E,x,P,F,H){return cc(n,lg(me(),e,t,s,i,o,c,d,h,m,g,b,E,x,P,F),H,!1),jH},\u0275\u0275stylePropInterpolate8:function VH(n,e,t,s,i,o,c,d,h,m,g,b,E,x,P,F,H,W,z){return cc(n,Bp(me(),e,t,s,i,o,c,d,h,m,g,b,E,x,P,F,H,W),z,!1),VH},\u0275\u0275stylePropInterpolateV:function HH(n,e,t){return cc(n,Rp(me(),e),t,!1),HH},\u0275\u0275classProp:dg,\u0275\u0275advance:Jx,\u0275\u0275template:function xT(n,e,t,s,i,o,c,d){const h=me(),m=pn();return Jm(h,m,n,e,t,s,i,yt(m.consts,o),c,d),xT},\u0275\u0275conditional:function I7(n,e){Ti("NgControlFlow");const t=me(),s=na(),i=t[s]!==Zt?t[s]:-1,o=-1!==i?eI(t,st+i):void 0;if(er(t,s,n)){const d=I(null);try{if(void 0!==o&&iu(o,0),-1!==n){const h=st+n,m=eI(t,h),g=fN(t[we],h),b=oc(m,g.tView.ssrId);lp(m,ap(t,g,e,{dehydratedView:b}),0,Sd(g,b))}}finally{I(d)}}else if(void 0!==o){const d=fk(o,0);void 0!==d&&(d[os]=e)}},\u0275\u0275defer:function CV(n,e,t,s,i,o,c,d,h){const m=me(),g=pn(),b=n+st,E=Jm(m,g,n,null,0,0);if(g.firstCreatePass){Ti("NgDefer");const H={primaryTmplIndex:e,loadingTmplIndex:s??null,placeholderTmplIndex:i??null,errorTmplIndex:o??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:dr.NOT_STARTED,loadingPromise:null,providers:null};h?.(g,H,d,c),function GO(n,e,t){const s=kp(e);n.data[s]=t}(g,b,H)}xD(m[b],E,m);const P=[null,xp.Initial,null,null,null,null];!function AT(n,e,t){n[we],n[kp(e)]=t}(m,b,P);const F=()=>Pd(P);cv(0,P,()=>Lw(m,F)),Qu(m,F)},\u0275\u0275deferWhen:function EV(n){const e=me();if(er(e,na(),n)){const s=I(null);try{const i=!!n,o=Is(),d=Od(e,o)[eg];!1===i&&d===xp.Initial?Lp(e,o):!0===i&&(d===xp.Initial||d===hr.Placeholder)&&Pp(e,o)}finally{I(s)}}},\u0275\u0275deferOnIdle:function UT(){WT(BT)},\u0275\u0275deferOnImmediate:function tN(){const n=me(),e=as(),t=n[we],s=n[Zs],i=Ao(t,e);(!pv(s)||null===i.loadingTmplIndex)&&Lp(n,e),Pp(n,e)},\u0275\u0275deferOnTimer:function sN(n){WT(jT(n))},\u0275\u0275deferOnHover:function rg(n,e){const t=me(),s=as();Lp(t,s),Ap(t,s,n,e,NT,()=>Pp(t,s),0)},\u0275\u0275deferOnInteraction:function rN(n,e){const t=me(),s=as();Lp(t,s),Ap(t,s,n,e,OT,()=>Pp(t,s),0)},\u0275\u0275deferOnViewport:function TV(n,e){const t=me(),s=as();Lp(t,s),Ap(t,s,n,e,lM,()=>Pp(t,s),0)},\u0275\u0275deferPrefetchWhen:function HT(n){const e=me();if(er(e,na(),n)){const s=I(null);try{const i=!!n,o=e[we],c=Is(),d=Ao(o,c);!0===i&&d.loadingState===dr.NOT_STARTED&&ig(d,e,c)}finally{I(s)}}},\u0275\u0275deferPrefetchOnIdle:function xV(){dM(BT)},\u0275\u0275deferPrefetchOnImmediate:function nN(){const n=me(),e=as(),s=Ao(n[we],e);s.loadingState===dr.NOT_STARTED&&pM(s,n,e)},\u0275\u0275deferPrefetchOnTimer:function kV(n){dM(jT(n))},\u0275\u0275deferPrefetchOnHover:function uM(n,e){const t=me(),s=as(),o=Ao(t[we],s);o.loadingState===dr.NOT_STARTED&&Ap(t,s,n,e,NT,()=>ig(o,t,s),1)},\u0275\u0275deferPrefetchOnInteraction:function $T(n,e){const t=me(),s=as(),o=Ao(t[we],s);o.loadingState===dr.NOT_STARTED&&Ap(t,s,n,e,OT,()=>ig(o,t,s),1)},\u0275\u0275deferPrefetchOnViewport:function zT(n,e){const t=me(),s=as(),o=Ao(t[we],s);o.loadingState===dr.NOT_STARTED&&Ap(t,s,n,e,lM,()=>ig(o,t,s),1)},\u0275\u0275deferEnableTimerScheduling:function VT(n,e,t,s){const i=n.consts;null!=t&&(e.placeholderBlockConfig=yt(i,t)),null!=s&&(e.loadingBlockConfig=yt(i,s)),null===cM&&(cM=oN)},\u0275\u0275repeater:function F7(n){const e=I(null),t=Hr();try{const s=me(),i=s[we],o=s[t],c=t+1,d=eI(s,c);if(void 0===o.liveCollection){const m=fN(i,c);o.liveCollection=new N7(d,s,m)}else o.liveCollection.reset();const h=o.liveCollection;if(function T7(n,e,t){let s,i,o=0,c=n.length-1;if(Array.isArray(e)){let h=e.length-1;for(;o<=c&&o<=h;){const m=n.at(o),g=e[o],b=hN(o,m,o,g,t);if(0!==b){b<0&&n.updateValue(o,g),o++;continue}const E=n.at(c),x=e[h],P=hN(c,E,h,x,t);if(0!==P){P<0&&n.updateValue(c,x),c--,h--;continue}const F=t(o,m),H=t(c,E),W=t(o,g);if(Object.is(W,H)){const z=t(h,x);Object.is(z,F)?(n.swap(o,c),n.updateValue(c,x),h--,c--):n.move(c,o),n.updateValue(o,g),o++}else if(s??=new $V,i??=UV(n,o,c,t),pN(n,s,o,W))n.updateValue(o,g),o++,c++;else if(i.has(W))s.set(F,n.detach(o)),c--;else{const z=n.create(o,e[o]);n.attach(o,z),o++,c++}}for(;o<=h;)HV(n,s,t,o,e[o]),o++}else if(null!=e){const h=e[Symbol.iterator]();let m=h.next();for(;!m.done&&o<=c;){const g=n.at(o),b=m.value,E=hN(o,g,o,b,t);if(0!==E)E<0&&n.updateValue(o,b),o++,m=h.next();else{s??=new $V,i??=UV(n,o,c,t);const x=t(o,b);if(pN(n,s,o,x))n.updateValue(o,b),o++,c++,m=h.next();else if(i.has(x)){const P=t(o,g);s.set(P,n.detach(o)),c--}else n.attach(o,n.create(o,b)),o++,c++,m=h.next()}}for(;!m.done;)HV(n,s,t,n.length,m.value),m=h.next()}for(;o<=c;)n.destroy(n.detach(c--));s?.forEach(h=>{n.destroy(h)})}(h,n,o.trackByFn),h.updateIndexes(),o.hasEmptyBlock){const m=na(),g=0===h.length;if(er(s,m,g)){const b=t+2,E=eI(s,b);if(g){const x=fN(i,b),P=oc(E,x.tView.ssrId);lp(E,ap(s,x,void 0,{dehydratedView:P}),0,Sd(x,P))}else iu(E,0)}}}finally{I(e)}},\u0275\u0275repeaterCreate:function O7(n,e,t,s,i,o,c,d,h,m,g,b,E){Ti("NgControlFlow");const x=me(),P=pn(),F=void 0!==h,H=me(),W=d?c.bind(H[hs][os]):c,z=new R7(F,W);H[st+n]=z,Jm(x,P,n+1,e,t,s,i,yt(P.consts,o)),F&&Jm(x,P,n+2,h,m,g,b,yt(P.consts,E))},\u0275\u0275repeaterTrackByIndex:function L7(n){return n},\u0275\u0275repeaterTrackByIdentity:function P7(n,e){return e},\u0275\u0275componentInstance:function x7(){return me()[hs][os]},\u0275\u0275text:function eq(n,e=""){const t=me(),s=pn(),i=n+st,o=s.firstCreatePass?wd(s,i,1,e,null):s.data[i],c=UH(s,t,o,e,n);t[i]=c,hm()&&ky(s,t,c,o),Ia(o,!1)},\u0275\u0275textInterpolate:function $H(n){return MN("",n,""),$H},\u0275\u0275textInterpolate1:MN,\u0275\u0275textInterpolate2:function zH(n,e,t,s,i){const o=me(),c=Op(o,n,e,t,s,i);return c!==Zt&&ic(o,Hr(),c),zH},\u0275\u0275textInterpolate3:function WH(n,e,t,s,i,o,c){const d=me(),h=Np(d,n,e,t,s,i,o,c);return h!==Zt&&ic(d,Hr(),h),WH},\u0275\u0275textInterpolate4:function qH(n,e,t,s,i,o,c,d,h){const m=me(),g=ag(m,n,e,t,s,i,o,c,d,h);return g!==Zt&&ic(m,Hr(),g),qH},\u0275\u0275textInterpolate5:function GH(n,e,t,s,i,o,c,d,h,m,g){const b=me(),E=Fp(b,n,e,t,s,i,o,c,d,h,m,g);return E!==Zt&&ic(b,Hr(),E),GH},\u0275\u0275textInterpolate6:function KH(n,e,t,s,i,o,c,d,h,m,g,b,E){const x=me(),P=Yp(x,n,e,t,s,i,o,c,d,h,m,g,b,E);return P!==Zt&&ic(x,Hr(),P),KH},\u0275\u0275textInterpolate7:function QH(n,e,t,s,i,o,c,d,h,m,g,b,E,x,P){const F=me(),H=lg(F,n,e,t,s,i,o,c,d,h,m,g,b,E,x,P);return H!==Zt&&ic(F,Hr(),H),QH},\u0275\u0275textInterpolate8:function XH(n,e,t,s,i,o,c,d,h,m,g,b,E,x,P,F,H){const W=me(),z=Bp(W,n,e,t,s,i,o,c,d,h,m,g,b,E,x,P,F,H);return z!==Zt&&ic(W,Hr(),z),XH},\u0275\u0275textInterpolateV:function ZH(n){const e=me(),t=Rp(e,n);return t!==Zt&&ic(e,Hr(),t),ZH},\u0275\u0275i18n:function P9(n,e,t){pH(n,e,t),fH()},\u0275\u0275i18nAttributes:function R9(n,e){const t=pn(),s=yt(t.consts,e);!function g9(n,e,t){const i=as().index,o=[];if(n.firstCreatePass&&null===n.data[e]){for(let c=0;c0){const s=n.data[t];tH(n,e,Array.isArray(s)?s:s.update,tl()-gM-1,mM)}mM=0,gM=0}(pn(),me(),n+st)},\u0275\u0275i18nPostprocess:function N9(n,e={}){return function L9(n,e={}){let t=n;if(C9.test(n)){const s={},i=[hH];t=t.replace(E9,(o,c,d)=>{const h=c||d,m=s[h]||[];if(m.length||(h.split("|").forEach(F=>{const H=F.match(A9),W=H?parseInt(H[1],10):hH,z=I9.test(F);m.push([W,z,F])}),s[h]=m),!m.length)throw new Error(`i18n postprocess: unmatched placeholder - ${h}`);const g=i[i.length-1];let b=0;for(let F=0;Fe.hasOwnProperty(o)?`${i}${e[o]}${h}`:s),t=t.replace(k9,(s,i)=>e.hasOwnProperty(i)?e[i]:s),t=t.replace(T9,(s,i)=>{if(e.hasOwnProperty(i)){const o=e[i];if(!o.length)throw new Error(`i18n postprocess: unmatched ICU - ${s} with key: ${i}`);return o.shift()}return s})),t}(n,e)},\u0275\u0275resolveWindow:function F2(n){return n.ownerDocument.defaultView},\u0275\u0275resolveDocument:function Y2(n){return n.ownerDocument},\u0275\u0275resolveBody:Bx,\u0275\u0275setComponentScope:function uq(n,e,t){const s=n.\u0275cmp;s.directiveDefs=Qn(e,!1),s.pipeDefs=Qn(t,!0)},\u0275\u0275setNgModuleScope:function dq(n,e){return Qs(()=>{const t=Dr(n,!0);t.declarations=uI(e.declarations||In),t.imports=uI(e.imports||In),t.exports=uI(e.exports||In),e.bootstrap&&(t.bootstrap=uI(e.bootstrap)),yp.registerNgModule(n,e)})},\u0275\u0275registerNgModuleType:yT,\u0275\u0275getComponentDepsFactory:function Aq(n,e){return()=>{try{return yp.getComponentDependencies(n,e).dependencies}catch(t){throw console.error(`Computing dependencies in local compilation mode for the component "${n.name}" failed with the exception:`,t),t}}},\u0275setClassDebugInfo:function Lq(n,e){const t=tn(n);null!==t&&(t.debugInfo=e)},\u0275\u0275declareLet:function n8(n){const e=pn(),t=me(),s=n+st;return Ia(wd(e,s,128,null,null),!1),DN(e,t,s,t8),n8},\u0275\u0275storeLet:function rq(n){return Ti("NgLet"),DN(pn(),me(),Hr(),n),n},\u0275\u0275readContextLet:function iq(n){const t=ka(um(),st+n);if(t===t8)throw new ae(314,!1);return t},\u0275\u0275sanitizeHtml:function Tx(n){const e=Lm();return e?Jr(e.sanitize(Ei.HTML,n)||""):ol(n,"HTML")?Jr(co(n)):ep(tu(),Wt(n))},\u0275\u0275sanitizeStyle:function wy(n){const e=Lm();return e?e.sanitize(Ei.STYLE,n)||"":ol(n,"Style")?co(n):Wt(n)},\u0275\u0275sanitizeResourceUrl:Ax,\u0275\u0275sanitizeScript:function x2(n){const e=Lm();if(e)return Jh(e.sanitize(Ei.SCRIPT,n)||"");if(ol(n,"Script"))return Jh(co(n));throw new ae(905,!1)},\u0275\u0275sanitizeUrl:Ix,\u0275\u0275sanitizeUrlOrResourceUrl:Lx,\u0275\u0275trustConstantHtml:function k2(n){return Zh(n[0])},\u0275\u0275trustConstantResourceUrl:function T2(n){return function p2(n){return yy()?.createScriptURL(n)||n}(n[0])},\u0275\u0275validateIframeAttribute:function vV(n,e,t){const s=me(),i=Is(),o=Ui(i,s);if(2===i.type&&"iframe"===e.toLowerCase()){const c=o;c.src="",c.srcdoc=Zh(""),ip(s[Ot],c);throw new ae(-910,!1)}return n},forwardRef:Et,resolveForwardRef:dt,\u0275\u0275twoWayProperty:function JH(n,e,t){FD(e)&&(e=e());const s=me();if(er(s,na(),e)){uo(pn(),Is(),s,n,e,s[Ot],t,!1)}return JH},\u0275\u0275twoWayBindingSet:function sq(n,e){const t=FD(n);return t&&n.set(e),t},\u0275\u0275twoWayListener:function e8(n,e){const t=me(),s=pn(),i=as();return vN(s,t,t[Ot],i,n,e),e8}};let gv=null;const SM=[];let TN=!1;function d8(n){return Array.isArray(n)?n.every(d8):!!dt(n)}function Fq(n,e={}){(function Yq(n,e,t=!1){const s=Sr(e.declarations||In);let i=null;Object.defineProperty(n,bo,{configurable:!0,get:()=>(null===i&&(i=$s().compileNgModule(Ro,`ng:///${n.name}/\u0275mod.js`,{type:n,bootstrap:Sr(e.bootstrap||In).map(dt),declarations:s.map(dt),imports:Sr(e.imports||In).map(dt).map(m8),exports:Sr(e.exports||In).map(dt).map(m8),schemas:e.schemas?Sr(e.schemas):null,id:e.id||null}),i.schemas||(i.schemas=[])),i)});let o=null;Object.defineProperty(n,Ua,{get:()=>{if(null===o){const d=$s();o=d.compileFactory(Ro,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,deps:Qc(n),target:d.FactoryTarget.NgModule,typeArgumentCount:0})}return o},configurable:!1});let c=null;Object.defineProperty(n,Lf,{get:()=>{if(null===c){const d={name:n.name,type:n,providers:e.providers||In,imports:[(e.imports||In).map(dt),(e.exports||In).map(dt)]};c=$s().compileInjector(Ro,`ng:///${n.name}/\u0275inj.js`,d)}return c},configurable:!1})})(n,e),void 0!==e.id&&yT(n,e.id),function Oq(n,e){SM.push({moduleType:n,ngModule:e})}(n,e)}function Vq(n,e){const t=Sr(e.declarations||In),s=_v(n);t.forEach(i=>{if((i=dt(i)).hasOwnProperty(Lr)){f8(tn(i),s)}else!i.hasOwnProperty(Lc)&&!i.hasOwnProperty(Pc)&&(i.ngSelectorScope=n)})}function f8(n,e){n.directiveDefs=()=>Array.from(e.compilation.directives).map(t=>t.hasOwnProperty(Lr)?tn(t):On(t)).filter(t=>!!t),n.pipeDefs=()=>Array.from(e.compilation.pipes).map(t=>bs(t)),n.schemas=e.schemas,n.tView=null}function _v(n){if(lu(n)){if(DD){const e=yp.getNgModuleScope(n);return{schemas:Dr(n,!0).schemas||null,...e}}return function Hq(n){const e=Dr(n,!0);if(null!==e.transitiveCompileScopes)return e.transitiveCompileScopes;const t={schemas:e.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return xo(e.imports).forEach(s=>{const i=_v(s);i.exported.directives.forEach(o=>t.compilation.directives.add(o)),i.exported.pipes.forEach(o=>t.compilation.pipes.add(o))}),xo(e.declarations).forEach(s=>{bs(s)?t.compilation.pipes.add(s):t.compilation.directives.add(s)}),xo(e.exports).forEach(s=>{const i=s;if(lu(i)){const o=_v(i);o.exported.directives.forEach(c=>{t.compilation.directives.add(c),t.exported.directives.add(c)}),o.exported.pipes.forEach(c=>{t.compilation.pipes.add(c),t.exported.pipes.add(c)})}else bs(i)?t.exported.pipes.add(i):t.exported.directives.add(i)}),e.transitiveCompileScopes=t,t}(n)}if(Gr(n)){if(null!==(tn(n)||On(n)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([n]),pipes:new Set}};if(null!==bs(n))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([n])}}}throw new Error(`${n.name} does not have a module def (\u0275mod property)`)}function m8(n){return SD(n)?n.ngModule:n}let LN=0;function Uq(n,e){let t=null;(function $D(n,e){mT(e)&&(Dp.set(n,e),Ad.add(n))})(n,e),y8(n,e),Object.defineProperty(n,Lr,{get:()=>{if(null===t){const s=$s();if(mT(e)){const m=[`Component '${n.name}' is not resolved:`];throw e.templateUrl&&m.push(` - templateUrl: ${e.templateUrl}`),e.styleUrls&&e.styleUrls.length&&m.push(` - styleUrls: ${JSON.stringify(e.styleUrls)}`),e.styleUrl&&m.push(` - styleUrl: ${e.styleUrl}`),m.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(m.join("\n"))}const i=function Rq(){return gv}();let o=e.preserveWhitespaces;void 0===o&&(o=null!==i&&void 0!==i.preserveWhitespaces&&i.preserveWhitespaces);let c=e.encapsulation;void 0===c&&(c=null!==i&&void 0!==i.defaultEncapsulation?i.defaultEncapsulation:Wr.Emulated);const d=e.templateUrl||`ng:///${n.name}/template.html`,h={...v8(n,e),typeSourceSpan:s.createParseSourceSpan("Component",n.name,d),template:e.template||"",preserveWhitespaces:o,styles:"string"==typeof e.styles?[e.styles]:e.styles||In,animations:e.animations,declarations:[],changeDetection:e.changeDetection,encapsulation:c,interpolation:e.interpolation,viewProviders:e.viewProviders||null};LN++;try{if(h.usesInheritance&&b8(n),t=s.compileComponent(Ro,d,h),e.standalone){const m=Sr(e.imports||In),{directiveDefs:g,pipeDefs:b}=function $q(n,e){let t=null,s=null;return{directiveDefs:()=>{if(DD)return Wm(n)?[...yp.getStandaloneComponentScope(n,e).compilation.directives].map(d=>tn(d)||On(d)).filter(d=>null!==d):[];if(null===t){t=[tn(n)];const c=new Set([n]);for(const d of e){const h=dt(d);if(!c.has(h))if(c.add(h),Dr(h)){const m=_v(h);for(const g of m.exported.directives){const b=tn(g)||On(g);b&&!c.has(g)&&(c.add(g),t.push(b))}}else{const m=tn(h)||On(h);m&&t.push(m)}}}return t},pipeDefs:()=>{if(DD)return Wm(n)?[...yp.getStandaloneComponentScope(n,e).compilation.pipes].map(d=>bs(d)).filter(d=>null!==d):[];if(null===s){s=[];const c=new Set;for(const d of e){const h=dt(d);if(!c.has(h))if(c.add(h),Dr(h)){const m=_v(h);for(const g of m.exported.pipes){const b=bs(g);b&&!c.has(g)&&(c.add(g),s.push(b))}}else{const m=bs(h);m&&s.push(m)}}}return s}}}(n,m);t.directiveDefs=g,t.pipeDefs=b,t.dependencies=()=>m.map(dt)}}finally{LN--}if(0===LN&&function Nq(){if(!TN){TN=!0;try{for(let n=SM.length-1;n>=0;n--){const{moduleType:e,ngModule:t}=SM[n];t.declarations&&t.declarations.every(d8)&&(SM.splice(n,1),Vq(e,t))}}finally{TN=!1}}}(),function zq(n){return void 0!==n.ngSelectorScope}(n)){const m=_v(n.ngSelectorScope);f8(t,m)}if(e.schemas){if(!e.standalone)throw new Error(`The 'schemas' was specified for the ${jn(n)} but is only valid on a component that is standalone.`);t.schemas=e.schemas}else e.standalone&&(t.schemas=[])}return t},configurable:!1})}function g8(n,e){let t=null;y8(n,e||{}),Object.defineProperty(n,Lc,{get:()=>{if(null===t){const s=_8(n,e||{});t=$s().compileDirective(Ro,s.sourceMapUrl,s.metadata)}return t},configurable:!1})}function _8(n,e){const t=n&&n.name,s=`ng:///${t}/\u0275dir.js`,i=$s(),o=v8(n,e);return o.typeSourceSpan=i.createParseSourceSpan("Directive",t,s),o.usesInheritance&&b8(n),{metadata:o,sourceMapUrl:s}}function y8(n,e){let t=null;Object.defineProperty(n,Ua,{get:()=>{if(null===t){const s=_8(n,e),i=$s();t=i.compileFactory(Ro,`ng:///${n.name}/\u0275fac.js`,{name:s.metadata.name,type:s.metadata.type,typeArgumentCount:0,deps:Qc(n),target:i.FactoryTarget.Directive})}return t},configurable:!1})}function Wq(n){return Object.getPrototypeOf(n.prototype)===Object.prototype}function v8(n,e){const t=Bh(),s=t.ownPropMetadata(n);return{name:n.name,type:n,selector:void 0!==e.selector?e.selector:null,host:e.host||wo,propMetadata:s,inputs:e.inputs||In,outputs:e.outputs||In,queries:w8(n,s,S8),lifecycle:{usesOnChanges:t.hasLifecycleHook(n,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!Wq(n),exportAs:Kq(e.exportAs),providers:e.providers||null,viewQueries:w8(n,s,D8),isStandalone:!!e.standalone,isSignal:!!e.signals,hostDirectives:e.hostDirectives?.map(i=>"function"==typeof i?{directive:i}:i)||null}}function b8(n){const e=Object.prototype;let t=Object.getPrototypeOf(n.prototype).constructor;for(;t&&t!==e;)!On(t)&&!tn(t)&&Xq(t)&&g8(t,null),t=Object.getPrototypeOf(t)}function qq(n){return"string"==typeof n?C8(n):dt(n)}function Gq(n,e){return{propertyName:n,predicate:qq(e.selector),descendants:e.descendants,first:e.first,read:e.read?e.read:null,static:!!e.static,emitDistinctChangesOnly:!!e.emitDistinctChangesOnly,isSignal:!!e.isSignal}}function w8(n,e,t){const s=[];for(const i in e)if(e.hasOwnProperty(i)){const o=e[i];o.forEach(c=>{if(t(c)){if(!c.selector)throw new Error(`Can't construct a query for the property "${i}" of "${jn(n)}" since the query selector wasn't defined.`);if(o.some(M8))throw new Error("Cannot combine @Input decorators with query decorators");s.push(Gq(i,c))}})}return s}function Kq(n){return void 0===n?null:C8(n)}function S8(n){const e=n.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function D8(n){const e=n.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function M8(n){return"Input"===n.ngMetadataName}function C8(n){return n.split(",").map(e=>e.trim())}const Qq=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function Xq(n){const e=Bh();if(Qq.some(s=>e.hasLifecycleHook(n,s)))return!0;const t=e.propMetadata(n);for(const s in t){const i=t[s];for(let o=0;on,void 0,void 0,(n,e)=>g8(n,e)),Ke=Ru("Component",(n={})=>({changeDetection:wa.Default,...n}),fl,void 0,(n,e)=>Uq(n,e)),yv=Ru("Pipe",n=>({pure:!0,...n}),void 0,void 0,(n,e)=>function Zq(n,e){let t=null,s=null;Object.defineProperty(n,Ua,{get:()=>{if(null===s){const i=E8(n,e),o=$s(i.type);s=o.compileFactory(Ro,`ng:///${i.name}/\u0275fac.js`,{name:i.name,type:i.type,typeArgumentCount:0,deps:Qc(n),target:o.FactoryTarget.Pipe})}return s},configurable:!1}),Object.defineProperty(n,Pc,{get:()=>{if(null===t){const i=E8(n,e);t=$s(i.type).compilePipe(Ro,`ng:///${i.name}/\u0275pipe.js`,i)}return t},configurable:!1})}(n,e)),K=Le("Input",n=>n?"string"==typeof n?{alias:n}:n:{}),sn=Le("Output",n=>({alias:n})),PN=Le("HostBinding",n=>({hostPropertyName:n})),ml=Le("HostListener",(n,e)=>({eventName:n,args:e})),pr=Ru("NgModule",n=>n,void 0,void 0,(n,e)=>Fq(n,e));class vv{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}new vv("18.2.13");class jp{log(e){console.log(e)}warn(e){console.warn(e)}static#e=this.\u0275fac=function(t){return new(t||jp)};static#t=this.\u0275prov=Ce({token:jp,factory:jp.\u0275fac,providedIn:"platform"})}new class Jq{constructor(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}};const A8=new Ie(""),fI=new Ie("");class pg{constructor(e,t,s){this._ngZone=e,this.registry=t,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,ON||(function MG(n){ON=n}(s),s.addToWindow(t)),this._watchAngularEvents(),e.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:()=>{vt.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,s){let i=-1;t&&t>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==i),e()},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:s})}whenStable(e,t,s){if(s&&!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(e,t,s),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,s){return[]}static#e=this.\u0275fac=function(t){return new(t||pg)(be(vt),be(fg),be(fI))};static#t=this.\u0275prov=Ce({token:pg,factory:pg.\u0275fac})}class fg{constructor(){this._applications=new Map}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return ON?.findTestabilityInTree(this,e,t)??null}static#e=this.\u0275fac=function(t){return new(t||fg)};static#t=this.\u0275prov=Ce({token:fg,factory:fg.\u0275fac,providedIn:"platform"})}let ON;function MM(n){return!!n&&"function"==typeof n.then}function L8(n){return!!n&&"function"==typeof n.subscribe}const NN=new Ie("");class bv{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.appInits=de(NN,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const s of this.appInits){const i=s();if(MM(i))e.push(i);else if(L8(i)){const o=new Promise((c,d)=>{i.subscribe({complete:c,error:d})});e.push(o)}}const t=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{t()}).catch(s=>{this.reject(s)}),0===e.length&&t(),this.initialized=!0}static#e=this.\u0275fac=function(t){return new(t||bv)};static#t=this.\u0275prov=Ce({token:bv,factory:bv.\u0275fac,providedIn:"root"})}const mI=new Ie("");function P8(){!function vn(n){gr=n}(()=>{throw new ae(600,!1)})}function R8(n,e){return Array.isArray(e)?e.reduce(R8,n):{...n,...e}}class Oo{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=de(VP),this.afterRenderManager=de(ng),this.zonelessEnabled=de(zm),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ct,this.afterTick=new ct,this.componentTypes=[],this.components=[],this.isStable=de(oo).hasPendingTasks.pipe(Ht(e=>!e)),this._injector=de(It)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(t=>{e=this.isStable.subscribe({next:s=>{s&&t()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,t){const s=e instanceof Hk;if(!this._injector.get(bv).done){!s&&Gr(e);throw new ae(405,!1)}let o;o=s?e:this._injector.get(bD).resolveComponentFactory(e),this.componentTypes.push(o.componentType);const c=function CG(n){return n.isBoundToModule}(o)?void 0:this._injector.get(Ld),d=t||o.selector,h=o.create(ns.NULL,[],d,c),m=h.location.nativeElement,g=h.injector.get(A8,null);return g?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),gI(this.components,h),g?.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new ae(101,!1);const e=I(null);try{this._runningTick=!0,this.synchronize()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1,I(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(kd,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let t=0;for(;0!==this.dirtyFlags&&t++<10;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const t=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(t);for(let{_lView:s,notifyErrorHandler:i}of this._views)kG(s,i,t,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else e?.begin?.(),e?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:e})=>Uc(e))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;gI(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const t=this._injector.get(mI,[]);[...this._bootstrapListeners,...t].forEach(s=>s(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>gI(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ae(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(t){return new(t||Oo)};static#t=this.\u0275prov=Ce({token:Oo,factory:Oo.\u0275fac,providedIn:"root"})}function gI(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}function kG(n,e,t,s){(t||Uc(n))&&Ry(n,e,t&&!s?0:1)}class TG{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}class Bd{compileModuleSync(e){return new QD(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const t=this.compileModuleSync(e),i=xo(Dr(e).declarations).reduce((o,c)=>{const d=tn(c);return d&&o.push(new qm(d)),o},[]);return new TG(t,i)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static#e=this.\u0275fac=function(t){return new(t||Bd)};static#t=this.\u0275prov=Ce({token:Bd,factory:Bd.\u0275fac,providedIn:"root"})}const yI=new Ie("");function AG(n,e,t){const s=new QD(t);if(typeof ngJitMode<"u"&&!ngJitMode)return Promise.resolve(s);const i=n.get(yI,[]).concat(e);if(function Pq(n){null!==gv&&(n.defaultEncapsulation!==gv.defaultEncapsulation||n.preserveWhitespaces!==gv.preserveWhitespaces)||(gv=n)}({defaultEncapsulation:O8(i.map(m=>m.defaultEncapsulation)),preserveWhitespaces:O8(i.map(m=>m.preserveWhitespaces))}),function TO(){return 0===Dp.size}())return Promise.resolve(s);const o=i.flatMap(m=>m.providers??[]);if(0===o.length)return Promise.resolve(s);const c=$s(),h=ns.create({providers:o}).get(c.ResourceLoader);return xO(m=>Promise.resolve(h.get(m))).then(()=>s)}function O8(n){for(let e=n.length-1;e>=0;e--)if(void 0!==n[e])return n[e]}class CM{constructor(){this.zone=de(vt),this.changeDetectionScheduler=de(xd),this.applicationRef=de(Oo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(t){return new(t||CM)};static#t=this.\u0275prov=Ce({token:CM,factory:CM.\u0275fac,providedIn:"root"})}new Ie("",{factory:()=>!1});function YN({ngZoneFactory:n,ignoreChangesOutsideZone:e,scheduleInRootZone:t}){return n??=()=>new vt({...BN(),scheduleInRootZone:t}),[{provide:vt,useFactory:n},{provide:_n,multi:!0,useFactory:()=>{const s=de(CM,{optional:!0});return()=>s.initialize()}},{provide:_n,multi:!0,useFactory:()=>{const s=de(EM);return()=>{s.initialize()}}},!0===e?{provide:vD,useValue:!0}:[],{provide:qy,useValue:t??iy}]}function BN(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}class EM{constructor(){this.subscription=new gt,this.initialized=!1,this.zone=de(vt),this.pendingTasks=de(oo)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{vt.assertNotInAngularZone(),queueMicrotask(()=>{null!==e&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{vt.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(t){return new(t||EM)};static#t=this.\u0275prov=Ce({token:EM,factory:EM.\u0275fac,providedIn:"root"})}class jd{constructor(){this.appRef=de(Oo),this.taskService=de(oo),this.ngZone=de(vt),this.zonelessEnabled=de(zm),this.disableScheduling=de(vD,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new gt,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(oy):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(de(qy,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof tS||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&5===e)return;switch(e){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const t=this.useMicrotaskScheduler?vm:V0;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>t(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>t(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(oy+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(t){throw this.taskService.remove(e),t}finally{this.cleanup()}this.useMicrotaskScheduler=!0,vm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static#e=this.\u0275fac=function(t){return new(t||jd)};static#t=this.\u0275prov=Ce({token:jd,factory:jd.\u0275fac,providedIn:"root"})}const Vp=new Ie("",{providedIn:"root",factory:()=>de(Vp,an.Optional|an.SkipSelf)||function PG(){return typeof $localize<"u"&&$localize.locale||rI}()}),RG=new Ie("",{providedIn:"root",factory:()=>"USD"});new Ie(""),new Ie("");var Y8;!function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Ignore=2]="Ignore"}(Y8||(Y8={}));class vI{constructor(){this.window=null,this.observer=null,this.options=de(cx),this.isBrowser="browser"===de(lo)}start(){if(!this.isBrowser||typeof PerformanceObserver>"u"||this.options?.disableImageSizeWarning&&this.options?.disableImageLazyLoadWarning)return;this.observer=this.initPerformanceObserver();const e=tu(),t=e.defaultView;if(typeof t<"u"){this.window=t;const s=()=>{setTimeout(this.scanImages.bind(this),200)},i=()=>{"complete"===e.readyState?s():this.window?.addEventListener("load",s,{once:!0})};typeof Zone<"u"?Zone.root.run(()=>i()):i()}}ngOnDestroy(){this.observer?.disconnect()}initPerformanceObserver(){if(typeof PerformanceObserver>"u")return null;const e=new PerformanceObserver(t=>{const s=t.getEntries();if(0===s.length)return;const o=s[s.length-1].element?.src??"";o.startsWith("data:")||o.startsWith("blob:")||(this.lcpImageUrl=o)});return e.observe({type:"largest-contentful-paint",buffered:!0}),e}scanImages(){const e=tu().querySelectorAll("img");let t,s=!1;e.forEach(i=>{this.options?.disableImageSizeWarning||!i.getAttribute("ng-img")&&this.isOversized(i)&&function FG(n){console.warn(ut(-913,`An image with src ${n} has intrinsic file dimensions much larger than its rendered size. This can negatively impact application loading performance. For more information about addressing or disabling this warning, see https://angular.dev/errors/NG0913`))}(i.src),!this.options?.disableImageLazyLoadWarning&&this.lcpImageUrl&&i.src===this.lcpImageUrl&&(t=!0,("lazy"!==i.loading||i.getAttribute("ng-img"))&&(s=!0))}),t&&!s&&this.lcpImageUrl&&!this.options?.disableImageLazyLoadWarning&&function NG(n){console.warn(ut(-913,`An image with src ${n} is the Largest Contentful Paint (LCP) element but was given a "loading" value of "lazy", which can negatively impact application loading performance. This warning can be addressed by changing the loading value of the LCP image to "eager", or by using the NgOptimizedImage directive's prioritization utilities. For more information about addressing or disabling this warning, see https://angular.dev/errors/NG0913`))}(this.lcpImageUrl)}isOversized(e){if(!this.window)return!1;const s=(e.src||"").toLowerCase();if([".svg"].some(F=>s.endsWith(F)))return!1;const i=this.window.getComputedStyle(e);let o=parseFloat(i.getPropertyValue("width")),c=parseFloat(i.getPropertyValue("height"));const d=i.getPropertyValue("box-sizing");if("cover"===i.getPropertyValue("object-fit"))return!1;if("border-box"===d){const F=i.getPropertyValue("padding-top"),H=i.getPropertyValue("padding-right"),W=i.getPropertyValue("padding-bottom"),z=i.getPropertyValue("padding-left");o-=parseFloat(H)+parseFloat(z),c-=parseFloat(F)+parseFloat(W)}const m=e.naturalWidth,g=e.naturalHeight,b=this.window.devicePixelRatio*o,E=this.window.devicePixelRatio*c;return m-b>=1200||g-E>=1200}static#e=this.\u0275fac=function(t){return new(t||vI)};static#t=this.\u0275prov=Ce({token:vI,factory:vI.\u0275fac,providedIn:"root"})}const bI=new Ie("");function wI(n){return!n.moduleRef}function j8(n){const e=wI(n)?n.r3Injector:n.moduleRef.injector,t=e.get(vt);return t.run(()=>{wI(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();const s=e.get(Co,null);let i;if(t.runOutsideAngular(()=>{i=t.onError.subscribe({next:o=>{s.handleError(o)}})}),wI(n)){const o=()=>e.destroy(),c=n.platformInjector.get(bI);c.add(o),e.onDestroy(()=>{i.unsubscribe(),c.delete(o)})}else{const o=()=>n.moduleRef.destroy(),c=n.platformInjector.get(bI);c.add(o),n.moduleRef.onDestroy(()=>{gI(n.allPlatformModules,n.moduleRef),i.unsubscribe(),c.delete(o)})}return function xG(n,e,t){try{const s=t();return MM(s)?s.catch(i=>{throw e.runOutsideAngular(()=>n.handleError(i)),i}):s}catch(s){throw e.runOutsideAngular(()=>n.handleError(s)),s}}(s,t,()=>{const o=e.get(bv);return o.runInitializers(),o.donePromise.then(()=>{if(function J7(n){"string"==typeof n&&(ZV=n.toLowerCase().replace(/_/g,"-"))}(e.get(Vp,rI)||rI),wI(n)){const d=e.get(Oo);return void 0!==n.rootComponent&&d.bootstrap(n.rootComponent),d}return function YG(n,e){const t=n.injector.get(Oo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>t.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new ae(-403,!1);n.instance.ngDoBootstrap(t)}e.push(n)}(n.moduleRef,n.allPlatformModules),n.moduleRef})})})}class wv{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const s=t?.scheduleInRootZone,o=t?.ignoreChangesOutsideZone,c=[YN({ngZoneFactory:()=>function ly(n="zone.js",e){return"noop"===n?new tS:"zone.js"===n?new vt(e):n}(t?.ngZone,{...BN({eventCoalescing:t?.ngZoneEventCoalescing,runCoalescing:t?.ngZoneRunCoalescing}),scheduleInRootZone:s}),ignoreChangesOutsideZone:o}),{provide:xd,useExisting:jd}],d=function ET(n,e,t){return new rv(n,e,t,!1)}(e.moduleType,this.injector,c);return j8({moduleRef:d,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,t=[]){const s=R8({},t);return AG(this.injector,s,e).then(i=>this.bootstrapModuleFactory(i,s))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new ae(404,!1);this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t());const e=this._injector.get(bI,null);e&&(e.forEach(t=>t()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(t){return new(t||wv)(be(ns))};static#t=this.\u0275prov=Ce({token:wv,factory:wv.\u0275fac,providedIn:"platform"})}let Hp=null;const V8=new Ie("");function SI(n,e,t=[]){const s=`Platform: ${e}`,i=new Ie(s);return(o=[])=>{let c=VN();if(!c||c.injector.get(V8,!1)){const d=[...t,...o,{provide:i,useValue:!0}];n?n(d):function BG(n){if(Hp&&!Hp.get(V8,!1))throw new ae(400,!1);P8(),Hp=n;const e=n.get(wv);return U8(n),e}(H8(d,s))}return function jG(n){const e=VN();if(!e)throw new ae(401,!1);return e}()}}function H8(n=[],e){return ns.create({name:e,providers:[{provide:Qf,useValue:"platform"},{provide:bI,useValue:new Set([()=>Hp=null])},...n]})}function VN(){return Hp?.get(wv)??null}function U8(n){n.get(lx,null)?.forEach(t=>t())}class gl{static#e=this.__NG_ELEMENT_ID__=HG}function HG(n){return function UG(n,e,t){if(Pr(n)&&!t){const s=Vr(n.index,e);return new Dd(s,s)}if(175&n.type){const s=e[hs];return new Dd(s,e)}return null}(as(),me(),!(16&~n))}class G8{constructor(){}supports(e){return ov(e)}create(e){return new GG(e)}}const qG=(n,e)=>e;class GG{constructor(e){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=e||qG}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,s=this._removalsHead,i=0,o=null;for(;t||s;){const c=!s||t&&t.currentIndex{c=this._trackByFn(i,d),null!==t&&Object.is(t.trackById,c)?(s&&(t=this._verifyReinsertion(t,d,c,i)),Object.is(t.item,d)||this._addIdentityChange(t,d)):(t=this._mismatch(t,d,c,i),s=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,s,i){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(s,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,i)):e=this._addAfter(new KG(t,s),o,i),e}_verifyReinsertion(e,t,s,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==o?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,o=e._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,t,s),this._addToMoves(e,s),e}_moveAfter(e,t,s){return this._unlink(e),this._insertAfter(e,t,s),this._addToMoves(e,s),e}_addAfter(e,t,s){return this._insertAfter(e,t,s),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,s){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new K8),this._linkedRecords.put(e),e.currentIndex=s,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,s=e._next;return null===t?this._itHead=s:t._next=s,null===s?this._itTail=t:s._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new K8),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class KG{constructor(e,t){this.item=e,this.trackById=t,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 QG{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let s;for(s=this._head;null!==s;s=s._nextDup)if((null===t||t<=s.currentIndex)&&Object.is(s.trackById,e))return s;return null}remove(e){const t=e._prevDup,s=e._nextDup;return null===t?this._head=s:t._nextDup=s,null===s?this._tail=t:s._prevDup=t,null===this._head}}class K8{constructor(){this.map=new Map}put(e){const t=e.trackById;let s=this.map.get(t);s||(s=new QG,this.map.set(t,s)),s.add(e)}get(e,t){const s=e,i=this.map.get(s);return i?i.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Q8(n,e,t){const s=n.previousIndex;if(null===s)return s;let i=0;return t&&s{if(t&&t.key===i)this._maybeAddToChanges(t,s),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(i,s);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let s=t;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const s=e._prev;return t._next=e,t._prev=s,e._prev=t,s&&(s._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const i=this._records.get(e);this._maybeAddToChanges(i,t);const o=i._prev,c=i._next;return o&&(o._next=c),c&&(c._prev=o),i._next=null,i._prev=null,i}const s=new ZG(e);return this._records.set(e,s),s.currentValue=t,this._addToAdditions(s),s}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(s=>t(e[s],s))}}class ZG{constructor(e){this.key=e,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 Z8(){return new pu([new G8])}class pu{static#e=this.\u0275prov=Ce({token:pu,providedIn:"root",factory:Z8});constructor(e){this.factories=e}static create(e,t){if(null!=t){const s=t.factories.slice();e=e.concat(s)}return new pu(e)}static extend(e){return{provide:pu,useFactory:t=>pu.create(e,t||Z8()),deps:[[pu,new zo,new wr]]}}find(e){const t=this.factories.find(s=>s.supports(e));if(null!=t)return t;throw new ae(901,!1)}}function J8(){return new fu([new X8])}class fu{static#e=this.\u0275prov=Ce({token:fu,providedIn:"root",factory:J8});constructor(e){this.factories=e}static create(e,t){if(t){const s=t.factories.slice();e=e.concat(s)}return new fu(e)}static extend(e){return{provide:fu,useFactory:t=>fu.create(e,t||J8()),deps:[[fu,new zo,new wr]]}}find(e){const t=this.factories.find(s=>s.supports(e));if(t)return t;throw new ae(901,!1)}}const JG=[new X8],eK=[new G8],e3=(new pu(eK),new fu(JG),SI(null,"core",[]));class xM{constructor(e){}static#e=this.\u0275fac=function(t){return new(t||xM)(be(Oo))};static#t=this.\u0275mod=vs({type:xM});static#n=this.\u0275inj=Ts({})}new Ie("",{providedIn:"root",factory:()=>({})});function Ur(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function D3(n,e=NaN){return isNaN(parseFloat(n))||isNaN(Number(n))?e:Number(n)}function AM(n,e){Ti("NgSignals");const t=fe(n);return e?.equal&&(t[C].equal=e.equal),t}function mu(n){const e=I(null);try{return n()}finally{I(e)}}new Ie("",{providedIn:"root",factory:()=>de(GN)});class GN{static#e=this.\u0275prov=Ce({token:GN,providedIn:"root",factory:()=>new PK})}class PK{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=de(oo),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),null===this.taskId){const t=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(t),this.taskId=null})}}enqueue(e){const t=e.creationZone;this.queues.has(t)||this.queues.set(t,new Set);const s=this.queues.get(t);s.has(e)||(this.queuedEffectCount++,s.add(e))}flush(){for(;this.queuedEffectCount>0;)for(const[e,t]of this.queues)null===e?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(const t of e)e.delete(t),this.queuedEffectCount--,t.run()}}var AI=k(9837);function C3(n,e,t,s,i,o,c){try{var d=n[o](c),h=d.value}catch(m){return void t(m)}d.done?e(h):Promise.resolve(h).then(s,i)}function KN(n){return function(){var e=this,t=arguments;return new Promise(function(s,i){var o=n.apply(e,t);function c(h){C3(o,s,i,c,d,"next",h)}function d(h){C3(o,s,i,c,d,"throw",h)}c(void 0)})}}let E3=null;function Vd(){return E3}class YK{}class QN{static#e=this.\u0275fac=function(t){return new(t||QN)};static#t=this.\u0275prov=Ce({token:QN,factory:()=>window.navigation,providedIn:"platform"})}const Ln=new Ie("");class Sv{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(t){return new(t||Sv)};static#t=this.\u0275prov=Ce({token:Sv,factory:()=>de(LM),providedIn:"platform"})}const BK=new Ie("");class LM extends Sv{constructor(){super(),this._doc=de(Ln),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Vd().getBaseHref(this._doc)}onPopState(e){const t=Vd().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=Vd().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,t,s){this._history.pushState(e,t,s)}replaceState(e,t,s){this._history.replaceState(e,t,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static#e=this.\u0275fac=function(t){return new(t||LM)};static#t=this.\u0275prov=Ce({token:LM,factory:()=>new LM,providedIn:"platform"})}function XN(n,e){if(0==n.length)return e;if(0==e.length)return n;let t=0;return n.endsWith("/")&&t++,e.startsWith("/")&&t++,2==t?n+e.substring(1):1==t?n+e:n+"/"+e}function x3(n){const e=n.match(/#|\?|$/),t=e&&e.index||n.length,s=t-("/"===n[t-1]?1:0);return n.slice(0,s)+n.slice(t)}function Hd(n){return n&&"?"!==n[0]?"?"+n:n}class gu{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(t){return new(t||gu)};static#t=this.\u0275prov=Ce({token:gu,factory:()=>de(Dv),providedIn:"root"})}const k3=new Ie("");class Dv extends gu{constructor(e,t){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??de(Ln).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return XN(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+Hd(this._platformLocation.search),s=this._platformLocation.hash;return s&&e?`${t}${s}`:t}pushState(e,t,s,i){const o=this.prepareExternalUrl(s+Hd(i));this._platformLocation.pushState(e,t,o)}replaceState(e,t,s,i){const o=this.prepareExternalUrl(s+Hd(i));this._platformLocation.replaceState(e,t,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(t){return new(t||Dv)(be(Sv),be(k3,8))};static#t=this.\u0275prov=Ce({token:Dv,factory:Dv.\u0275fac,providedIn:"root"})}class PM extends gu{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=t&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){const t=this._platformLocation.hash??"#";return t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=XN(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,s,i){let o=this.prepareExternalUrl(s+Hd(i));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)}replaceState(e,t,s,i){let o=this.prepareExternalUrl(s+Hd(i));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(t){return new(t||PM)(be(Sv),be(k3,8))};static#t=this.\u0275prov=Ce({token:PM,factory:PM.\u0275fac})}class Ud{constructor(e){this._subject=new je,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const t=this._locationStrategy.getBaseHref();this._basePath=function HK(n){if(new RegExp("^(https?:)?//").test(n)){const[,t]=n.split(/\/\/[^\/]+/);return t}return n}(x3(T3(t))),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+Hd(t))}normalize(e){return Ud.stripTrailingSlash(function VK(n,e){if(!n||!e.startsWith(n))return e;const t=e.substring(n.length);return""===t||["/",";","?","#"].includes(t[0])?t:e}(this._basePath,T3(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",s=null){this._locationStrategy.pushState(s,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Hd(t)),s)}replaceState(e,t="",s=null){this._locationStrategy.replaceState(s,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Hd(t)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{const t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(s=>s(e,t))}subscribe(e,t,s){return this._subject.subscribe({next:e,error:t,complete:s})}static#e=this.normalizeQueryParams=Hd;static#t=this.joinWithSlash=XN;static#n=this.stripTrailingSlash=x3;static#s=this.\u0275fac=function(t){return new(t||Ud)(be(gu))};static#r=this.\u0275prov=Ce({token:Ud,factory:()=>function jK(){return new Ud(be(gu))}(),providedIn:"root"})}function T3(n){return n.replace(/\/index.html$/,"")}const I3={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 RM,gg,ho,As,ca;!function(n){n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific"}(RM||(RM={})),function(n){n[n.Zero=0]="Zero",n[n.One=1]="One",n[n.Two=2]="Two",n[n.Few=3]="Few",n[n.Many=4]="Many",n[n.Other=5]="Other"}(gg||(gg={})),function(n){n[n.Format=0]="Format",n[n.Standalone=1]="Standalone"}(ho||(ho={})),function(n){n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short"}(As||(As={})),function(n){n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full"}(ca||(ca={}));const ni={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};var A3;function LI(n,e){return yl(Lo(n)[Bs.DateFormat],e)}function PI(n,e){return yl(Lo(n)[Bs.TimeFormat],e)}function RI(n,e){return yl(Lo(n)[Bs.DateTimeFormat],e)}function _l(n,e){const t=Lo(n),s=t[Bs.NumberSymbols][e];if(typeof s>"u"){if(e===ni.CurrencyDecimal)return t[Bs.NumberSymbols][ni.Decimal];if(e===ni.CurrencyGroup)return t[Bs.NumberSymbols][ni.Group]}return s}function ZN(n,e){return Lo(n)[Bs.NumberFormats][e]}!function(n){n[n.Sunday=0]="Sunday",n[n.Monday=1]="Monday",n[n.Tuesday=2]="Tuesday",n[n.Wednesday=3]="Wednesday",n[n.Thursday=4]="Thursday",n[n.Friday=5]="Friday",n[n.Saturday=6]="Saturday"}(A3||(A3={}));const KK=QV;function L3(n){if(!n[Bs.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[Bs.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function yl(n,e){for(let t=e;t>-1;t--)if(typeof n[t]<"u")return n[t];throw new Error("Locale data API: locale data undefined")}function JN(n){const[e,t]=n.split(":");return{hours:+e,minutes:+t}}function ZK(n,e,t="en"){const s=function GK(n){return Lo(n)[Bs.Currencies]}(t)[n]||I3[n]||[],i=s[1];return"narrow"===e&&"string"==typeof i?i:s[0]||n}const JK=2;const tQ=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,OI={},nQ=/((?:[^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 _u,ss,rs;function sQ(n,e,t,s){let i=function hQ(n){if(O3(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[i,o=1,c=1]=n.split("-").map(d=>+d);return NI(i,o-1,c)}const t=parseFloat(n);if(!isNaN(n-t))return new Date(t);let s;if(s=n.match(tQ))return function pQ(n){const e=new Date(0);let t=0,s=0;const i=n[8]?e.setUTCFullYear:e.setFullYear,o=n[8]?e.setUTCHours:e.setHours;n[9]&&(t=Number(n[9]+n[10]),s=Number(n[9]+n[11])),i.call(e,Number(n[1]),Number(n[2])-1,Number(n[3]));const c=Number(n[4]||0)-t,d=Number(n[5]||0)-s,h=Number(n[6]||0),m=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return o.call(e,c,d,h,m),e}(s)}const e=new Date(n);if(!O3(e))throw new Error(`Unable to convert "${n}" into a date`);return e}(n);e=$d(t,e)||e;let d,c=[];for(;e;){if(d=nQ.exec(e),!d){c.push(e);break}{c=c.concat(d.slice(1));const g=c.pop();if(!g)break;e=g}}let h=i.getTimezoneOffset();s&&(h=R3(s,h),i=function dQ(n,e,t){const s=t?-1:1,i=n.getTimezoneOffset(),o=R3(e,i);return function uQ(n,e){return n=new Date(n.getTime()),n.setMinutes(n.getMinutes()+e),n}(n,s*(o-i))}(i,s,!0));let m="";return c.forEach(g=>{const b=function cQ(n){if(tF[n])return tF[n];let e;switch(n){case"G":case"GG":case"GGG":e=Ws(rs.Eras,As.Abbreviated);break;case"GGGG":e=Ws(rs.Eras,As.Wide);break;case"GGGGG":e=Ws(rs.Eras,As.Narrow);break;case"y":e=si(ss.FullYear,1,0,!1,!0);break;case"yy":e=si(ss.FullYear,2,0,!0,!0);break;case"yyy":e=si(ss.FullYear,3,0,!1,!0);break;case"yyyy":e=si(ss.FullYear,4,0,!1,!0);break;case"Y":e=jI(1);break;case"YY":e=jI(2,!0);break;case"YYY":e=jI(3);break;case"YYYY":e=jI(4);break;case"M":case"L":e=si(ss.Month,1,1);break;case"MM":case"LL":e=si(ss.Month,2,1);break;case"MMM":e=Ws(rs.Months,As.Abbreviated);break;case"MMMM":e=Ws(rs.Months,As.Wide);break;case"MMMMM":e=Ws(rs.Months,As.Narrow);break;case"LLL":e=Ws(rs.Months,As.Abbreviated,ho.Standalone);break;case"LLLL":e=Ws(rs.Months,As.Wide,ho.Standalone);break;case"LLLLL":e=Ws(rs.Months,As.Narrow,ho.Standalone);break;case"w":e=eF(1);break;case"ww":e=eF(2);break;case"W":e=eF(1,!0);break;case"d":e=si(ss.Date,1);break;case"dd":e=si(ss.Date,2);break;case"c":case"cc":e=si(ss.Day,1);break;case"ccc":e=Ws(rs.Days,As.Abbreviated,ho.Standalone);break;case"cccc":e=Ws(rs.Days,As.Wide,ho.Standalone);break;case"ccccc":e=Ws(rs.Days,As.Narrow,ho.Standalone);break;case"cccccc":e=Ws(rs.Days,As.Short,ho.Standalone);break;case"E":case"EE":case"EEE":e=Ws(rs.Days,As.Abbreviated);break;case"EEEE":e=Ws(rs.Days,As.Wide);break;case"EEEEE":e=Ws(rs.Days,As.Narrow);break;case"EEEEEE":e=Ws(rs.Days,As.Short);break;case"a":case"aa":case"aaa":e=Ws(rs.DayPeriods,As.Abbreviated);break;case"aaaa":e=Ws(rs.DayPeriods,As.Wide);break;case"aaaaa":e=Ws(rs.DayPeriods,As.Narrow);break;case"b":case"bb":case"bbb":e=Ws(rs.DayPeriods,As.Abbreviated,ho.Standalone,!0);break;case"bbbb":e=Ws(rs.DayPeriods,As.Wide,ho.Standalone,!0);break;case"bbbbb":e=Ws(rs.DayPeriods,As.Narrow,ho.Standalone,!0);break;case"B":case"BB":case"BBB":e=Ws(rs.DayPeriods,As.Abbreviated,ho.Format,!0);break;case"BBBB":e=Ws(rs.DayPeriods,As.Wide,ho.Format,!0);break;case"BBBBB":e=Ws(rs.DayPeriods,As.Narrow,ho.Format,!0);break;case"h":e=si(ss.Hours,1,-12);break;case"hh":e=si(ss.Hours,2,-12);break;case"H":e=si(ss.Hours,1);break;case"HH":e=si(ss.Hours,2);break;case"m":e=si(ss.Minutes,1);break;case"mm":e=si(ss.Minutes,2);break;case"s":e=si(ss.Seconds,1);break;case"ss":e=si(ss.Seconds,2);break;case"S":e=si(ss.FractionalSeconds,1);break;case"SS":e=si(ss.FractionalSeconds,2);break;case"SSS":e=si(ss.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=YI(_u.Short);break;case"ZZZZZ":e=YI(_u.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=YI(_u.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=YI(_u.Long);break;default:return null}return tF[n]=e,e}(g);m+=b?b(i,t,h):"''"===g?"'":g.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),m}function NI(n,e,t){const s=new Date(0);return s.setFullYear(n,e,t),s.setHours(0,0,0),s}function $d(n,e){const t=function UK(n){return Lo(n)[Bs.LocaleId]}(n);if(OI[t]??={},OI[t][e])return OI[t][e];let s="";switch(e){case"shortDate":s=LI(n,ca.Short);break;case"mediumDate":s=LI(n,ca.Medium);break;case"longDate":s=LI(n,ca.Long);break;case"fullDate":s=LI(n,ca.Full);break;case"shortTime":s=PI(n,ca.Short);break;case"mediumTime":s=PI(n,ca.Medium);break;case"longTime":s=PI(n,ca.Long);break;case"fullTime":s=PI(n,ca.Full);break;case"short":const i=$d(n,"shortTime"),o=$d(n,"shortDate");s=FI(RI(n,ca.Short),[i,o]);break;case"medium":const c=$d(n,"mediumTime"),d=$d(n,"mediumDate");s=FI(RI(n,ca.Medium),[c,d]);break;case"long":const h=$d(n,"longTime"),m=$d(n,"longDate");s=FI(RI(n,ca.Long),[h,m]);break;case"full":const g=$d(n,"fullTime"),b=$d(n,"fullDate");s=FI(RI(n,ca.Full),[g,b])}return s&&(OI[t][e]=s),s}function FI(n,e){return e&&(n=n.replace(/\{([^}]+)}/g,function(t,s){return null!=e&&s in e?e[s]:t})),n}function dc(n,e,t="-",s,i){let o="";(n<0||i&&n<=0)&&(i?n=1-n:(n=-n,o=t));let c=String(n);for(;c.length0||d>-t)&&(d+=t),n===ss.Hours)0===d&&-12===t&&(d=12);else if(n===ss.FractionalSeconds)return function rQ(n,e){return dc(n,3).substring(0,e)}(d,e);const h=_l(c,ni.MinusSign);return dc(d,e,h,s,i)}}function Ws(n,e,t=ho.Format,s=!1){return function(i,o){return function oQ(n,e,t,s,i,o){switch(t){case rs.Months:return function WK(n,e,t){const s=Lo(n),o=yl([s[Bs.MonthsFormat],s[Bs.MonthsStandalone]],e);return yl(o,t)}(e,i,s)[n.getMonth()];case rs.Days:return function zK(n,e,t){const s=Lo(n),o=yl([s[Bs.DaysFormat],s[Bs.DaysStandalone]],e);return yl(o,t)}(e,i,s)[n.getDay()];case rs.DayPeriods:const c=n.getHours(),d=n.getMinutes();if(o){const m=function QK(n){const e=Lo(n);return L3(e),(e[Bs.ExtraData][2]||[]).map(s=>"string"==typeof s?JN(s):[JN(s[0]),JN(s[1])])}(e),g=function XK(n,e,t){const s=Lo(n);L3(s);const o=yl([s[Bs.ExtraData][0],s[Bs.ExtraData][1]],e)||[];return yl(o,t)||[]}(e,i,s),b=m.findIndex(E=>{if(Array.isArray(E)){const[x,P]=E,F=c>=x.hours&&d>=x.minutes,H=c0?Math.floor(i/60):Math.ceil(i/60);switch(n){case _u.Short:return(i>=0?"+":"")+dc(c,2,o)+dc(Math.abs(i%60),2,o);case _u.ShortGMT:return"GMT"+(i>=0?"+":"")+dc(c,1,o);case _u.Long:return"GMT"+(i>=0?"+":"")+dc(c,2,o)+":"+dc(Math.abs(i%60),2,o);case _u.Extended:return 0===s?"Z":(i>=0?"+":"")+dc(c,2,o)+":"+dc(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${n}"`)}}}!function(n){n[n.Short=0]="Short",n[n.ShortGMT=1]="ShortGMT",n[n.Long=2]="Long",n[n.Extended=3]="Extended"}(_u||(_u={})),function(n){n[n.FullYear=0]="FullYear",n[n.Month=1]="Month",n[n.Date=2]="Date",n[n.Hours=3]="Hours",n[n.Minutes=4]="Minutes",n[n.Seconds=5]="Seconds",n[n.FractionalSeconds=6]="FractionalSeconds",n[n.Day=7]="Day"}(ss||(ss={})),function(n){n[n.DayPeriods=0]="DayPeriods",n[n.Days=1]="Days",n[n.Months=2]="Months",n[n.Eras=3]="Eras"}(rs||(rs={}));const aQ=0,BI=4;function P3(n){const e=n.getDay(),t=0===e?-3:BI-e;return NI(n.getFullYear(),n.getMonth(),n.getDate()+t)}function eF(n,e=!1){return function(t,s){let i;if(e){const o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,c=t.getDate();i=1+Math.floor((c+o)/7)}else{const o=P3(t),c=function lQ(n){const e=NI(n,aQ,1).getDay();return NI(n,0,1+(e<=BI?BI:BI+7)-e)}(o.getFullYear()),d=o.getTime()-c.getTime();i=1+Math.round(d/6048e5)}return dc(i,n,_l(s,ni.MinusSign))}}function jI(n,e=!1){return function(t,s){return dc(P3(t).getFullYear(),n,_l(s,ni.MinusSign),e)}}const tF={};function R3(n,e){n=n.replace(/:/g,"");const t=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(t)?e:t}function O3(n){return n instanceof Date&&!isNaN(n.valueOf())}const fQ=/^(\d+)?\.((\d+)(-(\d+))?)?$/,N3=22,VI=".",OM="0",mQ=";",gQ=",",nF="#";function sF(n,e,t,s,i,o,c=!1){let d="",h=!1;if(isFinite(n)){let m=function SQ(n){let s,i,o,c,d,e=Math.abs(n)+"",t=0;for((i=e.indexOf(VI))>-1&&(e=e.replace(VI,"")),(o=e.search(/e/i))>0?(i<0&&(i=o),i+=+e.slice(o+1),e=e.substring(0,o)):i<0&&(i=e.length),o=0;e.charAt(o)===OM;o++);if(o===(d=e.length))s=[0],i=1;else{for(d--;e.charAt(d)===OM;)d--;for(i-=o,s=[],c=0;o<=d;o++,c++)s[c]=Number(e.charAt(o))}return i>N3&&(s=s.splice(0,N3-1),t=i-1,i=1),{digits:s,exponent:t,integerLen:i}}(n);c&&(m=function wQ(n){if(0===n.digits[0])return n;const e=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(0===e?n.digits.push(0,0):1===e&&n.digits.push(0),n.integerLen+=2),n}(m));let g=e.minInt,b=e.minFrac,E=e.maxFrac;if(o){const z=o.match(fQ);if(null===z)throw new Error(`${o} is not a valid digit info`);const ie=z[1],ce=z[3],he=z[5];null!=ie&&(g=iF(ie)),null!=ce&&(b=iF(ce)),null!=he?E=iF(he):null!=ce&&b>E&&(E=b)}!function DQ(n,e,t){if(e>t)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${t}).`);let s=n.digits,i=s.length-n.integerLen;const o=Math.min(Math.max(e,i),t);let c=o+n.integerLen,d=s[c];if(c>0){s.splice(Math.max(n.integerLen,c));for(let b=c;b=5)if(c-1<0){for(let b=0;b>c;b--)s.unshift(0),n.integerLen++;s.unshift(1),n.integerLen++}else s[c-1]++;for(;i=m?P.pop():h=!1),E>=10?1:0},0);g&&(s.unshift(g),n.integerLen++)}(m,b,E);let x=m.digits,P=m.integerLen;const F=m.exponent;let H=[];for(h=x.every(z=>!z);P0?H=x.splice(P,x.length):(H=x,x=[0]);const W=[];for(x.length>=e.lgSize&&W.unshift(x.splice(-e.lgSize,x.length).join(""));x.length>e.gSize;)W.unshift(x.splice(-e.gSize,x.length).join(""));x.length&&W.unshift(x.join("")),d=W.join(_l(t,s)),H.length&&(d+=_l(t,i)+H.join("")),F&&(d+=_l(t,ni.Exponential)+"+"+F)}else d=_l(t,ni.Infinity);return d=n<0&&!h?e.negPre+d+e.negSuf:e.posPre+d+e.posSuf,d}function yQ(n,e,t,s,i){const c=rF(ZN(e,RM.Currency),_l(e,ni.MinusSign));return c.minFrac=function eQ(n){let e;const t=I3[n];return t&&(e=t[2]),"number"==typeof e?e:JK}(s),c.maxFrac=c.minFrac,sF(n,c,e,ni.CurrencyGroup,ni.CurrencyDecimal,i).replace("\xa4",t).replace("\xa4","").trim()}function rF(n,e="-"){const t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},s=n.split(mQ),i=s[0],o=s[1],c=-1!==i.indexOf(VI)?i.split(VI):[i.substring(0,i.lastIndexOf(OM)+1),i.substring(i.lastIndexOf(OM)+1)],d=c[0],h=c[1]||"";t.posPre=d.substring(0,d.indexOf(nF));for(let g=0;g-1||(i=t.getPluralCategory(n,s),e.indexOf(i)>-1))return i;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${n}"`)}class NM extends Mv{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(KK(t||this.locale)(e)){case gg.Zero:return"zero";case gg.One:return"one";case gg.Two:return"two";case gg.Few:return"few";case gg.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(t){return new(t||NM)(be(Vp))};static#t=this.\u0275prov=Ce({token:NM,factory:NM.\u0275fac})}function B3(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const s=t.indexOf("="),[i,o]=-1==s?[t,""]:[t.slice(0,s),t.slice(s+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}const oF=/\s+/,j3=[];class Cv{constructor(e,t){this._ngEl=e,this._renderer=t,this.initialClasses=j3,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(oF):j3}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(oF):e}ngDoCheck(){for(const t of this.initialClasses)this._updateState(t,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const t of e)this._updateState(t,!0);else if(null!=e)for(const t of Object.keys(e))this._updateState(t,!!e[t]);this._applyStateDiff()}_updateState(e,t){const s=this.stateMap.get(e);void 0!==s?(s.enabled!==t&&(s.changed=!0,s.enabled=t),s.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const t=e[0],s=e[1];s.changed?(this._toggleClass(t,s.enabled),s.changed=!1):s.touched||(s.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),s.touched=!1}}_toggleClass(e,t){(e=e.trim()).length>0&&e.split(oF).forEach(s=>{t?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}static#e=this.\u0275fac=function(t){return new(t||Cv)(ue(fn),ue(ei))};static#t=this.\u0275dir=Ge({type:Cv,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}class Ev{constructor(e){this._viewContainerRef=e,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(e){return void 0!==e.ngComponentOutletNgModule||void 0!==e.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(e){return void 0!==e.ngComponentOutlet||void 0!==e.ngComponentOutletContent||void 0!==e.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=function Mp(n,e){return new rv(n,e??null,[])}(this.ngComponentOutletNgModule,V3(t)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(V3(t)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:t,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(const[t,s]of this._inputsUsed)s?(e.setInput(t,this.ngComponentOutletInputs[t]),this._inputsUsed.set(t,!1)):(e.setInput(t,void 0),this._inputsUsed.delete(t))}static#e=this.\u0275fac=function(t){return new(t||Ev)(ue(xi))};static#t=this.\u0275dir=Ge({type:Ev,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Ss]})}function V3(n){return n.get(Ld).injector}class MQ{constructor(e,t,s,i){this.$implicit=e,this.ngForOf=t,this.index=s,this.count=i}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}}class xv{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,t,s){this._viewContainer=e,this._template=t,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=this._viewContainer;e.forEachOperation((s,i,o)=>{if(null==s.previousIndex)t.createEmbeddedView(this._template,new MQ(s.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)t.remove(null===i?void 0:i);else if(null!==i){const c=t.get(i);t.move(c,o),H3(c,s)}});for(let s=0,i=t.length;s{H3(t.get(s.currentIndex),s)})}static ngTemplateContextGuard(e,t){return!0}static#e=this.\u0275fac=function(t){return new(t||xv)(ue(xi),ue(di),ue(pu))};static#t=this.\u0275dir=Ge({type:xv,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}function H3(n,e){n.context.$implicit=e.item}class kv{constructor(e,t){this._viewContainer=e,this._context=new CQ,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){U3("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){U3("ngIfElse",e),this._elseTemplateRef=e,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(e,t){return!0}static#e=this.\u0275fac=function(t){return new(t||kv)(ue(xi),ue(di))};static#t=this.\u0275dir=Ge({type:kv,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}class CQ{constructor(){this.$implicit=null,this.ngIf=null}}function U3(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${hn(e)}'.`)}class aF{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}class Up{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const t=e===this._ngSwitch;return this._lastCasesMatched||=t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const t of this._defaultViews)t.enforceState(e)}}static#e=this.\u0275fac=function(t){return new(t||Up)};static#t=this.\u0275dir=Ge({type:Up,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}class Tv{constructor(e,t,s){this.ngSwitch=s,s._addCase(),this._view=new aF(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(t){return new(t||Tv)(ue(xi),ue(di),ue(Up,9))};static#t=this.\u0275dir=Ge({type:Tv,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}class Iv{constructor(e,t,s){s._addDefault(new aF(e,t))}static#e=this.\u0275fac=function(t){return new(t||Iv)(ue(xi),ue(di),ue(Up,9))};static#t=this.\u0275dir=Ge({type:Iv,selectors:[["","ngSwitchDefault",""]],standalone:!0})}class _g{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._updateView(e)}addCase(e,t){this._caseViews[e]=t}_updateView(e){this._clearViews();const s=Y3(e,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[s])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}static#e=this.\u0275fac=function(t){return new(t||_g)(ue(Mv))};static#t=this.\u0275dir=Ge({type:_g,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}class Av{constructor(e,t,s,i){this.value=e;const o=!isNaN(Number(e));i.addCase(o?`=${e}`:e,new aF(s,t))}static#e=this.\u0275fac=function(t){return new(t||Av)(io("ngPluralCase"),ue(di),ue(xi),ue(_g,1))};static#t=this.\u0275dir=Ge({type:Av,selectors:[["","ngPluralCase",""]],standalone:!0})}class Lv{constructor(e,t,s){this._ngEl=e,this._differs=t,this._renderer=s,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[s,i]=e.split("."),o=-1===s.indexOf("-")?void 0:rc.DashCase;null!=t?this._renderer.setStyle(this._ngEl.nativeElement,s,i?`${t}${i}`:t,o):this._renderer.removeStyle(this._ngEl.nativeElement,s,o)}_applyChanges(e){e.forEachRemovedItem(t=>this._setStyle(t.key,null)),e.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),e.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}static#e=this.\u0275fac=function(t){return new(t||Lv)(ue(fn),ue(fu),ue(ei))};static#t=this.\u0275dir=Ge({type:Lv,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}class Pv{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const s=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,s,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,s)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,t,s),get:(e,t,s)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,s)}})}static#e=this.\u0275fac=function(t){return new(t||Pv)(ue(xi))};static#t=this.\u0275dir=Ge({type:Pv,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ss]})}function hc(n,e){return new ae(2100,!1)}const kQ=new class xQ{createSubscription(e,t){return e.then(t,s=>{throw s})}dispose(e){}},TQ=new class EQ{createSubscription(e,t){return mu(()=>e.subscribe({next:t,error:s=>{throw s}}))}dispose(e){mu(()=>e.unsubscribe())}};class yg{constructor(e){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(MM(e))return kQ;if(L8(e))return TQ;throw hc()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(t){return new(t||yg)(ue(gl,16))};static#t=this.\u0275pipe=qr({name:"async",type:yg,pure:!1,standalone:!0})}class vg{transform(e){if(null==e)return null;if("string"!=typeof e)throw hc();return e.toLowerCase()}static#e=this.\u0275fac=function(t){return new(t||vg)};static#t=this.\u0275pipe=qr({name:"lowercase",type:vg,pure:!0,standalone:!0})}const IQ=/(?:[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;class bg{transform(e){if(null==e)return null;if("string"!=typeof e)throw hc();return e.replace(IQ,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}static#e=this.\u0275fac=function(t){return new(t||bg)};static#t=this.\u0275pipe=qr({name:"titlecase",type:bg,pure:!0,standalone:!0})}class wg{transform(e){if(null==e)return null;if("string"!=typeof e)throw hc();return e.toUpperCase()}static#e=this.\u0275fac=function(t){return new(t||wg)};static#t=this.\u0275pipe=qr({name:"uppercase",type:wg,pure:!0,standalone:!0})}const LQ=new Ie(""),PQ=new Ie("");class Sg{constructor(e,t,s){this.locale=e,this.defaultTimezone=t,this.defaultOptions=s}transform(e,t,s,i){if(null==e||""===e||e!=e)return null;try{const o=t??this.defaultOptions?.dateFormat??"mediumDate",c=s??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return sQ(e,o,i||this.locale,c)}catch(o){throw hc(0,o.message)}}static#e=this.\u0275fac=function(t){return new(t||Sg)(ue(Vp,16),ue(LQ,24),ue(PQ,24))};static#t=this.\u0275pipe=qr({name:"date",type:Sg,pure:!0,standalone:!0})}const RQ=/#/g;class Dg{constructor(e){this._localization=e}transform(e,t,s){if(null==e)return"";if("object"!=typeof t||null===t)throw hc();return t[Y3(e,Object.keys(t),this._localization,s)].replace(RQ,e.toString())}static#e=this.\u0275fac=function(t){return new(t||Dg)(ue(Mv,16))};static#t=this.\u0275pipe=qr({name:"i18nPlural",type:Dg,pure:!0,standalone:!0})}class Mg{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw hc();return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}static#e=this.\u0275fac=function(t){return new(t||Mg)};static#t=this.\u0275pipe=qr({name:"i18nSelect",type:Mg,pure:!0,standalone:!0})}class Rv{transform(e){return JSON.stringify(e,null,2)}static#e=this.\u0275fac=function(t){return new(t||Rv)};static#t=this.\u0275pipe=qr({name:"json",type:Rv,pure:!1,standalone:!0})}class Ov{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=$3}transform(e,t=$3){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ??=this.differs.find(e).create();const s=this.differ.diff(e),i=t!==this.compareFn;return s&&(this.keyValues=[],s.forEachItem(o=>{this.keyValues.push(function OQ(n,e){return{key:n,value:e}}(o.key,o.currentValue))})),(s||i)&&(this.keyValues.sort(t),this.compareFn=t),this.keyValues}static#e=this.\u0275fac=function(t){return new(t||Ov)(ue(fu,16))};static#t=this.\u0275pipe=qr({name:"keyvalue",type:Ov,pure:!1,standalone:!0})}function $3(n,e){const t=n.key,s=e.key;if(t===s)return 0;if(void 0===t)return 1;if(void 0===s)return-1;if(null===t)return 1;if(null===s)return-1;if("string"==typeof t&&"string"==typeof s)return tdF(de(lo))?new FQ(de(Ln),window):new BQ})}class FQ{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){const t=function YQ(n,e){const t=n.getElementById(e)||n.getElementsByName(e)[0];if(t)return t;if("function"==typeof n.createTreeWalker&&n.body&&"function"==typeof n.body.attachShadow){const s=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let i=s.currentNode;for(;i;){const o=i.shadowRoot;if(o){const c=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(c)return c}i=s.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){const t=e.getBoundingClientRect(),s=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(s-o[0],i-o[1])}}class BQ{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}}class z3{}const UI="20";function Nv(n,e){return $I(n)?new URL(n):new URL(n,e.location.href)}function $I(n){return/^https?:\/\//.test(n)}function W3(n){return $I(n)?new URL(n).hostname:n}function q3(n){if("string"!=typeof n||""===n.trim())return!1;try{new URL(n);return!0}catch{return!1}}function VQ(n){return n.startsWith("/")?n.slice(1):n}const Fv=n=>n.src,pF=new Ie("",{providedIn:"root",factory:()=>Fv});function zI(n,e){return function(s){return q3(s)||function HQ(n,e){throw new ae(2959,!1)}(),s=function jQ(n){return n.endsWith("/")?n.slice(0,-1):n}(s),[{provide:pF,useValue:c=>($I(c.src)&&function UQ(n,e){throw new ae(2959,!1)}(0,c.src),n(s,{...c,src:VQ(c.src)}))}]}}zI(function $Q(n,e){let t="format=auto";return e.width&&(t+=`,width=${e.width}`),e.isPlaceholder&&(t+=`,quality=${UI}`),`${n}/cdn-cgi/image/${t}/${e.src}`});zI(function GQ(n,e){let s="f_auto,"+(e.isPlaceholder?"q_auto:low":"q_auto");return e.width&&(s+=`,w_${e.width}`),`${n}/image/upload/${s}/${e.src}`});zI(function ZQ(n,e){const{src:t,width:s}=e,i=[];s&&i.push(`w-${s}`),e.isPlaceholder&&i.push(`q-${UI}`);const o=i.length?[n,`tr:${i.join(",")}`,t]:[n,t];return new URL(o.join("/")).href});zI(function nX(n,e){const t=new URL(`${n}/${e.src}`);return t.searchParams.set("auto","format"),e.width&&t.searchParams.set("w",e.width.toString()),e.isPlaceholder&&t.searchParams.set("q",UI),t.href});function Ls(n,e=!0){return`The NgOptimizedImage directive ${e?`(activated on an element with the \`ngSrc="${n}"\`) `:""}has detected that`}function K3(n){throw new ae(2958,`Unexpected invocation of the ${n} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}class WI{constructor(){this.images=new Map,this.window=null,this.observer=null;const e=dF(de(lo));K3("LCP checker");const t=de(Ln).defaultView;e&&typeof PerformanceObserver<"u"&&(this.window=t,this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const e=new PerformanceObserver(t=>{const s=t.getEntries();if(0===s.length)return;const o=s[s.length-1].element?.src??"";if(o.startsWith("data:")||o.startsWith("blob:"))return;const c=this.images.get(o);c&&(!c.priority&&!c.alreadyWarnedPriority&&(c.alreadyWarnedPriority=!0,function aX(n){const e=Ls(n);console.error(ut(2955,`${e} this image is the Largest Contentful Paint (LCP) element but was not marked "priority". This image should be marked "priority" in order to prioritize its loading. To fix this, add the "priority" attribute.`))}(o)),c.modified&&!c.alreadyWarnedModified&&(c.alreadyWarnedModified=!0,function lX(n){const e=Ls(n);console.warn(ut(2964,`${e} this image is the Largest Contentful Paint (LCP) element and has had its "ngSrc" attribute modified. This can cause slower loading performance. It is recommended not to modify the "ngSrc" property on any image which could be the LCP element.`))}(o)))});return e.observe({type:"largest-contentful-paint",buffered:!0}),e}registerImage(e,t,s){if(!this.observer)return;const i={priority:s,modified:!1,alreadyWarnedModified:!1,alreadyWarnedPriority:!1};this.images.set(Nv(e,this.window).href,i)}unregisterImage(e){this.observer&&this.images.delete(Nv(e,this.window).href)}updateImage(e,t){if(!this.observer)return;const s=Nv(e,this.window).href,i=this.images.get(s);i&&(i.modified=!0,this.images.set(Nv(t,this.window).href,i),this.images.delete(s))}ngOnDestroy(){this.observer&&(this.observer.disconnect(),this.images.clear())}static#e=this.\u0275fac=function(t){return new(t||WI)};static#t=this.\u0275prov=Ce({token:WI,factory:WI.\u0275fac,providedIn:"root"})}const cX=new Set(["localhost","127.0.0.1","0.0.0.0"]),uX=new Ie("");class qI{constructor(){this.document=de(Ln),this.isServer=HI(de(lo)),this.preconnectLinks=null,this.alreadySeen=new Set,this.window=null,this.blocklist=new Set(cX),K3("preconnect link checker");const e=this.document.defaultView;typeof e<"u"&&(this.window=e);const t=de(uX,{optional:!0});t&&this.populateBlocklist(t)}populateBlocklist(e){Array.isArray(e)?Q3(e,t=>{this.blocklist.add(W3(t))}):this.blocklist.add(W3(e))}assertPreconnect(e,t){if(this.isServer)return;const s=Nv(e,this.window);this.blocklist.has(s.hostname)||this.alreadySeen.has(s.origin)||(this.alreadySeen.add(s.origin),this.preconnectLinks??=this.queryPreconnectLinks(),this.preconnectLinks.has(s.origin)||console.warn(ut(2956,`${Ls(t)} there is no preconnect tag present for this image. Preconnecting to the origin(s) that serve priority images ensures that these images are delivered as soon as possible. To fix this, please add the following element into the of the document:\n `)))}queryPreconnectLinks(){const e=new Set,s=Array.from(this.document.querySelectorAll("link[rel=preconnect]"));for(let i of s){const o=Nv(i.href,this.window);e.add(o.origin)}return e}ngOnDestroy(){this.preconnectLinks?.clear(),this.alreadySeen.clear()}static#e=this.\u0275fac=function(t){return new(t||qI)};static#t=this.\u0275prov=Ce({token:qI,factory:qI.\u0275fac,providedIn:"root"})}function Q3(n,e){for(let t of n)Array.isArray(t)?Q3(t,e):e(t)}const dX=new Ie("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});class FM{constructor(){this.preloadedImages=de(dX),this.document=de(Ln)}createPreloadLinkTag(e,t,s,i){if(this.preloadedImages.has(t))return;this.preloadedImages.add(t);const o=e.createElement("link");e.setAttribute(o,"as","image"),e.setAttribute(o,"href",t),e.setAttribute(o,"rel","preload"),e.setAttribute(o,"fetchpriority","high"),i&&e.setAttribute(o,"imageSizes",i),s&&e.setAttribute(o,"imageSrcset",s),e.appendChild(this.document.head,o)}static#e=this.\u0275fac=function(t){return new(t||FM)};static#t=this.\u0275prov=Ce({token:FM,factory:FM.\u0275fac,providedIn:"root"})}const Z3=/^((\s*\d+w\s*(,|$)){1,})$/,pX=[1,2];class gF{constructor(){this.imageLoader=de(pF),this.config=function yX(n){let e={};return n.breakpoints&&(e.breakpoints=n.breakpoints.sort((t,s)=>t-s)),Object.assign({},pd,n,e)}(de(cx)),this.renderer=de(ei),this.imgElement=de(fn).nativeElement,this.injector=de(ns),this.isServer=HI(de(lo)),this.preloadLinkCreator=de(FM),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){Ti("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 e=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),e,this.sizes)}ngOnChanges(e){if(e.ngSrc&&!e.ngSrc.isFirstChange()){const t=this._renderedSrc;this.updateSrcAndSrcset(!0);const s=this._renderedSrc;null!==this.lcpObserver&&t&&s&&t!==s&&this.injector.get(vt).runOutsideAngular(()=>{this.lcpObserver?.updateImage(t,s)})}}callImageLoader(e){let t=e;return this.loaderParams&&(t.loaderParams=this.loaderParams),this.imageLoader(t)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){const e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){const e=Z3.test(this.ngSrcset);return this.ngSrcset.split(",").filter(s=>""!==s).map(s=>{s=s.trim();const i=e?parseFloat(s):parseFloat(s)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${s}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:e}=this.config;let t=e;return"100vw"===this.sizes?.trim()&&(t=e.filter(i=>i>=640)),t.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);const t=this.getRewrittenSrc();let s;return this.setHostAttribute("src",t),this.ngSrcset?s=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(s=this.getAutomaticSrcset()),s&&this.setHostAttribute("srcset",s),s}getFixedSrcset(){return pX.map(t=>`${this.callImageLoader({src:this.ngSrc,width:this.width*t})} ${t}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Fv&&!e}generatePlaceholder(e){const{placeholderResolution:t}=this.config;return!0===e?`url(${this.callImageLoader({src:this.ngSrc,width:t,isPlaceholder:!0})})`:"string"==typeof e?`url(${e})`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")||!!e.blur}removePlaceholderOnLoad(e){const t=()=>{const o=this.injector.get(gl);s(),i(),this.placeholder=!1,o.markForCheck()},s=this.renderer.listen(e,"load",t),i=this.renderer.listen(e,"error",t);yF(e,t)}ngOnDestroy(){}setHostAttribute(e,t){this.renderer.setAttribute(this.imgElement,e,t)}static#e=this.\u0275fac=function(t){return new(t||gF)};static#t=this.\u0275dir=Ge({type:gF,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(t,s){2&t&&ZT("position",s.fill?"absolute":null)("width",s.fill?"100%":null)("height",s.fill?"100%":null)("inset",s.fill?"0":null)("background-size",s.placeholder?"cover":null)("background-position",s.placeholder?"50% 50%":null)("background-repeat",s.placeholder?"no-repeat":null)("background-image",s.placeholder?s.generatePlaceholder(s.placeholder):null)("filter",s.placeholder&&s.shouldBlurPlaceholder(s.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",CX],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",D3],height:[2,"height","height",D3],loading:"loading",priority:[2,"priority","priority",Ur],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Ur],fill:[2,"fill","fill",Ur],placeholder:[2,"placeholder","placeholder",EX],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[La,Ss]})}function yF(n,e){n.complete&&n.naturalWidth&&e()}function CX(n){return"string"==typeof n?n:co(n)}function EX(n){return"string"==typeof n&&"true"!==n&&"false"!==n&&""!==n?n:Ur(n)}class xX extends YK{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class vF extends xX{static makeCurrent(){!function FK(n){E3??=n}(new vF)}onAndCancel(e,t,s){return e.addEventListener(t,s),()=>{e.removeEventListener(t,s)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function kX(){return BM=BM||document.querySelector("base"),BM?BM.getAttribute("href"):null}();return null==t?null:function TX(n){return new URL(n,document.baseURI).pathname}(t)}resetBaseElement(){BM=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return B3(document.cookie,e)}}let BM=null;class jM{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(t){return new(t||jM)};static#t=this.\u0275prov=Ce({token:jM,factory:jM.\u0275fac})}const KI=new Ie("");class Bv{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(s=>{s.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,s){return this._findPluginFor(t).addEventListener(e,t,s)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(i=>i.supports(e)),!t)throw new ae(5101,!1);return this._eventNameToPlugin.set(e,t),t}static#e=this.\u0275fac=function(t){return new(t||Bv)(be(KI),be(vt))};static#t=this.\u0275prov=Ce({token:Bv,factory:Bv.\u0275fac})}class bF{constructor(e){this._doc=e}}const wF="ng-app-id";class jv{constructor(e,t,s,i={}){this.doc=e,this.appId=t,this.nonce=s,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=HI(i),this.resetHostNodes()}addStyles(e){for(const t of e)1===this.changeUsageCount(t,1)&&this.onStyleAdded(t)}removeStyles(e){for(const t of e)this.changeUsageCount(t,-1)<=0&&this.onStyleRemoved(t)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(t=>t.remove()),e.clear());for(const t of this.getAllStyles())this.onStyleRemoved(t);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const t of this.getAllStyles())this.addStyleToHost(e,t)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const t of this.hostNodes)this.addStyleToHost(t,e)}onStyleRemoved(e){const t=this.styleRef;t.get(e)?.elements?.forEach(s=>s.remove()),t.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${wF}="${this.appId}"]`);if(e?.length){const t=new Map;return e.forEach(s=>{null!=s.textContent&&t.set(s.textContent,s)}),t}return null}changeUsageCount(e,t){const s=this.styleRef;if(s.has(e)){const i=s.get(e);return i.usage+=t,i.usage}return s.set(e,{usage:t,elements:[]}),t}getStyleElement(e,t){const s=this.styleNodesInDOM,i=s?.get(t);if(i?.parentNode===e)return s.delete(t),i.removeAttribute(wF),i;{const o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=t,this.platformIsServer&&o.setAttribute(wF,this.appId),e.appendChild(o),o}}addStyleToHost(e,t){const s=this.getStyleElement(e,t),i=this.styleRef,o=i.get(t)?.elements;o?o.push(s):i.set(t,{elements:[s],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static#e=this.\u0275fac=function(t){return new(t||jv)(be(Ln),be(hd),be(cS,8),be(lo))};static#t=this.\u0275prov=Ce({token:jv,factory:jv.\u0275fac})}const SF={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/Math/MathML"},DF=/%COMP%/g,AX="_nghost-%COMP%",LX="_ngcontent-%COMP%",RX=new Ie("",{providedIn:"root",factory:()=>true});function i5(n,e){return e.map(t=>t.replace(DF,n))}class Tg{constructor(e,t,s,i,o,c,d,h=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=s,this.removeStylesOnCompDestroy=i,this.doc=o,this.platformId=c,this.ngZone=d,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=HI(c),this.defaultRenderer=new MF(e,o,d,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===Wr.ShadowDom&&(t={...t,encapsulation:Wr.Emulated});const s=this.getOrCreateRenderer(e,t);return s instanceof a5?s.applyToHost(e):s instanceof CF&&s.applyStyles(),s}getOrCreateRenderer(e,t){const s=this.rendererByCompId;let i=s.get(t.id);if(!i){const o=this.doc,c=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(t.encapsulation){case Wr.Emulated:i=new a5(d,h,t,this.appId,m,o,c,g);break;case Wr.ShadowDom:return new YX(d,h,e,t,o,c,this.nonce,g);default:i=new CF(d,h,t,m,o,c,g)}s.set(t.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(t){return new(t||Tg)(be(Bv),be(jv),be(hd),be(RX),be(Ln),be(lo),be(vt),be(cS))};static#t=this.\u0275prov=Ce({token:Tg,factory:Tg.\u0275fac})}class MF{constructor(e,t,s,i){this.eventManager=e,this.doc=t,this.ngZone=s,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,t){return t?this.doc.createElementNS(SF[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(o5(e)?e.content:e).appendChild(t)}insertBefore(e,t,s){e&&(o5(e)?e.content:e).insertBefore(t,s)}removeChild(e,t){t.remove()}selectRootElement(e,t){let s="string"==typeof e?this.doc.querySelector(e):e;if(!s)throw new ae(-5104,!1);return t||(s.textContent=""),s}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,s,i){if(i){t=i+":"+t;const o=SF[i];o?e.setAttributeNS(o,t,s):e.setAttribute(t,s)}else e.setAttribute(t,s)}removeAttribute(e,t,s){if(s){const i=SF[s];i?e.removeAttributeNS(i,t):e.removeAttribute(`${s}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,s,i){i&(rc.DashCase|rc.Important)?e.style.setProperty(t,s,i&rc.Important?"important":""):e.style[t]=s}removeStyle(e,t,s){s&rc.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,s){null!=e&&(e[t]=s)}setValue(e,t){e.nodeValue=t}listen(e,t,s){if("string"==typeof e&&!(e=Vd().getGlobalEventTarget(this.doc,e)))throw new Error(`Unsupported event target ${e} for event ${t}`);return this.eventManager.addEventListener(e,t,this.decoratePreventDefault(s))}decoratePreventDefault(e){return t=>{if("__ngUnwrap__"===t)return e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))&&t.preventDefault()}}}function o5(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class YX extends MF{constructor(e,t,s,i,o,c,d,h){super(e,o,c,h),this.sharedStylesHost=t,this.hostEl=s,this.shadowRoot=s.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const m=i5(i.id,i.styles);for(const g of m){const b=document.createElement("style");d&&b.setAttribute("nonce",d),b.textContent=g,this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,s){return super.insertBefore(this.nodeOrShadowRoot(e),t,s)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class CF extends MF{constructor(e,t,s,i,o,c,d,h){super(e,o,c,d),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=h?i5(h,s.styles):s.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class a5 extends CF{constructor(e,t,s,i,o,c,d,h){const m=i+"-"+s.id;super(e,t,s,o,c,d,h,m),this.contentAttr=function OX(n){return LX.replace(DF,n)}(m),this.hostAttr=function NX(n){return AX.replace(DF,n)}(m)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const s=super.createElement(e,t);return super.setAttribute(s,this.contentAttr,""),s}}class VM extends bF{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,s){return e.addEventListener(t,s,!1),()=>this.removeEventListener(e,t,s)}removeEventListener(e,t,s){return e.removeEventListener(t,s)}static#e=this.\u0275fac=function(t){return new(t||VM)(be(Ln))};static#t=this.\u0275prov=Ce({token:VM,factory:VM.\u0275fac})}const l5=["alt","control","meta","shift"],BX={"\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"},jX={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};class yu extends bF{constructor(e){super(e)}supports(e){return null!=yu.parseEventName(e)}addEventListener(e,t,s){const i=yu.parseEventName(t),o=yu.eventCallback(i.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Vd().onAndCancel(e,i.domEventName,o))}static parseEventName(e){const t=e.toLowerCase().split("."),s=t.shift();if(0===t.length||"keydown"!==s&&"keyup"!==s)return null;const i=yu._normalizeKey(t.pop());let o="",c=t.indexOf("code");if(c>-1&&(t.splice(c,1),o="code."),l5.forEach(h=>{const m=t.indexOf(h);m>-1&&(t.splice(m,1),o+=h+".")}),o+=i,0!=t.length||0===i.length)return null;const d={};return d.domEventName=s,d.fullKey=o,d}static matchEventFullKeyCode(e,t){let s=BX[e.key]||e.key,i="";return t.indexOf("code.")>-1&&(s=e.code,i="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),l5.forEach(o=>{if(o!==s){(0,jX[o])(e)&&(i+=o+".")}}),i+=s,i===t)}static eventCallback(e,t,s){return i=>{yu.matchEventFullKeyCode(i,e)&&s.runGuarded(()=>t(i))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(t){return new(t||yu)(be(Ln))};static#t=this.\u0275prov=Ce({token:yu,factory:yu.\u0275fac})}const EF=[{provide:lo,useValue:uF},{provide:lx,useValue:function VX(){vF.makeCurrent()},multi:!0},{provide:Ln,useFactory:function UX(){return function c2(n){lS=n}(document),document},deps:[]}],$X=(SI(e3,"browser",EF),new Ie("")),u5=[{provide:fI,useClass:class IX{addToWindow(e){_s.getAngularTestability=(s,i=!0)=>{const o=e.findTestabilityInTree(s,i);if(null==o)throw new ae(5103,!1);return o},_s.getAllAngularTestabilities=()=>e.getAllTestabilities(),_s.getAllAngularRootElements=()=>e.getAllRootElements();_s.frameworkStabilizers||(_s.frameworkStabilizers=[]),_s.frameworkStabilizers.push(s=>{const i=_s.getAllAngularTestabilities();let o=i.length;const c=function(){o--,0==o&&s()};i.forEach(d=>{d.whenStable(c)})})}findTestabilityInTree(e,t,s){if(null==t)return null;return e.getTestability(t)??(s?Vd().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},deps:[]},{provide:A8,useClass:pg,deps:[vt,fg,fI]},{provide:pg,useClass:pg,deps:[vt,fg,fI]}],d5=[{provide:Qf,useValue:"root"},{provide:Co,useFactory:function HX(){return new Co},deps:[]},{provide:KI,useClass:VM,multi:!0,deps:[Ln,vt,lo]},{provide:KI,useClass:yu,multi:!0,deps:[Ln]},Tg,jv,Bv,{provide:kd,useExisting:Tg},{provide:z3,useClass:jM,deps:[]},[]];class zd{constructor(e){}static withServerTransition(e){return{ngModule:zd,providers:[{provide:hd,useValue:e.appId}]}}static#e=this.\u0275fac=function(t){return new(t||zd)(be($X,12))};static#t=this.\u0275mod=vs({type:zd,exports:[ua,xM]});static#n=this.\u0275inj=Ts({providers:[...d5,...u5],imports:[ua,xM]})}class QI{constructor(e){this._doc=e,this._dom=Vd()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((s,i)=>(i&&s.push(this._getOrCreateElement(i,t)),s),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const s=this.getTag(t);return s?this._setMetaElementAttributes(e,s):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const o=this._parseSelector(e),c=this.getTags(o).filter(d=>this._containsAttributes(e,d))[0];if(void 0!==c)return c}const s=this._dom.createElement("meta");return this._setMetaElementAttributes(e,s),this._doc.getElementsByTagName("head")[0].appendChild(s),s}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(s=>t.setAttribute(this._getMetaKeyMap(s),e[s])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(s=>t.getAttribute(this._getMetaKeyMap(s))===e[s])}_getMetaKeyMap(e){return zX[e]||e}static#e=this.\u0275fac=function(t){return new(t||QI)(be(Ln))};static#t=this.\u0275prov=Ce({token:QI,factory:QI.\u0275fac,providedIn:"root"})}const zX={httpEquiv:"http-equiv"};class HM{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static#e=this.\u0275fac=function(t){return new(t||HM)(be(Ln))};static#t=this.\u0275prov=Ce({token:HM,factory:HM.\u0275fac,providedIn:"root"})}const KX={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},xF=new Ie("HammerGestureConfig"),f5=new Ie("HammerLoader");class UM{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const s in this.overrides)t.get(s).set(this.overrides[s]);return t}static#e=this.\u0275fac=function(t){return new(t||UM)};static#t=this.\u0275prov=Ce({token:UM,factory:UM.\u0275fac})}class $M extends bF{constructor(e,t,s,i){super(e),this._config=t,this.console=s,this.loader=i,this._loaderPromise=null}supports(e){return!(!KX.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader)}addEventListener(e,t,s){const i=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||i.runOutsideAngular(()=>this.loader());let o=!1,c=()=>{o=!0};return i.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?o||(c=this.addEventListener(e,t,s)):c=()=>{}}).catch(()=>{c=()=>{}})),()=>{c()}}return i.runOutsideAngular(()=>{const o=this._config.buildHammer(e),c=function(d){i.runGuarded(function(){s(d)})};return o.on(t,c),()=>{o.off(t,c),"function"==typeof o.destroy&&o.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}static#e=this.\u0275fac=function(t){return new(t||$M)(be(Ln),be(xF),be(jp),be(f5,8))};static#t=this.\u0275prov=Ce({token:$M,factory:$M.\u0275fac})}class kF{static#e=this.\u0275fac=function(t){return new(t||kF)};static#t=this.\u0275mod=vs({type:kF});static#n=this.\u0275inj=Ts({providers:[{provide:KI,useClass:$M,multi:!0,deps:[Ln,xF,jp,[new wr,f5]]},{provide:xF,useClass:UM,deps:[]}]})}class zM{static#e=this.\u0275fac=function(t){return new(t||zM)};static#t=this.\u0275prov=Ce({token:zM,factory:function(t){let s=null;return s=t?new(t||zM):be(WM),s},providedIn:"root"})}class WM extends zM{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case Ei.NONE:return t;case Ei.HTML:return ol(t,"HTML")?co(t):ep(this._doc,String(t)).toString();case Ei.STYLE:return ol(t,"Style")?co(t):t;case Ei.SCRIPT:if(ol(t,"Script"))return co(t);throw new ae(5200,!1);case Ei.URL:return ol(t,"URL")?co(t):nn(String(t));case Ei.RESOURCE_URL:if(ol(t,"ResourceURL"))return co(t);throw new ae(5201,!1);default:throw new ae(5202,!1)}}bypassSecurityTrustHtml(e){return function Sx(n){return new yx(n)}(e)}bypassSecurityTrustStyle(e){return function by(n){return new vx(n)}(e)}bypassSecurityTrustScript(e){return function g2(n){return new bx(n)}(e)}bypassSecurityTrustUrl(e){return function _2(n){return new f2(n)}(e)}bypassSecurityTrustResourceUrl(e){return function y2(n){return new wx(n)}(e)}static#e=this.\u0275fac=function(t){return new(t||WM)(be(Ln))};static#t=this.\u0275prov=Ce({token:WM,factory:WM.\u0275fac,providedIn:"root"})}var $p;!function(n){n[n.NoHttpTransferCache=0]="NoHttpTransferCache",n[n.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",n[n.I18nSupport=2]="I18nSupport",n[n.EventReplay=3]="EventReplay"}($p||($p={}));new vv("18.2.13");const QX=[{provide:Bd,useFactory:()=>new Bd}];function m5(n){for(let e=n.length-1;e>=0;e--)if(void 0!==n[e])return n[e]}function JX(n){const e=[];return n.forEach(t=>t&&e.push(...t)),e}const eZ=SI(e3,"coreDynamic",[{provide:yI,useValue:{},multi:!0},{provide:class IG{},useClass:class XX{constructor(e){const t={defaultEncapsulation:Wr.Emulated};this._defaultOptions=[t,...e]}createCompiler(e=[]){const t=function ZX(n){return{defaultEncapsulation:m5(n.map(e=>e.defaultEncapsulation)),providers:JX(n.map(e=>e.providers)),preserveWhitespaces:m5(n.map(e=>e.preserveWhitespaces))}}(this._defaultOptions.concat(e));return ns.create({providers:[QX,{provide:AI.udt,useFactory:()=>new AI.udt({defaultEncapsulation:t.defaultEncapsulation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]}).get(Bd)}},deps:[yI]}]);class Vv extends AI.WHm{get(e){let t,s;const i=new Promise((c,d)=>{t=c,s=d}),o=new XMLHttpRequest;return o.open("GET",e,!0),o.responseType="text",o.onload=function(){const c=o.response;let d=o.status;0===d&&(d=c?200:0),200<=d&&d<=300?t(c):s(`Failed to load ${e}`)},o.onerror=function(){s(`Failed to load ${e}`)},o.send(),i}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(Vv)))(s||Vv)}})();static#t=this.\u0275prov=Ce({token:Vv,factory:Vv.\u0275fac})}const tZ=[EF,{provide:yI,useValue:{providers:[{provide:AI.WHm,useClass:Vv,deps:[]}]},multi:!0},{provide:lo,useValue:uF}],nZ=(new vv("18.2.13"),SI(eZ,"browserDynamic",tZ));function ge(n,e,t,s){var c,i=arguments.length,o=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,t):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,e,t,s);else for(var d=n.length-1;d>=0;d--)(c=n[d])&&(o=(i<3?c(o):i>3?c(e,t,o):c(e,t))||o);return i>3&&o&&Object.defineProperty(e,t,o),o}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;const _5=n=>e=>{for(let t=0,s=n.length;tn&&"number"==typeof n.length&&"function"!=typeof n;function v5(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const b5=n=>{if(n&&"function"==typeof n[_r])return(n=>e=>{const t=n[_r]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)})(n);if(y5(n))return _5(n);if(v5(n))return(n=>e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,Nt),e))(n);if(n&&"function"==typeof n[ZI])return(n=>e=>{const t=n[ZI]();for(;;){const s=t.next();if(s.done){e.complete();break}if(e.next(s.value),e.closed)break}return"function"==typeof t.return&&e.add(()=>{t.return&&t.return()}),e})(n);{const t=`You provided ${on(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function PF(n,e){return new Ct(t=>{const s=new gt;let i=0;return s.add(e.schedule(function(){i!==n.length?(t.next(n[i++]),t.closed||s.add(this.schedule())):t.complete()})),s})}function OZ(n,e){if(null!=n){if(function PZ(n){return n&&"function"==typeof n[_r]}(n))return function IZ(n,e){return new Ct(t=>{const s=new gt;return s.add(e.schedule(()=>{const i=n[_r]();s.add(i.subscribe({next(o){s.add(e.schedule(()=>t.next(o)))},error(o){s.add(e.schedule(()=>t.error(o)))},complete(){s.add(e.schedule(()=>t.complete()))}}))})),s})}(n,e);if(v5(n))return function AZ(n,e){return new Ct(t=>{const s=new gt;return s.add(e.schedule(()=>n.then(i=>{s.add(e.schedule(()=>{t.next(i),s.add(e.schedule(()=>t.complete()))}))},i=>{s.add(e.schedule(()=>t.error(i)))}))),s})}(n,e);if(y5(n))return PF(n,e);if(function RZ(n){return n&&"function"==typeof n[ZI]}(n)||"string"==typeof n)return function LZ(n,e){if(!n)throw new Error("Iterable cannot be null");return new Ct(t=>{const s=new gt;let i;return s.add(()=>{i&&"function"==typeof i.return&&i.return()}),s.add(e.schedule(()=>{i=n[ZI](),s.add(e.schedule(function(){if(t.closed)return;let o,c;try{const d=i.next();o=d.value,c=d.done}catch(d){return void t.error(d)}c?t.complete():(t.next(o),this.schedule())}))})),s})}(n,e)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}function pi(n,e){return e?OZ(n,e):n instanceof Ct?n:new Ct(b5(n))}function GM(...n){if(1===n.length){const e=n[0];if(Os(e))return JI(e,null);if(on(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return JI(t.map(s=>e[s]),t)}}if("function"==typeof n[n.length-1]){const e=n.pop();return JI(n=1===n.length&&Os(n[0])?n[0]:n,null).pipe(Ht(t=>e(...t)))}return JI(n,null)}function JI(n,e){return new Ct(t=>{const s=n.length;if(0===s)return void t.complete();const i=new Array(s);let o=0,c=0;for(let d=0;d{m||(m=!0,c++),i[d]=g},error:g=>t.error(g),complete:()=>{o++,(o===s||!m)&&(c===s&&t.next(e?e.reduce((g,b,E)=>(g[b]=i[E],g),{}):i),t.complete())}}))}})}class KM{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#e=this.\u0275fac=function(t){return new(t||KM)(ue(ei),ue(fn))};static#t=this.\u0275dir=Ge({type:KM})}class pc extends KM{static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(pc)))(s||pc)}})();static#t=this.\u0275dir=Ge({type:pc,features:[kn]})}const zi=new Ie(""),NZ={provide:zi,useExisting:Et(()=>zp),multi:!0};class zp extends pc{writeValue(e){this.setProperty("checked",e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(zp)))(s||zp)}})();static#t=this.\u0275dir=Ge({type:zp,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,s){1&t&&pl("change",function(o){return s.onChange(o.target.checked)})("blur",function(){return s.onTouched()})},features:[Nn([NZ]),kn]})}const FZ={provide:zi,useExisting:Et(()=>Wp),multi:!0};const BZ=new Ie("");class Wp extends KM{constructor(e,t,s){super(e,t),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function YZ(){const n=Vd()?Vd().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){const t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static#e=this.\u0275fac=function(t){return new(t||Wp)(ue(ei),ue(fn),ue(BZ,8))};static#t=this.\u0275dir=Ge({type:Wp,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(t,s){1&t&&pl("input",function(o){return s._handleInput(o.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(o){return s._compositionEnd(o.target.value)})},features:[Nn([FZ]),kn]})}function qp(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function w5(n){return null!=n&&"number"==typeof n.length}const po=new Ie(""),Gp=new Ie(""),jZ=/^(?=.{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 nt{static min(e){return S5(e)}static max(e){return D5(e)}static required(e){return M5(e)}static requiredTrue(e){return C5(e)}static email(e){return E5(e)}static minLength(e){return x5(e)}static maxLength(e){return k5(e)}static pattern(e){return T5(e)}static nullValidator(e){return null}static compose(e){return O5(e)}static composeAsync(e){return N5(e)}}function S5(n){return e=>{if(qp(e.value)||qp(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t{if(qp(e.value)||qp(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}}function M5(n){return qp(n.value)?{required:!0}:null}function C5(n){return!0===n.value?null:{required:!0}}function E5(n){return qp(n.value)||jZ.test(n.value)?null:{email:!0}}function x5(n){return e=>qp(e.value)||!w5(e.value)?null:e.value.lengthw5(e.value)&&e.value.length>n?{maxlength:{requiredLength:n,actualLength:e.value.length}}:null}function T5(n){if(!n)return eA;let e,t;return"string"==typeof n?(t="","^"!==n.charAt(0)&&(t+="^"),t+=n,"$"!==n.charAt(n.length-1)&&(t+="$"),e=new RegExp(t)):(t=n.toString(),e=n),s=>{if(qp(s.value))return null;const i=s.value;return e.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}function eA(n){return null}function I5(n){return null!=n}function A5(n){return MM(n)?pi(n):n}function L5(n){let e={};return n.forEach(t=>{e=null!=t?{...e,...t}:e}),0===Object.keys(e).length?null:e}function P5(n,e){return e.map(t=>t(n))}function R5(n){return n.map(e=>function VZ(n){return!n.validate}(e)?e:t=>e.validate(t))}function O5(n){if(!n)return null;const e=n.filter(I5);return 0==e.length?null:function(t){return L5(P5(t,e))}}function RF(n){return null!=n?O5(R5(n)):null}function N5(n){if(!n)return null;const e=n.filter(I5);return 0==e.length?null:function(t){return GM(P5(t,e).map(A5)).pipe(Ht(L5))}}function OF(n){return null!=n?N5(R5(n)):null}function F5(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function Y5(n){return n._rawValidators}function B5(n){return n._rawAsyncValidators}function NF(n){return n?Array.isArray(n)?n:[n]:[]}function tA(n,e){return Array.isArray(n)?n.includes(e):n===e}function j5(n,e){const t=NF(e);return NF(n).forEach(i=>{tA(t,i)||t.push(i)}),t}function V5(n,e){return NF(e).filter(t=>!tA(n,t))}class H5{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=RF(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=OF(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}class No extends H5{get formDirective(){return null}get path(){return null}}class Wd extends H5{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class U5{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}class Hv extends U5{constructor(e){super(e)}static#e=this.\u0275fac=function(t){return new(t||Hv)(ue(Wd,2))};static#t=this.\u0275dir=Ge({type:Hv,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,s){2&t&&dg("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[kn]})}class Uv extends U5{constructor(e){super(e)}static#e=this.\u0275fac=function(t){return new(t||Uv)(ue(No,10))};static#t=this.\u0275dir=Ge({type:Uv,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,s){2&t&&dg("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[kn]})}const QM="VALID",sA="INVALID",$v="PENDING",XM="DISABLED";class zv{}class z5 extends zv{constructor(e,t){super(),this.value=e,this.source=t}}class BF extends zv{constructor(e,t){super(),this.pristine=e,this.source=t}}class jF extends zv{constructor(e,t){super(),this.touched=e,this.source=t}}class rA extends zv{constructor(e,t){super(),this.status=e,this.source=t}}class WZ extends zv{constructor(e){super(),this.source=e}}class qZ extends zv{constructor(e){super(),this.source=e}}function VF(n){return(iA(n)?n.validators:n)||null}function HF(n,e){return(iA(e)?e.asyncValidators:n)||null}function iA(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function W5(n,e,t){const s=n.controls;if(!(e?Object.keys(s):s).length)throw new ae(1e3,"");if(!s[t])throw new ae(1001,"")}function q5(n,e,t){n._forEachChild((s,i)=>{if(void 0===t[i])throw new ae(1002,"")})}class oA{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=AM(()=>this.statusReactive()),this.statusReactive=Id(void 0),this._pristine=AM(()=>this.pristineReactive()),this.pristineReactive=Id(!0),this._touched=AM(()=>this.touchedReactive()),this.touchedReactive=Id(!1),this._events=new ct,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return mu(this.statusReactive)}set status(e){mu(()=>this.statusReactive.set(e))}get valid(){return this.status===QM}get invalid(){return this.status===sA}get pending(){return this.status==$v}get disabled(){return this.status===XM}get enabled(){return this.status!==XM}get pristine(){return mu(this.pristineReactive)}set pristine(e){mu(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return mu(this.touchedReactive)}set touched(e){mu(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(j5(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(j5(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(V5(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(V5(e,this._rawAsyncValidators))}hasValidator(e){return tA(this._rawValidators,e)}hasAsyncValidator(e){return tA(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){const t=!1===this.touched;this.touched=!0;const s=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched({...e,sourceControl:s}),t&&!1!==e.emitEvent&&this._events.next(new jF(!0,s))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const s=e.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:s})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,s),t&&!1!==e.emitEvent&&this._events.next(new jF(!1,s))}markAsDirty(e={}){const t=!0===this.pristine;this.pristine=!1;const s=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty({...e,sourceControl:s}),t&&!1!==e.emitEvent&&this._events.next(new BF(!1,s))}markAsPristine(e={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const s=e.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,s),t&&!1!==e.emitEvent&&this._events.next(new BF(!0,s))}markAsPending(e={}){this.status=$v;const t=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new rA(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending({...e,sourceControl:t})}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=XM,this.errors=null,this._forEachChild(i=>{i.disable({...e,onlySelf:!0})}),this._updateValue();const s=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new z5(this.value,s)),this._events.next(new rA(this.status,s)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=QM,this._forEachChild(s=>{s.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:t},this),this._onDisabledChange.forEach(s=>s(!1))}_updateAncestors(e,t){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const s=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===QM||this.status===$v)&&this._runAsyncValidator(s,e.emitEvent)}const t=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new z5(this.value,t)),this._events.next(new rA(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity({...e,sourceControl:t})}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?XM:QM}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=$v,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const s=A5(this.asyncValidator(this));this._asyncValidationSubscription=s.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(e){let t=e;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((s,i)=>s&&s._find(i),this)}getError(e,t){const s=t?this.get(t):this;return s&&s.errors?s.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,t,s){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||s)&&this._events.next(new rA(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,s)}_initObservables(){this.valueChanges=new je,this.statusChanges=new je}_calculateStatus(){return this._allControlsDisabled()?XM:this.errors?sA:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($v)?$v:this._anyControlsHaveStatus(sA)?sA:QM}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,t){const s=!this._anyControlsDirty(),i=this.pristine!==s;this.pristine=s,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),i&&this._events.next(new BF(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new jF(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){iA(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){const t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function GZ(n){return Array.isArray(n)?RF(n):n||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function KZ(n){return Array.isArray(n)?OF(n):n||null}(this._rawAsyncValidators)}}class ZM extends oA{constructor(e,t,s){super(VF(t),HF(s,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,s={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,s={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){q5(this,0,e),Object.keys(e).forEach(s=>{W5(this,!0,s),this.controls[s].setValue(e[s],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(s=>{const i=this.controls[s];i&&i.patchValue(e[s],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((s,i)=>{s.reset(e?e[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,s)=>(e[s]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,s)=>!!s._syncPendingControls()||t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const s=this.controls[t];s&&e(s,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[t,s]of Object.entries(this.controls))if(this.contains(t)&&e(s))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,s,i)=>((s.enabled||this.disabled)&&(t[i]=s.value),t))}_reduceChildren(e,t){let s=e;return this._forEachChild((i,o)=>{s=t(s,i,o)}),s}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}}class G5 extends ZM{}const Ig=new Ie("CallSetDisabledState",{providedIn:"root",factory:()=>JM}),JM="always";function aA(n,e){return[...e.path,n]}function eC(n,e,t=JM){UF(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||"always"===t)&&e.valueAccessor.setDisabledState?.(n.disabled),function XZ(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&K5(n,e)})}(n,e),function JZ(n,e){const t=(s,i)=>{e.valueAccessor.writeValue(s),i&&e.viewToModelUpdate(s)};n.registerOnChange(t),e._registerOnDestroy(()=>{n._unregisterOnChange(t)})}(n,e),function ZZ(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&K5(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function QZ(n,e){if(e.valueAccessor.setDisabledState){const t=s=>{e.valueAccessor.setDisabledState(s)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,e)}function lA(n,e,t=!0){const s=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(s),e.valueAccessor.registerOnTouched(s)),uA(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function cA(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function UF(n,e){const t=Y5(n);null!==e.validator?n.setValidators(F5(t,e.validator)):"function"==typeof t&&n.setValidators([t]);const s=B5(n);null!==e.asyncValidator?n.setAsyncValidators(F5(s,e.asyncValidator)):"function"==typeof s&&n.setAsyncValidators([s]);const i=()=>n.updateValueAndValidity();cA(e._rawValidators,i),cA(e._rawAsyncValidators,i)}function uA(n,e){let t=!1;if(null!==n){if(null!==e.validator){const i=Y5(n);if(Array.isArray(i)&&i.length>0){const o=i.filter(c=>c!==e.validator);o.length!==i.length&&(t=!0,n.setValidators(o))}}if(null!==e.asyncValidator){const i=B5(n);if(Array.isArray(i)&&i.length>0){const o=i.filter(c=>c!==e.asyncValidator);o.length!==i.length&&(t=!0,n.setAsyncValidators(o))}}}const s=()=>{};return cA(e._rawValidators,s),cA(e._rawAsyncValidators,s),t}function K5(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Q5(n,e){UF(n,e)}function zF(n,e){if(!n.hasOwnProperty("model"))return!1;const t=n.model;return!!t.isFirstChange()||!Object.is(e,t.currentValue)}function X5(n,e){n._syncPendingControls(),e.forEach(t=>{const s=t.control;"submit"===s.updateOn&&s._pendingChange&&(t.viewToModelUpdate(s._pendingValue),s._pendingChange=!1)})}function WF(n,e){if(!e)return null;let t,s,i;return Array.isArray(e),e.forEach(o=>{o.constructor===Wp?t=o:function nJ(n){return Object.getPrototypeOf(n.constructor)===pc}(o)?s=o:i=o}),i||s||t||null}const rJ={provide:No,useExisting:Et(()=>Kp)},tC=Promise.resolve();class Kp extends No{get submitted(){return mu(this.submittedReactive)}constructor(e,t,s){super(),this.callSetDisabledState=s,this._submitted=AM(()=>this.submittedReactive()),this.submittedReactive=Id(!1),this._directives=new Set,this.ngSubmit=new je,this.form=new ZM({},RF(e),OF(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){tC.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),eC(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){tC.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){tC.then(()=>{const t=this._findContainer(e.path),s=new ZM({});Q5(s,e),t.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){tC.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){tC.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),X5(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static#e=this.\u0275fac=function(t){return new(t||Kp)(ue(po,10),ue(Gp,10),ue(Ig,8))};static#t=this.\u0275dir=Ge({type:Kp,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,s){1&t&&pl("submit",function(o){return s.onSubmit(o)})("reset",function(){return s.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Nn([rJ]),kn]})}function Z5(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}function J5(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const qd=class extends oA{constructor(e=null,t,s){super(VF(t),HF(s,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),iA(t)&&(t.nonNullable||t.initialValueIsDefault)&&(J5(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(s=>s(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Z5(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Z5(this._onDisabledChange,e)}_forEachChild(e){}_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(e){J5(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},Wv=qd;class qv extends No{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return aA(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 e;return function(s){return(e||(e=An(qv)))(s||qv)}})();static#t=this.\u0275dir=Ge({type:qv,features:[kn]})}const oJ={provide:No,useExisting:Et(()=>Qp)};class Qp extends qv{constructor(e,t,s){super(),this.name="",this._parent=e,this._setValidators(t),this._setAsyncValidators(s)}_checkParentType(){!(this._parent instanceof Qp)&&this._parent}static#e=this.\u0275fac=function(t){return new(t||Qp)(ue(No,5),ue(po,10),ue(Gp,10))};static#t=this.\u0275dir=Ge({type:Qp,selectors:[["","ngModelGroup",""]],inputs:{name:[0,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[Nn([oJ]),kn]})}const aJ={provide:Wd,useExisting:Et(()=>Ag)},eU=Promise.resolve();class Ag extends Wd{constructor(e,t,s,i,o,c){super(),this._changeDetectorRef=o,this.callSetDisabledState=c,this.control=new qd,this._registered=!1,this.name="",this.update=new je,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=WF(0,i)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),zF(e,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(e){this.viewModel=e,this.update.emit(e)}_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(){eC(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){eU.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,s=0!==t&&Ur(t);eU.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?aA(e,this._parent):[e]}static#e=this.\u0275fac=function(t){return new(t||Ag)(ue(No,9),ue(po,10),ue(Gp,10),ue(zi,10),ue(gl,8),ue(Ig,8))};static#t=this.\u0275dir=Ge({type:Ag,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Nn([aJ]),kn,Ss]})}class Gv{static#e=this.\u0275fac=function(t){return new(t||Gv)};static#t=this.\u0275dir=Ge({type:Gv,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}const lJ={provide:zi,useExisting:Et(()=>Xp),multi:!0};class Xp extends pc{writeValue(e){const t=e??"";this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(Xp)))(s||Xp)}})();static#t=this.\u0275dir=Ge({type:Xp,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,s){1&t&&pl("input",function(o){return s.onChange(o.target.value)})("blur",function(){return s.onTouched()})},features:[Nn([lJ]),kn]})}const cJ={provide:zi,useExisting:Et(()=>Lg),multi:!0};class nC{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&(e[0]._parent===t._control._parent&&e[1].name===t.name)}static#e=this.\u0275fac=function(t){return new(t||nC)};static#t=this.\u0275prov=Ce({token:nC,factory:nC.\u0275fac,providedIn:"root"})}class Lg extends pc{constructor(e,t,s,i){super(e,t),this._registry=s,this._injector=i,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=de(Ig,{optional:!0})??JM}ngOnInit(){this._control=this._injector.get(Wd),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}setDisabledState(e){(this.setDisabledStateFired||e||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",e),this.setDisabledStateFired=!0}fireUncheck(e){this.writeValue(e)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(t){return new(t||Lg)(ue(ei),ue(fn),ue(nC),ue(ns))};static#t=this.\u0275dir=Ge({type:Lg,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,s){1&t&&pl("change",function(){return s.onChange()})("blur",function(){return s.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Nn([cJ]),kn]})}const uJ={provide:zi,useExisting:Et(()=>Zp),multi:!0};class Zp extends pc{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(Zp)))(s||Zp)}})();static#t=this.\u0275dir=Ge({type:Zp,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,s){1&t&&pl("change",function(o){return s.onChange(o.target.value)})("input",function(o){return s.onChange(o.target.value)})("blur",function(){return s.onTouched()})},features:[Nn([uJ]),kn]})}const qF=new Ie(""),dJ={provide:Wd,useExisting:Et(()=>Pg)};class Pg extends Wd{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,t,s,i,o){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=o,this.update=new je,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=WF(0,s)}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&lA(t,this,!1),eC(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}zF(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&lA(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static#t=this.\u0275fac=function(t){return new(t||Pg)(ue(po,10),ue(Gp,10),ue(zi,10),ue(qF,8),ue(Ig,8))};static#n=this.\u0275dir=Ge({type:Pg,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Nn([dJ]),kn,Ss]})}const hJ={provide:No,useExisting:Et(()=>Jp)};class Jp extends No{get submitted(){return mu(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,t,s){super(),this.callSetDisabledState=s,this._submitted=AM(()=>this._submittedReactive()),this._submittedReactive=Id(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new je,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(uA(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return eC(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){lA(e.control||null,e,!1),function sJ(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this._submittedReactive.set(!0),X5(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new WZ(this.control)),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new qZ(this.form))}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,s=this.form.get(e.path);t!==s&&(lA(t||null,e),(n=>n instanceof qd)(s)&&(eC(s,e,this.callSetDisabledState),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Q5(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function eJ(n,e){return uA(n,e)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){UF(this.form,this),this._oldForm&&uA(this._oldForm,this)}_checkFormPresent(){this.form}static#e=this.\u0275fac=function(t){return new(t||Jp)(ue(po,10),ue(Gp,10),ue(Ig,8))};static#t=this.\u0275dir=Ge({type:Jp,selectors:[["","formGroup",""]],hostBindings:function(t,s){1&t&&pl("submit",function(o){return s.onSubmit(o)})("reset",function(){return s.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Nn([hJ]),kn,Ss]})}const pJ={provide:No,useExisting:Et(()=>ef)};class ef extends qv{constructor(e,t,s){super(),this.name=null,this._parent=e,this._setValidators(t),this._setAsyncValidators(s)}_checkParentType(){tU(this._parent)}static#e=this.\u0275fac=function(t){return new(t||ef)(ue(No,13),ue(po,10),ue(Gp,10))};static#t=this.\u0275dir=Ge({type:ef,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[Nn([pJ]),kn]})}const fJ={provide:No,useExisting:Et(()=>tf)};class tf extends No{constructor(e,t,s){super(),this.name=null,this._parent=e,this._setValidators(t),this._setAsyncValidators(s)}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 aA(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){tU(this._parent)}static#e=this.\u0275fac=function(t){return new(t||tf)(ue(No,13),ue(po,10),ue(Gp,10))};static#t=this.\u0275dir=Ge({type:tf,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[Nn([fJ]),kn]})}function tU(n){return!(n instanceof ef||n instanceof Jp||n instanceof tf)}const mJ={provide:Wd,useExisting:Et(()=>Rg)};class Rg extends Wd{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,t,s,i,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.name=null,this.update=new je,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=WF(0,i)}ngOnChanges(e){this._added||this._setUpControl(),zF(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return aA(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(t){return new(t||Rg)(ue(No,13),ue(po,10),ue(Gp,10),ue(zi,10),ue(qF,8))};static#n=this.\u0275dir=Ge({type:Rg,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Nn([mJ]),kn,Ss]})}const gJ={provide:zi,useExisting:Et(()=>Gd),multi:!0};function nU(n,e){return null==n?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${n}: ${e}`.slice(0,50))}class Gd extends pc{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const s=nU(this._getOptionId(e),e);this.setProperty("value",s)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of this._optionMap.keys())if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function _J(n){return n.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(Gd)))(s||Gd)}})();static#t=this.\u0275dir=Ge({type:Gd,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,s){1&t&&pl("change",function(o){return s.onChange(o.target.value)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[Nn([gJ]),kn]})}class Kv{constructor(e,t,s){this._element=e,this._renderer=t,this._select=s,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(nU(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(t){return new(t||Kv)(ue(fn),ue(ei),ue(Gd,9))};static#t=this.\u0275dir=Ge({type:Kv,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}const yJ={provide:zi,useExisting:Et(()=>Kd),multi:!0};function sU(n,e){return null==n?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${n}: ${e}`.slice(0,50))}class Kd extends pc{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const s=e.map(i=>this._getOptionId(i));t=(i,o)=>{i._setSelected(s.indexOf(o.toString())>-1)}}else t=(s,i)=>{s._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const s=[],i=t.selectedOptions;if(void 0!==i){const o=i;for(let c=0;c{let e;return function(s){return(e||(e=An(Kd)))(s||Kd)}})();static#t=this.\u0275dir=Ge({type:Kd,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,s){1&t&&pl("change",function(o){return s.onChange(o.target)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[Nn([yJ]),kn]})}class Qv{constructor(e,t,s){this._element=e,this._renderer=t,this._select=s,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(sU(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(sU(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(t){return new(t||Qv)(ue(fn),ue(ei),ue(Kd,9))};static#t=this.\u0275dir=Ge({type:Qv,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}function rU(n){return"number"==typeof n?n:parseInt(n,10)}function iU(n){return"number"==typeof n?n:parseFloat(n)}class vu{constructor(){this._validator=eA}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):eA,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}static#e=this.\u0275fac=function(t){return new(t||vu)};static#t=this.\u0275dir=Ge({type:vu,features:[Ss]})}const bJ={provide:po,useExisting:Et(()=>nf),multi:!0};class nf extends vu{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>iU(e),this.createValidator=e=>D5(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(nf)))(s||nf)}})();static#t=this.\u0275dir=Ge({type:nf,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("max",s._enabled?s.max:null)},inputs:{max:"max"},features:[Nn([bJ]),kn]})}const wJ={provide:po,useExisting:Et(()=>sf),multi:!0};class sf extends vu{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>iU(e),this.createValidator=e=>S5(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(sf)))(s||sf)}})();static#t=this.\u0275dir=Ge({type:sf,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("min",s._enabled?s.min:null)},inputs:{min:"min"},features:[Nn([wJ]),kn]})}const SJ={provide:po,useExisting:Et(()=>Qd),multi:!0},DJ={provide:po,useExisting:Et(()=>rf),multi:!0};class Qd extends vu{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Ur,this.createValidator=e=>M5}enabled(e){return e}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(Qd)))(s||Qd)}})();static#t=this.\u0275dir=Ge({type:Qd,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("required",s._enabled?"":null)},inputs:{required:"required"},features:[Nn([SJ]),kn]})}class rf extends Qd{constructor(){super(...arguments),this.createValidator=e=>C5}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(rf)))(s||rf)}})();static#t=this.\u0275dir=Ge({type:rf,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("required",s._enabled?"":null)},features:[Nn([DJ]),kn]})}const MJ={provide:po,useExisting:Et(()=>af),multi:!0};class af extends vu{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=Ur,this.createValidator=e=>E5}enabled(e){return e}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(af)))(s||af)}})();static#t=this.\u0275dir=Ge({type:af,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[Nn([MJ]),kn]})}const CJ={provide:po,useExisting:Et(()=>lf),multi:!0};class lf extends vu{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=e=>rU(e),this.createValidator=e=>x5(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(lf)))(s||lf)}})();static#t=this.\u0275dir=Ge({type:lf,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("minlength",s._enabled?s.minlength:null)},inputs:{minlength:"minlength"},features:[Nn([CJ]),kn]})}const EJ={provide:po,useExisting:Et(()=>cf),multi:!0};class cf extends vu{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>rU(e),this.createValidator=e=>k5(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(cf)))(s||cf)}})();static#t=this.\u0275dir=Ge({type:cf,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("maxlength",s._enabled?s.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Nn([EJ]),kn]})}const xJ={provide:po,useExisting:Et(()=>uf),multi:!0};class uf extends vu{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>T5(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(uf)))(s||uf)}})();static#t=this.\u0275dir=Ge({type:uf,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("pattern",s._enabled?s.pattern:null)},inputs:{pattern:"pattern"},features:[Nn([xJ]),kn]})}class Og{static#e=this.\u0275fac=function(t){return new(t||Og)};static#t=this.\u0275mod=vs({type:Og,declarations:[Gv,Kv,Qv,Wp,Xp,Zp,zp,Gd,Kd,Lg,Hv,Uv,Qd,lf,cf,uf,rf,af,sf,nf],exports:[Gv,Kv,Qv,Wp,Xp,Zp,zp,Gd,Kd,Lg,Hv,Uv,Qd,lf,cf,uf,rf,af,sf,nf]});static#n=this.\u0275inj=Ts({})}class oU extends oA{constructor(e,t,s){super(VF(t),HF(s,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,s={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:s.emitEvent})}removeAt(e,t={}){let s=this._adjustIndex(e);s<0&&(s=0),this.controls[s]&&this.controls[s]._registerOnCollectionChange(()=>{}),this.controls.splice(s,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,s={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){q5(this,0,e),e.forEach((s,i)=>{W5(this,!1,i),this.at(i).setValue(s,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((s,i)=>{this.at(i)&&this.at(i).patchValue(s,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((s,i)=>{s.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((t,s)=>!!s._syncPendingControls()||t,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((t,s)=>{e(t,s)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}}function aU(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}class Ng{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new Ng;return e.useNonNullable=!0,e}group(e,t=null){const s=this._reduceControls(e);let i={};return aU(t)?i=t:null!==t&&(i.validators=t.validator,i.asyncValidators=t.asyncValidator),new ZM(s,i)}record(e,t=null){const s=this._reduceControls(e);return new G5(s,t)}control(e,t,s){let i={};return this.useNonNullable?(aU(t)?i=t:(i.validators=t,i.asyncValidators=s),new qd(e,{...i,nonNullable:!0})):new qd(e,t,s)}array(e,t,s){const i=e.map(o=>this._createControl(o));return new oU(i,t,s)}_reduceControls(e){const t={};return Object.keys(e).forEach(s=>{t[s]=this._createControl(e[s])}),t}_createControl(e){if(e instanceof qd)return e;if(e instanceof oA)return e;if(Array.isArray(e)){const t=e[0],s=e.length>1?e[1]:null,i=e.length>2?e[2]:null;return this.control(t,s,i)}return this.control(e)}static#e=this.\u0275fac=function(t){return new(t||Ng)};static#t=this.\u0275prov=Ce({token:Ng,factory:Ng.\u0275fac,providedIn:"root"})}class GF{static#e=this.\u0275fac=function(t){return new(t||GF)};static#t=this.\u0275prov=Ce({token:GF,factory:()=>de(Ng).nonNullable,providedIn:"root"})}class ri extends Ng{group(e,t=null){return super.group(e,t)}control(e,t,s){return super.control(e,t,s)}array(e,t,s){return super.array(e,t,s)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(ri)))(s||ri)}})();static#t=this.\u0275prov=Ce({token:ri,factory:ri.\u0275fac,providedIn:"root"})}new vv("18.2.13");class Fg{static withConfig(e){return{ngModule:Fg,providers:[{provide:Ig,useValue:e.callSetDisabledState??JM}]}}static#e=this.\u0275fac=function(t){return new(t||Fg)};static#t=this.\u0275mod=vs({type:Fg,declarations:[Ag,Qp,Kp],exports:[Og,Ag,Qp,Kp]});static#n=this.\u0275inj=Ts({imports:[Og]})}class Xv{static withConfig(e){return{ngModule:Xv,providers:[{provide:qF,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ig,useValue:e.callSetDisabledState??JM}]}}static#e=this.\u0275fac=function(t){return new(t||Xv)};static#t=this.\u0275mod=vs({type:Xv,declarations:[Pg,Jp,Rg,ef,tf],exports:[Og,Pg,Jp,Rg,ef,tf]});static#n=this.\u0275inj=Ts({imports:[Og]})}function Zv(n){return n&&"function"==typeof n.schedule}function KF(n,e){return e?PF(n,e):new Ct(_5(n))}function at(...n){let e=n[n.length-1];return Zv(e)?(n.pop(),PF(n,e)):KF(n)}class dA extends Xt{constructor(e,t,s){super(),this.parent=e,this.outerValue=t,this.outerIndex=s,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Jv(n,e,t,s,i=new dA(n,t,s)){if(!i.closed)return e instanceof Ct?e.subscribe(i):b5(e)(i)}class eb extends Xt{notifyNext(e,t,s,i,o){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}function Fo(n,e,t=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(Fo((i,o)=>pi(n(i,o)).pipe(Ht((c,d)=>e(i,c,o,d))),t)):("number"==typeof e&&(t=e),s=>s.lift(new kJ(n,t)))}class kJ{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new TJ(e,this.project,this.concurrent))}}class TJ extends eb{constructor(e,t,s=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=s,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function tb(n,e){return Fo(n,e,1)}function sC(n){return e=>e.lift(new IJ(n))}class IJ{constructor(e){this.callback=e}call(e,t){return t.subscribe(new AJ(e,this.callback))}}class AJ extends Xt{constructor(e,t){super(e),this.add(new gt(t))}}function da(n,e){return"function"==typeof e?t=>t.pipe(da((s,i)=>pi(n(s,i)).pipe(Ht((o,c)=>e(s,o,i,c))))):t=>t.lift(new LJ(n))}class LJ{constructor(e){this.project=e}call(e,t){return t.subscribe(new PJ(e,this.project))}}class PJ extends eb{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const s=this.index++;try{t=this.project(e,s)}catch(i){return void this.destination.error(i)}this._innerSub(t,e,s)}_innerSub(e,t,s){const i=this.innerSubscription;i&&i.unsubscribe();const o=new dA(this,t,s),c=this.destination;c.add(o),this.innerSubscription=Jv(this,e,void 0,void 0,o),this.innerSubscription!==o&&c.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,s,i,o){this.destination.next(t)}}class hA{}class pA{}class ha{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(t=>{const s=t.indexOf(":");if(s>0){const i=t.slice(0,s),o=i.toLowerCase(),c=t.slice(s+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(c):this.headers.set(o,[c])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((t,s)=>{this.setHeaderEntries(s,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([t,s])=>{this.setHeaderEntries(t,s)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof ha?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new ha;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof ha?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let s=e.value;if("string"==typeof s&&(s=[s]),0===s.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...s),this.headers.set(t,i);break;case"d":const o=e.value;if(o){let c=this.headers.get(t);if(!c)return;c=c.filter(d=>-1===o.indexOf(d)),0===c.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,c)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(e,t){const s=(Array.isArray(t)?t:[t]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,s),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class RJ{encodeKey(e){return lU(e)}encodeValue(e){return lU(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const NJ=/%(\d[a-f0-9])/gi,FJ={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lU(n){return encodeURIComponent(n).replace(NJ,(e,t)=>FJ[t]??e)}function fA(n){return`${n}`}class df{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new RJ,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function OJ(n,e){const t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[c,d]=-1==o?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],h=t.get(c)||[];h.push(d),t.set(c,h)}),t}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const s=e.fromObject[t],i=Array.isArray(s)?s.map(fA):[fA(s)];this.map.set(t,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(s=>{const i=e[s];Array.isArray(i)?i.forEach(o=>{t.push({param:s,value:o,op:"a"})}):t.push({param:s,value:i,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(s=>t+"="+this.encoder.encodeValue(s)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new df({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(fA(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let s=this.map.get(e.param)||[];const i=s.indexOf(fA(e.value));-1!==i&&s.splice(i,1),s.length>0?this.map.set(e.param,s):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class YJ{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function cU(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function uU(n){return typeof Blob<"u"&&n instanceof Blob}function dU(n){return typeof FormData<"u"&&n instanceof FormData}class rC{constructor(e,t,s,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function BJ(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==s?s:null,o=i):o=s,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new ha,this.context??=new YJ,this.params){const c=this.params.toString();if(0===c.length)this.urlWithParams=t;else{const d=t.indexOf("?"),h=-1===d?"?":dE.set(x,e.setHeaders[x]),m)),e.setParams&&(g=Object.keys(e.setParams).reduce((E,x)=>E.set(x,e.setParams[x]),g)),new rC(t,s,c,{params:g,headers:m,context:b,reportProgress:h,responseType:i,withCredentials:d,transferCache:o})}}var bu;!function(n){n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User"}(bu||(bu={}));class QF{constructor(e,t=200,s="OK"){this.headers=e.headers||new ha,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||s,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class mA extends QF{constructor(e={}){super(e),this.type=bu.ResponseHeader}clone(e={}){return new mA({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class hf extends QF{constructor(e={}){super(e),this.type=bu.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new hf({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class pf extends QF{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}var hU;function ZF(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}!function(n){n[n.Continue=100]="Continue",n[n.SwitchingProtocols=101]="SwitchingProtocols",n[n.Processing=102]="Processing",n[n.EarlyHints=103]="EarlyHints",n[n.Ok=200]="Ok",n[n.Created=201]="Created",n[n.Accepted=202]="Accepted",n[n.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",n[n.NoContent=204]="NoContent",n[n.ResetContent=205]="ResetContent",n[n.PartialContent=206]="PartialContent",n[n.MultiStatus=207]="MultiStatus",n[n.AlreadyReported=208]="AlreadyReported",n[n.ImUsed=226]="ImUsed",n[n.MultipleChoices=300]="MultipleChoices",n[n.MovedPermanently=301]="MovedPermanently",n[n.Found=302]="Found",n[n.SeeOther=303]="SeeOther",n[n.NotModified=304]="NotModified",n[n.UseProxy=305]="UseProxy",n[n.Unused=306]="Unused",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.LengthRequired=411]="LengthRequired",n[n.PreconditionFailed=412]="PreconditionFailed",n[n.PayloadTooLarge=413]="PayloadTooLarge",n[n.UriTooLong=414]="UriTooLong",n[n.UnsupportedMediaType=415]="UnsupportedMediaType",n[n.RangeNotSatisfiable=416]="RangeNotSatisfiable",n[n.ExpectationFailed=417]="ExpectationFailed",n[n.ImATeapot=418]="ImATeapot",n[n.MisdirectedRequest=421]="MisdirectedRequest",n[n.UnprocessableEntity=422]="UnprocessableEntity",n[n.Locked=423]="Locked",n[n.FailedDependency=424]="FailedDependency",n[n.TooEarly=425]="TooEarly",n[n.UpgradeRequired=426]="UpgradeRequired",n[n.PreconditionRequired=428]="PreconditionRequired",n[n.TooManyRequests=429]="TooManyRequests",n[n.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",n[n.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",n[n.HttpVersionNotSupported=505]="HttpVersionNotSupported",n[n.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",n[n.InsufficientStorage=507]="InsufficientStorage",n[n.LoopDetected=508]="LoopDetected",n[n.NotExtended=510]="NotExtended",n[n.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired"}(hU||(hU={}));class wu{constructor(e){this.handler=e}request(e,t,s={}){let i;if(e instanceof rC)i=e;else{let d,h;d=s.headers instanceof ha?s.headers:new ha(s.headers),s.params&&(h=s.params instanceof df?s.params:new df({fromObject:s.params})),i=new rC(e,t,void 0!==s.body?s.body:null,{headers:d,context:s.context,params:h,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache})}const o=at(i).pipe(tb(d=>this.handler.handle(d)));if(e instanceof rC||"events"===s.observe)return o;const c=o.pipe(ms(d=>d instanceof hf));switch(s.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return c.pipe(Ht(d=>{if(null!==d.body&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return c.pipe(Ht(d=>{if(null!==d.body&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return c.pipe(Ht(d=>{if(null!==d.body&&"string"!=typeof d.body)throw new Error("Response is not a string.");return d.body}));default:return c.pipe(Ht(d=>d.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new df).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,s={}){return this.request("PATCH",e,ZF(s,t))}post(e,t,s={}){return this.request("POST",e,ZF(s,t))}put(e,t,s={}){return this.request("PUT",e,ZF(s,t))}static#e=this.\u0275fac=function(t){return new(t||wu)(be(hA))};static#t=this.\u0275prov=Ce({token:wu,factory:wu.\u0275fac})}const HJ=/^\)\]\}',?\n/;function pU(n){if(n.url)return n.url;const e="X-Request-URL".toLocaleLowerCase();return n.headers.get(e)}class Yg{constructor(){this.fetchImpl=de($J,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=de(vt)}handle(e){return new Ct(t=>{const s=new AbortController;return this.doRequest(e,s.signal,t).then(JF,i=>t.error(new pf({error:i}))),()=>s.abort()})}doRequest(e,t,s){var i=this;return KN(function*(){const o=i.createRequestInit(e);let c;try{const x=i.ngZone.runOutsideAngular(()=>i.fetchImpl(e.urlWithParams,{signal:t,...o}));(function zJ(n){n.then(JF,JF)})(x),s.next({type:bu.Sent}),c=yield x}catch(x){return void s.error(new pf({error:x,status:x.status??0,statusText:x.statusText,url:e.urlWithParams,headers:x.headers}))}const d=new ha(c.headers),h=c.statusText,m=pU(c)??e.urlWithParams;let g=c.status,b=null;if(e.reportProgress&&s.next(new mA({headers:d,status:g,statusText:h,url:m})),c.body){const x=c.headers.get("content-length"),P=[],F=c.body.getReader();let W,z,H=0;const ie=typeof Zone<"u"&&Zone.current;yield i.ngZone.runOutsideAngular(KN(function*(){for(;;){const{done:he,value:xe}=yield F.read();if(he)break;if(P.push(xe),H+=xe.length,e.reportProgress){z="text"===e.responseType?(z??"")+(W??=new TextDecoder).decode(xe,{stream:!0}):void 0;const ke=()=>s.next({type:bu.DownloadProgress,total:x?+x:void 0,loaded:H,partialText:z});ie?ie.run(ke):ke()}}}));const ce=i.concatChunks(P,H);try{const he=c.headers.get("Content-Type")??"";b=i.parseBody(e,ce,he)}catch(he){return void s.error(new pf({error:he,headers:new ha(c.headers),status:c.status,statusText:c.statusText,url:pU(c)??e.urlWithParams}))}}0===g&&(g=b?200:0),g>=200&&g<300?(s.next(new hf({body:b,headers:d,status:g,statusText:h,url:m})),s.complete()):s.error(new pf({error:b,headers:d,status:g,statusText:h,url:m}))})()}parseBody(e,t,s){switch(e.responseType){case"json":const i=(new TextDecoder).decode(t).replace(HJ,"");return""===i?null:JSON.parse(i);case"text":return(new TextDecoder).decode(t);case"blob":return new Blob([t],{type:s});case"arraybuffer":return t.buffer}}createRequestInit(e){const t={},s=e.withCredentials?"include":void 0;if(e.headers.forEach((i,o)=>t[i]=o.join(",")),e.headers.has("Accept")||(t.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){const i=e.detectContentTypeHeader();null!==i&&(t["Content-Type"]=i)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:s}}concatChunks(e,t){const s=new Uint8Array(t);let i=0;for(const o of e)s.set(o,i),i+=o.length;return s}static#e=this.\u0275fac=function(t){return new(t||Yg)};static#t=this.\u0275prov=Ce({token:Yg,factory:Yg.\u0275fac})}class $J{}function JF(){}function fU(n,e){return e(n)}function WJ(n,e){return(t,s)=>e.intercept(t,{handle:i=>n(i,s)})}const mU=new Ie(""),iC=new Ie(""),gU=new Ie(""),_U=new Ie("",{providedIn:"root",factory:()=>!0});function GJ(){let n=null;return(e,t)=>{null===n&&(n=(de(mU,{optional:!0})??[]).reduceRight(WJ,fU));const s=de(oo);if(de(_U)){const o=s.add();return n(e,t).pipe(sC(()=>s.remove(o)))}return n(e,t)}}class nb extends hA{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null,this.pendingTasks=de(oo),this.contributeToStability=de(_U)}handle(e){if(null===this.chain){const t=Array.from(new Set([...this.injector.get(iC),...this.injector.get(gU,[])]));this.chain=t.reduceRight((s,i)=>function qJ(n,e,t){return(s,i)=>eo(t,()=>e(s,o=>n(o,i)))}(s,i,this.injector),fU)}if(this.contributeToStability){const t=this.pendingTasks.add();return this.chain(e,s=>this.backend.handle(s)).pipe(sC(()=>this.pendingTasks.remove(t)))}return this.chain(e,t=>this.backend.handle(t))}static#e=this.\u0275fac=function(t){return new(t||nb)(be(pA),be(It))};static#t=this.\u0275prov=Ce({token:nb,factory:nb.\u0275fac})}let yU,QJ=0;class vU{}function tee(){return"object"==typeof window?window:{}}class sb{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+QJ++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");if(e.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new Ct(t=>{const s=this.nextCallback(),i=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${s}$1`),o=this.document.createElement("script");o.src=i;let c=null,d=!1;this.callbackMap[s]=b=>{delete this.callbackMap[s],c=b,d=!0};const h=()=>{o.removeEventListener("load",m),o.removeEventListener("error",g),o.remove(),delete this.callbackMap[s]},m=b=>{this.resolvedPromise.then(()=>{h(),d?(t.next(new hf({body:c,status:200,statusText:"OK",url:i})),t.complete()):t.error(new pf({url:i,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},g=b=>{h(),t.error(new pf({error:b,status:0,statusText:"JSONP Error",url:i}))};return o.addEventListener("load",m),o.addEventListener("error",g),this.document.body.appendChild(o),t.next({type:bu.Sent}),()=>{d||this.removeListeners(o),h()}})}removeListeners(e){yU??=this.document.implementation.createHTMLDocument(),yU.adoptNode(e)}static#e=this.\u0275fac=function(t){return new(t||sb)(be(vU),be(Ln))};static#t=this.\u0275prov=Ce({token:sb,factory:sb.\u0275fac})}function bU(n,e){return"JSONP"===n.method?de(sb).handle(n):e(n)}class gA{constructor(e){this.injector=e}intercept(e,t){return eo(this.injector,()=>bU(e,s=>t.handle(s)))}static#e=this.\u0275fac=function(t){return new(t||gA)(be(It))};static#t=this.\u0275prov=Ce({token:gA,factory:gA.\u0275fac})}const nee=/^\)\]\}',?\n/;class rb{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new ae(-2800,!1);const t=this.xhrFactory;return(t.\u0275loadImpl?pi(t.\u0275loadImpl()):at(null)).pipe(da(()=>new Ct(i=>{const o=t.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((P,F)=>o.setRequestHeader(P,F.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const P=e.detectContentTypeHeader();null!==P&&o.setRequestHeader("Content-Type",P)}if(e.responseType){const P=e.responseType.toLowerCase();o.responseType="json"!==P?P:"text"}const c=e.serializeBody();let d=null;const h=()=>{if(null!==d)return d;const P=o.statusText||"OK",F=new ha(o.getAllResponseHeaders()),H=function see(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(o)||e.url;return d=new mA({headers:F,status:o.status,statusText:P,url:H}),d},m=()=>{let{headers:P,status:F,statusText:H,url:W}=h(),z=null;204!==F&&(z=typeof o.response>"u"?o.responseText:o.response),0===F&&(F=z?200:0);let ie=F>=200&&F<300;if("json"===e.responseType&&"string"==typeof z){const ce=z;z=z.replace(nee,"");try{z=""!==z?JSON.parse(z):null}catch(he){z=ce,ie&&(ie=!1,z={error:he,text:z})}}ie?(i.next(new hf({body:z,headers:P,status:F,statusText:H,url:W||void 0})),i.complete()):i.error(new pf({error:z,headers:P,status:F,statusText:H,url:W||void 0}))},g=P=>{const{url:F}=h(),H=new pf({error:P,status:o.status||0,statusText:o.statusText||"Unknown Error",url:F||void 0});i.error(H)};let b=!1;const E=P=>{b||(i.next(h()),b=!0);let F={type:bu.DownloadProgress,loaded:P.loaded};P.lengthComputable&&(F.total=P.total),"text"===e.responseType&&o.responseText&&(F.partialText=o.responseText),i.next(F)},x=P=>{let F={type:bu.UploadProgress,loaded:P.loaded};P.lengthComputable&&(F.total=P.total),i.next(F)};return o.addEventListener("load",m),o.addEventListener("error",g),o.addEventListener("timeout",g),o.addEventListener("abort",g),e.reportProgress&&(o.addEventListener("progress",E),null!==c&&o.upload&&o.upload.addEventListener("progress",x)),o.send(c),i.next({type:bu.Sent}),()=>{o.removeEventListener("error",g),o.removeEventListener("abort",g),o.removeEventListener("load",m),o.removeEventListener("timeout",g),e.reportProgress&&(o.removeEventListener("progress",E),null!==c&&o.upload&&o.upload.removeEventListener("progress",x)),o.readyState!==o.DONE&&o.abort()}})))}static#e=this.\u0275fac=function(t){return new(t||rb)(be(z3))};static#t=this.\u0275prov=Ce({token:rb,factory:rb.\u0275fac})}const _A=new Ie(""),wU="XSRF-TOKEN",SU=new Ie("",{providedIn:"root",factory:()=>wU}),DU="X-XSRF-TOKEN",MU=new Ie("",{providedIn:"root",factory:()=>DU});class eY{}class ib{constructor(e,t,s){this.doc=e,this.platform=t,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=B3(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(t){return new(t||ib)(be(Ln),be(lo),be(SU))};static#t=this.\u0275prov=Ce({token:ib,factory:ib.\u0275fac})}function CU(n,e){const t=n.url.toLowerCase();if(!de(_A)||"GET"===n.method||"HEAD"===n.method||t.startsWith("http://")||t.startsWith("https://"))return e(n);const s=de(eY).getToken(),i=de(MU);return null!=s&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,s)})),e(n)}class ob{constructor(e){this.injector=e}intercept(e,t){return eo(this.injector,()=>CU(e,s=>t.handle(s)))}static#e=this.\u0275fac=function(t){return new(t||ob)(be(It))};static#t=this.\u0275prov=Ce({token:ob,factory:ob.\u0275fac})}var Xd;function Bg(n,e){return{\u0275kind:n,\u0275providers:e}}function EU(...n){const e=[wu,rb,nb,{provide:hA,useExisting:nb},{provide:pA,useFactory:()=>de(Yg,{optional:!0})??de(rb)},{provide:iC,useValue:CU,multi:!0},{provide:_A,useValue:!0},{provide:eY,useClass:ib}];for(const t of n)e.push(...t.\u0275providers);return li(e)}!function(n){n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch"}(Xd||(Xd={}));const xU=new Ie("");function kU(){return Bg(Xd.LegacyInterceptors,[{provide:xU,useFactory:GJ},{provide:iC,useExisting:xU,multi:!0}])}function TU({cookieName:n,headerName:e}){const t=[];return void 0!==n&&t.push({provide:SU,useValue:n}),void 0!==e&&t.push({provide:MU,useValue:e}),Bg(Xd.CustomXsrfConfiguration,t)}function iee(){return Bg(Xd.JsonpSupport,[sb,{provide:vU,useFactory:tee},{provide:iC,useValue:bU,multi:!0}])}class oC{static disable(){return{ngModule:oC,providers:[Bg(Xd.NoXsrfProtection,[{provide:_A,useValue:!1}]).\u0275providers]}}static withOptions(e={}){return{ngModule:oC,providers:TU(e).\u0275providers}}static#e=this.\u0275fac=function(t){return new(t||oC)};static#t=this.\u0275mod=vs({type:oC});static#n=this.\u0275inj=Ts({providers:[ob,{provide:mU,useExisting:ob,multi:!0},{provide:eY,useClass:ib},TU({cookieName:wU,headerName:DU}).\u0275providers,{provide:_A,useValue:!0}]})}class tY{static#e=this.\u0275fac=function(t){return new(t||tY)};static#t=this.\u0275mod=vs({type:tY});static#n=this.\u0275inj=Ts({providers:[EU(kU())]})}class nY{static#e=this.\u0275fac=function(t){return new(t||nY)};static#t=this.\u0275mod=vs({type:nY});static#n=this.\u0275inj=Ts({providers:[iee().\u0275providers]})}new Ie(""),new Ie("");function sY(n){return!!n&&(n instanceof Ct||"function"==typeof n.lift&&"function"==typeof n.subscribe)}const FU={};function vA(...n){let e=null,t=null;return Zv(n[n.length-1])&&(t=n.pop()),"function"==typeof n[n.length-1]&&(e=n.pop()),1===n.length&&Os(n[0])&&(n=n[0]),KF(n,t).lift(new fee(e))}class fee{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new mee(e,this.resultSelector))}}class mee extends eb{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(FU),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let s=0;s{let t;try{t=n()}catch(i){return void e.error(i)}return(t?pi(t):yi()).subscribe(e)})}function ff(n,e){return new Ct(e?t=>e.schedule(_ee,0,{error:n,subscriber:t}):t=>t.error(n))}function _ee({error:n,subscriber:e}){e.error(n)}function rY(){return function(e){return e.lift(new yee(e))}}class yee{constructor(e){this.connectable=e}call(e,t){const{connectable:s}=this;s._refCount++;const i=new vee(e,s),o=t.subscribe(i);return i.closed||(i.connection=s.connect()),o}}class vee extends Xt{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:s}=this,i=e._connection;this.connection=null,i&&(!s||i===s)&&i.unsubscribe()}}class wA extends Ct{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new gt,e.add(this.source.subscribe(new bee(this.getSubject(),this))),e.closed&&(this._connection=null,e=gt.EMPTY)),e}refCount(){return rY()(this)}}(()=>{const n=wA.prototype;n._subscribe,n._isComplete,n.getSubject,n.connect,n.refCount})();class bee extends Gn{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function lb(...n){const e=n[n.length-1];return Zv(e)?(n.pop(),t=>bA(n,t,e)):t=>bA(n,t)}function mf(){}function js(n,e,t){return function(i){return i.lift(new See(n,e,t))}}class See{constructor(e,t,s){this.nextOrObserver=e,this.error=t,this.complete=s}call(e,t){return t.subscribe(new Dee(e,this.nextOrObserver,this.error,this.complete))}}class Dee extends Xt{constructor(e,t,s,i){super(e),this._tapNext=mf,this._tapError=mf,this._tapComplete=mf,this._tapError=s||mf,this._tapComplete=i||mf,jt(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||mf,this._tapError=t.error||mf,this._tapComplete=t.complete||mf)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}function Wi(n){return function(t){const s=new Mee(n),i=t.lift(s);return s.caught=i}}class Mee{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Cee(e,this.selector,this.caught))}}class Cee extends eb{constructor(e,t,s){super(e),this.selector=t,this.caught=s}error(e){if(!this.isStopped){let t;try{t=this.selector(e,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const s=new dA(this,void 0,void 0);this.add(s);const i=Jv(this,t,void 0,void 0,s);i!==s&&this.add(i)}}}class xee{constructor(e,t,s=!1){this.accumulator=e,this.seed=t,this.hasSeed=s}call(e,t){return t.subscribe(new kee(e,this.accumulator,this.seed,this.hasSeed))}}class kee extends Xt{constructor(e,t,s,i){super(e),this.accumulator=t,this._seed=s,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let s;try{s=this.accumulator(this.seed,e,t)}catch(i){this.destination.error(i)}this.seed=s,this.destination.next(s)}}function iY(n){return function(t){return 0===n?yi():t.lift(new Tee(n))}}class Tee{constructor(e){if(this.total=e,this.total<0)throw new Ue}call(e,t){return t.subscribe(new Iee(e,this.total))}}class Iee extends Xt{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,s=this.total,i=this.count++;if(t.length0){const s=this.count>=this.total?this.total:this.count,i=this.ring;for(let o=0;oe.lift(new Oee(n))}class Oee{constructor(e){this.notifier=e}call(e,t){const s=new Nee(e),i=Jv(s,this.notifier);return i&&!s.seenValue?(s.add(i),t.subscribe(s)):s}}class Nee extends eb{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,s,i,o){this.seenValue=!0,this.complete()}notifyComplete(){}}const wn="primary",aC=Symbol("RouteTitle");class Fee{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function cb(n){return new Fee(n)}function Yee(n,e,t){const s=t.path.split("/");if(s.length>n.length||"full"===t.pathMatch&&(e.hasChildren()||s.lengths[o]===i)}return n===e}function jU(n){return n.length>0?n[n.length-1]:null}function gf(n){return sY(n)?n:MM(n)?pi(Promise.resolve(n)):at(n)}const jee={exact:function UU(n,e,t){if(!Vg(n.segments,e.segments)||!SA(n.segments,e.segments,t)||n.numberOfChildren!==e.numberOfChildren)return!1;for(const s in e.children)if(!n.children[s]||!UU(n.children[s],e.children[s],t))return!1;return!0},subset:$U},VU={exact:function Vee(n,e){return Su(n,e)},subset:function Hee(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(t=>BU(n[t],e[t]))},ignored:()=>!0};function HU(n,e,t){return jee[t.paths](n.root,e.root,t.matrixParams)&&VU[t.queryParams](n.queryParams,e.queryParams)&&!("exact"===t.fragment&&n.fragment!==e.fragment)}function $U(n,e,t){return zU(n,e,e.segments,t)}function zU(n,e,t,s){if(n.segments.length>t.length){const i=n.segments.slice(0,t.length);return!(!Vg(i,t)||e.hasChildren()||!SA(i,t,s))}if(n.segments.length===t.length){if(!Vg(n.segments,t)||!SA(n.segments,t,s))return!1;for(const i in e.children)if(!n.children[i]||!$U(n.children[i],e.children[i],s))return!1;return!0}{const i=t.slice(0,n.segments.length),o=t.slice(n.segments.length);return!!(Vg(n.segments,i)&&SA(n.segments,i,s)&&n.children[wn])&&zU(n.children[wn],e,o,s)}}function SA(n,e,t){return e.every((s,i)=>VU[t](n[i].parameters,s.parameters))}class jg{constructor(e=new Ps([],{}),t={},s=null){this.root=e,this.queryParams=t,this.fragment=s}get queryParamMap(){return this._queryParamMap??=cb(this.queryParams),this._queryParamMap}toString(){return zee.serialize(this)}}class Ps{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Object.values(t).forEach(s=>s.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return MA(this)}}class lC{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap??=cb(this.parameters),this._parameterMap}toString(){return GU(this)}}function Vg(n,e){return n.length===e.length&&n.every((t,s)=>t.path===e[s].path)}class Zd{static#e=this.\u0275fac=function(t){return new(t||Zd)};static#t=this.\u0275prov=Ce({token:Zd,factory:()=>new DA,providedIn:"root"})}class DA{parse(e){const t=new nte(e);return new jg(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){const t=`/${cC(e.root,!0)}`,s=function Gee(n){const e=Object.entries(n).map(([t,s])=>Array.isArray(s)?s.map(i=>`${CA(t)}=${CA(i)}`).join("&"):`${CA(t)}=${CA(s)}`).filter(t=>t);return e.length?`?${e.join("&")}`:""}(e.queryParams),i="string"==typeof e.fragment?`#${function Wee(n){return encodeURI(n)}(e.fragment)}`:"";return`${t}${s}${i}`}}const zee=new DA;function MA(n){return n.segments.map(e=>GU(e)).join("/")}function cC(n,e){if(!n.hasChildren())return MA(n);if(e){const t=n.children[wn]?cC(n.children[wn],!1):"",s=[];return Object.entries(n.children).forEach(([i,o])=>{i!==wn&&s.push(`${i}:${cC(o,!1)}`)}),s.length>0?`${t}(${s.join("//")})`:t}{const t=function $ee(n,e){let t=[];return Object.entries(n.children).forEach(([s,i])=>{s===wn&&(t=t.concat(e(i,s)))}),Object.entries(n.children).forEach(([s,i])=>{s!==wn&&(t=t.concat(e(i,s)))}),t}(n,(s,i)=>i===wn?[cC(n.children[wn],!1)]:[`${i}:${cC(s,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[wn]?`${MA(n)}/${t[0]}`:`${MA(n)}/(${t.join("//")})`}}function WU(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function CA(n){return WU(n).replace(/%3B/gi,";")}function aY(n){return WU(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function EA(n){return decodeURIComponent(n)}function qU(n){return EA(n.replace(/\+/g,"%20"))}function GU(n){return`${aY(n.path)}${function qee(n){return Object.entries(n).map(([e,t])=>`;${aY(e)}=${aY(t)}`).join("")}(n.parameters)}`}const Kee=/^[^\/()?;#]+/;function lY(n){const e=n.match(Kee);return e?e[0]:""}const Qee=/^[^\/()?;=#]+/;const Zee=/^[^=?&#]+/;const ete=/^[^&#]+/;class nte{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ps([],{}):new Ps([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let s={};return this.peekStartsWith("(")&&(s=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(s[wn]=new Ps(e,t)),s}parseSegment(){const e=lY(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new ae(4009,!1);return this.capture(e),new lC(EA(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=function Xee(n){const e=n.match(Qee);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let s="";if(this.consumeOptional("=")){const i=lY(this.remaining);i&&(s=i,this.capture(s))}e[EA(t)]=EA(s)}parseQueryParam(e){const t=function Jee(n){const e=n.match(Zee);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let s="";if(this.consumeOptional("=")){const c=function tte(n){const e=n.match(ete);return e?e[0]:""}(this.remaining);c&&(s=c,this.capture(s))}const i=qU(t),o=qU(s);if(e.hasOwnProperty(i)){let c=e[i];Array.isArray(c)||(c=[c],e[i]=c),c.push(o)}else e[i]=o}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const s=lY(this.remaining),i=this.remaining[s.length];if("/"!==i&&")"!==i&&";"!==i)throw new ae(4010,!1);let o;s.indexOf(":")>-1?(o=s.slice(0,s.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=wn);const c=this.parseChildren();t[o]=1===Object.keys(c).length?c[wn]:new Ps([],c),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new ae(4011,!1)}}function KU(n){return n.segments.length>0?new Ps([],{[wn]:n}):n}function QU(n){const e={};for(const[s,i]of Object.entries(n.children)){const o=QU(i);if(s===wn&&0===o.segments.length&&o.hasChildren())for(const[c,d]of Object.entries(o.children))e[c]=d;else(o.segments.length>0||o.hasChildren())&&(e[s]=o)}return function ste(n){if(1===n.numberOfChildren&&n.children[wn]){const e=n.children[wn];return new Ps(n.segments.concat(e.segments),e.children)}return n}(new Ps(n.segments,e))}function Hg(n){return n instanceof jg}function XU(n){let e;const s=function t(o){const c={};for(const h of o.children){const m=t(h);c[h.outlet]=m}const d=new Ps(o.url,c);return o===n&&(e=d),d}(n.root),i=KU(s);return e??i}function ZU(n,e,t,s){let i=n;for(;i.parent;)i=i.parent;if(0===e.length)return cY(i,i,i,t,s);const o=function ite(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new e$(!0,0,n);let e=0,t=!1;const s=n.reduce((i,o,c)=>{if("object"==typeof o&&null!=o){if(o.outlets){const d={};return Object.entries(o.outlets).forEach(([h,m])=>{d[h]="string"==typeof m?m.split("/"):m}),[...i,{outlets:d}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===c?(o.split("/").forEach((d,h)=>{0==h&&"."===d||(0==h&&""===d?t=!0:".."===d?e++:""!=d&&i.push(d))}),i):[...i,o]},[]);return new e$(t,e,s)}(e);if(o.toRoot())return cY(i,i,new Ps([],{}),t,s);const c=function ote(n,e,t){if(n.isAbsolute)return new kA(e,!0,0);if(!t)return new kA(e,!1,NaN);if(null===t.parent)return new kA(t,!0,0);const s=xA(n.commands[0])?0:1,i=t.segments.length-1+s;return function ate(n,e,t){let s=n,i=e,o=t;for(;o>i;){if(o-=i,s=s.parent,!s)throw new ae(4005,!1);i=s.segments.length}return new kA(s,!1,i-o)}(t,i,n.numberOfDoubleDots)}(o,i,n),d=c.processChildren?dC(c.segmentGroup,c.index,o.commands):t$(c.segmentGroup,c.index,o.commands);return cY(i,c.segmentGroup,d,t,s)}function xA(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function uC(n){return"object"==typeof n&&null!=n&&n.outlets}function cY(n,e,t,s,i){let c,o={};s&&Object.entries(s).forEach(([h,m])=>{o[h]=Array.isArray(m)?m.map(g=>`${g}`):`${m}`}),c=n===e?t:JU(n,e,t);const d=KU(QU(c));return new jg(d,o,i)}function JU(n,e,t){const s={};return Object.entries(n.children).forEach(([i,o])=>{s[i]=o===e?t:JU(o,e,t)}),new Ps(n.segments,s)}class e${constructor(e,t,s){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=s,e&&s.length>0&&xA(s[0]))throw new ae(4003,!1);const i=s.find(uC);if(i&&i!==jU(s))throw new ae(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class kA{constructor(e,t,s){this.segmentGroup=e,this.processChildren=t,this.index=s}}function t$(n,e,t){if(n??=new Ps([],{}),0===n.segments.length&&n.hasChildren())return dC(n,e,t);const s=function cte(n,e,t){let s=0,i=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=t.length)return o;const c=n.segments[i],d=t[s];if(uC(d))break;const h=`${d}`,m=s0&&void 0===h)break;if(h&&m&&"object"==typeof m&&void 0===m.outlets){if(!s$(h,m,c))return o;s+=2}else{if(!s$(h,{},c))return o;s++}i++}return{match:!0,pathIndex:i,commandIndex:s}}(n,e,t),i=t.slice(s.commandIndex);if(s.match&&s.pathIndexo!==wn)&&n.children[wn]&&1===n.numberOfChildren&&0===n.children[wn].segments.length){const o=dC(n.children[wn],e,t);return new Ps(n.segments,o.children)}return Object.entries(s).forEach(([o,c])=>{"string"==typeof c&&(c=[c]),null!==c&&(i[o]=t$(n.children[o],e,c))}),Object.entries(n.children).forEach(([o,c])=>{void 0===s[o]&&(i[o]=c)}),new Ps(n.segments,i)}}function uY(n,e,t){const s=n.segments.slice(0,e);let i=0;for(;i{"string"==typeof s&&(s=[s]),null!==s&&(e[t]=uY(new Ps([],{}),0,s))}),e}function n$(n){const e={};return Object.entries(n).forEach(([t,s])=>e[t]=`${s}`),e}function s$(n,e,t){return n==t.path&&Su(e,t.parameters)}const hC="imperative";var Fn,pa,pC;!function(n){n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped"}(Fn||(Fn={}));class Du{constructor(e,t){this.id=e,this.url=t}}class TA extends Du{constructor(e,t,s="imperative",i=null){super(e,t),this.type=Fn.NavigationStart,this.navigationTrigger=s,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class fo extends Du{constructor(e,t,s){super(e,t),this.urlAfterRedirects=s,this.type=Fn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}!function(n){n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected"}(pa||(pa={})),function(n){n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy"}(pC||(pC={}));class Ug extends Du{constructor(e,t,s,i){super(e,t),this.reason=s,this.code=i,this.type=Fn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ub extends Du{constructor(e,t,s,i){super(e,t),this.reason=s,this.code=i,this.type=Fn.NavigationSkipped}}class dY extends Du{constructor(e,t,s,i){super(e,t),this.error=s,this.target=i,this.type=Fn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class r$ extends Du{constructor(e,t,s,i){super(e,t),this.urlAfterRedirects=s,this.state=i,this.type=Fn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dte extends Du{constructor(e,t,s,i){super(e,t),this.urlAfterRedirects=s,this.state=i,this.type=Fn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hte extends Du{constructor(e,t,s,i,o){super(e,t),this.urlAfterRedirects=s,this.state=i,this.shouldActivate=o,this.type=Fn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class pte extends Du{constructor(e,t,s,i){super(e,t),this.urlAfterRedirects=s,this.state=i,this.type=Fn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fte extends Du{constructor(e,t,s,i){super(e,t),this.urlAfterRedirects=s,this.state=i,this.type=Fn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mte{constructor(e){this.route=e,this.type=Fn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class gte{constructor(e){this.route=e,this.type=Fn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class _te{constructor(e){this.snapshot=e,this.type=Fn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yte{constructor(e){this.snapshot=e,this.type=Fn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vte{constructor(e){this.snapshot=e,this.type=Fn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bte{constructor(e){this.snapshot=e,this.type=Fn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class i${constructor(e,t,s){this.routerEvent=e,this.position=t,this.anchor=s,this.type=Fn.Scroll}toString(){const e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}}class hY{}class IA{constructor(e,t){this.url=e,this.navigationBehaviorOptions=t}}function fc(n){return n.outlet||wn}function fC(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class Ete{get injector(){return fC(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new Jd(this.rootInjector),this.attachRef=null}}class Jd{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,t){const s=this.getOrCreateContext(e);s.outlet=t,this.contexts.set(e,s)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new Ete(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static#e=this.\u0275fac=function(t){return new(t||Jd)(be(It))};static#t=this.\u0275prov=Ce({token:Jd,factory:Jd.\u0275fac,providedIn:"root"})}class o${constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=pY(e,this._root);return t?t.children.map(s=>s.value):[]}firstChild(e){const t=pY(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=fY(e,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return fY(e,this._root).map(t=>t.value)}}function pY(n,e){if(n===e.value)return e;for(const t of e.children){const s=pY(n,t);if(s)return s}return null}function fY(n,e){if(n===e.value)return[e];for(const t of e.children){const s=fY(n,t);if(s.length)return s.unshift(e),s}return[]}class mc{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function db(n){const e={};return n&&n.children.forEach(t=>e[t.value.outlet]=t),e}class a$ extends o${constructor(e,t){super(e),this.snapshot=t,mY(this,e)}toString(){return this.snapshot.toString()}}function l$(n){const e=function xte(n){const e={},t={},s={},i="",o=new LA([],e,s,i,t,wn,n,null,{});return new c$("",new mc(o,[]))}(n),t=new Us([new lC("",{})]),s=new Us({}),i=new Us({}),o=new Us({}),c=new Us(""),d=new fi(t,s,o,c,i,wn,n,e.root);return d.snapshot=e.root,new a$(new mc(d,[]),e)}class fi{constructor(e,t,s,i,o,c,d,h){this.urlSubject=e,this.paramsSubject=t,this.queryParamsSubject=s,this.fragmentSubject=i,this.dataSubject=o,this.outlet=c,this.component=d,this._futureSnapshot=h,this.title=this.dataSubject?.pipe(Ht(m=>m[aC]))??at(void 0),this.url=e,this.params=t,this.queryParams=s,this.fragment=i,this.data=o}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(Ht(e=>cb(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Ht(e=>cb(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function AA(n,e,t="emptyOnly"){let s;const{routeConfig:i}=n;return s=null===e||"always"!==t&&""!==i?.path&&(e.component||e.routeConfig?.loadComponent)?{params:{...n.params},data:{...n.data},resolve:{...n.data,...n._resolvedData??{}}}:{params:{...e.params,...n.params},data:{...e.data,...n.data},resolve:{...n.data,...e.data,...i?.data,...n._resolvedData}},i&&d$(i)&&(s.resolve[aC]=i.title),s}class LA{get title(){return this.data?.[aC]}constructor(e,t,s,i,o,c,d,h,m){this.url=e,this.params=t,this.queryParams=s,this.fragment=i,this.data=o,this.outlet=c,this.component=d,this.routeConfig=h,this._resolve=m}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??=cb(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=cb(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(s=>s.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class c$ extends o${constructor(e,t){super(t),this.url=e,mY(this,t)}toString(){return u$(this._root)}}function mY(n,e){e.value._routerState=n,e.children.forEach(t=>mY(n,t))}function u$(n){const e=n.children.length>0?` { ${n.children.map(u$).join(", ")} } `:"";return`${n.value}${e}`}function gY(n){if(n.snapshot){const e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,Su(e.queryParams,t.queryParams)||n.queryParamsSubject.next(t.queryParams),e.fragment!==t.fragment&&n.fragmentSubject.next(t.fragment),Su(e.params,t.params)||n.paramsSubject.next(t.params),function Bee(n,e){if(n.length!==e.length)return!1;for(let t=0;tSu(t.parameters,e[s].parameters))}(n.url,e.url),s=!n.parent!=!e.parent;return t&&!s&&(!n.parent||_Y(n.parent,e.parent))}function d$(n){return"string"==typeof n.title||null===n.title}class $g{constructor(){this.activated=null,this._activatedRoute=null,this.name=wn,this.activateEvents=new je,this.deactivateEvents=new je,this.attachEvents=new je,this.detachEvents=new je,this.parentContexts=de(Jd),this.location=de(xi),this.changeDetector=de(gl),this.inputBinder=de(PA,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:t,previousValue:s}=e.name;if(t)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new ae(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ae(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ae(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new ae(4013,!1);this._activatedRoute=e;const s=this.location,o=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,d=new yY(e,c,s.injector);this.activated=s.createComponent(o,{index:s.length,injector:d,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(t){return new(t||$g)};static#t=this.\u0275dir=Ge({type:$g,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ss]})}class yY{__ngOutletInjector(e){return new yY(this.route,this.childContexts,e)}constructor(e,t,s){this.route=e,this.childContexts=t,this.parent=s}get(e,t){return e===fi?this.route:e===Jd?this.childContexts:this.parent.get(e,t)}}const PA=new Ie("");class hb{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:t}=e,s=vA([t.queryParams,t.params,t.data]).pipe(da(([i,o,c],d)=>(c={...i,...o,...c},0===d?at(c):Promise.resolve(c)))).subscribe(i=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==t||null===t.component)return void this.unsubscribeFromRouteData(e);const o=function NK(n){const e=tn(n);if(!e)return null;const t=new qm(e);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}(t.component);if(o)for(const{templateName:c}of o.inputs)e.activatedComponentRef.setInput(c,i[c]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,s)}static#e=this.\u0275fac=function(t){return new(t||hb)};static#t=this.\u0275prov=Ce({token:hb,factory:hb.\u0275fac})}function mC(n,e,t){if(t&&n.shouldReuseRoute(e.value,t.value.snapshot)){const s=t.value;s._futureSnapshot=e.value;const i=function Tte(n,e,t){return e.children.map(s=>{for(const i of t.children)if(n.shouldReuseRoute(s.value,i.value.snapshot))return mC(n,s,i);return mC(n,s)})}(n,e,t);return new mc(s,i)}{if(n.shouldAttach(e.value)){const o=n.retrieve(e.value);if(null!==o){const c=o.route;return c.value._futureSnapshot=e.value,c.children=e.children.map(d=>mC(n,d)),c}}const s=function Ite(n){return new fi(new Us(n.url),new Us(n.params),new Us(n.queryParams),new Us(n.fragment),new Us(n.data),n.outlet,n.component,n)}(e.value),i=e.children.map(o=>mC(n,o));return new mc(s,i)}}class vY{constructor(e,t){this.redirectTo=e,this.navigationBehaviorOptions=t}}const h$="ngNavigationCancelingError";function RA(n,e){const{redirectTo:t,navigationBehaviorOptions:s}=Hg(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=p$(!1,pa.Redirect);return i.url=t,i.navigationBehaviorOptions=s,i}function p$(n,e){const t=new Error(`NavigationCancelingError: ${n||""}`);return t[h$]=!0,t.cancellationCode=e,t}function f$(n){return!!n&&n[h$]}class Pte{constructor(e,t,s,i,o){this.routeReuseStrategy=e,this.futureState=t,this.currState=s,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){const t=this.futureState._root,s=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,s,e),gY(this.futureState.root),this.activateChildRoutes(t,s,e)}deactivateChildRoutes(e,t,s){const i=db(t);e.children.forEach(o=>{const c=o.value.outlet;this.deactivateRoutes(o,i[c],s),delete i[c]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,s)})}deactivateRoutes(e,t,s){const i=e.value,o=t?t.value:null;if(i===o)if(i.component){const c=s.getContext(i.outlet);c&&this.deactivateChildRoutes(e,t,c.children)}else this.deactivateChildRoutes(e,t,s);else o&&this.deactivateRouteAndItsChildren(t,s)}deactivateRouteAndItsChildren(e,t){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const s=t.getContext(e.value.outlet),i=s&&e.value.component?s.children:t,o=db(e);for(const c of Object.values(o))this.deactivateRouteAndItsChildren(c,i);if(s&&s.outlet){const c=s.outlet.detach(),d=s.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:c,route:e,contexts:d})}}deactivateRouteAndOutlet(e,t){const s=t.getContext(e.value.outlet),i=s&&e.value.component?s.children:t,o=db(e);for(const c of Object.values(o))this.deactivateRouteAndItsChildren(c,i);s&&(s.outlet&&(s.outlet.deactivate(),s.children.onOutletDeactivated()),s.attachRef=null,s.route=null)}activateChildRoutes(e,t,s){const i=db(t);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],s),this.forwardEvent(new bte(o.value.snapshot))}),e.children.length&&this.forwardEvent(new yte(e.value.snapshot))}activateRoutes(e,t,s){const i=e.value,o=t?t.value:null;if(gY(i),i===o)if(i.component){const c=s.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,c.children)}else this.activateChildRoutes(e,t,s);else if(i.component){const c=s.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const d=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),c.children.onOutletReAttached(d.contexts),c.attachRef=d.componentRef,c.route=d.route.value,c.outlet&&c.outlet.attach(d.componentRef,d.route.value),gY(d.route.value),this.activateChildRoutes(e,null,c.children)}else c.attachRef=null,c.route=i,c.outlet&&c.outlet.activateWith(i,c.injector),this.activateChildRoutes(e,null,c.children)}else this.activateChildRoutes(e,null,s)}}class m${constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class OA{constructor(e,t){this.component=e,this.route=t}}function Rte(n,e,t){const s=n._root;return gC(s,e?e._root:null,t,[s.value])}function pb(n,e){const t=Symbol(),s=e.get(n,t);return s===t?"function"!=typeof n||function d0(n){return null!==Af(n)}(n)?e.get(n):n:s}function gC(n,e,t,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=db(e);return n.children.forEach(c=>{(function Nte(n,e,t,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,c=e?e.value:null,d=t?t.getContext(n.value.outlet):null;if(c&&o.routeConfig===c.routeConfig){const h=function Fte(n,e,t){if("function"==typeof t)return t(n,e);switch(t){case"pathParamsChange":return!Vg(n.url,e.url);case"pathParamsOrQueryParamsChange":return!Vg(n.url,e.url)||!Su(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!_Y(n,e)||!Su(n.queryParams,e.queryParams);default:return!_Y(n,e)}}(c,o,o.routeConfig.runGuardsAndResolvers);h?i.canActivateChecks.push(new m$(s)):(o.data=c.data,o._resolvedData=c._resolvedData),o.component?gC(n,e,d?d.children:null,s,i):gC(n,e,t,s,i),h&&d&&d.outlet&&d.outlet.isActivated&&i.canDeactivateChecks.push(new OA(d.outlet.component,c))}else c&&_C(e,d,i),i.canActivateChecks.push(new m$(s)),o.component?gC(n,null,d?d.children:null,s,i):gC(n,null,t,s,i);return i})(c,o[c.value.outlet],t,s.concat([c.value]),i),delete o[c.value.outlet]}),Object.entries(o).forEach(([c,d])=>_C(d,t.getContext(c),i)),i}function _C(n,e,t){const s=db(n),i=n.value;Object.entries(s).forEach(([o,c])=>{i.component?_C(c,e?e.children.getContext(o):null,t):_C(c,e,t)}),i.component&&e&&e.outlet&&e.outlet.isActivated?t.canDeactivateChecks.push(new OA(e.outlet.component,i)):t.canDeactivateChecks.push(new OA(null,i))}function yC(n){return"function"==typeof n}function g$(n){return n instanceof Tl||"EmptyError"===n?.name}const NA=Symbol("INITIAL_VALUE");function fb(){return da(n=>vA(n.map(e=>e.pipe(Ir(1),lb(NA)))).pipe(Ht(e=>{for(const t of e)if(!0!==t){if(t===NA)return NA;if(!1===t||$te(t))return t}return!0}),ms(e=>e!==NA),Ir(1)))}function $te(n){return Hg(n)||n instanceof vY}function zte(n,e){return Fo(t=>{const{targetSnapshot:s,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:c}}=t;return 0===c.length&&0===o.length?at({...t,guardsResult:!0}):function Wte(n,e,t,s){return pi(n).pipe(Fo(i=>function Zte(n,e,t,s,i){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return at(!0);const c=o.map(d=>{const h=fC(e)??i,m=pb(d,h);return gf(function Hte(n){return n&&yC(n.canDeactivate)}(m)?m.canDeactivate(n,e,t,s):eo(h,()=>m(n,e,t,s))).pipe(cs())});return at(c).pipe(fb())}(i.component,i.route,t,e,s)),cs(i=>!0!==i,!0))}(c,s,i,n).pipe(Fo(d=>d&&function Yte(n){return"boolean"==typeof n}(d)?function qte(n,e,t,s){return pi(e).pipe(tb(i=>bA(function Kte(n,e){return null!==n&&e&&e(new _te(n)),at(!0)}(i.route.parent,s),function Gte(n,e){return null!==n&&e&&e(new vte(n)),at(!0)}(i.route,s),function Xte(n,e,t){const s=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(c=>function Ote(n){const e=n.routeConfig?n.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:n,guards:e}:null}(c)).filter(c=>null!==c).map(c=>YU(()=>at(c.guards.map(h=>{const m=fC(c.node)??t,g=pb(h,m);return gf(function Vte(n){return n&&yC(n.canActivateChild)}(g)?g.canActivateChild(s,n):eo(m,()=>g(s,n))).pipe(cs())})).pipe(fb())));return at(o).pipe(fb())}(n,i.path,t),function Qte(n,e,t){const s=e.routeConfig?e.routeConfig.canActivate:null;if(!s||0===s.length)return at(!0);const i=s.map(o=>YU(()=>{const c=fC(e)??t,d=pb(o,c);return gf(function jte(n){return n&&yC(n.canActivate)}(d)?d.canActivate(e,n):eo(c,()=>d(e,n))).pipe(cs())}));return at(i).pipe(fb())}(n,i.route,t))),cs(i=>!0!==i,!0))}(s,o,n,e):at(d)),Ht(d=>({...t,guardsResult:d})))})}function Jte(n,e,t,s){const i=e.canLoad;if(void 0===i||0===i.length)return at(!0);return at(i.map(c=>{const d=pb(c,n);return gf(function Bte(n){return n&&yC(n.canLoad)}(d)?d.canLoad(e,t):eo(n,()=>d(e,t)))})).pipe(fb(),_$(s))}function _$(n){return function Ri(...n){return yr(n)}(js(e=>{if("boolean"!=typeof e)throw RA(0,e)}),Ht(e=>!0===e))}function ene(n,e,t,s){const i=e.canMatch;if(!i||0===i.length)return at(!0);return at(i.map(c=>{const d=pb(c,n);return gf(function Ute(n){return n&&yC(n.canMatch)}(d)?d.canMatch(e,t):eo(n,()=>d(e,t)))})).pipe(fb(),_$())}class bY{constructor(e){this.segmentGroup=e||null}}class FA extends Error{constructor(e){super(),this.urlTree=e}}function mb(n){return ff(new bY(n))}class sne{constructor(e,t){this.urlSerializer=e,this.urlTree=t}lineralizeSegments(e,t){let s=[],i=t.root;for(;;){if(s=s.concat(i.segments),0===i.numberOfChildren)return at(s);if(i.numberOfChildren>1||!i.children[wn])return e.redirectTo,ff(new ae(4e3,!1));i=i.children[wn]}}applyRedirectCommands(e,t,s,i,o){if("string"!=typeof t){const d=t,{queryParams:h,fragment:m,routeConfig:g,url:b,outlet:E,params:x,data:P,title:F}=i,H=eo(o,()=>d({params:x,data:P,queryParams:h,fragment:m,routeConfig:g,url:b,outlet:E,title:F}));if(H instanceof jg)throw new FA(H);t=H}const c=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),e,s);if("/"===t[0])throw new FA(c);return c}applyRedirectCreateUrlTree(e,t,s,i){const o=this.createSegmentGroup(e,t.root,s,i);return new jg(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const s={};return Object.entries(e).forEach(([i,o])=>{if("string"==typeof o&&":"===o[0]){const d=o.substring(1);s[i]=t[d]}else s[i]=o}),s}createSegmentGroup(e,t,s,i){const o=this.createSegments(e,t.segments,s,i);let c={};return Object.entries(t.children).forEach(([d,h])=>{c[d]=this.createSegmentGroup(e,h,s,i)}),new Ps(o,c)}createSegments(e,t,s,i){return t.map(o=>":"===o.path[0]?this.findPosParam(e,o,i):this.findOrReturn(o,s))}findPosParam(e,t,s){const i=s[t.path.substring(1)];if(!i)throw new ae(4001,!1);return i}findOrReturn(e,t){let s=0;for(const i of t){if(i.path===e.path)return t.splice(s),i;s++}return e}}const wY={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rne(n,e,t,s,i){const o=y$(n,e,t);return o.matched?(s=function wte(n,e){return n.providers&&!n._injector&&(n._injector=Xm(n.providers,e,`Route: ${n.path}`)),n._injector??e}(e,s),ene(s,e,t).pipe(Ht(c=>!0===c?o:{...wY}))):at(o)}function y$(n,e,t){if("**"===e.path)return function ine(n){return{matched:!0,parameters:n.length>0?jU(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===e.path)return"full"===e.pathMatch&&(n.hasChildren()||t.length>0)?{...wY}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(e.matcher||Yee)(t,n,e);if(!i)return{...wY};const o={};Object.entries(i.posParams??{}).forEach(([d,h])=>{o[d]=h.path});const c=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:c,positionalParamSegments:i.posParams??{}}}function v$(n,e,t,s){return t.length>0&&function lne(n,e,t){return t.some(s=>YA(n,e,s)&&fc(s)!==wn)}(n,t,s)?{segmentGroup:new Ps(e,ane(s,new Ps(t,n.children))),slicedSegments:[]}:0===t.length&&function cne(n,e,t){return t.some(s=>YA(n,e,s))}(n,t,s)?{segmentGroup:new Ps(n.segments,one(n,t,s,n.children)),slicedSegments:t}:{segmentGroup:new Ps(n.segments,n.children),slicedSegments:t}}function one(n,e,t,s){const i={};for(const o of t)if(YA(n,e,o)&&!s[fc(o)]){const c=new Ps([],{});i[fc(o)]=c}return{...s,...i}}function ane(n,e){const t={};t[wn]=e;for(const s of n)if(""===s.path&&fc(s)!==wn){const i=new Ps([],{});t[fc(s)]=i}return t}function YA(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path}class dne{}class fne{constructor(e,t,s,i,o,c,d){this.injector=e,this.configLoader=t,this.rootComponentType=s,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=c,this.urlSerializer=d,this.applyRedirects=new sne(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new ae(4002,`'${e.segmentGroup}'`)}recognize(){const e=v$(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(Ht(({children:t,rootSnapshot:s})=>{const i=new mc(s,t),o=new c$("",i),c=function rte(n,e,t=null,s=null){return ZU(XU(n),e,t,s)}(s,[],this.urlTree.queryParams,this.urlTree.fragment);return c.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(c),{state:o,tree:c}}))}match(e){const t=new LA([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),wn,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,wn,t).pipe(Ht(s=>({children:s,rootSnapshot:t})),Wi(s=>{if(s instanceof FA)return this.urlTree=s.urlTree,this.match(s.urlTree.root);throw s instanceof bY?this.noMatchError(s):s}))}processSegmentGroup(e,t,s,i,o){return 0===s.segments.length&&s.hasChildren()?this.processChildren(e,t,s,o):this.processSegment(e,t,s,s.segments,i,!0,o).pipe(Ht(c=>c instanceof mc?[c]:[]))}processChildren(e,t,s,i){const o=[];for(const c of Object.keys(s.children))"primary"===c?o.unshift(c):o.push(c);return pi(o).pipe(tb(c=>{const d=s.children[c],h=function Cte(n,e){const t=n.filter(s=>fc(s)===e);return t.push(...n.filter(s=>fc(s)!==e)),t}(t,c);return this.processSegmentGroup(e,h,d,c,i)}),function Eee(n,e){let t=!1;return arguments.length>=2&&(t=!0),function(i){return i.lift(new xee(n,e,t))}}((c,d)=>(c.push(...d),c)),Ki(null),function Aee(n,e){const t=arguments.length>=2;return s=>s.pipe(n?ms((i,o)=>n(i,o,s)):kt,iY(1),t?Ki(e):gs(()=>new Tl))}(),Fo(c=>{if(null===c)return mb(s);const d=b$(c);return function mne(n){n.sort((e,t)=>e.value.outlet===wn?-1:t.value.outlet===wn?1:e.value.outlet.localeCompare(t.value.outlet))}(d),at(d)}))}processSegment(e,t,s,i,o,c,d){return pi(t).pipe(tb(h=>this.processSegmentAgainstRoute(h._injector??e,t,h,s,i,o,c,d).pipe(Wi(m=>{if(m instanceof bY)return at(null);throw m}))),cs(h=>!!h),Wi(h=>{if(g$(h))return function une(n,e,t){return 0===e.length&&!n.children[t]}(s,i,o)?at(new dne):mb(s);throw h}))}processSegmentAgainstRoute(e,t,s,i,o,c,d,h){return fc(s)===c||c!==wn&&YA(i,o,s)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(e,i,s,o,c,h):this.allowRedirects&&d?this.expandSegmentAgainstRouteUsingRedirect(e,i,t,s,o,c,h):mb(i):mb(i)}expandSegmentAgainstRouteUsingRedirect(e,t,s,i,o,c,d){const{matched:h,parameters:m,consumedSegments:g,positionalParamSegments:b,remainingSegments:E}=y$(t,i,o);if(!h)return mb(t);"string"==typeof i.redirectTo&&"/"===i.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const x=new LA(o,m,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,w$(i),fc(i),i.component??i._loadedComponent??null,i,S$(i)),P=AA(x,d,this.paramsInheritanceStrategy);x.params=Object.freeze(P.params),x.data=Object.freeze(P.data);const F=this.applyRedirects.applyRedirectCommands(g,i.redirectTo,b,x,e);return this.applyRedirects.lineralizeSegments(i,F).pipe(Fo(H=>this.processSegment(e,s,t,H.concat(E),c,!1,d)))}matchSegmentAgainstRoute(e,t,s,i,o,c){const d=rne(t,s,i,e,this.urlSerializer);return"**"===s.path&&(t.children={}),d.pipe(da(h=>h.matched?(e=s._injector??e,this.getChildConfig(e,s,i).pipe(da(({routes:m})=>{const g=s._loadedInjector??e,{parameters:b,consumedSegments:E,remainingSegments:x}=h,P=new LA(E,b,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,w$(s),fc(s),s.component??s._loadedComponent??null,s,S$(s)),F=AA(P,c,this.paramsInheritanceStrategy);P.params=Object.freeze(F.params),P.data=Object.freeze(F.data);const{segmentGroup:H,slicedSegments:W}=v$(t,E,x,m);if(0===W.length&&H.hasChildren())return this.processChildren(g,m,H,P).pipe(Ht(ie=>new mc(P,ie)));if(0===m.length&&0===W.length)return at(new mc(P,[]));const z=fc(s)===o;return this.processSegment(g,m,H,W,z?wn:o,!0,P).pipe(Ht(ie=>new mc(P,ie instanceof mc?[ie]:[])))}))):mb(t)))}getChildConfig(e,t,s){return t.children?at({routes:t.children,injector:e}):t.loadChildren?void 0!==t._loadedRoutes?at({routes:t._loadedRoutes,injector:t._loadedInjector}):Jte(e,t,s,this.urlSerializer).pipe(Fo(i=>i?this.configLoader.loadChildren(e,t).pipe(js(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function nne(n){return ff(p$(!1,pa.GuardRejected))}())):at({routes:[],injector:e})}}function gne(n){const e=n.value.routeConfig;return e&&""===e.path}function b$(n){const e=[],t=new Set;for(const s of n){if(!gne(s)){e.push(s);continue}const i=e.find(o=>s.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...s.children),t.add(i)):e.push(s)}for(const s of t){const i=b$(s.children);e.push(new mc(s.value,i))}return e.filter(s=>!t.has(s))}function w$(n){return n.data||{}}function S$(n){return n.resolve||{}}function _ne(n,e,t,s,i,o){return Fo(c=>function hne(n,e,t,s,i,o,c="emptyOnly"){return new fne(n,e,t,s,i,c,o).recognize()}(n,e,t,s,c.extractedUrl,i,o).pipe(Ht(({state:d,tree:h})=>({...c,targetSnapshot:d,urlAfterRedirects:h}))))}function yne(n,e){return Fo(t=>{const{targetSnapshot:s,guards:{canActivateChecks:i}}=t;if(!i.length)return at(t);const o=new Set(i.map(h=>h.route)),c=new Set;for(const h of o)if(!c.has(h))for(const m of D$(h))c.add(m);let d=0;return pi(c).pipe(tb(h=>o.has(h)?function vne(n,e,t,s){const i=n.routeConfig,o=n._resolve;return void 0!==i?.title&&!d$(i)&&(o[aC]=i.title),function bne(n,e,t,s){const i=oY(n);if(0===i.length)return at({});const o={};return pi(i).pipe(Fo(c=>function wne(n,e,t,s){const i=fC(e)??s,o=pb(n,i),c=o.resolve?o.resolve(e,t):eo(i,()=>o(e,t));return gf(c)}(n[c],e,t,s).pipe(cs(),js(d=>{if(d instanceof vY)throw RA(new DA,d);o[c]=d}))),iY(1),function Lee(n){return e=>e.lift(new Pee(n))}(o),Wi(c=>g$(c)?Ba:ff(c)))}(o,n,e,s).pipe(Ht(c=>(n._resolvedData=c,n.data=AA(n,n.parent,t).resolve,null)))}(h,s,n,e):(h.data=AA(h,h.parent,n).resolve,at(void 0))),js(()=>d++),iY(1),Fo(h=>d===c.size?at(t):Ba))})}function D$(n){const e=n.children.map(t=>D$(t)).flat();return[n,...e]}function SY(n){return da(e=>{const t=n(e);return t?pi(t).pipe(Ht(()=>e)):at(e)})}class vC{buildTitle(e){let t,s=e.root;for(;void 0!==s;)t=this.getResolvedTitleForRoute(s)??t,s=s.children.find(i=>i.outlet===wn);return t}getResolvedTitleForRoute(e){return e.data[aC]}static#e=this.\u0275fac=function(t){return new(t||vC)};static#t=this.\u0275prov=Ce({token:vC,factory:()=>de(bC),providedIn:"root"})}class bC extends vC{constructor(e){super(),this.title=e}updateTitle(e){const t=this.buildTitle(e);void 0!==t&&this.title.setTitle(t)}static#e=this.\u0275fac=function(t){return new(t||bC)(be(HM))};static#t=this.\u0275prov=Ce({token:bC,factory:bC.\u0275fac,providedIn:"root"})}const gb=new Ie("",{providedIn:"root",factory:()=>({})});class zg{static#e=this.\u0275fac=function(t){return new(t||zg)};static#t=this.\u0275cmp=Uu({type:zg,selectors:[["ng-component"]],standalone:!0,features:[cI],decls:1,vars:0,template:function(t,s){1&t&&sI(0,"router-outlet")},dependencies:[$g],encapsulation:2})}function DY(n){const e=n.children&&n.children.map(DY),t=e?{...n,children:e}:{...n};return!t.component&&!t.loadComponent&&(e||t.loadChildren)&&t.outlet&&t.outlet!==wn&&(t.component=zg),t}const _b=new Ie("");class Wg{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=de(Bd)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return at(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const t=gf(e.loadComponent()).pipe(Ht(M$),js(i=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=i}),sC(()=>{this.componentLoaders.delete(e)})),s=new wA(t,()=>new ct).pipe(rY());return this.componentLoaders.set(e,s),s}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return at({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);const i=function Sne(n,e,t,s){return gf(n.loadChildren()).pipe(Ht(M$),Fo(i=>i instanceof KD||Array.isArray(i)?at(i):pi(e.compileModuleAsync(i))),Ht(i=>{s&&s(n);let o,c,d=!1;return Array.isArray(i)?(c=i,d=!0):(o=i.create(t).injector,c=o.get(_b,[],{optional:!0,self:!0}).flat()),{routes:c.map(DY),injector:o}}))}(t,this.compiler,e,this.onLoadEndListener).pipe(sC(()=>{this.childrenLoaders.delete(t)})),o=new wA(i,()=>new ct).pipe(rY());return this.childrenLoaders.set(t,o),o}static#e=this.\u0275fac=function(t){return new(t||Wg)};static#t=this.\u0275prov=Ce({token:Wg,factory:Wg.\u0275fac,providedIn:"root"})}function M$(n){return function Dne(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}class yb{static#e=this.\u0275fac=function(t){return new(t||yb)};static#t=this.\u0275prov=Ce({token:yb,factory:()=>de(wC),providedIn:"root"})}class wC{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static#e=this.\u0275fac=function(t){return new(t||wC)};static#t=this.\u0275prov=Ce({token:wC,factory:wC.\u0275fac,providedIn:"root"})}const C$=new Ie(""),E$=new Ie("");function Mne(n,e,t){const s=n.get(E$),i=n.get(Ln);return n.get(vt).runOutsideAngular(()=>{if(!i.startViewTransition||s.skipNextTransition)return s.skipNextTransition=!1,new Promise(m=>setTimeout(m));let o;const c=new Promise(m=>{o=m}),d=i.startViewTransition(()=>(o(),function Cne(n){return new Promise(e=>{sg({read:()=>setTimeout(e)},{injector:n})})}(n))),{onViewTransitionCreated:h}=s;return h&&eo(n,()=>h({transition:d,from:e,to:t})),c})}const x$=new Ie("");class _f{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ct,this.transitionAbortSubject=new ct,this.configLoader=de(Wg),this.environmentInjector=de(It),this.urlSerializer=de(Zd),this.rootContexts=de(Jd),this.location=de(Ud),this.inputBindingEnabled=null!==de(PA,{optional:!0}),this.titleStrategy=de(vC),this.options=de(gb,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=de(yb),this.createViewTransition=de(C$,{optional:!0}),this.navigationErrorHandler=de(x$,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>at(void 0),this.rootComponentType=null;this.configLoader.onLoadEndListener=s=>this.events.next(new gte(s)),this.configLoader.onLoadStartListener=s=>this.events.next(new mte(s))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const t=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:t})}setupNavigations(e,t,s){return this.transitions=new Us({id:0,currentUrlTree:t,currentRawUrl:t,extractedUrl:this.urlHandlingStrategy.extract(t),urlAfterRedirects:this.urlHandlingStrategy.extract(t),rawUrl:t,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:hC,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ms(i=>0!==i.id),Ht(i=>({...i,extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),da(i=>{let o=!1,c=!1;return at(i).pipe(da(d=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",pa.SupersededByNewNavigation),Ba;this.currentTransition=i,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,targetBrowserUrl:"string"==typeof d.extras.browserUrl?this.urlSerializer.parse(d.extras.browserUrl):d.extras.browserUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const h=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=d.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!h&&"reload"!==m){const g="";return this.events.next(new ub(d.id,this.urlSerializer.serialize(d.rawUrl),g,pC.IgnoredSameUrlNavigation)),d.resolve(!1),Ba}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return at(d).pipe(da(g=>{const b=this.transitions?.getValue();return this.events.next(new TA(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),b!==this.transitions?.getValue()?Ba:Promise.resolve(g)}),_ne(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),js(g=>{i.targetSnapshot=g.targetSnapshot,i.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:g.urlAfterRedirects};const b=new r$(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(b)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){const{id:g,extractedUrl:b,source:E,restoredState:x,extras:P}=d,F=new TA(g,this.urlSerializer.serialize(b),E,x);this.events.next(F);const H=l$(this.rootComponentType).snapshot;return this.currentTransition=i={...d,targetSnapshot:H,urlAfterRedirects:b,extras:{...P,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=b,at(i)}{const g="";return this.events.next(new ub(d.id,this.urlSerializer.serialize(d.extractedUrl),g,pC.IgnoredByUrlHandlingStrategy)),d.resolve(!1),Ba}}),js(d=>{const h=new dte(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}),Ht(d=>(this.currentTransition=i={...d,guards:Rte(d.targetSnapshot,d.currentSnapshot,this.rootContexts)},i)),zte(this.environmentInjector,d=>this.events.next(d)),js(d=>{if(i.guardsResult=d.guardsResult,d.guardsResult&&"boolean"!=typeof d.guardsResult)throw RA(this.urlSerializer,d.guardsResult);const h=new hte(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(h)}),ms(d=>!!d.guardsResult||(this.cancelNavigationTransition(d,"",pa.GuardRejected),!1)),SY(d=>{if(d.guards.canActivateChecks.length)return at(d).pipe(js(h=>{const m=new pte(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}),da(h=>{let m=!1;return at(h).pipe(yne(this.paramsInheritanceStrategy,this.environmentInjector),js({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(h,"",pa.NoDataFromResolver)}}))}),js(h=>{const m=new fte(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}))}),SY(d=>{const h=m=>{const g=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(m.routeConfig).pipe(js(b=>{m.component=b}),Ht(()=>{})));for(const b of m.children)g.push(...h(b));return g};return vA(h(d.targetSnapshot.root)).pipe(Ki(null),Ir(1))}),SY(()=>this.afterPreactivation()),da(()=>{const{currentSnapshot:d,targetSnapshot:h}=i,m=this.createViewTransition?.(this.environmentInjector,d.root,h.root);return m?pi(m).pipe(Ht(()=>i)):at(i)}),Ht(d=>{const h=function kte(n,e,t){const s=mC(n,e._root,t?t._root:void 0);return new a$(s,e)}(e.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=i={...d,targetRouterState:h},this.currentNavigation.targetRouterState=h,i}),js(()=>{this.events.next(new hY)}),((n,e,t,s)=>Ht(i=>(new Pte(e,i.targetRouterState,i.currentRouterState,t,s).activate(n),i)))(this.rootContexts,e.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),Ir(1),js({next:d=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new fo(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{o=!0}}),vl(this.transitionAbortSubject.pipe(js(d=>{throw d}))),sC(()=>{!o&&!c&&this.cancelNavigationTransition(i,"",pa.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),Wi(d=>{if(c=!0,f$(d))this.events.next(new Ug(i.id,this.urlSerializer.serialize(i.extractedUrl),d.message,d.cancellationCode)),function Ate(n){return f$(n)&&Hg(n.url)}(d)?this.events.next(new IA(d.url,d.navigationBehaviorOptions)):i.resolve(!1);else{const h=new dY(i.id,this.urlSerializer.serialize(i.extractedUrl),d,i.targetSnapshot??void 0);try{const m=eo(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(m instanceof vY){const{message:g,cancellationCode:b}=RA(this.urlSerializer,m);this.events.next(new Ug(i.id,this.urlSerializer.serialize(i.extractedUrl),g,b)),this.events.next(new IA(m.redirectTo,m.navigationBehaviorOptions))}else{this.events.next(h);const g=e.errorHandler(d);i.resolve(!!g)}}catch(m){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(m)}}return Ba}))}))}cancelNavigationTransition(e,t,s){const i=new Ug(e.id,this.urlSerializer.serialize(e.extractedUrl),t,s);this.events.next(i),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==t?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static#e=this.\u0275fac=function(t){return new(t||_f)};static#t=this.\u0275prov=Ce({token:_f,factory:_f.\u0275fac,providedIn:"root"})}function Ene(n){return n!==hC}class BA{static#e=this.\u0275fac=function(t){return new(t||BA)};static#t=this.\u0275prov=Ce({token:BA,factory:()=>de(vb),providedIn:"root"})}class xne{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}class vb extends xne{static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(vb)))(s||vb)}})();static#t=this.\u0275prov=Ce({token:vb,factory:vb.\u0275fac,providedIn:"root"})}class SC{static#e=this.\u0275fac=function(t){return new(t||SC)};static#t=this.\u0275prov=Ce({token:SC,factory:()=>de(bb),providedIn:"root"})}class bb extends SC{constructor(){super(...arguments),this.location=de(Ud),this.urlSerializer=de(Zd),this.options=de(gb,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=de(yb),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new jg,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=l$(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(e){return this.location.subscribe(t=>{"popstate"===t.type&&e(t.url,t.state)})}handleRouterEvent(e,t){if(e instanceof TA)this.stateMemento=this.createStateMemento();else if(e instanceof ub)this.rawUrlTree=t.initialUrl;else if(e instanceof r$){if("eager"===this.urlUpdateStrategy&&!t.extras.skipLocationChange){const s=this.urlHandlingStrategy.merge(t.finalUrl,t.initialUrl);this.setBrowserUrl(t.targetBrowserUrl??s,t)}}else e instanceof hY?(this.currentUrlTree=t.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(t.finalUrl,t.initialUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&!t.extras.skipLocationChange&&this.setBrowserUrl(t.targetBrowserUrl??this.rawUrlTree,t)):e instanceof Ug&&(e.code===pa.GuardRejected||e.code===pa.NoDataFromResolver)?this.restoreHistory(t):e instanceof dY?this.restoreHistory(t,!0):e instanceof fo&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,t){const s=e instanceof jg?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(s)||t.extras.replaceUrl){const i=this.browserPageId,o={...t.extras.state,...this.generateNgRouterState(t.id,i)};this.location.replaceState(s,"",o)}else{const i={...t.extras.state,...this.generateNgRouterState(t.id,this.browserPageId+1)};this.location.go(s,"",i)}}restoreHistory(e,t=!1){if("computed"===this.canceledNavigationResolution){const s=this.browserPageId,i=this.currentPageId-s;0!==i?this.location.historyGo(i):this.currentUrlTree===e.finalUrl&&0===i&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=An(bb)))(s||bb)}})();static#t=this.\u0275prov=Ce({token:bb,factory:bb.\u0275fac,providedIn:"root"})}var wb;function k$(n,e){n.events.pipe(ms(t=>t instanceof fo||t instanceof Ug||t instanceof dY||t instanceof ub),Ht(t=>t instanceof fo||t instanceof ub?wb.COMPLETE:t instanceof Ug&&(t.code===pa.Redirect||t.code===pa.SupersededByNewNavigation)?wb.REDIRECTING:wb.FAILED),ms(t=>t!==wb.REDIRECTING),Ir(1)).subscribe(()=>{e()})}function kne(n){throw n}!function(n){n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING"}(wb||(wb={}));const Tne={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ine={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};class un{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.console=de(jp),this.stateManager=de(SC),this.options=de(gb,{optional:!0})||{},this.pendingTasks=de(oo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=de(_f),this.urlSerializer=de(Zd),this.location=de(Ud),this.urlHandlingStrategy=de(yb),this._events=new ct,this.errorHandler=this.options.errorHandler||kne,this.navigated=!1,this.routeReuseStrategy=de(BA),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=de(_b,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!de(PA,{optional:!0}),this.eventsSubscription=new gt,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(t=>{try{const s=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(null!==s&&null!==i)if(this.stateManager.handleRouterEvent(t,i),t instanceof Ug&&t.code!==pa.Redirect&&t.code!==pa.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof fo)this.navigated=!0;else if(t instanceof IA){const o=t.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(t.url,s.currentRawUrl),d={browserUrl:s.extras.browserUrl,info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:s.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Ene(s.source),...o};this.scheduleNavigation(c,hC,null,d,{resolve:s.resolve,reject:s.reject,promise:s.promise})}(function Lne(n){return!(n instanceof hY||n instanceof IA)})(t)&&this._events.next(t)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),hC,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",t)},0)})}navigateToSyncWithBrowser(e,t,s){const i={replaceUrl:!0},o=s?.navigationId?s:null;if(s){const d={...s};delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(i.state=d)}const c=this.parseUrl(e);this.scheduleNavigation(c,t,o,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(DY),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(e,t={}){const{relativeTo:s,queryParams:i,fragment:o,queryParamsHandling:c,preserveFragment:d}=t,h=d?this.currentUrlTree.fragment:o;let g,m=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":m={...this.currentUrlTree.queryParams,...i};break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=i||null}null!==m&&(m=this.removeEmptyProps(m));try{g=XU(s?s.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||"/"!==e[0][0])&&(e=[]),g=this.currentUrlTree.root}return ZU(g,e,m,h??null)}navigateByUrl(e,t={skipLocationChange:!1}){const s=Hg(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(i,hC,null,t)}navigate(e,t={skipLocationChange:!1}){return function Ane(n){for(let e=0;e(null!=i&&(t[s]=i),t),{})}scheduleNavigation(e,t,s,i,o){if(this.disposed)return Promise.resolve(!1);let c,d,h;o?(c=o.resolve,d=o.reject,h=o.promise):h=new Promise((g,b)=>{c=g,d=b});const m=this.pendingTasks.add();return k$(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:i,resolve:c,reject:d,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(g=>Promise.reject(g))}static#e=this.\u0275fac=function(t){return new(t||un)};static#t=this.\u0275prov=Ce({token:un,factory:un.\u0275fac,providedIn:"root"})}class Mu{constructor(e,t,s,i,o,c){this.router=e,this.route=t,this.tabIndexAttribute=s,this.renderer=i,this.el=o,this.locationStrategy=c,this.href=null,this.onChanges=new ct,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const d=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===d||"area"===d,this.isAnchorElement?this.subscription=e.events.subscribe(h=>{h instanceof fo&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null==e?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Hg(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,s,i,o){const c=this.urlTree;if(null===c||this.isAnchorElement&&(0!==e||t||s||i||o||"string"==typeof this.target&&"_self"!=this.target))return!0;const d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,d),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const e=this.urlTree;this.href=null!==e&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;const t=null===this.href?null:Lx(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(e,t){const s=this.renderer,i=this.el.nativeElement;null!==t?s.setAttribute(i,e,t):s.removeAttribute(i,e)}get urlTree(){return null===this.routerLinkInput?null:Hg(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{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(t){return new(t||Mu)(ue(un),ue(fi),io("tabindex"),ue(ei),ue(fn),ue(gu))};static#t=this.\u0275dir=Ge({type:Mu,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,s){1&t&&pl("click",function(o){return s.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&t&&Pa("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ur],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ur],replaceUrl:[2,"replaceUrl","replaceUrl",Ur],routerLink:"routerLink"},standalone:!0,features:[La,Ss]})}class Sb{get isActive(){return this._isActive}constructor(e,t,s,i,o){this.router=e,this.element=t,this.renderer=s,this.cdr=i,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new je,this.routerEventsSubscription=e.events.subscribe(c=>{c instanceof fo&&this.update()})}ngAfterContentInit(){at(this.links.changes,at(null)).pipe(ab()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const e=[...this.links.toArray(),this.link].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=pi(e).pipe(ab()).subscribe(t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(s=>!!s)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const e=this.hasActiveLinks();this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}),e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){const t=function Pne(n){return!!n.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>{const i=s.urlTree;return!!i&&e.isActive(i,t)}}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static#e=this.\u0275fac=function(t){return new(t||Sb)(ue(un),ue(fn),ue(ei),ue(gl),ue(Mu,8))};static#t=this.\u0275dir=Ge({type:Sb,selectors:[["","routerLinkActive",""]],contentQueries:function(t,s,i){if(1&t&&LH(i,Mu,5),2&t){let o;wN(o=SN())&&(s.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ss]})}class T${}class jA{preload(e,t){return t().pipe(Wi(()=>at(null)))}static#e=this.\u0275fac=function(t){return new(t||jA)};static#t=this.\u0275prov=Ce({token:jA,factory:jA.\u0275fac,providedIn:"root"})}class VA{preload(e,t){return at(null)}static#e=this.\u0275fac=function(t){return new(t||VA)};static#t=this.\u0275prov=Ce({token:VA,factory:VA.\u0275fac,providedIn:"root"})}class DC{constructor(e,t,s,i,o){this.router=e,this.injector=s,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ms(e=>e instanceof fo),tb(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const s=[];for(const i of t){i.providers&&!i._injector&&(i._injector=Xm(i.providers,e,`Route: ${i.path}`));const o=i._injector??e,c=i._loadedInjector??o;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&s.push(this.preloadConfig(o,i)),(i.children||i._loadedRoutes)&&s.push(this.processRoutes(c,i.children??i._loadedRoutes))}return pi(s).pipe(ab())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{let s;s=t.loadChildren&&void 0===t.canLoad?this.loader.loadChildren(e,t):at(null);const i=s.pipe(Fo(o=>null===o?at(void 0):(t._loadedRoutes=o.routes,t._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(t.loadComponent&&!t._loadedComponent){return pi([i,this.loader.loadComponent(t)]).pipe(ab())}return i})}static#e=this.\u0275fac=function(t){return new(t||DC)(be(un),be(Bd),be(It),be(T$),be(Wg))};static#t=this.\u0275prov=Ce({token:DC,factory:DC.\u0275fac,providedIn:"root"})}const MY=new Ie("");class MC{constructor(e,t,s,i,o={}){this.urlSerializer=e,this.transitions=t,this.viewportScroller=s,this.zone=i,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration||="disabled",o.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(e=>{e instanceof TA?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof fo?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof ub&&e.code===pC.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof i$&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new i$(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(t){ek()};static#t=this.\u0275prov=Ce({token:MC,factory:MC.\u0275fac})}function I$(n){return n.routerState.root}function Cu(n,e){return{\u0275kind:n,\u0275providers:e}}new Ie("",{providedIn:"root",factory:()=>!1});function A$(){const n=de(ns);return e=>{const t=n.get(Oo);if(e!==t.components[0])return;const s=n.get(un),i=n.get(L$);1===n.get(CY)&&s.initialNavigation(),n.get(P$,null,an.Optional)?.setUpPreloading(),n.get(MY,null,an.Optional)?.init(),s.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const L$=new Ie("",{factory:()=>new ct}),CY=new Ie("",{providedIn:"root",factory:()=>1});const P$=new Ie("");function Fne(n){return Cu(0,[{provide:P$,useExisting:DC},{provide:T$,useExisting:n}])}function Bne(n){return Cu(9,[{provide:C$,useValue:Mne},{provide:E$,useValue:{skipNextTransition:!!n?.skipInitialTransition,...n}}])}const R$=new Ie("ROUTER_FORROOT_GUARD"),jne=[Ud,{provide:Zd,useClass:DA},un,Jd,{provide:fi,useFactory:I$,deps:[un]},Wg,[]];class Er{constructor(e){}static forRoot(e,t){return{ngModule:Er,providers:[jne,[],{provide:_b,multi:!0,useValue:e},{provide:R$,useFactory:$ne,deps:[[un,new wr,new zo]]},{provide:gb,useValue:t||{}},t?.useHash?{provide:gu,useClass:PM}:{provide:gu,useClass:Dv},{provide:MY,useFactory:()=>{const n=de(hF),e=de(vt),t=de(gb),s=de(_f),i=de(Zd);return t.scrollOffset&&n.setOffset(t.scrollOffset),new MC(i,s,n,e,t)}},t?.preloadingStrategy?Fne(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?zne(t):[],t?.bindToComponentInputs?Cu(8,[hb,{provide:PA,useExisting:hb}]).\u0275providers:[],t?.enableViewTransitions?Bne().\u0275providers:[],[{provide:O$,useFactory:A$},{provide:mI,multi:!0,useExisting:O$}]]}}static forChild(e){return{ngModule:Er,providers:[{provide:_b,multi:!0,useValue:e}]}}static#e=this.\u0275fac=function(t){return new(t||Er)(be(R$,8))};static#t=this.\u0275mod=vs({type:Er,imports:[$g,Mu,Sb,zg],exports:[$g,Mu,Sb,zg]});static#n=this.\u0275inj=Ts({})}function $ne(n){return"guarded"}function zne(n){return["disabled"===n.initialNavigation?Cu(3,[{provide:NN,multi:!0,useFactory:()=>{const e=de(un);return()=>{e.setUpLocationChangeListener()}}},{provide:CY,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Cu(2,[{provide:CY,useValue:0},{provide:NN,multi:!0,deps:[ns],useFactory:e=>{const t=e.get(BK,Promise.resolve());return()=>t.then(()=>new Promise(s=>{const i=e.get(un),o=e.get(L$);k$(i,()=>{s(!0)}),e.get(_f).afterPreactivation=()=>(s(!0),o.closed?at(void 0):o),i.initialNavigation()}))}}]).\u0275providers:[]]}const O$=new Ie("");function gc(n){return n.map(e=>(...t)=>de(e).canActivate(...t))}new vv("18.2.13");var Gne=k(3533),Kne=k.n(Gne);let CC=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[]};CC=ge([Ke({selector:"ue-not-found",template:'
\n
\n
\n\n
\n\t
\n\t\t
\n\t\t\t

Page Not Found

\n\t\t\tThe page you requested was not found. Please check your link and try again.\n\t\t\t
\n\t\t\t
\n\t\t
\t\n\t
\n
\n\n\t\n',styles:[Kne()]})],CC);var Xne=k(1795),Db=k.n(Xne);let qg=class{constructor(){this.themeId="",this.resellerLogoUrl="",this.privacyPolicyUrl="",this.supportEmail="",this.helpUrl="",this.hidePoweredBy=!1,this.prodUrl="",this.sandboxUrl="",this.resellerSuffix="",typeof themeId<"u"&&(this.themeId=themeId),typeof resellerLogoUrl<"u"&&resellerLogoUrl&&(this.resellerLogoUrl=resellerLogoUrl),typeof privacyPolicyUrl<"u"&&(this.privacyPolicyUrl=privacyPolicyUrl),typeof supportEmail<"u"&&(this.supportEmail=supportEmail),typeof helpUrl<"u"&&helpUrl&&(this.helpUrl=helpUrl),typeof hidePoweredBy<"u"&&(this.hidePoweredBy=this.parseBoolean(hidePoweredBy)),typeof prodUrl<"u"&&(this.prodUrl=prodUrl),typeof sandboxUrl<"u"&&(this.sandboxUrl=sandboxUrl),typeof resellerSuffix<"u"&&(this.resellerSuffix=resellerSuffix)}parseBoolean(e){let t=!1;return!0===e&&(t=!0),"true"===e&&(t=!0),"1"===e&&(t=!0),t}static#e=this.ctorParameters=()=>[]};qg=ge([Ds()],qg);let Gg=class{constructor(){}setHref(e){window.location.href=e}open(e){window.open(e)}createObjectURL(e){return window.URL.createObjectURL(e)}get locationOrigin(){let e="";return e=window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""),e}static#e=this.ctorParameters=()=>[]};Gg=ge([Ds()],Gg);let HA=class{get devSessionExpiration(){return this.localStorageSupported?new Date(window.localStorage.devSessionExpiration):this._devSessionExpiration}set devSessionExpiration(e){this.localStorageSupported?window.localStorage.devSessionExpiration=e:this._devSessionExpiration=e}constructor(){this.localStorageSupported=!0,this.checkLocalStorage()}checkLocalStorage(){try{window.localStorage.test="test"}catch{this.localStorageSupported=!1}}static#e=this.ctorParameters=()=>[]};HA=ge([Ds()],HA);let eh=class{get devSessionWarning(){return new Date(this.localStorage.devSessionExpiration.getTime()-this.warningTime)}get devSessionExpiration(){return this.localStorage.devSessionExpiration}constructor(e){this.localStorage=e,this.maxTime=this.minutes(10),this.warningTime=this.minutes(.5),this.countdownOpen=!1}resetDevSessionExpiration(){const e=new Date;this.localStorage.devSessionExpiration=new Date(e.getTime()+this.maxTime)}expireDevSession(){const e=new Date;this.localStorage.devSessionExpiration=new Date(e.getTime()-1e4)}startInterval(e){this.interval=setInterval(e,1e3)}stopInterval(){this.expireDevSession(),this.interval&&clearInterval(this.interval)}minutes(e){return 60*e*1e3}static#e=this.ctorParameters=()=>[{type:HA}]};eh=ge([Ds()],eh);let qi=class{constructor(e,t,s,i){this.http=e,this.ueWindowService=t,this.sessionTimeoutService=s,this.router=i,this.authHeader=new ha,this.csrf="",typeof csrf<"u"&&this.setCsrfToken(csrf)}handleSessionWhenPolling(e){e||this.sessionTimeoutService.resetDevSessionExpiration()}get(e,t=!1){return this.http.get(e,{headers:this.authHeader}).pipe(js(()=>this.handleSessionWhenPolling(t)),Wi(s=>this.handleError(s)))}post(e,t,s=!1){return this.http.post(e,t,{headers:this.authHeader}).pipe(js(()=>this.handleSessionWhenPolling(s)),Wi(i=>this.handleError(i)))}put(e,t,s=!1){return this.http.put(e,t,{headers:this.authHeader}).pipe(js(()=>this.handleSessionWhenPolling(s)),Wi(i=>this.handleError(i)))}patch(e,t,s=!1){return this.http.patch(e,t,{headers:this.authHeader}).pipe(js(()=>this.handleSessionWhenPolling(s)),Wi(i=>this.handleError(i)))}delete(e,t=!1){return this.http.delete(e,{headers:this.authHeader}).pipe(js(()=>this.handleSessionWhenPolling(t)),Wi(s=>this.handleError(s)))}handleError(e){let t;403===e.status&&this.http.get("/api/DVPRTLFE/developers/keep_alive",{headers:this.getAuthHeader()}).subscribe(s=>ff(t),s=>(this.router.navigate(["/login"],{queryParams:{accessDenied:!0}}),ff(s)));try{t=JSON.parse(e._body)}catch{t={errorcode:e.status,error:e.statusText}}return ff(t)}logoutUser(){this.ueWindowService.setHref("/_developer/app/login?timeout=1")}setCsrfToken(e){this.csrf=e,this.authHeader=(new ha).set("CSRF-Token",this.csrf)}removeCsrfToken(){this.csrf="",this.authHeader.delete("CSRF-Token")}getAuthHeader(){return this.authHeader}static#e=this.ctorParameters=()=>[{type:wu},{type:Gg},{type:eh},{type:un}]};qi=ge([Ds()],qi);var Zne=k(9812);let tr=class{constructor(e,t){this.ueHttp=e,this.sessionTimeoutService=t,this.baseUrl="/api/DVPRTLFE",this.url=`${this.baseUrl}/developers`,this.isLoggedIn=!1,this.permissions=[]}login(e){return this.ueHttp.post(this.url+"/login",e).pipe(js(t=>{this.ueHttp.setCsrfToken(t.csrf)}))}logout(){return this.ueHttp.get(this.url+"/logout").pipe(js(()=>{this.ueHttp.removeCsrfToken(),this.sessionTimeoutService.stopInterval(),this.isLoggedIn=!1}),Wi(()=>{throw this.ueHttp.removeCsrfToken(),this.sessionTimeoutService.stopInterval(),this.isLoggedIn=!1,{error:"Logout error"}}))}register(e){return this.ueHttp.post(this.url+"/register",e).pipe(js(t=>{this.ueHttp.setCsrfToken(t.csrf)}))}registerCompany(e){return this.ueHttp.post(this.url+"/register-company",e)}forgotPW(e){return this.ueHttp.post(this.url+"/forgot_password",e)}resetPW(e){return this.ueHttp.post(this.url+"/password_reset",e)}getPermissions(){return this.ueHttp.get(this.url+"/user-permissions").pipe(js(e=>{this.permissions=e}))}checkPermissions(e){const t=this.ueHttp.csrf,s=Zne(t+e);return-1!==this.permissions.indexOf(s)}static#e=this.ctorParameters=()=>[{type:qi},{type:eh}]};tr=ge([Ds()],tr);let UA=class{constructor(e,t,s){this.router=e,this.ueTheme=t,this.authService=s,this.showNavbar=!1}ngOnInit(){this.authService.isInvitation?this.title="Developer Activation":this.router.events.subscribe(e=>{e instanceof fo&&this.getTitle(e.url)})}getTitle(e){switch(e.split("?")[0]){case"/login":default:this.title="Developer Log In";break;case"/lostpassword":case"/resetpassword":this.title="Reset Password";break;case"/register":this.title="Register"}}get showHelpLink(){return"disabled"!==this.ueTheme.helpUrl}get helpLink(){return this.ueTheme.helpUrl}get logoUrl(){return this.ueTheme.resellerLogoUrl}static#e=this.ctorParameters=()=>[{type:un},{type:qg},{type:tr}]};UA=ge([Ke({selector:"ue-log-in",template:'\n\n\x3c!-- Mobile Navbar --\x3e\n\n\n
\n\t
\n\t\t \n\t
\n
\n',styles:[Db()]})],UA);let $A=class{constructor(e,t,s){this.router=e,this.authService=t,this.ueTheme=s,this.navTabs=[],this.alertModalContent={header:"",body:""},this.baseUrl="/api/DVPRTLFE/developers",this.dropdownMenuOptions=[{label:"Edit User Profile",command:()=>this.router.navigate(["/profile/user"])},{label:"Change Password",command:()=>this.router.navigate(["/profile/change-password"])},{label:"divider"},{label:"Sign Out",command:()=>this.logout()}]}ngOnInit(){this.authService.getPermissions().subscribe(e=>{this.buildNavTabs()})}buildNavTabs(){if(this.navTabs=[{label:"Dashboard",icon:"fa fa-fw fa-tachometer",route:["/dashboard"]}],this.authService.checkPermissions("profile_view")){const o={label:"Company Profile",icon:"fa fa-fw fa-user-circle-o",route:["/profile/company"]};this.navTabs.push(o)}if(this.authService.checkPermissions("endpoints_view")){const o={label:"API Endpoints",icon:"fa fa-fw fa-list",route:["/endpoints"]};this.navTabs.push(o)}if(this.authService.checkPermissions("devices_view")){const o={label:"Devices",icon:"fa fa-fw fa-sitemap",route:["/devices"]};this.navTabs.push(o)}if(this.authService.checkPermissions("servers_view")){const o={label:"Device Servers",icon:"fa fa-fw fa-database",route:["/servers"]};this.navTabs.push(o)}const e={label:"Users",icon:"fa fa-fw fa-users",children:[]},t=this.authService.checkPermissions("members_view"),s=this.authService.checkPermissions("invites_view");if(t){const o={route:["/users/members"],label:"Members"};e.children.push(o)}if(s){const o={route:["/users/invites"],label:"Invites"};e.children.push(o)}(t||s)&&this.navTabs.push(e);this.navTabs.push({label:"Request Test Account",icon:"fa fa-fw fa-server",route:["/request-test-account"]})}logout(){this.authService.logout().subscribe(e=>{this.router.navigate(["/login"],{queryParams:{loggedOut:!0}})},e=>{this.openModal("Logout Error!","There was an issue logging you out. Please check to confirm that you are actually logged in. If the issue persists, please contact Customer Support.")})}openModal(e,t){this.alertModalContent.header=e,this.alertModalContent.body=t,this.alertModal.open()}closeModal(){this.alertModalContent.header="",this.alertModalContent.body="",this.alertModal.close()}get supportEmail(){return this.ueTheme.supportEmail}get privacyPolicyUrl(){return this.ueTheme.privacyPolicyUrl}get hidePoweredBy(){return this.ueTheme.hidePoweredBy}static#e=this.ctorParameters=()=>[{type:un},{type:tr},{type:qg}];static#t=this.propDecorators={alertModal:[{type:ze,args:["alertModal",{static:!0}]}]}};function Kg(n,e=0){return function ese(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}function EY(n){return Array.isArray(n)?n:[n]}function Ai(n){return n instanceof fn?n.nativeElement:n}$A=ge([Ke({selector:"ue-console",template:'\n\n\n\n
\n\t
\n\t\t\n\t
\n
\n\n\n\n\n\t\n\t\t

{{alertModalContent.header}}

\n\t
\n\t\n\t\t{{alertModalContent.body}}\n\t\n\t\n\t\tClose\n\t\n
\n\n'})],$A);Object.prototype.toString;function zA(n,e,t,s){return jt(t)&&(s=t,t=void 0),s?zA(n,e,t).pipe(Ht(i=>Os(i)?s(...i):s(i))):new Ct(i=>{N$(n,e,function o(c){arguments.length>1?i.next(Array.prototype.slice.call(arguments)):i.next(c)},i,t)})}function N$(n,e,t,s,i){let o;if(function sse(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const c=n;n.addEventListener(e,t,i),o=()=>c.removeEventListener(e,t,i)}else if(function nse(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const c=n;n.on(e,t),o=()=>c.off(e,t)}else if(function tse(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const c=n;n.addListener(e,t),o=()=>c.removeListener(e,t)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let c=0,d=n.length;cDate.now();class _c extends EC{constructor(e,t=EC.now){super(e,()=>_c.delegate&&_c.delegate!==this?_c.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,s){return _c.delegate&&_c.delegate!==this?_c.delegate.schedule(e,t,s):super.schedule(e,t,s)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let s;this.active=!0;do{if(s=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,s){for(;e=t.shift();)e.unsubscribe();throw s}}}const F$=new class ose extends _c{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let s,i=-1,o=t.length;e=e||t.shift();do{if(s=e.execute(e.state,e.delay))break}while(++i0?super.requestAsyncId(e,t,s):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,s=0){if(null!==s&&s>0||null===s&&this.delay>0)return super.recycleAsyncId(e,t,s);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}});let ase=1;const lse=Promise.resolve(),qA={};function Y$(n){return n in qA&&(delete qA[n],!0)}const B$={setImmediate(n){const e=ase++;return qA[e]=!0,lse.then(()=>Y$(e)&&n()),e},clearImmediate(n){Y$(n)}};const dse=new class use extends _c{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let s,i=-1,o=t.length;e=e||t.shift();do{if(s=e.execute(e.state,e.delay))break}while(++i0?super.requestAsyncId(e,t,s):(e.actions.push(this),e.scheduled||(e.scheduled=B$.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,s=0){if(null!==s&&s>0||null===s&&this.delay>0)return super.recycleAsyncId(e,t,s);0===e.actions.length&&(B$.clearImmediate(t),e.scheduled=void 0)}});function Mb(n,e){return t=>t.lift(new hse(n,e))}class hse{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new pse(e,this.compare,this.keySelector))}}class pse extends Xt{constructor(e,t,s){super(e),this.keySelector=s,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:i}=this;t=i?i(e):e}catch(i){return this.destination.error(i)}let s=!1;if(this.hasKey)try{const{compare:i}=this;s=i(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;s||(this.key=t,this.destination.next(e))}}const xC=new _c(WA);class mse{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new gse(e,this.durationSelector))}}class gse extends eb{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let t;try{const{durationSelector:i}=this;t=i(e)}catch(i){return this.destination.error(i)}const s=Jv(this,t);!s||s.closed?this.clearThrottle():this.add(this.throttled=s)}}clearThrottle(){const{value:e,hasValue:t,throttled:s}=this;s&&(this.remove(s),this.throttled=null,s.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}notifyNext(e,t,s,i){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function xY(n){return!Os(n)&&n-parseFloat(n)+1>=0}function yse(n){const{index:e,period:t,subscriber:s}=n;if(s.next(e),!s.closed){if(-1===t)return s.complete();n.index=e+1,this.schedule(n,t)}}function kY(n,e=xC){return function fse(n){return function(t){return t.lift(new mse(n))}}(()=>function _se(n=0,e,t){let s=-1;return xY(e)?s=Number(e)<1?1:Number(e):Zv(e)&&(t=e),Zv(t)||(t=xC),new Ct(i=>{const o=xY(n)?n:+n-t.now();return t.schedule(yse,o,{index:0,period:s,subscriber:i})})}(n,e))}class bse{call(e,t){return t.subscribe(new wse(e))}}class wse extends Xt{constructor(e){super(e),this.hasPrev=!1}_next(e){let t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}const Mse=new class Dse extends _c{}(class Sse extends WA{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,s=0){return null!==s&&s>0||null===s&&this.delay>0?super.requestAsyncId(e,t,s):e.flush(this)}});var j$;!function(n){n.NEXT="N",n.ERROR="E",n.COMPLETE="C"}(j$||(j$={}));class bl{constructor(e,t,s){this.kind=e,this.value=t,this.error=s,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,s){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return s&&s()}}accept(e,t,s){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,s)}toObservable(){switch(this.kind){case"N":return at(this.value);case"E":return ff(this.error);case"C":return yi()}throw new Error("unexpected notification kind value")}static createNext(e){return typeof e<"u"?new bl("N",e):bl.undefinedValueNotification}static createError(e){return new bl("E",void 0,e)}static createComplete(){return bl.completeNotification}}bl.completeNotification=new bl("C"),bl.undefinedValueNotification=new bl("N",void 0);class GA extends Xt{constructor(e,t,s=0){super(e),this.scheduler=t,this.delay=s}static dispatch(e){const{notification:t,destination:s}=e;t.observe(s),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(GA.dispatch,this.delay,new Ese(e,this.destination)))}_next(e){this.scheduleMessage(bl.createNext(e))}_error(e){this.scheduleMessage(bl.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(bl.createComplete()),this.unsubscribe()}}class Ese{constructor(e,t){this.notification=e,this.destination=t}}class V$ extends ct{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,s){super(),this.scheduler=s,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new xse(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,s=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=s.length;let c;if(this.closed)throw new ii;if(this.isStopped||this.hasError?c=gt.EMPTY:(this.observers.push(e),c=new Es(this,e)),i&&e.add(e=new GA(e,i)),t)for(let d=0;dt&&(c=Math.max(c,o-t)),c>0&&i.splice(0,c),i}}class xse{constructor(e,t){this.time=e,this.value=t}}function kse(n,e,t){let s;return s=n&&"object"==typeof n?n:{bufferSize:n,windowTime:e,refCount:!1,scheduler:t},i=>i.lift(function Tse({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:t,scheduler:s}){let i,c,o=0,d=!1,h=!1;return function(g){o++,(!i||d)&&(d=!1,i=new V$(n,e,s),c=g.subscribe({next(E){i.next(E)},error(E){d=!0,i.error(E)},complete(){h=!0,c=void 0,i.complete()}}));const b=i.subscribe(this);this.add(()=>{o--,b.unsubscribe(),c&&!h&&t&&0===o&&(c.unsubscribe(),c=void 0,i=void 0)})}}(s))}let TY;try{TY=typeof Intl<"u"&&Intl.v8BreakIterator}catch{TY=!1}class fa{constructor(e){this._platformId=e,this.isBrowser=this._platformId?dF(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!TY)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(t){return new(t||fa)(be(lo))};static#t=this.\u0275prov=Ce({token:fa,factory:fa.\u0275fac,providedIn:"root"})}class IY{static#e=this.\u0275fac=function(t){return new(t||IY)};static#t=this.\u0275mod=vs({type:IY});static#n=this.\u0275inj=Ts({})}let kC;function Eb(n){return function Ise(){if(null==kC&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>kC=!0}))}finally{kC=kC||!1}return kC}()?n:!!n.capture}var yc;let KA,Qg,AY;function TC(){if("object"!=typeof document||!document)return yc.NORMAL;if(null==KA){const n=document.createElement("div"),e=n.style;n.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const t=document.createElement("div"),s=t.style;s.width="2px",s.height="1px",n.appendChild(t),document.body.appendChild(n),KA=yc.NORMAL,0===n.scrollLeft&&(n.scrollLeft=1,KA=0===n.scrollLeft?yc.NEGATED:yc.INVERTED),n.remove()}return KA}function LY(n){if(function Lse(){if(null==AY){const n=typeof document<"u"?document.head:null;AY=!(!n||!n.createShadowRoot&&!n.attachShadow)}return AY}()){const e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function th(n){return n.composedPath?n.composedPath()[0]:n.target}!function(n){n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED"}(yc||(yc={}));const Rse=new Ie("cdk-dir-doc",{providedIn:"root",factory:function Ose(){return de(Ln)}});const Nse=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function U$(n){const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&navigator?.language?Nse.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}class wl{constructor(e){if(this.value="ltr",this.change=new je,e){const t=e.body?e.body.dir:null,s=e.documentElement?e.documentElement.dir:null;this.value=U$(t||s||"ltr")}}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(t){return new(t||wl)(be(Rse,8))};static#t=this.\u0275prov=Ce({token:wl,factory:wl.\u0275fac,providedIn:"root"})}class xb{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new je}get dir(){return this._dir}set dir(e){const t=this._dir;this._dir=U$(e),this._rawDir=e,t!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(t){return new(t||xb)};static#t=this.\u0275dir=Ge({type:xb,selectors:[["","dir",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("dir",s._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],standalone:!0,features:[Nn([{provide:wl,useExisting:xb}])]})}class Xg{static#e=this.\u0275fac=function(t){return new(t||Xg)};static#t=this.\u0275mod=vs({type:Xg,imports:[xb],exports:[xb]});static#n=this.\u0275inj=Ts({})}class Fse{}class Bse extends Fse{constructor(e){super(),this._data=e}connect(){return sY(this._data)?this._data:at(this._data)}disconnect(){}}var nh;!function(n){n[n.REPLACED=0]="REPLACED",n[n.INSERTED=1]="INSERTED",n[n.MOVED=2]="MOVED",n[n.REMOVED=3]="REMOVED"}(nh||(nh={}));const $$=new Ie("_ViewRepeater");class jse{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(e,t,s,i,o){e.forEachOperation((c,d,h)=>{let m,g;if(null==c.previousIndex){const b=()=>s(c,d,h);m=this._insertView(b,h,t,i(c)),g=m?nh.INSERTED:nh.REPLACED}else null==h?(this._detachAndCacheView(d,t),g=nh.REMOVED):(m=this._moveView(d,h,t,i(c)),g=nh.MOVED);o&&o({context:m?.context,operation:g,record:c})})}detach(){for(const e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,t,s,i){const o=this._insertViewFromCache(t,s);if(o)return void(o.context.$implicit=i);const c=e();return s.createEmbeddedView(c.templateRef,c.context,c.index)}_detachAndCacheView(e,t){const s=t.detach(e);this._maybeCacheView(s,t)}_moveView(e,t,s,i){const o=s.get(e);return s.move(o,t),o.context.$implicit=i,o}_maybeCacheView(e,t){if(this._viewCache.length{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(t){return new(t||QA)};static#t=this.\u0275prov=Ce({token:QA,factory:QA.\u0275fac,providedIn:"root"})}const Vse=["contentWrapper"],Hse=["*"],z$=new Ie("VIRTUAL_SCROLL_STRATEGY");class Use{constructor(e,t,s){this._scrolledIndexChange=new ct,this.scrolledIndexChange=this._scrolledIndexChange.pipe(Mb()),this._viewport=null,this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=s}attach(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(e,t,s){this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=s,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(e,t){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,t)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const e=this._viewport.getRenderedRange(),t={start:e.start,end:e.end},s=this._viewport.getViewportSize(),i=this._viewport.getDataLength();let o=this._viewport.measureScrollOffset(),c=this._itemSize>0?o/this._itemSize:0;if(t.end>i){const h=Math.ceil(s/this._itemSize),m=Math.max(0,Math.min(c,i-h));c!=m&&(c=m,o=m*this._itemSize,t.start=Math.floor(c)),t.end=Math.max(0,Math.min(i,t.start+h))}const d=o-t.start*this._itemSize;if(d0&&(t.end=Math.min(i,t.end+m),t.start=Math.max(0,Math.floor(c-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(this._itemSize*t.start),this._scrolledIndexChange.next(Math.floor(c))}}function $se(n){return n._scrollStrategy}class kb{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Use(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=Kg(e)}get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=Kg(e)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=Kg(e)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static#e=this.\u0275fac=function(t){return new(t||kb)};static#t=this.\u0275dir=Ge({type:kb,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[Nn([{provide:z$,useFactory:$se,deps:[Et(()=>kb)]}]),Ss]})}class Eu{constructor(e,t,s){this._ngZone=e,this._platform=t,this._scrolled=new ct,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Ct(t=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(kY(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):at()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const s=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(ms(i=>!i||s.indexOf(i)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((s,i)=>{this._scrollableContainsElement(i,e)&&t.push(i)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let s=Ai(t),i=e.getElementRef().nativeElement;do{if(s==i)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>zA(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(t){return new(t||Eu)(be(vt),be(fa),be(Ln,8))};static#t=this.\u0275prov=Ce({token:Eu,factory:Eu.\u0275fac,providedIn:"root"})}class Zg{constructor(e,t,s,i){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=s,this.dir=i,this._destroyed=new ct,this._elementScrolled=new Ct(o=>this.ngZone.runOutsideAngular(()=>zA(this.elementRef.nativeElement,"scroll").pipe(vl(this._destroyed)).subscribe(o)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,s=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=s?e.end:e.start),null==e.right&&(e.right=s?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),s&&TC()!=yc.NORMAL?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),TC()==yc.INVERTED?e.left=e.right:TC()==yc.NEGATED&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;!function Ase(){if(null==Qg){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Qg=!1,Qg;if("scrollBehavior"in document.documentElement.style)Qg=!0;else{const n=Element.prototype.scrollTo;Qg=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Qg}()?(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left)):t.scrollTo(e)}measureScrollOffset(e){const t="left",s="right",i=this.elementRef.nativeElement;if("top"==e)return i.scrollTop;if("bottom"==e)return i.scrollHeight-i.clientHeight-i.scrollTop;const o=this.dir&&"rtl"==this.dir.value;return"start"==e?e=o?s:t:"end"==e&&(e=o?t:s),o&&TC()==yc.INVERTED?e==t?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:o&&TC()==yc.NEGATED?e==t?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:e==t?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static#e=this.\u0275fac=function(t){return new(t||Zg)(ue(fn),ue(Eu),ue(vt),ue(wl,8))};static#t=this.\u0275dir=Ge({type:Zg,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}class Tb{constructor(e,t,s){this._platform=e,this._change=new ct,this._changeListener=i=>{this._change.next(i)},this._document=s,t.runOutsideAngular(()=>{if(e.isBrowser){const i=this._getWindow();i.addEventListener("resize",this._changeListener),i.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+t,height:s,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),s=e.documentElement,i=s.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||s.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(kY(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(t){return new(t||Tb)(be(fa),be(vt),be(Ln,8))};static#t=this.\u0275prov=Ce({token:Tb,factory:Tb.\u0275fac,providedIn:"root"})}const XA=new Ie("VIRTUAL_SCROLLABLE");class Ib extends Zg{constructor(e,t,s,i){super(e,t,s,i)}measureViewportSize(e){const t=this.elementRef.nativeElement;return"horizontal"===e?t.clientWidth:t.clientHeight}static#e=this.\u0275fac=function(t){return new(t||Ib)(ue(fn),ue(Eu),ue(vt),ue(wl,8))};static#t=this.\u0275dir=Ge({type:Ib,features:[kn]})}const Gse=typeof requestAnimationFrame<"u"?F$:dse;class Jg extends Ib{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}constructor(e,t,s,i,o,c,d,h){super(e,c,s,o),this.elementRef=e,this._changeDetectorRef=t,this._scrollStrategy=i,this.scrollable=h,this._platform=de(fa),this._detachedSubject=new ct,this._renderedRangeSubject=new ct,this._orientation="vertical",this.appendOnly=!1,this.scrolledIndexChange=new Ct(m=>this._scrollStrategy.scrolledIndexChange.subscribe(g=>Promise.resolve().then(()=>this.ngZone.run(()=>m.next(g))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=gt.EMPTY,this._viewportChanges=d.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(lb(null),kY(0,Gse),vl(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(vl(this._detachedSubject)).subscribe(t=>{const s=t.length;s!==this._dataLength&&(this._dataLength=s,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function qse(n,e){return n.start==e.start&&n.end==e.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,t="to-start"){e=this.appendOnly&&"to-start"===t?0:e;const s=this.dir&&"rtl"==this.dir.value,i="horizontal"==this.orientation,o=i?"X":"Y";let d=`translate${o}(${Number((i&&s?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===t&&(d+=` translate${o}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=d&&(this._renderedContentTransform=d,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,t="auto"){const s={behavior:t};"horizontal"===this.orientation?s.start=e:s.top=e,this.scrollable.scrollTo(s)}scrollToIndex(e,t="auto"){this._scrollStrategy.scrollToIndex(e,t)}measureScrollOffset(e){let t;return t=this.scrollable==this?s=>super.measureScrollOffset(s):s=>this.scrollable.measureScrollOffset(s),Math.max(0,t(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let t;const s="left",i="right",o="rtl"==this.dir?.value;t="start"==e?o?i:s:"end"==e?o?s:i:e||("horizontal"===this.orientation?"left":"top");const c=this.scrollable.measureBoundingClientRectWithScrollOffset(t);return this.elementRef.nativeElement.getBoundingClientRect()[t]-c}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const t of e)t()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}static#e=this.\u0275fac=function(t){return new(t||Jg)(ue(fn),ue(gl),ue(vt),ue(z$,8),ue(wl,8),ue(Eu),ue(Tb),ue(XA,8))};static#t=this.\u0275cmp=Uu({type:Jg,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,s){if(1&t&&PH(Vse,7),2&t){let i;wN(i=SN())&&(s._contentWrapper=i.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,s){2&t&&dg("cdk-virtual-scroll-orientation-horizontal","horizontal"===s.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==s.orientation)},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",Ur]},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[Nn([{provide:Zg,useFactory:(e,t)=>e||t,deps:[[new wr,new Wa(XA)],Jg]}]),La,kn,cI],ngContentSelectors:Hse,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(t,s){1&t&&(wH(),tI(0,"div",1,0),SH(2),nI(),sI(3,"div",2)),2&t&&(Jx(3),ZT("width",s._totalContentWidth)("height",s._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0})}function W$(n,e,t){const s=t;if(!s.getBoundingClientRect)return 0;const i=s.getBoundingClientRect();return"horizontal"===n?"start"===e?i.left:i.right:"start"===e?i.top:i.bottom}class IC{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,function Yse(n){return n&&"function"==typeof n.connect&&!(n instanceof wA)}(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new Bse(sY(e)?e:Array.from(e||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(t,s)=>e(t+(this._renderedRange?this._renderedRange.start:0),s):void 0}set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=Kg(e)}constructor(e,t,s,i,o,c){this._viewContainerRef=e,this._template=t,this._differs=s,this._viewRepeater=i,this._viewport=o,this.viewChange=new ct,this._dataSourceChanges=new ct,this.dataStream=this._dataSourceChanges.pipe(lb(null),function vse(){return n=>n.lift(new bse)}(),da(([d,h])=>this._changeDataSource(d,h)),kse(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new ct,this.dataStream.subscribe(d=>{this._data=d,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(vl(this._destroyed)).subscribe(d=>{this._renderedRange=d,this.viewChange.observers.length&&c.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,t){if(e.start>=e.end)return 0;e.start-1;d--){const h=this._viewContainerRef.get(d+s);if(h&&h.rootNodes.length){c=h.rootNodes[h.rootNodes.length-1];break}}return o&&c?W$(t,"end",c)-W$(t,"start",o):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,t)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,t):t)),this._needsUpdate=!0)}_changeDataSource(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):at()}_updateContext(){const e=this._data.length;let t=this._viewContainerRef.length;for(;t--;){const s=this._viewContainerRef.get(t);s.context.index=this._renderedRange.start+t,s.context.count=e,this._updateComputedContextProperties(s.context),s.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(i,o,c)=>this._getEmbeddedViewArgs(i,c),i=>i.item),e.forEachIdentityChange(i=>{this._viewContainerRef.get(i.currentIndex).context.$implicit=i.item});const t=this._data.length;let s=this._viewContainerRef.length;for(;s--;){const i=this._viewContainerRef.get(s);i.context.index=this._renderedRange.start+s,i.context.count=t,this._updateComputedContextProperties(i.context)}}_updateComputedContextProperties(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}_getEmbeddedViewArgs(e,t){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:t}}static#e=this.\u0275fac=function(t){return new(t||IC)(ue(xi),ue(di),ue(pu),ue($$),ue(Jg,4),ue(vt))};static#t=this.\u0275dir=Ge({type:IC,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[Nn([{provide:$$,useClass:jse}])]})}class Ab extends Ib{constructor(e,t,s,i){super(e,t,s,i)}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]-this.measureScrollOffset(e)}static#e=this.\u0275fac=function(t){return new(t||Ab)(ue(fn),ue(Eu),ue(vt),ue(wl,8))};static#t=this.\u0275dir=Ge({type:Ab,selectors:[["","cdkVirtualScrollingElement",""]],hostAttrs:[1,"cdk-virtual-scrollable"],standalone:!0,features:[Nn([{provide:XA,useExisting:Ab}]),kn]})}class Lb extends Ib{constructor(e,t,s){super(new fn(document.documentElement),e,t,s),this._elementScrolled=new Ct(i=>this.ngZone.runOutsideAngular(()=>zA(document,"scroll").pipe(vl(this._destroyed)).subscribe(i)))}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}static#e=this.\u0275fac=function(t){return new(t||Lb)(ue(Eu),ue(vt),ue(wl,8))};static#t=this.\u0275dir=Ge({type:Lb,selectors:[["cdk-virtual-scroll-viewport","scrollWindow",""]],standalone:!0,features:[Nn([{provide:XA,useExisting:Lb}]),kn]})}class sh{static#e=this.\u0275fac=function(t){return new(t||sh)};static#t=this.\u0275mod=vs({type:sh,imports:[Zg],exports:[Zg]});static#n=this.\u0275inj=Ts({})}class PY{static#e=this.\u0275fac=function(t){return new(t||PY)};static#t=this.\u0275mod=vs({type:PY,imports:[Xg,sh,Jg,kb,IC,Lb,Ab],exports:[Xg,sh,kb,IC,Jg,Lb,Ab]});static#n=this.\u0275inj=Ts({imports:[Xg,sh,Xg,sh]})}function AC(n,e=xC){return t=>t.lift(new fre(n,e))}class fre{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new mre(e,this.dueTime,this.scheduler))}}class mre extends Xt{constructor(e,t,s){super(e),this.dueTime=t,this.scheduler=s,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(gre,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function gre(n){n.debouncedNext()}function q$(n){return e=>e.lift(new _re(n))}class _re{constructor(e){this.total=e}call(e,t){return t.subscribe(new yre(e,this.total))}}class yre extends Xt{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}class Pb{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static#e=this.\u0275fac=function(t){return new(t||Pb)};static#t=this.\u0275prov=Ce({token:Pb,factory:Pb.\u0275fac,providedIn:"root"})}class Rb{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Ai(e);return new Ct(s=>{const o=this._observeElement(t).pipe(Ht(c=>c.filter(d=>!function vre(n){if("characterData"===n.type&&n.target instanceof Comment)return!0;if("childList"===n.type){for(let e=0;e!!c.length)).subscribe(s);return()=>{o.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new ct,s=this._mutationObserverFactory.create(i=>t.next(i));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:s}=this._observedElements.get(e);t&&t.disconnect(),s.complete(),this._observedElements.delete(e)}}static#e=this.\u0275fac=function(t){return new(t||Rb)(be(Pb))};static#t=this.\u0275prov=Ce({token:Rb,factory:Rb.\u0275fac,providedIn:"root"})}class LC{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Kg(e),this._subscribe()}constructor(e,t,s){this._contentObserver=e,this._elementRef=t,this._ngZone=s,this.event=new je,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(AC(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(t){return new(t||LC)(ue(Rb),ue(fn),ue(vt))};static#t=this.\u0275dir=Ge({type:LC,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",Ur],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[La]})}class PC{static#e=this.\u0275fac=function(t){return new(t||PC)};static#t=this.\u0275mod=vs({type:PC,imports:[LC],exports:[LC]});static#n=this.\u0275inj=Ts({providers:[Pb]})}class RY{static#e=this.\u0275fac=function(t){return new(t||RY)};static#t=this.\u0275mod=vs({type:RY});static#n=this.\u0275inj=Ts({})}const G$=new Set;let e_;class RC{constructor(e,t){this._platform=e,this._nonce=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):wre}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function bre(n,e){if(!G$.has(n))try{e_||(e_=document.createElement("style"),e&&e_.setAttribute("nonce",e),e_.setAttribute("type","text/css"),document.head.appendChild(e_)),e_.sheet&&(e_.sheet.insertRule(`@media ${n} {body{ }}`,0),G$.add(n))}catch(t){console.error(t)}}(e,this._nonce),this._matchMedia(e)}static#e=this.\u0275fac=function(t){return new(t||RC)(be(fa),be(cS,8))};static#t=this.\u0275prov=Ce({token:RC,factory:RC.\u0275fac,providedIn:"root"})}function wre(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}class OC{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new ct}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return K$(EY(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){let i=vA(K$(EY(e)).map(o=>this._registerQuery(o).observable));return i=bA(i.pipe(Ir(1)),i.pipe(q$(1),AC(0))),i.pipe(Ht(o=>{const c={matches:!1,breakpoints:{}};return o.forEach(({matches:d,query:h})=>{c.matches=c.matches||d,c.breakpoints[h]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),i={observable:new Ct(o=>{const c=d=>this._zone.run(()=>o.next(d));return t.addListener(c),()=>{t.removeListener(c)}}).pipe(lb(t),Ht(({matches:o})=>({query:e,matches:o})),vl(this._destroySubject)),mql:t};return this._queries.set(e,i),i}static#e=this.\u0275fac=function(t){return new(t||OC)(be(RC),be(vt))};static#t=this.\u0275prov=Ce({token:OC,factory:OC.\u0275fac,providedIn:"root"})}function K$(n){return n.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}function ZA(n,e){return n.getAttribute(e)?.match(/\S+/g)??[]}const X$="cdk-describedby-message",JA="cdk-describedby-host";let OY=0;class e1{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+OY++,this._document=e,this._id=de(hd)+"-"+OY++}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const i=NY(t,s);"string"!=typeof t?(Z$(t,this._id),this._messageRegistry.set(i,{messageElement:t,referenceCount:0})):this._messageRegistry.has(i)||this._createMessageElement(t,s),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}removeDescription(e,t,s){if(!t||!this._isElementNode(e))return;const i=NY(t,s);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){const o=this._messageRegistry.get(i);o&&0===o.referenceCount&&this._deleteMessageElement(i)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${JA}="${this._id}"]`);for(let t=0;t0!=s.indexOf(X$));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);(function Sre(n,e,t){const s=ZA(n,e);t=t.trim(),!s.some(i=>i.trim()===t)&&(s.push(t),n.setAttribute(e,s.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(JA,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,function Dre(n,e,t){const s=ZA(n,e);t=t.trim();const i=s.filter(o=>o!==t);i.length?n.setAttribute(e,i.join(" ")):n.removeAttribute(e)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(JA)}_isElementDescribedByMessage(e,t){const s=ZA(e,"aria-describedby"),i=this._messageRegistry.get(t),o=i&&i.messageElement.id;return!!o&&-1!=s.indexOf(o)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const s=null==t?"":`${t}`.trim(),i=e.getAttribute("aria-label");return!!s&&(!i||i.trim()!==s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(t){return new(t||e1)(be(Ln),be(fa))};static#t=this.\u0275prov=Ce({token:e1,factory:e1.\u0275fac,providedIn:"root"})}function NY(n,e){return"string"==typeof n?`${e||""}/${n}`:n}function Z$(n,e){n.id||(n.id=`${X$}-${e}-${OY++}`)}class Ob{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Ere(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function Cre(n){try{return n.frameElement}catch{return null}}(function Rre(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===e4(t)||!this.isVisible(t)))return!1;let s=e.nodeName.toLowerCase(),i=e4(e);return e.hasAttribute("contenteditable")?-1!==i:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function Lre(n){let e=n.nodeName.toLowerCase(),t="input"===e&&n.type;return"text"===t||"password"===t||"select"===e||"textarea"===e}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==i:"video"===s?-1!==i&&(null!==i||(this._platform.FIREFOX||e.hasAttribute("controls"))):e.tabIndex>=0)}isFocusable(e,t){return function Pre(n){return!function kre(n){return function Ire(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function xre(n){let e=n.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(n)||function Tre(n){return function Are(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||J$(n))}(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static#e=this.\u0275fac=function(t){return new(t||Ob)(be(fa))};static#t=this.\u0275prov=Ce({token:Ob,factory:Ob.\u0275fac,providedIn:"root"})}function J$(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let e=n.getAttribute("tabindex");return!(!e||isNaN(parseInt(e,10)))}function e4(n){if(!J$(n))return null;const e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class t4{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,t,s,i,o=!1){this._element=e,this._checker=t,this._ngZone=s,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){const t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){const s=this._getFirstTabbableElement(t);return s?.focus(e),!!s}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){const t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){const t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;const t=e.children;for(let s=0;s=0;s--){const i=t[s].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[s]):null;if(i)return i}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Ir(1)).subscribe(e)}}class NC{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new t4(e,this._checker,this._ngZone,this._document,t)}static#e=this.\u0275fac=function(t){return new(t||NC)(be(Ob),be(vt),be(Ln))};static#t=this.\u0275prov=Ce({token:NC,factory:NC.\u0275fac,providedIn:"root"})}class FC{get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}constructor(e,t,s){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,de(fa).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=function Pse(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const e=n.shadowRoot.activeElement;if(e===n)break;n=e}return n}(),this.focusTrap?.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(t){return new(t||FC)(ue(fn),ue(NC),ue(Ln))};static#t=this.\u0275dir=Ge({type:FC,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",Ur],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",Ur]},exportAs:["cdkTrapFocus"],standalone:!0,features:[La,Ss]})}class Ore extends t4{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}constructor(e,t,s,i,o,c,d){super(e,t,s,i,d.defer),this._focusTrapManager=o,this._inertStrategy=c,this._focusTrapManager.register(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}const Nre=new Ie("FOCUS_TRAP_INERT_STRATEGY");class Fre{constructor(){this._listener=null}preventFocus(e){this._listener&&e._document.removeEventListener("focus",this._listener,!0),this._listener=t=>this._trapFocus(e,t),e._ngZone.runOutsideAngular(()=>{e._document.addEventListener("focus",this._listener,!0)})}allowFocus(e){this._listener&&(e._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(e,t){const s=t.target,i=e._element;s&&!i.contains(s)&&!s.closest?.("div.cdk-overlay-pane")&&setTimeout(()=>{e.enabled&&!i.contains(e._document.activeElement)&&e.focusFirstTabbableElement()})}}class YC{constructor(){this._focusTrapStack=[]}register(e){this._focusTrapStack=this._focusTrapStack.filter(s=>s!==e);let t=this._focusTrapStack;t.length&&t[t.length-1]._disable(),t.push(e),e._enable()}deregister(e){e._disable();const t=this._focusTrapStack,s=t.indexOf(e);-1!==s&&(t.splice(s,1),t.length&&t[t.length-1]._enable())}static#e=this.\u0275fac=function(t){return new(t||YC)};static#t=this.\u0275prov=Ce({token:YC,factory:YC.\u0275fac,providedIn:"root"})}class t1{constructor(e,t,s,i,o){this._checker=e,this._ngZone=t,this._focusTrapManager=s,this._document=i,this._inertStrategy=o||new Fre}create(e,t={defer:!1}){let s;return s="boolean"==typeof t?{defer:t}:t,new Ore(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,s)}static#e=this.\u0275fac=function(t){return new(t||t1)(be(Ob),be(vt),be(YC),be(Ln),be(Nre,8))};static#t=this.\u0275prov=Ce({token:t1,factory:t1.\u0275fac,providedIn:"root"})}function n4(n){return 0===n.buttons||0===n.detail}function s4(n){const e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}const Yre=new Ie("cdk-input-modality-detector-options"),Bre={ignoreKeys:[18,17,224,91,16]},Nb=Eb({passive:!0,capture:!0});class BC{get mostRecentModality(){return this._modality.value}constructor(e,t,s,i){this._platform=e,this._mostRecentTarget=null,this._modality=new Us(null),this._lastTouchMs=0,this._onKeydown=o=>{this._options?.ignoreKeys?.some(c=>c===o.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=th(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(n4(o)?"keyboard":"mouse"),this._mostRecentTarget=th(o))},this._onTouchstart=o=>{s4(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=th(o))},this._options={...Bre,...i},this.modalityDetected=this._modality.pipe(q$(1)),this.modalityChanged=this.modalityDetected.pipe(Mb()),e.isBrowser&&t.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,Nb),s.addEventListener("mousedown",this._onMousedown,Nb),s.addEventListener("touchstart",this._onTouchstart,Nb)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Nb),document.removeEventListener("mousedown",this._onMousedown,Nb),document.removeEventListener("touchstart",this._onTouchstart,Nb))}static#e=this.\u0275fac=function(t){return new(t||BC)(be(fa),be(vt),be(Ln),be(Yre,8))};static#t=this.\u0275prov=Ce({token:BC,factory:BC.\u0275fac,providedIn:"root"})}const jre=new Ie("liveAnnouncerElement",{providedIn:"root",factory:function Vre(){return null}});const Hre=new Ie("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Ure=0;class jC{constructor(e,t,s,i){this._ngZone=t,this._defaultOptions=i,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...t){const s=this._defaultOptions;let i,o;return 1===t.length&&"number"==typeof t[0]?o=t[0]:[i,o]=t,this.clear(),clearTimeout(this._previousTimeout),i||(i=s&&s.politeness?s.politeness:"polite"),null==o&&s&&(o=s.duration),this._liveElement.setAttribute("aria-live",i),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof o&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let i=0;i .cdk-overlay-container [aria-modal="true"]');for(let s=0;sthis._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness,this.duration),this._previousAnnouncedText=t)})))}constructor(e,t,s,i){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=s,this._ngZone=i,this._politeness="polite"}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}static#e=this.\u0275fac=function(t){return new(t||VC)(ue(fn),ue(jC),ue(Rb),ue(vt))};static#t=this.\u0275dir=Ge({type:VC,selectors:[["","cdkAriaLive",""]],inputs:{politeness:[0,"cdkAriaLive","politeness"],duration:[0,"cdkAriaLiveDuration","duration"]},exportAs:["cdkAriaLive"],standalone:!0})}var HC;!function(n){n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL"}(HC||(HC={}));const $re=new Ie("cdk-focus-monitor-default-options"),n1=Eb({passive:!0,capture:!0});class UC{constructor(e,t,s,i,o){this._ngZone=e,this._platform=t,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ct,this._rootNodeFocusAndBlurListener=c=>{for(let h=th(c);h;h=h.parentElement)"focus"===c.type?this._onFocus(c,h):this._onBlur(c,h)},this._document=i,this._detectionMode=o?.detectionMode||HC.IMMEDIATE}monitor(e,t=!1){const s=Ai(e);if(!this._platform.isBrowser||1!==s.nodeType)return at();const i=LY(s)||this._getDocument(),o=this._elementInfo.get(s);if(o)return t&&(o.checkChildren=!0),o.subject;const c={checkChildren:t,subject:new ct,rootNode:i};return this._elementInfo.set(s,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const t=Ai(e),s=this._elementInfo.get(t);s&&(s.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(s))}focusVia(e,t,s){const i=Ai(e);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([c,d])=>this._originChanged(c,t,d)):(this._setOrigin(t),"function"==typeof i.focus&&i.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===HC.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction="touch"===e&&t,this._detectionMode===HC.IMMEDIATE){clearTimeout(this._originTimeoutId);const s=this._originFromTouchInteraction?650:1;this._originTimeoutId=setTimeout(()=>this._origin=null,s)}})}_onFocus(e,t){const s=this._elementInfo.get(t),i=th(e);!s||!s.checkChildren&&t!==i||this._originChanged(t,this._getFocusOrigin(i),s)}_onBlur(e,t){const s=this._elementInfo.get(t);!s||s.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(s,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,s=this._rootNodeFocusListenerCount.get(t)||0;s||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,n1),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,n1)}),this._rootNodeFocusListenerCount.set(t,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(vl(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const s=this._rootNodeFocusListenerCount.get(t);s>1?this._rootNodeFocusListenerCount.set(t,s-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,n1),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,n1),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,s){this._setClasses(e,t),this._emitOrigin(s,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((s,i)=>{(i===e||s.checkChildren&&i.contains(e))&&t.push([i,s])}),t}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:t,mostRecentModality:s}=this._inputModalityDetector;if("mouse"!==s||!t||t===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const i=e.labels;if(i)for(let o=0;o{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(t){return new(t||$C)(ue(fn),ue(UC))};static#t=this.\u0275dir=Ge({type:$C,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}var yf;!function(n){n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK"}(yf||(yf={}));const i4="cdk-high-contrast-black-on-white",o4="cdk-high-contrast-white-on-black",FY="cdk-high-contrast-active";class zC{constructor(e,t){this._platform=e,this._document=t,this._breakpointSubscription=de(OC).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return yf.NONE;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,s=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),i){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return yf.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return yf.BLACK_ON_WHITE}return yf.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(FY,i4,o4),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();t===yf.BLACK_ON_WHITE?e.add(FY,i4):t===yf.WHITE_ON_BLACK&&e.add(FY,o4)}}static#e=this.\u0275fac=function(t){return new(t||zC)(be(fa),be(Ln))};static#t=this.\u0275prov=Ce({token:zC,factory:zC.\u0275fac,providedIn:"root"})}class YY{constructor(e){e._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(t){return new(t||YY)(be(zC))};static#t=this.\u0275mod=vs({type:YY,imports:[PC,VC,FC,$C],exports:[VC,FC,$C]});static#n=this.\u0275inj=Ts({imports:[PC]})}function Wre(n){const{subscriber:e,counter:t,period:s}=n;e.next(t),this.schedule({subscriber:e,counter:t+1,period:s},s)}function BY(...n){let e=Number.POSITIVE_INFINITY,t=null,s=n[n.length-1];return Zv(s)?(t=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(e=n.pop())):"number"==typeof s&&(e=n.pop()),null===t&&1===n.length&&n[0]instanceof Ct?n[0]:ab(e)(KF(n,t))}function jY(n,e,t){for(let s in e)if(e.hasOwnProperty(s)){const i=e[s];i?n.setProperty(s,i,t?.has(s)?"important":""):n.removeProperty(s)}return n}function Fb(n,e){const t=e?"":"none";jY(n.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function a4(n,e,t){jY(n.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},t)}function s1(n,e){return e&&"none"!=e?n+" "+e:n}function l4(n,e){n.style.width=`${e.width}px`,n.style.height=`${e.height}px`,n.style.transform=r1(e.left,e.top)}function r1(n,e){return`translate3d(${Math.round(n)}px, ${Math.round(e)}px, 0)`}function VY(n){const e=n.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height,x:e.x,y:e.y}}function HY(n,e,t){const{top:s,bottom:i,left:o,right:c}=n;return t>=s&&t<=i&&e>=o&&e<=c}function WC(n,e,t){n.top+=e,n.bottom=n.top+n.height,n.left+=t,n.right=n.left+n.width}function c4(n,e,t,s){const{top:i,right:o,bottom:c,left:d,width:h,height:m}=n,g=h*e,b=m*e;return s>i-b&&sd-g&&t{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:VY(t)})})}handleScroll(e){const t=th(e),s=this.positions.get(t);if(!s)return null;const i=s.scrollPosition;let o,c;if(t===this._document){const m=this.getViewportScrollPosition();o=m.top,c=m.left}else o=t.scrollTop,c=t.scrollLeft;const d=i.top-o,h=i.left-c;return this.positions.forEach((m,g)=>{m.clientRect&&t!==g&&t.contains(g)&&WC(m.clientRect,d,h)}),i.top=o,i.left=c,{top:d,left:h}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function d4(n){const e=n.cloneNode(!0),t=e.querySelectorAll("[id]"),s=n.nodeName.toLowerCase();e.removeAttribute("id");for(let i=0;is.appendChild(i)),s}function g4(n){const e=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*e}function UY(n,e){return n.getPropertyValue(e).split(",").map(s=>s.trim())}const Kre=new Set(["position"]);class Qre{constructor(e,t,s,i,o,c,d,h,m){this._document=e,this._rootElement=t,this._direction=s,this._initialDomRect=i,this._previewTemplate=o,this._previewClass=c,this._pickupPositionOnPage=d,this._initialTransform=h,this._zIndex=m}attach(e){this._preview=this._createPreview(),e.appendChild(this._preview),"showPopover"in this._preview&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(e){this._preview.style.transform=e}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(e){this._preview.classList.add(e)}getTransitionDuration(){return function Gre(n){const e=getComputedStyle(n),t=UY(e,"transition-property"),s=t.find(d=>"transform"===d||"all"===d);if(!s)return 0;const i=t.indexOf(s),o=UY(e,"transition-duration"),c=UY(e,"transition-delay");return g4(o[i])+g4(c[i])}(this._preview)}addEventListener(e,t){this._preview.addEventListener(e,t)}removeEventListener(e,t){this._preview.removeEventListener(e,t)}_createPreview(){const e=this._previewTemplate,t=this._previewClass,s=e?e.template:null;let i;if(s&&e){const o=e.matchSize?this._initialDomRect:null,c=e.viewContainer.createEmbeddedView(s,e.context);c.detectChanges(),i=m4(c,this._document),this._previewEmbeddedView=c,e.matchSize?l4(i,o):i.style.transform=r1(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else i=d4(this._rootElement),l4(i,this._initialDomRect),this._initialTransform&&(i.style.transform=this._initialTransform);return jY(i.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},Kre),Fb(i,!1),i.classList.add("cdk-drag-preview"),i.setAttribute("popover","manual"),i.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(o=>i.classList.add(o)):i.classList.add(t)),i}}const _4=Eb({passive:!0}),i1=Eb({passive:!1}),y4=Eb({passive:!1,capture:!0}),v4=new Set(["position"]);class Zre{get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(e){e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>Fb(t,e)))}constructor(e,t,s,i,o,c){this._config=t,this._document=s,this._ngZone=i,this._viewportRuler=o,this._dragDropRegistry=c,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new ct,this._pointerMoveSubscription=gt.EMPTY,this._pointerUpSubscription=gt.EMPTY,this._scrollSubscription=gt.EMPTY,this._resizeSubscription=gt.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new ct,this.started=new ct,this.released=new ct,this.ended=new ct,this.entered=new ct,this.exited=new ct,this.dropped=new ct,this.moved=this._moveEvents,this._pointerDown=d=>{if(this.beforeStarted.next(),this._handles.length){const h=this._getTargetHandle(d);h&&!this._disabledHandles.has(h)&&!this.disabled&&this._initializeDragSequence(h,d)}else this.disabled||this._initializeDragSequence(this._rootElement,d)},this._pointerMove=d=>{const h=this._getPointerPositionOnPage(d);if(!this._hasStartedDragging){if(Math.abs(h.x-this._pickupPositionOnPage.x)+Math.abs(h.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const x=Date.now()>=this._dragStartTime+this._getDragStartDelay(d),P=this._dropContainer;if(!x)return void this._endDragSequence(d);(!P||!P.isDragging()&&!P.isReceiving())&&(d.cancelable&&d.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(d)))}return}d.cancelable&&d.preventDefault();const m=this._getConstrainedPointerPosition(h);if(this._hasMoved=!0,this._lastKnownPointerPosition=h,this._updatePointerDirectionDelta(m),this._dropContainer)this._updateActiveDropContainer(m,h);else{const g=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,b=this._activeTransform;b.x=m.x-g.x+this._passiveTransform.x,b.y=m.y-g.y+this._passiveTransform.y,this._applyRootElementTransform(b.x,b.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:m,event:d,distance:this._getDragDistance(m),delta:this._pointerDirectionDelta})})},this._pointerUp=d=>{this._endDragSequence(d)},this._nativeDragStart=d=>{if(this._handles.length){const h=this._getTargetHandle(d);h&&!this._disabledHandles.has(h)&&!this.disabled&&d.preventDefault()}else this.disabled||d.preventDefault()},this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new u4(s),c.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(s=>Ai(s)),this._handles.forEach(s=>Fb(s,this.disabled)),this._toggleNativeDragInteractions();const t=new Set;return this._disabledHandles.forEach(s=>{this._handles.indexOf(s)>-1&&t.add(s)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){const t=Ai(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,i1),t.addEventListener("touchstart",this._pointerDown,_4),t.addEventListener("dragstart",this._nativeDragStart,i1)}),this._initialTransform=void 0,this._rootElement=t),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?Ai(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),Fb(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),Fb(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){const e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}withPreviewContainer(e){return this._previewContainer=e,this}_sortFromLastPointerPosition(){const e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",w4,y4)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:e}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const t=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(t),dropPoint:t,event:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(e){qC(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._getShadowRoot(),s=this._dropContainer;if(t&&this._ngZone.runOutsideAngular(()=>{t.addEventListener("selectstart",w4,y4)}),s){const i=this._rootElement,o=i.parentNode,c=this._placeholder=this._createPlaceholderElement(),d=this._anchor=this._anchor||this._document.createComment("");o.insertBefore(d,i),this._initialTransform=i.style.transform||"",this._preview=new Qre(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(o,t)),a4(i,!1,v4),this._document.body.appendChild(o.replaceChild(c,i)),this.started.next({source:this,event:e}),s.start(),this._initialContainer=s,this._initialIndex=s.getItemIndex(this)}else this.started.next({source:this,event:e}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(s?s.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();const s=this.isDragging(),i=qC(t),o=!i&&0!==t.button,c=this._rootElement,d=th(t),h=!i&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),m=i?s4(t):n4(t);if(d&&d.draggable&&"mousedown"===t.type&&t.preventDefault(),s||o||h||m)return;if(this._handles.length){const E=c.style;this._rootElementTapHighlight=E.webkitTapHighlightColor||"",E.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(E=>this._updateOnScroll(E)),this._boundaryElement&&(this._boundaryRect=VY(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,e,t);const b=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:b.x,y:b.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){a4(this._rootElement,!0,v4),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const t=this._dropContainer,s=t.getItemIndex(this),i=this._getPointerPositionOnPage(e),o=this._getDragDistance(i),c=t._isOverContainer(i.x,i.y);this.ended.next({source:this,distance:o,dropPoint:i,event:e}),this.dropped.next({item:this,currentIndex:s,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:c,distance:o,dropPoint:i,event:e}),t.drop(this,s,this._initialIndex,this._initialContainer,c,o,i,e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:s,y:i}){let o=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,e,t,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(s,i),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(e,t):this._applyPreviewTransform(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const e=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);const t=this._preview.getTransitionDuration();return 0===t?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(s=>{const i=c=>{(!c||th(c)===this._preview&&"transform"===c.propertyName)&&(this._preview?.removeEventListener("transitionend",i),s(),clearTimeout(o))},o=setTimeout(i,1.5*t);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){const e=this._placeholderTemplate,t=e?e.template:null;let s;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),s=m4(this._placeholderRef,this._document)):s=d4(this._rootElement),s.style.pointerEvents="none",s.classList.add("cdk-drag-placeholder"),s}_getPointerPositionInElement(e,t,s){const i=t===this._rootElement?null:t,o=i?i.getBoundingClientRect():e,c=qC(s)?s.targetTouches[0]:s,d=this._getViewportScrollPosition(),h=c.pageX-o.left-d.left,m=c.pageY-o.top-d.top;return{x:o.left-e.left+h,y:o.top-e.top+m}}_getPointerPositionOnPage(e){const t=this._getViewportScrollPosition(),s=qC(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,i=s.pageX-t.left,o=s.pageY-t.top;if(this._ownerSVGElement){const c=this._ownerSVGElement.getScreenCTM();if(c){const d=this._ownerSVGElement.createSVGPoint();return d.x=i,d.y=o,d.matrixTransform(c.inverse())}}return{x:i,y:o}}_getConstrainedPointerPosition(e){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:s,y:i}=this.constrainPosition?this.constrainPosition(e,this,this._initialDomRect,this._pickupPositionInElement):e;if("x"===this.lockAxis||"x"===t?i=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===t)&&(s=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:o,y:c}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,d=this._boundaryRect,{width:h,height:m}=this._getPreviewRect(),g=d.top+c,b=d.bottom-(m-c);s=b4(s,d.left+o,d.right-(h-o)),i=b4(i,g,b)}return{x:s,y:i}}_updatePointerDirectionDelta(e){const{x:t,y:s}=e,i=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,c=Math.abs(t-o.x),d=Math.abs(s-o.y);return c>this._config.pointerDirectionChangeThreshold&&(i.x=t>o.x?1:-1,o.x=t),d>this._config.pointerDirectionChangeThreshold&&(i.y=s>o.y?1:-1,o.y=s),i}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,Fb(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,i1),e.removeEventListener("touchstart",this._pointerDown,_4),e.removeEventListener("dragstart",this._nativeDragStart,i1)}_applyRootElementTransform(e,t){const s=r1(e,t),i=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=i.transform&&"none"!=i.transform?i.transform:""),i.transform=s1(s,this._initialTransform)}_applyPreviewTransform(e,t){const s=this._previewTemplate?.template?void 0:this._initialTransform,i=r1(e,t);this._preview.setTransform(s1(i,s))}_getDragDistance(e){const t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(0===e&&0===t||this.isDragging()||!this._boundaryElement)return;const s=this._rootElement.getBoundingClientRect(),i=this._boundaryElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===s.width&&0===s.height)return;const o=i.left-s.left,c=s.right-i.right,d=i.top-s.top,h=s.bottom-i.bottom;i.width>s.width?(o>0&&(e+=o),c>0&&(e-=c)):e=0,i.height>s.height?(d>0&&(t+=d),h>0&&(t-=h)):t=0,(e!==this._passiveTransform.x||t!==this._passiveTransform.y)&&this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){const t=this.dragStartDelay;return"number"==typeof t?t:qC(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){const t=this._parentPositions.handleScroll(e);if(t){const s=th(e);this._boundaryRect&&s!==this._boundaryElement&&s.contains(this._boundaryElement)&&WC(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=LY(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,t){const s=this._previewContainer||"global";if("parent"===s)return e;if("global"===s){const i=this._document;return t||i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body}return Ai(s)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(e){return this._handles.find(t=>e.target&&(e.target===t||t.contains(e.target)))}}function b4(n,e,t){return Math.max(e,Math.min(t,n))}function qC(n){return"t"===n.type[0]}function w4(n){n.preventDefault()}function S4(n,e,t){const s=GC(e,n.length-1),i=GC(t,n.length-1);if(s===i)return;const o=n[s],c=i0)return null;const d="horizontal"===this.orientation,h=o.findIndex(H=>H.drag===e),m=o[c],g=o[h].clientRect,b=m.clientRect,E=h>c?1:-1,x=this._getItemOffsetPx(g,b,E),P=this._getSiblingOffsetPx(h,o,E),F=o.slice();return S4(o,h,c),o.forEach((H,W)=>{if(F[W]===H)return;const z=H.drag===e,ie=z?x:P,ce=z?e.getPlaceholderElement():H.drag.getRootElement();H.offset+=ie,d?(ce.style.transform=s1(`translate3d(${Math.round(H.offset)}px, 0, 0)`,H.initialTransform),WC(H.clientRect,0,ie)):(ce.style.transform=s1(`translate3d(0, ${Math.round(H.offset)}px, 0)`,H.initialTransform),WC(H.clientRect,ie,0))}),this._previousSwap.overlaps=HY(b,t,s),this._previousSwap.drag=m.drag,this._previousSwap.delta=d?i.x:i.y,{previousIndex:h,currentIndex:c}}enter(e,t,s,i){const o=null==i||i<0?this._getItemIndexFromPointerPosition(e,t,s):i,c=this._activeDraggables,d=c.indexOf(e),h=e.getPlaceholderElement();let m=c[o];if(m===e&&(m=c[o+1]),!m&&(null==o||-1===o||o-1&&c.splice(d,1),m&&!this._dragDropRegistry.isDragging(m)){const g=m.getRootElement();g.parentElement.insertBefore(h,g),c.splice(o,0,e)}else Ai(this._element).appendChild(h),c.push(e);h.style.transform="",this._cacheItemPositions()}withItems(e){this._activeDraggables=e.slice(),this._cacheItemPositions()}withSortPredicate(e){this._sortPredicate=e}reset(){this._activeDraggables.forEach(e=>{const t=e.getRootElement();if(t){const s=this._itemPositions.find(i=>i.drag===e)?.initialTransform;t.style.transform=s||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(e){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(s=>s.drag===e)}updateOnScroll(e,t){this._itemPositions.forEach(({clientRect:s})=>{WC(s,e,t)}),this._itemPositions.forEach(({drag:s})=>{this._dragDropRegistry.isDragging(s)&&s._sortFromLastPointerPosition()})}_cacheItemPositions(){const e="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(t=>{const s=t.getVisibleElement();return{drag:t,offset:0,initialTransform:s.style.transform||"",clientRect:VY(s)}}).sort((t,s)=>e?t.clientRect.left-s.clientRect.left:t.clientRect.top-s.clientRect.top)}_getItemOffsetPx(e,t,s){const i="horizontal"===this.orientation;let o=i?t.left-e.left:t.top-e.top;return-1===s&&(o+=i?t.width-e.width:t.height-e.height),o}_getSiblingOffsetPx(e,t,s){const i="horizontal"===this.orientation,o=t[e].clientRect,c=t[e+-1*s];let d=o[i?"width":"height"]*s;if(c){const h=i?"left":"top",m=i?"right":"bottom";-1===s?d-=c.clientRect[h]-o[m]:d+=o[h]-c.clientRect[m]}return d}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;const s=this._itemPositions,i="horizontal"===this.orientation;if(s[0].drag!==this._activeDraggables[0]){const c=s[s.length-1].clientRect;return i?e>=c.right:t>=c.bottom}{const c=s[0].clientRect;return i?e<=c.left:t<=c.top}}_getItemIndexFromPointerPosition(e,t,s,i){const o="horizontal"===this.orientation,c=this._itemPositions.findIndex(({drag:d,clientRect:h})=>{if(d===e)return!1;if(i){const m=o?i.x:i.y;if(d===this._previousSwap.drag&&this._previousSwap.overlaps&&m===this._previousSwap.delta)return!1}return o?t>=Math.floor(h.left)&&t=Math.floor(h.top)&&s!0,this.sortPredicate=()=>!0,this.beforeStarted=new ct,this.entered=new ct,this.exited=new ct,this.dropped=new ct,this.sorted=new ct,this.receivingStarted=new ct,this.receivingStopped=new ct,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=gt.EMPTY,this._verticalScrollDirection=Ra.NONE,this._horizontalScrollDirection=mo.NONE,this._stopScrollTimers=new ct,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function zre(n=0,e=xC){return(!xY(n)||n<0)&&(n=0),(!e||"function"!=typeof e.schedule)&&(e=xC),new Ct(t=>(t.add(e.schedule(Wre,n,{subscriber:t,counter:0,period:n})),t))}(0,F$).pipe(vl(this._stopScrollTimers)).subscribe(()=>{const c=this._scrollNode,d=this.autoScrollStep;this._verticalScrollDirection===Ra.UP?c.scrollBy(0,-d):this._verticalScrollDirection===Ra.DOWN&&c.scrollBy(0,d),this._horizontalScrollDirection===mo.LEFT?c.scrollBy(-d,0):this._horizontalScrollDirection===mo.RIGHT&&c.scrollBy(d,0)})},this.element=Ai(e),this._document=s,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new u4(s),this._sortStrategy=new eie(this.element,t),this._sortStrategy.withSortPredicate((c,d)=>this.sortPredicate(c,d,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,t,s,i){this._draggingStarted(),null==i&&this.sortingDisabled&&(i=this._draggables.indexOf(e)),this._sortStrategy.enter(e,t,s,i),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,s,i,o,c,d,h={}){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:s,container:this,previousContainer:i,isPointerOverContainer:o,distance:c,dropPoint:d,event:h})}withItems(e){const t=this._draggables;return this._draggables=e,e.forEach(s=>s._withDropContainer(this)),this.isDragging()&&(t.filter(i=>i.isDragging()).every(i=>-1===e.indexOf(i))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(e){return this._sortStrategy.direction=e,this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){return this._sortStrategy.orientation=e,this}withScrollableParents(e){const t=Ai(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t,...e]:e.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?this._sortStrategy.getItemIndex(e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,s,i){if(this.sortingDisabled||!this._domRect||!c4(this._domRect,.05,t,s))return;const o=this._sortStrategy.sort(e,t,s,i);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:e})}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let s,i=Ra.NONE,o=mo.NONE;if(this._parentPositions.positions.forEach((c,d)=>{d===this._document||!c.clientRect||s||c4(c.clientRect,.05,e,t)&&([i,o]=function nie(n,e,t,s,i){const o=C4(e,i),c=E4(e,s);let d=Ra.NONE,h=mo.NONE;if(o){const m=n.scrollTop;o===Ra.UP?m>0&&(d=Ra.UP):n.scrollHeight-m>n.clientHeight&&(d=Ra.DOWN)}if(c){const m=n.scrollLeft;"rtl"===t?c===mo.RIGHT?m<0&&(h=mo.RIGHT):n.scrollWidth+m>n.clientWidth&&(h=mo.LEFT):c===mo.LEFT?m>0&&(h=mo.LEFT):n.scrollWidth-m>n.clientWidth&&(h=mo.RIGHT)}return[d,h]}(d,c.clientRect,this._sortStrategy.direction,e,t),(i||o)&&(s=d))}),!i&&!o){const{width:c,height:d}=this._viewportRuler.getViewportSize(),h={width:c,height:d,top:0,right:c,bottom:d,left:0};i=C4(h,t),o=E4(h,e),s=window}s&&(i!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||s!==this._scrollNode)&&(this._verticalScrollDirection=i,this._horizontalScrollDirection=o,this._scrollNode=s,(i||o)&&s?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const e=Ai(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const e=Ai(this.element);this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(e).clientRect}_reset(){this._isDragging=!1;const e=Ai(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(t=>t._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(e,t){return null!=this._domRect&&HY(this._domRect,e,t)}_getSiblingContainerFromPosition(e,t,s){return this._siblings.find(i=>i._canReceive(e,t,s))}_canReceive(e,t,s){if(!this._domRect||!HY(this._domRect,t,s)||!this.enterPredicate(e,this))return!1;const i=this._getShadowRoot().elementFromPoint(t,s);if(!i)return!1;const o=Ai(this.element);return i===o||o.contains(i)}_startReceiving(e,t){const s=this._activeSiblings;!s.has(e)&&t.every(i=>this.enterPredicate(i,this)||this._draggables.indexOf(i)>-1)&&(s.add(e),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:e,receiver:this,items:t}))}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:e,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(e=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(e);t&&this._sortStrategy.updateOnScroll(t.top,t.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const e=LY(Ai(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const e=this._sortStrategy.getActiveItemsSnapshot().filter(t=>t.isDragging());this._siblings.forEach(t=>t._startReceiving(this,e))}}function C4(n,e){const{top:t,bottom:s,height:i}=n,o=i*M4;return e>=t-o&&e<=t+o?Ra.UP:e>=s-o&&e<=s+o?Ra.DOWN:Ra.NONE}function E4(n,e){const{left:t,right:s,width:i}=n,o=i*M4;return e>=t-o&&e<=t+o?mo.LEFT:e>=s-o&&e<=s+o?mo.RIGHT:mo.NONE}const o1=Eb({passive:!1,capture:!0}),a1=new Set;class l1{static#e=this.\u0275fac=function(t){return new(t||l1)};static#t=this.\u0275cmp=Uu({type:l1,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[cI],decls:0,vars:0,template:function(t,s){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}"],encapsulation:2,changeDetection:0})}class KC{constructor(e,t){this._ngZone=e,this._appRef=de(Oo),this._environmentInjector=de(It),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new ct,this.pointerUp=new ct,this.scroll=new ct,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,o1)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,o1)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._loadResets(),this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const s=t.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:i=>this.pointerUp.next(i),options:!0}).set("scroll",{handler:i=>this.scroll.next(i),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:o1}),s||this._globalListeners.set("mousemove",{handler:i=>this.pointerMove.next(i),options:o1}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((i,o)=>{this._document.addEventListener(o,i.handler,i.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new Ct(s=>this._ngZone.runOutsideAngular(()=>{const o=c=>{this._activeDragInstances.length&&s.next(c)};return e.addEventListener("scroll",o,!0),()=>{e.removeEventListener("scroll",o,!0)}}))),BY(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}_loadResets(){if(!a1.has(this._appRef)){a1.add(this._appRef);const e=function OK(n,e){const t=tn(n),s=e.elementInjector||Tt();return new qm(t).create(s,e.projectableNodes,e.hostElement,e.environmentInjector)}(l1,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{a1.delete(this._appRef),0===a1.size&&e.destroy()})}}static#e=this.\u0275fac=function(t){return new(t||KC)(be(vt),be(Ln))};static#t=this.\u0275prov=Ce({token:KC,factory:KC.\u0275fac,providedIn:"root"})}const sie={dragStartThreshold:5,pointerDirectionChangeThreshold:5};class t_{constructor(e,t,s,i){this._document=e,this._ngZone=t,this._viewportRuler=s,this._dragDropRegistry=i}createDrag(e,t=sie){return new Zre(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new tie(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static#e=this.\u0275fac=function(t){return new(t||t_)(be(Ln),be(vt),be(Tb),be(KC))};static#t=this.\u0275prov=Ce({token:t_,factory:t_.\u0275fac,providedIn:"root"})}const QC=new Ie("CDK_DRAG_PARENT");const x4=new Ie("CdkDragHandle");class n_{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._stateChanges.next(this)}constructor(e,t){this.element=e,this._parentDrag=t,this._stateChanges=new ct,this._disabled=!1,t?._addHandle(this)}ngOnDestroy(){this._parentDrag?._removeHandle(this),this._stateChanges.complete()}static#e=this.\u0275fac=function(t){return new(t||n_)(ue(fn),ue(QC,12))};static#t=this.\u0275dir=Ge({type:n_,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",Ur]},standalone:!0,features:[Nn([{provide:x4,useExisting:n_}]),La]})}const $Y=new Ie("CDK_DRAG_CONFIG"),k4=new Ie("CdkDropList");class vc{static#e=this._dragInstances=[];get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=e,this._dragRef.disabled=this._disabled}constructor(e,t,s,i,o,c,d,h,m,g,b){this.element=e,this.dropContainer=t,this._ngZone=i,this._viewContainerRef=o,this._dir=d,this._changeDetectorRef=m,this._selfHandle=g,this._parentDrag=b,this._destroyed=new ct,this._handles=new Us([]),this.started=new je,this.released=new je,this.ended=new je,this.entered=new je,this.exited=new je,this.dropped=new je,this.moved=new Ct(E=>{const x=this._dragRef.moved.pipe(Ht(P=>({source:this,pointerPosition:P.pointerPosition,event:P.event,delta:P.delta,distance:P.distance}))).subscribe(E);return()=>{x.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:c?.zIndex}),this._dragRef.data=this,vc._dragInstances.push(this),c&&this._assignDefaults(c),t&&(this._dragRef._withDropContainer(t._dropListRef),t.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ir(1),vl(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const t=e.rootElementSelector,s=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=vc._dragInstances.indexOf(this);e>-1&&vc._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(e){const t=this._handles.getValue();t.push(e),this._handles.next(t)}_removeHandle(e){const t=this._handles.getValue(),s=t.indexOf(e);s>-1&&(t.splice(s,1),this._handles.next(t))}_setPreviewTemplate(e){this._previewTemplate=e}_resetPreviewTemplate(e){e===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(e){this._placeholderTemplate=e}_resetPlaceholderTemplate(e){e===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){const e=this.element.nativeElement;let t=e;this.rootElementSelector&&(t=void 0!==e.closest?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(t||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):Ai(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,s=this.dragStartDelay,i=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,o=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof s&&s?s:Kg(s),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(i).withPreviewTemplate(o).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe(Ir(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let t=this.element.nativeElement.parentElement;for(;t;){if(t.classList.contains("cdk-drag")){e.withParent(vc._dragInstances.find(s=>s.element.nativeElement===t)?._dragRef||null);break}t=t.parentElement}})}_handleEvents(e){e.started.subscribe(t=>{this.started.emit({source:this,event:t.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(t=>{this.released.emit({source:this,event:t.event})}),e.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance,dropPoint:t.dropPoint,event:t.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),e.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),e.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance,dropPoint:t.dropPoint,event:t.event})})}_assignDefaults(e){const{lockAxis:t,dragStartDelay:s,constrainPosition:i,previewClass:o,boundaryElement:c,draggingDisabled:d,rootElementSelector:h,previewContainer:m}=e;this.disabled=d??!1,this.dragStartDelay=s||0,t&&(this.lockAxis=t),i&&(this.constrainPosition=i),o&&(this.previewClass=o),c&&(this.boundaryElement=c),h&&(this.rootElementSelector=h),m&&(this.previewContainer=m)}_setupHandlesListener(){this._handles.pipe(js(e=>{const t=e.map(s=>s.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),da(e=>BY(...e.map(t=>t._stateChanges.pipe(lb(t))))),vl(this._destroyed)).subscribe(e=>{const t=this._dragRef,s=e.element.nativeElement;e.disabled?t.disableHandle(s):t.enableHandle(s)})}static#t=this.\u0275fac=function(t){return new(t||vc)(ue(fn),ue(k4,12),ue(Ln),ue(vt),ue(xi),ue($Y,8),ue(wl,8),ue(t_),ue(gl),ue(x4,10),ue(QC,12))};static#n=this.\u0275dir=Ge({type:vc,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,s){2&t&&dg("cdk-drag-disabled",s.disabled)("cdk-drag-dragging",s._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",Ur],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Nn([{provide:QC,useExisting:vc}]),La,Ss]})}const zY=new Ie("CdkDropListGroup");class s_{constructor(){this._items=new Set,this.disabled=!1}ngOnDestroy(){this._items.clear()}static#e=this.\u0275fac=function(t){return new(t||s_)};static#t=this.\u0275dir=Ge({type:s_,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:[2,"cdkDropListGroupDisabled","disabled",Ur]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Nn([{provide:zY,useExisting:s_}]),La]})}let iie=0;class bc{static#e=this._dropLists=[];get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=e}constructor(e,t,s,i,o,c,d){this.element=e,this._changeDetectorRef=s,this._scrollDispatcher=i,this._dir=o,this._group=c,this._destroyed=new ct,this.connectedTo=[],this.id="cdk-drop-list-"+iie++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new je,this.entered=new je,this.exited=new je,this.sorted=new je,this._unsortedItems=new Set,this._dropListRef=t.createDropList(e),this._dropListRef.data=this,d&&this._assignDefaults(d),this._dropListRef.enterPredicate=(h,m)=>this.enterPredicate(h.data,m.data),this._dropListRef.sortPredicate=(h,m,g)=>this.sortPredicate(h,m.data,g.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),bc._dropLists.push(this),c&&c._items.add(this)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,t)=>e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=bc._dropLists.indexOf(this);e>-1&&bc._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(lb(this._dir.value),vl(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const t=EY(this.connectedTo).map(s=>{if("string"==typeof s){return bc._dropLists.find(o=>o.id===s)}return s});if(this._group&&this._group._items.forEach(s=>{-1===t.indexOf(s)&&t.push(s)}),!this._scrollableParentsResolved){const s=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(i=>i.getElementRef().nativeElement);this._dropListRef.withScrollableParents(s),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.autoScrollDisabled=this.autoScrollDisabled,e.autoScrollStep=Kg(this.autoScrollStep,2),e.connectedTo(t.filter(s=>s&&s!==this).map(s=>s._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),e.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),e.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance,dropPoint:t.dropPoint,event:t.event}),this._changeDetectorRef.markForCheck()}),BY(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(e){const{lockAxis:t,draggingDisabled:s,sortingDisabled:i,listAutoScrollDisabled:o,listOrientation:c}=e;this.disabled=s??!1,this.sortingDisabled=i??!1,this.autoScrollDisabled=o??!1,this.orientation=c||"vertical",t&&(this.lockAxis=t)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}static#t=this.\u0275fac=function(t){return new(t||bc)(ue(fn),ue(t_),ue(gl),ue(Eu),ue(wl,8),ue(zY,12),ue($Y,8))};static#n=this.\u0275dir=Ge({type:bc,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,s){2&t&&(Pa("id",s.id),dg("cdk-drop-list-disabled",s.disabled)("cdk-drop-list-dragging",s._dropListRef.isDragging())("cdk-drop-list-receiving",s._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",Ur],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",Ur],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",Ur],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[Nn([{provide:zY,useValue:void 0},{provide:k4,useExisting:bc}]),La]})}const oie=new Ie("CdkDragPreview");class r_{constructor(e){this.templateRef=e,this._drag=de(QC,{optional:!0}),this.matchSize=!1,this._drag?._setPreviewTemplate(this)}ngOnDestroy(){this._drag?._resetPreviewTemplate(this)}static#e=this.\u0275fac=function(t){return new(t||r_)(ue(di))};static#t=this.\u0275dir=Ge({type:r_,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:[2,"matchSize","matchSize",Ur]},standalone:!0,features:[Nn([{provide:oie,useExisting:r_}]),La]})}const aie=new Ie("CdkDragPlaceholder");class i_{constructor(e){this.templateRef=e,this._drag=de(QC,{optional:!0}),this._drag?._setPlaceholderTemplate(this)}ngOnDestroy(){this._drag?._resetPlaceholderTemplate(this)}static#e=this.\u0275fac=function(t){return new(t||i_)(ue(di))};static#t=this.\u0275dir=Ge({type:i_,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},standalone:!0,features:[Nn([{provide:aie,useExisting:i_}])]})}class c1{static#e=this.\u0275fac=function(t){return new(t||c1)};static#t=this.\u0275mod=vs({type:c1,imports:[bc,s_,vc,n_,r_,i_],exports:[sh,bc,s_,vc,n_,r_,i_]});static#n=this.\u0275inj=Ts({providers:[t_],imports:[sh]})}let XC=class{constructor(e,t){this.renderer=e,this.el=t,this.positionError={x:-5,y:0},this.getMenuItems=new je,this.visible=!1,this.position={x:0,y:0}}ngAfterViewInit(){this.renderer.listen("body","click",e=>{this.hide()})}onClick(e){e&&e(this.target)}show(e,t){this.getMenuItems.emit(t),this.visible=!0,this.target=t,this.calculatePosition(e)}hide(){this.visible=!1}calculatePosition(e){let t=this.el.nativeElement.getBoundingClientRect();this.position.x=e.pageX-(t.left+window.pageXOffset-document.documentElement.clientLeft)+this.positionError.x,this.position.y=e.pageY-(t.top+window.pageYOffset-document.documentElement.clientTop)+this.positionError.y}static#e=this.ctorParameters=()=>[{type:ei},{type:fn}];static#t=this.propDecorators={menuItems:[{type:K}],positionError:[{type:K}],getMenuItems:[{type:sn}]}};XC=ge([Ke({selector:"ue-context-menu",template:''})],XC);let ZC=class{constructor(e){this.el=e}onContextMenu(e){e.preventDefault(),this.ueContextMenu.show(e,this.ueContextMenuSubject)}static#e=this.ctorParameters=()=>[{type:fn}];static#t=this.propDecorators={ueContextMenu:[{type:K}],ueContextMenuSubject:[{type:K}],onContextMenu:[{type:ml,args:["contextmenu",["$event"]]}]}};ZC=ge([fl({selector:"[ueContextMenu]"})],ZC);let JC=class{};JC=ge([pr({imports:[ua],declarations:[XC,ZC],exports:[XC,ZC]})],JC);var uie=k(3481),die=k.n(uie);let xr=class{constructor(){}ngOnInit(){}closeAlert(){delete this.alert}newAlert(e,t,s){this.alert={},this.alert.title=e,this.alert.message=t,this.alert.contextClass=s}setErrorAlert(e){let t,s,i;switch(e.errorcode){case 400:case 401:case 403:case 404:case 405:case 409:case 451:case 429:t="Warning!",i="warning",s=e.error;break;case 500:t="Error!",i="danger",s=e.error;break;default:t="Error!",i="danger",s="Unable to parse error, please contact support"}this.newAlert(t,s,i)}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={alert:[{type:K}]}};xr=ge([Ke({selector:"ue-alert",template:'
\n\t\n\t\n\t{{alert.title}}:\n\t\n\t\n\t\n\t{{alert.message}}\n\n
',styles:[die()]})],xr);let u1=class{};u1=ge([pr({imports:[ua],declarations:[xr],exports:[xr]})],u1);var hie=k(4180),pie=k.n(hie);let d1=class{constructor(){this.type="button",this.onClick=new je}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={btnClass:[{type:K}],icon:[{type:K}],type:[{type:K}],disabled:[{type:K}],noLabel:[{type:K}],onClick:[{type:sn}]}};d1=ge([Ke({selector:"ue-button",template:'\n\t\n\t\n\t',styles:[pie()]})],d1);var fie=k(1954),mie=k.n(fie);let eE=class{constructor(){this.onToggle=new je}toggle(e){this.disabled||(this.isChecked=e,this._onChange&&this._onChange(e),this.onToggle.emit(e))}setCustomPosition(){return"centered"===this.customPosition?"centered":""}writeValue(e){this.isChecked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(){}setDisabledState(e){this.disabled=e}static#e=this.propDecorators={customPosition:[{type:K,args:["customPosition"]}],readonly:[{type:K}],onToggle:[{type:sn}],isChecked:[{type:K}],reqDifferent:[{type:K}],label:[{type:K,args:["label"]}]}};eE=ge([Ke({selector:"ue-checkbox",template:'\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t',providers:[{provide:zi,multi:!0,useExisting:eE}],styles:[mie()]})],eE);let h1=class{constructor(e){this.viewContainer=e}ngOnInit(){this.viewContainer.createEmbeddedView(this.externalTemplate,{$implicit:this.item})}static#e=this.ctorParameters=()=>[{type:xi}];static#t=this.propDecorators={item:[{type:K}],externalTemplate:[{type:K}]}};h1=ge([fl({selector:"[ueTemplateWrapper]"})],h1);let tE=class{};tE=ge([pr({imports:[ua],declarations:[d1,eE,h1],exports:[d1,eE,h1]})],tE);var _ie=k(4946),yie=k.n(_ie);let nE=class{constructor(e){this.template=e}getType(){return this.type?this.type:this.name}static#e=this.ctorParameters=()=>[{type:di}];static#t=this.propDecorators={type:[{type:K}],name:[{type:K,args:["ueTemplate"]}]}};nE=ge([fl({selector:"[ueTemplate]"})],nE);let sE=class{constructor(){}ngOnInit(){this.sortField||(this.sortField=this.field),this.clickable="false"!==this.clickable}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"header":this.headerTemplate=e.template;break;case"body":default:this.bodyTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"filter":this.filterTemplate=e.template;break;case"editor":this.editorTemplate=e.template}})}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={header:[{type:K}],field:[{type:K}],sortField:[{type:K}],clickable:[{type:K}],colStyle:[{type:K}],templates:[{type:UD,args:[nE]}],template:[{type:Sp,args:[di,{static:!0}]}]}};sE=ge([Ke({selector:"ue-column",template:""})],sE);let p1=class{constructor(e){this.viewContainer=e}ngOnInit(){this.viewContainer.createEmbeddedView(this.column.bodyTemplate,{$implicit:this.column,rowData:this.rowData,rowIndex:this.rowIndex})}static#e=this.ctorParameters=()=>[{type:xi}];static#t=this.propDecorators={column:[{type:K}],rowData:[{type:K}],rowIndex:[{type:K}]}};p1=ge([Ke({selector:"ue-columnBodyTemplateLoader",template:""})],p1);let vf=class{constructor(){this.sort=new je,this.onRowSelect=new je,this.updateCheckedRows=new je}ngOnChanges(e){e.selectedColumns&&e.selectedColumns.previousValue&&this.cols&&this.updateColsToRender(),e.value&&this.updateDataToRender(e.value.currentValue)}ngAfterContentInit(){this.updateColsToRender()}updateColsToRender(){this.colsToRender=[];const e=this.cols.toArray();this.selectedColumns?this.selectedColumns.forEach(t=>{if(!t)return;const s=e.filter(function(i){return i.field===t});this.colsToRender.push(s[0])}):this.colsToRender=e}updateDataToRender(e){this.dataToRender=e}resolveFieldData(e,t){if(e&&t){if(-1==t.indexOf("."))return e[t];{const s=t.split(".");let i=e;for(let o=0,c=s.length;ot):[],this.updateCheckedRows.emit(this.checkedRows))}isRowChecked(e){if(this.checkedRows)return-1!==this.checkedRows.indexOf(e)}areAllRowsChecked(){if(this.checkedRows)return this.value.length===this.checkedRows.length&&this.checkedRows.length>0}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={selectedColumns:[{type:K}],value:[{type:K}],checkedRows:[{type:K}],sortField:[{type:K}],sortDir:[{type:K}],menuItemsSelected:[{type:K}],menuItemsAll:[{type:K}],contextMenuRef:[{type:K}],gettingData:[{type:K}],message:[{type:K}],highlightIndexArray:[{type:K}],sort:[{type:sn}],onRowSelect:[{type:sn}],updateCheckedRows:[{type:sn}],cols:[{type:UD,args:[sE]}]}};vf=ge([Ke({selector:"ue-table",template:'
\n\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\n
\n',styles:[yie()]})],vf);let f1=class{constructor(e){this.dt=e}ngOnInit(){this.getNoDataMessage()}getNoDataMessage(){this.dt.message?this.message=this.dt.message:this.message="No Data Found"}requestHighlight(e){if(void 0!==this.highlightIndexArray&&-1!==this.highlightIndexArray.indexOf(e))return!0}static#e=this.ctorParameters=()=>[{type:vf,decorators:[{type:Wa,args:[Et(()=>vf)]}]}];static#t=this.propDecorators={columns:[{type:K,args:["ueTableBody"]}],highlightIndexArray:[{type:K}]}};f1=ge([Ke({selector:"tbody.ueTableBody",template:'\n\t\x3c!-- with context menu --\x3e\n\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t{{dt.resolveFieldData(rowData, col.field)}}\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\x3c!-- without context menu --\x3e\n\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t{{dt.resolveFieldData(rowData, col.field)}}\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n\n\n\t\n\t\t
\n\t\t\t\n\t\t\tInfo! \n\t\t\tNo data found\n\t\t\tGetting data\n\t\t
\n\t\n\n'})],f1);let m1=class{constructor(e){this.dt=e}static#e=this.ctorParameters=()=>[{type:vf,decorators:[{type:Wa,args:[Et(()=>vf)]}]}];static#t=this.propDecorators={columns:[{type:K,args:["ueColumnHeaders"]}]}};m1=ge([Ke({selector:"tr.ueColumnHeaders",template:'\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t{{col.header}}\n\t\t\t\n\t\t\t\n\t\t\t\t{{col.header}}\n\t\t\t\n\t\t\n\t'})],m1);var wie=k(7859),Sie=k.n(wie);let WY=class{constructor(e){this.renderer=e,this.selectAllRows=new je,this.isChecked=!1,this.panelOpen=!1}ngOnInit(){}ngOnDestroy(){this.unbindDocumentClickListener()}toggle(e){this.isChecked="boolean"==typeof e?e:!this.isChecked,this.selectAllRows.emit(this.isChecked)}show(){this.panelOpen=!0,this.bindDocumentClickListener()}hide(){this.panelOpen=!1}onClick(e){this.itemClick=!0,e&&e(),this.hide()}onMouseClick(){this.selfClick=!0,this.itemClick||(this.panelOpen?this.hide():this.show())}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen("body","click",()=>{!this.selfClick&&!this.itemClick&&(this.hide(),this.unbindDocumentClickListener()),this.selfClick=!1,this.itemClick=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}static#e=this.ctorParameters=()=>[{type:ei}];static#t=this.propDecorators={menuItemsSelected:[{type:K}],menuItemsAll:[{type:K}],selectAllRows:[{type:sn}],isChecked:[{type:K}]}};WY=ge([Ke({selector:"ue-table-dropdown",template:'
\n\t\n\t\n\t\n
',styles:[Sie()]})],WY);let g1=class{};g1=ge([pr({imports:[ua,JC,tE],declarations:[vf,f1,nE,sE,p1,m1,WY],exports:[vf,f1,nE,sE,p1,m1,XC,ZC]})],g1);let _1=class{constructor(e){this.elementRef=e}ngAfterViewInit(){setTimeout(()=>{this.elementRef.nativeElement.focus()},100)}static#e=this.ctorParameters=()=>[{type:fn}]};_1=ge([fl({selector:"[ueFocusMe]"})],_1);var bt=k(7586);let y1=class{transform(e,t){let s=e;return"0000-00-00 00:00:00"===e?"-":(bt&&(s=e?bt(e,"YYYY-MM-DD HH:mm:ss").format(t):"-"),s)}};y1=ge([yv({name:"ueDate"})],y1);var Die=k(7734),rE=k.n(Die);const Mie=[{brand:"American Express",pregs:[/^3(4|7)/],mask:[/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,/\d/]},{brand:"Visa",pregs:[/^4/],mask:[/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]},{brand:"MasterCard",pregs:[/^5(1|2|5)/,/^22/],mask:[/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]},{brand:"Diners Club",pregs:[/^30(1|2|3|4|5)/,/^36/],mask:[/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/]}];let qY=class{constructor(){this.dateMask=[/[0-1]/,/\d/,"/",/[0-3]/,/\d/,"/",/\d/,/\d/,/\d/,/\d/],this.moneyMask=rE()({prefix:"$",suffix:"",requireDecimal:!0}),this.percentMask=rE()({prefix:"",suffix:"%",requireDecimal:!0}),this.quantityMask=rE()({prefix:""}),this.negativeQuantityMask=rE()({prefix:"",allowNegative:!0}),this.expirationMask=[/[0-1]/,/\d/,"/",/\d/,/\d/],this.cvcMask=[/\d/,/\d/,/\d/,/\d/],this.phoneMask=["+",/\d/," ","(",/\d/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]}getQuantityMask(e){return rE()(e)}getZipMask(e){let t;return t="number"==typeof e?e.toString():e,t.length<6?[/\d/,/\d/,/\d/,/\d/,/\d/,/\d/]:[/\d/,/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]}getCreditCardMask(e){let t;t="number"==typeof e?e.toString():e;let s=[/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/];return Mie.forEach(i=>{i.pregs.forEach(o=>{o.test(t)&&(s=i.mask)})}),s}static#e=this.ctorParameters=()=>[]};qY=ge([Ds()],qY);var Eie=k(3134),xie=k.n(Eie);let Yb=class{constructor(){this.suggestionLookup=new Wv,this.suggestions=[],this.disableSuggestions=!1,this.showDropdown=!0,this.highlightedIndex=0,this.onSelect=new je,this.onCompleteMethod=new je,this.onFocus=new je,this.onBlur=new je,this.debounceTime=200,this.placeholder="",this.iconRight=!1,this.iconClick=new je,this.forceSelectionError=new je,this.multiLookup=!1,this.cancelIcon=!1,this._onChange=e=>{},this.onTouched=()=>{}}ngOnInit(){this.suggestions=[],this.suggestionLookup.valueChanges.pipe(AC(this.debounceTime),Mb()).subscribe(e=>{this.suggestionLookup.disabled||this._onChange(e),this.onTouched(),this.highlightedIndex=0,this.onCompleteMethod.emit(e)})}writeValue(e){this.selectedSuggestion=e,this.suggestionLookup.patchValue(this.selectedSuggestion,{emitEvent:!1})}registerOnChange(e){this._onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){}resetField(){this.suggestionLookup.patchValue(""),this.updateInputDisplay("",!1)}handleKeys(e){this.disableSuggestions=!1,"ArrowDown"===e.key&&this.highlightedIndex0&&(e.preventDefault(),this.highlightedIndex--,this.handleArrowKeys()),"Enter"===e.key&&(!0!==this.disableEnter?(this.multiLookup||e.target.blur(),this.selectDropdownOption(),this.suggestions.length<1&&this.onSelect.emit(this.suggestionLookup.value)):this.onSelect.emit(this.suggestionLookup.value))}handleArrowKeys(){this.suggestions.length>0&&(this.selectedSuggestion=this.suggestions[this.highlightedIndex],this.updateInputDisplay(this.selectedSuggestion,!1))}selectDropdownOption(){const e=this.suggestions[this.highlightedIndex];e&&!this.multiLookup?(this.selectedSuggestion=e,this.updateInputDisplay(this.selectedSuggestion),this.showDropdown=!1,this.disableSuggestions=!0,this.onSelect.emit(this.selectedSuggestion),this._onChange(this.selectedSuggestion)):e&&this.multiLookup&&(this.selectedSuggestion=e,this.updateInputDisplay(this.selectedSuggestion,!0),this.suggestions=[])}updateInputDisplay(e,t){let s;if("string"==typeof e?s=e:this.objectKey&&(s=e[this.objectKey]),this.multiLookup){const i=this.suggestionLookup.value?this.suggestionLookup.value:"",o=i.split(" ");if(o.pop(),o.push(s),i.length<1)return this.suggestionLookup.patchValue("",{emitEvent:!1}),this._onChange(""),this.onSelect.emit("");this.suggestionLookup.patchValue(o.join(" "),{emitEvent:!1}),this._onChange(this.suggestionLookup.value),t&&this.onSelect.emit(s)}else this.suggestionLookup.patchValue(s,{emitEvent:!1})}blur(){this.onBlur.emit(),this.forceSelection&&this.selectDropdownOption(),setTimeout(()=>{this.showDropdown=!1},200)}focus(){this.showDropdown=!0,this.onFocus.emit(this.suggestionLookup.value)}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={suggestions:[{type:K}],disableEnter:[{type:K}],onSelect:[{type:sn,args:["onSelect"]}],suggestionTemplate:[{type:Sp,args:[di,{static:!0}]}],onCompleteMethod:[{type:sn}],onFocus:[{type:sn}],onBlur:[{type:sn}],debounceTime:[{type:K}],placeholder:[{type:K}],inputStyles:[{type:K}],inputClasses:[{type:K}],typeaheadSelectClasses:[{type:K}],debugDropdown:[{type:K}],dropdownStyles:[{type:K}],dropdownClasses:[{type:K}],objectKey:[{type:K}],icon:[{type:K}],iconRight:[{type:K}],iconClick:[{type:sn}],hasError:[{type:K}],forceSelection:[{type:K}],forceSelectionError:[{type:sn}],multiLookup:[{type:K}],cancelIcon:[{type:K}],maxlength:[{type:K}],inputEl:[{type:ze,args:["inputEl"]}]}};Yb=ge([Ke({selector:"ue-typeahead",template:'\n\t\n\t\n\t\n\n\n
\n\t
\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t
\n
\n\n
\n\t
    \n\t\t\n\t\t
  • \n\t\t\t\n\t\t\t\t{{objectKey ? suggestion[objectKey] : suggestion}}\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t
  • \n\t
\n
',providers:[{provide:zi,multi:!0,useExisting:Yb}],styles:[xie()]})],Yb);var Tie=k(9276),Iie=k.n(Tie);let iE=class{set initialNameValue(e){this.typeaheadControl.patchValue(e,{emitEvent:!1})}constructor(){this.onCompleteMethod=new je,this.suggestions=[],this.selectControl=new qd,this.typeaheadControl=new qd,this._onChange=e=>{},this._onTouched=()=>{}}writeValue(e){this.selectControl.patchValue(e,{emitEvent:!1})}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.selectControl.disable(e)}onSelect(e){if(!this.valueKey)return console.error("Must provide valueKey as input to Typeahead Select component");e?this._onChange(e[this.valueKey]):this._onChange(null),this._onTouched()}onFocus(){this.selectControl.untouched&&this.onCompleteMethod.emit("")}onBlur(){this.selectControl.markAsTouched(),this._onTouched()}forceSelectionError(){this._onChange("")}getIcon(){return this.noIcon?null:"glyphicon glyphicon-lock"}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={onCompleteMethod:[{type:sn}],suggestions:[{type:K}],placeholder:[{type:K}],hasError:[{type:K}],valueKey:[{type:K}],nameKey:[{type:K}],initialNameValue:[{type:K,args:["initialNameValue"]}],typeaheadSelectClasses:[{type:K}],noIcon:[{type:K}],inputStyles:[{type:K}],dropdownStyles:[{type:K}],inputClasses:[{type:K}],dropdownClasses:[{type:K}]}};iE=ge([Ke({selector:"ue-typeahead-select",template:'\n',providers:[{provide:zi,multi:!0,useExisting:iE}],styles:[Iie()]})],iE);let v1=class{constructor(){this.closeButton=!1,this.clickClose=new je}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={title:[{type:K}],titleIcon:[{type:K}],closeButton:[{type:K}],clickClose:[{type:sn}]}};v1=ge([Ke({selector:"ue-section-title",template:'\n\t\t
\n\t\t\t
\n\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t\t{{title}}\n\t\t\t\t\t\n\t\t\t\t

\n\t\t\t
\n\t\t
\n\t'})],v1);var zt,Lie=k(7062),Pie=k.n(Lie);!function(n){n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger"}(zt||(zt={}));const rh="*";function Bb(n,e){return{type:zt.Trigger,name:n,definitions:e,options:{}}}function bf(n,e=null){return{type:zt.Animate,styles:e,timings:n}}function T4(n,e=null){return{type:zt.Sequence,steps:n,options:e}}function wc(n){return{type:zt.Style,styles:n,offset:null}}function ih(n,e,t){return{type:zt.State,name:n,styles:e,options:t}}function wf(n,e,t=null){return{type:zt.Transition,expr:n,animation:e,options:t}}class b1{static#e=this.\u0275fac=function(t){return new(t||b1)};static#t=this.\u0275prov=Ce({token:b1,factory:()=>de(oE),providedIn:"root"})}class Rie{}class oE extends b1{constructor(e,t){super(),this.animationModuleType=de(py,{optional:!0}),this._nextAnimationId=0;const s={id:"0",encapsulation:Wr.None,styles:[],data:{animation:[]}};if(this._renderer=e.createRenderer(t.body,s),null===this.animationModuleType&&!function Yie(n){const e=n.\u0275type;return 0===e||1===e}(this._renderer))throw new ae(3600,!1)}build(e){const t=this._nextAnimationId;this._nextAnimationId++;const s=Array.isArray(e)?T4(e):e;return I4(this._renderer,null,t,"register",[s]),new Oie(t,this._renderer)}static#e=this.\u0275fac=function(t){return new(t||oE)(be(kd),be(Ln))};static#t=this.\u0275prov=Ce({token:oE,factory:oE.\u0275fac,providedIn:"root"})}class Oie extends Rie{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Nie(this._id,e,t||{},this._renderer)}}class Nie{constructor(e,t,s,i){this.id=e,this.element=t,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",s)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){I4(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){return function Fie(n){const e=n.\u0275type;return 0===e?n:1===e?n.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function I4(n,e,t,s,i){n.setProperty(e,`@@${t}:${s}`,i)}class aE{constructor(e=0,t=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=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}}class A4{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,s=0,i=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(c=>{c.onDone(()=>{++t==o&&this._onFinish()}),c.onDestroy(()=>{++s==o&&this._onDestroy()}),c.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((c,d)=>Math.max(c,d.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(s=>{const i=s.totalTime?Math.min(1,t/s.totalTime):1;s.setPosition(i)})}getPosition(){const e=this.players.reduce((t,s)=>null===t||s.totalTime>t.totalTime?s:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}}let w1=class{constructor(e,t){this.el=e,this.renderer=t,this.panelVisible=!1,this.optionsToDisplay=[],this.selectItemEvent=new je}ngOnInit(){this.optionsToDisplay=this.options}ngAfterViewInit(){this.container=this.containerViewChild.nativeElement,this.panel=this.panelViewChild.nativeElement}ngOnDestroy(){this.unbindDocumentClickListener()}onMouseclick(){this.selfClick=!0,this.itemClick||(this.panelVisible?this.hide():this.show(this.panel))}show(e){this.options&&this.options.length&&(this.panelVisible=!0,e.style.zIndex=1e3),this.bindDocumentClickListener()}hide(){this.panelVisible=!1}onItemClick(e){e.command&&e.command()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen("body","click",()=>{!this.selfClick&&!this.itemClick&&(this.panelVisible=!1,this.unbindDocumentClickListener()),this.selfClick=!1,this.itemClick=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}isDivider(e){return"divider"===e.label}static#e=this.ctorParameters=()=>[{type:fn},{type:ei}];static#t=this.propDecorators={options:[{type:K}],pullRight:[{type:K}],btnLabel:[{type:K}],btnClass:[{type:K}],btnIcon:[{type:K}],maxHeight:[{type:K}],customMarginTop:[{type:K}],selectItemEvent:[{type:sn}],containerViewChild:[{type:ze,args:["container",{static:!0}]}],panelViewChild:[{type:ze,args:["panel",{static:!0}]}],template:[{type:Sp,args:[di,{static:!0}]}]}};w1=ge([Ke({selector:"ue-dropdown-menu",template:'
\n\t\n\t{{btnLabel}}\n\t\n\t\n\t
\n
\n
    \n
  • \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t{{option.label}}\n\t\t\t\t\t\n \x3c!-- --\x3e\n
  • \n
\n
\n
\n
',animations:[Bb("panelState",[ih("hidden",wc({opacity:0})),ih("visible",wc({opacity:1})),wf("visible => hidden",bf("400ms ease-in")),wf("hidden => visible",bf("400ms ease-out"))])],styles:[Pie()]})],w1);let S1=class{constructor(e){this.viewContainer=e}ngOnInit(){this.viewContainer.createEmbeddedView(this.template,{$implicit:this.template})}static#e=this.ctorParameters=()=>[{type:xi}];static#t=this.propDecorators={template:[{type:K}]}};S1=ge([Ke({selector:"ue-buttonTemplateLoader",template:""})],S1);var jie=k(3336),Vie=k.n(jie);class KY{constructor(){}static stringToNumber(e){let t=null;return""===e?t=null:"string"==typeof e?(t=e.replace(/[^\d\.]+/g,""),"."==t&&(t="0"),t=Number(t)):"number"==typeof e&&(t=e),t}static rejectWhitespace(e){let t=null;return""===e?t=null:"number"==typeof e?t=e.toString().replace(/\s/g,""):"string"==typeof e&&(t=e.replace(/\s/g,"")),t}static onlyAllowNumber(e){let t=null;return""===e?t=null:"number"==typeof e?t=e.toString().replace(/\D/g,""):"string"==typeof e&&(t=e.replace(/\D/g,"")),t}}let oh=class{constructor(){this.paginationArray=[],this.goToValueControl=new qd,this.paginationObject={},this.goToPage=new je}updatePaginationLength(e){this.paginationObject.length=e}updatePaginationObject(e,t,s){this.paginationObject.limit=Number(e),this.paginationObject.offset=Number(t),this.paginationObject.total=Number(s),this.pagination(e,t,s)}clickPage(e){this.goToPage.emit(e)}clickGo(){let e=this.goToValueControl.value;const t=this.paginationObject.limit;let i=!1;t*(e-1)===this.paginationObject.offset&&(i=!0);const o={active:i,disabled:!1,limit:t,offset:t*(e-1)};o.offset>=this.paginationObject.total&&(o.offset=this.paginationObject.total-this.paginationObject.total%o.limit),this.goToPage.emit(o)}getCurrentPage(e,t){this.currentPage=e/t+1}addNextLast(e,t){return this.paginationArray.concat([{text:"Next",limit:e,offset:this.currentPage*e,active:!1,disabled:!1},{text:"Last",limit:e,offset:(t-1)*e,active:!1,disabled:!1}])}pagination(e,t,s){this.paginationArray=[],e=Number(e),t=Number(t),s=Number(s);const i=Math.ceil(s/e);if(this.getCurrentPage(t,e),1!==i)if(this.paginationArray=[{text:"First",limit:e,offset:0,active:!1,disabled:!1},{text:"Previous",limit:e,offset:(this.currentPage-2)*e,active:!1,disabled:!1}],1===this.currentPage){if(this.paginationArray[0].disabled=!0,this.paginationArray[1].disabled=!0,i>1)for(let o=1;o<=(i<3?i:3);o++)this.paginationArray.push({text:o,limit:e,offset:(o-1)*e,active:this.currentPage===o,disabled:!1});this.paginationArray=this.addNextLast(e,i)}else if(1!==this.currentPage&&this.currentPage!==i){if(this.currentPage>i)return this.paginationArray=this.addNextLast(e,i),this.paginationArray[1].disabled=!0,void(this.paginationArray[2].disabled=!0);for(let o=this.currentPage<3?1:this.currentPage-2;o<=(this.currentPage+2>i?i:this.currentPage+2);o++)this.paginationArray.push({text:o,limit:e,offset:(o-1)*e,active:this.currentPage===o,disabled:!1});this.paginationArray=this.addNextLast(e,i)}else if(this.currentPage===i){for(let o=2===i?1:i-2;o<=(2===i?2:i);o++)this.paginationArray.push({text:o,limit:e,offset:(o-1)*e,active:this.currentPage===o});this.paginationArray.push({text:"Next",disabled:!0,active:!1},{text:"Last",disabled:!0,active:!1})}}sanitizePageNum(){let e=KY.stringToNumber(KY.onlyAllowNumber(this.goToValueControl.value));this.goToValueControl.patchValue(e)}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={paginationObject:[{type:K}],goToPage:[{type:sn}]}};oh=ge([Ke({selector:"ue-pagination",template:'
\n\t
\n\t\tShowing {{paginationObject.offset + 1}} to {{paginationObject.offset + paginationObject.length}} of {{paginationObject.total}} entries.\n\t
\n\t
\n\t\t
\n\t\t\t
\n\t\t\t\t
    \n\t\t\t\t\t
  • \n\t\t\t\t\t\t{{page.text}}\n\t\t\t\t\t
  • \n\t\t\t\t\t
  • \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
  • \n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t
\n
\n',styles:[Vie()]})],oh);var Uie=k(2022),$ie=k.n(Uie);let D1=class{constructor(){this.callBack=new je,this.onOpen=new je,this.onClose=new je,this.hideCloseButton=!1,this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.closeBtnLabel="Close",this.isOpen=!1}open(){this.ueModal.open(),this.isOpen=!0}close(){this.ueModal.close(),this.isOpen=!1,this.onClose.emit()}static#e=this.propDecorators={ueModal:[{type:ze,args:["ueModal",{static:!0}]}],header:[{type:K}],body:[{type:K}],warning:[{type:K}],icon:[{type:K}],btnClass:[{type:K}],buttonLabel:[{type:K}],callBack:[{type:sn}],onOpen:[{type:sn}],onClose:[{type:sn}],hideCloseButton:[{type:K}],closeOnEscape:[{type:K}],closeOnOutsideClick:[{type:K}],closeBtnLabel:[{type:K}]}};D1=ge([Ke({selector:"ue-confirm-modal",template:'\n\t\n\t\t

{{header}}

\n\t
\n\t\n\n\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\tWarning: {{warning}}\n\t\t\t
\n\t\t
\n\n\t
\n\t\n\t\t{{closeBtnLabel}}\n\t\t\n\t\t\t{{buttonLabel}}\n\t\t\n\t\n
',styles:[$ie()]})],D1);var Wie=k(1434),qie=k.n(Wie);let M1=class{onResize(){this.checkScrollWidth()}constructor(e){this.ref=e,this.saveColumns=new je,this.availableFields=[],this.columnsChanged=!1,this.openedCount=0,this.showColumnScroll=!1,this.showFieldScroll=!1}onDropSuccess(e){e.previousContainer===e.container?S4(e.container.data,e.previousIndex,e.currentIndex):function Jre(n,e,t,s){const i=GC(t,n.length-1),o=GC(s,e.length);n.length&&e.splice(o,0,n.splice(i,1)[0])}(e.previousContainer.data,e.container.data,e.previousIndex,e.currentIndex),this.columnsChanged=!0,this.alert.closeAlert(),this.checkScrollWidth()}checkScrollWidth(){this.ref.detectChanges();const e=this.columnContainer.nativeElement;this.showColumnScroll=e.scrollWidth>e.offsetWidth;const t=this.fieldContainer.nativeElement;this.showFieldScroll=t.scrollWidth>t.offsetWidth}scrollLeft(e){this[e].nativeElement.scrollLeft-=100}scrollRight(e){this[e].nativeElement.scrollLeft+=100}onSaveColumns(e){const t=this.tableColumns.map(s=>s.field);0!==t.length?(this.saveColumns.emit({save:e,tableColumns:t}),this.openedCount=0):this.alert.newAlert("Error!","Please save at least one column.","danger")}ngOnChanges(e){e.tableColumns&&e.tableColumns.previousValue&&this.getAvailableFields()}onOpen(){this.modalState="visible",0===this.openedCount&&(this.initialColumns=this.tableColumns.filter(()=>!0),this.getAvailableFields(),this.checkScrollWidth()),this.openedCount++}onClose(){this.modalState="hidden",this.columnsChanged=!1,this.alert.closeAlert(),this.openedCount>0&&(this.tableColumns=this.initialColumns.filter(()=>!0),this.getAvailableFields())}open(){this.customizeTableModal.open()}close(){this.customizeTableModal.close()}getAvailableFields(){this.availableFields=this.allFields.filter(e=>{if(-1===this.tableColumns.indexOf(e))return!0})}resetToDefault(){const e=[];this.defaultColumns.forEach(t=>{this.allFields.forEach(s=>{t===s.field&&e.push(s)})}),this.tableColumns=e,this.getAvailableFields(),this.columnsChanged=!0}static#e=this.ctorParameters=()=>[{type:gl}];static#t=this.propDecorators={allFields:[{type:K}],tableColumns:[{type:K}],defaultColumns:[{type:K}],saveColumns:[{type:sn}],customizeTableModal:[{type:ze,args:["customizeTableModal",{static:!0}]}],alert:[{type:ze,args:[xr,{static:!0}]}],columnContainer:[{type:ze,args:["columnContainer",{static:!0}]}],fieldContainer:[{type:ze,args:["fieldContainer",{static:!0}]}],onResize:[{type:ml,args:["window:resize",["$event"]]}]}};M1=ge([Ke({selector:"ue-customize-table-modal",template:'\n\t\t\n\t\t\t

Customize Table

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\tCurrent Fields\n\t\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{{column.label}}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t\n\t\t\t\tAvailable Fields\n\t\t\t\t

To view more columns, please drag to the Current Fields section

\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{{field.label}}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t\t\n\t\t\tCancel\n\t\t\tReset Default\n\t\t\t\x3c!-- Apply --\x3e\n\t\t\tSave\n\t\t\n
\n',animations:[Bb("modalState",[ih("hidden",wc({opacity:0,transform:"translateX(-100%)"})),ih("visible",wc({opacity:1,transform:"translateX(0)"})),wf("* => visible",bf("200ms ease-out"))])],providers:[{provide:$Y,useValue:{zIndex:1051}}],styles:[qie()]})],M1);let C1=class{constructor(){this.supportEmail="support@USAePay.com",this.privacyPolicyUrl="https://www.nmi.com/legal/privacy-policy/",this.hidePoweredBy=!1}ngOnInit(){}reportBug(){const e=window.location.href;window.open("https://fs9.formsite.com/usaepaydev/bugreport/index.html?url="+e,"_blank")}isReseller(){return-1!==window.location.href.indexOf("reseller")}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={supportEmail:[{type:K,args:["supportEmail"]}],privacyPolicyUrl:[{type:K,args:["privacyPolicyUrl"]}],hidePoweredBy:[{type:K,args:["hidePoweredBy"]}]}};C1=ge([Ke({selector:"ue-footer",template:'
\n\t\n
\n\n \n \n

License Agreement

\n Last revised : 07/18/2016\n
\n \n \n
\n\t\t\t\n
\n
\n \n \n Close\n \n
\n\n'})],C1);var Qie=k(614),Xie=k.n(Qie);let E1=class{constructor(){this.open=!1,this.cancelIcon=!1,this.getFilterSuggestions=new je,this.updateFilter=new je}ngOnInit(){this.isEmpty(this.formControlRef.value)||(this.open=!0)}handleButtonClick(){this.open?this.open&&this.isEmpty(this.formControlRef.value)?(this.open=!1,this.formControlRef.reset(),this.updateFilter.emit()):this.updateFilter.emit():this.open=!0}isEmpty(e){return""===e||null==e}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={formControlRef:[{type:K}],suggestions:[{type:K}],disableEnter:[{type:K}],dropdownClasses:[{type:K}],cancelIcon:[{type:K}],getFilterSuggestions:[{type:sn}],updateFilter:[{type:sn}],typeahead:[{type:ze,args:[Yb,{static:!0}]}]}};E1=ge([Ke({selector:"ue-table-filter",template:'
\n\t
\n\t\t\n\t\t\t
  • \n\t\t\t\t\n\t\t\t\t\tSearch For:\n\t\t\t\t\n\t\t\t
  • \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{suggestion}}\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t
    \n\t\n
    ',styles:[Xie()]})],E1);var Jie=k(9350),eoe=k.n(Jie);let x1=class{constructor(e){this.http=e}getProfile(){const e=this.baseUrl+"/profile";return this.http.get(e)}getExploreResellerList(){const e=this.baseUrl+"/explore-resellers";return this.http.get(e)}exploreReseller(e){return this.http.post(this.baseUrl+"/explore/"+e,null)}getCompanyList(){return this.http.get(`${this.baseUrl}/companies`)}getCompanyProfile(){return this.http.get(`${this.baseUrl}/profile`).pipe(js(e=>{this.currentCompanyProfile=e}))}checkoutCompany(e){return this.http.post(`${this.baseUrl}/explore`,{member_key:e})}static#e=this.ctorParameters=()=>[{type:qi}]};x1=ge([Ds()],x1);let k1=class{constructor(e){this.headerService=e,this.resellerList=[],this.companyList=[],this.companyOptions=[],this.hasError=!1,this.resellerOptions=[]}ngOnInit(){this.headerService.baseUrl=this.url,this.isReseller()?(this.getResellerName(),this.getResellerList()):this.isDeveloper()&&(this.getCompanyName(),this.getCompanyList()),this.resellerId&&this.findLogoPath()}findLogoPath(){"monitor"===this.resellerId?this.logoPath="url(/images/logo.png)":this.logoPath="url(/img/reseller-logos/"+this.resellerId+".png)"}clickHamburger(){-1!==document.body.className.indexOf("hidden-menu")?document.body.className=document.body.className.replace(/hidden-menu\b/,""):document.body.className+=" hidden-menu"}getResellerName(){this.headerService.getProfile().subscribe(e=>{this.reseller=e.company},e=>{this.handleError(e)})}getResellerList(){this.headerService.getExploreResellerList().subscribe(e=>{this.resellerList=e,this.resellerMenuDropdown()},e=>{this.handleError(e)})}isReseller(){return-1!==window.location.href.indexOf("reseller")}resellerMenuDropdown(){for(let e=0;e{}}):this.resellerOptions.push({label:this.resellerList[e].company,command:()=>{this.headerService.exploreReseller(this.resellerList[e].reseller_key).subscribe(t=>{window.location.search=""},t=>{this.handleError(t)})}})}isDeveloper(){return-1!==window.location.href.indexOf("developer")}getCompanyName(){this.headerService.getCompanyProfile().subscribe(e=>{this.company=e.company},e=>{this.handleError(e)})}getCompanyList(){this.headerService.getCompanyList().subscribe(e=>{this.companyList=e.data,this.companyMenuDropdown()},e=>{this.handleError(e)})}companyMenuDropdown(){for(let e=0;e{this.headerService.checkoutCompany(this.companyList[e].key).subscribe(t=>{window.location.search=""},t=>{this.handleError(t)})}})}handleError(e){this.hasError=!0,this.httpError=e}static#e=this.ctorParameters=()=>[{type:x1}];static#t=this.propDecorators={dropdownMenuOptions:[{type:K}],resellerId:[{type:K}],url:[{type:K}]}};k1=ge([Ke({selector:"ue-header",template:'\x3c!-- HEADER --\x3e\n',styles:[eoe()]})],k1);var noe=k(6084),soe=k.n(noe);let T1=class{constructor(e,t){this.ngZone=e,this.router=t,this.setBodyClass(),window.onresize=s=>{e.run(()=>{this.setBodyClass()})}}ngOnInit(){}ngAfterViewInit(){const t=this.router.url.split("/")[1];this.childTabs.forEach(s=>{const i=s.nativeElement.getAttribute("data-route"),o=s.nativeElement.getAttribute("data-index");if(i){const c=i.split("/")[1];t===c&&setTimeout(()=>{this.open=parseInt(o,10)})}})}findState(e){return this.open===e?"open":this.open!==e?"closed":void 0}click(e){this.open!==e?this.open=e:this.open=-1}setBodyClass(){this.getOuterWidth()<980?-1===document.body.className.indexOf("mobile-view-activated")&&(document.body.className+=" mobile-view-activated",document.body.className=document.body.className.replace(/minified\b/,"")):(document.body.className=document.body.className.replace(/mobile-view-activated\b/,""),document.body.className=document.body.className.replace(/hidden-menu\b/,""))}minify(){-1!==document.body.className.indexOf("minified")?document.body.className=document.body.className.replace(/minified\b/,""):document.body.className+=" minified"}getOuterWidth(){return window.outerWidth}static#e=this.ctorParameters=()=>[{type:vt},{type:un}];static#t=this.propDecorators={navTabs:[{type:K}],childTabs:[{type:EO,args:["tabs"]}]}};T1=ge([Ke({selector:"ue-navbar",template:'\n',animations:[Bb("slideState",[ih("open",wc({height:"*",paddingTop:"7px",paddingBottom:"7px"})),ih("closed",wc({height:"0",paddingTop:"0px",paddingBottom:"0px"})),wf("closed => open",[bf(".3s ease")]),wf("open => closed",[bf(".3s ease")])])],styles:[soe()]})],T1);let QY=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[]};QY=ge([Ke({selector:"ue-terms",template:'\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\n
    \n\t\t\t

    USA ePay \n\t\t\tGateway License / User Agreement
    \n\t\t\tversion 1. rev. 10

    \n\t\t\tTransaction Processing \n\t\t\tTerms
    \n\t\t\t

    \n\t\t\tYour Capacity and Related Matters. By accepting the terms and \n\t\t\tconditions of this Agreement, You represent and warrant that (a) You \n\t\t\tare 18 years of age or older, (b) all information You have provided \n\t\t\tto USAePay is true and correct in all respects, and (c) You will \n\t\t\tupdate USAePay by e-mail with any changes to information You have \n\t\t\tpreviously supplied. You further represent and warrant that You have \n\t\t\tthe legal authority to accept the terms and conditions of this \n\t\t\tAgreement on behalf of Your company and that such acceptance will be \n\t\t\tbinding on Your company.
    \n                          \n\t\t\t
    \n\t\t\tThis Agreement is entered by USAePay Transaction Processing Terms & Software License Agreement \n\t\t\t(herein after referred to as the "Agreement") by and between Gor \n\t\t\tCorporation, whose principal place of business is 1833 Victory Blvd, Glendale, CA 91201 (hereinafter referred to as "USAePay"), \n\t\t\tand "Merchant," whose name, complete address, business organization \n\t\t\tand type of business are stated in records stored by USAePay for \n\t\t\t"Merchant". USAePay is a \n\t\t\tsubsidiary of GorCorp, Inc., a California corporation whose \n\t\t\tprincipal place of business is in Los Angeles, California. For \n\t\t\tpurposes of this Agreement the corporate entities USAePay and Gor, \n\t\t\tInc. shall be synonymous. In consideration of the premises set forth \n\t\t\therein, USAePay and Merchant hereby agree as follows:
    \n\t\t\t
    \n\t\t\t1. USAePay agrees to perform transaction processing services \n\t\t\tfor Merchant. This includes the acceptance and authorization of \n\t\t\ttransactions forwarded from Merchant in a timely manner, the \n\t\t\tsubsequent transmission of
    \n\t\t\ttransactions to the processing network and the detailed reporting of \n\t\t\tthose transactions via Merchant\'s web-based Merchant Menu.
    \n\t\t\t
    \n\t\t\t2. By signing the Agreement, Merchant understands and agrees \n\t\t\tthat the USAePay Transaction Processing Services require additional \n\t\t\tcharges, as indicated below under Schedule of Fees, to be billed \n\t\t\tdirectly by USAePay or by registered resellers to the Merchant and payable pursuant to \n\t\t\tparagraphs 14 and 16 listed below.
    \n\t\t\t
    \n\t\t\t3. By signing this document, Merchant will indemnify, \n\t\t\tprotect, defend and hold USAePay, affiliates and / or subsidiaries \n\t\t\tand all of its or their officers, agents and / or employees, \n\t\t\tharmless from and against any and all claims, losses, demands, \n\t\t\tactions, expenses, damages, liability, and / or causes of action, \n\t\t\tincluding (without limitation) attorneys\' fees, other costs of \n\t\t\tdefense and / or collection fees, which in any way result directly \n\t\t\tor indirectly from:
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\t

    a. \n\t\t\t\t\t\tMerchant breach of this Agreement or any warranty or \n\t\t\t\t\t\trepresentation made to USAePay;

    \n\t\t\t\t\t\tb. Any damage or \n\t\t\t\t\t\tloss caused by negligence, fraud, dishonesty or willful \n\t\t\t\t\t\tbehavior by Merchant or any of Merchant employees or \n\t\t\t\t\t\tagents;
    \n\t\t\t\t\t\tc. Any contention, \n\t\t\t\t\t\twhether well-founded, baseless or otherwise, that \n\t\t\t\t\t\tMerchant violated the law or any rule or regulation;
    \n\t\t\t\t\t\td. Any damages \n\t\t\t\t\t\tresulting from or related to any failure or delay of \n\t\t\t\t\t\tUSAePay in providing Transaction Processing services \n\t\t\t\t\t\tunder this Agreement; or
    \n\t\t\t\t\t\te. Any delays in \n\t\t\t\t\t\tthe performance of services hereunder or for any failure \n\t\t\t\t\t\tto perform same hereunder if such delays are due to \n\t\t\t\t\t\tstrikes, inclement weather, acts of God, or other causes \n\t\t\t\t\t\tbeyond USAePay\ufffds reasonable control. USAePay will not be \n\t\t\t\t\t\tliable for performance of services where delayed by war, \n\t\t\t\t\t\triots, embargoes, strikes, or acts of it\'s vendors and \n\t\t\t\t\t\tsuppliers, concealed acts of workmen (whether of USAePay \n\t\t\t\t\t\tor others), or accidents. The indemnifications provided \n\t\t\t\t\t\tfor in this Article shall survive any termination of \n\t\t\t\t\t\tthis Agreement.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t4. Merchant warrants to USAePay all of the following:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. That all \n\t\t\t\t\t\trepresentations and statements made by Merchant in this \n\t\t\t\t\t\tAgreement, or in any other document relating hereto, by \n\t\t\t\t\t\tMerchant or on Merchant\'s behalf are true, accurate and \n\t\t\t\t\t\tcomplete in all material respects. Merchant hereby \n\t\t\t\t\t\tauthorizes USAePay to investigate and confirm the \n\t\t\t\t\t\tinformation herein. For this purpose, USAePay may \n\t\t\t\t\t\tutilize credit bureau / reporting agencies and / or its \n\t\t\t\t\t\town agents. Upon Merchant\'s request, USAePay will \n\t\t\t\t\t\tprovide Merchant with a copy of the results of
    b. That \n\t\t\t\t\t\tMerchant is engaged in the lawful business shown on the \n\t\t\t\t\t\tAgreement which includes the sale of merchandise and / \n\t\t\t\t\t\tor services, and is duly licensed to conduct such \n\t\t\t\t\t\tbusiness under the laws of the state, county and city in \n\t\t\t\t\t\twhich Merchant is located.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t5. USAePay shall not be liable for the individual merit and \n\t\t\tlegitimacy of orders forwarded from Merchant. This liability shall \n\t\t\tremain the Merchant\'s.
    \n\t\t\t
    \n\t\t\t6. USAePay shall in no event be liable to Merchant or \n\t\t\tPurchaser (Purchaser is any customer, client, member or entity who \n\t\t\telects to buy goods or services from Merchant) for any indirect, \n\t\t\tspecial or consequential damages or lost profits arising out of or \n\t\t\trelated to this Agreement, the performance or breach thereof, or the \n\t\t\taccuracy or correctness of the data being passed to and from \n\t\t\tMerchant, even if USAePay and/or Merchant has been advised of the \n\t\t\tpossibility thereof.
    \n\t\t\t
    \n\t\t\t7. Any claim or legal action arising out of disputes, \n\t\t\tfailures, misrepresentations, malfunctions, or defects shall be \n\t\t\twaived. In no event shall USAePay\'s liability to Merchant exceed the \n\t\t\ttotal amount Merchant paid to USAePay hereunder. Merchant agrees \n\t\t\tthat any cause or action arising out of or relating to this \n\t\t\tAgreement must commence within one (1) year after the cause of \n\t\t\taction arose; otherwise, such cause of action is permanently barred. \n\t\t\tJurisdiction of any legal proceeding arising hereby shall be Los \n\t\t\tAngeles, California, United States of America.
    \n\t\t\t
    \n\t\t\t8. Merchant agrees, as a company and/or as an individual, to \n\t\t\tdefend, indemnify, and hold harmless USAePay from any and all claims \n\t\t\tresulting from Merchant\'s use of any services contemplated under \n\t\t\tthis Agreement, which cause damage to Merchant or any other party.
    \n\t\t\t
    \n\t\t\t9. USAePay shall not be responsible or liable for \n\t\t\tunauthorized access of facilities or to Merchant\'s data or programs \n\t\t\tdue to accident, illegal or fraudulent means or devices.
    \n\t\t\t
    \n\t\t\t10. USAePay shall retain full ownership of all data submitted \n\t\t\tby either Merchant or Purchaser through the USAePay Payment Gateway \n\t\t\t(Payment Gateway refers to the electronic systems through which a \n\t\t\tMerchant may pass payment information to USAePay) including, but not \n\t\t\tlimited to name, mailing & shipping address, card verification value \n\t\t\t2, email address, phone number, dollar amount of purchase, type of \n\t\t\tpurchase and description of purchase.

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. USAePay \n\t\t\t\t\t\tPrivacy Obligation
    \n\t\t\t\t\t\tUSAePay will collect, retain, and disclose information \n\t\t\t\t\t\tand data collected from You and your customers \n\t\t\t\t\t\t(including data associated with the USAePay Services) in \n\t\t\t\t\t\taccordance with USAePay\'s then current privacy policy \n\t\t\t\t\t\tavailable at\n\t\t\t\t\t\t\n\t\t\t\t\t\thttp://www.usaepay.com/privacy.htm or such other \n\t\t\t\t\t\tlocation as specified by USAePay. You hereby consent, as \n\t\t\t\t\t\ta condition of Your enrollment in and use of the USAePay \n\t\t\t\t\t\tServices, to the collection, use, processing and \n\t\t\t\t\t\ttransfer of personal data as described in this paragraph \n\t\t\t\t\t\tand USAePay\'s privacy policies. You understand that \n\t\t\t\t\t\tUSAePay will collect and hold personal or non-public \n\t\t\t\t\t\tinformation about You and Your customers, including but \n\t\t\t\t\t\tnot limited to: Your name, address, telephone number and \n\t\t\t\t\t\te-mail address for the purpose of considering \n\t\t\t\t\t\teligibility for the USAePay Services as well Your \n\t\t\t\t\t\tcustomers\' names, mailing & shipping addresses, email \n\t\t\t\t\t\taddresses, phone number, dollar amount of purchases, \n\t\t\t\t\t\ttypes of purchases and descriptions of purchases for the \n\t\t\t\t\t\tpurpose of providing You with the USAePay Services \n\t\t\t\t\t\t("Data"). You also understand and agree that USAePay may \n\t\t\t\t\t\tobtain various consumer reports regarding You from third \n\t\t\t\t\t\tparties, run a credit check or obtain other personal or \n\t\t\t\t\t\tcredit information about You. You further understand and \n\t\t\t\t\t\tagree that USAePay, its suppliers and/or their \n\t\t\t\t\t\tagents/contractors may transfer Data among themselves as \n\t\t\t\t\t\tnecessary for the purpose of the provision and \n\t\t\t\t\t\tmanagement of the USAePay Services, and that USAePay may \n\t\t\t\t\t\tfurther transfer Data to third parties assisting USAePay \n\t\t\t\t\t\tin evaluating Your eligibility for, provision of, \n\t\t\t\t\t\tadministration and management of the USAePay Services, \n\t\t\t\t\t\tas well as under circumstances described in USAePay\'s \n\t\t\t\t\t\tprivacy policies, as they may be published on the \n\t\t\t\t\t\tUSAePay web site and changed from time to time by \n\t\t\t\t\t\tUSAePay.
    b. Data Retention
    \n\t\t\t\t\t\tYou are solely responsible for compiling and retaining \n\t\t\t\t\t\tpermanent records of all Transactions and other Data for \n\t\t\t\t\t\tYour reference. Upon the termination of this Agreement, \n\t\t\t\t\t\tUSAePay shall have no obligation to store, retain, \n\t\t\t\t\t\treport or otherwise provide any copies of or access to \n\t\t\t\t\t\tany records of Transactions or other Data collected or \n\t\t\t\t\t\tprocessed by USAePay.
    c. 3rd Party / \n\t\t\t\t\t\tMerchant Obligations
    \n\t\t\t\t\t\t
    You are solely responsible for the security of data \n\t\t\t\t\t\tresiding on server(s) owned or operated by You, or a \n\t\t\t\t\t\tthird party designated by You (e.g., a web hosting \n\t\t\t\t\t\tcompany, processor, or other service provider), \n\t\t\t\t\t\tincluding credit card numbers. You shall comply with all \n\t\t\t\t\t\tapplicable laws and regulations governing the \n\t\t\t\t\t\tcollection, retention and use by You of credit card and \n\t\t\t\t\t\tother financial information. You agree to provide notice \n\t\t\t\t\t\tto your customers on Your web site that discloses how \n\t\t\t\t\t\tand why personal and financial information is collected \n\t\t\t\t\t\tand used, including uses governed by this Agreement. \n\t\t\t\t\t\tNothing in this Agreement shall prevent or restrict You \n\t\t\t\t\t\tfrom using any information You collect or receive \n\t\t\t\t\t\tindependent of Your performance under this Agreement.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t
    \n\t\t\t11. Merchant agrees that USAePay\'s services shall only be \n\t\t\tperformed for lawful purposes. Any transaction or transmission, \n\t\t\twhich violates any Federal, State, or local laws, is expressly \n\t\t\tprohibited.
    \n\t\t\t
    \n\t\t\t12. Merchant understands that Merchant may not process orders \n\t\t\ton behalf of any other entity or individual and that the use of the \n\t\t\tTransaction processing services is provided herein as a service \n\t\t\tlicense for a single Merchant account. Any attempt to use the \n\t\t\tTransaction Processing services provided herein for more than one \n\t\t\tMerchant account without additional service licenses may result in \n\t\t\tadditional fees and charges and/or the revocation of the service \n\t\t\tlicense and termination of this Agreement. This service license is \n\t\t\ttransferable and may be sold, traded, assumed or otherwise \n\t\t\ttransferred to other individual or entity with the express written \n\t\t\tconsent of USAePay.
    \n\t\t\t
    \n\t\t\t13. This Agreement may be amended by USAePay at any time upon \n\t\t\twritten or electronic notice to Merchant of not less than ten (10) \n\t\t\tdays prior to the effective date of such amendment, except for \n\t\t\tservice fee or other fee increases, exclusive of those increases \n\t\t\tlisted in Section 17, of which will be upon thirty (30) days\' \n\t\t\tnotice.
    \n\t\t\t
    \n\t\t\t14. Merchant hereby authorizes USAePay to either initiate \n\t\t\ttransaction entries to Merchant\'s depository account number or other \n\t\t\tbusiness financial account for the monthly charges required as \n\t\t\tlisted under Schedule of Fees. This billing will occur on the last \n\t\t\tday of each month regardless of the number of days in which services \n\t\t\twere actually performed for that month. Merchant agrees that in the \n\t\t\tevent of non-payment Merchant\'s processing services may be placed on \n\t\t\thold and a non-payment fee of $25.00 will be incurred for each \n\t\t\tunsuccessful attempt to bill Merchant by either ACH debit or credit \n\t\t\tcard charge. Service will be restored immediately upon payment in \n\t\t\tfull of past due charges and fees. Merchant agrees to pay all costs \n\t\t\tand expenses of whatever nature, including attorneys\' fees and other \n\t\t\tlegal expenses, incurred by or on behalf of USAePay in connection \n\t\t\twith the collection of all unpaid charges and fees.
    \n\t\t\t
    \n\t\t\t15. Merchant agrees not to change its type of business, without the express written consent of USAePay.
    \n\t\t\t
    \n\t\t\t16. The Merchant will be considered in default when past due \n\t\t\tcharges have not been paid for 30 days and will be subject to an \n\t\t\tinterest charge of 1.5% per month on the outstanding balance.
    \n\t\t\t
    \n\t\t\t17. Merchant may terminate monthly service with 30 days \n\t\t\twritten notice and only a request in writing relieves Merchant from \n\t\t\tthe obligation to pay charges at the conclusion of thirty days from \n\t\t\tdate of receipt of notice. USAePay reserves the right to cancel \n\t\t\tMerchant\'s Transaction Processing account at any time for any \n\t\t\treason.
    \n\t\t\t
    \n\t\t\t18. If any provision in this Agreement is invalid, such \n\t\t\tinvalidity shall not affect the validity of the remaining provisions \n\t\t\tof this Agreement and Merchant and USAePay agree to substitute for \n\t\t\tthe invalid provision a valid provision which most closely \n\t\t\tapproximates the effect and intent of the invalid provision.
    \n                                    \n\t\t\t

    \n\t\t\t
    \n\t\t\t

    *Schedule of Fees\n\t\t\t
    \n\t\t\t
    \n\t\t\t
    You shall pay to \n\t\t\tUSAePay the fees set forth in the Fee Schedule provided to You by \n\t\t\tUSAePay and/or, if applicable, a Merchant Service Provider (the \n\t\t\t"Fees"). The Fee Schedule is hereby incorporated into the terms of \n\t\t\tthis Agreement by reference. If the amount(s) of one or more of the \n\t\t\tFees is more than zero, USAePay shall bill and collect such Fee(s) \n\t\t\tfrom You. If the amount(s) of one or more Fees listed in the Fee \n\t\t\tSchedule is zero or blank, USAePay shall not charge, bill, or \n\t\t\tcollect from You any such Fees. Notwithstanding the foregoing, a \n\t\t\tMerchant Service Provider may charge, bill, and collect such Fees \n\t\t\tfrom You, in the amounts stated in and in accordance with the terms \n\t\t\tand conditions of the agreement between You and such Merchant \n\t\t\tService Provider. Notwithstanding the foregoing, if Your \n\t\t\trelationship with a Merchant Service Provider that sold you the \n\t\t\tUSAePay Services expires or terminates and such Merchant Service \n\t\t\tProvider was billing You for certain Fees, then You may continue \n\t\t\tusing the USAePay Services. If You elect to continue using the \n\t\t\tUSAePay services, You acknowledge and agree that USAePay may begin \n\t\t\tto bill You for such Fees in the amounts that the Merchant Service \n\t\t\tProvider had been charging You and pursuant to the terms and \n\t\t\tconditions set forth below.
    \n\t\t\t
    \n\t\t\tYou will remit any and all amounts that are payable to USAePay under \n\t\t\tthis Agreement on a monthly basis, and the first payment shall be \n\t\t\tdue on the first day of the month immediately following the \n\t\t\tEffective Date. Unless otherwise specified herein, Fees and payments \n\t\t\tfor any subsequent time periods shall be due on the first day of the \n\t\t\tmonth. You hereby authorize USAePay to initiate transaction entries \n\t\t\tto Your depositories account or, if USAePay is unable is unable to \n\t\t\tcollect owing amounts from Your depository account, to charge Your \n\t\t\tcredit card, the numbers of which are to be provided to USAePay by \n\t\t\tYou (directly or through a Merchant Service Provider) on or before \n\t\t\tthe Effective Date, for any and all amounts owing to USAePay under \n\t\t\tthis Agreement. If Your depositories account number or credit card \n\t\t\tnumber changes, You shall promptly provide USAePay with written \n\t\t\tnotice of the change and the new number(s). If You fail to provide \n\t\t\tUSAePay with accurate current depositories account or credit card \n\t\t\tnumbers, USAePay may discontinue its performance of the USAePay \n\t\t\tServices for You until such information is provided to USAePay or \n\t\t\tterminate this Agreement. You acknowledge that any change in account \n\t\t\tinformation may not be effective until the billing month following \n\t\t\tthe second month in which USAePay receives such notice.
    \n\t\t\t
    \n\t\t\tMonthly Gateway Fee assessed the first of every month.
    \n\t\t\t- This fee is dependent on the reseller of USAePay. USAePay is not \n\t\t\tresponsible for the amount of this fee if merchant is not an \ufffdin \n\t\t\thouse\ufffd account.
    \n\t\t\t
    \n\t\t\t1. Initial Setup Cost.
    \n\t\t\t
    Fee is set by the reseller of USAePay\'s services.
    \n\t\t\t
    \n\t\t\t2. Annual Security Assessment and Audit Fee of $79.95.
    \n\t\t\t
    Fee is debited directly out of merchant\'s account every year on \n\t\t\tthe 18th of February. The Annual Security Fee is always billed in arrears. Example: The Fee Charged in February 2017 is covering 2016 year of service. The security assessment and \n\t\t\taudit fee covers all requirement for Visa\xae PCI/CISP, MasterCard\xae SDP, & \n\t\t\tAmerican Express CID, Discover DISC. This fee can be prorated if the account is cancelled before July 1st of the current year. In this case we will charge only 50% of the total amount which is $39.95. If the account is cancelled after July 1st, we charge full amount of $79.95.
    \n\t\t\t
    \n\t\t\t3. Fees for non-payment of services

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. NSF \n\t\t\t\t\t\t(non-sufficient funds) fee ($10.00) is charged the following \n\t\t\t\t\t\tmonth of billing cycle for services. Double NSF will \n\t\t\t\t\t\tresult in temporary closure of account until payment of \n\t\t\t\t\t\tbalance (including re-activation fee) is complete.\n\t\t\t\t\t\t
    b. \n\t\t\t\t\t\tRe-Activation ($25.00) fee is charged if an account is ever \n\t\t\t\t\t\tterminated temporarily due to NSF and/or merchants own \n\t\t\t\t\t\tfree will.
    \n\t\t\t
    \n\t\t\t

    4. Settlement account \n\t\t\tchange fee: $15.95 per occurrence.
    \n   
    \n\t\t\t5. Merchant DBA name change fee: $15.95 per occurrence.
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t
    *Fee Schedules subject \n\t\t\tto change without notice.
    \n                           \n\t\t\t

    \n\t\t\t
    \n\t\t\t

    USAePay Software \n\t\t\tLicense Agreement
    \n\t\t\t

    \n\t\t\t1. Grant of Software License:
    \n\t\t\t
    Upon installation/setup of the USAePay software and service (the \n\t\t\t"Software") or by using it for any purpose, you accept all the terms \n\t\t\tand conditions of this License. Please read this License in its \n\t\t\tentirety carefully before using the Software. Subject to your \n\t\t\tacceptance of the terms of this License, USAePay hereby grants to \n\t\t\tyou, the Licensee, a nonexclusive license to use the Software for \n\t\t\tsending and/or receiving payment authorizations for delivery and \n\t\t\tprocessing through an authorized payment gateway.
    \n\t\t\t
    \n\t\t\t2. Limitations:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Copyright \n\t\t\t\t\t\tProtection.
    \n\t\t\t\t\t\tThe Software is owned or licensed by USAePay and is \n\t\t\t\t\t\tsubject to protection under the copyright, patent and \n\t\t\t\t\t\ttrademark laws of the United States and other countries. \n\t\t\t\t\t\tYou may not remove any of the copyright notices, USAePay \n\t\t\t\t\t\tidentifiers, or other proprietary labels, or modify, \n\t\t\t\t\t\treverse engineer, decompile, or disassemble the binary \n\t\t\t\t\t\tcomponents of the Software.
    b. Single \n\t\t\t\t\t\tProduct.
    \n\t\t\t\t\t\tThe Software is licensed as a single product and it may \n\t\t\t\t\t\tnot be separated into its component files nor shall its \n\t\t\t\t\t\tcomponent files be used for any purpose other than as \n\t\t\t\t\t\tset forth in Section 1.
    c. \n\t\t\t\t\t\tDistribution and Copying.
    \n\t\t\t\t\t\tYou may not distribute the Software or incorporate the \n\t\t\t\t\t\tSoftware or any portion of it into any other products or \n\t\t\t\t\t\tsoftware or create derivative works from it without the \n\t\t\t\t\t\tprior written consent of USAePay.
    d. Changes \n\t\t\t\t\t\tand Updates.
    \n\t\t\t\t\t\t
    USAePay may, in its discretion, issue updates, \n\t\t\t\t\t\tcorrections, and new releases (a "Change") to the \n\t\t\t\t\t\tSoftware. USAePay is not responsible for any damages \n\t\t\t\t\t\tsuffered as a result of such Change. If USAePay chooses \n\t\t\t\t\t\tto issue a Change, the terms of this License shall apply \n\t\t\t\t\t\tto such Change and the same shall be treated as Software \n\t\t\t\t\t\thereunder. Changes may require that you agree to \n\t\t\t\t\t\tadditional or revised terms and conditions as a \n\t\t\t\t\t\tcondition of continued use of the Software. Unless \n\t\t\t\t\t\totherwise agreed to by USAePay in writing, USAePay shall \n\t\t\t\t\t\thave no obligation to provide Changes, maintenance, or \n\t\t\t\t\t\tsupport to you or any person to whom you provide access \n\t\t\t\t\t\tto the Software.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t3. Government Use:
    \n\t\t\t
    Use, duplication or disclosure by or on behalf of U.S. \n\t\t\tGovernment entities is subject to restrictions set forth in \n\t\t\tsubparagraphs (a) through (d) of the Commercial Computer-Restricted \n\t\t\tRights clause at FAR 52.227-19 when applicable, or in subparagraph \n\t\t\t(c)(1)(ii) of the Rights in Technical Data and Computer Software \n\t\t\tclause at DFARS 252.227-7013, and in similar clauses in the NASA AR \n\t\t\tSupplement. The contractor/manufacturer is USAePay, 5900 Wilshire Blvd, Suite 2700, Los Angeles, CA 90036. USA.
    \n\t\t\t
    \n\t\t\t4. Restrictions on Export:
    \n\t\t\t
    You may not setup, download or otherwise export or re-export the \n\t\t\tSoftware or any of its components, data, code or technology except \n\t\t\tin full compliance with all United States and other applicable laws \n\t\t\tand regulations. In particular, but without limitation, none of the \n\t\t\tSoftware or its components, data, code or technology may be
    \n\t\t\tdownloaded or otherwise exported or re-exported.

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. into (or to \n\t\t\t\t\t\ta national resident of) Cuba, Iraq, Libya, Sudan, North \n\t\t\t\t\t\tKorea, Iran, or Syria, Indonesia, Romania, Malaysia or
    b. to anyone on \n\t\t\t\t\t\tthe U.S. Treasury Department\'s list of Specially \n\t\t\t\t\t\tDesignated nationals or the U.S. Commerce Department\'s \n\t\t\t\t\t\tTable of Deny Orders. By downloading the Software, you \n\t\t\t\t\t\tare agreeing to the preceding terms and are representing \n\t\t\t\t\t\tand warranting that you are not located in, under the \n\t\t\t\t\t\tcontrol of, or a national or resident of any such \n\t\t\t\t\t\tcountry or on any such list.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t5. Limited Warranty:
    \n\t\t\t
    USAePay warrants that if the Software is inoperable or \n\t\t\tdefective, it will make commercially reasonable efforts to make \n\t\t\tavailable to you at no charge a replacement copy of the Software. \n\t\t\tUSAePay and its vendors disclaim all other warranties, expressed or \n\t\t\timplied, written or oral, including but not limited to those of \n\t\t\tmerchantability, fitness for a particular purpose, and infringement.\n\t\t\t
    \n\t\t\t
    \n\t\t\t6. Limitation of Damages:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Except for a \n\t\t\t\t\t\tbreach by you of your obligations under Sections 2(a), \n\t\t\t\t\t\t(b), and (c), the parties hereto, and their vendors (and \n\t\t\t\t\t\tany officers, directors, employees and agents of the \n\t\t\t\t\t\tparties, and their vendors) shall not be liable for any \n\t\t\t\t\t\tconsequential, incidental or indirect damages.
    b. Except for \n\t\t\t\t\t\tclaims arising from criminal or willful misconduct, the \n\t\t\t\t\t\tparties agree to waive any claim to seek punitive or \n\t\t\t\t\t\texemplary damages.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t7. Termination:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Either party \n\t\t\t\t\t\tmay terminate this License on 30 days written notice for \n\t\t\t\t\t\tmaterial breach by the other party of its obligations \n\t\t\t\t\t\thereunder unless such breach is cured within such 30-day \n\t\t\t\t\t\tperiod.
    b. In addition \n\t\t\t\t\t\tto your termination right under paragraph (a) you may \n\t\t\t\t\t\tterminate this license on 10 days written notice. \n\t\t\t\t\t\t
    c. In addition \n\t\t\t\t\t\tto USAePay\'s termination right under paragraph (a), \n\t\t\t\t\t\tUSAePay may terminate this license as provided in \n\t\t\t\t\t\tSection 11.
    d. Upon \n\t\t\t\t\t\ttermination of this License, you will return or destroy \n\t\t\t\t\t\tall copies of the Software in your possession. \n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t8. Notices:
    \n\t\t\t
    All notices shall be given electronically, with notices to you \n\t\t\tbeing sent to the electronic mail address which you furnish at the \n\t\t\ttime you install the Software and notices to USAePay going to legal@USAePay.com.
    \n\t\t\t
    \n\t\t\t9. Trademarks:
    \n\t\t\t
    "USAePay", the USAePay logo, "Gor Corporation", the Gor \n\t\t\tCorporation logo are trademarks of Gor Corporation. USAePay grants \n\t\t\tyou a limited, non-exclusive license to use those trademarks in \n\t\t\tdisplaying payment options on your web site and in promotional \n\t\t\tdocumentation.
    \n\t\t\t
    \n\t\t\t10. No Agency:
    \n\t\t\t
    Without USAePay\'s written consent, you will not represent that \n\t\t\tyou are an agent of USAePay, or that you have been endorsed or \n\t\t\tcertified by USAePay.
    \n\t\t\t
    \n\t\t\t11. Infringement Indemnity:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. USAePay \n\t\t\t\t\t\thereby agrees to indemnify you against any loss or \n\t\t\t\t\t\tdamage, including attorneys\' fees and costs of \n\t\t\t\t\t\tlitigation, arising from a claim that the Software \n\t\t\t\t\t\tinfringes a patent, copyright, trademark or other \n\t\t\t\t\t\tintellectual property right of any other person.
    \n 
    b. You hereby \n\t\t\t\t\t\tagree to indemnify USAePay against any loss or damage, \n\t\t\t\t\t\tincluding attorneys\' fees and costs of litigation, \n\t\t\t\t\t\tarising from a claim that the Software infringes a \n\t\t\t\t\t\tpatent, copyright, trademark or other intellectual \n\t\t\t\t\t\tproperty right resulting from:
    \n 
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    i. \n\t\t\t\t\t\t\t\t\tyour use of the Software for purposes other \n\t\t\t\t\t\t\t\t\tthan making use of a payment service \n\t\t\t\t\t\t\t\t\tauthorized by USAePay; or
    ii. \n\t\t\t\t\t\t\t\t\tan unauthorized modification of the Software \n\t\t\t\t\t\t\t\t\tby you, provided, however, that the \n\t\t\t\t\t\t\t\t\tforegoing indemnification obligation applies \n\t\t\t\t\t\t\t\t\tonly to such a claim that would have been \n\t\t\t\t\t\t\t\t\tavoided in the absence of such use or \n\t\t\t\t\t\t\t\t\tmodification.
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    c. In the event \n\t\t\t\t\t\ta party (the "Indemnified Party") becomes aware of a \n\t\t\t\t\t\tclaim described in Sections 10 (a) or (b) for which it \n\t\t\t\t\t\tmay seek indemnification, the Indemnified Party shall \n\t\t\t\t\t\tpromptly give the other party (the "Indemnifying Party") \n\t\t\t\t\t\tnotice of the claim and permit the Indemnifying Party to \n\t\t\t\t\t\tassume the defense of the claim. The Indemnified Party \n\t\t\t\t\t\tshall have the right to participate in the defense at \n\t\t\t\t\t\tits expense.
    d. USAePay \n\t\t\t\t\t\tshall have no obligation to indemnify you with respect \n\t\t\t\t\t\tto any claim to extent it is based on:
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    i. \n\t\t\t\t\t\t\t\t\tthe use of the Software for a purpose other \n\t\t\t\t\t\t\t\t\tthan using a payment service authorized by \n\t\t\t\t\t\t\t\t\tUSAePay;
    ii. \n\t\t\t\t\t\t\t\t\tThe use of the Software in combination with \n\t\t\t\t\t\t\t\t\tother products, equipment, devices or \n\t\t\t\t\t\t\t\t\tsoftware where such combination is likely to \n\t\t\t\t\t\t\t\t\tinfringe or infringes the rights of a third \n\t\t\t\t\t\t\t\t\tparty; or
    \n\t\t\t\t\t\t\t\t\tiii. The alteration or modification of the \n\t\t\t\t\t\t\t\t\tbinary elements of the Software by or for \n\t\t\t\t\t\t\t\t\tyou if such infringement charge would have \n\t\t\t\t\t\t\t\t\tbeen avoided in the absence of such \n\t\t\t\t\t\t\t\t\talteration or modification.
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    e. If the \n\t\t\t\t\t\tSoftware or any component of the Software becomes, or in \n\t\t\t\t\t\tUSAePay\'s opinion is likely to become, the subject of a \n\t\t\t\t\t\tclaim of infringement, then you shall permit USAePay, at \n\t\t\t\t\t\tits option and expense, either:
    \n 
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    i. \n\t\t\t\t\t\t\t\t\tto procure for you the right to continue \n\t\t\t\t\t\t\t\t\tusing the Software as permitted in this \n\t\t\t\t\t\t\t\t\tAgreement, or
    ii. \n\t\t\t\t\t\t\t\t\tTo replace or modify Software or the \n\t\t\t\t\t\t\t\t\tinfringing component of the
    \n\t\t\t\t\t\t\t\t\tSoftware so that it becomes non-infringing. \n\t\t\t\t\t\t\t\t\tIf, after the using commercially reasonable \n\t\t\t\t\t\t\t\t\tefforts USAePay is unable to cure the \n\t\t\t\t\t\t\t\t\tinfringement, either party may terminate \n\t\t\t\t\t\t\t\t\tthis Agreement on written notice to the \n\t\t\t\t\t\t\t\t\tother.
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t\t

    12. Payment Terms:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. It is the \n\t\t\t\t\t\tLicensee\'s understanding they will be charged the rates \n\t\t\t\t\t\tand fees for their use of the Software as set forth in \n\t\t\t\t\t\ttheir Agreement at the time of sale.
    b. If the \n\t\t\t\t\t\tLicensee fails to stay current with the payment terms as \n\t\t\t\t\t\tdescribed in 12 (a), USAePay reserves the right to \n\t\t\t\t\t\tdiscontinue use of the Software by Licensee until paid \n\t\t\t\t\t\tin full.
    \n\t\t\t
    \n\t\t\t

    13. Acceptable Use \n\t\t\tPolicy:
    \n\t\t\t
    Merchant will not engage in Net Abuse, that can be defined as \n\t\t\t(but is not limited to):

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Sending any \n\t\t\t\t\t\tkind of unsolicited or unwelcome email to a substantial \n\t\t\t\t\t\tnumber of network users, anywhere on the Internet.
    b. Posting a \n\t\t\t\t\t\tsingle article or substantially similar articles to an \n\t\t\t\t\t\texcessive number of newsgroups or mailing lists (i.e., \n\t\t\t\t\t\t20 or more).
    c. Repeated or \n\t\t\t\t\t\tdeliberate posting of articles that are off-topic \n\t\t\t\t\t\taccording to the charter of that newsgroup or mail list.
    d. Posting \n\t\t\t\t\t\tcommercial advertising in almost any conference or \n\t\t\t\t\t\tnewsgroup, unless it is specifically permitted within \n\t\t\t\t\t\tthat group. I understand that USAePay investigates all \n\t\t\t\t\t\treported occurrences of net abuse, and will take action \n\t\t\t\t\t\taccording to the circumstances and severity of the \n\t\t\t\t\t\tabuse. For first offenders, USAePay will normally issue \n\t\t\t\t\t\ta warning, and take necessary action to minimize any \n\t\t\t\t\t\tdamage. Depending on the severity of the breach of this \n\t\t\t\t\t\tpolicy, USAePay may immediately take any of the \n\t\t\t\t\t\tfollowing actions:
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    i. \n\t\t\t\t\t\t\t\t\tImmediate suspension of your account, \n\t\t\t\t\t\t\t\t\thalting all processing of credit card and/or \n\t\t\t\t\t\t\t\t\tACH transactions.
    ii. \n\t\t\t\t\t\t\t\t\tPossible termination of account. USAePay \n\t\t\t\t\t\t\t\t\twill not tolerate Net Abuse of any kind.
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t\t

    14. Agreement Provisions:
    \n\t\t\t
    This License constitutes the entire Agreement between you and \n\t\t\tUSAePay pertaining to the subject matter hereof, and supersedes in \n\t\t\ttheir entirety any and all written or oral Agreements pertaining to \n\t\t\tthe Software and its use between the parties.

    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Publicity
    \n\t\t\t\t\t\tThe parties may work together to issue publicity and \n\t\t\t\t\t\tgeneral marketing communications concerning their \n\t\t\t\t\t\trelationship and other mutually agreed-upon matters, \n\t\t\t\t\t\tprovided, however, that neither party will have any \n\t\t\t\t\t\tobligation to do so. In addition, neither party will \n\t\t\t\t\t\tissue such publicity and general marketing \n\t\t\t\t\t\tcommunications concerning this relationship without the \n\t\t\t\t\t\tprior written consent of the other party (not to be \n\t\t\t\t\t\tunreasonably withheld or delayed).
    b. Non-exclusivity
    \n\t\t\t\t\t\tEach party acknowledges and agrees that the rights \n\t\t\t\t\t\tgranted to the other party in this Agreement are \n\t\t\t\t\t\tnon-exclusive, and that, without limiting the generality \n\t\t\t\t\t\tof the foregoing, nothing in this Agreement shall be \n\t\t\t\t\t\tdeemed or construed to prohibit either party from \n\t\t\t\t\t\tparticipating in similar business arrangements as those \n\t\t\t\t\t\tdescribed herein.
    c. Severability; \n\t\t\t\t\t\tHeadings
    \n\t\t\t\t\t\tIf any provision of this Agreement is held to be invalid \n\t\t\t\t\t\tor unenforceable for any reason, the remaining \n\t\t\t\t\t\tprovisions will continue in full force without being \n\t\t\t\t\t\timpaired or invalidated in any way. The parties agree to \n\t\t\t\t\t\treplace any invalid provision with a valid provision, \n\t\t\t\t\t\twhich most closely approximates the intent and economic \n\t\t\t\t\t\teffect of the invalid provision. Headings are used for \n\t\t\t\t\t\tconvenience of reference only and in no way define, \n\t\t\t\t\t\tlimit, construe or describe the scope or extent of any \n\t\t\t\t\t\tsection, or in any way affect this Agreement.
    d. Waiver
    \n\t\t\t\t\t\t
    The failure of any party to insist on or enforce \n\t\t\t\t\t\tstrict performance of any provision of this Agreement or \n\t\t\t\t\t\tto exercise any right or remedy under this Agreement or \n\t\t\t\t\t\tapplicable law will not be construed as a waiver or \n\t\t\t\t\t\trelinquishment to any extent of the right to assert or \n\t\t\t\t\t\trely upon any such provision, right or remedy in that or \n\t\t\t\t\t\tany other instance; rather, the same will be and remain \n\t\t\t\t\t\tin full force and effect. Waiver by either party of a \n\t\t\t\t\t\tbreach of any provision contained herein must be in \n\t\t\t\t\t\twriting, and no such waiver will be construed as a \n\t\t\t\t\t\twaiver of any other and/or succeeding breach of such \n\t\t\t\t\t\tprovision or a waiver of the provision itself.
    e. Dispute Resolution
    \n\t\t\t\t\t\tAny dispute or claim arising out of or relating to this \n\t\t\t\t\t\tAgreement, except claims involving intellectual property \n\t\t\t\t\t\tand claims for indemnification, will be resolved by \n\t\t\t\t\t\tbinding arbitration. The arbitration of any dispute or \n\t\t\t\t\t\tclaim shall be conducted in accordance with the American \n\t\t\t\t\t\tArbitration Association ("AAA") rules, as modified by \n\t\t\t\t\t\tthis Agreement, and will take place in Los Angeles, \n\t\t\t\t\t\tCalifornia, USA, unless the Parties mutually agree to \n\t\t\t\t\t\thold the proceedings elsewhere. This Agreement evidences \n\t\t\t\t\t\ta transaction in interstate commerce and this \n\t\t\t\t\t\tarbitration provision will be interpreted and enforced \n\t\t\t\t\t\tin accordance with the Federal Arbitration Act and \n\t\t\t\t\t\tfederal arbitration law. An arbitrator may not award \n\t\t\t\t\t\trelief in excess of or contrary to what this Agreement \n\t\t\t\t\t\tprovides or order consolidation or arbitration on a \n\t\t\t\t\t\tclass wide or representative basis, except that the \n\t\t\t\t\t\tarbitrator may award on an individual basis damages \n\t\t\t\t\t\trequired by statute and may order injunctive or \n\t\t\t\t\t\tdeclaratory relief pursuant to an applicable consumer \n\t\t\t\t\t\tprotection statute. Any arbitration shall be \n\t\t\t\t\t\tconfidential, and neither Party may disclose the \n\t\t\t\t\t\texistence, content or results of any arbitration, except \n\t\t\t\t\t\tas may be required by law or for purposes of enforcement \n\t\t\t\t\t\tof the arbitration award. Judgment on any arbitration \n\t\t\t\t\t\taward may be entered in any court having proper \n\t\t\t\t\t\tjurisdiction. All administrative fees and expenses will \n\t\t\t\t\t\tbe divided equally between the Parties, but each Party \n\t\t\t\t\t\twill bear the expense of its own counsel, experts, \n\t\t\t\t\t\twitnesses and preparation and presentation of evidence \n\t\t\t\t\t\tat the arbitration. IF FOR ANY REASON THIS ARBITRATION \n\t\t\t\t\t\tCLAUSE IS DEEMED INAPPLICABLE OR INVALID, THE PARTIES \n\t\t\t\t\t\tWAIVE, TO THE FULLEST EXTENT ALLOWED BY LAW, ANY RIGHT \n\t\t\t\t\t\tTO PURSUE ANY CLAIMS ON A CLASS OR CONSOLIDATED BASIS OR \n\t\t\t\t\t\tIN A REPRESENTATIVE CAPACITY. No action, regardless of \n\t\t\t\t\t\tform, arising out of or in conjunction with the subject \n\t\t\t\t\t\tmatter of this Agreement, except for claims involving \n\t\t\t\t\t\tintellectual property and claims for indemnification, \n\t\t\t\t\t\tmay be brought by either Party more than one (1) year \n\t\t\t\t\t\tafter the cause of action arose.
    \n\t\t\t
    \n\t\t\t

    15. Governing Law:
    \n\t\t\t
    This License Agreement shall be governed by the laws of the \n\t\t\tState of California, United States of America.
    \n\t\t\t
    \n\t\t\t16. Malicious Attempts:
    \n\t\t\t
    Any malicious attempts taken on any entity of the USAePay \n\t\t\twebsite or software will result in immediate termination of account \n\t\t\tas well an assessed malice fee for any and all damages.
    \n\t\t\t
    \n\t\t\t

    \n\t\t\tLast revised : 03/09/2010
    \n\t\t\tversion 1. rev. 10.
    \n 

    '})],QY);let I1=class{constructor(){this.showNews=!1}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={articles:[{type:K,args:["articles"]}]}};I1=ge([Ke({selector:"ue-newsfeed",template:'
    \n\t
    \n\t\t

    \n\t\t\t\n\t\t\t\t\n\t\t\t\tNewsfeed\n\t\t\t\n\t\t

    \n\t
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t\t\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    {{ showNews ? \'Hide Older\' : \'View Older\'}}
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'})],I1);let XY=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={article:[{type:K,args:["article"]}],last:[{type:K,args:["last"]}]}};XY=ge([Ke({selector:"ue-article",template:'
    \n\t
    \n\t\t
    \n\t\t\t

    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{{article?.posted}}\n\t\t\t\t\n\t\t\t

    \n\t\t\t

    \n\t\t\t\t{{article?.title}}\n\t\t\t

    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'})],XY);var aoe=k(8234),loe=k.n(aoe);var uoe=k(4216),doe=k.n(uoe);let A1=class{constructor(){this.changeTab=new je}ngOnInit(){}clickTab(e){this.changeTab.emit(e),this.showTab=e}tabHighlight(e){if(this.highlightTabs)return-1!==this.highlightTabs.indexOf(e)}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={tabs:[{type:K}],showTab:[{type:K}],changeTab:[{type:sn}],highlightTabs:[{type:K}]}};A1=ge([Ke({selector:"ue-nav-tabs",template:'\n',styles:[doe()]})],A1);var poe=k(642),foe=k.n(poe);let jb=class{constructor(e,t,s){this.el=e,this.renderer=t,this.ngControl=s,this.error=!1,this.warning=!1,this.confirmed=!1,this.renderer.addClass(this.el.nativeElement,"mobile-center"),this.renderer.addClass(this.el.nativeElement,"input_lg"),this.renderer.addClass(this.el.nativeElement,"font-light")}focus(){this.el.nativeElement.focus()}ngOnInit(){this.ngControl&&((""===this.ngControl.control.value||null===this.ngControl.control.value)&&this.renderer.addClass(this.el.nativeElement,"empty"),this.controlSubscription=this.ngControl.control.valueChanges.subscribe(e=>{""===e||null===e?this.renderer.addClass(this.el.nativeElement,"empty"):this.renderer.removeClass(this.el.nativeElement,"empty")}))}ngAfterViewInit(){this.readonly&&this.el.nativeElement.setAttribute("readonly",!0)}ngOnDestroy(){this.controlSubscription&&this.controlSubscription.unsubscribe()}static#e=this.ctorParameters=()=>[{type:fn},{type:ei},{type:Wd,decorators:[{type:wr},{type:Fl}]}];static#t=this.propDecorators={label:[{type:K}],errorMessage:[{type:K}],note:[{type:K}],greyout:[{type:K}],readonly:[{type:K}],disabled:[{type:K}],reqDifferent:[{type:K}],warningMessage:[{type:K}],focus:[{type:K}],error:[{type:PN,args:["class.error"]},{type:K}],warning:[{type:PN,args:["class.warning"]},{type:K}],confirmed:[{type:PN,args:["class.confirmed"]},{type:K}]}};jb=ge([fl({selector:"[ueFloatInput]"})],jb);let L1=class{constructor(){}focusInput(){this.inputDirective.readonly||this.inputDirective.focus()}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={inputDirective:[{type:Sp,args:[jb,{static:!0}]}]}};L1=ge([Ke({selector:"ue-float-input-container",template:'
    \n\t\n\t\n\tNote: {{inputDirective.note}}\n\t
    * {{inputDirective.errorMessage}}
    \n\t
    * {{inputDirective.warningMessage}}
    \n
    \n',styles:[foe()]})],L1);var goe=k(4020),_oe=k.n(goe);let lE=class{constructor(){this.error=!1,this.valueChange=new je,this.isDisabled=!1,this.isEmpty=!0}ngOnChanges(e){e.value&&this.checkIfEmpty(e.value.currentValue)}inputChange(e){this.checkIfEmpty(e),this.valueChange.emit(e),this._onChange&&this._onChange(e)}inputBlur(){this._onTouch&&this._onTouch()}checkIfEmpty(e){this.isEmpty=""===e}writeValue(e){this.checkIfEmpty(e),this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouch=e}setDisabledState(e){this.isDisabled=e}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={label:[{type:K}],value:[{type:K}],inputClass:[{type:K}],error:[{type:K}],errorMessage:[{type:K}],note:[{type:K}],readonly:[{type:K}],valueChange:[{type:sn}],reqDifferent:[{type:K}]}};lE=ge([Ke({selector:"ue-float-label-select",template:'
    \n\t
    \n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tNote: {{note}}\n\t\t* {{errorMessage}}\n\t
    \n
    ',providers:[{provide:zi,multi:!0,useExisting:lE}],styles:[_oe()]})],lE);class LCe{static#e=this.emailRegex=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;static#t=this.nmiSupportEmail="support@nmi.com";static#n=this.uepSupportEmail="support@usaepay.com";static passwordMatch(e){return e.controls.password_confirm&&e.controls.password?e.controls.password_confirm.value===e.controls.password.value?null:{passwordmismatch:!0}:null}static passwordLetterOrNum(){return e=>{if(null===e.value||0===e.value.length)return null;const t=/\w*[a-zA-Z]\w*/.test(e.value),s=/\w*\d\w*/.test(e.value);return t&&s?null:{noletterornumber:!0}}}static validEmail(){return e=>{const t=e.value;if(!t)return null;const s=t.split(/[ ,;]+/);let i="";return s.forEach(o=>{this.emailRegex.test(o)||(i+=o+" ")}),0===i.length?null:{invalidEmail:!0}}}static shopifyDomain(){const e=/\.myshopify\.com$/;return t=>null===t.value||0===t.value.length||e.test(t.value)?null:{error:!0}}static multipleEmails(){return e=>null===e.value||0===e.value.length||/^[\W]*([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4}[\W]*,{1}[\W]*)*([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4})[\W]*$/.test(e.value)?null:{error:!0}}static streetAddress(){return e=>null===e.value||0===e.value.length||/^\s*\S+(?:\s+\S+){2}/.test(e.value)?null:{error:!0}}static lettersAndNum(){return e=>null!==e.value&&0!==e.value.length&&/[^A-Za-z0-9 ]+/g.test(e.value)?{error:!0}:null}static numOnly(){return e=>null===e.value||0===e.value.length||/[0-9]/.test(e.value)?null:{error:!0}}static noSymbols(){return e=>null===e.value||0===e.value.length||/^[_A-z0-9]*((-|\s)*[_A-z0-9])*$/.test(e.value)?null:{error:!0}}static minValue(e){return t=>this.sanitizeNum(t.value)this.sanitizeNum(t.value)>e?{error:!0}:null}static nonSupportEmail(){return e=>null===e.value||0===e.value.length?null:e.value.includes(this.nmiSupportEmail)||e.value.includes(this.uepSupportEmail)?{error:!0}:null}static isBetween(e,t){return s=>this.sanitizeNum(s.value)t?{error:!0}:null}static sanitizeNum(e){let t;return t="string"==typeof e?e&&e.replace(/[^\d\.-]+/g,""):e,"."===t&&(t=0),t}static validateIPs(){return e=>{if(e.value){if(null===e.value||0===e.value.length||Array.isArray(e.value))return null;const t=e.value.split(/[ ,;/\n]+/);let s="";for(let i=0;inull===t.value||0===t.value.length||e.test(t.value)?null:{error:!0}}constructor(){}}let ZY=class{constructor(){this.name="date"}transform(e,...t){return e}};ZY=ge([yv({name:"date",pure:!1})],ZY);var voe=k(5366),boe=k.n(voe);let o_=class{constructor(){this.receivedResponse=!1,this.marginOverride=!1,this.isOpened=!1,this.fadeOut=!1}ngOnDestroy(){document.body.className=document.body.className.replace(/modal-open\b/,"")}startModal(e,t=500){this.resetValues(),setTimeout(()=>{this.receivedResponse||(this.isOpened=!0,this.title=e)},t)}updateTitle(e){this.title=e}updateModal(e,t){if(this.receivedResponse=!0,this.isOpened){let s,i,o,c;"success"===e&&(s="fa-check",i="txt-success",o="stroke-success",c="Success!"),"error"===e&&(s="fa-times",i="txt-error",o="stroke-error",c="Error!"),this.updateResponse({icon:s,color:i,stroke:o,title:c,message:t})}}open(...e){this.isOpened||(this.isOpened=!0,window.setTimeout(()=>this.progressModal.nativeElement.focus(),0),document.body.className+=" modal-open")}close(...e){this.isOpened&&(this.isOpened=!1,document.body.className=document.body.className.replace(/modal-open\b/,""))}updateResponse(e){this.updateValues(e),setTimeout(()=>{this.fadeOut=!0},2e3),setTimeout(()=>{this.close(),this.resetValues(),this.fadeOut=!1},2500)}updateValues(e){this.icon=e.icon,this.color=e.color,this.stroke=e.stroke,this.title=e.title,this.message=e.message}resetValues(){this.icon="",this.color="",this.stroke="",this.title="",this.message="",this.receivedResponse=!1}preventClosing(e){e.stopPropagation()}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={icon:[{type:K}],color:[{type:K}],stroke:[{type:K}],title:[{type:K}],message:[{type:K}],receivedResponse:[{type:K}],marginOverride:[{type:K}],progressModal:[{type:ze,args:["progressModal",{static:!0}]}]}};o_=ge([Ke({selector:"ue-progress-modal",template:'\n\n\n\t\n',styles:[boe()]})],o_);var Soe=k(9126),Doe=k.n(Soe);let P1=class{constructor(){this.index=0,this.updateTime=new je,this.hour=12,this.min="00",this.ampm="PM",this.clock=this.updateClock(),this.showTime=!1,this.time=[{batch:"",value:""}]}ngOnInit(){this.makeClock();const e=new Date;let i,t=e.getHours(),s=e.getMinutes();this.timeData.value?(this.hour=this.timeData.value.split(":",2)[0],this.min=this.timeData.value.split(":",2)[1].split(" ",1)[0],this.ampm=this.timeData.value.split(":",2)[1].split(" ",2)[1],this.updateClock(),this.makeClock()):(i=t>=12?"PM":"AM",t=t>12?t-12:t,s<10&&(s="0"+s),this.hour=t,this.min=s,this.ampm=i,this.updateClock(),this.makeClock())}clickedOutside(e){this.showTime=!1}showTimePicker(e){this.allowClick(e),this.showTime=!this.showTime}allowClick(e){e.preventDefault(),e.stopPropagation()}hideTimePicker(){this.showTime=!this.showTime}updateClock(){this.clock=this.hour+":"+this.min+" "+this.ampm}hourCountUp(){this.hour>11?(this.hour=1,this.updateClock()):(this.hour++,this.updateClock()),this.makeClock()}hourCountDown(){this.hour<=1?(this.hour=12,this.updateClock()):(this.hour--,this.updateClock()),this.makeClock()}minCountUp(){this.min>=59?(this.min="0",this.hour++,this.hour>11&&(this.hour=1),this.updateClock()):(this.min++,this.updateClock()),this.min<10&&(this.min="0"+this.min,this.updateClock()),this.makeClock()}minCountDown(){this.min<1?(this.min=59,this.hour--,this.updateClock()):(this.min--,this.updateClock()),this.min<10&&(this.min="0"+this.min,this.updateClock()),this.makeClock()}ampmSet(){"PM"===this.ampm?(this.ampm="AM",this.updateClock()):(this.ampm="PM",this.updateClock()),this.makeClock()}disableInput(e){(e||window.event).preventDefault()}validate(e){const t=e||window.event;let s=t.keyCode||t.which;if(s=String.fromCharCode(s),!/[0-9]/.test(s)){if("Backspace"===t.key||"Delete"===t.key)return this.clock=this.hour+":"+this.min+" "+this.ampm,!0;t.preventDefault()}}hrLimit(e){e>12?(this.hour=12,this.updateClock()):this.updateClock(),this.makeClock()}minLimit(e){1===e.length?(this.min="0"+this.min,this.updateClock()):0===this.min.indexOf("0")&&e.length>2?(this.min=this.min.slice(1),this.updateClock()):e>59||60===e?(this.min="00",this.updateClock()):this.updateClock(),this.makeClock()}sendData(){this.makeClock()}makeClock(){return this.updateTime.emit({time:this.clock,index:this.index})}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={index:[{type:K}],timeData:[{type:K}],updateTime:[{type:sn}],clickedOutside:[{type:ml,args:["document:click",["$event"]]}]}};P1=ge([Ke({selector:"ue-time-picker",template:'
    \n',styles:[Doe()]})],P1);const Moe={linear:n=>n,easeInQuad:n=>n*n,easeOutQuad:n=>n*(2-n),easeInOutQuad:n=>n<.5?2*n*n:(4-2*n)*n-1,easeInCubic:n=>n*n*n,easeOutCubic:n=>--n*n*n+1,easeInOutCubic:n=>n<.5?4*n*n*n:(n-1)*(2*n-2)*(2*n-2)+1,easeInQuart:n=>n*n*n*n,easeOutQuart:n=>1- --n*n*n*n,easeInOutQuart:n=>n<.5?8*n*n*n*n:1-8*--n*n*n*n,easeInQuint:n=>n*n*n*n*n,easeOutQuint:n=>1+--n*n*n*n*n,easeInOutQuint:n=>n<.5?16*n*n*n*n*n:1+16*--n*n*n*n*n},Coe_easeInOutCubic="easeInOutCubic";let R1=class{set ueScrollTo(e){this.scrollTarget=e}constructor(e,t,s,i,o){this.renderer=e,this.elementRef=t,this.routerLink=s,this.routerLinkWithHref=i,this.router=o,this.scrollTarget="",this.ueScrollOffset=75,this.ueScrollDuration=500,this.ueScrollEasingFunction=Coe_easeInOutCubic,this.clicked=!1}ngAfterViewInit(){(this.routerLink||this.routerLinkWithHref)&&(this.routerSubscription=this.router.events.pipe(ms(e=>e instanceof fo)).subscribe(e=>{this.clicked&&(this.clicked=!1,this.scrollTo())})),this.renderer.setStyle(this.elementRef.nativeElement,"cursor","pointer")}ngOnDestroy(){this.routerSubscription&&this.routerSubscription.unsubscribe()}scrollTo(){const e=document.getElementById(this.scrollTarget);e?function Eoe(n,e=0,t=200,s="easeInOutCubic",i){const o=window.pageYOffset,c="now"in window.performance?performance.now():(new Date).getTime(),d=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight),h=window.innerHeight||document.documentElement.clientHeight||document.getElementsByTagName("body")[0].clientHeight,m="number"==typeof n?n:n.offsetTop,g=Math.round(d-m.99999?i&&i():requestAnimationFrame(b)}()}(e,this.ueScrollOffset,this.ueScrollDuration,this.ueScrollEasingFunction):this.clicked=!0}static#e=this.ctorParameters=()=>[{type:ei},{type:fn},{type:Mu,decorators:[{type:wr},{type:Fl}]},{type:Mu,decorators:[{type:wr},{type:Fl}]},{type:un}];static#t=this.propDecorators={ueScrollTo:[{type:K}],ueScrollOffset:[{type:K}],ueScrollDuration:[{type:K}],ueScrollEasingFunction:[{type:K}],scrollTo:[{type:ml,args:["click"]}]}};R1=ge([fl({selector:"[ueScrollTo]"})],R1);let cE=class{constructor(){this.inFocus=new V$(1)}getWindowInnerHeight(){return window.innerHeight}static#e=this.ctorParameters=()=>[]};cE=ge([Ds()],cE);let O1=class{set ueElemScrollSpy(e){this.spyId=e}get inFocus(){return this.scrollSpyService.inFocus}get elementRect(){return this.elemRef.nativeElement.getBoundingClientRect()}get windowInnerHeight(){return this.scrollSpyService.getWindowInnerHeight()}constructor(e,t){this.elemRef=e,this.scrollSpyService=t}ngOnInit(){}ngOnDestroy(){this.inFocus.next(null)}onWindowScroll(){const e=this.elementRect.top,t=this.elementRect.bottom,s=.5*this.windowInnerHeight;e[{type:fn},{type:cE}];static#t=this.propDecorators={ueElemScrollSpy:[{type:K}],onWindowScroll:[{type:ml,args:["window:scroll"]}]}};O1=ge([fl({selector:"[ueElemScrollSpy]"})],O1);let N1=class{set ueScrollSpyActive(e){this.spyId=e}constructor(e,t,s){this.scrollSpyService=e,this.elementRef=t,this.renderer=s,this.spyId=""}ngOnInit(){this.scrollSpyService.inFocus.pipe(Mb()).subscribe(e=>{e===this.spyId?this.renderer.addClass(this.elementRef.nativeElement,"active"):this.renderer.removeClass(this.elementRef.nativeElement,"active")})}static#e=this.ctorParameters=()=>[{type:cE},{type:fn},{type:ei}];static#t=this.propDecorators={ueScrollSpyActive:[{type:K}]}};var JY;N1=ge([fl({selector:"[ueScrollSpyActive]"})],N1);let L4=JY=class{static forRoot(){return{ngModule:JY,providers:[cE]}}};L4=JY=ge([pr({imports:[ua],declarations:[O1,N1],exports:[O1,N1]})],L4);let Vb=class{transform(e){return Object.keys(e).map(t=>({key:t,val:e[t]}))}};Vb=ge([yv({name:"objectloop"})],Vb);var koe=k(1682),Toe=k.n(koe);let F1=class{constructor(){this.customText=""}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={customText:[{type:K}]}};F1=ge([Ke({selector:"ue-loader",template:'
    \n\t
    \n\t\t\n\t\t\t\n\t\t\n\t\t

    {{customText ? customText : \'Loading...\'}}

    \n\t
    \n
    \n
    ',styles:[Toe()]})],F1);let uE=class{constructor(){this.type="text",this.error=!1,this.isEmpty=!0,this.isDisabled=!1}inputChange(e){this.checkIfEmpty(e),this._onChange(e)}checkIfEmpty(e){this.isEmpty=!e}writeValue(e){this.checkIfEmpty(e),this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouch=e}setDisabledState(e){this.isDisabled=e}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={type:[{type:K}],label:[{type:K}],value:[{type:K}],placeholder:[{type:K}],inputClass:[{type:K}],error:[{type:K}],errorMessage:[{type:K}],maxlength:[{type:K}],greyout:[{type:K}],inputDirective:[{type:Sp,args:[jb,{static:!0}]}]}};uE=ge([Ke({selector:"ue-float-label",template:'\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t* {{errorMessage}}\n\t\t\t
    \n\t\t
    \n\t',providers:[{provide:zi,multi:!0,useExisting:uE}],styles:[loe()]})],uE);let Y1=class{transform(e,t){let s="";return s=t||"-",e||s}};Y1=ge([yv({name:"uePlaceholder"})],Y1);let B1=class{constructor(e){this.el=e,this.tooltipPosition="right",this.tooltipEvent="hover",this.appendTo="body",this.zindex=5e3}onMouseEnter(e){"hover"===this.tooltipEvent&&(this.textToRender=this.text,this.show())}onMouseLeave(e){("hover"===this.tooltipEvent||"click"===this.tooltipEvent)&&this.hide(),this.clickedText&&"hover"===this.tooltipEvent&&(this.textToRender=this.text)}onClick(e){"click"===this.tooltipEvent&&!this.container&&(this.textToRender=this.text,this.show()),this.clickedText&&"hover"===this.tooltipEvent&&(this.hide(),this.textToRender=this.clickedText,this.show())}onFocus(e){"focus"===this.tooltipEvent&&(this.textToRender=this.text,this.show())}onBlur(e){"focus"===this.tooltipEvent&&this.hide()}show(){if(!this.text||this.disabled)return;this.create();const e="body"!==this.appendTo?{left:0,top:0}:this.getOffset(this.el.nativeElement),t=e.top,s=e.left;let i,o;switch(this.container.style.display="block",this.tooltipPosition){case"right":i=s+this.getOuterWidth(this.el.nativeElement),o=t+(this.getOuterHeight(this.el.nativeElement)-this.getOuterHeight(this.container))/2;break;case"modal-right":i=s+this.getOuterWidth(this.el.nativeElement),o=t+(this.getOuterHeight(this.el.nativeElement)-this.getOuterHeight(this.container))/1,this.container.style.position="fixed";break;case"left":i=s-this.getOuterWidth(this.container),o=t+(this.getOuterHeight(this.el.nativeElement)-this.getOuterHeight(this.container))/2;break;case"top":i=s+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/2,o=t-this.getOuterHeight(this.container);break;case"top-large":i=s+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/1,o=t-this.getOuterHeight(this.container)-20;break;case"modal-top":i=s+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/2,o=t-this.getOuterHeight(this.container),this.container.style.position="fixed";break;case"bottom":i=s+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/2,o=t+this.getOuterHeight(this.el.nativeElement)}this.container.style.left=i+"px",this.container.style.top=o+"px",this.fadeIn(this.container,250),this.container.style.zIndex=++this.zindex}hide(){this.ngOnDestroy()}create(){let e="ue-tooltip ue-tooltip-"+this.tooltipPosition;this.container=document.createElement("div"),this.tooltipStyleClass&&(e+=" "+this.tooltipStyleClass),this.container.className=e;const t=document.createElement("div");t.className="ue-tooltip-arrow",this.container.appendChild(t);const s=document.createElement("div");this.tooltipColor&&(s.style["background-color"]=this.tooltipColor),this.tooltipTextColor&&(s.style.color=this.tooltipTextColor),s.className="ue-tooltip-text",s.appendChild(document.createTextNode(this.textToRender)),this.container.appendChild(s),"body"===this.appendTo?document.body.appendChild(this.container):"target"===this.appendTo?this.appendChild(this.container,this.el.nativeElement):this.appendChild(this.container,this.appendTo)}ngOnDestroy(){this.container&&this.container.parentElement&&("body"===this.appendTo?document.body.removeChild(this.container):"target"===this.appendTo?this.el.nativeElement.removeChild(this.container):this.removeChild(this.container,this.appendTo)),this.container=null}fadeIn(e,t){e.style.opacity=0;let s=+new Date,i=0;const o=function(){i=+e.style.opacity+((new Date).getTime()-s)/t,e.style.opacity=i,s=+new Date,+i<1&&(window.requestAnimationFrame&&requestAnimationFrame(o)||setTimeout(o,16))};o()}getOuterWidth(e,t){let s=e.offsetWidth;if(t){const i=getComputedStyle(e);s+=parseFloat(i.marginLeft)+parseFloat(i.marginRight)}return s}getOuterHeight(e,t){let s=e.offsetHeight;if(t){const i=getComputedStyle(e);s+=parseFloat(i.marginTop)+parseFloat(i.marginBottom)}return s}getOffset(e){let t=e.offsetLeft,s=e.offsetTop;for(;e=e.offsetParent;)t+=e.offsetLeft,s+=e.offsetTop;return{left:t,top:s}}appendChild(e,t){if(this.isElement(t))t.appendChild(e);else{if(!t.el||!t.el.nativeElement)throw"Cannot append "+t+" to "+e;t.el.nativeElement.appendChild(e)}}removeChild(e,t){if(this.isElement(t))t.removeChild(e);else{if(!t.el||!t.el.nativeElement)throw"Cannot remove "+e+" from "+t;t.el.nativeElement.removeChild(e)}}isElement(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}static#e=this.ctorParameters=()=>[{type:fn}];static#t=this.propDecorators={text:[{type:K,args:["ueTooltip"]}],tooltipPosition:[{type:K}],tooltipEvent:[{type:K}],appendTo:[{type:K}],clickedText:[{type:K}],tooltipStyleClass:[{type:K}],tooltipColor:[{type:K}],tooltipTextColor:[{type:K}],disabled:[{type:K,args:["tooltipDisabled"]}],onMouseEnter:[{type:ml,args:["mouseenter",["$event"]]}],onMouseLeave:[{type:ml,args:["mouseleave",["$event"]]}],onClick:[{type:ml,args:["click",["$event"]]}],onFocus:[{type:ml,args:["focus",["$event"]]}],onBlur:[{type:ml,args:["blur",["$event"]]}]}};B1=ge([fl({selector:"[ueTooltip]"})],B1);let j1=class{constructor(){}ngOnInit(){}buildStyle(e){return Object.assign({},e,this.addStyle)}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={backgroundColor:[{type:K}],textColor:[{type:K}],pillClass:[{type:K}],addStyle:[{type:K}]}};j1=ge([Ke({selector:"ue-pill",template:"\n \n\n"})],j1);var Loe=k(7206),Poe=k.n(Loe);let dE=class{constructor(){this.error=!1,this.isDisabled=!1,this.isEmpty=!0,this._onChange=e=>{},this._onTouch=()=>{}}checkIfEmpty(e){this.isEmpty=!e}writeValue(e){this.checkIfEmpty(e),this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouch=e}inputChange(e){this.checkIfEmpty(e),this._onChange(e)}setDisabledState(e){this.isDisabled=e}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={label:[{type:K}],value:[{type:K}],placeholder:[{type:K}],error:[{type:K}],errorMessage:[{type:K}],inputClass:[{type:K}],note:[{type:K}]}};dE=ge([Ke({selector:"ue-float-textarea",template:'
    \n\t
    \n\t\t\n\t\t\n\t\t\n\t\t
    Note: {{note}}
    \n\t\t* {{errorMessage}}\n\t
    \n
    ',providers:[{provide:zi,useExisting:Et(()=>dE),multi:!0}],styles:[Poe()]})],dE);var Ooe=k(9644),Noe=k.n(Ooe);let V1=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={onText:[{type:K}],offText:[{type:K}],label:[{type:K}]}};V1=ge([Ke({selector:"ue-toggle",template:'
    \n\t\n
    ',styles:[Noe()]})],V1);var Yoe=k(8672),Boe=k.n(Yoe);let H1=class{constructor(){this.methodName="payment method",this.icon="um um-blank-card",this.active=!1}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={methodName:[{type:K,args:["methodName"]}],icon:[{type:K,args:["icon"]}],active:[{type:K,args:["active"]}]}};H1=ge([Ke({selector:"ue-payment-method",template:'\n',styles:[Boe()]})],H1);let U1=class{transform(e){let t=e,s=Math.floor(t/86400);t%=86400;let i=Math.floor(t/3600);t%=3600;let o=Math.floor(t/60);return t%=60,s>0?`${s}d ${i}h ${o}m ${t}s`:i>0?`${i}h ${o}m ${t}s`:o>0?`${o}m ${t}s`:`${t}s`}};U1=ge([yv({name:"ueSeconds"})],U1);var Voe=k(752),Hoe=k.n(Voe);const Uoe={ranges:[{name:"Today",value:{start:bt(),end:bt()}},{name:"Last 7 days",value:{start:bt().subtract(6,"days"),end:bt()}},{name:"Year to date",value:{start:bt().startOf("year"),end:bt()}},{name:"Previous month",value:{start:bt().subtract(1,"month").startOf("month"),end:bt().subtract(1,"month").endOf("month")}},{name:"Quarter 1",value:{start:1===bt().quarter()?bt().startOf("quarter").subtract(1,"year"):bt().startOf("year"),end:1===bt().quarter()?bt().endOf("quarter").subtract(1,"year"):bt().month("March").date(31)}},{name:"Quarter 2",value:{start:bt().quarter()<=2?bt().month("April").date(1).subtract(1,"year"):bt().month("April").date(1),end:bt().quarter()<=2?bt().month("June").date(30).subtract(1,"year"):bt().month("June").date(30)}},{name:"Quarter 3",value:{start:bt().quarter()<=3?bt().month("July").date(1).subtract(1,"year"):bt().month("July").date(1),end:bt().quarter()<=3?bt().month("September").date(30).subtract(1,"year"):bt().month("September").date(30)}},{name:"Quarter 4",value:{start:bt().quarter()<=4?bt().month("October").date(1).subtract(1,"year"):bt().month("October").date(1),end:bt().quarter()<=4?bt().month("December").date(31).subtract(1,"year"):bt().month("December").date(31)}}]};let $1=class{constructor(e){this.elem=e,this.rangeSelected=new je,this.dropdownEnable=!0,this.areOldDatesStored=!1,this.enableApplyButton=!1,this.format="MM/DD/YYYY",this.presets=Uoe.ranges,this.preset="custom"}handleOutsideClick(e){let t=e.target;const s=this.elem.nativeElement;if(s.compareDocumentPosition){if(s.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)return this.storeOldDates(),this.toggleCalendars(!0)}else if(s.contains){if(s.contains(t))return this.storeOldDates(),this.toggleCalendars(!0)}else do{if(t===s)return this.storeOldDates(),this.toggleCalendars(!0);t=t.parentNode}while(t);this.showCalendars&&(this.isAutoApply()||this.restoreOldDates(),this.toggleCalendars(!1))}ngOnInit(){this.validateMinMaxDates(),this.now=bt(),this.fromDate||this.setFromDate(this.options.startDate),this.toDate||this.setToDate(this.options.endDate),this.updateCalendar()}clickDatePicker(){this.toggleCalendars(!0),this.ngOnInit()}toggleCalendars(e){this.showCalendars=e,e||(this.areOldDatesStored=!1,this.updateCalendar())}updateCalendar(){const e=this.fromDate||this.tempFromDate,t=this.toDate||this.tempToDate;let s=bt(e,this.format);this.fromMonth=s.get("month"),this.fromYear=s.get("year"),s=bt(t,this.format),this.toMonth=s.get("month"),this.toYear=s.get("year")}getPositionClass(){let e="open-left";return"right"===this.options.position&&(e="open-right"),"center"===this.options.position&&!this.options.singleCalendar&&(e="open-center"),e}validateMinMaxDates(){this.options&&(this.options.minDate&&!this.options.maxDate&&(this.options.minDate=this.getMoment(this.options.minDate)),!this.options.minDate&&this.options.maxDate&&(this.options.maxDate=this.getMoment(this.options.maxDate)),this.options.minDate&&this.options.maxDate&&(this.options.minDate=this.getMoment(this.options.minDate),this.options.maxDate=this.getMoment(this.options.maxDate),this.options.maxDate.isBefore(this.options.minDate,"date")&&(this.options.minDate="",this.options.maxDate="",console.warn("supplied minDate is after maxDate. Discarding options for minDate and maxDate"))),this.options.minDate&&"00:00"===this.options.minDate.format("HH:mm")&&this.options.minDate.set({hour:0,minutes:0,seconds:0}),this.options.maxDate&&"00:00"===this.options.maxDate.format("HH:mm")&&this.options.maxDate.set({hour:23,minutes:59,seconds:59}))}setFromDate(e){e?this.fromDate=this.getActualFromDate(e):(this.fromDate="",this.tempFromDate=this.getActualFromDate(e))}getActualFromDate(e){let t;return(t=this.getValidateMoment(e))?this.getValidateFromDate(t):this.getValidateFromDate(bt())}getValidateFromDate(e){return this.options.minDate&&this.options.maxDate&&e.isSameOrAfter(this.options.minDate,"date")&&e.isSameOrBefore(this.options.maxDate,"date")||this.options.minDate&&!this.options.maxDate&&e.isAfter(this.options.minDate,"date")?e:this.options.minDate?this.options.minDate.clone():bt()}setToDate(e){e?this.toDate=this.getActualToDate(e):(this.toDate="",this.tempToDate=this.getActualToDate(e))}getActualToDate(e){let t;return(t=this.getValidateMoment(e))?this.getValidateToDate(t):this.getValidateToDate(bt())}getValidateToDate(e){return this.options.maxDate&&e.isSameOrAfter(this.fromDate,"date"),e.isSameOrBefore(this.options.maxDate,"date")?e:this.options.maxDate?this.options.maxDate.clone():bt()}dateChanged(e){const t=e.day,s=e.isLeft;s?(this.fromDate=t,t.isAfter(this.toDate,"date")&&(this.toDate=this.fromDate.clone())):(this.toDate=t,t.isBefore(this.fromDate,"date")&&(this.fromDate=this.toDate.clone())),this.isAutoApply()?(this.options.singleCalendar||!s)&&(this.toggleCalendars(!1),this.emitRangeSelected()):this.options.singleCalendar&&(this.enableApplyButton=!0),this.fromDate&&this.toDate?this.enableApplyButton=!0:this.enableApplyButton=!1,this.fromMonth=this.fromDate?this.fromDate.get("month"):this.fromMonth,this.toMonth=this.toDate?this.toDate.get("month"):this.toMonth}emitRangeSelected(){let e={};e=this.options.singleCalendar?{start:this.getMoment(this.fromDate)}:{start:this.getMoment(this.fromDate),end:this.getMoment(this.toDate)},this.rangeSelected.emit(e)}getMoment(e){return bt(e,this.format)}getValidateMoment(e){let t=null;return bt(e,this.format,!0).isValid()&&(t=bt(e,this.format,!0)),t}formatFromDate(e){e.target.value!==this.fromDate.format(this.format)&&this.dateChanged({day:e.target.value?this.getMoment(e.target.value):bt(),isLeft:!0})}formatToDate(e){e.target.value!==this.toDate.format(this.format)&&this.dateChanged({day:e.target.value?this.getMoment(e.target.value):bt(),isLeft:!1})}monthChanged(e){let t;e.isLeft?(t=bt([this.fromYear,this.fromMonth]).add(e.value,"months"),this.fromMonth=t.get("month"),this.fromYear=t.get("year")):(t=bt([this.toYear,this.toMonth]).add(e.value,"months"),this.toMonth=t.get("month"),this.toYear=t.get("year"))}yearChanged(e){let t;e.isLeft?(t=bt([this.fromYear,this.fromMonth]).add(e.value,"year"),this.fromMonth=t.get("month"),this.fromYear=t.get("year")):(t=bt([this.toYear,this.toMonth]).add(e.value,"year"),this.toMonth=t.get("month"),this.toYear=t.get("year"))}monthYearChanged(e){const t=bt(e.value,"M/YYYY").get("month"),s=bt(e.value,"M/YYYY").get("year");e.isLeft?(this.fromMonth=t,this.fromYear=s):(this.toMonth=t,this.toYear=s)}storeOldDates(){this.areOldDatesStored||(this.oldFromDate=this.fromDate,this.oldToDate=this.toDate,this.areOldDatesStored=!0)}restoreOldDates(){this.fromDate=this.oldFromDate,this.toDate=this.oldToDate}apply(){this.toggleCalendars(!1),this.emitRangeSelected()}cancel(){this.restoreOldDates(),this.toggleCalendars(!1)}validatePredefinedRanges(e){return e.filter(t=>!(t.value.start.isAfter(t.value.end,"date")||this.options.minDate&&t.value.start.isBefore(this.options.minDate,this.options.format)||this.options.maxDate&&t.value.end.isAfter(this.options.maxDate,this.options.format)))}applyPredefinedRange(e){this.presets.forEach(t=>{t.name===e&&(this.fromDate=t.value.start,this.setToDate(t.value.end),this.toggleCalendars(!1),this.emitRangeSelected())})}isAutoApply(){return!!this.options.singleCalendar||this.options.autoApply}dateRangeString(){let e;e=bt(this.fromDate._d).format("ll H")===this.now.format("ll H")?bt(this.options.startDate).format("MMM D, 'YY"):bt(this.fromDate).format("MMM D, 'YY");return`${e} - ${bt(this.toDate).format("MMM D, 'YY")}`}static#e=this.ctorParameters=()=>[{type:fn}];static#t=this.propDecorators={options:[{type:K}],datePickerClass:[{type:K}],rangeSelected:[{type:sn}],dropdownEnable:[{type:K}],handleOutsideClick:[{type:ml,args:["document:mousedown",["$event"]]},{type:ml,args:["document:mouseup",["$event"]]}]}};$1=ge([Ke({selector:"ue-datepicker",template:'\n \n {{options.displayDatesInside ? dateRangeString() : \'Select Date\'}}\n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n
    ',styles:[Hoe()]})],$1);var zoe=k(5831),Woe=k.n(zoe);const mi=(0,k(6625).extendMoment)(bt);let z1=class{get monthText(){return this.monthsShort[this.month]}constructor(){this.singleCalendar=!1,this.dateChanged=new je,this.monthChanged=new je,this.monthYearChanged=new je,this.monthsShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],this.weekList=[],this.monthYear="",this.monthYearList=[],this.hiddenMonthYearList=[]}getWeekNumbers(e){let t;return t=Array.from(e.by("day")).map(i=>mi(i).week()),t}getWeeksRange(e,t,s){const i=[];for(let o=0;o0&&c0&&c!==e[o-1])d=mi([t,s]).week(c).day(0),h=mi([t,s]).week(c).day(6);else{if(0!==o)continue;d=mi([t,s]).week(c).day(0),h=mi([t,s]).week(c).day(6)}const m=mi().range(d,h);i.push(m)}return i}createCalendarGridData(){const e=this.year,t=this.month;this.monthYear=this.month+1+"/"+this.year,this.hiddenMonthYearList.push({value:this.monthYear,display:mi(this.monthYear,"M/YYYY").format("MMM YYYY")});const s=mi([e,t]),i=mi(s).startOf("month"),o=mi(s).endOf("month"),c=mi().range(i,o);let d=[];d=this.getWeeksRange(this.getWeekNumbers(c),e,t);const h=[];d.map(m=>{Array.from(c.by("day"));const b=Array.from(m.by("day"));h.push(b)}),this.weekList=h}ngOnInit(){this.clickedFromDate=this.selectedFromDate,this.clickedToDate=this.selectedToDate,this.generateMonthYearList()}ngOnChanges(e){this.createCalendarGridData()}generateMonthYearList(){const e=mi(),t=e.add(1,"months").format("M/YYYY");this.monthYearList.push({value:t,display:mi(t,"M/YYYY").format("MMM YYYY")});for(let s=1;s<=24;s++){const i=e.subtract(1,"months").format("M/YYYY");this.monthYearList.push({value:i,display:mi(i,"M/YYYY").format("MMM YYYY")})}}isDisabled(e){return e.isBefore(mi(this.minDate,this.format))||e.isAfter(mi(this.maxDate,this.format))||e.isBefore(mi(this.selectedFromDate,this.format))&&!this.isLeft}isDateAvailable(e){return!(e.get("month")!==this.month||this.inactiveBeforeStart&&e.isBefore(this.selectedFromDate,"date"))}isSelectedDate(e){if(e.get("month")===this.month&&e.isSame(this.selectedFromDate,"date")||e.get("month")===this.month&&e.isSameOrAfter(this.selectedFromDate,"date")&&e.isSameOrBefore(this.selectedToDate,"date"))return!0}dateSelected(e){this.isLeft?this.selectedFromDate=e:this.selectedToDate=e,this.dateChanged.emit({day:e,isLeft:this.isLeft})}dateClicked(e){return!!(this.isLeft&&e.isSame(this.selectedFromDate,"date")||!this.isLeft&&e.isSame(this.selectedToDate,"date"))}monthSelected(e){this.monthChanged.emit({value:e,isLeft:this.isLeft})}monthYearSelected(){this.monthYearChanged.emit({value:this.monthYear,isLeft:this.isLeft})}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={month:[{type:K}],year:[{type:K}],selectedFromDate:[{type:K}],selectedToDate:[{type:K}],isLeft:[{type:K}],format:[{type:K}],minDate:[{type:K}],maxDate:[{type:K}],inactiveBeforeStart:[{type:K}],singleCalendar:[{type:K}],dateChanged:[{type:sn}],monthChanged:[{type:sn}],monthYearChanged:[{type:sn}]}};z1=ge([Ke({selector:"ue-calendar",template:'
    \n \n \n \n \n \n \n
    \n \n \n \n \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    SuMoTuWeThFrSa
    \n {{ day.format(\'D\') }}\n
    \n
    \n\n',styles:[Woe()]})],z1);let W1=class{};W1=ge([Ke({selector:"modal-header",template:""})],W1);let q1=class{};q1=ge([Ke({selector:"modal-content",template:""})],q1);let G1=class{};G1=ge([Ke({selector:"modal-footer",template:""})],G1);let hE=class{constructor(){this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.hideCloseButton=!1,this.backdrop=!0,this.onOpen=new je(!1),this.onClose=new je(!1),this.onSubmit=new je(!1),this.isOpened=!1,this.createBackDrop()}ngOnDestroy(){document.body.className=document.body.className.replace(/modal-open\b/,""),this.backdropElement&&this.backdropElement.parentNode===document.body&&document.body.removeChild(this.backdropElement)}open(...e){this.isOpened||(this.isOpened=!0,this.onOpen.emit(e),document.body.appendChild(this.backdropElement),window.setTimeout(()=>this.modalRoot.nativeElement.focus(),0),document.body.className+=" modal-open")}close(...e){this.isOpened&&(this.isOpened=!1,this.onClose.emit(e),this.backdropElement&&this.backdropElement.parentNode===document.body&&document.body.removeChild(this.backdropElement),document.body.className=document.body.className.replace(/modal-open\b/,""))}preventClosing(e){e.stopPropagation()}createBackDrop(){this.backdropElement=document.createElement("div"),this.backdropElement.classList.add("fade"),this.backdropElement.classList.add("in"),this.backdrop&&this.backdropElement.classList.add("modal-backdrop")}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={modalClass:[{type:K}],closeOnEscape:[{type:K}],closeOnOutsideClick:[{type:K}],title:[{type:K}],hideCloseButton:[{type:K}],cancelButtonLabel:[{type:K}],submitButtonLabel:[{type:K}],backdrop:[{type:K}],onOpen:[{type:sn}],onClose:[{type:sn}],onSubmit:[{type:sn}],modalRoot:[{type:ze,args:["modalRoot",{static:!0}]}]}};hE=ge([Ke({selector:"modal",template:'\n\t\t\n\t'})],hE);let K1=class{constructor(e,t){this.router=e,this.activatedRoute=t,this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.hideCloseButton=!1,this.backdrop=!0,this.onOpen=new je(!1),this.onClose=new je(!1),this.onSubmit=new je(!1),this.isOpened=!1,this.createBackDrop()}ngOnInit(){this.open()}ngOnDestroy(){document.body.className=document.body.className.replace(/modal-open\b/,""),this.backdropElement&&this.backdropElement.parentNode===document.body&&document.body.removeChild(this.backdropElement)}open(...e){this.isOpened||(this.isOpened=!0,this.onOpen.emit(e),document.body.appendChild(this.backdropElement),window.setTimeout(()=>this.modalRoot.nativeElement.focus(),0),document.body.className+=" modal-open")}close(...e){if(this.isOpened)if(this.isOpened=!1,this.onClose.emit(e),document.body.className=document.body.className.replace(/modal-open\b/,""),this.cancelUrl){let t={};this.cancelUrlExtras&&(this.cancelUrlExtras.relative&&(t.relativeTo=this.activatedRoute),t=Object.assign(t,this.cancelUrlExtras)),this.router.navigate(this.cancelUrl,t)}else window.history.back()}preventClosing(e){e.stopPropagation()}createBackDrop(){this.backdropElement=document.createElement("div"),this.backdropElement.classList.add("fade"),this.backdropElement.classList.add("in"),this.backdrop&&this.backdropElement.classList.add("modal-backdrop")}static#e=this.ctorParameters=()=>[{type:un},{type:fi}];static#t=this.propDecorators={cancelUrl:[{type:K}],cancelUrlExtras:[{type:K}],modalClass:[{type:K}],closeOnEscape:[{type:K}],closeOnOutsideClick:[{type:K}],title:[{type:K}],hideCloseButton:[{type:K}],cancelButtonLabel:[{type:K}],submitButtonLabel:[{type:K}],backdrop:[{type:K}],onOpen:[{type:sn}],onClose:[{type:sn}],onSubmit:[{type:sn}],modalRoot:[{type:ze,args:["modalRoot",{static:!0}]}]}};K1=ge([Ke({selector:"route-modal",template:'\n\t\t\n\t'})],K1);let Q1=class{};Q1=ge([pr({imports:[ua],declarations:[hE,K1,W1,q1,G1],exports:[hE,K1,W1,q1,G1]})],Q1);var Koe=k(2479),Qoe=k.n(Koe);let X1=class{constructor(){this.data={}}ngOnInit(){}detail(){window.location.href=this.detailRoute}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={data:[{type:K}],type:[{type:K}],title:[{type:K}],expandable:[{type:K}],detailRoute:[{type:K}]}};X1=ge([Ke({selector:"ue-dashboard-card",template:'
    \n\t
    \n\t\t
    {{title}}
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

     {{data.val}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

     {{data.val}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\n
    \n\t
    \n\t\t
    {{title}}
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t

    {{data.key}}

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
     
    \n\t\t\t\t

    {{data.val}}

    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\n',styles:[Qoe()]})],X1);var Zoe=k(195),Joe=k.n(Zoe);let eB=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[]};eB=ge([Ke({selector:"ue-dashboard-card-square",template:"",styles:[Joe()]})],eB);var tae=k(7046),nae=k.n(tae);let Z1=class{constructor(e){this.router=e,this.multiInputEvent=new je,this.authCode="",this.input1="",this.input2="",this.input3="",this.input4="",this.input5="",this.input6="",this.input7="",this.input8=""}multipleCodeInput(e){let t=e.srcElement.value,s=e.srcElement.nextElementSibling;null!=s&&""!=t&&"Backspace"!=e.key&&s.focus(),this.sixInput?this.authCode=this.input1+this.input2+this.input3+this.input4+this.input5+this.input6:this.authCode=this.input1+this.input2+this.input3+this.input4+this.input5+this.input6+this.input7+this.input8,this.multiInputEvent.emit(this.authCode)}backspaceEvent(e){let t=e.srcElement.previousElementSibling;t?.focus(),this.sixInput?this.authCode=this.input1+this.input2+this.input3+this.input4+this.input5+this.input6:this.authCode=this.input1+this.input2+this.input3+this.input4+this.input5+this.input6+this.input7+this.input8,this.multiInputEvent.emit(this.authCode)}pastedCode(e){let t=e.clipboardData.getData("text"),s=t.split("");this.input1=s[0],this.input2=s[1],this.input3=s[2],this.input4=s[3],this.input5=s[4],this.input6=s[5],8==t.length?(this.input7=s[6],this.input8=s[7],this.authCode=s[0]+s[1]+s[2]+s[3]+s[4]+s[5]+s[6]+s[7]):this.authCode=s[0]+s[1]+s[2]+s[3]+s[4]+s[5],this.multiInputEvent.emit(this.authCode)}static#e=this.ctorParameters=()=>[{type:un}];static#t=this.propDecorators={sixInput:[{type:K}],multiInputEvent:[{type:sn}]}};Z1=ge([Ke({selector:"ue-multi-input",template:'
    \n \n \n \n \n \n \n \n \n
    \n',styles:[nae()]})],Z1);let J1=class{transform(e){const t=Number(e);if(t<1)return"<1 minute left";let s=Math.floor(t/60);const i=t%60;let o="";return s<1?o=i+(i<2?" minute ":" minutes ")+"left":(s=i<30?s:Math.ceil(t/60),o=s+(s<2?" hour ":" hours ")+"left"),o}};J1=ge([yv({name:"ueTimeleft"})],J1);var rae=k(4534),iae=k.n(rae);let pE=class{constructor(e){this.cdRef=e,this.suggestionLookup=new Wv,this.suggestions=[],this.disableSuggestions=!1,this.showDropdown=!0,this.highlightedIndex=0,this.onSelect=new je,this.onCompleteMethod=new je,this.onFocus=new je,this.onBlur=new je,this.debounceTime=200,this.placeholder="",this.iconRight=!1,this.iconClick=new je,this.forceSelectionError=new je,this.multiLookup=!1,this.cancelIcon=!1,this.disableMouseOver=!1,this._onChange=t=>{},this.onTouched=()=>{}}ngOnInit(){this.suggestions=[],this.suggestionLookup.valueChanges.pipe(AC(this.debounceTime),Mb()).subscribe(e=>{this.suggestionLookup.disabled||this._onChange(e),this.onTouched(),this.highlightedIndex=0,this.onCompleteMethod.emit(e)})}writeValue(e){this.selectedSuggestion=e,this.suggestionLookup.patchValue(this.selectedSuggestion,{emitEvent:!1})}registerOnChange(e){this._onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){}resetField(){this.suggestionLookup.patchValue(""),this.updateInputDisplay("",!1)}handleKeys(e){if(this.disableSuggestions=!1,"ArrowDown"===e.key&&this.highlightedIndex0){this.disableMouseOver=!0,e.preventDefault();let t=this.highlightedIndex-1;this.headerKey&&this.suggestions[t].header&&(t>0?t--:t++),this.highlightedIndex=t,this.handleArrowKeys(),this.cdRef.detectChanges(),this.scrollToItem()}"Enter"===e.key&&(!0!==this.disableEnter?(this.multiLookup||e.target.blur(),this.selectDropdownOption(),this.suggestions.length<1&&this.onSelect.emit(this.suggestionLookup.value)):this.onSelect.emit(this.suggestionLookup.value))}handleArrowKeys(){this.suggestions.length>0&&(this.selectedSuggestion=this.suggestions[this.highlightedIndex],this.updateInputDisplay(this.selectedSuggestion,!1))}selectDropdownOption(){this.headerKey&&0===this.highlightedIndex&&this.suggestions[0].header&&this.highlightedIndex++;const e=this.suggestions[this.highlightedIndex];e&&!this.multiLookup?(this.selectedSuggestion=e,this.updateInputDisplay(this.selectedSuggestion),this.showDropdown=!1,this.disableSuggestions=!0,this.onSelect.emit(this.selectedSuggestion),this._onChange(this.selectedSuggestion)):e&&this.multiLookup&&(this.selectedSuggestion=e,this.updateInputDisplay(this.selectedSuggestion,!0),this.suggestions=[])}updateInputDisplay(e,t){let s;if("string"==typeof e?s=e:this.objectKey&&(s=e[this.objectKey]),this.multiLookup){const i=this.suggestionLookup.value?this.suggestionLookup.value:"",o=i.split(" ");if(o.pop(),o.push(s),i.length<1)return this.suggestionLookup.patchValue("",{emitEvent:!1}),this._onChange(""),this.onSelect.emit("");this.suggestionLookup.patchValue(o.join(" "),{emitEvent:!1}),this._onChange(this.suggestionLookup.value),t&&this.onSelect.emit(s)}else this.suggestionLookup.patchValue(s,{emitEvent:!1})}blur(){this.onBlur.emit(),this.forceSelection&&this.selectDropdownOption(),setTimeout(()=>{this.showDropdown=!1},200)}focus(){this.showDropdown=!0,this.onFocus.emit(this.suggestionLookup.value),this.onCompleteMethod.emit(""),setTimeout(()=>{this.suggestionList&&this.suggestionList.nativeElement.scrollIntoView({behavior:"smooth",block:"center"})},100)}highlightSuggestion(e){this.disableMouseOver?this.disableMouseOver=!1:(!this.headerKey||this.headerKey&&!this.suggestions[e].header)&&(this.highlightedIndex=e)}getSuggestionClass(e){let t="";return this.headerKey&&this.suggestions[e].header?t="suggestionHeader":this.headerKey&&!this.suggestions[e].header?(t="pointer suggestionItem",e===this.highlightedIndex&&(t+=" highlight active"+e)):e===this.highlightedIndex&&(t="pointer highlight active"+e),t}scrollToItem(){const e=document.querySelector("li.active"+this.highlightedIndex);e&&(this.disableMouseOver=!0,e.scrollIntoView({behavior:"smooth",block:"center"}))}static#e=this.ctorParameters=()=>[{type:gl}];static#t=this.propDecorators={suggestions:[{type:K}],disableEnter:[{type:K}],onSelect:[{type:sn,args:["onSelect"]}],suggestionTemplate:[{type:Sp,args:[di,{static:!0}]}],onCompleteMethod:[{type:sn}],onFocus:[{type:sn}],onBlur:[{type:sn}],debounceTime:[{type:K}],placeholder:[{type:K}],inputStyles:[{type:K}],inputClasses:[{type:K}],typeaheadSelectClasses:[{type:K}],debugDropdown:[{type:K}],dropdownStyles:[{type:K}],dropdownClasses:[{type:K}],objectKey:[{type:K}],icon:[{type:K}],iconRight:[{type:K}],iconClick:[{type:sn}],hasError:[{type:K}],forceSelection:[{type:K}],forceSelectionError:[{type:sn}],multiLookup:[{type:K}],cancelIcon:[{type:K}],maxlength:[{type:K}],headerKey:[{type:K}],inputEl:[{type:ze,args:["inputEl"]}],suggestionList:[{type:ze,args:["suggestionList",{static:!1}]}]}};pE=ge([Ke({selector:"ue-typeahead-group",template:'\n\t\n\t\n\t\n\n\n
    \n\t
    \n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t
    \n
    \n\n
    \n\t
      \n\t\t\n\t\t
    • \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{objectKey ? suggestion[objectKey] : suggestion}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t
    • \n\t
    \n
    ',providers:[{provide:zi,multi:!0,useExisting:pE}],changeDetection:wa.OnPush,styles:[iae()]})],pE);let xu=class{};xu=ge([pr({imports:[ua,Xv,Fg,tE,Q1,g1,JC,Er,u1,c1],declarations:[_1,y1,oh,D1,Yb,iE,pE,v1,w1,S1,M1,k1,T1,C1,QY,E1,uE,lE,I1,XY,Y1,B1,j1,o_,dE,jb,L1,V1,A1,ZY,P1,H1,R1,U1,Vb,$1,z1,F1,X1,eB,Vb,Z1,J1],providers:[qY,x1],exports:[ua,Fg,Xv,Q1,g1,JC,tE,_1,y1,oh,D1,Yb,iE,pE,v1,w1,S1,M1,k1,T1,C1,E1,uE,lE,I1,u1,Y1,B1,j1,o_,dE,jb,L1,V1,A1,P1,H1,R1,U1,Vb,$1,z1,F1,Vb,X1,Z1,J1]})],xu);function P4(n){return new ae(3e3,!1)}function Sf(n){switch(n.length){case 0:return new aE;case 1:return n[0];default:return new A4(n)}}function R4(n,e,t=new Map,s=new Map){const i=[],o=[];let c=-1,d=null;if(e.forEach(h=>{const m=h.get("offset"),g=m==c,b=g&&d||new Map;h.forEach((E,x)=>{let P=x,F=E;if("offset"!==x)switch(P=n.normalizePropertyName(P,i),F){case"!":F=t.get(x);break;case rh:F=s.get(x);break;default:F=n.normalizeStyleValue(x,P,F,i)}b.set(P,F)}),g||o.push(b),d=b,c=m}),i.length)throw function kae(n){return new ae(3502,!1)}();return o}function tB(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&nB(t,"start",n)));break;case"done":n.onDone(()=>s(t&&nB(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&nB(t,"destroy",n)))}}function nB(n,e,t){const s=t.totalTime,i=!!t.disabled,o=sB(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),c=n._data;return null!=c&&(o._data=c),o}function sB(n,e,t,s,i="",o=0,c){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:o,disabled:!!c}}function Oa(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function O4(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}const jae=typeof document>"u"?null:document.documentElement;function rB(n){const e=n.parentNode||n.host||null;return e===jae?null:e}let a_=null,N4=!1;function Hae(n){a_||(a_=function Uae(){return typeof document<"u"?document.body:null}()||{},N4=!!a_.style&&"WebkitAppearance"in a_.style);let e=!0;return a_.style&&!function Vae(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in a_.style,!e&&N4&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in a_.style)),e}function F4(n,e){for(;e;){if(e===n)return!0;e=rB(e)}return!1}function Y4(n,e,t){if(t)return Array.from(n.querySelectorAll(e));const s=n.querySelector(e);return s?[s]:[]}class l_{validateStyleProperty(e){return Hae(e)}containsElement(e,t){return F4(e,t)}getParentElement(e){return rB(e)}query(e,t,s){return Y4(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,t,s,i,o,c=[],d){return new aE(s,i)}static#e=this.\u0275fac=function(t){return new(t||l_)};static#t=this.\u0275prov=Ce({token:l_,factory:l_.\u0275fac})}class iB{static#e=this.NOOP=new l_}class oB{}const zae=1e3,aB="ng-enter",eL="ng-leave",tL="ng-trigger",nL=".ng-trigger",j4="ng-animating",lB=".ng-animating";function ah(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:cB(parseFloat(e[1]),e[2])}function cB(n,e){return"s"===e?n*zae:n}function sL(n,e,t){return n.hasOwnProperty("duration")?n:function qae(n,e,t){const s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let i,o=0,c="";if("string"==typeof n){const d=n.match(s);if(null===d)return e.push(P4()),{duration:0,delay:0,easing:""};i=cB(parseFloat(d[1]),d[2]);const h=d[3];null!=h&&(o=cB(parseFloat(h),d[4]));const m=d[5];m&&(c=m)}else i=n;if(!t){let d=!1,h=e.length;i<0&&(e.push(function oae(){return new ae(3100,!1)}()),d=!0),o<0&&(e.push(function aae(){return new ae(3101,!1)}()),d=!0),d&&e.splice(h,0,P4())}return{duration:i,delay:o,easing:c}}(n,e,t)}function ku(n,e,t){e.forEach((s,i)=>{const o=dB(i);t&&!t.has(i)&&t.set(i,n.style[o]),n.style[o]=s})}function c_(n,e){e.forEach((t,s)=>{const i=dB(s);n.style[i]=""})}function fE(n){return Array.isArray(n)?1==n.length?n[0]:T4(n):n}function Kae(n,e,t){const s=e.params||{},i=H4(n);i.length&&i.forEach(o=>{s.hasOwnProperty(o)||t.push(function lae(n){return new ae(3001,!1)}())})}const uB=new RegExp("{{\\s*(.+?)\\s*}}","g");function H4(n){let e=[];if("string"==typeof n){let t;for(;t=uB.exec(n);)e.push(t[1]);uB.lastIndex=0}return e}function mE(n,e,t){const s=`${n}`,i=s.replace(uB,(o,c)=>{let d=e[c];return null==d&&(t.push(function cae(n){return new ae(3003,!1)}()),d=""),d.toString()});return i==s?n:i}const Qae=/-+([a-z0-9])/g;function dB(n){return n.replace(Qae,(...e)=>e[1].toUpperCase())}function Na(n,e,t){switch(e.type){case zt.Trigger:return n.visitTrigger(e,t);case zt.State:return n.visitState(e,t);case zt.Transition:return n.visitTransition(e,t);case zt.Sequence:return n.visitSequence(e,t);case zt.Group:return n.visitGroup(e,t);case zt.Animate:return n.visitAnimate(e,t);case zt.Keyframes:return n.visitKeyframes(e,t);case zt.Style:return n.visitStyle(e,t);case zt.Reference:return n.visitReference(e,t);case zt.AnimateChild:return n.visitAnimateChild(e,t);case zt.AnimateRef:return n.visitAnimateRef(e,t);case zt.Query:return n.visitQuery(e,t);case zt.Stagger:return n.visitStagger(e,t);default:throw function uae(n){return new ae(3004,!1)}(e.type)}}function hB(n,e){return window.getComputedStyle(n)[e]}const Jae=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 U4 extends oB{normalizePropertyName(e,t){return dB(e)}normalizeStyleValue(e,t,s,i){let o="";const c=s.toString().trim();if(Jae.has(t)&&0!==s&&"0"!==s)if("number"==typeof s)o="px";else{const d=s.match(/^[+-]?[\d\.]+([a-z]*)$/);d&&0==d[1].length&&i.push(function dae(n,e){return new ae(3005,!1)}())}return c+o}}const rL="*";function ele(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(s=>function tle(n,e,t){if(":"==n[0]){const h=function nle(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}(n,t);if("function"==typeof h)return void e.push(h);n=h}const s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return t.push(function Dae(n){return new ae(3015,!1)}()),e;const i=s[1],o=s[2],c=s[3];e.push($4(i,c));const d=i==rL&&c==rL;"<"==o[0]&&!d&&e.push($4(c,i))}(s,t,e)):t.push(n),t}const iL=new Set(["true","1"]),oL=new Set(["false","0"]);function $4(n,e){const t=iL.has(n)||oL.has(n),s=iL.has(e)||oL.has(e);return(i,o)=>{let c=n==rL||n==i,d=e==rL||e==o;return!c&&t&&"boolean"==typeof i&&(c=i?iL.has(n):oL.has(n)),!d&&s&&"boolean"==typeof o&&(d=o?iL.has(e):oL.has(e)),c&&d}}const z4=":self",sle=new RegExp("s*:selfs*,?","g");function pB(n,e,t,s){return new rle(n).build(e,t,s)}class rle{constructor(e){this._driver=e}build(e,t,s){const i=new ale(t);return this._resetContextStyleTimingState(i),Na(this,fE(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0;const o=[],c=[];return"@"==e.name.charAt(0)&&t.errors.push(function hae(){return new ae(3006,!1)}()),e.definitions.forEach(d=>{if(this._resetContextStyleTimingState(t),d.type==zt.State){const h=d,m=h.name;m.toString().split(/\s*,\s*/).forEach(g=>{h.name=g,o.push(this.visitState(h,t))}),h.name=m}else if(d.type==zt.Transition){const h=this.visitTransition(d,t);s+=h.queryCount,i+=h.depCount,c.push(h)}else t.errors.push(function pae(){return new ae(3007,!1)}())}),{type:zt.Trigger,name:e.name,states:o,transitions:c,queryCount:s,depCount:i,options:null}}visitState(e,t){const s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){const o=new Set,c=i||{};s.styles.forEach(d=>{d instanceof Map&&d.forEach(h=>{H4(h).forEach(m=>{c.hasOwnProperty(m)||o.add(m)})})}),o.size&&t.errors.push(function fae(n,e){return new ae(3008,!1)}(e.name,o.values()))}return{type:zt.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const s=Na(this,fE(e.animation),t),i=ele(e.expr,t.errors);return{type:zt.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:u_(e.options)}}visitSequence(e,t){return{type:zt.Sequence,steps:e.steps.map(s=>Na(this,s,t)),options:u_(e.options)}}visitGroup(e,t){const s=t.currentTime;let i=0;const o=e.steps.map(c=>{t.currentTime=s;const d=Na(this,c,t);return i=Math.max(i,t.currentTime),d});return t.currentTime=i,{type:zt.Group,steps:o,options:u_(e.options)}}visitAnimate(e,t){const s=function cle(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n){return fB(sL(n,e).duration,0,"")}const t=n;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=fB(0,0,"");return o.dynamic=!0,o.strValue=t,o}const i=sL(t,e);return fB(i.duration,i.delay,i.easing)}(e.timings,t.errors);t.currentAnimateTimings=s;let i,o=e.styles?e.styles:wc({});if(o.type==zt.Keyframes)i=this.visitKeyframes(o,t);else{let c=e.styles,d=!1;if(!c){d=!0;const m={};s.easing&&(m.easing=s.easing),c=wc(m)}t.currentTime+=s.duration+s.delay;const h=this.visitStyle(c,t);h.isEmptyStep=d,i=h}return t.currentAnimateTimings=null,{type:zt.Animate,timings:s,style:i,options:null}}visitStyle(e,t){const s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){const s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let d of i)"string"==typeof d?d===rh?s.push(d):t.errors.push(new ae(3002,!1)):s.push(new Map(Object.entries(d)));let o=!1,c=null;return s.forEach(d=>{if(d instanceof Map&&(d.has("easing")&&(c=d.get("easing"),d.delete("easing")),!o))for(let h of d.values())if(h.toString().indexOf("{{")>=0){o=!0;break}}),{type:zt.Style,styles:s,easing:c,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,t){const s=t.currentAnimateTimings;let i=t.currentTime,o=t.currentTime;s&&o>0&&(o-=s.duration+s.delay),e.styles.forEach(c=>{"string"!=typeof c&&c.forEach((d,h)=>{const m=t.collectedStyles.get(t.currentQuerySelector),g=m.get(h);let b=!0;g&&(o!=i&&o>=g.startTime&&i<=g.endTime&&(t.errors.push(function gae(n,e,t,s,i){return new ae(3010,!1)}(0,g.startTime,g.endTime)),b=!1),o=g.startTime),b&&m.set(h,{startTime:o,endTime:i}),t.options&&Kae(d,t.options,t.errors)})})}visitKeyframes(e,t){const s={type:zt.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function _ae(){return new ae(3011,!1)}()),s;let o=0;const c=[];let d=!1,h=!1,m=0;const g=e.steps.map(W=>{const z=this._makeStyleAst(W,t);let ie=null!=z.offset?z.offset:function lle(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(z.styles),ce=0;return null!=ie&&(o++,ce=z.offset=ie),h=h||ce<0||ce>1,d=d||ce0&&o{const ie=E>0?z==x?1:E*z:c[z],ce=ie*H;t.currentTime=P+F.delay+ce,F.duration=ce,this._validateStyleAst(W,t),W.offset=ie,s.styles.push(W)}),s}visitReference(e,t){return{type:zt.Reference,animation:Na(this,fE(e.animation),t),options:u_(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:zt.AnimateChild,options:u_(e.options)}}visitAnimateRef(e,t){return{type:zt.AnimateRef,animation:this.visitReference(e.animation,t),options:u_(e.options)}}visitQuery(e,t){const s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;const[o,c]=function ile(n){const e=!!n.split(/\s*,\s*/).find(t=>t==z4);return e&&(n=n.replace(sle,"")),n=n.replace(/@\*/g,nL).replace(/@\w+/g,t=>nL+"-"+t.slice(1)).replace(/:animating/g,lB),[n,e]}(e.selector);t.currentQuerySelector=s.length?s+" "+o:o,Oa(t.collectedStyles,t.currentQuerySelector,new Map);const d=Na(this,fE(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:zt.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:c,animation:d,originalSelector:e.selector,options:u_(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function wae(){return new ae(3013,!1)}());const s="full"===e.timings?{duration:0,delay:0,easing:"full"}:sL(e.timings,t.errors,!0);return{type:zt.Stagger,animation:Na(this,fE(e.animation),t),timings:s,options:null}}}class ale{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function u_(n){return n?(n={...n}).params&&(n.params=function ole(n){return n?{...n}:null}(n.params)):n={},n}function fB(n,e,t){return{duration:n,delay:e,easing:t}}function mB(n,e,t,s,i,o,c=null,d=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:o,totalTime:i+o,easing:c,subTimeline:d}}class aL{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const hle=new RegExp(":enter","g"),fle=new RegExp(":leave","g");function gB(n,e,t,s,i,o=new Map,c=new Map,d,h,m=[]){return(new mle).buildKeyframes(n,e,t,s,i,o,c,d,h,m)}class mle{buildKeyframes(e,t,s,i,o,c,d,h,m,g=[]){m=m||new aL;const b=new _B(e,t,m,i,o,g,[]);b.options=h;const E=h.delay?ah(h.delay):0;b.currentTimeline.delayNextStep(E),b.currentTimeline.setStyles([c],null,b.errors,h),Na(this,s,b);const x=b.timelines.filter(P=>P.containsAnimation());if(x.length&&d.size){let P;for(let F=x.length-1;F>=0;F--){const H=x[F];if(H.element===t){P=H;break}}P&&!P.allowOnlyTimelineStyles()&&P.setStyles([d],null,b.errors,h)}return x.length?x.map(P=>P.buildKeyframes()):[mB(t,[],[],[],0,E,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const s=t.subInstructions.get(t.element);if(s){const i=t.createSubContext(e.options),o=t.currentTimeline.currentTime,c=this._visitSubInstructions(s,i,i.options);o!=c&&t.transformIntoNewTimeline(c)}t.previousNode=e}visitAnimateRef(e,t){const s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(const i of e){const o=i?.delay;if(o){const c="number"==typeof o?o:ah(mE(o,i?.params??{},t.errors));s.delayNextStep(c)}}}_visitSubInstructions(e,t,s){let o=t.currentTimeline.currentTime;const c=null!=s.duration?ah(s.duration):null,d=null!=s.delay?ah(s.delay):null;return 0!==c&&e.forEach(h=>{const m=t.appendInstructionToTimeline(h,c,d);o=Math.max(o,m.duration+m.delay)}),o}visitReference(e,t){t.updateOptions(e.options,!0),Na(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const s=t.subContextCount;let i=t;const o=e.options;if(o&&(o.params||o.delay)&&(i=t.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){i.previousNode.type==zt.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=lL);const c=ah(o.delay);i.delayNextStep(c)}e.steps.length&&(e.steps.forEach(c=>Na(this,c,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const s=[];let i=t.currentTimeline.currentTime;const o=e.options&&e.options.delay?ah(e.options.delay):0;e.steps.forEach(c=>{const d=t.createSubContext(e.options);o&&d.delayNextStep(o),Na(this,c,d),i=Math.max(i,d.currentTimeline.currentTime),s.push(d.currentTimeline)}),s.forEach(c=>t.currentTimeline.mergeTimelineCollectedStyles(c)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const s=e.strValue;return sL(t.params?mE(s,t.params,t.errors):s,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());const o=e.style;o.type==zt.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(s.duration),this.visitStyle(o,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();const o=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(o):s.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const s=t.currentAnimateTimings,i=t.currentTimeline.duration,o=s.duration,d=t.createSubContext().currentTimeline;d.easing=s.easing,e.styles.forEach(h=>{const m=h.offset||0;d.forwardTime(m*o),d.setStyles(h.styles,h.easing,t.errors,t.options),d.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(d),t.transformIntoNewTimeline(i+o),t.previousNode=e}visitQuery(e,t){const s=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?ah(i.delay):0;o&&(t.previousNode.type===zt.Style||0==s&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=lL);let c=s;const d=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=d.length;let h=null;d.forEach((m,g)=>{t.currentQueryIndex=g;const b=t.createSubContext(e.options,m);o&&b.delayNextStep(o),m===t.element&&(h=b.currentTimeline),Na(this,e.animation,b),b.currentTimeline.applyStylesToKeyframe();const E=b.currentTimeline.currentTime;c=Math.max(c,E)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(c),h&&(t.currentTimeline.mergeTimelineCollectedStyles(h),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const s=t.parentContext,i=t.currentTimeline,o=e.timings,c=Math.abs(o.duration),d=c*(t.currentQueryTotal-1);let h=c*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":h=d-h;break;case"full":h=s.currentStaggerTime}const g=t.currentTimeline;h&&g.delayNextStep(h);const b=g.currentTime;Na(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-b+(i.startTime-s.currentTimeline.startTime)}}const lL={};class _B{constructor(e,t,s,i,o,c,d,h){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=o,this.errors=c,this.timelines=d,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=lL,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=h||new cL(this._driver,t,0),d.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const s=e;let i=this.options;null!=s.duration&&(i.duration=ah(s.duration)),null!=s.delay&&(i.delay=ah(s.delay));const o=s.params;if(o){let c=i.params;c||(c=this.options.params={}),Object.keys(o).forEach(d=>{(!t||!c.hasOwnProperty(d))&&(c[d]=mE(o[d],c,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){const i=t||this.element,o=new _B(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=lL,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){const i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},o=new gle(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,o,c){let d=[];if(i&&d.push(this.element),e.length>0){e=(e=e.replace(hle,"."+this._enterClassName)).replace(fle,"."+this._leaveClassName);const h=1!=s;let m=this._driver.query(this.element,e,h);0!==s&&(m=s<0?m.slice(m.length+s,m.length):m.slice(0,s)),d.push(...m)}return!o&&0==d.length&&c.push(function Sae(n){return new ae(3014,!1)}()),d}}class cL{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(e){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new cL(this._driver,e,t||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(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||rh),this._currentKeyframe.set(t,rh);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);const o=i&&i.params||{},c=function _le(n,e){const t=new Map;let s;return n.forEach(i=>{if("*"===i){s??=e.keys();for(let o of s)t.set(o,rh)}else for(let[o,c]of i)t.set(o,c)}),t}(e,this._globalTimelineStyles);for(let[d,h]of c){const m=mE(h,o,s);this._pendingStyles.set(d,m),this._localTimelineStyles.has(d)||this._backFill.set(d,this._globalTimelineStyles.get(d)??rh),this._updateStyle(d,m)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{const i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,s=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((d,h)=>{const m=new Map([...this._backFill,...d]);m.forEach((g,b)=>{"!"===g?e.add(b):g===rh&&t.add(b)}),s||m.set("offset",h/this.duration),i.push(m)});const o=[...e.values()],c=[...t.values()];if(s){const d=i[0],h=new Map(d);d.set("offset",0),h.set("offset",1),i=[d,h]}return mB(this.element,i,o,c,this.duration,this.startTime,this.easing,!1)}}class gle extends cL{constructor(e,t,s,i,o,c,d=!1){super(e,t,c.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=d,this.timings={duration:c.duration,delay:c.delay,easing:c.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],c=s+t,d=t/c,h=new Map(e[0]);h.set("offset",0),o.push(h);const m=new Map(e[0]);m.set("offset",q4(d)),o.push(m);const g=e.length-1;for(let b=1;b<=g;b++){let E=new Map(e[b]);const P=t+E.get("offset")*s;E.set("offset",q4(P/c)),o.push(E)}s=c,t=0,i="",e=o}return mB(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}}function q4(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}function G4(n,e,t,s,i,o,c,d,h,m,g,b,E){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:o,toState:s,toStyles:c,timelines:d,queriedElements:h,preStyleProps:m,postStyleProps:g,totalTime:b,errors:E}}const yB={};class K4{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return function yle(n,e,t,s,i){return n.some(o=>o(e,t,s,i))}(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return void 0!==e&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,o,c,d,h,m,g){const b=[],E=this.ast.options&&this.ast.options.params||yB,x=d&&d.params||yB,P=this.buildStyles(s,x,b),F=h&&h.params||yB,H=this.buildStyles(i,F,b),W=new Set,z=new Map,ie=new Map,ce="void"===i,he={params:Q4(F,E),delay:this.ast.options?.delay},xe=g?[]:gB(e,t,this.ast.animation,o,c,P,H,he,m,b);let ke=0;return xe.forEach(Qe=>{ke=Math.max(Qe.duration+Qe.delay,ke)}),b.length?G4(t,this._triggerName,s,i,ce,P,H,[],[],z,ie,ke,b):(xe.forEach(Qe=>{const it=Qe.element,Bn=Oa(z,it,new Set);Qe.preStyleProps.forEach(yn=>Bn.add(yn));const $n=Oa(ie,it,new Set);Qe.postStyleProps.forEach(yn=>$n.add(yn)),it!==t&&W.add(it)}),G4(t,this._triggerName,s,i,ce,P,H,xe,[...W.values()],z,ie,ke))}}function Q4(n,e){const t={...e};return Object.entries(n).forEach(([s,i])=>{null!=i&&(t[s]=i)}),t}class vle{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){const s=new Map,i=Q4(e,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((c,d)=>{c&&(c=mE(c,i,t));const h=this.normalizer.normalizePropertyName(d,t);c=this.normalizer.normalizeStyleValue(d,h,c,t),s.set(d,c)})}),s}}class wle{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{const o=i.options&&i.options.params||{};this.states.set(i.name,new vle(i.style,o,s))}),X4(this.states,"true","1"),X4(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new K4(e,i,this.states))}),this.fallbackTransition=function Sle(n,e,t){const s=[(c,d)=>!0],i={type:zt.Sequence,steps:[],options:null},o={type:zt.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new K4(n,o,e)}(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(c=>c.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}}function X4(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}const Dle=new aL;class Mle{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const s=[],i=[],o=pB(this._driver,t,s,i);if(s.length)throw function Tae(n){return new ae(3503,!1)}();i.length,this._animations.set(e,o)}_buildPlayer(e,t,s){const i=e.element,o=R4(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){const i=[],o=this._animations.get(e);let c;const d=new Map;if(o?(c=gB(this._driver,t,o,aB,eL,new Map,new Map,s,Dle,i),c.forEach(g=>{const b=Oa(d,g.element,new Map);g.postStyleProps.forEach(E=>b.set(E,null))})):(i.push(function Iae(){return new ae(3300,!1)}()),c=[]),i.length)throw function Aae(n){return new ae(3504,!1)}();d.forEach((g,b)=>{g.forEach((E,x)=>{g.set(x,this._driver.computeStyle(b,x,rh))})});const m=Sf(c.map(g=>{const b=d.get(g.element);return this._buildPlayer(g,new Map,b)}));return this._playersById.set(e,m),m.onDestroy(()=>this.destroy(e)),this.players.push(m),m}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function Lae(n){return new ae(3301,!1)}();return t}listen(e,t,s,i){const o=sB(t,"","","");return tB(this._getPlayer(e),s,o,i),()=>{}}command(e,t,s,i){if("register"==s)return void this.register(e,i[0]);if("create"==s){const c=i[0]||{};return void this.create(e,t,c)}const o=this._getPlayer(e);switch(s){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}}const Z4="ng-animate-queued",vB="ng-animate-disabled",Tle=[],J4={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ile={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Sc="__ng_removed";class bB{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=function Rle(n){return n??null}(i),s){const{value:o,...c}=e;this.options=c}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const t=e.params;if(t){const s=this.options.params;Object.keys(t).forEach(i=>{null==s[i]&&(s[i]=t[i])})}}}const gE="void",wB=new bB(gE);class Ale{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Sl(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw function Pae(n,e){return new ae(3302,!1)}();if(null==s||0==s.length)throw function Rae(n){return new ae(3303,!1)}();if(!function Ole(n){return"start"==n||"done"==n}(s))throw function Oae(n,e){return new ae(3400,!1)}();const o=Oa(this._elementListeners,e,[]),c={name:t,phase:s,callback:i};o.push(c);const d=Oa(this._engine.statesByElement,e,new Map);return d.has(t)||(Sl(e,tL),Sl(e,tL+"-"+t),d.set(t,wB)),()=>{this._engine.afterFlush(()=>{const h=o.indexOf(c);h>=0&&o.splice(h,1),this._triggers.has(t)||d.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function Nae(n){return new ae(3401,!1)}();return t}trigger(e,t,s,i=!0){const o=this._getTrigger(t),c=new SB(this.id,t,e);let d=this._engine.statesByElement.get(e);d||(Sl(e,tL),Sl(e,tL+"-"+t),this._engine.statesByElement.set(e,d=new Map));let h=d.get(t);const m=new bB(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&h&&m.absorbOptions(h.options),d.set(t,m),h||(h=wB),m.value!==gE&&h.value===m.value){if(!function Yle(n,e){const t=Object.keys(n),s=Object.keys(e);if(t.length!=s.length)return!1;for(let i=0;i{c_(e,H),ku(e,W)})}return}const E=Oa(this._engine.playersByElement,e,[]);E.forEach(F=>{F.namespaceId==this.id&&F.triggerName==t&&F.queued&&F.destroy()});let x=o.matchTransition(h.value,m.value,e,m.params),P=!1;if(!x){if(!i)return;x=o.fallbackTransition,P=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:x,fromState:h,toState:m,player:c,isFallbackTransition:P}),P||(Sl(e,Z4),c.onStart(()=>{Hb(e,Z4)})),c.onDone(()=>{let F=this.players.indexOf(c);F>=0&&this.players.splice(F,1);const H=this._engine.playersByElement.get(e);if(H){let W=H.indexOf(c);W>=0&&H.splice(W,1)}}),this.players.push(c),E.push(c),c}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const s=this._engine.driver.query(e,nL,!0);s.forEach(i=>{if(i[Sc])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(c=>c.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){const o=this._engine.statesByElement.get(e),c=new Map;if(o){const d=[];if(o.forEach((h,m)=>{if(c.set(m,h.value),this._triggers.has(m)){const g=this.trigger(e,m,gE,i);g&&d.push(g)}}),d.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,c),s&&Sf(d).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){const i=new Set;t.forEach(o=>{const c=o.name;if(i.has(c))return;i.add(c);const h=this._triggers.get(c).fallbackTransition,m=s.get(c)||wB,g=new bB(gE),b=new SB(this.id,c,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:c,transition:h,fromState:m,toState:g,player:b,isFallbackTransition:!0})})}}removeNode(e,t){const s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){const o=s.players.length?s.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let c=e;for(;c=c.parentNode;)if(s.statesByElement.get(c)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{const o=e[Sc];(!o||o===J4)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){Sl(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(s=>{const i=s.player;if(i.destroyed)return;const o=s.element,c=this._elementListeners.get(o);c&&c.forEach(d=>{if(d.name==s.triggerName){const h=sB(o,s.triggerName,s.fromState.value,s.toState.value);h._data=e,tB(s.player,d.phase,h,d.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{const o=s.transition.ast.depCount,c=i.transition.ast.depCount;return 0==o||0==c?o-c:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}}class Lle{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){const s=new Ale(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){const s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let c=!1,d=this.driver.getParentElement(t);for(;d;){const h=i.get(d);if(h){const m=s.indexOf(h);s.splice(m+1,0,e),c=!0;break}d=this.driver.getParentElement(d)}c||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);const i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,s=this.statesByElement.get(e);if(s)for(let i of s.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&t.add(o)}return t}trigger(e,t,s,i){if(uL(t)){const o=this._fetchNamespace(e);if(o)return o.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!uL(t))return;const o=t[Sc];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const c=this.collectedLeaveElements.indexOf(t);c>=0&&this.collectedLeaveElements.splice(c,1)}if(e){const c=this._fetchNamespace(e);c&&c.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Sl(e,vB)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Hb(e,vB))}removeNode(e,t,s){if(uL(t)){const i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);const o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,o){this.collectedLeaveElements.push(t),t[Sc]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,t,s,i,o){return uL(t)?this._fetchNamespace(e).listen(t,s,i,o):()=>{}}_buildInstruction(e,t,s,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,o)}destroyInnerAnimations(e){let t=this.driver.query(e,nL,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,lB,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Sf(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[Sc];if(t&&t.setForRemoval){if(e[Sc]=J4,t.namespaceId){this.destroyInnerAnimations(e);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(vB)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){const s=this._whenQuietFns;this._whenQuietFns=[],t.length?Sf(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw function Fae(n){return new ae(3402,!1)}()}_flushAnimations(e,t){const s=new aL,i=[],o=new Map,c=[],d=new Map,h=new Map,m=new Map,g=new Set;this.disabledNodes.forEach(Ye=>{g.add(Ye);const pt=this.driver.query(Ye,".ng-animate-queued",!0);for(let wt=0;wt{const wt=aB+F++;P.set(pt,wt),Ye.forEach(Tn=>Sl(Tn,wt))});const H=[],W=new Set,z=new Set;for(let Ye=0;YeW.add(Tn)):z.add(pt))}const ie=new Map,ce=nz(E,Array.from(W));ce.forEach((Ye,pt)=>{const wt=eL+F++;ie.set(pt,wt),Ye.forEach(Tn=>Sl(Tn,wt))}),e.push(()=>{x.forEach((Ye,pt)=>{const wt=P.get(pt);Ye.forEach(Tn=>Hb(Tn,wt))}),ce.forEach((Ye,pt)=>{const wt=ie.get(pt);Ye.forEach(Tn=>Hb(Tn,wt))}),H.forEach(Ye=>{this.processLeaveNode(Ye)})});const he=[],xe=[];for(let Ye=this._namespaceList.length-1;Ye>=0;Ye--)this._namespaceList[Ye].drainQueuedTransitions(t).forEach(wt=>{const Tn=wt.player,kr=wt.element;if(he.push(Tn),this.collectedEnterElements.length){const vo=kr[Sc];if(vo&&vo.setForMove){if(vo.previousTriggersValues&&vo.previousTriggersValues.has(wt.triggerName)){const M_=vo.previousTriggersValues.get(wt.triggerName),xl=this.statesByElement.get(wt.element);if(xl&&xl.has(wt.triggerName)){const bP=xl.get(wt.triggerName);bP.value=M_,xl.set(wt.triggerName,bP)}}return void Tn.destroy()}}const Gi=!b||!this.driver.containsElement(b,kr),_i=ie.get(kr),ga=P.get(kr),Hs=this._buildInstruction(wt,s,ga,_i,Gi);if(Hs.errors&&Hs.errors.length)return void xe.push(Hs);if(Gi)return Tn.onStart(()=>c_(kr,Hs.fromStyles)),Tn.onDestroy(()=>ku(kr,Hs.toStyles)),void i.push(Tn);if(wt.isFallbackTransition)return Tn.onStart(()=>c_(kr,Hs.fromStyles)),Tn.onDestroy(()=>ku(kr,Hs.toStyles)),void i.push(Tn);const aw=[];Hs.timelines.forEach(vo=>{vo.stretchStartingKeyframe=!0,this.disabledNodes.has(vo.element)||aw.push(vo)}),Hs.timelines=aw,s.append(kr,Hs.timelines);const _ve={instruction:Hs,player:Tn,element:kr};c.push(_ve),Hs.queriedElements.forEach(vo=>Oa(d,vo,[]).push(Tn)),Hs.preStyleProps.forEach((vo,M_)=>{if(vo.size){let xl=h.get(M_);xl||h.set(M_,xl=new Set),vo.forEach((bP,Uj)=>xl.add(Uj))}}),Hs.postStyleProps.forEach((vo,M_)=>{let xl=m.get(M_);xl||m.set(M_,xl=new Set),vo.forEach((bP,Uj)=>xl.add(Uj))})});if(xe.length){const Ye=[];xe.forEach(pt=>{Ye.push(function Yae(n,e){return new ae(3505,!1)}(pt.triggerName,pt.errors))}),he.forEach(pt=>pt.destroy()),this.reportError(Ye)}const ke=new Map,Qe=new Map;c.forEach(Ye=>{const pt=Ye.element;s.has(pt)&&(Qe.set(pt,pt),this._beforeAnimationBuild(Ye.player.namespaceId,Ye.instruction,ke))}),i.forEach(Ye=>{const pt=Ye.element;this._getPreviousPlayers(pt,!1,Ye.namespaceId,Ye.triggerName,null).forEach(Tn=>{Oa(ke,pt,[]).push(Tn),Tn.destroy()})});const it=H.filter(Ye=>rz(Ye,h,m)),Bn=new Map;tz(Bn,this.driver,z,m,rh).forEach(Ye=>{rz(Ye,h,m)&&it.push(Ye)});const yn=new Map;x.forEach((Ye,pt)=>{tz(yn,this.driver,new Set(Ye),h,"!")}),it.forEach(Ye=>{const pt=Bn.get(Ye),wt=yn.get(Ye);Bn.set(Ye,new Map([...pt?.entries()??[],...wt?.entries()??[]]))});const mr=[],Pi=[],Cn={};c.forEach(Ye=>{const{element:pt,player:wt,instruction:Tn}=Ye;if(s.has(pt)){if(g.has(pt))return wt.onDestroy(()=>ku(pt,Tn.toStyles)),wt.disabled=!0,wt.overrideTotalTime(Tn.totalTime),void i.push(wt);let kr=Cn;if(Qe.size>1){let _i=pt;const ga=[];for(;_i=_i.parentNode;){const Hs=Qe.get(_i);if(Hs){kr=Hs;break}ga.push(_i)}ga.forEach(Hs=>Qe.set(Hs,kr))}const Gi=this._buildAnimation(wt.namespaceId,Tn,ke,o,yn,Bn);if(wt.setRealPlayer(Gi),kr===Cn)mr.push(wt);else{const _i=this.playersByElement.get(kr);_i&&_i.length&&(wt.parentPlayer=Sf(_i)),i.push(wt)}}else c_(pt,Tn.fromStyles),wt.onDestroy(()=>ku(pt,Tn.toStyles)),Pi.push(wt),g.has(pt)&&i.push(wt)}),Pi.forEach(Ye=>{const pt=o.get(Ye.element);if(pt&&pt.length){const wt=Sf(pt);Ye.setRealPlayer(wt)}}),i.forEach(Ye=>{Ye.parentPlayer?Ye.syncPlayerEvents(Ye.parentPlayer):Ye.destroy()});for(let Ye=0;Ye!Gi.destroyed);kr.length?Nle(this,pt,kr):this.processLeaveNode(pt)}return H.length=0,mr.forEach(Ye=>{this.players.push(Ye),Ye.onDone(()=>{Ye.destroy();const pt=this.players.indexOf(Ye);this.players.splice(pt,1)}),Ye.play()}),mr}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,o){let c=[];if(t){const d=this.playersByQueriedElement.get(e);d&&(c=d)}else{const d=this.playersByElement.get(e);if(d){const h=!o||o==gE;d.forEach(m=>{m.queued||!h&&m.triggerName!=i||c.push(m)})}}return(s||i)&&(c=c.filter(d=>!(s&&s!=d.namespaceId||i&&i!=d.triggerName))),c}_beforeAnimationBuild(e,t,s){const i=t.triggerName,o=t.element,c=t.isRemovalTransition?void 0:e,d=t.isRemovalTransition?void 0:i;for(const h of t.timelines){const m=h.element,g=m!==o,b=Oa(s,m,[]);this._getPreviousPlayers(m,g,c,d,t.toState).forEach(x=>{const P=x.getRealPlayer();P.beforeDestroy&&P.beforeDestroy(),x.destroy(),b.push(x)})}c_(o,t.fromStyles)}_buildAnimation(e,t,s,i,o,c){const d=t.triggerName,h=t.element,m=[],g=new Set,b=new Set,E=t.timelines.map(P=>{const F=P.element;g.add(F);const H=F[Sc];if(H&&H.removedBeforeQueried)return new aE(P.duration,P.delay);const W=F!==h,z=function Fle(n){const e=[];return sz(n,e),e}((s.get(F)||Tle).map(ke=>ke.getRealPlayer())).filter(ke=>{const Qe=ke;return!!Qe.element&&Qe.element===F}),ie=o.get(F),ce=c.get(F),he=R4(this._normalizer,P.keyframes,ie,ce),xe=this._buildPlayer(P,he,z);if(P.subTimeline&&i&&b.add(F),W){const ke=new SB(e,d,F);ke.setRealPlayer(xe),m.push(ke)}return xe});m.forEach(P=>{Oa(this.playersByQueriedElement,P.element,[]).push(P),P.onDone(()=>function Ple(n,e,t){let s=n.get(e);if(s){if(s.length){const i=s.indexOf(t);s.splice(i,1)}0==s.length&&n.delete(e)}return s}(this.playersByQueriedElement,P.element,P))}),g.forEach(P=>Sl(P,j4));const x=Sf(E);return x.onDestroy(()=>{g.forEach(P=>Hb(P,j4)),ku(h,t.toStyles)}),b.forEach(P=>{Oa(i,P,[]).push(x)}),x}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new aE(e.duration,e.delay)}}class SB{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new aE,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>tB(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Oa(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function uL(n){return n&&1===n.nodeType}function ez(n,e){const t=n.style.display;return n.style.display=e??"none",t}function tz(n,e,t,s,i){const o=[];t.forEach(h=>o.push(ez(h)));const c=[];s.forEach((h,m)=>{const g=new Map;h.forEach(b=>{const E=e.computeStyle(m,b,i);g.set(b,E),(!E||0==E.length)&&(m[Sc]=Ile,c.push(m))}),n.set(m,g)});let d=0;return t.forEach(h=>ez(h,o[d++])),c}function nz(n,e){const t=new Map;if(n.forEach(d=>t.set(d,[])),0==e.length)return t;const i=new Set(e),o=new Map;function c(d){if(!d)return 1;let h=o.get(d);if(h)return h;const m=d.parentNode;return h=t.has(m)?m:i.has(m)?1:c(m),o.set(d,h),h}return e.forEach(d=>{const h=c(d);1!==h&&t.get(h).push(d)}),t}function Sl(n,e){n.classList?.add(e)}function Hb(n,e){n.classList?.remove(e)}function Nle(n,e,t){Sf(t).onDone(()=>n.processLeaveNode(e))}function sz(n,e){for(let t=0;ti.add(o)):e.set(n,s),t.delete(n),!0}class _E{constructor(e,t,s){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new Lle(e.body,t,s),this._timelineEngine=new Mle(e.body,t,s),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,t,s,i,o){const c=e+"-"+i;let d=this._triggerCache[c];if(!d){const h=[],m=[],g=pB(this._driver,o,h,m);if(h.length)throw function xae(n,e){return new ae(3404,!1)}();m.length,d=function ble(n,e,t){return new wle(n,e,t)}(i,g,this._normalizer),this._triggerCache[c]=d}this._transitionEngine.registerTrigger(t,i,d)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if("@"==s.charAt(0)){const[o,c]=O4(s),d=i;this._timelineEngine.command(o,t,c,d)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,o){if("@"==s.charAt(0)){const[c,d]=O4(s);return this._timelineEngine.listen(c,t,d,o)}return this._transitionEngine.listen(e,t,s,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}}class yE{static#e=this.initialStylesByElement=new WeakMap;constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=yE.initialStylesByElement.get(e);i||yE.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&ku(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ku(this._element,this._initialStyles),this._endStyles&&(ku(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(yE.initialStylesByElement.delete(this._element),this._startStyles&&(c_(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(c_(this._element,this._endStyles),this._endStyles=null),ku(this._element,this._initialStyles),this._state=3)}}function DB(n){let e=null;return n.forEach((t,s)=>{(function jle(n){return"display"===n||"position"===n})(s)&&(e=e||new Map,e.set(s,t))}),e}class iz{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,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=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{"offset"!==i&&e.set(i,this._finished?s:hB(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}}class oz{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return F4(e,t)}getParentElement(e){return rB(e)}query(e,t,s){return Y4(e,t,s)}computeStyle(e,t,s){return hB(e,t)}animate(e,t,s,i,o,c=[]){const h={duration:s,delay:i,fill:0==i?"both":"forwards"};o&&(h.easing=o);const m=new Map,g=c.filter(x=>x instanceof iz);(function Xae(n,e){return 0===n||0===e})(s,i)&&g.forEach(x=>{x.currentSnapshot.forEach((P,F)=>m.set(F,P))});let b=function Gae(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}(t).map(x=>new Map(x));b=function Zae(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((o,c)=>{s.has(c)||i.push(c),s.set(c,o)}),i.length)for(let o=1;oc.set(d,hB(n,d)))}}return e}(e,b,m);const E=function Ble(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=DB(e[0]),e.length>1&&(s=DB(e[e.length-1]))):e instanceof Map&&(t=DB(e)),t||s?new yE(n,t,s):null}(e,b);return new iz(e,b,h,E)}}const az="@.disabled";class lz{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){"@"==t.charAt(0)&&t==az?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Vle extends lz{constructor(e,t,s,i,o){super(t,s,i,o),this.factory=e,this.namespaceId=t}setProperty(e,t,s){"@"==t.charAt(0)?"."==t.charAt(1)&&t==az?(s=void 0===s||!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if("@"==t.charAt(0)){const i=function Hle(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let o=t.slice(1),c="";return"@"!=o.charAt(0)&&([o,c]=function Ule(n){const e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}(o)),this.engine.listen(this.namespaceId,i,o,c,d=>{const h=d._data||-1;this.factory.scheduleListenerCallback(h,s,d)})}return this.delegate.listen(e,t,s)}}class $le{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(e,t){const i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){const m=this._rendererCache;let g=m.get(i);if(!g){const b=()=>m.delete(i);g=new lz("",i,this.engine,b),m.set(i,g)}return g}const o=t.id,c=t.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const d=m=>{Array.isArray(m)?m.forEach(d):this.engine.registerTrigger(o,c,e,m.name,m)};return t.data.animation.forEach(d),new Vle(this,c,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));const i=this._animationCallbacksBuffer;0==i.length&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{const[c,d]=o;c(d)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}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()}}class vE extends _E{constructor(e,t,s){super(e,t,s)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(t){return new(t||vE)(be(Ln),be(iB),be(oB))};static#t=this.\u0275prov=Ce({token:vE,factory:vE.\u0275fac})}const cz=[{provide:oB,useFactory:function zle(){return new U4}},{provide:_E,useClass:vE},{provide:kd,useFactory:function Wle(n,e,t){return new $le(n,e,t)},deps:[Tg,_E,vt]}],MB=[{provide:iB,useFactory:()=>new oz},{provide:py,useValue:"BrowserAnimations"},...cz],CB=[{provide:iB,useClass:l_},{provide:py,useValue:"NoopAnimations"},...cz];class bE{static withConfig(e){return{ngModule:bE,providers:e.disableAnimations?CB:MB}}static#e=this.\u0275fac=function(t){return new(t||bE)};static#t=this.\u0275mod=vs({type:bE,exports:[zd]});static#n=this.\u0275inj=Ts({providers:MB,imports:[zd]})}class EB{static#e=this.\u0275fac=function(t){return new(t||EB)};static#t=this.\u0275mod=vs({type:EB,exports:[zd]});static#n=this.\u0275inj=Ts({providers:CB,imports:[zd]})}let Tu=class{constructor(e,t,s,i){this.authService=e,this.http=t,this.router=s,this.ueHttp=i,this.url="/api/DVPRTLFE/developers/keep_alive"}canActivate(){return this.authService.isLoggedIn?at(!0):this.http.get(this.url,{headers:this.ueHttp.getAuthHeader()}).pipe(Ht(e=>(this.authService.isLoggedIn=!0,!0)),Wi(e=>(this.logout(),at(!1))))}logout(){this.authService.logout().subscribe(e=>{this.router.navigate(["/login"],{queryParams:{accessDenied:!0}})},e=>{this.router.navigate(["/login"],{queryParams:{accessDenied:!0}})})}static#e=this.ctorParameters=()=>[{type:tr},{type:wu},{type:un},{type:qi}]};Tu=ge([Ds()],Tu);let hL=class{constructor(e,t,s,i){this.authService=e,this.http=t,this.router=s,this.ueHttp=i,this.url="/api/DVPRTLFE/developers/keep_alive"}canActivate(e,t){return this.checkInvite(t),this.http.get(this.url,{headers:this.ueHttp.getAuthHeader()}).pipe(Ht(s=>{if(!this.authService.isInvitation)return this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"]),!1;this.goToInvite(t.url)}),Wi(()=>at(!0)))}checkInvite(e){e.url.includes("/invitation")?this.authService.isInvitation=!0:this.authService.isInvitation=!1}goToInvite(e){this.authService.logout().subscribe(t=>{this.router.navigate([e])},t=>{this.router.navigate([e])})}static#e=this.ctorParameters=()=>[{type:tr},{type:wu},{type:un},{type:qi}]};hL=ge([Ds()],hL);let lh=class{constructor(e,t){this.authService=e,this.router=t}canActivate(e,t){return this.authService.permissions.length>0?at(this.pickRoute(e.url[0].path)):this.authService.getPermissions().pipe(Ht(s=>this.pickRoute(e.url[0].path),s=>at(this.pickRoute("err"))))}isAllowed(e){switch(e){case"members":return this.authService.checkPermissions("members_view");case"invites":return this.authService.checkPermissions("invites_view");case"servers":return this.authService.checkPermissions("servers_view");case"devices":return this.authService.checkPermissions("devices_view");case"company":return this.authService.checkPermissions("profile_view");case"endpoints":return this.authService.checkPermissions("endpoints_view");case"err":return!1}}pickRoute(e){return!!this.isAllowed(e)||(this.router.navigate(["not-found"]),!1)}static#e=this.ctorParameters=()=>[{type:tr},{type:un}]};lh=ge([Ds()],lh);var Gle=k(904),Kle=k.n(Gle);var Xle=k(8760),Zle=k.n(Xle);let Df=class{constructor(){}newAlert(e,t,s){this.alert={},this.alert.title=e,this.alert.message=t,this.alert.type=s}static#e=this.ctorParameters=()=>[]};Df=ge([Ke({selector:"ue-log-in-alert",template:'
    \n\t

    {{alert.title}}

    \n\t{{alert.message}}\n
    ',styles:[Zle()]})],Df);let Ub=class{constructor(e,t,s,i){this.formBuilder=e,this.authService=t,this.router=s,this.route=i,this.showRegister=!0,this.loginMsg="Login to your account"}ngOnInit(){this.isInvitation=this.authService.isInvitation,this.showLogin=!this.isInvitation,this.key=this.router.url.split("/")[2],this.loginForm=this.formBuilder.group({username:["",nt.required],password:["",nt.required],invite_token:[""]}),this.loginForm.patchValue({invite_token:this.key});const e=this.route.snapshot.queryParams;Object.keys(e).length>0&&(this.router.navigate(["/login"],{replaceUrl:!0}),this.displayAlert(e))}displayAlert(e){e.accessDenied?this.alert.newAlert("Error","Access to page denied","danger"):e.loggedOut?this.alert.newAlert("Success","User logged out","success"):e.timeout?this.alert.newAlert("Warning","You have been logged out","warning"):e.error&&this.alert.newAlert("Error","You have been logged out","danger"),this.route.snapshot.queryParams.passwordChange&&(this.router.navigate(["/login"]),this.alert.newAlert("Success","New password set successfully.","success"))}goLogin(){this.showLogin=!0,this.showRegister=!1,this.loginMsg="Confirm Account"}goBack(){this.showLogin=!1,this.showRegister=!0,this.loginMsg="Login to your account"}register(){this.isInvitation?this.router.navigate(["/invitation/"+this.key+"/register"]):this.router.navigate(["/register"])}submitForm(){if(this.loginForm.invalid)return this.alert.newAlert("Login Error","Please fill in all required fields","danger");this.isInvitation&&45!==this.loginForm.get("invite_token").value.length?this.alert.newAlert("Login Error!","Invalid Activation Token","danger"):this.authService.login(this.loginForm.value).subscribe(e=>{"no_company"===e.state?this.router.navigate(["/register-company"]):(this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"]))},e=>{if(1===e.errorcode)this.alert.newAlert("Password/Username Incorrect","Please remember that usernames and passwords are case-sensitive.","danger");else this.alert.newAlert("Error!",e.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ri},{type:tr},{type:un},{type:fi}];static#t=this.propDecorators={alert:[{type:ze,args:[Df,{static:!0}]}]}};Ub=ge([Ke({selector:"ue-log-in-form",template:'\n\x3c!-- form method --\x3e\n
    \n\n\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t
    \n\t\t
    \n\t\t\n\t\t

    \n\t\t\tForgot Password?
    \n\t\t\tSend new password please!\n\t\t

    \n\t\t
    \n\t
    \n
    \n',styles:[Kle(),Db()]})],Ub);var ece=k(1835),tce=k.n(ece);let $b=class{constructor(e,t,s){this.fb=e,this.authService=t,this.router=s,this.validationError=!1,this.moreInfo=!1}ngOnInit(){this.isInvitation=this.authService.isInvitation,this.inviteKey=this.router.url.split("/")[2],this.registerForm=this.fb.group({email:["",nt.required],password:["",nt.required],password_confirm:["",nt.required],contact:["",nt.required],company:["",nt.required],invite_token:[""]},{validator:this.passwordMatch}),this.registerForm.patchValue({invite_token:this.inviteKey})}passwordMatch(e){return e.controls.password_confirm.value===e.controls.password.value?null:{error:!0}}register(){if(this.registerForm.invalid){this.validationError=!0;const t=this.registerForm.errors&&this.registerForm.errors.error?"Passwords do not match!":"Please fill in all required fields.";this.alert.newAlert("Registration Error!",t,"danger")}else this.isInvitation&&45!==this.registerForm.get("invite_token").value.length?this.alert.newAlert("Registration Error!","Invalid Activation Token","danger"):(this.registerForm.markAsPristine(),this.authService.register(this.registerForm.value).subscribe(e=>{this.isInvitation?(this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"])):this.router.navigate(["/register-company"])},e=>{this.alert.newAlert("Error!",e.error,"danger")}))}goBack(){this.isInvitation?this.router.navigate([`/invitation/${this.inviteKey}/verify`]):this.router.navigate(["/login"])}static#e=this.ctorParameters=()=>[{type:ri},{type:tr},{type:un}];static#t=this.propDecorators={alert:[{type:ze,args:[Df,{static:!0}]}]}};$b=ge([Ke({selector:"ue-register-form",template:'\n\n
    \n\t

    In order to access some of our developer tools and to stay informed with the latest API and other scripts, you must register for a Developer\'s Account with us. Registration is free.

    \n\t

    If you already have a developer\'s account, login here.

    \n
    \n\n\x3c!-- form method --\x3e\n
    \n\n\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t\n\t\t\n\n\t
    \n
    \n',styles:[tce(),Db()]})],$b);var sce=k(6436),rce=k.n(sce);let pL=class{constructor(e,t,s){this.formBuilder=e,this.router=t,this.authService=s,this.response=!1}ngOnInit(){this.lostPasswordForm=this.formBuilder.group({email:["",nt.required]})}submitForm(){if(this.lostPasswordForm.invalid)return this.validationError=!0,void this.alert.newAlert("Error!","Please enter your email.","danger");this.authService.forgotPW(this.lostPasswordForm.value).subscribe(e=>{this.response=!0,this.alert.newAlert("Success!","Check your email for a link to reset your password. If it doesn't appear within a few minutes, check your spam folder.","success")},e=>{this.alert.newAlert("Error!",e.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ri},{type:un},{type:tr}];static#t=this.propDecorators={alert:[{type:ze,args:[Df,{static:!0}]}]}};pL=ge([Ke({selector:"ue-lost-password",template:'\n\n
    \n\tUse the form below to request a password reset. An email containing a link to reset your password will be sent to the email address on file.\n
    \n\n\n\n\n\x3c!-- form method --\x3e\n
    \n\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t* Please enter your email!\n\t\t
    \n\t\t\n\t\t\n\t\t\n\t\t\tCancel\n\t\t\n\t\t\n\t
    \n
    \n',styles:[rce(),Db()]})],pL);var oce=k(1824),ace=k.n(oce);let fL=class{constructor(e,t,s,i){this.formBuilder=e,this.route=t,this.router=s,this.authService=i,this.validationError=!1}ngOnInit(){const e=this.route.queryParams._value.authcode?this.route.queryParams._value.authcode:"";this.resetPasswordForm=this.formBuilder.group({authcode:[e,[nt.required]],email:["",[nt.required]],password:["",[nt.required,nt.minLength(6)]],password_confirm:["",[nt.required,nt.minLength(6)]]},{validator:this.passwordMatch})}passwordMatch(e){return e.controls.password_confirm.value===e.controls.password.value?null:{error:!0}}submitForm(){return this.resetPasswordForm.get("authcode").invalid?(this.validationError=!0,void this.alert.newAlert("Error!","Please obtain a valid authorization code before you continue.","danger")):this.resetPasswordForm.invalid?(this.validationError=!0,void this.alert.newAlert("Error!","Please enter all required fields.","danger")):void this.authService.resetPW(this.resetPasswordForm.value).subscribe(e=>{this.router.navigate(["/login"],{queryParams:{passwordChange:!0}})},e=>{this.alert.newAlert("Error!",e.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ri},{type:fi},{type:un},{type:tr}];static#t=this.propDecorators={alert:[{type:ze,args:[Df,{static:!0}]}]}};fL=ge([Ke({selector:"ue-reset-password",template:'\n\n
    \n\tUse the form below to reset your password. If you are unable to reset your password, click here to start over.\n
    \n\n\x3c!-- form method --\x3e\n
    \n\t\n\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t* Please enter your email!\n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t* Please enter a valid password!\n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t* Passwords do not match!\n\t\t
    \n\t\t\n\t\t\n\t\t\n\t\t\tCancel\n\t\t\n\t\t\n\t
    \n
    ',styles:[ace(),Db()]})],fL);var cce=k(8145),uce=k.n(cce);let xB=class{constructor(e,t,s,i,o){this.authService=e,this.router=t,this.ueHttp=s,this.http=i,this.sessionTimeoutService=o,this.secondsLeft=0}ngOnInit(){this.sessionTimeoutService.resetDevSessionExpiration(),this.sessionTimeoutService.startInterval(()=>this.onInterval())}onInterval(){const e=new Date,t=this.sessionTimeoutService.devSessionWarning,s=this.sessionTimeoutService.devSessionExpiration;this.secondsLeft=this.calculateSecondsLeft(e,s),e>t?this.openWarningModal():this.closeWarningModal(),e>s&&this.logout()}openWarningModal(){this.modal.isOpened||(this.sessionTimeoutService.countdownOpen=!0,this.modal.open())}closeWarningModal(){this.modal.isOpened&&(this.sessionTimeoutService.countdownOpen=!1,this.modal.close())}extendSession(){this.http.get("/api/DVPRTLFE/developers/keep_alive",{headers:this.ueHttp.getAuthHeader()}).subscribe(e=>{this.closeWarningModal(),this.sessionTimeoutService.resetDevSessionExpiration()},e=>{this.router.navigate(["/login"],{queryParams:{accessDenied:!0}})})}logout(){this.authService.logout().subscribe(e=>{this.router.navigate(["/login"],{queryParams:{timeout:!0}})},e=>{this.router.navigate(["/login"],{queryParams:{timeout:!0}})})}calculateSecondsLeft(e,t){const s=e.getTime();let o=t.getTime()-s;return o<0&&(o=0),Math.floor(o/1e3)}static#e=this.ctorParameters=()=>[{type:tr},{type:un},{type:qi},{type:wu},{type:eh}];static#t=this.propDecorators={modal:[{type:ze,args:[hE,{static:!0}]}],alert:[{type:ze,args:[xr,{static:!0}]}]}};xB=ge([Ke({selector:"ue-session-timeout",template:'\n\n\n\t\n\t\t

    Session Timeout Warning

    \n\t
    \n\t\n\t\t

    Your sesssion will expire in {{secondsLeft}} seconds.

    \n\t
    \n\t\n\t\tSign Out\n\t\tExtend Session\n\t\n',styles:[uce()]})],xB);var hce=k(5320),pce=k.n(hce);let mL=class{constructor(e,t,s){this.fb=e,this.authService=t,this.router=s,this.validationError=!1}ngOnInit(){this.initRegisterForm()}initRegisterForm(){this.registerForm=this.fb.group({contact:["",nt.required],company:["",nt.required],address1:[""],address2:[""],city:[""],state:[""],zip:[""],country:[""],phone:[""]})}register(){if(this.registerForm.invalid){this.validationError=!0;const t=this.registerForm.errors&&this.registerForm.errors.error?"Passwords do not match!":"Please fill in all required fields.";this.alert.newAlert("Login Error!",t,"danger")}else this.registerForm.markAsPristine(),this.authService.registerCompany(this.registerForm.value).subscribe(e=>{this.router.navigate(["/dashboard"])},e=>{this.alert.newAlert("Error!",e.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ri},{type:tr},{type:un}];static#t=this.propDecorators={alert:[{type:ze,args:[Df,{static:!0}]}]}};mL=ge([Ke({selector:"ue-register-company-form",template:'\n\n
    \n\t

    You currently do not belong to any company, please create a developer company.

    \n
    \n\n\x3c!-- form method --\x3e\n
    \n\n\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n
    \n \n
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n
    \n \n
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n
    \n \n
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n
    \n \n
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\n\t\t\n\t\t\n\n\t
    \n
    \n',styles:[pce(),Db()]})],mL);let wE=class{constructor(e){this.ueHttp=e,this.baseUrl="/api/v2/developers/labels"}getLabels(){return this.ueHttp.get(this.baseUrl+"?limit=1000")}addLabel(e){return this.ueHttp.post(this.baseUrl,e)}updateLabel(e,t){return this.ueHttp.put(this.baseUrl+"/"+e,t)}removeLabel(e){return this.ueHttp.delete(this.baseUrl+"/"+e)}static#e=this.ctorParameters=()=>[{type:qi}]};wE=ge([Ds()],wE);let kB=class{};kB=ge([pr({imports:[Er,xu,bE],declarations:[CC,UA,$A,Ub,$b,pL,fL,Df,xB,mL],exports:[CC,Ub,$b],providers:[tr,qi,Tu,hL,Gg,HA,eh,qg,lh,wE]})],kB);const uz=typeof window>"u"?function(n){return n()}:window.requestAnimationFrame;function dz(n,e,t){const s=t||(c=>Array.prototype.slice.call(c));let i=!1,o=[];return function(...c){o=s(c),i||(i=!0,uz.call(window,()=>{i=!1,n.apply(e,o)}))}}const TB=n=>"start"===n?"left":"end"===n?"right":"center",go=(n,e,t)=>"start"===n?e:"end"===n?t:(e+t)/2;function ch(){}const gce=function(){let n=0;return function(){return n++}}();function is(n){return null===n||typeof n>"u"}function qs(n){if(Array.isArray&&Array.isArray(n))return!0;const e=Object.prototype.toString.call(n);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)}function Un(n){return null!==n&&"[object Object]"===Object.prototype.toString.call(n)}const $r=n=>("number"==typeof n||n instanceof Number)&&isFinite(+n);function Dl(n,e){return $r(n)?n:e}function Sn(n,e){return typeof n>"u"?e:n}const hz=(n,e)=>"string"==typeof n&&n.endsWith("%")?parseFloat(n)/100*e:+n;function Gs(n,e,t){if(n&&"function"==typeof n.call)return n.apply(t,e)}function Ms(n,e,t,s){let i,o,c;if(qs(n))if(o=n.length,s)for(i=o-1;i>=0;i--)e.call(t,n[i],i);else for(i=0;it;)n=n[e.substr(t,s-t)],t=s+1,s=fz(e,t);return n}function IB(n){return n.charAt(0).toUpperCase()+n.slice(1)}const Ml=n=>typeof n<"u",Mf=n=>"function"==typeof n,mz=(n,e)=>{if(n.size!==e.size)return!1;for(const t of n)if(!e.has(t))return!1;return!0};const fr=Math.PI,Vs=2*fr,Dce=Vs+fr,yL=Number.POSITIVE_INFINITY,Mce=fr/180,Nr=fr/2,ME=fr/4,gz=2*fr/3,Cl=Math.log10,Iu=Math.sign;function _z(n){const e=Math.round(n);n=EE(n,e,n/1e3)?e:n;const t=Math.pow(10,Math.floor(Cl(n))),s=n/t;return(s<=1?1:s<=2?2:s<=5?5:10)*t}function CE(n){return!isNaN(parseFloat(n))&&isFinite(n)}function EE(n,e,t){return Math.abs(n-e)h&&m=Math.min(e,t)-s&&n<=Math.max(e,t)+s}const vL=n=>0===n||1===n,wz=(n,e,t)=>-Math.pow(2,10*(n-=1))*Math.sin((n-e)*Vs/t),Sz=(n,e,t)=>Math.pow(2,-10*n)*Math.sin((n-e)*Vs/t)+1,kE={linear:n=>n,easeInQuad:n=>n*n,easeOutQuad:n=>-n*(n-2),easeInOutQuad:n=>(n/=.5)<1?.5*n*n:-.5*(--n*(n-2)-1),easeInCubic:n=>n*n*n,easeOutCubic:n=>(n-=1)*n*n+1,easeInOutCubic:n=>(n/=.5)<1?.5*n*n*n:.5*((n-=2)*n*n+2),easeInQuart:n=>n*n*n*n,easeOutQuart:n=>-((n-=1)*n*n*n-1),easeInOutQuart:n=>(n/=.5)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2),easeInQuint:n=>n*n*n*n*n,easeOutQuint:n=>(n-=1)*n*n*n*n+1,easeInOutQuint:n=>(n/=.5)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2),easeInSine:n=>1-Math.cos(n*Nr),easeOutSine:n=>Math.sin(n*Nr),easeInOutSine:n=>-.5*(Math.cos(fr*n)-1),easeInExpo:n=>0===n?0:Math.pow(2,10*(n-1)),easeOutExpo:n=>1===n?1:1-Math.pow(2,-10*n),easeInOutExpo:n=>vL(n)?n:n<.5?.5*Math.pow(2,10*(2*n-1)):.5*(2-Math.pow(2,-10*(2*n-1))),easeInCirc:n=>n>=1?n:-(Math.sqrt(1-n*n)-1),easeOutCirc:n=>Math.sqrt(1-(n-=1)*n),easeInOutCirc:n=>(n/=.5)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1),easeInElastic:n=>vL(n)?n:wz(n,.075,.3),easeOutElastic:n=>vL(n)?n:Sz(n,.075,.3),easeInOutElastic:n=>vL(n)?n:n<.5?.5*wz(2*n,.1125,.45):.5+.5*Sz(2*n-1,.1125,.45),easeInBack:n=>n*n*(2.70158*n-1.70158),easeOutBack:n=>(n-=1)*n*(2.70158*n+1.70158)+1,easeInOutBack(n){let e=1.70158;return(n/=.5)<1?n*n*((1+(e*=1.525))*n-e)*.5:.5*((n-=2)*n*((1+(e*=1.525))*n+e)+2)},easeInBounce:n=>1-kE.easeOutBounce(1-n),easeOutBounce:n=>n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375,easeInOutBounce:n=>n<.5?.5*kE.easeInBounce(2*n):.5*kE.easeOutBounce(2*n-1)+.5},El={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},PB="0123456789ABCDEF",Tce=n=>PB[15&n],Ice=n=>PB[(240&n)>>4]+PB[15&n],bL=n=>(240&n)>>4==(15&n);function Pce(n){var e=function Ace(n){return bL(n.r)&&bL(n.g)&&bL(n.b)&&bL(n.a)}(n)?Tce:Ice;return n&&"#"+e(n.r)+e(n.g)+e(n.b)+(n.a<255?e(n.a):"")}function TE(n){return n+.5|0}const wL=(n,e,t)=>Math.max(Math.min(n,t),e);function IE(n){return wL(TE(2.55*n),0,255)}function AE(n){return wL(TE(255*n),0,255)}function RB(n){return wL(TE(n/2.55)/100,0,1)}function Dz(n){return wL(TE(100*n),0,100)}const Rce=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Fce=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Mz(n,e,t){const s=e*Math.min(t,1-t),i=(o,c=(o+n/30)%12)=>t-s*Math.max(Math.min(c-3,9-c,1),-1);return[i(0),i(8),i(4)]}function Yce(n,e,t){const s=(i,o=(i+n/60)%6)=>t-t*e*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function Bce(n,e,t){const s=Mz(n,1,.5);let i;for(e+t>1&&(i=1/(e+t),e*=i,t*=i),i=0;i<3;i++)s[i]*=1-e-t,s[i]+=e;return s}function OB(n){const t=n.r/255,s=n.g/255,i=n.b/255,o=Math.max(t,s,i),c=Math.min(t,s,i),d=(o+c)/2;let h,m,g;return o!==c&&(g=o-c,m=d>.5?g/(2-o-c):g/(o+c),h=o===t?(s-i)/g+(s>16&255,o>>8&255,255&o]}return n}(),SL.transparent=[0,0,0,0]);const e=SL[n.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}function DL(n,e,t){if(n){let s=OB(n);s[e]=Math.max(0,Math.min(s[e]+s[e]*t,0===e?360:1)),s=FB(s),n.r=s[0],n.g=s[1],n.b=s[2]}}function kz(n,e){return n&&Object.assign(e||{},n)}function Tz(n){var e={r:0,g:0,b:0,a:255};return Array.isArray(n)?n.length>=3&&(e={r:n[0],g:n[1],b:n[2],a:255},n.length>3&&(e.a=AE(n[3]))):(e=kz(n,{r:0,g:0,b:0,a:1})).a=AE(e.a),e}function qce(n){return"r"===n.charAt(0)?function Oce(n){const e=Rce.exec(n);let s,i,o,t=255;if(e){if(e[7]!==s){const c=+e[7];t=255&(e[8]?IE(c):255*c)}return s=+e[1],i=+e[3],o=+e[5],s=255&(e[2]?IE(s):s),i=255&(e[4]?IE(i):i),o=255&(e[6]?IE(o):o),{r:s,g:i,b:o,a:t}}}(n):Hce(n)}class ML{constructor(e){if(e instanceof ML)return e;const t=typeof e;let s;"object"===t?s=Tz(e):"string"===t&&(s=function Lce(n){var t,e=n.length;return"#"===n[0]&&(4===e||5===e?t={r:255&17*El[n[1]],g:255&17*El[n[2]],b:255&17*El[n[3]],a:5===e?17*El[n[4]]:255}:(7===e||9===e)&&(t={r:El[n[1]]<<4|El[n[2]],g:El[n[3]]<<4|El[n[4]],b:El[n[5]]<<4|El[n[6]],a:9===e?El[n[7]]<<4|El[n[8]]:255})),t}(e)||Wce(e)||qce(e)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var e=kz(this._rgb);return e&&(e.a=RB(e.a)),e}set rgb(e){this._rgb=Tz(e)}rgbString(){return this._valid?function Nce(n){return n&&(n.a<255?`rgba(${n.r}, ${n.g}, ${n.b}, ${RB(n.a)})`:`rgb(${n.r}, ${n.g}, ${n.b})`)}(this._rgb):this._rgb}hexString(){return this._valid?Pce(this._rgb):this._rgb}hslString(){return this._valid?function $ce(n){if(!n)return;const e=OB(n),t=e[0],s=Dz(e[1]),i=Dz(e[2]);return n.a<255?`hsla(${t}, ${s}%, ${i}%, ${RB(n.a)})`:`hsl(${t}, ${s}%, ${i}%)`}(this._rgb):this._rgb}mix(e,t){const s=this;if(e){const i=s.rgb,o=e.rgb;let c;const d=t===c?.5:t,h=2*d-1,m=i.a-o.a,g=((h*m==-1?h:(h+m)/(1+h*m))+1)/2;c=1-g,i.r=255&g*i.r+c*o.r+.5,i.g=255&g*i.g+c*o.g+.5,i.b=255&g*i.b+c*o.b+.5,i.a=d*i.a+(1-d)*o.a,s.rgb=i}return s}clone(){return new ML(this.rgb)}alpha(e){return this._rgb.a=AE(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=TE(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return DL(this._rgb,2,e),this}darken(e){return DL(this._rgb,2,-e),this}saturate(e){return DL(this._rgb,1,e),this}desaturate(e){return DL(this._rgb,1,-e),this}rotate(e){return function Uce(n,e){var t=OB(n);t[0]=Cz(t[0]+e),t=FB(t),n.r=t[0],n.g=t[1],n.b=t[2]}(this._rgb,e),this}}function Iz(n){return new ML(n)}const Az=n=>n instanceof CanvasGradient||n instanceof CanvasPattern;function Lz(n){return Az(n)?n:Iz(n)}function YB(n){return Az(n)?n:Iz(n).saturate(.5).darken(.1).hexString()}const h_=Object.create(null),BB=Object.create(null);function LE(n,e){if(!e)return n;const t=e.split(".");for(let s=0,i=t.length;st.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,s)=>YB(s.backgroundColor),this.hoverBorderColor=(t,s)=>YB(s.borderColor),this.hoverColor=(t,s)=>YB(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e)}set(e,t){return jB(this,e,t)}get(e){return LE(this,e)}describe(e,t){return jB(BB,e,t)}override(e,t){return jB(h_,e,t)}route(e,t,s,i){const o=LE(this,e),c=LE(this,s),d="_"+t;Object.defineProperties(o,{[d]:{value:o[t],writable:!0},[t]:{enumerable:!0,get(){const h=this[d],m=c[i];return Un(h)?Object.assign({},m,h):Sn(h,m)},set(h){this[d]=h}}})}}({_scriptable:n=>!n.startsWith("on"),_indexable:n=>"events"!==n,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function CL(n,e,t,s,i){let o=e[i];return o||(o=e[i]=n.measureText(i).width,t.push(i)),o>s&&(s=o),s}function Qce(n,e,t,s){let i=(s=s||{}).data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(i=s.data={},o=s.garbageCollect=[],s.font=e),n.save(),n.font=e;let c=0;const d=t.length;let h,m,g,b,E;for(h=0;ht.length){for(h=0;h0&&n.stroke()}}function f_(n,e,t){return t=t||.5,!e||n&&n.x>e.left-t&&n.xe.top-t&&n.y0&&""!==o.strokeColor;let h,m;for(n.save(),n.font=i.string,function Jce(n,e){e.translation&&n.translate(e.translation[0],e.translation[1]),is(e.rotation)||n.rotate(e.rotation),e.color&&(n.fillStyle=e.color),e.textAlign&&(n.textAlign=e.textAlign),e.textBaseline&&(n.textBaseline=e.textBaseline)}(n,o),h=0;h+n||0;function VB(n,e){const t={},s=Un(e),i=s?Object.keys(e):e,o=Un(n)?s?c=>Sn(n[c],n[e[c]]):c=>n[c]:()=>n;for(const c of i)t[c]=rue(o(c));return t}function Rz(n){return VB(n,{top:"y",right:"x",bottom:"y",left:"x"})}function zb(n){return VB(n,["topLeft","topRight","bottomLeft","bottomRight"])}function _o(n){const e=Rz(n);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function gi(n,e){n=n||{},e=e||Yn.font;let t=Sn(n.size,e.size);"string"==typeof t&&(t=parseInt(t,10));let s=Sn(n.style,e.style);s&&!(""+s).match(nue)&&(console.warn('Invalid font style specified: "'+s+'"'),s="");const i={family:Sn(n.family,e.family),lineHeight:sue(Sn(n.lineHeight,e.lineHeight),t),size:t,style:s,weight:Sn(n.weight,e.weight),string:""};return i.string=function Kce(n){return!n||is(n.size)||is(n.family)?null:(n.style?n.style+" ":"")+(n.weight?n.weight+" ":"")+n.size+"px "+n.family}(i),i}function PE(n,e,t,s){let o,c,d,i=!0;for(o=0,c=n.length;on[c]1;)o=i+s>>1,t(o)?i=o:s=o;return{lo:i,hi:s}}const dh=(n,e,t)=>HB(n,t,s=>n[s][e]HB(n,t,s=>n[s][e]>=t);const Oz=["push","pop","shift","splice","unshift"];function Nz(n,e){const t=n._chartjs;if(!t)return;const s=t.listeners,i=s.indexOf(e);-1!==i&&s.splice(i,1),!(s.length>0)&&(Oz.forEach(o=>{delete n[o]}),delete n._chartjs)}function Fz(n){const e=new Set;let t,s;for(t=0,s=n.length;tn[0]){Ml(s)||(s=Hz("_fallback",n));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:n,_rootScopes:t,_fallback:s,_getTarget:i,override:c=>UB([c,...n],e,t,s)};return new Proxy(o,{deleteProperty:(c,d)=>(delete c[d],delete c._keys,delete n[0][d],!0),get:(c,d)=>Bz(c,d,()=>function gue(n,e,t,s){let i;for(const o of e)if(i=Hz(cue(o,n),t),Ml(i))return $B(n,i)?zB(t,s,n,i):i}(d,e,n,c)),getOwnPropertyDescriptor:(c,d)=>Reflect.getOwnPropertyDescriptor(c._scopes[0],d),getPrototypeOf:()=>Reflect.getPrototypeOf(n[0]),has:(c,d)=>Uz(c).includes(d),ownKeys:c=>Uz(c),set(c,d,h){const m=c._storage||(c._storage=i());return c[d]=m[d]=h,delete c._keys,!0}})}function Wb(n,e,t,s){const i={_cacheable:!1,_proxy:n,_context:e,_subProxy:t,_stack:new Set,_descriptors:Yz(n,s),setContext:o=>Wb(n,o,t,s),override:o=>Wb(n.override(o),e,t,s)};return new Proxy(i,{deleteProperty:(o,c)=>(delete o[c],delete n[c],!0),get:(o,c,d)=>Bz(o,c,()=>function uue(n,e,t){const{_proxy:s,_context:i,_subProxy:o,_descriptors:c}=n;let d=s[e];return Mf(d)&&c.isScriptable(e)&&(d=function due(n,e,t,s){const{_proxy:i,_context:o,_subProxy:c,_stack:d}=t;if(d.has(n))throw new Error("Recursion detected: "+Array.from(d).join("->")+"->"+n);return d.add(n),e=e(o,c||s),d.delete(n),$B(n,e)&&(e=zB(i._scopes,i,n,e)),e}(e,d,n,t)),qs(d)&&d.length&&(d=function hue(n,e,t,s){const{_proxy:i,_context:o,_subProxy:c,_descriptors:d}=t;if(Ml(o.index)&&s(n))e=e[o.index%e.length];else if(Un(e[0])){const h=e,m=i._scopes.filter(g=>g!==h);e=[];for(const g of h){const b=zB(m,i,n,g);e.push(Wb(b,o,c&&c[n],d))}}return e}(e,d,n,c.isIndexable)),$B(e,d)&&(d=Wb(d,i,o&&o[e],c)),d}(o,c,d)),getOwnPropertyDescriptor:(o,c)=>o._descriptors.allKeys?Reflect.has(n,c)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(n,c),getPrototypeOf:()=>Reflect.getPrototypeOf(n),has:(o,c)=>Reflect.has(n,c),ownKeys:()=>Reflect.ownKeys(n),set:(o,c,d)=>(n[c]=d,delete o[c],!0)})}function Yz(n,e={scriptable:!0,indexable:!0}){const{_scriptable:t=e.scriptable,_indexable:s=e.indexable,_allKeys:i=e.allKeys}=n;return{allKeys:i,scriptable:t,indexable:s,isScriptable:Mf(t)?t:()=>t,isIndexable:Mf(s)?s:()=>s}}const cue=(n,e)=>n?n+IB(e):e,$B=(n,e)=>Un(e)&&"adapters"!==n&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Bz(n,e,t){if(Object.prototype.hasOwnProperty.call(n,e))return n[e];const s=t();return n[e]=s,s}function jz(n,e,t){return Mf(n)?n(e,t):n}const pue=(n,e)=>!0===n?e:"string"==typeof n?d_(e,n):void 0;function fue(n,e,t,s,i){for(const o of e){const c=pue(t,o);if(c){n.add(c);const d=jz(c._fallback,t,i);if(Ml(d)&&d!==t&&d!==s)return d}else if(!1===c&&Ml(s)&&t!==s)return null}return!1}function zB(n,e,t,s){const i=e._rootScopes,o=jz(e._fallback,t,s),c=[...n,...i],d=new Set;d.add(s);let h=Vz(d,c,t,o||t,s);return!(null===h||Ml(o)&&o!==t&&(h=Vz(d,c,o,h,s),null===h))&&UB(Array.from(d),[""],i,o,()=>function mue(n,e,t){const s=n._getTarget();e in s||(s[e]={});const i=s[e];return qs(i)&&Un(t)?t:i}(e,t,s))}function Vz(n,e,t,s,i){for(;t;)t=fue(n,e,t,s,i);return t}function Hz(n,e){for(const t of e){if(!t)continue;const s=t[n];if(Ml(s))return s}}function Uz(n){let e=n._keys;return e||(e=n._keys=function _ue(n){const e=new Set;for(const t of n)for(const s of Object.keys(t).filter(i=>!i.startsWith("_")))e.add(s);return Array.from(e)}(n._scopes)),e}const yue=Number.EPSILON||1e-14,qb=(n,e)=>e"x"===n?"y":"x";function vue(n,e,t,s){const i=n.skip?e:n,o=e,c=t.skip?e:t,d=LB(o,i),h=LB(c,o);let m=d/(d+h),g=h/(d+h);m=isNaN(m)?0:m,g=isNaN(g)?0:g;const b=s*m,E=s*g;return{previous:{x:o.x-b*(c.x-i.x),y:o.y-b*(c.y-i.y)},next:{x:o.x+E*(c.x-i.x),y:o.y+E*(c.y-i.y)}}}function Sue(n,e="x"){const t=$z(e),s=n.length,i=Array(s).fill(0),o=Array(s);let c,d,h,m=qb(n,0);for(c=0;c!m.skip)),"monotone"===e.cubicInterpolationMode)Sue(n,i);else{let m=s?n[n.length-1]:n[0];for(o=0,c=n.length;owindow.getComputedStyle(n,null);const Eue=["top","right","bottom","left"];function g_(n,e,t){const s={};t=t?"-"+t:"";for(let i=0;i<4;i++){const o=Eue[i];s[o]=parseFloat(n[e+"-"+o+t])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const xue=(n,e,t)=>(n>0||e>0)&&(!t||!t.shadowRoot);function Wz(n,e){const{canvas:t,currentDevicePixelRatio:s}=e,i=LL(t),o="border-box"===i.boxSizing,c=g_(i,"padding"),d=g_(i,"border","width"),{x:h,y:m,box:g}=function kue(n,e){const t=n.native||n,s=t.touches,i=s&&s.length?s[0]:t,{offsetX:o,offsetY:c}=i;let h,m,d=!1;if(xue(o,c,t.target))h=o,m=c;else{const g=e.getBoundingClientRect();h=i.clientX-g.left,m=i.clientY-g.top,d=!0}return{x:h,y:m,box:d}}(n,t),b=c.left+(g&&d.left),E=c.top+(g&&d.top);let{width:x,height:P}=e;return o&&(x-=c.width+d.width,P-=c.height+d.height),{x:Math.round((h-b)/x*t.width/s),y:Math.round((m-E)/P*t.height/s)}}const qB=n=>Math.round(10*n)/10;function Iue(n,e,t,s){const i=LL(n),o=g_(i,"margin"),c=AL(i.maxWidth,n,"clientWidth")||yL,d=AL(i.maxHeight,n,"clientHeight")||yL,h=function Tue(n,e,t){let s,i;if(void 0===e||void 0===t){const o=WB(n);if(o){const c=o.getBoundingClientRect(),d=LL(o),h=g_(d,"border","width"),m=g_(d,"padding");e=c.width-m.width-h.width,t=c.height-m.height-h.height,s=AL(d.maxWidth,o,"clientWidth"),i=AL(d.maxHeight,o,"clientHeight")}else e=n.clientWidth,t=n.clientHeight}return{width:e,height:t,maxWidth:s||yL,maxHeight:i||yL}}(n,e,t);let{width:m,height:g}=h;if("content-box"===i.boxSizing){const b=g_(i,"border","width"),E=g_(i,"padding");m-=E.width+b.width,g-=E.height+b.height}return m=Math.max(0,m-o.width),g=Math.max(0,s?Math.floor(m/s):g-o.height),m=qB(Math.min(m,c,h.maxWidth)),g=qB(Math.min(g,d,h.maxHeight)),m&&!g&&(g=qB(m/2)),{width:m,height:g}}function qz(n,e,t){const s=e||1,i=Math.floor(n.height*s),o=Math.floor(n.width*s);n.height=i/s,n.width=o/s;const c=n.canvas;return c.style&&(t||!c.style.height&&!c.style.width)&&(c.style.height=`${n.height}px`,c.style.width=`${n.width}px`),(n.currentDevicePixelRatio!==s||c.height!==i||c.width!==o)&&(n.currentDevicePixelRatio=s,c.height=i,c.width=o,n.ctx.setTransform(s,0,0,s,0,0),!0)}const Aue=function(){let n=!1;try{const e={get passive(){return n=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch{}return n}();function Gz(n,e){const t=function Cue(n,e){return LL(n).getPropertyValue(e)}(n,e),s=t&&t.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function __(n,e,t,s){return{x:n.x+t*(e.x-n.x),y:n.y+t*(e.y-n.y)}}function Lue(n,e,t,s){return{x:n.x+t*(e.x-n.x),y:"middle"===s?t<.5?n.y:e.y:"after"===s?t<1?n.y:e.y:t>0?e.y:n.y}}function Pue(n,e,t,s){const i={x:n.cp2x,y:n.cp2y},o={x:e.cp1x,y:e.cp1y},c=__(n,i,t),d=__(i,o,t),h=__(o,e,t),m=__(c,d,t),g=__(d,h,t);return __(m,g,t)}const Kz=new Map;function RE(n,e,t){return function Rue(n,e){e=e||{};const t=n+JSON.stringify(e);let s=Kz.get(t);return s||(s=new Intl.NumberFormat(n,e),Kz.set(t,s)),s}(e,t).format(n)}function Gb(n,e,t){return n?function(n,e){return{x:t=>n+n+e-t,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,s)=>t-s,leftForLtr:(t,s)=>t-s}}(e,t):{x:n=>n,setWidth(n){},textAlign:n=>n,xPlus:(n,e)=>n+e,leftForLtr:(n,e)=>n}}function Qz(n,e){let t,s;("ltr"===e||"rtl"===e)&&(t=n.canvas.style,s=[t.getPropertyValue("direction"),t.getPropertyPriority("direction")],t.setProperty("direction",e,"important"),n.prevTextDirection=s)}function Xz(n,e){void 0!==e&&(delete n.prevTextDirection,n.canvas.style.setProperty("direction",e[0],e[1]))}function Zz(n){return"angle"===n?{between:xE,compare:xce,normalize:Fa}:{between:uh,compare:(e,t)=>e-t,normalize:e=>e}}function Jz({start:n,end:e,count:t,loop:s,style:i}){return{start:n%t,end:e%t,loop:s&&(e-n+1)%t==0,style:i}}function e6(n,e,t){if(!t)return[n];const{property:s,start:i,end:o}=t,c=e.length,{compare:d,between:h,normalize:m}=Zz(s),{start:g,end:b,loop:E,style:x}=function Fue(n,e,t){const{property:s,start:i,end:o}=t,{between:c,normalize:d}=Zz(s),h=e.length;let E,x,{start:m,end:g,loop:b}=n;if(b){for(m+=h,g+=h,E=0,x=h;EF||h(i,ie,W)&&0!==d(i,ie),ke=()=>!F||0===d(o,W)||h(o,ie,W);for(let Qe=g,it=g;Qe<=b;++Qe)z=e[Qe%c],!z.skip&&(W=m(z[s]),W!==ie&&(F=h(W,i,o),null===H&&xe()&&(H=0===d(W,i)?Qe:it),null!==H&&ke()&&(P.push(Jz({start:H,end:Qe,loop:E,count:c,style:x})),H=null),it=Qe,ie=W));return null!==H&&P.push(Jz({start:H,end:b,loop:E,count:c,style:x})),P}function t6(n,e){const t=[],s=n.segments;for(let i=0;id({chart:e,initial:t.initial,numSteps:c,currentStep:Math.min(s-t.start,c)}))}_refresh(){this._request||(this._running=!0,this._request=uz.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((s,i)=>{if(!s.running||!s.items.length)return;const o=s.items;let h,c=o.length-1,d=!1;for(;c>=0;--c)h=o[c],h._active?(h._total>s.duration&&(s.duration=h._total),h.tick(e),d=!0):(o[c]=o[o.length-1],o.pop());d&&(i.draw(),this._notify(i,s,e,"progress")),o.length||(s.running=!1,this._notify(i,s,e,"complete"),s.initial=!1),t+=o.length}),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let s=t.get(e);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,s)),s}listen(e,t,s){this._getAnims(e).listeners[t].push(s)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((s,i)=>Math.max(s,i._duration),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const s=t.items;let i=s.length-1;for(;i>=0;--i)s[i].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}};const r6="transparent",$ue={boolean:(n,e,t)=>t>.5?e:n,color(n,e,t){const s=Lz(n||r6),i=s.valid&&Lz(e||r6);return i&&i.valid?i.mix(s,t).hexString():e},number:(n,e,t)=>n+(e-n)*t};class zue{constructor(e,t,s,i){const o=t[s];i=PE([e.to,i,o,e.from]);const c=PE([e.from,o,i]);this._active=!0,this._fn=e.fn||$ue[e.type||typeof c],this._easing=kE[e.easing]||kE.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=s,this._from=c,this._to=i,this._promises=void 0}active(){return this._active}update(e,t,s){if(this._active){this._notify(!1);const i=this._target[this._prop],o=s-this._start,c=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(c,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=PE([e.to,t,i,e.from]),this._from=PE([e.from,i,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,s=this._duration,i=this._prop,o=this._from,c=this._loop,d=this._to;let h;if(this._active=o!==d&&(c||t1?2-h:h,h=this._easing(Math.min(1,Math.max(0,h))),this._target[i]=this._fn(o,d,h))}wait(){const e=this._promises||(this._promises=[]);return new Promise((t,s)=>{e.push({res:t,rej:s})})}_notify(e){const t=e?"res":"rej",s=this._promises||[];for(let i=0;i"onProgress"!==n&&"onComplete"!==n&&"fn"!==n}),Yn.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),Yn.describe("animations",{_fallback:"animation"}),Yn.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:n=>0|n}}}});class i6{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!Un(e))return;const t=this._properties;Object.getOwnPropertyNames(e).forEach(s=>{const i=e[s];if(!Un(i))return;const o={};for(const c of Gue)o[c]=i[c];(qs(i.properties)&&i.properties||[s]).forEach(c=>{(c===s||!t.has(c))&&t.set(c,o)})})}_animateOptions(e,t){const s=t.options,i=function Que(n,e){if(!e)return;let t=n.options;if(!t)return void(n.options=e);return t.$shared&&(n.options=t=Object.assign({},t,{$shared:!1,$animations:{}})),t}(e,s);if(!i)return[];const o=this._createAnimations(i,s);return s.$shared&&function Kue(n,e){const t=[],s=Object.keys(e);for(let i=0;i{e.options=s},()=>{}),o}_createAnimations(e,t){const s=this._properties,i=[],o=e.$animations||(e.$animations={}),c=Object.keys(t),d=Date.now();let h;for(h=c.length-1;h>=0;--h){const m=c[h];if("$"===m.charAt(0))continue;if("options"===m){i.push(...this._animateOptions(e,t));continue}const g=t[m];let b=o[m];const E=s.get(m);if(b){if(E&&b.active()){b.update(E,g,d);continue}b.cancel()}E&&E.duration?(o[m]=b=new zue(E,e,m,g),i.push(b)):e[m]=g}return i}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const s=this._createAnimations(e,t);return s.length?(hh.add(this._chart,s),!0):void 0}}function o6(n,e){const t=n&&n.options||{},s=t.reverse,i=void 0===t.min?e:0,o=void 0===t.max?e:0;return{start:s?o:i,end:s?i:o}}function a6(n,e){const t=[],s=n._getSortedDatasetMetas(e);let i,o;for(i=0,o=s.length;i0||!t&&o<0)return i.index}return null}function d6(n,e){const{chart:t,_cachedMeta:s}=n,i=t._stacks||(t._stacks={}),{iScale:o,vScale:c,index:d}=s,h=o.axis,m=c.axis,g=function ede(n,e,t){return`${n.id}.${e.id}.${t.stack||t.type}`}(o,c,s),b=e.length;let E;for(let x=0;xt[s].axis===e).shift()}function OE(n,e){const t=n.controller.index,s=n.vScale&&n.vScale.axis;if(s){e=e||n._parsed;for(const i of e){const o=i._stacks;if(!o||void 0===o[s]||void 0===o[s][t])return;delete o[s][t]}}}const KB=n=>"reset"===n||"none"===n,h6=(n,e)=>e?n:Object.assign({},n);class Au{constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=c6(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&OE(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,s=this.getDataset(),i=(b,E,x,P)=>"x"===b?E:"r"===b?P:x,o=t.xAxisID=Sn(s.xAxisID,GB(e,"x")),c=t.yAxisID=Sn(s.yAxisID,GB(e,"y")),d=t.rAxisID=Sn(s.rAxisID,GB(e,"r")),h=t.indexAxis,m=t.iAxisID=i(h,o,c,d),g=t.vAxisID=i(h,c,o,d);t.xScale=this.getScaleForId(o),t.yScale=this.getScaleForId(c),t.rScale=this.getScaleForId(d),t.iScale=this.getScaleForId(m),t.vScale=this.getScaleForId(g)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Nz(this._data,this),e._stacked&&OE(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),s=this._data;if(Un(t))this._data=function Jue(n){const e=Object.keys(n),t=new Array(e.length);let s,i,o;for(s=0,i=e.length;s{const s="_onData"+IB(t),i=n[t];Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value(...o){const c=i.apply(this,o);return n._chartjs.listeners.forEach(d=>{"function"==typeof d[s]&&d[s](...o)}),c}})}))}(t,this),this._syncList=[],this._data=t}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,s=this.getDataset();let i=!1;this._dataCheck();const o=t._stacked;t._stacked=c6(t.vScale,t),t.stack!==s.stack&&(i=!0,OE(t),t.stack=s.stack),this._resyncElements(e),(i||o!==t._stacked)&&d6(this,t._parsed)}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),s=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:s,_data:i}=this,{iScale:o,_stacked:c}=s,d=o.axis;let g,b,E,h=0===e&&t===i.length||s._sorted,m=e>0&&s._parsed[e-1];if(!1===this._parsing)s._parsed=i,s._sorted=!0,E=i;else{E=qs(i[e])?this.parseArrayData(s,i,e,t):Un(i[e])?this.parseObjectData(s,i,e,t):this.parsePrimitiveData(s,i,e,t);const x=()=>null===b[d]||m&&b[d]n&&!e.hidden&&e._stacked&&{keys:a6(t,!0),values:null})(t,s,this.chart),m={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:g,max:b}=function tde(n){const{min:e,max:t,minDefined:s,maxDefined:i}=n.getUserBounds();return{min:s?e:Number.NEGATIVE_INFINITY,max:i?t:Number.POSITIVE_INFINITY}}(d);let E,x;function P(){x=i[E];const F=x[d.axis];return!$r(x[e.axis])||g>F||b=0;--E)if(!P()){this.updateRangeFromParsed(m,e,x,h);break}return m}getAllParsedValues(e){const t=this._cachedMeta._parsed,s=[];let i,o,c;for(i=0,o=t.length;i=0&&ethis.getContext(s,i),b);return F.$shared&&(F.$shared=h,o[c]=Object.freeze(h6(F,h))),F}_resolveAnimations(e,t,s){const i=this.chart,o=this._cachedDataOpts,c=`animation-${t}`,d=o[c];if(d)return d;let h;if(!1!==i.options.animation){const g=this.chart.config,b=g.datasetAnimationScopeKeys(this._type,t),E=g.getOptionScopes(this.getDataset(),b);h=g.createResolver(E,this.getContext(e,s,t))}const m=new i6(i,h&&h.animations);return h&&h._cacheable&&(o[c]=Object.freeze(m)),m}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||KB(e)||this.chart._animationsDisabled}updateElement(e,t,s,i){KB(i)?Object.assign(e,s):this._resolveAnimations(t,i).update(e,s)}updateSharedOptions(e,t,s){e&&!KB(t)&&this._resolveAnimations(void 0,t).update(e,s)}_setStyle(e,t,s,i){e.active=i;const o=this.getStyle(t,i);this._resolveAnimations(t,s,i).update(e,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(e,t,s){this._setStyle(e,s,"active",!1)}setHoverStyle(e,t,s){this._setStyle(e,s,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,s=this._cachedMeta.data;for(const[d,h,m]of this._syncList)this[d](h,m);this._syncList=[];const i=s.length,o=t.length,c=Math.min(o,i);c&&this.parse(0,c),o>i?this._insertElements(i,o-i,e):o{for(m.length+=t,d=m.length-1;d>=c;d--)m[d]=m[d-t]};for(h(o),d=e;di-o))}return n._cache.$bar}(e,n.type);let i,o,c,d,s=e._length;const h=()=>{32767===c||-32768===c||(Ml(d)&&(s=Math.min(s,Math.abs(c-d)||s)),d=c)};for(i=0,o=t.length;iMath.abs(d)&&(h=d,m=c),e[t.axis]=m,e._custom={barStart:h,barEnd:m,start:i,end:o,min:c,max:d}}(n,e,t,s):e[t.axis]=t.parse(n,s),e}function f6(n,e,t,s){const i=n.iScale,o=n.vScale,c=i.getLabels(),d=i===o,h=[];let m,g,b,E;for(m=t,g=t+s;mn.x,t="left",s="right"):(e=n.base=t?1:-1)}(P,t,c)*o,g===c&&(H-=P/2),x=H+P),H===t.getPixelForValue(c)){const W=Iu(P)*t.getLineWidthForValue(c)/2;H+=W,P-=W}return{size:P,base:H,head:x,center:x+P/2}}_calculateBarIndexPixels(e,t){const s=t.scale,i=this.options,o=i.skipNull,c=Sn(i.maxBarThickness,1/0);let d,h;if(t.grouped){const m=o?this._getStackCount(e):t.stackCount,g="flex"===i.barThickness?function cde(n,e,t,s){const i=e.pixels,o=i[n];let c=n>0?i[n-1]:null,d=n=0;--s)t=Math.max(t,e[s].size(this.resolveDataElementOptions(s))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,{xScale:s,yScale:i}=t,o=this.getParsed(e),c=s.getLabelForValue(o.x),d=i.getLabelForValue(o.y),h=o._custom;return{label:t.label,value:"("+c+", "+d+(h?", "+h:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,s,i){const o="reset"===i,{iScale:c,vScale:d}=this._cachedMeta,h=this.resolveDataElementOptions(t,i),m=this.getSharedOptions(h),g=this.includeOptions(i,m),b=c.axis,E=d.axis;for(let x=t;x""}}}};class y_ extends Au{constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const s=this.getDataset().data,i=this._cachedMeta;if(!1===this._parsing)i._parsed=s;else{let c,d,o=h=>+s[h];if(Un(s[e])){const{key:h="value"}=this._parsing;o=m=>+d_(s[m],h)}for(c=e,d=e+t;c"string"==typeof n&&n.endsWith("%")?parseFloat(n)/100:n/e)(this.options.cutout,d),1),m=this._getRingWeight(this.index),{circumference:g,rotation:b}=this._getRotationExtents(),{ratioX:E,ratioY:x,offsetX:P,offsetY:F}=function gde(n,e,t){let s=1,i=1,o=0,c=0;if(exE(ie,d,h,!0)?1:Math.max(ce,ce*t,he,he*t),P=(ie,ce,he)=>xE(ie,d,h,!0)?-1:Math.min(ce,ce*t,he,he*t),F=x(0,m,b),H=x(Nr,g,E),W=P(fr,m,b),z=P(fr+Nr,g,E);s=(F-W)/2,i=(H-z)/2,o=-(F+W)/2,c=-(H+z)/2}return{ratioX:s,ratioY:i,offsetX:o,offsetY:c}}(b,g,h),H=(s.width-c)/E,W=(s.height-c)/x,z=Math.max(Math.min(H,W)/2,0),ie=hz(this.options.radius,z),he=(ie-Math.max(ie*h,0))/this._getVisibleDatasetWeightTotal();this.offsetX=P*ie,this.offsetY=F*ie,i.total=this.calculateTotal(),this.outerRadius=ie-he*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-he*m,0),this.updateElements(o,0,o.length,e)}_circumference(e,t){const s=this.options,i=this._cachedMeta,o=this._getCircumference();return t&&s.animation.animateRotate||!this.chart.getDataVisibility(e)||null===i._parsed[e]||i.data[e].hidden?0:this.calculateCircumference(i._parsed[e]*o/Vs)}updateElements(e,t,s,i){const o="reset"===i,c=this.chart,d=c.chartArea,m=c.options.animation,g=(d.left+d.right)/2,b=(d.top+d.bottom)/2,E=o&&m.animateScale,x=E?0:this.innerRadius,P=E?0:this.outerRadius,F=this.resolveDataElementOptions(t,i),H=this.getSharedOptions(F),W=this.includeOptions(i,H);let ie,z=this._getRotation();for(ie=0;ie0&&!isNaN(e)?Vs*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,s=this.chart,i=s.data.labels||[],o=RE(t._parsed[e],s.options.locale);return{label:i[e]||"",value:o}}getMaxBorderWidth(e){let t=0;const s=this.chart;let i,o,c,d,h;if(!e)for(i=0,o=s.data.datasets.length;i"spacing"!==n,_indexable:n=>"spacing"!==n},y_.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const e=n.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:t}}=n.legend.options;return e.labels.map((s,i)=>{const c=n.getDatasetMeta(0).controller.getStyle(i);return{text:s,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,lineWidth:c.borderWidth,pointStyle:t,hidden:!n.getDataVisibility(i),index:i}})}return[]}},onClick(n,e,t){t.chart.toggleDataVisibility(e.index),t.chart.update()}},tooltip:{callbacks:{title:()=>"",label(n){let e=n.label;const t=": "+n.formattedValue;return qs(e)?(e=e.slice(),e[0]+=t):e+=t,e}}}}};class Kb extends Au{initialize(){this.enableOptionSharing=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:s,data:i=[],_dataset:o}=t,c=this.chart._animationsDisabled;let{start:d,count:h}=function _de(n,e,t){const s=e.length;let i=0,o=s;if(n._sorted){const{iScale:c,_parsed:d}=n,h=c.axis,{min:m,max:g,minDefined:b,maxDefined:E}=c.getUserBounds();b&&(i=Li(Math.min(dh(d,c.axis,m).lo,t?s:dh(e,h,c.getPixelForValue(m)).lo),0,s-1)),o=E?Li(Math.max(dh(d,c.axis,g).hi+1,t?0:dh(e,h,c.getPixelForValue(g)).hi+1),i,s)-i:s-i}return{start:i,count:o}}(t,i,c);this._drawStart=d,this._drawCount=h,function yde(n){const{xScale:e,yScale:t,_scaleRanges:s}=n,i={xmin:e.min,xmax:e.max,ymin:t.min,ymax:t.max};if(!s)return n._scaleRanges=i,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==t.min||s.ymax!==t.max;return Object.assign(s,i),o}(t)&&(d=0,h=i.length),s._chart=this.chart,s._datasetIndex=this.index,s._decimated=!!o._decimated,s.points=i;const m=this.resolveDatasetElementOptions(e);this.options.showLine||(m.borderWidth=0),m.segment=this.options.segment,this.updateElement(s,void 0,{animated:!c,options:m},e),this.updateElements(i,d,h,e)}updateElements(e,t,s,i){const o="reset"===i,{iScale:c,vScale:d,_stacked:h,_dataset:m}=this._cachedMeta,g=this.resolveDataElementOptions(t,i),b=this.getSharedOptions(g),E=this.includeOptions(i,b),x=c.axis,P=d.axis,{spanGaps:F,segment:H}=this.options,W=CE(F)?F:Number.POSITIVE_INFINITY,z=this.chart._animationsDisabled||o||"none"===i;let ie=t>0&&this.getParsed(t-1);for(let ce=t;ce0&&xe[x]-ie[x]>W,H&&(ke.parsed=xe,ke.raw=m.data[ce]),E&&(ke.options=b||this.resolveDataElementOptions(ce,he.active?"active":i)),z||this.updateElement(he,ce,ke,i),ie=xe}this.updateSharedOptions(b,i,g)}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,s=t.options&&t.options.borderWidth||0,i=e.data||[];if(!i.length)return s;const o=i[0].size(this.resolveDataElementOptions(0)),c=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(s,o,c)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}Kb.id="line",Kb.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},Kb.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class YE extends Au{constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,s=this.chart,i=s.data.labels||[],o=RE(t._parsed[e].r,s.options.locale);return{label:i[e]||"",value:o}}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}_updateRadius(){const e=this.chart,t=e.chartArea,s=e.options,i=Math.min(t.right-t.left,t.bottom-t.top),o=Math.max(i/2,0),d=(o-Math.max(s.cutoutPercentage?o/100*s.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=o-d*this.index,this.innerRadius=this.outerRadius-d}updateElements(e,t,s,i){const o="reset"===i,c=this.chart,d=this.getDataset(),m=c.options.animation,g=this._cachedMeta.rScale,b=g.xCenter,E=g.yCenter,x=g.getIndexAngle(0)-.5*fr;let F,P=x;const H=360/this.countVisibleElements();for(F=0;F{!isNaN(e.data[o])&&this.chart.getDataVisibility(o)&&s++}),s}_computeAngle(e,t,s){return this.chart.getDataVisibility(e)?Dc(this.resolveDataElementOptions(e,t).angle||s):0}}YE.id="polarArea",YE.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},YE.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const e=n.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:t}}=n.legend.options;return e.labels.map((s,i)=>{const c=n.getDatasetMeta(0).controller.getStyle(i);return{text:s,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,lineWidth:c.borderWidth,pointStyle:t,hidden:!n.getDataVisibility(i),index:i}})}return[]}},onClick(n,e,t){t.chart.toggleDataVisibility(e.index),t.chart.update()}},tooltip:{callbacks:{title:()=>"",label:n=>n.chart.data.labels[n.dataIndex]+": "+n.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class PL extends y_{}PL.id="pie",PL.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class BE extends Au{getLabelAndValue(e){const t=this._cachedMeta.vScale,s=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(s[t.axis])}}update(e){const t=this._cachedMeta,s=t.dataset,i=t.data||[],o=t.iScale.getLabels();if(s.points=i,"resize"!==e){const c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0);const d={_loop:!0,_fullLoop:o.length===i.length,options:c};this.updateElement(s,void 0,d,e)}this.updateElements(i,0,i.length,e)}updateElements(e,t,s,i){const o=this.getDataset(),c=this._cachedMeta.rScale,d="reset"===i;for(let h=t;h"",label:n=>"("+n.label+", "+n.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function v_(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class XB{constructor(e){this.options=e||{}}formats(){return v_()}parse(e,t){return v_()}format(e,t){return v_()}add(e,t,s){return v_()}diff(e,t,s){return v_()}startOf(e,t,s){return v_()}endOf(e,t){return v_()}}XB.override=function(n){Object.assign(XB.prototype,n)};var bde={_date:XB};function VE(n,e){return"native"in n?{x:n.x,y:n.y}:Wz(n,e)}function Sde(n,e,t,s){const{controller:i,data:o,_sorted:c}=n,d=i._cachedMeta.iScale;if(d&&e===d.axis&&"r"!==e&&c&&o.length){const h=d._reversePixels?oue:dh;if(!s)return h(o,e,t);if(i._sharedOptions){const m=o[0],g="function"==typeof m.getRange&&m.getRange(e);if(g){const b=h(o,e,t-g),E=h(o,e,t+g);return{lo:b.lo,hi:E.hi}}}}return{lo:0,hi:o.length-1}}function ZB(n,e,t,s,i){const o=n.getSortedVisibleDatasetMetas(),c=t[e];for(let d=0,h=o.length;d{m[d](i[c],s)&&o.push({element:m,datasetIndex:g,index:b}),m.inRange(i.x,i.y,s)&&(h=!0)}),t.intersect&&!h?[]:o}var Ede={modes:{index(n,e,t,s){const i=VE(e,n),o=t.axis||"x",c=t.intersect?JB(n,i,o,s):ej(n,i,o,!1,s),d=[];return c.length?(n.getSortedVisibleDatasetMetas().forEach(h=>{const m=c[0].index,g=h.data[m];g&&!g.skip&&d.push({element:g,datasetIndex:h.index,index:m})}),d):[]},dataset(n,e,t,s){const i=VE(e,n),o=t.axis||"xy";let c=t.intersect?JB(n,i,o,s):ej(n,i,o,!1,s);if(c.length>0){const d=c[0].datasetIndex,h=n.getDatasetMeta(d).data;c=[];for(let m=0;mJB(n,VE(e,n),t.axis||"xy",s),nearest:(n,e,t,s)=>ej(n,VE(e,n),t.axis||"xy",t.intersect,s),x:(n,e,t,s)=>_6(n,e,{axis:"x",intersect:t.intersect},s),y:(n,e,t,s)=>_6(n,e,{axis:"y",intersect:t.intersect},s)}};const y6=["left","top","right","bottom"];function HE(n,e){return n.filter(t=>t.pos===e)}function v6(n,e){return n.filter(t=>-1===y6.indexOf(t.pos)&&t.box.axis===e)}function UE(n,e){return n.sort((t,s)=>{const i=e?s:t,o=e?t:s;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function Tde(n,e){const t=function kde(n){const e={};for(const t of n){const{stack:s,pos:i,stackWeight:o}=t;if(!s||!y6.includes(i))continue;const c=e[s]||(e[s]={count:0,placed:0,weight:0,size:0});c.count++,c.weight+=o}return e}(n),{vBoxMaxWidth:s,hBoxMaxHeight:i}=e;let o,c,d;for(o=0,c=n.length;o{o[c]=Math.max(e[c],t[c])}),o}(n?["left","right"]:["top","bottom"])}function $E(n,e,t,s){const i=[];let o,c,d,h,m,g;for(o=0,c=n.length,m=0;om.box.fullSize),!0),s=UE(HE(e,"left"),!0),i=UE(HE(e,"right")),o=UE(HE(e,"top"),!0),c=UE(HE(e,"bottom")),d=v6(e,"x"),h=v6(e,"y");return{fullSize:t,leftAndTop:s.concat(o),rightAndBottom:i.concat(h).concat(c).concat(d),chartArea:HE(e,"chartArea"),vertical:s.concat(i).concat(h),horizontal:o.concat(c).concat(d)}}(n.boxes),h=d.vertical,m=d.horizontal;Ms(n.boxes,F=>{"function"==typeof F.beforeLayout&&F.beforeLayout()});const g=h.reduce((F,H)=>H.box.options&&!1===H.box.options.display?F:F+1,0)||1,b=Object.freeze({outerWidth:e,outerHeight:t,padding:i,availableWidth:o,availableHeight:c,vBoxMaxWidth:o/2/g,hBoxMaxHeight:c/2}),E=Object.assign({},i);w6(E,_o(s));const x=Object.assign({maxPadding:E,w:o,h:c,x:i.left,y:i.top},i),P=Tde(h.concat(m),b);$E(d.fullSize,x,b,P),$E(h,x,b,P),$E(m,x,b,P)&&$E(h,x,b,P),function Lde(n){const e=n.maxPadding;function t(s){const i=Math.max(e[s]-n[s],0);return n[s]+=i,i}n.y+=t("top"),n.x+=t("left"),t("right"),t("bottom")}(x),S6(d.leftAndTop,x,b,P),x.x+=x.w,x.y+=x.h,S6(d.rightAndBottom,x,b,P),n.chartArea={left:x.left,top:x.top,right:x.left+x.w,bottom:x.top+x.h,height:x.h,width:x.w},Ms(d.chartArea,F=>{const H=F.box;Object.assign(H,n.chartArea),H.update(x.w,x.h,{left:0,top:0,right:0,bottom:0})})}};class D6{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,s){}removeEventListener(e,t,s){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,s,i){return t=Math.max(0,t||e.width),s=s||e.height,{width:t,height:Math.max(0,i?Math.floor(t/i):s)}}isAttached(e){return!0}updateConfig(e){}}class Rde extends D6{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const OL="$chartjs",Ode={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},M6=n=>null===n||""===n;const C6=!!Aue&&{passive:!0};function Yde(n,e,t){n.canvas.removeEventListener(e,t,C6)}function NL(n,e){for(const t of n)if(t===e||t.contains(e))return!0}function jde(n,e,t){const s=n.canvas,i=new MutationObserver(o=>{let c=!1;for(const d of o)c=c||NL(d.addedNodes,s),c=c&&!NL(d.removedNodes,s);c&&t()});return i.observe(document,{childList:!0,subtree:!0}),i}function Vde(n,e,t){const s=n.canvas,i=new MutationObserver(o=>{let c=!1;for(const d of o)c=c||NL(d.removedNodes,s),c=c&&!NL(d.addedNodes,s);c&&t()});return i.observe(document,{childList:!0,subtree:!0}),i}const zE=new Map;let E6=0;function x6(){const n=window.devicePixelRatio;n!==E6&&(E6=n,zE.forEach((e,t)=>{t.currentDevicePixelRatio!==n&&e()}))}function $de(n,e,t){const s=n.canvas,i=s&&WB(s);if(!i)return;const o=dz((d,h)=>{const m=i.clientWidth;t(d,h),m{const h=d[0],m=h.contentRect.width,g=h.contentRect.height;0===m&&0===g||o(m,g)});return c.observe(i),function Hde(n,e){zE.size||window.addEventListener("resize",x6),zE.set(n,e)}(n,o),c}function tj(n,e,t){t&&t.disconnect(),"resize"===e&&function Ude(n){zE.delete(n),zE.size||window.removeEventListener("resize",x6)}(n)}function zde(n,e,t){const s=n.canvas,i=dz(o=>{null!==n.ctx&&t(function Bde(n,e){const t=Ode[n.type]||n.type,{x:s,y:i}=Wz(n,e);return{type:t,chart:e,native:n,x:void 0!==s?s:null,y:void 0!==i?i:null}}(o,n))},n,o=>{const c=o[0];return[c,c.offsetX,c.offsetY]});return function Fde(n,e,t){n.addEventListener(e,t,C6)}(s,e,i),i}class Wde extends D6{acquireContext(e,t){const s=e&&e.getContext&&e.getContext("2d");return s&&s.canvas===e?(function Nde(n,e){const t=n.style,s=n.getAttribute("height"),i=n.getAttribute("width");if(n[OL]={initial:{height:s,width:i,style:{display:t.display,height:t.height,width:t.width}}},t.display=t.display||"block",t.boxSizing=t.boxSizing||"border-box",M6(i)){const o=Gz(n,"width");void 0!==o&&(n.width=o)}if(M6(s))if(""===n.style.height)n.height=n.width/(e||2);else{const o=Gz(n,"height");void 0!==o&&(n.height=o)}return n}(e,t),s):null}releaseContext(e){const t=e.canvas;if(!t[OL])return!1;const s=t[OL].initial;["height","width"].forEach(o=>{const c=s[o];is(c)?t.removeAttribute(o):t.setAttribute(o,c)});const i=s.style||{};return Object.keys(i).forEach(o=>{t.style[o]=i[o]}),t.width=t.width,delete t[OL],!0}addEventListener(e,t,s){this.removeEventListener(e,t);const i=e.$proxies||(e.$proxies={}),c={attach:jde,detach:Vde,resize:$de}[t]||zde;i[t]=c(e,t,s)}removeEventListener(e,t){const s=e.$proxies||(e.$proxies={}),i=s[t];i&&(({attach:tj,detach:tj,resize:tj}[t]||Yde)(e,t,i),s[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,s,i){return Iue(e,t,s,i)}isAttached(e){const t=WB(e);return!(!t||!t.isConnected)}}class Mc{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(e){const{x:t,y:s}=this.getProps(["x","y"],e);return{x:t,y:s}}hasValue(){return CE(this.x)&&CE(this.y)}getProps(e,t){const s=this.$animations;if(!t||!s)return this;const i={};return e.forEach(o=>{i[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),i}}Mc.defaults={},Mc.defaultRoutes=void 0;const k6={values:n=>qs(n)?n:""+n,numeric(n,e,t){if(0===n)return"0";const s=this.chart.options.locale;let i,o=n;if(t.length>1){const m=Math.max(Math.abs(t[0].value),Math.abs(t[t.length-1].value));(m<1e-4||m>1e15)&&(i="scientific"),o=function Gde(n,e){let t=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(t)>=1&&n!==Math.floor(n)&&(t=n-Math.floor(n)),t}(n,t)}const c=Cl(Math.abs(o)),d=Math.max(Math.min(-1*Math.floor(c),20),0),h={notation:i,minimumFractionDigits:d,maximumFractionDigits:d};return Object.assign(h,this.options.ticks.format),RE(n,s,h)},logarithmic(n,e,t){if(0===n)return"0";const s=n/Math.pow(10,Math.floor(Cl(n)));return 1===s||2===s||5===s?k6.numeric.call(this,n,e,t):""}};var FL={formatters:k6};function Kde(n,e){const t=n.options.ticks,s=t.maxTicksLimit||function Qde(n){const e=n.options.offset,t=n._tickSize(),s=n._length/t+(e?0:1),i=n._maxLength/t;return Math.floor(Math.min(s,i))}(n),i=t.major.enabled?function Zde(n){const e=[];let t,s;for(t=0,s=n.length;ts)return function Jde(n,e,t,s){let c,i=0,o=t[0];for(s=Math.ceil(s),c=0;ci-o).pop(),e}(s);for(let c=0,d=o.length-1;ci)return h}return Math.max(i,1)}(i,e,s);if(o>0){let g,b;const E=o>1?Math.round((d-c)/(o-1)):null;for(YL(e,h,m,is(E)?0:c-E,c),g=0,b=o-1;ge.lineWidth,tickColor:(n,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:FL.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Yn.route("scale.ticks","color","","color"),Yn.route("scale.grid","color","","borderColor"),Yn.route("scale.grid","borderColor","","borderColor"),Yn.route("scale.title","color","","color"),Yn.describe("scale",{_fallback:!1,_scriptable:n=>!n.startsWith("before")&&!n.startsWith("after")&&"callback"!==n&&"parser"!==n,_indexable:n=>"borderDash"!==n&&"tickBorderDash"!==n}),Yn.describe("scales",{_fallback:"scale"}),Yn.describe("scale.ticks",{_scriptable:n=>"backdropPadding"!==n&&"callback"!==n,_indexable:n=>"backdropPadding"!==n});const T6=(n,e,t)=>"top"===e||"left"===e?n[e]+t:n[e]-t;function I6(n,e){const t=[],s=n.length/e,i=n.length;let o=0;for(;oc+d)))return h}function WE(n){return n.drawTicks?n.tickLength:0}function A6(n,e){if(!n.display)return 0;const t=gi(n.font,e),s=_o(n.padding);return(qs(n.text)?n.text.length:1)*t.lineHeight+s.height}function ohe(n,e,t){let s=TB(n);return(t&&"right"!==e||!t&&"right"===e)&&(s=(n=>"left"===n?"right":"right"===n?"left":n)(s)),s}class b_ extends Mc{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:s,_suggestedMax:i}=this;return e=Dl(e,Number.POSITIVE_INFINITY),t=Dl(t,Number.NEGATIVE_INFINITY),s=Dl(s,Number.POSITIVE_INFINITY),i=Dl(i,Number.NEGATIVE_INFINITY),{min:Dl(e,s),max:Dl(t,i),minDefined:$r(e),maxDefined:$r(t)}}getMinMax(e){let c,{min:t,max:s,minDefined:i,maxDefined:o}=this.getUserBounds();if(i&&o)return{min:t,max:s};const d=this.getMatchingVisibleMetas();for(let h=0,m=d.length;hs?s:t,s=i&&t>s?t:s,{min:Dl(t,Dl(s,t)),max:Dl(s,Dl(t,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Gs(this.options.beforeUpdate,[this])}update(e,t,s){const{beginAtZero:i,grace:o,ticks:c}=this.options,d=c.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function iue(n,e,t){const{min:s,max:i}=n,o=hz(e,(i-s)/2),c=(d,h)=>t&&0===d?0:d+h;return{min:c(s,-Math.abs(o)),max:c(i,o)}}(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const h=d=o||s<=1||!this.isHorizontal())return void(this.labelRotation=i);const g=this._getLabelSizes(),b=g.widest.width,E=g.highest.height,x=Li(this.chart.width-b,0,this.maxWidth);d=e.offset?this.maxWidth/s:x/(s-1),b+6>d&&(d=x/(s-(e.offset?.5:1)),h=this.maxHeight-WE(e.grid)-t.padding-A6(e.title,this.chart.options.font),m=Math.sqrt(b*b+E*E),c=AB(Math.min(Math.asin(Li((g.highest.height+6)/d,-1,1)),Math.asin(Li(h/m,-1,1))-Math.asin(Li(E/m,-1,1)))),c=Math.max(i,Math.min(o,c))),this.labelRotation=c}afterCalculateLabelRotation(){Gs(this.options.afterCalculateLabelRotation,[this])}beforeFit(){Gs(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:s,title:i,grid:o}}=this,c=this._isVisible(),d=this.isHorizontal();if(c){const h=A6(i,t.options.font);if(d?(e.width=this.maxWidth,e.height=WE(o)+h):(e.height=this.maxHeight,e.width=WE(o)+h),s.display&&this.ticks.length){const{first:m,last:g,widest:b,highest:E}=this._getLabelSizes(),x=2*s.padding,P=Dc(this.labelRotation),F=Math.cos(P),H=Math.sin(P);if(d){const W=s.mirror?0:H*b.width+F*E.height;e.height=Math.min(this.maxHeight,e.height+W+x)}else{const W=s.mirror?0:F*b.width+H*E.height;e.width=Math.min(this.maxWidth,e.width+W+x)}this._calculatePadding(m,g,H,F)}}this._handleMargins(),d?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,s,i){const{ticks:{align:o,padding:c},position:d}=this.options,h=0!==this.labelRotation,m="top"!==d&&"x"===this.axis;if(this.isHorizontal()){const g=this.getPixelForTick(0)-this.left,b=this.right-this.getPixelForTick(this.ticks.length-1);let E=0,x=0;h?m?(E=i*e.width,x=s*t.height):(E=s*e.height,x=i*t.width):"start"===o?x=t.width:"end"===o?E=e.width:(E=e.width/2,x=t.width/2),this.paddingLeft=Math.max((E-g+c)*this.width/(this.width-g),0),this.paddingRight=Math.max((x-b+c)*this.width/(this.width-b),0)}else{let g=t.height/2,b=e.height/2;"start"===o?(g=0,b=e.height):"end"===o&&(g=t.height,b=0),this.paddingTop=g+c,this.paddingBottom=b+c}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Gs(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,s;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,s=e.length;t{const s=t.gc,i=s.length/2;let o;if(i>e){for(o=0;o({width:o[ke]||0,height:c[ke]||0});return{first:xe(0),last:xe(t-1),widest:xe(ce),highest:xe(he),widths:o,heights:c}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return function kce(n){return Li(n,-32768,32767)}(this._alignToPixels?p_(this.chart,t,0):t)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&ed*i?d/s:h/i:h*i0}_computeGridLineItems(e){const t=this.axis,s=this.chart,i=this.options,{grid:o,position:c}=i,d=o.offset,h=this.isHorizontal(),g=this.ticks.length+(d?1:0),b=WE(o),E=[],x=o.setContext(this.getContext()),P=x.drawBorder?x.borderWidth:0,F=P/2,H=function(Cn){return p_(s,Cn,P)};let W,z,ie,ce,he,xe,ke,Qe,it,Bn,$n,yn;if("top"===c)W=H(this.bottom),xe=this.bottom-b,Qe=W-F,Bn=H(e.top)+F,yn=e.bottom;else if("bottom"===c)W=H(this.top),Bn=e.top,yn=H(e.bottom)-F,xe=W+F,Qe=this.top+b;else if("left"===c)W=H(this.right),he=this.right-b,ke=W-F,it=H(e.left)+F,$n=e.right;else if("right"===c)W=H(this.left),it=e.left,$n=H(e.right)-F,he=W+F,ke=this.left+b;else if("x"===t){if("center"===c)W=H((e.top+e.bottom)/2+.5);else if(Un(c)){const Cn=Object.keys(c)[0],Ye=c[Cn];W=H(this.chart.scales[Cn].getPixelForValue(Ye))}Bn=e.top,yn=e.bottom,xe=W+F,Qe=xe+b}else if("y"===t){if("center"===c)W=H((e.left+e.right)/2);else if(Un(c)){const Cn=Object.keys(c)[0],Ye=c[Cn];W=H(this.chart.scales[Cn].getPixelForValue(Ye))}he=W-F,ke=he-b,it=e.left,$n=e.right}const mr=Sn(i.ticks.maxTicksLimit,g),Pi=Math.max(1,Math.ceil(g/mr));for(z=0;zo.value===e);return i>=0?t.setContext(this.getContext(i)).lineWidth:0}drawGrid(e){const t=this.options.grid,s=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let o,c;const d=(h,m,g)=>{!g.width||!g.color||(s.save(),s.lineWidth=g.width,s.strokeStyle=g.color,s.setLineDash(g.borderDash||[]),s.lineDashOffset=g.borderDashOffset,s.beginPath(),s.moveTo(h.x,h.y),s.lineTo(m.x,m.y),s.stroke(),s.restore())};if(t.display)for(o=0,c=i.length;o{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:s+1,draw:()=>{this.drawBorder()}},{z:t,draw:i=>{this.drawLabels(i)}}]:[{z:t,draw:i=>{this.draw(i)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",i=[];let o,c;for(o=0,c=t.length;o{const s=t.split("."),i=s.pop(),o=[n].concat(s).join("."),c=e[t].split("."),d=c.pop(),h=c.join(".");Yn.route(o,i,h,d)})}(e,n.defaultRoutes),n.descriptors&&Yn.describe(e,n.descriptors)}(e,c,s),this.override&&Yn.override(e.id,e.overrides)),c}get(e){return this.items[e]}unregister(e){const t=this.items,s=e.id,i=this.scope;s in t&&delete t[s],i&&s in Yn[i]&&(delete Yn[i][s],this.override&&delete h_[s])}}var ph=new class dhe{constructor(){this.controllers=new BL(Au,"datasets",!0),this.elements=new BL(Mc,"elements"),this.plugins=new BL(Object,"plugins"),this.scales=new BL(b_,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,s){[...t].forEach(i=>{const o=s||this._getRegistryForType(i);s||o.isForType(i)||o===this.plugins&&i.id?this._exec(e,o,i):Ms(i,c=>{const d=s||this._getRegistryForType(c);this._exec(e,d,c)})})}_exec(e,t,s){const i=IB(e);Gs(s["before"+i],[],s),t[e](s),Gs(s["after"+i],[],s)}_getRegistryForType(e){for(let t=0;to.filter(d=>!c.some(h=>d.plugin.id===h.plugin.id));this._notify(i(t,s),e,"stop"),this._notify(i(s,t),e,"start")}}function fhe(n,e){return e||!1!==n?!0===n?{}:n:null}function ghe(n,e,t,s){const i=n.pluginScopeKeys(e),o=n.getOptionScopes(t,i);return n.createResolver(o,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function nj(n,e){const t=Yn.datasets[n]||{};return((e.datasets||{})[n]||{}).indexAxis||e.indexAxis||t.indexAxis||"x"}function sj(n,e){return"x"===n||"y"===n?n:e.axis||function vhe(n){return"top"===n||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0}(e.position)||n.charAt(0).toLowerCase()}function L6(n){const e=n.options||(n.options={});e.plugins=Sn(e.plugins,{}),e.scales=function bhe(n,e){const t=h_[n.type]||{scales:{}},s=e.scales||{},i=nj(n.type,e),o=Object.create(null),c=Object.create(null);return Object.keys(s).forEach(d=>{const h=s[d];if(!Un(h))return console.error(`Invalid scale configuration for scale: ${d}`);if(h._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${d}`);const m=sj(d,h),g=function yhe(n,e){return n===e?"_index_":"_value_"}(m,i),b=t.scales||{};o[m]=o[m]||d,c[d]=DE(Object.create(null),[{axis:m},h,b[m],b[g]])}),n.data.datasets.forEach(d=>{const h=d.type||n.type,m=d.indexAxis||nj(h,e),b=(h_[h]||{}).scales||{};Object.keys(b).forEach(E=>{const x=function _he(n,e){let t=n;return"_index_"===n?t=e:"_value_"===n&&(t="x"===e?"y":"x"),t}(E,m),P=d[x+"AxisID"]||o[x]||x;c[P]=c[P]||Object.create(null),DE(c[P],[{axis:x},s[P],b[E]])})}),Object.keys(c).forEach(d=>{const h=c[d];DE(h,[Yn.scales[h.type],Yn.scale])}),c}(n,e)}function P6(n){return(n=n||{}).datasets=n.datasets||[],n.labels=n.labels||[],n}const R6=new Map,O6=new Set;function jL(n,e){let t=R6.get(n);return t||(t=e(),R6.set(n,t),O6.add(t)),t}const qE=(n,e,t)=>{const s=d_(e,t);void 0!==s&&n.add(s)};class She{constructor(e){this._config=function whe(n){return(n=n||{}).data=P6(n.data),L6(n),n}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=P6(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),L6(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return jL(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,t){return jL(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,t){return jL(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]])}pluginScopeKeys(e){const t=e.id;return jL(`${this.type}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){const s=this._scopeCache;let i=s.get(e);return(!i||t)&&(i=new Map,s.set(e,i)),i}getOptionScopes(e,t,s){const{options:i,type:o}=this,c=this._cachedScopes(e,s),d=c.get(t);if(d)return d;const h=new Set;t.forEach(g=>{e&&(h.add(e),g.forEach(b=>qE(h,e,b))),g.forEach(b=>qE(h,i,b)),g.forEach(b=>qE(h,h_[o]||{},b)),g.forEach(b=>qE(h,Yn,b)),g.forEach(b=>qE(h,BB,b))});const m=Array.from(h);return 0===m.length&&m.push(Object.create(null)),O6.has(t)&&c.set(t,m),m}chartOptionScopes(){const{options:e,type:t}=this;return[e,h_[t]||{},Yn.datasets[t]||{},{type:t},Yn,BB]}resolveNamedOptions(e,t,s,i=[""]){const o={$shared:!0},{resolver:c,subPrefixes:d}=N6(this._resolverCache,e,i);let h=c;if(function Mhe(n,e){const{isScriptable:t,isIndexable:s}=Yz(n);for(const i of e){const o=t(i),c=s(i),d=(c||o)&&n[i];if(o&&(Mf(d)||Dhe(d))||c&&qs(d))return!0}return!1}(c,t)){o.$shared=!1;h=Wb(c,s=Mf(s)?s():s,this.createResolver(e,s,d))}for(const m of t)o[m]=h[m];return o}createResolver(e,t,s=[""],i){const{resolver:o}=N6(this._resolverCache,e,s);return Un(t)?Wb(o,t,void 0,i):o}}function N6(n,e,t){let s=n.get(e);s||(s=new Map,n.set(e,s));const i=t.join();let o=s.get(i);return o||(o={resolver:UB(e,t),subPrefixes:t.filter(d=>!d.toLowerCase().includes("hover"))},s.set(i,o)),o}const Dhe=n=>Un(n)&&Object.getOwnPropertyNames(n).reduce((e,t)=>e||Mf(n[t]),!1);const Ehe=["top","bottom","left","right","chartArea"];function F6(n,e){return"top"===n||"bottom"===n||-1===Ehe.indexOf(n)&&"x"===e}function Y6(n,e){return function(t,s){return t[n]===s[n]?t[e]-s[e]:t[n]-s[n]}}function B6(n){const e=n.chart,t=e.options.animation;e.notifyPlugins("afterRender"),Gs(t&&t.onComplete,[n],e)}function xhe(n){const e=n.chart,t=e.options.animation;Gs(t&&t.onProgress,[n],e)}function j6(n){return zz()&&"string"==typeof n?n=document.getElementById(n):n&&n.length&&(n=n[0]),n&&n.canvas&&(n=n.canvas),n}const VL={},V6=n=>{const e=j6(n);return Object.values(VL).filter(t=>t.canvas===e).pop()};function khe(n,e,t){const s=Object.keys(n);for(const i of s){const o=+i;if(o>=e){const c=n[i];delete n[i],(t>0||o>e)&&(n[o+t]=c)}}}class GE{constructor(e,t){const s=this.config=new She(t),i=j6(e),o=V6(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas can be reused.");const c=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||function qde(n){return!zz()||typeof OffscreenCanvas<"u"&&n instanceof OffscreenCanvas?Rde:Wde}(i)),this.platform.updateConfig(s);const d=this.platform.acquireContext(i,c.aspectRatio),h=d&&d.canvas,m=h&&h.height,g=h&&h.width;this.id=gce(),this.ctx=d,this.canvas=h,this.width=g,this.height=m,this._options=c,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new hhe,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function fce(n,e){let t;return function(...s){return e?(clearTimeout(t),t=setTimeout(n,e,s)):n.apply(this,s),e}}(b=>this.update(b),c.resizeDelay||0),this._dataChanges=[],VL[this.id]=this,d&&h?(hh.listen(this,"complete",B6),hh.listen(this,"progress",xhe),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:s,height:i,_aspectRatio:o}=this;return is(e)?t&&o?o:i?s/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():qz(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Pz(this.canvas,this.ctx),this}stop(){return hh.stop(this),this}resize(e,t){hh.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const s=this.options,i=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,c=this.platform.getMaximumSize(i,e,t,o),d=s.devicePixelRatio||this.platform.getDevicePixelRatio(),h=this.width?"resize":"attach";this.width=c.width,this.height=c.height,this._aspectRatio=this.aspectRatio,qz(this,d,!0)&&(this.notifyPlugins("resize",{size:c}),Gs(s.onResize,[this,c],this),this.attached&&this._doResize(h)&&this.render())}ensureScalesHaveIDs(){Ms(this.options.scales||{},(s,i)=>{s.id=i})}buildOrUpdateScales(){const e=this.options,t=e.scales,s=this.scales,i=Object.keys(s).reduce((c,d)=>(c[d]=!1,c),{});let o=[];t&&(o=o.concat(Object.keys(t).map(c=>{const d=t[c],h=sj(c,d),m="r"===h,g="x"===h;return{options:d,dposition:m?"chartArea":g?"bottom":"left",dtype:m?"radialLinear":g?"category":"linear"}}))),Ms(o,c=>{const d=c.options,h=d.id,m=sj(h,d),g=Sn(d.type,c.dtype);(void 0===d.position||F6(d.position,m)!==F6(c.dposition))&&(d.position=c.dposition),i[h]=!0;let b=null;if(h in s&&s[h].type===g)b=s[h];else{b=new(ph.getScale(g))({id:h,type:g,ctx:this.ctx,chart:this}),s[b.id]=b}b.init(d,e)}),Ms(i,(c,d)=>{c||delete s[d]}),Ms(s,c=>{yo.configure(this,c,c.options),yo.addBox(this,c)})}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,s=e.length;if(e.sort((i,o)=>i.index-o.index),s>t){for(let i=t;it.length&&delete this._stacks,e.forEach((s,i)=>{0===t.filter(o=>o===s._dataset).length&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let s,i;for(this._removeUnreferencedMetasets(),s=0,i=t.length;s{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const s=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let c=0;for(let m=0,g=this.data.datasets.length;m{m.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Y6("z","_idx"));const{_active:d,_lastEvent:h}=this;h?this._eventHandler(h,!0):d.length&&this._updateHoverStyles(d,d,!0),this.render()}_updateScales(){Ms(this.scales,e=>{yo.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),s=new Set(e.events);(!mz(t,s)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:s,start:i,count:o}of t){khe(e,i,"_removeElements"===s?-o:o)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,s=o=>new Set(e.filter(c=>c[0]===o).map((c,d)=>d+","+c.splice(1).join(","))),i=s(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;yo.update(this,this.width,this.height,e);const t=this.chartArea,s=t.width<=0||t.height<=0;this._layers=[],Ms(this.boxes,i=>{s&&"chartArea"===i.position||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,o)=>{i._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let t=0,s=this.data.datasets.length;t=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,s=e._clip,i=!s.disabled,o=this.chartArea,c={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",c)&&(i&&xL(t,{left:!1===s.left?0:o.left-s.left,right:!1===s.right?this.width:o.right+s.right,top:!1===s.top?0:o.top-s.top,bottom:!1===s.bottom?this.height:o.bottom+s.bottom}),e.controller.draw(),i&&kL(t),c.cancelable=!1,this.notifyPlugins("afterDatasetDraw",c))}getElementsAtEventForMode(e,t,s,i){const o=Ede.modes[t];return"function"==typeof o?o(this,e,s,i):[]}getDatasetMeta(e){const t=this.data.datasets[e],s=this._metasets;let i=s.filter(o=>o&&o._dataset===t).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},s.push(i)),i}getContext(){return this.$context||(this.$context=Cf(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const s=this.getDatasetMeta(e);return"boolean"==typeof s.hidden?!s.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,s){const i=s?"show":"hide",o=this.getDatasetMeta(e),c=o.controller._resolveAnimations(void 0,i);Ml(t)?(o.data[t].hidden=!s,this.update()):(this.setDatasetVisibility(e,s),c.update(o,{visible:s}),this.update(d=>d.datasetIndex===e?i:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),hh.remove(this),e=0,t=this.data.datasets.length;e{t.addEventListener(this,o,c),e[o]=c},i=(o,c,d)=>{o.offsetX=c,o.offsetY=d,this._eventHandler(o)};Ms(this.options.events,o=>s(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,s=(h,m)=>{t.addEventListener(this,h,m),e[h]=m},i=(h,m)=>{e[h]&&(t.removeEventListener(this,h,m),delete e[h])},o=(h,m)=>{this.canvas&&this.resize(h,m)};let c;const d=()=>{i("attach",d),this.attached=!0,this.resize(),s("resize",o),s("detach",c)};c=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),s("attach",d)},t.isAttached(this.canvas)?d():c()}unbindEvents(){Ms(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},Ms(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,s){const i=s?"set":"remove";let o,c,d,h;for("dataset"===t&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),d=0,h=e.length;d{const d=this.getDatasetMeta(o);if(!d)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:d.data[c],index:c}});!gL(s,t)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,t))}notifyPlugins(e,t,s){return this._plugins.notify(this,e,t,s)}_updateHoverStyles(e,t,s){const i=this.options.hover,o=(h,m)=>h.filter(g=>!m.some(b=>g.datasetIndex===b.datasetIndex&&g.index===b.index)),c=o(t,e),d=s?e:o(e,t);c.length&&this.updateHoverStyle(c,i.mode,!1),d.length&&i.mode&&this.updateHoverStyle(d,i.mode,!0)}_eventHandler(e,t){const s={event:e,replay:t,cancelable:!0,inChartArea:f_(e,this.chartArea,this._minPadding)},i=c=>(c.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",s,i))return;const o=this._handleEvent(e,t,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,i),(o||s.changed)&&this.render(),this}_handleEvent(e,t,s){const{_active:i=[],options:o}=this,c=t,d=this._getActiveElements(e,i,s,c),h=function Sce(n){return"mouseup"===n.type||"click"===n.type||"contextmenu"===n.type}(e),m=function The(n,e,t,s){return t&&"mouseout"!==n.type?s?e:n:null}(e,this._lastEvent,s,h);s&&(this._lastEvent=null,Gs(o.onHover,[e,d,this],this),h&&Gs(o.onClick,[e,d,this],this));const g=!gL(d,i);return(g||t)&&(this._active=d,this._updateHoverStyles(d,i,t)),this._lastEvent=m,g}_getActiveElements(e,t,s,i){if("mouseout"===e.type)return[];if(!s)return t;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,i)}}const H6=()=>Ms(GE.instances,n=>n._plugins.invalidate()),Ef=!0;function U6(n,e,t){const{startAngle:s,pixelMargin:i,x:o,y:c,outerRadius:d,innerRadius:h}=e;let m=i/d;n.beginPath(),n.arc(o,c,d,s-m,t+m),h>i?(m=i/h,n.arc(o,c,h,t+m,s-m,!0)):n.arc(o,c,i,t+Nr,s-Nr),n.closePath(),n.clip()}function Ahe(n,e,t,s){const i=function Ihe(n){return VB(n,["outerStart","outerEnd","innerStart","innerEnd"])}(n.options.borderRadius),o=(t-e)/2,c=Math.min(o,s*e/2),d=h=>{const m=(t-Math.min(o,h))*s/2;return Li(h,0,Math.min(o,m))};return{outerStart:d(i.outerStart),outerEnd:d(i.outerEnd),innerStart:Li(i.innerStart,0,c),innerEnd:Li(i.innerEnd,0,c)}}function Qb(n,e,t,s){return{x:t+n*Math.cos(e),y:s+n*Math.sin(e)}}function rj(n,e,t,s,i){const{x:o,y:c,startAngle:d,pixelMargin:h,innerRadius:m}=e,g=Math.max(e.outerRadius+s+t-h,0),b=m>0?m+s+t+h:0;let E=0;const x=i-d;if(s){const wt=((m>0?m-s:0)+(g>0?g-s:0))/2;E=(x-(0!==wt?x*wt/(wt+s):x))/2}const F=(x-Math.max(.001,x*g-t/fr)/g)/2,H=d+F+E,W=i-F-E,{outerStart:z,outerEnd:ie,innerStart:ce,innerEnd:he}=Ahe(e,b,g,W-H),xe=g-z,ke=g-ie,Qe=H+z/xe,it=W-ie/ke,Bn=b+ce,$n=b+he,yn=H+ce/Bn,mr=W-he/$n;if(n.beginPath(),n.arc(o,c,g,Qe,it),ie>0){const Ye=Qb(ke,it,o,c);n.arc(Ye.x,Ye.y,ie,it,W+Nr)}const Pi=Qb($n,W,o,c);if(n.lineTo(Pi.x,Pi.y),he>0){const Ye=Qb($n,mr,o,c);n.arc(Ye.x,Ye.y,he,W+Nr,mr+Math.PI)}if(n.arc(o,c,b,W-he/b,H+ce/b,!0),ce>0){const Ye=Qb(Bn,yn,o,c);n.arc(Ye.x,Ye.y,ce,yn+Math.PI,H-Nr)}const Cn=Qb(xe,H,o,c);if(n.lineTo(Cn.x,Cn.y),z>0){const Ye=Qb(xe,Qe,o,c);n.arc(Ye.x,Ye.y,z,H-Nr,Qe)}n.closePath()}function Rhe(n,e,t,s,i){const{options:o}=e,{borderWidth:c,borderJoinStyle:d}=o,h="inner"===o.borderAlign;c&&(h?(n.lineWidth=2*c,n.lineJoin=d||"round"):(n.lineWidth=c,n.lineJoin=d||"bevel"),e.fullCircles&&function Phe(n,e,t){const{x:s,y:i,startAngle:o,pixelMargin:c,fullCircles:d}=e,h=Math.max(e.outerRadius-c,0),m=e.innerRadius+c;let g;for(t&&U6(n,e,o+Vs),n.beginPath(),n.arc(s,i,m,o+Vs,o,!0),g=0;g{ph.add(...n),H6()}},unregister:{enumerable:Ef,value:(...n)=>{ph.remove(...n),H6()}}});class KE extends Mc{constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,s){const i=this.getProps(["x","y"],s),{angle:o,distance:c}=bz(i,{x:e,y:t}),{startAngle:d,endAngle:h,innerRadius:m,outerRadius:g,circumference:b}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),E=this.options.spacing/2,P=Sn(b,h-d)>=Vs||xE(o,d,h),F=uh(c,m+E,g+E);return P&&F}getCenterPoint(e){const{x:t,y:s,startAngle:i,endAngle:o,innerRadius:c,outerRadius:d}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),{offset:h,spacing:m}=this.options,g=(i+o)/2,b=(c+d+m+h)/2;return{x:t+Math.cos(g)*b,y:s+Math.sin(g)*b}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:s}=this,i=(t.offset||0)/2,o=(t.spacing||0)/2;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=s>Vs?Math.floor(s/Vs):0,0===s||this.innerRadius<0||this.outerRadius<0)return;e.save();let c=0;if(i){c=i/2;const h=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(h)*c,Math.sin(h)*c),this.circumference>=fr&&(c=i)}e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor;const d=function Lhe(n,e,t,s){const{fullCircles:i,startAngle:o,circumference:c}=e;let d=e.endAngle;if(i){rj(n,e,t,s,o+Vs);for(let h=0;hd&&o>d;return{count:s,start:h,loop:e.loop,ilen:m(c+(m?d-ce:ce))%o,ie=()=>{F!==H&&(n.lineTo(g,H),n.lineTo(g,F),n.lineTo(g,W))};for(h&&(x=i[z(0)],n.moveTo(x.x,x.y)),E=0;E<=d;++E){if(x=i[z(E)],x.skip)continue;const ce=x.x,he=x.y,xe=0|ce;xe===P?(heH&&(H=he),g=(b*g+ce)/++b):(ie(),n.lineTo(ce,he),P=xe,b=0,F=H=he),W=he}ie()}function ij(n){const e=n.options,t=e.borderDash&&e.borderDash.length;return n._decimated||n._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||t?Fhe:Yhe}KE.id="arc",KE.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},KE.defaultRoutes={backgroundColor:"backgroundColor"};const Hhe="function"==typeof Path2D;function Uhe(n,e,t,s){Hhe&&!e.options.segment?function jhe(n,e,t,s){let i=e._path;i||(i=e._path=new Path2D,e.path(i,t,s)&&i.closePath()),$6(n,e.options),n.stroke(i)}(n,e,t,s):function Vhe(n,e,t,s){const{segments:i,options:o}=e,c=ij(e);for(const d of i)$6(n,o,d.style),n.beginPath(),c(n,e,d,{start:t,end:t+s-1})&&n.closePath(),n.stroke()}(n,e,t,s)}class fh extends Mc{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const s=this.options;if((s.tension||"monotone"===s.cubicInterpolationMode)&&!s.stepped&&!this._pointsUpdated){const i=s.spanGaps?this._loop:this._fullLoop;Mue(this._points,s,e,i,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function jue(n,e){const t=n.points,s=n.options.spanGaps,i=t.length;if(!i)return[];const o=!!n._loop,{start:c,end:d}=function Yue(n,e,t,s){let i=0,o=e-1;if(t&&!s)for(;ii&&n[o%e].skip;)o--;return o%=e,{start:i,end:o}}(t,i,o,s);return n6(n,!0===s?[{start:c,end:d,loop:o}]:function Bue(n,e,t,s){const i=n.length,o=[];let h,c=e,d=n[e];for(h=e+1;h<=t;++h){const m=n[h%i];m.skip||m.stop?d.skip||(s=!1,o.push({start:e%i,end:(h-1)%i,loop:s}),e=c=m.stop?h:null):(c=h,d.skip&&(e=h)),d=m}return null!==c&&o.push({start:e%i,end:c%i,loop:s}),o}(t,c,d"borderDash"!==n&&"fill"!==n};class QE extends Mc{constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,s){const i=this.options,{x:o,y:c}=this.getProps(["x","y"],s);return Math.pow(e-o,2)+Math.pow(t-c,2)=t)&&i):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}class Q6{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,s){const{x:i,y:o,radius:c}=this;return t=t||{start:0,end:Vs},e.arc(i,o,c,t.end,t.start,!0),!s.bounds}interpolate(e){const{x:t,y:s,radius:i}=this,o=e.angle;return{x:t+Math.cos(o)*i,y:s+Math.sin(o)*i,angle:o}}}function ipe(n){return(n.scale||{}).getPointPositionForValue?function rpe(n){const{scale:e,fill:t}=n,s=e.options,i=e.getLabels().length,o=[],c=s.reverse?e.max:e.min,d=s.reverse?e.min:e.max;let h,m,g;if(g="start"===t?c:"end"===t?d:Un(t)?t.value:e.getBaseValue(),s.grid.circular)return m=e.getPointPositionForValue(0,c),new Q6({x:m.x,y:m.y,radius:e.getDistanceFromCenterForValue(g)});for(h=0;hn;e--){const s=t[e];if(!isNaN(s.x)&&!isNaN(s.y))break}return e}function cpe(n,e,t){const s=[];for(let i=0;i{d=X6(c,d,i);const h=i[c],m=i[d];null!==s?(o.push({x:h.x,y:s}),o.push({x:m.x,y:s})):null!==t&&(o.push({x:t,y:h.y}),o.push({x:t,y:m.y}))}),o}(n,e),t.length?new fh({points:t,options:{tension:0},_loop:s,_fullLoop:s}):null}function hpe(n,e,t){let i=n[e].fill;const o=[e];let c;if(!t)return i;for(;!1!==i&&-1===o.indexOf(i);){if(!$r(i))return i;if(c=n[i],!c)return!1;if(c.visible)return i;o.push(i),i=c.fill}return!1}function J6(n,e,t){n.beginPath(),e.path(n),n.lineTo(e.last().x,t),n.lineTo(e.first().x,t),n.closePath(),n.clip()}function lj(n,e,t,s){if(s)return;let i=e[n],o=t[n];return"angle"===n&&(i=Fa(i),o=Fa(o)),{property:n,start:i,end:o}}function eW(n,e,t,s){return n&&e?s(n[t],e[t]):n?n[t]:e?e[t]:0}function fpe(n,e,t){const{top:s,bottom:i}=e.chart.chartArea,{property:o,start:c,end:d}=t||{};"x"===o&&(n.beginPath(),n.rect(c,s,d-c,i-s),n.clip())}function tW(n,e,t,s){const i=e.interpolate(t,s);i&&n.lineTo(i.x,i.y)}function nW(n,e){const{line:t,target:s,property:i,color:o,scale:c}=e,d=function ppe(n,e,t){const s=n.segments,i=n.points,o=e.points,c=[];for(const d of s){let{start:h,end:m}=d;m=X6(h,m,i);const g=lj(t,i[h],i[m],d.loop);if(!e.segments){c.push({source:d,target:g,start:i[h],end:i[m]});continue}const b=t6(e,g);for(const E of b){const x=lj(t,o[E.start],o[E.end],E.loop),P=e6(d,i,x);for(const F of P)c.push({source:F,target:E,start:{[t]:eW(g,x,"start",Math.max)},end:{[t]:eW(g,x,"end",Math.min)}})}}return c}(t,s,i);for(const{source:h,target:m,start:g,end:b}of d){const{style:{backgroundColor:E=o}={}}=h,x=!0!==s;n.save(),n.fillStyle=E,fpe(n,c,x&&lj(i,g,b)),n.beginPath();const P=!!t.pathSegment(n,h);let F;if(x){P?n.closePath():tW(n,s,b,i);const H=!!s.pathSegment(n,m,{move:P,reverse:!0});F=P&&H,F||tW(n,s,g,i)}n.closePath(),n.fill(F?"evenodd":"nonzero"),n.restore()}}function cj(n,e,t){const s=dpe(e),{line:i,scale:o,axis:c}=e,d=i.options,h=d.fill,m=d.backgroundColor,{above:g=m,below:b=m}=h||{};s&&i.points.length&&(xL(n,t),function mpe(n,e){const{line:t,target:s,above:i,below:o,area:c,scale:d}=e,h=t._loop?"angle":e.axis;n.save(),"x"===h&&o!==i&&(J6(n,s,c.top),nW(n,{line:t,target:s,color:i,scale:d,property:h}),n.restore(),n.save(),J6(n,s,c.bottom)),nW(n,{line:t,target:s,color:o,scale:d,property:h}),n.restore()}(n,{line:i,target:s,above:g,below:b,area:t,scale:o,axis:c}),kL(n))}var sW={id:"filler",afterDatasetsUpdate(n,e,t){const s=(n.data.datasets||[]).length,i=[];let o,c,d,h;for(c=0;c=0;--c){const d=i[c].$filler;d&&(d.line.updateControlPoints(o,d.axis),s&&cj(n.ctx,d,o))}},beforeDatasetsDraw(n,e,t){if("beforeDatasetsDraw"!==t.drawTime)return;const s=n.getSortedVisibleDatasetMetas();for(let i=s.length-1;i>=0;--i){const o=s[i].$filler;o&&cj(n.ctx,o,n.chartArea)}},beforeDatasetDraw(n,e,t){const s=e.meta.$filler;!s||!1===s.fill||"beforeDatasetDraw"!==t.drawTime||cj(n.ctx,s,n.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const rW=(n,e)=>{let{boxHeight:t=e,boxWidth:s=e}=n;return n.usePointStyle&&(t=Math.min(t,e),s=Math.min(s,e)),{boxWidth:s,boxHeight:t,itemHeight:Math.max(e,t)}};class iW extends Mc{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,s){this.maxWidth=e,this.maxHeight=t,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=Gs(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(s=>e.filter(s,this.chart.data))),e.sort&&(t=t.sort((s,i)=>e.sort(s,i,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const s=e.labels,i=gi(s.font),o=i.size,c=this._computeTitleHeight(),{boxWidth:d,itemHeight:h}=rW(s,o);let m,g;t.font=i.string,this.isHorizontal()?(m=this.maxWidth,g=this._fitRows(c,o,d,h)+10):(g=this.maxHeight,m=this._fitCols(c,o,d,h)+10),this.width=Math.min(m,e.maxWidth||this.maxWidth),this.height=Math.min(g,e.maxHeight||this.maxHeight)}_fitRows(e,t,s,i){const{ctx:o,maxWidth:c,options:{labels:{padding:d}}}=this,h=this.legendHitBoxes=[],m=this.lineWidths=[0],g=i+d;let b=e;o.textAlign="left",o.textBaseline="middle";let E=-1,x=-g;return this.legendItems.forEach((P,F)=>{const H=s+t/2+o.measureText(P.text).width;(0===F||m[m.length-1]+H+2*d>c)&&(b+=g,m[m.length-(F>0?0:1)]=0,x+=g,E++),h[F]={left:0,top:x,row:E,width:H,height:i},m[m.length-1]+=H+d}),b}_fitCols(e,t,s,i){const{ctx:o,maxHeight:c,options:{labels:{padding:d}}}=this,h=this.legendHitBoxes=[],m=this.columnSizes=[],g=c-e;let b=d,E=0,x=0,P=0,F=0;return this.legendItems.forEach((H,W)=>{const z=s+t/2+o.measureText(H.text).width;W>0&&x+i+2*d>g&&(b+=E+d,m.push({width:E,height:x}),P+=E+d,F++,E=x=0),h[W]={left:P,top:x,col:F,width:z,height:i},E=Math.max(E,z),x+=i+d}),b+=E,m.push({width:E,height:x}),b}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:s,labels:{padding:i},rtl:o}}=this,c=Gb(o,this.left,this.width);if(this.isHorizontal()){let d=0,h=go(s,this.left+i,this.right-this.lineWidths[d]);for(const m of t)d!==m.row&&(d=m.row,h=go(s,this.left+i,this.right-this.lineWidths[d])),m.top+=this.top+e+i,m.left=c.leftForLtr(c.x(h),m.width),h+=m.width+i}else{let d=0,h=go(s,this.top+e+i,this.bottom-this.columnSizes[d].height);for(const m of t)m.col!==d&&(d=m.col,h=go(s,this.top+e+i,this.bottom-this.columnSizes[d].height)),m.top=h,m.left+=this.left+i,m.left=c.leftForLtr(c.x(m.left),m.width),h+=m.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;xL(e,this),this._draw(),kL(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:s,ctx:i}=this,{align:o,labels:c}=e,d=Yn.color,h=Gb(e.rtl,this.left,this.width),m=gi(c.font),{color:g,padding:b}=c,E=m.size,x=E/2;let P;this.drawTitle(),i.textAlign=h.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=m.string;const{boxWidth:F,boxHeight:H,itemHeight:W}=rW(c,E),ce=this.isHorizontal(),he=this._computeTitleHeight();P=ce?{x:go(o,this.left+b,this.right-s[0]),y:this.top+b+he,line:0}:{x:this.left+b,y:go(o,this.top+he+b,this.bottom-t[0].height),line:0},Qz(this.ctx,e.textDirection);const xe=W+b;this.legendItems.forEach((ke,Qe)=>{i.strokeStyle=ke.fontColor||g,i.fillStyle=ke.fontColor||g;const it=i.measureText(ke.text).width,Bn=h.textAlign(ke.textAlign||(ke.textAlign=c.textAlign)),$n=F+x+it;let yn=P.x,mr=P.y;h.setWidth(this.width),ce?Qe>0&&yn+$n+b>this.right&&(mr=P.y+=xe,P.line++,yn=P.x=go(o,this.left+b,this.right-s[P.line])):Qe>0&&mr+xe>this.bottom&&(yn=P.x=yn+t[P.line].width+b,P.line++,mr=P.y=go(o,this.top+he+b,this.bottom-t[P.line].height));(function(ke,Qe,it){if(isNaN(F)||F<=0||isNaN(H)||H<0)return;i.save();const Bn=Sn(it.lineWidth,1);if(i.fillStyle=Sn(it.fillStyle,d),i.lineCap=Sn(it.lineCap,"butt"),i.lineDashOffset=Sn(it.lineDashOffset,0),i.lineJoin=Sn(it.lineJoin,"miter"),i.lineWidth=Bn,i.strokeStyle=Sn(it.strokeStyle,d),i.setLineDash(Sn(it.lineDash,[])),c.usePointStyle){const $n={radius:F*Math.SQRT2/2,pointStyle:it.pointStyle,rotation:it.rotation,borderWidth:Bn},yn=h.xPlus(ke,F/2);EL(i,$n,yn,Qe+x)}else{const $n=Qe+Math.max((E-H)/2,0),yn=h.leftForLtr(ke,F),mr=zb(it.borderRadius);i.beginPath(),Object.values(mr).some(Pi=>0!==Pi)?TL(i,{x:yn,y:$n,w:F,h:H,radius:mr}):i.rect(yn,$n,F,H),i.fill(),0!==Bn&&i.stroke()}i.restore()})(h.x(yn),mr,ke),yn=((n,e,t,s)=>n===(s?"left":"right")?t:"center"===n?(e+t)/2:e)(Bn,yn+F+x,ce?yn+$n:this.right,e.rtl),function(ke,Qe,it){m_(i,it.text,ke,Qe+W/2,m,{strikethrough:it.hidden,textAlign:h.textAlign(it.textAlign)})}(h.x(yn),mr,ke),ce?P.x+=$n+b:P.y+=xe}),Xz(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,s=gi(t.font),i=_o(t.padding);if(!t.display)return;const o=Gb(e.rtl,this.left,this.width),c=this.ctx,d=t.position,h=s.size/2,m=i.top+h;let g,b=this.left,E=this.width;if(this.isHorizontal())E=Math.max(...this.lineWidths),g=this.top+m,b=go(e.align,b,this.right-E);else{const P=this.columnSizes.reduce((F,H)=>Math.max(F,H.height),0);g=m+go(e.align,this.top,this.bottom-P-e.labels.padding-this._computeTitleHeight())}const x=go(d,b,b+E);c.textAlign=o.textAlign(TB(d)),c.textBaseline="middle",c.strokeStyle=t.color,c.fillStyle=t.color,c.font=s.string,m_(c,t.text,x,g,s)}_computeTitleHeight(){const e=this.options.title,t=gi(e.font),s=_o(e.padding);return e.display?t.lineHeight+s.height:0}_getLegendItemAt(e,t){let s,i,o;if(uh(e,this.left,this.right)&&uh(t,this.top,this.bottom))for(o=this.legendHitBoxes,s=0;snull!==n&&null!==e&&n.datasetIndex===e.datasetIndex&&n.index===e.index)(i,s);i&&!o&&Gs(t.onLeave,[e,i,this],this),this._hoveredItem=s,s&&!o&&Gs(t.onHover,[e,s,this],this)}else s&&Gs(t.onClick,[e,s,this],this)}}var oW={id:"legend",_element:iW,start(n,e,t){const s=n.legend=new iW({ctx:n.ctx,options:t,chart:n});yo.configure(n,s,t),yo.addBox(n,s)},stop(n){yo.removeBox(n,n.legend),delete n.legend},beforeUpdate(n,e,t){const s=n.legend;yo.configure(n,s,t),s.options=t},afterUpdate(n){const e=n.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(n,e){e.replay||n.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(n,e,t){const s=e.datasetIndex,i=t.chart;i.isDatasetVisible(s)?(i.hide(s),e.hidden=!0):(i.show(s),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:n=>n.chart.options.color,boxWidth:40,padding:10,generateLabels(n){const e=n.data.datasets,{labels:{usePointStyle:t,pointStyle:s,textAlign:i,color:o}}=n.legend.options;return n._getSortedDatasetMetas().map(c=>{const d=c.controller.getStyle(t?0:void 0),h=_o(d.borderWidth);return{text:e[c.index].label,fillStyle:d.backgroundColor,fontColor:o,hidden:!c.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:d.borderColor,pointStyle:s||d.pointStyle,rotation:d.rotation,textAlign:i||d.textAlign,borderRadius:0,datasetIndex:c.index}},this)}},title:{color:n=>n.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:n=>!n.startsWith("on"),labels:{_scriptable:n=>!["generateLabels","filter","sort"].includes(n)}}};class uj extends Mc{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const s=this.options;if(this.left=0,this.top=0,!s.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const i=qs(s.text)?s.text.length:1;this._padding=_o(s.padding);const o=i*gi(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:s,bottom:i,right:o,options:c}=this,d=c.align;let m,g,b,h=0;return this.isHorizontal()?(g=go(d,s,o),b=t+e,m=o-s):("left"===c.position?(g=s+e,b=go(d,i,t),h=-.5*fr):(g=o-e,b=go(d,t,i),h=.5*fr),m=i-t),{titleX:g,titleY:b,maxWidth:m,rotation:h}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const s=gi(t.font),o=s.lineHeight/2+this._padding.top,{titleX:c,titleY:d,maxWidth:h,rotation:m}=this._drawArgs(o);m_(e,t.text,0,0,s,{color:t.color,maxWidth:h,rotation:m,textAlign:TB(t.align),textBaseline:"middle",translation:[c,d]})}}var aW={id:"title",_element:uj,start(n,e,t){!function ype(n,e){const t=new uj({ctx:n.ctx,options:e,chart:n});yo.configure(n,t,e),yo.addBox(n,t),n.titleBlock=t}(n,t)},stop(n){const e=n.titleBlock;yo.removeBox(n,e),delete n.titleBlock},beforeUpdate(n,e,t){const s=n.titleBlock;yo.configure(n,s,t),s.options=t},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const ZE={average(n){if(!n.length)return!1;let e,t,s=0,i=0,o=0;for(e=0,t=n.length;e-1?n.split("\n"):n}function bpe(n,e){const{element:t,datasetIndex:s,index:i}=e,o=n.getDatasetMeta(s).controller,{label:c,value:d}=o.getLabelAndValue(i);return{chart:n,label:c,parsed:o.getParsed(i),raw:n.data.datasets[s].data[i],formattedValue:d,dataset:o.getDataset(),dataIndex:i,datasetIndex:s,element:t}}function lW(n,e){const t=n.chart.ctx,{body:s,footer:i,title:o}=n,{boxWidth:c,boxHeight:d}=e,h=gi(e.bodyFont),m=gi(e.titleFont),g=gi(e.footerFont),b=o.length,E=i.length,x=s.length,P=_o(e.padding);let F=P.height,H=0,W=s.reduce((ce,he)=>ce+he.before.length+he.lines.length+he.after.length,0);if(W+=n.beforeBody.length+n.afterBody.length,b&&(F+=b*m.lineHeight+(b-1)*e.titleSpacing+e.titleMarginBottom),W){F+=x*(e.displayColors?Math.max(d,h.lineHeight):h.lineHeight)+(W-x)*h.lineHeight+(W-1)*e.bodySpacing}E&&(F+=e.footerMarginTop+E*g.lineHeight+(E-1)*e.footerSpacing);let z=0;const ie=function(ce){H=Math.max(H,t.measureText(ce).width+z)};return t.save(),t.font=m.string,Ms(n.title,ie),t.font=h.string,Ms(n.beforeBody.concat(n.afterBody),ie),z=e.displayColors?c+2+e.boxPadding:0,Ms(s,ce=>{Ms(ce.before,ie),Ms(ce.lines,ie),Ms(ce.after,ie)}),z=0,t.font=g.string,Ms(n.footer,ie),t.restore(),H+=P.width,{width:H,height:F}}function Dpe(n,e,t,s){const{x:i,width:o}=t,{width:c,chartArea:{left:d,right:h}}=n;let m="center";return"center"===s?m=i<=(d+h)/2?"left":"right":i<=o/2?m="left":i>=c-o/2&&(m="right"),function Spe(n,e,t,s){const{x:i,width:o}=s,c=t.caretSize+t.caretPadding;if("left"===n&&i+o+c>e.width||"right"===n&&i-o-c<0)return!0}(m,n,e,t)&&(m="center"),m}function cW(n,e,t){const s=t.yAlign||e.yAlign||function wpe(n,e){const{y:t,height:s}=e;return tn.height-s/2?"bottom":"center"}(n,t);return{xAlign:t.xAlign||e.xAlign||Dpe(n,e,t,s),yAlign:s}}function uW(n,e,t,s){const{caretSize:i,caretPadding:o,cornerRadius:c}=n,{xAlign:d,yAlign:h}=t,m=i+o,{topLeft:g,topRight:b,bottomLeft:E,bottomRight:x}=zb(c);let P=function Mpe(n,e){let{x:t,width:s}=n;return"right"===e?t-=s:"center"===e&&(t-=s/2),t}(e,d);const F=function Cpe(n,e,t){let{y:s,height:i}=n;return"top"===e?s+=t:s-="bottom"===e?i+t:i/2,s}(e,h,m);return"center"===h?"left"===d?P+=m:"right"===d&&(P-=m):"left"===d?P-=Math.max(g,E)+i:"right"===d&&(P+=Math.max(b,x)+i),{x:Li(P,0,s.width-e.width),y:Li(F,0,s.height-e.height)}}function UL(n,e,t){const s=_o(t.padding);return"center"===e?n.x+n.width/2:"right"===e?n.x+n.width-s.right:n.x+s.left}function dW(n){return Lu([],mh(n))}function hW(n,e){const t=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return t?n.override(t):n}class dj extends Mc{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart||e._chart,this._chart=this.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,s=this.options.setContext(this.getContext()),i=s.enabled&&t.options.animation&&s.animations,o=new i6(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=function Epe(n,e,t){return Cf(n,{tooltip:e,tooltipItems:t,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,t){const{callbacks:s}=t,i=s.beforeTitle.apply(this,[e]),o=s.title.apply(this,[e]),c=s.afterTitle.apply(this,[e]);let d=[];return d=Lu(d,mh(i)),d=Lu(d,mh(o)),d=Lu(d,mh(c)),d}getBeforeBody(e,t){return dW(t.callbacks.beforeBody.apply(this,[e]))}getBody(e,t){const{callbacks:s}=t,i=[];return Ms(e,o=>{const c={before:[],lines:[],after:[]},d=hW(s,o);Lu(c.before,mh(d.beforeLabel.call(this,o))),Lu(c.lines,d.label.call(this,o)),Lu(c.after,mh(d.afterLabel.call(this,o))),i.push(c)}),i}getAfterBody(e,t){return dW(t.callbacks.afterBody.apply(this,[e]))}getFooter(e,t){const{callbacks:s}=t,i=s.beforeFooter.apply(this,[e]),o=s.footer.apply(this,[e]),c=s.afterFooter.apply(this,[e]);let d=[];return d=Lu(d,mh(i)),d=Lu(d,mh(o)),d=Lu(d,mh(c)),d}_createItems(e){const t=this._active,s=this.chart.data,i=[],o=[],c=[];let h,m,d=[];for(h=0,m=t.length;he.filter(g,b,E,s))),e.itemSort&&(d=d.sort((g,b)=>e.itemSort(g,b,s))),Ms(d,g=>{const b=hW(e.callbacks,g);i.push(b.labelColor.call(this,g)),o.push(b.labelPointStyle.call(this,g)),c.push(b.labelTextColor.call(this,g))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=c,this.dataPoints=d,d}update(e,t){const s=this.options.setContext(this.getContext()),i=this._active;let o,c=[];if(i.length){const d=ZE[s.position].call(this,i,this._eventPosition);c=this._createItems(s),this.title=this.getTitle(c,s),this.beforeBody=this.getBeforeBody(c,s),this.body=this.getBody(c,s),this.afterBody=this.getAfterBody(c,s),this.footer=this.getFooter(c,s);const h=this._size=lW(this,s),m=Object.assign({},d,h),g=cW(this.chart,s,m),b=uW(s,m,g,this.chart);this.xAlign=g.xAlign,this.yAlign=g.yAlign,o={opacity:1,x:b.x,y:b.y,width:h.width,height:h.height,caretX:d.x,caretY:d.y}}else 0!==this.opacity&&(o={opacity:0});this._tooltipItems=c,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,s,i){const o=this.getCaretPosition(e,s,i);t.lineTo(o.x1,o.y1),t.lineTo(o.x2,o.y2),t.lineTo(o.x3,o.y3)}getCaretPosition(e,t,s){const{xAlign:i,yAlign:o}=this,{caretSize:c,cornerRadius:d}=s,{topLeft:h,topRight:m,bottomLeft:g,bottomRight:b}=zb(d),{x:E,y:x}=e,{width:P,height:F}=t;let H,W,z,ie,ce,he;return"center"===o?(ce=x+F/2,"left"===i?(H=E,W=H-c,ie=ce+c,he=ce-c):(H=E+P,W=H+c,ie=ce-c,he=ce+c),z=H):(W="left"===i?E+Math.max(h,g)+c:"right"===i?E+P-Math.max(m,b)-c:this.caretX,"top"===o?(ie=x,ce=ie-c,H=W-c,z=W+c):(ie=x+F,ce=ie+c,H=W+c,z=W-c),he=ie),{x1:H,x2:W,x3:z,y1:ie,y2:ce,y3:he}}drawTitle(e,t,s){const i=this.title,o=i.length;let c,d,h;if(o){const m=Gb(s.rtl,this.x,this.width);for(e.x=UL(this,s.titleAlign,s),t.textAlign=m.textAlign(s.titleAlign),t.textBaseline="middle",c=gi(s.titleFont),d=s.titleSpacing,t.fillStyle=s.titleColor,t.font=c.string,h=0;h0!==ie)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,TL(e,{x:H,y:F,w:m,h,radius:z}),e.fill(),e.stroke(),e.fillStyle=c.backgroundColor,e.beginPath(),TL(e,{x:W,y:F+1,w:m-2,h:h-2,radius:z}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(H,F,m,h),e.strokeRect(H,F,m,h),e.fillStyle=c.backgroundColor,e.fillRect(W,F+1,m-2,h-2))}e.fillStyle=this.labelTextColors[s]}drawBody(e,t,s){const{body:i}=this,{bodySpacing:o,bodyAlign:c,displayColors:d,boxHeight:h,boxWidth:m,boxPadding:g}=s,b=gi(s.bodyFont);let E=b.lineHeight,x=0;const P=Gb(s.rtl,this.x,this.width),F=function(Qe){t.fillText(Qe,P.x(e.x+x),e.y+E/2),e.y+=E+o},H=P.textAlign(c);let W,z,ie,ce,he,xe,ke;for(t.textAlign=c,t.textBaseline="middle",t.font=b.string,e.x=UL(this,H,s),t.fillStyle=s.bodyColor,Ms(this.beforeBody,F),x=d&&"right"!==H?"center"===c?m/2+g:m+2+g:0,ce=0,xe=i.length;ce0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,s=this.$animations,i=s&&s.x,o=s&&s.y;if(i||o){const c=ZE[e.position].call(this,this._active,this._eventPosition);if(!c)return;const d=this._size=lW(this,e),h=Object.assign({},c,this._size),m=cW(t,e,h),g=uW(e,h,m,t);(i._to!==g.x||o._to!==g.y)&&(this.xAlign=m.xAlign,this.yAlign=m.yAlign,this.width=d.width,this.height=d.height,this.caretX=c.x,this.caretY=c.y,this._resolveAnimations().update(this,g))}}draw(e){const t=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(t);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const c=_o(t.padding),d=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&d&&(e.save(),e.globalAlpha=s,this.drawBackground(o,e,i,t),Qz(e,t.textDirection),o.y+=c.top,this.drawTitle(o,e,t),this.drawBody(o,e,t),this.drawFooter(o,e,t),Xz(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const s=this._active,i=e.map(({datasetIndex:d,index:h})=>{const m=this.chart.getDatasetMeta(d);if(!m)throw new Error("Cannot find a dataset at index "+d);return{datasetIndex:d,element:m.data[h],index:h}}),o=!gL(s,i),c=this._positionChanged(i,t);(o||c)&&(this._active=i,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,s=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],c=this._getActiveElements(e,o,t,s),d=this._positionChanged(c,e),h=t||!gL(c,o)||d;return h&&(this._active=c,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),h}_getActiveElements(e,t,s,i){const o=this.options;if("mouseout"===e.type)return[];if(!i)return t;const c=this.chart.getElementsAtEventForMode(e,o.mode,o,s);return o.reverse&&c.reverse(),c}_positionChanged(e,t){const{caretX:s,caretY:i,options:o}=this,c=ZE[o.position].call(this,e,t);return!1!==c&&(s!==c.x||i!==c.y)}}dj.positioners=ZE;var pW={id:"tooltip",_element:dj,positioners:ZE,afterInit(n,e,t){t&&(n.tooltip=new dj({chart:n,options:t}))},beforeUpdate(n,e,t){n.tooltip&&n.tooltip.initialize(t)},reset(n,e,t){n.tooltip&&n.tooltip.initialize(t)},afterDraw(n){const e=n.tooltip,t={tooltip:e};!1!==n.notifyPlugins("beforeTooltipDraw",t)&&(e&&e.draw(n.ctx),n.notifyPlugins("afterTooltipDraw",t))},afterEvent(n,e){if(n.tooltip){const t=e.replay;n.tooltip.handleEvent(e.event,t,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(n,e)=>e.bodyFont.size,boxWidth:(n,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:ch,title(n){if(n.length>0){const e=n[0],t=e.chart.data.labels,s=t?t.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex"filter"!==n&&"itemSort"!==n&&"external"!==n,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function Tpe(n,e,t,s){const i=n.indexOf(e);if(-1===i)return((n,e,t,s)=>("string"==typeof e?(t=n.push(e)-1,s.unshift({index:t,label:e})):isNaN(e)&&(t=null),t))(n,e,t,s);return i!==n.lastIndexOf(e)?t:i}class JE extends b_{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const s=this.getLabels();for(const{index:i,label:o}of t)s[i]===o&&s.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(is(e))return null;const s=this.getLabels();return((n,e)=>null===n?null:Li(Math.round(n),0,e))(t=isFinite(t)&&s[t]===e?t:Tpe(s,e,Sn(t,e),this._addedLabels),s.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:s,max:i}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(s=0),t||(i=this.getLabels().length-1)),this.min=s,this.max=i}buildTicks(){const e=this.min,t=this.max,s=this.options.offset,i=[];let o=this.getLabels();o=0===e&&t===o.length-1?o:o.slice(e,t+1),this._valueRange=Math.max(o.length-(s?0:1),1),this._startValue=this.min-(s?.5:0);for(let c=e;c<=t;c++)i.push({value:c});return i}getLabelForValue(e){const t=this.getLabels();return e>=0&&et.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function Ape(n,e){const t=[],{bounds:i,step:o,min:c,max:d,precision:h,count:m,maxTicks:g,maxDigits:b,includeBounds:E}=n,x=o||1,P=g-1,{min:F,max:H}=e,W=!is(c),z=!is(d),ie=!is(m),ce=(H-F)/(b+1);let xe,ke,Qe,it,he=_z((H-F)/P/x)*x;if(he<1e-14&&!W&&!z)return[{value:F},{value:H}];it=Math.ceil(H/he)-Math.floor(F/he),it>P&&(he=_z(it*he/P/x)*x),is(h)||(xe=Math.pow(10,h),he=Math.ceil(he*xe)/xe),"ticks"===i?(ke=Math.floor(F/he)*he,Qe=Math.ceil(H/he)*he):(ke=F,Qe=H),W&&z&&o&&function Ece(n,e){const t=Math.round(n);return t-e<=n&&t+e>=n}((d-c)/o,he/1e3)?(it=Math.round(Math.min((d-c)/he,g)),he=(d-c)/it,ke=c,Qe=d):ie?(ke=W?c:ke,Qe=z?d:Qe,it=m-1,he=(Qe-ke)/it):(it=(Qe-ke)/he,it=EE(it,Math.round(it),he/1e3)?Math.round(it):Math.ceil(it));const Bn=Math.max(vz(he),vz(ke));xe=Math.pow(10,is(h)?Bn:h),ke=Math.round(ke*xe)/xe,Qe=Math.round(Qe*xe)/xe;let $n=0;for(W&&(E&&ke!==c?(t.push({value:c}),kei=t?i:h,d=h=>o=s?o:h;if(e){const h=Iu(i),m=Iu(o);h<0&&m<0?d(0):h>0&&m>0&&c(0)}if(i===o){let h=1;(o>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(h=Math.abs(.05*o)),d(o+h),e||c(i-h)}this.min=i,this.max=o}getTickLimit(){const e=this.options.ticks;let i,{maxTicksLimit:t,stepSize:s}=e;return s?(i=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),t=t||11),t&&(i=Math.min(t,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let s=this.getTickLimit();s=Math.max(2,s);const c=Ape({maxTicks:s,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&yz(c,this,"value"),e.reverse?(c.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),c}configure(){const e=this.ticks;let t=this.min,s=this.max;if(super.configure(),this.options.offset&&e.length){const i=(s-t)/Math.max(e.length-1,1)/2;t-=i,s+=i}this._startValue=t,this._endValue=s,this._valueRange=s-t}getLabelForValue(e){return RE(e,this.chart.options.locale,this.options.ticks.format)}}class zL extends $L{determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=$r(e)?e:0,this.max=$r(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,s=Dc(this.options.ticks.minRotation),i=(e?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,o.lineHeight/i))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}function mW(n){return n/Math.pow(10,Math.floor(Cl(n)))==1}zL.id="linear",zL.defaults={ticks:{callback:FL.formatters.numeric}};class hj extends b_{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const s=$L.prototype.parse.apply(this,[e,t]);if(0!==s)return $r(s)&&s>0?s:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=$r(e)?Math.max(0,e):null,this.max=$r(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let s=this.min,i=this.max;const o=h=>s=e?s:h,c=h=>i=t?i:h,d=(h,m)=>Math.pow(10,Math.floor(Cl(h))+m);s===i&&(s<=0?(o(1),c(10)):(o(d(s,-1)),c(d(i,1)))),s<=0&&o(d(i,-1)),i<=0&&c(d(s,1)),this._zero&&this.min!==this._suggestedMin&&s===d(this.min,0)&&o(d(s,-1)),this.min=s,this.max=i}buildTicks(){const e=this.options,s=function Lpe(n,e){const t=Math.floor(Cl(e.max)),s=Math.ceil(e.max/Math.pow(10,t)),i=[];let o=Dl(n.min,Math.pow(10,Math.floor(Cl(e.min)))),c=Math.floor(Cl(o)),d=Math.floor(o/Math.pow(10,c)),h=c<0?Math.pow(10,Math.abs(c)):1;do{i.push({value:o,major:mW(o)}),++d,10===d&&(d=1,++c,h=c>=0?1:h),o=Math.round(d*Math.pow(10,c)*h)/h}while(ci?{start:e-t,end:e}:{start:e,end:e+t}}function Rpe(n){const e={l:n.left+n._padding.left,r:n.right-n._padding.right,t:n.top+n._padding.top,b:n.bottom-n._padding.bottom},t=Object.assign({},e),s=[],i=[],o=n._pointLabels.length,c=n.options.pointLabels,d=c.centerPointLabels?fr/o:0;for(let h=0;he.r&&(d=(s.end-e.r)/o,n.r=Math.max(n.r,e.r+d)),i.starte.b&&(h=(i.end-e.b)/c,n.b=Math.max(n.b,e.b+h))}function Fpe(n){return 0===n||180===n?"center":n<180?"left":"right"}function Ype(n,e,t){return"right"===t?n-=e:"center"===t&&(n-=e/2),n}function Bpe(n,e,t){return 90===t||270===t?n-=e/2:(t>270||t<90)&&(n-=e),n}function _W(n,e,t,s){const{ctx:i}=n;if(t)i.arc(n.xCenter,n.yCenter,e,0,Vs);else{let o=n.getPointPosition(0,e);i.moveTo(o.x,o.y);for(let c=1;c{const i=Gs(this.options.pointLabels.callback,[t,s],this);return i||0===i?i:""}).filter((t,s)=>this.chart.getDataVisibility(s))}fit(){const e=this.options;e.display&&e.pointLabels.display?Rpe(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,s,i){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((s-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,s,i))}getIndexAngle(e){return Fa(e*(Vs/(this._pointLabels.length||1))+Dc(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(is(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(is(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e=0;i--){const o=s.setContext(n.getPointLabelContext(i)),c=gi(o.font),{x:d,y:h,textAlign:m,left:g,top:b,right:E,bottom:x}=n._pointLabelItems[i],{backdropColor:P}=o;if(!is(P)){const F=_o(o.backdropPadding);t.fillStyle=P,t.fillRect(g-F.left,b-F.top,E-g+F.width,x-b+F.height)}m_(t,n._pointLabels[i],d,h+c.lineHeight/2,c,{color:o.color,textAlign:m,textBaseline:"middle"})}}(this,o),i.display&&this.ticks.forEach((m,g)=>{if(0!==g){d=this.getDistanceFromCenterForValue(m.value);!function Vpe(n,e,t,s){const i=n.ctx,o=e.circular,{color:c,lineWidth:d}=e;!o&&!s||!c||!d||t<0||(i.save(),i.strokeStyle=c,i.lineWidth=d,i.setLineDash(e.borderDash),i.lineDashOffset=e.borderDashOffset,i.beginPath(),_W(n,t,o,s),i.closePath(),i.stroke(),i.restore())}(this,i.setContext(this.getContext(g-1)),d,o)}}),s.display){for(e.save(),c=o-1;c>=0;c--){const m=s.setContext(this.getPointLabelContext(c)),{color:g,lineWidth:b}=m;!b||!g||(e.lineWidth=b,e.strokeStyle=g,e.setLineDash(m.borderDash),e.lineDashOffset=m.borderDashOffset,d=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),h=this.getPointPosition(c,d),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(h.x,h.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,s=t.ticks;if(!s.display)return;const i=this.getIndexAngle(0);let o,c;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(i),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((d,h)=>{if(0===h&&!t.reverse)return;const m=s.setContext(this.getContext(h)),g=gi(m.font);if(o=this.getDistanceFromCenterForValue(this.ticks[h].value),m.showLabelBackdrop){e.font=g.string,c=e.measureText(d.label).width,e.fillStyle=m.backdropColor;const b=_o(m.backdropPadding);e.fillRect(-c/2-b.left,-o-g.size/2-b.top,c+b.width,g.size+b.height)}m_(e,d.label,0,-o,g,{color:m.color})}),e.restore()}drawTitle(){}}Xb.id="radialLinear",Xb.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:FL.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:n=>n,padding:5,centerPointLabels:!1}},Xb.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Xb.descriptors={angleLines:{_fallback:"grid"}};const WL={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ma=Object.keys(WL);function Upe(n,e){return n-e}function yW(n,e){if(is(e))return null;const t=n._adapter,{parser:s,round:i,isoWeekday:o}=n._parseOpts;let c=e;return"function"==typeof s&&(c=s(c)),$r(c)||(c="string"==typeof s?t.parse(c,s):t.parse(c)),null===c?null:(i&&(c="week"!==i||!CE(o)&&!0!==o?t.startOf(c,i):t.startOf(c,"isoWeek",o)),+c)}function vW(n,e,t,s){const i=ma.length;for(let o=ma.indexOf(n);o=e?t[s]:t[i]]=!0}}else n[e]=!0}function wW(n,e,t){const s=[],i={},o=e.length;let c,d;for(c=0;c=0&&(e[h].major=!0);return e}(n,s,i,t):s}class e0 extends b_{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t){const s=e.time||(e.time={}),i=this._adapter=new bde._date(e.adapters.date);DE(s.displayFormats,i.formats()),this._parseOpts={parser:s.parser,round:s.round,isoWeekday:s.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:yW(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,s=e.time.unit||"day";let{min:i,max:o,minDefined:c,maxDefined:d}=this.getUserBounds();function h(m){!c&&!isNaN(m.min)&&(i=Math.min(i,m.min)),!d&&!isNaN(m.max)&&(o=Math.max(o,m.max))}(!c||!d)&&(h(this._getLabelBounds()),("ticks"!==e.bounds||"labels"!==e.ticks.source)&&h(this.getMinMax(!1))),i=$r(i)&&!isNaN(i)?i:+t.startOf(Date.now(),s),o=$r(o)&&!isNaN(o)?o:+t.endOf(Date.now(),s)+1,this.min=Math.min(i,o-1),this.max=Math.max(i+1,o)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],s=e[e.length-1]),{min:t,max:s}}buildTicks(){const e=this.options,t=e.time,s=e.ticks,i="labels"===s.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const o=this.min,d=function aue(n,e,t){let s=0,i=n.length;for(;ss&&n[i-1]>t;)i--;return s>0||i=ma.indexOf(t);o--){const c=ma[o];if(WL[c].common&&n._adapter.diff(i,s,c)>=e-1)return c}return ma[t?ma.indexOf(t):0]}(this,d.length,t.minUnit,this.min,this.max)),this._majorUnit=s.major.enabled&&"year"!==this._unit?function zpe(n){for(let e=ma.indexOf(n)+1,t=ma.length;e1e5*d)throw new Error(t+" and "+s+" are too far apart with stepSize of "+d+" "+c);const P="data"===i.ticks.source&&this.getDataTimestamps();for(E=b,x=0;EF-H).map(F=>+F)}getLabelForValue(e){const t=this._adapter,s=this.options.time;return s.tooltipFormat?t.format(e,s.tooltipFormat):t.format(e,s.displayFormats.datetime)}_tickFormatFunction(e,t,s,i){const o=this.options,c=o.time.displayFormats,d=this._unit,h=this._majorUnit,m=d&&c[d],g=h&&c[h],b=s[t],E=h&&g&&b&&b.major,x=this._adapter.format(e,i||(E?g:m)),P=o.ticks.callback;return P?Gs(P,[x,t,s],this):x}generateTickLabels(e){let t,s,i;for(t=0,s=e.length;t0?d:1}getDataTimestamps(){let t,s,e=this._cache.data||[];if(e.length)return e;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(t=0,s=i.length;t=n[s].pos&&e<=n[i].pos&&({lo:s,hi:i}=dh(n,"pos",e)),({pos:o,time:d}=n[s]),({pos:c,time:h}=n[i])):(e>=n[s].time&&e<=n[i].time&&({lo:s,hi:i}=dh(n,"time",e)),({time:o,pos:d}=n[s]),({time:c,pos:h}=n[i]));const m=c-o;return m?d+(h-d)*(e-o)/m:d}e0.id="time",e0.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class GL extends e0{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=qL(t,this.min),this._tableRange=qL(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:s}=this,i=[],o=[];let c,d,h,m,g;for(c=0,d=e.length;c=t&&m<=s&&i.push(m);if(i.length<2)return[{time:t,pos:0},{time:s,pos:1}];for(c=0,d=i.length;c-1};const afe=function ofe(n,e){var t=this.__data__,s=QL(t,n);return s<0?(++this.size,t.push([n,e])):t[s][1]=e,this};function Zb(n){var e=-1,t=null==n?0:n.length;for(this.clear();++e-1&&n%1==0&&n<=9007199254740991};const wj=function _ge(n){return null!=n&&YW(n.length)&&!fj(n)};const vge=function yge(n){return s0(n)&&wj(n)};const wge=function bge(){return!1};var BW="object"==typeof exports&&exports&&!exports.nodeType&&exports,jW=BW&&"object"==typeof module&&module&&!module.nodeType&&module,VW=jW&&jW.exports===BW?Jb.Buffer:void 0;const HW=(VW?VW.isBuffer:void 0)||wge;var Ege=Function.prototype,xge=Object.prototype,UW=Ege.toString,kge=xge.hasOwnProperty,Tge=UW.call(Object);const Age=function Ige(n){if(!s0(n)||"[object Object]"!=JL(n))return!1;var e=RW(n);if(null===e)return!0;var t=kge.call(e,"constructor")&&e.constructor;return"function"==typeof t&&t instanceof t&&UW.call(t)==Tge};var nr={};nr["[object Float32Array]"]=nr["[object Float64Array]"]=nr["[object Int8Array]"]=nr["[object Int16Array]"]=nr["[object Int32Array]"]=nr["[object Uint8Array]"]=nr["[object Uint8ClampedArray]"]=nr["[object Uint16Array]"]=nr["[object Uint32Array]"]=!0,nr["[object Arguments]"]=nr["[object Array]"]=nr["[object ArrayBuffer]"]=nr["[object Boolean]"]=nr["[object DataView]"]=nr["[object Date]"]=nr["[object Error]"]=nr["[object Function]"]=nr["[object Map]"]=nr["[object Number]"]=nr["[object Object]"]=nr["[object RegExp]"]=nr["[object Set]"]=nr["[object String]"]=nr["[object WeakMap]"]=!1;const s_e=function n_e(n){return s0(n)&&YW(n.length)&&!!nr[JL(n)]};const i_e=function r_e(n){return function(e){return n(e)}};var $W="object"==typeof exports&&exports&&!exports.nodeType&&exports,r0=$W&&"object"==typeof module&&module&&!module.nodeType&&module,Sj=r0&&r0.exports===$W&&SW.process,a_e=function(){try{return r0&&r0.require&&r0.require("util").types||Sj&&Sj.binding&&Sj.binding("util")}catch{}}();var WW=a_e&&a_e.isTypedArray;const qW=WW?i_e(WW):s_e;const Dj=function c_e(n,e){if(("constructor"!==e||"function"!=typeof n[e])&&"__proto__"!=e)return n[e]};var d_e=Object.prototype.hasOwnProperty;const p_e=function h_e(n,e,t){var s=n[e];(!d_e.call(n,e)||!KL(s,t)||void 0===t&&!(e in n))&&_j(n,e,t)};const m_e=function f_e(n,e,t,s){var i=!t;t||(t={});for(var o=-1,c=e.length;++o-1&&n%1==0&&n0){if(++e>=800)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}(z_e);const X_e=Q_e;const J_e=function Z_e(n,e){return X_e(V_e(n,e,XW),n+"")};const tye=function eye(n,e,t){if(!w_(t))return!1;var s=typeof e;return!!("number"==s?wj(t)&&GW(e,t.length):"string"==s&&e in t)&&KL(t[e],n)};var sye=function nye(n){return J_e(function(e,t){var s=-1,i=t.length,o=i>1?t[i-1]:void 0,c=i>2?t[2]:void 0;for(o=n.length>3&&"function"==typeof o?(i--,o):void 0,c&&tye(t[0],t[1],c)&&(o=i<3?void 0:o,i=1),e=Object(e);++sthis.themeChanged(i)))}ngOnChanges(e){const t=["type"],s=Object.getOwnPropertyNames(e);if(s.some(i=>t.includes(i))||s.every(i=>e[i].isFirstChange()))this.render();else{const i=this.getChartConfiguration();this.chart&&(Object.assign(this.chart.config.data,i.data),Object.assign(this.chart.config.plugins,i.plugins),Object.assign(this.chart.config.options,i.options)),this.update()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(e=>e.unsubscribe())}render(){return this.chart&&this.chart.destroy(),this.zone.runOutsideAngular(()=>this.chart=new GE(this.ctx,this.getChartConfiguration()))}update(e){this.chart&&this.zone.runOutsideAngular(()=>this.chart?.update(e))}hideDataset(e,t){this.chart&&(this.chart.getDatasetMeta(e).hidden=t,this.update())}isDatasetHidden(e){return this.chart?.getDatasetMeta(e)?.hidden}toBase64Image(){return this.chart?.toBase64Image()}themeChanged(e){this.themeOverrides=e,this.chart&&(Object.assign(this.chart.config.options,this.getChartOptions()),this.update())}getChartOptions(){return JW({onHover:(e,t)=>{this.chartHover.observed&&t&&!t.length||this.zone.run(()=>this.chartHover.emit({event:e,active:t}))},onClick:(e,t)=>{this.chartClick.observed&&this.zone.run(()=>this.chartClick.emit({event:e,active:t}))}},this.themeOverrides,this.options,{plugins:{legend:{display:this.legend}}})}getChartConfiguration(){return{type:this.type,data:this.getChartData(),plugins:this.plugins,options:this.getChartOptions()}}getChartData(){return this.data?this.data:{labels:this.labels||[],datasets:this.datasets||[]}}}rw.\u0275fac=function(e){return new(e||rw)(ue(fn),ue(vt),ue(sw))},rw.\u0275dir=Ge({type:rw,selectors:[["canvas","baseChart",""]],inputs:{type:"type",legend:"legend",data:"data",options:"options",plugins:"plugins",labels:"labels",datasets:"datasets"},outputs:{chartClick:"chartClick",chartHover:"chartHover"},exportAs:["base-chart"],features:[Ss]});const rye=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]],iye={datasets:{line:{backgroundColor:n=>Yo(Bo(n.datasetIndex),.4),borderColor:n=>Yo(Bo(n.datasetIndex),1),pointBackgroundColor:n=>Yo(Bo(n.datasetIndex),1),pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:n=>Yo(Bo(n.datasetIndex),.8)},bar:{backgroundColor:n=>Yo(Bo(n.datasetIndex),.6),borderColor:n=>Yo(Bo(n.datasetIndex),1),hoverBackgroundColor:n=>Yo(Bo(n.datasetIndex),.8),hoverBorderColor:n=>Yo(Bo(n.datasetIndex),1)},get radar(){return this.line},doughnut:{backgroundColor:n=>Yo(Bo(n.dataIndex),.6),borderColor:"#fff",hoverBackgroundColor:n=>Yo(Bo(n.dataIndex),1),hoverBorderColor:n=>Yo(Bo(n.dataIndex),1)},get pie(){return this.doughnut},polarArea:{backgroundColor:n=>Yo(Bo(n.dataIndex),.6),borderColor:n=>Yo(Bo(n.dataIndex),1),hoverBackgroundColor:n=>Yo(Bo(n.dataIndex),.8),hoverBorderColor:n=>Yo(Bo(n.dataIndex),1)},get bubble(){return this.doughnut},get scatter(){return this.doughnut},get area(){return this.polarArea}}};function Yo(n,e){return"rgba("+n.concat(e).join(",")+")"}function Mj(n,e){return Math.floor(Math.random()*(e-n+1))+n}function Bo(n=0){return rye[n]||function oye(){return[Mj(0,255),Mj(0,255),Mj(0,255)]}()}GE.register(aW,pW,sW,oW,Kb,fh,QE,zL,JE,NE,XE,y_,KE,BE,Xb,PL,YE,FE,jE,GL);class S_{}S_.\u0275fac=function(e){return new(e||S_)},S_.\u0275prov=Ce({token:S_,factory:S_.\u0275fac,providedIn:"root"});class kf{constructor(e){e?.plugins&&GE.register(...e?.plugins);const t=JW(iye,e?.defaults||{});Yn.set(t)}static forRoot(e){return{ngModule:kf,providers:[{provide:S_,useValue:e}]}}}kf.\u0275fac=function(e){return new(e||kf)(be(S_,8))},kf.\u0275mod=vs({type:kf,declarations:[rw],exports:[rw]}),kf.\u0275inj=Ts({imports:[[]]});var lye=k(8990),cye=k.n(lye);let nP=class{constructor(e,t){this.ueHttp=e,this.ueTheme=t}getNews(){return this.ueHttp.get("/api/DVPRTLFE/developers/news")}getDeviceSummary(){return this.ueHttp.get("/api/DVPRTLFE/developers/device_dashboard")}static#e=this.ctorParameters=()=>[{type:qi},{type:qg}]};nP=ge([Ds()],nP);let sP=class{constructor(e,t,s){this.dashboardService=e,this.router=t,this.changeDetectorRef=s,this.loading=!1,this.summaryData={},this.activeDeviceIndex=-1,this.deviceCount={count:0,color:"black",label:this.summaryData.total_devices>1?"Devices":"Device"},this.activeApplianceIndex=-1,this.applianceCount={count:0,color:"black",label:this.summaryData.total_servers>1?"Appliances":"Appliance"},this.doughnutChartType="doughnut",this.deviceChartData={labels:[],datasets:[]},this.deviceChartColors=["#52d052","#fb4336","#DBA448","#285984"],this.deviceChartOptions={responsive:!0,maintainAspectRatio:!1,plugins:{title:{display:!1},legend:{position:"right",align:"start",labels:{boxWidth:10,padding:5},onClick:null,onHover:(i,o)=>{this.updateDeviceCount(o.index)}},tooltip:{enabled:!1}},hover:{mode:"nearest",intersect:!0},onHover:(i,o)=>{o.length>0&&this.activeDeviceIndex!==o[0].index?this.updateDeviceCount(o[0].index):0===o.length&&-1!==this.activeDeviceIndex&&(this.activeDeviceIndex=-1,this.deviceCount={count:this.summaryData.total_devices,color:"black",label:this.summaryData.total_devices>1?"Devices":"Device"},this.changeDetectorRef.detectChanges())}},this.applianceChartData={labels:[],datasets:[]},this.applianceChartColors=["#52d052","#fb4336"],this.applianceChartOptions={responsive:!0,maintainAspectRatio:!1,plugins:{title:{display:!1},legend:{position:"right",align:"start",labels:{boxWidth:10,padding:5},onClick:null,onHover:(i,o)=>{this.updateApplianceCount(o.index)}},tooltip:{enabled:!1}},hover:{mode:"nearest",intersect:!0},onHover:(i,o)=>{o.length>0&&this.activeApplianceIndex!==o[0].index?this.updateApplianceCount(o[0].index):0===o.length&&-1!==this.activeApplianceIndex&&(this.activeApplianceIndex=-1,this.applianceCount={count:this.summaryData.total_servers,color:"black",label:this.summaryData.total_servers>1?"Appliances":"Appliance"},this.changeDetectorRef.detectChanges())}}}ngOnInit(){this.getNews(),this.getDeviceSummary()}getNews(){this.dashboardService.getNews().subscribe(e=>{this.articles=e.data},e=>{this.alert.newAlert("Error!",e.error,"danger")})}getDeviceSummary(){this.loading=!0,this.dashboardService.getDeviceSummary().subscribe(e=>{this.summaryData=e,this.handleSummaryData(),this.loading=!1},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.loading=!1})}handleSummaryData(){this.deviceChartData.datasets.push({data:[this.summaryData.devices_online,this.summaryData.devices_offline,this.summaryData.devices_pairing,this.summaryData.devices_processing],backgroundColor:this.deviceChartColors,hoverBackgroundColor:this.deviceChartColors,hoverBorderColor:this.deviceChartColors}),this.deviceChartData.labels=[`Online - ${this.summaryData.devices_online}`,`Offline - ${this.summaryData.devices_offline}`,`Pairing - ${this.summaryData.devices_pairing}`,`Processing - ${this.summaryData.devices_processing}`],this.applianceChartData.datasets.push({data:[this.summaryData.servers_online,this.summaryData.servers_offline],backgroundColor:this.applianceChartColors,hoverBackgroundColor:this.applianceChartColors,hoverBorderColor:this.applianceChartColors}),this.applianceChartData.labels=[`Online - ${this.summaryData.servers_online}`,`Offline - ${this.summaryData.servers_offline}`],this.deviceCount.count=this.summaryData.total_devices,this.applianceCount.count=this.summaryData.total_servers}updateDeviceCount(e){this.activeDeviceIndex=e;const t=this.deviceChartData.labels[e];this.deviceCount={count:this.deviceChartData.datasets[0].data[e],color:this.deviceChartColors[e],label:t.replace(/\s\-.*/,"")},this.changeDetectorRef.detectChanges()}updateApplianceCount(e){this.activeApplianceIndex=e;const t=this.applianceChartData.labels[e];this.applianceCount={count:this.applianceChartData.datasets[0].data[e],color:this.applianceChartColors[e],label:t.replace(/\s\-.*/,"")},this.changeDetectorRef.detectChanges()}onRowSelect(e){this.router.navigate(["servers",e.key])}static#e=this.ctorParameters=()=>[{type:nP},{type:un},{type:gl}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}]}};sP=ge([Ke({selector:"ue-dashboard",template:'
    \n\n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n\n\t\n\n\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t Device Summary\n\t\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t

    {{deviceCount.count}}

    \n\t\t\t\t\t\t

    {{deviceCount.label}}

    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t Appliance Summary\n\t\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t

    {{applianceCount.count}}

    \n\t\t\t\t\t\t

    {{applianceCount.label}}

    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Appliance Table

    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t
    \n\n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n\n
    ',styles:[cye()]})],sP);const uye=[{path:"",component:sP}];let Cj=class{};Cj=ge([pr({imports:[Er.forChild(uye)],exports:[Er]})],Cj);let Ej=class{};Ej=ge([pr({imports:[xu,Cj,kf],declarations:[sP],providers:[nP]})],Ej);var hye=k(3544),pye=k.n(hye);let i0=class{constructor(e,t,s){this.ueHttp=e,this.router=t,this.ueTheme=s,this.baseUrl="/api/DVPRTLFE/developers",this.url=`${this.baseUrl}/endpoints`,this.queryParams={limit:0,offset:0,total:0}}getEndpoints(e){let t=this.url;return e&&(t+="?"+e),this.ueHttp.get(t)}getEndpointDetails(e){return this.ueHttp.get(this.url+"/"+e)}saveEndpoint(e,t){return this.ueHttp.put(this.url+"/"+e,t)}deleteEndpoint(e){return this.ueHttp.delete(this.url+"/"+e)}createEndpoint(e){return this.ueHttp.post(this.url,e)}createDocsUrl(e){let t=this.ueTheme.helpUrl;return"SOAP"===e.typename?t+="/developer/soap-api/":t+="/developer/rest-api/",t}getHelpUrl(){return this.ueTheme.helpUrl}getProdUrl(){return this.ueTheme.prodUrl}getSandboxUrl(){return this.ueTheme.sandboxUrl}getResellerSuffix(){return this.ueTheme.resellerSuffix}static#e=this.ctorParameters=()=>[{type:qi},{type:un},{type:qg}]};i0=ge([Ds()],i0);let rP=class{constructor(e,t,s,i){this.endpointsService=e,this.router=t,this.route=s,this.authService=i,this.endpoints=[],this.canEdit=this.authService.checkPermissions("endpoints_edit"),this.canCreate=this.authService.checkPermissions("endpoints_create"),this.canDelete=this.authService.checkPermissions("endpoints_delete"),this.contextMenuItems=[]}ngOnInit(){this.getEndpoints(),this.buildContextMenu(),this.routerEventsSubscription=this.router.events.pipe(ms(e=>e instanceof fo&&(0===this.route.children.length||0===this.endpoints.length))).subscribe(e=>{const t=this.route.snapshot.queryParams;"true"===t.isNew&&(this.alert.newAlert("Success","Endpoint created","success"),this.router.navigate(["endpoints"],{replaceUrl:!0})),"true"===t.updated?(this.alert.newAlert("Success","Endpoint information has been successfully saved","success"),this.router.navigate(["endpoints"],{replaceUrl:!0})):(this.endpointsService.queryParams.limit=t.limit,this.endpointsService.queryParams.offset=t.offset,this.getEndpoints())})}getEndpoints(){let e="";for(const t in this.endpointsService.queryParams)this.endpointsService.queryParams[t]&&(e+=[t]+"="+this.endpointsService.queryParams[t]+"&");this.endpointsService.getEndpoints(e).subscribe(t=>{this.endpoints=t.data,this.updatePaginationObject(t)},t=>{this.alert.newAlert("Error!",t.error,"danger")})}buildContextMenu(){if(this.contextMenuItems=[],this.canEdit){const e={icon:"fa fa-edit",label:"Edit",command:t=>{this.onRowSelect(t)}};this.contextMenuItems.push(e)}else{const e={icon:"fa fa-list",label:"Details",command:t=>{this.onRowSelect(t)}};this.contextMenuItems.push(e)}if(this.canDelete){const e={icon:"glyphicon glyphicon-trash",label:"Delete",command:t=>{this.contextMenuTarget=t,this.confirmDeletionModal.open()}};this.contextMenuItems.push(e)}}onRowSelect(e){this.router.navigate(["/endpoints",e.key])}makeNewEndpoint(){this.router.navigate(["/endpoints","new"])}deleteEndpoint(e){this.endpointsService.deleteEndpoint(e.key).subscribe(t=>{this.alert.newAlert("Success","Deleted endpoint","success"),this.getEndpoints(),this.confirmDeletionModal.close()},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.confirmDeletionModal.close()})}goToPage(e){e.active||e.disabled||(this.endpointsService.queryParams.limit=e.limit,this.endpointsService.queryParams.offset=e.offset,this.updateQueryString())}updateQueryString(){const e={};for(const t in this.endpointsService.queryParams)this.endpointsService.queryParams[t]&&(e[t]=this.endpointsService.queryParams[t]);this.router.navigate(["/endpoints"],{queryParams:e})}updatePaginationObject(e){this.paginationComponent.updatePaginationObject(e.limit,e.offset,e.total),this.paginationComponent.updatePaginationLength(e.data.length)}updatePaginationTotal(e){this.paginationComponent.paginationObject.total+=e,this.paginationComponent.paginationObject.length+=e}ngOnDestroy(){this.routerEventsSubscription.unsubscribe()}createDocsUrl(e){return this.endpointsService.createDocsUrl(e)}openExternalLink(e,t){t.stopPropagation(),window.open(e)}showDocsColumn(){return!this.endpointsService.getHelpUrl().includes("disabled")}parseRateLimit(e){return"-1"===e?"Unlimited":e}parseDate(e){return"0000-00-00 00:00:00"===e?"1900-01-01 01:00:01":e}static#e=this.ctorParameters=()=>[{type:i0},{type:un},{type:fi},{type:tr}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}],paginationComponent:[{type:ze,args:[oh,{static:!0}]}],confirmDeletionModal:[{type:ze,args:["confirmDeletionModal",{static:!0}]}]}};rP=ge([Ke({selector:"ue-endpoints-list",template:'
    \n\t
    \n\t\t\n\t
    \n\t\n\t
    \n\t\tNew Endpoint\n\t
    \n
    \n\n\n\n
    \n\t
    \n\t\t\n\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{endpoint.typename + \' \' + endpoint.apiver}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{parseRateLimit(endpoint.ratelimit_daily)}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{parseRateLimit(endpoint.ratelimit)}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t {{parseDate(endpoint.created) | ueDate:\'MM/DD/YYYY\'}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\tSOAP docs\n\t\t\t\t\tREST docs\n\t\t\t\t\n\t\t\t\n\t\t\n
    \n
    \n\n\n\n\n\n\n\n',styles:[pye()]})],rP);var mye=k(7190),gye=k.n(mye);let iP=class{constructor(e,t,s,i,o,c){this.route=e,this.endpointsService=t,this.formBuilder=s,this.router=i,this.window=o,this.authService=c,this.isNew=!1,this.isLoading=!1,this.canEdit=this.authService.checkPermissions("endpoints_edit"),this.canDelete=this.authService.checkPermissions("endpoints_delete"),this.showErrors=!1}ngOnInit(){this.myModal.open(),this.initForm();const e=this.route.snapshot.params;"new"===e.key?this.isNew=!0:(this.isNew=!1,this.isLoading=!0,this.endpointsService.getEndpointDetails(e.key).subscribe(t=>{this.isLoading=!1,this.endpointForm.patchValue(t)},t=>{this.isLoading=!1,this.alert.newAlert("Error!",t.error,"danger")}))}ngOnDestroy(){this.endpointFormSubscription&&this.endpointFormSubscription.unsubscribe()}initForm(){this.endpointForm=this.formBuilder.group({apitype:["",nt.required],apiver:["",nt.required],phone:["",[nt.required,nt.maxLength(32)]],title:["",[nt.required,nt.maxLength(32)]],version:["",[nt.required,nt.maxLength(32)]],typename:["",nt.required],endpointkey:[""],key:[""],ratelimit_daily:[""],ratelimit:[""]}),this.endpointFormSubscription=this.endpointForm.get("typename").valueChanges.subscribe(e=>{let t="";"REST"===e&&(t="2"),this.isNew&&this.endpointForm.get("apiver").reset(t),this.isNew&&"REST"===e&&this.endpointForm.patchValue({apitype:"rest"})}),this.canEdit||this.endpointForm.disable()}sanitizeVersion(){this.endpointForm.patchValue({version:KY.rejectWhitespace(this.endpointForm.value.version)})}saveChanges(e){if(this.alert.closeAlert(),this.showErrors=!1,this.endpointForm.invalid)return this.showErrors=!0,this.alert.newAlert("Invalid Form!","The form is invalid. Please fill in all required fields.","danger");if(this.isNew)this.endpointsService.createEndpoint(this.endpointForm.value).subscribe(t=>{e?this.router.navigate(["/endpoints"],{queryParams:{isNew:!0}}):(this.isNew=!1,this.endpointForm.patchValue({endpointkey:t.endpointkey,key:t.key}),this.router.navigate(["/endpoints",t.key],{replaceUrl:!0}),this.endpointForm.markAsPristine(),this.alert.newAlert("Success!","New endpoint has been created","success"))},t=>{this.alert.newAlert("Error!",t.error,"danger")});else{const t=this.getUpdatedControls(this.endpointForm);this.endpointForm.markAsPristine(),this.endpointsService.saveEndpoint(this.endpointForm.get("key").value,t).subscribe(s=>{this.alert.newAlert("Success!","Endpoint information has been successfully saved","success"),e&&this.router.navigate(["/endpoints"],{queryParams:{updated:!0}})},s=>{this.alert.newAlert("Error!",s.error,"danger")})}}getUpdatedControls(e){const t={};for(const s in e.controls)e.controls[s].dirty&&(t[s]=e.controls[s].value);return t}confirmDelete(){this.confirmDeletionModal.open()}deleteEndpoint(){this.endpointsService.deleteEndpoint(this.endpointForm.get("key").value).subscribe(e=>{this.myModal.close()},e=>{this.alert.newAlert("Error!",e.error,"danger")})}createUrl(e){let t=this.endpointsService.getSandboxUrl();this.isNew&&(e.endpointkey="YOURKEY");const s=this.endpointsService.getResellerSuffix();return"SOAP"===e.typename?t+=`/soap/gate/${e.endpointkey}/${s}.wsdl`:t+=`/api/${e.endpointkey}`,t}getProdUrl(e){let t=this.endpointsService.getProdUrl();const s=this.endpointsService.getResellerSuffix();return"SOAP"===e.typename?t+=`/soap/gate/${e.endpointkey}/${s}.wsdl`:t+=`/api/${e.endpointkey}`,t}onCloseModal(){this.endpointForm.pristine?this.isNewAppWindow()?this.router.navigate(["/endpoints"]):this.myModal.close():this.confirmAbandonModal.isOpen?this.router.navigate(["/endpoints"]):this.confirmAbandonModal.open()}isNewAppWindow(){return 1===this.router.navigationId}onCopy(e){const t=document.createElement("input");document.body.appendChild(t);const s=document.getElementById(e);t.value=s.textContent,t.select(),document.execCommand("copy"),t.remove()}detectBrowser(){return document.queryCommandSupported("copy")}createDocsUrl(e){return this.endpointsService.createDocsUrl(e)}showDocs(){return!this.endpointsService.getHelpUrl().includes("disabled")}static#e=this.ctorParameters=()=>[{type:fi},{type:i0},{type:ri},{type:un},{type:Gg},{type:tr}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}],myModal:[{type:ze,args:["myModal",{static:!0}]}],confirmDeletionModal:[{type:ze,args:["confirmDeletionModal",{static:!0}]}],confirmAbandonModal:[{type:ze,args:["confirmAbandonModal",{static:!0}]}]}};iP=ge([Ke({selector:"ue-endpoint-details",template:'\n\t\n\t\t

    New Endpoint

    \n\t\t

    \n\t\t\tAPI Endpoint: {{endpointForm.get(\'typename\').value}} - {{endpointForm.get(\'apiver\').value}}\n\t\t

    \n\t\t

    \n\t\t\t\n\t\t\t\tSandbox WSDL Key:\n\t\t\t\t{{createUrl(endpointForm.value)}}\n\t\t\t\t \n\t\t\t\t
    \n\t\t\t\tProduction WSDL Key:\n\t\t\t\t{{getProdUrl(endpointForm.value)}} \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tRate Limit: \n\t\t\t\t{{endpointForm.get(\'ratelimit_daily\').value}}/day, {{endpointForm.get(\'ratelimit\').value}}/min\n\t\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\tDocs: \n\t\t\t\t\t{{createDocsUrl(endpointForm.value)}}\n\t\t\t\t
    \n\t\t\t\n\t\t\t\n\t\t\t\tSandbox Base URL:\n\t\t\t\t{{createUrl(endpointForm.value)}} \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tProduction Base URL:\n\t\t\t\t{{getProdUrl(endpointForm.value)}}\n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tRate Limit: \n\t\t\t\t{{endpointForm.get(\'ratelimit_daily\').value}}/day, {{endpointForm.get(\'ratelimit\').value}}/min\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tDocs: \n\t\t\t\t\t{{createDocsUrl(endpointForm.value)}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t

    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t
    \n\t
    \n\t\n\t\tDelete\n\t\tClose\n\t\tApply\n\t\tSave\n\t\n
    \n\n\n\n\n\n\n',animations:[Bb("slideDown",[ih("void",wc({height:"0",overflow:"hidden"})),wf("void => *",bf("200ms ease-out"))])],styles:[gye()]})],iP);const _ye=[{path:"",component:rP,children:[{path:":key",component:iP}]}];let xj=class{};xj=ge([pr({imports:[Er.forChild(_ye)],exports:[Er]})],xj);let kj=class{};kj=ge([pr({imports:[xu,xj],declarations:[rP,iP],providers:[i0]})],kj);var vye=k(275),bye=k.n(vye);let iw=class{constructor(e){this.http=e,this.baseUrl="/api/DVPRTLFE/developers",this.profileUrl="/api/DVPRTLFE/developers/profile"}getProfile(){return this.http.get(`${this.baseUrl}/profile`)}updateProfile(e){return this.http.put(this.profileUrl,e)}getUser(){return this.http.get(`${this.baseUrl}/user-profile`)}updateUser(e){return this.http.put(`${this.baseUrl}/user-profile`,e)}changePassword(e){return this.http.post(this.baseUrl+"/change_password",e)}leaveCompany(e){const t={member_key:e};return this.http.post(`${this.baseUrl}/leave`,t)}getCompanyList(){return this.http.get(`${this.baseUrl}/companies`)}checkoutCompany(e){return this.http.post(`${this.baseUrl}/explore`,{member_key:e})}static#e=this.ctorParameters=()=>[{type:qi}]};iw=ge([Ds()],iw);class e7{constructor(e){if(e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}}let oP=class{constructor(e,t,s,i){this.formBuilder=e,this.profileService=t,this.router=s,this.authService=i,this.validationError=!1,this.canEdit=this.authService.checkPermissions("profile_edit")}ngOnInit(){this.profileService.getProfile().subscribe(e=>{this.profile=new e7(e),this.initForm()},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.profile=new e7(null),this.initForm()})}initForm(){const e=this.profile;this.profileForm=this.formBuilder.group({company:[e.company,nt.required],contact:[e.contact,nt.required],address1:[e.address1],address2:[e.address2],city:[e.city],state:[e.state],zip:[e.zip],country:[e.country],phone:[e.phone]}),this.canEdit||this.profileForm.disable()}saveProfile(){if(this.profileForm.invalid)return this.validationError=!0,void this.alert.newAlert("Invalid Form!","The form is invalid. Please fill in all required fields.","danger");const e={};for(const t in this.profileForm.controls)this.profileForm.get(t).value!==this.profile[t]&&(e[t]=this.profileForm.controls[t].value);this.profileForm.markAsPristine(),this.profileService.updateProfile(e).subscribe(t=>{this.alert.newAlert("Success!","Profile information has been successfully saved","success"),this.profile=this.profileForm.value},t=>{this.validationError=!0,this.alert.newAlert("Error!",t.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ri},{type:iw},{type:un},{type:tr}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}]}};oP=ge([Ke({selector:"ue-company-profile",template:'\n\n\n
    \n\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\n\t\t
    \n\t\t
    \t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\tSave\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t
    \n
    \n',styles:[bye()]})],oP);var Sye=k(9751),Dye=k.n(Sye);let aP=class{constructor(e,t){this.formBuilder=e,this.profileService=t,this.validationError=!1}ngOnInit(){this.changePWForm=this.formBuilder.group({current_password:["",nt.required],password:["",[nt.required,nt.minLength(6)]],password_confirm:["",[nt.required,nt.minLength(6)]]},{validator:this.passwordMatch})}passwordMatch(e){return e.controls.password_confirm.value===e.controls.password.value?null:{error:!0}}changePassword(){if(this.changePWForm.invalid)return this.alert.newAlert("Invalid Form!","Please fill in all required fields","danger"),void(this.validationError=!0);this.changePWForm.markAsPristine(),this.profileService.changePassword(this.changePWForm.value).subscribe(e=>{this.alert.newAlert("Success!","Your password has been successfully changed!","success")},e=>{this.alert.newAlert("Error!",e.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ri},{type:iw}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}]}};aP=ge([Ke({selector:"ue-change-password",template:'\n\n\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\tChange Password\n\t
    \n
    ',styles:[Dye()]})],aP);var Cye=k(7283),Eye=k.n(Cye);class t7{constructor(e){if(e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}}let lP=class{constructor(e,t,s,i,o,c){this.formBuilder=e,this.profileService=t,this.authService=s,this.router=i,this.sessionTimeoutService=o,this.ueHttp=c,this.validationError=!1,this.memberships=[]}ngOnInit(){this.getUser(),this.getProfile(),this.getMemberships()}getUser(){this.profileService.getUser().subscribe(e=>{this.user=new t7(e),this.initForms()},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.user=new t7(null),this.initForms()})}getProfile(){this.profileService.getProfile().subscribe(e=>{this.currentCompany=e.company},e=>{this.alert.newAlert("Error!",e.error,"danger")})}getMemberships(){this.profileService.getCompanyList().subscribe(e=>{this.memberships=e.data},e=>{this.alert.newAlert("Error!",e.error,"danger")})}initForms(){const e=this.user;this.updateUserForm=this.formBuilder.group({contact:[e.contact,nt.required],email:[e.email,[nt.required,nt.email]],company:[e.company,[nt.required]]})}updateUser(){if(this.updateUserForm.invalid)return this.alert.newAlert("Invalid Form!","Please fill in all required fields","danger"),void(this.validationError=!0);this.updateUserForm.markAsPristine(),this.profileService.updateUser(this.updateUserForm.value).subscribe(e=>{this.alert.newAlert("Success!","Your user profile has been successfully updated!","success")},e=>{this.alert.newAlert("Error!",e.error,"danger")})}clickLeaveCompany(e){this.leaveCompanyTarget=e,1===this.memberships.length?this.confirmLeaveLastMembershipModal.open():e.company===this.currentCompany?this.confirmLeaveCurrentMembershipModal.open():this.confirmDeletionModal.open()}leaveCompany(e){this.confirmDeletionModal.close(),this.profileService.leaveCompany(this.leaveCompanyTarget.key).subscribe(t=>{this.alert.newAlert("Success!",`You have been successfully removed from ${this.leaveCompanyTarget.company}`,"success"),e?this.logout():this.refreshPage()},t=>{this.alert.newAlert("Error!",t.error,"danger")})}refreshPage(){window.location.reload()}logout(){this.authService.logout().subscribe(e=>{this.router.navigate(["/login"],{queryParams:{loggedOut:!0}})},e=>{this.router.navigate(["/login"],{queryParams:{loggedOut:!0}})})}static#e=this.ctorParameters=()=>[{type:ri},{type:iw},{type:tr},{type:un},{type:eh},{type:qi}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}],confirmDeletionModal:[{type:ze,args:["confirmDeletionModal",{static:!0}]}],confirmLeaveLastMembershipModal:[{type:ze,args:["confirmLeaveLastMembershipModal",{static:!0}]}],confirmLeaveCurrentMembershipModal:[{type:ze,args:["confirmLeaveCurrentMembershipModal",{static:!0}]}]}};lP=ge([Ke({selector:"ue-user-profile",template:'\n\n\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tUpdate User\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t
    \n\t\t

    Your Memberships

    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    {{membership.company}}

    \n\t\t\t\t\tLeave\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\n\n\n\n\n\n\n\n',styles:[Eye()]})],lP);const xye=[{path:"company",canActivate:gc([lh]),component:oP},{path:"user",component:lP},{path:"change-password",component:aP}];let Tj=class{};Tj=ge([pr({imports:[Er.forChild(xye)],exports:[Er]})],Tj);let Ij=class{};Ij=ge([pr({imports:[xu,Tj],declarations:[oP,aP,lP],providers:[iw]})],Ij);var Tye=k(9838),Iye=k.n(Tye);let cP=class{constructor(e){this.ueHttp=e,this.baseUrl="/api/DVPRTLFE",this.url=`${this.baseUrl}/developers`}requestAccount(e){return this.ueHttp.post(this.url+"/request_test_account",e)}static#e=this.ctorParameters=()=>[{type:qi}]};cP=ge([Ds()],cP);let uP=class{constructor(e,t){this.formBuilder=e,this.requestService=t,this.validationError=!1}ngOnInit(){this.requestForm=this.formBuilder.group({username:["",nt.required],name:["",nt.required],company:["",nt.required],email:["",nt.required]})}submitForm(){if(this.requestForm.invalid)return this.validationError=!0,this.alert.newAlert("Invalid Form!","Please fill in all required fields","danger");this.requestForm.markAsPristine(),this.requestService.requestAccount(this.requestForm.value).subscribe(e=>{this.alert.newAlert("Success!","Your request has been succesfully submitted. Please allow 1-2 business days for the test account to be created.","success")},e=>{this.validationError=!0,this.alert.newAlert("Error!",e.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ri},{type:cP}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}]}};uP=ge([Ke({selector:"ue-request-test-account",template:'\n\n
    \n\t
    \n\t\t
    \n\t\t\t If your client, the merchant, has not yet set up a live gateway account, a sandbox account will allow you to develop your\n\t\t\tapplication without delay. The sandbox environment exactly mimics the Merchant Console (live account) so that you can expect\n\t\t\tthe same results once your account is live. The only work required to make the switch is to replace your sandbox source keys\n\t\t\twith the live ones. The Test Mode on our live servers is extremely limited and unfriendly in terms of developing an application.\n\t\t\tIt does not generate any fake approval codes other than TESTMD and it does not store a transaction record. A sandbox account\n\t\t\twill generate approval codes, return all of the variables you request and store a transaction record from which reports can\n\t\t\tbe generated.\n\t\t
    \n\t
    \n\t\n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\tSubmit Request\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\t\n',styles:[Iye()]})],uP);const Aye=[{path:"",component:uP}];let Aj=class{};Aj=ge([pr({imports:[Er.forChild(Aye)],exports:[Er]})],Aj);let Lj=class{};Lj=ge([pr({imports:[Aj,xu],declarations:[uP],providers:[cP]})],Lj);var Pye=k(9167),Rye=k.n(Pye);let ow=class{constructor(e){this.ueHttp=e,this.emitProgressModal=new je,this.baseUrl="/api/DVPRTLFE/developers",this.url=`${this.baseUrl}/devices`,this.filterColumns=["@apikey_masked","@devicekey_masked","@merchant_company","@name","@label","@device_type","@make","@model","@revision","@serial","@server_key","@status","@env","@device_ip","@isPairing","@isBadkey","@isOffline","@isOnline"],this.queryParams={filters:"",limit:0,offset:0,total:0,sort:"name",sortDir:"desc",refresh:!1}}getAllDevices(e){let t=this.url;return e&&(t+="?"+e),this.ueHttp.get(t)}getDevice(e,t){return this.ueHttp.get(this.url+"/"+e,t)}saveNewDevice(e){return this.ueHttp.post(this.url,e)}saveDevice(e){return this.ueHttp.put(this.url+"/"+e.key,e)}refreshList(e,t){let s=this.url;return e&&(s+="?"+e),this.queryParams.refresh=!1,this.ueHttp.get(s,t)}refreshDevice(e,t){return this.getDevice(e+"?refresh=true",t)}resetDevice(e){return this.ueHttp.post(this.url+"/"+e+"/reset",null)}updateDevice(e){return e.notify_update_next=!0,this.ueHttp.put(this.url+"/"+e.key,e)}deleteDevice(e,t){const s=t?"?hard_delete=true":"";return this.ueHttp.delete(this.url+"/"+e+s)}assignBranding(e,t){return this.ueHttp.put(this.url+"/"+e+"/branding",{brand:t})}bulkResetDevices(e){return GM(e.map(s=>this.ueHttp.post(this.url+"/"+s+"/reset",null).pipe(Wi(i=>at(i)))))}bulkUpdateDevices(e){return GM(e.map(s=>(s.notify_update_next=!0,this.ueHttp.put(this.url+"/"+s.key,s).pipe(Wi(i=>at(i))))))}bulkDeleteDevices(e,t){return GM(e.map(i=>{const o=t?"?hard_delete=true":"";return this.ueHttp.delete(this.url+"/"+i+o).pipe(Wi(c=>at(c)))}))}getStatusColor(e){switch(e){case"waiting for device pairing":return"#DDA53E";case"paired":return"#C79121";case"connected":return"#55915B";case"updating terminal":return"#498BBE";case"processing transaction":return"#3c7299";case"offline":default:return"";case"deleted":return"#C3323D"}}parseStatus(e){return"waiting for device pairing"===e?"Pairing":e}getDeviceIcon(e){switch(e){case"isc480":return"um um-ingenico";case"mx915":return"um um-verifone";case"MP200":return"um um-castle";case"vega3000l":case"vega3000":return"um um-v3-device";default:return"glyphicon glyphicon-phone"}}updateDeviceVersion(e){return this.ueHttp.put(this.url+"/"+e,{notify_update_next:!0})}getSuggestions(e){e=e.toLowerCase();const s=this.filterColumns.filter(i=>-1!==(i=i.toLowerCase()).indexOf(e));return[].concat(s)}pendingText(e){return e.update_available&&(e.notify_update||e.notify_update_next)?"Pending Update":e.update_available?"Update Available":null}static#e=this.ctorParameters=()=>[{type:qi}];static#t=this.propDecorators={emitProgressModal:[{type:sn}]}};ow=ge([fl(),Ds()],ow);let dP=class{constructor(e,t,s,i,o,c,d){this.deviceService=e,this.router=t,this.route=s,this.authService=i,this.sessionTimeoutService=o,this.labelServcie=c,this.document=d,this.devices=[],this.devicesToUpdate=[],this.refreshing=!1,this.selectedRows=[],this.hardDelete=!1,this.deviceString="device",this.canCreate=this.authService.checkPermissions("devices_create"),this.canDelete=this.authService.checkPermissions("devices_delete"),this.menuItemsSelected=[{icon:"fa fa-retweet",label:"Reset Selected",command:()=>{this.selectedRows.length>0?(this.deviceString=this.selectedRows.length>1?"devices":"device",this.confirmBulkResetModal.open()):this.alert.newAlert("Error!","No items selected.","danger")}},{icon:"fa fa-caret-square-o-up",label:"Update Selected",command:()=>{this.selectedRows.length>0?(this.devicesToUpdate=this.selectedRows.filter(h=>h.update_available),this.deviceString=this.devicesToUpdate.length>1?"devices":"device",this.devicesToUpdate.length>0?this.confirmBulkUpdateModal.open():this.alert.newAlert("Error!",`No updates available for the selected ${this.deviceString}.`,"warning")):this.alert.newAlert("Error!","No items selected.","danger")}},{icon:"fa fa-trash-o",label:"Delete Selected",command:()=>{this.selectedRows.length>0?(this.deviceString=this.selectedRows.length>1?"devices":"device",this.confirmBulkDeletionModal.open()):this.alert.newAlert("Error!","No items selected.","danger")}}],this.menuItemsAll=[{icon:"fa fa-retweet",label:"Reset All",command:()=>{this.selectedRows=this.devices,this.deviceString=this.selectedRows.length>1?"devices":"device",this.confirmBulkResetModal.open()}},{icon:"fa fa-caret-square-o-up",label:"Update All",command:()=>{this.devicesToUpdate=this.devices.filter(h=>h.update_available),this.deviceString=this.selectedRows.length>1?"devices":"device",this.devicesToUpdate.length>0?this.confirmBulkUpdateModal.open():this.alert.newAlert("Error!",`No updates available for selected ${this.deviceString}.`,"warning")}},{icon:"fa fa-trash-o",label:"Delete All",command:()=>{this.selectedRows=this.devices,this.deviceString=this.selectedRows.length>1?"devices":"device",this.confirmBulkDeletionModal.open()}}],this.filterControl=new Wv,this.labelSelect=!1,this.labels=[]}ngOnInit(){this.updateServiceQueryParams(),this.subscribeProgressModal(),this.getDevices(),this.getLabels(),this.routerEventsSubscription=this.router.events.pipe(ms(e=>e instanceof fo&&(0===this.route.children.length||0===this.devices.length)),ms(()=>!this.handleQueryParamsAlerts())).subscribe(()=>{this.startPolling(),this.getDevices()}),this.startPolling()}ngOnDestroy(){this.progressModalSubscription.unsubscribe(),this.routerEventsSubscription.unsubscribe(),this.pollingInterval&&clearInterval(this.pollingInterval)}handleQueryParamsAlerts(){const e=this.route.snapshot.queryParams;return"true"===e.isNew?(this.alert.newAlert("Success","Device has been successfully created","success"),this.router.navigate(["devices"],{replaceUrl:!0}),!0):"true"===e.updated?(this.alert.newAlert("Success","Device information has been successfully saved","success"),this.router.navigate(["devices"],{replaceUrl:!0}),!0):(this.updateServiceQueryParams(),!1)}subscribeProgressModal(){this.progressModalSubscription=this.deviceService.emitProgressModal.subscribe(e=>{"start"===e.type?this.progressModalComponent.startModal(e.message):"update"===e.type&&setTimeout(()=>this.progressModalComponent.updateModal(e.status,e.message),2e3)})}updateServiceQueryParams(){const e=this.route.snapshot.queryParams;this.deviceService.queryParams.filters=e.filters,this.deviceService.queryParams.limit=e.limit,this.deviceService.queryParams.offset=e.offset,this.deviceService.queryParams.sort=e.sort,this.deviceService.queryParams.sortDir=e.sortDir,this.deviceService.queryParams.filters&&this.filterControl.patchValue(this.deviceService.queryParams.filters)}navigateToServer(e,t){e.stopPropagation(),t&&this.router.navigate(["/servers",t],{queryParams:{viewOnly:!0}})}refreshList(e){this.refreshing=!0;let t="";this.deviceService.queryParams.refresh=!0;for(const s in this.deviceService.queryParams)this.deviceService.queryParams[s]&&(t+=[s]+"="+this.deviceService.queryParams[s]+"&");this.deviceService.refreshList(t,!e).subscribe(s=>{this.refreshing=!1,this.devices=s.data,e&&this.alert.newAlert("Success!","List has been refreshed","success")},s=>{this.refreshing=!1,e&&this.alert.newAlert("Error!",s.error,"danger")})}getDevices(){let e="";for(const t in this.deviceService.queryParams)this.deviceService.queryParams[t]&&(e+=[t]+"="+this.deviceService.queryParams[t]+"&");this.isLoading=!0,this.deviceService.getAllDevices(e).subscribe(t=>{this.devices=t.data,this.keepSelectedDevices(t.data),this.updatePaginationObject(t),this.isLoading=!1,this.refreshList(!1)},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.isLoading=!1})}getLabels(){this.labelServcie.getLabels().subscribe(e=>{this.labels=e.data},e=>{this.alert.newAlert("Error!",e.error,"danger")})}selectLabelSuggestion(e){this.filterControl.patchValue(this.filterControl.value+" "+e),this.updateFilter(e)}getLabelSuggestions(e){"@label"===e&&(e="");const t=this.labels.filter(s=>-1!==s.title.toLowerCase().indexOf(e.toLowerCase()));this.labelSuggestions=t}keepSelectedDevices(e){this.selectedRows=e.filter(t=>-1!==this.selectedRows.map(s=>s.key).indexOf(t.key))}startPolling(){this.pollingInterval&&clearInterval(this.pollingInterval),this.pollingInterval=setInterval(()=>{!document.hidden&&this.router.url.split("/").length<3&&!this.sessionTimeoutService.countdownOpen&&!this.refreshing&&this.refreshList(!1)},3e4)}onRowSelect(e){this.pollingInterval&&clearInterval(this.pollingInterval),this.router.navigate(["/devices",e])}onSort(e){this.deviceService.queryParams.sort===e?"desc"===this.deviceService.queryParams.sortDir?this.deviceService.queryParams.sortDir="asc":(this.deviceService.queryParams.sort="",this.deviceService.queryParams.sortDir=""):(this.deviceService.queryParams.sort=e,this.deviceService.queryParams.sortDir="desc"),this.deviceService.queryParams.offset=0,this.updateQueryString()}getFilterSuggestions(e){const t=e.split(" "),s=t[t.length-1];"@label"===t[t.length-2]||"@label"===s?this.labelSelect=!0:this.labelSelect=!1,this.labelSelect?(this.getLabelSuggestions(s),this.suggestions=[]):this.suggestions=this.deviceService.getSuggestions(s)}updateFilter(e){"@label"===e?(this.labelSelect=!0,this.getLabelSuggestions("")):this.labelSelect=!1,!(this.deviceService.filterColumns.indexOf(e)>-1&&"is"!==e.substring(1,3))&&(this.deviceService.queryParams.filters=this.filterControl.value,this.deviceService.queryParams.offset=0,this.updateQueryString())}goToPage(e){e.active||e.disabled||(this.deviceService.queryParams.limit=e.limit,this.deviceService.queryParams.offset=e.offset,this.updateQueryString())}updateQueryString(){const e={};for(const t in this.deviceService.queryParams)this.deviceService.queryParams[t]&&(e[t]=this.deviceService.queryParams[t]);this.router.navigate(["/devices"],{queryParams:e})}updatePaginationObject(e){this.paginationComponent.updatePaginationObject(e.limit,e.offset,e.total),this.paginationComponent.updatePaginationLength(e.data.length)}updatePaginationTotal(e){this.paginationComponent.paginationObject.total+=e,this.paginationComponent.paginationObject.length+=e}pendingText(e){return this.deviceService.pendingText(e)}getContrastYIQ(e){return(299*parseInt(e.substr(1,2),16)+587*parseInt(e.substr(3,2),16)+114*parseInt(e.substr(5,2),16))/1e3>=165?"black":"white"}updateCheckedRows(e){this.selectedRows=e}deleteModalOpen(){this.hardDelete=!1}bulkResetDevices(){this.confirmBulkResetModal.close(),this.deviceService.emitProgressModal.emit({type:"start",message:`Resetting ${this.deviceString}.`}),this.deviceService.bulkResetDevices(this.selectedRows.map(e=>e.key)).subscribe(e=>{const t=e.filter(s=>!s.error).length;0===t?(this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:`Not able to reset the selected ${this.deviceString}.`}),this.alert.newAlert("Error",`Not able to reset the selected ${this.deviceString}.`,"danger")):t1?"devices":"device",this.deviceService.emitProgressModal.emit({type:"update",status:"success",message:`Reset ${this.selectedRows.length} ${this.deviceString}`}),this.alert.newAlert("Success",`Reset ${this.selectedRows.length} ${this.deviceString}`,"success")),this.getDevices()},e=>{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:e.error}),this.alert.newAlert(`${e.errorcode}`,`${e.error}`,"danger"),this.getDevices()})}bulkUpdateDevices(){this.confirmBulkUpdateModal.close(),this.deviceService.emitProgressModal.emit({type:"start",message:`Sending update request to ${this.deviceString}.`}),this.deviceService.bulkUpdateDevices(this.devicesToUpdate).subscribe(e=>{const t=e.filter(s=>!s.error).length;0===t?(this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:`Not able to send update request to the selected ${this.deviceString}.`}),this.alert.newAlert("Error",`Not able to send update request to the selected ${this.deviceString}.`,"danger")):t{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:e.error}),this.alert.newAlert(`${e.errorcode}`,`${e.error}`,"danger"),this.getDevices()})}bulkDeleteDevices(){this.confirmBulkDeletionModal.close(),this.deviceService.emitProgressModal.emit({type:"start",message:`Deleting ${this.deviceString}.`}),this.deviceService.bulkDeleteDevices(this.selectedRows.map(e=>e.key),this.hardDelete).subscribe(e=>{const t=e.filter(s=>!s.error).length;0===t?(this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:`Not able to delete the selected ${this.deviceString}.`}),this.alert.newAlert("Error",`Not able to delete the selected ${this.deviceString}.`,"danger")):t{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:e.error}),this.alert.newAlert(`${e.errorcode}`,`${e.error}`,"danger"),this.getDevices()})}static#e=this.ctorParameters=()=>[{type:ow},{type:un},{type:fi},{type:tr},{type:eh},{type:wE},{type:Document,decorators:[{type:Wa,args:[Ln]}]}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}],paginationComponent:[{type:ze,args:[oh,{static:!0}]}],progressModalComponent:[{type:ze,args:[o_,{static:!0}]}],confirmBulkResetModal:[{type:ze,args:["confirmBulkResetModal",{static:!0}]}],confirmBulkUpdateModal:[{type:ze,args:["confirmBulkUpdateModal",{static:!0}]}],confirmBulkDeletionModal:[{type:ze,args:["confirmBulkDeletionModal",{static:!0}]}]}};dP=ge([Ke({selector:"ue-devices-list",template:'
    \n\t
    \n\t\t\n\t
    \n\t\n\t
    \n\t\t
    \n\t\t\tSelect Label to Search: \n\t\t\t
      \n\t\t\t\t
    • \n\t\t\t\t\t\n\t\t\t\t\t{{label.title}}\n\t\t\t\t
    • \n\t\t\t
    \n\t\t
    \n\t\t\n\t\t\n\n\t\tAdd Device\n\t\tImport\n\t\t\x3c!-- Update All Devices --\x3e\n\t\t\n\t\t\n\t
    \n
    \n\n\n\n\n
    \n\t
    \n\t\t\x3c!-- context menu goes here --\x3e\n\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.name }}\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.merchant_company }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{deviceService.parseStatus(device.status)}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ device.device_type }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ device.device_type }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ device.device_type }}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.env }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.make ? device.make : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.model ? device.model : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.key_pan ? device.key_pan : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.key_pin ? device.key_pin : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.device_ip ? device.device_ip : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t...{{ device.devicekey_masked }}\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t...{{ device.apikey_masked }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.serial ? device.serial : \'N/A\' }}\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.revision ? device.revision : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{pendingText(device)}} \t\n\t\t\t\t\tN/A \t\n\t\t\t\t\n\t\t\t\n\t\t\n\t
    \n
    \n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\t

    Confirm Bulk Delete

    \n\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    You are about to remove {{this.selectedRows.length}} {{this.deviceString}} from your list. Are you sure you want to continue?
    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tWarning! You are about to remove {{this.selectedRows.length}} {{this.deviceString}} from your list and the device manager. The {{this.deviceString}} will no longer exist and this action cannot be undone.\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tDelete\n\t\n
    \n\n\n',styles:[Rye()]})],dP);var Nye=k(3433),Fye=k.n(Nye);let gh=class{constructor(e,t){this.ueHttp=e,this.http=t,this.emitProgressModal=new je,this.baseUrl="/api/DVPRTLFE/developers",this.url=`${this.baseUrl}/device_servers`,this.filterColumns=["@name","@status","@uptime","@revision","@clientip","@env"],this.queryParams={filters:"",limit:0,offset:0,total:0,sort:"name",sortDir:"desc",refresh:!1}}getServerList(e){let t=this.url;return e&&(t+="?"+e),this.ueHttp.get(t)}refreshList(e){let t=this.url;return e&&(t+="?"+e),this.queryParams.refresh=!1,this.ueHttp.get(t)}getServer(e){return this.ueHttp.get(this.url+"/"+e)}refreshServer(e){return this.getServer(e+"?refresh=true")}saveServer(e){return this.ueHttp.post(this.url,e)}deleteServer(e){return this.ueHttp.delete(this.url+"/"+e)}exportDevices(e){const t={headers:this.ueHttp.getAuthHeader(),responseType:"text"};return this.http.get(this.url+`/${e}/export`,t)}getSuggestions(e){e=e.toLowerCase();const s=this.filterColumns.filter(i=>-1!==(i=i.toLowerCase()).indexOf(e));return[].concat(s)}static#e=this.ctorParameters=()=>[{type:qi},{type:wu}];static#t=this.propDecorators={emitProgressModal:[{type:sn}]}};gh=ge([fl(),Ds()],gh);let hP=class{constructor(e,t,s,i,o,c,d,h,m){this.router=e,this.route=t,this.formBuilder=s,this.serverService=i,this.deviceService=o,this.authService=c,this.sessionTimeoutService=d,this.labelService=h,this.el=m,this.servers=[],this.isLoading=!1,this.refreshing=!1,this.hardDelete=!1,this.deleteModalIsOpen=!1,this.brandingName="",this.deviceType=1,this.showValidation=!1,this.deviceError=!1,this.disableSave=!1,this.confirmUpdateModalOpen=!1,this.canEdit=this.authService.checkPermissions("devices_edit"),this.canDelete=this.authService.checkPermissions("devices_delete"),this.editLabels=!1,this.addLabel=!1,this.editLabelMode=!1,this.labelsLoading=!1,this.labels=[],this.labelKeysOnLoad=[],this.colorSuggestions=["#f07f80","#ffa07a","#f3f2a5","#90ef90","#b4fefb","#add8e6","#d98ed9","#d3d3d3","#ff0002","#ffa502","#fffc7a","#007f00","#02fff4","#0000ff","#d026d0","#a4a4a4","#8a0000","#ff8b00","#d7d401","#006400","#00c5bd","#00018a","#7f017f","#000000"]}ngOnInit(){const e=this.route.snapshot.params;"new"===e.key?(this.getServers(),this.isNew=!0,this.initForm(1)):(this.isNew=!1,this.isLoading=!0,this.deviceService.getDevice(e.key,!1).subscribe(t=>{this.initExistingForm(t),this.initNewLabelForm(),this.isLoading=!1,this.device=t,this.labelKeysOnLoad=this.device.labels.map(s=>s.key),"deleted"===this.device.status?this.canEdit=!1:(this.refreshDevice(!1),this.pollingInterval=this.startPolling())},t=>{this.isLoading=!1,this.deviceError=!0,this.alert.newAlert("Error!",t.error,"danger")}))}ngAfterViewInit(){this.el.nativeElement.querySelector(".modal-content").addEventListener("mousedown",this.outsideClick.bind(this))}ngOnDestroy(){this.typeSubscription&&this.typeSubscription.unsubscribe(),this.pollingInterval&&clearInterval(this.pollingInterval)}getServers(){this.serverService.getServerList().subscribe(e=>{this.servers=e.data})}deviceTypeChange(e){const t=parseInt(e,10);this.deviceType=t,this.initForm(t)}initExistingForm(e){this.deviceForm=this.formBuilder.group({name:[e.name,nt.required],key:e.key,notify_update:e.notify_update,notify_update_next:e.notify_update_next,update_available:e.update_available,disabled:e.disabled}),this.canEdit||this.deviceForm.disable()}initForm(e){this.typeSubscription&&this.typeSubscription.unsubscribe(),1===e&&(this.deviceForm=this.formBuilder.group({register_new_device:[1,nt.required],name:["",nt.required],device_type:["",this.floatValidator],apikey:["",nt.required],apipin:["",nt.required],server_key:[""],device_ip:[""],make:[""],env:[""]},{validator:this.formValidation}),this.typeSubscription=this.deviceForm.get("device_type").valueChanges.subscribe(t=>{("standalone"===t||"direct"===t)&&(this.deviceForm.get("server_key").patchValue(""),this.deviceForm.get("device_ip").patchValue(""),this.deviceForm.get("make").patchValue("")),"managed"===t&&this.deviceForm.get("env").patchValue("")})),0===e&&(this.deviceForm=this.formBuilder.group({register_new_device:[0,nt.required],apikey:["",nt.required],apipin:["",nt.required],device_key:["",nt.required],env:["",nt.required]})),this.canEdit||this.deviceForm.disable()}floatValidator(e){return""===e.value?{required:!0}:null}validateManaged(e){return e.parent&&"managed"===e.parent.get("device_type").value&&e.value.length>0?null:{required:!0}}formValidation(e){if("managed"===e.get("device_type").value){const t={};return 0===e.get("server_key").value.length&&(t.server_key=!0),!1===/^(([1-9]?\d|1\d\d|2[0-5][0-5]|2[0-4]\d)\.){3}([1-9]?\d|1\d\d|2[0-5][0-5]|2[0-4]\d)(:\d{4})?$/gm.test(e.get("device_ip").value)&&(t.device_ip=!0),0===e.get("make").value.length&&(t.make=!0),t.server_key||t.device_ip||t.make?t:null}if("standalone"===e.get("device_type").value||"direct"===e.get("device_type").value){const t={};return 0===e.get("env").value.length&&(t.env=!0),t.env?t:null}return null}hasError(e,t){return!!e&&-1!==Object.keys(e).indexOf(t)}hasServers(){return this.servers.length>0}showButton(e){switch(e){case"delete":return!this.isNew&&!this.deviceError&&!!this.device&&this.canDelete;case"refresh":return!!this.device&&"deleted"!==this.device.status;case"reset":return!(!this.device||!this.canEdit)&&"deleted"!==this.device.status;case"apply":case"save":return!!this.canEdit&&!this.deviceError;case"update_name":return!!this.canEdit&&(!this.isNew&&!this.deviceError);case"update":return!!this.canEdit&&this.device.update_available;case"branding":return!(!this.canEdit||"connected"!==this.device.status)&&"Ingenico"===this.device.make;default:return!1}}saveDevice(e){if(this.deviceForm.invalid)return this.showValidation=!0,this.alert.newAlert("Error!","Please fill in all required fields.","danger");if(this.showValidation=!1,this.disableSave=!0,this.isNew)this.deviceService.saveNewDevice(this.deviceForm.value).subscribe(t=>{this.disableSave=!1,this.alert.newAlert("Success!","Device has been added successfully.","success"),e?this.router.navigate(["devices"],{queryParams:{updated:!0}}):(this.isNew=!1,this.device=t,this.initExistingForm(t),this.deviceForm.markAsPristine(),this.router.navigate(["/devices",t.key],{replaceUrl:!0}))},t=>{this.disableSave=!1,this.alert.newAlert("Error!",t.error,"danger")});else{const t=this.deviceForm.value;this.labelsChanged()&&(t.labels=this.device.labels.map(s=>s.key)),this.deviceService.saveDevice(t).subscribe(s=>{this.disableSave=!1,this.alert.newAlert("Success!","Device has been saved successfully.","success"),e?this.router.navigate(["devices"],{queryParams:{updated:!0}}):(this.device=s,this.deviceForm.markAsPristine(),this.router.navigate(["."],{replaceUrl:!0,relativeTo:this.route}))},s=>{this.disableSave=!1,this.alert.newAlert("Error!",s.error,"danger")})}}updateDeviceFormName(e){this.deviceForm.patchValue({name:e}),this.deviceForm.markAsDirty()}refreshDevice(e){this.refreshing=!0,this.deviceService.refreshDevice(this.device.key,!e).subscribe(t=>{this.refreshing=!1,e&&this.alert.newAlert("Success!","Successfully refreshed device.","success"),this.device=t,this.deviceForm.patchValue(t)},t=>{this.refreshing=!1,21121===t.errorcode?(this.device.status="deleted",e&&this.alert.newAlert("Warning!",t.error,"warning")):e&&this.alert.newAlert("Error!",t.error,"danger")})}resetDevice(){this.deviceService.emitProgressModal.emit({type:"start",message:"Resetting device"}),this.deviceService.resetDevice(this.device.key).subscribe(e=>{this.deviceService.emitProgressModal.emit({type:"update",status:"success",message:"Successfully reset device"}),this.alert.newAlert("Success!","Successfully reset device.","success"),this.device=e,this.deviceForm.patchValue(e)},e=>{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:e.error}),this.alert.newAlert("Error!",e.error,"danger")})}deleteDevice(){this.confirmDeleteModal.close(),this.deviceService.deleteDevice(this.device.key,this.hardDelete).subscribe(e=>{this.alert.newAlert("Success!","You have successfully deleted the device.","success"),this.modal.close()},e=>{this.alert.newAlert("Error!",e.error,"danger")})}updateDeviceVersion(){"Update Available"===this.pendingText()?(this.deviceService.emitProgressModal.emit({type:"start",message:"Sending update to device"}),this.deviceService.updateDeviceVersion(this.device.key).subscribe(e=>{this.deviceService.emitProgressModal.emit({type:"update",status:"success",message:"Successfully sent update to device"}),this.confirmUpdateModal.close(),this.device=e,this.alert.newAlert("Success!","An update has been sent to the device.","success")},e=>{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:e.error}),this.alert.newAlert("Error!","There was an error sending an update to the device.","danger")})):this.alert.newAlert("Error!","There was no update available.","danger")}openUpdateModal(){this.confirmUpdateModal.open()}open(){this.confirmUpdateModalOpen=!0}close(){this.confirmUpdateModalOpen=!1}startPolling(){return setInterval(()=>{this.deviceForm.pristine&&!document.hidden&&!this.sessionTimeoutService.countdownOpen&&!this.refreshing&&this.refreshDevice(!1)},3e4)}closeModal(){this.deviceForm.pristine?this.isNewAppWindow()?this.router.navigate(["/devices"]):this.modal.close():this.confirmAbandonModal.open()}abandonChanges(){this.confirmAbandonModal.close(),this.modal.close()}deleteModalOpen(){this.hardDelete=!1,this.deleteModalIsOpen=!0}deleteModalClose(){this.deleteModalIsOpen=!1}assignBranding(){this.brandingModal.close(),this.isLoading=!0,this.deviceService.assignBranding(this.device.key,this.brandingName).subscribe(e=>{this.isLoading=!1,this.brandingName="",this.alert.newAlert("Success","branding package sent to device.","success")},e=>{this.isLoading=!1,this.alert.newAlert("Error",e.error,"danger")})}pendingText(){return this.deviceService.pendingText(this.device)}isNewAppWindow(){return 1===this.router.navigationId}openLabelDropdown(){this.editLabels=!this.editLabels,this.addLabel=!1,this.editLabels&&this.getLabels()}outsideClick(e){this.editLabels&&!this.el.nativeElement.querySelector("div.edit-labels-dropdown").contains(e.target)&&(this.editLabels=!1)}getLabels(){this.labelsLoading=!0,this.labelService.getLabels().subscribe(e=>{this.labelsLoading=!1,this.labels=e.data},e=>{this.labelsLoading=!1,this.alert.newAlert("Error!",e.error,"danger")})}closeLabels(){this.editLabelMode=!1,this.editLabels=!1}initNewLabelForm(){this.newLabelForm=this.formBuilder.group({title:["",nt.required],bgcolor:["",nt.required]})}populateColor(e){this.newLabelForm.get("bgcolor").patchValue(e)}handleAddNewLabel(){this.editLabelMode=!1,this.addLabel=!0,this.newLabelForm.reset()}addNewLabel(){this.labelsLoading=!0,this.labelService.addLabel(this.newLabelForm.value).subscribe(e=>{this.addLabel=!1,this.newLabelForm.reset(),this.getLabels()},e=>{this.labelsLoading=!1,this.alert.newAlert("Error!",e.error,"danger")})}checkLabel(e){return-1!==this.device.labels.map(s=>s.key).indexOf(e)}handleLabelClick(e,t){if(!this.editLabelMode)if(this.deviceForm.markAsDirty(),t){const i=this.device.labels.map(o=>o.key).indexOf(e.key);this.device.labels.splice(i,1)}else this.device.labels.push(e)}labelsChanged(){const e=this.device.labels.map(t=>t.key);return this.labelKeysOnLoad.length!==e.length||(this.labelKeysOnLoad.forEach(t=>{e.forEach((s,i)=>{s!==t||e.splice(i,1)})}),e.length>0)}handleClickEdit(e){this.labelEditTarget=e,this.newLabelForm.get("title").patchValue(e.title),this.newLabelForm.get("bgcolor").patchValue(e.bgcolor),this.addLabel=!0}handleClickDelete(e){this.labelDeleteTarget=e,this.confirmLabelDeletionModal.open()}handleEditLabelConfirm(){this.confirmLabelEditModal.open()}updateLabel(){this.confirmLabelEditModal.close(),this.labelsLoading=!0,this.labelService.updateLabel(this.labelEditTarget.key,this.newLabelForm.value).subscribe(e=>{this.addLabel=!1,this.editLabelMode=!1;const t=this.device.labels.map(s=>s.key).indexOf(this.labelEditTarget.key);t>-1&&(this.device.labels[t].title=this.newLabelForm.get("title").value,this.device.labels[t].bgcolor=this.newLabelForm.get("bgcolor").value),this.newLabelForm.reset(),this.getLabels()},e=>{this.labelsLoading=!1,this.alert.newAlert("Error!",e.error,"danger")})}labelDelete(e){this.editLabelMode=!1,this.labelsLoading=!0,this.confirmLabelDeletionModal.close(),this.labelService.removeLabel(e).subscribe(t=>{const s=this.device.labels.map(i=>i.key).indexOf(e);-1!==s&&this.device.labels.splice(s,1),this.getLabels()},t=>{this.alert.newAlert("Error!",t.error,"danger")})}getContrastYIQ(e){return(299*parseInt(e.substr(1,2),16)+587*parseInt(e.substr(3,2),16)+114*parseInt(e.substr(5,2),16))/1e3>=165?"black":"white"}handleLabelFormSubmit(){this.editLabelMode?this.updateLabel():this.addNewLabel()}static#e=this.ctorParameters=()=>[{type:un},{type:fi},{type:ri},{type:gh},{type:ow},{type:tr},{type:eh},{type:wE},{type:fn}];static#t=this.propDecorators={modal:[{type:ze,args:["modal",{static:!0}]}],brandingModal:[{type:ze,args:["brandingModal",{static:!0}]}],confirmDeleteModal:[{type:ze,args:["confirmDeleteModal",{static:!0}]}],confirmAbandonModal:[{type:ze,args:["confirmAbandonModal",{static:!0}]}],confirmLabelEditModal:[{type:ze,args:["confirmLabelEditModal",{static:!0}]}],confirmLabelDeletionModal:[{type:ze,args:["confirmLabelDeletionModal",{static:!0}]}],confirmUpdateModal:[{type:ze,args:["confirmUpdateModal",{static:!0}]}],alert:[{type:ze,args:[xr,{static:!0}]}]}};hP=ge([Ke({selector:"ue-device-detail",template:'\n\t\n\t\t
    \n\t\t\t

    Device is Unavailable

    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- Status Indicator --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t {{device.status}}

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t {{device.status}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- End of Status Indicator --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tDevice Key:\n\t\t\t\t\t\t\t{{device.devicekey}}\n\t\t\t\t\t\t\tNot Available\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tModel:\n\t\t\t\t\t\t\t{{device.model}}\n\t\t\t\t\t\t\tNot Available\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tSerial #:\n\t\t\t\t\t\t\t{{device.serial}}\n\t\t\t\t\t\t\tNot Available\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tServer:\n\t\t\t\t\t\t\t{{device.server_name}}\n\t\t\t\t\t\t\tNot Available\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{pendingText()}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Add Device

    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\t\n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!--------- Labels --------------\x3e\n\t\t\t\t
    \n\t\t\t\t\tLabels\n\t\t\t\t\tEdit\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{label.title}}\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tAssign Lables\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{label.title}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\tCreate New Label\n\t\t\t\t\t\tEdit Label\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!--------- End of Labels --------------\x3e\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tPairing Code: {{device.pairing_code}}\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tStatus: {{device.status}}\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tAPI Key ID:\n\t\t\t\t\t\t...{{device.apikey_masked}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tEnvironment:\n\t\t\t\t\t\t{{device.env}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tMerchant Company:\n\t\t\t\t\t\t{{device.merchant_company}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tDevice Type:\n\t\t\t\t\t\t{{device.device_type}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tRevision:\n\t\t\t\t\t\t{{device.revision ? device.revision : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tDevice IP:\n\t\t\t\t\t\t{{device.device_ip ? device.device_ip : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tKey Pan:\n\t\t\t\t\t\t{{device.key_pan ? device.key_pan : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tKey Pin:\n\t\t\t\t\t\t{{device.key_pin ? device.key_pin : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tCreated By:\n\t\t\t\t\t\t{{device.created_by ? device.created_by : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tModified By:\n\t\t\t\t\t\t{{device.modified_by ? device.modified_by : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tThis device no longer exists in the device manager. You must manually delete it from the list.\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tSettings\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tActions\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- FORM FOR NEW DEVICE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\x3c!----\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END FORM FOR NEW DEVICE --\x3e\n\n\t\t\t\t\t\x3c!-- FORM FOR REGISTERED DEVICE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END FORM FOR REGISTERED DEVICE --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tDelete\n\t\tApply\n\t\tSave\n\t\n
    \n\n\n\t\n\t\t

    Confirm Update: {{device?.name}}

    \n\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\tYou are about to send an update to {{device?.name}}. Are you sure you want to continue?\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\t Confirm\n\t\n
    \n\n\n\t\n\t\t

    Confirm Delete: {{device?.name}}

    \n\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\tYou are about to remove this device from the list but will continue to exist in the device manager. You can still add this device back at any time.\n\t\t\t\t
    \n\t\t\t\tAre you sure you want to continue?\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tWarning! You are about to remove this device from your list and the device manager. The device will no longer exist and this action cannot be undone.\n\t\t\t
    \n\t\t\t
    \n\t\t\t\tWarning! You are about to remove this device from your list and the device manager. The device will no longer exist and this action cannot be undone.\n\t\t\t\t
    \n\t\t\t\tAre you sure you want to continue?\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\tWarning! You are about to remove this device from your list and the device manager. The device will no longer exist and this action cannot be undone.\n\t\t\t\t
    \n\t\t\t\tAre you sure you want to continue?\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\tThis device no longer exists in the device manager. Click confirm to remove this device from your list.\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tConfirm\n\t\n
    \n\n\n\t\n\t\t

    Send Branding Package

    \n\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\tEnter the name of the branding package you would like to send to this device:\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tSend\n\t\n
    \n\n\n\n\n\n\n\n\n\n',styles:[Fye()]})],hP);const Yye=[{path:"",component:dP,children:[{path:":key",component:hP}]}];let Pj=class{};Pj=ge([pr({imports:[Er.forChild(Yye)],exports:[Er]})],Pj);var jye=k(2525),Vye=k.n(jye),Hye=k(262),Uye=k.t(Hye,2);class o0{constructor(){this._papa=Uye}parse(e,t){return this._papa.parse(e,t)}unparse(e,t){return this._papa.unparse(e,t)}setLocalChunkSize(e){this._papa.LocalChunkSize=e}setRemoteChunkSize(e){this._papa.RemoteChunkSize=e}setDefaultDelimiter(e){this._papa.DefaultDelimiter=e}get badDelimiters(){return this._papa.BAD_DELIMITERS}get recordSeparator(){return this._papa.RECORD_SEP}get unitSeparator(){return this._papa.UNIT_SEP}get workersSupported(){return this._papa.WORKERS_SUPPORTED}static#e=this.\u0275fac=function(t){return new(t||o0)};static#t=this.\u0275prov=Ce({token:o0,factory:o0.\u0275fac,providedIn:"root"})}let Rj=class{constructor(e,t,s,i){this.deviceService=e,this.serverService=t,this.fb=s,this.papa=i,this.completed=!1,this.saveSuccess=0,this.parseTotal=0,this.errors=[],this.servers=[],this.showValidation=!1,this.output=[],this.hideModal=!1,this.refreshDevices=new je}ngOnInit(){this.getServers(),this.createForm(),this.formSubscription=this.subscribeToDeviceType()}createForm(){this.importForm=this.fb.group({server_key:[""],device_type:["",nt.required],make:[""],env:[""]},{validator:this.formValidator})}formValidator(e){if("managed"===e.get("device_type").value){const t={};return 0===e.get("server_key").value.length&&(t.server_key=!0),0===e.get("make").value.length&&(t.make=!0),Object.keys(t).length>0?t:null}{const t={};return 0===e.get("env").value.length&&(t.env=!0),Object.keys(t).length>0?t:null}}subscribeToDeviceType(){return this.importForm.get("device_type").valueChanges.subscribe(e=>{"standalone"===e&&this.importForm.get("server_key").patchValue(""),"managed"===e&&this.importForm.get("env").patchValue("")})}open(){this.modal.open()}getServers(){this.serverService.getServerList().subscribe(e=>{this.servers=e.data})}checkForValidationErrors(e){this.importForm.invalid?(e.preventDefault(),this.alert.newAlert("Error","Please fill in all required fields","danger"),this.showValidation=!0):(this.alert.closeAlert(),this.showValidation=!1)}onFileChange(e){if(this.importForm.invalid)return;this.hideModal=!0,this.progressModal.startModal("Parsing your file",0);const t=e.target.files[0];this.papa.parse(t,{header:!0,step:(s,i)=>{i.pause(),this.handleRow(s,()=>{this.parseTotal++,this.progressModal.updateTitle(`Devices parsed: ${this.parseTotal} Saved: ${this.saveSuccess} Errors: ${this.parseTotal-this.saveSuccess}`),i.resume()})},error:(s,i)=>{this.alert.newAlert("Error","There was an error reading your file","danger")},complete:()=>{this.hideModal=!1,this.completed=!0,this.closeProgressModal(),this.saveOutputCSV(),this.refreshDevices.emit()}})}handleRow(e,t){const s=Array.isArray(e.data)?e.data[0]:e.data,i=Object.assign({reason:"n/a",saved:!1,devicekey:"n/a"},s);if(e.errors.length>0)return i.saved=!1,i.reason=e.errors[0].type+": "+e.errors[0].message,this.output.push(i),void t();const o=this.checkRequiredFields(s,["device_name","device_ip","apikey","apipin"]);if(o.length>0)return i.saved=!1,i.reason=o,this.output.push(i),void t();this.saveDevice(s,(c,d)=>{c?(i.saved=!1,i.reason=c):(this.saveSuccess++,i.devicekey=d,i.saved=!0),this.output.push(i),t()})}saveDevice(e,t){const s={apikey:e.apikey,apipin:e.apipin,device_ip:e.device_ip,device_type:this.importForm.get("device_type").value,env:this.importForm.get("env").value,make:this.importForm.get("make").value,name:e.device_name,register_new_device:1,server_key:this.importForm.get("server_key").value};this.deviceService.saveNewDevice(s).subscribe(i=>{t(null,i.devicekey)},i=>{t(`${i.errorcode} - ${i.error}`)})}closeProgressModal(){this.parseTotal===this.saveSuccess?this.progressModal.updateModal("success","Import complete."):this.progressModal.updateModal("error","Import finished with errors.")}saveOutputCSV(){const e=this.papa.unparse({fields:["Store","DBA","device_name","apikey","apipin","device_ip","devicekey","saved","reason"],data:this.output});this.outputCsvLink=document.createElement("a"),this.outputCsvLink.href="data:attachment/csv,"+encodeURIComponent(e),this.outputCsvLink.target="_blank";const t=new Date,s=`${t.getFullYear()}_${t.getDay()}_${t.getDay()}_${t.getHours()}_${t.getMinutes()}`;this.outputCsvLink.download=`import_devices_result_${s}.csv`,document.body.appendChild(this.outputCsvLink)}checkRequiredFields(e,t){const s=[];return t.forEach(i=>{-1===Object.keys(e).indexOf(i)&&s.push(`field ${i} is not defined for row`),""===e[i]&&s.push(Error(`field ${i} is empty for row`))}),s.join(" | ")}resetForm(){this.fileUploadElement&&(this.fileUploadElement.value=null),this.createForm(),this.completed=!1,this.output=[],this.parseTotal=0,this.saveSuccess=0}ngOnDestroy(){this.formSubscription&&this.formSubscription.unsubscribe()}static#e=this.ctorParameters=()=>[{type:ow},{type:gh},{type:ri},{type:o0}];static#t=this.propDecorators={modal:[{type:ze,args:["modal",{static:!0}]}],fileUploadElement:[{type:ze,args:["fileUpload"]}],alert:[{type:ze,args:[xr,{static:!0}]}],progressModal:[{type:ze,args:[o_,{static:!0}]}],refreshDevices:[{type:sn}]}};Rj=ge([Ke({selector:"ue-device-import",template:'\n\t\n\t\t

    Import New Devices

    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t

    Total Attempted: {{parseTotal}}

    \n\t\t\t

    Successfully Saved: {{saveSuccess}}

    \n\t\t\t

    Errors: {{parseTotal - saveSuccess}}

    \n\t\t\t\n\t\t\tDownload Import Results\n\t\t
    \n\n\t
    \n\t\n\t\tClose\n\t\t\x3c!-- Extend Session --\x3e\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n
    \n\n\n',styles:[Vye()]})],Rj);let Oj=class{};Oj=ge([pr({imports:[xu,Pj],declarations:[dP,hP,Rj],providers:[ow,gh]})],Oj);var zye=k(4385),Wye=k.n(zye);let pP=class{constructor(e,t,s,i,o){this.serverService=e,this.router=t,this.route=s,this.ueWindow=i,this.authService=o,this.servers=[],this.canCreate=this.authService.checkPermissions("servers_create"),this.selectedRows=[],this.dataForExport=[],this.menuItemsSelected=[{icon:"fa fa-download",label:"Export Selected",command:()=>{this.selectedRows.length>0?this.exportDevices(!1):this.alert.newAlert("Error!","Please select at least one server for export.","danger")}}],this.menuItemsAll=[{icon:"fa fa-download",label:"Export All",command:()=>{this.exportDevices(!0)}}],this.filterControl=new Wv}ngOnInit(){this.subscribeProgressModal(),this.updateServiceQueryParams(),this.getServerList(),this.routerEventsSubscription=this.router.events.pipe(ms(e=>e instanceof fo&&(0===this.route.children.length||0===this.servers.length)),ms(()=>!this.handleQueryParamAlerts())).subscribe(()=>{this.getServerList()})}ngOnDestroy(){this.progressModalSubscription.unsubscribe(),this.routerEventsSubscription.unsubscribe()}handleQueryParamAlerts(){const e=this.route.snapshot.queryParams;return"true"===e.isNew?(this.alert.newAlert("Success","Server created","success"),this.router.navigate(["servers"],{replaceUrl:!0}),!0):e.deletedServer?(this.alert.newAlert("Success",`Server (${e.deletedServer}) and its associated devices have been deleted.`,"success"),this.router.navigate(["servers"],{replaceUrl:!0}),!0):"true"===e.updated?(this.alert.newAlert("Success","Server information has been successfully saved","success"),this.router.navigate(["servers"],{replaceUrl:!0}),!0):(this.updateServiceQueryParams(),!1)}getServerList(){let e="";for(const t in this.serverService.queryParams)this.serverService.queryParams[t]&&(e+=[t]+"="+this.serverService.queryParams[t]+"&");this.isLoading=!0,this.serverService.getServerList(e).subscribe(t=>{this.servers=t.data,this.updatePaginationObject(t),this.keepSelectedServers(t.data),this.isLoading=!1},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.isLoading=!1})}refreshList(){let e="";this.serverService.queryParams.refresh=!0;for(const t in this.serverService.queryParams)this.serverService.queryParams[t]&&(e+=[t]+"="+this.serverService.queryParams[t]+"&");this.progressModalComponent.startModal("Refreshing server list"),this.serverService.refreshList(e).subscribe(t=>{this.progressModalComponent.updateModal("success","Servers have been refreshed."),this.servers=t.data,this.keepSelectedServers(this.servers)},t=>{this.progressModalComponent.updateModal("error","There was an error refreshing servers."),this.alert.newAlert("Error!",t.error,"danger")})}onRowSelect(e){this.router.navigate(["/servers",e])}updateCheckedRows(e){this.selectedRows=e}exportDevices(e){let t=[];e&&(this.selectedRows=this.servers.map(i=>i)),this.selectedRows.map(i=>{t.push(i.key)});let s=[];for(let i=0;i{this.dataForExport.push("serial,devicekey,device_name,merchant_company,apikey_masked,device_type,server_name,status,env"),i.map(d=>{const h=d.slice(94,-1);this.dataForExport.push(h)});const o=this.dataForExport.join(""),c=document.createElement("a");c.href="data:attachment/csv;charset=utf-8,"+encodeURIComponent(o),c.target="_self",c.download="servers.csv",document.body.appendChild(c),c.click(),c.remove()}),t=[],s=[],this.dataForExport=[],this.selectedRows=[]}keepSelectedServers(e){this.selectedRows=e.filter(t=>-1!==this.selectedRows.map(s=>s.key).indexOf(t.key))}getStatusColor(e){switch(e){case"connected":return"#55915B";case"offline":return""}}subscribeProgressModal(){this.progressModalSubscription=this.serverService.emitProgressModal.subscribe(e=>{"start"===e.type?this.progressModalComponent.startModal(e.message):"update"===e.type&&this.progressModalComponent.updateModal(e.status,e.message)})}updateQueryString(){const e={};for(const t in this.serverService.queryParams)this.serverService.queryParams[t]&&(e[t]=this.serverService.queryParams[t]);this.router.navigate(["/servers"],{queryParams:e})}updateServiceQueryParams(){const e=this.route.snapshot.queryParams;this.serverService.queryParams.limit=e.limit,this.serverService.queryParams.offset=e.offset,this.serverService.queryParams.sort=e.sort,this.serverService.queryParams.sortDir=e.sortDir,this.serverService.queryParams.filters=e.filters,this.filterControl.patchValue(this.serverService.queryParams.filters)}updateFilter(e){this.serverService.filterColumns.indexOf(e)>-1||(this.serverService.queryParams.filters=this.filterControl.value,this.serverService.queryParams.offset=0,this.updateQueryString())}getFilterSuggestions(e){const t=e.split(" "),s=t[t.length-1];this.suggestions=this.serverService.getSuggestions(s)}onSort(e){this.serverService.queryParams.sort===e?"desc"===this.serverService.queryParams.sortDir?this.serverService.queryParams.sortDir="asc":(this.serverService.queryParams.sort="",this.serverService.queryParams.sortDir=""):(this.serverService.queryParams.sort=e,this.serverService.queryParams.sortDir="desc"),this.serverService.queryParams.offset=0,this.updateQueryString()}updatePaginationObject(e){this.paginationComponent.updatePaginationObject(e.limit,e.offset,e.total),this.paginationComponent.updatePaginationLength(e.data.length)}updatePaginationTotal(e){this.paginationComponent.paginationObject.total+=e,this.paginationComponent.paginationObject.length+=e}goToPage(e){e.active||e.disabled||(this.serverService.queryParams.limit=e.limit,this.serverService.queryParams.offset=e.offset,this.updateQueryString())}static#e=this.ctorParameters=()=>[{type:gh},{type:un},{type:fi},{type:Gg},{type:tr}];static#t=this.propDecorators={paginationComponent:[{type:ze,args:[oh,{static:!0}]}],alert:[{type:ze,args:[xr,{static:!0}]}],progressModalComponent:[{type:ze,args:[o_,{static:!0}]}]}};pP=ge([Ke({selector:"ue-server-list",template:'
    \n\t
    \n\t\t\n\t
    \n\t\n\t
    \n\t\t\n\t\t\n\t\tRefresh\n\t\tExport All\n\t\tAdd Device Server\n\t
    \n
    \n\n\n\n\n
    \n\t
    \n\t\t\x3c!-- context menu goes here --\x3e\n\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{server.status}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{server.uptime | ueSeconds}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t
    \n
    \n\n\n\n\n',styles:[Wye()]})],pP);var Gye=k(3617),Kye=k.n(Gye);let fP=class{constructor(e,t,s,i,o,c){this.router=e,this.serverService=t,this.route=s,this.formBuilder=i,this.ueWindow=o,this.authService=c,this.viewOnly=!1,this.showValidation=!1,this.canEdit=this.authService.checkPermissions("servers_edit"),this.canCreate=this.authService.checkPermissions("servers_create"),this.canDelete=this.authService.checkPermissions("servers_delete")}ngOnInit(){const e=this.route.snapshot.params.key;this.handleQueryParams(),"new"===e?(this.isNew=!0,this.initForm()):(this.isNew=!1,this.isLoading=!0,this.serverService.getServer(e).subscribe(t=>{this.isLoading=!1,this.server=t},t=>{this.alert.newAlert("Error!",t.error,"danger")}))}handleQueryParams(){this.route.snapshot.queryParams.viewOnly&&(this.viewOnly=!0)}initForm(){this.serverForm=this.formBuilder.group({name:["",nt.required],pairing_code:["",nt.required],env:["",nt.required]}),this.canEdit||this.serverForm.disable()}saveServer(e){if(this.serverForm.invalid)return this.showValidation=!0,this.alert.newAlert("Error!","Please fill in all required fields.","danger");this.showValidation=!1,this.serverService.saveServer(this.serverForm.value).subscribe(t=>{this.isNew=!1,this.server=t,e?(this.router.navigate(["servers"],{queryParams:{updated:!0}}),this.modal.close()):(this.alert.newAlert("Success!","Device server was added successfully.","success"),this.router.navigate(["/servers",this.server.key],{replaceUrl:!0}))},t=>{this.alert.newAlert("Error!",t.error,"danger")})}refreshServer(){this.serverService.emitProgressModal.emit({type:"start",message:"Refreshing server"}),this.serverService.refreshServer(this.server.key).subscribe(e=>{this.serverService.emitProgressModal.emit({type:"update",status:"success",message:"Successfully refreshed server"}),this.alert.newAlert("Success!","Successfully refreshed server.","success"),this.server=e},e=>{this.serverService.emitProgressModal.emit({type:"update",status:"error",message:e.error}),this.alert.newAlert("Error!",e.error,"danger")})}exportDevices(){this.serverService.exportDevices(this.server.key).subscribe(e=>{const t=document.createElement("a");t.href="data:attachment/csv;charset=utf-8,"+encodeURIComponent(e),t.target="_self",t.download="server.csv",document.body.appendChild(t),t.click(),t.remove()},e=>{this.alert.newAlert(e.errorcode,e.error,"danger")})}closeModal(){if(this.isNewAppWindow())return this.router.navigate(["/servers"]);this.modal.close()}isNewAppWindow(){return 1===this.router.navigationId}static#e=this.ctorParameters=()=>[{type:un},{type:gh},{type:fi},{type:ri},{type:Gg},{type:tr}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}],modal:[{type:ze,args:["modal",{static:!0}]}]}};fP=ge([Ke({selector:"ue-server-detail",template:'\n\t\n\t\t

    {{server.name}}

    \n\t\t

    Add Device Server

    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\t {{server.status}}\n\t\t\t\t

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tClient IP: {{server.clientip}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tEnvironment: {{server.env}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tUptime: {{server.uptime | ueSeconds}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tRevision: {{server.revision}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tConnected: {{server.connected_devices}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tRegistered: {{server.registered_devices}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t
    \n\t\n\t\tDelete\n\t\tClose\n\t\tExport Devices\n\t\tRefresh\n\t\tApply\n\t\tSave\n\t\n
    \n\n',styles:[Kye()]})],fP);const Qye=[{path:"",component:pP,children:[{path:":key",component:fP}]}];let Nj=class{};Nj=ge([pr({imports:[Er.forChild(Qye)],exports:[Er]})],Nj);var Zye=k(6885),Jye=k.n(Zye);let Fj=class{constructor(e,t){this.serverService=e,this.router=t,this.isOpen=!1,this.hardDeleteConfirmed=!1}ngOnInit(){}open(){this.modal.open()}onConfirmDeleteModalOpen(){this.isOpen=!0,this.hardDeleteConfirmed=!1}onConfirmDeleteModalClose(){this.isOpen=!1}deleteServer(){this.serverService.deleteServer(this.server.key+"?hard_delete=true").subscribe(e=>{this.router.navigate(["/servers"],{queryParams:{deletedServer:this.server.name}})},e=>{this.alert.newAlert("Error!",e.error,"danger")})}static#e=this.ctorParameters=()=>[{type:gh},{type:un}];static#t=this.propDecorators={server:[{type:K,args:["server"]}],modal:[{type:ze,args:["modal",{static:!0}]}],alert:[{type:ze,args:[xr,{static:!0}]}]}};Fj=ge([Ke({selector:"ue-delete-server-modal",template:'\n\t\n\t\t

    Confirm Delete: {{server?.name}}

    \n\t
    \n\t\n\t\t\n\t\t
    \n\t\t\t\n\t\t\t\tWarning! You are about to delete this server, which will also delete the {{server?.connected_devices}} device(s) connected to it. The server and its connected devices will no longer exist and this action cannot be undone.\n\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\tAre you sure you want to continue?\n\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tDelete\n\t\n
    ',styles:[Jye()]})],Fj);let Yj=class{};Yj=ge([pr({imports:[xu,Nj],declarations:[pP,fP,Fj],providers:[gh]})],Yj);var tve=k(9010),nve=k.n(tve);let D_=class{constructor(e){this.ueHttp=e,this.baseUrl="/api/DVPRTLFE/developers",this.inviteUrl="/api/DVPRTLFE/developers/invites",this.memberUrl="/api/DVPRTLFE/developers/members",this.filterColumns=["@name","@email","@company"],this.queryParams={filters:"",limit:0,offset:0,total:0,sort:"name",sortDir:"desc",refresh:!1},this.invitesQueryParams={filters:"",limit:0,offset:0,total:0,sort:"name",sortDir:"desc",refresh:!1}}getAllUsers(e){let t=this.memberUrl;return e&&(t+="?"+e),this.ueHttp.get(t)}getUser(e){return this.ueHttp.get(this.memberUrl+"/"+e)}updateUserPermissions(e,t){return this.ueHttp.put(this.memberUrl+"/"+e,t)}removeUser(e){return this.ueHttp.delete(this.memberUrl+"/"+e)}getAllInvites(e){let t=this.inviteUrl;return e&&(t+="?"+e),this.ueHttp.get(t)}getInvite(e){return this.ueHttp.get(this.inviteUrl+"/"+e)}sendInvite(e){return this.ueHttp.post(this.inviteUrl,e)}resendInvite(e){return this.ueHttp.post(`${this.inviteUrl}/${e}/resend`,{})}updateInvitePermissions(e,t){return this.ueHttp.put(this.inviteUrl+"/"+e,t)}deleteInvite(e){return this.ueHttp.delete(this.inviteUrl+"/"+e)}getSuggestions(e){e=e.toLowerCase();const s=this.filterColumns.filter(i=>-1!==(i=i.toLowerCase()).indexOf(e));return[].concat(s)}static#e=this.ctorParameters=()=>[{type:qi}]};D_=ge([Ds()],D_);let mP=class{constructor(e,t,s,i){this.userService=e,this.router=t,this.route=s,this.authService=i,this.users=[],this.filterControl=new Wv,this.canEdit=this.authService.checkPermissions("members_edit"),this.canDelete=this.authService.checkPermissions("members_delete"),this.canCreate=this.authService.checkPermissions("invites_create"),this.contextMenuItems=[]}ngOnInit(){this.updateServiceQueryParams(),this.getUsers(),this.buildContextMenu(),this.routerEventsSubscription=this.router.events.pipe(ms(e=>e instanceof fo&&(0===this.route.children.length||0===this.users.length)),ms(()=>!this.handleQueryParamsAlerts())).subscribe(()=>{this.getUsers()})}ngOnDestroy(){this.routerEventsSubscription.unsubscribe()}buildContextMenu(){if(this.contextMenuItems=[],this.canEdit){const e={icon:"fa fa-edit",label:"Edit",command:t=>{this.onRowSelect(t.key)}};this.contextMenuItems.push(e)}else{const e={icon:"fa fa-list",label:"Details",command:t=>{this.onRowSelect(t.key)}};this.contextMenuItems.push(e)}if(this.canDelete){const e={icon:"glyphicon glyphicon-trash",label:"Delete",command:t=>{this.contextMenuTarget=t,this.confirmDeletionModal.open()}};this.contextMenuItems.push(e)}}getUsers(){let e="";for(const t in this.userService.queryParams)this.userService.queryParams[t]&&(e+=[t]+"="+this.userService.queryParams[t]+"&");this.isLoading=!0,this.userService.getAllUsers(e).subscribe(t=>{this.users=t.data,this.updatePaginationObject(t),this.isLoading=!1},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.isLoading=!1})}deleteUser(e){this.userService.removeUser(e.key).subscribe(t=>{this.confirmDeletionModal.close(),this.alert.newAlert("Success","User deleted","success"),this.getUsers()},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.confirmDeletionModal.close()})}handleQueryParamsAlerts(){const e=this.route.snapshot.queryParams;return"true"===e.isNew?(this.alert.newAlert("Success","User has been successfully created","success"),this.router.navigate(["users/members"],{replaceUrl:!0}),!0):"true"===e.updated?(this.alert.newAlert("Success","User information has been successfully saved","success"),this.router.navigate(["users/members"],{replaceUrl:!0}),!0):"true"===e.deleted?(this.alert.newAlert("Success","User has been successfully removed","success"),this.router.navigate(["users/members"],{replaceUrl:!0}),!0):(this.updateServiceQueryParams(),!1)}updateServiceQueryParams(){const e=this.route.snapshot.queryParams;this.userService.queryParams.filters=e.filters,this.userService.queryParams.limit=e.limit,this.userService.queryParams.offset=e.offset,this.userService.queryParams.sort=e.sort,this.userService.queryParams.sortDir=e.sortDir,this.userService.queryParams.filters&&this.filterControl.patchValue(this.userService.queryParams.filters)}updateQueryString(){const e={};for(const t in this.userService.queryParams)this.userService.queryParams[t]&&(e[t]=this.userService.queryParams[t]);this.router.navigate(["/users/members"],{queryParams:e})}onRowSelect(e){"new"===e?this.router.navigate(["/users/invites",e]):this.router.navigate(["/users/members",e])}onSort(e){this.userService.queryParams.sort===e?"desc"===this.userService.queryParams.sortDir?this.userService.queryParams.sortDir="asc":(this.userService.queryParams.sort="",this.userService.queryParams.sortDir=""):(this.userService.queryParams.sort=e,this.userService.queryParams.sortDir="desc"),this.userService.queryParams.offset=0,this.updateQueryString()}getFilterSuggestions(e){const t=e.split(" "),s=t[t.length-1];this.suggestions=this.userService.getSuggestions(s)}updateFilter(e){this.userService.filterColumns.indexOf(e)>-1||(this.userService.queryParams.filters=this.filterControl.value,this.userService.queryParams.offset=0,this.updateQueryString())}goToPage(e){e.active||e.disabled||(this.userService.queryParams.limit=e.limit,this.userService.queryParams.offset=e.offset,this.updateQueryString())}updatePaginationObject(e){this.paginationComponent.updatePaginationObject(e.limit,e.offset,e.total),this.paginationComponent.updatePaginationLength(e.data.length)}updatePaginationTotal(e){this.paginationComponent.paginationObject.total+=e,this.paginationComponent.paginationObject.length+=e}static#e=this.ctorParameters=()=>[{type:D_},{type:un},{type:fi},{type:tr}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}],paginationComponent:[{type:ze,args:[oh,{static:!0}]}],confirmDeletionModal:[{type:ze,args:["confirmDeletionModal",{static:!0}]}]}};mP=ge([Ke({selector:"ue-user-list",template:'
    \n\t
    \n\t\t\n\t
    \n\n\t
    \n\t\t\n\t\t\n\n\t\tInvite User\n\t
    \n
    \n\n\n\n
    \n\t
    \n\t\t\n\n\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ user.contact }}\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ user.email }}\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ user.company }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t
    \n
    \n\n\n\n\n\n\n',styles:[nve()]})],mP);var rve=k(1010),ive=k.n(rve);let gP=class{constructor(e,t,s,i,o){this.route=e,this.userService=t,this.formBuilder=s,this.router=i,this.authService=o,this.isLoading=!1,this.showErrors=!1,this.params=this.route.snapshot.params,this.canEdit=this.authService.checkPermissions("members_edit"),this.canDelete=this.authService.checkPermissions("members_delete")}ngOnInit(){this.myModal.open(),this.initForm(),this.isLoading=!0,this.userService.getUser(this.params.key).subscribe(e=>{this.created=this.cleanDate(e.created),this.contact=e.contact,this.email=e.email,this.userForm.patchValue(e),this.isLoading=!1},e=>{this.isLoading=!1,this.alert.newAlert("Error!",e.error,"danger")})}initForm(){this.userForm=this.formBuilder.group({perm_devices:["disabled",nt.required],perm_endpoints:["disabled",nt.required],perm_profile:["disabled",nt.required],perm_servers:["disabled",nt.required],perm_users:["disabled",nt.required]}),this.canEdit||this.userForm.disable()}saveChanges(e){if(this.alert.closeAlert(),this.showErrors=!1,this.userForm.invalid)return this.showErrors=!0,this.alert.newAlert("Invalid Form!","The form is invalid. Please fill in all required fields.","danger");{const t=this.getUpdatedControls(this.userForm);this.userForm.markAsPristine(),this.userService.updateUserPermissions(this.params.key,t).subscribe(s=>{this.alert.newAlert("Success!","User information has been successfully saved","success"),e&&this.router.navigate(["/users/members"],{queryParams:{updated:!0}})},s=>{this.alert.newAlert("Error!",s.error,"danger")})}}getUpdatedControls(e){const t={};for(const s in e.controls)e.controls[s].dirty&&(t[s]=e.controls[s].value);return t}confirmDelete(){this.confirmDeletionModal.open()}deleteUser(){this.userService.removeUser(this.params.key).subscribe(e=>{this.router.navigate(["/users/members"],{queryParams:{deleted:!0}})},e=>{this.confirmDeletionModal.close(),this.alert.newAlert("Error!",e.error,"danger")})}onCloseModal(){this.userForm.pristine?this.isNewAppWindow()?this.router.navigate(["/users/members"]):this.myModal.close():this.confirmAbandonModal.isOpen?this.router.navigate(["/users/members"]):this.confirmAbandonModal.open()}isNewAppWindow(){return 1===this.router.navigationId}disableRead(e){return!this.authService.checkPermissions(`${e}_view`)||!this.canEdit||null}disableWrite(e){return!this.authService.checkPermissions(`${e}_edit`)||!this.canEdit||null}cleanDate(e){const t=e.split(" "),s=t[0].split("-"),i=t[1].split(":");return`${s[1].replace("0","")}/${s[2]}/${s[0]} ${i[0].replace("0","")}:${i[1]}`}static#e=this.ctorParameters=()=>[{type:fi},{type:D_},{type:ri},{type:un},{type:tr}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}],myModal:[{type:ze,args:["myModal",{static:!0}]}],confirmDeletionModal:[{type:ze,args:["confirmDeletionModal",{static:!0}]}],confirmAbandonModal:[{type:ze,args:["confirmAbandonModal",{static:!0}]}]}};gP=ge([Ke({selector:"ue-user-detail",template:'\n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    Member Information Detail

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\tAdded: \n\t\t\t\t\t{{created}}\n\t\t\t\t

    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    User Info

    \n\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    Name:

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    {{contact}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    Email:

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    {{email}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t

    Permissions

    \n\t\t\t\t
    Devices:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Endpoints:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Profile:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Servers:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Users:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tRemove\n\t\tClose\n\t\tApply\n\t\tSave\n\t\n
    \n\n\n\n\n\n\n',animations:[Bb("slideDown",[ih("void",wc({height:"0",overflow:"hidden"})),wf("void => *",bf("200ms ease-out"))])],styles:[ive()]})],gP);var ave=k(3158),lve=k.n(ave);let _P=class{constructor(e,t,s){this.userService=e,this.router=t,this.route=s,this.invites=[],this.filterControl=new Wv,this.contextMenuItems=[{icon:"fa fa-edit",label:"Edit",command:i=>{this.onRowSelect(i.key)}},{icon:"glyphicon glyphicon-trash",label:"Delete",command:i=>{this.contextMenuTarget=i,this.confirmDeletionModal.open()}}]}ngOnInit(){this.updateServiceQueryParams(),this.getInvites(),this.routerEventsSubscription=this.router.events.pipe(ms(e=>e instanceof fo&&(0===this.route.children.length||0===this.invites.length)),ms(()=>!this.handleQueryParamsAlerts())).subscribe(()=>{this.getInvites()})}ngOnDestroy(){this.routerEventsSubscription.unsubscribe()}getInvites(){let e="";for(const t in this.userService.invitesQueryParams)this.userService.invitesQueryParams[t]&&(e+=[t]+"="+this.userService.invitesQueryParams[t]+"&");this.isLoading=!0,this.userService.getAllInvites(e).subscribe(t=>{this.invites=t.data,this.updatePaginationObject(t),this.isLoading=!1},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.isLoading=!1})}deleteInvite(e){this.userService.deleteInvite(e.key).subscribe(t=>{this.confirmDeletionModal.close(),this.alert.newAlert("Success","Invite deleted","success"),this.getInvites()},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.confirmDeletionModal.close()})}handleQueryParamsAlerts(){const e=this.route.snapshot.queryParams;return"true"===e.isNew?(this.alert.newAlert("Success","Invite has been successfully sent","success"),this.router.navigate(["users/invites"],{replaceUrl:!0}),!0):"true"===e.updated?(this.alert.newAlert("Success","Invite information has been successfully updated","success"),this.router.navigate(["users/invites"],{replaceUrl:!0}),!0):"true"===e.deleted?(this.alert.newAlert("Success","Invite has been successfully deleted","success"),this.router.navigate(["users/invites"],{replaceUrl:!0}),!0):(this.updateServiceQueryParams(),!1)}updateServiceQueryParams(){const e=this.route.snapshot.queryParams;this.userService.invitesQueryParams.filters=e.filters,this.userService.invitesQueryParams.limit=e.limit,this.userService.invitesQueryParams.offset=e.offset,this.userService.invitesQueryParams.sort=e.sort,this.userService.invitesQueryParams.sortDir=e.sortDir,this.userService.invitesQueryParams.filters&&this.filterControl.patchValue(this.userService.invitesQueryParams.filters)}updateQueryString(){const e={};for(const t in this.userService.invitesQueryParams)this.userService.invitesQueryParams[t]&&(e[t]=this.userService.invitesQueryParams[t]);this.router.navigate(["/users/invites"],{queryParams:e})}onRowSelect(e){this.router.navigate(["/users/invites",e])}onSort(e){this.userService.invitesQueryParams.sort===e?"desc"===this.userService.invitesQueryParams.sortDir?this.userService.invitesQueryParams.sortDir="asc":(this.userService.invitesQueryParams.sort="",this.userService.invitesQueryParams.sortDir=""):(this.userService.invitesQueryParams.sort=e,this.userService.invitesQueryParams.sortDir="desc"),this.userService.invitesQueryParams.offset=0,this.updateQueryString()}getFilterSuggestions(e){const t=e.split(" "),s=t[t.length-1];this.suggestions=this.userService.getSuggestions(s)}updateFilter(e){this.userService.filterColumns.indexOf(e)>-1||(this.userService.invitesQueryParams.filters=this.filterControl.value,this.userService.invitesQueryParams.offset=0,this.updateQueryString())}goToPage(e){e.active||e.disabled||(this.userService.invitesQueryParams.limit=e.limit,this.userService.invitesQueryParams.offset=e.offset,this.updateQueryString())}updatePaginationObject(e){this.paginationComponent.updatePaginationObject(e.limit,e.offset,e.total),this.paginationComponent.updatePaginationLength(e.data.length)}updatePaginationTotal(e){this.paginationComponent.paginationObject.total+=e,this.paginationComponent.paginationObject.length+=e}cleanDate(e){const t=e.split(" "),s=t[0].split("-"),i=t[1].split(":");return`${s[1].replace("0","")}/${s[2]}/${s[0]} ${i[0].replace("0","")}:${i[1]}`}checkExpired(e){const t=Date.now();return!(Date.parse(e.split(" ").join("T"))>t)}static#e=this.ctorParameters=()=>[{type:D_},{type:un},{type:fi}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}],paginationComponent:[{type:ze,args:[oh,{static:!0}]}],confirmDeletionModal:[{type:ze,args:["confirmDeletionModal",{static:!0}]}]}};_P=ge([Ke({selector:"ue-invite-list",template:'
    \n
    \n \n
    \n\n
    \n \n \n\n Invite User\n
    \n
    \n\n\n\n
    \n
    \n \n\n \n\n \n \n {{ invite.email }}\n \n \n\n \n\t\t\t\t\n\t\t\t\t\t{{ cleanDate(invite.created) }}\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ cleanDate(invite.expires) }}\n\t\t\t\t\n\t\t\t\n\n \n
    \n
    \n\n\n\n\n\n\n\n',styles:[lve()]})],_P);var uve=k(5538),dve=k.n(uve);let yP=class{constructor(e,t,s,i,o){this.route=e,this.userService=t,this.formBuilder=s,this.router=i,this.authService=o,this.isNew=!1,this.isLoading=!1,this.showErrors=!1,this.key=this.route.snapshot.params.key}ngOnInit(){this.myModal.open(),this.initForm(),"new"===this.key?this.isNew=!0:(this.isNew=!1,this.isLoading=!0,this.userService.getInvite(this.key).subscribe(e=>{this.checkExpired(e.expires)&&this.alert.newAlert("Error!","This invitation has expired, please resend to activate.","danger"),this.created=this.cleanDate(e.created),this.expires=this.cleanDate(e.expires),this.inviteForm.patchValue(e),this.isLoading=!1},e=>{this.isLoading=!1,this.alert.newAlert("Error!",e.error,"danger")}))}initForm(){this.inviteForm=this.formBuilder.group({email:["",[nt.required,nt.email]],perm_devices:["disabled",nt.required],perm_endpoints:["disabled",nt.required],perm_profile:["disabled",nt.required],perm_servers:["disabled",nt.required],perm_users:["disabled",nt.required]})}saveChanges(e){if(this.alert.closeAlert(),this.showErrors=!1,this.inviteForm.invalid)return this.showErrors=!0,this.alert.newAlert("Invalid Form!","The form is invalid. Please fill in all required fields.","danger");if(this.isNew)this.userService.sendInvite(this.inviteForm.value).subscribe(t=>{e?this.router.navigate(["/users/invites"],{queryParams:{isNew:!0}}):(this.router.navigate(["/users/invites",t.key],{replaceUrl:!0}),this.isNew=!1,this.created=this.cleanDate(t.created),this.expires=this.cleanDate(t.expires),this.key=t.key,this.inviteForm.markAsPristine(),this.alert.newAlert("Success!","Invitation has been sent","success"))},t=>{this.alert.newAlert("Error!",t.error,"danger")});else{const t=this.getUpdatedControls(this.inviteForm);this.inviteForm.markAsPristine(),this.userService.updateInvitePermissions(this.key,t).subscribe(s=>{this.alert.newAlert("Success!","Invite information has been successfully saved","success"),e&&this.router.navigate(["/users/invites"],{queryParams:{updated:!0}})},s=>{this.alert.newAlert("Error!",s.error,"danger")})}}getUpdatedControls(e){const t={};for(const s in e.controls)e.controls[s].dirty&&(t[s]=e.controls[s].value);return t}confirmDelete(){this.confirmDeletionModal.open()}deleteInvite(){this.userService.deleteInvite(this.key).subscribe(e=>{this.router.navigate(["/users/invites"],{queryParams:{deleted:!0}})},e=>{this.confirmDeletionModal.close(),this.alert.newAlert("Error!",e.error,"danger")})}onCloseModal(){this.inviteForm.pristine?this.isNewAppWindow()?this.router.navigate(["/users/invites"]):this.myModal.close():this.confirmAbandonModal.isOpen?this.router.navigate(["/users/invites"]):this.confirmAbandonModal.open()}isNewAppWindow(){return 1===this.router.navigationId}resendInvite(){this.userService.resendInvite(this.key).subscribe(e=>{this.alert.newAlert("Success!","Invitation sent","success")},e=>{this.alert.newAlert("Error!",e.error,"danger")})}cleanDate(e){const t=e.split(" "),s=t[0].split("-"),i=t[1].split(":");return`${s[1].replace("0","")}/${s[2]}/${s[0]} ${i[0].replace("0","")}:${i[1]}`}checkExpired(e){const t=Date.now();return!(Date.parse(e.split(" ").join("T"))>t)}static#e=this.ctorParameters=()=>[{type:fi},{type:D_},{type:ri},{type:un},{type:tr}];static#t=this.propDecorators={alert:[{type:ze,args:[xr,{static:!0}]}],myModal:[{type:ze,args:["myModal",{static:!0}]}],confirmDeletionModal:[{type:ze,args:["confirmDeletionModal",{static:!0}]}],confirmAbandonModal:[{type:ze,args:["confirmAbandonModal",{static:!0}]}]}};yP=ge([Ke({selector:"ue-invite-detail",template:'\n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    Invite User

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Invitation Details

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\tInvited: \n\t\t\t\t\t{{created}}\n\t\t\t\t\t
    \n\t\t\t\t\tExpires: \n\t\t\t\t\t{{expires}}\n\t\t\t\t

    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    User Info:

    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    User Info

    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Email:

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    {{inviteForm.get(\'email\').value}}

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\tResend Invite\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t

    Permissions

    \n\t\t\t\t
    Devices:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Endpoints:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Profile:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Servers:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Users:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tRemove\n\t\tClose\n\t\tApply\n\t\tSave\n\t\n
    \n\n\n\n\n\n\n',animations:[Bb("slideDown",[ih("void",wc({height:"0",overflow:"hidden"})),wf("void => *",bf("200ms ease-out"))])],styles:[dve()]})],yP);const hve=[{path:"members",canActivate:gc([lh]),component:mP,children:[{path:":key",component:gP}]},{path:"invites",canActivate:gc([lh]),component:_P,children:[{path:":key",component:yP}]}];let Bj=class{};Bj=ge([pr({imports:[Er.forChild(hve)],exports:[Er]})],Bj);let jj=class{};jj=ge([pr({imports:[ua,xu,Bj],declarations:[mP,gP,_P,yP],providers:[D_]})],jj);const pve=[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"",canActivate:gc([hL]),component:UA,children:[{path:"login",component:Ub},{path:"register",component:$b},{path:"lostpassword",component:pL},{path:"resetpassword",component:fL},{path:"register-company",component:mL},{path:"invitation",children:[{path:":key",redirectTo:"/invitation/:key/verify",pathMatch:"full"},{path:":key/verify",component:Ub},{path:":key/register",component:$b}]}]},{path:"",component:$A,children:[{path:"dashboard",canActivate:gc([Tu]),loadChildren:()=>Ej},{path:"endpoints",canActivate:gc([lh,Tu]),loadChildren:()=>kj},{path:"profile",canActivate:gc([Tu]),loadChildren:()=>Ij},{path:"request-test-account",canActivate:gc([Tu]),loadChildren:()=>Lj},{path:"devices",canActivate:gc([lh,Tu]),loadChildren:()=>Oj},{path:"servers",canActivate:gc([lh,Tu]),loadChildren:()=>Yj},{path:"users",canActivate:gc([Tu]),loadChildren:()=>jj}]},{path:"**",component:CC,pathMatch:"full"}];let Vj=class{};Vj=ge([pr({imports:[Er.forRoot(pve,{})],exports:[Er]})],Vj);var mve=k(3553),gve=k.n(mve);let vP=class{};vP=ge([Ke({selector:"ue-root",template:"",styles:[gve()]})],vP);let Hj=class{};Hj=ge([pr({declarations:[vP],bootstrap:[vP],imports:[zd,Fg,kB,Vj],providers:[EU(kU())]})],Hj),nZ().bootstrapModule(Hj)},7468:U=>{var J={utf8:{stringToBytes:function(k){return J.bin.stringToBytes(unescape(encodeURIComponent(k)))},bytesToString:function(k){return decodeURIComponent(escape(J.bin.bytesToString(k)))}},bin:{stringToBytes:function(k){for(var T=[],v=0;v{var J,k;J="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",k={rotl:function(T,v){return T<>>32-v},rotr:function(T,v){return T<<32-v|T>>>v},endian:function(T){if(T.constructor==Number)return 16711935&k.rotl(T,8)|4278255360&k.rotl(T,24);for(var v=0;v0;T--)v.push(Math.floor(256*Math.random()));return v},bytesToWords:function(T){for(var v=[],w=0,M=0;w>>5]|=T[w]<<24-M%32;return v},wordsToBytes:function(T){for(var v=[],w=0;w<32*T.length;w+=8)v.push(T[w>>>5]>>>24-w%32&255);return v},bytesToHex:function(T){for(var v=[],w=0;w>>4).toString(16)),v.push((15&T[w]).toString(16));return v.join("")},hexToBytes:function(T){for(var v=[],w=0;w>>6*(3-C)&63)):v.push("=");return v.join("")},base64ToBytes:function(T){T=T.replace(/[^A-Z0-9+\/]/gi,"");for(var v=[],w=0,M=0;w>>6-2*M);return v}},U.exports=k},8557:U=>{"use strict";U.exports=function(J){var k=[];return k.toString=function(){return this.map(function(v){var w="",M=typeof v[5]<"u";return v[4]&&(w+="@supports (".concat(v[4],") {")),v[2]&&(w+="@media ".concat(v[2]," {")),M&&(w+="@layer".concat(v[5].length>0?" ".concat(v[5]):""," {")),w+=J(v),M&&(w+="}"),v[2]&&(w+="}"),v[4]&&(w+="}"),w}).join("")},k.i=function(v,w,M,C,I){"string"==typeof v&&(v=[[null,v,void 0]]);var N={};if(M)for(var B=0;B"u"||(Z[1]="@layer".concat(Z[5].length>0?" ".concat(Z[5]):""," {").concat(Z[1],"}")),Z[5]=I),w&&(Z[2]&&(Z[1]="@media ".concat(Z[2]," {").concat(Z[1],"}")),Z[2]=w),C&&(Z[4]?(Z[1]="@supports (".concat(Z[4],") {").concat(Z[1],"}"),Z[4]=C):Z[4]="".concat(C)),k.push(Z))}},k}},8564:U=>{"use strict";U.exports=function(J){return J[1]}},8749:U=>{function J(T){return!!T.constructor&&"function"==typeof T.constructor.isBuffer&&T.constructor.isBuffer(T)}U.exports=function(T){return null!=T&&(J(T)||function k(T){return"function"==typeof T.readFloatLE&&"function"==typeof T.slice&&J(T.slice(0,0))}(T)||!!T._isBuffer)}},9812:(U,J,k)=>{var T,v,w,M,C;T=k(9928),v=k(7468).utf8,w=k(8749),M=k(7468).bin,(C=function(I,N){I.constructor==String?I=N&&"binary"===N.encoding?M.stringToBytes(I):v.stringToBytes(I):w(I)?I=Array.prototype.slice.call(I,0):!Array.isArray(I)&&I.constructor!==Uint8Array&&(I=I.toString());for(var B=T.bytesToWords(I),Q=8*I.length,$=1732584193,Z=-271733879,oe=-1732584194,se=271733878,ve=0;ve>>24)|4278255360&(B[ve]<<24|B[ve]>>>8);B[Q>>>5]|=128<>>9<<4)]=Q;var _e=C._ff,Ze=C._gg,lt=C._hh,Je=C._ii;for(ve=0;ve>>0,Z=Z+De>>>0,oe=oe+Ee>>>0,se=se+Ne>>>0}return T.endian([$,Z,oe,se])})._ff=function(I,N,B,Q,$,Z,oe){var se=I+(N&B|~N&Q)+($>>>0)+oe;return(se<>>32-Z)+N},C._gg=function(I,N,B,Q,$,Z,oe){var se=I+(N&Q|B&~Q)+($>>>0)+oe;return(se<>>32-Z)+N},C._hh=function(I,N,B,Q,$,Z,oe){var se=I+(N^B^Q)+($>>>0)+oe;return(se<>>32-Z)+N},C._ii=function(I,N,B,Q,$,Z,oe){var se=I+(B^(N|~Q))+($>>>0)+oe;return(se<>>32-Z)+N},C._blocksize=16,C._digestsize=16,U.exports=function(I,N){if(null==I)throw new Error("Illegal argument "+I);var B=T.wordsToBytes(C(I,N));return N&&N.asBytes?B:N&&N.asString?M.bytesToString(B):T.bytesToHex(B)}},6625:function(U,J,k){var T;U.exports=(T=k(7586),function(v){function w(C){if(M[C])return M[C].exports;var I=M[C]={i:C,l:!1,exports:{}};return v[C].call(I.exports,I,I.exports,w),I.l=!0,I.exports}var M={};return w.m=v,w.c=M,w.i=function(C){return C},w.d=function(C,I,N){w.o(C,I)||Object.defineProperty(C,I,{configurable:!1,enumerable:!0,get:N})},w.n=function(C){var I=C&&C.__esModule?function(){return C.default}:function(){return C};return w.d(I,"a",I),I},w.o=function(C,I){return Object.prototype.hasOwnProperty.call(C,I)},w.p="",w(w.s=3)}([function(v,w,M){"use strict";var C=M(5)();v.exports=function(I){return I!==C&&null!==I}},function(v,w,M){"use strict";v.exports=M(18)()?Symbol:M(20)},function(v,w){v.exports=T},function(v,w,M){"use strict";function C(Xe){return Xe&&Xe.__esModule?Xe:{default:Xe}}function I(Xe,De,Ee){return De in Xe?Object.defineProperty(Xe,De,{value:Ee,enumerable:!0,configurable:!0,writable:!0}):Xe[De]=Ee,Xe}function N(Xe,De){if(!(Xe instanceof De))throw new TypeError("Cannot call a class as a function")}function B(Xe){return Xe.range=function(De,Ee){var Ne=this;return"string"==typeof De&<.hasOwnProperty(De)?new Je(Xe(Ne).startOf(De),Xe(Ne).endOf(De)):new Je(De,Ee)},Xe.rangeFromInterval=function(De){var Ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,Ne=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Xe();if(Xe.isMoment(Ne)||(Ne=Xe(Ne)),!Ne.isValid())throw new Error("Invalid date.");var Re=Ne.clone().add(Ee,De),Fe=[];return Fe.push(Xe.min(Ne,Re)),Fe.push(Xe.max(Ne,Re)),new Je(Fe)},Xe.rangeFromISOString=function(De){var Ee=Q(De),Ne=Xe.parseZone(Ee[0]),Re=Xe.parseZone(Ee[1]);return new Je(Ne,Re)},Xe.parseZoneRange=Xe.rangeFromISOString,Xe.fn.range=Xe.range,Xe.range.constructor=Je,Xe.isRange=function(De){return De instanceof Je},Xe.fn.within=function(De){return De.contains(this.toDate())},Xe}function Q(Xe){return Xe.split("/")}Object.defineProperty(w,"__esModule",{value:!0}),w.DateRange=void 0;var $=function(){function Xe(De,Ee){var Ne=[],Re=!0,Fe=!1,ne=void 0;try{for(var re,fe=De[Symbol.iterator]();!(Re=(re=fe.next()).done)&&(Ne.push(re.value),!Ee||Ne.length!==Ee);Re=!0);}catch(Te){Fe=!0,ne=Te}finally{try{!Re&&fe.return&&fe.return()}finally{if(Fe)throw ne}}return Ne}return function(De,Ee){if(Array.isArray(De))return De;if(Symbol.iterator in Object(De))return Xe(De,Ee);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Xe){return typeof Xe}:function(Xe){return Xe&&"function"==typeof Symbol&&Xe.constructor===Symbol&&Xe!==Symbol.prototype?"symbol":typeof Xe},oe=function(){function Xe(De,Ee){for(var Ne=0;Ne=this.end.valueOf()}},{key:"add",value:function(De){var Ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{adjacent:!1};return this.overlaps(De,Ee)?new this.constructor(ve.default.min(this.start,De.start),ve.default.max(this.end,De.end)):null}},{key:"by",value:function(De){var Ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{excludeEnd:!1,step:1},Ne=this;return I({},Ze.default.iterator,function(){var Re=Ee.step||1,Fe=Math.abs(Ne.start.diff(Ne.end,De))/Re,ne=Ee.excludeEnd||!1,re=0;return Ee.hasOwnProperty("exclusive")&&(ne=Ee.exclusive),{next:function(){var fe=Ne.start.clone().add(re*Re,De),Te=ne?!(re1&&void 0!==arguments[1]?arguments[1]:{excludeEnd:!1,step:1},Ne=this,Re=Ee.step||1,Fe=this.valueOf()/De.valueOf()/Re,ne=Math.floor(Fe),re=Ee.excludeEnd||!1,fe=0;return Ee.hasOwnProperty("exclusive")&&(re=Ee.exclusive),I({},Ze.default.iterator,function(){return ne===1/0?{done:!0}:{next:function(){var Te=(0,ve.default)(Ne.start.valueOf()+De.valueOf()*fe*Re),He=ne===Fe&&re?!(fe1&&void 0!==arguments[1]?arguments[1]:{excludeStart:!1,excludeEnd:!1},Ne=this.start.valueOf(),Re=this.end.valueOf(),Fe=De.valueOf(),ne=De.valueOf(),re=Ee.excludeStart||!1,fe=Ee.excludeEnd||!1;return Ee.hasOwnProperty("exclusive")&&(re=fe=Ee.exclusive),De instanceof Xe&&(Fe=De.start.valueOf(),ne=De.end.valueOf()),(Nene||Re>=ne&&!fe)}},{key:"diff",value:function(De,Ee){return this.end.diff(this.start,De,Ee)}},{key:"duration",value:function(De,Ee){return this.diff(De,Ee)}},{key:"intersect",value:function(De){var Ee=this.start.valueOf(),Ne=this.end.valueOf(),Re=De.start.valueOf(),Fe=De.end.valueOf(),re=Re==Fe;if(Ee==Ne){if(Ee==Re||Ee==Fe)return null;if(Ee>Re&&EeEe&&Te1&&void 0!==arguments[1]?arguments[1]:{adjacent:!1},Ne=null!==this.intersect(De);return Ee.adjacent&&!Ne?this.adjacent(De):Ne}},{key:"reverseBy",value:function(De){var Ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{excludeStart:!1,step:1},Ne=this;return I({},Ze.default.iterator,function(){var Re=Ee.step||1,Fe=Math.abs(Ne.start.diff(Ne.end,De))/Re,ne=Ee.excludeStart||!1,re=0;return Ee.hasOwnProperty("exclusive")&&(ne=Ee.exclusive),{next:function(){var fe=Ne.end.clone().subtract(re*Re,De),Te=ne?!(re1&&void 0!==arguments[1]?arguments[1]:{excludeStart:!1,step:1},Ne=this,Re=Ee.step||1,Fe=this.valueOf()/De.valueOf()/Re,ne=Math.floor(Fe),re=Ee.excludeStart||!1,fe=0;return Ee.hasOwnProperty("exclusive")&&(re=Ee.exclusive),I({},Ze.default.iterator,function(){return ne===1/0?{done:!0}:{next:function(){var Te=(0,ve.default)(Ne.end.valueOf()-De.valueOf()*fe*Re),He=ne===Fe&&re?!(fe-1}},function(v,w,M){"use strict";var C={object:!0,symbol:!0};v.exports=function(){var I;if("function"!=typeof Symbol)return!1;I=Symbol("test symbol");try{String(I)}catch{return!1}return!!C[typeof Symbol.iterator]&&!!C[typeof Symbol.toPrimitive]&&!!C[typeof Symbol.toStringTag]}},function(v,w,M){"use strict";v.exports=function(C){return!!C&&("symbol"==typeof C||!!C.constructor&&"Symbol"===C.constructor.name&&"Symbol"===C[C.constructor.toStringTag])}},function(v,w,M){"use strict";var C,I,N,B,Q=M(4),$=M(21),Z=Object.create,oe=Object.defineProperties,se=Object.defineProperty,ve=Object.prototype,_e=Z(null);if("function"==typeof Symbol){C=Symbol;try{String(C()),B=!0}catch{}}var lt,Ze=(lt=Z(null),function(Je){for(var Xe,De,Ee=0;lt[Je+(Ee||"")];)++Ee;return lt[Je+=Ee||""]=!0,se(ve,Xe="@@"+Je,Q.gs(null,function(Ne){De||(De=!0,se(this,Xe,Q(Ne)),De=!1)})),Xe});N=function(lt){if(this instanceof N)throw new TypeError("Symbol is not a constructor");return I(lt)},v.exports=I=function lt(Je){var Xe;if(this instanceof lt)throw new TypeError("Symbol is not a constructor");return B?C(Je):(Xe=Z(N.prototype),Je=void 0===Je?"":String(Je),oe(Xe,{__description__:Q("",Je),__name__:Q("",Ze(Je))}))},oe(I,{for:Q(function(lt){return _e[lt]?_e[lt]:_e[lt]=I(String(lt))}),keyFor:Q(function(lt){var Je;for(Je in $(lt),_e)if(_e[Je]===lt)return Je}),hasInstance:Q("",C&&C.hasInstance||I("hasInstance")),isConcatSpreadable:Q("",C&&C.isConcatSpreadable||I("isConcatSpreadable")),iterator:Q("",C&&C.iterator||I("iterator")),match:Q("",C&&C.match||I("match")),replace:Q("",C&&C.replace||I("replace")),search:Q("",C&&C.search||I("search")),species:Q("",C&&C.species||I("species")),split:Q("",C&&C.split||I("split")),toPrimitive:Q("",C&&C.toPrimitive||I("toPrimitive")),toStringTag:Q("",C&&C.toStringTag||I("toStringTag")),unscopables:Q("",C&&C.unscopables||I("unscopables"))}),oe(N.prototype,{constructor:Q(I),toString:Q("",function(){return this.__name__})}),oe(I.prototype,{toString:Q(function(){return"Symbol ("+$(this).__description__+")"}),valueOf:Q(function(){return $(this)})}),se(I.prototype,I.toPrimitive,Q("",function(){var lt=$(this);return"symbol"==typeof lt?lt:lt.toString()})),se(I.prototype,I.toStringTag,Q("c","Symbol")),se(N.prototype,I.toStringTag,Q("c",I.prototype[I.toStringTag])),se(N.prototype,I.toPrimitive,Q("c",I.prototype[I.toPrimitive]))},function(v,w,M){"use strict";var C=M(19);v.exports=function(I){if(!C(I))throw new TypeError(I+" is not a symbol");return I}}]))},1544:function(U,J,k){!function(T){"use strict";T.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(w){return/^nm$/i.test(w)},meridiem:function(w,M,C){return w<12?C?"vm":"VM":C?"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(w){return w+(1===w||8===w||w>=20?"ste":"de")},week:{dow:1,doy:4}})}(k(7586))},2155:function(U,J,k){!function(T){"use strict";var v=function(N){return 0===N?0:1===N?1:2===N?2:N%100>=3&&N%100<=10?3:N%100>=11?4:5},w={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"]},M=function(N){return function(B,Q,$,Z){var oe=v(B),se=w[N][v(B)];return 2===oe&&(se=se[Q?0:1]),se.replace(/%d/i,B)}},C=["\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"];T.defineLocale("ar-dz",{months:C,monthsShort:C,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(N){return"\u0645"===N},meridiem:function(N,B,Q){return N<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:M("s"),ss:M("s"),m:M("m"),mm:M("m"),h:M("h"),hh:M("h"),d:M("d"),dd:M("d"),M:M("M"),MM:M("M"),y:M("y"),yy:M("y")},postformat:function(N){return N.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(k(7586))},3583:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},1638:function(U,J,k){!function(T){"use strict";var v={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},w=function(B){return 0===B?0:1===B?1:2===B?2:B%100>=3&&B%100<=10?3:B%100>=11?4:5},M={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"]},C=function(B){return function(Q,$,Z,oe){var se=w(Q),ve=M[B][w(Q)];return 2===se&&(ve=ve[$?0:1]),ve.replace(/%d/i,Q)}},I=["\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"];T.defineLocale("ar-ly",{months:I,monthsShort:I,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(B){return"\u0645"===B},meridiem:function(B,Q,$){return B<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:C("s"),ss:C("s"),m:C("m"),mm:C("m"),h:C("h"),hh:C("h"),d:C("d"),dd:C("d"),M:C("M"),MM:C("M"),y:C("y"),yy:C("y")},preparse:function(B){return B.replace(/\u060c/g,",")},postformat:function(B){return B.replace(/\d/g,function(Q){return v[Q]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(k(7586))},7823:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},8261:function(U,J,k){!function(T){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},w={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};T.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(C){return"\u0645"===C},meridiem:function(C,I,N){return C<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(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(I){return w[I]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(I){return v[I]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(k(7586))},6703:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},3108:function(U,J,k){!function(T){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},w={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},M=function(Q){return 0===Q?0:1===Q?1:2===Q?2:Q%100>=3&&Q%100<=10?3:Q%100>=11?4:5},C={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"]},I=function(Q){return function($,Z,oe,se){var ve=M($),_e=C[Q][M($)];return 2===ve&&(_e=_e[Z?0:1]),_e.replace(/%d/i,$)}},N=["\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"];T.defineLocale("ar",{months:N,monthsShort:N,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(Q){return"\u0645"===Q},meridiem:function(Q,$,Z){return Q<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:I("s"),ss:I("s"),m:I("m"),mm:I("m"),h:I("h"),hh:I("h"),d:I("d"),dd:I("d"),M:I("M"),MM:I("M"),y:I("y"),yy:I("y")},preparse:function(Q){return Q.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function($){return w[$]}).replace(/\u060c/g,",")},postformat:function(Q){return Q.replace(/\d/g,function($){return v[$]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(k(7586))},6508:function(U,J,k){!function(T){"use strict";var v={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"};T.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(M){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(M)},meridiem:function(M,C,I){return M<4?"gec\u0259":M<12?"s\u0259h\u0259r":M<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(M){if(0===M)return M+"-\u0131nc\u0131";var C=M%10,I=M%100-C,N=M>=100?100:null;return M+(v[C]||v[I]||v[N])},week:{dow:1,doy:7}})}(k(7586))},6766:function(U,J,k){!function(T){"use strict";function v(C,I){var N=C.split("_");return I%10==1&&I%100!=11?N[0]:I%10>=2&&I%10<=4&&(I%100<10||I%100>=20)?N[1]:N[2]}function w(C,I,N){return"m"===N?I?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===N?I?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":C+" "+v({ss:I?"\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:I?"\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:I?"\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"}[N],+C)}T.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:w,mm:w,h:w,hh:w,d:"\u0434\u0437\u0435\u043d\u044c",dd:w,M:"\u043c\u0435\u0441\u044f\u0446",MM:w,y:"\u0433\u043e\u0434",yy:w},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(C){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(C)},meridiem:function(C,I,N){return C<4?"\u043d\u043e\u0447\u044b":C<12?"\u0440\u0430\u043d\u0456\u0446\u044b":C<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(C,I){switch(I){case"M":case"d":case"DDD":case"w":case"W":return C%10!=2&&C%10!=3||C%100==12||C%100==13?C+"-\u044b":C+"-\u0456";case"D":return C+"-\u0433\u0430";default:return C}},week:{dow:1,doy:7}})}(k(7586))},6183:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10,C=w%100;return 0===w?w+"-\u0435\u0432":0===C?w+"-\u0435\u043d":C>10&&C<20?w+"-\u0442\u0438":1===M?w+"-\u0432\u0438":2===M?w+"-\u0440\u0438":7===M||8===M?w+"-\u043c\u0438":w+"-\u0442\u0438"},week:{dow:1,doy:7}})}(k(7586))},7462:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},3438:function(U,J,k){!function(T){"use strict";var v={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},w={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};T.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(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(I){return w[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return v[I]})},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(C,I){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===I?C<4?C:C+12:"\u09ad\u09cb\u09b0"===I||"\u09b8\u0995\u09be\u09b2"===I?C:"\u09a6\u09c1\u09aa\u09c1\u09b0"===I?C>=3?C:C+12:"\u09ac\u09bf\u0995\u09be\u09b2"===I||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===I?C+12:void 0},meridiem:function(C,I,N){return C<4?"\u09b0\u09be\u09a4":C<6?"\u09ad\u09cb\u09b0":C<12?"\u09b8\u0995\u09be\u09b2":C<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<18?"\u09ac\u09bf\u0995\u09be\u09b2":C<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(k(7586))},7107:function(U,J,k){!function(T){"use strict";var v={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},w={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};T.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(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(I){return w[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return v[I]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(C,I){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===I&&C>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===I&&C<5||"\u09ac\u09bf\u0995\u09be\u09b2"===I?C+12:C},meridiem:function(C,I,N){return C<4?"\u09b0\u09be\u09a4":C<10?"\u09b8\u0995\u09be\u09b2":C<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(k(7586))},9004:function(U,J,k){!function(T){"use strict";var v={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},w={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};T.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(C){return C.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(I){return w[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return v[I]})},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(C,I){return 12===C&&(C=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===I&&C>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===I&&C<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===I?C+12:C},meridiem:function(C,I,N){return C<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":C<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":C<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":C<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(k(7586))},927:function(U,J,k){!function(T){"use strict";function v(_e,Ze,lt){return _e+" "+C({mm:"munutenn",MM:"miz",dd:"devezh"}[lt],_e)}function w(_e){switch(M(_e)){case 1:case 3:case 4:case 5:case 9:return _e+" bloaz";default:return _e+" vloaz"}}function M(_e){return _e>9?M(_e%10):_e}function C(_e,Ze){return 2===Ze?I(_e):_e}function I(_e){var Ze={m:"v",b:"v",d:"z"};return void 0===Ze[_e.charAt(0)]?_e:Ze[_e.charAt(0)]+_e.substring(1)}var N=[/^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],B=/^(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,Q=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,$=/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,Z=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],oe=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],se=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];T.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:se,fullWeekdaysParse:Z,shortWeekdaysParse:oe,minWeekdaysParse:se,monthsRegex:B,monthsShortRegex:B,monthsStrictRegex:Q,monthsShortStrictRegex:$,monthsParse:N,longMonthsParse:N,shortMonthsParse:N,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:v,h:"un eur",hh:"%d eur",d:"un devezh",dd:v,M:"ur miz",MM:v,y:"ur bloaz",yy:w},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(_e){return _e+(1===_e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(_e){return"g.m."===_e},meridiem:function(_e,Ze,lt){return _e<12?"a.m.":"g.m."}})}(k(7586))},7768:function(U,J,k){!function(T){"use strict";function v(M,C,I){var N=M+" ";switch(I){case"ss":return N+=1===M?"sekunda":2===M||3===M||4===M?"sekunde":"sekundi";case"m":return C?"jedna minuta":"jedne minute";case"mm":return N+=1===M?"minuta":2===M||3===M||4===M?"minute":"minuta";case"h":return C?"jedan sat":"jednog sata";case"hh":return N+=1===M?"sat":2===M||3===M||4===M?"sata":"sati";case"dd":return N+=1===M?"dan":"dana";case"MM":return N+=1===M?"mjesec":2===M||3===M||4===M?"mjeseca":"mjeseci";case"yy":return N+=1===M?"godina":2===M||3===M||4===M?"godine":"godina"}}T.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:v,m:v,mm:v,h:v,hh:v,d:"dan",dd:v,M:"mjesec",MM:v,y:"godinu",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(k(7586))},6291:function(U,J,k){!function(T){"use strict";T.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(w,M){var C=1===w?"r":2===w?"n":3===w?"r":4===w?"t":"\xe8";return("w"===M||"W"===M)&&(C="a"),w+C},week:{dow:1,doy:4}})}(k(7586))},5301:function(U,J,k){!function(T){"use strict";var v={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},w="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),M=[/^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],C=/^(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 I(Q){return Q>1&&Q<5&&1!=~~(Q/10)}function N(Q,$,Z,oe){var se=Q+" ";switch(Z){case"s":return $||oe?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return $||oe?se+(I(Q)?"sekundy":"sekund"):se+"sekundami";case"m":return $?"minuta":oe?"minutu":"minutou";case"mm":return $||oe?se+(I(Q)?"minuty":"minut"):se+"minutami";case"h":return $?"hodina":oe?"hodinu":"hodinou";case"hh":return $||oe?se+(I(Q)?"hodiny":"hodin"):se+"hodinami";case"d":return $||oe?"den":"dnem";case"dd":return $||oe?se+(I(Q)?"dny":"dn\xed"):se+"dny";case"M":return $||oe?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return $||oe?se+(I(Q)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):se+"m\u011bs\xedci";case"y":return $||oe?"rok":"rokem";case"yy":return $||oe?se+(I(Q)?"roky":"let"):se+"lety"}}T.defineLocale("cs",{months:v,monthsShort:w,monthsRegex:C,monthsShortRegex:C,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:M,longMonthsParse:M,shortMonthsParse:M,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:N,ss:N,m:N,mm:N,h:N,hh:N,d:N,dd:N,M:N,MM:N,y:N,yy:N},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},6666:function(U,J,k){!function(T){"use strict";T.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(w){return w+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(w)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(w)?"\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}})}(k(7586))},5163:function(U,J,k){!function(T){"use strict";T.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(w){var C="";return w>20?C=40===w||50===w||60===w||80===w||100===w?"fed":"ain":w>0&&(C=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][w]),w+C},week:{dow:1,doy:4}})}(k(7586))},7360:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},3248:function(U,J,k){!function(T){"use strict";function v(M,C,I,N){var B={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[M+" Tage",M+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[M+" Monate",M+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[M+" Jahre",M+" Jahren"]};return C?B[I][0]:B[I][1]}T.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:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,w:v,ww:"%d Wochen",M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},3222:function(U,J,k){!function(T){"use strict";function v(M,C,I,N){var B={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[M+" Tage",M+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[M+" Monate",M+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[M+" Jahre",M+" Jahren"]};return C?B[I][0]:B[I][1]}T.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:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,w:v,ww:"%d Wochen",M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},5932:function(U,J,k){!function(T){"use strict";function v(M,C,I,N){var B={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[M+" Tage",M+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[M+" Monate",M+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[M+" Jahre",M+" Jahren"]};return C?B[I][0]:B[I][1]}T.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:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,w:v,ww:"%d Wochen",M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},6405:function(U,J,k){!function(T){"use strict";var v=["\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"],w=["\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"];T.defineLocale("dv",{months:v,monthsShort:v,weekdays:w,weekdaysShort:w,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(C){return"\u0789\u078a"===C},meridiem:function(C,I,N){return C<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(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(k(7586))},718:function(U,J,k){!function(T){"use strict";function v(M){return typeof Function<"u"&&M instanceof Function||"[object Function]"===Object.prototype.toString.call(M)}T.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(M,C){return M?"string"==typeof C&&/D/.test(C.substring(0,C.indexOf("MMMM")))?this._monthsGenitiveEl[M.month()]:this._monthsNominativeEl[M.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(M,C,I){return M>11?I?"\u03bc\u03bc":"\u039c\u039c":I?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(M){return"\u03bc"===(M+"").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(M,C){var I=this._calendarEl[M],N=C&&C.hours();return v(I)&&(I=I.apply(C)),I.replace("{}",N%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}})}(k(7586))},6319:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10;return w+(1==~~(w%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:0,doy:4}})}(k(7586))},597:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10;return w+(1==~~(w%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")}})}(k(7586))},1800:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10;return w+(1==~~(w%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(k(7586))},807:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10;return w+(1==~~(w%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(k(7586))},5960:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10;return w+(1==~~(w%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")}})}(k(7586))},4418:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10;return w+(1==~~(w%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:0,doy:6}})}(k(7586))},6865:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10;return w+(1==~~(w%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(k(7586))},2647:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10;return w+(1==~~(w%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(k(7586))},1931:function(U,J,k){!function(T){"use strict";T.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(w){return"p"===w.charAt(0).toLowerCase()},meridiem:function(w,M,C){return w>11?C?"p.t.m.":"P.T.M.":C?"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}})}(k(7586))},1805:function(U,J,k){!function(T){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),w="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;T.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(N,B){return N?/-MMM-/.test(B)?w[N.month()]:v[N.month()]:v},monthsRegex:C,monthsShortRegex:C,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:M,longMonthsParse:M,shortMonthsParse:M,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}})}(k(7586))},3445:function(U,J,k){!function(T){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),w="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;T.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(N,B){return N?/-MMM-/.test(B)?w[N.month()]:v[N.month()]:v},monthsRegex:C,monthsShortRegex:C,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:M,longMonthsParse:M,shortMonthsParse:M,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"})}(k(7586))},1516:function(U,J,k){!function(T){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),w="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;T.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(N,B){return N?/-MMM-/.test(B)?w[N.month()]:v[N.month()]:v},monthsRegex:C,monthsShortRegex:C,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:M,longMonthsParse:M,shortMonthsParse:M,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}})}(k(7586))},6679:function(U,J,k){!function(T){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),w="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),M=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(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;T.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(N,B){return N?/-MMM-/.test(B)?w[N.month()]:v[N.month()]:v},monthsRegex:C,monthsShortRegex:C,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:M,longMonthsParse:M,shortMonthsParse:M,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"})}(k(7586))},8150:function(U,J,k){!function(T){"use strict";function v(M,C,I,N){var B={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[M+"sekundi",M+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[M+" minuti",M+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[M+" tunni",M+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[M+" kuu",M+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[M+" aasta",M+" aastat"]};return C?B[I][2]?B[I][2]:B[I][1]:N?B[I][0]:B[I][1]}T.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:"%d p\xe4eva",M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},757:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},5742:function(U,J,k){!function(T){"use strict";var v={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},w={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};T.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(C){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(C)},meridiem:function(C,I,N){return C<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(C){return C.replace(/[\u06f0-\u06f9]/g,function(I){return w[I]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(I){return v[I]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(k(7586))},3958:function(U,J,k){!function(T){"use strict";var v="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),w=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",v[7],v[8],v[9]];function M(N,B,Q,$){var Z="";switch(Q){case"s":return $?"muutaman sekunnin":"muutama sekunti";case"ss":Z=$?"sekunnin":"sekuntia";break;case"m":return $?"minuutin":"minuutti";case"mm":Z=$?"minuutin":"minuuttia";break;case"h":return $?"tunnin":"tunti";case"hh":Z=$?"tunnin":"tuntia";break;case"d":return $?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":Z=$?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return $?"kuukauden":"kuukausi";case"MM":Z=$?"kuukauden":"kuukautta";break;case"y":return $?"vuoden":"vuosi";case"yy":Z=$?"vuoden":"vuotta"}return Z=C(N,$)+" "+Z}function C(N,B){return N<10?B?w[N]:v[N]:N}T.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:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},6720:function(U,J,k){!function(T){"use strict";T.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(w){return w},week:{dow:1,doy:4}})}(k(7586))},8352:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},2096:function(U,J,k){!function(T){"use strict";T.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(w,M){switch(M){default:case"M":case"Q":case"D":case"DDD":case"d":return w+(1===w?"er":"e");case"w":case"W":return w+(1===w?"re":"e")}}})}(k(7586))},5759:function(U,J,k){!function(T){"use strict";T.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(w,M){switch(M){default:case"M":case"Q":case"D":case"DDD":case"d":return w+(1===w?"er":"e");case"w":case"W":return w+(1===w?"re":"e")}},week:{dow:1,doy:4}})}(k(7586))},4059:function(U,J,k){!function(T){"use strict";var v=/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,w=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,M=/(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,C=[/^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];T.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:M,monthsShortRegex:M,monthsStrictRegex:v,monthsShortStrictRegex:w,monthsParse:C,longMonthsParse:C,shortMonthsParse:C,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(N,B){switch(B){case"D":return N+(1===N?"er":"");default:case"M":case"Q":case"DDD":case"d":return N+(1===N?"er":"e");case"w":case"W":return N+(1===N?"re":"e")}},week:{dow:1,doy:4}})}(k(7586))},5958:function(U,J,k){!function(T){"use strict";var v="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),w="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");T.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(C,I){return C?/-MMM-/.test(I)?w[C.month()]:v[C.month()]:v},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(C){return C+(1===C||8===C||C>=20?"ste":"de")},week:{dow:1,doy:4}})}(k(7586))},4143:function(U,J,k){!function(T){"use strict";var v=["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],w=["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],M=["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],C=["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],I=["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"];T.defineLocale("ga",{months:v,monthsShort:w,monthsParseExact:!0,weekdays:M,weekdaysShort:C,weekdaysMin:I,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(B){return B+(1===B?"d":B%10==2?"na":"mh")},week:{dow:1,doy:4}})}(k(7586))},7028:function(U,J,k){!function(T){"use strict";var v=["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"],w=["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],M=["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],C=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],I=["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"];T.defineLocale("gd",{months:v,monthsShort:w,monthsParseExact:!0,weekdays:M,weekdaysShort:C,weekdaysMin:I,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(B){return B+(1===B?"d":B%10==2?"na":"mh")},week:{dow:1,doy:4}})}(k(7586))},428:function(U,J,k){!function(T){"use strict";T.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(w){return 0===w.indexOf("un")?"n"+w:"en "+w},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}})}(k(7586))},6861:function(U,J,k){!function(T){"use strict";function v(M,C,I,N){var B={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:[M+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",M+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[M+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",M+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[M+" \u0935\u0930\u093e\u0902\u0928\u0940",M+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[M+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",M+" \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:[M+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",M+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[M+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",M+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return N?B[I][0]:B[I][1]}T.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(M,C){return"D"===C?M+"\u0935\u0947\u0930":M},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(M,C){return 12===M&&(M=0),"\u0930\u093e\u0924\u0940"===C?M<4?M:M+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===C?M:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===C?M>12?M:M+12:"\u0938\u093e\u0902\u091c\u0947"===C?M+12:void 0},meridiem:function(M,C,I){return M<4?"\u0930\u093e\u0924\u0940":M<12?"\u0938\u0915\u093e\u0933\u0940\u0902":M<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":M<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(k(7586))},7718:function(U,J,k){!function(T){"use strict";function v(M,C,I,N){var B={s:["thoddea sekondamni","thodde sekond"],ss:[M+" sekondamni",M+" sekond"],m:["eka mintan","ek minut"],mm:[M+" mintamni",M+" mintam"],h:["eka voran","ek vor"],hh:[M+" voramni",M+" voram"],d:["eka disan","ek dis"],dd:[M+" disamni",M+" dis"],M:["eka mhoinean","ek mhoino"],MM:[M+" mhoineamni",M+" mhoine"],y:["eka vorsan","ek voros"],yy:[M+" vorsamni",M+" vorsam"]};return N?B[I][0]:B[I][1]}T.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(M,C){return"D"===C?M+"er":M},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(M,C){return 12===M&&(M=0),"rati"===C?M<4?M:M+12:"sokallim"===C?M:"donparam"===C?M>12?M:M+12:"sanje"===C?M+12:void 0},meridiem:function(M,C,I){return M<4?"rati":M<12?"sokallim":M<16?"donparam":M<20?"sanje":"rati"}})}(k(7586))},6827:function(U,J,k){!function(T){"use strict";var v={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},w={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};T.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(C){return C.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(I){return w[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return v[I]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(C,I){return 12===C&&(C=0),"\u0ab0\u0abe\u0aa4"===I?C<4?C:C+12:"\u0ab8\u0ab5\u0abe\u0ab0"===I?C:"\u0aac\u0aaa\u0acb\u0ab0"===I?C>=10?C:C+12:"\u0ab8\u0abe\u0a82\u0a9c"===I?C+12:void 0},meridiem:function(C,I,N){return C<4?"\u0ab0\u0abe\u0aa4":C<10?"\u0ab8\u0ab5\u0abe\u0ab0":C<17?"\u0aac\u0aaa\u0acb\u0ab0":C<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(k(7586))},1936:function(U,J,k){!function(T){"use strict";T.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(w){return 2===w?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":w+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(w){return 2===w?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":w+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(w){return 2===w?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":w+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(w){return 2===w?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":w%10==0&&10!==w?w+" \u05e9\u05e0\u05d4":w+" \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(w){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(w)},meridiem:function(w,M,C){return w<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":w<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":w<12?C?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":w<18?C?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(k(7586))},1332:function(U,J,k){!function(T){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},w={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},M=[/^\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],C=[/^\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];T.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:M,longMonthsParse:M,shortMonthsParse:C,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(N){return N.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(B){return w[B]})},postformat:function(N){return N.replace(/\d/g,function(B){return v[B]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(N,B){return 12===N&&(N=0),"\u0930\u093e\u0924"===B?N<4?N:N+12:"\u0938\u0941\u092c\u0939"===B?N:"\u0926\u094b\u092a\u0939\u0930"===B?N>=10?N:N+12:"\u0936\u093e\u092e"===B?N+12:void 0},meridiem:function(N,B,Q){return N<4?"\u0930\u093e\u0924":N<10?"\u0938\u0941\u092c\u0939":N<17?"\u0926\u094b\u092a\u0939\u0930":N<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(k(7586))},1957:function(U,J,k){!function(T){"use strict";function v(M,C,I){var N=M+" ";switch(I){case"ss":return N+=1===M?"sekunda":2===M||3===M||4===M?"sekunde":"sekundi";case"m":return C?"jedna minuta":"jedne minute";case"mm":return N+=1===M?"minuta":2===M||3===M||4===M?"minute":"minuta";case"h":return C?"jedan sat":"jednog sata";case"hh":return N+=1===M?"sat":2===M||3===M||4===M?"sata":"sati";case"dd":return N+=1===M?"dan":"dana";case"MM":return N+=1===M?"mjesec":2===M||3===M||4===M?"mjeseca":"mjeseci";case"yy":return N+=1===M?"godina":2===M||3===M||4===M?"godine":"godina"}}T.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:v,m:v,mm:v,h:v,hh:v,d:"dan",dd:v,M:"mjesec",MM:v,y:"godinu",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(k(7586))},8928:function(U,J,k){!function(T){"use strict";var v="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function w(I,N,B,Q){var $=I;switch(B){case"s":return Q||N?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return $+(Q||N)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(Q||N?" perc":" perce");case"mm":return $+(Q||N?" perc":" perce");case"h":return"egy"+(Q||N?" \xf3ra":" \xf3r\xe1ja");case"hh":return $+(Q||N?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(Q||N?" nap":" napja");case"dd":return $+(Q||N?" nap":" napja");case"M":return"egy"+(Q||N?" h\xf3nap":" h\xf3napja");case"MM":return $+(Q||N?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(Q||N?" \xe9v":" \xe9ve");case"yy":return $+(Q||N?" \xe9v":" \xe9ve")}return""}function M(I){return(I?"":"[m\xfalt] ")+"["+v[this.day()]+"] LT[-kor]"}T.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(I){return"u"===I.charAt(1).toLowerCase()},meridiem:function(I,N,B){return I<12?!0===B?"de":"DE":!0===B?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return M.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return M.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},6215:function(U,J,k){!function(T){"use strict";T.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(w){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(w)},meridiem:function(w){return w<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":w<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":w<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(w,M){switch(M){case"DDD":case"w":case"W":case"DDDo":return 1===w?w+"-\u056b\u0576":w+"-\u0580\u0564";default:return w}},week:{dow:1,doy:7}})}(k(7586))},586:function(U,J,k){!function(T){"use strict";T.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(w,M){return 12===w&&(w=0),"pagi"===M?w:"siang"===M?w>=11?w:w+12:"sore"===M||"malam"===M?w+12:void 0},meridiem:function(w,M,C){return w<11?"pagi":w<15?"siang":w<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}})}(k(7586))},211:function(U,J,k){!function(T){"use strict";function v(C){return C%100==11||C%10!=1}function w(C,I,N,B){var Q=C+" ";switch(N){case"s":return I||B?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return v(C)?Q+(I||B?"sek\xfandur":"sek\xfandum"):Q+"sek\xfanda";case"m":return I?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return v(C)?Q+(I||B?"m\xedn\xfatur":"m\xedn\xfatum"):I?Q+"m\xedn\xfata":Q+"m\xedn\xfatu";case"hh":return v(C)?Q+(I||B?"klukkustundir":"klukkustundum"):Q+"klukkustund";case"d":return I?"dagur":B?"dag":"degi";case"dd":return v(C)?I?Q+"dagar":Q+(B?"daga":"d\xf6gum"):I?Q+"dagur":Q+(B?"dag":"degi");case"M":return I?"m\xe1nu\xf0ur":B?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return v(C)?I?Q+"m\xe1nu\xf0ir":Q+(B?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):I?Q+"m\xe1nu\xf0ur":Q+(B?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return I||B?"\xe1r":"\xe1ri";case"yy":return v(C)?Q+(I||B?"\xe1r":"\xe1rum"):Q+(I||B?"\xe1r":"\xe1ri")}}T.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:w,ss:w,m:w,mm:w,h:"klukkustund",hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},2340:function(U,J,k){!function(T){"use strict";T.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(w){return(/^[0-9].+$/.test(w)?"tra":"in")+" "+w},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}})}(k(7586))},170:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},9770:function(U,J,k){!function(T){"use strict";T.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(w,M){return"\u5143"===M[1]?1:parseInt(M[1]||w,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(w){return"\u5348\u5f8c"===w},meridiem:function(w,M,C){return w<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(w){return w.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(w){return this.week()!==w.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(w,M){switch(M){case"y":return 1===w?"\u5143\u5e74":w+"\u5e74";case"d":case"D":case"DDD":return w+"\u65e5";default:return w}},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"}})}(k(7586))},3875:function(U,J,k){!function(T){"use strict";T.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(w,M){return 12===w&&(w=0),"enjing"===M?w:"siyang"===M?w>=11?w:w+12:"sonten"===M||"ndalu"===M?w+12:void 0},meridiem:function(w,M,C){return w<11?"enjing":w<15?"siyang":w<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}})}(k(7586))},9499:function(U,J,k){!function(T){"use strict";T.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(w){return w.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(M,C,I){return"\u10d8"===I?C+"\u10e8\u10d8":C+I+"\u10e8\u10d8"})},past:function(w){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(w)?w.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(w)?w.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):w},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(w){return 0===w?w:1===w?w+"-\u10da\u10d8":w<20||w<=100&&w%20==0||w%100==0?"\u10db\u10d4-"+w:w+"-\u10d4"},week:{dow:1,doy:7}})}(k(7586))},3573:function(U,J,k){!function(T){"use strict";var v={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"};T.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(M){var C=M%10,I=M>=100?100:null;return M+(v[M]||v[C]||v[I])},week:{dow:1,doy:7}})}(k(7586))},8807:function(U,J,k){!function(T){"use strict";var v={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},w={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};T.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(C){return"\u179b\u17d2\u1784\u17b6\u1785"===C},meridiem:function(C,I,N){return C<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(C){return C.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(I){return w[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return v[I]})},week:{dow:1,doy:4}})}(k(7586))},5082:function(U,J,k){!function(T){"use strict";var v={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},w={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};T.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(C){return C.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(I){return w[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return v[I]})},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(C,I){return 12===C&&(C=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===I?C<4?C:C+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===I?C:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===I?C>=10?C:C+12:"\u0cb8\u0c82\u0c9c\u0cc6"===I?C+12:void 0},meridiem:function(C,I,N){return C<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":C<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":C<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":C<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(C){return C+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(k(7586))},137:function(U,J,k){!function(T){"use strict";T.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(w,M){switch(M){case"d":case"D":case"DDD":return w+"\uc77c";case"M":return w+"\uc6d4";case"w":case"W":return w+"\uc8fc";default:return w}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(w){return"\uc624\ud6c4"===w},meridiem:function(w,M,C){return w<12?"\uc624\uc804":"\uc624\ud6c4"}})}(k(7586))},111:function(U,J,k){!function(T){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},w={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},M=["\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"];T.defineLocale("ku",{months:M,monthsShort:M,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(I){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(I)},meridiem:function(I,N,B){return I<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(I){return I.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(N){return w[N]}).replace(/\u060c/g,",")},postformat:function(I){return I.replace(/\d/g,function(N){return v[N]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(k(7586))},9187:function(U,J,k){!function(T){"use strict";var v={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"};T.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(M){var C=M%10,I=M>=100?100:null;return M+(v[M]||v[C]||v[I])},week:{dow:1,doy:7}})}(k(7586))},5969:function(U,J,k){!function(T){"use strict";function v(N,B,Q,$){var Z={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 B?Z[Q][0]:Z[Q][1]}function w(N){return C(N.substr(0,N.indexOf(" ")))?"a "+N:"an "+N}function M(N){return C(N.substr(0,N.indexOf(" ")))?"viru "+N:"virun "+N}function C(N){if(N=parseInt(N,10),isNaN(N))return!1;if(N<0)return!0;if(N<10)return 4<=N&&N<=7;if(N<100){var B=N%10;return C(0===B?N/10:B)}if(N<1e4){for(;N>=10;)N/=10;return C(N)}return C(N/=1e3)}T.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:w,past:M,s:"e puer Sekonnen",ss:"%d Sekonnen",m:v,mm:"%d Minutten",h:v,hh:"%d Stonnen",d:v,dd:"%d Deeg",M:v,MM:"%d M\xe9int",y:v,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},3526:function(U,J,k){!function(T){"use strict";T.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(w){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===w},meridiem:function(w,M,C){return w<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(w){return"\u0e97\u0eb5\u0ec8"+w}})}(k(7586))},411:function(U,J,k){!function(T){"use strict";var v={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 w(Q,$,Z,oe){return $?"kelios sekund\u0117s":oe?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"}function M(Q,$,Z,oe){return $?I(Z)[0]:oe?I(Z)[1]:I(Z)[2]}function C(Q){return Q%10==0||Q>10&&Q<20}function I(Q){return v[Q].split("_")}function N(Q,$,Z,oe){var se=Q+" ";return 1===Q?se+M(Q,$,Z[0],oe):$?se+(C(Q)?I(Z)[1]:I(Z)[0]):oe?se+I(Z)[1]:se+(C(Q)?I(Z)[1]:I(Z)[2])}T.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:w,ss:N,m:M,mm:N,h:M,hh:N,d:M,dd:N,M,MM:N,y:M,yy:N},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(Q){return Q+"-oji"},week:{dow:1,doy:4}})}(k(7586))},2621:function(U,J,k){!function(T){"use strict";var v={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 w(B,Q,$){return $?Q%10==1&&Q%100!=11?B[2]:B[3]:Q%10==1&&Q%100!=11?B[0]:B[1]}function M(B,Q,$){return B+" "+w(v[$],B,Q)}function C(B,Q,$){return w(v[$],B,Q)}function I(B,Q){return Q?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"}T.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:I,ss:M,m:C,mm:M,h:C,hh:M,d:C,dd:M,M:C,MM:M,y:C,yy:M},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},5869:function(U,J,k){!function(T){"use strict";var v={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(M,C){return 1===M?C[0]:M>=2&&M<=4?C[1]:C[2]},translate:function(M,C,I){var N=v.words[I];return 1===I.length?C?N[0]:N[1]:M+" "+v.correctGrammaticalCase(M,N)}};T.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:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"dan",dd:v.translate,M:"mjesec",MM:v.translate,y:"godinu",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(k(7586))},5881:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},2391:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10,C=w%100;return 0===w?w+"-\u0435\u0432":0===C?w+"-\u0435\u043d":C>10&&C<20?w+"-\u0442\u0438":1===M?w+"-\u0432\u0438":2===M?w+"-\u0440\u0438":7===M||8===M?w+"-\u043c\u0438":w+"-\u0442\u0438"},week:{dow:1,doy:7}})}(k(7586))},1126:function(U,J,k){!function(T){"use strict";T.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(w,M){return 12===w&&(w=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===M&&w>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===M||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===M?w+12:w},meridiem:function(w,M,C){return w<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":w<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":w<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":w<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(k(7586))},4892:function(U,J,k){!function(T){"use strict";function v(M,C,I,N){switch(I){case"s":return C?"\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 M+(C?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return M+(C?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return M+(C?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return M+(C?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return M+(C?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return M+(C?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return M}}T.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(M){return"\u04ae\u0425"===M},meridiem:function(M,C,I){return M<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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(M,C){switch(C){case"d":case"D":case"DDD":return M+" \u04e9\u0434\u04e9\u0440";default:return M}}})}(k(7586))},9080:function(U,J,k){!function(T){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},w={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function M(I,N,B,Q){var $="";if(N)switch(B){case"s":$="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":$="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":$="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":$="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":$="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":$="%d \u0924\u093e\u0938";break;case"d":$="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":$="%d \u0926\u093f\u0935\u0938";break;case"M":$="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":$="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":$="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":$="%d \u0935\u0930\u094d\u0937\u0947"}else switch(B){case"s":$="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":$="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":$="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":$="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":$="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":$="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":$="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":$="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":$="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":$="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":$="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":$="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return $.replace(/%d/i,I)}T.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:M,ss:M,m:M,mm:M,h:M,hh:M,d:M,dd:M,M,MM:M,y:M,yy:M},preparse:function(I){return I.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(N){return w[N]})},postformat:function(I){return I.replace(/\d/g,function(N){return v[N]})},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(I,N){return 12===I&&(I=0),"\u092a\u0939\u093e\u091f\u0947"===N||"\u0938\u0915\u093e\u0933\u0940"===N?I:"\u0926\u0941\u092a\u093e\u0930\u0940"===N||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===N||"\u0930\u093e\u0924\u094d\u0930\u0940"===N?I>=12?I:I+12:void 0},meridiem:function(I,N,B){return I>=0&&I<6?"\u092a\u0939\u093e\u091f\u0947":I<12?"\u0938\u0915\u093e\u0933\u0940":I<17?"\u0926\u0941\u092a\u093e\u0930\u0940":I<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(k(7586))},5950:function(U,J,k){!function(T){"use strict";T.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(w,M){return 12===w&&(w=0),"pagi"===M?w:"tengahari"===M?w>=11?w:w+12:"petang"===M||"malam"===M?w+12:void 0},meridiem:function(w,M,C){return w<11?"pagi":w<15?"tengahari":w<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}})}(k(7586))},399:function(U,J,k){!function(T){"use strict";T.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(w,M){return 12===w&&(w=0),"pagi"===M?w:"tengahari"===M?w>=11?w:w+12:"petang"===M||"malam"===M?w+12:void 0},meridiem:function(w,M,C){return w<11?"pagi":w<15?"tengahari":w<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}})}(k(7586))},9902:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},2985:function(U,J,k){!function(T){"use strict";var v={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},w={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};T.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(C){return C.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(I){return w[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return v[I]})},week:{dow:1,doy:4}})}(k(7586))},240:function(U,J,k){!function(T){"use strict";T.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:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},3642:function(U,J,k){!function(T){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},w={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};T.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(C){return C.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(I){return w[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return v[I]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(C,I){return 12===C&&(C=0),"\u0930\u093e\u0924\u093f"===I?C<4?C:C+12:"\u092c\u093f\u0939\u093e\u0928"===I?C:"\u0926\u093f\u0909\u0901\u0938\u094b"===I?C>=10?C:C+12:"\u0938\u093e\u0901\u091d"===I?C+12:void 0},meridiem:function(C,I,N){return C<3?"\u0930\u093e\u0924\u093f":C<12?"\u092c\u093f\u0939\u093e\u0928":C<16?"\u0926\u093f\u0909\u0901\u0938\u094b":C<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}})}(k(7586))},9875:function(U,J,k){!function(T){"use strict";var v="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),w="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),M=[/^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],C=/^(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;T.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(N,B){return N?/-MMM-/.test(B)?w[N.month()]:v[N.month()]:v},monthsRegex:C,monthsShortRegex:C,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:M,longMonthsParse:M,shortMonthsParse:M,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(N){return N+(1===N||8===N||N>=20?"ste":"de")},week:{dow:1,doy:4}})}(k(7586))},5441:function(U,J,k){!function(T){"use strict";var v="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),w="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),M=[/^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],C=/^(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;T.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(N,B){return N?/-MMM-/.test(B)?w[N.month()]:v[N.month()]:v},monthsRegex:C,monthsShortRegex:C,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:M,longMonthsParse:M,shortMonthsParse:M,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(N){return N+(1===N||8===N||N>=20?"ste":"de")},week:{dow:1,doy:4}})}(k(7586))},1311:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},2567:function(U,J,k){!function(T){"use strict";T.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(w,M){var C=1===w?"r":2===w?"n":3===w?"r":4===w?"t":"\xe8";return("w"===M||"W"===M)&&(C="a"),w+C},week:{dow:1,doy:4}})}(k(7586))},6962:function(U,J,k){!function(T){"use strict";var v={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},w={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};T.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(C){return C.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(I){return w[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return v[I]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(C,I){return 12===C&&(C=0),"\u0a30\u0a3e\u0a24"===I?C<4?C:C+12:"\u0a38\u0a35\u0a47\u0a30"===I?C:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===I?C>=10?C:C+12:"\u0a38\u0a3c\u0a3e\u0a2e"===I?C+12:void 0},meridiem:function(C,I,N){return C<4?"\u0a30\u0a3e\u0a24":C<10?"\u0a38\u0a35\u0a47\u0a30":C<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":C<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(k(7586))},1063:function(U,J,k){!function(T){"use strict";var v="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),w="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),M=[/^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 C(B){return B%10<5&&B%10>1&&~~(B/10)%10!=1}function I(B,Q,$){var Z=B+" ";switch($){case"ss":return Z+(C(B)?"sekundy":"sekund");case"m":return Q?"minuta":"minut\u0119";case"mm":return Z+(C(B)?"minuty":"minut");case"h":return Q?"godzina":"godzin\u0119";case"hh":return Z+(C(B)?"godziny":"godzin");case"ww":return Z+(C(B)?"tygodnie":"tygodni");case"MM":return Z+(C(B)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return Z+(C(B)?"lata":"lat")}}T.defineLocale("pl",{months:function(B,Q){return B?/D MMMM/.test(Q)?w[B.month()]:v[B.month()]:v},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:M,longMonthsParse:M,shortMonthsParse:M,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:I,m:I,mm:I,h:I,hh:I,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:I,M:"miesi\u0105c",MM:I,y:"rok",yy:I},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},7476:function(U,J,k){!function(T){"use strict";T.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"})}(k(7586))},8719:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},1004:function(U,J,k){!function(T){"use strict";function v(M,C,I){var B=" ";return(M%100>=20||M>=100&&M%100==0)&&(B=" de "),M+B+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[I]}T.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:v,m:"un minut",mm:v,h:"o or\u0103",hh:v,d:"o zi",dd:v,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:v,M:"o lun\u0103",MM:v,y:"un an",yy:v},week:{dow:1,doy:7}})}(k(7586))},1326:function(U,J,k){!function(T){"use strict";function v(I,N){var B=I.split("_");return N%10==1&&N%100!=11?B[0]:N%10>=2&&N%10<=4&&(N%100<10||N%100>=20)?B[1]:B[2]}function w(I,N,B){return"m"===B?N?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":I+" "+v({ss:N?"\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:N?"\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"}[B],+I)}var M=[/^\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];T.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:M,longMonthsParse:M,shortMonthsParse:M,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(I){if(I.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(I){if(I.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:w,m:w,mm:w,h:"\u0447\u0430\u0441",hh:w,d:"\u0434\u0435\u043d\u044c",dd:w,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:w,M:"\u043c\u0435\u0441\u044f\u0446",MM:w,y:"\u0433\u043e\u0434",yy:w},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(I){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(I)},meridiem:function(I,N,B){return I<4?"\u043d\u043e\u0447\u0438":I<12?"\u0443\u0442\u0440\u0430":I<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(I,N){switch(N){case"M":case"d":case"DDD":return I+"-\u0439";case"D":return I+"-\u0433\u043e";case"w":case"W":return I+"-\u044f";default:return I}},week:{dow:1,doy:4}})}(k(7586))},2608:function(U,J,k){!function(T){"use strict";var v=["\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"],w=["\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"];T.defineLocale("sd",{months:v,monthsShort:v,weekdays:w,weekdaysShort:w,weekdaysMin:w,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(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,I,N){return C<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(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(k(7586))},3911:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},5147:function(U,J,k){!function(T){"use strict";T.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(w){return w+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(w){return"\u0db4.\u0dc0."===w||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===w},meridiem:function(w,M,C){return w>11?C?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":C?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(k(7586))},3741:function(U,J,k){!function(T){"use strict";var v="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),w="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function M(N){return N>1&&N<5}function C(N,B,Q,$){var Z=N+" ";switch(Q){case"s":return B||$?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return B||$?Z+(M(N)?"sekundy":"sek\xfand"):Z+"sekundami";case"m":return B?"min\xfata":$?"min\xfatu":"min\xfatou";case"mm":return B||$?Z+(M(N)?"min\xfaty":"min\xfat"):Z+"min\xfatami";case"h":return B?"hodina":$?"hodinu":"hodinou";case"hh":return B||$?Z+(M(N)?"hodiny":"hod\xedn"):Z+"hodinami";case"d":return B||$?"de\u0148":"d\u0148om";case"dd":return B||$?Z+(M(N)?"dni":"dn\xed"):Z+"d\u0148ami";case"M":return B||$?"mesiac":"mesiacom";case"MM":return B||$?Z+(M(N)?"mesiace":"mesiacov"):Z+"mesiacmi";case"y":return B||$?"rok":"rokom";case"yy":return B||$?Z+(M(N)?"roky":"rokov"):Z+"rokmi"}}T.defineLocale("sk",{months:v,monthsShort:w,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:C,ss:C,m:C,mm:C,h:C,hh:C,d:C,dd:C,M:C,MM:C,y:C,yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},3e3:function(U,J,k){!function(T){"use strict";function v(M,C,I,N){var B=M+" ";switch(I){case"s":return C||N?"nekaj sekund":"nekaj sekundami";case"ss":return B+=1===M?C?"sekundo":"sekundi":2===M?C||N?"sekundi":"sekundah":M<5?C||N?"sekunde":"sekundah":"sekund";case"m":return C?"ena minuta":"eno minuto";case"mm":return B+=1===M?C?"minuta":"minuto":2===M?C||N?"minuti":"minutama":M<5?C||N?"minute":"minutami":C||N?"minut":"minutami";case"h":return C?"ena ura":"eno uro";case"hh":return B+=1===M?C?"ura":"uro":2===M?C||N?"uri":"urama":M<5?C||N?"ure":"urami":C||N?"ur":"urami";case"d":return C||N?"en dan":"enim dnem";case"dd":return B+=1===M?C||N?"dan":"dnem":2===M?C||N?"dni":"dnevoma":C||N?"dni":"dnevi";case"M":return C||N?"en mesec":"enim mesecem";case"MM":return B+=1===M?C||N?"mesec":"mesecem":2===M?C||N?"meseca":"mesecema":M<5?C||N?"mesece":"meseci":C||N?"mesecev":"meseci";case"y":return C||N?"eno leto":"enim letom";case"yy":return B+=1===M?C||N?"leto":"letom":2===M?C||N?"leti":"letoma":M<5?C||N?"leta":"leti":C||N?"let":"leti"}}T.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(k(7586))},451:function(U,J,k){!function(T){"use strict";T.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(w){return"M"===w.charAt(0)},meridiem:function(w,M,C){return w<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}})}(k(7586))},905:function(U,J,k){!function(T){"use strict";var v={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(M,C){return M%10>=1&&M%10<=4&&(M%100<10||M%100>=20)?M%10==1?C[0]:C[1]:C[2]},translate:function(M,C,I,N){var Q,B=v.words[I];return 1===I.length?"y"===I&&C?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":N||C?B[0]:B[1]:(Q=v.correctGrammaticalCase(M,B),"yy"===I&&C&&"\u0433\u043e\u0434\u0438\u043d\u0443"===Q?M+" \u0433\u043e\u0434\u0438\u043d\u0430":M+" "+Q)}};T.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:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:v.translate,dd:v.translate,M:v.translate,MM:v.translate,y:v.translate,yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(k(7586))},5046:function(U,J,k){!function(T){"use strict";var v={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(M,C){return M%10>=1&&M%10<=4&&(M%100<10||M%100>=20)?M%10==1?C[0]:C[1]:C[2]},translate:function(M,C,I,N){var Q,B=v.words[I];return 1===I.length?"y"===I&&C?"jedna godina":N||C?B[0]:B[1]:(Q=v.correctGrammaticalCase(M,B),"yy"===I&&C&&"godinu"===Q?M+" godina":M+" "+Q)}};T.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:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:v.translate,dd:v.translate,M:v.translate,MM:v.translate,y:v.translate,yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(k(7586))},5765:function(U,J,k){!function(T){"use strict";T.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(w,M,C){return w<11?"ekuseni":w<15?"emini":w<19?"entsambama":"ebusuku"},meridiemHour:function(w,M){return 12===w&&(w=0),"ekuseni"===M?w:"emini"===M?w>=11?w:w+12:"entsambama"===M||"ebusuku"===M?0===w?0:w+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(k(7586))},9290:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10;return w+(1==~~(w%100/10)?":e":1===M||2===M?":a":":e")},week:{dow:1,doy:4}})}(k(7586))},3449:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},2688:function(U,J,k){!function(T){"use strict";var v={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},w={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};T.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(C){return C+"\u0bb5\u0ba4\u0bc1"},preparse:function(C){return C.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(I){return w[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return v[I]})},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(C,I,N){return C<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":C<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":C<10?" \u0b95\u0bbe\u0bb2\u0bc8":C<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":C<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":C<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(C,I){return 12===C&&(C=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===I?C<2?C:C+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===I||"\u0b95\u0bbe\u0bb2\u0bc8"===I||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===I&&C>=10?C:C+12},week:{dow:0,doy:6}})}(k(7586))},2060:function(U,J,k){!function(T){"use strict";T.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(w,M){return 12===w&&(w=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===M?w<4?w:w+12:"\u0c09\u0c26\u0c2f\u0c02"===M?w:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===M?w>=10?w:w+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===M?w+12:void 0},meridiem:function(w,M,C){return w<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":w<10?"\u0c09\u0c26\u0c2f\u0c02":w<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":w<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(k(7586))},3290:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10;return w+(1==~~(w%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(k(7586))},8294:function(U,J,k){!function(T){"use strict";var v={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"};T.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(M,C){return 12===M&&(M=0),"\u0448\u0430\u0431"===C?M<4?M:M+12:"\u0441\u0443\u0431\u04b3"===C?M:"\u0440\u04ef\u0437"===C?M>=11?M:M+12:"\u0431\u0435\u0433\u043e\u04b3"===C?M+12:void 0},meridiem:function(M,C,I){return M<4?"\u0448\u0430\u0431":M<11?"\u0441\u0443\u0431\u04b3":M<16?"\u0440\u04ef\u0437":M<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(M){var C=M%10,I=M>=100?100:null;return M+(v[M]||v[C]||v[I])},week:{dow:1,doy:7}})}(k(7586))},1231:function(U,J,k){!function(T){"use strict";T.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(w){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===w},meridiem:function(w,M,C){return w<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"}})}(k(7586))},3746:function(U,J,k){!function(T){"use strict";var v={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"};T.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(M,C){switch(C){case"d":case"D":case"Do":case"DD":return M;default:if(0===M)return M+"'unjy";var I=M%10,N=M%100-I,B=M>=100?100:null;return M+(v[I]||v[N]||v[B])}},week:{dow:1,doy:7}})}(k(7586))},9040:function(U,J,k){!function(T){"use strict";T.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(w){return w},week:{dow:1,doy:4}})}(k(7586))},7187:function(U,J,k){!function(T){"use strict";var v="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function w(B){var Q=B;return Q=-1!==B.indexOf("jaj")?Q.slice(0,-3)+"leS":-1!==B.indexOf("jar")?Q.slice(0,-3)+"waQ":-1!==B.indexOf("DIS")?Q.slice(0,-3)+"nem":Q+" pIq"}function M(B){var Q=B;return Q=-1!==B.indexOf("jaj")?Q.slice(0,-3)+"Hu\u2019":-1!==B.indexOf("jar")?Q.slice(0,-3)+"wen":-1!==B.indexOf("DIS")?Q.slice(0,-3)+"ben":Q+" ret"}function C(B,Q,$,Z){var oe=I(B);switch($){case"ss":return oe+" lup";case"mm":return oe+" tup";case"hh":return oe+" rep";case"dd":return oe+" jaj";case"MM":return oe+" jar";case"yy":return oe+" DIS"}}function I(B){var Q=Math.floor(B%1e3/100),$=Math.floor(B%100/10),Z=B%10,oe="";return Q>0&&(oe+=v[Q]+"vatlh"),$>0&&(oe+=(""!==oe?" ":"")+v[$]+"maH"),Z>0&&(oe+=(""!==oe?" ":"")+v[Z]),""===oe?"pagh":oe}T.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:w,past:M,s:"puS lup",ss:C,m:"wa\u2019 tup",mm:C,h:"wa\u2019 rep",hh:C,d:"wa\u2019 jaj",dd:C,M:"wa\u2019 jar",MM:C,y:"wa\u2019 DIS",yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(k(7586))},153:function(U,J,k){!function(T){"use strict";var v={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"};T.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(M,C,I){return M<12?I?"\xf6\xf6":"\xd6\xd6":I?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(M){return"\xf6s"===M||"\xd6S"===M},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(M,C){switch(C){case"d":case"D":case"Do":case"DD":return M;default:if(0===M)return M+"'\u0131nc\u0131";var I=M%10,N=M%100-I,B=M>=100?100:null;return M+(v[I]||v[N]||v[B])}},week:{dow:1,doy:7}})}(k(7586))},8521:function(U,J,k){!function(T){"use strict";T.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(M){return"d'o"===M.toLowerCase()},meridiem:function(M,C,I){return M>11?I?"d'o":"D'O":I?"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:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function w(M,C,I,N){var B={s:["viensas secunds","'iensas secunds"],ss:[M+" secunds",M+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[M+" m\xeduts",M+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[M+" \xfeoras",M+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[M+" ziuas",M+" ziuas"],M:["'n mes","'iens mes"],MM:[M+" mesen",M+" mesen"],y:["'n ar","'iens ar"],yy:[M+" ars",M+" ars"]};return N||C?B[I][0]:B[I][1]}}(k(7586))},2234:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},8010:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},3349:function(U,J,k){!function(T){"use strict";T.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(w,M){return 12===w&&(w=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===M||"\u0633\u06d5\u06be\u06d5\u0631"===M||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===M?w:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===M||"\u0643\u06d5\u0686"===M?w+12:w>=11?w:w+12},meridiem:function(w,M,C){var I=100*w+M;return I<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":I<900?"\u0633\u06d5\u06be\u06d5\u0631":I<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":I<1230?"\u0686\u06c8\u0634":I<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(w,M){switch(M){case"d":case"D":case"DDD":return w+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return w+"-\u06be\u06d5\u067e\u062a\u06d5";default:return w}},preparse:function(w){return w.replace(/\u060c/g,",")},postformat:function(w){return w.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(k(7586))},8479:function(U,J,k){!function(T){"use strict";function v(N,B){var Q=N.split("_");return B%10==1&&B%100!=11?Q[0]:B%10>=2&&B%10<=4&&(B%100<10||B%100>=20)?Q[1]:Q[2]}function w(N,B,Q){return"m"===Q?B?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===Q?B?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":N+" "+v({ss:B?"\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:B?"\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:B?"\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"}[Q],+N)}function M(N,B){var Q={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===N?Q.nominative.slice(1,7).concat(Q.nominative.slice(0,1)):N?Q[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(B)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(B)?"genitive":"nominative"][N.day()]:Q.nominative}function C(N){return function(){return N+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}T.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:M,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:C("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:C("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:C("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:C("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return C("[\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:w,m:w,mm:w,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:w,d:"\u0434\u0435\u043d\u044c",dd:w,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:w,y:"\u0440\u0456\u043a",yy:w},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(N){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(N)},meridiem:function(N,B,Q){return N<4?"\u043d\u043e\u0447\u0456":N<12?"\u0440\u0430\u043d\u043a\u0443":N<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(N,B){switch(B){case"M":case"d":case"DDD":case"w":case"W":return N+"-\u0439";case"D":return N+"-\u0433\u043e";default:return N}},week:{dow:1,doy:7}})}(k(7586))},3024:function(U,J,k){!function(T){"use strict";var v=["\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"],w=["\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"];T.defineLocale("ur",{months:v,monthsShort:v,weekdays:w,weekdaysShort:w,weekdaysMin:w,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(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,I,N){return C<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(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(k(7586))},2376:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},9800:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},9366:function(U,J,k){!function(T){"use strict";T.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(w){return/^ch$/i.test(w)},meridiem:function(w,M,C){return w<12?C?"sa":"SA":C?"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(w){return w},week:{dow:1,doy:4}})}(k(7586))},9702:function(U,J,k){!function(T){"use strict";T.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(w){var M=w%10;return w+(1==~~(w%100/10)?"th":1===M?"st":2===M?"nd":3===M?"rd":"th")},week:{dow:1,doy:4}})}(k(7586))},2655:function(U,J,k){!function(T){"use strict";T.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}})}(k(7586))},575:function(U,J,k){!function(T){"use strict";T.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(w,M){return 12===w&&(w=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?w:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?w+12:w>=11?w:w+12},meridiem:function(w,M,C){var I=100*w+M;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1130?"\u4e0a\u5348":I<1230?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(w){return w.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(w){return this.week()!==w.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(w,M){switch(M){case"d":case"D":case"DDD":return w+"\u65e5";case"M":return w+"\u6708";case"w":case"W":return w+"\u5468";default:return w}},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}})}(k(7586))},8351:function(U,J,k){!function(T){"use strict";T.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(w,M){return 12===w&&(w=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?w:"\u4e2d\u5348"===M?w>=11?w:w+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?w+12:void 0},meridiem:function(w,M,C){var I=100*w+M;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1200?"\u4e0a\u5348":1200===I?"\u4e2d\u5348":I<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(w,M){switch(M){case"d":case"D":case"DDD":return w+"\u65e5";case"M":return w+"\u6708";case"w":case"W":return w+"\u9031";default:return w}},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"}})}(k(7586))},1626:function(U,J,k){!function(T){"use strict";T.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(w,M){return 12===w&&(w=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?w:"\u4e2d\u5348"===M?w>=11?w:w+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?w+12:void 0},meridiem:function(w,M,C){var I=100*w+M;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1130?"\u4e0a\u5348":I<1230?"\u4e2d\u5348":I<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(w,M){switch(M){case"d":case"D":case"DDD":return w+"\u65e5";case"M":return w+"\u6708";case"w":case"W":return w+"\u9031";default:return w}},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"}})}(k(7586))},8887:function(U,J,k){!function(T){"use strict";T.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(w,M){return 12===w&&(w=0),"\u51cc\u6668"===M||"\u65e9\u4e0a"===M||"\u4e0a\u5348"===M?w:"\u4e2d\u5348"===M?w>=11?w:w+12:"\u4e0b\u5348"===M||"\u665a\u4e0a"===M?w+12:void 0},meridiem:function(w,M,C){var I=100*w+M;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1130?"\u4e0a\u5348":I<1230?"\u4e2d\u5348":I<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(w,M){switch(M){case"d":case"D":case"DDD":return w+"\u65e5";case"M":return w+"\u6708";case"w":case"W":return w+"\u9031";default:return w}},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"}})}(k(7586))},7586:function(U,J,k){(U=k.nmd(U)).exports=function(){"use strict";var T,Ze;function v(){return T.apply(null,arguments)}function w(_){T=_}function M(_){return _ instanceof Array||"[object Array]"===Object.prototype.toString.call(_)}function C(_){return null!=_&&"[object Object]"===Object.prototype.toString.call(_)}function I(_,S){return Object.prototype.hasOwnProperty.call(_,S)}function N(_){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(_).length;var S;for(S in _)if(I(_,S))return!1;return!0}function B(_){return void 0===_}function Q(_){return"number"==typeof _||"[object Number]"===Object.prototype.toString.call(_)}function $(_){return _ instanceof Date||"[object Date]"===Object.prototype.toString.call(_)}function Z(_,S){var O,A=[],V=_.length;for(O=0;O>>0;for(O=0;O0)for(A=0;A=0?A?"+":"":"-")+Math.pow(10,Math.max(0,V)).toString().substr(1)+O}var ht=/(\[[^\[]*\])|(\\)?([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,zn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Pt={},xt={};function Me(_,S,A,O){var V=O;"string"==typeof O&&(V=function(){return this[O]()}),_&&(xt[_]=V),S&&(xt[S[0]]=function(){return vn(V.apply(this,arguments),S[1],S[2])}),A&&(xt[A]=function(){return this.localeData().ordinal(V.apply(this,arguments),_)})}function Cs(_){return _.match(/\[[\s\S]/)?_.replace(/^\[|\]$/g,""):_.replace(/\\/g,"")}function rn(_){var A,O,S=_.match(ht);for(A=0,O=S.length;A=0&&zn.test(_);)_=_.replace(zn,O),zn.lastIndex=0,A-=1;return _}var mt={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"};function Yt(_){var S=this._longDateFormat[_],A=this._longDateFormat[_.toUpperCase()];return S||!A?S:(this._longDateFormat[_]=A.match(ht).map(function(O){return"MMMM"===O||"MM"===O||"DD"===O||"dddd"===O?O.slice(1):O}).join(""),this._longDateFormat[_])}var Rt="Invalid date";function Bt(){return this._invalidDate}var jt="%d",fs=/\d{1,2}/;function At(_){return this._ordinal.replace("%d",_)}var Nt={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"};function Qt(_,S,A,O){var V=this._relativeTime[A];return Te(V)?V(_,S,A,O):V.replace(/%d/i,_)}function Os(_,S){var A=this._relativeTime[_>0?"future":"past"];return Te(A)?A(S):A.replace(/%s/i,S)}var on={};function en(_,S){var A=_.toLowerCase();on[A]=on[A+"s"]=on[S]=_}function En(_){return"string"==typeof _?on[_]||on[_.toLowerCase()]:void 0}function gt(_){var A,O,S={};for(O in _)I(_,O)&&(A=En(O))&&(S[A]=_[O]);return S}var sr={};function Oe(_,S){sr[_]=S}function Tr(_){var A,S=[];for(A in _)I(_,A)&&S.push({unit:A,priority:sr[A]});return S.sort(function(O,V){return O.priority-V.priority}),S}function Xt(_){return _%4==0&&_%100!=0||_%400==0}function Vt(_){return _<0?Math.ceil(_)||0:Math.floor(_)}function Be(_){var S=+_,A=0;return 0!==S&&isFinite(S)&&(A=Vt(S)),A}function qn(_,S){return function(A){return null!=A?(kt(this,_,A),v.updateOffset(this,S),this):_r(this,_)}}function _r(_,S){return _.isValid()?_._d["get"+(_._isUTC?"UTC":"")+S]():NaN}function kt(_,S,A){_.isValid()&&!isNaN(A)&&("FullYear"===S&&Xt(_.year())&&1===_.month()&&29===_.date()?(A=Be(A),_._d["set"+(_._isUTC?"UTC":"")+S](A,_.month(),_a(A,_.month()))):_._d["set"+(_._isUTC?"UTC":"")+S](A))}function Ri(_){return Te(this[_=En(_)])?this[_]():this}function yr(_,S){if("object"==typeof _){var O,A=Tr(_=gt(_)),V=A.length;for(O=0;O68?1900:2e3)};var $t=qn("FullYear",!0);function hn(){return Xt(this.year())}function If(_,S,A,O,V,ee,ye){var ft;return _<100&&_>=0?(ft=new Date(_+400,S,A,O,V,ee,ye),isFinite(ft.getFullYear())&&ft.setFullYear(_)):ft=new Date(_,S,A,O,V,ee,ye),ft}function Nu(_){var S,A;return _<100&&_>=0?((A=Array.prototype.slice.call(arguments))[0]=_+400,S=new Date(Date.UTC.apply(null,A)),isFinite(S.getUTCFullYear())&&S.setUTCFullYear(_)):S=new Date(Date.UTC.apply(null,arguments)),S}function Vo(_,S,A){var O=7+S-A;return-(7+Nu(_,0,O).getUTCDay()-S)%7+O-1}function Et(_,S,A,O,V){var cn,Jn,ft=1+7*(S-1)+(7+A-O)%7+Vo(_,O,V);return ft<=0?Jn=bn(cn=_-1)+ft:ft>bn(_)?(cn=_+1,Jn=ft-bn(_)):(cn=_,Jn=ft),{year:cn,dayOfYear:Jn}}function dt(_,S,A){var ee,ye,O=Vo(_.year(),S,A),V=Math.floor((_.dayOfYear()-O-1)/7)+1;return V<1?ee=V+Oi(ye=_.year()-1,S,A):V>Oi(_.year(),S,A)?(ee=V-Oi(_.year(),S,A),ye=_.year()+1):(ye=_.year(),ee=V),{week:ee,year:ye}}function Oi(_,S,A){var O=Vo(_,S,A),V=Vo(_+1,S,A);return(bn(_)-O+V)/7}function X(_){return dt(_,this._week.dow,this._week.doy).week}Me("w",["ww",2],"wo","week"),Me("W",["WW",2],"Wo","isoWeek"),en("week","w"),en("isoWeek","W"),Oe("week",5),Oe("isoWeek",5),Ue("w",Gn),Ue("ww",Gn,Pn),Ue("W",Gn),Ue("WW",Gn,Pn),oi(["w","ww","W","WW"],function(_,S,A,O){S[O.substr(0,1)]=Be(_)});var uw={dow:0,doy:6};function dw(){return this._week.dow}function hw(){return this._week.doy}function Va(_){var S=this.localeData().week(this);return null==_?S:this.add(7*(_-S),"d")}function wP(_){var S=dt(this,1,4).week;return null==_?S:this.add(7*(_-S),"d")}function a0(_,S){return"string"!=typeof _?_:isNaN(_)?"number"==typeof(_=S.weekdaysParse(_))?_:null:parseInt(_,10)}function pw(_,S){return"string"==typeof _?S.weekdaysParse(_)%7||7:isNaN(_)?null:_}function C_(_,S){return _.slice(S,7).concat(_.slice(0,S))}Me("d",0,"do","day"),Me("dd",0,0,function(_){return this.localeData().weekdaysMin(this,_)}),Me("ddd",0,0,function(_){return this.localeData().weekdaysShort(this,_)}),Me("dddd",0,0,function(_){return this.localeData().weekdays(this,_)}),Me("e",0,0,"weekday"),Me("E",0,0,"isoWeekday"),en("day","d"),en("weekday","e"),en("isoWeekday","E"),Oe("day",11),Oe("weekday",11),Oe("isoWeekday",11),Ue("d",Gn),Ue("e",Gn),Ue("E",Gn),Ue("dd",function(_,S){return S.weekdaysMinRegex(_)}),Ue("ddd",function(_,S){return S.weekdaysShortRegex(_)}),Ue("dddd",function(_,S){return S.weekdaysRegex(_)}),oi(["dd","ddd","dddd"],function(_,S,A,O){var V=A._locale.weekdaysParse(_,O,A._strict);null!=V?S.d=V:_e(A).invalidWeekday=_}),oi(["d","e","E"],function(_,S,A,O){S[O]=Be(_)});var fw="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vh="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),E_="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fu=Il,Ni=Il,Mt=Il;function te(_,S){var A=M(this._weekdays)?this._weekdays:this._weekdays[_&&!0!==_&&this._weekdays.isFormat.test(S)?"format":"standalone"];return!0===_?C_(A,this._week.dow):_?A[_.day()]:A}function G(_){return!0===_?C_(this._weekdaysShort,this._week.dow):_?this._weekdaysShort[_.day()]:this._weekdaysShort}function l0(_){return!0===_?C_(this._weekdaysMin,this._week.dow):_?this._weekdaysMin[_.day()]:this._weekdaysMin}function c0(_,S,A){var O,V,ee,ye=_.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],O=0;O<7;++O)ee=se([2e3,1]).day(O),this._minWeekdaysParse[O]=this.weekdaysMin(ee,"").toLocaleLowerCase(),this._shortWeekdaysParse[O]=this.weekdaysShort(ee,"").toLocaleLowerCase(),this._weekdaysParse[O]=this.weekdays(ee,"").toLocaleLowerCase();return A?"dddd"===S?-1!==(V=ut.call(this._weekdaysParse,ye))?V:null:"ddd"===S?-1!==(V=ut.call(this._shortWeekdaysParse,ye))?V:null:-1!==(V=ut.call(this._minWeekdaysParse,ye))?V:null:"dddd"===S?-1!==(V=ut.call(this._weekdaysParse,ye))||-1!==(V=ut.call(this._shortWeekdaysParse,ye))||-1!==(V=ut.call(this._minWeekdaysParse,ye))?V:null:"ddd"===S?-1!==(V=ut.call(this._shortWeekdaysParse,ye))||-1!==(V=ut.call(this._weekdaysParse,ye))||-1!==(V=ut.call(this._minWeekdaysParse,ye))?V:null:-1!==(V=ut.call(this._minWeekdaysParse,ye))||-1!==(V=ut.call(this._weekdaysParse,ye))||-1!==(V=ut.call(this._shortWeekdaysParse,ye))?V:null}function u0(_,S,A){var O,V,ee;if(this._weekdaysParseExact)return c0.call(this,_,S,A);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),O=0;O<7;O++){if(V=se([2e3,1]).day(O),A&&!this._fullWeekdaysParse[O]&&(this._fullWeekdaysParse[O]=new RegExp("^"+this.weekdays(V,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[O]=new RegExp("^"+this.weekdaysShort(V,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[O]=new RegExp("^"+this.weekdaysMin(V,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[O]||(ee="^"+this.weekdays(V,"")+"|^"+this.weekdaysShort(V,"")+"|^"+this.weekdaysMin(V,""),this._weekdaysParse[O]=new RegExp(ee.replace(".",""),"i")),A&&"dddd"===S&&this._fullWeekdaysParse[O].test(_))return O;if(A&&"ddd"===S&&this._shortWeekdaysParse[O].test(_))return O;if(A&&"dd"===S&&this._minWeekdaysParse[O].test(_))return O;if(!A&&this._weekdaysParse[O].test(_))return O}}function Ce(_){if(!this.isValid())return null!=_?this:NaN;var S=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=_?(_=a0(_,this.localeData()),this.add(_-S,"d")):S}function mw(_){if(!this.isValid())return null!=_?this:NaN;var S=(this.day()+7-this.localeData()._week.dow)%7;return null==_?S:this.add(_-S,"d")}function Ts(_){if(!this.isValid())return null!=_?this:NaN;if(null!=_){var S=pw(_,this.localeData());return this.day(this.day()%7?S:S-7)}return this.day()||7}function Af(_){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||bh.call(this),_?this._weekdaysStrictRegex:this._weekdaysRegex):(I(this,"_weekdaysRegex")||(this._weekdaysRegex=Fu),this._weekdaysStrictRegex&&_?this._weekdaysStrictRegex:this._weekdaysRegex)}function d0(_){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||bh.call(this),_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(I(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ni),this._weekdaysShortStrictRegex&&_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function x_(_){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||bh.call(this),_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(I(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Mt),this._weekdaysMinStrictRegex&&_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function bh(){function _(Xr,Do){return Do.length-Xr.length}var ee,ye,ft,cn,Jn,S=[],A=[],O=[],V=[];for(ee=0;ee<7;ee++)ye=se([2e3,1]).day(ee),ft=vr(this.weekdaysMin(ye,"")),cn=vr(this.weekdaysShort(ye,"")),Jn=vr(this.weekdays(ye,"")),S.push(ft),A.push(cn),O.push(Jn),V.push(ft),V.push(cn),V.push(Jn);S.sort(_),A.sort(_),O.sort(_),V.sort(_),this._weekdaysRegex=new RegExp("^("+V.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+O.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+A.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+S.join("|")+")","i")}function Tc(){return this.hours()%12||12}function Ha(){return this.hours()||24}function Lf(_,S){Me(_,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),S)})}function k_(_,S){return S._meridiemParse}function gw(_){return"p"===(_+"").toLowerCase().charAt(0)}Me("H",["HH",2],0,"hour"),Me("h",["hh",2],0,Tc),Me("k",["kk",2],0,Ha),Me("hmm",0,0,function(){return""+Tc.apply(this)+vn(this.minutes(),2)}),Me("hmmss",0,0,function(){return""+Tc.apply(this)+vn(this.minutes(),2)+vn(this.seconds(),2)}),Me("Hmm",0,0,function(){return""+this.hours()+vn(this.minutes(),2)}),Me("Hmmss",0,0,function(){return""+this.hours()+vn(this.minutes(),2)+vn(this.seconds(),2)}),Lf("a",!0),Lf("A",!1),en("hour","h"),Oe("hour",13),Ue("a",k_),Ue("A",k_),Ue("H",Gn),Ue("h",Gn),Ue("k",Gn),Ue("HH",Gn,Pn),Ue("hh",Gn,Pn),Ue("kk",Gn,Pn),Ue("hmm",ct),Ue("hmmss",Ya),Ue("Hmm",ct),Ue("Hmmss",Ya),Dt(["H","HH"],Kn),Dt(["k","kk"],function(_,S,A){var O=Be(_);S[Kn]=24===O?0:O}),Dt(["a","A"],function(_,S,A){A._isPm=A._locale.isPM(_),A._meridiem=_}),Dt(["h","hh"],function(_,S,A){S[Kn]=Be(_),_e(A).bigHour=!0}),Dt("hmm",function(_,S,A){var O=_.length-2;S[Kn]=Be(_.substr(0,O)),S[ks]=Be(_.substr(O)),_e(A).bigHour=!0}),Dt("hmmss",function(_,S,A){var O=_.length-4,V=_.length-2;S[Kn]=Be(_.substr(0,O)),S[ks]=Be(_.substr(O,2)),S[ai]=Be(_.substr(V)),_e(A).bigHour=!0}),Dt("Hmm",function(_,S,A){var O=_.length-2;S[Kn]=Be(_.substr(0,O)),S[ks]=Be(_.substr(O))}),Dt("Hmmss",function(_,S,A){var O=_.length-4,V=_.length-2;S[Kn]=Be(_.substr(0,O)),S[ks]=Be(_.substr(O,2)),S[ai]=Be(_.substr(V))});var Ie=/[ap]\.?m?\.?/i,Pf=qn("Hours",!0);function Rf(_,S,A){return _>11?A?"pm":"PM":A?"am":"AM"}var Ll,Ic={calendar:gr,longDateFormat:mt,invalidDate:Rt,ordinal:jt,dayOfMonthOrdinalParse:fs,relativeTime:Nt,months:yh,monthsShort:xc,week:uw,weekdays:fw,weekdaysMin:E_,weekdaysShort:vh,meridiemParse:Ie},us={},ya={};function h0(_,S){var A,O=Math.min(_.length,S.length);for(A=0;A0;){if(V=Ac(ee.slice(0,A).join("-")))return V;if(O&&O.length>=A&&h0(ee,O)>=A-1)break;A--}S++}return Ll}function T_(_){return null!=_.match("^[^/\\\\]*$")}function Ac(_){var S=null;if(void 0===us[_]&&U&&U.exports&&T_(_))try{S=Ll._abbr,k(5358)("./"+_),Lr(S)}catch{us[_]=null}return us[_]}function Lr(_,S){var A;return _&&((A=B(S)?bo(_):Lc(_,S))?Ll=A:typeof console<"u"&&console.warn&&console.warn("Locale "+_+" not found. Did you forget to load it?")),Ll._abbr}function Lc(_,S){if(null!==S){var A,O=Ic;if(S.abbr=_,null!=us[_])fe("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),O=us[_]._config;else if(null!=S.parentLocale)if(null!=us[S.parentLocale])O=us[S.parentLocale]._config;else{if(null==(A=Ac(S.parentLocale)))return ya[S.parentLocale]||(ya[S.parentLocale]=[]),ya[S.parentLocale].push({name:_,config:S}),null;O=A._config}return us[_]=new ls(St(O,S)),ya[_]&&ya[_].forEach(function(V){Lc(V.name,V.config)}),Lr(_),us[_]}return delete us[_],null}function Pc(_,S){if(null!=S){var A,O,V=Ic;null!=us[_]&&null!=us[_].parentLocale?us[_].set(St(us[_]._config,S)):(null!=(O=Ac(_))&&(V=O._config),S=St(V,S),null==O&&(S.abbr=_),(A=new ls(S)).parentLocale=us[_],us[_]=A),Lr(_)}else null!=us[_]&&(null!=us[_].parentLocale?(us[_]=us[_].parentLocale,_===Lr()&&Lr(_)):null!=us[_]&&delete us[_]);return us[_]}function bo(_){var S;if(_&&_._locale&&_._locale._abbr&&(_=_._locale._abbr),!_)return Ll;if(!M(_)){if(S=Ac(_))return S;_=[_]}return _w(_)}function Ua(){return Ks(us)}function Rc(_){var S,A=_._a;return A&&-2===_e(_).overflow&&(S=A[Ut]<0||A[Ut]>11?Ut:A[gs]<1||A[gs]>_a(A[xs],A[Ut])?gs:A[Kn]<0||A[Kn]>24||24===A[Kn]&&(0!==A[ks]||0!==A[ai]||0!==A[cs])?Kn:A[ks]<0||A[ks]>59?ks:A[ai]<0||A[ai]>59?ai:A[cs]<0||A[cs]>999?cs:-1,_e(_)._overflowDayOfYear&&(Sgs)&&(S=gs),_e(_)._overflowWeeks&&-1===S&&(S=Tf),_e(_)._overflowWeekday&&-1===S&&(S=ja),_e(_).overflow=S),_}var I_=/^\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)?)?$/,Wt=/^\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)?)?$/,jn=/Z|[+-]\d\d(?::?\d\d)?/,Yu=[["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]],wh=[["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/]],br=/^\/?Date\((-?\d+)/i,Ho=/^(?:(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}))$/,Nf={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function va(_){var S,A,ee,ye,ft,cn,O=_._i,V=I_.exec(O)||Wt.exec(O),Jn=Yu.length,Xr=wh.length;if(V){for(_e(_).iso=!0,S=0,A=Jn;Sbn(ye)||0===_._dayOfYear)&&(_e(_)._overflowDayOfYear=!0),A=Nu(ye,0,_._dayOfYear),_._a[Ut]=A.getUTCMonth(),_._a[gs]=A.getUTCDate()),S=0;S<3&&null==_._a[S];++S)_._a[S]=O[S]=V[S];for(;S<7;S++)_._a[S]=O[S]=null==_._a[S]?2===S?1:0:_._a[S];24===_._a[Kn]&&0===_._a[ks]&&0===_._a[ai]&&0===_._a[cs]&&(_._nextDay=!0,_._a[Kn]=0),_._d=(_._useUTC?Nu:If).apply(null,O),ee=_._useUTC?_._d.getUTCDay():_._d.getDay(),null!=_._tzm&&_._d.setUTCMinutes(_._d.getUTCMinutes()-_._tzm),_._nextDay&&(_._a[Kn]=24),_._w&&typeof _._w.d<"u"&&_._w.d!==ee&&(_e(_).weekdayMismatch=!0)}}function yw(_){var S,A,O,V,ee,ye,ft,cn,Jn;null!=(S=_._w).GG||null!=S.W||null!=S.E?(ee=1,ye=4,A=Uo(S.GG,_._a[xs],dt(Vn(),1,4).year),O=Uo(S.W,1),((V=Uo(S.E,1))<1||V>7)&&(cn=!0)):(ee=_._locale._week.dow,ye=_._locale._week.doy,Jn=dt(Vn(),ee,ye),A=Uo(S.gg,_._a[xs],Jn.year),O=Uo(S.w,Jn.week),null!=S.d?((V=S.d)<0||V>6)&&(cn=!0):null!=S.e?(V=S.e+ee,(S.e<0||S.e>6)&&(cn=!0)):V=ee),O<1||O>Oi(A,ee,ye)?_e(_)._overflowWeeks=!0:null!=cn?_e(_)._overflowWeekday=!0:(ft=Et(A,O,V,ee,ye),_._a[xs]=ft.year,_._dayOfYear=ft.dayOfYear)}function Bf(_){if(_._f!==v.ISO_8601)if(_._f!==v.RFC_2822){_._a=[],_e(_).empty=!0;var A,O,V,ee,ye,Jn,Xr,S=""+_._i,ft=S.length,cn=0;for(Xr=(V=Rs(_._f,_._locale).match(ht)||[]).length,A=0;A0&&_e(_).unusedInput.push(ye),S=S.slice(S.indexOf(O)+O.length),cn+=O.length),xt[ee]?(O?_e(_).empty=!1:_e(_).unusedTokens.push(ee),Ki(ee,O,_)):_._strict&&!O&&_e(_).unusedTokens.push(ee);_e(_).charsLeftOver=ft-cn,S.length>0&&_e(_).unusedInput.push(S),_._a[Kn]<=12&&!0===_e(_).bigHour&&_._a[Kn]>0&&(_e(_).bigHour=void 0),_e(_).parsedDateParts=_._a.slice(0),_e(_).meridiem=_._meridiem,_._a[Kn]=jf(_._locale,_._a[Kn],_._meridiem),null!==(Jn=_e(_).era)&&(_._a[xs]=_._locale.erasConvertYear(Jn,_._a[xs])),Rl(_),Rc(_)}else A_(_);else va(_)}function jf(_,S,A){var O;return null==A?S:null!=_.meridiemHour?_.meridiemHour(S,A):(null!=_.isPM&&((O=_.isPM(A))&&S<12&&(S+=12),!O&&12===S&&(S=0)),S)}function Oc(_){var S,A,O,V,ee,ye,ft=!1,cn=_._f.length;if(0===cn)return _e(_).invalidFormat=!0,void(_._d=new Date(NaN));for(V=0;Vthis?this:_:Je()});function Nl(_,S){var A,O;if(1===S.length&&M(S[0])&&(S=S[0]),!S.length)return Vn();for(A=S[0],O=1;Othis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ga(){if(!B(this._isDSTShifted))return this._isDSTShifted;var S,_={};return Ee(_,this),(_=Xs(_))._a?(S=_._isUTC?se(_._a):Vn(_._a),this._isDSTShifted=this.isValid()&&qo(_._a,S.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function vi(){return!!this.isValid()&&!this._isUTC}function wo(){return!!this.isValid()&&this._isUTC}function In(){return!!this.isValid()&&this._isUTC&&0===this._offset}v.updateOffset=function(){};var _n=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vf=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ns(_,S){var V,ee,ye,A=_,O=null;return Wo(_)?A={ms:_._milliseconds,d:_._days,M:_._months}:Q(_)||!isNaN(+_)?(A={},S?A[S]=+_:A.milliseconds=+_):(O=_n.exec(_))?(V="-"===O[1]?-1:1,A={y:0,d:Be(O[gs])*V,h:Be(O[Kn])*V,m:Be(O[ks])*V,s:Be(O[ai])*V,ms:Be(or(1e3*O[cs]))*V}):(O=Vf.exec(_))?(V="-"===O[1]?-1:1,A={y:ar(O[2],V),M:ar(O[3],V),w:ar(O[4],V),d:ar(O[5],V),h:ar(O[6],V),m:ar(O[7],V),s:ar(O[8],V)}):null==A?A={}:"object"==typeof A&&("from"in A||"to"in A)&&(ye=Wr(Vn(A.from),Vn(A.to)),(A={}).ms=ye.milliseconds,A.M=ye.months),ee=new zo(A),Wo(_)&&I(_,"_locale")&&(ee._locale=_._locale),Wo(_)&&I(_,"_isValid")&&(ee._isValid=_._isValid),ee}function ar(_,S){var A=_&&parseFloat(_.replace(",","."));return(isNaN(A)?0:A)*S}function wa(_,S){var A={};return A.months=S.month()-_.month()+12*(S.year()-_.year()),_.clone().add(A.months,"M").isAfter(S)&&--A.months,A.milliseconds=+S-+_.clone().add(A.months,"M"),A}function Wr(_,S){var A;return _.isValid()&&S.isValid()?(S=ba(S,_),_.isBefore(S)?A=wa(_,S):((A=wa(S,_)).milliseconds=-A.milliseconds,A.months=-A.months),A):{milliseconds:0,months:0}}function Ko(_,S){return function(A,O){var ee;return null!==O&&!isNaN(+O)&&(fe(S,"moment()."+S+"(period, number) is deprecated. Please use moment()."+S+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),ee=A,A=O,O=ee),Mh(this,Ns(A,O),_),this}}function Mh(_,S,A,O){var V=S._milliseconds,ee=or(S._days),ye=or(S._months);_.isValid()&&(O=O??!0,ye&&Ou(_,_r(_,"Month")+ye*A),ee&&kt(_,"Date",_r(_,"Date")+ee*A),V&&_._d.setTime(_._d.valueOf()+V*A),O&&v.updateOffset(_,ee||ye))}Ns.fn=zo.prototype,Ns.invalid=Fl;var Bu=Ko(1,"add"),ju=Ko(-1,"subtract");function Sa(_){return"string"==typeof _||_ instanceof String}function Ka(_){return Re(_)||$(_)||Sa(_)||Q(_)||Ch(_)||Vu(_)||null==_}function Vu(_){var V,ee,S=C(_)&&!N(_),A=!1,O=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],ye=O.length;for(V=0;VA.valueOf():A.valueOf()9999?Wn(A,S?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Te(Date.prototype.toISOString)?S?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Wn(A,"Z")):Wn(A,S?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Hu(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var A,O,V,ee,_="moment",S="";return this.isLocal()||(_=0===this.utcOffset()?"moment.utc":"moment.parseZone",S="Z"),A="["+_+'("]',O=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",V="-MM-DD[T]HH:mm:ss.SSS",ee=S+'[")]',this.format(A+O+V+ee)}function Uu(_){_||(_=this.isUtc()?v.defaultFormatUtc:v.defaultFormat);var S=Wn(this,_);return this.localeData().postformat(S)}function Wf(_,S){return this.isValid()&&(Re(_)&&_.isValid()||Vn(_).isValid())?Ns({to:this,from:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()}function Eh(_){return this.from(Vn(),_)}function vs(_,S){return this.isValid()&&(Re(_)&&_.isValid()||Vn(_).isValid())?Ns({from:this,to:_}).locale(this.locale()).humanize(!S):this.localeData().invalidDate()}function qf(_){return this.to(Vn(),_)}function Ge(_){var S;return void 0===_?this._locale._abbr:(null!=(S=bo(_))&&(this._locale=S),this)}v.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",v.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var qr=ne("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(_){return void 0===_?this.localeData():this.locale(_)});function tn(){return this._locale}var On=1e3,bs=60*On,Gr=60*bs,Dr=3506328*Gr;function Qa(_,S){return(_%S+S)%S}function Gf(_,S,A){return _<100&&_>=0?new Date(_+400,S,A)-Dr:new Date(_,S,A).valueOf()}function Qn(_,S,A){return _<100&&_>=0?Date.UTC(_+400,S,A)-Dr:Date.UTC(_,S,A)}function bi(_){var S,A;if(void 0===(_=En(_))||"millisecond"===_||!this.isValid())return this;switch(A=this._isUTC?Qn:Gf,_){case"year":S=A(this.year(),0,1);break;case"quarter":S=A(this.year(),this.month()-this.month()%3,1);break;case"month":S=A(this.year(),this.month(),1);break;case"week":S=A(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":S=A(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":S=A(this.year(),this.month(),this.date());break;case"hour":S=this._d.valueOf(),S-=Qa(S+(this._isUTC?0:this.utcOffset()*bs),Gr);break;case"minute":S=this._d.valueOf(),S-=Qa(S,bs);break;case"second":S=this._d.valueOf(),S-=Qa(S,On)}return this._d.setTime(S),v.updateOffset(this,!0),this}function Xo(_){var S,A;if(void 0===(_=En(_))||"millisecond"===_||!this.isValid())return this;switch(A=this._isUTC?Qn:Gf,_){case"year":S=A(this.year()+1,0,1)-1;break;case"quarter":S=A(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":S=A(this.year(),this.month()+1,1)-1;break;case"week":S=A(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":S=A(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":S=A(this.year(),this.month(),this.date()+1)-1;break;case"hour":S=this._d.valueOf(),S+=Gr-Qa(S+(this._isUTC?0:this.utcOffset()*bs),Gr)-1;break;case"minute":S=this._d.valueOf(),S+=bs-Qa(S,bs)-1;break;case"second":S=this._d.valueOf(),S+=On-Qa(S,On)-1}return this._d.setTime(S),v.updateOffset(this,!0),this}function li(){return this._d.valueOf()-6e4*(this._offset||0)}function Fc(){return Math.floor(this.valueOf()/1e3)}function Zo(){return new Date(this.valueOf())}function Jo(){var _=this;return[_.year(),_.month(),_.date(),_.hour(),_.minute(),_.second(),_.millisecond()]}function Da(){var _=this;return{years:_.year(),months:_.month(),date:_.date(),hours:_.hours(),minutes:_.minutes(),seconds:_.seconds(),milliseconds:_.milliseconds()}}function Vl(){return this.isValid()?this.toISOString():null}function Y_(){return lt(this)}function Sw(){return oe({},_e(this))}function Kf(){return _e(this).overflow}function B_(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function j_(_,S){var A,O,V,ee=this._eras||bo("en")._eras;for(A=0,O=ee.length;A=0)return ee[O]}function Dw(_,S){var A=_.since<=_.until?1:-1;return void 0===S?v(_.since).year():v(_.since).year()+(S-_.offset)*A}function Qf(){var _,S,A,O=this.localeData().eras();for(_=0,S=O.length;_(ee=Oi(_,O,V))&&(S=ee),Th.call(this,_,S,A,O,V))}function Th(_,S,A,O,V){var ee=Et(_,S,A,O,V),ye=Nu(ee.year,0,ee.dayOfYear);return this.year(ye.getUTCFullYear()),this.month(ye.getUTCMonth()),this.date(ye.getUTCDate()),this}function tm(_){return null==_?Math.ceil((this.month()+1)/3):this.month(3*(_-1)+this.month()%3)}Me("N",0,0,"eraAbbr"),Me("NN",0,0,"eraAbbr"),Me("NNN",0,0,"eraAbbr"),Me("NNNN",0,0,"eraName"),Me("NNNNN",0,0,"eraNarrow"),Me("y",["y",1],"yo","eraYear"),Me("y",["yy",2],0,"eraYear"),Me("y",["yyy",3],0,"eraYear"),Me("y",["yyyy",4],0,"eraYear"),Ue("N",$u),Ue("NN",$u),Ue("NNN",$u),Ue("NNNN",xh),Ue("NNNNN",Mw),Dt(["N","NN","NNN","NNNN","NNNNN"],function(_,S,A,O){var V=A._locale.erasParse(_,O,A._strict);V?_e(A).era=V:_e(A).invalidEra=_}),Ue("y",Ec),Ue("yy",Ec),Ue("yyy",Ec),Ue("yyyy",Ec),Ue("yo",Jf),Dt(["y","yy","yyy","yyyy"],xs),Dt(["yo"],function(_,S,A,O){var V;A._locale._eraYearOrdinalRegex&&(V=_.match(A._locale._eraYearOrdinalRegex)),A._locale.eraYearOrdinalParse?S[xs]=A._locale.eraYearOrdinalParse(_,V):S[xs]=parseInt(_,10)}),Me(0,["gg",2],0,function(){return this.weekYear()%100}),Me(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ea("gggg","weekYear"),ea("ggggg","weekYear"),ea("GGGG","isoWeekYear"),ea("GGGGG","isoWeekYear"),en("weekYear","gg"),en("isoWeekYear","GG"),Oe("weekYear",1),Oe("isoWeekYear",1),Ue("G",kl),Ue("g",kl),Ue("GG",Gn,Pn),Ue("gg",Gn,Pn),Ue("GGGG",Ht,ii),Ue("gggg",Ht,ii),Ue("GGGGG",Pu,Es),Ue("ggggg",Pu,Es),oi(["gggg","ggggg","GGGG","GGGGG"],function(_,S,A,O){S[O.substr(0,2)]=Be(_)}),oi(["gg","GG"],function(_,S,A,O){S[O]=v.parseTwoDigitYear(_)}),Me("Q",0,"Qo","quarter"),en("quarter","Q"),Oe("quarter",7),Ue("Q",Ct),Dt("Q",function(_,S){S[Ut]=3*(Be(_)-1)}),Me("D",["DD",2],"Do","date"),en("date","D"),Oe("date",9),Ue("D",Gn),Ue("DD",Gn,Pn),Ue("Do",function(_,S){return _?S._dayOfMonthOrdinalParse||S._ordinalParse:S._dayOfMonthOrdinalParseLenient}),Dt(["D","DD"],gs),Dt("Do",function(_,S){S[gs]=Be(_.match(Gn)[0])});var $s=qn("Date",!0);function H_(_){var S=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==_?S:this.add(_-S,"d")}Me("DDD",["DDDD",3],"DDDo","dayOfYear"),en("dayOfYear","DDD"),Oe("dayOfYear",4),Ue("DDD",Us),Ue("DDDD",Cc),Dt(["DDD","DDDD"],function(_,S,A){A._dayOfYear=Be(_)}),Me("m",["mm",2],0,"minute"),en("minute","m"),Oe("minute",14),Ue("m",Gn),Ue("mm",Gn,Pn),Dt(["m","mm"],ks);var U_=qn("Minutes",!1);Me("s",["ss",2],0,"second"),en("second","s"),Oe("second",15),Ue("s",Gn),Ue("ss",Gn,Pn),Dt(["s","ss"],ai);var Ma,Ew,zu=qn("Seconds",!1);for(Me("S",0,0,function(){return~~(this.millisecond()/100)}),Me(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Me(0,["SSS",3],0,"millisecond"),Me(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Me(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Me(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Me(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Me(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Me(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),en("millisecond","ms"),Oe("millisecond",16),Ue("S",Us,Ct),Ue("SS",Us,Pn),Ue("SSS",Us,Cc),Ma="SSSS";Ma.length<=9;Ma+="S")Ue(Ma,Ec);function nm(_,S){S[cs]=Be(1e3*("0."+_))}for(Ma="S";Ma.length<=9;Ma+="S")Dt(Ma,nm);function Wu(){return this._isUTC?"UTC":""}function sm(){return this._isUTC?"Coordinated Universal Time":""}Ew=qn("Milliseconds",!1),Me("z",0,0,"zoneAbbr"),Me("zz",0,0,"zoneName");var Pe=Ne.prototype;function Ul(_){return Vn(1e3*_)}function Bc(){return Vn.apply(null,arguments).parseZone()}function ds(_){return _}Pe.add=Bu,Pe.calendar=Bl,Pe.clone=vw,Pe.diff=Qo,Pe.endOf=Xo,Pe.format=Uu,Pe.from=Wf,Pe.fromNow=Eh,Pe.to=vs,Pe.toNow=qf,Pe.get=Ri,Pe.invalidAt=Kf,Pe.isAfter=So,Pe.isBefore=bw,Pe.isBetween=Uf,Pe.isSame=ww,Pe.isSameOrAfter=N_,Pe.isSameOrBefore=F_,Pe.isValid=Y_,Pe.lang=qr,Pe.locale=Ge,Pe.localeData=tn,Pe.max=$o,Pe.min=de,Pe.parsingFlags=Sw,Pe.set=yr,Pe.startOf=bi,Pe.subtract=ju,Pe.toArray=Jo,Pe.toObject=Da,Pe.toDate=Zo,Pe.toISOString=zf,Pe.inspect=Hu,typeof Symbol<"u"&&null!=Symbol.for&&(Pe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Pe.toJSON=Vl,Pe.toString=$f,Pe.unix=Fc,Pe.valueOf=li,Pe.creationData=B_,Pe.eraName=Qf,Pe.eraNarrow=Yc,Pe.eraAbbr=Xf,Pe.eraYear=Zf,Pe.year=$t,Pe.isLeapYear=hn,Pe.weekYear=Hl,Pe.isoWeekYear=Cw,Pe.quarter=Pe.quarters=tm,Pe.month=_t,Pe.daysInMonth=Le,Pe.week=Pe.weeks=Va,Pe.isoWeek=Pe.isoWeeks=wP,Pe.weeksInYear=V_,Pe.weeksInWeekYear=kh,Pe.isoWeeksInYear=em,Pe.isoWeeksInISOWeekYear=eo,Pe.date=$s,Pe.day=Pe.days=Ce,Pe.weekday=mw,Pe.isoWeekday=Ts,Pe.dayOfYear=H_,Pe.hour=Pe.hours=Pf,Pe.minute=Pe.minutes=U_,Pe.second=Pe.seconds=zu,Pe.millisecond=Pe.milliseconds=Ew,Pe.utcOffset=Xi,Pe.utc=P_,Pe.local=R_,Pe.parseZone=Zi,Pe.hasAlignedHourOffset=O_,Pe.isDST=qa,Pe.isLocal=vi,Pe.isUtcOffset=wo,Pe.isUtc=In,Pe.isUTC=In,Pe.zoneAbbr=Wu,Pe.zoneName=sm,Pe.dates=ne("dates accessor is deprecated. Use date instead.",$s),Pe.months=ne("months accessor is deprecated. Use month instead",_t),Pe.years=ne("years accessor is deprecated. Use year instead",$t),Pe.zone=ne("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",L_),Pe.isDSTShifted=ne("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ga);var we=ls.prototype;function We(_,S,A,O){var V=bo(),ee=se().set(O,S);return V[A](ee,_)}function Fs(_,S,A){if(Q(_)&&(S=_,_=void 0),_=_||"",null!=S)return We(_,S,A,"month");var O,V=[];for(O=0;O<12;O++)V[O]=We(_,O,A,"month");return V}function Rn(_,S,A,O){"boolean"==typeof _?(Q(S)&&(A=S,S=void 0),S=S||""):(A=S=_,_=!1,Q(S)&&(A=S,S=void 0),S=S||"");var ye,V=bo(),ee=_?V._week.dow:0,ft=[];if(null!=A)return We(S,(A+ee)%7,O,"day");for(ye=0;ye<7;ye++)ft[ye]=We(S,(ye+ee)%7,O,"day");return ft}function Yr(_,S){return Fs(_,S,"months")}function ci(_,S){return Fs(_,S,"monthsShort")}function $l(_,S,A){return Rn(_,S,A,"weekdays")}function os(_,S,A){return Rn(_,S,A,"weekdaysShort")}function Zs(_,S,A){return Rn(_,S,A,"weekdaysMin")}we.calendar=Jt,we.longDateFormat=Yt,we.invalidDate=Bt,we.ordinal=At,we.preparse=ds,we.postformat=ds,we.relativeTime=Qt,we.pastFuture=Os,we.set=He,we.eras=j_,we.erasParse=Xa,we.erasConvertYear=Dw,we.erasAbbrRegex=It,we.erasNameRegex=Tt,we.erasNarrowRegex=ln,we.months=rr,we.monthsShort=jo,we.monthsParse=Ru,we.monthsRegex=Ar,we.monthsShortRegex=_s,we.week=X,we.firstDayOfYear=hw,we.firstDayOfWeek=dw,we.weekdays=te,we.weekdaysMin=l0,we.weekdaysShort=G,we.weekdaysParse=u0,we.weekdaysRegex=Af,we.weekdaysShortRegex=d0,we.weekdaysMinRegex=x_,we.isPM=gw,we.meridiem=Rf,Lr("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(_){var S=_%10;return _+(1===Be(_%100/10)?"th":1===S?"st":2===S?"nd":3===S?"rd":"th")}}),v.lang=ne("moment.lang is deprecated. Use moment.locale instead.",Lr),v.langData=ne("moment.langData is deprecated. Use moment.localeData instead.",bo);var Mr=Math.abs;function Ot(){var _=this._data;return this._milliseconds=Mr(this._milliseconds),this._days=Mr(this._days),this._months=Mr(this._months),_.milliseconds=Mr(_.milliseconds),_.seconds=Mr(_.seconds),_.minutes=Mr(_.minutes),_.hours=Mr(_.hours),_.months=Mr(_.months),_.years=Mr(_.years),this}function jc(_,S,A,O){var V=Ns(S,A);return _._milliseconds+=O*V._milliseconds,_._days+=O*V._days,_._months+=O*V._months,_._bubble()}function qu(_,S){return jc(this,_,S,1)}function Br(_,S){return jc(this,_,S,-1)}function hs(_){return _<0?Math.floor(_):Math.ceil(_)}function Ys(){var V,ee,ye,ft,cn,_=this._milliseconds,S=this._days,A=this._months,O=this._data;return _>=0&&S>=0&&A>=0||_<=0&&S<=0&&A<=0||(_+=864e5*hs(Fi(A)+S),S=0,A=0),O.milliseconds=_%1e3,V=Vt(_/1e3),O.seconds=V%60,ee=Vt(V/60),O.minutes=ee%60,ye=Vt(ee/60),O.hours=ye%24,S+=Vt(ye/24),A+=cn=Vt(zl(S)),S-=hs(Fi(cn)),ft=Vt(A/12),A%=12,O.days=S,O.months=A,O.years=ft,this}function zl(_){return 4800*_/146097}function Fi(_){return 146097*_/4800}function to(_){if(!this.isValid())return NaN;var S,A,O=this._milliseconds;if("month"===(_=En(_))||"quarter"===_||"year"===_)switch(S=this._days+O/864e5,A=this._months+zl(S),_){case"month":return A;case"quarter":return A/3;case"year":return A/12}else switch(S=this._days+Math.round(Fi(this._months)),_){case"week":return S/7+O/6048e5;case"day":return S+O/864e5;case"hour":return 24*S+O/36e5;case"minute":return 1440*S+O/6e4;case"second":return 86400*S+O/1e3;case"millisecond":return Math.floor(864e5*S)+O;default:throw new Error("Unknown unit "+_)}}function rm(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Be(this._months/12):NaN}function jr(_){return function(){return this.as(_)}}var Vc=jr("ms"),Yi=jr("s"),st=jr("m"),Wl=jr("h"),Hc=jr("d"),no=jr("w"),Ih=jr("M"),Ca=jr("Q"),ws=jr("y");function Bi(){return Ns(this)}function Xn(_){return _=En(_),this.isValid()?this[_+"s"]():NaN}function zs(_){return function(){return this.isValid()?this._data[_]:NaN}}var Ah=zs("milliseconds"),Pr=zs("seconds"),ql=zs("minutes"),Kr=zs("hours"),ji=zs("days"),Ea=zs("months"),Vi=zs("years");function el(){return Vt(this.days()/7)}var Qr=Math.round,Hi={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Lh(_,S,A,O,V){return V.relativeTime(S||1,!!A,_,O)}function $_(_,S,A,O){var V=Ns(_).abs(),ee=Qr(V.as("s")),ye=Qr(V.as("m")),ft=Qr(V.as("h")),cn=Qr(V.as("d")),Jn=Qr(V.as("M")),Xr=Qr(V.as("w")),Do=Qr(V.as("y")),Ss=ee<=A.ss&&["s",ee]||ee0,Ss[4]=O,Lh.apply(null,Ss)}function f0(_){return void 0===_?Qr:"function"==typeof _&&(Qr=_,!0)}function xw(_,S){return void 0!==Hi[_]&&(void 0===S?Hi[_]:(Hi[_]=S,"s"===_&&(Hi.ss=S-1),!0))}function Gu(_,S){if(!this.isValid())return this.localeData().invalidDate();var V,ee,A=!1,O=Hi;return"object"==typeof _&&(S=_,_=!1),"boolean"==typeof _&&(A=_),"object"==typeof S&&(O=Object.assign({},Hi,S),null!=S.s&&null==S.ss&&(O.ss=S.s-1)),ee=$_(this,!A,O,V=this.localeData()),A&&(ee=V.pastFuture(+this,ee)),V.postformat(ee)}var z_=Math.abs;function Ku(_){return(_>0)-(_<0)||+_}function im(){if(!this.isValid())return this.localeData().invalidDate();var O,V,ee,ye,cn,Jn,Xr,Do,_=z_(this._milliseconds)/1e3,S=z_(this._days),A=z_(this._months),ft=this.asSeconds();return ft?(O=Vt(_/60),V=Vt(O/60),_%=60,O%=60,ee=Vt(A/12),A%=12,ye=_?_.toFixed(3).replace(/\.?0+$/,""):"",cn=ft<0?"-":"",Jn=Ku(this._months)!==Ku(ft)?"-":"",Xr=Ku(this._days)!==Ku(ft)?"-":"",Do=Ku(this._milliseconds)!==Ku(ft)?"-":"",cn+"P"+(ee?Jn+ee+"Y":"")+(A?Jn+A+"M":"")+(S?Xr+S+"D":"")+(V||O||_?"T":"")+(V?Do+V+"H":"")+(O?Do+O+"M":"")+(_?Do+ye+"S":"")):"P0D"}var Dn=zo.prototype;return Dn.isValid=wr,Dn.abs=Ot,Dn.add=qu,Dn.subtract=Br,Dn.as=to,Dn.asMilliseconds=Vc,Dn.asSeconds=Yi,Dn.asMinutes=st,Dn.asHours=Wl,Dn.asDays=Hc,Dn.asWeeks=no,Dn.asMonths=Ih,Dn.asQuarters=Ca,Dn.asYears=ws,Dn.valueOf=rm,Dn._bubble=Ys,Dn.clone=Bi,Dn.get=Xn,Dn.milliseconds=Ah,Dn.seconds=Pr,Dn.minutes=ql,Dn.hours=Kr,Dn.days=ji,Dn.weeks=el,Dn.months=Ea,Dn.years=Vi,Dn.humanize=Gu,Dn.toISOString=im,Dn.toString=im,Dn.toJSON=im,Dn.locale=Ge,Dn.localeData=tn,Dn.toIsoString=ne("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",im),Dn.lang=qr,Me("X",0,0,"unix"),Me("x",0,0,"valueOf"),Ue("x",kl),Ue("X",lw),Dt("X",function(_,S,A){A._d=new Date(1e3*parseFloat(_))}),Dt("x",function(_,S,A){A._d=new Date(Be(_))}),v.version="2.29.4",w(Vn),v.fn=Pe,v.min=$a,v.max=Nc,v.now=Dh,v.utc=se,v.unix=Ul,v.months=Yr,v.isDate=$,v.locale=Lr,v.invalid=Je,v.duration=Ns,v.isMoment=Re,v.weekdays=$l,v.parseZone=Bc,v.localeData=bo,v.isDuration=Wo,v.monthsShort=ci,v.weekdaysMin=Zs,v.defineLocale=Lc,v.updateLocale=Pc,v.locales=Ua,v.weekdaysShort=os,v.normalizeUnits=En,v.relativeTimeRounding=f0,v.relativeTimeThreshold=xw,v.calendarFormat=Ji,v.prototype=Pe,v.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"},v}()},262:function(U,J){var k,T,v;T=[],k=function w(){var C,M=typeof self<"u"?self:typeof window<"u"?window:void 0!==M?M:{},I=!M.document&&!!M.postMessage,N=M.IS_PAPA_WORKER||!1,B={},Q=0,$={};function Z(ne){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(re){var fe=Ne(re);fe.chunkSize=parseInt(fe.chunkSize),re.step||re.chunk||(fe.chunkSize=null),this._handle=new Ze(fe),(this._handle.streamer=this)._config=fe}.call(this,ne),this.parseChunk=function(re,fe){var Te=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0=this._config.preview,N)M.postMessage({results:He,workerId:$.WORKER_ID,finished:Te});else if(Fe(this._config.chunk)&&!fe){if(this._config.chunk(He,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=He=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(He.data),this._completeResults.errors=this._completeResults.errors.concat(He.errors),this._completeResults.meta=He.meta),this._completed||!Te||!Fe(this._config.complete)||He&&He.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),Te||He&&He.meta.paused||this._nextChunk(),He}this._halted=!0},this._sendError=function(re){Fe(this._config.error)?this._config.error(re):N&&this._config.error&&M.postMessage({workerId:$.WORKER_ID,error:re,finished:!1})}}function oe(ne){var re;(ne=ne||{}).chunkSize||(ne.chunkSize=$.RemoteChunkSize),Z.call(this,ne),this._nextChunk=I?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(fe){this._input=fe,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(re=new XMLHttpRequest,this._config.withCredentials&&(re.withCredentials=this._config.withCredentials),I||(re.onload=Re(this._chunkLoaded,this),re.onerror=Re(this._chunkError,this)),re.open(this._config.downloadRequestBody?"POST":"GET",this._input,!I),this._config.downloadRequestHeaders){var fe,Te=this._config.downloadRequestHeaders;for(fe in Te)re.setRequestHeader(fe,Te[fe])}var He;this._config.chunkSize&&(He=this._start+this._config.chunkSize-1,re.setRequestHeader("Range","bytes="+this._start+"-"+He));try{re.send(this._config.downloadRequestBody)}catch(St){this._chunkError(St.message)}I&&0===re.status&&this._chunkError()}},this._chunkLoaded=function(){var fe;4===re.readyState&&(re.status<200||400<=re.status?this._chunkError():(this._start+=this._config.chunkSize||re.responseText.length,this._finished=!this._config.chunkSize||this._start>=(null!==(fe=(fe=re).getResponseHeader("Content-Range"))?parseInt(fe.substring(fe.lastIndexOf("/")+1)):-1),this.parseChunk(re.responseText)))},this._chunkError=function(fe){fe=re.statusText||fe,this._sendError(new Error(fe))}}function se(ne){(ne=ne||{}).chunkSize||(ne.chunkSize=$.LocalChunkSize),Z.call(this,ne);var re,fe,Te=typeof FileReader<"u";this.stream=function(He){this._input=He,fe=He.slice||He.webkitSlice||He.mozSlice,Te?((re=new FileReader).onload=Re(this._chunkLoaded,this),re.onerror=Re(this._chunkError,this)):re=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(He.target.result)},this._chunkError=function(){this._sendError(re.error)}}function ve(ne){var re;Z.call(this,ne=ne||{}),this.stream=function(fe){return re=fe,this._nextChunk()},this._nextChunk=function(){var fe,Te;if(!this._finished)return fe=this._config.chunkSize,re=fe?(Te=re.substring(0,fe),re.substring(fe)):(Te=re,""),this._finished=!re,this.parseChunk(Te)}}function _e(ne){Z.call(this,ne=ne||{});var re=[],fe=!0,Te=!1;this.pause=function(){Z.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){Z.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(He){this._input=He,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){Te&&1===re.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),re.length?this.parseChunk(re.shift()):fe=!0},this._streamData=Re(function(He){try{re.push("string"==typeof He?He:He.toString(this._config.encoding)),fe&&(fe=!1,this._checkIsFinished(),this.parseChunk(re.shift()))}catch(St){this._streamError(St)}},this),this._streamError=Re(function(He){this._streamCleanUp(),this._sendError(He)},this),this._streamEnd=Re(function(){this._streamCleanUp(),Te=!0,this._streamData("")},this),this._streamCleanUp=Re(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function Ze(ne){var re,fe,Te,He,St=Math.pow(2,53),ls=-St,Ks=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,gr=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,Jt=this,vn=0,ht=0,zn=!1,Pt=!1,xt=[],Me={data:[],errors:[],meta:{}};function Cs(mt){return"greedy"===ne.skipEmptyLines?""===mt.join("").trim():1===mt.length&&0===mt[0].length}function rn(){if(Me&&Te&&(Rs("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+$.DefaultDelimiter+"'"),Te=!1),ne.skipEmptyLines&&(Me.data=Me.data.filter(function(jt){return!Cs(jt)})),Wn()){let jt=function(fs,At){Fe(ne.transformHeader)&&(fs=ne.transformHeader(fs,At)),xt.push(fs)};if(Me)if(Array.isArray(Me.data[0])){for(var mt=0;Wn()&&mt=xt.length?"__parsed_extra":xt[Nt]:Qt,en=Os=ne.transform?ne.transform(Os,Qt):Os,En=void 0,En=on,ne.dynamicTypingFunction&&void 0===ne.dynamicTyping[En]&&(ne.dynamicTyping[En]=ne.dynamicTypingFunction(En)),Os=!0===(ne.dynamicTyping[En]||ne.dynamicTyping)?"true"===en||"TRUE"===en||"false"!==en&&"FALSE"!==en&&((En=>{if(Ks.test(En)&&(En=parseFloat(En),lsxt.length?Rs("FieldMismatch","TooManyFields","Too many fields: expected "+xt.length+" fields but parsed "+Nt,ht+fs):Ntne.preview?fe.abort():(Me.data=Me.data[0],He(Me,Jt))))}),this.parse=function(mt,Yt,Rt){var Bt=ne.quoteChar||'"';return ne.newline||(ne.newline=this.guessLineEndings(mt,Bt)),Te=!1,ne.delimiter?Fe(ne.delimiter)&&(ne.delimiter=ne.delimiter(mt),Me.meta.delimiter=ne.delimiter):((Bt=((jt,fs,At,Nt,Qt)=>{var Os,on,en,En;Qt=Qt||[",","\t","|",";",$.RECORD_SEP,$.UNIT_SEP];for(var gt=0;gt=Rt.length/2?"\r\n":"\r"}}function lt(ne){return ne.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Je(ne){var re=(ne=ne||{}).delimiter,fe=ne.newline,Te=ne.comments,He=ne.step,St=ne.preview,ls=ne.fastMode,Ks=null,gr=!1,Jt=null==ne.quoteChar?'"':ne.quoteChar,vn=Jt;if(void 0!==ne.escapeChar&&(vn=ne.escapeChar),("string"!=typeof re||-1<$.BAD_DELIMITERS.indexOf(re))&&(re=","),Te===re)throw new Error("Comment character same as delimiter");!0===Te?Te="#":("string"!=typeof Te||-1<$.BAD_DELIMITERS.indexOf(Te))&&(Te=!1),"\n"!==fe&&"\r"!==fe&&"\r\n"!==fe&&(fe="\n");var ht=0,zn=!1;this.parse=function(Pt,xt,Me){if("string"!=typeof Pt)throw new Error("Input must be a string");var Cs=Pt.length,rn=re.length,Wn=fe.length,Rs=Te.length,mt=Fe(He),Yt=[],Rt=[],Bt=[],jt=ht=0;if(!Pt)return Tr();if(ls||!1!==ls&&-1===Pt.indexOf(Jt)){for(var fs=Pt.split(fe),At=0;At=St)return Tr(!0);break}Rt.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:Yt.length,index:ht}),on++}}else if(Te&&0===Bt.length&&Pt.substring(ht,ht+Rs)===Te){if(-1===Qt)return Tr();ht=Qt+Wn,Qt=Pt.indexOf(fe,ht),Nt=Pt.indexOf(re,ht)}else if(-1!==Nt&&(Nt=St)return Tr(!0)}return sr();function En(Vt){Yt.push(Vt),jt=ht}function gt(Vt){var Be=0;return-1!==Vt&&(Vt=Pt.substring(on+1,Vt))&&""===Vt.trim()?Vt.length:Be}function sr(Vt){return Me||(void 0===Vt&&(Vt=Pt.substring(ht)),Bt.push(Vt),ht=Cs,En(Bt),mt&&Xt()),Tr()}function Oe(Vt){ht=Vt,En(Bt),Bt=[],Qt=Pt.indexOf(fe,ht)}function Tr(Vt){if(ne.header&&!xt&&Yt.length&&!gr){var Be=Yt[0],qn={},_r=new Set(Be);let kt=!1;for(let Ri=0;Ri{var Te,He,St;return!!$.WORKERS_SUPPORTED&&(He=M.URL||M.webkitURL||null,St=w.toString(),Te=$.BLOB_URL||($.BLOB_URL=He.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",St,")();"],{type:"text/javascript"}))),(Te=new M.Worker(Te)).onmessage=Xe,Te.id=Q++,B[Te.id]=Te)})()).userStep=re.step,fe.userChunk=re.chunk,fe.userComplete=re.complete,fe.userError=re.error,re.step=Fe(re.step),re.chunk=Fe(re.chunk),re.complete=Fe(re.complete),re.error=Fe(re.error),delete re.worker,fe.postMessage({input:ne,config:re,workerId:fe.id})},$.unparse=function(ne,re){var fe=!1,Te=!0,He=",",St="\r\n",ls='"',Ks=ls+ls,gr=!1,Jt=null,vn=!1,ht=((()=>{if("object"==typeof re){if("string"!=typeof re.delimiter||$.BAD_DELIMITERS.filter(function(xt){return-1!==re.delimiter.indexOf(xt)}).length||(He=re.delimiter),"boolean"!=typeof re.quotes&&"function"!=typeof re.quotes&&!Array.isArray(re.quotes)||(fe=re.quotes),"boolean"!=typeof re.skipEmptyLines&&"string"!=typeof re.skipEmptyLines||(gr=re.skipEmptyLines),"string"==typeof re.newline&&(St=re.newline),"string"==typeof re.quoteChar&&(ls=re.quoteChar),"boolean"==typeof re.header&&(Te=re.header),Array.isArray(re.columns)){if(0===re.columns.length)throw new Error("Option columns is empty");Jt=re.columns}void 0!==re.escapeChar&&(Ks=re.escapeChar+ls),re.escapeFormulae instanceof RegExp?vn=re.escapeFormulae:"boolean"==typeof re.escapeFormulae&&re.escapeFormulae&&(vn=/^[=+\-@\t\r].*$/)}})(),new RegExp(lt(ls),"g"));if("string"==typeof ne&&(ne=JSON.parse(ne)),Array.isArray(ne)){if(!ne.length||Array.isArray(ne[0]))return zn(null,ne,gr);if("object"==typeof ne[0])return zn(Jt||Object.keys(ne[0]),ne,gr)}else if("object"==typeof ne)return"string"==typeof ne.data&&(ne.data=JSON.parse(ne.data)),Array.isArray(ne.data)&&(ne.fields||(ne.fields=ne.meta&&ne.meta.fields||Jt),ne.fields||(ne.fields=Array.isArray(ne.data[0])?ne.fields:"object"==typeof ne.data[0]?Object.keys(ne.data[0]):[]),Array.isArray(ne.data[0])||"object"==typeof ne.data[0]||(ne.data=[ne.data])),zn(ne.fields||[],ne.data||[],gr);throw new Error("Unable to serialize unrecognized input");function zn(xt,Me,Cs){var rn="",Wn=("string"==typeof xt&&(xt=JSON.parse(xt)),"string"==typeof Me&&(Me=JSON.parse(Me)),Array.isArray(xt)&&0{for(var mt=0;mt0&&void 0!==arguments[0]?arguments[0]:I,Wn=rn.length;if(rn===I||rn[0]===Je[0]&&1===Wn)return Je.split(I).concat([se]).concat(De.split(I));if(rn===Te&&re)return Je.split(I).concat(["0",Te,se]).concat(De.split(I));var Rs=rn[0]===Q&&Jt;Rs&&(rn=rn.toString().substr(1));var mt=rn.lastIndexOf(Te),Yt=-1!==mt,Rt=void 0,Bt=void 0,jt=void 0;if(rn.slice(-1*Me)===De&&(rn=rn.slice(0,-1*Me)),Yt&&(re||Ks)?(Rt=rn.slice(rn.slice(0,xt)===Je?xt:0,mt),Bt=v((Bt=rn.slice(mt+1,Wn)).replace(Z,I))):Rt=rn.slice(0,xt)===Je?rn.slice(xt):rn,Pt&&(typeof Pt>"u"?"undefined":M(Pt))===oe){var fs="."===Fe?"[.]":""+Fe,At=(Rt.match(new RegExp(fs,"g"))||[]).length;Rt=Rt.slice(0,Pt+At*Cs)}return Rt=Rt.replace(Z,I),ht||(Rt=Rt.replace(/^0+(0$|[^0])/,"$1")),jt=v(Rt=Ne?w(Rt,Fe):Rt),(Yt&&re||!0===Ks)&&(rn[mt-1]!==Te&&jt.push(ve),jt.push(Te,ve),Bt&&((typeof St>"u"?"undefined":M(St))===oe&&(Bt=Bt.slice(0,St)),jt=jt.concat(Bt)),!0===Ks&&rn[mt-1]===Te&&jt.push(se)),xt>0&&(jt=Je.split(I).concat(jt)),Rs&&(jt.length===xt&&jt.push(se),jt=[$].concat(jt)),De.length>0&&(jt=jt.concat(De.split(I))),jt}var Ze=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},lt=Ze.prefix,Je=void 0===lt?C:lt,Xe=Ze.suffix,De=void 0===Xe?I:Xe,Ee=Ze.includeThousandsSeparator,Ne=void 0===Ee||Ee,Re=Ze.thousandsSeparatorSymbol,Fe=void 0===Re?N:Re,ne=Ze.allowDecimal,re=void 0!==ne&&ne,fe=Ze.decimalSymbol,Te=void 0===fe?B:fe,He=Ze.decimalLimit,St=void 0===He?2:He,ls=Ze.requireDecimal,Ks=void 0!==ls&&ls,gr=Ze.allowNegative,Jt=void 0!==gr&&gr,vn=Ze.allowLeadingZeroes,ht=void 0!==vn&&vn,zn=Ze.integerLimit,Pt=void 0===zn?null:zn,xt=Je&&Je.length||0,Me=De&&De.length||0,Cs=Fe&&Fe.length||0;return _e.instanceOf="createNumberMask",_e}function v(_e){return _e.split(I).map(function(Ze){return se.test(Ze)?se:Ze})}function w(_e,Ze){return _e.replace(/\B(?=(\d{3})+(?!\d))/g,Ze)}Object.defineProperty(k,"__esModule",{value:!0});var M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_e){return typeof _e}:function(_e){return _e&&"function"==typeof Symbol&&_e.constructor===Symbol&&_e!==Symbol.prototype?"symbol":typeof _e};k.default=T;var C="$",I="",N=",",B=".",Q="-",$=/-/,Z=/\D+/g,oe="number",se=/\d/,ve="[]"}])},3481:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"\n\t\t.alert {\n\t\t\tmargin-bottom: 10px;\n\t\t}\n\t",""]),U.exports=w.toString()},4180:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"\n\t\t.btn-label{\n\t\t\tleft: -13px;\n\t\t\tborder-radius: 2px 0 0 2px;\n\t\t}\n\t",""]),U.exports=w.toString()},3553:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},8760:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".alert-danger {\n\tcolor: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1 !important;\n}\n\n.alert {\n\tpadding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n}",""]),U.exports=w.toString()},904:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},1795:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"#logo-container img {\n\twidth: 130px;\n\theight: 39px;\n\tmargin: 10px;\n\tfloat: left;\n}\n\n#loginButton {\n\tdisplay: inline-block;\n\tpadding: 12px 25px;\n\tline-height: 20px;\n\tcolor: rgb(255, 255, 255);\n\ttext-align: center;\n\tvertical-align: middle;\n\tbackground-repeat: repeat-x;\n\tbackground-color: rgb(38, 174, 144);\n\tborder-radius: 5px;\n\tbox-shadow: 0px -2px 0px rgba(0, 0, 0, 0.1) inset;\n\tfont-size: 12px;\n\ttext-transform: uppercase;\n\tfont-weight: bold;\n}\n\n.navbar-default {\n\ttext-transform: uppercase;\n\tbackground-color: #fff;\n\tfont-size: 1em;\n}\n\n.navbar-nav {\n\tmargin: 5px;\n}\n\n.navbar-text {\n\tmargin-top: 20px;\n\tmargin-bottom: 20px;\n}\n\n@media (max-width : 767px){\n\t.navbar.navbar-default.navbar-fixed-top .container{\n\t\ttext-align: center;\n\t}\n\t.navbar.navbar-default.navbar-fixed-top .container p{\n\t\tclear: both;\n\t}\n\t.navbar.navbar-default.navbar-fixed-top .container img{\n\t\tclear: both;\n\t\tfloat: none!important;\n\t}\n\t\n\t.navfull {\n\t\toverflow: hidden;\n\t\tmax-height: 0px;\n\t\ttransition: max-height .5s ease-in-out;\n\t}\t\n\n\t.navbar-text {\n\t\tmargin-top: 0px;\n\t\tmargin-bottom: 5px;\n\t}\n\t\n\t#navsmallbutton{\n\t\tdisplay : block!important;\n\t}\n\n}\n\n@media (min-width : 767px){\n\t.navfull {\n\t\tdisplay: block!important;\n\t\tvisibility: visible;\n\t}\t\t\n}\n\n.showNavbar {\n\tdisplay: block!important;\n\tmax-height: 500px;\n}\n\n#navsmallbutton {\n\tposition: fixed;\n\ttop:10px;\n\tleft : 10px;\n\tz-index: 9999;\n\tbackground-color: #F5F5F5;\n\tdisplay:none;\n}\n\n.slideDown {\n margin-top: 60px;\n\ttransition: margin-top .5s ease-in-out;\n}\n\n.marginTop220 {\n\tmargin-top: 220px;\n}\n\n.form-signin {\n\tmargin-top:50px;\n\tmax-width: 350px;\n\tmargin: 0 auto;\n}\n\n.dropdown-menu {\n\tfont-size: .8em;\n}\n\n\n\n/*\n *\n * Common Form CSS\n *\n */\n\n.ueGenericLogin {\n\t/*border-radius: 0;*/\n\tbackground-color: #fff;\n\tbox-shadow: 3px 3px 10px 3px rgba(0,0,0,0.2);\n}\n\n.buttonFullWidth{\n\twidth: 100%;\n}\n\n.messageBlockNatural {\n\tbackground-color: #F3F7FC;\n\tcolor: #55606F;\n}\n\n.alert {\n\ttext-align: left;\n} \n\n.help-block {\n\tfont-size: 0.8em;\n}\n\n.mainArea {\n\tmargin-top: 150px;\n}\n\ninput:-webkit-autofill {\n\t-webkit-box-shadow: 0 0 0 1000px white inset;\n\tbackground-color: white !important;\n}\n\n.ueSubmitButton, .ueTextInput, .input-group-addon, .messageBlockNatural {\n\tborder-radius: 4px !important;\n}\n\n.input-group-addon {\n\tborder-top-right-radius: 0 !important;\n\tborder-bottom-right-radius: 0 !important;\n}\n\n.ueTextInput {\n\tborder-top-left-radius: 0 !important;\n\tborder-bottom-left-radius: 0 !important;\n}\n\nspan i.fa {\n\tmin-width: 14px;\n}",""]),U.exports=w.toString()},6436:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},5320:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},1835:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".size {\n font-size:10px\n}",""]),U.exports=w.toString()},1824:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},3533:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},8145:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},8990:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"h1, h2, h3, h4, h5 {\n\tmargin: 0;\n}\n\n.widget-container {\n\tmax-width: 1300px;\n}\n\n.dash-card {\n\tborder-width: 1px;\n\tborder-style: solid;\n\tborder-color: #C2C2C2;\n\tmargin-bottom: 20px;\n}\n\n.dash-card-no-border {\n\tmargin-bottom: 20px;\n\twidth: 100%;\n}\n\n.dash-card-header {\n\twidth: 100%; \n\theight: 34px;\n\tborder-bottom-width: 1px;\n\tborder-bottom-style: solid;\n\tborder-bottom-color: #C2C2C2;\n\tpadding-left: 10px;\n\tcolor: #333;\n\tbackground: #fafafa;\n}\n\n.dash-card-no-border > .dash-card-header {\n\tborder-width: 1px;\n\tborder-style: solid;\n\tborder-color: #C2C2C2;\n}\n\n.dash-card-header strong{\n\tfont-size: 14px; \n\tline-height: 34px; \n\tletter-spacing: 0;\n}\n\n.dash-card-body {\n\tposition: relative;\n\tborder-top-width: 1px;\n\tborder-top-style: solid;\n\tborder-top-color: #e3e3e3;\n}\n\n.dash-card-loading {\n\tcolor: lightgrey;\n\ttext-align: center;\n\tpadding: 20px;\n}\n\n.chartCount {\n\tposition: absolute;\n\tbottom: 10px;\n\tright: 10px;\n\ttext-align: right;\n}\n\n@media only screen and (min-width: 768px) {\n\t.dash-card {\n\t\twidth: 100%;\n\t}\n\n\t.dash-card-body {\n\t\theight: 198px;\n\t\toverflow-y: scroll;\n\t}\n\n\t#applianceSummary {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t}\n}\n",""]),U.exports=w.toString()},3433:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"fieldset {\n\tmargin-bottom: 10px;\n}\nul {\n\tpadding-left: 0px;\n}\na {\n\tcolor: black;\n}\na.edit-labels:hover {\n\tcolor: black;\n\ttext-decoration: underline !important;\n\tcursor: pointer;\n}\n.labels-container {\n\tpadding-bottom: 20px;\n\tmargin-bottom: 20px;\n\tborder-bottom-width: 1px;\n\tborder-bottom-style: solid;\n\tborder-bottom-color: #e5e5e5\n}\n.edit-labels-dropdown {\n\tposition: absolute;\n z-index: 1;\n border: 1px solid lightgrey;\n border-radius: 5px;\n width: 275px;\n background-color: white;\n right: 6px;\n\ttop: 30px;\n\tbox-shadow: 0 2px 4px rgba(0,0,0,0.1);\n}\n.edit-labels-dropdown ul {\n\tmargin: 0;\n}\n.edit-labels-header {\n\ttext-align: center;\n\tborder-bottom: 1px solid lightgrey;\n\tmargin: 0 10px 10px 10px;\n\tpadding: 5px 0 10px 0;\n\tfont-size: 15px;\n}\n.edit-labels-header > i {\n\tmargin-top: 3px;\n color: lightgrey\n}\n.edit-labels-header > i:hover {\n color: grey\n}\n.edit-labels-list {\n\tfont-size: 14px;\n}\n.edit-labels-list > ul {\n max-height: 200px;\n overflow-y: scroll;\n}\n.label-dot {\n\tdisplay: inline-block;\n\tposition: relative;\n top: 2px;\n margin-right: 10px;\n\theight: 14px;\n\twidth: 14px;\n\tborder-radius: 7px;\n\tborder: 1px solid lightgray;\n\tbackground-color: #999;\n}\n.list-label {\n\tpadding: 5px 10px 5px 10px; \n}\n.list-label:hover {\n\tbackground-color: lightgray;\n\tcursor: pointer;\n}\n.list-label.label-edit-icon:hover {\n\tbackground-color: white;\n\tcursor: auto;\n}\n.add-new-label {\n\tpadding: 10px 20px 10px 20px;\n\ttext-align: center;\n}\n.add-new-label:hover {\n\tbackground-color: lightgray;\n\tcursor: pointer;\n}\n.delete-label {\n\tpadding: 10px 20px 10px 20px;\n\ttext-align: center;\n\tborder-top: 1px solid lightgrey;\n}\n.delete-label:hover {\n\tbackground-color: lightgray;\n\tcursor: pointer;\n}\n.label-edit-icon .label-delete-icon:hover {\n\tcolor: red;\n\tcursor: pointer;\n}\n.label-edit-icon .label-edit-icon:hover {\n\tcolor: black;\n\tcursor: pointer;\n}\n.list-label i {\n position: relative;\n\ttop: 3px;\n\tcolor: grey;\n}\n.edit-labels-list-footer {\n\tmargin-top: 10px;\n\tborder-top: 1px solid lightgrey;\n}\n.add-label-form {\n\tpadding: 5px;\n}\n.add-label-form input {\n\tborder-radius: 2px !important;\n}\n.label-color-block-container {\n\tborder-radius: 3px;\n\tmargin-bottom: 15px;\n\tfont-size: 0;\n\toverflow: hidden;\n\twidth: 263px;\n}\n.label-color-block {\n\tdisplay: inline-block;\n\twidth: calc(263px/8);\n\theight:33px;\n}\n.label-color-preview {\n\twidth: 30px; \n\tborder-top-left-radius: 2px; \n\tborder-bottom-left-radius: 2px;\n}\n.add-label-form .input-group input {\n\tborder-top-left-radius: 0 !important; \n\tborder-bottom-left-radius: 0 !important;\n\twidth: 232px;\n}\n.labels-loading-overlay {\n\tposition: absolute;\n\tz-index: 2;\n\theight: 100%;\n\twidth: 100%;\n\tborder-radius: 5px;\n\tbackground-color: rgba(0, 0, 0, 0.4);\n}\n.labels-loading-overlay > i {\n\tposition: relative;\n\ttop: calc(50% - 26px);\n\tleft: calc(50% - 26px);\n\tcolor: white;\n}\n.input-group .form-control {\n\tz-index: auto;\n}\n.pill-container {\n\tdisplay: inline-block;\n\tmargin: 5px;\n}\n.margintop_0 {\n\tmargin-top: 0px;\n}\n.marginbot_0 {\n\tmargin-bottom: 0px;\n}\n.make_inline {\n\tdisplay: inline-block;\n}\n.make_inline:nth-child(1n) {\n\tmargin-right: 13px;\n}\n.header {\n margin-top: 10px;\n}\n.header_details input {\n font-size: 30px;\n margin-top: -5px;\n margin-bottom: 5px;\n font-weight: 400;\n color: rgba(57, 113, 155, 1);\n border: 1px solid white;\n width: 100%;\n}\n.header_details ul li:nth-child(1n) {\n\tpadding: 0 5px 0 0;\n}\n.header_details ul li {\n\tdisplay: block;\n\tpadding: 0 5px;\n}\n.device_icon {\n font-size: 3em;\n}\n.device_block {\n\tdisplay: block;\n\tposition: relative;\n\ttext-align: center;\n\toverflow: hidden;\n}\n.deviceLink:before {\n\tcontent: ' ';\n}\n.deviceLink {\n\tposition: relative;\n}\n.deviceLink:after {\n\tcontent: \" \";\n}\n.deviceConnected {\n\tdisplay: inline-block;\n\tfont-size: 3rem;\n\tmargin: 13px 0 10px 0;\n\tcolor: RGBA(153, 153, 153, 1.00);\n}\n.textConnected {\n\tcolor: RGBA(153, 153, 153, 1.00);\n}\n.deviceConnected.connected,\n.textConnected.connected {\n\tanimation-name: successConnect;\n\tanimation-duration: 3s;\n\tanimation-iteration-count: infinite;\n\tanimation-direction: normal;\n}\n.deviceConnected.offline,\n.textConnected.offline {\n\tanimation-name: offlineDisconnect;\n\tanimation-duration: 3s;\n\tanimation-iteration-count: infinite;\n\tanimation-direction: normal;\n}\n.deviceConnected.online\n.textConnected.online {\n\tanimation-name: onlineStatus;\n\tanimation-duration: 3s;\n\tanimation-iteration-count: infinite;\n\tanimation-direction: normal;\n}\n.glyph {\n\tfont-size: 40px;\n}\n@keyframes successConnect {\n\t0% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n}\n@keyframes offlineDisconnect {\n\t0% {\n\t\tcolor: RGBA(219, 38, 26, 1.00);\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(219, 38, 26, 1.00);\n\t}\n}\n@keyframes onlineStatus {\n\t0% {\n\t\tcolor: RGBA(60, 114, 153, 1.00)\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(60, 114, 153, 1.00)\n\t}\n}\n\n/* Small Devices, Tablets */\n@media only screen and (max-width : 767px) {\n\tfieldset.xs-border-bottom {\n\t\tpadding-bottom: 20px;\n\t\tborder-bottom: 1px solid #e5e5e5;\n\t\tmargin-bottom: 20px;\n\t}\n}\n\n@media only screen and (min-width : 768px) {\n\tfieldset.sm-border-bottom {\n\t\tpadding-bottom: 20px;\n\t\tborder-bottom: 1px solid #e5e5e5;\n\t\tmargin-bottom: 20px;\n\t}\n\n}\n\n/* Medium Devices, Desktops */\n@media only screen and (min-width : 992px) {\n\t.header_details ul li {\n\t\tdisplay: inline-block;\n\t}\n}",""]),U.exports=w.toString()},2525:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"#upload {\n\topacity: 0;\n\tposition: absolute;\n\tz-index: -1;\t\n}",""]),U.exports=w.toString()},9167:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".label-suggestions {\n\tz-index: 1000; \n\tborder: 1px solid lightgray; \n\tposition: absolute; \n\tbackground-color: white; \n\tdisplay: inline-block; \n\tright: 371px; \n\ttop: 32px;\n\ttext-align: left;\n\tborder-radius: 6px;\n\twidth: 289px;\n}\n.label-suggestions > ul {\n\tmargin: 0;\n\tpadding: 0;\n}\n.label-suggestions > strong {\n\tdisplay: block;\n\tpadding: 5px 10px;\n\tfont-size: 14px;\n}\n.label-dot {\n\tdisplay: inline-block;\n\tmargin-top: 3px;\n margin-right: 10px;\n\theight: 12px;\n\twidth: 12px;\n\tborder-radius: 7px;\n\tborder: 1px solid lightgray;\n\tbackground-color: #999;\n}\n.list-label {\n\tpadding: 5px 10px 5px 10px; \n\ttext-align: left;\n}\n.list-label:hover {\n\tbackground-color: lightgray;\n\tcursor: pointer;\n}\n\n@media screen and (max-width: 991px) {\n\t.label-suggestions {\n\t\tright: 139px;\n\t}\n}\n\n@media screen and (max-width: 430px) {\n\t.label-suggestions {\n\t\twidth: 179px;\n\t\tright: 139px;\n\t}\n}",""]),U.exports=w.toString()},7190:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".fa-clipboard {\n\tcursor: pointer;\n}",""]),U.exports=w.toString()},3544:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},9751:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},275:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"input.empty {\n\tpadding-top: 14px;\n}",""]),U.exports=w.toString()},7283:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"hr {\n\tmargin: 0;\n}\n\n.company-tab {\n\tpadding: 10px 10px 10px 10px;\n\tmargin-bottom: 1.5em;\n\theight: 43px;\n\twidth: 100%;\n}\n\n.company-tab > p {\n\tfont-size: 15px\n}\n\n@media (max-width: 992px) {\n\t.align-top {\n\t\tmargin-top:35px;\n\t}\n}\n\n@media (min-width: 992px) {\n\t.align-top {\n\t\ttop: -36px;\n\t}\n}",""]),U.exports=w.toString()},9838:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},6885:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},3617:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"ul {\n\tpadding-left: 0px;\n}\n.serverinfo {\n\tmargin-bottom: 15px;\n}\n.server-block {\n\tmargin-bottom: 15px;\n}\n.serverinfo {\n\tcolor: RGBA(153, 153, 153, 1.00);\n}\n.server-block .serverType {\n\tfont-size: 5rem;\n\tcolor: RGBA(153, 153, 153, 1.00);\n}\n.server-block .serverType.connected,\n.serverinfo.connected {\n\tanimation-name: connected;\n\tanimation-duration: 3s;\n\tanimation-iteration-count: infinite;\n\tanimation-direction: normal;\n}\n\n@keyframes connected {\n\t0% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n}\n",""]),U.exports=w.toString()},4385:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".buttonPadding {\n padding-right: 5px;\n}",""]),U.exports=w.toString()},1954:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"/*\n * custom position for checkbox uses classes\n */\n.checkbox.centered {\n\tpadding-left: 0px;\n}\n.checkbox i.centered {\n\tposition: relative;\n\ttop: 0;\n\tmargin: 0 auto;\n} \n\n.not-allowed {\n\tcursor: not-allowed;\n\tcolor: lightgray;\n}\n.smart-form .checkbox input:disabled:checked+i {\n\tborder-color: lightgray;\n}\n.smart-form .checkbox input:disabled+i:after {\n color: lightgray;\n}\n.smart-form .checkbox input:disabled+i {\n\tborder-color: lightgray;\n}\n.smart-form .checkbox input:disabled+i {\n color: lightgray;\n}",""]),U.exports=w.toString()},2022:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".ellipsis {\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n\n.red-text {\n\tcolor: red;\n}",""]),U.exports=w.toString()},1434:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".drag-container {\n width: 100%;\n vertical-align: top;\n overflow: scroll;\n}\n\n.drag-list {\n min-height: 60px;\n background: white;\n white-space: nowrap;\n padding: 10px 0;\n}\n\n.drag-box {\n padding: 10px;\n border: solid 1px #ccc;\n border-right: none;\n color: rgba(0, 0, 0, 0.87);\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n cursor: move;\n background: white;\n}\n\n.drag-box > i {\n margin-right: 10px;\n}\n\n.cdk-drag-preview {\n box-sizing: border-box;\n border-radius: 4px;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n\n.cdk-drag-placeholder {\n opacity: 0;\n}\n\n.drag-box:first-child {\n border-radius: 4px 0 0 4px;\n}\n\n.drag-box:last-child {\n border-right: solid 1px #ccc;\n border-radius: 0 4px 4px 0;\n}\n\n.drag-box:only-child {\n border-right: solid 1px #ccc;\n border-radius: 4px;\n}\n\n.cdk-drag-animating {\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.drag-list.cdk-drop-list-dragging .drag-box:not(.cdk-drag-placeholder) {\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.scrollArrowContainer {\n font-size: 25px;\n cursor: pointer;\n}\n\n.scrollArrowHidden {\n visibility: hidden;\n cursor: default;\n}\n\n.scrollArrowContainer:first-child {\n margin-right: 15px;\n}\n\n.scrollArrowContainer:last-child {\n margin-left: 15px;\n}\n\n.scrollWrapper {\n display: flex;\n align-items: center;\n}",""]),U.exports=w.toString()},195:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},2479:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".container {\n\tcolor: #888;\n}\n#content {\n\tbackground-color: #fafafa;\n}\n.row {\n\tmargin: 0\n}\nh1 {\n\tmargin: 0px 0px 3px 0px\n}\n/* header */\n.merchant-header span {\n\tmargin-left: 5px;\n\tpadding: 2px 5px 2px 4px;\n}\n\n/* navbar */\n.merchant-navbar {\n\tborder: 1px solid lavender;\n\tborder-radius: 3px;\n\tmargin-top: 3px;\n\tbackground-color: whitesmoke;\n\tmargin-bottom: 10px\n}\n.merchant-navbar ul {\n\twidth:100%;\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tmargin: 0;\n\tpadding: 5px 10px;\n}\n.merchant-navbar ul li {\n\tdisplay: block;\n\tflex: 0 1 auto;\n\tlist-style-type: none;\n\tpadding: 0 15px;\n\tfont-size: 17px\n}\n\n.card-container {\n\tpadding: 0;\n\tmargin: 0\n}\n\n.left-section {\n\tpadding: 0 10px 0 0;\n\tjustify-content: space-between\n}\n\n.right-section {\n\tpadding: 0;\n}\n.fa {\n\tcolor: #02395A\n}\n\n/* cards */\n.card {\n\tborder: 1px solid lavender;\n border-radius: 6px;\n min-height: 50px;\n padding: 15px 25px 10px 15px;\n box-shadow: 3px 3px 3px lightgrey;\n\tmargin: 4px;\n background-color: white;\n min-width: 405px;\n}\n\n.card-title {\n\tmargin: 0;\n\tfont-size: 14px;\n\tmargin-bottom:1px;\n\tcolor: black;\n}\n\n.card-title-nomargin {\n\tmargin: 0;\n\tpadding: 0px 5px 2px 4px;\n\tfont-size: 12px;\n\tcolor: black;\n}\n\n.card-navbar {\n\tfont-size: 12px;\n\tcolor: dimgray;\n}\n.card-navbar-selected {\n\tborder-bottom: 2px solid steelblue;\n}\n.card-footer {\n\tpadding-top: 10px;\n\ttext-align: center;\n\tcolor: grey;\n\tcursor: pointer;\n\tborder-top: 1px solid gainsboro;\n\tmargin: 10px 0;\n font-weight: 700;\n}\n.card-footer:hover {\n\tcolor: #888\n}\n/* users list */\n.user-list-container {\n\tpadding: 0 10px;\n}\n.user-list-container ul {\n\tpadding: 0;\n}\n.user-list-container ul li {\n\tpadding: 2px 4px; \n}\n.user-list-container ul li:hover {\n\tborder-bottom:1px solid lightgrey;\n}\n.user-list-icons {\n\tdisplay: none;\n}\n.user-list li:hover .user-list-icons {\n\tdisplay: inline-block \n}\n\n.list-title {\n\tcolor: #02395A\n}\n\n/* table */\ntable {\n\tborder-collapse: collapse;\n\tborder-spacing: 0\n}\nthead tr {\n\tbackground-color: white;\n}\nthead tr th {\n\tcolor: dimgray;\n\tpadding: 0;\n}\ntd {\n\tpadding: 4px 5px !important;\n}\n\n.table-label {\n\tborder-bottom: 1px solid gainsboro;\n\tpadding: 4px 12px;\n\tmargin-bottom:5px;\n\tcolor: #02395A;\n}\n\n.frequency-row {\n\theight: 36px !important;\n\tcolor: dimgray;\n\tbackground-color: whitesmoke;\n\tpadding: 0 !important;\n\tvertical-align: top;\n\tbox-sizing: border-box;\n}\n/* misc */\n/* \n\tmr = margin right\n\tmb = margin bottom\n\tmlr = margin left right \n\tplr = padding left right \n*/\n\n.trow { background: white; \n border-radius: 5px;}\n.trow:nth-child(even) { background: whitesmoke; }\n\n.m0 {\n\tmargin: 0;\n}\n.mt10 {\n\tmargin-top: 10px;\n}\n.mr10 {\n\tmargin-right: 10px;\n}\n.mb10 {\n\tmargin-bottom: 10px;\n}\n.mb20 {\n\tmargin-bottom: 20px;\n}\n.mlr10 {\n\tmargin-left: 10px;\n\tmargin-right: 10px;\n}\n.p0 {\n\tpadding: 0\n}\n.pl10 {\n\tpadding-left: 10px;\n}\n.plr10 {\n\tpadding-left: 10px;\n\tpadding-right: 10px;\n}\n.plr5 {\n\tpadding-left: 5px;\n\tpadding-right: 5px;\n}\n.qty-bold {\n\t-webkit-text-decoration: bold;\n\t text-decoration: bold;\n\tfont-size: 17px;\n}\n\n.background {\n\tbackground-color: #fafafa;\n\twidth:100%\n}\n\n.edit {\n position:relative;\n top:-20px;\n left:350px;\n font-size:16px;\n color:black;\n}",""]),U.exports=w.toString()},5831:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".dateClicked {\n background-color: #357ebd !important;\n color: white !important;\n}\n\n.clickable.disabled {\n pointer-events: none;\n color: #AAA;\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.select-dropdown select {\n width: 100%;\n position: absolute;\n left: 10px;\n top: 3px;\n cursor: pointer;\n right: 0;\n background-color: transparent;\n border: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n font-weight: 600;\n}",""]),U.exports=w.toString()},752:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,'.daterangepicker-wrapper {\n position: relative;\n border: none;\n}\n\n.daterangepicker {\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;\n font-size: 12px;\n position: absolute;\n top: 44px;\n background: #fff;\n z-index: 3000;\n border-radius: 4px;\n box-shadow: 0px 2px 2px 2px #ddd;\n border: 1px solid #aaa;\n padding: 10px;\n}\n\n.daterangepicker.open-right {\n right: 0;\n}\n\n.daterangepicker.open-left {\n left: 0;\n}\n\n.daterangepicker.open-center {\n right: -50%;\n}\n\n.daterangepicker.tooltip-chevron:before {\n content: \'\';\n height: 0px;\n width: 0px;\n border: 10px solid transparent;\n position: absolute;\n border-bottom-color: #aaa;\n top: -20px;\n}\n\n.daterangepicker.tooltip-chevron:after {\n content: \'\';\n height: 0px;\n width: 0px;\n border: 9px solid transparent;\n position: absolute;\n border-bottom-color: #fff;\n top: -18px;\n}\n\n.daterangepicker.open-left.tooltip-chevron:before {\n left: 10px;\n}\n\n.daterangepicker.open-left.tooltip-chevron:after {\n left: 11px;\n}\n\n.daterangepicker.open-right.tooltip-chevron:before {\n right: 10px;\n}\n\n.daterangepicker.open-right.tooltip-chevron:after {\n right: 11px;\n}\n\n.daterangepicker.open-center.tooltip-chevron:before {\n left: 50%\n}\n\n.daterangepicker.open-center.tooltip-chevron:after {\n left: 50%;\n}\n\n@media (min-width: 550px) {\n .daterangepicker {\n width: 550px;\n }\n}\n\n@media (max-width: 550px) {\n .daterangepicker {\n width: 270px;\n }\n .text-center .pull-right {\n float: none !important;\n }\n .col-md-6 {\n width: 100% !important;\n }\n .col-md-10 {\n width: 100% !important;\n }\n .ranges>div {\n display: none;\n }\n}\n\n.daterangepicker.singledatepicker {\n width: 300px;\n}\n\n.daterangepicker div[class*="col-md-"],\n.daterangepicker span[class*="col-md-"] {\n padding: 0 15px 0 5px;\n}\n\n.hidden {\n display: none !important;\n visibility: false !important;\n}\n\n.daterangepicker .calendar {\n margin: 4px;\n float: left;\n border-radius: 4px !important;\n padding: 0 5px 0 5px;\n}\n\n.applyBtn {\n margin: 4px;\n}\n\n.daterangepicker .flush {\n padding: 0 !important;\n margin: 0 !important;\n}\n\n.daterangepicker .flussh {\n padding: 0 !important;\n}\n\n.daterangepicker .flush-bottom {\n padding-bottom: 0 !important;\n}\n\n.daterangepicker .flush-left {\n padding-left: 0 !important;\n}\n\n.daterangepicker .flush-right {\n padding-right: 0 !important;\n}\n\n.daterangepicker .nudge-half--left {\n padding-left: 4px !important;\n}\n\n.daterangepicker .nudge-half--right {\n padding-right: 4px !important;\n}\n\n.daterangepicker .nudge-top {\n top: 5px;\n}\n\n.daterangepicker .push-bottom {\n margin-bottom: 10px;\n}\n\n.daterangepicker th {\n margin: 1px !important;\n padding: 1px !important;\n text-align: center;\n border-radius: 4px !important;\n}\n\n.daterangepicker td {\n font-size: 14px;\n height: 20px;\n width: 20px;\n text-align: center;\n margin: 1px !important;\n padding: 3px !important;\n border-radius: 4px !important;\n white-space: nowrap;\n text-align: center;\n}\n\n.daterangepicker .btn.btn-flat {\n border: none;\n background: transparent;\n margin: 3px !important;\n padding: 1px !important;\n}\n\n.daterangepicker .off {\n color: #666;\n opacity: 0.7;\n}\n\n.daterangepicker table {\n border-spacing: 0;\n border-collapse: collapse;\n}\n\n.daterangepicker td,\n.daterangepicker th {\n padding: 0;\n}\n\n.daterangepicker .clickable {\n cursor: pointer;\n}\n\n.daterangepicker .clickable-link {\n color: #337ab7;\n}\n\n.daterangepicker .clickable.disabled {\n pointer-events: none;\n color: #AAA;\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.ranges {\n padding: 5px 0;\n}\n\n.ranges .clickable {\n margin-top: 8px !important;\n}\n\n.daterangepicker label {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\n\n.daterangepicker .form-control {\n margin: 5px;\n}\n\n.daterangepicker .bootstrap-flush {\n margin: 0 !important;\n padding: 0 !important;\n}\n\n.daterangepicker .time-picker span {\n padding-left: 4px;\n padding-right: 4px;\n}\n\n.daterangepicker .time-picker .time-breadcrumb {\n position: relative;\n top: 22px;\n font-weight: bolder;\n font-size: 0.8em;\n}\n\n.daterangepicker .col-md-1,\n.daterangepicker .col-md-2,\n.daterangepicker .col-md-3,\n.daterangepicker .col-md-4,\n.daterangepicker .col-md-5,\n.daterangepicker .col-md-6,\n.daterangepicker .col-md-7,\n.daterangepicker .col-md-8,\n.daterangepicker .col-md-9,\n.daterangepicker .col-md-10,\n.daterangepicker .col-md-11,\n.daterangepicker .col-md-12 {\n position: relative;\n float: left;\n}\n\n.daterangepicker .col-md-12 {\n width: 100%;\n}\n\n.daterangepicker .col-md-11 {\n width: 91.66666667%;\n}\n\n.daterangepicker .col-md-10 {\n width: 83.33333333%;\n}\n\n.daterangepicker .col-md-9 {\n width: 75%;\n}\n\n.daterangepicker .col-md-8 {\n width: 66.66666667%;\n}\n\n.daterangepicker .col-md-7 {\n width: 58.33333333%;\n}\n\n.daterangepicker .col-md-6 {\n width: 50%;\n}\n\n.daterangepicker .col-md-5 {\n width: 41.66666667%;\n}\n\n.daterangepicker .col-md-4 {\n width: 33.33333333%;\n}\n\n.daterangepicker .col-md-3 {\n width: 25%;\n}\n\n.daterangepicker .col-md-2 {\n width: 16.66666667%;\n}\n\n.daterangepicker .col-md-1 {\n width: 8.33333333%;\n}\n\n.daterangepicker .col-md-offset-4 {\n margin-left: 33.333333333%;\n}\n\n.daterangepicker table {\n background-color: transparent;\n}\n\n.daterangepicker .table {\n width: 100%;\n max-width: 100%;\n margin-bottom: 20px;\n}\n\n.daterangepicker .table>thead>tr>th,\n.daterangepicker .table>tbody>tr>th,\n.daterangepicker .table>tfoot>tr>th,\n.daterangepicker .table>thead>tr>td,\n.daterangepicker .table>tbody>tr>td,\n.daterangepicker .table>tfoot>tr>td {\n padding: 8px;\n line-height: 1.42857143;\n vertical-align: top;\n border-top: 1px solid #ddd;\n}\n\n.daterangepicker .table>thead>tr>th {\n vertical-align: bottom;\n border-bottom: 2px solid #ddd;\n}\n\n.daterangepicker .table>caption+thead>tr:first-child>th,\n.daterangepicker .table>colgroup+thead>tr:first-child>th,\n.daterangepicker .table>thead:first-child>tr:first-child>th,\n.daterangepicker .table>caption+thead>tr:first-child>td,\n.daterangepicker .table>colgroup+thead>tr:first-child>td,\n.daterangepicker .table>thead:first-child>tr:first-child>td {\n border-top: 0;\n}\n\n.daterangepicker .table>tbody+tbody {\n border-top: 2px solid #ddd;\n}\n\n.daterangepicker .table .table {\n background-color: #fff;\n}\n\n.daterangepicker .table-condensed>thead>tr>th,\n.daterangepicker .table-condensed>tbody>tr>th,\n.daterangepicker .table-condensed>tfoot>tr>th,\n.daterangepicker .table-condensed>thead>tr>td,\n.daterangepicker .table-condensed>tbody>tr>td,\n.daterangepicker .table-condensed>tfoot>tr>td {\n padding: 5px;\n}\n\n.daterangepicker .table-bordered {\n border: 1px solid #ddd;\n}\n\n.daterangepicker .table-bordered>thead>tr>th,\n.daterangepicker .table-bordered>tbody>tr>th,\n.daterangepicker .table-bordered>tfoot>tr>th,\n.daterangepicker .table-bordered>thead>tr>td,\n.daterangepicker .table-bordered>tbody>tr>td,\n.daterangepicker .table-bordered>tfoot>tr>td {\n border: 1px solid #ddd;\n}\n\n.daterangepicker .table-bordered>thead>tr>th,\n.daterangepicker .table-bordered>thead>tr>td {\n border-bottom-width: 2px;\n}\n\n.daterangepicker .table>thead>tr>td.active,\n.daterangepicker .table>tbody>tr>td.active,\n.daterangepicker .table>tfoot>tr>td.active,\n.daterangepicker .table>thead>tr>th.active,\n.daterangepicker .table>tbody>tr>th.active,\n.daterangepicker .table>tfoot>tr>th.active,\n.daterangepicker .table>thead>tr.active>td,\n.daterangepicker .table>tbody>tr.active>td,\n.daterangepicker .table>tfoot>tr.active>td,\n.daterangepicker .table>thead>tr.active>th,\n.daterangepicker .table>tbody>tr.active>th,\n.daterangepicker .table>tfoot>tr.active>th {\n background-color: #357ebd !important;\n}\n\n.daterangepicker .table-hover>tbody>tr>td.active:hover,\n.daterangepicker .table-hover>tbody>tr>th.active:hover,\n.daterangepicker .table-hover>tbody>tr.active:hover>td,\n.daterangepicker .table-hover>tbody>tr:hover>.active,\n.daterangepicker .table-hover>tbody>tr.active:hover>th {\n background-color: #f0f0f0;\n}\n\n.daterangepicker .table>tbody>tr>td.active.dateClicked {\n background-color: #357ebd !important;\n}\n\n.daterangepicker .table>thead>tr>td.info,\n.daterangepicker .table>tbody>tr>td.info,\n.daterangepicker .table>tfoot>tr>td.info,\n.daterangepicker .table>thead>tr>th.info,\n.daterangepicker .table>tbody>tr>th.info,\n.daterangepicker .table>tfoot>tr>th.info,\n.daterangepicker .table>thead>tr.info>td,\n.daterangepicker .table>tbody>tr.info>td,\n.daterangepicker .table>tfoot>tr.info>td,\n.daterangepicker .table>thead>tr.info>th,\n.daterangepicker .table>tbody>tr.info>th,\n.daterangepicker .table>tfoot>tr.info>th {\n background-color: #d9edf7;\n}\n\n.daterangepicker .table-hover>tbody>tr>td.info:hover,\n.daterangepicker .table-hover>tbody>tr>th.info:hover,\n.daterangepicker .table-hover>tbody>tr.info:hover>td,\n.daterangepicker .table-hover>tbody>tr:hover>.info,\n.daterangepicker .table-hover>tbody>tr.info:hover>th {\n background-color: #c4e3f3;\n}\n\n.daterangepicker .form-control {\n display: block;\n width: 100%;\n height: 34px;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n background-color: #fff;\n background-image: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n\n.daterangepicker .form-control:focus {\n border-color: #66afe9;\n outline: 0;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);\n}\n\n.daterangepicker .form-control::-moz-placeholder {\n color: #999;\n opacity: 1;\n}\n\n.daterangepicker .form-control:-ms-input-placeholder {\n color: #999;\n}\n\n.daterangepicker .form-control::-webkit-input-placeholder {\n color: #999;\n}\n\n.daterangepicker .form-control[disabled],\n.daterangepicker .form-control[readonly],\nfieldset[disabled] .form-control {\n background-color: #eee;\n opacity: 1;\n}\n\n.daterangepicker .form-control[disabled],\nfieldset[disabled] .form-control {\n cursor: not-allowed;\n}\n\n.daterangepicker .btn {\n display: inline-block;\n margin-bottom: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n touch-action: manipulation;\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n\n.daterangepicker .btn:focus,\n.daterangepicker .btn:active:focus,\n.daterangepicker .btn.active:focus,\n.daterangepicker .btn.focus,\n.daterangepicker .btn:active.focus,\n.daterangepicker .btn.active.focus {\n outline: thin dotted;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n\n.daterangepicker .btn:hover,\n.daterangepicker .btn:focus,\n.daterangepicker .btn.focus {\n color: #333;\n text-decoration: none;\n}\n\n.daterangepicker .btn:active,\n.daterangepicker .btn.active {\n background-image: none;\n outline: 0;\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n\n.daterangepicker .btn.disabled,\n.daterangepicker .btn[disabled],\nfieldset[disabled] .btn {\n pointer-events: none;\n cursor: not-allowed;\n filter: alpha(opacity=65);\n box-shadow: none;\n opacity: .65;\n}\n\n.daterangepicker .btn-default {\n color: #333;\n background-color: #fff;\n border-color: #ccc;\n}\n\n.daterangepicker .btn-default:hover,\n.daterangepicker .btn-default:focus,\n.daterangepicker .btn-default.focus,\n.daterangepicker .btn-default:active,\n.daterangepicker .btn-default.active,\n.daterangepicker .open>.dropdown-toggle.btn-default {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n\n.daterangepicker .btn-default:active,\n.daterangepicker .btn-default.active,\n.daterangepicker .open>.dropdown-toggle.btn-default {\n background-image: none;\n}\n\n.daterangepicker .btn-default.disabled,\n.daterangepicker .btn-default[disabled],\n.daterangepicker fieldset[disabled] .btn-default,\n.daterangepicker .btn-default.disabled:hover,\n.daterangepicker .btn-default[disabled]:hover,\n.daterangepicker fieldset[disabled] .btn-default:hover,\n.daterangepicker .btn-default.disabled:focus,\n.daterangepicker .btn-default[disabled]:focus,\n.daterangepicker fieldset[disabled] .btn-default:focus,\n.daterangepicker .btn-default.disabled.focus,\n.daterangepicker .btn-default[disabled].focus,\n.daterangepicker fieldset[disabled] .btn-default.focus,\n.daterangepicker .btn-default.disabled:active,\n.daterangepicker .btn-default[disabled]:active,\n.daterangepicker fieldset[disabled] .btn-default:active,\n.daterangepicker .btn-default.disabled.active,\n.daterangepicker .btn-default[disabled].active,\n.daterangepicker fieldset[disabled] .btn-default.active {\n background-color: #fff;\n border-color: #ccc;\n}\n\n.daterangepicker .btn-default .badge {\n color: #fff;\n background-color: #333;\n}\n\n.daterangepicker .btn-success {\n color: #fff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n\n.daterangepicker .btn-success:hover,\n.daterangepicker .btn-success:focus,\n.daterangepicker .btn-success.focus,\n.daterangepicker .btn-success:active,\n.daterangepicker .btn-success.active,\n.daterangepicker .open>.dropdown-toggle.btn-success {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n\n.daterangepicker .btn-success:active,\n.daterangepicker .btn-success.active,\n.daterangepicker .open>.dropdown-toggle.btn-success {\n background-image: none;\n}\n\n.daterangepicker .btn-success.disabled,\n.daterangepicker .btn-success[disabled],\n.daterangepicker fieldset[disabled] .btn-success,\n.daterangepicker .btn-success.disabled:hover,\n.daterangepicker .btn-success[disabled]:hover,\n.daterangepicker fieldset[disabled] .btn-success:hover,\n.daterangepicker .btn-success.disabled:focus,\n.daterangepicker .btn-success[disabled]:focus,\n.daterangepicker fieldset[disabled] .btn-success:focus,\n.daterangepicker .btn-success.disabled.focus,\n.daterangepicker .btn-success[disabled].focus,\n.daterangepicker fieldset[disabled] .btn-success.focus,\n.daterangepicker .btn-success.disabled:active,\n.daterangepicker .btn-success[disabled]:active,\n.daterangepicker fieldset[disabled] .btn-success:active,\n.daterangepicker .btn-success.disabled.active,\n.daterangepicker .btn-success[disabled].active,\n.daterangepicker fieldset[disabled] .btn-success.active {\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n\n.daterangepicker .btn-success .badge {\n color: #5cb85c;\n background-color: #fff;\n}\n\n.daterangepicker .btn {\n outline: none;\n}\n\n.dateRangePicker-input {\n border: none;\n border-bottom: 1px solid #3276b1;\n}\n\n.select-dropdown {\n height: 30px;\n background-color: #fff;\n width: 120px;\n position: relative;\n}\n\n.select-dropdown select {\n width: 100%;\n position: absolute;\n left: 13px;\n cursor: pointer;\n right: 0;\n background-color: transparent;\n border: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n z-index: 2;\n color: grey;\n}\n\ni {\n position: absolute;\n right: 3px;\n top: 9px;\n z-index: 1;\n font-size: 15px;\n}',""]),U.exports=w.toString()},7062:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".ue-dropdown {\n display: inline-block;\n position: relative;\n vertical-align: middle;\n}\n\n.ue-dropdown .ue-dropdown-item-empty {\n text-indent: -9999px; \n}\n\n.ue-dropdown .ue-dropdown-panel {\n min-width: 100%;\n}\n\n.ue-dropdown-panel {\n position: absolute;\n height: auto;\n\tbackground-color: white;\n\tbackground-clip: padding-box;\n\tpadding: 4px;\n\tmargin-top: 2px;\n\tborder: 1px solid rgba(0,0,0,.15);\n\tborder-radius: 2px;\n\tbox-shadow: 0 6px 12px rgba(0,0,0,.175);\n\t-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);\n}\n\n.ue-dropdown-panel.pull-right {\n\tright: 0;\n\tleft: auto;\n}\n.ue-dropdown-panel .ue-dropdown-items-wrapper {\n overflow: auto;\n}\n\n.ue-dropdown-panel .ue-dropdown-item {\n font-weight: normal;\n border: 0 none;\n cursor: pointer;\n text-align: left;\n\tborder-radius: 4px;\n}\n\n.ue-dropdown-item>span {\n margin: 3px 0;\n\tdisplay: block;\n\tpadding: 3px 20px;\n\tclear: both;\n\tfont-weight: 400;\n\tline-height: 1.42857143;\n\twhite-space: nowrap;\n}\n\n.ue-dropdown-item:hover {\n\tcolor: #fff;\n\tbackground-color: #3276b1;\n}\n\n.ue-dropdown-panel .ue-dropdown-list {\n padding-left: 0;\n border: 0 none;\n\tmargin: 0;\n}",""]),U.exports=w.toString()},642:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"div.error {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n}\n\ndiv.warningMessage {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n}\n\n.float-label-control.warning ::ng-deep input{\n\tbackground-color: #ffeab4;\n\tborder-color: orange;\n}\n\n.float-label-control.confirmed ::ng-deep input{\n\tbackground-color: #CCFFCC;\n\tborder-color: #ccc;\n}\n\n.labelCursor {\n\tcursor: text;\n}",""]),U.exports=w.toString()},4020:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".ng-float-label-control {\n\theight: 43px;\n\tbackground-color: #fff;\n\tborder: 1px solid #cdcdcd;\n\tborder-radius: 5px;\n margin-bottom: 1.5em;\n\tposition: relative;\n}\n\nselect {\n\twidth: 100%;\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding: 21px 10px 6px;\n\tmargin: 0;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n}\n\nselect.empty {\n\tpadding: 13px 10px 13px;\n\tcolor: #42779d;\n}\n\nlabel {\n\tposition: absolute;\n font-weight: normal;\n opacity: 1;\n top: 2px;\n left: 12px;\n\tcolor: #3c7299;\n font-size: 0.85em;\n transition: 0.5s all ease;\n -webkit-transition: 0.5s all ease;\n}\n\nlabel.empty {\n\topacity: 0 !important;\n top: 20px;\n left: 12px;\n animation: none;\n -webkit-animation: none;\n}\n\n.ng-float-label-control.error {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n\tmargin-bottom: 40px;\n\tbackground-color: #fff0f0 !important;\n\tborder-color: #A90329;\n}\n\n.disabled div, select {\n\tcolor: black;\n}\n\nspan.icon {\n\tposition: absolute;\n top: 25%;\n right: 3%;\n color: #3c7299;\n font-size: 1.1em;\n}\n",""]),U.exports=w.toString()},8234:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"span.error {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n}\n\ninput.disabled {\n\tcolor: black;\n\tbackground-color: #dddddd;\n}\n\n",""]),U.exports=w.toString()},7206:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"textarea {\n\tborder-radius: 5px !important;\n}\n\nspan.error {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n}\n\n.disabled {\n\tcolor: black;\n\tbackground-color: #dddddd;\n}\n\n.max-width-100 textarea {\n\tmax-width: 100%;\n}",""]),U.exports=w.toString()},9350:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"#fontIcon{\n font-size:35px !important;\n margin:5px !important;\n}",""]),U.exports=w.toString()},1682:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".loading-message {\n padding-top: 150px;\n}\n\n.app-loading {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n}\n\n.app-loading .spinner {\n height: 100px;\n width: 100px;\n animation: rotate 2s linear infinite;\n transform-origin: center center;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n}\n\n.app-loading .spinner .path {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n animation: dash 1.5s ease-in-out infinite;\n stroke-linecap: round;\n stroke: #ddd;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n }\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n }\n}\n\n/* Might need to use this if error */\n/* .cover {\n position:fixed;\n padding:0;\n margin:0;\n top:0;\n left:0;\n z-index:100 !important;\n width: 100%;\n height: 100%;\n background:rgba(255,255,255,0.5);\n} */\n\n.tabCover {\n position:absolute;\n /* padding-top:100px; */\n margin:0;\n left:0;\n z-index:100 !important;\n width: 100%;\n height: 60%;\n background-color:white !important;\n /* background:rgba(255,255,255,0.5); */\n}\n@keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n",""]),U.exports=w.toString()},7046:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".multiCode-input {\n\tdisplay: flex;\n\tjustify-content: space-around;\n}\n.multiCode-input input{\n max-width: 47px;\n min-height: 50px;\n border-radius: 10px;\n box-shadow: none;\n border: 1px solid var(--dgrey);\n\tfont-size: 18px;\n\ttext-align: center;\n}\n.multiCode-input input.active {\n\tcolor: var(--blue);\n\tborder: 1px solid var(--blue);\n}\n",""]),U.exports=w.toString()},4216:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},6084:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".nav-item-child-indent {\n\tpadding: 6px 17px 6px 43px !important;\n}\n\n.nav-item-child-hide {\n\tdisplay: block; \n\toverflow: hidden;\n}\n\n.um {\n\tfont-size: 8px;\n}",""]),U.exports=w.toString()},3336:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},8672:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},5366:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".modal-backdrop {\n\tz-index: 1100;\n}\n\n.modal {\n\tz-index: 1200;\n}\n\n.hide_element {\n\tdisplay: none\n}\n\n.closed_status {\n\tmax-height: 0;\n\ttransition: max-height .7s ease-in-out;\n\ttransition-delay: 1s;\n\toverflow: hidden;\n}\n\n.closed_status.slidedown {\n\tmax-height: 200px;\n}\n\n.progress_chart {\n\tanimation: fadein .5s;\n\t-webkit-animation: fadein .5s;\n\t-moz-animation: fadein .5s;\n}\n\n.fadeOut {\n\topacity: 0 !important;\n\ttransition: opacity .5s ease;\n}\n\n@keyframes fadein {\n\tfrom {opacity: 0;}\n\tto {opacity: 1;}\n}\n",""]),U.exports=w.toString()},614:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".table-filter {\n\tdisplay: inline-block;\n\tposition: relative;\n}\n\n.filterInput {\n\twidth: 0px;\n\tdisplay: inline-block;\n\ttransition: width 1s;\n\t-webkit-transition: width 1s;\n\theight: 32px;\n margin-right: -6px;\n\toverflow: hidden;\n\tvertical-align: bottom;\n}\n\n.open {\n\twidth: 250px;\n}\n\n.width13 {\n\twidth: 13px;\n}\n\n@media screen and (max-width: 430px) {\n\t.open {\n\t\twidth: 140px;\n\t}\n}",""]),U.exports=w.toString()},7859:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},4946:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"table.dataTable {\n\tborder-bottom: 0px;\n}\n.wrapper {\n height: 100%;\n overflow: visible;\n}",""]),U.exports=w.toString()},9126:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,'/* time library */\n\n.timeDiv {\n\twidth:60px;\n\t\n}\n.timepicker {\n\twidth:180px;\n}\n.timeClass{\n\twidth: 55px;\n\tfloat:left;\n}\n.colonDiv{\n\twidth:2px;\n\tfloat:left;\n\tmargin-top: 22px;\n font-size: 22px;\n\tpadding-left: 4px;\n}\n.pointer {\n\tfont-size:16px;\n\tcolor:#3c7299;\n}\n.timeInput {\n\twidth: 30px !important;\n border-radius: 5px;\n text-align: center; \n}\n\n\n/* The container
    - needed to position the dropdown content */\n.dropdown {\n position: relative;\n display: inline-block;\n}\n\n/* Dropdown Content (Hidden by Default) */\n.dropdown-content {\n display: block;\n position: absolute;\n background-color: white;\n\tmin-width: 180px;\n\theight: 100px;\n\tborder-radius: 4px;\n\tborder: 0.5px solid lightgrey;\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n z-index: 100;\n}\n\n/* Links inside the dropdown */\n.dropdown-content a {\n color: black;\n padding: 12px 16px;\n text-decoration: none;\n display: block;\n}\n\n/* Change color of dropdown links on hover */\n.dropdown-content a:hover {background-color: #ddd}\n\n/* Show the dropdown menu on hover */\n.dropdown:hover .dropdown-content {\n display: block;\n}\n\n/* Change the background color of the dropdown button when the dropdown content is shown */\n.dropdown:hover .dropbtn {\n background-color: #3e8e41;\n}\n\n\n.arrow_box {\n\tposition: relative;\n\tbackground: white;\n}\n\n.arrow_box:after, .arrow_box:before {\n\tbottom: 100%;\n\tleft: 50%;\n\tborder: 0.5px solid lightgrey;\n\tcontent: " ";\n\theight: 0;\n\twidth: 0;\n\tposition: absolute;\n\tpointer-events: none;\n}\n\n.arrow_box:after {\n\tborder-color: rgba(0, 0, 0, 0);\n\tborder-bottom-color: white;\n\tborder-width: 10px;\n\tmargin-left: -10px;\n}\n.arrow_box:before {\n\tborder-color: rgba(245, 245, 245, 0);\n\tborder-bottom-color: #f5f5f5;\n\tborder-width: 16px;\n\tmargin-left: -16px;\n}',""]),U.exports=w.toString()},9644:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},4534:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".highlight {\n\tbackground-color: #006DBB !important;\n\tcolor: white;\n}\n\n.add-custom-li {\n\tbackground: #073A59;\n\tcolor: #fff;\n\tborder-bottom-left-radius: 6px;\n\tborder-bottom-right-radius: 6px;\n}\n\n.suggestions {\n\tposition: absolute;\n\tbackground-color: #fff;\n\tborder: 1px solid rgba(0, 0, 0, 0.2);\n\tborder-radius: 6px;\n\tz-index: 904;\n\tbox-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n\tfont-size: 1.1em;\n\tleft: 0;\n\tright: 0;\n\tmargin-left: 12px;\n\tmargin-right: 12px;\n\toverflow: scroll;\n\tmax-height: 300px;\n}\n\n.no_border_style {\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding: 0;\n\tfont-weight: 100;\n\tcursor: text;\n}\n\nul {\n\tpadding-left: 0px;\n\tmargin-bottom: 0px;\n}\n\nul li {\n\tpadding: 5px 10px;\n}\n\n.error-border-bottom {\n\tborder-bottom: 1px solid #b94a48;\n\tbackground-color: #FFF9CB;\n}\n\n.hasLabel {\n\tmargin-top: -16px;\n}\n\n.cancel-button {\n\tposition: absolute;\n\ttop: 10px;\n\tright: 3em;\n\ttransition: all .2s ease-in;\n\t-webkit-transition: all .2s ease-in;\n}\n\n.invoice-options-input {\n\tborder-radius: 5px !important;\n}\n\ndiv.invoice-options-select > input {\n\tborder-radius: 0 5px 5px 0 !important;\n}\n\ndiv.invoice-options-select > span {\n\tborder-radius: 5px 0 0 5px !important;\n}\n.no_border_style_invoice {\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding: 0;\n\tfont-weight: 100;\n\tcursor: text;\n}\n.no_border_style_invoice:hover {\n\tborder-bottom: 1px solid #3276b1;\n}\n.ng-float-label {\n\twidth: 100%;\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding: 21px 10px 6px;\n\tmargin: 0;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n}\n.ng-float-label-empty {\n\tpadding: 13px 10px 13px;\n\tcolor: #42779d;\n} \n.ue-float-match {\n\theight: 43px;\n\twidth: 100%;\n\tborder-radius: 5px;\n\tborder: 1px solid #cdcdcd;\n\tpadding-left: 10px;\n\tcolor: #3b729e;\n}\n\n.suggestionItem {\n\tmargin: 5px 10px 5px 30px;\n}\n\n.suggestionHeader {\n\tmargin: 5px 10px;\n\tfont-weight: 700;\n\t-webkit-user-select: none;\n\tuser-select: none;\n\tcursor: not-allowed;\n}",""]),U.exports=w.toString()},9276:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},3134:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".highlight {\n\tbackground-color: #006DBB !important;\n\tcolor: white;\n}\n\n.add-custom-li {\n\tbackground: #073A59;\n\tcolor: #fff;\n\tborder-bottom-left-radius: 6px;\n\tborder-bottom-right-radius: 6px;\n}\n\n.suggestions {\n\tposition: absolute;\n\tbackground-color: #fff;\n\tborder: 1px solid rgba(0, 0, 0, 0.2);\n\tborder-radius: 6px;\n\tz-index: 904;\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n font-size: 1.1em;\n left: 0;\n right: 0;\n margin-left: 12px;\n margin-right: 12px;\n}\n\n.no_border_style {\n background-color: transparent;\n border: none;\n padding: 0;\n font-weight: 100;\n cursor: text;\n}\n\nul {\n\tpadding-left: 0px;\n\tmargin-bottom: 0px;\n}\n\nul li {\n padding: 5px 10px;\n}\n\n.error-border-bottom {\n\tborder-bottom: 1px solid #b94a48;\n\tbackground-color: #FFF9CB;\n}\n\n.hasLabel {\n\tmargin-top: -16px;\n}\n\n.cancel-button {\n\tposition: absolute;\n\ttop: 10px;\n\tright: 3em;\n\ttransition: all .2s ease-in;\n\t-webkit-transition: all .2s ease-in;\n}\n\n.invoice-options-input {\n\tborder-radius: 5px !important;\n}\n\ndiv.invoice-options-select > input {\n\tborder-radius: 0 5px 5px 0 !important;\n}\n\ndiv.invoice-options-select > span {\n\tborder-radius: 5px 0 0 5px !important;\n}\n.no_border_style_invoice {\n background-color: transparent;\n border: none;\n padding: 0;\n font-weight: 100;\n cursor: text;\n}\n.no_border_style_invoice:hover {\n\tborder-bottom: 1px solid #3276b1;\n}\n.ng-float-label {\n\twidth: 100%;\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding: 21px 10px 6px;\n\tmargin: 0;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n}\n.ng-float-label-empty {\n\tpadding: 13px 10px 13px;\n\tcolor: #42779d;\n} \n.ue-float-match {\n\theight: 43px;\n width: 100%;\n border-radius: 5px;\n border: 1px solid #cdcdcd;\n padding-left: 10px;\n color: #3b729e;\n}",""]),U.exports=w.toString()},5538:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".static-label {\n\tcolor: #3c7299; \n\tmargin-bottom: 0;\n}\n\n.expired {\n\tcolor: darkred;\n}\n\ninput:checked ~ span {\n font-weight: bold;\n}\n\ninput:disabled ~ span {\n color: lightgrey;\n}",""]),U.exports=w.toString()},3158:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".expired {\n\tcolor: darkred;\n}",""]),U.exports=w.toString()},1010:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,".text-right {\n\ttext-align: right;\n}\n\n.static-label {\n\tcolor: #3c7299; \n\tmargin-bottom: 0;\n}\n\ninput:checked ~ span {\n font-weight: bold;\n}\n\ninput:disabled ~ span {\n color: lightgrey;\n}",""]),U.exports=w.toString()},9010:(U,J,k)=>{var T=k(8564),w=k(8557)(T);w.push([U.id,"",""]),U.exports=w.toString()},5358:(U,J,k)=>{var T={"./af":1544,"./af.js":1544,"./ar":3108,"./ar-dz":2155,"./ar-dz.js":2155,"./ar-kw":3583,"./ar-kw.js":3583,"./ar-ly":1638,"./ar-ly.js":1638,"./ar-ma":7823,"./ar-ma.js":7823,"./ar-sa":8261,"./ar-sa.js":8261,"./ar-tn":6703,"./ar-tn.js":6703,"./ar.js":3108,"./az":6508,"./az.js":6508,"./be":6766,"./be.js":6766,"./bg":6183,"./bg.js":6183,"./bm":7462,"./bm.js":7462,"./bn":7107,"./bn-bd":3438,"./bn-bd.js":3438,"./bn.js":7107,"./bo":9004,"./bo.js":9004,"./br":927,"./br.js":927,"./bs":7768,"./bs.js":7768,"./ca":6291,"./ca.js":6291,"./cs":5301,"./cs.js":5301,"./cv":6666,"./cv.js":6666,"./cy":5163,"./cy.js":5163,"./da":7360,"./da.js":7360,"./de":5932,"./de-at":3248,"./de-at.js":3248,"./de-ch":3222,"./de-ch.js":3222,"./de.js":5932,"./dv":6405,"./dv.js":6405,"./el":718,"./el.js":718,"./en-au":6319,"./en-au.js":6319,"./en-ca":597,"./en-ca.js":597,"./en-gb":1800,"./en-gb.js":1800,"./en-ie":807,"./en-ie.js":807,"./en-il":5960,"./en-il.js":5960,"./en-in":4418,"./en-in.js":4418,"./en-nz":6865,"./en-nz.js":6865,"./en-sg":2647,"./en-sg.js":2647,"./eo":1931,"./eo.js":1931,"./es":6679,"./es-do":1805,"./es-do.js":1805,"./es-mx":3445,"./es-mx.js":3445,"./es-us":1516,"./es-us.js":1516,"./es.js":6679,"./et":8150,"./et.js":8150,"./eu":757,"./eu.js":757,"./fa":5742,"./fa.js":5742,"./fi":3958,"./fi.js":3958,"./fil":6720,"./fil.js":6720,"./fo":8352,"./fo.js":8352,"./fr":4059,"./fr-ca":2096,"./fr-ca.js":2096,"./fr-ch":5759,"./fr-ch.js":5759,"./fr.js":4059,"./fy":5958,"./fy.js":5958,"./ga":4143,"./ga.js":4143,"./gd":7028,"./gd.js":7028,"./gl":428,"./gl.js":428,"./gom-deva":6861,"./gom-deva.js":6861,"./gom-latn":7718,"./gom-latn.js":7718,"./gu":6827,"./gu.js":6827,"./he":1936,"./he.js":1936,"./hi":1332,"./hi.js":1332,"./hr":1957,"./hr.js":1957,"./hu":8928,"./hu.js":8928,"./hy-am":6215,"./hy-am.js":6215,"./id":586,"./id.js":586,"./is":211,"./is.js":211,"./it":170,"./it-ch":2340,"./it-ch.js":2340,"./it.js":170,"./ja":9770,"./ja.js":9770,"./jv":3875,"./jv.js":3875,"./ka":9499,"./ka.js":9499,"./kk":3573,"./kk.js":3573,"./km":8807,"./km.js":8807,"./kn":5082,"./kn.js":5082,"./ko":137,"./ko.js":137,"./ku":111,"./ku.js":111,"./ky":9187,"./ky.js":9187,"./lb":5969,"./lb.js":5969,"./lo":3526,"./lo.js":3526,"./lt":411,"./lt.js":411,"./lv":2621,"./lv.js":2621,"./me":5869,"./me.js":5869,"./mi":5881,"./mi.js":5881,"./mk":2391,"./mk.js":2391,"./ml":1126,"./ml.js":1126,"./mn":4892,"./mn.js":4892,"./mr":9080,"./mr.js":9080,"./ms":399,"./ms-my":5950,"./ms-my.js":5950,"./ms.js":399,"./mt":9902,"./mt.js":9902,"./my":2985,"./my.js":2985,"./nb":240,"./nb.js":240,"./ne":3642,"./ne.js":3642,"./nl":5441,"./nl-be":9875,"./nl-be.js":9875,"./nl.js":5441,"./nn":1311,"./nn.js":1311,"./oc-lnc":2567,"./oc-lnc.js":2567,"./pa-in":6962,"./pa-in.js":6962,"./pl":1063,"./pl.js":1063,"./pt":8719,"./pt-br":7476,"./pt-br.js":7476,"./pt.js":8719,"./ro":1004,"./ro.js":1004,"./ru":1326,"./ru.js":1326,"./sd":2608,"./sd.js":2608,"./se":3911,"./se.js":3911,"./si":5147,"./si.js":5147,"./sk":3741,"./sk.js":3741,"./sl":3e3,"./sl.js":3e3,"./sq":451,"./sq.js":451,"./sr":5046,"./sr-cyrl":905,"./sr-cyrl.js":905,"./sr.js":5046,"./ss":5765,"./ss.js":5765,"./sv":9290,"./sv.js":9290,"./sw":3449,"./sw.js":3449,"./ta":2688,"./ta.js":2688,"./te":2060,"./te.js":2060,"./tet":3290,"./tet.js":3290,"./tg":8294,"./tg.js":8294,"./th":1231,"./th.js":1231,"./tk":3746,"./tk.js":3746,"./tl-ph":9040,"./tl-ph.js":9040,"./tlh":7187,"./tlh.js":7187,"./tr":153,"./tr.js":153,"./tzl":8521,"./tzl.js":8521,"./tzm":8010,"./tzm-latn":2234,"./tzm-latn.js":2234,"./tzm.js":8010,"./ug-cn":3349,"./ug-cn.js":3349,"./uk":8479,"./uk.js":8479,"./ur":3024,"./ur.js":3024,"./uz":9800,"./uz-latn":2376,"./uz-latn.js":2376,"./uz.js":9800,"./vi":9366,"./vi.js":9366,"./x-pseudo":9702,"./x-pseudo.js":9702,"./yo":2655,"./yo.js":2655,"./zh-cn":575,"./zh-cn.js":575,"./zh-hk":8351,"./zh-hk.js":8351,"./zh-mo":1626,"./zh-mo.js":1626,"./zh-tw":8887,"./zh-tw.js":8887};function v(M){var C=w(M);return k(C)}function w(M){if(!k.o(T,M)){var C=new Error("Cannot find module '"+M+"'");throw C.code="MODULE_NOT_FOUND",C}return T[M]}v.keys=function(){return Object.keys(T)},v.resolve=w,U.exports=v,v.id=5358},9837:(U,J,k)=>{"use strict";k.d(J,{WHm:()=>vT,udt:()=>Jm});const T=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g");class v{constructor(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}static parse(r){const a=[],u=(L,R)=>{R.notSelectors.length>0&&!R.element&&0==R.classNames.length&&0==R.attrs.length&&(R.element="*"),L.push(R)};let f,p=new v,y=p,D=!1;for(T.lastIndex=0;f=T.exec(r);){if(f[1]){if(D)throw new Error("Nesting :not in a selector is not allowed");D=!0,y=new v,p.notSelectors.push(y)}const L=f[2];if(L){const j=f[3];"#"===j?y.addAttribute("id",L.slice(1)):"."===j?y.addClassName(L.slice(1)):y.setElement(L)}const R=f[4];if(R&&y.addAttribute(y.unescapeAttribute(R),f[6]),f[7]&&(D=!1,y=p),f[8]){if(D)throw new Error("Multiple selectors in :not are not supported");u(a,p),p=y=new v}}return u(a,p),a}unescapeAttribute(r){let a="",u=!1;for(let p=0;p0&&r.push("class",this.classNames.join(" ")),r.concat(this.attrs)}addAttribute(r,a=""){this.attrs.push(r,a&&a.toLowerCase()||"")}addClassName(r){this.classNames.push(r.toLowerCase())}toString(){let r=this.element||"";if(this.classNames&&this.classNames.forEach(a=>r+=`.${a}`),this.attrs)for(let a=0;ar+=`:not(${a})`),r}}class w{constructor(){this._elementMap=new Map,this._elementPartialMap=new Map,this._classMap=new Map,this._classPartialMap=new Map,this._attrValueMap=new Map,this._attrValuePartialMap=new Map,this._listContexts=[]}static createNotMatcher(r){const a=new w;return a.addSelectables(r,null),a}addSelectables(r,a){let u=null;r.length>1&&(u=new M(r),this._listContexts.push(u));for(let p=0;p0&&(!this.listContext||!this.listContext.alreadyMatched)&&(u=!w.createNotMatcher(this.notSelectors).match(r,null)),u&&a&&(!this.listContext||!this.listContext.alreadyMatched)&&(this.listContext&&(this.listContext.alreadyMatched=!0),a(this.selector,this.cbContext)),u}}var N,l,B,Q;(l=N||(N={}))[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",function(l){l[l.OnPush=0]="OnPush",l[l.Default=1]="Default"}(B||(B={})),function(l){l[l.None=0]="None",l[l.SignalBased=1]="SignalBased",l[l.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(Q||(Q={}));const $={name:"custom-elements"},Z={name:"no-errors-schema"};var se,ve;function lt(l){const r=function _e(l){const r=l.classNames&&l.classNames.length?[8,...l.classNames]:[];return[l.element&&"*"!==l.element?l.element:"",...l.attrs,...r]}(l),a=l.notSelectors&&l.notSelectors.length?l.notSelectors.map(u=>function Ze(l){const r=l.classNames&&l.classNames.length?[8,...l.classNames]:[];return l.element?[5,l.element,...l.attrs,...r]:l.attrs.length?[3,...l.attrs,...r]:l.classNames&&l.classNames.length?[9,...l.classNames]:[]}(u)):[];return r.concat(...a)}function Je(l){return l?v.parse(l).map(lt):[]}!function(l){l[l.NONE=0]="NONE",l[l.HTML=1]="HTML",l[l.STYLE=2]="STYLE",l[l.SCRIPT=3]="SCRIPT",l[l.URL=4]="URL",l[l.RESOURCE_URL=5]="RESOURCE_URL"}(se||(se={})),function(l){l[l.Error=0]="Error",l[l.Warning=1]="Warning",l[l.Ignore=2]="Ignore"}(ve||(ve={}));let De;function Ne(l){return function He(l){De??=new TextEncoder;const r=[...De.encode(l)],a=function Me(l,r){const a=l.length+3>>>2,u=[];for(let p=0;p>5]|=128<<24-u%32,a[15+(u+64>>9<<4)]=u;for(let j=0;jr.visit(re,null))}(l.nodes).join("")+`[${l.meaning}]`)}function Re(l,r){return l.id||Fe(l,r)}function Fe(l,r){const a=new Te(r);return gr(l.nodes.map(p=>p.visit(a,null)).join(""),l.meaning)}class ne{visitText(r,a){return r.value}visitContainer(r,a){return`[${r.children.map(u=>u.visit(this)).join(", ")}]`}visitIcu(r,a){const u=Object.keys(r.cases).map(p=>`${p} {${r.cases[p].visit(this)}}`);return`{${r.expression}, ${r.type}, ${u.join(", ")}}`}visitTagPlaceholder(r,a){return r.isVoid?``:`${r.children.map(u=>u.visit(this)).join(", ")}`}visitPlaceholder(r,a){return r.value?`${r.value}`:``}visitIcuPlaceholder(r,a){return`${r.value.visit(this)}`}visitBlockPlaceholder(r,a){return`${r.children.map(u=>u.visit(this)).join(", ")}`}}const re=new ne;class Te extends ne{constructor(r){super(),this.preservePlaceholders=r}visitPlaceholder(r,a){return this.preservePlaceholders?super.visitPlaceholder(r,a):``}visitIcu(r){let a=Object.keys(r.cases).map(u=>`${u} {${r.cases[u].visit(this)}}`);return`{${r.type}, ${a.join(", ")}}`}}function St(l){return(l>>>0).toString(16).padStart(8,"0")}function ls(l,r,a,u){return l<20?[r&a|~r&u,1518500249]:l<40?[r^a^u,1859775393]:l<60?[r&a|r&u|a&u,2400959708]:[r^a^u,3395469782]}function Ks(l){De??=new TextEncoder;const r=De.encode(l),a=new DataView(r.buffer,r.byteOffset,r.byteLength);let u=Jt(a,r.length,0),p=Jt(a,r.length,102072);return 0==u&&(0==p||1==p)&&(u^=319790063,p^=-1801410264),BigInt.asUintN(32,BigInt(u))<>BigInt(63)&BigInt(1),a+=Ks(r)),BigInt.asUintN(63,a).toString()}function Jt(l,r,a){let u=2654435769,p=2654435769,f=0;const y=r-12;for(;f<=y;f+=12){u+=l.getUint32(f,!0),p+=l.getUint32(f+4,!0);const L=vn(u,p,a+=l.getUint32(f+8,!0));u=L[0],p=L[1],a=L[2]}const D=r-f;return a+=r,D>=4?(u+=l.getUint32(f,!0),f+=4,D>=8?(p+=l.getUint32(f,!0),f+=4,D>=9&&(a+=l.getUint8(f++)<<8),D>=10&&(a+=l.getUint8(f++)<<16),11===D&&(a+=l.getUint8(f++)<<24)):(D>=5&&(p+=l.getUint8(f++)),D>=6&&(p+=l.getUint8(f++)<<8),7===D&&(p+=l.getUint8(f++)<<16))):(D>=1&&(u+=l.getUint8(f++)),D>=2&&(u+=l.getUint8(f++)<<8),3===D&&(u+=l.getUint8(f++)<<16)),vn(u,p,a)[2]}function vn(l,r,a){return l-=r,l-=a,r-=a,r-=l^=a>>>13,a-=l,a-=r^=l<<8,l-=r,l-=a^=r>>>13,r-=a,r-=l^=a>>>12,a-=l,a-=r^=l<<16,l-=r,l-=a^=r>>>5,r-=a,r-=l^=a>>>3,a-=l,a-=r^=l<<10,[l,r,a^=r>>>15]}var ht,Wn,mt;function zn(l,r){return function Pt(l,r){const a=(65535&l)+(65535&r),u=(l>>>16)+(r>>>16)+(a>>>16);return[u>>>16,u<<16|65535&a]}(l,r)[1]}function xt(l,r){return l<>>32-r}function Cs(l,r){return r>=l.length?0:l[r]}function rn(l,r,a){let u=0;if(a===ht.Big)for(let p=0;p<4;p++)u+=Cs(l,r+p)<<24-8*p;else for(let p=0;p<4;p++)u+=Cs(l,r+p)<<8*p;return u}!function(l){l[l.Little=0]="Little",l[l.Big=1]="Big"}(ht||(ht={})),function(l){l[l.None=0]="None",l[l.Const=1]="Const"}(Wn||(Wn={}));class Rs{constructor(r=Wn.None){this.modifiers=r}hasModifier(r){return!!(this.modifiers&r)}}!function(l){l[l.Dynamic=0]="Dynamic",l[l.Bool=1]="Bool",l[l.String=2]="String",l[l.Int=3]="Int",l[l.Number=4]="Number",l[l.Function=5]="Function",l[l.Inferred=6]="Inferred",l[l.None=7]="None"}(mt||(mt={}));class Yt extends Rs{constructor(r,a){super(a),this.name=r}visitType(r,a){return r.visitBuiltinType(this,a)}}class Rt extends Rs{constructor(r,a,u=null){super(a),this.value=r,this.typeParams=u}visitType(r,a){return r.visitExpressionType(this,a)}}const At=new Yt(mt.Dynamic),Nt=new Yt(mt.Inferred),Qt=new Yt(mt.Bool),on=(new Yt(mt.Int),new Yt(mt.Number)),en=new Yt(mt.String),gt=(new Yt(mt.Function),new Yt(mt.None));var sr,Oe;function Tr(l,r){return null==l||null==r?l==r:l.isEquivalent(r)}function Xt(l,r,a){const u=l.length;if(u!==r.length)return!1;for(let p=0;pa.isEquivalent(u))}!function(l){l[l.Minus=0]="Minus",l[l.Plus=1]="Plus"}(sr||(sr={})),function(l){l[l.Equals=0]="Equals",l[l.NotEquals=1]="NotEquals",l[l.Identical=2]="Identical",l[l.NotIdentical=3]="NotIdentical",l[l.Minus=4]="Minus",l[l.Plus=5]="Plus",l[l.Divide=6]="Divide",l[l.Multiply=7]="Multiply",l[l.Modulo=8]="Modulo",l[l.And=9]="And",l[l.Or=10]="Or",l[l.BitwiseOr=11]="BitwiseOr",l[l.BitwiseAnd=12]="BitwiseAnd",l[l.Lower=13]="Lower",l[l.LowerEquals=14]="LowerEquals",l[l.Bigger=15]="Bigger",l[l.BiggerEquals=16]="BiggerEquals",l[l.NullishCoalesce=17]="NullishCoalesce"}(Oe||(Oe={}));class Be{constructor(r,a){this.type=r||null,this.sourceSpan=a||null}prop(r,a){return new gs(this,r,null,a)}key(r,a,u){return new Kn(this,r,a,u)}callFn(r,a,u){return new Pn(this,r,null,a,u)}instantiate(r,a,u){return new ii(this,r,a,u)}conditional(r,a=null,u){return new yi(this,r,a,null,u)}equals(r,a){return new Ut(Oe.Equals,this,r,null,a)}notEquals(r,a){return new Ut(Oe.NotEquals,this,r,null,a)}identical(r,a){return new Ut(Oe.Identical,this,r,null,a)}notIdentical(r,a){return new Ut(Oe.NotIdentical,this,r,null,a)}minus(r,a){return new Ut(Oe.Minus,this,r,null,a)}plus(r,a){return new Ut(Oe.Plus,this,r,null,a)}divide(r,a){return new Ut(Oe.Divide,this,r,null,a)}multiply(r,a){return new Ut(Oe.Multiply,this,r,null,a)}modulo(r,a){return new Ut(Oe.Modulo,this,r,null,a)}and(r,a){return new Ut(Oe.And,this,r,null,a)}bitwiseOr(r,a,u=!0){return new Ut(Oe.BitwiseOr,this,r,null,a,u)}bitwiseAnd(r,a,u=!0){return new Ut(Oe.BitwiseAnd,this,r,null,a,u)}or(r,a){return new Ut(Oe.Or,this,r,null,a)}lower(r,a){return new Ut(Oe.Lower,this,r,null,a)}lowerEquals(r,a){return new Ut(Oe.LowerEquals,this,r,null,a)}bigger(r,a){return new Ut(Oe.Bigger,this,r,null,a)}biggerEquals(r,a){return new Ut(Oe.BiggerEquals,this,r,null,a)}isBlank(r){return this.equals(ae,r)}nullishCoalesce(r,a){return new Ut(Oe.NullishCoalesce,this,r,null,a)}toStmt(){return new Qs(this,null)}}class qn extends Be{constructor(r,a,u){super(a,u),this.name=r}isEquivalent(r){return r instanceof qn&&this.name===r.name}isConstant(){return!1}visitExpression(r,a){return r.visitReadVarExpr(this,a)}clone(){return new qn(this.name,this.type,this.sourceSpan)}set(r){return new Ri(this.name,r,null,this.sourceSpan)}}class _r extends Be{constructor(r,a,u){super(a,u),this.expr=r}visitExpression(r,a){return r.visitTypeofExpr(this,a)}isEquivalent(r){return r instanceof _r&&r.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new _r(this.expr.clone())}}class kt extends Be{constructor(r,a,u){super(a,u),this.node=r}isEquivalent(r){return r instanceof kt&&this.node===r.node}isConstant(){return!1}visitExpression(r,a){return r.visitWrappedNodeExpr(this,a)}clone(){return new kt(this.node,this.type,this.sourceSpan)}}class Ri extends Be{constructor(r,a,u,p){super(u||a.type,p),this.name=r,this.value=a}isEquivalent(r){return r instanceof Ri&&this.name===r.name&&this.value.isEquivalent(r.value)}isConstant(){return!1}visitExpression(r,a){return r.visitWriteVarExpr(this,a)}clone(){return new Ri(this.name,this.value.clone(),this.type,this.sourceSpan)}toDeclStmt(r,a){return new Fr(this.name,this.value,r,a,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(Nt,ut.Final)}}class yr extends Be{constructor(r,a,u,p,f){super(p||u.type,f),this.receiver=r,this.index=a,this.value=u}isEquivalent(r){return r instanceof yr&&this.receiver.isEquivalent(r.receiver)&&this.index.isEquivalent(r.index)&&this.value.isEquivalent(r.value)}isConstant(){return!1}visitExpression(r,a){return r.visitWriteKeyExpr(this,a)}clone(){return new yr(this.receiver.clone(),this.index.clone(),this.value.clone(),this.type,this.sourceSpan)}}class Ct extends Be{constructor(r,a,u,p,f){super(p||u.type,f),this.receiver=r,this.name=a,this.value=u}isEquivalent(r){return r instanceof Ct&&this.receiver.isEquivalent(r.receiver)&&this.name===r.name&&this.value.isEquivalent(r.value)}isConstant(){return!1}visitExpression(r,a){return r.visitWritePropExpr(this,a)}clone(){return new Ct(this.receiver.clone(),this.name,this.value.clone(),this.type,this.sourceSpan)}}class Pn extends Be{constructor(r,a,u,p,f=!1){super(u,p),this.fn=r,this.args=a,this.pure=f}get receiver(){return this.fn}isEquivalent(r){return r instanceof Pn&&this.fn.isEquivalent(r.fn)&&Vt(this.args,r.args)&&this.pure===r.pure}isConstant(){return!1}visitExpression(r,a){return r.visitInvokeFunctionExpr(this,a)}clone(){return new Pn(this.fn.clone(),this.args.map(r=>r.clone()),this.type,this.sourceSpan,this.pure)}}class Cc extends Be{constructor(r,a,u,p){super(u,p),this.tag=r,this.template=a}isEquivalent(r){return r instanceof Cc&&this.tag.isEquivalent(r.tag)&&Xt(this.template.elements,r.template.elements,(a,u)=>a.text===u.text)&&Vt(this.template.expressions,r.template.expressions)}isConstant(){return!1}visitExpression(r,a){return r.visitTaggedTemplateExpr(this,a)}clone(){return new Cc(this.tag.clone(),this.template.clone(),this.type,this.sourceSpan)}}class ii extends Be{constructor(r,a,u,p){super(u,p),this.classExpr=r,this.args=a}isEquivalent(r){return r instanceof ii&&this.classExpr.isEquivalent(r.classExpr)&&Vt(this.args,r.args)}isConstant(){return!1}visitExpression(r,a){return r.visitInstantiateExpr(this,a)}clone(){return new ii(this.classExpr.clone(),this.args.map(r=>r.clone()),this.type,this.sourceSpan)}}class Es extends Be{constructor(r,a,u){super(a,u),this.value=r}isEquivalent(r){return r instanceof Es&&this.value===r.value}isConstant(){return!0}visitExpression(r,a){return r.visitLiteralExpr(this,a)}clone(){return new Es(this.value,this.type,this.sourceSpan)}}class Gn{constructor(r,a){this.elements=r,this.expressions=a}clone(){return new Gn(this.elements.map(r=>r.clone()),this.expressions.map(r=>r.clone()))}}class ct{constructor(r,a,u){this.text=r,this.sourceSpan=a,this.rawText=u??a?.toString()??Il(Tl(r))}clone(){return new ct(this.text,this.sourceSpan,this.rawText)}}class Ya{constructor(r,a){this.text=r,this.sourceSpan=a}}class Us{constructor(r,a,u){this.text=r,this.sourceSpan=a,this.associatedMessage=u}}class kl extends Be{constructor(r,a,u,p,f){super(en,f),this.metaBlock=r,this.messageParts=a,this.placeHolderNames=u,this.expressions=p}isEquivalent(r){return!1}isConstant(){return!1}visitExpression(r,a){return r.visitLocalizedString(this,a)}clone(){return new kl(this.metaBlock,this.messageParts,this.placeHolderNames,this.expressions.map(r=>r.clone()),this.sourceSpan)}serializeI18nHead(){let r=this.metaBlock.description||"";return this.metaBlock.meaning&&(r=`${this.metaBlock.meaning}|${r}`),this.metaBlock.customId&&(r=`${r}@@${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(a=>{r=`${r}\u241f${a}`}),_h(r,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(r){return this.messageParts[r]?.sourceSpan??this.sourceSpan}getPlaceholderSourceSpan(r){return this.placeHolderNames[r]?.sourceSpan??this.expressions[r]?.sourceSpan??this.sourceSpan}serializeI18nTemplatePart(r){const a=this.placeHolderNames[r-1],u=this.messageParts[r];let p=a.text;return 0===a.associatedMessage?.legacyIds.length&&(p+=`@@${gr(a.associatedMessage.messageString,a.associatedMessage.meaning)}`),_h(p,u.text,this.getMessagePartSourceSpan(r))}}const Tl=l=>l.replace(/\\/g,"\\\\"),ms=l=>l.replace(/^:/,"\\:"),lw=l=>l.replace(/:/g,"\\:"),Il=l=>l.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function _h(l,r,a){return""===l?{cooked:r,raw:Il(ms(Tl(r))),range:a}:{cooked:`:${l}:${r}`,raw:Il(`:${lw(Tl(l))}:${Tl(r)}`),range:a}}class Ue extends Be{constructor(r,a,u=null,p){super(a,p),this.value=r,this.typeParams=u}isEquivalent(r){return r instanceof Ue&&this.value.name===r.value.name&&this.value.moduleName===r.value.moduleName&&this.value.runtime===r.value.runtime}isConstant(){return!1}visitExpression(r,a){return r.visitExternalExpr(this,a)}clone(){return new Ue(this.value,this.type,this.typeParams,this.sourceSpan)}}class yi extends Be{constructor(r,a,u=null,p,f){super(p||a.type,f),this.condition=r,this.falseCase=u,this.trueCase=a}isEquivalent(r){return r instanceof yi&&this.condition.isEquivalent(r.condition)&&this.trueCase.isEquivalent(r.trueCase)&&Tr(this.falseCase,r.falseCase)}isConstant(){return!1}visitExpression(r,a){return r.visitConditionalExpr(this,a)}clone(){return new yi(this.condition.clone(),this.trueCase.clone(),this.falseCase?.clone(),this.type,this.sourceSpan)}}class Ir extends Be{constructor(r,a){super(Qt,a),this.condition=r}isEquivalent(r){return r instanceof Ir&&this.condition.isEquivalent(r.condition)}isConstant(){return!1}visitExpression(r,a){return r.visitNotExpr(this,a)}clone(){return new Ir(this.condition.clone(),this.sourceSpan)}}class Dt{constructor(r,a=null){this.name=r,this.type=a}isEquivalent(r){return this.name===r.name}clone(){return new Dt(this.name,this.type)}}class oi extends Be{constructor(r,a,u,p,f){super(u,p),this.params=r,this.statements=a,this.name=f}isEquivalent(r){return(r instanceof oi||r instanceof Al)&&Vt(this.params,r.params)&&Vt(this.statements,r.statements)}isConstant(){return!1}visitExpression(r,a){return r.visitFunctionExpr(this,a)}toDeclStmt(r,a){return new Al(r,this.params,this.statements,this.type,a,this.sourceSpan)}clone(){return new oi(this.params.map(r=>r.clone()),this.statements,this.type,this.sourceSpan,this.name)}}class Ki extends Be{constructor(r,a,u,p){super(u,p),this.params=r,this.body=a}isEquivalent(r){return!!(r instanceof Ki&&Vt(this.params,r.params))&&(this.body instanceof Be&&r.body instanceof Be?this.body.isEquivalent(r.body):!(!Array.isArray(this.body)||!Array.isArray(r.body))&&Vt(this.body,r.body))}isConstant(){return!1}visitExpression(r,a){return r.visitArrowFunctionExpr(this,a)}clone(){return new Ki(this.params.map(r=>r.clone()),Array.isArray(this.body)?this.body:this.body.clone(),this.type,this.sourceSpan)}toDeclStmt(r,a){return new Fr(r,this,Nt,a,this.sourceSpan)}}class xs extends Be{constructor(r,a,u,p,f=!0){super(u||on,p),this.operator=r,this.expr=a,this.parens=f}isEquivalent(r){return r instanceof xs&&this.operator===r.operator&&this.expr.isEquivalent(r.expr)}isConstant(){return!1}visitExpression(r,a){return r.visitUnaryOperatorExpr(this,a)}clone(){return new xs(this.operator,this.expr.clone(),this.type,this.sourceSpan,this.parens)}}class Ut extends Be{constructor(r,a,u,p,f,y=!0){super(p||a.type,f),this.operator=r,this.rhs=u,this.parens=y,this.lhs=a}isEquivalent(r){return r instanceof Ut&&this.operator===r.operator&&this.lhs.isEquivalent(r.lhs)&&this.rhs.isEquivalent(r.rhs)}isConstant(){return!1}visitExpression(r,a){return r.visitBinaryOperatorExpr(this,a)}clone(){return new Ut(this.operator,this.lhs.clone(),this.rhs.clone(),this.type,this.sourceSpan,this.parens)}}class gs extends Be{constructor(r,a,u,p){super(u,p),this.receiver=r,this.name=a}get index(){return this.name}isEquivalent(r){return r instanceof gs&&this.receiver.isEquivalent(r.receiver)&&this.name===r.name}isConstant(){return!1}visitExpression(r,a){return r.visitReadPropExpr(this,a)}set(r){return new Ct(this.receiver,this.name,r,null,this.sourceSpan)}clone(){return new gs(this.receiver.clone(),this.name,this.type,this.sourceSpan)}}class Kn extends Be{constructor(r,a,u,p){super(u,p),this.receiver=r,this.index=a}isEquivalent(r){return r instanceof Kn&&this.receiver.isEquivalent(r.receiver)&&this.index.isEquivalent(r.index)}isConstant(){return!1}visitExpression(r,a){return r.visitReadKeyExpr(this,a)}set(r){return new yr(this.receiver,this.index,r,null,this.sourceSpan)}clone(){return new Kn(this.receiver.clone(),this.index.clone(),this.type,this.sourceSpan)}}class ks extends Be{constructor(r,a,u){super(a,u),this.entries=r}isConstant(){return this.entries.every(r=>r.isConstant())}isEquivalent(r){return r instanceof ks&&Vt(this.entries,r.entries)}visitExpression(r,a){return r.visitLiteralArrayExpr(this,a)}clone(){return new ks(this.entries.map(r=>r.clone()),this.type,this.sourceSpan)}}class ai{constructor(r,a,u){this.key=r,this.value=a,this.quoted=u}isEquivalent(r){return this.key===r.key&&this.value.isEquivalent(r.value)}clone(){return new ai(this.key,this.value.clone(),this.quoted)}}class cs extends Be{constructor(r,a,u){super(a,u),this.entries=r,this.valueType=null,a&&(this.valueType=a.valueType)}isEquivalent(r){return r instanceof cs&&Vt(this.entries,r.entries)}isConstant(){return this.entries.every(r=>r.value.isConstant())}visitExpression(r,a){return r.visitLiteralMapExpr(this,a)}clone(){const r=this.entries.map(a=>a.clone());return new cs(r,this.type,this.sourceSpan)}}const ja=new Es(null,null,null),ae=new Es(null,Nt,null);var ut;!function(l){l[l.None=0]="None",l[l.Final=1]="Final",l[l.Private=2]="Private",l[l.Exported=4]="Exported",l[l.Static=8]="Static"}(ut||(ut={}));class _a{constructor(r,a,u){this.text=r,this.multiline=a,this.trailingNewline=u}toString(){return this.multiline?` ${this.text} `:this.text}}class yh extends _a{constructor(r){super("",!0,!0),this.tags=r}toString(){return function Va(l){if(0===l.length)return"";if(1===l.length&&l[0].tagName&&!l[0].text)return`*${hw(l[0])} `;let r="*\n";for(const a of l)r+=" *",r+=hw(a).replace(/\n/g,"\n * "),r+="\n";return r+=" ",r}(this.tags)}}class xc{constructor(r=ut.None,a=null,u){this.modifiers=r,this.sourceSpan=a,this.leadingComments=u}hasModifier(r){return!!(this.modifiers&r)}addLeadingComment(r){this.leadingComments=this.leadingComments??[],this.leadingComments.push(r)}}class Fr extends xc{constructor(r,a,u,p,f,y){super(p,f,y),this.name=r,this.value=a,this.type=u||a&&a.type||null}isEquivalent(r){return r instanceof Fr&&this.name===r.name&&(this.value?!!r.value&&this.value.isEquivalent(r.value):!r.value)}visitStatement(r,a){return r.visitDeclareVarStmt(this,a)}}class Al extends xc{constructor(r,a,u,p,f,y,D){super(f,y,D),this.name=r,this.params=a,this.statements=u,this.type=p||null}isEquivalent(r){return r instanceof Al&&Vt(this.params,r.params)&&Vt(this.statements,r.statements)}visitStatement(r,a){return r.visitDeclareFunctionStmt(this,a)}}class Qs extends xc{constructor(r,a,u){super(ut.None,a,u),this.expr=r}isEquivalent(r){return r instanceof Qs&&this.expr.isEquivalent(r.expr)}visitStatement(r,a){return r.visitExpressionStmt(this,a)}}class rr extends xc{constructor(r,a=null,u){super(ut.None,a,u),this.value=r}isEquivalent(r){return r instanceof rr&&this.value.isEquivalent(r.value)}visitStatement(r,a){return r.visitReturnStmt(this,a)}}class jo extends xc{constructor(r,a,u=[],p,f){super(ut.None,p,f),this.condition=r,this.trueCase=a,this.falseCase=u}isEquivalent(r){return r instanceof jo&&this.condition.isEquivalent(r.condition)&&Vt(this.trueCase,r.trueCase)&&Vt(this.falseCase,r.falseCase)}visitStatement(r,a){return r.visitIfStmt(this,a)}}function Ou(l=[]){return new yh(l)}function _t(l,r,a){return new qn(l,r,a)}function Le(l,r=null,a){return new Ue(l,null,r,a)}function Ar(l,r,a){return new Rt(l,r,a)}function bn(l){return new _r(l)}function $t(l,r,a){return new ks(l,r,a)}function hn(l,r=null){return new cs(l.map(a=>new ai(a.key,a.value,a.quoted)),r,null)}function Nu(l,r){return new Ir(l,r)}function Vo(l,r,a,u,p){return new oi(l,r,a,u,p)}function Et(l,r,a,u){return new Ki(l,r,a,u)}function dt(l,r,a,u,p){return new jo(l,r,a,u,p)}function Oi(l,r,a,u){return new Cc(l,r,a,u)}function X(l,r,a){return new Es(l,r,a)}function uw(l,r,a,u,p){return new kl(l,r,a,u,p)}function hw(l){let r="";if(l.tagName&&(r+=` @${l.tagName}`),l.text){if(l.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');r+=" "+l.text.replace(/@/g,"\\@")}return r}const pw=_t(""),C_={};class vh extends Be{constructor(r){super(r.type),this.resolved=r,this.shared=!1,this.original=r}visitExpression(r,a){return a===C_?this.original.visitExpression(r,a):this.resolved.visitExpression(r,a)}isEquivalent(r){return r instanceof vh&&this.resolved.isEquivalent(r.resolved)}isConstant(){return!0}clone(){throw new Error("Not supported.")}fixup(r){this.resolved=r,this.shared=!0}}class E_{constructor(r=!1){this.isClosureCompilerEnabled=r,this.statements=[],this.literals=new Map,this.literalFactories=new Map,this.sharedConstants=new Map,this._claimedNames=new Map,this.nextNameIndex=0}getConstLiteral(r,a){if(r instanceof Es&&!Mt(r)||r instanceof vh)return r;const u=Fu.INSTANCE.keyOf(r);let p=this.literals.get(u),f=!1;if(p||(p=new vh(r),this.literals.set(u,p),f=!0),!f&&!p.shared||f&&a){const y=this.freshName();let D,L;this.isClosureCompilerEnabled&&Mt(r)?(D=_t(y).set(new oi([],[new rr(r)])),L=_t(y).callFn([])):(D=_t(y).set(r),L=_t(y)),this.statements.push(D.toDeclStmt(Nt,ut.Final)),p.fixup(L)}return p}getSharedConstant(r,a){const u=r.keyOf(a);if(!this.sharedConstants.has(u)){const p=this.freshName();this.sharedConstants.set(u,_t(p)),this.statements.push(r.toSharedConstantDeclaration(p,a))}return this.sharedConstants.get(u)}getLiteralFactory(r){if(r instanceof ks){const a=r.entries.map(p=>p.isConstant()?p:pw),u=Fu.INSTANCE.keyOf($t(a));return this._getLiteralFactory(u,r.entries,p=>$t(p))}{const a=hn(r.entries.map(p=>({key:p.key,value:p.value.isConstant()?p.value:pw,quoted:p.quoted}))),u=Fu.INSTANCE.keyOf(a);return this._getLiteralFactory(u,r.entries.map(p=>p.value),p=>hn(p.map((f,y)=>({key:r.entries[y].key,value:f,quoted:r.entries[y].quoted}))))}}getSharedFunctionReference(r,a,u=!0){const p=r instanceof Ki;for(const y of this.statements)if(p&&y instanceof Fr&&y.value?.isEquivalent(r)||!p&&y instanceof Al&&r instanceof oi&&r.isEquivalent(y))return _t(y.name);const f=u?this.uniqueName(a):a;return this.statements.push(r instanceof oi?r.toDeclStmt(f,ut.Final):new Fr(f,r,Nt,ut.Final,r.sourceSpan)),_t(f)}_getLiteralFactory(r,a,u){let p=this.literalFactories.get(r);const f=a.filter(y=>!y.isConstant());if(!p){const y=a.map((j,q)=>j.isConstant()?this.getConstLiteral(j,!0):_t(`a${q}`)),L=Et(y.filter(Ni).map(j=>new Dt(j.name,At)),u(y),Nt),R=this.freshName();this.statements.push(_t(R).set(L).toDeclStmt(Nt,ut.Final)),p=_t(R),this.literalFactories.set(r,p)}return{literalFactory:p,literalFactoryArguments:f}}uniqueName(r,a=!0){const u=this._claimedNames.get(r)??0,p=0!==u||a?`${r}${u}`:`${r}`;return this._claimedNames.set(r,u+1),p}freshName(){return this.uniqueName("_c")}}class Fu{static#e=this.INSTANCE=new Fu;keyOf(r){if(r instanceof Es&&"string"==typeof r.value)return`"${r.value}"`;if(r instanceof Es)return String(r.value);if(r instanceof ks){const a=[];for(const u of r.entries)a.push(this.keyOf(u));return`[${a.join(",")}]`}if(r instanceof cs){const a=[];for(const u of r.entries){let p=u.key;u.quoted&&(p=`"${p}"`),a.push(p+":"+this.keyOf(u.value))}return`{${a.join(",")}}`}if(r instanceof Ue)return`import("${r.value.moduleName}", ${r.value.name})`;if(r instanceof qn)return`read(${r.name})`;if(r instanceof _r)return`typeof(${this.keyOf(r.expr)})`;throw new Error(`${this.constructor.name} does not handle expressions of type ${r.constructor.name}`)}}function Ni(l){return l instanceof qn}function Mt(l){return l instanceof Es&&"string"==typeof l.value&&l.value.length>=50}const te="@angular/core";class G{static#e=this.NEW_METHOD="factory";static#t=this.TRANSFORM_METHOD="transform";static#n=this.PATCH_DEPS="patchedDeps";static#s=this.core={name:null,moduleName:te};static#r=this.namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:te};static#i=this.namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:te};static#o=this.namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:te};static#a=this.element={name:"\u0275\u0275element",moduleName:te};static#l=this.elementStart={name:"\u0275\u0275elementStart",moduleName:te};static#c=this.elementEnd={name:"\u0275\u0275elementEnd",moduleName:te};static#u=this.advance={name:"\u0275\u0275advance",moduleName:te};static#d=this.syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:te};static#h=this.syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:te};static#p=this.attribute={name:"\u0275\u0275attribute",moduleName:te};static#f=this.attributeInterpolate1={name:"\u0275\u0275attributeInterpolate1",moduleName:te};static#m=this.attributeInterpolate2={name:"\u0275\u0275attributeInterpolate2",moduleName:te};static#g=this.attributeInterpolate3={name:"\u0275\u0275attributeInterpolate3",moduleName:te};static#_=this.attributeInterpolate4={name:"\u0275\u0275attributeInterpolate4",moduleName:te};static#y=this.attributeInterpolate5={name:"\u0275\u0275attributeInterpolate5",moduleName:te};static#v=this.attributeInterpolate6={name:"\u0275\u0275attributeInterpolate6",moduleName:te};static#b=this.attributeInterpolate7={name:"\u0275\u0275attributeInterpolate7",moduleName:te};static#w=this.attributeInterpolate8={name:"\u0275\u0275attributeInterpolate8",moduleName:te};static#S=this.attributeInterpolateV={name:"\u0275\u0275attributeInterpolateV",moduleName:te};static#D=this.classProp={name:"\u0275\u0275classProp",moduleName:te};static#M=this.elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:te};static#C=this.elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:te};static#E=this.elementContainer={name:"\u0275\u0275elementContainer",moduleName:te};static#x=this.styleMap={name:"\u0275\u0275styleMap",moduleName:te};static#k=this.styleMapInterpolate1={name:"\u0275\u0275styleMapInterpolate1",moduleName:te};static#T=this.styleMapInterpolate2={name:"\u0275\u0275styleMapInterpolate2",moduleName:te};static#I=this.styleMapInterpolate3={name:"\u0275\u0275styleMapInterpolate3",moduleName:te};static#A=this.styleMapInterpolate4={name:"\u0275\u0275styleMapInterpolate4",moduleName:te};static#L=this.styleMapInterpolate5={name:"\u0275\u0275styleMapInterpolate5",moduleName:te};static#P=this.styleMapInterpolate6={name:"\u0275\u0275styleMapInterpolate6",moduleName:te};static#R=this.styleMapInterpolate7={name:"\u0275\u0275styleMapInterpolate7",moduleName:te};static#O=this.styleMapInterpolate8={name:"\u0275\u0275styleMapInterpolate8",moduleName:te};static#N=this.styleMapInterpolateV={name:"\u0275\u0275styleMapInterpolateV",moduleName:te};static#F=this.classMap={name:"\u0275\u0275classMap",moduleName:te};static#Y=this.classMapInterpolate1={name:"\u0275\u0275classMapInterpolate1",moduleName:te};static#B=this.classMapInterpolate2={name:"\u0275\u0275classMapInterpolate2",moduleName:te};static#j=this.classMapInterpolate3={name:"\u0275\u0275classMapInterpolate3",moduleName:te};static#V=this.classMapInterpolate4={name:"\u0275\u0275classMapInterpolate4",moduleName:te};static#H=this.classMapInterpolate5={name:"\u0275\u0275classMapInterpolate5",moduleName:te};static#U=this.classMapInterpolate6={name:"\u0275\u0275classMapInterpolate6",moduleName:te};static#$=this.classMapInterpolate7={name:"\u0275\u0275classMapInterpolate7",moduleName:te};static#z=this.classMapInterpolate8={name:"\u0275\u0275classMapInterpolate8",moduleName:te};static#W=this.classMapInterpolateV={name:"\u0275\u0275classMapInterpolateV",moduleName:te};static#q=this.styleProp={name:"\u0275\u0275styleProp",moduleName:te};static#G=this.stylePropInterpolate1={name:"\u0275\u0275stylePropInterpolate1",moduleName:te};static#K=this.stylePropInterpolate2={name:"\u0275\u0275stylePropInterpolate2",moduleName:te};static#Q=this.stylePropInterpolate3={name:"\u0275\u0275stylePropInterpolate3",moduleName:te};static#X=this.stylePropInterpolate4={name:"\u0275\u0275stylePropInterpolate4",moduleName:te};static#Z=this.stylePropInterpolate5={name:"\u0275\u0275stylePropInterpolate5",moduleName:te};static#J=this.stylePropInterpolate6={name:"\u0275\u0275stylePropInterpolate6",moduleName:te};static#ee=this.stylePropInterpolate7={name:"\u0275\u0275stylePropInterpolate7",moduleName:te};static#te=this.stylePropInterpolate8={name:"\u0275\u0275stylePropInterpolate8",moduleName:te};static#ne=this.stylePropInterpolateV={name:"\u0275\u0275stylePropInterpolateV",moduleName:te};static#se=this.nextContext={name:"\u0275\u0275nextContext",moduleName:te};static#re=this.resetView={name:"\u0275\u0275resetView",moduleName:te};static#ie=this.templateCreate={name:"\u0275\u0275template",moduleName:te};static#oe=this.defer={name:"\u0275\u0275defer",moduleName:te};static#ae=this.deferWhen={name:"\u0275\u0275deferWhen",moduleName:te};static#le=this.deferOnIdle={name:"\u0275\u0275deferOnIdle",moduleName:te};static#ce=this.deferOnImmediate={name:"\u0275\u0275deferOnImmediate",moduleName:te};static#ue=this.deferOnTimer={name:"\u0275\u0275deferOnTimer",moduleName:te};static#de=this.deferOnHover={name:"\u0275\u0275deferOnHover",moduleName:te};static#he=this.deferOnInteraction={name:"\u0275\u0275deferOnInteraction",moduleName:te};static#pe=this.deferOnViewport={name:"\u0275\u0275deferOnViewport",moduleName:te};static#fe=this.deferPrefetchWhen={name:"\u0275\u0275deferPrefetchWhen",moduleName:te};static#me=this.deferPrefetchOnIdle={name:"\u0275\u0275deferPrefetchOnIdle",moduleName:te};static#ge=this.deferPrefetchOnImmediate={name:"\u0275\u0275deferPrefetchOnImmediate",moduleName:te};static#_e=this.deferPrefetchOnTimer={name:"\u0275\u0275deferPrefetchOnTimer",moduleName:te};static#ye=this.deferPrefetchOnHover={name:"\u0275\u0275deferPrefetchOnHover",moduleName:te};static#ve=this.deferPrefetchOnInteraction={name:"\u0275\u0275deferPrefetchOnInteraction",moduleName:te};static#be=this.deferPrefetchOnViewport={name:"\u0275\u0275deferPrefetchOnViewport",moduleName:te};static#we=this.deferEnableTimerScheduling={name:"\u0275\u0275deferEnableTimerScheduling",moduleName:te};static#Se=this.conditional={name:"\u0275\u0275conditional",moduleName:te};static#De=this.repeater={name:"\u0275\u0275repeater",moduleName:te};static#Me=this.repeaterCreate={name:"\u0275\u0275repeaterCreate",moduleName:te};static#Ce=this.repeaterTrackByIndex={name:"\u0275\u0275repeaterTrackByIndex",moduleName:te};static#Ee=this.repeaterTrackByIdentity={name:"\u0275\u0275repeaterTrackByIdentity",moduleName:te};static#xe=this.componentInstance={name:"\u0275\u0275componentInstance",moduleName:te};static#ke=this.text={name:"\u0275\u0275text",moduleName:te};static#Te=this.enableBindings={name:"\u0275\u0275enableBindings",moduleName:te};static#Ie=this.disableBindings={name:"\u0275\u0275disableBindings",moduleName:te};static#Ae=this.getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:te};static#Le=this.textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:te};static#Pe=this.textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:te};static#Re=this.textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:te};static#Oe=this.textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:te};static#Ne=this.textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:te};static#Fe=this.textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:te};static#Ye=this.textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:te};static#Be=this.textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:te};static#je=this.textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:te};static#Ve=this.textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:te};static#He=this.restoreView={name:"\u0275\u0275restoreView",moduleName:te};static#Ue=this.pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:te};static#$e=this.pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:te};static#ze=this.pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:te};static#We=this.pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:te};static#qe=this.pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:te};static#Ge=this.pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:te};static#Ke=this.pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:te};static#Qe=this.pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:te};static#Xe=this.pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:te};static#Ze=this.pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:te};static#Je=this.pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:te};static#et=this.pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:te};static#tt=this.pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:te};static#nt=this.pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:te};static#st=this.pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:te};static#rt=this.hostProperty={name:"\u0275\u0275hostProperty",moduleName:te};static#it=this.property={name:"\u0275\u0275property",moduleName:te};static#ot=this.propertyInterpolate={name:"\u0275\u0275propertyInterpolate",moduleName:te};static#at=this.propertyInterpolate1={name:"\u0275\u0275propertyInterpolate1",moduleName:te};static#lt=this.propertyInterpolate2={name:"\u0275\u0275propertyInterpolate2",moduleName:te};static#ct=this.propertyInterpolate3={name:"\u0275\u0275propertyInterpolate3",moduleName:te};static#ut=this.propertyInterpolate4={name:"\u0275\u0275propertyInterpolate4",moduleName:te};static#dt=this.propertyInterpolate5={name:"\u0275\u0275propertyInterpolate5",moduleName:te};static#ht=this.propertyInterpolate6={name:"\u0275\u0275propertyInterpolate6",moduleName:te};static#pt=this.propertyInterpolate7={name:"\u0275\u0275propertyInterpolate7",moduleName:te};static#ft=this.propertyInterpolate8={name:"\u0275\u0275propertyInterpolate8",moduleName:te};static#mt=this.propertyInterpolateV={name:"\u0275\u0275propertyInterpolateV",moduleName:te};static#gt=this.i18n={name:"\u0275\u0275i18n",moduleName:te};static#_t=this.i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:te};static#yt=this.i18nExp={name:"\u0275\u0275i18nExp",moduleName:te};static#vt=this.i18nStart={name:"\u0275\u0275i18nStart",moduleName:te};static#bt=this.i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:te};static#wt=this.i18nApply={name:"\u0275\u0275i18nApply",moduleName:te};static#St=this.i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:te};static#Dt=this.pipe={name:"\u0275\u0275pipe",moduleName:te};static#Mt=this.projection={name:"\u0275\u0275projection",moduleName:te};static#Ct=this.projectionDef={name:"\u0275\u0275projectionDef",moduleName:te};static#Et=this.reference={name:"\u0275\u0275reference",moduleName:te};static#xt=this.inject={name:"\u0275\u0275inject",moduleName:te};static#kt=this.injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:te};static#Tt=this.directiveInject={name:"\u0275\u0275directiveInject",moduleName:te};static#It=this.invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:te};static#At=this.invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:te};static#Lt=this.templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:te};static#Pt=this.forwardRef={name:"forwardRef",moduleName:te};static#Rt=this.resolveForwardRef={name:"resolveForwardRef",moduleName:te};static#Ot=this.\u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:te};static#Nt=this.declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:te};static#Ft=this.InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:te};static#Yt=this.resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:te};static#Bt=this.resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:te};static#jt=this.resolveBody={name:"\u0275\u0275resolveBody",moduleName:te};static#Vt=this.getComponentDepsFactory={name:"\u0275\u0275getComponentDepsFactory",moduleName:te};static#Ht=this.defineComponent={name:"\u0275\u0275defineComponent",moduleName:te};static#Ut=this.declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:te};static#$t=this.setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:te};static#zt=this.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:te};static#Wt=this.ViewEncapsulation={name:"ViewEncapsulation",moduleName:te};static#qt=this.ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:te};static#Gt=this.FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:te};static#Kt=this.declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:te};static#Qt=this.FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:te};static#Xt=this.defineDirective={name:"\u0275\u0275defineDirective",moduleName:te};static#Zt=this.declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:te};static#Jt=this.DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:te};static#en=this.InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:te};static#tn=this.InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:te};static#nn=this.defineInjector={name:"\u0275\u0275defineInjector",moduleName:te};static#sn=this.declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:te};static#rn=this.NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:te};static#in=this.ModuleWithProviders={name:"ModuleWithProviders",moduleName:te};static#on=this.defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:te};static#an=this.declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:te};static#ln=this.setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:te};static#cn=this.registerNgModuleType={name:"\u0275\u0275registerNgModuleType",moduleName:te};static#un=this.PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:te};static#dn=this.definePipe={name:"\u0275\u0275definePipe",moduleName:te};static#hn=this.declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:te};static#pn=this.declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:te};static#fn=this.declareClassMetadataAsync={name:"\u0275\u0275ngDeclareClassMetadataAsync",moduleName:te};static#mn=this.setClassMetadata={name:"\u0275setClassMetadata",moduleName:te};static#gn=this.setClassMetadataAsync={name:"\u0275setClassMetadataAsync",moduleName:te};static#_n=this.setClassDebugInfo={name:"\u0275setClassDebugInfo",moduleName:te};static#yn=this.queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:te};static#vn=this.viewQuery={name:"\u0275\u0275viewQuery",moduleName:te};static#bn=this.loadQuery={name:"\u0275\u0275loadQuery",moduleName:te};static#wn=this.contentQuery={name:"\u0275\u0275contentQuery",moduleName:te};static#Sn=this.viewQuerySignal={name:"\u0275\u0275viewQuerySignal",moduleName:te};static#Dn=this.contentQuerySignal={name:"\u0275\u0275contentQuerySignal",moduleName:te};static#Mn=this.queryAdvance={name:"\u0275\u0275queryAdvance",moduleName:te};static#Cn=this.twoWayProperty={name:"\u0275\u0275twoWayProperty",moduleName:te};static#En=this.twoWayBindingSet={name:"\u0275\u0275twoWayBindingSet",moduleName:te};static#xn=this.twoWayListener={name:"\u0275\u0275twoWayListener",moduleName:te};static#kn=this.declareLet={name:"\u0275\u0275declareLet",moduleName:te};static#Tn=this.storeLet={name:"\u0275\u0275storeLet",moduleName:te};static#In=this.readContextLet={name:"\u0275\u0275readContextLet",moduleName:te};static#An=this.NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:te};static#Ln=this.InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:te};static#Pn=this.CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:te};static#Rn=this.StandaloneFeature={name:"\u0275\u0275StandaloneFeature",moduleName:te};static#On=this.ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:te};static#Nn=this.HostDirectivesFeature={name:"\u0275\u0275HostDirectivesFeature",moduleName:te};static#Fn=this.InputTransformsFeatureFeature={name:"\u0275\u0275InputTransformsFeature",moduleName:te};static#Yn=this.listener={name:"\u0275\u0275listener",moduleName:te};static#Bn=this.getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:te};static#jn=this.sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:te};static#Vn=this.sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:te};static#Hn=this.sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:te};static#Un=this.sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:te};static#$n=this.sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:te};static#zn=this.sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:te};static#Wn=this.trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:te};static#qn=this.trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:te};static#Gn=this.validateIframeAttribute={name:"\u0275\u0275validateIframeAttribute",moduleName:te};static#Kn=this.InputSignalBrandWriteType={name:"\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE",moduleName:te};static#Qn=this.UnwrapDirectiveSignalInputs={name:"\u0275UnwrapDirectiveSignalInputs",moduleName:te};static#Xn=this.unwrapWritableSignal={name:"\u0275unwrapWritableSignal",moduleName:te}}const l0=/-+([a-z0-9])/g;function mw(l,r,a){const u=l.indexOf(r);return-1==u?a:[l.slice(0,u).trim(),l.slice(u+1).trim()]}function bh(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(bh).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return`${l.overriddenName}`;if(l.name)return`${l.name}`;if(!l.toString)return"object";const r=l.toString();if(null==r)return""+r;const a=r.indexOf("\n");return-1===a?r:r.substring(0,a)}const Ha=globalThis;class Pf{constructor(r=null){this.file=r,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}addSource(r,a=null){return this.sourcesContent.has(r)||this.sourcesContent.set(r,a),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(r,a,u,p){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=a&&!this.sourcesContent.has(a))throw new Error(`Unknown source file "${a}"`);if(null==r)throw new Error("The column in the generated code must be provided");if(r{r.set(R,j),a.push(R),u.push(this.sourcesContent.get(R)||null)});let p="",f=0,y=0,D=0,L=0;return this.lines.forEach(R=>{f=0,p+=R.map(j=>{let q=Ic(j.col0-f);return f=j.col0,null!=j.sourceUrl&&(q+=Ic(r.get(j.sourceUrl)-y),y=r.get(j.sourceUrl),q+=Ic(j.sourceLine0-D),D=j.sourceLine0,q+=Ic(j.sourceCol0-L),L=j.sourceCol0),q}).join(","),p+=";"}),p=p.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:a,sourcesContent:u,mappings:p}}toJsComment(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function Rf(l){let r="";const a=function x_(l){let r=[];for(let a=0;a=55296&&u<=56319&&l.length>a+1){const p=l.charCodeAt(a+1);p>=56320&&p<=57343&&(a++,u=(u-55296<<10)+p-56320+65536)}u<=127?r.push(u):u<=2047?r.push(u>>6&31|192,63&u|128):u<=65535?r.push(u>>12|224,u>>6&63|128,63&u|128):u<=2097151&&r.push(u>>18&7|240,u>>12&63|128,u>>6&63|128,63&u|128)}return r}(l);for(let u=0;u>2),r+=ya((3&p)<<4|(null===f?0:f>>4)),r+=null===f?"=":ya((15&f)<<2|(null===y?0:y>>6)),r+=null===f||null===y?"=":ya(63&y)}return r}(JSON.stringify(this,null,0)):""}}function Ic(l){l=l<0?1+(-l<<1):l<<1;let r="";do{let a=31&l;(l>>=5)>0&&(a|=32),r+=ya(a)}while(l>0);return r}const us="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function ya(l){if(l<0||l>=64)throw new Error("Can only encode value in the range [0, 63]");return us[l]}const Ll=/'|\\|\n|\r|\$/g,h0=/^[$A-Z_][0-9A-Z_$]*$/i;class _w{constructor(r){this.indent=r,this.partsLength=0,this.parts=[],this.srcSpans=[]}}class T_{static createRoot(){return new T_(0)}constructor(r){this._indent=r,this._lines=[new _w(r)]}get _currentLine(){return this._lines[this._lines.length-1]}println(r,a=""){this.print(r||null,a,!0)}lineIsEmpty(){return 0===this._currentLine.parts.length}lineLength(){return 2*this._currentLine.indent+this._currentLine.partsLength}print(r,a,u=!1){a.length>0&&(this._currentLine.parts.push(a),this._currentLine.partsLength+=a.length,this._currentLine.srcSpans.push(r&&r.sourceSpan||null)),u&&this._lines.push(new _w(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}toSource(){return this.sourceLines.map(r=>r.parts.length>0?Lc(r.indent)+r.parts.join(""):"").join("\n")}toSourceMapGenerator(r,a=0){const u=new Pf(r);let p=!1;const f=()=>{p||(u.addSource(r," ").addMapping(0,r,0,0),p=!0)};for(let y=0;y{u.addLine();const L=y.srcSpans,R=y.parts;let j=2*y.indent,q=0;for(;qp)return u.srcSpans[f];p-=y.length}}return null}get sourceLines(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines}}class Ac{constructor(r){this._escapeDollarInStrings=r}printLeadingComments(r,a){if(void 0!==r.leadingComments)for(const u of r.leadingComments)u instanceof yh?a.print(r,`/*${u.toString()}*/`,u.trailingNewline):u.multiline?a.print(r,`/* ${u.text} */`,u.trailingNewline):u.text.split("\n").forEach(p=>{a.println(r,`// ${p}`)})}visitExpressionStmt(r,a){return this.printLeadingComments(r,a),r.expr.visitExpression(this,a),a.println(r,";"),null}visitReturnStmt(r,a){return this.printLeadingComments(r,a),a.print(r,"return "),r.value.visitExpression(this,a),a.println(r,";"),null}visitIfStmt(r,a){this.printLeadingComments(r,a),a.print(r,"if ("),r.condition.visitExpression(this,a),a.print(r,") {");const u=null!=r.falseCase&&r.falseCase.length>0;return r.trueCase.length<=1&&!u?(a.print(r," "),this.visitAllStatements(r.trueCase,a),a.removeEmptyLastLine(),a.print(r," ")):(a.println(),a.incIndent(),this.visitAllStatements(r.trueCase,a),a.decIndent(),u&&(a.println(r,"} else {"),a.incIndent(),this.visitAllStatements(r.falseCase,a),a.decIndent())),a.println(r,"}"),null}visitWriteVarExpr(r,a){const u=a.lineIsEmpty();return u||a.print(r,"("),a.print(r,`${r.name} = `),r.value.visitExpression(this,a),u||a.print(r,")"),null}visitWriteKeyExpr(r,a){const u=a.lineIsEmpty();return u||a.print(r,"("),r.receiver.visitExpression(this,a),a.print(r,"["),r.index.visitExpression(this,a),a.print(r,"] = "),r.value.visitExpression(this,a),u||a.print(r,")"),null}visitWritePropExpr(r,a){const u=a.lineIsEmpty();return u||a.print(r,"("),r.receiver.visitExpression(this,a),a.print(r,`.${r.name} = `),r.value.visitExpression(this,a),u||a.print(r,")"),null}visitInvokeFunctionExpr(r,a){const u=r.fn instanceof Ki;return u&&a.print(r.fn,"("),r.fn.visitExpression(this,a),u&&a.print(r.fn,")"),a.print(r,"("),this.visitAllExpressions(r.args,a,","),a.print(r,")"),null}visitTaggedTemplateExpr(r,a){r.tag.visitExpression(this,a),a.print(r,"`"+r.template.elements[0].rawText);for(let u=1;u{a.print(r,`${Lr(u.key,this._escapeDollarInStrings,u.quoted)}:`),u.value.visitExpression(this,a)},r.entries,a,","),a.print(r,"}"),null}visitCommaExpr(r,a){return a.print(r,"("),this.visitAllExpressions(r.parts,a,","),a.print(r,")"),null}visitAllExpressions(r,a,u){this.visitAllObjects(p=>p.visitExpression(this,a),r,a,u)}visitAllObjects(r,a,u,p){let f=!1;for(let y=0;y0&&(u.lineLength()>80?(u.print(null,p,!0),f||(u.incIndent(),u.incIndent(),f=!0)):u.print(null,p,!1)),r(a[y]);f&&(u.decIndent(),u.decIndent())}visitAllStatements(r,a){r.forEach(u=>u.visitStatement(this,a))}}function Lr(l,r,a=!0){if(null==l)return null;const u=l.replace(Ll,(...f)=>"$"==f[0]?r?"\\$":"$":"\n"==f[0]?"\\n":"\r"==f[0]?"\\r":`\\${f[0]}`);return a||!h0.test(u)?`'${u}'`:u}function Lc(l){let r="";for(let a=0;au.value));return r?Et([],a):a}function Nf(l,r){return{expression:l,forwardRef:r}}function va({expression:l,forwardRef:r}){switch(r){case 0:case 1:return l;case 2:return an(l)}}function an(l){return Le(G.forwardRef).callFn([Et([],l)])}var Pl,Qi,Ga,vi,_n,Ns;function ir(l){const r=_t("__ngFactoryType__");let a=null;const u=Rl(l)?r:new Ut(Oe.Or,r,l.type.value);let p=null;null!==l.deps?"invalid"!==l.deps&&(p=new ii(u,A_(l.deps,l.target))):(a=_t(`\u0275${l.name}_BaseFactory`),p=a.callFn([u]));const f=[];let y=null;function D(R){const j=_t("__ngConditionalFactory__");f.push(j.set(ja).toDeclStmt());const q=null!==p?j.set(p).toStmt():Le(G.invalidFactory).callFn([]).toStmt();return f.push(dt(r,[q],[j.set(R).toStmt()])),j}if(Rl(l)){const R=A_(l.delegateDeps,l.target);y=D(new(l.delegateType===Pl.Class?ii:Pn)(l.delegate,R))}else y=function yw(l){return void 0!==l.expression}(l)?D(l.expression):p;if(null===y)f.push(Le(G.invalidFactory).callFn([]).toStmt());else if(null!==a){const R=Le(G.getInheritedFactory).callFn([l.type.value]),j=new Ut(Oe.Or,a,a.set(R));f.push(new rr(j.callFn([u])))}else f.push(new rr(y));let L=Vo([new Dt(r.name,At)],f,Nt,void 0,`${l.name}_Factory`);return null!==a&&(L=Et([],[new Fr(a.name),new rr(L)]).callFn([],void 0,!0)),{expression:L,statements:[],type:Ff(l)}}function Ff(l){const r=null!==l.deps&&"invalid"!==l.deps?function Uo(l){let r=!1;const a=l.map(u=>{const p=function Yf(l){const r=[];return null!==l.attributeNameType&&r.push({key:"attribute",value:l.attributeNameType,quoted:!1}),l.optional&&r.push({key:"optional",value:X(!0),quoted:!1}),l.host&&r.push({key:"host",value:X(!0),quoted:!1}),l.self&&r.push({key:"self",value:X(!0),quoted:!1}),l.skipSelf&&r.push({key:"skipSelf",value:X(!0),quoted:!1}),r.length>0?hn(r):null}(u);return null!==p?(r=!0,p):X(null)});return r?Ar($t(a)):gt}(l.deps):gt;return Ar(Le(G.FactoryDeclaration,[Pc(l.type.type,l.typeArgumentCount),r]))}function A_(l,r){return l.map((a,u)=>function p0(l,r,a){if(null===l.token)return Le(G.invalidFactoryDep).callFn([X(a)]);if(null===l.attributeNameType){const u=(l.self?2:0)|(l.skipSelf?4:0)|(l.host?1:0)|(l.optional?8:0)|(r===Qi.Pipe?16:0);let p=0!==u||l.optional?X(u):null;const f=[l.token];p&&f.push(p);const y=function Bf(l){switch(l){case Qi.Component:case Qi.Directive:case Qi.Pipe:return G.directiveInject;case Qi.NgModule:case Qi.Injectable:default:return G.inject}}(r);return Le(y).callFn(f)}return Le(G.injectAttribute).callFn([l.token])}(a,r,u))}function Rl(l){return void 0!==l.delegateType}!function(l){l[l.Class=0]="Class",l[l.Function=1]="Function"}(Pl||(Pl={})),function(l){l[l.Directive=0]="Directive",l[l.Component=1]="Component",l[l.Injectable=2]="Injectable",l[l.Pipe=3]="Pipe",l[l.NgModule=4]="NgModule"}(Qi||(Qi={}));class jf{constructor(r,a,u,p){this.input=a,this.errLocation=u,this.ctxLocation=p,this.message=`Parser Error: ${r} ${u} [${a}] in ${p}`}}class Oc{constructor(r,a){this.start=r,this.end=a}toAbsolute(r){return new zr(r+this.start,r+this.end)}}class ys{constructor(r,a){this.span=r,this.sourceSpan=a}toString(){return"AST"}}class Sh extends ys{constructor(r,a,u){super(r,a),this.nameSpan=u}}class Xs extends ys{visit(r,a=null){}}class Ol extends ys{visit(r,a=null){return r.visitImplicitReceiver(this,a)}}class be extends Ol{visit(r,a=null){return r.visitThisReceiver?.(this,a)}}class Vn extends ys{constructor(r,a,u){super(r,a),this.expressions=u}visit(r,a=null){return r.visitChain(this,a)}}class de extends ys{constructor(r,a,u,p,f){super(r,a),this.condition=u,this.trueExp=p,this.falseExp=f}visit(r,a=null){return r.visitConditional(this,a)}}class $o extends Sh{constructor(r,a,u,p,f){super(r,a,u),this.receiver=p,this.name=f}visit(r,a=null){return r.visitPropertyRead(this,a)}}class Nl extends Sh{constructor(r,a,u,p,f,y){super(r,a,u),this.receiver=p,this.name=f,this.value=y}visit(r,a=null){return r.visitPropertyWrite(this,a)}}class $a extends Sh{constructor(r,a,u,p,f){super(r,a,u),this.receiver=p,this.name=f}visit(r,a=null){return r.visitSafePropertyRead(this,a)}}class Nc extends ys{constructor(r,a,u,p){super(r,a),this.receiver=u,this.key=p}visit(r,a=null){return r.visitKeyedRead(this,a)}}class Dh extends ys{constructor(r,a,u,p){super(r,a),this.receiver=u,this.key=p}visit(r,a=null){return r.visitSafeKeyedRead(this,a)}}class za extends ys{constructor(r,a,u,p,f){super(r,a),this.receiver=u,this.key=p,this.value=f}visit(r,a=null){return r.visitKeyedWrite(this,a)}}class Wa extends Sh{constructor(r,a,u,p,f,y){super(r,a,y),this.exp=u,this.name=p,this.args=f}visit(r,a=null){return r.visitPipe(this,a)}}class wr extends ys{constructor(r,a,u){super(r,a),this.value=u}visit(r,a=null){return r.visitLiteralPrimitive(this,a)}}class Fl extends ys{constructor(r,a,u){super(r,a),this.expressions=u}visit(r,a=null){return r.visitLiteralArray(this,a)}}class zo extends ys{constructor(r,a,u,p){super(r,a),this.keys=u,this.values=p}visit(r,a=null){return r.visitLiteralMap(this,a)}}class Wo extends ys{constructor(r,a,u,p){super(r,a),this.strings=u,this.expressions=p}visit(r,a=null){return r.visitInterpolation(this,a)}}class or extends ys{constructor(r,a,u,p,f){super(r,a),this.operation=u,this.left=p,this.right=f}visit(r,a=null){return r.visitBinary(this,a)}}class qo extends or{static createMinus(r,a,u){return new qo(r,a,"-",u,"-",new wr(r,a,0),u)}static createPlus(r,a,u){return new qo(r,a,"+",u,"-",u,new wr(r,a,0))}constructor(r,a,u,p,f,y,D){super(r,a,f,y,D),this.operator=u,this.expr=p,this.left=null,this.right=null,this.operation=null}visit(r,a=null){return void 0!==r.visitUnary?r.visitUnary(this,a):r.visitBinary(this,a)}}class Sr extends ys{constructor(r,a,u){super(r,a),this.expression=u}visit(r,a=null){return r.visitPrefixNot(this,a)}}class Go extends ys{constructor(r,a,u){super(r,a),this.expression=u}visit(r,a=null){return r.visitNonNullAssert(this,a)}}class Yl extends ys{constructor(r,a,u,p,f){super(r,a),this.receiver=u,this.args=p,this.argumentSpan=f}visit(r,a=null){return r.visitCall(this,a)}}class ba extends ys{constructor(r,a,u,p,f){super(r,a),this.receiver=u,this.args=p,this.argumentSpan=f}visit(r,a=null){return r.visitSafeCall(this,a)}}class zr{constructor(r,a){this.start=r,this.end=a}}class Xi extends ys{constructor(r,a,u,p,f){super(new Oc(0,null===a?0:a.length),new zr(p,null===a?p:p+a.length)),this.ast=r,this.source=a,this.location=u,this.errors=f}visit(r,a=null){return r.visitASTWithSource?r.visitASTWithSource(this,a):this.ast.visit(r,a)}toString(){return`${this.source} in ${this.location}`}}class L_{constructor(r,a,u){this.sourceSpan=r,this.key=a,this.value=u}}class P_{constructor(r,a,u){this.sourceSpan=r,this.key=a,this.value=u}}class R_{visit(r,a){r.visit(this,a)}visitUnary(r,a){this.visit(r.expr,a)}visitBinary(r,a){this.visit(r.left,a),this.visit(r.right,a)}visitChain(r,a){this.visitAll(r.expressions,a)}visitConditional(r,a){this.visit(r.condition,a),this.visit(r.trueExp,a),this.visit(r.falseExp,a)}visitPipe(r,a){this.visit(r.exp,a),this.visitAll(r.args,a)}visitImplicitReceiver(r,a){}visitThisReceiver(r,a){}visitInterpolation(r,a){this.visitAll(r.expressions,a)}visitKeyedRead(r,a){this.visit(r.receiver,a),this.visit(r.key,a)}visitKeyedWrite(r,a){this.visit(r.receiver,a),this.visit(r.key,a),this.visit(r.value,a)}visitLiteralArray(r,a){this.visitAll(r.expressions,a)}visitLiteralMap(r,a){this.visitAll(r.values,a)}visitLiteralPrimitive(r,a){}visitPrefixNot(r,a){this.visit(r.expression,a)}visitNonNullAssert(r,a){this.visit(r.expression,a)}visitPropertyRead(r,a){this.visit(r.receiver,a)}visitPropertyWrite(r,a){this.visit(r.receiver,a),this.visit(r.value,a)}visitSafePropertyRead(r,a){this.visit(r.receiver,a)}visitSafeKeyedRead(r,a){this.visit(r.receiver,a),this.visit(r.key,a)}visitCall(r,a){this.visit(r.receiver,a),this.visitAll(r.args,a)}visitSafeCall(r,a){this.visit(r.receiver,a),this.visitAll(r.args,a)}visitAll(r,a){for(const u of r)this.visit(u,a)}}class qa{constructor(r,a,u,p,f,y){this.name=r,this.expression=a,this.type=u,this.sourceSpan=p,this.keySpan=f,this.valueSpan=y,this.isLiteral=this.type===Ga.LITERAL_ATTR,this.isAnimation=this.type===Ga.ANIMATION}}!function(l){l[l.DEFAULT=0]="DEFAULT",l[l.LITERAL_ATTR=1]="LITERAL_ATTR",l[l.ANIMATION=2]="ANIMATION",l[l.TWO_WAY=3]="TWO_WAY"}(Ga||(Ga={})),function(l){l[l.Regular=0]="Regular",l[l.Animation=1]="Animation",l[l.TwoWay=2]="TwoWay"}(vi||(vi={}));class wo{constructor(r,a,u,p,f,y,D){this.name=r,this.targetOrPhase=a,this.type=u,this.handler=p,this.sourceSpan=f,this.handlerSpan=y,this.keySpan=D}}class In{constructor(r,a,u,p,f){this.name=r,this.value=a,this.sourceSpan=u,this.keySpan=p,this.valueSpan=f}}!function(l){l[l.Property=0]="Property",l[l.Attribute=1]="Attribute",l[l.Class=2]="Class",l[l.Style=3]="Style",l[l.Animation=4]="Animation",l[l.TwoWay=5]="TwoWay"}(_n||(_n={}));class Vf{constructor(r,a,u,p,f,y,D,L){this.name=r,this.type=a,this.securityContext=u,this.value=p,this.unit=f,this.sourceSpan=y,this.keySpan=D,this.valueSpan=L}}function ar(l,r=!0){if(":"!=l[0])return[null,l];const a=l.indexOf(":",1);if(-1===a){if(r)throw new Error(`Unsupported format "${l}" expecting ":namespace:name"`);return[null,l]}return[l.slice(1,a),l.slice(a+1)]}function wa(l){return"ng-container"===ar(l)[1]}function Wr(l){return"ng-content"===ar(l)[1]}function Mh(l){return null===l?null:ar(l)[0]}function Bu(l,r){return l?`:${l}:${r}`:r}!function(l){l[l.RAW_TEXT=0]="RAW_TEXT",l[l.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",l[l.PARSABLE_DATA=2]="PARSABLE_DATA"}(Ns||(Ns={}));class ju{constructor(r,a){this.value=r,this.sourceSpan=a}visit(r){throw new Error("visit() not implemented for Comment")}}class Sa{constructor(r,a){this.value=r,this.sourceSpan=a}visit(r){return r.visitText(this)}}class Ka{constructor(r,a,u){this.value=r,this.sourceSpan=a,this.i18n=u}visit(r){return r.visitBoundText(this)}}class Vu{constructor(r,a,u,p,f,y){this.name=r,this.value=a,this.sourceSpan=u,this.keySpan=p,this.valueSpan=f,this.i18n=y}visit(r){return r.visitTextAttribute(this)}}class Ch{constructor(r,a,u,p,f,y,D,L,R){this.name=r,this.type=a,this.securityContext=u,this.value=p,this.unit=f,this.sourceSpan=y,this.keySpan=D,this.valueSpan=L,this.i18n=R}static fromBoundElementProperty(r,a){if(void 0===r.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${r.name}: ${r.sourceSpan}`);return new Ch(r.name,r.type,r.securityContext,r.value,r.unit,r.sourceSpan,r.keySpan,r.valueSpan,a)}visit(r){return r.visitBoundAttribute(this)}}class Hf{constructor(r,a,u,p,f,y,D,L){this.name=r,this.type=a,this.handler=u,this.target=p,this.phase=f,this.sourceSpan=y,this.handlerSpan=D,this.keySpan=L}static fromParsedEvent(r){const a=r.type===vi.Regular?r.targetOrPhase:null,u=r.type===vi.Animation?r.targetOrPhase:null;if(void 0===r.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${r.name}: ${r.sourceSpan}`);return new Hf(r.name,r.type,r.handler,a,u,r.sourceSpan,r.handlerSpan,r.keySpan)}visit(r){return r.visitBoundEvent(this)}}class Ji{constructor(r,a,u,p,f,y,D,L,R,j){this.name=r,this.attributes=a,this.inputs=u,this.outputs=p,this.children=f,this.references=y,this.sourceSpan=D,this.startSourceSpan=L,this.endSourceSpan=R,this.i18n=j}visit(r){return r.visitElement(this)}}class Bl{constructor(r,a,u,p){this.nameSpan=r,this.sourceSpan=a,this.prefetchSpan=u,this.whenOrOnSourceSpan=p}visit(r){return r.visitDeferredTrigger(this)}}class vw extends Bl{constructor(r,a,u,p){super(null,a,u,p),this.value=r}}class So extends Bl{}class bw extends Bl{}class Uf extends Bl{constructor(r,a,u,p,f){super(a,u,p,f),this.reference=r}}class ww extends Bl{constructor(r,a,u,p,f){super(a,u,p,f),this.delay=r}}class N_ extends Bl{constructor(r,a,u,p,f){super(a,u,p,f),this.reference=r}}class F_ extends Bl{constructor(r,a,u,p,f){super(a,u,p,f),this.reference=r}}class Qo{constructor(r,a,u,p){this.nameSpan=r,this.sourceSpan=a,this.startSourceSpan=u,this.endSourceSpan=p}}class jl extends Qo{constructor(r,a,u,p,f,y,D){super(u,p,f,y),this.children=r,this.minimumTime=a,this.i18n=D}visit(r){return r.visitDeferredBlockPlaceholder(this)}}class $f extends Qo{constructor(r,a,u,p,f,y,D,L){super(p,f,y,D),this.children=r,this.afterTime=a,this.minimumTime=u,this.i18n=L}visit(r){return r.visitDeferredBlockLoading(this)}}class zf extends Qo{constructor(r,a,u,p,f,y){super(a,u,p,f),this.children=r,this.i18n=y}visit(r){return r.visitDeferredBlockError(this)}}class Hu extends Qo{constructor(r,a,u,p,f,y,D,L,R,j,q,le){super(D,L,j,q),this.children=r,this.placeholder=p,this.loading=f,this.error=y,this.mainBlockSpan=R,this.i18n=le,this.triggers=a,this.prefetchTriggers=u,this.definedTriggers=Object.keys(a),this.definedPrefetchTriggers=Object.keys(u)}visit(r){return r.visitDeferredBlock(this)}visitAll(r){this.visitTriggers(this.definedTriggers,this.triggers,r),this.visitTriggers(this.definedPrefetchTriggers,this.prefetchTriggers,r),Qn(r,this.children);Qn(r,[this.placeholder,this.loading,this.error].filter(u=>null!==u))}visitTriggers(r,a,u){Qn(u,r.map(p=>a[p]))}}class Uu extends Qo{constructor(r,a,u,p,f,y,D){super(D,p,f,y),this.expression=r,this.cases=a,this.unknownBlocks=u}visit(r){return r.visitSwitchBlock(this)}}class Wf extends Qo{constructor(r,a,u,p,f,y,D){super(y,u,p,f),this.expression=r,this.children=a,this.i18n=D}visit(r){return r.visitSwitchBlockCase(this)}}class Eh extends Qo{constructor(r,a,u,p,f,y,D,L,R,j,q,le,Se){super(le,L,j,q),this.item=r,this.expression=a,this.trackBy=u,this.trackKeywordSpan=p,this.contextVariables=f,this.children=y,this.empty=D,this.mainBlockSpan=R,this.i18n=Se}visit(r){return r.visitForLoopBlock(this)}}class vs extends Qo{constructor(r,a,u,p,f,y){super(f,a,u,p),this.children=r,this.i18n=y}visit(r){return r.visitForLoopBlockEmpty(this)}}class qf extends Qo{constructor(r,a,u,p,f){super(f,a,u,p),this.branches=r}visit(r){return r.visitIfBlock(this)}}class Ge extends Qo{constructor(r,a,u,p,f,y,D,L){super(D,p,f,y),this.expression=r,this.children=a,this.expressionAlias=u,this.i18n=L}visit(r){return r.visitIfBlockBranch(this)}}class qr{constructor(r,a,u){this.name=r,this.sourceSpan=a,this.nameSpan=u}visit(r){return r.visitUnknownBlock(this)}}class tn{constructor(r,a,u,p,f){this.name=r,this.value=a,this.sourceSpan=u,this.nameSpan=p,this.valueSpan=f}visit(r){return r.visitLetDeclaration(this)}}class On{constructor(r,a,u,p,f,y,D,L,R,j,q,le){this.tagName=r,this.attributes=a,this.inputs=u,this.outputs=p,this.templateAttrs=f,this.children=y,this.references=D,this.variables=L,this.sourceSpan=R,this.startSourceSpan=j,this.endSourceSpan=q,this.i18n=le}visit(r){return r.visitTemplate(this)}}class bs{constructor(r,a,u,p,f){this.selector=r,this.attributes=a,this.children=u,this.sourceSpan=p,this.i18n=f,this.name="ng-content"}visit(r){return r.visitContent(this)}}class Gr{constructor(r,a,u,p,f){this.name=r,this.value=a,this.sourceSpan=u,this.keySpan=p,this.valueSpan=f}visit(r){return r.visitVariable(this)}}class Dr{constructor(r,a,u,p,f){this.name=r,this.value=a,this.sourceSpan=u,this.keySpan=p,this.valueSpan=f}visit(r){return r.visitReference(this)}}class Qa{constructor(r,a,u,p){this.vars=r,this.placeholders=a,this.sourceSpan=u,this.i18n=p}visit(r){return r.visitIcu(this)}}function Qn(l,r){const a=[];if(l.visit)for(const u of r)l.visit(u)||u.visit(l);else for(const u of r){const p=u.visit(l);p&&a.push(p)}return a}class bi{constructor(r,a,u,p,f,y){this.nodes=r,this.placeholders=a,this.placeholderToMessage=u,this.meaning=p,this.description=f,this.customId=y,this.legacyIds=[],this.id=this.customId,this.messageString=function Kf(l){const r=new B_;return l.map(u=>u.visit(r)).join("")}(this.nodes),r.length?this.sources=[{filePath:r[0].sourceSpan.start.file.url,startLine:r[0].sourceSpan.start.line+1,startCol:r[0].sourceSpan.start.col+1,endLine:r[r.length-1].sourceSpan.end.line+1,endCol:r[0].sourceSpan.start.col+1}]:this.sources=[]}}class Xo{constructor(r,a){this.value=r,this.sourceSpan=a}visit(r,a){return r.visitText(this,a)}}class li{constructor(r,a){this.children=r,this.sourceSpan=a}visit(r,a){return r.visitContainer(this,a)}}class Fc{constructor(r,a,u,p,f){this.expression=r,this.type=a,this.cases=u,this.sourceSpan=p,this.expressionPlaceholder=f}visit(r,a){return r.visitIcu(this,a)}}class Zo{constructor(r,a,u,p,f,y,D,L,R){this.tag=r,this.attrs=a,this.startName=u,this.closeName=p,this.children=f,this.isVoid=y,this.sourceSpan=D,this.startSourceSpan=L,this.endSourceSpan=R}visit(r,a){return r.visitTagPlaceholder(this,a)}}class Jo{constructor(r,a,u){this.value=r,this.name=a,this.sourceSpan=u}visit(r,a){return r.visitPlaceholder(this,a)}}class Da{constructor(r,a,u){this.value=r,this.name=a,this.sourceSpan=u}visit(r,a){return r.visitIcuPlaceholder(this,a)}}class Vl{constructor(r,a,u,p,f,y,D,L){this.name=r,this.parameters=a,this.startName=u,this.closeName=p,this.children=f,this.sourceSpan=y,this.startSourceSpan=D,this.endSourceSpan=L}visit(r,a){return r.visitBlockPlaceholder(this,a)}}class B_{visitText(r){return r.value}visitContainer(r){return r.children.map(a=>a.visit(this)).join("")}visitIcu(r){const a=Object.keys(r.cases).map(u=>`${u} {${r.cases[u].visit(this)}}`);return`{${r.expressionPlaceholder}, ${r.type}, ${a.join(" ")}}`}visitTagPlaceholder(r){const a=r.children.map(u=>u.visit(this)).join("");return`{$${r.startName}}${a}{$${r.closeName}}`}visitPlaceholder(r){return`{$${r.name}}`}visitIcuPlaceholder(r){return`{$${r.name}}`}visitBlockPlaceholder(r){const a=r.children.map(u=>u.visit(this)).join("");return`{$${r.startName}}${a}{$${r.closeName}}`}}new class Dw{visitTag(r){const a=this._serializeAttributes(r.attrs);if(0==r.children.length)return`<${r.name}${a}/>`;const u=r.children.map(p=>p.visit(this));return`<${r.name}${a}>${u.join("")}`}visitText(r){return r.value}visitDeclaration(r){return``}_serializeAttributes(r){const a=Object.keys(r).map(u=>`${u}="${r[u]}"`).join(" ");return a.length>0?" "+a:""}visitDoctype(r){return``}};function Th(l){return l.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}const tm="i18n",$s="i18n-";function U_(l){return l===tm||l.startsWith($s)}function Ma(l){return l.nodes[0]}function nm(l={},r){const a={};return l&&Object.keys(l).length&&Object.keys(l).forEach(u=>a[Wu(u,r)]=l[u]),a}function Wu(l,r=!0){const a=Th(l);if(!r)return a;const u=a.split("_");if(1===u.length)return l.toLowerCase();let p;/^\d+$/.test(u[u.length-1])&&(p=u.pop());let f=u.shift().toLowerCase();return u.length&&(f+=u.map(y=>y.charAt(0).toUpperCase()+y.slice(1).toLowerCase()).join("")),p?`${f}_${p}`:f}const sm=/[-.]/,Pe="_t",Ul="ctx",Bc="rf";function ds(l,r){let a=null;return()=>(a||(l(new Fr(Pe,void 0,At)),a=_t(r)),a)}function We(l){return Array.isArray(l)?$t(l.map(We)):X(l,Nt)}function Fs(l,r){const a=Object.getOwnPropertyNames(l);return 0===a.length?null:hn(a.map(u=>{const p=l[u];let f,y,D,L;if("string"==typeof p)f=u,D=u,y=p,L=We(y);else{D=u,f=p.classPropertyName,y=p.bindingPropertyName;const R=y!==f,j=null!==p.transformFunction;let q=Q.None;if(p.isSignal&&(q|=Q.SignalBased),j&&(q|=Q.HasDecoratorInputTransform),r&&(R||j||q!==Q.None)){const le=[X(q),We(y)];(R||j)&&(le.push(We(f)),j&&le.push(p.transformFunction)),L=$t(le)}else L=We(y)}return{key:D,quoted:sm.test(D),value:L}}))}class Rn{constructor(){this.values=[]}set(r,a){if(a){const u=this.values.find(p=>p.key===r);u?u.value=a:this.values.push({key:r,value:a,quoted:!1})}}toLiteralMap(){return hn(this.values)}}function Yr(l){const r=l instanceof Ji?l.name:"ng-template",a=function ci(l){const r={};return l instanceof On&&"ng-template"!==l.tagName?l.templateAttrs.forEach(a=>r[a.name]=""):(l.attributes.forEach(a=>{U_(a.name)||(r[a.name]=a.value)}),l.inputs.forEach(a=>{(a.type===_n.Property||a.type===_n.TwoWay)&&(r[a.name]="")}),l.outputs.forEach(a=>{r[a.name]=""})),r}(l),u=new v,p=ar(r)[1];return u.setElement(p),Object.getOwnPropertyNames(a).forEach(f=>{const y=ar(f)[1],D=a[f];u.addAttribute(y,D),"class"===f.toLowerCase()&&D.trim().split(/\s+/).forEach(R=>u.addClassName(R))}),u}function $l(l,r){let a=null;const u={name:l.name,type:l.type,typeArgumentCount:l.typeArgumentCount,deps:[],target:Qi.Injectable};if(void 0!==l.useClass){const D=l.useClass.expression.isEquivalent(l.type.value);let L;void 0!==l.deps&&(L=l.deps),a=void 0!==L?ir({...u,delegate:l.useClass.expression,delegateDeps:L,delegateType:Pl.Class}):D?ir(u):{statements:[],expression:Zs(l.type.value,l.useClass.expression,r)}}else a=void 0!==l.useFactory?void 0!==l.deps?ir({...u,delegate:l.useFactory,delegateDeps:l.deps||[],delegateType:Pl.Function}):{statements:[],expression:Et([],l.useFactory.callFn([]))}:void 0!==l.useValue?ir({...u,expression:l.useValue.expression}):void 0!==l.useExisting?ir({...u,expression:Le(G.inject).callFn([l.useExisting.expression])}):{statements:[],expression:Zs(l.type.value,l.type.value,r)};const p=l.type.value,f=new Rn;return f.set("token",p),f.set("factory",a.expression),null!==l.providedIn.expression.value&&f.set("providedIn",va(l.providedIn)),{expression:Le(G.\u0275\u0275defineInjectable).callFn([f.toLiteralMap()],void 0,!0),type:os(l),statements:a.statements}}function os(l){return new Rt(Le(G.InjectableDeclaration,[Pc(l.type.type,l.typeArgumentCount)]))}function Zs(l,r,a){if(l.node===r.node)return r.prop("\u0275fac");if(!a)return Mr(r);return Mr(Le(G.resolveForwardRef).callFn([r]))}function Mr(l){const r=new Dt("__ngFactoryType__",At);return Et([r],l.prop("\u0275fac").callFn([_t(r.name)]))}const Ot=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];class qu{static fromArray(r){return r?(function jc(l,r){if(null!=r&&(!Array.isArray(r)||2!=r.length))throw new Error(`Expected '${l}' to be an array, [start, end].`);if(null!=r){const a=r[0],u=r[1];Ot.forEach(p=>{if(p.test(a)||p.test(u))throw new Error(`['${a}', '${u}'] contains unusable interpolation symbol.`)})}}("interpolation",r),new qu(r[0],r[1])):Br}constructor(r,a){this.start=r,this.end=a}}const Br=new qu("{{","}}"),hs=new Set(["switch"]),Ys=0,Fi=9,Yi=32,no=36,$_=48,xw=57,Gu=65,Ku=70,Dn=90,_=91,A=93,V=95,ee=97,cn=102,om=122,xa=123,so=125,W_=160;function xn(l){return l>=Fi&&l<=Yi||l==W_}function ta(l){return $_<=l&&l<=xw}function Kl(l){return l>=ee&&l<=om||l>=Gu&&l<=Dn}function Iw(l){return 10===l||13===l}function Ph(l){return $_<=l&&l<=55}function ka(l){return 39===l||34===l||96===l}class Vr{constructor(r,a,u,p){this.file=r,this.offset=a,this.line=u,this.col=p}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(r){const a=this.file.content,u=a.length;let p=this.offset,f=this.line,y=this.col;for(;p>0&&r<0;)if(p--,r++,10==a.charCodeAt(p)){f--;const L=a.substring(0,p-1).lastIndexOf(String.fromCharCode(10));y=L>0?p-L:p}else y--;for(;p0;){const D=a.charCodeAt(p);p++,r--,10==D?(f++,y=0):y++}return new Vr(this.file,p,f,y)}getContext(r,a){const u=this.file.content;let p=this.offset;if(null!=p){p>u.length-1&&(p=u.length-1);let f=p,y=0,D=0;for(;y0&&(p--,y++,"\n"!=u[p]||++D!=a););for(y=0,D=0;y]${r.after}")`:this.msg}toString(){const r=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${r}`}}let y0=0;function Uc(l){return l.replace(/\W/g,"_")}const G_='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';class K_ extends Ac{constructor(){super(!1)}visitWrappedNodeExpr(r,a){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitDeclareVarStmt(r,a){return a.print(r,`var ${r.name}`),r.value&&(a.print(r," = "),r.value.visitExpression(this,a)),a.println(r,";"),null}visitTaggedTemplateExpr(r,a){const u=r.template.elements;return r.tag.visitExpression(this,a),a.print(r,`(${G_}(`),a.print(r,`[${u.map(p=>Lr(p.text,!1)).join(", ")}], `),a.print(r,`[${u.map(p=>Lr(p.rawText,!1)).join(", ")}])`),r.template.expressions.forEach(p=>{a.print(r,", "),p.visitExpression(this,a)}),a.print(r,")"),null}visitFunctionExpr(r,a){return a.print(r,`function${r.name?" "+r.name:""}(`),this._visitParams(r.params,a),a.println(r,") {"),a.incIndent(),this.visitAllStatements(r.statements,a),a.decIndent(),a.print(r,"}"),null}visitArrowFunctionExpr(r,a){if(a.print(r,"("),this._visitParams(r.params,a),a.print(r,") =>"),Array.isArray(r.body))a.println(r,"{"),a.incIndent(),this.visitAllStatements(r.body,a),a.decIndent(),a.print(r,"}");else{const u=r.body instanceof cs;u&&a.print(r,"("),r.body.visitExpression(this,a),u&&a.print(r,")")}return null}visitDeclareFunctionStmt(r,a){return a.print(r,`function ${r.name}(`),this._visitParams(r.params,a),a.println(r,") {"),a.incIndent(),this.visitAllStatements(r.statements,a),a.decIndent(),a.println(r,"}"),null}visitLocalizedString(r,a){a.print(r,`$localize(${G_}(`);const u=[r.serializeI18nHead()];for(let p=1;pLr(p.cooked,!1)).join(", ")}], `),a.print(r,`[${u.map(p=>Lr(p.raw,!1)).join(", ")}])`),r.expressions.forEach(p=>{a.print(r,", "),p.visitExpression(this,a)}),a.print(r,")"),null}_visitParams(r,a){this.visitAllObjects(u=>a.print(null,u.name),r,a,",")}}let Qu;function Xl(l){return function Lw(){if(void 0===Qu){const l=Ha.trustedTypes;if(Qu=null,l)try{Qu=l.createPolicy("angular#unsafe-jit",{createScript:r=>r})}catch{}}return Qu}()?.createScript(l)||l}function Ft(...l){if(!Ha.trustedTypes)return new Function(...l);const u=`(function anonymous(${l.slice(0,-1).join(",")}\n) { ${l[l.length-1]}\n})`,p=Ha.eval(Xl(u));return void 0===p.bind?new Function(...l):(p.toString=()=>u,p.bind(Ha))}class am{evaluateStatements(r,a,u,p){const f=new Pw(u),y=T_.createRoot();return a.length>0&&!function b0(l){return l.isEquivalent(X("use strict").toStmt())}(a[0])&&(a=[X("use strict").toStmt(),...a]),f.visitAllStatements(a,y),f.createReturnStmt(y),this.evaluateCode(r,y,f.getArgs(),p)}evaluateCode(r,a,u,p){let f=`"use strict";${a.toSource()}\n//# sourceURL=${r}`;const y=[],D=[];for(const R in u)D.push(u[R]),y.push(R);if(p){const R=Ft(...y.concat("return null;")).toString(),j=R.slice(0,R.indexOf("return null;")).split("\n").length-1;f+=`\n${a.toSourceMapGenerator(r,j).toJsComment()}`}const L=Ft(...y.concat(f));return this.executeFunction(L,D)}executeFunction(r,a){return r(...a)}}class Pw extends K_{constructor(r){super(),this.refResolver=r,this._evalArgNames=[],this._evalArgValues=[],this._evalExportedVars=[]}createReturnStmt(r){new rr(new cs(this._evalExportedVars.map(u=>new ai(u,_t(u),!1)))).visitStatement(this,r)}getArgs(){const r={};for(let a=0;a=0?(a="anonymous_"+y0++,r.__anonymousType=a):a=Uc(a),a}({reference:a})||"val";this._evalArgNames.push(`jit_${f}_${p}`)}u.print(r,this._evalArgNames[p])}}function SP(l){const r=new Rn;null!==l.providers&&r.set("providers",l.providers),l.imports.length>0&&r.set("imports",$t(l.imports));return{expression:Le(G.defineInjector).callFn([r.toLiteralMap()],void 0,!0),type:w0(l),statements:[]}}function w0(l){return new Rt(Le(G.InjectorDeclaration,[new Rt(l.type.type)]))}class DP{constructor(r){this.context=r}resolveExternalReference(r){if("@angular/core"!==r.moduleName)throw new Error(`Cannot resolve external reference to ${r.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(r.name))throw new Error(`No value provided for @angular/core symbol '${r.name}'.`);return this.context[r.name]}}var lm,Ta,$c;function Xu(l){const r=[],a=new Rn;if(a.set("type",l.type.value),l.kind===Ta.Global&&l.bootstrap.length>0&&a.set("bootstrap",Ho(l.bootstrap,l.containsForwardDecls)),l.selectorScopeMode===lm.Inline)l.declarations.length>0&&a.set("declarations",Ho(l.declarations,l.containsForwardDecls)),l.imports.length>0&&a.set("imports",Ho(l.imports,l.containsForwardDecls)),l.exports.length>0&&a.set("exports",Ho(l.exports,l.containsForwardDecls));else if(l.selectorScopeMode===lm.SideEffect){const f=function CP(l){const r=new Rn;if(l.kind===Ta.Global?l.declarations.length>0&&r.set("declarations",Ho(l.declarations,l.containsForwardDecls)):l.declarationsExpression&&r.set("declarations",l.declarationsExpression),l.kind===Ta.Global?l.imports.length>0&&r.set("imports",Ho(l.imports,l.containsForwardDecls)):l.importsExpression&&r.set("imports",l.importsExpression),l.kind===Ta.Global?l.exports.length>0&&r.set("exports",Ho(l.exports,l.containsForwardDecls)):l.exportsExpression&&r.set("exports",l.exportsExpression),l.kind===Ta.Local&&l.bootstrapExpression&&r.set("bootstrap",l.bootstrapExpression),0===Object.keys(r.values).length)return null;const a=new Pn(Le(G.setNgModuleScope),[l.type.value,r.toLiteralMap()]),u=function jn(l){return wh("ngJitMode",l)}(a),p=new oi([],[u.toStmt()]);return new Pn(p,[]).toStmt()}(l);null!==f&&r.push(f)}null!==l.schemas&&l.schemas.length>0&&a.set("schemas",$t(l.schemas.map(f=>f.value))),null!==l.id&&(a.set("id",l.id),r.push(Le(G.registerNgModuleType).callFn([l.type.value,l.id]).toStmt()));return{expression:Le(G.defineNgModule).callFn([a.toLiteralMap()],void 0,!0),type:S0(l),statements:r}}function S0(l){if(l.kind===Ta.Local)return new Rt(l.type.value);const{type:r,declarations:a,exports:u,imports:p,includeImportTypes:f,publicDeclarationTypes:y}=l;return new Rt(Le(G.NgModuleDeclaration,[new Rt(r.type),null===y?Rw(a):EP(y),f?Rw(p):gt,Rw(u)]))}function Rw(l){const r=l.map(a=>bn(a.type));return l.length>0?Ar($t(r)):gt}function EP(l){const r=l.map(a=>bn(a));return l.length>0?Ar($t(r)):gt}function me(l){const r=[];r.push({key:"name",value:X(l.pipeName),quoted:!1}),r.push({key:"type",value:l.type.value,quoted:!1}),r.push({key:"pure",value:X(l.pure),quoted:!1}),l.isStandalone&&r.push({key:"standalone",value:X(!0),quoted:!1});return{expression:Le(G.definePipe).callFn([hn(r)],void 0,!0),type:pn(l),statements:[]}}function pn(l){return new Rt(Le(G.PipeDeclaration,[Pc(l.type.type,l.typeArgumentCount),new Rt(new Es(l.pipeName)),new Rt(new Es(l.isStandalone))]))}!function(l){l[l.Inline=0]="Inline",l[l.SideEffect=1]="SideEffect",l[l.Omit=2]="Omit"}(lm||(lm={})),function(l){l[l.Global=0]="Global",l[l.Local=1]="Local"}(Ta||(Ta={})),function(l){l[l.Directive=0]="Directive",l[l.Pipe=1]="Pipe",l[l.NgModule=2]="NgModule"}($c||($c={}));const xP=new Set(["inherit","initial","revert","unset","alternate","alternate-reverse","normal","reverse","backwards","both","forwards","none","paused","running","ease","ease-in","ease-in-out","ease-out","linear","step-start","step-end","end","jump-both","jump-end","jump-none","jump-start","start"]),as=["@media","@supports","@document","@layer","@container","@scope","@starting-style"];class Ow{constructor(){this._animationDeclarationKeyframesRe=/(^|\s+|,)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g}shimCssText(r,a,u=""){const p=[];r=r.replace(Fw,D=>{if(D.match(Yw))p.push(D);else{const L=D.match(TP);p.push((L?.join("")??"")+"\n")}return dm}),r=this._insertDirectives(r);const f=this._scopeCssText(r,a,u);let y=0;return f.replace(X_,()=>p[y++])}_insertDirectives(r){return r=this._insertPolyfillDirectivesInCssText(r),this._insertPolyfillRulesInCssText(r)}_scopeKeyframesRelatedCss(r,a){const u=new Set,p=nl(r,f=>this._scopeLocalKeyframeDeclarations(f,a,u));return nl(p,f=>this._scopeAnimationRule(f,a,u))}_scopeLocalKeyframeDeclarations(r,a,u){return{...r,selector:r.selector.replace(/(^@(?:-webkit-)?keyframes(?:\s+))(['"]?)(.+)\2(\s*)$/,(p,f,y,D,L)=>(u.add(zw(D,y)),`${f}${y}${a}_${D}${y}${L}`))}}_scopeAnimationKeyframe(r,a,u){return r.replace(/^(\s*)(['"]?)(.+?)\2(\s*)$/,(p,f,y,D,L)=>`${f}${y}${D=`${u.has(zw(D,y))?a+"_":""}${D}`}${y}${L}`)}_scopeAnimationRule(r,a,u){let p=r.content.replace(/((?:^|\s+|;)(?:-webkit-)?animation\s*:\s*),*([^;]+)/g,(f,y,D)=>y+D.replace(this._animationDeclarationKeyframesRe,(L,R,j="",q,le)=>q?`${R}${this._scopeAnimationKeyframe(`${j}${q}${j}`,a,u)}`:xP.has(le)?L:`${R}${this._scopeAnimationKeyframe(le,a,u)}`));return p=p.replace(/((?:^|\s+|;)(?:-webkit-)?animation-name(?:\s*):(?:\s*))([^;]+)/g,(f,y,D)=>`${y}${D.split(",").map(L=>this._scopeAnimationKeyframe(L,a,u)).join(",")}`),{...r,content:p}}_insertPolyfillDirectivesInCssText(r){return r.replace(Ia,function(...a){return a[2]+"{"})}_insertPolyfillRulesInCssText(r){return r.replace(Nw,(...a)=>{const u=a[0].replace(a[1],"").replace(a[2],"");return a[4]+u})}_scopeCssText(r,a,u){const p=this._extractUnscopedRulesFromCssText(r);return r=this._insertPolyfillHostInCssText(r),r=this._convertColonHost(r),r=this._convertColonHostContext(r),r=this._convertShadowDOMSelectors(r),a&&(r=this._scopeKeyframesRelatedCss(r,a),r=this._scopeSelectors(r,a,u)),(r=r+"\n"+p).trim()}_extractUnscopedRulesFromCssText(r){let u,a="";for(Q_.lastIndex=0;null!==(u=Q_.exec(r));){a+=u[0].replace(u[2],"").replace(u[1],u[4])+"\n\n"}return a}_convertColonHost(r){return r.replace(C0,(a,u,p)=>{if(u){const f=[],y=u.split(",").map(D=>D.trim());for(const D of y){if(!D)break;const L=Cr+D.replace(um,"")+p;f.push(L)}return f.join(",")}return Cr+p})}_convertColonHostContext(r){return r.replace(E0,a=>{const u=[[]];let p;for(;p=x0.exec(a);){const f=(p[1]??"").trim().split(",").map(D=>D.trim()).filter(D=>""!==D),y=u.length;hm(u,f.length);for(let D=0;Dfunction L0(l,r){const a=Cr;Rh.lastIndex=0;const u=Rh.test(r);if(0===l.length)return a+r;const p=[l.pop()||""];for(;l.length>0;){const f=p.length,y=l.pop();for(let D=0;Du?`${f}${r}`:`${f}${a}${r}, ${f} ${a}${r}`).join(",")}(f,a)).join(", ")})}_convertShadowDOMSelectors(r){return k0.reduce((a,u)=>a.replace(u," "),r)}_scopeSelectors(r,a,u){return nl(r,p=>{let f=p.selector,y=p.content;return"@"!==p.selector[0]?f=this._scopeSelector(p.selector,a,u):as.some(D=>p.selector.startsWith(D))?y=this._scopeSelectors(p.content,a,u):(p.selector.startsWith("@font-face")||p.selector.startsWith("@page"))&&(y=this._stripScopingSelectors(p.content)),new Hr(f,y)})}_stripScopingSelectors(r){return nl(r,a=>{const u=a.selector.replace(na," ").replace(tl," ");return new Hr(u,a.content)})}_scopeSelector(r,a,u){return r.split(/ ?, ?/).map(p=>p.split(na)).map(p=>{const[f,...y]=p;return[(L=>this._selectorNeedsScoping(L,a)?this._applySelectorScope(L,a,u):L)(f),...y].join(" ")}).join(", ")}_selectorNeedsScoping(r,a){return!this._makeScopeMatcher(a).test(r)}_makeScopeMatcher(r){return r=r.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+r+")"+Zl,"m")}_applySimpleSelectorScope(r,a,u){if(Rh.lastIndex=0,Rh.test(r)){const p=`[${u}]`;return r.replace(tl,(f,y)=>y.replace(/([^:]*)(:*)(.*)/,(D,L,R,j)=>L+p+R+j)).replace(Rh,p+" ")}return a+" "+r}_applySelectorScope(r,a,u){const f="["+(a=a.replace(/\[is=([^\]]*)\]/g,(qe,...rt)=>rt[0]))+"]",y=qe=>{let rt=qe.trim();if(!rt)return qe;if(qe.includes(Cr))rt=this._applySimpleSelectorScope(qe,a,u);else{const ot=qe.replace(Rh,"");if(ot.length>0){const gn=ot.match(/([^:]*)(:*)(.*)/);gn&&(rt=gn[1]+f+gn[2]+gn[3])}}return rt},D=new cm(r);let j,L="",R=0;const q=/( |>|\+|~(?!=))\s*/g;let Se=!(r=D.content()).includes(Cr);for(;null!==(j=q.exec(r));){const qe=j[1],rt=r.slice(R,j.index);if(rt.match(/__esc-ph-(\d+)__/)&&r[j.index+1]?.match(/[a-fA-F\d]/))continue;Se=Se||rt.includes(Cr);L+=`${Se?y(rt):rt} ${qe} `,R=q.lastIndex}const Ae=r.substring(R);return Se=Se||Ae.includes(Cr),L+=Se?y(Ae):Ae,D.restore(L)}_insertPolyfillHostInCssText(r){return r.replace(kP,D0).replace(T0,um)}}class cm{constructor(r){this.placeholders=[],this.index=0,r=(r=this._escapeRegexMatches(r,/(\[[^\]]*\])/g)).replace(/(\\.)/g,(a,u)=>{const p=`__esc-ph-${this.index}__`;return this.placeholders.push(u),this.index++,p}),this._content=r.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(a,u,p)=>{const f=`__ph-${this.index}__`;return this.placeholders.push(p),this.index++,u+f})}restore(r){return r.replace(/__(?:ph|esc-ph)-(\d+)__/g,(a,u)=>this.placeholders[+u])}content(){return this._content}_escapeRegexMatches(r,a){return r.replace(a,(u,p)=>{const f=`__ph-${this.index}__`;return this.placeholders.push(p),this.index++,f})}}const Ia=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,Nw=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,Q_=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,um="-shadowcsshost",D0="-shadowcsscontext",M0="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",C0=new RegExp(um+M0,"gim"),E0=new RegExp(D0+M0,"gim"),x0=new RegExp(D0+M0,"im"),Cr=um+"-no-combinator",tl=/-shadowcsshost-no-combinator([^\s]*)/,k0=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],na=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,Zl="([>\\s~+[.,{:][\\s\\S]*)?$",Rh=/-shadowcsshost/gim,T0=/:host/gim,kP=/:host-context/gim,TP=/\r?\n/g,Fw=/\/\*[\s\S]*?\*\//g,Yw=/\/\*\s*#\s*source(Mapping)?URL=/g,dm="%COMMENT%",X_=new RegExp(dm,"g"),Bw="%BLOCK%",I0=new RegExp(`(\\s*(?:${dm}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`,"g"),jw=new Map([["{","}"]]),Vw="%COMMA_IN_PLACEHOLDER%",Hw="%SEMI_IN_PLACEHOLDER%",Uw="%COLON_IN_PLACEHOLDER%",A0=new RegExp(Vw,"g"),$w=new RegExp(Hw,"g"),IP=new RegExp(Uw,"g");class Hr{constructor(r,a){this.selector=r,this.content=a}}function nl(l,r){const a=function PP(l){let r=l,a=null;for(let u=0;u{const D=y[2];let L="",R=y[4],j="";R&&R.startsWith("{"+Bw)&&(L=u.blocks[p++],R=R.substring(Bw.length+1),j="{");const q=r(new Hr(D,L));return`${y[1]}${q.selector}${y[3]}${j}${q.content}${R}`}))}class Is{constructor(r,a){this.escapedString=r,this.blocks=a}}const LP={";":Hw,",":Vw,":":Uw};function zw(l,r){return r?l.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g,"$1"):l}function hm(l,r){const a=l.length;for(let u=1;ua.isEquivalent(this.args[u])))}isConstant(){return!1}transformInternalExpressions(r,a){null!==this.body?this.body=$e(this.body,r,a|Mn.InChildOperation):null!==this.fn&&(this.fn=$e(this.fn,r,a));for(let u=0;ua.clone()));return r.fn=this.fn?.clone()??null,r.varOffset=this.varOffset,r}}class Zc extends ps{constructor(r){super(),this.index=r,this.kind=et.PureFunctionParameterExpr}visitExpression(){}isEquivalent(r){return r instanceof Zc&&r.index===this.index}isConstant(){return!0}transformInternalExpressions(){}clone(){return new Zc(this.index)}}class rd extends ps{static#e=(Qw=Oh,Xw=Z_);constructor(r,a,u,p){super(),this.target=r,this.targetSlot=a,this.name=u,this.args=p,this.kind=et.PipeBinding,this[Qw]=!0,this[Xw]=!0,this.varOffset=null}visitExpression(r,a){for(const u of this.args)u.visitExpression(r,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(r,a){for(let u=0;ua.clone()));return r.varOffset=this.varOffset,r}}class gm extends ps{static#e=(ed=Oh,td=Z_);constructor(r,a,u,p,f){super(),this.target=r,this.targetSlot=a,this.name=u,this.args=p,this.numArgs=f,this.kind=et.PipeBindingVariadic,this[ed]=!0,this[td]=!0,this.varOffset=null}visitExpression(r,a){this.args.visitExpression(r,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(r,a){this.args=$e(this.args,r,a)}clone(){const r=new gm(this.target,this.targetSlot,this.name,this.args.clone(),this.numArgs);return r.varOffset=this.varOffset,r}}class jh extends ps{constructor(r,a){super(),this.receiver=r,this.name=a,this.kind=et.SafePropertyRead}get index(){return this.name}visitExpression(r,a){this.receiver.visitExpression(r,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(r,a){this.receiver=$e(this.receiver,r,a)}clone(){return new jh(this.receiver.clone(),this.name)}}class Vh extends ps{constructor(r,a,u){super(u),this.receiver=r,this.index=a,this.kind=et.SafeKeyedRead}visitExpression(r,a){this.receiver.visitExpression(r,a),this.index.visitExpression(r,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(r,a){this.receiver=$e(this.receiver,r,a),this.index=$e(this.index,r,a)}clone(){return new Vh(this.receiver.clone(),this.index.clone(),this.sourceSpan)}}class Ds extends ps{constructor(r,a){super(),this.receiver=r,this.args=a,this.kind=et.SafeInvokeFunction}visitExpression(r,a){this.receiver.visitExpression(r,a);for(const u of this.args)u.visitExpression(r,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(r,a){this.receiver=$e(this.receiver,r,a);for(let u=0;ur.clone()))}}class id extends ps{constructor(r,a){super(),this.guard=r,this.expr=a,this.kind=et.SafeTernaryExpr}visitExpression(r,a){this.guard.visitExpression(r,a),this.expr.visitExpression(r,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(r,a){this.guard=$e(this.guard,r,a),this.expr=$e(this.expr,r,a)}clone(){return new id(this.guard.clone(),this.expr.clone())}}class od extends ps{constructor(){super(...arguments),this.kind=et.EmptyExpr}visitExpression(r,a){}isEquivalent(r){return r instanceof od}isConstant(){return!0}clone(){return new od}transformInternalExpressions(){}}class ns extends ps{constructor(r,a){super(),this.expr=r,this.xref=a,this.kind=et.AssignTemporaryExpr,this.name=null}visitExpression(r,a){this.expr.visitExpression(r,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(r,a){this.expr=$e(this.expr,r,a)}clone(){const r=new ns(this.expr.clone(),this.xref);return r.name=this.name,r}}class Jc extends ps{constructor(r){super(),this.xref=r,this.kind=et.ReadTemporaryExpr,this.name=null}visitExpression(r,a){}isEquivalent(){return this.xref==this.xref}isConstant(){return!1}transformInternalExpressions(r,a){}clone(){const r=new Jc(this.xref);return r.name=this.name,r}}class _m extends ps{constructor(r){super(),this.slot=r,this.kind=et.SlotLiteralExpr}visitExpression(r,a){}isEquivalent(r){return r instanceof _m&&r.slot===this.slot}isConstant(){return!0}clone(){return new _m(this.slot)}transformInternalExpressions(){}}class ry extends ps{constructor(r,a,u,p=null){super(),this.expr=r,this.target=a,this.targetSlot=u,this.alias=p,this.kind=et.ConditionalCase}visitExpression(r,a){null!==this.expr&&this.expr.visitExpression(r,a)}isEquivalent(r){return r instanceof ry&&r.expr===this.expr}isConstant(){return!0}clone(){return new ry(this.expr,this.target,this.targetSlot)}transformInternalExpressions(r,a){null!==this.expr&&(this.expr=$e(this.expr,r,a))}}class ad extends ps{constructor(r){super(),this.expr=r,this.kind=et.ConstCollected}transformInternalExpressions(r,a){this.expr=r(this.expr,a)}visitExpression(r,a){this.expr.visitExpression(r,a)}isEquivalent(r){return r instanceof ad&&this.expr.isEquivalent(r.expr)}isConstant(){return this.expr.isConstant()}clone(){return new ad(this.expr)}}function Mi(l,r){Js(l,(a,u)=>(r(a,u),a),Mn.None)}function iy(l,r,a){for(let u=0;u$e(u,r,a));else if(l instanceof Ki)if(Array.isArray(l.body))for(let u=0;u",Oe.Bigger],[">=",Oe.BiggerEquals],["|",Oe.BitwiseOr],["&",Oe.BitwiseAnd],["/",Oe.Divide],["==",Oe.Equals],["===",Oe.Identical],["<",Oe.Lower],["<=",Oe.LowerEquals],["-",Oe.Minus],["%",Oe.Modulo],["*",Oe.Multiply],["!=",Oe.NotEquals],["!==",Oe.NotIdentical],["??",Oe.NullishCoalesce],["||",Oe.Or],["+",Oe.Plus]]);function GP(l){const r=new Map([["svg",cr.SVG],["math",cr.Math]]);return null===l?cr.HTML:r.get(l)??cr.HTML}function $h(l,r){return r===cr.HTML?l:`:${function Ci(l){const r=new Map([["svg",cr.SVG],["math",cr.Math]]);for(const[a,u]of r.entries())if(u===l)return a;return null}(r)}:${l}`}function ud(l){return Array.isArray(l)?$t(l.map(ud)):X(l)}function X0(l,r,a){const u=r.get(a);if(void 0!==u){const p=aS(u);if(p.entries.length>0)return l.addConst(p)}return null}const dd=Object.freeze([]);class KP{get attributes(){return this.byKind.get(tt.Attribute)??dd}get classes(){return this.byKind.get(tt.ClassName)??dd}get styles(){return this.byKind.get(tt.StyleProperty)??dd}get bindings(){return this.propertyBindings??dd}get template(){return this.byKind.get(tt.Template)??dd}get i18n(){return this.byKind.get(tt.I18n)??dd}constructor(r){this.compatibility=r,this.known=new Map,this.byKind=new Map,this.propertyBindings=null,this.projectAs=null}isKnown(r,a){const u=this.known.get(r)??new Set;return this.known.set(r,u),!!u.has(a)||(u.add(a),!1)}add(r,a,u,p,f){if((this.compatibility!==ui.TemplateDefinitionBuilder||r!==tt.Attribute&&r!==tt.ClassName&&r!==tt.StyleProperty)&&this.isKnown(r,a))return;if("ngProjectAs"===a){if(null===u||!(u instanceof Es)||null==u.value||"string"!=typeof u.value?.toString())throw Error("ngProjectAs must have a string literal value");this.projectAs=u.value.toString()}const D=this.arrayFor(r);if(D.push(...function Z0(l,r){const a=X(r);return l?[X(0),X(l),a]:[a]}(p,a)),r===tt.Attribute||r===tt.StyleProperty){if(null===u)throw Error("Attribute, i18n attribute, & style element attributes must have a value");if(null!==f){if(!oo(u))throw Error("AssertionError: extracted attribute value should be string literal");D.push(Oi(f,new Gn([new ct(u.value)],[]),void 0,u.sourceSpan))}else D.push(u)}}arrayFor(r){return r===tt.Property||r===tt.TwoWayProperty?(this.propertyBindings??=[],this.propertyBindings):(this.byKind.has(r)||this.byKind.set(r,[]),this.byKind.get(r))}}function aS({attributes:l,bindings:r,classes:a,i18n:u,projectAs:p,styles:f,template:y}){const D=[...l];if(null!==p){const L=Je(p)[0];D.push(X(5),ud(L))}return a.length>0&&D.push(X(1),...a),f.length>0&&D.push(X(2),...f),r.length>0&&D.push(X(3),...r),y.length>0&&D.push(X(4),...y),u.length>0&&D.push(X(6),...u),$t(D)}class tx{constructor(){this.targets=new Map}}const nx=new Map([[Y.ElementEnd,[Y.ElementStart,Y.Element]],[Y.ContainerEnd,[Y.ContainerStart,Y.Container]],[Y.I18nEnd,[Y.I18nStart,Y.I18n]]]),hy=new Set([Y.Pipe]);[Pn,ks,cs,Ds,rd].map(l=>l.constructor.name);function Eo(l){return l instanceof xs?Eo(l.expr):l instanceof Ut?Eo(l.lhs)||Eo(l.rhs):l instanceof yi?!(!l.falseCase||!Eo(l.falseCase))||(Eo(l.condition)||Eo(l.trueCase)):l instanceof Ir?Eo(l.condition):l instanceof ns?Eo(l.expr):l instanceof gs?Eo(l.receiver):l instanceof Kn?Eo(l.receiver)||Eo(l.index):l instanceof Pn||l instanceof ks||l instanceof cs||l instanceof Ds||l instanceof rd}function zh(l,r,a){let u;if(Eo(l)){const p=a.job.allocateXrefId();u=[new ns(l,p),new Jc(p)]}else u=[l,l.clone()],function n2(l,r,a){return $e(l,u=>{if(u instanceof ns&&r.has(u.xref)){const p=new Jc(u.xref);return a.job.compatibility===ui.TemplateDefinitionBuilder?new ns(p,p.xref):p}return u},Mn.None),l}(u[1],function t2(l){const r=new Set;return $e(l,a=>(a instanceof ns&&r.add(a.xref),a),Mn.None),r}(u[0]),a);return new id(u[0],r(u[1]))}function r2(l){return function s2(l){return l instanceof jh||l instanceof Vh||l instanceof Ds}(l)||function ix(l){return l instanceof gs||l instanceof Kn||l instanceof Pn}(l)}function i2(l,r){if(!r2(l))return l;const a=function ox(l){if(r2(l)&&l.receiver instanceof id){let r=l.receiver;for(;r.expr instanceof id;)r=r.expr;return r}return null}(l);if(a){if(l instanceof Pn)return a.expr=a.expr.callFn(l.args),l.receiver;if(l instanceof gs)return a.expr=a.expr.prop(l.name),l.receiver;if(l instanceof Kn)return a.expr=a.expr.key(l.index),l.receiver;if(l instanceof Ds)return a.expr=zh(a.expr,u=>u.callFn(l.args),r),l.receiver;if(l instanceof jh)return a.expr=zh(a.expr,u=>u.prop(l.name),r),l.receiver;if(l instanceof Vh)return a.expr=zh(a.expr,u=>u.key(l.index),r),l.receiver}else{if(l instanceof Ds)return zh(l.receiver,u=>u.callFn(l.args),r);if(l instanceof jh)return zh(l.receiver,u=>u.prop(l.name),r);if(l instanceof Vh)return zh(l.receiver,u=>u.key(l.index),r)}return l}function o2(l){return l instanceof id?new yi(new Ut(Oe.Equals,l.guard,ja),ja,l.expr):l}const a2="\ufffd",l2="#",ax="*",lS="/",c2=":",tu="[",hd="]",u2="|";function lo(l,r,a){let u=py(r.params);const p=py(r.postprocessingParams);let f=[...r.params.values()].some(y=>y.length>1);return function $0(l,r,a,u,p,f,y,D){return{kind:Y.I18nMessage,xref:l,i18nContext:r,i18nBlock:a,message:u,messagePlaceholder:p,params:f,postprocessingParams:y,needsPostprocessing:D,subMessages:[],...Gt}}(l.allocateXrefId(),r.xref,r.i18nBlock,r.message,a??null,u,p,f)}function Gj(l){if(l.strings.length!==l.expressionPlaceholders.length+1)throw Error(`AssertionError: Invalid ICU placeholder with ${l.strings.length} strings and ${l.expressionPlaceholders.length} expressions`);const r=l.expressionPlaceholders.map(pd);return l.strings.flatMap((a,u)=>[a,r[u]||""]).join("")}function py(l){const r=new Map;for(const[a,u]of l){const p=cS(u);null!==p&&r.set(a,X(p))}return r}function cS(l){if(0===l.length)return null;const r=l.map(a=>pd(a));return 1===r.length?r[0]:`${tu}${r.join(u2)}${hd}`}function pd(l){if(l.flags&es.ElementTag&&l.flags&es.TemplateTag){if("object"!=typeof l.value)throw Error("AssertionError: Expected i18n param value to have an element and template slot");const p=pd({...l,value:l.value.element,flags:l.flags&~es.TemplateTag}),f=pd({...l,value:l.value.template,flags:l.flags&~es.ElementTag});return l.flags&es.OpenTag&&l.flags&es.CloseTag?`${f}${p}${f}`:l.flags&es.CloseTag?`${p}${f}`:`${f}${p}`}if(l.flags&es.OpenTag&&l.flags&es.CloseTag)return`${pd({...l,flags:l.flags&~es.CloseTag})}${pd({...l,flags:l.flags&~es.OpenTag})}`;if(l.flags===es.None)return`${l.value}`;let r="",a="";l.flags&es.ElementTag?r=l2:l.flags&es.TemplateTag&&(r=ax),""!==r&&(a=l.flags&es.CloseTag?lS:"");const u=null===l.subTemplateIndex?"":`${c2}${l.subTemplateIndex}`;return`${a2}${a}${r}${l.value}${u}${a2}`}function il(l,r){const a=function h2(l,r){const a={view:l.xref,viewContextVariable:{kind:lr.Context,name:null,view:l.xref},contextVariables:new Map,aliases:l.aliases,references:[],letDeclarations:[],parent:r};for(const u of l.contextVariables.keys())a.contextVariables.set(u,{kind:lr.Identifier,name:null,identifier:u,local:!1});for(const u of l.create)switch(u.kind){case Y.ElementStart:case Y.Template:if(!Array.isArray(u.localRefs))throw new Error("AssertionError: expected localRefs to be an array");for(let p=0;pr.charAt(0)+"-"+r.charAt(1)).toLowerCase()}function fd(l){const r=l.indexOf("!important");-1!==r&&(l=r>0?l.substring(0,r):"");let a=null,u=l;const p=l.lastIndexOf(".");return p>0&&(a=l.slice(p+1),u=l.substring(0,p)),{property:u,suffix:a}}function pS(l,r=!1){return hn(Object.keys(l).map(a=>({key:a,quoted:r,value:l[a]})))}const Em=new class fS{visitText(r){return r.value}visitContainer(r){return r.children.map(a=>a.visit(this)).join("")}visitIcu(r){const a=Object.keys(r.cases).map(p=>`${p} {${r.cases[p].visit(this)}}`);return`{${r.expressionPlaceholder}, ${r.type}, ${a.join(" ")}}`}visitTagPlaceholder(r){return r.isVoid?this.formatPh(r.startName):`${this.formatPh(r.startName)}${r.children.map(a=>a.visit(this)).join("")}${this.formatPh(r.closeName)}`}visitPlaceholder(r){return this.formatPh(r.name)}visitBlockPlaceholder(r){return`${this.formatPh(r.startName)}${r.children.map(a=>a.visit(this)).join("")}${this.formatPh(r.closeName)}`}visitIcuPlaceholder(r,a){return this.formatPh(r.name)}formatPh(r){return`{${Wu(r,!1)}}`}};function dx(l){return l.visit(Em)}class md{constructor(r,a){this.sourceSpan=r,this.i18n=a}}class Gh extends md{constructor(r,a,u,p){super(a,p),this.value=r,this.tokens=u}visit(r,a){return r.visitText(this,a)}}class Kh extends md{constructor(r,a,u,p,f,y){super(p,y),this.switchValue=r,this.type=a,this.cases=u,this.switchValueSourceSpan=f}visit(r,a){return r.visitExpansion(this,a)}}class xm{constructor(r,a,u,p,f){this.value=r,this.expression=a,this.sourceSpan=u,this.valueSourceSpan=p,this.expSourceSpan=f}visit(r,a){return r.visitExpansionCase(this,a)}}class km extends md{constructor(r,a,u,p,f,y,D){super(u,D),this.name=r,this.value=a,this.keySpan=p,this.valueSpan=f,this.valueTokens=y}visit(r,a){return r.visitAttribute(this,a)}}class oa extends md{constructor(r,a,u,p,f,y=null,D){super(p,D),this.name=r,this.attrs=a,this.children=u,this.startSourceSpan=f,this.endSourceSpan=y}visit(r,a){return r.visitElement(this,a)}}class Qh{constructor(r,a){this.value=r,this.sourceSpan=a}visit(r,a){return r.visitComment(this,a)}}class $i extends md{constructor(r,a,u,p,f,y,D=null,L){super(p,L),this.name=r,this.parameters=a,this.children=u,this.nameSpan=f,this.startSourceSpan=y,this.endSourceSpan=D}visit(r,a){return r.visitBlock(this,a)}}class mS{constructor(r,a){this.expression=r,this.sourceSpan=a}visit(r,a){return r.visitBlockParameter(this,a)}}class my{constructor(r,a,u,p,f){this.name=r,this.value=a,this.sourceSpan=u,this.nameSpan=p,this.valueSpan=f}visit(r,a){return r.visitLetDeclaration(this,a)}}function Lt(l,r,a=null){const u=[],p=l.visit?f=>l.visit(f,a)||f.visit(l,a):f=>f.visit(l,a);return r.forEach(f=>{const y=p(f);y&&u.push(y)}),u}const gS={AElig:"\xc6",AMP:"&",amp:"&",Aacute:"\xc1",Abreve:"\u0102",Acirc:"\xc2",Acy:"\u0410",Afr:"\u{1d504}",Agrave:"\xc0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2a53",Aogon:"\u0104",Aopf:"\u{1d538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xc5",angst:"\xc5",Ascr:"\u{1d49c}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xc3",Auml:"\xc4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2ae7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212c",Bscr:"\u212c",bernou:"\u212c",Beta:"\u0392",Bfr:"\u{1d505}",Bopf:"\u{1d539}",Breve:"\u02d8",breve:"\u02d8",Bumpeq:"\u224e",HumpDownHump:"\u224e",bump:"\u224e",CHcy:"\u0427",COPY:"\xa9",copy:"\xa9",Cacute:"\u0106",Cap:"\u22d2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212d",Cfr:"\u212d",Ccaron:"\u010c",Ccedil:"\xc7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010a",Cedilla:"\xb8",cedil:"\xb8",CenterDot:"\xb7",centerdot:"\xb7",middot:"\xb7",Chi:"\u03a7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201d",rdquo:"\u201d",rdquor:"\u201d",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2a74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222f",DoubleContourIntegral:"\u222f",ContourIntegral:"\u222e",conint:"\u222e",oint:"\u222e",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2a2f",Cscr:"\u{1d49e}",Cup:"\u22d3",CupCap:"\u224d",asympeq:"\u224d",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040f",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21a1",Dashv:"\u2ae4",DoubleLeftTee:"\u2ae4",Dcaron:"\u010e",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1d507}",DiacriticalAcute:"\xb4",acute:"\xb4",DiacriticalDot:"\u02d9",dot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",dblac:"\u02dd",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02dc",tilde:"\u02dc",Diamond:"\u22c4",diam:"\u22c4",diamond:"\u22c4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1d53b}",Dot:"\xa8",DoubleDot:"\xa8",die:"\xa8",uml:"\xa8",DotDot:"\u20dc",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21d3",Downarrow:"\u21d3",dArr:"\u21d3",DoubleLeftArrow:"\u21d0",Leftarrow:"\u21d0",lArr:"\u21d0",DoubleLeftRightArrow:"\u21d4",Leftrightarrow:"\u21d4",hArr:"\u21d4",iff:"\u21d4",DoubleLongLeftArrow:"\u27f8",Longleftarrow:"\u27f8",xlArr:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",Longleftrightarrow:"\u27fa",xhArr:"\u27fa",DoubleLongRightArrow:"\u27f9",Longrightarrow:"\u27f9",xrArr:"\u27f9",DoubleRightArrow:"\u21d2",Implies:"\u21d2",Rightarrow:"\u21d2",rArr:"\u21d2",DoubleRightTee:"\u22a8",vDash:"\u22a8",DoubleUpArrow:"\u21d1",Uparrow:"\u21d1",uArr:"\u21d1",DoubleUpDownArrow:"\u21d5",Updownarrow:"\u21d5",vArr:"\u21d5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",duarr:"\u21f5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",leftharpoondown:"\u21bd",lhard:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",rhard:"\u21c1",rightharpoondown:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",top:"\u22a4",DownTeeArrow:"\u21a7",mapstodown:"\u21a7",Dscr:"\u{1d49f}",Dstrok:"\u0110",ENG:"\u014a",ETH:"\xd0",Eacute:"\xc9",Ecaron:"\u011a",Ecirc:"\xca",Ecy:"\u042d",Edot:"\u0116",Efr:"\u{1d508}",Egrave:"\xc8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25fb",EmptyVerySmallSquare:"\u25ab",Eogon:"\u0118",Eopf:"\u{1d53c}",Epsilon:"\u0395",Equal:"\u2a75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21cc",rightleftharpoons:"\u21cc",rlhar:"\u21cc",Escr:"\u2130",expectation:"\u2130",Esim:"\u2a73",Eta:"\u0397",Euml:"\xcb",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1d509}",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",blacksquare:"\u25aa",squarf:"\u25aa",squf:"\u25aa",Fopf:"\u{1d53d}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1d50a}",Gg:"\u22d9",ggg:"\u22d9",Gopf:"\u{1d53e}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22db",gel:"\u22db",gtreqless:"\u22db",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2a7e",geqslant:"\u2a7e",ges:"\u2a7e",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1d4a2}",Gt:"\u226b",NestedGreaterGreater:"\u226b",gg:"\u226b",HARDcy:"\u042a",Hacek:"\u02c7",caron:"\u02c7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210c",Poincareplane:"\u210c",HilbertSpace:"\u210b",Hscr:"\u210b",hamilt:"\u210b",Hopf:"\u210d",quaternions:"\u210d",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224f",bumpe:"\u224f",bumpeq:"\u224f",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xcd",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xcc",Imacr:"\u012a",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222c",Integral:"\u222b",int:"\u222b",Intersection:"\u22c2",bigcap:"\u22c2",xcap:"\u22c2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012e",Iopf:"\u{1d540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xcf",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1d50d}",Jopf:"\u{1d541}",Jscr:"\u{1d4a5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",Kfr:"\u{1d50e}",Kopf:"\u{1d542}",Kscr:"\u{1d4a6}",LJcy:"\u0409",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039b",Lang:"\u27ea",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219e",twoheadleftarrow:"\u219e",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftAngleBracket:"\u27e8",lang:"\u27e8",langle:"\u27e8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21e4",larrb:"\u21e4",LeftArrowRightArrow:"\u21c6",leftrightarrows:"\u21c6",lrarr:"\u21c6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27e6",lobrk:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",dharl:"\u21c3",downharpoonleft:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",lfloor:"\u230a",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294e",LeftTee:"\u22a3",dashv:"\u22a3",LeftTeeArrow:"\u21a4",mapstoleft:"\u21a4",LeftTeeVector:"\u295a",LeftTriangle:"\u22b2",vartriangleleft:"\u22b2",vltri:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",ltrie:"\u22b4",trianglelefteq:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",uharl:"\u21bf",upharpoonleft:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",leftharpoonup:"\u21bc",lharu:"\u21bc",LeftVectorBar:"\u2952",LessEqualGreater:"\u22da",leg:"\u22da",lesseqgtr:"\u22da",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2aa1",LessSlantEqual:"\u2a7d",leqslant:"\u2a7d",les:"\u2a7d",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1d50f}",Ll:"\u22d8",Lleftarrow:"\u21da",lAarr:"\u21da",Lmidot:"\u013f",LongLeftArrow:"\u27f5",longleftarrow:"\u27f5",xlarr:"\u27f5",LongLeftRightArrow:"\u27f7",longleftrightarrow:"\u27f7",xharr:"\u27f7",LongRightArrow:"\u27f6",longrightarrow:"\u27f6",xrarr:"\u27f6",Lopf:"\u{1d543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21b0",lsh:"\u21b0",Lstrok:"\u0141",Lt:"\u226a",NestedLessLess:"\u226a",ll:"\u226a",Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1d510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1d544}",Mu:"\u039c",NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",ZeroWidthSpace:"\u200b",NewLine:"\n",Nfr:"\u{1d511}",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nbsp:"\xa0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2aec",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226f",ngt:"\u226f",ngtr:"\u226f",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",nGtv:"\u226b\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224e\u0338",nbump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",nbumpe:"\u224f\u0338",NotLeftTriangle:"\u22ea",nltri:"\u22ea",ntriangleleft:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",nltrie:"\u22ec",ntrianglelefteq:"\u22ec",NotLess:"\u226e",nless:"\u226e",nlt:"\u226e",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226a\u0338",nLtv:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",npre:"\u2aaf\u0338",npreceq:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",nprcue:"\u22e0",NotReverseElement:"\u220c",notni:"\u220c",notniva:"\u220c",NotRightTriangle:"\u22eb",nrtri:"\u22eb",ntriangleright:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",nrtrie:"\u22ed",ntrianglerighteq:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",nsqsube:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",nsqsupe:"\u22e3",NotSubset:"\u2282\u20d2",nsubset:"\u2282\u20d2",vnsub:"\u2282\u20d2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",nsce:"\u2ab0\u0338",nsucceq:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",nsccue:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",nsupset:"\u2283\u20d2",vnsup:"\u2283\u20d2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1d4a9}",Ntilde:"\xd1",Nu:"\u039d",OElig:"\u0152",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ofr:"\u{1d512}",Ograve:"\xd2",Omacr:"\u014c",Omega:"\u03a9",ohm:"\u03a9",Omicron:"\u039f",Oopf:"\u{1d546}",OpenCurlyDoubleQuote:"\u201c",ldquo:"\u201c",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2a54",Oscr:"\u{1d4aa}",Oslash:"\xd8",Otilde:"\xd5",Otimes:"\u2a37",Ouml:"\xd6",OverBar:"\u203e",oline:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",tbrk:"\u23b4",OverParenthesis:"\u23dc",PartialD:"\u2202",part:"\u2202",Pcy:"\u041f",Pfr:"\u{1d513}",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",plusmn:"\xb1",pm:"\xb1",Popf:"\u2119",primes:"\u2119",Pr:"\u2abb",Precedes:"\u227a",pr:"\u227a",prec:"\u227a",PrecedesEqual:"\u2aaf",pre:"\u2aaf",preceq:"\u2aaf",PrecedesSlantEqual:"\u227c",prcue:"\u227c",preccurlyeq:"\u227c",PrecedesTilde:"\u227e",precsim:"\u227e",prsim:"\u227e",Prime:"\u2033",Product:"\u220f",prod:"\u220f",Proportional:"\u221d",prop:"\u221d",propto:"\u221d",varpropto:"\u221d",vprop:"\u221d",Pscr:"\u{1d4ab}",Psi:"\u03a8",QUOT:'"',quot:'"',Qfr:"\u{1d514}",Qopf:"\u211a",rationals:"\u211a",Qscr:"\u{1d4ac}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xae",circledR:"\xae",reg:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarr:"\u21a0",twoheadrightarrow:"\u21a0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211c",Rfr:"\u211c",real:"\u211c",realpart:"\u211c",ReverseElement:"\u220b",SuchThat:"\u220b",ni:"\u220b",niv:"\u220b",ReverseEquilibrium:"\u21cb",leftrightharpoons:"\u21cb",lrhar:"\u21cb",ReverseUpEquilibrium:"\u296f",duhar:"\u296f",Rho:"\u03a1",RightAngleBracket:"\u27e9",rang:"\u27e9",rangle:"\u27e9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21e5",rarrb:"\u21e5",RightArrowLeftArrow:"\u21c4",rightleftarrows:"\u21c4",rlarr:"\u21c4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27e7",robrk:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",dharr:"\u21c2",downharpoonright:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rfloor:"\u230b",RightTee:"\u22a2",vdash:"\u22a2",RightTeeArrow:"\u21a6",map:"\u21a6",mapsto:"\u21a6",RightTeeVector:"\u295b",RightTriangle:"\u22b3",vartriangleright:"\u22b3",vrtri:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",rtrie:"\u22b5",trianglerighteq:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",uharr:"\u21be",upharpoonright:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",rharu:"\u21c0",rightharpoonup:"\u21c0",RightVectorBar:"\u2953",Ropf:"\u211d",reals:"\u211d",RoundImplies:"\u2970",Rrightarrow:"\u21db",rAarr:"\u21db",Rscr:"\u211b",realine:"\u211b",Rsh:"\u21b1",rsh:"\u21b1",RuleDelayed:"\u29f4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",Sfr:"\u{1d516}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03a3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1d54a}",Sqrt:"\u221a",radic:"\u221a",Square:"\u25a1",squ:"\u25a1",square:"\u25a1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228f",sqsub:"\u228f",sqsubset:"\u228f",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1d4ae}",Star:"\u22c6",sstarf:"\u22c6",Sub:"\u22d0",Subset:"\u22d0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227b",sc:"\u227b",succ:"\u227b",SucceedsEqual:"\u2ab0",sce:"\u2ab0",succeq:"\u2ab0",SucceedsSlantEqual:"\u227d",sccue:"\u227d",succcurlyeq:"\u227d",SucceedsTilde:"\u227f",scsim:"\u227f",succsim:"\u227f",Sum:"\u2211",sum:"\u2211",Sup:"\u22d1",Supset:"\u22d1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xde",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1d517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223c",sim:"\u223c",thicksim:"\u223c",thksim:"\u223c",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1d54b}",TripleDot:"\u20db",tdot:"\u20db",Tscr:"\u{1d4af}",Tstrok:"\u0166",Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1d518}",Ugrave:"\xd9",Umacr:"\u016a",UnderBar:"_",lowbar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",bbrk:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",bigcup:"\u22c3",xcup:"\u22c3",UnionPlus:"\u228e",uplus:"\u228e",Uogon:"\u0172",Uopf:"\u{1d54c}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",udarr:"\u21c5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296e",udhar:"\u296e",UpTee:"\u22a5",bot:"\u22a5",bottom:"\u22a5",perp:"\u22a5",UpTeeArrow:"\u21a5",mapstoup:"\u21a5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",Uring:"\u016e",Uscr:"\u{1d4b0}",Utilde:"\u0168",Uuml:"\xdc",VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdash:"\u22a9",Vdashl:"\u2ae6",Vee:"\u22c1",bigvee:"\u22c1",xvee:"\u22c1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200a",hairsp:"\u200a",Vfr:"\u{1d519}",Vopf:"\u{1d54d}",Vscr:"\u{1d4b1}",Vvdash:"\u22aa",Wcirc:"\u0174",Wedge:"\u22c0",bigwedge:"\u22c0",xwedge:"\u22c0",Wfr:"\u{1d51a}",Wopf:"\u{1d54e}",Wscr:"\u{1d4b2}",Xfr:"\u{1d51b}",Xi:"\u039e",Xopf:"\u{1d54f}",Xscr:"\u{1d4b3}",YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yfr:"\u{1d51c}",Yopf:"\u{1d550}",Yscr:"\u{1d4b4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1d4b5}",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",mstpos:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acirc:"\xe2",acy:"\u0430",aelig:"\xe6",afr:"\u{1d51e}",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",amacr:"\u0101",amalg:"\u2a3f",and:"\u2227",wedge:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",angle:"\u2220",ange:"\u29a4",angmsd:"\u2221",measuredangle:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angzarr:"\u237c",aogon:"\u0105",aopf:"\u{1d552}",apE:"\u2a70",apacir:"\u2a6f",ape:"\u224a",approxeq:"\u224a",apid:"\u224b",apos:"'",aring:"\xe5",ascr:"\u{1d4b6}",ast:"*",midast:"*",atilde:"\xe3",auml:"\xe4",awint:"\u2a11",bNot:"\u2aed",backcong:"\u224c",bcong:"\u224c",backepsilon:"\u03f6",bepsi:"\u03f6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223d",bsim:"\u223d",backsimeq:"\u22cd",bsime:"\u22cd",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23b6",bcy:"\u0431",bdquo:"\u201e",ldquor:"\u201e",bemptyv:"\u29b0",beta:"\u03b2",beth:"\u2136",between:"\u226c",twixt:"\u226c",bfr:"\u{1d51f}",bigcirc:"\u25ef",xcirc:"\u25ef",bigodot:"\u2a00",xodot:"\u2a00",bigoplus:"\u2a01",xoplus:"\u2a01",bigotimes:"\u2a02",xotime:"\u2a02",bigsqcup:"\u2a06",xsqcup:"\u2a06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25bd",xdtri:"\u25bd",bigtriangleup:"\u25b3",xutri:"\u25b3",biguplus:"\u2a04",xuplus:"\u2a04",bkarow:"\u290d",rbarr:"\u290d",blacklozenge:"\u29eb",lozf:"\u29eb",blacktriangle:"\u25b4",utrif:"\u25b4",blacktriangledown:"\u25be",dtrif:"\u25be",blacktriangleleft:"\u25c2",ltrif:"\u25c2",blacktriangleright:"\u25b8",rtrif:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bopf:"\u{1d553}",bowtie:"\u22c8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250c",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxminus:"\u229f",minusb:"\u229f",boxplus:"\u229e",plusb:"\u229e",boxtimes:"\u22a0",timesb:"\u22a0",boxuL:"\u255b",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",brvbar:"\xa6",bscr:"\u{1d4b7}",bsemi:"\u204f",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2aae",cacute:"\u0107",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",ccaps:"\u2a4d",ccaron:"\u010d",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cemptyv:"\u29b2",cent:"\xa2",cfr:"\u{1d520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",cir:"\u25cb",cirE:"\u29c3",circ:"\u02c6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21ba",olarr:"\u21ba",circlearrowright:"\u21bb",orarr:"\u21bb",circledS:"\u24c8",oS:"\u24c8",circledast:"\u229b",oast:"\u229b",circledcirc:"\u229a",ocir:"\u229a",circleddash:"\u229d",odash:"\u229d",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2a6d",copf:"\u{1d554}",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",cscr:"\u{1d4b8}",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",curlyeqprec:"\u22de",cuesc:"\u22df",curlyeqsucc:"\u22df",cularr:"\u21b6",curvearrowleft:"\u21b6",cularrp:"\u293d",cup:"\u222a",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curvearrowright:"\u21b7",curarrm:"\u293c",curlyvee:"\u22ce",cuvee:"\u22ce",curlywedge:"\u22cf",cuwed:"\u22cf",curren:"\xa4",cwint:"\u2231",cylcty:"\u232d",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290f",rBarr:"\u290f",dcaron:"\u010f",dcy:"\u0434",ddarr:"\u21ca",downdownarrows:"\u21ca",ddotseq:"\u2a77",eDDot:"\u2a77",deg:"\xb0",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\u{1d521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03dd",gammad:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",llcorner:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\u{1d555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22a1",sdotb:"\u22a1",drcorn:"\u231f",lrcorner:"\u231f",drcrop:"\u230c",dscr:"\u{1d4b9}",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",triangledown:"\u25bf",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xea",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044d",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1d522}",eg:"\u2a9a",egrave:"\xe8",egs:"\u2a96",eqslantgtr:"\u2a96",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",eqslantless:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1d556}",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",epsiv:"\u03f5",straightepsilon:"\u03f5",varepsilon:"\u03f5",equals:"=",equest:"\u225f",questeq:"\u225f",equivDD:"\u2a78",eqvparsl:"\u29e5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212f",eta:"\u03b7",eth:"\xf0",euml:"\xeb",euro:"\u20ac",excl:"!",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\u{1d523}",filig:"\ufb01",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\u{1d557}",fork:"\u22d4",pitchfork:"\u22d4",forkv:"\u2ad9",fpartint:"\u2a0d",frac12:"\xbd",half:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",sfrown:"\u2322",fscr:"\u{1d4bb}",gEl:"\u2a8c",gtreqqless:"\u2a8c",gacute:"\u01f5",gamma:"\u03b3",gap:"\u2a86",gtrapprox:"\u2a86",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\u{1d524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gneq:"\u2a88",gnsim:"\u22e7",gopf:"\u{1d558}",gscr:"\u210a",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtrdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrarr:"\u2978",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",hardcy:"\u044a",harrcir:"\u2948",harrw:"\u21ad",leftrightsquigarrow:"\u21ad",hbar:"\u210f",hslash:"\u210f",planck:"\u210f",plankv:"\u210f",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22b9",hfr:"\u{1d525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",larrhk:"\u21a9",hookrightarrow:"\u21aa",rarrhk:"\u21aa",hopf:"\u{1d559}",horbar:"\u2015",hscr:"\u{1d4bd}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xed",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexcl:"\xa1",ifr:"\u{1d526}",igrave:"\xec",iiiint:"\u2a0c",qint:"\u2a0c",iiint:"\u222d",tint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",imath:"\u0131",inodot:"\u0131",imof:"\u22b7",imped:"\u01b5",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",intcal:"\u22ba",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iopf:"\u{1d55a}",iota:"\u03b9",iquest:"\xbf",iscr:"\u{1d4be}",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",itilde:"\u0129",iukcy:"\u0456",iuml:"\xef",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1d527}",jmath:"\u0237",jopf:"\u{1d55b}",jscr:"\u{1d4bf}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03ba",kappav:"\u03f0",varkappa:"\u03f0",kcedil:"\u0137",kcy:"\u043a",kfr:"\u{1d528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c",kopf:"\u{1d55c}",kscr:"\u{1d4c0}",lAtail:"\u291b",lBarr:"\u290e",lEg:"\u2a8b",lesseqqgtr:"\u2a8b",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lambda:"\u03bb",langd:"\u2991",lap:"\u2a85",lessapprox:"\u2a85",laquo:"\xab",larrbfs:"\u291f",larrfs:"\u291d",larrlp:"\u21ab",looparrowleft:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",leftarrowtail:"\u21a2",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lcy:"\u043b",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21c7",llarr:"\u21c7",leftthreetimes:"\u22cb",lthree:"\u22cb",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessdot:"\u22d6",ltdot:"\u22d6",lfisht:"\u297c",lfr:"\u{1d529}",lgE:"\u2a91",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lneq:"\u2a87",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",longmapsto:"\u27fc",xmap:"\u27fc",looparrowright:"\u21ac",rarrlp:"\u21ac",lopar:"\u2985",lopf:"\u{1d55d}",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",loz:"\u25ca",lozenge:"\u25ca",lpar:"(",lparlt:"\u2993",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\u{1d4c1}",lsime:"\u2a8d",lsimg:"\u2a8f",lsquor:"\u201a",sbquo:"\u201a",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltri:"\u25c3",triangleleft:"\u25c3",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",mDDot:"\u223a",macr:"\xaf",strns:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",mfr:"\u{1d52a}",mho:"\u2127",micro:"\xb5",midcir:"\u2af0",minus:"\u2212",minusdu:"\u2a2a",mlcp:"\u2adb",models:"\u22a7",mopf:"\u{1d55e}",mscr:"\u{1d4c2}",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nLeftarrow:"\u21cd",nlArr:"\u21cd",nLeftrightarrow:"\u21ce",nhArr:"\u21ce",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nRightarrow:"\u21cf",nrArr:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",nacute:"\u0144",nang:"\u2220\u20d2",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",natur:"\u266e",natural:"\u266e",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",neArr:"\u21d7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1d52b}",nharr:"\u21ae",nleftrightarrow:"\u21ae",nhpar:"\u2af2",nis:"\u22fc",nisd:"\u22fa",njcy:"\u045a",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219a",nleftarrow:"\u219a",nldr:"\u2025",nopf:"\u{1d55f}",not:"\xac",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinvb:"\u22f7",notinvc:"\u22f6",notnivb:"\u22fe",notnivc:"\u22fd",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",nrarr:"\u219b",nrightarrow:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nscr:"\u{1d4c3}",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsubseteqq:"\u2ac5\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupseteqq:"\u2ac6\u0338",ntilde:"\xf1",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22ad",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwnear:"\u2927",oacute:"\xf3",ocirc:"\xf4",ocy:"\u043e",odblac:"\u0151",odiv:"\u2a38",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ofr:"\u{1d52c}",ogon:"\u02db",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",olcir:"\u29be",olcross:"\u29bb",olt:"\u29c0",omacr:"\u014d",omega:"\u03c9",omicron:"\u03bf",omid:"\u29b6",oopf:"\u{1d560}",opar:"\u29b7",operp:"\u29b9",or:"\u2228",vee:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oslash:"\xf8",osol:"\u2298",otilde:"\xf5",otimesas:"\u2a36",ouml:"\xf6",ovbar:"\u233d",para:"\xb6",parsim:"\u2af3",parsl:"\u2afd",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1d52d}",phi:"\u03c6",phiv:"\u03d5",straightphi:"\u03d5",varphi:"\u03d5",phone:"\u260e",pi:"\u03c0",piv:"\u03d6",varpi:"\u03d6",planckh:"\u210e",plus:"+",plusacir:"\u2a23",pluscir:"\u2a22",plusdu:"\u2a25",pluse:"\u2a72",plussim:"\u2a26",plustwo:"\u2a27",pointint:"\u2a15",popf:"\u{1d561}",pound:"\xa3",prE:"\u2ab3",prap:"\u2ab7",precapprox:"\u2ab7",precnapprox:"\u2ab9",prnap:"\u2ab9",precneqq:"\u2ab5",prnE:"\u2ab5",precnsim:"\u22e8",prnsim:"\u22e8",prime:"\u2032",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prurel:"\u22b0",pscr:"\u{1d4c5}",psi:"\u03c8",puncsp:"\u2008",qfr:"\u{1d52e}",qopf:"\u{1d562}",qprime:"\u2057",qscr:"\u{1d4c6}",quatint:"\u2a16",quest:"?",rAtail:"\u291c",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",raemptyv:"\u29b3",rangd:"\u2992",range:"\u29a5",raquo:"\xbb",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",rightarrowtail:"\u21a3",rarrw:"\u219d",rightsquigarrow:"\u219d",ratail:"\u291a",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21b3",rect:"\u25ad",rfisht:"\u297d",rfr:"\u{1d52f}",rharul:"\u296c",rho:"\u03c1",rhov:"\u03f1",varrho:"\u03f1",rightrightarrows:"\u21c9",rrarr:"\u21c9",rightthreetimes:"\u22cc",rthree:"\u22cc",ring:"\u02da",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",ropar:"\u2986",ropf:"\u{1d563}",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rsaquo:"\u203a",rscr:"\u{1d4c7}",rtimes:"\u22ca",rtri:"\u25b9",triangleright:"\u25b9",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",scE:"\u2ab4",scap:"\u2ab8",succapprox:"\u2ab8",scaron:"\u0161",scedil:"\u015f",scirc:"\u015d",scnE:"\u2ab6",succneqq:"\u2ab6",scnap:"\u2aba",succnapprox:"\u2aba",scnsim:"\u22e9",succnsim:"\u22e9",scpolint:"\u2a13",scy:"\u0441",sdot:"\u22c5",sdote:"\u2a66",seArr:"\u21d8",sect:"\xa7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1d530}",sharp:"\u266f",shchcy:"\u0449",shcy:"\u0448",shy:"\xad",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",varsigma:"\u03c2",simdot:"\u2a6a",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",smashp:"\u2a33",smeparsl:"\u29e4",smile:"\u2323",ssmile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\u{1d564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\ufe00",sqcups:"\u2294\ufe00",sscr:"\u{1d4c8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2ac5",subseteqq:"\u2ac5",subdot:"\u2abd",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subsetneqq:"\u2acb",subne:"\u228a",subsetneq:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"\u2ac6",supseteqq:"\u2ac6",supdot:"\u2abe",supdsub:"\u2ad8",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supsetneqq:"\u2acc",supne:"\u228b",supsetneq:"\u228b",supplus:"\u2ac0",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swnwar:"\u292a",szlig:"\xdf",target:"\u2316",tau:"\u03c4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1d531}",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",vartheta:"\u03d1",thorn:"\xfe",times:"\xd7",timesbar:"\u2a31",timesd:"\u2a30",topbot:"\u2336",topcir:"\u2af1",topf:"\u{1d565}",topfork:"\u2ada",tprime:"\u2034",triangle:"\u25b5",utri:"\u25b5",triangleq:"\u225c",trie:"\u225c",tridot:"\u25ec",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\u{1d4c9}",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",uHar:"\u2963",uacute:"\xfa",ubrcy:"\u045e",ubreve:"\u016d",ucirc:"\xfb",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297e",ufr:"\u{1d532}",ugrave:"\xf9",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",uogon:"\u0173",uopf:"\u{1d566}",upsi:"\u03c5",upsilon:"\u03c5",upuparrows:"\u21c8",uuarr:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",uscr:"\u{1d4ca}",utdot:"\u22f0",utilde:"\u0169",uuml:"\xfc",uwangle:"\u29a7",vBar:"\u2ae8",vBarv:"\u2ae9",vangrt:"\u299c",varsubsetneq:"\u228a\ufe00",vsubne:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",vsubnE:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",vsupne:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vsupnE:"\u2acc\ufe00",vcy:"\u0432",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",vfr:"\u{1d533}",vopf:"\u{1d567}",vscr:"\u{1d4cb}",vzigzag:"\u299a",wcirc:"\u0175",wedbar:"\u2a5f",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1d534}",wopf:"\u{1d568}",wscr:"\u{1d4cc}",xfr:"\u{1d535}",xi:"\u03be",xnis:"\u22fb",xopf:"\u{1d569}",xscr:"\u{1d4cd}",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",yen:"\xa5",yfr:"\u{1d536}",yicy:"\u0457",yopf:"\u{1d56a}",yscr:"\u{1d4ce}",yucy:"\u044e",yuml:"\xff",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeta:"\u03b6",zfr:"\u{1d537}",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\u{1d56b}",zscr:"\u{1d4cf}",zwj:"\u200d",zwnj:"\u200c"},Xh="\ue500";gS.ngsp=Xh;class _S extends yt{constructor(r,a,u){super(u,r),this.tokenType=a}}class gy{constructor(r,a,u){this.tokens=r,this.errors=a,this.nonNormalizedIcuExpressions=u}}const hx=/\r\n?/g;function Tm(l){return`Unexpected character "${l===Ys?"EOF":String.fromCharCode(l)}"`}function vS(l){return`Unknown entity "${l}" - use the "&#;" or "&#x;" syntax`}var Im;!function(l){l.HEX="hexadecimal",l.DEC="decimal"}(Im||(Im={}));class ec{constructor(r){this.error=r}}class px{constructor(r,a,u){this._getTagDefinition=a,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=u.tokenizeExpansionForms||!1,this._interpolationConfig=u.interpolationConfig||Br,this._leadingTriviaCodePoints=u.leadingTriviaChars&&u.leadingTriviaChars.map(f=>f.codePointAt(0)||0);const p=u.range||{endPos:r.content.length,startPos:0,startLine:0,startCol:0};this._cursor=u.escapedString?new gd(r,p):new vy(r,p),this._preserveLineEndings=u.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=u.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=u.tokenizeBlocks??!0,this._tokenizeLet=u.tokenizeLet??!0;try{this._cursor.init()}catch(f){this.handleError(f)}}_processCarriageReturns(r){return this._preserveLineEndings?r:r.replace(hx,"\n")}tokenize(){for(;this._cursor.peek()!==Ys;){const r=this._cursor.clone();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(_)?this._consumeCdata(r):this._attemptCharCode(45)?this._consumeComment(r):this._consumeDocType(r):this._attemptCharCode(47)?this._consumeTagClose(r):this._consumeTagOpen(r):this._tokenizeLet&&64===this._cursor.peek()&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(r):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(r):!this._tokenizeBlocks||this._inInterpolation||this._isInExpansionCase()||this._isInExpansionForm()||!this._attemptCharCode(so)?this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart()):this._consumeBlockEnd(r)}catch(a){this.handleError(a)}}this._beginToken(33),this._endToken([])}_getBlockName(){let r=!1;const a=this._cursor.clone();return this._attemptCharCodeUntilFn(u=>xn(u)?!r:!function Zh(l){return Kl(l)||ta(l)||l===V}(u)||(r=!0,!1)),this._cursor.getChars(a).trim()}_consumeBlockStart(r){this._beginToken(24,r);const a=this._endToken([this._getBlockName()]);if(40===this._cursor.peek()){if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(ur),!this._attemptCharCode(41))return void(a.type=28);this._attemptCharCodeUntilFn(ur)}this._attemptCharCode(xa)?(this._beginToken(25),this._endToken([])):a.type=28}_consumeBlockEnd(r){this._beginToken(26,r),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(_x);41!==this._cursor.peek()&&this._cursor.peek()!==Ys;){this._beginToken(27);const r=this._cursor.clone();let a=null,u=0;for(;59!==this._cursor.peek()&&this._cursor.peek()!==Ys||null!==a;){const p=this._cursor.peek();if(92===p)this._cursor.advance();else if(p===a)a=null;else if(null===a&&ka(p))a=p;else if(40===p&&null===a)u++;else if(41===p&&null===a){if(0===u)break;u>0&&u--}this._cursor.advance()}this._endToken([this._cursor.getChars(r)]),this._attemptCharCodeUntilFn(_x)}}_consumeLetDeclaration(r){if(this._beginToken(29,r),!xn(this._cursor.peek())){return void(this._endToken([this._cursor.getChars(r)]).type=32)}this._attemptCharCodeUntilFn(ur);const a=this._endToken([this._getLetDeclarationName()]);this._attemptCharCodeUntilFn(ur),this._attemptCharCode(61)?(this._attemptCharCodeUntilFn(p=>ur(p)&&!Iw(p)),this._consumeLetDeclarationValue(),59===this._cursor.peek()?(this._beginToken(31),this._endToken([]),this._cursor.advance()):(a.type=32,a.sourceSpan=this._cursor.getSpan(r))):a.type=32}_getLetDeclarationName(){const r=this._cursor.clone();let a=!1;return this._attemptCharCodeUntilFn(u=>!(Kl(u)||u===no||u===V||a&&ta(u))||(a=!0,!1)),this._cursor.getChars(r).trim()}_consumeLetDeclarationValue(){const r=this._cursor.clone();for(this._beginToken(30,r);this._cursor.peek()!==Ys;){const a=this._cursor.peek();if(59===a)break;ka(a)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(u=>92===u?(this._cursor.advance(),!1):u===a)),this._cursor.advance()}this._endToken([this._cursor.getChars(r)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(function gx(l){return l!==so}(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===so){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(r,a=this._cursor.clone()){this._currentTokenStart=a,this._currentTokenType=r}_endToken(r,a){if(null===this._currentTokenStart)throw new _S("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(a));if(null===this._currentTokenType)throw new _S("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));const u={type:this._currentTokenType,parts:r,sourceSpan:(a??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(u),this._currentTokenStart=null,this._currentTokenType=null,u}_createError(r,a){this._isInExpansionForm()&&(r+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const u=new _S(r,this._currentTokenType,a);return this._currentTokenStart=null,this._currentTokenType=null,new ec(u)}handleError(r){if(r instanceof Am&&(r=this._createError(r.msg,this._cursor.getSpan(r.cursor))),!(r instanceof ec))throw r;this.errors.push(r.error)}_attemptCharCode(r){return this._cursor.peek()===r&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(r){return!!function _y(l,r){return yy(l)===yy(r)}(this._cursor.peek(),r)&&(this._cursor.advance(),!0)}_requireCharCode(r){const a=this._cursor.clone();if(!this._attemptCharCode(r))throw this._createError(Tm(this._cursor.peek()),this._cursor.getSpan(a))}_attemptStr(r){const a=r.length;if(this._cursor.charsLeft()this._attemptStr("--\x3e")),this._beginToken(11),this._requireStr("--\x3e"),this._endToken([])}_consumeCdata(r){this._beginToken(12,r),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(r){this._beginToken(18,r);const a=this._cursor.clone();this._attemptUntilChar(62);const u=this._cursor.getChars(a);this._cursor.advance(),this._endToken([u])}_consumePrefixAndName(){const r=this._cursor.clone();let u,a="";for(;58!==this._cursor.peek()&&!fx(this._cursor.peek());)this._cursor.advance();58===this._cursor.peek()?(a=this._cursor.getChars(r),this._cursor.advance(),u=this._cursor.clone()):u=r,this._requireCharCodeUntilFn(wS,""===a?0:1);return[a,this._cursor.getChars(u)]}_consumeTagOpen(r){let a,u,p;try{if(!Kl(this._cursor.peek()))throw this._createError(Tm(this._cursor.peek()),this._cursor.getSpan(r));for(p=this._consumeTagOpenStart(r),u=p.parts[0],a=p.parts[1],this._attemptCharCodeUntilFn(ur);47!==this._cursor.peek()&&62!==this._cursor.peek()&&60!==this._cursor.peek()&&this._cursor.peek()!==Ys;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(ur),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(ur),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(ur);this._consumeTagOpenEnd()}catch(y){if(y instanceof ec)return void(p?p.type=4:(this._beginToken(5,r),this._endToken(["<"])));throw y}const f=this._getTagDefinition(a).getContentType(u);f===Ns.RAW_TEXT?this._consumeRawTextWithTagClose(u,a,!1):f===Ns.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(u,a,!0)}_consumeRawTextWithTagClose(r,a,u){this._consumeRawText(u,()=>!!(this._attemptCharCode(60)&&this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(ur),this._attemptStrCaseInsensitive(a)))&&(this._attemptCharCodeUntilFn(ur),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(p=>62===p,3),this._cursor.advance(),this._endToken([r,a])}_consumeTagOpenStart(r){this._beginToken(0,r);const a=this._consumePrefixAndName();return this._endToken(a)}_consumeAttributeName(){const r=this._cursor.peek();if(39===r||34===r)throw this._createError(Tm(r),this._cursor.getSpan());this._beginToken(14);const a=this._consumePrefixAndName();this._endToken(a)}_consumeAttributeValue(){if(39===this._cursor.peek()||34===this._cursor.peek()){const r=this._cursor.peek();this._consumeQuote(r);const a=()=>this._cursor.peek()===r;this._consumeWithInterpolation(16,17,a,a),this._consumeQuote(r)}else{const r=()=>wS(this._cursor.peek());this._consumeWithInterpolation(16,17,r,r)}}_consumeQuote(r){this._beginToken(15),this._requireCharCode(r),this._endToken([String.fromCodePoint(r)])}_consumeTagOpenEnd(){const r=this._attemptCharCode(47)?2:1;this._beginToken(r),this._requireCharCode(62),this._endToken([])}_consumeTagClose(r){this._beginToken(3,r),this._attemptCharCodeUntilFn(ur);const a=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ur),this._requireCharCode(62),this._endToken(a)}_consumeExpansionFormStart(){this._beginToken(19),this._requireCharCode(xa),this._endToken([]),this._expansionCaseStack.push(19),this._beginToken(7);const r=this._readUntil(44),a=this._processCarriageReturns(r);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([a]);else{const p=this._endToken([r]);a!==r&&this.nonNormalizedIcuExpressions.push(p)}this._requireCharCode(44),this._attemptCharCodeUntilFn(ur),this._beginToken(7);const u=this._readUntil(44);this._endToken([u]),this._requireCharCode(44),this._attemptCharCodeUntilFn(ur)}_consumeExpansionCaseStart(){this._beginToken(20);const r=this._readUntil(xa).trim();this._endToken([r]),this._attemptCharCodeUntilFn(ur),this._beginToken(21),this._requireCharCode(xa),this._endToken([]),this._attemptCharCodeUntilFn(ur),this._expansionCaseStack.push(21)}_consumeExpansionCaseEnd(){this._beginToken(22),this._requireCharCode(so),this._endToken([]),this._attemptCharCodeUntilFn(ur),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(23),this._requireCharCode(so),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(r,a,u,p){this._beginToken(r);const f=[];for(;!u();){const y=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(f.join(""))],y),f.length=0,this._consumeInterpolation(a,y,p),this._beginToken(r)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(f.join(""))]),f.length=0,this._consumeEntity(r),this._beginToken(r)):f.push(this._readChar())}this._inInterpolation=!1,this._endToken([this._processCarriageReturns(f.join(""))])}_consumeInterpolation(r,a,u){const p=[];this._beginToken(r,a),p.push(this._interpolationConfig.start);const f=this._cursor.clone();let y=null,D=!1;for(;this._cursor.peek()!==Ys&&(null===u||!u());){const L=this._cursor.clone();if(this._isTagStart())return this._cursor=L,p.push(this._getProcessedChars(f,L)),void this._endToken(p);if(null===y){if(this._attemptStr(this._interpolationConfig.end))return p.push(this._getProcessedChars(f,L)),p.push(this._interpolationConfig.end),void this._endToken(p);this._attemptStr("//")&&(D=!0)}const R=this._cursor.peek();this._cursor.advance(),92===R?this._cursor.advance():R===y?y=null:!D&&null===y&&ka(R)&&(y=R)}p.push(this._getProcessedChars(f,this._cursor)),this._endToken(p)}_getProcessedChars(r,a){return this._processCarriageReturns(a.getChars(r))}_isTextEnd(){return!(!(this._isTagStart()||this._cursor.peek()===Ys||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===so&&this._isInExpansionCase()))&&(!this._tokenizeBlocks||this._inInterpolation||this._isInExpansion()||64!==this._cursor.peek()&&this._cursor.peek()!==so))}_isTagStart(){if(60===this._cursor.peek()){const r=this._cursor.clone();r.advance();const a=r.peek();if(ee<=a&&a<=om||Gu<=a&&a<=Dn||47===a||33===a)return!0}return!1}_readUntil(r){const a=this._cursor.clone();return this._attemptUntilChar(r),this._cursor.getChars(a)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&21===this._expansionCaseStack[this._expansionCaseStack.length-1]}_isInExpansionForm(){return this._expansionCaseStack.length>0&&19===this._expansionCaseStack[this._expansionCaseStack.length-1]}isExpansionFormStart(){if(this._cursor.peek()!==xa)return!1;if(this._interpolationConfig){const r=this._cursor.clone(),a=this._attemptStr(this._interpolationConfig.start);return this._cursor=r,!a}return!0}}function ur(l){return!xn(l)||l===Ys}function wS(l){return xn(l)||62===l||60===l||47===l||39===l||34===l||61===l||l===Ys}function fx(l){return(lxw)}function mx(l){return 59===l||l===Ys||!function Ui(l){return l>=ee&&l<=cn||l>=Gu&&l<=Ku||ta(l)}(l)}function SS(l){return 59===l||l===Ys||!Kl(l)}function yy(l){return l>=ee&&l<=om?l-ee+Gu:l}function _x(l){return 59!==l&&ur(l)}class vy{constructor(r,a){if(r instanceof vy){this.file=r.file,this.input=r.input,this.end=r.end;const u=r.state;this.state={peek:u.peek,offset:u.offset,line:u.line,column:u.column}}else{if(!a)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=r,this.input=r.content,this.end=a.endPos,this.state={peek:-1,offset:a.startPos,line:a.startLine,column:a.startCol}}}clone(){return new vy(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(r){return this.state.offset-r.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(r,a){let u=r=r||this;if(a)for(;this.diff(r)>0&&-1!==a.indexOf(r.peek());)u===r&&(r=r.clone()),r.advance();const p=this.locationFromCursor(r),f=this.locationFromCursor(this),y=u!==r?this.locationFromCursor(u):p;return new qt(p,f,y)}getChars(r){return this.input.substring(r.state.offset,this.state.offset)}charAt(r){return this.input.charCodeAt(r)}advanceState(r){if(r.offset>=this.end)throw this.state=r,new Am('Unexpected character "EOF"',this);const a=this.charAt(r.offset);10===a?(r.line++,r.column=0):Iw(a)||r.column++,r.offset++,this.updatePeek(r)}updatePeek(r){r.peek=r.offset>=this.end?Ys:this.charAt(r.offset)}locationFromCursor(r){return new Vr(r.file,r.state.offset,r.state.line,r.state.column)}}class gd extends vy{constructor(r,a){r instanceof gd?(super(r),this.internalState={...r.internalState}):(super(r,a),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new gd(this)}getChars(r){const a=r.clone();let u="";for(;a.internalState.offsetthis.internalState.peek;if(92===r())if(this.internalState={...this.state},this.advanceState(this.internalState),110===r())this.state.peek=10;else if(114===r())this.state.peek=13;else if(118===r())this.state.peek=11;else if(116===r())this.state.peek=Fi;else if(98===r())this.state.peek=8;else if(r()===cn)this.state.peek=12;else if(117===r())if(this.advanceState(this.internalState),r()===xa){this.advanceState(this.internalState);const a=this.clone();let u=0;for(;r()!==so;)this.advanceState(this.internalState),u++;this.state.peek=this.decodeHexDigits(a,u)}else{const a=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(a,4)}else if(120===r()){this.advanceState(this.internalState);const a=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(a,2)}else if(Ph(r())){let a="",u=0,p=this.clone();for(;Ph(r())&&u<3;)p=this.clone(),a+=String.fromCodePoint(r()),this.advanceState(this.internalState),u++;this.state.peek=parseInt(a,8),this.internalState=p.internalState}else Iw(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(r,a){const u=this.input.slice(r.internalState.offset,r.internalState.offset+a),p=parseInt(u,16);if(isNaN(p))throw r.state=r.internalState,new Am("Invalid hexadecimal escape sequence",r);return p}}class Am{constructor(r,a){this.msg=r,this.cursor=a}}class Jr extends yt{static create(r,a,u){return new Jr(r,a,u)}constructor(r,a,u){super(a,u),this.elementName=r}}class Jh{constructor(r,a){this.rootNodes=r,this.errors=a}}class DS{constructor(r){this.getTagDefinition=r}parse(r,a,u){const p=function yS(l,r,a,u={}){const p=new px(new Aw(l,r),a,u);return p.tokenize(),new gy(function p2(l){const r=[];let a;for(let u=0;u0)return this.errors=this.errors.concat(f.errors),null;const y=new qt(r.sourceSpan.start,p.sourceSpan.end,r.sourceSpan.fullStart),D=new qt(a.sourceSpan.start,p.sourceSpan.end,a.sourceSpan.fullStart);return new xm(r.parts[0],f.rootNodes,y,r.sourceSpan,D)}_collectExpansionExpTokens(r){const a=[],u=[21];for(;;){if((19===this._peek.type||21===this._peek.type)&&u.push(this._peek.type),22===this._peek.type){if(!yx(u,21))return this.errors.push(Jr.create(null,r.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(u.pop(),0===u.length)return a}if(23===this._peek.type){if(!yx(u,19))return this.errors.push(Jr.create(null,r.sourceSpan,"Invalid ICU message. Missing '}'.")),null;u.pop()}if(33===this._peek.type)return this.errors.push(Jr.create(null,r.sourceSpan,"Invalid ICU message. Missing '}'.")),null;a.push(this._advance())}}_consumeText(r){const a=[r],u=r.sourceSpan;let p=r.parts[0];if(p.length>0&&"\n"===p[0]){const f=this._getContainer();null!=f&&0===f.children.length&&this.getTagDefinition(f.name).ignoreFirstLf&&(p=p.substring(1),a[0]={type:r.type,sourceSpan:r.sourceSpan,parts:[p]})}for(;8===this._peek.type||5===this._peek.type||9===this._peek.type;)r=this._advance(),a.push(r),8===r.type?p+=r.parts.join("").replace(/&([^;]+);/g,vx):9===r.type?p+=r.parts[0]:p+=r.parts.join("");if(p.length>0){const f=r.sourceSpan;this._addToParent(new Gh(p,new qt(u.start,f.end,u.fullStart,u.details),a))}}_closeVoidElement(){const r=this._getContainer();r instanceof oa&&this.getTagDefinition(r.name).isVoid&&this._containerStack.pop()}_consumeStartTag(r){const[a,u]=r.parts,p=[];for(;14===this._peek.type;)p.push(this._consumeAttr(this._advance()));const f=this._getElementFullName(a,u,this._getClosestParentElement());let y=!1;if(2===this._peek.type){this._advance(),y=!0;const le=this.getTagDefinition(f);le.canSelfClose||null!==Mh(f)||le.isVoid||this.errors.push(Jr.create(f,r.sourceSpan,`Only void, custom and foreign elements can be self closed "${r.parts[1]}"`))}else 1===this._peek.type&&(this._advance(),y=!1);const D=this._peek.sourceSpan.fullStart,L=new qt(r.sourceSpan.start,D,r.sourceSpan.fullStart),R=new qt(r.sourceSpan.start,D,r.sourceSpan.fullStart),j=new oa(f,p,[],L,R,void 0),q=this._getContainer();this._pushContainer(j,q instanceof oa&&this.getTagDefinition(q.name).isClosedByChild(j.name)),y?this._popContainer(f,oa,L):4===r.type&&(this._popContainer(f,oa,null),this.errors.push(Jr.create(f,L,`Opening tag "${f}" not terminated.`)))}_pushContainer(r,a){a&&this._containerStack.pop(),this._addToParent(r),this._containerStack.push(r)}_consumeEndTag(r){const a=this._getElementFullName(r.parts[0],r.parts[1],this._getClosestParentElement());if(this.getTagDefinition(a).isVoid)this.errors.push(Jr.create(a,r.sourceSpan,`Void elements do not have end tags "${r.parts[1]}"`));else if(!this._popContainer(a,oa,r.sourceSpan)){const u=`Unexpected closing tag "${a}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Jr.create(a,r.sourceSpan,u))}}_popContainer(r,a,u){let p=!1;for(let f=this._containerStack.length-1;f>=0;f--){const y=this._containerStack[f];if((y.name===r||null===r)&&y instanceof a)return y.endSourceSpan=u,y.sourceSpan.end=null!==u?u.end:y.sourceSpan.end,this._containerStack.splice(f,this._containerStack.length-f),!p;(y instanceof $i||y instanceof oa&&!this.getTagDefinition(y.name).closedByParent)&&(p=!0)}return!1}_consumeAttr(r){const a=Bu(r.parts[0],r.parts[1]);let u=r.sourceSpan.end;15===this._peek.type&&this._advance();let p="";const f=[];let y,D;if(16===this._peek.type)for(y=this._peek.sourceSpan,D=this._peek.sourceSpan.end;16===this._peek.type||17===this._peek.type||9===this._peek.type;){const j=this._advance();f.push(j),17===j.type?p+=j.parts.join("").replace(/&([^;]+);/g,vx):9===j.type?p+=j.parts[0]:p+=j.parts.join(""),D=u=j.sourceSpan.end}15===this._peek.type&&(u=this._advance().sourceSpan.end);const R=y&&D&&new qt(y.start,D,y.fullStart);return new km(a,p,new qt(r.sourceSpan.start,u,r.sourceSpan.fullStart),r.sourceSpan,R,f.length>0?f:void 0,void 0)}_consumeBlockOpen(r){const a=[];for(;27===this._peek.type;){const D=this._advance();a.push(new mS(D.parts[0],D.sourceSpan))}25===this._peek.type&&this._advance();const u=this._peek.sourceSpan.fullStart,p=new qt(r.sourceSpan.start,u,r.sourceSpan.fullStart),f=new qt(r.sourceSpan.start,u,r.sourceSpan.fullStart),y=new $i(r.parts[0],a,[],p,r.sourceSpan,f);this._pushContainer(y,!1)}_consumeBlockClose(r){this._popContainer(null,$i,r.sourceSpan)||this.errors.push(Jr.create(null,r.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(r){const a=[];for(;27===this._peek.type;){const D=this._advance();a.push(new mS(D.parts[0],D.sourceSpan))}const u=this._peek.sourceSpan.fullStart,p=new qt(r.sourceSpan.start,u,r.sourceSpan.fullStart),f=new qt(r.sourceSpan.start,u,r.sourceSpan.fullStart),y=new $i(r.parts[0],a,[],p,r.sourceSpan,f);this._pushContainer(y,!1),this._popContainer(null,$i,null),this.errors.push(Jr.create(r.parts[0],p,`Incomplete block "${r.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(r){const a=r.parts[0];let u,p;if(30!==this._peek.type)return void this.errors.push(Jr.create(r.parts[0],r.sourceSpan,`Invalid @let declaration "${a}". Declaration must have a value.`));if(u=this._advance(),31!==this._peek.type)return void this.errors.push(Jr.create(r.parts[0],r.sourceSpan,`Unterminated @let declaration "${a}". Declaration must be terminated with a semicolon.`));p=this._advance();const f=p.sourceSpan.fullStart,y=new qt(r.sourceSpan.start,f,r.sourceSpan.fullStart),D=r.sourceSpan.toString().lastIndexOf(a),L=r.sourceSpan.start.moveBy(D),R=new qt(L,r.sourceSpan.end),j=new my(a,u.parts[0],y,R,u.sourceSpan);this._addToParent(j)}_consumeIncompleteLet(r){const a=r.parts[0]??"",u=a?` "${a}"`:"";if(a.length>0){const p=r.sourceSpan.toString().lastIndexOf(a),f=r.sourceSpan.start.moveBy(p),y=new qt(f,r.sourceSpan.end),D=new qt(r.sourceSpan.start,r.sourceSpan.start.moveBy(0)),L=new my(a,"",r.sourceSpan,y,D);this._addToParent(L)}this.errors.push(Jr.create(r.parts[0],r.sourceSpan,`Incomplete @let declaration${u}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let r=this._containerStack.length-1;r>-1;r--)if(this._containerStack[r]instanceof oa)return this._containerStack[r];return null}_addToParent(r){const a=this._getContainer();null===a?this.rootNodes.push(r):a.children.push(r)}_getElementFullName(r,a,u){if(""===r&&(""===(r=this.getTagDefinition(a).implicitNamespacePrefix||"")&&null!=u)){const p=ar(u.name)[1];this.getTagDefinition(p).preventNamespaceInheritance||(r=Mh(u.name))}return Bu(r,a)}}function yx(l,r){return l.length>0&&l[l.length-1]===r}function vx(l,r){return void 0!==gS[r]?gS[r]||l:/^#x[a-f0-9]+$/i.test(r)?String.fromCodePoint(parseInt(r.slice(2),16)):/^#\d+$/.test(r)?String.fromCodePoint(parseInt(r.slice(1),10)):l}const bx="ngPreserveWhitespaces",f2=new Set(["pre","template","textarea","script","style"]),wx=" \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff",co=new RegExp(`[^${wx}]`),ol=new RegExp(`[${wx}]{2,}`,"g");function Sx(l){return l.replace(new RegExp(Xh,"g")," ")}class by{constructor(r,a,u=!0){this.preserveSignificantWhitespace=r,this.originalNodeMap=a,this.requireContext=u,this.icuExpansionDepth=0}visitElement(r,a){if(f2.has(r.name)||function m2(l){return l.some(r=>r.name===bx)}(r.attrs)){const p=new oa(r.name,su(this,r.attrs),r.children,r.sourceSpan,r.startSourceSpan,r.endSourceSpan,r.i18n);return this.originalNodeMap?.set(p,r),p}const u=new oa(r.name,r.attrs,su(this,r.children),r.sourceSpan,r.startSourceSpan,r.endSourceSpan,r.i18n);return this.originalNodeMap?.set(u,r),u}visitAttribute(r,a){return r.name!==bx?r:null}visitText(r,a){const u=r.value.match(co),p=a&&(a.prev instanceof Kh||a.next instanceof Kh);if(this.icuExpansionDepth>0&&this.preserveSignificantWhitespace)return r;if(u||p){const y=r.tokens.map(j=>5===j.type?function Dx({type:l,parts:r,sourceSpan:a}){return{type:l,parts:[Cx(r[0])],sourceSpan:a}}(j):j);if(!this.preserveSignificantWhitespace&&y.length>0){const j=y[0];y.splice(0,1,function g2(l,r){return 5!==l.type||r?.prev?l:Mx(l,u=>u.trimStart())}(j,a));const q=y[y.length-1];y.splice(y.length-1,1,function _2(l,r){return 5!==l.type||r?.next?l:Mx(l,u=>u.trimEnd())}(q,a))}const D=Cx(r.value),L=this.preserveSignificantWhitespace?D:function y2(l,r){const a=!r?.prev,u=!r?.next,p=a?l.trimStart():l;return u?p.trimEnd():p}(D,a),R=new Gh(L,r.sourceSpan,y,r.i18n);return this.originalNodeMap?.set(R,r),R}return null}visitComment(r,a){return r}visitExpansion(r,a){let u;this.icuExpansionDepth++;try{u=new Kh(r.switchValue,r.type,su(this,r.cases),r.sourceSpan,r.switchValueSourceSpan,r.i18n)}finally{this.icuExpansionDepth--}return this.originalNodeMap?.set(u,r),u}visitExpansionCase(r,a){const u=new xm(r.value,su(this,r.expression),r.sourceSpan,r.valueSourceSpan,r.expSourceSpan);return this.originalNodeMap?.set(u,r),u}visitBlock(r,a){const u=new $i(r.name,r.parameters,su(this,r.children),r.sourceSpan,r.nameSpan,r.startSourceSpan,r.endSourceSpan);return this.originalNodeMap?.set(u,r),u}visitBlockParameter(r,a){return r}visitLetDeclaration(r,a){return r}visit(r,a){if(this.requireContext&&!a)throw new Error("WhitespaceVisitor requires context. Visit via `visitAllWithSiblings` to get this context.");return!1}}function Mx({type:l,parts:r,sourceSpan:a},u){return{type:l,parts:[u(r[0])],sourceSpan:a}}function Cx(l){return Sx(l).replace(ol," ")}function su(l,r){const a=[];return r.forEach((u,p)=>{const f={prev:r[p-1],next:r[p+1]},y=u.visit(l,f);y&&a.push(y)}),a}var nn;!function(l){l[l.Character=0]="Character",l[l.Identifier=1]="Identifier",l[l.PrivateIdentifier=2]="PrivateIdentifier",l[l.Keyword=3]="Keyword",l[l.String=4]="String",l[l.Operator=5]="Operator",l[l.Number=6]="Number",l[l.Error=7]="Error"}(nn||(nn={}));const nc=["var","let","as","null","undefined","true","false","if","else","this"];class _d{tokenize(r){const a=new TS(r),u=[];let p=a.scanToken();for(;null!=p;)u.push(p),p=a.scanToken();return u}}class al{constructor(r,a,u,p,f){this.index=r,this.end=a,this.type=u,this.numValue=p,this.strValue=f}isCharacter(r){return this.type==nn.Character&&this.numValue==r}isNumber(){return this.type==nn.Number}isString(){return this.type==nn.String}isOperator(r){return this.type==nn.Operator&&this.strValue==r}isIdentifier(){return this.type==nn.Identifier}isPrivateIdentifier(){return this.type==nn.PrivateIdentifier}isKeyword(){return this.type==nn.Keyword}isKeywordLet(){return this.type==nn.Keyword&&"let"==this.strValue}isKeywordAs(){return this.type==nn.Keyword&&"as"==this.strValue}isKeywordNull(){return this.type==nn.Keyword&&"null"==this.strValue}isKeywordUndefined(){return this.type==nn.Keyword&&"undefined"==this.strValue}isKeywordTrue(){return this.type==nn.Keyword&&"true"==this.strValue}isKeywordFalse(){return this.type==nn.Keyword&&"false"==this.strValue}isKeywordThis(){return this.type==nn.Keyword&&"this"==this.strValue}isError(){return this.type==nn.Error}toNumber(){return this.type==nn.Number?this.numValue:-1}toString(){switch(this.type){case nn.Character:case nn.Identifier:case nn.Keyword:case nn.Operator:case nn.PrivateIdentifier:case nn.String:case nn.Error:return this.strValue;case nn.Number:return this.numValue.toString();default:return null}}}function MS(l,r,a){return new al(l,r,nn.Character,a,String.fromCharCode(a))}function CS(l,r,a){return new al(l,r,nn.Operator,0,a)}const kS=new al(-1,-1,nn.Character,0,"");class TS{constructor(r){this.input=r,this.peek=0,this.index=-1,this.length=r.length,this.advance()}advance(){this.peek=++this.index>=this.length?Ys:this.input.charCodeAt(this.index)}scanToken(){const r=this.input,a=this.length;let u=this.peek,p=this.index;for(;u<=Yi;){if(++p>=a){u=Ys;break}u=r.charCodeAt(p)}if(this.peek=u,this.index=p,p>=a)return null;if(IS(u))return this.scanIdentifier();if(ta(u))return this.scanNumber(p);const f=p;switch(u){case 46:return this.advance(),ta(this.peek)?this.scanNumber(f):MS(f,this.index,46);case 40:case 41:case xa:case so:case _:case A:case 44:case 58:case 59:return this.scanCharacter(f,u);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case 47:case 37:case 94:return this.scanOperator(f,String.fromCharCode(u));case 63:return this.scanQuestion(f);case 60:case 62:return this.scanComplexOperator(f,String.fromCharCode(u),61,"=");case 33:case 61:return this.scanComplexOperator(f,String.fromCharCode(u),61,"=",61,"=");case 38:return this.scanComplexOperator(f,"&",38,"&");case 124:return this.scanComplexOperator(f,"|",124,"|");case W_:for(;xn(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(u)}]`,0)}scanCharacter(r,a){return this.advance(),MS(r,this.index,a)}scanOperator(r,a){return this.advance(),CS(r,this.index,a)}scanComplexOperator(r,a,u,p,f,y){this.advance();let D=a;return this.peek==u&&(this.advance(),D+=p),null!=f&&this.peek==f&&(this.advance(),D+=y),CS(r,this.index,D)}scanIdentifier(){const r=this.index;for(this.advance();AS(this.peek);)this.advance();const a=this.input.substring(r,this.index);return nc.indexOf(a)>-1?function b2(l,r,a){return new al(l,r,nn.Keyword,0,a)}(r,this.index,a):function Ex(l,r,a){return new al(l,r,nn.Identifier,0,a)}(r,this.index,a)}scanPrivateIdentifier(){const r=this.index;if(this.advance(),!IS(this.peek))return this.error("Invalid character [#]",-1);for(;AS(this.peek);)this.advance();const a=this.input.substring(r,this.index);return function v2(l,r,a){return new al(l,r,nn.PrivateIdentifier,0,a)}(r,this.index,a)}scanNumber(r){let a=this.index===r,u=!1;for(this.advance();;){if(!ta(this.peek))if(this.peek===V){if(!ta(this.input.charCodeAt(this.index-1))||!ta(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);u=!0}else if(46===this.peek)a=!1;else{if(!S2(this.peek))break;if(this.advance(),D2(this.peek)&&this.advance(),!ta(this.peek))return this.error("Invalid exponent",-1);a=!1}this.advance()}let p=this.input.substring(r,this.index);u&&(p=p.replace(/_/g,""));const f=a?function kx(l){const r=parseInt(l);if(isNaN(r))throw new Error("Invalid integer literal when parsing "+l);return r}(p):parseFloat(p);return function xS(l,r,a){return new al(l,r,nn.Number,a,"")}(r,this.index,f)}scanString(){const r=this.index,a=this.peek;this.advance();let u="",p=this.index;const f=this.input;for(;this.peek!=a;)if(92==this.peek){let D;if(u+=f.substring(p,this.index),this.advance(),117==this.peek){const L=f.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(L))return this.error(`Invalid unicode escape [\\u${L}]`,0);D=parseInt(L,16);for(let R=0;R<5;R++)this.advance()}else D=xx(this.peek),this.advance();u+=String.fromCharCode(D),p=this.index}else{if(this.peek==Ys)return this.error("Unterminated quote",0);this.advance()}const y=f.substring(p,this.index);return this.advance(),function ES(l,r,a){return new al(l,r,nn.String,0,a)}(r,this.index,u+y)}scanQuestion(r){this.advance();let a="?";return(63===this.peek||46===this.peek)&&(a+=46===this.peek?".":"?",this.advance()),CS(r,this.index,a)}error(r,a){const u=this.index+a;return function w2(l,r,a){return new al(l,r,nn.Error,0,a)}(u,this.index,`Lexer Error: ${r} at column ${u} in expression [${this.input}]`)}}function IS(l){return ee<=l&&l<=om||Gu<=l&&l<=Dn||l==V||l==no}function AS(l){return Kl(l)||ta(l)||l==V||l==no}function S2(l){return 101==l||69==l}function D2(l){return 45==l||43==l}function xx(l){switch(l){case 110:return 10;case cn:return 12;case 114:return 13;case 116:return Fi;case 118:return 11;default:return l}}class M2{constructor(r,a,u){this.strings=r,this.expressions=a,this.offsets=u}}class C2{constructor(r,a,u){this.templateBindings=r,this.warnings=a,this.errors=u}}class LS{constructor(r){this._lexer=r,this.errors=[]}parseAction(r,a,u,p=Br){this._checkNoInterpolation(r,a,p);const f=this._stripComments(r),y=this._lexer.tokenize(f),D=new ep(r,a,u,y,1,this.errors,0).parseChain();return new Xi(D,r,a,u,this.errors)}parseBinding(r,a,u,p=Br){const f=this._parseBindingAst(r,a,u,p);return new Xi(f,r,a,u,this.errors)}checkSimpleExpression(r){const a=new PS;return r.visit(a),a.errors}parseSimpleBinding(r,a,u,p=Br){const f=this._parseBindingAst(r,a,u,p),y=this.checkSimpleExpression(f);return y.length>0&&this._reportError(`Host binding expression cannot contain ${y.join(" ")}`,r,a),new Xi(f,r,a,u,this.errors)}_reportError(r,a,u,p){this.errors.push(new jf(r,a,u,p))}_parseBindingAst(r,a,u,p){this._checkNoInterpolation(r,a,p);const f=this._stripComments(r),y=this._lexer.tokenize(f);return new ep(r,a,u,y,0,this.errors,0).parseChain()}parseTemplateBindings(r,a,u,p,f){const y=this._lexer.tokenize(a);return new ep(a,u,f,y,0,this.errors,0).parseTemplateBindings({source:r,span:new zr(p,p+r.length)})}parseInterpolation(r,a,u,p,f=Br){const{strings:y,expressions:D,offsets:L}=this.splitInterpolation(r,a,p,f);if(0===D.length)return null;const R=[];for(let j=0;jj.text),R,r,a,u)}parseInterpolationExpression(r,a,u){const p=this._stripComments(r),f=this._lexer.tokenize(p),y=new ep(r,a,u,f,0,this.errors,0).parseChain();return this.createInterpolationAst(["",""],[y],r,a,u)}createInterpolationAst(r,a,u,p,f){const y=new Oc(0,u.length),D=new Wo(y,y.toAbsolute(f),r,a);return new Xi(D,u,p,f,this.errors)}splitInterpolation(r,a,u,p=Br){const f=[],y=[],D=[],L=u?function E2(l){let r=new Map,a=0,u=0,p=0;for(;pD+L.length,0);u+=y,a+=y}r.set(u,a),p++}return r}(u):null;let R=0,j=!1,q=!1,{start:le,end:Se}=p;for(;R-1)break;f>-1&&y>-1&&this._reportError(`Got interpolation (${u}${p}) where expression was expected`,r,`at column ${f} in`,a)}_getInterpolationEndIndex(r,a,u){for(const p of this._forEachUnquotedChar(r,u)){if(r.startsWith(a,p))return p;if(r.startsWith("//",p))return r.indexOf(a,p)}return-1}*_forEachUnquotedChar(r,a){let u=null,p=0;for(let f=a;f=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:0===this.tokens.length?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(r,a){let u=this.currentEndIndex;if(void 0!==a&&a>this.currentEndIndex&&(u=a),r>u){const p=u;u=r,r=p}return new Oc(r,u)}sourceSpan(r,a){const u=`${r}@${this.inputIndex}:${a}`;return this.sourceSpanCache.has(u)||this.sourceSpanCache.set(u,this.span(r,a).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(u)}advance(){this.index++}withContext(r,a){this.context|=r;const u=a();return this.context^=r,u}consumeOptionalCharacter(r){return!!this.next.isCharacter(r)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(r){this.consumeOptionalCharacter(r)||this.error(`Missing expected ${String.fromCharCode(r)}`)}consumeOptionalOperator(r){return!!this.next.isOperator(r)&&(this.advance(),!0)}expectOperator(r){this.consumeOptionalOperator(r)||this.error(`Missing expected operator ${r}`)}prettyPrintToken(r){return r===kS?"end of input":`token ${r}`}expectIdentifierOrKeyword(){const r=this.next;return r.isIdentifier()||r.isKeyword()?(this.advance(),r.toString()):(r.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(r,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(r)}, expected identifier or keyword`),null)}expectIdentifierOrKeywordOrString(){const r=this.next;return r.isIdentifier()||r.isKeyword()||r.isString()?(this.advance(),r.toString()):(r.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(r,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(r)}, expected identifier, keyword, or string`),"")}parseChain(){const r=[],a=this.inputIndex;for(;this.index":case"<=":case">=":this.advance();const p=this.parseAdditive();a=new or(this.span(r),this.sourceSpan(r),u,a,p);continue}break}return a}parseAdditive(){const r=this.inputIndex;let a=this.parseMultiplicative();for(;this.next.type==nn.Operator;){const u=this.next.strValue;switch(u){case"+":case"-":this.advance();let p=this.parseMultiplicative();a=new or(this.span(r),this.sourceSpan(r),u,a,p);continue}break}return a}parseMultiplicative(){const r=this.inputIndex;let a=this.parsePrefix();for(;this.next.type==nn.Operator;){const u=this.next.strValue;switch(u){case"*":case"%":case"/":this.advance();let p=this.parsePrefix();a=new or(this.span(r),this.sourceSpan(r),u,a,p);continue}break}return a}parsePrefix(){if(this.next.type==nn.Operator){const r=this.inputIndex;let u;switch(this.next.strValue){case"+":return this.advance(),u=this.parsePrefix(),qo.createPlus(this.span(r),this.sourceSpan(r),u);case"-":return this.advance(),u=this.parsePrefix(),qo.createMinus(this.span(r),this.sourceSpan(r),u);case"!":return this.advance(),u=this.parsePrefix(),new Sr(this.span(r),this.sourceSpan(r),u)}}return this.parseCallChain()}parseCallChain(){const r=this.inputIndex;let a=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))a=this.parseAccessMember(a,r,!1);else if(this.consumeOptionalOperator("?."))a=this.consumeOptionalCharacter(40)?this.parseCall(a,r,!0):this.consumeOptionalCharacter(_)?this.parseKeyedReadOrWrite(a,r,!0):this.parseAccessMember(a,r,!0);else if(this.consumeOptionalCharacter(_))a=this.parseKeyedReadOrWrite(a,r,!1);else if(this.consumeOptionalCharacter(40))a=this.parseCall(a,r,!1);else{if(!this.consumeOptionalOperator("!"))return a;a=new Go(this.span(r),this.sourceSpan(r),a)}}parsePrimary(){const r=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const a=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),a}if(this.next.isKeywordNull())return this.advance(),new wr(this.span(r),this.sourceSpan(r),null);if(this.next.isKeywordUndefined())return this.advance(),new wr(this.span(r),this.sourceSpan(r),void 0);if(this.next.isKeywordTrue())return this.advance(),new wr(this.span(r),this.sourceSpan(r),!0);if(this.next.isKeywordFalse())return this.advance(),new wr(this.span(r),this.sourceSpan(r),!1);if(this.next.isKeywordThis())return this.advance(),new be(this.span(r),this.sourceSpan(r));if(this.consumeOptionalCharacter(_)){this.rbracketsExpected++;const a=this.parseExpressionList(A);return this.rbracketsExpected--,this.expectCharacter(A),new Fl(this.span(r),this.sourceSpan(r),a)}if(this.next.isCharacter(xa))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new Ol(this.span(r),this.sourceSpan(r)),r,!1);if(this.next.isNumber()){const a=this.next.toNumber();return this.advance(),new wr(this.span(r),this.sourceSpan(r),a)}if(this.next.isString()){const a=this.next.toString();return this.advance(),new wr(this.span(r),this.sourceSpan(r),a)}return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new Xs(this.span(r),this.sourceSpan(r))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new Xs(this.span(r),this.sourceSpan(r))):(this.error(`Unexpected token ${this.next}`),new Xs(this.span(r),this.sourceSpan(r)))}parseExpressionList(r){const a=[];do{if(this.next.isCharacter(r))break;a.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return a}parseLiteralMap(){const r=[],a=[],u=this.inputIndex;if(this.expectCharacter(xa),!this.consumeOptionalCharacter(so)){this.rbracesExpected++;do{const p=this.inputIndex,f=this.next.isString(),y=this.expectIdentifierOrKeywordOrString(),D={key:y,quoted:f};if(r.push(D),f)this.expectCharacter(58),a.push(this.parsePipe());else if(this.consumeOptionalCharacter(58))a.push(this.parsePipe());else{D.isShorthandInitialized=!0;const L=this.span(p),R=this.sourceSpan(p);a.push(new $o(L,R,R,new Ol(L,R),y))}}while(this.consumeOptionalCharacter(44)&&!this.next.isCharacter(so));this.rbracesExpected--,this.expectCharacter(so)}return new zo(this.span(u),this.sourceSpan(u),r,a)}parseAccessMember(r,a,u){const p=this.inputIndex,f=this.withContext(sc.Writable,()=>{const L=this.expectIdentifierOrKeyword()??"";return 0===L.length&&this.error("Expected identifier for property access",r.span.end),L}),y=this.sourceSpan(p);let D;if(u)this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),D=new Xs(this.span(a),this.sourceSpan(a))):D=new $a(this.span(a),this.sourceSpan(a),y,r,f);else if(this.consumeOptionalOperator("=")){if(!(1&this.parseFlags))return this.error("Bindings cannot contain assignments"),new Xs(this.span(a),this.sourceSpan(a));const L=this.parseConditional();D=new Nl(this.span(a),this.sourceSpan(a),y,r,f,L)}else D=new $o(this.span(a),this.sourceSpan(a),y,r,f);return D}parseCall(r,a,u){const p=this.inputIndex;this.rparensExpected++;const f=this.parseCallArguments(),y=this.span(p,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;const D=this.span(a),L=this.sourceSpan(a);return u?new ba(D,L,r,f,y):new Yl(D,L,r,f,y)}parseCallArguments(){if(this.next.isCharacter(41))return[];const r=[];do{r.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return r}expectTemplateBindingKey(){let r="",a=!1;const u=this.currentAbsoluteOffset;do{r+=this.expectIdentifierOrKeywordOrString(),a=this.consumeOptionalOperator("-"),a&&(r+="-")}while(a);return{source:r,span:new zr(u,u+r.length)}}parseTemplateBindings(r){const a=[];for(a.push(...this.parseDirectiveKeywordBindings(r));this.index{this.rbracketsExpected++;const p=this.parsePipe();if(p instanceof Xs&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(A),!this.consumeOptionalOperator("="))return u?new Dh(this.span(a),this.sourceSpan(a),r,p):new Nc(this.span(a),this.sourceSpan(a),r,p);if(!u){const f=this.parseConditional();return new za(this.span(a),this.sourceSpan(a),r,p,f)}return this.error("The '?.' operator cannot be used in the assignment"),new Xs(this.span(a),this.sourceSpan(a))})}parseDirectiveKeywordBindings(r){const a=[];this.consumeOptionalCharacter(58);const u=this.getDirectiveBoundTarget();let p=this.currentAbsoluteOffset;const f=this.parseAsBinding(r);f||(this.consumeStatementTerminator(),p=this.currentAbsoluteOffset);const y=new zr(r.span.start,p);return a.push(new P_(y,r,u)),f&&a.push(f),a}getDirectiveBoundTarget(){if(this.next===kS||this.peekKeywordAs()||this.peekKeywordLet())return null;const r=this.parsePipe(),{start:a,end:u}=r.span,p=this.input.substring(a,u);return new Xi(r,p,this.location,this.absoluteOffset+a,this.errors)}parseAsBinding(r){if(!this.peekKeywordAs())return null;this.advance();const a=this.expectTemplateBindingKey();this.consumeStatementTerminator();const u=new zr(r.span.start,this.currentAbsoluteOffset);return new L_(u,a,r)}parseLetBinding(){if(!this.peekKeywordLet())return null;const r=this.currentAbsoluteOffset;this.advance();const a=this.expectTemplateBindingKey();let u=null;this.consumeOptionalOperator("=")&&(u=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const p=new zr(r,this.currentAbsoluteOffset);return new L_(p,a,u)}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(r,a=null){this.errors.push(new jf(r,this.input,this.locationText(a),this.location)),this.skip()}locationText(r=null){return null==r&&(r=this.index),r(l.set(r,a),l),new Map);class Sy extends x2{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,Zj.forEach(r=>{const a=new Map,u=new Set,[p,f]=r.split("|"),y=f.split(","),[D,L]=p.split("^");D.split(",").forEach(j=>{this._schema.set(j.toLowerCase(),a),this._eventSchema.set(j.toLowerCase(),u)});const R=L&&this._schema.get(L.toLowerCase());if(R){for(const[j,q]of R)a.set(j,q);for(const j of this._eventSchema.get(L.toLowerCase()))u.add(j)}y.forEach(j=>{if(j.length>0)switch(j[0]){case"*":u.add(j.substring(1));break;case"!":a.set(j.substring(1),"boolean");break;case"#":a.set(j.substring(1),"number");break;case"%":a.set(j.substring(1),"object");break;default:a.set(j,"string")}})})}hasProperty(r,a,u){if(u.some(f=>f.name===Z.name))return!0;if(r.indexOf("-")>-1){if(wa(r)||Wr(r))return!1;if(u.some(f=>f.name===$.name))return!0}return(this._schema.get(r.toLowerCase())||this._schema.get("unknown")).has(a)}hasElement(r,a){return!!(a.some(u=>u.name===Z.name)||r.indexOf("-")>-1&&(wa(r)||Wr(r)||a.some(u=>u.name===$.name)))||this._schema.has(r.toLowerCase())}securityContext(r,a,u){u&&(a=this.getMappedPropName(a)),r=r.toLowerCase(),a=a.toLowerCase();let p=Tx()[r+"|"+a];return p||(p=Tx()["*|"+a],p||se.NONE)}getMappedPropName(r){return A2.get(r)??r}getDefaultComponentElementName(){return"ng-component"}validateProperty(r){return r.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${r}' is disallowed for security reasons, please use (${r.slice(2)})=...\nIf '${r}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(r){return r.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${r}' is disallowed for security reasons, please use (${r.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(r){const a=this._schema.get(r.toLowerCase())||this._schema.get("unknown");return Array.from(a.keys()).map(u=>Lm.get(u)??u)}allKnownEventsOfElement(r){return Array.from(this._eventSchema.get(r.toLowerCase())??[])}normalizeAnimationStyleProperty(r){return function c0(l){return l.replace(l0,(...r)=>r[1].toUpperCase())}(r)}normalizeAnimationStyleValue(r,a,u){let p="";const f=u.toString().trim();let y=null;if(function L2(l){switch(l){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(r)&&0!==u&&"0"!==u)if("number"==typeof u)p="px";else{const D=u.match(/^[+-]?[\d\.]+([a-z]*)$/);D&&0==D[1].length&&(y=`Please provide a CSS unit value for ${a}:${u}`)}return{error:y,value:f+p}}}class mn{constructor({closedByChildren:r,implicitNamespacePrefix:a,contentType:u=Ns.PARSABLE_DATA,closedByParent:p=!1,isVoid:f=!1,ignoreFirstLf:y=!1,preventNamespaceInheritance:D=!1,canSelfClose:L=!1}={}){this.closedByChildren={},this.closedByParent=!1,r&&r.length>0&&r.forEach(R=>this.closedByChildren[R]=!0),this.isVoid=f,this.closedByParent=p||f,this.implicitNamespacePrefix=a||null,this.contentType=u,this.ignoreFirstLf=y,this.preventNamespaceInheritance=D,this.canSelfClose=L??f}isClosedByChild(r){return this.isVoid||r.toLowerCase()in this.closedByChildren}getContentType(r){return"object"==typeof this.contentType?(void 0===r?void 0:this.contentType[r])??this.contentType.default:this.contentType}}let RS,tp;function Px(l){return tp||(RS=new mn({canSelfClose:!0}),tp=Object.assign(Object.create(null),{base:new mn({isVoid:!0}),meta:new mn({isVoid:!0}),area:new mn({isVoid:!0}),embed:new mn({isVoid:!0}),link:new mn({isVoid:!0}),img:new mn({isVoid:!0}),input:new mn({isVoid:!0}),param:new mn({isVoid:!0}),hr:new mn({isVoid:!0}),br:new mn({isVoid:!0}),source:new mn({isVoid:!0}),track:new mn({isVoid:!0}),wbr:new mn({isVoid:!0}),p:new mn({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new mn({closedByChildren:["tbody","tfoot"]}),tbody:new mn({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new mn({closedByChildren:["tbody"],closedByParent:!0}),tr:new mn({closedByChildren:["tr"],closedByParent:!0}),td:new mn({closedByChildren:["td","th"],closedByParent:!0}),th:new mn({closedByChildren:["td","th"],closedByParent:!0}),col:new mn({isVoid:!0}),svg:new mn({implicitNamespacePrefix:"svg"}),foreignObject:new mn({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new mn({implicitNamespacePrefix:"math"}),li:new mn({closedByChildren:["li"],closedByParent:!0}),dt:new mn({closedByChildren:["dt","dd"]}),dd:new mn({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new mn({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new mn({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new mn({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new mn({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new mn({closedByChildren:["optgroup"],closedByParent:!0}),option:new mn({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new mn({ignoreFirstLf:!0}),listing:new mn({ignoreFirstLf:!0}),style:new mn({contentType:Ns.RAW_TEXT}),script:new mn({contentType:Ns.RAW_TEXT}),title:new mn({contentType:{default:Ns.ESCAPABLE_RAW_TEXT,svg:Ns.PARSABLE_DATA}}),textarea:new mn({contentType:Ns.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),(new Sy).allKnownElementNames().forEach(r=>{!tp[r]&&null===Mh(r)&&(tp[r]=new mn({canSelfClose:!1}))})),tp[l]??tp[l.toLowerCase()]??RS}const Rx={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"};class P2{constructor(){this._placeHolderNameCounts={},this._signatureToName={}}getStartTagPlaceholderName(r,a,u){const p=this._hashTag(r,a,u);if(this._signatureToName[p])return this._signatureToName[p];const f=r.toUpperCase(),y=Rx[f]||`TAG_${f}`,D=this._generateUniqueName(u?y:`START_${y}`);return this._signatureToName[p]=D,D}getCloseTagPlaceholderName(r){const a=this._hashClosingTag(r);if(this._signatureToName[a])return this._signatureToName[a];const u=r.toUpperCase(),p=Rx[u]||`TAG_${u}`,f=this._generateUniqueName(`CLOSE_${p}`);return this._signatureToName[a]=f,f}getPlaceholderName(r,a){const u=r.toUpperCase(),p=`PH: ${u}=${a}`;if(this._signatureToName[p])return this._signatureToName[p];const f=this._generateUniqueName(u);return this._signatureToName[p]=f,f}getUniquePlaceholder(r){return this._generateUniqueName(r.toUpperCase())}getStartBlockPlaceholderName(r,a){const u=this._hashBlock(r,a);if(this._signatureToName[u])return this._signatureToName[u];const p=this._generateUniqueName(`START_BLOCK_${this._toSnakeCase(r)}`);return this._signatureToName[u]=p,p}getCloseBlockPlaceholderName(r){const a=this._hashClosingBlock(r);if(this._signatureToName[a])return this._signatureToName[a];const u=this._generateUniqueName(`CLOSE_BLOCK_${this._toSnakeCase(r)}`);return this._signatureToName[a]=u,u}_hashTag(r,a,u){return`<${r}`+Object.keys(a).sort().map(D=>` ${D}=${a[D]}`).join("")+(u?"/>":`>`)}_hashClosingTag(r){return this._hashTag(`/${r}`,{},!1)}_hashBlock(r,a){return`@${r}${0===a.length?"":` (${a.sort().join("; ")})`} {}`}_hashClosingBlock(r){return this._hashBlock(`close_${r}`,[])}_toSnakeCase(r){return r.toUpperCase().replace(/[^A-Z0-9]/g,"_")}_generateUniqueName(r){if(!this._placeHolderNameCounts.hasOwnProperty(r))return this._placeHolderNameCounts[r]=1,r;const u=this._placeHolderNameCounts[r];return this._placeHolderNameCounts[r]=u+1,`${r}_${u}`}}const R2=new LS(new _d);function Ox(l,r,a){const u=new Jj(R2,l,r,a);return(p,f,y,D,L)=>u.toI18nMessage(p,f,y,D,L)}function OS(l,r){return r}class Jj{constructor(r,a,u,p){this._expressionParser=r,this._interpolationConfig=a,this._containerBlocks=u,this._retainEmptyTokens=p}toI18nMessage(r,a="",u="",p="",f){const y={isIcu:1==r.length&&r[0]instanceof Kh,icuDepth:0,placeholderRegistry:new P2,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:f||OS},D=Lt(this,r,y);return new bi(D,y.placeholderToContent,y.placeholderToMessage,a,u,p)}visitElement(r,a){const u=Lt(this,r.children,a),p={};r.attrs.forEach(R=>{p[R.name]=R.value});const f=Px(r.name).isVoid,y=a.placeholderRegistry.getStartTagPlaceholderName(r.name,p,f);a.placeholderToContent[y]={text:r.startSourceSpan.toString(),sourceSpan:r.startSourceSpan};let D="";f||(D=a.placeholderRegistry.getCloseTagPlaceholderName(r.name),a.placeholderToContent[D]={text:``,sourceSpan:r.endSourceSpan??r.sourceSpan});const L=new Zo(r.name,p,y,D,u,f,r.sourceSpan,r.startSourceSpan,r.endSourceSpan);return a.visitNodeFn(r,L)}visitAttribute(r,a){const u=void 0===r.valueTokens||1===r.valueTokens.length?new Xo(r.value,r.valueSpan||r.sourceSpan):this._visitTextWithInterpolation(r.valueTokens,r.valueSpan||r.sourceSpan,a,r.i18n);return a.visitNodeFn(r,u)}visitText(r,a){const u=1===r.tokens.length?new Xo(r.value,r.sourceSpan):this._visitTextWithInterpolation(r.tokens,r.sourceSpan,a,r.i18n);return a.visitNodeFn(r,u)}visitComment(r,a){return null}visitExpansion(r,a){a.icuDepth++;const u={},p=new Fc(r.switchValue,r.type,u,r.sourceSpan);if(r.cases.forEach(D=>{u[D.value]=new li(D.expression.map(L=>L.visit(this,a)),D.expSourceSpan)}),a.icuDepth--,a.isIcu||a.icuDepth>0){const D=a.placeholderRegistry.getUniquePlaceholder(`VAR_${r.type}`);return p.expressionPlaceholder=D,a.placeholderToContent[D]={text:r.switchValue,sourceSpan:r.switchValueSourceSpan},a.visitNodeFn(r,p)}const f=a.placeholderRegistry.getPlaceholderName("ICU",r.sourceSpan.toString());a.placeholderToMessage[f]=this.toI18nMessage([r],"","","",void 0);const y=new Da(p,f,r.sourceSpan);return a.visitNodeFn(r,y)}visitExpansionCase(r,a){throw new Error("Unreachable code")}visitBlock(r,a){const u=Lt(this,r.children,a);if(this._containerBlocks.has(r.name))return new li(u,r.sourceSpan);const p=r.parameters.map(L=>L.expression),f=a.placeholderRegistry.getStartBlockPlaceholderName(r.name,p),y=a.placeholderRegistry.getCloseBlockPlaceholderName(r.name);a.placeholderToContent[f]={text:r.startSourceSpan.toString(),sourceSpan:r.startSourceSpan},a.placeholderToContent[y]={text:r.endSourceSpan?r.endSourceSpan.toString():"}",sourceSpan:r.endSourceSpan??r.sourceSpan};const D=new Vl(r.name,p,f,y,u,r.sourceSpan,r.startSourceSpan,r.endSourceSpan);return a.visitNodeFn(r,D)}visitBlockParameter(r,a){throw new Error("Unreachable code")}visitLetDeclaration(r,a){return null}_visitTextWithInterpolation(r,a,u,p){const f=[];let y=!1;for(const D of r)switch(D.type){case 8:case 17:y=!0;const L=D.parts[1],R=sV(L)||"INTERPOLATION",j=u.placeholderRegistry.getPlaceholderName(R,L);u.placeholderToContent[j]={text:D.parts.join(""),sourceSpan:D.sourceSpan},f.push(new Jo(L,j,D.sourceSpan));break;default:if(D.parts[0].length>0||this._retainEmptyTokens){const q=f[f.length-1];q instanceof Xo?(q.value+=D.parts[0],q.sourceSpan=new qt(q.sourceSpan.start,D.sourceSpan.end,q.sourceSpan.fullStart,q.sourceSpan.details)):f.push(new Xo(D.parts[0],D.sourceSpan))}else this._retainEmptyTokens&&f.push(new Xo(D.parts[0],D.sourceSpan))}return y?(function eV(l,r){if(r instanceof bi&&(function NS(l){const r=l.nodes;if(1!==r.length||!(r[0]instanceof li))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}(r),r=r.nodes[0]),r instanceof li){!function tV(l,r){if(l.length!==r.length)throw new Error(`\nThe number of i18n message children changed between first and second pass.\n\nFirst pass (${l.length} tokens):\n${l.map(a=>`"${a.sourceSpan.toString()}"`).join("\n")}\n\nSecond pass (${r.length} tokens):\n${r.map(a=>`"${a.sourceSpan.toString()}"`).join("\n")}\n `.trim());if(l.some((a,u)=>r[u].constructor!==a.constructor))throw new Error("The types of the i18n message children changed between first and second pass.")}(r.children,l);for(let a=0;a(r,a)=>{const u=l.get(r)??r;return u instanceof md&&(a instanceof Da&&u.i18n instanceof bi&&(a.previousMessage=u.i18n),u.i18n=a),a};class Pm{constructor(r=Br,a=!1,u=!1,p=hs,f=!0,y=!f){this.interpolationConfig=r,this.keepI18nAttrs=a,this.enableI18nLegacyMessageIdFormat=u,this.containerBlocks=p,this.preserveSignificantWhitespace=f,this.retainEmptyTokens=y,this.hasI18nMeta=!1,this._errors=[]}_generateI18nMessage(r,a="",u){const{meaning:p,description:f,customId:y}=this._parseMetadata(a),L=Ox(this.interpolationConfig,this.containerBlocks,this.retainEmptyTokens)(r,p,f,y,u);return this._setMessageId(L,a),this._setLegacyIds(L,a),L}visitAllWithErrors(r){const a=r.map(u=>u.visit(this,null));return new Jh(a,this._errors)}visitElement(r){let a;if(function zu(l){return l.attrs.some(r=>U_(r.name))}(r)){this.hasI18nMeta=!0;const u=[],p={};for(const f of r.attrs)if(f.name===tm){const y=r.i18n||f.value,D=new Map,L=this.preserveSignificantWhitespace?r.children:su(new by(!1,D),r.children);a=this._generateI18nMessage(L,y,Dy(D)),0===a.nodes.length&&(a=void 0),r.i18n=a}else if(f.name.startsWith($s)){const y=f.name.slice($s.length);N2(r.name,y)?this._reportError(f,`Translating attribute '${y}' is disallowed for security reasons.`):p[y]=f.value}else u.push(f);if(Object.keys(p).length)for(const f of u){const y=p[f.name];void 0!==y&&f.value&&(f.i18n=this._generateI18nMessage([f],f.i18n||y))}this.keepI18nAttrs||(r.attrs=u)}return Lt(this,r.children,a),r}visitExpansion(r,a){let u;const p=r.i18n;if(this.hasI18nMeta=!0,p instanceof Da){const f=p.name;u=this._generateI18nMessage([r],p);Ma(u).name=f,null!==a&&(a.placeholderToMessage[f]=u)}else u=this._generateI18nMessage([r],a||p);return r.i18n=u,r}visitText(r){return r}visitAttribute(r){return r}visitComment(r){return r}visitExpansionCase(r){return r}visitBlock(r,a){return Lt(this,r.children,a),r}visitBlockParameter(r,a){return r}visitLetDeclaration(r,a){return r}_parseMetadata(r){return"string"==typeof r?function Yx(l=""){let r,a,u;if(l=l.trim(),l){const p=l.indexOf(Fx),f=l.indexOf(Nx);let y;[y,r]=p>-1?[l.slice(0,p),l.slice(p+2)]:[l,""],[a,u]=f>-1?[y.slice(0,f),y.slice(f+1)]:["",y]}return{customId:r,meaning:a,description:u}}(r):r instanceof bi?r:{}}_setMessageId(r,a){r.id||(r.id=a instanceof bi&&a.id||Re(r,this.preserveSignificantWhitespace))}_setLegacyIds(r,a){if(this.enableI18nLegacyMessageIdFormat)r.legacyIds=[Ne(r),Fe(r,this.preserveSignificantWhitespace)];else if("string"!=typeof a){const u=a instanceof bi?a:a instanceof Da?a.previousMessage:void 0;r.legacyIds=u?u.legacyIds:[]}}_reportError(r,a){this._errors.push(new ru(r.sourceSpan,a))}}const Nx="|",Fx="@@";const Y2="goog.getMsg";function Bx(l,r,a,u){const p=function ko(l){return l.nodes.map(r=>r.visit(xo,null)).join("")}(r),f=[X(p)];Object.keys(u).length&&(f.push(pS(nm(u,!0),!0)),f.push(pS({original_code:hn(Object.keys(u).map(L=>({key:Wu(L),quoted:!0,value:r.placeholders[L]?X(r.placeholders[L].sourceSpan.toString()):X(r.placeholderToMessage[L].nodes.map(R=>R.sourceSpan.toString()).join(""))})))})));const y=a.set(_t(Y2).callFn(f)).toConstDecl();y.addLeadingComment(function F2(l){const r=[];return l.description?r.push({tagName:"desc",text:l.description}):r.push({tagName:"suppress",text:"{msgDescriptions}"}),l.meaning&&r.push({tagName:"meaning",text:l.meaning}),Ou(r)}(r));return[y,new Qs(l.set(a))]}const xo=new class np{formatPh(r){return`{$${Wu(r)}}`}visitText(r){return r.value}visitContainer(r){return r.children.map(a=>a.visit(this)).join("")}visitIcu(r){return dx(r)}visitTagPlaceholder(r){return r.isVoid?this.formatPh(r.startName):`${this.formatPh(r.startName)}${r.children.map(a=>a.visit(this)).join("")}${this.formatPh(r.closeName)}`}visitPlaceholder(r){return this.formatPh(r.name)}visitBlockPlaceholder(r){return`${this.formatPh(r.startName)}${r.children.map(a=>a.visit(this)).join("")}${this.formatPh(r.closeName)}`}visitIcuPlaceholder(r,a){return this.formatPh(r.name)}};function jx(l,r,a){const{messageParts:u,placeHolders:p}=function B2(l){const r=[],a=new rV(l.placeholderToMessage,r);return l.nodes.forEach(u=>u.visit(a)),function oV(l){const r=[],a=[];l[0]instanceof Us&&r.push(My(l[0].sourceSpan.start));for(let u=0;ua[R.text]),D=uw(r,u,p,y,f),L=l.set(D);return[new Qs(L)]}class rV{constructor(r,a){this.placeholderToMessage=r,this.pieces=a}visitText(r){if(this.pieces[this.pieces.length-1]instanceof Ya)this.pieces[this.pieces.length-1].text+=r.value;else{const a=new qt(r.sourceSpan.fullStart,r.sourceSpan.end,r.sourceSpan.fullStart,r.sourceSpan.details);this.pieces.push(new Ya(r.value,a))}}visitContainer(r){r.children.forEach(a=>a.visit(this))}visitIcu(r){this.pieces.push(new Ya(dx(r),r.sourceSpan))}visitTagPlaceholder(r){this.pieces.push(this.createPlaceholderPiece(r.startName,r.startSourceSpan??r.sourceSpan)),r.isVoid||(r.children.forEach(a=>a.visit(this)),this.pieces.push(this.createPlaceholderPiece(r.closeName,r.endSourceSpan??r.sourceSpan)))}visitPlaceholder(r){this.pieces.push(this.createPlaceholderPiece(r.name,r.sourceSpan))}visitBlockPlaceholder(r){this.pieces.push(this.createPlaceholderPiece(r.startName,r.startSourceSpan??r.sourceSpan)),r.children.forEach(a=>a.visit(this)),this.pieces.push(this.createPlaceholderPiece(r.closeName,r.endSourceSpan??r.sourceSpan))}visitIcuPlaceholder(r){this.pieces.push(this.createPlaceholderPiece(r.name,r.sourceSpan,this.placeholderToMessage[r.name]))}createPlaceholderPiece(r,a,u){return new Us(Wu(r,!1),a,u)}}function My(l){return new Ya("",new qt(l,l))}const FS="ngI18nClosureMode",aV="i18n_",rc="I18N_EXP_",Cy="\ufffd",YS="MSG_";function Vx(l){return`${YS}${l}`.toUpperCase()}function sp(l){return new Fr(l.name,void 0,Nt,void 0,l.sourceSpan)}function jS(l,r,a,u){const p=[],f=new Map;for(const R of u.subMessages){const j=a.get(R),{mainVar:q,statements:le}=jS(l,r,a,j);p.push(...le);const Se=f.get(j.messagePlaceholder)??[];Se.push(q),f.set(j.messagePlaceholder,Se)}(function VS(l,r){for(const[a,u]of r)1===u.length?l.params.set(a,u[0]):(l.params.set(a,X(`${Cy}${rc}${a}${Cy}`)),l.postprocessingParams.set(a,$t(u)))})(u,f),u.params=new Map([...u.params.entries()].sort());const y=_t(l.pool.uniqueName(aV)),D=function V2(l,r,a,u){let p;const f=a;if(u){const y=Vx("EXTERNAL_"),D=l.uniqueName(f);p=`${y}${Uc(r)}$$${D}`}else{const y=Vx(f);p=l.uniqueName(y)}return _t(p)}(l.pool,u.message.id,r,l.i18nUseExternalIds);let L;if(u.needsPostprocessing||u.postprocessingParams.size>0){const j=nm(Object.fromEntries([...u.postprocessingParams.entries()].sort()),!1),q=[];u.postprocessingParams.size>0&&q.push(pS(j,!0)),L=le=>Le(G.i18nPostprocess).callFn([le,...q])}return p.push(...function Ey(l,r,a,u,p){const f=Object.fromEntries(u),y=[sp(r),dt(j2(),Bx(r,l,a,f),jx(r,l,nm(f,!1)))];return p&&y.push(new Qs(r.set(p(r)))),y}(u.message,y,D,u.params,L)),{mainVar:y,statements:p}}function j2(){return bn(_t(FS)).notIdentical(X("undefined",en)).and(_t(FS))}function U2(l){const r=[];for(const a of l)r.push(X(a.name),X(a.target));return $t(r)}function HS(l){const r=[];let a=0,u=0,p=0,f=0,y=0,D=null;for(;a0&&0===u&&0===p){const R=l.substring(f,a-1).trim();r.push(D,R),y=a,f=0,D=null}}if(D&&f){const L=l.slice(f).trim();r.push(D,L)}return r}function rp(l){return l.replace(/[a-z][A-Z]/g,r=>r.charAt(0)+"-"+r.charAt(1)).toLowerCase()}function Rm(l,r,a,u){null===l.fnName&&(l.fnName=l.job.pool.uniqueName(Uc(`${r}_${l.job.fnSuffix}`),!1));const p=new Map;for(const f of l.ops())switch(f.kind){case Y.Property:case Y.HostProperty:f.isAnimationTrigger&&(f.name="@"+f.name);break;case Y.Listener:if(null!==f.handlerFnName)break;if(!f.hostListener&&null===f.targetSlot.slot)throw new Error("Expected a slot to be assigned");let y="";f.isAnimationListener&&(f.name=`@${f.name}.${f.animationPhase}`,y="animation"),f.hostListener?f.handlerFnName=`${r}_${y}${f.name}_HostBindingHandler`:f.handlerFnName=`${l.fnName}_${f.tag.replace("-","_")}_${y}${f.name}_${f.targetSlot.slot}_listener`,f.handlerFnName=Uc(f.handlerFnName);break;case Y.TwoWayListener:if(null!==f.handlerFnName)break;if(null===f.targetSlot.slot)throw new Error("Expected a slot to be assigned");f.handlerFnName=Uc(`${l.fnName}_${f.tag.replace("-","_")}_${f.name}_${f.targetSlot.slot}_listener`);break;case Y.Variable:p.set(f.xref,$2(l,f.variable,a));break;case Y.RepeaterCreate:if(!(l instanceof eu))throw new Error("AssertionError: must be compiling a component");if(null===f.handle.slot)throw new Error("Expected slot to be assigned");if(null!==f.emptyView){Rm(l.job.views.get(f.emptyView),`${r}_${f.functionNameSuffix}Empty_${f.handle.slot+2}`,a,u)}Rm(l.job.views.get(f.xref),`${r}_${f.functionNameSuffix}_${f.handle.slot+1}`,a,u);break;case Y.Projection:if(!(l instanceof eu))throw new Error("AssertionError: must be compiling a component");if(null===f.handle.slot)throw new Error("Expected slot to be assigned");if(null!==f.fallbackView){Rm(l.job.views.get(f.fallbackView),`${r}_ProjectionFallback_${f.handle.slot}`,a,u)}break;case Y.Template:if(!(l instanceof eu))throw new Error("AssertionError: must be compiling a component");const D=l.job.views.get(f.xref);if(null===f.handle.slot)throw new Error("Expected slot to be assigned");Rm(D,`${r}${0===f.functionNameSuffix.length?"":`_${f.functionNameSuffix}`}_${f.handle.slot}`,a,u);break;case Y.StyleProp:f.name=$S(f.name),u&&(f.name=zS(f.name));break;case Y.ClassProp:u&&(f.name=zS(f.name))}for(const f of l.ops())Mi(f,y=>{if(y instanceof rl&&null===y.name){if(!p.has(y.xref))throw new Error(`Variable ${y.xref} not yet named`);y.name=p.get(y.xref)}})}function $2(l,r,a){if(null===r.name)switch(r.kind){case lr.Context:r.name="ctx_r"+a.index++;break;case lr.Identifier:if(l.job.compatibility===ui.TemplateDefinitionBuilder){const u="ctx"===r.identifier?"i":"";r.name=`${r.identifier}_${u}r${++a.index}`}else r.name=`${r.identifier}_i${a.index++}`;break;default:r.name="_r"+ ++a.index}return r.name}function $S(l){return l.startsWith("--")?l:rp(l)}function zS(l){const r=l.indexOf("!important");return r>-1?l.substring(0,r):l}function WS(l){for(const r of l){if(!(r.kind===Y.Statement&&r.statement instanceof Qs&&r.statement.expr instanceof Yh))continue;const a=r.statement.expr.steps;let u=!0;for(let p=r.next;p.kind!==Y.ListEnd&&u;p=p.next)Mi(p,(f,y)=>{if(!ts(f))return f;if(u&&!(y&Mn.InChildOperation))switch(f.kind){case et.NextContext:f.steps+=a,pe.remove(r),u=!1;break;case et.GetCurrentView:case et.Reference:case et.ContextLetReference:u=!1}})}}function z2(l,r){const a=l.get(r);if(void 0===a)throw new Error("All attributes should have an element-like target.");return a}function ll(l){return r=>r.kind===l}function vd(l,r){return a=>a.kind===l&&r===a.expression instanceof Zr}const bd=[{test:l=>l.kind===Y.Listener&&l.hostListener&&l.isAnimationListener},{test:function qx(l){return l.kind===Y.Listener&&!(l.hostListener&&l.isAnimationListener)||l.kind===Y.TwoWayListener}}],Gx=[{test:ll(Y.StyleMap),transform:Iy},{test:ll(Y.ClassMap),transform:Iy},{test:ll(Y.StyleProp)},{test:ll(Y.ClassProp)},{test:vd(Y.Attribute,!0)},{test:vd(Y.Property,!0)},{test:function ky(l){return!(l.kind!==Y.Property&&l.kind!==Y.TwoWayProperty||l.expression instanceof Zr)}},{test:vd(Y.Attribute,!1)}],GS=[{test:vd(Y.HostProperty,!0)},{test:vd(Y.HostProperty,!1)},{test:ll(Y.Attribute)},{test:ll(Y.StyleMap),transform:Iy},{test:ll(Y.ClassMap),transform:Iy},{test:ll(Y.StyleProp)},{test:ll(Y.ClassProp)}],ip=new Set([Y.Listener,Y.TwoWayListener,Y.StyleMap,Y.ClassMap,Y.StyleProp,Y.ClassProp,Y.Property,Y.TwoWayProperty,Y.HostProperty,Y.Attribute]);function Ty(l,r){let a=[],u=null;for(const p of l){const f=Nh(p)?p.target:null;(!ip.has(p.kind)||f!==u&&null!==u&&null!==f)&&(pe.insertBefore(Om(a,r),p),a=[],u=null),ip.has(p.kind)&&(a.push(p),pe.remove(p),u=f??u)}l.push(Om(a,r))}function Om(l,r){const a=Array.from(r,()=>new Array);for(const u of l){a[r.findIndex(f=>f.test(u))].push(u)}return a.flatMap((u,p)=>{const f=r[p].transform;return f?f(u):u})}function Iy(l){return l.slice(l.length-1)}function W2(l){return"select"===l.toLowerCase()}function q2(l,r){const a=l.get(r);if(void 0===a)throw new Error("All attributes should have an slottable target.");return a}function Xx(l){for(const r of l.update)Mi(r,(a,u)=>{if(ts(a)&&a.kind===et.PipeBinding){if(u&Mn.InChildOperation)throw new Error("AssertionError: pipe bindings should not appear in child expressions");if(l.job.compatibility){if(null==r.target)throw new Error("AssertionError: expected slot handle to be assigned for pipe creation");Zx(l,r.target,a)}else l.create.push(H0(a.target,a.targetSlot,a.name))}})}function Zx(l,r,a){for(let u=l.create.head.next;u.kind!==Y.ListEnd;u=u.next){if(!ra(u)||u.xref!==r)continue;for(;u.next.kind===Y.Pipe;)u=u.next;const p=H0(a.target,a.targetSlot,a.name);return void pe.insertBefore(p,u.next)}throw new Error(`AssertionError: unable to find insertion point for pipe ${a.name}`)}function KS(l,r){let a=null;for(const u of l.create)switch(u.kind){case Y.I18nStart:u.subTemplateIndex=0===r?null:r,a=u;break;case Y.I18nEnd:null===a.subTemplateIndex&&(r=0),a=null;break;case Y.Template:r=ue(l.job.views.get(u.xref),a,u.i18nPlaceholder,r);break;case Y.RepeaterCreate:r=ue(l.job.views.get(u.xref),a,u.i18nPlaceholder,r),null!==u.emptyView&&(r=ue(l.job.views.get(u.emptyView),a,u.emptyI18nPlaceholder,r))}return r}function ue(l,r,a,u){if(void 0!==a){if(null===r)throw Error("Expected template with i18n placeholder to be in an i18n block.");u++,function ek(l,r){if(l.create.head.next?.kind!==Y.I18nStart){const a=l.job.allocateXrefId();pe.insertAfter(ly(a,r.message,r.root,null),l.create.head),pe.insertBefore(Co(a,null),l.create.tail)}}(l,r)}return KS(l,u)}class K2 extends Fu{constructor(r){super(),this.numArgs=r}keyOf(r){return r instanceof Zc?`param(${r.index})`:super.keyOf(r)}toSharedConstantDeclaration(r,a){const u=[];for(let f=0;ff instanceof Zc?_t("a"+f.index):f,Mn.None);return new Fr(r,new Ki(u,p),void 0,ut.Final)}}function wd(l){const r=[],a=[];for(const u of l.entries)if(u.isConstant())r.push(u);else{const p=a.length;a.push(u),r.push(new Zc(p))}return new Xc($t(r),a)}function QS(l){let r=[];const a=[];for(const u of l.entries)if(u.value.isConstant())r.push(u);else{const p=a.length;a.push(u.value),r.push(new ai(u.key,new Zc(p),u.quoted))}return new Xc(hn(r),a)}function Nm(l,r,a,u,p){return op(G.element,l,r,a,u,p)}function nk(l,r,a,u,p){return op(G.elementStart,l,r,a,u,p)}function op(l,r,a,u,p,f){const y=[X(r)];return null!==a&&y.push(X(a)),null!==p?y.push(X(u),X(p)):null!==u&&y.push(X(u)),dn(l,y,f)}function XS(l){return dn(G.elementEnd,[],l)}function ZS(l,r,a,u){return op(G.elementContainerStart,l,null,r,a,u)}function sk(l,r,a,u){return op(G.elementContainer,l,null,r,a,u)}function Q2(l,r,a,u,p,f,y,D){const L=[X(l),r,X(a),X(u),X(p),X(f)];for(null!==y&&(L.push(X(y)),L.push(Le(G.templateRefExtractor)));L[L.length-1].isEquivalent(ja);)L.pop();return dn(G.templateCreate,L,D)}function rk(l,r,a,u,p){const f=[X(l),r];return null!==a&&(f.push(X(!1)),f.push(Le(a))),dn(u?G.syntheticHostListener:G.listener,f,p)}function ik(l,r){return Le(G.twoWayBindingSet).callFn([l,r])}function J2(l,r,a){return dn(G.twoWayListener,[X(l),r],a)}function eR(l,r){return dn(G.pipe,[X(l),X(r)],null)}function nR(l,r){return dn(G.advance,l>1?[X(l)]:[],r)}function eD(l,r,a){const u=[X(l,null)];return""!==r&&u.push(X(r)),dn(G.text,u,a)}function lk(l,r,a,u,p,f,y,D,L,R){const j=[X(l),X(r),a??X(null),X(u),X(p),X(f),y??X(null),D??X(null),L?Le(G.deferEnableTimerScheduling):X(null)];let q;for(;null!==(q=j[j.length-1])&&q instanceof Es&&null===q.value;)j.pop();return dn(G.defer,j,R)}const oR=new Map([[Zn.Idle,[G.deferOnIdle,G.deferPrefetchOnIdle]],[Zn.Immediate,[G.deferOnImmediate,G.deferPrefetchOnImmediate]],[Zn.Timer,[G.deferOnTimer,G.deferPrefetchOnTimer]],[Zn.Hover,[G.deferOnHover,G.deferPrefetchOnHover]],[Zn.Interaction,[G.deferOnInteraction,G.deferPrefetchOnInteraction]],[Zn.Viewport,[G.deferOnViewport,G.deferPrefetchOnViewport]]]);function aR(l,r,a,u){const p=oR.get(l);if(void 0===p)throw new Error(`Unable to determine instruction for trigger ${l}`);return dn(a?p[1]:p[0],r.map(y=>X(y)),u)}function lR(l){return dn(G.projectionDef,l?[l]:[],null)}function ck(l,r,a,u,p,f,y){const D=[X(l)];return(0!==r||null!==a||null!==u)&&(D.push(X(r)),null!==a&&D.push(a),null!==u&&(null===a&&D.push(X(null)),D.push(_t(u),X(p),X(f)))),dn(G.projection,D,y)}function cR(l,r,a,u){const p=[X(l),X(r)];return null!==a&&p.push(X(a)),dn(G.i18nStart,p,u)}function uR(l,r,a,u,p,f,y,D,L,R,j,q,le,Se){const Ae=[X(l),_t(r),X(a),X(u),X(p),X(f),y];return(D||null!==L)&&(Ae.push(X(D)),null!==L&&(Ae.push(_t(L),X(R),X(j)),(null!==q||null!==le)&&Ae.push(X(q)),null!==le&&Ae.push(X(le)))),dn(G.repeaterCreate,Ae,Se)}function tD(l,r){return dn(G.repeater,[l],r)}function dR(l,r,a){return dn(l?G.deferPrefetchWhen:G.deferWhen,[r],a)}function hR(l,r){return dn(G.declareLet,[X(l)],r)}function mR(l,r,a,u){const p=[X(l),X(r)];return a&&p.push(X(a)),dn(G.i18n,p,u)}function cl(l){return dn(G.i18nEnd,[],l)}function nD(l,r){const a=[X(l),X(r)];return dn(G.i18nAttributes,a,null)}function gR(l,r,a,u){const p=[X(l),r];return null!==a&&p.push(a),dn(G.property,p,u)}function _R(l,r,a,u){const p=[X(l),r];return null!==a&&p.push(a),dn(G.twoWayProperty,p,u)}function uk(l,r,a,u){const p=[X(l),r];return(null!==a||null!==u)&&p.push(a??X(null)),null!==u&&p.push(X(u)),dn(G.attribute,p,null)}function dk(l,r,a,u){const p=[X(l),r];return null!==a&&p.push(X(a)),dn(G.styleProp,p,u)}function Ly(l,r,a){return dn(G.classProp,[X(l),r],a)}function sD(l,r){return dn(G.styleMap,[l],r)}function cV(l,r){return dn(G.classMap,[l],r)}const rD=[G.pipeBind1,G.pipeBind2,G.pipeBind3,G.pipeBind4];function Py(l,r,a){const u=iu(l,r);return cp(gk,[],u,[],a)}function iD(l,r){return dn(G.i18nExp,[l],r)}function ic(l,r){return dn(G.i18nApply,[X(l)],r)}function yR(l,r,a,u,p){const f=iu(r,a),y=[];return null!==u&&y.push(u),cp(wR,[X(l)],f,y,p)}function vR(l,r,a,u,p){const f=iu(r,a),y=[];return null!==u&&y.push(u),cp(DR,[X(l)],f,y,p)}function oD(l,r,a,u,p){const f=iu(r,a),y=[];return null!==u&&y.push(X(u)),cp(SR,[X(l)],f,y,p)}function bR(l,r,a){const u=iu(l,r);return cp(MR,[],u,[],a)}function ap(l,r,a){const u=iu(l,r);return cp(CR,[],u,[],a)}function fk(l,r,a,u){const p=[X(l),r];return null!==a&&p.push(a),dn(G.hostProperty,p,u)}function Sd(l,r,a){return dn(G.syntheticHostProperty,[X(l),r],a)}function iu(l,r){if(l.length<1||r.length!==l.length-1)throw new Error("AssertionError: expected specific shape of args for strings/expressions in interpolation");const a=[];if(1===r.length&&""===l[0]&&""===l[1])a.push(r[0]);else{let u;for(u=0;u{if(l%2==0)throw new Error("Expected odd number of arguments");return(l-1)/2}},wR={constant:[G.propertyInterpolate,G.propertyInterpolate1,G.propertyInterpolate2,G.propertyInterpolate3,G.propertyInterpolate4,G.propertyInterpolate5,G.propertyInterpolate6,G.propertyInterpolate7,G.propertyInterpolate8],variable:G.propertyInterpolateV,mapping:l=>{if(l%2==0)throw new Error("Expected odd number of arguments");return(l-1)/2}},SR={constant:[G.styleProp,G.stylePropInterpolate1,G.stylePropInterpolate2,G.stylePropInterpolate3,G.stylePropInterpolate4,G.stylePropInterpolate5,G.stylePropInterpolate6,G.stylePropInterpolate7,G.stylePropInterpolate8],variable:G.stylePropInterpolateV,mapping:l=>{if(l%2==0)throw new Error("Expected odd number of arguments");return(l-1)/2}},DR={constant:[G.attribute,G.attributeInterpolate1,G.attributeInterpolate2,G.attributeInterpolate3,G.attributeInterpolate4,G.attributeInterpolate5,G.attributeInterpolate6,G.attributeInterpolate7,G.attributeInterpolate8],variable:G.attributeInterpolateV,mapping:l=>{if(l%2==0)throw new Error("Expected odd number of arguments");return(l-1)/2}},MR={constant:[G.styleMap,G.styleMapInterpolate1,G.styleMapInterpolate2,G.styleMapInterpolate3,G.styleMapInterpolate4,G.styleMapInterpolate5,G.styleMapInterpolate6,G.styleMapInterpolate7,G.styleMapInterpolate8],variable:G.styleMapInterpolateV,mapping:l=>{if(l%2==0)throw new Error("Expected odd number of arguments");return(l-1)/2}},CR={constant:[G.classMap,G.classMapInterpolate1,G.classMapInterpolate2,G.classMapInterpolate3,G.classMapInterpolate4,G.classMapInterpolate5,G.classMapInterpolate6,G.classMapInterpolate7,G.classMapInterpolate8],variable:G.classMapInterpolateV,mapping:l=>{if(l%2==0)throw new Error("Expected odd number of arguments");return(l-1)/2}},ER={constant:[G.pureFunction0,G.pureFunction1,G.pureFunction2,G.pureFunction3,G.pureFunction4,G.pureFunction5,G.pureFunction6,G.pureFunction7,G.pureFunction8],variable:G.pureFunctionV,mapping:l=>l};function aD(l,r,a,u,p){const f=l.mapping(a.length);if(frD.length)throw new Error("pipeBind() argument count out of bounds");return Le(rD[a.length-1]).callFn([X(l),X(r),...a])}(l.targetSlot.slot,l.varOffset,l.args);case et.PipeBindingVariadic:return function pk(l,r,a){return Le(G.pipeBindV).callFn([X(l),X(r),a])}(l.targetSlot.slot,l.varOffset,l.args);case et.SlotLiteralExpr:return X(l.slot.slot);case et.ContextLetReference:return function fR(l){return Le(G.readContextLet).callFn([X(l)])}(l.targetSlot.slot);case et.StoreLet:return function pR(l,r){return Le(G.storeLet).callFn([l],r)}(l.value,l.sourceSpan);default:throw new Error(`AssertionError: Unsupported reification of ir.Expression kind: ${et[l.kind]}`)}}function yk(l,r,a,u){lD(0,a);const p=[];for(const y of a){if(y.kind!==Y.Statement)throw new Error(`AssertionError: expected reified statements, but found op ${Y[y.kind]}`);p.push(y.statement)}const f=[];return u&&f.push(new Dt("$event")),Vo(f,p,void 0,void 0,r)}function Dd(l,r){const a=new Map;a.set(l.xref,_t("ctx"));for(const u of r)switch(u.kind){case Y.Variable:if(u.variable.kind===lr.Context)a.set(u.variable.view,new rl(u.xref));break;case Y.Listener:case Y.TwoWayListener:Dd(l,u.handlerOps)}l===l.job.root&&a.set(l.xref,_t("ctx"));for(const u of r)Js(u,p=>{if(p instanceof io){if(!a.has(p.view))throw new Error(`No context found for reference to view ${p.view} from view ${l.xref}`);return a.get(p.view)}return p},Mn.None)}function wk(l){for(const r of l)(r.kind===Y.Listener||r.kind===Y.TwoWayListener)&&Js(r,a=>a instanceof An&&"$event"===a.name?(r.kind===Y.Listener&&(r.consumesDollarEvent=!0),new qn(a.name)):a,Mn.InChildOperation)}function ou(l,r,a,u,p){let f=null,y=new Map;for(const D of r.create)switch(D.kind){case Y.I18nStart:if(!D.context)throw Error("Could not find i18n context for i18n op");f={i18nBlock:D,i18nContext:a.get(D.context)};break;case Y.I18nEnd:f=null;break;case Y.ElementStart:if(void 0!==D.i18nPlaceholder){if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");Ym(D,f.i18nContext,f.i18nBlock,p),p&&D.i18nPlaceholder.closeName&&y.set(D.xref,p),p=void 0}break;case Y.ElementEnd:const L=u.get(D.xref);if(L&&void 0!==L.i18nPlaceholder){if(null===f)throw Error("AssertionError: i18n tag placeholder should only occur inside an i18n block");Oy(L,f.i18nContext,f.i18nBlock,y.get(D.xref)),y.delete(D.xref)}break;case Y.Projection:if(void 0!==D.i18nPlaceholder){if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");Ym(D,f.i18nContext,f.i18nBlock,p),Oy(D,f.i18nContext,f.i18nBlock,p),p=void 0}break;case Y.Template:const R=l.views.get(D.xref);if(void 0===D.i18nPlaceholder)ou(l,R,a,u);else{if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");D.templateKind===Si.Structural?ou(l,R,a,u,D):(uD(l,R,D.handle.slot,D.i18nPlaceholder,f.i18nContext,f.i18nBlock,p),ou(l,R,a,u),Sk(l,R,D.handle.slot,D.i18nPlaceholder,f.i18nContext,f.i18nBlock,p),p=void 0)}break;case Y.RepeaterCreate:if(void 0!==p)throw Error("AssertionError: Unexpected structural directive associated with @for block");const j=D.handle.slot+1,q=l.views.get(D.xref);if(void 0===D.i18nPlaceholder)ou(l,q,a,u);else{if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");uD(l,q,j,D.i18nPlaceholder,f.i18nContext,f.i18nBlock,p),ou(l,q,a,u),Sk(l,q,j,D.i18nPlaceholder,f.i18nContext,f.i18nBlock,p),p=void 0}if(null!==D.emptyView){const le=D.handle.slot+2,Se=l.views.get(D.emptyView);if(void 0===D.emptyI18nPlaceholder)ou(l,Se,a,u);else{if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");uD(l,Se,le,D.emptyI18nPlaceholder,f.i18nContext,f.i18nBlock,p),ou(l,Se,a,u),Sk(l,Se,le,D.emptyI18nPlaceholder,f.i18nContext,f.i18nBlock,p),p=void 0}}}}function Ym(l,r,a,u){const{startName:p,closeName:f}=l.i18nPlaceholder;let y=es.ElementTag|es.OpenTag,D=l.handle.slot;void 0!==u&&(y|=es.TemplateTag,D={element:D,template:u.handle.slot}),f||(y|=es.CloseTag),up(r.params,p,D,a.subTemplateIndex,y)}function Oy(l,r,a,u){const{closeName:p}=l.i18nPlaceholder;if(p){let f=es.ElementTag|es.CloseTag,y=l.handle.slot;void 0!==u&&(f|=es.TemplateTag,y={element:y,template:u.handle.slot}),up(r.params,p,y,a.subTemplateIndex,f)}}function uD(l,r,a,u,p,f,y){let{startName:D,closeName:L}=u,R=es.TemplateTag|es.OpenTag;L||(R|=es.CloseTag),void 0!==y&&up(p.params,D,y.handle.slot,f.subTemplateIndex,R),up(p.params,D,a,AR(l,f,r),R)}function Sk(l,r,a,u,p,f,y){const{closeName:D}=u,L=es.TemplateTag|es.CloseTag;D&&(up(p.params,D,a,AR(l,f,r),L),void 0!==y&&up(p.params,D,y.handle.slot,f.subTemplateIndex,L))}function AR(l,r,a){for(const u of a.create)if(u.kind===Y.I18nStart)return u.subTemplateIndex;return r.subTemplateIndex}function up(l,r,a,u,p){const f=l.get(r)??[];f.push({value:a,subTemplateIndex:u,flags:p}),l.set(r,f)}function uV(l,r,a,u){if(null!==l.i18nPlaceholder){const p=a.get(l.context),f=l.resolutionTime===Zu.Creation?p.params:p.postprocessingParams,y=f.get(l.i18nPlaceholder)||[];y.push(r),f.set(l.i18nPlaceholder,y)}null!==l.icuPlaceholder&&u.get(l.icuPlaceholder)?.expressionPlaceholders.push(r)}function Dk(l,r,a){const u=new Map,p=new Map;for(const f of r)switch(f.kind){case Y.Variable:switch(f.variable.kind){case lr.Identifier:if(f.variable.local){if(p.has(f.variable.identifier))continue;p.set(f.variable.identifier,f.xref)}else if(u.has(f.variable.identifier))continue;u.set(f.variable.identifier,f.xref);break;case lr.Alias:if(u.has(f.variable.identifier))continue;u.set(f.variable.identifier,f.xref);break;case lr.SavedView:a={view:f.variable.view,variable:f.xref}}break;case Y.Listener:case Y.TwoWayListener:Dk(l,f.handlerOps,a)}for(const f of r)f.kind==Y.Listener||f.kind===Y.TwoWayListener||Js(f,y=>{if(y instanceof An)return p.has(y.name)?new rl(p.get(y.name)):u.has(y.name)?new rl(u.get(y.name)):new gs(new io(l.job.root.xref),y.name);if(y instanceof Qc&&"number"==typeof y.view){if(null===a||a.view!==y.view)throw new Error(`AssertionError: no saved view ${y.view} from view ${l.xref}`);return y.view=new rl(a.variable),y}return y},Mn.None);for(const f of r)Mi(f,y=>{if(y instanceof An)throw new Error(`AssertionError: no lexical reads should remain, but found read of ${y.name}`)})}const RR=new Map([[se.HTML,G.sanitizeHtml],[se.RESOURCE_URL,G.sanitizeResourceUrl],[se.SCRIPT,G.sanitizeScript],[se.STYLE,G.sanitizeStyle],[se.URL,G.sanitizeUrl]]),OR=new Map([[se.HTML,G.trustConstantHtml],[se.RESOURCE_URL,G.trustConstantResourceUrl]]);function dD(l){return l.kind===Y.ElementStart&&"iframe"===l.tag?.toLowerCase()}function dp(l){if(Array.isArray(l)){if(l.length>1)throw Error("AssertionError: Ambiguous security context");return l[0]||se.NONE}return l}function Mk(l,r){r.handlerOps.prepend([qc(l.job.allocateXrefId(),{kind:lr.Context,name:null,view:l.xref},new Qc(l.xref),wi.None)]);for(const a of r.handlerOps)a.kind===Y.Statement&&a.statement instanceof rr&&(a.statement.value=new mm(a.statement.value))}function Md(l){let r=0,a=[];for(const u of l){const p=new Map;Mi(u,(R,j)=>{j&Mn.InChildOperation||R instanceof Jc&&p.set(R.xref,R)});let f=0;const y=new Set,D=new Set,L=new Map;Mi(u,(R,j)=>{j&Mn.InChildOperation||(R instanceof ns?(y.has(R.xref)||(y.add(R.xref),L.set(R.xref,`tmp_${r}_${f++}`)),pD(L,R)):R instanceof Jc&&(p.get(R.xref)===R&&(D.add(R.xref),f--),pD(L,R)))}),a.push(...Array.from(new Set(L.values())).map(R=>ro(new Fr(R)))),r++,(u.kind===Y.Listener||u.kind===Y.TwoWayListener)&&u.handlerOps.prepend(Md(u.handlerOps))}return a}function pD(l,r){const a=l.get(r.xref);if(void 0===a)throw new Error(`Found xref with unassigned name: ${r.xref}`);r.name=a}function kk(l,r){if(!(r instanceof Pn)||0===r.args.length||r.args.length>2||!(r.receiver instanceof gs&&r.receiver.receiver instanceof io)||r.receiver.receiver.view!==l)return!1;const[a,u]=r.args;return a instanceof qn&&"$index"===a.name&&(1===r.args.length||!(!(u instanceof qn)||"$item"!==u.name))}function jR(l){let r;switch(l.kind){case Y.Property:case Y.HostProperty:case Y.Attribute:return r=1,l.expression instanceof Zr&&!function VR(l){return!(1!==l.expressions.length||2!==l.strings.length||""!==l.strings[0]||""!==l.strings[1])}(l.expression)&&(r+=l.expression.expressions.length),r;case Y.TwoWayProperty:return 1;case Y.StyleProp:case Y.ClassProp:case Y.StyleMap:case Y.ClassMap:return r=2,l.expression instanceof Zr&&(r+=l.expression.expressions.length),r;case Y.InterpolateText:return l.interpolation.expressions.length;case Y.I18nExpression:case Y.Conditional:case Y.DeferWhen:case Y.StoreLet:return 1;case Y.RepeaterCreate:return l.emptyView?1:0;default:throw new Error(`Unhandled op: ${Y[l.kind]}`)}}function hp(l){switch(l.kind){case et.PureFunctionExpr:case et.PipeBinding:return 1+l.args.length;case et.PipeBindingVariadic:return 1+l.numArgs;case et.StoreLet:return 1;default:throw new Error(`AssertionError: unhandled ConsumesVarsTrait expression ${l.constructor.name}`)}}var Rr;function pp(l){const r=new Map;for(const a of l)a.kind===Y.Variable&&a.flags&wi.AlwaysInline&&(Mi(a,u=>{if(ts(u)&&Yy(u)!==Rr.None)throw new Error("AssertionError: A context-sensitive variable was marked AlwaysInline")}),r.set(a.xref,a)),Js(a,u=>u instanceof rl&&r.has(u.xref)?r.get(u.xref).initializer.clone():u,Mn.None);for(const a of r.values())pe.remove(a)}function Fy(l,r){const a=new Map,u=new Map,p=new Set,f=new Map;for(const R of l){if(R.kind===Y.Variable){if(a.has(R.xref)||u.has(R.xref))throw new Error(`Should not see two declarations of the same variable: ${R.xref}`);a.set(R.xref,R),u.set(R.xref,0)}f.set(R,Tk(R)),UR(R,u,p)}let y=!1;for(const R of l.reversed()){const j=f.get(R);if(R.kind!==Y.Variable||0!==u.get(R.xref))j.fences&Rr.ViewContextRead&&(y=!0);else{if(y&&j.fences&Rr.ViewContextWrite||j.fences&Rr.SideEffectful){const q=ro(R.initializer.toStmt());f.set(q,j),pe.replace(R,q)}else Ik(R,u),pe.remove(R);f.delete(R),a.delete(R.xref),u.delete(R.xref)}}const D=[];for(const[R,j]of u){const le=!!(a.get(R).flags&wi.AlwaysInline);1!==j||le||p.has(R)||D.push(R)}let L;for(;L=D.pop();){const R=a.get(L),j=f.get(R);if(R.flags&wi.AlwaysInline)throw new Error("AssertionError: Found an 'AlwaysInline' variable after the always inlining pass.");for(let le=R.next;le.kind!==Y.ListEnd;le=le.next){const Se=f.get(le);if(Se.variablesUsed.has(L)){if(r===ui.TemplateDefinitionBuilder&&!$R(R,le))break;if(jy(L,R.initializer,le,j.fences)){Se.variablesUsed.delete(L);for(const Ae of j.variablesUsed)Se.variablesUsed.add(Ae);Se.fences|=j.fences,a.delete(L),u.delete(L),f.delete(R),pe.remove(R)}break}if(!By(Se.fences,j.fences))break}}}function Yy(l){switch(l.kind){case et.NextContext:return Rr.ViewContextRead|Rr.ViewContextWrite;case et.RestoreView:return Rr.ViewContextRead|Rr.ViewContextWrite|Rr.SideEffectful;case et.StoreLet:return Rr.SideEffectful;case et.Reference:case et.ContextLetReference:return Rr.ViewContextRead;default:return Rr.None}}function Tk(l){let r=Rr.None;const a=new Set;return Mi(l,u=>{if(ts(u))if(u.kind===et.ReadVariable)a.add(u.xref);else r|=Yy(u)}),{fences:r,variablesUsed:a}}function UR(l,r,a){Mi(l,(u,p)=>{if(!ts(u)||u.kind!==et.ReadVariable)return;const f=r.get(u.xref);void 0!==f&&(r.set(u.xref,f+1),p&Mn.InChildOperation&&a.add(u.xref))})}function Ik(l,r){Mi(l,a=>{if(!ts(a)||a.kind!==et.ReadVariable)return;const u=r.get(a.xref);if(void 0!==u){if(0===u)throw new Error(`Inaccurate variable count: ${a.xref} - found another read but count is already 0`);r.set(a.xref,u-1)}})}function By(l,r){if(l&Rr.ViewContextWrite){if(r&Rr.ViewContextRead)return!1}else if(l&Rr.ViewContextRead&&r&Rr.ViewContextWrite)return!1;return!0}function jy(l,r,a,u){let p=!1,f=!0;return Js(a,(y,D)=>{if(!ts(y)||p||!f)return y;if(D&Mn.InChildOperation&&u&Rr.ViewContextRead)return y;if(y.kind===et.ReadVariable){if(y.xref===l)return p=!0,r}else{const L=Yy(y);f=f&&By(L,u)}return y},Mn.None),p}function $R(l,r){switch(l.variable.kind){case lr.Identifier:return l.initializer instanceof qn&&"ctx"===l.initializer.name;case lr.Context:return r.kind===Y.Variable;default:return!0}}!function(l){l[l.None=0]="None",l[l.ViewContextRead=1]="ViewContextRead",l[l.ViewContextWrite=2]="ViewContextWrite",l[l.SideEffectful=4]="SideEffectful"}(Rr||(Rr={}));const KR=[{kind:Ve.Tmpl,fn:function Qx(l){for(const r of l.units){const a=cy(r);for(const u of r.ops())if(u.kind===Y.Binding){const p=q2(a,u.target);W2(u.name)&&p.kind===Y.Projection&&pe.remove(u)}}}},{kind:Ve.Host,fn:function qh(l){for(const r of l.root.update)if(r.kind===Y.Binding&&r.bindingKind===tt.Property)if(r.name.endsWith(Cm)&&(r.name=r.name.substring(0,r.name.length-10)),r.name.startsWith("style.")){r.bindingKind=tt.StyleProperty,r.name=r.name.substring(6),hS(r.name)||(r.name=fy(r.name));const{property:a,suffix:u}=fd(r.name);r.name=a,r.unit=u}else r.name.startsWith("style!")?(r.bindingKind=tt.StyleProperty,r.name="style"):(r.name.startsWith("class.")||r.name.startsWith("class!"))&&(r.bindingKind=tt.ClassName,r.name=fd(r.name.substring(6)).property)}},{kind:Ve.Tmpl,fn:function Ux(l){for(const r of l.units){let a=cr.HTML;for(const u of r.create)u.kind===Y.ElementStart&&u.namespace!==a&&(pe.insertBefore(BP(u.namespace),u),a=u.namespace)}}},{kind:Ve.Tmpl,fn:function Jx(l){KS(l.root,0)}},{kind:Ve.Tmpl,fn:function zR(l){for(const r of l.units){let a=null,u=null;for(const p of r.create)switch(p.kind){case Y.I18nStart:a=p;break;case Y.I18nEnd:a=null;break;case Y.IcuStart:null===a&&(u=l.allocateXrefId(),pe.insertBefore(ly(u,p.message,void 0,null),p));break;case Y.IcuEnd:null!==u&&(pe.insertAfter(Co(u,null),p),u=null)}}}},{kind:Ve.Both,fn:function ZP(l){const r=new Map;for(const a of l.units)for(const u of a.update.reversed())if(u.kind===Y.Binding&&u.isTextAttribute){const p=r.get(u.target)||new Set;p.has(u.name)&&l.compatibility===ui.TemplateDefinitionBuilder&&("style"===u.name||"class"===u.name)&&pe.remove(u),p.add(u.name),r.set(u.target,p)}}},{kind:Ve.Both,fn:function Ck(l){for(const r of l.units)for(const a of r.update)if(a.kind===Y.Binding)switch(a.bindingKind){case tt.ClassName:if(a.expression instanceof Zr)throw new Error("Unexpected interpolation in ClassName binding");pe.replace(a,NP(a.target,a.name,a.expression,a.sourceSpan));break;case tt.StyleProperty:pe.replace(a,sl(a.target,a.name,a.expression,a.unit,a.sourceSpan));break;case tt.Property:case tt.Template:"style"===a.name?pe.replace(a,ey(a.target,a.expression,a.sourceSpan)):"class"===a.name&&pe.replace(a,Gw(a.target,a.expression,a.sourceSpan))}}},{kind:Ve.Both,fn:function G0(l){const r=new Map;for(const a of l.units)for(const u of a.create)Aa(u)&&r.set(u.xref,u);for(const a of l.units)for(const u of a.ops())if(u.kind===Y.Binding)switch(u.bindingKind){case tt.Attribute:if("ngNonBindable"===u.name){pe.remove(u);WP(r,u.target).nonBindable=!0}else{const[p,f]=ar(u.name);pe.replace(u,O0(u.target,p,f,u.expression,u.securityContext,u.isTextAttribute,u.isStructuralTemplateAttribute,u.templateKind,u.i18nMessage,u.sourceSpan))}break;case tt.Property:case tt.Animation:l.kind===Ve.Host?pe.replace(u,HP(u.name,u.expression,u.bindingKind===tt.Animation,u.i18nContext,u.securityContext,u.sourceSpan)):pe.replace(u,R0(u.target,u.name,u.expression,u.bindingKind===tt.Animation,u.securityContext,u.isStructuralTemplateAttribute,u.templateKind,u.i18nContext,u.i18nMessage,u.sourceSpan));break;case tt.TwoWayProperty:if(!(u.expression instanceof Be))throw new Error(`Expected value of two-way property binding "${u.name}" to be an expression`);pe.replace(u,OP(u.target,u.name,u.expression,u.securityContext,u.isStructuralTemplateAttribute,u.templateKind,u.i18nContext,u.i18nMessage,u.sourceSpan));break;case tt.I18n:case tt.ClassName:case tt.StyleProperty:throw new Error(`Unhandled binding of kind ${tt[u.bindingKind]}`)}}},{kind:Ve.Both,fn:function iS(l){for(const r of l.units){const a=cy(r);for(const u of r.ops())switch(u.kind){case Y.Attribute:zP(r,u,a);break;case Y.Property:if(!u.isAnimationTrigger){let p;p=null!==u.i18nMessage&&null===u.templateKind?tt.I18n:u.isStructuralTemplateAttribute?tt.Template:tt.Property,pe.insertBefore(Mo(u.target,p,null,u.name,null,null,null,u.securityContext),Uh(a,u.target))}break;case Y.TwoWayProperty:pe.insertBefore(Mo(u.target,tt.TwoWayProperty,null,u.name,null,null,null,u.securityContext),Uh(a,u.target));break;case Y.StyleProp:case Y.ClassProp:r.job.compatibility===ui.TemplateDefinitionBuilder&&u.expression instanceof od&&pe.insertBefore(Mo(u.target,tt.Property,null,u.name,null,null,null,se.STYLE),Uh(a,u.target));break;case Y.Listener:if(!u.isAnimationListener){const p=Mo(u.target,tt.Property,null,u.name,null,null,null,se.NONE);if(l.kind===Ve.Host){if(l.compatibility)break;r.create.push(p)}else pe.insertBefore(p,Uh(a,u.target))}break;case Y.TwoWayListener:if(l.kind!==Ve.Host){const p=Mo(u.target,tt.Property,null,u.name,null,null,null,se.NONE);pe.insertBefore(p,Uh(a,u.target))}}}}},{kind:Ve.Tmpl,fn:function XP(l){const r=new Map;for(const p of l.units)for(const f of p.ops())switch(f.kind){case Y.Binding:case Y.Property:case Y.Attribute:case Y.ExtractedAttribute:if(null===f.i18nMessage)continue;if(!r.has(f.i18nMessage)){const y=W0(Wc.Attr,l.allocateXrefId(),null,f.i18nMessage,null);p.create.push(y),r.set(f.i18nMessage,y.xref)}f.i18nContext=r.get(f.i18nMessage)}const a=new Map;for(const p of l.units)for(const f of p.create)if(f.kind===Y.I18nStart)if(f.xref===f.root){const y=W0(Wc.RootI18n,l.allocateXrefId(),f.xref,f.message,null);p.create.push(y),f.context=y.xref,a.set(f.xref,y)}for(const p of l.units)for(const f of p.create)if(f.kind===Y.I18nStart&&f.xref!==f.root){const y=a.get(f.root);if(void 0===y)throw Error("AssertionError: Root i18n block i18n context should have been created.");f.context=y.xref,a.set(f.xref,y)}let u=null;for(const p of l.units)for(const f of p.create)switch(f.kind){case Y.I18nStart:u=f;break;case Y.I18nEnd:u=null;break;case Y.IcuStart:if(null===u)throw Error("AssertionError: Unexpected ICU outside of an i18n block.");if(f.message.id!==u.message.id){const y=W0(Wc.Icu,l.allocateXrefId(),u.root,f.message,null);p.create.push(y),f.context=y.xref}else f.context=u.context,a.get(u.xref).contextKind=Wc.Icu}}},{kind:Ve.Both,fn:function xy(l){const r=new Map;for(const a of l.units)for(const u of a.create)Aa(u)&&r.set(u.xref,u);for(const a of l.units)for(const u of a.create)if(u.kind===Y.ExtractedAttribute&&u.bindingKind===tt.Attribute&&oo(u.expression)){const p=r.get(u.target);if(void 0!==p&&p.kind===Y.Template&&p.templateKind===Si.Structural)continue;if("style"===u.name){const f=HS(u.expression.value);for(let y=0;y""===p)&&(a.expression=a.expression.expressions[0])}},{kind:Ve.Both,fn:function Kx(l){for(const r of l.units){Ty(r.create,bd);const a=r.job.kind===Ve.Host?GS:Gx;Ty(r.update,a)}}},{kind:Ve.Tmpl,fn:function dy(l){for(const r of l.units)for(const a of r.ops()){if(a.kind!==Y.Conditional)continue;let u;const p=a.conditions.findIndex(y=>null===y.expr);if(p>=0){const y=a.conditions.splice(p,1)[0].targetSlot;u=new _m(y)}else u=X(-1);let f=null==a.test?null:new ns(a.test,l.allocateXrefId());for(let y=a.conditions.length-1;y>=0;y--){let D=a.conditions[y];if(null!==D.expr){if(null!==f){const L=0===y?f:new Jc(f.xref);D.expr=new Ut(Oe.Identical,L,D.expr)}else if(null!==D.alias){const L=l.allocateXrefId();D.expr=new ns(D.expr,L),a.contextValue=new Jc(L)}u=new yi(D.expr,new _m(D.targetSlot),u)}}a.processed=u,a.conditions=[]}}},{kind:Ve.Tmpl,fn:function G2(l){for(const r of l.units)Xx(r)}},{kind:Ve.Tmpl,fn:function JP(l){for(const r of l.units)for(const a of r.create)a.kind===Y.Defer&&(null!==a.placeholderMinimumTime&&(a.placeholderConfig=new ad(ud([a.placeholderMinimumTime]))),(null!==a.loadingMinimumTime||null!==a.loadingAfterTime)&&(a.loadingConfig=new ad(ud([a.loadingMinimumTime,a.loadingAfterTime]))))}},{kind:Ve.Tmpl,fn:function Hx(l){for(const r of l.units){let a=null,u=null;const p=new Map,f=new Map,y=new Map;for(const D of r.create)switch(D.kind){case Y.I18nStart:if(null===D.context)throw Error("I18n op should have its context set.");a=D;break;case Y.I18nEnd:a=null;break;case Y.IcuStart:if(null===D.context)throw Error("Icu op should have its context set.");u=D;break;case Y.IcuEnd:u=null;break;case Y.Text:if(null!==a)if(p.set(D.xref,a),f.set(D.xref,u),null!==D.icuPlaceholder){const L=Wj(l.allocateXrefId(),D.icuPlaceholder,[D.initialValue]);pe.replace(D,L),y.set(D.xref,L)}else pe.remove(D)}for(const D of r.update)if(D.kind===Y.InterpolateText){if(!p.has(D.target))continue;const L=p.get(D.target),R=f.get(D.target),j=y.get(D.target),q=R?R.context:L.context,le=R?Zu.Postproccessing:Zu.Creation,Se=[];for(let Ae=0;Ae!(u instanceof rd)||u.args.length<=4?u:new gm(u.target,u.targetSlot,u.name,$t(u.args),u.args.length),Mn.None)}},{kind:Ve.Both,fn:function Ay(l){for(const r of l.units)for(const a of r.update)Js(a,(u,p)=>p&Mn.InChildOperation?u:u instanceof ks?wd(u):u instanceof cs?QS(u):u,Mn.None)}},{kind:Ve.Tmpl,fn:function Kj(l){const r=l.compatibility===ui.TemplateDefinitionBuilder,a=[];let u=0;for(const p of l.units)for(const f of p.create)f.kind===Y.Projection&&(a.push(f.selector),f.projectionSlotIndex=u++);if(a.length>0){let p=null;if(a.length>1||"*"!==a[0]){const f=a.map(y=>"*"===y?y:Je(y));p=l.pool.getConstLiteral(ud(f),r)}l.contentSelectors=l.pool.getConstLiteral(ud(a),r),l.root.create.prepend([eS(p)])}}},{kind:Ve.Tmpl,fn:function GR(l){for(const r of l.units)for(const a of r.update){if(a.kind!==Y.StoreLet)continue;const u={kind:lr.Identifier,name:null,identifier:a.declaredName,local:!0};pe.replace(a,qc(l.allocateXrefId(),u,new Fh(a.target,a.value,a.sourceSpan),wi.None))}}},{kind:Ve.Tmpl,fn:function d2(l){il(l.root,null)}},{kind:Ve.Tmpl,fn:function Ny(l){for(const r of l.units){r.create.prepend([qc(r.job.allocateXrefId(),{kind:lr.SavedView,name:null,view:r.xref},new Bh,wi.None)]);for(const a of r.create){if(a.kind!==Y.Listener&&a.kind!==Y.TwoWayListener)continue;let u=r!==l.root;if(!u)for(const p of a.handlerOps)Mi(p,f=>{(f instanceof nd||f instanceof sd)&&(u=!0)});u&&Mk(r,a)}}}},{kind:Ve.Both,fn:function $P(l){for(const r of l.units)for(const a of r.ops())Js(a,rS,Mn.None)}},{kind:Ve.Both,fn:function di(l){for(const r of l.units)wk(r.create),wk(r.update)}},{kind:Ve.Tmpl,fn:function YR(l){for(const r of l.units)for(const a of r.create)a.kind===Y.RepeaterCreate&&(a.track=$e(a.track,u=>{if(u instanceof An){if(a.varNames.$index.has(u.name))return _t("$index");if(u.name===a.varNames.$implicit)return _t("$item")}return u},Mn.None))}},{kind:Ve.Tmpl,fn:function qR(l){for(const r of l.units)for(const a of r.update){if(a.kind!==Y.Variable||a.variable.kind!==lr.Identifier||!(a.initializer instanceof Fh))continue;const u=a.variable.identifier;let p=a;for(;p&&p.kind!==Y.ListEnd;)Js(p,f=>f instanceof An&&f.name===u?X(void 0):f,Mn.None),p=p.prev}}},{kind:Ve.Both,fn:function PR(l){for(const r of l.units)Dk(r,r.create,null),Dk(r,r.update,null)}},{kind:Ve.Tmpl,fn:function ex(l){const r=new Map;function a(p){if(r.has(p.xref))return r.get(p.xref);const f=new tx;for(const y of p.create)if(Aa(y)&&null!==y.localRefs){if(!Array.isArray(y.localRefs))throw new Error("LocalRefs were already processed, but were needed to resolve defer targets.");for(const D of y.localRefs)""===D.target&&f.targets.set(D.name,{xref:y.xref,slot:y.handle})}return r.set(p.xref,f),f}function u(p,f,y){switch(f.trigger.kind){case Zn.Idle:case Zn.Immediate:case Zn.Timer:return;case Zn.Hover:case Zn.Interaction:case Zn.Viewport:if(null===f.trigger.targetName){if(null===y)throw new Error("defer on trigger with no target name must have a placeholder block");const R=l.views.get(y);if(null==R)throw new Error("AssertionError: could not find placeholder view for defer on trigger");for(const j of R.create)if(ra(j)&&(Aa(j)||j.kind===Y.Projection))return f.trigger.targetXref=j.xref,f.trigger.targetView=y,f.trigger.targetSlotViewSteps=-1,void(f.trigger.targetSlot=j.handle);return}let D=null!==y?l.views.get(y):p,L=null!==y?-1:0;for(;null!==D;){const R=a(D);if(R.targets.has(f.trigger.targetName)){const{xref:j,slot:q}=R.targets.get(f.trigger.targetName);return f.trigger.targetXref=j,f.trigger.targetView=D.xref,f.trigger.targetSlotViewSteps=L,void(f.trigger.targetSlot=q)}D=null!==D.parent?l.views.get(D.parent):null,L++}break;default:throw new Error(`Trigger kind ${f.trigger.kind} not handled`)}}for(const p of l.units){const f=new Map;for(const y of p.create)switch(y.kind){case Y.Defer:f.set(y.xref,y);break;case Y.DeferOn:u(p,y,f.get(y.defer).placeholderView)}}}},{kind:Ve.Tmpl,fn:function hD(l){for(const r of l.units)for(const a of r.create)a.kind===Y.TwoWayListener&&Js(a,u=>{if(!(u instanceof sy))return u;const{target:p,value:f}=u;if(p instanceof gs||p instanceof Kn)return ik(p,f).or(p.set(f));if(p instanceof rl)return ik(p,f);throw new Error("Unsupported expression in two-way action binding.")},Mn.InChildOperation)}},{kind:Ve.Tmpl,fn:function xk(l){for(const r of l.units)for(const a of r.create)a.kind===Y.RepeaterCreate&&(a.track instanceof qn&&"$index"===a.track.name?a.trackByFn=Le(G.repeaterTrackByIndex):a.track instanceof qn&&"$item"===a.track.name?a.trackByFn=Le(G.repeaterTrackByIdentity):kk(l.root.xref,a.track)?(a.usesComponentInstance=!0,a.track.receiver.receiver.view===r.xref?a.trackByFn=a.track.receiver:(a.trackByFn=Le(G.componentInstance).callFn([]).prop(a.track.receiver.name),a.track=a.trackByFn)):a.track=$e(a.track,u=>u instanceof io?(a.usesComponentInstance=!0,new fm(u.view)):u,Mn.None))}},{kind:Ve.Both,fn:function Fm(l){for(const r of l.units)Dd(r,r.create),Dd(r,r.update)}},{kind:Ve.Both,fn:function NR(l){for(const r of l.units){const a=cy(r);if(l.kind!==Ve.Host)for(const u of r.create)if(u.kind===Y.ExtractedAttribute){const p=OR.get(dp(u.securityContext))??null;u.trustedValueFn=null!==p?Le(p):null}for(const u of r.update)switch(u.kind){case Y.Property:case Y.Attribute:case Y.HostProperty:let p=null;if(p=Array.isArray(u.securityContext)&&2===u.securityContext.length&&u.securityContext.indexOf(se.URL)>-1&&u.securityContext.indexOf(se.RESOURCE_URL)>-1?G.sanitizeUrlOrResourceUrl:RR.get(dp(u.securityContext))??null,u.sanitizer=null!==p?Le(p):null,null===u.sanitizer){let f=!1;if(l.kind===Ve.Host||u.kind===Y.HostProperty)f=!0;else{const y=a.get(u.target);if(void 0===y||!Aa(y))throw Error("Property should have an element-like owner");f=dD(y)}f&&Ax(u.name)&&(u.sanitizer=Le(G.validateIframeAttribute))}}}}},{kind:Ve.Tmpl,fn:function H2(l){for(const r of l.units)for(const a of r.create)switch(a.kind){case Y.ElementStart:case Y.Template:if(!Array.isArray(a.localRefs))throw new Error("AssertionError: expected localRefs to be an array still");if(a.numSlotsUsed+=a.localRefs.length,a.localRefs.length>0){const u=U2(a.localRefs);a.localRefs=l.addConst(u)}else a.localRefs=null}}},{kind:Ve.Both,fn:function Wx(l){for(const r of l.units)for(const a of r.ops())Js(a,u=>{if(!(u instanceof Ut)||u.operator!==Oe.NullishCoalesce)return u;const p=new ns(u.lhs.clone(),l.allocateXrefId()),f=new Jc(p.xref);return new yi(new Ut(Oe.And,new Ut(Oe.NotIdentical,p,ja),new Ut(Oe.NotIdentical,f,new Es(void 0))),f.clone(),u.rhs)},Mn.None)}},{kind:Ve.Both,fn:function rx(l){for(const r of l.units)for(const a of r.ops())Js(a,u=>i2(u,{job:l}),Mn.None),Js(a,o2,Mn.None)}},{kind:Ve.Both,fn:function FR(l){for(const r of l.units)r.create.prepend(Md(r.create)),r.update.prepend(Md(r.update))}},{kind:Ve.Both,fn:function HR(l){for(const r of l.units){pp(r.create),pp(r.update);for(const a of r.create)(a.kind===Y.Listener||a.kind===Y.TwoWayListener)&&pp(a.handlerOps);Fy(r.create,l.compatibility),Fy(r.update,l.compatibility);for(const a of r.create)(a.kind===Y.Listener||a.kind===Y.TwoWayListener)&&Fy(a.handlerOps,l.compatibility)}}},{kind:Ve.Both,fn:function WR(l){const r=new Set;for(const a of l.units)for(const u of a.ops())Mi(u,p=>{p instanceof sd&&r.add(p.target)});for(const a of l.units)for(const u of a.update)Js(u,p=>p instanceof Fh&&!r.has(p.target)?p.value:p,Mn.None)}},{kind:Ve.Tmpl,fn:function Bm(l){const r=new Map;for(const a of l.units){let u=0;for(const p of a.create)ra(p)&&(p.handle.slot=u,r.set(p.xref,p.handle.slot),u+=p.numSlotsUsed);a.decls=u}for(const a of l.units)for(const u of a.ops())if(u.kind===Y.Template||u.kind===Y.RepeaterCreate){const p=l.views.get(u.xref);u.decls=p.decls}}},{kind:Ve.Tmpl,fn:function IR(l){const r=new Map,a=new Map;for(const u of l.units)for(const p of u.create)switch(p.kind){case Y.I18nContext:r.set(p.xref,p);break;case Y.ElementStart:a.set(p.xref,p)}ou(l,l.root,r,a)}},{kind:Ve.Tmpl,fn:function LR(l){const r=new Map,a=new Map,u=new Map;for(const y of l.units)for(const D of y.create)switch(D.kind){case Y.I18nStart:r.set(D.xref,D.subTemplateIndex);break;case Y.I18nContext:a.set(D.xref,D);break;case Y.IcuPlaceholder:u.set(D.xref,D)}const p=new Map,f=y=>y.usage===zc.I18nText?y.i18nOwner:y.context;for(const y of l.units)for(const D of y.update)if(D.kind===Y.I18nExpression){const L=p.get(f(D))||0;uV(D,{value:L,subTemplateIndex:r.get(D.i18nOwner)??null,flags:es.ExpressionIndex},a,u),p.set(f(D),L+1)}}},{kind:Ve.Tmpl,fn:function lx(l){const r=new Map,a=new Map,u=new Map;for(const f of l.units)for(const y of f.create)switch(y.kind){case Y.I18nContext:const D=lo(l,y);f.create.push(D),r.set(y.xref,D),u.set(y.xref,y);break;case Y.I18nStart:a.set(y.xref,y)}let p=null;for(const f of l.units)for(const y of f.create)switch(y.kind){case Y.IcuStart:p=y,pe.remove(y);const D=u.get(y.context);if(D.contextKind!==Wc.Icu)continue;const L=a.get(D.i18nBlock);if(L.context===D.xref)continue;const R=a.get(L.root),j=r.get(R.context);if(void 0===j)throw Error("AssertionError: ICU sub-message should belong to a root message.");const q=r.get(D.xref);q.messagePlaceholder=y.messagePlaceholder,j.subMessages.push(q.xref);break;case Y.IcuEnd:p=null,pe.remove(y);break;case Y.IcuPlaceholder:if(null===p||null==p.context)throw Error("AssertionError: Unexpected ICU placeholder outside of i18n context");r.get(p.context).postprocessingParams.set(y.name,X(Gj(y))),pe.remove(y)}}},{kind:Ve.Tmpl,fn:function Ek(l){for(const r of l.units)for(const a of r.create){if(a.kind!==Y.RepeaterCreate||null!==a.trackByFn)continue;let p,u=!1;a.track=$e(a.track,y=>{if(y instanceof rd||y instanceof gm)throw new Error("Illegal State: Pipes are not allowed in this context");return y instanceof fm?(u=!0,_t("this")):y},Mn.None);const f=[new Dt("$index"),new Dt("$item")];p=u?new oi(f,[new rr(a.track)]):Et(f,a.track),a.trackByFn=l.pool.getSharedFunctionReference(p,"_forTrack")}}},{kind:Ve.Tmpl,fn:function BS(l){const r=l.relativeContextFilePath.replace(/[^A-Za-z0-9]/g,"_").toUpperCase()+"_",a=new Map,u=new Map,p=new Map,f=new Map;for(const L of l.units)for(const R of L.ops())if(R.kind===Y.ExtractedAttribute&&null!==R.i18nContext){const j=a.get(R.i18nContext)??[];j.push(R),a.set(R.i18nContext,j)}else if(R.kind===Y.I18nAttributes)u.set(R.target,R);else if(R.kind===Y.I18nExpression&&R.usage===zc.I18nAttribute){const j=p.get(R.target)??[];j.push(R),p.set(R.target,j)}else R.kind===Y.I18nMessage&&f.set(R.xref,R);const y=new Map,D=new Map;for(const L of l.units)for(const R of L.create)if(R.kind===Y.I18nMessage){if(null===R.messagePlaceholder){const{mainVar:j,statements:q}=jS(l,r,f,R);if(null!==R.i18nBlock){const le=l.addConst(j,q);D.set(R.i18nBlock,le)}else{l.constsInitializers.push(...q),y.set(R.i18nContext,j);const le=a.get(R.i18nContext);if(void 0!==le)for(const Se of le)Se.expression=j.clone()}}pe.remove(R)}for(const L of l.units)for(const R of L.create)if(Aa(R)){const j=u.get(R.xref);if(void 0===j)continue;let q=p.get(R.xref);if(void 0===q)throw new Error("AssertionError: Could not find any i18n expressions associated with an I18nAttributes instruction");const le=new Set;q=q.filter(Ae=>{const qe=le.has(Ae.name);return le.add(Ae.name),!qe});const Se=q.flatMap(Ae=>{const qe=y.get(Ae.context);if(void 0===qe)throw new Error("AssertionError: Could not find i18n expression's value");return[X(Ae.name),qe]});j.i18nAttributesConfig=l.addConst(new ks(Se))}for(const L of l.units)for(const R of L.create)if(R.kind===Y.I18nStart){const j=D.get(R.root);if(void 0===j)throw new Error("AssertionError: Could not find corresponding i18n block index for an i18n message op; was an i18n message incorrectly assumed to correspond to an attribute?");R.messageIndex=j}}},{kind:Ve.Tmpl,fn:function uS(l){for(const r of l.units)for(const a of r.ops())Js(a,u=>u instanceof ad?X(l.addConst(u.expr)):u,Mn.None)}},{kind:Ve.Both,fn:function Q0(l){const r=new Map;for(const a of l.units)for(const u of a.create)if(u.kind===Y.ExtractedAttribute){const p=r.get(u.target)||new KP(l.compatibility);r.set(u.target,p),p.add(u.bindingKind,u.name,u.expression,u.namespace,u.trustedValueFn),pe.remove(u)}if(l instanceof fn)for(const a of l.units)for(const u of a.create)if(u.kind==Y.Projection){const p=r.get(u.xref);if(void 0!==p){const f=aS(p);f.entries.length>0&&(u.attributes=f)}}else Aa(u)&&(u.attributes=X0(l,r,u.xref),u.kind===Y.RepeaterCreate&&null!==u.emptyView&&(u.emptyAttributes=X0(l,r,u.emptyView)));else if(l instanceof Hh)for(const[a,u]of r.entries()){if(a!==l.root.xref)throw new Error("An attribute would be const collected into the host binding's template function, but is not associated with the root xref.");const p=aS(u);p.entries.length>0&&(l.root.attributes=p)}}},{kind:Ve.Tmpl,fn:function cD(l){for(const r of l.units)for(const a of r.create)switch(a.kind){case Y.I18nContext:pe.remove(a);break;case Y.I18nStart:a.context=null}}},{kind:Ve.Both,fn:function BR(l){for(const r of l.units){let a=0;for(const u of r.ops())Ju(u)&&(a+=jR(u));for(const u of r.ops())Mi(u,p=>{ts(p)&&(l.compatibility===ui.TemplateDefinitionBuilder&&p instanceof Xc||(P0(p)&&(p.varOffset=a),Ju(p)&&(a+=hp(p))))});if(l.compatibility===ui.TemplateDefinitionBuilder)for(const u of r.ops())Mi(u,p=>{!ts(p)||!(p instanceof Xc)||(P0(p)&&(p.varOffset=a),Ju(p)&&(a+=hp(p)))});r.vars=a}if(l instanceof fn)for(const r of l.units)for(const a of r.create){if(a.kind!==Y.Template&&a.kind!==Y.RepeaterCreate)continue;const u=l.views.get(a.xref);a.vars=u.vars}}},{kind:Ve.Tmpl,fn:function cx(l){for(const r of l.units){const a=new Map;for(const p of r.create)if(ra(p)){if(null===p.handle.slot)throw new Error("AssertionError: expected slots to have been allocated before generating advance() calls");a.set(p.xref,p.handle.slot)}let u=0;for(const p of r.update){let f=null;if(Nh(p)?f=p:Mi(p,D=>{null===f&&Nh(D)&&(f=D)}),null===f)continue;if(!a.has(f.target))throw new Error(`AssertionError: reference to unknown slot for target ${f.target}`);const y=a.get(f.target);if(u!==y){const D=y-u;if(D<0)throw new Error("AssertionError: slot counter should never need to move backwards");pe.insertBefore(ty(D,f.sourceSpan),p),u=y}}}}},{kind:Ve.Both,fn:function US(l){Rm(l.root,l.componentName,{index:0},l.compatibility===ui.TemplateDefinitionBuilder)}},{kind:Ve.Tmpl,fn:function QP(l){for(const r of l.units)for(const a of r.create)if(a.kind===Y.Defer){if(null!==a.resolverFn)continue;if(null!==a.ownResolverFn){if(null===a.handle.slot)throw new Error("AssertionError: slot must be assigned before extracting defer deps functions");const u=r.fnName?.replace("_Template","");a.resolverFn=l.pool.getSharedFunctionReference(a.ownResolverFn,`${u}_Defer_${a.handle.slot}_DepsFn`,!1)}}}},{kind:Ve.Tmpl,fn:function yd(l){for(const r of l.units){for(const a of r.create)(a.kind===Y.Listener||a.kind===Y.TwoWayListener)&&WS(a.handlerOps);WS(r.update)}}},{kind:Ve.Tmpl,fn:function qS(l){for(const r of l.units){const a=new Set;for(const u of r.create)u.kind===Y.ElementStart&&"ng-container"===u.tag&&(u.kind=Y.ContainerStart,a.add(u.xref)),u.kind===Y.ElementEnd&&a.has(u.xref)&&(u.kind=Y.ContainerEnd)}}},{kind:Ve.Tmpl,fn:function sx(l){for(const r of l.units)for(const a of r.create){const u=nx.get(a.kind);if(void 0===u)continue;const[p,f]=u;let y=a.prev;for(;null!==y&&hy.has(y.kind);)y=y.prev;null!==y&&y.kind===p&&(y.kind=f,pe.remove(a))}}},{kind:Ve.Tmpl,fn:function zx(l){const r=new Map;for(const a of l.units)for(const u of a.create)Aa(u)&&r.set(u.xref,u);for(const a of l.units)for(const u of a.create)(u.kind===Y.ElementStart||u.kind===Y.ContainerStart)&&u.nonBindable&&pe.insertAfter(oy(u.xref),u),(u.kind===Y.ElementEnd||u.kind===Y.ContainerEnd)&&z2(r,u.xref).nonBindable&&pe.insertBefore(YP(u.xref),u)}},{kind:Ve.Both,fn:function tk(l){for(const r of l.units)for(const a of r.ops())Mi(a,u=>{if(!(u instanceof Xc)||null===u.body)return;const p=new K2(u.args.length);u.fn=l.pool.getSharedConstant(p,u.body),u.body=null})}},{kind:Ve.Both,fn:function xR(l){for(const r of l.units)TR(r,r.create),lD(r,r.update)}},{kind:Ve.Both,fn:function ao(l){for(const r of l.units)uy(r.create),uy(r.update)}}];function Vy(l,r){for(const a of KR)(a.kind===r||a.kind===Ve.Both)&&a.fn(l)}function jm(l,r){const a=mD(l.root);return fD(l.root,r),a}function fD(l,r){for(const a of l.job.units){if(a.parent!==l.xref)continue;fD(a,r);const u=mD(a);r.statements.push(u.toDeclStmt(u.name))}}function mD(l){if(null===l.fnName)throw new Error(`AssertionError: view ${l.xref} is unnamed`);const r=[];for(const f of l.create){if(f.kind!==Y.Statement)throw new Error(`AssertionError: expected all create ops to have been compiled, but got ${Y[f.kind]}`);r.push(f.statement)}const a=[];for(const f of l.update){if(f.kind!==Y.Statement)throw new Error(`AssertionError: expected all update ops to have been compiled, but got ${Y[f.kind]}`);a.push(f.statement)}const u=Hy(1,r),p=Hy(2,a);return Vo([new Dt("rf"),new Dt("ctx")],[...u,...p],void 0,void 0,l.fnName)}function Hy(l,r){return 0===r.length?[]:[dt(new Ut(Oe.BitwiseAnd,_t("rf"),X(l)),r)]}const Hm=ui.TemplateDefinitionBuilder,fp=new Sy,Cd="ng-template";function Uy(l){return l instanceof bi}function XR(l,r,a,u){let p;const f=r.expression.ast;p=f instanceof Wo?new Zr(f.strings,f.expressions.map(y=>Kt(y,l,r.sourceSpan)),[]):Kt(f,l,r.sourceSpan),l.root.update.push(Gc(l.root.xref,a,r.name,p,null,u,!1,!1,null,null,r.sourceSpan))}function Lk(l,r,a,u){const p=Gc(l.root.xref,tt.Attribute,r,a,null,u,!0,!1,null,null,a.sourceSpan);l.root.update.push(p)}function Pk(l,r){const[a,u]=r.type!==vi.Animation?[null,r.targetOrPhase]:[r.targetOrPhase,null],p=Jw(l.root.xref,new ia,r.name,null,yD(l.root,r.handler,r.handlerSpan),a,u,!0,r.sourceSpan);l.root.create.push(p)}function ul(l,r){for(const a of r)if(a instanceof Ji)_D(l,a);else if(a instanceof On)ZR(l,a);else if(a instanceof bs)JR(l,a);else if(a instanceof Sa)Rk(l,a,null);else if(a instanceof Ka)Ok(l,a,null);else if(a instanceof qf)eO(l,a);else if(a instanceof Uu)tO(l,a);else if(a instanceof Hu)nO(l,a);else if(a instanceof Qa)sO(l,a);else if(a instanceof Eh)rO(l,a);else{if(!(a instanceof tn))throw new Error(`Unsupported template node: ${a.constructor.name}`);Um(l,a)}}function _D(l,r){if(void 0!==r.i18n&&!(r.i18n instanceof bi||r.i18n instanceof Zo))throw Error(`Unhandled i18n metadata type for element: ${r.i18n.constructor.name}`);const a=l.job.allocateXrefId(),[u,p]=ar(r.name),f=function V0(l,r,a,u,p,f){return{kind:Y.ElementStart,xref:r,tag:l,handle:new ia,attributes:null,localRefs:[],nonBindable:!1,namespace:a,i18nPlaceholder:u,startSourceSpan:p,wholeSourceSpan:f,...Jl,...Gt}}(p,a,GP(u),r.i18n instanceof Zo?r.i18n:void 0,r.startSourceSpan,r.sourceSpan);l.create.push(f),function iO(l,r,a){let u=new Array,p=new Set;for(const f of a.attributes){const y=fp.securityContext(a.name,f.name,!0);u.push(Gc(r.xref,tt.Attribute,f.name,$m(l.job,f.value,f.i18n),null,y,!0,!1,null,dl(f.i18n),f.sourceSpan)),f.i18n&&p.add(f.name)}for(const f of a.inputs)p.has(f.name)&&console.error(`On component ${l.job.componentName}, the binding ${f.name} is both an i18n attribute and a property. You may want to remove the property binding. This will become a compilation error in future versions of Angular.`),u.push(Gc(r.xref,Nk.get(f.type),f.name,$m(l.job,_p(f.value),f.i18n),f.unit,f.securityContext,!1,!1,null,dl(f.i18n)??null,f.sourceSpan));l.create.push(u.filter(f=>f?.kind===Y.ExtractedAttribute)),l.update.push(u.filter(f=>f?.kind===Y.Binding));for(const f of a.outputs){if(f.type===vi.Animation&&null===f.phase)throw Error("Animation listener should have a phase");f.type===vi.TwoWay?l.create.push(ay(r.xref,r.handle,f.name,r.tag,Fk(l,f.handler,f.handlerSpan),f.sourceSpan)):l.create.push(Jw(r.xref,r.handle,f.name,r.tag,yD(l,f.handler,f.handlerSpan),f.phase,f.target,!1,f.sourceSpan))}null!==u.some(f=>f?.i18nMessage)&&l.create.push(nS(l.job.allocateXrefId(),new ia,r.xref))}(l,f,r),Yk(f,r);let y=null;r.i18n instanceof bi&&(y=l.job.allocateXrefId(),l.create.push(ly(y,r.i18n,void 0,r.startSourceSpan))),ul(l,r.children);const D=function Zw(l,r){return{kind:Y.ElementEnd,xref:l,sourceSpan:r,...Gt}}(a,r.endSourceSpan??r.startSourceSpan);l.create.push(D),null!==y&&pe.insertBefore(Co(y,r.endSourceSpan??r.startSourceSpan),D)}function ZR(l,r){if(void 0!==r.i18n&&!(r.i18n instanceof bi||r.i18n instanceof Zo))throw Error(`Unhandled i18n metadata type for template: ${r.i18n.constructor.name}`);const a=l.job.allocateView(l.xref);let u=r.tagName,p="";r.tagName&&([p,u]=ar(r.tagName));const f=r.i18n instanceof Zo?r.i18n:void 0,y=GP(p),D=null===u?"":$h(u,y),L=function gp(l){return ar(l.tagName??"")[1]===Cd}(r)?Si.NgTemplate:Si.Structural,R=vm(a.xref,L,u,D,y,f,r.startSourceSpan,r.sourceSpan);l.create.push(R),function oO(l,r,a,u){let p=new Array;for(const f of a.templateAttrs)if(f instanceof Vu){const y=fp.securityContext(Cd,f.name,!0);p.push($y(l,r.xref,_n.Attribute,f.name,f.value,null,y,!0,u,dl(f.i18n),f.sourceSpan))}else p.push($y(l,r.xref,f.type,f.name,_p(f.value),f.unit,f.securityContext,!0,u,dl(f.i18n),f.sourceSpan));for(const f of a.attributes){const y=fp.securityContext(Cd,f.name,!0);p.push($y(l,r.xref,_n.Attribute,f.name,f.value,null,y,!1,u,dl(f.i18n),f.sourceSpan))}for(const f of a.inputs)p.push($y(l,r.xref,f.type,f.name,_p(f.value),f.unit,f.securityContext,!1,u,dl(f.i18n),f.sourceSpan));l.create.push(p.filter(f=>f?.kind===Y.ExtractedAttribute)),l.update.push(p.filter(f=>f?.kind===Y.Binding));for(const f of a.outputs){if(f.type===vi.Animation&&null===f.phase)throw Error("Animation listener should have a phase");if(u===Si.NgTemplate&&(f.type===vi.TwoWay?l.create.push(ay(r.xref,r.handle,f.name,r.tag,Fk(l,f.handler,f.handlerSpan),f.sourceSpan)):l.create.push(Jw(r.xref,r.handle,f.name,r.tag,yD(l,f.handler,f.handlerSpan),f.phase,f.target,!1,f.sourceSpan))),u===Si.Structural&&f.type!==vi.Animation){const y=fp.securityContext(Cd,f.name,!1);l.create.push(Mo(r.xref,tt.Property,null,f.name,null,null,null,y))}}null!==p.some(f=>f?.i18nMessage)&&l.create.push(nS(l.job.allocateXrefId(),new ia,r.xref))}(l,R,r,L),Yk(R,r),ul(a,r.children);for(const{name:j,value:q}of r.variables)a.contextVariables.set(j,""!==q?q:"$implicit");if(L===Si.NgTemplate&&r.i18n instanceof bi){const j=l.job.allocateXrefId();pe.insertAfter(ly(j,r.i18n,void 0,r.startSourceSpan),a.create.head),pe.insertBefore(Co(j,r.endSourceSpan??r.startSourceSpan),a.create.tail)}}function JR(l,r){if(void 0!==r.i18n&&!(r.i18n instanceof Zo))throw Error(`Unhandled i18n metadata type for element: ${r.i18n.constructor.name}`);let a=null;r.children.some(f=>!(f instanceof ju||f instanceof Sa&&!(f.value.trim().length>0)))&&(a=l.job.allocateView(l.xref),ul(a,r.children));const p=function U0(l,r,a,u,p){return{kind:Y.Projection,xref:l,handle:new ia,selector:r,i18nPlaceholder:a,fallbackView:u,projectionSlotIndex:0,attributes:null,localRefs:[],sourceSpan:p,...Gt,...Jl,numSlotsUsed:null===u?1:2}}(l.job.allocateXrefId(),r.selector,r.i18n,a?.xref??null,r.sourceSpan);for(const f of r.attributes){const y=fp.securityContext(r.name,f.name,!0);l.update.push(Gc(p.xref,tt.Attribute,f.name,X(f.value),null,y,!0,!1,null,dl(f.i18n),f.sourceSpan))}l.create.push(p)}function Rk(l,r,a){l.create.push(vt(l.job.allocateXrefId(),r.value,a,r.sourceSpan))}function Ok(l,r,a){let u=r.value;if(u instanceof Xi&&(u=u.ast),!(u instanceof Wo))throw new Error(`AssertionError: expected Interpolation for BoundText node, got ${u.constructor.name}`);if(void 0!==r.i18n&&!(r.i18n instanceof li))throw Error(`Unhandled i18n metadata type for text interpolation: ${r.i18n?.constructor.name}`);const p=r.i18n instanceof li?r.i18n.children.filter(D=>D instanceof Jo).map(D=>D.name):[];if(p.length>0&&p.length!==u.expressions.length)throw Error(`Unexpected number of i18n placeholders (${u.expressions.length}) for BoundText with ${u.expressions.length} expressions`);const f=l.job.allocateXrefId();l.create.push(vt(f,"",a,r.sourceSpan));const y=l.job.compatibility?null:r.sourceSpan;l.update.push(function J_(l,r,a){return{kind:Y.InterpolateText,target:l,interpolation:r,sourceSpan:a,...sa,...Di,...Gt}}(f,new Zr(u.strings,u.expressions.map(D=>Kt(D,l.job,y)),p),r.sourceSpan))}function eO(l,r){let a=null,u=[];for(let p=0;pKt(u,r,a)),void 0,Or(l.span,a))}if(l instanceof wr)return X(l.value,void 0,Or(l.span,a));if(!(l instanceof qo)){if(l instanceof or){const u=qj.get(l.operation);if(void 0===u)throw new Error(`AssertionError: unknown binary operator ${l.operation}`);return new Ut(u,Kt(l.left,r,a),Kt(l.right,r,a),void 0,Or(l.span,a))}if(l instanceof be)return new io(r.root.xref);if(l instanceof Nc)return new Kn(Kt(l.receiver,r,a),Kt(l.key,r,a),void 0,Or(l.span,a));if(l instanceof Vn)throw new Error("AssertionError: Chain in unknown context");if(l instanceof zo){const u=l.keys.map((p,f)=>{const y=l.values[f];return new ai(p.key,Kt(y,r,a),p.quoted)});return new cs(u,void 0,Or(l.span,a))}if(l instanceof Fl)return new ks(l.expressions.map(u=>Kt(u,r,a)));if(l instanceof de)return new yi(Kt(l.condition,r,a),Kt(l.trueExp,r,a),Kt(l.falseExp,r,a),void 0,Or(l.span,a));if(l instanceof Go)return Kt(l.expression,r,a);if(l instanceof Wa)return new rd(r.allocateXrefId(),new ia,l.name,[Kt(l.exp,r,a),...l.args.map(u=>Kt(u,r,a))]);if(l instanceof Dh)return new Vh(Kt(l.receiver,r,a),Kt(l.key,r,a),Or(l.span,a));if(l instanceof $a)return new jh(Kt(l.receiver,r,a),l.name);if(l instanceof ba)return new Ds(Kt(l.receiver,r,a),l.args.map(u=>Kt(u,r,a)));if(l instanceof Xs)return new od(Or(l.span,a));if(l instanceof Sr)return Nu(Kt(l.expression,r,a),Or(l.span,a));throw new Error(`Unhandled expression type "${l.constructor.name}" in file "${a?.start.file.url}"`)}switch(l.operator){case"+":return new xs(sr.Plus,Kt(l.expr,r,a),void 0,Or(l.span,a));case"-":return new xs(sr.Minus,Kt(l.expr,r,a),void 0,Or(l.span,a));default:throw new Error(`AssertionError: unknown unary operator ${l.operator}`)}}function $m(l,r,a,u){let p;return p=r instanceof Wo?new Zr(r.strings,r.expressions.map(f=>Kt(f,l,u??null)),Object.keys(dl(a)?.placeholders??{})):r instanceof ys?Kt(r,l,u??null):X(r),p}const Nk=new Map([[_n.Property,tt.Property],[_n.TwoWay,tt.TwoWayProperty],[_n.Attribute,tt.Attribute],[_n.Class,tt.ClassName],[_n.Style,tt.StyleProperty],[_n.Animation,tt.Animation]]);function dl(l){if(null==l)return null;if(!(l instanceof bi))throw Error(`Expected i18n meta to be a Message, but got: ${l.constructor.name}`);return l}function $y(l,r,a,u,p,f,y,D,L,R,j){const q="string"==typeof p;if(L===Si.Structural){if(!D)switch(a){case _n.Property:case _n.Class:case _n.Style:return Mo(r,tt.Property,null,u,null,null,R,y);case _n.TwoWay:return Mo(r,tt.TwoWayProperty,null,u,null,null,R,y)}if(!q&&(a===_n.Attribute||a===_n.Animation))return null}let le=Nk.get(a);return L===Si.NgTemplate&&(a===_n.Class||a===_n.Style||a===_n.Attribute&&!q)&&(le=tt.Property),Gc(r,le,u,$m(l.job,p,R),f,y,q,D,L,R,j)}function yD(l,r,a){r=_p(r);const u=new Array;let p=r instanceof Vn?r.expressions:[r];if(0===p.length)throw new Error("Expected listener to have non-empty expression list.");const f=p.map(D=>Kt(D,l.job,a)),y=f.pop();return u.push(...f.map(D=>ro(new Qs(D,D.sourceSpan)))),u.push(ro(new rr(y,y.sourceSpan))),u}function Fk(l,r,a){r=_p(r);const u=new Array;if(r instanceof Vn){if(1!==r.expressions.length)throw new Error("Expected two-way listener to have a single expression.");r=r.expressions[0]}const p=Kt(r,l.job,a),f=new An("$event"),y=new sy(p,f);return u.push(ro(new Qs(y))),u.push(ro(new rr(f))),u}function _p(l){return l instanceof Xi?l.ast:l}function Yk(l,r){!function Bk(l){if(!Array.isArray(l))throw new Error("AssertionError: expected an array")}(l.localRefs);for(const{name:a,value:u}of r.references)l.localRefs.push({name:a,target:u})}function Or(l,r){if(null===r)return null;const a=r.start.moveBy(l.start),u=r.start.moveBy(l.end),p=r.fullStart.moveBy(l.start);return new qt(a,u,p)}function zy(l,r,a){let u=null;for(const p of a.children)if(!(p instanceof ju)){if(null!==u)return null;(p instanceof Ji||p instanceof On&&null!==p.tagName)&&(u=p)}if(null!==u){for(const f of u.attributes){const y=fp.securityContext(Cd,f.name,!0);l.update.push(Gc(r,tt.Attribute,f.name,X(f.value),null,y,!0,!1,null,dl(f.i18n),f.sourceSpan))}for(const f of u.inputs)if(f.type!==_n.Animation&&f.type!==_n.Attribute){const y=fp.securityContext(Cd,f.name,!0);l.create.push(Mo(r,tt.Property,null,f.name,null,null,null,y))}const p=u instanceof Ji?u.name:u.tagName;return p===Cd?null:p}return null}function Wy(l,r){return dt(_t(Bc).bitwiseAnd(X(l),null,!1),r)}function Vk(l,r,a,u){const p=[];void 0!==u&&p.push(...u),l.isSignal&&p.push(new gs(_t(Ul),l.propertyName)),p.push(function aO(l,r){if(Array.isArray(l.predicate)){let a=[];return l.predicate.forEach(u=>{const p=u.split(",").map(f=>X(f.trim()));a.push(...p)}),r.getConstLiteral($t(a),!0)}switch(l.predicate.forwardRef){case 0:case 2:return l.predicate.expression;case 1:return Le(G.resolveForwardRef).callFn([l.predicate.expression])}}(l,r),X(function jk(l){return(l.descendants?1:0)|(l.static?2:0)|(l.emitDistinctChangesOnly?4:0)}(l))),l.read&&p.push(l.read);return Le(l.isSignal?a.signalBased:a.nonSignal).callFn(p)}const oc=Symbol("queryAdvancePlaceholder");function xd(l){const r=[];let a=0;const u=()=>{a>0&&(r.unshift(Le(G.queryAdvance).callFn(1===a?[]:[X(a)]).toStmt()),a=0)};for(let p=l.length-1;p>=0;p--){const f=l[p];f===oc?a++:(u(),r.unshift(f))}return u(),r}class vD extends DS{constructor(){super(Px)}parse(r,a,u){return super.parse(r,a,u)}}const $k="animate-";class uO{constructor(r,a,u,p,f=!1){this._exprParser=r,this._interpolationConfig=a,this._schemaRegistry=u,this.errors=p,this._allowInvalidAssignmentEvents=f}get interpolationConfig(){return this._interpolationConfig}createBoundHostProperties(r,a){const u=[];for(const p of Object.keys(r)){const f=r[p];"string"==typeof f?this.parsePropertyBinding(p,f,!0,!1,a,a.start.offset,void 0,[],u,a):this._reportError(`Value of the host property binding "${p}" needs to be a string representing an expression but got "${f}" (${typeof f})`,a)}return u}createDirectiveHostEventAsts(r,a){const u=[];for(const p of Object.keys(r)){const f=r[p];"string"==typeof f?this.parseEvent(p,f,!1,a,a,[],u,a):this._reportError(`Value of the host listener "${p}" needs to be a string representing an expression but got "${f}" (${typeof f})`,a)}return u}parseInterpolation(r,a,u){const p=a.start.toString(),f=a.fullStart.offset;try{const y=this._exprParser.parseInterpolation(r,p,f,u,this._interpolationConfig);return y&&this._reportExpressionParserErrors(y.errors,a),y}catch(y){return this._reportError(`${y}`,a),this._exprParser.wrapLiteralPrimitive("ERROR",p,f)}}parseInterpolationExpression(r,a){const u=a.start.toString(),p=a.start.offset;try{const f=this._exprParser.parseInterpolationExpression(r,u,p);return f&&this._reportExpressionParserErrors(f.errors,a),f}catch(f){return this._reportError(`${f}`,a),this._exprParser.wrapLiteralPrimitive("ERROR",u,p)}}parseInlineTemplateBinding(r,a,u,p,f,y,D,L){const R=u.start.offset+1,j=this._parseTemplateBindings(r,a,u,R,p);for(const q of j){const le=au(u,q.sourceSpan),Se=q.key.source,Ae=au(u,q.key.span);if(q instanceof L_){const qe=q.value?q.value.source:"$implicit",rt=q.value?au(u,q.value.span):void 0;D.push(new In(Se,qe,le,Ae,rt))}else if(q.value){const qe=L?le:u,rt=au(u,q.value.ast.sourceSpan);this._parsePropertyAst(Se,q.value,!1,qe,Ae,rt,f,y)}else f.push([Se,""]),this.parseLiteralAttr(Se,null,Ae,p,void 0,f,y,Ae)}}_parseTemplateBindings(r,a,u,p,f){const y=u.start.toString();try{const D=this._exprParser.parseTemplateBindings(r,a,y,p,f);return this._reportExpressionParserErrors(D.errors,u),D.warnings.forEach(L=>{this._reportError(L,u,Ql.WARNING)}),D.templateBindings}catch(D){return this._reportError(`${D}`,u),[]}}parseLiteralAttr(r,a,u,p,f,y,D,L){kd(r)?(r=r.substring(1),void 0!==L&&(L=au(L,new zr(L.start.offset+1,L.end.offset))),a&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',u,Ql.ERROR),this._parseAnimation(r,a,u,p,L,f,y,D)):D.push(new qa(r,this._exprParser.wrapLiteralPrimitive(a,"",p),Ga.LITERAL_ATTR,u,L,f))}parsePropertyBinding(r,a,u,p,f,y,D,L,R,j){0===r.length&&this._reportError("Property name is missing in binding",f);let q=!1;r.startsWith($k)?(q=!0,r=r.substring(8),void 0!==j&&(j=au(j,new zr(j.start.offset+8,j.end.offset)))):kd(r)&&(q=!0,r=r.substring(1),void 0!==j&&(j=au(j,new zr(j.start.offset+1,j.end.offset)))),q?this._parseAnimation(r,a,f,y,j,D,L,R):this._parsePropertyAst(r,this.parseBinding(a,u,D||f,y),p,f,j,D,L,R)}parsePropertyInterpolation(r,a,u,p,f,y,D,L){const R=this.parseInterpolation(a,p||u,L);return!!R&&(this._parsePropertyAst(r,R,!1,u,D,p,f,y),!0)}_parsePropertyAst(r,a,u,p,f,y,D,L){D.push([r,a.source]),L.push(new qa(r,a,u?Ga.TWO_WAY:Ga.DEFAULT,p,f,y))}_parseAnimation(r,a,u,p,f,y,D,L){0===r.length&&this._reportError("Animation trigger is missing",u);const R=this.parseBinding(a||"undefined",!1,y||u,p);D.push([r,R.source]),L.push(new qa(r,R,Ga.ANIMATION,u,f,y))}parseBinding(r,a,u,p){const f=(u&&u.start||"(unknown)").toString();try{const y=a?this._exprParser.parseSimpleBinding(r,f,p,this._interpolationConfig):this._exprParser.parseBinding(r,f,p,this._interpolationConfig);return y&&this._reportExpressionParserErrors(y.errors,u),y}catch(y){return this._reportError(`${y}`,u),this._exprParser.wrapLiteralPrimitive("ERROR",f,p)}}createBoundElementProperty(r,a,u=!1,p=!0){if(a.isAnimation)return new Vf(a.name,_n.Animation,se.NONE,a.expression,null,a.sourceSpan,a.keySpan,a.valueSpan);let y,f=null,D=null;const L=a.name.split(".");let R;if(L.length>1)if("attr"==L[0]){D=L.slice(1).join("."),u||this._validatePropertyOrAttributeName(D,a.sourceSpan,!0),R=ei(this._schemaRegistry,r,D,!0);const j=D.indexOf(":");if(j>-1){const q=D.substring(0,j),le=D.substring(j+1);D=Bu(q,le)}y=_n.Attribute}else"class"==L[0]?(D=L[1],y=_n.Class,R=[se.NONE]):"style"==L[0]&&(f=L.length>2?L[2]:null,D=L[1],y=_n.Style,R=[se.STYLE]);if(null===D){const j=this._schemaRegistry.getMappedPropName(a.name);D=p?j:a.name,R=ei(this._schemaRegistry,r,j,!1),y=a.type===Ga.TWO_WAY?_n.TwoWay:_n.Property,u||this._validatePropertyOrAttributeName(j,a.sourceSpan,!1)}return new Vf(D,y,R[0],a.expression,f,a.sourceSpan,a.keySpan,a.valueSpan)}parseEvent(r,a,u,p,f,y,D,L){0===r.length&&this._reportError("Event name is missing in binding",p),kd(r)?(r=r.slice(1),void 0!==L&&(L=au(L,new zr(L.start.offset+1,L.end.offset))),this._parseAnimationEvent(r,a,p,f,D,L)):this._parseRegularEvent(r,a,u,p,f,y,D,L)}calcPossibleSecurityContexts(r,a,u){const p=this._schemaRegistry.getMappedPropName(a);return ei(this._schemaRegistry,r,p,u)}_parseAnimationEvent(r,a,u,p,f,y){const D=function Ce(l,r){return mw(l,".",r)}(r,[r,""]),L=D[0],R=D[1].toLowerCase(),j=this._parseAction(a,p);f.push(new wo(L,R,vi.Animation,j,u,p,y)),0===L.length&&this._reportError("Animation event name is missing in binding",u),R?"start"!==R&&"done"!==R&&this._reportError(`The provided animation output phase value "${R}" for "@${L}" is not supported (use start or done)`,u):this._reportError(`The animation trigger output event (@${L}) is missing its phase value name (start or done are currently supported)`,u)}_parseRegularEvent(r,a,u,p,f,y,D,L){const[R,j]=function u0(l,r){return mw(l,":",r)}(r,[null,r]),q=this.errors.length,le=this._parseAction(a,f),Se=this.errors.length===q;y.push([r,le.source]),u&&Se&&!this._isAllowedAssignmentEvent(le)&&this._reportError("Unsupported expression in a two-way binding",p),D.push(new wo(j,R,u?vi.TwoWay:vi.Regular,le,p,f,L))}_parseAction(r,a){const u=(a&&a.start||"(unknown").toString(),p=a&&a.start?a.start.offset:0;try{const f=this._exprParser.parseAction(r,u,p,this._interpolationConfig);return f&&this._reportExpressionParserErrors(f.errors,a),!f||f.ast instanceof Xs?(this._reportError("Empty expressions are not allowed",a),this._exprParser.wrapLiteralPrimitive("ERROR",u,p)):f}catch(f){return this._reportError(`${f}`,a),this._exprParser.wrapLiteralPrimitive("ERROR",u,p)}}_reportError(r,a,u=Ql.ERROR){this.errors.push(new yt(a,r,u))}_reportExpressionParserErrors(r,a){for(const u of r)this._reportError(u.message,a)}_validatePropertyOrAttributeName(r,a,u){const p=u?this._schemaRegistry.validateAttribute(r):this._schemaRegistry.validateProperty(r);p.error&&this._reportError(p.msg,a,Ql.ERROR)}_isAllowedAssignmentEvent(r){return r instanceof Xi?this._isAllowedAssignmentEvent(r.ast):r instanceof Go?this._isAllowedAssignmentEvent(r.expression):r instanceof $o||r instanceof Nc||!!this._allowInvalidAssignmentEvents&&(r instanceof or?("&&"===r.operation||"||"===r.operation||"??"===r.operation)&&(r.right instanceof $o||r.right instanceof Nc):r instanceof de||r instanceof Sr)}}function kd(l){return"@"==l[0]}function ei(l,r,a,u){const p=[];return v.parse(r).forEach(f=>{const y=f.element?[f.element]:l.allKnownElementNames(),D=new Set(f.notSelectors.filter(R=>R.isElementSelector()).map(R=>R.element)),L=y.filter(R=>!D.has(R));p.push(...L.map(R=>l.securityContext(R,a,u)))}),0===p.length?[se.NONE]:Array.from(new Set(p)).sort()}function au(l,r){const a=r.start-l.start.offset,u=r.end-l.end.offset;return new qt(l.start.moveBy(a),l.end.moveBy(u),l.fullStart.moveBy(a),l.details)}const SD=/^([^:/?#]+):/;function yp(l){let r=null,a=null,u=null,p=!1,f="";l.attrs.forEach(L=>{const R=L.name.toLowerCase();"select"==R?r=L.value:"href"==R?a=L.value:"rel"==R?u=L.value:"ngNonBindable"==L.name?p=!0:"ngProjectAs"==L.name&&L.value.length>0&&(f=L.value)}),r=function qk(l){return null===l||0===l.length?"*":l}(r);const y=l.name.toLowerCase();let D=To.OTHER;return Wr(y)?D=To.NG_CONTENT:"style"==y?D=To.STYLE:"script"==y?D=To.SCRIPT:"link"==y&&"stylesheet"==u&&(D=To.STYLESHEET),new Ky(D,r,a,p,f)}var To;!function(l){l[l.NG_CONTENT=0]="NG_CONTENT",l[l.STYLE=1]="STYLE",l[l.STYLESHEET=2]="STYLESHEET",l[l.SCRIPT=3]="SCRIPT",l[l.OTHER=4]="OTHER"}(To||(To={}));class Ky{constructor(r,a,u,p,f){this.type=r,this.selectAttr=a,this.hrefAttr=u,this.nonBindable=p,this.projectAs=f}}const Gk=/^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/,pO=/^track\s+([\S\s]*)/,qm=/^(as\s)+(.*)/,MD=/^else[^\S\r\n]+if/,fO=/^let\s+([\S\s]*)/,Kk=/(\s*)(\S+)(\s*)/,Gm=new Set(["$index","$first","$last","$even","$odd","$count"]);function Qk(l){return"empty"===l}function Xk(l){return"else"===l||MD.test(l)}function mO(l,r,a,u){const p=function Zk(l){const r=[];let a=!1;for(let u=0;u1&&u0&&r.push(new yt(p.startSourceSpan,"@else block cannot have parameters")),a=!0):MD.test(p.name)||r.push(new yt(p.startSourceSpan,`Unrecognized conditional block @${p.name}`))}return r}(r),f=[],y=CD(l,p,u);null!==y&&f.push(new Ge(y.expression,Lt(a,l.children,l.children),y.expressionAlias,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.nameSpan,l.i18n));for(const q of r)if(MD.test(q.name)){const le=CD(q,p,u);if(null!==le){const Se=Lt(a,q.children,q.children);f.push(new Ge(le.expression,Se,le.expressionAlias,q.sourceSpan,q.startSourceSpan,q.endSourceSpan,q.nameSpan,q.i18n))}}else if("else"===q.name){const le=Lt(a,q.children,q.children);f.push(new Ge(null,le,null,q.sourceSpan,q.startSourceSpan,q.endSourceSpan,q.nameSpan,q.i18n))}const D=f.length>0?f[0].startSourceSpan:l.startSourceSpan,L=f.length>0?f[f.length-1].endSourceSpan:l.endSourceSpan;let R=l.sourceSpan;const j=f[f.length-1];return void 0!==j&&(R=new qt(D.start,j.sourceSpan.end)),{node:new qf(f,R,l.startSourceSpan,L,l.nameSpan),errors:p}}function gO(l,r,a,u){const p=[],f=function _O(l,r,a){if(0===l.parameters.length)return r.push(new yt(l.startSourceSpan,"@for loop does not have an expression")),null;const[u,...p]=l.parameters,f=function vO(l,r){const a=l.expression,u=/^\s$/;let p=0,f=0,y=a.length-1;for(let D=0;D-1;D--){const L=a[D];if(")"!==L){if(u.test(L))continue;break}if(y=D,p--,0===p)break}return 0!==p?(r.push(new yt(l.sourceSpan,"Unclosed parentheses in expression")),null):a.slice(f,y)}(u,r)?.match(Gk);if(!f||0===f[2].trim().length)return r.push(new yt(u.sourceSpan,'Cannot parse expression. @for loop expression must match the pattern " of "')),null;const[,y,D]=f;Gm.has(y)&&r.push(new yt(u.sourceSpan,`@for loop item name cannot be one of ${Array.from(Gm).join(", ")}.`));const L=u.expression.split(" ")[0],R=new qt(u.sourceSpan.start,u.sourceSpan.start.moveBy(L.length)),j={itemName:new Gr(y,"$implicit",R,R),trackBy:null,expression:Td(u,a,D),context:Array.from(Gm,q=>{const le=new qt(l.startSourceSpan.end,l.startSourceSpan.end);return new Gr(q,q,le,le)})};for(const q of p){const le=q.expression.match(fO);if(null!==le){const Ae=new qt(q.sourceSpan.start.moveBy(le[0].length-le[1].length),q.sourceSpan.end);yO(q.sourceSpan,le[1],Ae,y,j.context,r);continue}const Se=q.expression.match(pO);if(null===Se)r.push(new yt(q.sourceSpan,`Unrecognized @for loop paramater "${q.expression}"`));else if(null!==j.trackBy)r.push(new yt(q.sourceSpan,'@for loop can only have one "track" expression'));else{const Ae=Td(q,a,Se[1]);Ae.ast instanceof Xs&&r.push(new yt(l.startSourceSpan,'@for loop must have a "track" expression'));const qe=new qt(q.sourceSpan.start,q.sourceSpan.start.moveBy(5));j.trackBy={expression:Ae,keywordSpan:qe}}}return j}(l,p,u);let y=null,D=null;for(const L of r)"empty"===L.name?null!==D?p.push(new yt(L.sourceSpan,"@for loop can only have one @empty block")):L.parameters.length>0?p.push(new yt(L.sourceSpan,"@empty block cannot have parameters")):D=new vs(Lt(a,L.children,L.children),L.sourceSpan,L.startSourceSpan,L.endSourceSpan,L.nameSpan,L.i18n):p.push(new yt(L.sourceSpan,`Unrecognized @for loop block "${L.name}"`));if(null!==f)if(null===f.trackBy)p.push(new yt(l.startSourceSpan,'@for loop must have a "track" expression'));else{const L=D?.endSourceSpan??l.endSourceSpan,R=new qt(l.sourceSpan.start,L?.end??l.sourceSpan.end);y=new Eh(f.itemName,f.expression,f.trackBy.expression,f.trackBy.keywordSpan,f.context,Lt(a,l.children,l.children),D,R,l.sourceSpan,l.startSourceSpan,L,l.nameSpan,l.i18n)}return{node:y,errors:p}}function xi(l,r,a){const u=function Jk(l){const r=[];let a=!1;if(1!==l.parameters.length)return r.push(new yt(l.startSourceSpan,"@switch block must have exactly one parameter")),r;for(const u of l.children)if(!(u instanceof Qh||u instanceof Gh&&0===u.value.trim().length)){if(!(u instanceof $i)||"case"!==u.name&&"default"!==u.name){r.push(new yt(u.sourceSpan,"@switch block can only contain @case and @default blocks"));continue}"default"===u.name?(a?r.push(new yt(u.startSourceSpan,"@switch block can only have one @default block")):u.parameters.length>0&&r.push(new yt(u.startSourceSpan,"@default block cannot have parameters")),a=!0):"case"===u.name&&1!==u.parameters.length&&r.push(new yt(u.startSourceSpan,"@case block must have exactly one parameter"))}return r}(l),p=l.parameters.length>0?Td(l.parameters[0],a):a.parseBinding("",!1,l.sourceSpan,0),f=[],y=[];let D=null;for(const L of l.children){if(!(L instanceof $i))continue;if(("case"!==L.name||0===L.parameters.length)&&"default"!==L.name){y.push(new qr(L.name,L.sourceSpan,L.nameSpan));continue}const R="case"===L.name?Td(L.parameters[0],a):null,j=new Wf(R,Lt(r,L.children,L.children),L.sourceSpan,L.startSourceSpan,L.endSourceSpan,L.nameSpan,L.i18n);null===R?D=j:f.push(j)}return null!==D&&f.push(D),{node:new Uu(p,f,y,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.nameSpan),errors:u}}function yO(l,r,a,u,p,f){const y=r.split(",");let D=a.start;for(const L of y){const R=L.split("="),j=2===R.length?R[0].trim():"",q=2===R.length?R[1].trim():"";if(0===j.length||0===q.length)f.push(new yt(l,'Invalid @for loop "let" parameter. Parameter should match the pattern " = "'));else if(Gm.has(q))if(j===u)f.push(new yt(l,`Invalid @for loop "let" parameter. Variable cannot be called "${u}"`));else if(p.some(le=>le.name===j))f.push(new yt(l,`Duplicate "let" parameter variable "${q}"`));else{const[,le,Se]=R[0].match(Kk)??[],Ae=void 0!==le&&2===R.length?new qt(D.moveBy(le.length),D.moveBy(le.length+Se.length)):a;let qe;if(2===R.length){const[,ot,gn]=R[1].match(Kk)??[];qe=void 0!==ot?new qt(D.moveBy(R[0].length+1+ot.length),D.moveBy(R[0].length+1+ot.length+gn.length)):void 0}const rt=new qt(Ae.start,qe?.end??Ae.end);p.push(new Gr(j,q,rt,Ae,qe))}else f.push(new yt(l,`Unknown "let" parameter variable "${q}". The allowed variables are: ${Array.from(Gm).join(", ")}`));D=D.moveBy(L.length+1)}}function Td(l,r,a){let u,p;return"string"==typeof a?(u=Math.max(0,l.expression.lastIndexOf(a)),p=u+a.length):(u=0,p=l.expression.length),r.parseBinding(l.expression.slice(u,p),!1,l.sourceSpan,l.sourceSpan.start.offset+u)}function CD(l,r,a){if(0===l.parameters.length)return r.push(new yt(l.startSourceSpan,"Conditional block does not have an expression")),null;const u=Td(l.parameters[0],a);let p=null;for(let f=1;f0&&this.index0)throw new Error(`"${ki.IDLE}" trigger cannot have parameters`);return new So(r,a,u,p)}(a,p,R,L,D));break;case ki.TIMER:this.trackTrigger("timer",function TD(l,r,a,u,p){if(1!==l.length)throw new Error(`"${ki.TIMER}" trigger must have exactly one parameter`);const f=bp(l[0]);if(null===f)throw new Error(`Could not parse time value of trigger "${ki.TIMER}"`);return new ww(f,r,a,u,p)}(a,p,R,this.prefetchSpan,this.onSourceSpan));break;case ki.INTERACTION:this.trackTrigger("interaction",function wO(l,r,a,u,p,f){return AD(ki.INTERACTION,l,f),new N_(l[0]??null,r,a,u,p)}(a,p,R,this.prefetchSpan,this.onSourceSpan,this.placeholder));break;case ki.IMMEDIATE:this.trackTrigger("immediate",function ID(l,r,a,u,p){if(l.length>0)throw new Error(`"${ki.IMMEDIATE}" trigger cannot have parameters`);return new bw(r,a,u,p)}(a,p,R,this.prefetchSpan,this.onSourceSpan));break;case ki.HOVER:this.trackTrigger("hover",function bO(l,r,a,u,p,f){return AD(ki.HOVER,l,f),new Uf(l[0]??null,r,a,u,p)}(a,p,R,this.prefetchSpan,this.onSourceSpan,this.placeholder));break;case ki.VIEWPORT:this.trackTrigger("viewport",function SO(l,r,a,u,p,f){return AD(ki.VIEWPORT,l,f),new F_(l[0]??null,r,a,u,p)}(a,p,R,this.prefetchSpan,this.onSourceSpan,this.placeholder));break;default:throw new Error(`Unrecognized trigger type "${r}"`)}}catch(j){this.error(r,j.message)}}consumeParameters(){const r=[];if(!this.token().isCharacter(40))return this.unexpectedToken(this.token()),r;this.advance();const a=[];let u="";for(;this.index0&&p.isCharacter(a[a.length-1])&&a.pop(),0===a.length&&p.isCharacter(44)&&u.length>0)?(r.push(u),u="",this.advance()):(u+=this.tokenText(),this.advance())}return(!this.token().isCharacter(41)||a.length>0)&&this.error(this.token(),"Unexpected end of expression"),this.index1)throw new Error(`"${l}" trigger can only have zero or one parameters`);if(0===r.length){if(null===a)throw new Error(`"${l}" trigger with no parameters can only be placed on an @defer that has a @placeholder block`);if(1!==a.children.length||!(a.children[0]instanceof Ji))throw new Error(`"${l}" trigger with no parameters can only be placed on an @defer that has a @placeholder block with exactly one root element node`)}}function vp(l,r=0){let a=!1;for(let u=r;u0){const Ae=r[r.length-1];j=Ae.endSourceSpan,q=Ae.sourceSpan.end}const le=new qt(l.sourceSpan.start,q);return{node:new Hu(Lt(a,l.children,l.children),L,R,f,y,D,l.nameSpan,le,l.sourceSpan,l.startSourceSpan,j,l.i18n),errors:p}}function cT(l,r){let a=null;for(const u of l.parameters){if(!PD.test(u.expression))throw new Error(`Unrecognized parameter in @placeholder block: "${u.expression}"`);{if(null!=a)throw new Error('@placeholder block can only have one "minimum" parameter');const p=bp(u.expression.slice(vp(u.expression)));if(null===p)throw new Error('Could not parse time value of parameter "minimum"');a=p}}return new jl(Lt(r,l.children,l.children),a,l.nameSpan,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.i18n)}function Ti(l,r){let a=null,u=null;for(const p of l.parameters)if(oT.test(p.expression)){if(null!=a)throw new Error('@loading block can only have one "after" parameter');const f=bp(p.expression.slice(vp(p.expression)));if(null===f)throw new Error('Could not parse time value of parameter "after"');a=f}else{if(!PD.test(p.expression))throw new Error(`Unrecognized parameter in @loading block: "${p.expression}"`);{if(null!=u)throw new Error('@loading block can only have one "minimum" parameter');const f=bp(p.expression.slice(vp(p.expression)));if(null===f)throw new Error('Could not parse time value of parameter "minimum"');u=f}}return new $f(Lt(r,l.children,l.children),a,u,l.nameSpan,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.i18n)}function Xy(l,r){if(l.parameters.length>0)throw new Error("@error block cannot have parameters");return new zf(Lt(r,l.children,l.children),l.nameSpan,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.i18n)}const pV=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,ac_BANANA_BOX={start:"[(",end:")]"},ac_PROPERTY={start:"[",end:"]"},ac_EVENT={start:"(",end:")"};class MO{constructor(r,a){this.bindingParser=r,this.options=a,this.errors=[],this.styles=[],this.styleUrls=[],this.ngContentSelectors=[],this.commentNodes=[],this.inI18nBlock=!1,this.processedNodes=new Set}visitElement(r){const a=Uy(r.i18n);a&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",r.sourceSpan),this.inI18nBlock=!0);const u=yp(r);if(u.type===To.SCRIPT)return null;if(u.type===To.STYLE){const rt=function gV(l){return 1===l.children.length&&l.children[0]instanceof Gh?l.children[0].value:null}(r);return null!==rt&&this.styles.push(rt),null}if(u.type===To.STYLESHEET&&function wD(l){if(null==l||0===l.length||"/"==l[0])return!1;const r=l.match(SD);return null===r||"package"==r[1]||"asset"==r[1]}(u.hrefAttr))return this.styleUrls.push(u.hrefAttr),null;const p=function Ko(l){return"ng-template"===ar(l)[1]}(r.name),f=[],y=[],D=[],L=[],R=[],j={},q=[],le=[];let Ae,qe,Se=!1;for(const rt of r.attrs){let ot=!1;const gn=BD(rt.name);let ti=!1;if(rt.i18n&&(j[rt.name]=rt.i18n),gn.startsWith("*")){Se&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",rt.sourceSpan),ti=!0,Se=!0;const la=rt.value,Hn=gn.substring(1),cg=[],cN=rt.valueSpan?rt.valueSpan.start.offset:rt.sourceSpan.start.offset+rt.name.length;this.bindingParser.parseInlineTemplateBinding(Hn,la,rt.sourceSpan,cN,[],q,cg,!0),le.push(...cg.map(ug=>new Gr(ug.name,ug.value,ug.sourceSpan,ug.keySpan,ug.valueSpan)))}else ot=this.parseAttribute(p,rt,[],f,y,D,L);!ot&&!ti&&R.push(this.visitAttribute(rt))}if(Ae=u.nonBindable?Lt(mV,r.children).flat(1/0):Lt(this,r.children,r.children),u.type===To.NG_CONTENT){const rt=u.selectAttr,ot=r.attrs.map(gn=>this.visitAttribute(gn));qe=new bs(rt,ot,Ae,r.sourceSpan,r.i18n),this.ngContentSelectors.push(rt)}else if(p){const rt=this.extractAttributes(r.name,f,j);qe=new On(r.name,R,rt.bound,y,[],Ae,L,D,r.sourceSpan,r.startSourceSpan,r.endSourceSpan,r.i18n)}else{const rt=this.extractAttributes(r.name,f,j);qe=new Ji(r.name,R,rt.bound,y,Ae,L,r.sourceSpan,r.startSourceSpan,r.endSourceSpan,r.i18n)}if(Se){const rt=this.extractAttributes("ng-template",q,j),ot=[];rt.literal.forEach(Hn=>ot.push(Hn)),rt.bound.forEach(Hn=>ot.push(Hn));const gn=qe instanceof Ji?{attributes:qe.attributes,inputs:qe.inputs,outputs:qe.outputs}:{attributes:[],inputs:[],outputs:[]},ti=p&&a?void 0:r.i18n,la=qe instanceof On?null:qe.name;qe=new On(la,gn.attributes,gn.inputs,gn.outputs,ot,[qe],[],le,r.sourceSpan,r.startSourceSpan,r.endSourceSpan,ti)}return a&&(this.inI18nBlock=!1),qe}visitAttribute(r){return new Vu(r.name,r.value,r.sourceSpan,r.keySpan,r.valueSpan,r.i18n)}visitText(r){return this.processedNodes.has(r)?null:this._visitTextWithInterpolation(r.value,r.sourceSpan,r.tokens,r.i18n)}visitExpansion(r){if(!r.i18n)return null;if(!Uy(r.i18n))throw new Error(`Invalid type "${r.i18n.constructor}" for "i18n" property of ${r.sourceSpan.toString()}. Expected a "Message"`);const a=r.i18n,u={},p={};return Object.keys(a.placeholders).forEach(f=>{const y=a.placeholders[f];if(f.startsWith("VAR_")){const D=f.trim(),L=this.bindingParser.parseInterpolationExpression(y.text,y.sourceSpan);u[D]=new Ka(L,y.sourceSpan)}else p[f]=this._visitTextWithInterpolation(y.text,y.sourceSpan,null)}),new Qa(u,p,r.sourceSpan,a)}visitExpansionCase(r){return null}visitComment(r){return this.options.collectCommentNodes&&this.commentNodes.push(new ju(r.value||"",r.sourceSpan)),null}visitLetDeclaration(r,a){const u=this.bindingParser.parseBinding(r.value,!1,r.valueSpan,r.valueSpan.start.offset);return 0===u.errors.length&&u.ast instanceof Xs&&this.reportError("@let declaration value cannot be empty",r.valueSpan),new tn(r.name,u,r.sourceSpan,r.nameSpan,r.valueSpan)}visitBlockParameter(){return null}visitBlock(r,a){const u=Array.isArray(a)?a.indexOf(r):-1;if(-1===u)throw new Error("Visitor invoked incorrectly. Expecting visitBlock to be invoked siblings array as its context");if(this.processedNodes.has(r))return null;let p=null;switch(r.name){case"defer":p=OD(r,this.findConnectedBlocks(u,a,RD),this,this.bindingParser);break;case"switch":p=xi(r,this,this.bindingParser);break;case"for":p=gO(r,this.findConnectedBlocks(u,a,Qk),this,this.bindingParser);break;case"if":p=mO(r,this.findConnectedBlocks(u,a,Xk),this,this.bindingParser);break;default:let f;RD(r.name)?(f=`@${r.name} block can only be used after an @defer block.`,this.processedNodes.add(r)):Qk(r.name)?(f=`@${r.name} block can only be used after an @for block.`,this.processedNodes.add(r)):Xk(r.name)?(f=`@${r.name} block can only be used after an @if or @else if block.`,this.processedNodes.add(r)):f=`Unrecognized block @${r.name}.`,p={node:new qr(r.name,r.sourceSpan,r.nameSpan),errors:[new yt(r.sourceSpan,f)]}}return this.errors.push(...p.errors),p.node}findConnectedBlocks(r,a,u){const p=[];for(let f=r+1;f{const D=u[y.name];if(y.isLiteral)f.push(new Vu(y.name,y.expression.source||"",y.sourceSpan,y.keySpan,y.valueSpan,D));else{const L=this.bindingParser.createBoundElementProperty(r,y,!0,!1);p.push(Ch.fromBoundElementProperty(L,D))}}),{bound:p,literal:f}}parseAttribute(r,a,u,p,f,y,D){const L=BD(a.name),R=a.value,j=a.sourceSpan,q=a.valueSpan?a.valueSpan.start.offset:j.start.offset;function le(ot,gn,ti){const la=a.name.length-L.length,Hn=ot.start.moveBy(gn.length+la),cg=Hn.moveBy(ti.length);return new qt(Hn,cg,Hn,ti)}const Se=L.match(pV);if(Se){if(null!=Se[1]){const ot=Se[7],gn=le(j,Se[1],ot);this.bindingParser.parsePropertyBinding(ot,R,!1,!1,j,q,a.valueSpan,u,p,gn)}else if(Se[2])if(r){const ot=Se[7],gn=le(j,Se[2],ot);this.parseVariable(ot,R,j,gn,a.valueSpan,y)}else this.reportError('"let-" is only supported on ng-template elements.',j);else if(Se[3]){const ot=Se[7],gn=le(j,Se[3],ot);this.parseReference(ot,R,j,gn,a.valueSpan,D)}else if(Se[4]){const ot=[],gn=Se[7],ti=le(j,Se[4],gn);this.bindingParser.parseEvent(gn,R,!1,j,a.valueSpan||j,u,ot,ti),jD(ot,f)}else if(Se[5]){const ot=Se[7],gn=le(j,Se[5],ot);this.bindingParser.parsePropertyBinding(ot,R,!1,!0,j,q,a.valueSpan,u,p,gn),this.parseAssignmentEvent(ot,R,j,a.valueSpan,u,f,gn)}else if(Se[6]){const ot=le(j,"",L);this.bindingParser.parseLiteralAttr(L,R,j,q,a.valueSpan,u,p,ot)}return!0}let Ae=null;if(L.startsWith(ac_BANANA_BOX.start)?Ae=ac_BANANA_BOX:L.startsWith(ac_PROPERTY.start)?Ae=ac_PROPERTY:L.startsWith(ac_EVENT.start)&&(Ae=ac_EVENT),null!==Ae&&L.endsWith(Ae.end)&&L.length>Ae.start.length+Ae.end.length){const ot=L.substring(Ae.start.length,L.length-Ae.end.length),gn=le(j,Ae.start,ot);if(Ae.start===ac_BANANA_BOX.start)this.bindingParser.parsePropertyBinding(ot,R,!1,!0,j,q,a.valueSpan,u,p,gn),this.parseAssignmentEvent(ot,R,j,a.valueSpan,u,f,gn);else if(Ae.start===ac_PROPERTY.start)this.bindingParser.parsePropertyBinding(ot,R,!1,!1,j,q,a.valueSpan,u,p,gn);else{const ti=[];this.bindingParser.parseEvent(ot,R,!1,j,a.valueSpan||j,u,ti,gn),jD(ti,f)}return!0}const qe=le(j,"",L);return this.bindingParser.parsePropertyInterpolation(L,R,j,a.valueSpan,u,p,qe,a.valueTokens??null)}_visitTextWithInterpolation(r,a,u,p){const f=Sx(r),y=this.bindingParser.parseInterpolation(f,a,u);return y?new Ka(y,a,p):new Sa(f,a)}parseVariable(r,a,u,p,f,y){r.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',u):0===r.length&&this.reportError("Variable does not have a name",u),y.push(new Gr(r,a,u,p,f))}parseReference(r,a,u,p,f,y){r.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',u):0===r.length?this.reportError("Reference does not have a name",u):y.some(D=>D.name===r)&&this.reportError(`Reference "#${r}" is defined more than once`,u),y.push(new Dr(r,a,u,p,f))}parseAssignmentEvent(r,a,u,p,f,y,D){const L=[];this.bindingParser.parseEvent(`${r}Change`,a,!0,u,p||u,f,L,D),jD(L,y)}reportError(r,a,u=Ql.ERROR){this.errors.push(new yt(a,r,u))}}const mV=new class fV{visitElement(r){const a=yp(r);if(a.type===To.SCRIPT||a.type===To.STYLE||a.type===To.STYLESHEET)return null;const u=Lt(this,r.children,null);return new Ji(r.name,Lt(this,r.attrs),[],[],u,[],r.sourceSpan,r.startSourceSpan,r.endSourceSpan)}visitComment(r){return null}visitAttribute(r){return new Vu(r.name,r.value,r.sourceSpan,r.keySpan,r.valueSpan,r.i18n)}visitText(r){return new Sa(r.value,r.sourceSpan)}visitExpansion(r){return null}visitExpansionCase(r){return null}visitBlock(r,a){const u=[new Sa(r.startSourceSpan.toString(),r.startSourceSpan),...Lt(this,r.children)];return null!==r.endSourceSpan&&u.push(new Sa(r.endSourceSpan.toString(),r.endSourceSpan)),u}visitBlockParameter(r,a){return null}visitLetDeclaration(r,a){return new Sa(`@let ${r.name} = ${r.value};`,r.sourceSpan)}};function BD(l){return/^data-/i.test(l)?l.substring(5):l}function jD(l,r){r.push(...l.map(a=>Hf.fromParsedEvent(a)))}const _V=[" ","\n","\r","\t"];function VD(l,r,a={}){const{interpolationConfig:u,preserveWhitespaces:p,enableI18nLegacyMessageIdFormat:f,allowInvalidAssignmentEvents:y}=a,D=Km(u,y),R=(new vD).parse(l,r,{leadingTriviaChars:_V,...a,tokenizeExpansionForms:!0,tokenizeBlocks:a.enableBlockSyntax??!0,tokenizeLet:a.enableLetSyntax??!0});if(!a.alwaysAttemptHtmlToR3AstConversion&&R.errors&&R.errors.length>0){const Hn={interpolationConfig:u,preserveWhitespaces:p,errors:R.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return a.collectCommentNodes&&(Hn.commentNodes=[]),Hn}let j=R.rootNodes;const q=!(a.preserveSignificantWhitespace??1),le=new Pm(u,!p,f,void 0,a.preserveSignificantWhitespace,q),Se=le.visitAllWithErrors(j);if(!a.alwaysAttemptHtmlToR3AstConversion&&Se.errors&&Se.errors.length>0){const Hn={interpolationConfig:u,preserveWhitespaces:p,errors:Se.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return a.collectCommentNodes&&(Hn.commentNodes=[]),Hn}j=Se.rootNodes,p||(j=Lt(new by(!0,void 0,!1),j),le.hasI18nMeta&&(j=Lt(new Pm(u,!1,void 0,void 0,!0,q),j)));const{nodes:Ae,errors:qe,styleUrls:rt,styles:ot,ngContentSelectors:gn,commentNodes:ti}=function hT(l,r,a){const u=new MO(r,a),y={nodes:Lt(u,l,l),errors:r.errors.concat(u.errors),styleUrls:u.styleUrls,styles:u.styles,ngContentSelectors:u.ngContentSelectors};return a.collectCommentNodes&&(y.commentNodes=u.commentNodes),y}(j,D,{collectCommentNodes:!!a.collectCommentNodes});qe.push(...R.errors,...Se.errors);const la={interpolationConfig:u,preserveWhitespaces:p,errors:qe.length>0?qe:null,nodes:Ae,styleUrls:rt,styles:ot,ngContentSelectors:gn};return a.collectCommentNodes&&(la.commentNodes=ti),la}const pT=new Sy;function Km(l=Br,r=!1){return new uO(new LS(new _d),l,pT,[],r)}const CO="_nghost-%COMP%",HD="_ngcontent-%COMP%";function Qm(l,r,a){const u=new Rn,p=Je(l.selector);return u.set("type",l.type.value),p.length>0&&u.set("selectors",We(p)),l.queries.length>0&&u.set("contentQueries",function dV(l,r,a){const u=[],p=[],f=ds(D=>p.push(D),Pe);for(const D of l){if(u.push(Vk(D,r,{nonSignal:G.contentQuery,signalBased:G.contentQuerySignal},[_t("dirIndex")]).toStmt()),D.isSignal){p.push(oc);continue}const L=f(),R=Le(G.loadQuery).callFn([]),j=Le(G.queryRefresh).callFn([L.set(R)]),q=_t(Ul).prop(D.propertyName).set(D.first?L.prop("first"):L);p.push(j.and(q).toStmt())}const y=a?`${a}_ContentQueries`:null;return Vo([new Dt(Bc,on),new Dt(Ul,null),new Dt("dirIndex",null)],[Wy(1,u),Wy(2,xd(p))],Nt,null,y)}(l.queries,r,l.name)),l.viewQueries.length&&u.set("viewQuery",function zm(l,r,a){const u=[],p=[],f=ds(D=>p.push(D),Pe);l.forEach(D=>{const L=Vk(D,r,{signalBased:G.viewQuerySignal,nonSignal:G.viewQuery});if(u.push(L.toStmt()),D.isSignal)return void p.push(oc);const R=f(),j=Le(G.loadQuery).callFn([]),q=Le(G.queryRefresh).callFn([R.set(j)]),le=_t(Ul).prop(D.propertyName).set(D.first?R.prop("first"):R);p.push(q.and(le).toStmt())});const y=a?`${a}_Query`:null;return Vo([new Dt(Bc,on),new Dt(Ul,null)],[Wy(1,u),Wy(2,xd(p))],Nt,null,y)}(l.viewQueries,r,l.name)),u.set("hostBindings",function yV(l,r,a,u,p,f,y){const D=a.createBoundHostProperties(l.properties,r),L=a.createDirectiveHostEventAsts(l.listeners,r);l.specialAttributes.styleAttr&&(l.attributes.style=X(l.specialAttributes.styleAttr)),l.specialAttributes.classAttr&&(l.attributes.class=X(l.specialAttributes.classAttr));const R=function Ak(l,r,a){const u=new Hh(l.componentName,a,Hm);for(const p of l.properties??[]){let f=tt.Property;p.name.startsWith("attr.")&&(p.name=p.name.substring(5),f=tt.Attribute),p.isAnimation&&(f=tt.Animation),XR(u,p,f,r.calcPossibleSecurityContexts(l.componentSelector,p.name,f===tt.Attribute).filter(D=>D!==se.NONE))}for(const[p,f]of Object.entries(l.attributes)??[])Lk(u,p,f,r.calcPossibleSecurityContexts(l.componentSelector,p,!0).filter(D=>D!==se.NONE));for(const p of l.events??[])Pk(u,p);return u}({componentName:f,componentSelector:p,properties:D,events:L,attributes:l.attributes},a,u);Vy(R,Ve.Host),y.set("hostAttrs",R.root.attributes);const j=R.root.vars;return null!==j&&j>0&&y.set("hostVars",X(j)),function Vm(l){if(null===l.root.fnName)throw new Error("AssertionError: host binding function is unnamed");const r=[];for(const f of l.root.create){if(f.kind!==Y.Statement)throw new Error(`AssertionError: expected all create ops to have been compiled, but got ${Y[f.kind]}`);r.push(f.statement)}const a=[];for(const f of l.root.update){if(f.kind!==Y.Statement)throw new Error(`AssertionError: expected all update ops to have been compiled, but got ${Y[f.kind]}`);a.push(f.statement)}if(0===r.length&&0===a.length)return null;const u=Hy(1,r),p=Hy(2,a);return Vo([new Dt("rf"),new Dt("ctx")],[...u,...p],void 0,void 0,l.root.fnName)}(R)}(l.host,l.typeSourceSpan,a,r,l.selector||"",l.name,u)),u.set("inputs",Fs(l.inputs,!0)),u.set("outputs",Fs(l.outputs)),null!==l.exportAs&&u.set("exportAs",$t(l.exportAs.map(f=>X(f)))),l.isStandalone&&u.set("standalone",X(!0)),l.isSignal&&u.set("signals",X(!0)),u}function UD(l,r){const a=[],u=r.providers,p=r.viewProviders,f=Object.keys(r.inputs);if(u||p){const y=[u||new ks([])];p&&y.push(p),a.push(Le(G.ProvidersFeature).callFn(y))}for(const y of f)if(null!==r.inputs[y].transformFunction){a.push(Le(G.InputTransformsFeatureFeature));break}r.hostDirectives?.length&&a.push(Le(G.HostDirectivesFeature).callFn([yT(r.hostDirectives)])),r.usesInheritance&&a.push(Le(G.InheritDefinitionFeature)),r.fullInheritance&&a.push(Le(G.CopyDefinitionFeature)),r.lifecycle.usesOnChanges&&a.push(Le(G.NgOnChangesFeature)),r.hasOwnProperty("template")&&r.isStandalone&&a.push(Le(G.StandaloneFeature)),a.length&&l.set("features",$t(a))}function EO(l,r,a){const u=Qm(l,r,a);UD(u,l);const p=l.selector&&v.parse(l.selector),f=p&&p[0];if(f){const le=f.getAttrs();le.length&&u.set("attrs",r.getConstLiteral($t(le.map(Se=>X(null!=Se?Se:void 0))),!0))}const y=l.name;let D=null;if(1===l.defer.mode&&null!==l.defer.dependenciesFn){const le=`${y}_DeferFn`;r.statements.push(new Fr(le,l.defer.dependenciesFn,void 0,ut.Final)),D=_t(le)}const L=function QR(l,r,a,u,p,f,y){const D=new fn(l,a,Hm,u,p,f,y);return ul(D.root,r),D}(l.name,l.template.nodes,r,l.relativeContextFilePath,l.i18nUseExternalIds,l.defer,D);Vy(L,Ve.Tmpl);const R=jm(L,r);if(null!==L.contentSelectors&&u.set("ngContentSelectors",L.contentSelectors),u.set("decls",X(L.root.decls)),u.set("vars",X(L.root.vars)),L.consts.length>0&&(L.constsInitializers.length>0?u.set("consts",Et([],[...L.constsInitializers,new rr($t(L.consts))])):u.set("consts",$t(L.consts))),u.set("template",R),3!==l.declarationListEmitMode&&l.declarations.length>0)u.set("dependencies",function xO(l,r){switch(r){case 0:return l;case 1:return Et([],l);case 2:return Et([],l.prop("map").callFn([Le(G.resolveForwardRef)]));case 3:throw new Error("Unsupported with an array of pre-resolved dependencies")}}($t(l.declarations.map(le=>le.type)),l.declarationListEmitMode));else if(3===l.declarationListEmitMode){const le=[l.type.value];l.rawImports&&le.push(l.rawImports),u.set("dependencies",Le(G.getComponentDepsFactory).callFn(le))}if(null===l.encapsulation&&(l.encapsulation=N.Emulated),l.styles&&l.styles.length){const Se=(l.encapsulation==N.Emulated?function Jy(l,r,a){const u=new Ow;return l.map(p=>u.shimCssText(p,r,a))}(l.styles,HD,CO):l.styles).reduce((Ae,qe)=>(qe.trim().length>0&&Ae.push(r.getConstLiteral(X(qe))),Ae),[]);Se.length>0&&u.set("styles",$t(Se))}else l.encapsulation===N.Emulated&&(l.encapsulation=N.None);l.encapsulation!==N.Emulated&&u.set("encapsulation",X(l.encapsulation)),null!==l.animations&&u.set("data",hn([{key:"animation",value:l.animations,quoted:!1}])),null!==l.changeDetection&&("number"==typeof l.changeDetection&&l.changeDetection!==B.Default?u.set("changeDetection",X(l.changeDetection)):"object"==typeof l.changeDetection&&u.set("changeDetection",l.changeDetection));return{expression:Le(G.defineComponent).callFn([u.toLiteralMap()],void 0,!0),type:ze(l),statements:[]}}function ze(l){const r=kO(l);return r.push($D(l.template.ngContentSelectors)),r.push(Ar(X(l.isStandalone))),r.push(_T(l)),l.isSignal&&r.push(Ar(X(l.isSignal))),Ar(Le(G.ComponentDeclaration,r))}function Dp(l){return Ar(X(l))}function Ad(l){return hn(Object.keys(l).map(a=>({key:a,value:X(Array.isArray(l[a])?l[a][0]:l[a]),quoted:!0})))}function $D(l){return l.length>0?Ar($t(l.map(r=>X(r)))):gt}function kO(l){const r=null!==l.selector?l.selector.replace(/\n/g,""):null;return[Pc(l.type.type,l.typeArgumentCount),null!==r?Dp(r):gt,null!==l.exportAs?$D(l.exportAs):gt,Ar(mT(l)),Ar(Ad(l.outputs)),$D(l.queries.map(a=>a.propertyName))]}function mT(l){return hn(Object.keys(l.inputs).map(r=>{const a=l.inputs[r],u=[{key:"alias",value:X(a.bindingPropertyName),quoted:!0},{key:"required",value:X(a.required),quoted:!0}];return a.isSignal&&u.push({key:"isSignal",value:X(a.isSignal),quoted:!0}),{key:r,value:hn(u),quoted:!0}}))}function gT(l){const r=kO(l);return r.push(gt),r.push(Ar(X(l.isStandalone))),r.push(_T(l)),l.isSignal&&r.push(Ar(X(l.isSignal))),Ar(Le(G.DirectiveDeclaration,r))}const TO=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;function _T(l){return l.hostDirectives?.length?Ar($t(l.hostDirectives.map(r=>hn([{key:"directive",value:bn(r.directive.type),quoted:!1},{key:"inputs",value:Ad(r.inputs||{}),quoted:!1},{key:"outputs",value:Ad(r.outputs||{}),quoted:!1}])))):gt}function yT(l){const r=[];let a=!1;for(const u of l){if(u.inputs||u.outputs){const p=[{key:"directive",value:u.directive.type,quoted:!1}];if(u.inputs){const f=zD(u.inputs);f&&p.push({key:"inputs",value:f,quoted:!1})}if(u.outputs){const f=zD(u.outputs);f&&p.push({key:"outputs",value:f,quoted:!1})}r.push(hn(p))}else r.push(u.directive.type);u.isForwardReference&&(a=!0)}return a?new oi([],[new rr($t(r))]):$t(r)}function zD(l){const r=[];for(const a in l)l.hasOwnProperty(a)&&r.push(X(a),X(l[a]));return r.length>0?$t(r):null}class WD{constructor(r){this.directiveMatcher=r}bind(r){if(!r.template)throw new Error("Binding without a template not yet supported");const a=kn.apply(r.template),u=function OO(l){const r=new Map;function a(f){if(r.has(f.rootNode))return r.get(f.rootNode);const y=f.namedEntities;let D;return D=null!==f.parentScope?new Map([...a(f.parentScope),...y]):new Map(y),r.set(f.rootNode,D),D}const u=[l];for(;u.length>0;){const f=u.pop();for(const y of f.childScopes.values())u.push(y);a(f)}const p=new Map;for(const[f,y]of r)p.set(f,new Set(y.values()));return p}(a),{directives:p,eagerDirectives:f,bindings:y,references:D}=qD.apply(r.template,this.directiveMatcher),{expressions:L,symbols:R,nestingLevel:j,usedPipes:q,eagerPipes:le,deferBlocks:Se}=ev.applyWithScope(r.template,a);return new tv(r,p,f,y,D,L,R,j,u,q,le,Se)}}class kn{constructor(r,a){this.parentScope=r,this.rootNode=a,this.namedEntities=new Map,this.elementsInScope=new Set,this.childScopes=new Map,this.isDeferred=!(null===r||!r.isDeferred)||a instanceof Hu}static newRootScope(){return new kn(null,null)}static apply(r){const a=kn.newRootScope();return a.ingest(r),a}ingest(r){r instanceof On?(r.variables.forEach(a=>this.visitVariable(a)),r.children.forEach(a=>a.visit(this))):r instanceof Ge?(null!==r.expressionAlias&&this.visitVariable(r.expressionAlias),r.children.forEach(a=>a.visit(this))):r instanceof Eh?(this.visitVariable(r.item),r.contextVariables.forEach(a=>this.visitVariable(a)),r.children.forEach(a=>a.visit(this))):r instanceof Wf||r instanceof vs||r instanceof Hu||r instanceof zf||r instanceof jl||r instanceof $f||r instanceof bs?r.children.forEach(a=>a.visit(this)):r.forEach(a=>a.visit(this))}visitElement(r){r.references.forEach(a=>this.visitReference(a)),r.children.forEach(a=>a.visit(this)),this.elementsInScope.add(r)}visitTemplate(r){r.references.forEach(a=>this.visitReference(a)),this.ingestScopedNode(r)}visitVariable(r){this.maybeDeclare(r)}visitReference(r){this.maybeDeclare(r)}visitDeferredBlock(r){this.ingestScopedNode(r),r.placeholder?.visit(this),r.loading?.visit(this),r.error?.visit(this)}visitDeferredBlockPlaceholder(r){this.ingestScopedNode(r)}visitDeferredBlockError(r){this.ingestScopedNode(r)}visitDeferredBlockLoading(r){this.ingestScopedNode(r)}visitSwitchBlock(r){r.cases.forEach(a=>a.visit(this))}visitSwitchBlockCase(r){this.ingestScopedNode(r)}visitForLoopBlock(r){this.ingestScopedNode(r),r.empty?.visit(this)}visitForLoopBlockEmpty(r){this.ingestScopedNode(r)}visitIfBlock(r){r.branches.forEach(a=>a.visit(this))}visitIfBlockBranch(r){this.ingestScopedNode(r)}visitContent(r){this.ingestScopedNode(r)}visitLetDeclaration(r){this.maybeDeclare(r)}visitBoundAttribute(r){}visitBoundEvent(r){}visitBoundText(r){}visitText(r){}visitTextAttribute(r){}visitIcu(r){}visitDeferredTrigger(r){}visitUnknownBlock(r){}maybeDeclare(r){this.namedEntities.has(r.name)||this.namedEntities.set(r.name,r)}lookup(r){return this.namedEntities.has(r)?this.namedEntities.get(r):null!==this.parentScope?this.parentScope.lookup(r):null}getChildScope(r){const a=this.childScopes.get(r);if(void 0===a)throw new Error(`Assertion error: child scope for ${r} not found`);return a}ingestScopedNode(r){const a=new kn(this,r);a.ingest(r),this.childScopes.set(r,a)}}class qD{constructor(r,a,u,p,f){this.matcher=r,this.directives=a,this.eagerDirectives=u,this.bindings=p,this.references=f,this.isInDeferBlock=!1}static apply(r,a){const u=new Map,p=new Map,f=new Map,y=[];return new qD(a,u,y,p,f).ingest(r),{directives:u,eagerDirectives:y,bindings:p,references:f}}ingest(r){r.forEach(a=>a.visit(this))}visitElement(r){this.visitElementOrTemplate(r)}visitTemplate(r){this.visitElementOrTemplate(r)}visitElementOrTemplate(r){const a=Yr(r),u=[];this.matcher.match(a,(f,y)=>u.push(...y)),u.length>0&&(this.directives.set(r,u),this.isInDeferBlock||this.eagerDirectives.push(...u)),r.references.forEach(f=>{let y=null;if(""===f.value.trim())y=u.find(D=>D.isComponent)||null;else if(y=u.find(D=>null!==D.exportAs&&D.exportAs.some(L=>L===f.value))||null,null===y)return;null!==y?this.references.set(f,{directive:y,node:r}):this.references.set(f,r)});const p=(f,y)=>{const D=u.find(R=>R[y].hasBindingPropertyName(f.name)),L=void 0!==D?D:r;this.bindings.set(f,L)};r.inputs.forEach(f=>p(f,"inputs")),r.attributes.forEach(f=>p(f,"inputs")),r instanceof On&&r.templateAttrs.forEach(f=>p(f,"inputs")),r.outputs.forEach(f=>p(f,"outputs")),r.children.forEach(f=>f.visit(this))}visitDeferredBlock(r){const a=this.isInDeferBlock;this.isInDeferBlock=!0,r.children.forEach(u=>u.visit(this)),this.isInDeferBlock=a,r.placeholder?.visit(this),r.loading?.visit(this),r.error?.visit(this)}visitDeferredBlockPlaceholder(r){r.children.forEach(a=>a.visit(this))}visitDeferredBlockError(r){r.children.forEach(a=>a.visit(this))}visitDeferredBlockLoading(r){r.children.forEach(a=>a.visit(this))}visitSwitchBlock(r){r.cases.forEach(a=>a.visit(this))}visitSwitchBlockCase(r){r.children.forEach(a=>a.visit(this))}visitForLoopBlock(r){r.item.visit(this),r.contextVariables.forEach(a=>a.visit(this)),r.children.forEach(a=>a.visit(this)),r.empty?.visit(this)}visitForLoopBlockEmpty(r){r.children.forEach(a=>a.visit(this))}visitIfBlock(r){r.branches.forEach(a=>a.visit(this))}visitIfBlockBranch(r){r.expressionAlias?.visit(this),r.children.forEach(a=>a.visit(this))}visitContent(r){r.children.forEach(a=>a.visit(this))}visitVariable(r){}visitReference(r){}visitTextAttribute(r){}visitBoundAttribute(r){}visitBoundEvent(r){}visitBoundAttributeOrEvent(r){}visitText(r){}visitBoundText(r){}visitIcu(r){}visitDeferredTrigger(r){}visitUnknownBlock(r){}visitLetDeclaration(r){}}class ev extends R_{constructor(r,a,u,p,f,y,D,L,R){super(),this.bindings=r,this.symbols=a,this.usedPipes=u,this.eagerPipes=p,this.deferBlocks=f,this.nestingLevel=y,this.scope=D,this.rootNode=L,this.level=R,this.visitNode=j=>j.visit(this)}visit(r,a){r instanceof ys?r.visit(this,a):r.visit(this)}static applyWithScope(r,a){const u=new Map,p=new Map,f=new Map,y=new Set,D=new Set,R=[];return new ev(u,p,y,D,R,f,a,r instanceof On?r:null,0).ingest(r),{expressions:u,symbols:p,nestingLevel:f,usedPipes:y,eagerPipes:D,deferBlocks:R}}ingest(r){if(r instanceof On)r.variables.forEach(this.visitNode),r.children.forEach(this.visitNode),this.nestingLevel.set(r,this.level);else if(r instanceof Ge)null!==r.expressionAlias&&this.visitNode(r.expressionAlias),r.children.forEach(this.visitNode),this.nestingLevel.set(r,this.level);else if(r instanceof Eh)this.visitNode(r.item),r.contextVariables.forEach(a=>this.visitNode(a)),r.trackBy.visit(this),r.children.forEach(this.visitNode),this.nestingLevel.set(r,this.level);else if(r instanceof Hu){if(this.scope.rootNode!==r)throw new Error(`Assertion error: resolved incorrect scope for deferred block ${r}`);this.deferBlocks.push([r,this.scope]),r.children.forEach(a=>a.visit(this)),this.nestingLevel.set(r,this.level)}else r instanceof Wf||r instanceof vs||r instanceof zf||r instanceof jl||r instanceof $f||r instanceof bs?(r.children.forEach(a=>a.visit(this)),this.nestingLevel.set(r,this.level)):r.forEach(this.visitNode)}visitElement(r){r.inputs.forEach(this.visitNode),r.outputs.forEach(this.visitNode),r.children.forEach(this.visitNode),r.references.forEach(this.visitNode)}visitTemplate(r){r.inputs.forEach(this.visitNode),r.outputs.forEach(this.visitNode),r.templateAttrs.forEach(this.visitNode),r.references.forEach(this.visitNode),this.ingestScopedNode(r)}visitVariable(r){null!==this.rootNode&&this.symbols.set(r,this.rootNode)}visitReference(r){null!==this.rootNode&&this.symbols.set(r,this.rootNode)}visitText(r){}visitTextAttribute(r){}visitUnknownBlock(r){}visitDeferredTrigger(){}visitIcu(r){Object.keys(r.vars).forEach(a=>r.vars[a].visit(this)),Object.keys(r.placeholders).forEach(a=>r.placeholders[a].visit(this))}visitBoundAttribute(r){r.value.visit(this)}visitBoundEvent(r){r.handler.visit(this)}visitDeferredBlock(r){this.ingestScopedNode(r),r.triggers.when?.value.visit(this),r.prefetchTriggers.when?.value.visit(this),r.placeholder&&this.visitNode(r.placeholder),r.loading&&this.visitNode(r.loading),r.error&&this.visitNode(r.error)}visitDeferredBlockPlaceholder(r){this.ingestScopedNode(r)}visitDeferredBlockError(r){this.ingestScopedNode(r)}visitDeferredBlockLoading(r){this.ingestScopedNode(r)}visitSwitchBlock(r){r.expression.visit(this),r.cases.forEach(this.visitNode)}visitSwitchBlockCase(r){r.expression?.visit(this),this.ingestScopedNode(r)}visitForLoopBlock(r){r.expression.visit(this),this.ingestScopedNode(r),r.empty?.visit(this)}visitForLoopBlockEmpty(r){this.ingestScopedNode(r)}visitIfBlock(r){r.branches.forEach(a=>a.visit(this))}visitIfBlockBranch(r){r.expression?.visit(this),this.ingestScopedNode(r)}visitContent(r){this.ingestScopedNode(r)}visitBoundText(r){r.value.visit(this)}visitLetDeclaration(r){r.value.visit(this),null!==this.rootNode&&this.symbols.set(r,this.rootNode)}visitPipe(r,a){return this.usedPipes.add(r.name),this.scope.isDeferred||this.eagerPipes.add(r.name),super.visitPipe(r,a)}visitPropertyRead(r,a){return this.maybeMap(r,r.name),super.visitPropertyRead(r,a)}visitSafePropertyRead(r,a){return this.maybeMap(r,r.name),super.visitSafePropertyRead(r,a)}visitPropertyWrite(r,a){return this.maybeMap(r,r.name),super.visitPropertyWrite(r,a)}ingestScopedNode(r){const a=this.scope.getChildScope(r);new ev(this.bindings,this.symbols,this.usedPipes,this.eagerPipes,this.deferBlocks,this.nestingLevel,a,r,this.level+1).ingest(r)}maybeMap(r,a){if(!(r.receiver instanceof Ol))return;const u=this.scope.lookup(a);u instanceof tn&&r.receiver instanceof be||null!==u&&this.bindings.set(r,u)}}class tv{constructor(r,a,u,p,f,y,D,L,R,j,q,le){this.target=r,this.directives=a,this.eagerDirectives=u,this.bindings=p,this.references=f,this.exprTargets=y,this.symbols=D,this.nestingLevel=L,this.scopedNodeEntities=R,this.usedPipes=j,this.eagerPipes=q,this.deferredBlocks=le.map(Se=>Se[0]),this.deferredScopes=new Map(le)}getEntitiesInScope(r){return this.scopedNodeEntities.get(r)??new Set}getDirectivesOfNode(r){return this.directives.get(r)||null}getReferenceTarget(r){return this.references.get(r)||null}getConsumerOfBinding(r){return this.bindings.get(r)||null}getExpressionTarget(r){return this.exprTargets.get(r)||null}getDefinitionNodeOfSymbol(r){return this.symbols.get(r)||null}getNestingLevel(r){return this.nestingLevel.get(r)||0}getUsedDirectives(){const r=new Set;return this.directives.forEach(a=>a.forEach(u=>r.add(u))),Array.from(r.values())}getEagerlyUsedDirectives(){const r=new Set(this.eagerDirectives);return Array.from(r.values())}getUsedPipes(){return Array.from(this.usedPipes)}getEagerlyUsedPipes(){return Array.from(this.eagerPipes)}getDeferBlocks(){return this.deferredBlocks}getDeferredTriggerTarget(r,a){if(!(a instanceof N_||a instanceof F_||a instanceof Uf))return null;const u=a.reference;if(null===u){let f=null;if(null!==r.placeholder)for(const y of r.placeholder.children)if(!(y instanceof ju)){if(null!==f)return null;y instanceof Ji&&(f=y)}return f}const p=this.findEntityInScope(r,u);if(p instanceof Dr&&this.getDefinitionNodeOfSymbol(p)!==r){const f=this.getReferenceTarget(p);if(null!==f)return this.referenceTargetToElement(f)}if(null!==r.placeholder){const f=this.findEntityInScope(r.placeholder,u),y=f instanceof Dr?this.getReferenceTarget(f):null;if(null!==y)return this.referenceTargetToElement(y)}return null}isDeferred(r){for(const a of this.deferredBlocks){if(!this.deferredScopes.has(a))continue;const u=[this.deferredScopes.get(a)];for(;u.length>0;){const p=u.pop();if(p.elementsInScope.has(r))return!0;u.push(...p.childScopes.values())}}return!1}findEntityInScope(r,a){const u=this.getEntitiesInScope(r);for(const p of u)if(p.name===a)return p;return null}referenceTargetToElement(r){return r instanceof Ji?r:r instanceof On?null:this.referenceTargetToElement(r.node)}}class vT{}class NO{constructor(r=new am){this.jitEvaluator=r,this.FactoryTarget=Qi,this.ResourceLoader=vT,this.elementSchemaRegistry=new Sy}compilePipe(r,a,u){const f=me({name:u.name,type:br(u.type),typeArgumentCount:0,deps:null,pipeName:u.pipeName,pure:u.pure,isStandalone:u.isStandalone});return this.jitExpression(f.expression,r,a,[])}compilePipeDeclaration(r,a,u){const p=function av(l){return{name:l.type.name,type:br(l.type),typeArgumentCount:0,pipeName:l.name,deps:null,pure:l.pure??!0,isStandalone:l.isStandalone??!1}}(u),f=me(p);return this.jitExpression(f.expression,r,a,[])}compileInjectable(r,a,u){const{expression:p,statements:f}=$l({name:u.name,type:br(u.type),typeArgumentCount:u.typeArgumentCount,providedIn:rv(u.providedIn),useClass:Mp(u,"useClass"),useFactory:YO(u,"useFactory"),useValue:Mp(u,"useValue"),useExisting:Mp(u,"useExisting"),deps:u.deps?.map(ET)},!0);return this.jitExpression(p,r,a,f)}compileInjectableDeclaration(r,a,u){const{expression:p,statements:f}=$l({name:u.type.name,type:br(u.type),typeArgumentCount:0,providedIn:rv(u.providedIn),useClass:Mp(u,"useClass"),useFactory:YO(u,"useFactory"),useValue:Mp(u,"useValue"),useExisting:Mp(u,"useExisting"),deps:u.deps?.map(XD)},!0);return this.jitExpression(p,r,a,f)}compileInjector(r,a,u){const f=SP({name:u.name,type:br(u.type),providers:u.providers&&u.providers.length>0?new kt(u.providers):null,imports:u.imports.map(y=>new kt(y))});return this.jitExpression(f.expression,r,a,[])}compileInjectorDeclaration(r,a,u){const p=function aa(l){return{name:l.type.name,type:br(l.type),providers:void 0!==l.providers&&l.providers.length>0?new kt(l.providers):null,imports:void 0!==l.imports?l.imports.map(r=>new kt(r)):[]}}(u),f=SP(p);return this.jitExpression(f.expression,r,a,[])}compileNgModule(r,a,u){const f=Xu({kind:Ta.Global,type:br(u.type),bootstrap:u.bootstrap.map(br),declarations:u.declarations.map(br),publicDeclarationTypes:null,imports:u.imports.map(br),includeImportTypes:!0,exports:u.exports.map(br),selectorScopeMode:lm.Inline,containsForwardDecls:!1,schemas:u.schemas?u.schemas.map(br):null,id:u.id?new kt(u.id):null});return this.jitExpression(f.expression,r,a,[])}compileNgModuleDeclaration(r,a,u){const p=function MP(l){const r=new Rn;return r.set("type",new kt(l.type)),void 0!==l.bootstrap&&r.set("bootstrap",new kt(l.bootstrap)),void 0!==l.declarations&&r.set("declarations",new kt(l.declarations)),void 0!==l.imports&&r.set("imports",new kt(l.imports)),void 0!==l.exports&&r.set("exports",new kt(l.exports)),void 0!==l.schemas&&r.set("schemas",new kt(l.schemas)),void 0!==l.id&&r.set("id",new kt(l.id)),Le(G.defineNgModule).callFn([r.toLiteralMap()])}(u);return this.jitExpression(p,r,a,[])}compileDirective(r,a,u){const p=DT(u);return this.compileDirectiveFromMeta(r,a,p)}compileDirectiveDeclaration(r,a,u){const f=GD(u,this.createParseSourceSpan("Directive",u.type.name,a));return this.compileDirectiveFromMeta(r,a,f)}compileDirectiveFromMeta(r,a,u){const p=new E_,y=function Sp(l,r,a){const u=Qm(l,r,a);return UD(u,l),{expression:Le(G.defineDirective).callFn([u.toLiteralMap()],void 0,!0),type:gT(l),statements:[]}}(u,p,Km());return this.jitExpression(y.expression,r,a,p.statements)}compileComponent(r,a,u){const{template:p,interpolation:f,defer:y}=KD(u.template,u.name,a,u.preserveWhitespaces,u.interpolation,void 0),D={...u,...DT(u),selector:u.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:p,declarations:u.declarations.map(bV),declarationListEmitMode:0,defer:y,styles:[...u.styles,...p.styles],encapsulation:u.encapsulation,interpolation:f,changeDetection:u.changeDetection??null,animations:null!=u.animations?new kt(u.animations):null,viewProviders:null!=u.viewProviders?new kt(u.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0},L=`ng:///${u.name}.js`;return this.compileComponentFromMeta(r,L,D)}compileComponentDeclaration(r,a,u){const f=function FO(l,r,a){const{template:u,interpolation:p,defer:f}=KD(l.template,l.type.name,a,l.preserveWhitespaces??!1,l.interpolation,l.deferBlockDependencies),y=[];if(l.dependencies)for(const D of l.dependencies)switch(D.kind){case"directive":case"component":y.push(sv(D));break;case"pipe":y.push(Ld(D))}else(l.components||l.directives||l.pipes)&&(l.components&&y.push(...l.components.map(D=>sv(D,!0))),l.directives&&y.push(...l.directives.map(D=>sv(D))),l.pipes&&y.push(...function La(l){return l?Object.keys(l).map(r=>({kind:$c.Pipe,name:r,type:new kt(l[r])})):[]}(l.pipes)));return{...GD(l,r),template:u,styles:l.styles??[],declarations:y,viewProviders:void 0!==l.viewProviders?new kt(l.viewProviders):null,animations:void 0!==l.animations?new kt(l.animations):null,defer:f,changeDetection:l.changeDetection??B.Default,encapsulation:l.encapsulation??N.Emulated,interpolation:p,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0}}(u,this.createParseSourceSpan("Component",u.type.name,a),a);return this.compileComponentFromMeta(r,a,f)}compileComponentFromMeta(r,a,u){const p=new E_,y=EO(u,p,Km(u.interpolation));return this.jitExpression(y.expression,r,a,p.statements)}compileFactory(r,a,u){const p=ir({name:u.name,type:br(u.type),typeArgumentCount:u.typeArgumentCount,deps:QD(u.deps),target:u.target});return this.jitExpression(p.expression,r,a,p.statements)}compileFactoryDeclaration(r,a,u){const p=ir({name:u.type.name,type:br(u.type),typeArgumentCount:0,deps:Array.isArray(u.deps)?u.deps.map(XD):u.deps,target:u.target});return this.jitExpression(p.expression,r,a,p.statements)}createParseSourceSpan(r,a,u){return function _0(l,r,a){const p=new Aw("",`in ${l} ${r} in ${a}`);return new qt(new Vr(p,-1,-1,-1),new Vr(p,-1,-1,-1))}(r,a,u)}jitExpression(r,a,u,p){const f=[...p,new Fr("$def",r,void 0,ut.Exported)];return this.jitEvaluator.evaluateStatements(u,f,new DP(a),!0).$def}}function bT(l){return{...l,isSignal:l.isSignal,predicate:ST(l.predicate),read:l.read?new kt(l.read):null,static:l.static,emitDistinctChangesOnly:l.emitDistinctChangesOnly}}function wT(l){return{propertyName:l.propertyName,first:l.first??!1,predicate:ST(l.predicate),descendants:l.descendants??!1,read:l.read?new kt(l.read):null,static:l.static??!1,emitDistinctChangesOnly:l.emitDistinctChangesOnly??!0,isSignal:!!l.isSignal}}function ST(l){return Array.isArray(l)?l:Nf(new kt(l),1)}function DT(l){const r=function Zm(l){return l.reduce((r,a)=>{if("string"==typeof a){const[u,p]=uu(a);r[p]={bindingPropertyName:u,classPropertyName:p,required:!1,isSignal:!1,transformFunction:null}}else r[a.name]={bindingPropertyName:a.alias||a.name,classPropertyName:a.name,required:a.required||!1,isSignal:!1,transformFunction:null!=a.transform?new kt(a.transform):null};return r},{})}(l.inputs||[]),a=er(l.outputs||[]),u=l.propMetadata,p={},f={};for(const D in u)u.hasOwnProperty(D)&&u[D].forEach(L=>{jO(L)?p[D]={bindingPropertyName:L.alias||D,classPropertyName:D,required:L.required||!1,isSignal:!!L.isSignal,transformFunction:null!=L.transform?new kt(L.transform):null}:ZD(L)&&(f[D]=L.alias||D)});const y=l.hostDirectives?.length?l.hostDirectives.map(D=>"function"==typeof D?{directive:br(D),inputs:null,outputs:null,isForwardReference:!1}:{directive:br(D.directive),isForwardReference:!1,inputs:D.inputs?er(D.inputs):null,outputs:D.outputs?er(D.outputs):null}):null;return{...l,typeArgumentCount:0,typeSourceSpan:l.typeSourceSpan,type:br(l.type),deps:null,host:{...wV(l.propMetadata,l.typeSourceSpan,l.host)},inputs:{...r,...p},outputs:{...a,...f},queries:l.queries.map(bT),providers:null!=l.providers?new kt(l.providers):null,viewQueries:l.viewQueries.map(bT),fullInheritance:!1,hostDirectives:y}}function GD(l,r){const a=l.hostDirectives?.length?l.hostDirectives.map(u=>({directive:br(u.directive),isForwardReference:!1,inputs:u.inputs?nv(u.inputs):null,outputs:u.outputs?nv(u.outputs):null})):null;return{name:l.type.name,type:br(l.type),typeSourceSpan:r,selector:l.selector??null,inputs:l.inputs?VO(l.inputs):{},outputs:l.outputs??{},host:MT(l.host),queries:(l.queries??[]).map(wT),viewQueries:(l.viewQueries??[]).map(wT),providers:void 0!==l.providers?new kt(l.providers):null,exportAs:l.exportAs??null,usesInheritance:l.usesInheritance??!1,lifecycle:{usesOnChanges:l.usesOnChanges??!1},deps:null,typeArgumentCount:0,fullInheritance:!1,isStandalone:l.isStandalone??!1,isSignal:l.isSignal??!1,hostDirectives:a}}function MT(l={}){return{attributes:CT(l.attributes??{}),listeners:l.listeners??{},properties:l.properties??{},specialAttributes:{classAttr:l.classAttribute,styleAttr:l.styleAttribute}}}function nv(l){let r=null;for(let a=1;aq.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${r}: ${j}`)}return{template:D,interpolation:y,defer:iv(new WD(new w).bind({template:D.nodes}),f)}}function Mp(l,r){if(l.hasOwnProperty(r))return Nf(new kt(l[r]),0)}function YO(l,r){if(l.hasOwnProperty(r))return new kt(l[r])}function rv(l){return Nf("function"==typeof l?new kt(l):new Es(l??null),0)}function QD(l){return null==l?null:l.map(ET)}function ET(l){const r=null!=l.attribute,a=null===l.token?null:new kt(l.token);return Xm(r?new kt(l.attribute):a,r,l.host,l.optional,l.self,l.skipSelf)}function XD(l){const r=l.attribute??!1;return Xm(null===l.token?null:new kt(l.token),r,l.host??!1,l.optional??!1,l.self??!1,l.skipSelf??!1)}function Xm(l,r,a,u,p,f){return{token:l,attributeNameType:r?X("unknown"):null,host:a,optional:u,self:p,skipSelf:f}}function iv(l,r){const a=l.getDeferBlocks(),u=new Map;for(let p=0;pf.msg).join("\n"));for(const f in l)l.hasOwnProperty(f)&&l[f].forEach(y=>{ov(y)?u.properties[y.hostPropertyName||f]=I_("this",f):BO(y)&&(u.listeners[y.eventName||f]=`${f}(${(y.args||[]).join(",")})`)});return u}function ov(l){return"HostBinding"===l.ngMetadataName}function BO(l){return"HostListener"===l.ngMetadataName}function jO(l){return"Input"===l.ngMetadataName}function ZD(l){return"Output"===l.ngMetadataName}function VO(l){return Object.keys(l).reduce((r,a)=>{const u=l[a];return"string"==typeof u||Array.isArray(u)?r[a]=function hl(l){return"string"==typeof l?{bindingPropertyName:l,classPropertyName:l,transformFunction:null,required:!1,isSignal:!1}:{bindingPropertyName:l[0],classPropertyName:l[1],transformFunction:l[2]?new kt(l[2]):null,required:!1,isSignal:!1}}(u):r[a]={bindingPropertyName:u.publicName,classPropertyName:a,transformFunction:null!==u.transformFunction?new kt(u.transformFunction):null,required:u.isRequired,isSignal:u.isSignal},r},{})}function er(l){return l.reduce((r,a)=>{const[u,p]=uu(a);return r[p]=u,r},{})}function uu(l){const[r,a]=l.split(":",2).map(u=>u.trim());return[a??r,r]}new class Tc{constructor(r){this.full=r;const a=r.split(".");this.major=a[0],this.minor=a[1],this.patch=a.slice(2).join(".")}}("18.2.13");class Jm{constructor({defaultEncapsulation:r=N.Emulated,preserveWhitespaces:a,strictInjectionParameters:u}={}){this.defaultEncapsulation=r,this.preserveWhitespaces=function xT(l,r=!1){return null===l?r:l}(function Ts(l){return void 0===l?null:l}(a)),this.strictInjectionParameters=!0===u}}var Ii;!function(l){l[l.Extract=0]="Extract",l[l.Merge=1]="Merge"}(Ii||(Ii={}));new class nM{constructor(){this.closedByParent=!1,this.implicitNamespacePrefix=null,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0,this.preventNamespaceInheritance=!1}requireExtraParent(r){return!1}isClosedByChild(r){return!1}getContentType(){return Ns.PARSABLE_DATA}};var pv;!function(l){l[l.Directive=0]="Directive",l[l.Component=1]="Component",l[l.Injectable=2]="Injectable",l[l.Pipe=3]="Pipe",l[l.NgModule=4]="NgModule"}(pv||(pv={}));!function Cp(l){(l.ng||(l.ng={})).\u0275compilerFacade=new NO}(Ha)}},U=>{var T;T=7428,U(U.s=T)}]);